IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sdvo.c_intel_sdvo_unselect_i2c_bus.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sdvo.c_intel_sdvo_unselect_i2c_bus.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_sdvo_unselect_i2c_bus], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @intel_sdvo_unselect_i2c_bus(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @intel_gmbus_force_bit(i32 noundef %2, i32 noundef 0) #2 ret void } declare i32 @intel_gmbus_force_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"intel_sdvo", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sdvo.c_intel_sdvo_unselect_i2c_bus.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sdvo.c_intel_sdvo_unselect_i2c_bus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @intel_sdvo_unselect_i2c_bus], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @intel_sdvo_unselect_i2c_bus(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @intel_gmbus_force_bit(i32 noundef %2, i32 noundef 0) #2 ret void } declare i32 @intel_gmbus_force_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"intel_sdvo", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_gpu_drm_i915_extr_intel_sdvo.c_intel_sdvo_unselect_i2c_bus
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jffs2/extr_nodelist.c_jffs2_add_full_dnode_to_inode.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jffs2/extr_nodelist.c_jffs2_add_full_dnode_to_inode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.jffs2_full_dnode = type { i32, i64, i64 } %struct.jffs2_node_frag = type { i32, i32, ptr } %struct.TYPE_2__ = type { i32, i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"adding node %#04x-%#04x @0x%08x on flash, newfrag *%p\0A\00", align 1 @PAGE_CACHE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @jffs2_add_full_dnode_to_inode(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.jffs2_full_dnode, ptr %2, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 %7 = zext i1 %6 to i32 %8 = tail call i64 @unlikely(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %75 10: ; preds = %3 %11 = getelementptr inbounds %struct.jffs2_full_dnode, ptr %2, i64 0, i32 2 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = load i64, ptr %4, align 8, !tbaa !5 %14 = tail call ptr @new_fragment(ptr noundef nonnull %2, i64 noundef %12, i64 noundef %13) #2 %15 = icmp eq ptr %14, null %16 = zext i1 %15 to i32 %17 = tail call i64 @unlikely(i32 noundef %16) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %10 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %21 = sub nsw i32 0, %20 br label %75 22: ; preds = %10 %23 = getelementptr inbounds %struct.jffs2_node_frag, ptr %14, i64 0, i32 2 %24 = load ptr, ptr %23, align 8, !tbaa !13 store i32 1, ptr %24, align 4, !tbaa !16 %25 = load i64, ptr %11, align 8, !tbaa !11 %26 = load i64, ptr %4, align 8, !tbaa !5 %27 = add nsw i64 %26, %25 %28 = load i32, ptr %2, align 8, !tbaa !18 %29 = tail call i32 @ref_offset(i32 noundef %28) #2 %30 = tail call i32 @dbg_fragtree(ptr noundef nonnull @.str, i64 noundef %25, i64 noundef %27, i32 noundef %29, ptr noundef %14) #2 %31 = tail call i32 @jffs2_add_frag_to_fragtree(ptr noundef %0, ptr noundef %1, ptr noundef %14) #2 %32 = tail call i64 @unlikely(i32 noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %75 34: ; preds = %22 %35 = load i32, ptr %14, align 8, !tbaa !19 %36 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !12 %37 = add nsw i32 %36, -1 %38 = and i32 %37, %35 %39 = icmp eq i32 %38, 0 br i1 %39, label %51, label %40 40: ; preds = %34 %41 = tail call ptr @frag_prev(ptr noundef nonnull %14) #2 %42 = load i32, ptr %2, align 8, !tbaa !18 %43 = tail call i32 @mark_ref_normal(i32 noundef %42) #2 %44 = getelementptr inbounds %struct.jffs2_node_frag, ptr %41, i64 0, i32 2 %45 = load ptr, ptr %44, align 8, !tbaa !13 %46 = icmp eq ptr %45, null br i1 %46, label %51, label %47 47: ; preds = %40 %48 = getelementptr inbounds %struct.TYPE_2__, ptr %45, i64 0, i32 1 %49 = load i32, ptr %48, align 4, !tbaa !20 %50 = tail call i32 @mark_ref_normal(i32 noundef %49) #2 br label %51 51: ; preds = %40, %47, %34 %52 = load i32, ptr %14, align 8, !tbaa !19 %53 = getelementptr inbounds %struct.jffs2_node_frag, ptr %14, i64 0, i32 1 %54 = load i32, ptr %53, align 4, !tbaa !21 %55 = add nsw i32 %54, %52 %56 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !12 %57 = add nsw i32 %56, -1 %58 = and i32 %57, %55 %59 = icmp eq i32 %58, 0 br i1 %59, label %73, label %60 60: ; preds = %51 %61 = tail call ptr @frag_next(ptr noundef nonnull %14) #2 %62 = icmp eq ptr %61, null br i1 %62, label %73, label %63 63: ; preds = %60 %64 = load i32, ptr %2, align 8, !tbaa !18 %65 = tail call i32 @mark_ref_normal(i32 noundef %64) #2 %66 = getelementptr inbounds %struct.jffs2_node_frag, ptr %61, i64 0, i32 2 %67 = load ptr, ptr %66, align 8, !tbaa !13 %68 = icmp eq ptr %67, null br i1 %68, label %73, label %69 69: ; preds = %63 %70 = getelementptr inbounds %struct.TYPE_2__, ptr %67, i64 0, i32 1 %71 = load i32, ptr %70, align 4, !tbaa !20 %72 = tail call i32 @mark_ref_normal(i32 noundef %71) #2 br label %73 73: ; preds = %60, %69, %63, %51 %74 = tail call i32 @jffs2_dbg_fragtree_paranoia_check_nolock(ptr noundef %1) #2 br label %75 75: ; preds = %22, %3, %73, %19 %76 = phi i32 [ %21, %19 ], [ 0, %73 ], [ 0, %3 ], [ %31, %22 ] ret i32 %76 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare ptr @new_fragment(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dbg_fragtree(ptr noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ref_offset(i32 noundef) local_unnamed_addr #1 declare i32 @jffs2_add_frag_to_fragtree(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @frag_prev(ptr noundef) local_unnamed_addr #1 declare i32 @mark_ref_normal(i32 noundef) local_unnamed_addr #1 declare ptr @frag_next(ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_dbg_fragtree_paranoia_check_nolock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"jffs2_full_dnode", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!7, !7, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"jffs2_node_frag", !7, i64 0, !7, i64 4, !15, i64 8} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !18 = !{!6, !7, i64 0} !19 = !{!14, !7, i64 0} !20 = !{!17, !7, i64 4} !21 = !{!14, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jffs2/extr_nodelist.c_jffs2_add_full_dnode_to_inode.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jffs2/extr_nodelist.c_jffs2_add_full_dnode_to_inode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [55 x i8] c"adding node %#04x-%#04x @0x%08x on flash, newfrag *%p\0A\00", align 1 @PAGE_CACHE_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @jffs2_add_full_dnode_to_inode(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 %7 = zext i1 %6 to i32 %8 = tail call i64 @unlikely(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %75 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %2, i64 16 %12 = load i64, ptr %11, align 8, !tbaa !12 %13 = load i64, ptr %4, align 8, !tbaa !6 %14 = tail call ptr @new_fragment(ptr noundef nonnull %2, i64 noundef %12, i64 noundef %13) #2 %15 = icmp eq ptr %14, null %16 = zext i1 %15 to i32 %17 = tail call i64 @unlikely(i32 noundef %16) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %10 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %21 = sub nsw i32 0, %20 br label %75 22: ; preds = %10 %23 = getelementptr inbounds i8, ptr %14, i64 8 %24 = load ptr, ptr %23, align 8, !tbaa !14 store i32 1, ptr %24, align 4, !tbaa !17 %25 = load i64, ptr %11, align 8, !tbaa !12 %26 = load i64, ptr %4, align 8, !tbaa !6 %27 = add nsw i64 %26, %25 %28 = load i32, ptr %2, align 8, !tbaa !19 %29 = tail call i32 @ref_offset(i32 noundef %28) #2 %30 = tail call i32 @dbg_fragtree(ptr noundef nonnull @.str, i64 noundef %25, i64 noundef %27, i32 noundef %29, ptr noundef %14) #2 %31 = tail call i32 @jffs2_add_frag_to_fragtree(ptr noundef %0, ptr noundef %1, ptr noundef %14) #2 %32 = tail call i64 @unlikely(i32 noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %75 34: ; preds = %22 %35 = load i32, ptr %14, align 8, !tbaa !20 %36 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !13 %37 = add nsw i32 %36, -1 %38 = and i32 %37, %35 %39 = icmp eq i32 %38, 0 br i1 %39, label %51, label %40 40: ; preds = %34 %41 = tail call ptr @frag_prev(ptr noundef nonnull %14) #2 %42 = load i32, ptr %2, align 8, !tbaa !19 %43 = tail call i32 @mark_ref_normal(i32 noundef %42) #2 %44 = getelementptr inbounds i8, ptr %41, i64 8 %45 = load ptr, ptr %44, align 8, !tbaa !14 %46 = icmp eq ptr %45, null br i1 %46, label %51, label %47 47: ; preds = %40 %48 = getelementptr inbounds i8, ptr %45, i64 4 %49 = load i32, ptr %48, align 4, !tbaa !21 %50 = tail call i32 @mark_ref_normal(i32 noundef %49) #2 br label %51 51: ; preds = %40, %47, %34 %52 = load i32, ptr %14, align 8, !tbaa !20 %53 = getelementptr inbounds i8, ptr %14, i64 4 %54 = load i32, ptr %53, align 4, !tbaa !22 %55 = add nsw i32 %54, %52 %56 = load i32, ptr @PAGE_CACHE_SIZE, align 4, !tbaa !13 %57 = add nsw i32 %56, -1 %58 = and i32 %57, %55 %59 = icmp eq i32 %58, 0 br i1 %59, label %73, label %60 60: ; preds = %51 %61 = tail call ptr @frag_next(ptr noundef nonnull %14) #2 %62 = icmp eq ptr %61, null br i1 %62, label %73, label %63 63: ; preds = %60 %64 = load i32, ptr %2, align 8, !tbaa !19 %65 = tail call i32 @mark_ref_normal(i32 noundef %64) #2 %66 = getelementptr inbounds i8, ptr %61, i64 8 %67 = load ptr, ptr %66, align 8, !tbaa !14 %68 = icmp eq ptr %67, null br i1 %68, label %73, label %69 69: ; preds = %63 %70 = getelementptr inbounds i8, ptr %67, i64 4 %71 = load i32, ptr %70, align 4, !tbaa !21 %72 = tail call i32 @mark_ref_normal(i32 noundef %71) #2 br label %73 73: ; preds = %60, %69, %63, %51 %74 = tail call i32 @jffs2_dbg_fragtree_paranoia_check_nolock(ptr noundef %1) #2 br label %75 75: ; preds = %22, %3, %73, %19 %76 = phi i32 [ %21, %19 ], [ 0, %73 ], [ 0, %3 ], [ %31, %22 ] ret i32 %76 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare ptr @new_fragment(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dbg_fragtree(ptr noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ref_offset(i32 noundef) local_unnamed_addr #1 declare i32 @jffs2_add_frag_to_fragtree(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @frag_prev(ptr noundef) local_unnamed_addr #1 declare i32 @mark_ref_normal(i32 noundef) local_unnamed_addr #1 declare ptr @frag_next(ptr noundef) local_unnamed_addr #1 declare i32 @jffs2_dbg_fragtree_paranoia_check_nolock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"jffs2_full_dnode", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 16} !13 = !{!8, !8, i64 0} !14 = !{!15, !16, i64 8} !15 = !{!"jffs2_node_frag", !8, i64 0, !8, i64 4, !16, i64 8} !16 = !{!"any pointer", !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !19 = !{!7, !8, i64 0} !20 = !{!15, !8, i64 0} !21 = !{!18, !8, i64 4} !22 = !{!15, !8, i64 4}
fastsocket_kernel_fs_jffs2_extr_nodelist.c_jffs2_add_full_dnode_to_inode
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_945.c_main.c' source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_945.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" %struct.TYPE_3__ = type { i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"exploitation FAILED!\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #5 %4 = tail call i32 @system(ptr noundef nonnull @.str) #5 %5 = tail call i32 (...) @header() #5 %6 = call i32 @parse_arguments(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %3) #5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 4 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 3 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = call i32 @connect_to_remote_host(i32 noundef %8, i32 noundef %10) #5 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 2 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = call i64 @inet_addr(i32 noundef %13) #5 %15 = xor i64 %14, 2576980377 %16 = load i32, ptr %3, align 4, !tbaa !12 %17 = call zeroext i16 @htons(i32 noundef %16) #5 %18 = xor i16 %17, -26215 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = call i32 @exploit(i32 noundef %11, i64 noundef %15, i16 noundef zeroext %18, i32 noundef %20) #5 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %26 23: ; preds = %2 %24 = call i32 @printf(ptr noundef nonnull @.str.1) #5 %25 = call i32 @exit(i32 noundef 1) #6 unreachable 26: ; preds = %2 %27 = load i32, ptr %3, align 4, !tbaa !12 %28 = call i32 @start_reverse_handler(i32 noundef %27) #5 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #5 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree declare noundef i32 @system(ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @header(...) local_unnamed_addr #3 declare i32 @parse_arguments(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @connect_to_remote_host(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i64 @inet_addr(i32 noundef) local_unnamed_addr #3 declare zeroext i16 @htons(i32 noundef) local_unnamed_addr #3 declare i32 @exploit(i32 noundef, i64 noundef, i16 noundef zeroext, i32 noundef) local_unnamed_addr #3 declare i32 @printf(ptr noundef) local_unnamed_addr #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #4 declare i32 @start_reverse_handler(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree "no-trapping-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 = { nounwind } attributes #6 = { 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, !7, i64 16} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 12} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 0} !13 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/remote/extr_945.c_main.c' source_filename = "AnghaBench/exploitdb/exploits/windows/remote/extr_945.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"exploitation FAILED!\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #5 %4 = tail call i32 @system(ptr noundef nonnull @.str) #5 %5 = tail call i32 @header() #5 %6 = call i32 @parse_arguments(i32 noundef %0, ptr noundef %1, ptr noundef nonnull %3) #5 %7 = getelementptr inbounds i8, ptr %3, i64 16 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %3, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = call i32 @connect_to_remote_host(i32 noundef %8, i32 noundef %10) #5 %12 = getelementptr inbounds i8, ptr %3, i64 8 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = call i64 @inet_addr(i32 noundef %13) #5 %15 = xor i64 %14, 2576980377 %16 = load i32, ptr %3, align 4, !tbaa !13 %17 = call zeroext i16 @htons(i32 noundef %16) #5 %18 = xor i16 %17, -26215 %19 = getelementptr inbounds i8, ptr %3, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = call i32 @exploit(i32 noundef %11, i64 noundef %15, i16 noundef zeroext %18, i32 noundef %20) #5 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %26 23: ; preds = %2 %24 = call i32 @printf(ptr noundef nonnull @.str.1) #5 %25 = call i32 @exit(i32 noundef 1) #6 unreachable 26: ; preds = %2 %27 = load i32, ptr %3, align 4, !tbaa !13 %28 = call i32 @start_reverse_handler(i32 noundef %27) #5 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #5 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree declare noundef i32 @system(ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @header(...) local_unnamed_addr #3 declare i32 @parse_arguments(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @connect_to_remote_host(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i64 @inet_addr(i32 noundef) local_unnamed_addr #3 declare zeroext i16 @htons(i32 noundef) local_unnamed_addr #3 declare i32 @exploit(i32 noundef, i64 noundef, i16 noundef zeroext, i32 noundef) local_unnamed_addr #3 declare i32 @printf(ptr noundef) local_unnamed_addr #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #4 declare i32 @start_reverse_handler(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { nounwind } attributes #6 = { 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, !8, i64 16} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 12} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 0} !14 = !{!7, !8, i64 4}
exploitdb_exploits_windows_remote_extr_945.c_main
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/uvc/extr_uvc_ctrl.c_uvc_ctrl_init_xu_ctrl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/uvc/extr_uvc_ctrl.c_uvc_ctrl_init_xu_ctrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.uvc_control_info = type { i32, i32 } %struct.uvc_control = type { ptr, i64 } @UVC_TRACE_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [61 x i8] c"Failed to initialize control %pUl/%u on device %s entity %u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @uvc_ctrl_init_xu_ctrl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @uvc_ctrl_init_xu_ctrl(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.uvc_control_info, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds %struct.uvc_control, ptr %1, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %23 7: ; preds = %2 %8 = call i32 @uvc_ctrl_fill_xu_info(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %9 = icmp slt i32 %8, 0 br i1 %9, label %23, label %10 10: ; preds = %7 %11 = call i32 @uvc_ctrl_add_info(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load i32, ptr @UVC_TRACE_CONTROL, align 4, !tbaa !11 %15 = getelementptr inbounds %struct.uvc_control_info, ptr %3, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = load i32, ptr %3, align 4, !tbaa !15 %18 = load ptr, ptr %0, align 8, !tbaa !16 %19 = load i32, ptr %18, align 4, !tbaa !18 %20 = load ptr, ptr %1, align 8, !tbaa !20 %21 = load i32, ptr %20, align 4, !tbaa !21 %22 = call i32 @uvc_trace(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %17, i32 noundef %19, i32 noundef %21) #3 br label %23 23: ; preds = %10, %13, %7, %2 %24 = phi i32 [ 0, %2 ], [ %8, %7 ], [ %11, %13 ], [ %11, %10 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @uvc_ctrl_fill_xu_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @uvc_ctrl_add_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @uvc_trace(i32 noundef, ptr noundef, i32 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 = !{!"uvc_control", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 4} !14 = !{!"uvc_control_info", !12, i64 0, !12, i64 4} !15 = !{!14, !12, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"uvc_device", !7, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"TYPE_3__", !12, i64 0} !20 = !{!6, !7, i64 0} !21 = !{!22, !12, i64 0} !22 = !{!"TYPE_4__", !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/uvc/extr_uvc_ctrl.c_uvc_ctrl_init_xu_ctrl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/uvc/extr_uvc_ctrl.c_uvc_ctrl_init_xu_ctrl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.uvc_control_info = type { i32, i32 } @UVC_TRACE_CONTROL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [61 x i8] c"Failed to initialize control %pUl/%u on device %s entity %u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @uvc_ctrl_init_xu_ctrl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @uvc_ctrl_init_xu_ctrl(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.uvc_control_info, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %23 7: ; preds = %2 %8 = call i32 @uvc_ctrl_fill_xu_info(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %9 = icmp slt i32 %8, 0 br i1 %9, label %23, label %10 10: ; preds = %7 %11 = call i32 @uvc_ctrl_add_info(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load i32, ptr @UVC_TRACE_CONTROL, align 4, !tbaa !12 %15 = getelementptr inbounds i8, ptr %3, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = load i32, ptr %3, align 4, !tbaa !16 %18 = load ptr, ptr %0, align 8, !tbaa !17 %19 = load i32, ptr %18, align 4, !tbaa !19 %20 = load ptr, ptr %1, align 8, !tbaa !21 %21 = load i32, ptr %20, align 4, !tbaa !22 %22 = call i32 @uvc_trace(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %17, i32 noundef %19, i32 noundef %21) #3 br label %23 23: ; preds = %10, %13, %7, %2 %24 = phi i32 [ 0, %2 ], [ %8, %7 ], [ %11, %13 ], [ %11, %10 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @uvc_ctrl_fill_xu_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @uvc_ctrl_add_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @uvc_trace(i32 noundef, ptr noundef, i32 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 = !{!"uvc_control", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 4} !15 = !{!"uvc_control_info", !13, i64 0, !13, i64 4} !16 = !{!15, !13, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"uvc_device", !8, i64 0} !19 = !{!20, !13, i64 0} !20 = !{!"TYPE_3__", !13, i64 0} !21 = !{!7, !8, i64 0} !22 = !{!23, !13, i64 0} !23 = !{!"TYPE_4__", !13, i64 0}
fastsocket_kernel_drivers_media_video_uvc_extr_uvc_ctrl.c_uvc_ctrl_init_xu_ctrl
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ncpfs/extr_file.c_ncp_fsync.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ncpfs/extr_file.c_ncp_fsync.c" target datalayout = "e-m:e-p270:32:32-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 @ncp_fsync], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ncp_fsync(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ncpfs/extr_file.c_ncp_fsync.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ncpfs/extr_file.c_ncp_fsync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ncp_fsync], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ncp_fsync(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_fs_ncpfs_extr_file.c_ncp_fsync
; ModuleID = 'AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalHandle.c' source_filename = "AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalHandle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SKIPPED = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Testing GlobalHandle()\00", align 1 @.str.1 = private unnamed_addr constant [55 x i8] c"Testing GlobalHandle with a block of GMEM_FIXED memory\00", align 1 @GMEM_FIXED = dso_local local_unnamed_addr global i32 0, align 4 @MEM_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"Allocation handle: \00", align 1 @PASSED = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"GlobalHandle returned:\00", align 1 @FAILED = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [20 x i8] c"GlobalAlloc failed!\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Result from subtest:\00", align 1 @.str.6 = private unnamed_addr constant [58 x i8] c"Testing GlobalHandle with a block of GMEM_MOVEABLE memory\00", align 1 @GMEM_MOVEABLE = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [28 x i8] c"Global Handle test results:\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @TestGlobalHandle() local_unnamed_addr #0 { %1 = load i32, ptr @SKIPPED, align 4, !tbaa !5 %2 = tail call i32 @OUTPUT_Banner(ptr noundef nonnull @.str) #2 %3 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.1) #2 %4 = load i32, ptr @GMEM_FIXED, align 4, !tbaa !5 %5 = load i32, ptr @MEM_BLOCK_SIZE, align 4, !tbaa !5 %6 = tail call i64 @GlobalAlloc(i32 noundef %4, i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %21, label %8 8: ; preds = %0 %9 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.2) #2 %10 = tail call i32 @OUTPUT_Handle(i64 noundef %6) #2 %11 = tail call i64 @GlobalHandle(i64 noundef %6) #2 %12 = icmp eq i64 %6, %11 br i1 %12, label %16, label %13 13: ; preds = %8 %14 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.3) #2 %15 = tail call i32 @OUTPUT_Handle(i64 noundef %11) #2 br label %16 16: ; preds = %8, %13 %17 = phi ptr [ @FAILED, %13 ], [ @PASSED, %8 ] %18 = load i32, ptr %17, align 4, !tbaa !5 %19 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %18) #2 %20 = tail call i32 @GlobalFree(i64 noundef %6) #2 br label %25 21: ; preds = %0 %22 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.4) #2 %23 = load i32, ptr @FAILED, align 4, !tbaa !5 %24 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %23) #2 br label %25 25: ; preds = %21, %16 %26 = phi i32 [ %19, %16 ], [ %24, %21 ] %27 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.5) #2 %28 = tail call i32 @OUTPUT_Result(i32 noundef %26) #2 %29 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %26) #2 %30 = load i32, ptr @SKIPPED, align 4, !tbaa !5 %31 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.6) #2 %32 = load i32, ptr @GMEM_MOVEABLE, align 4, !tbaa !5 %33 = load i32, ptr @MEM_BLOCK_SIZE, align 4, !tbaa !5 %34 = tail call i64 @GlobalAlloc(i32 noundef %32, i32 noundef %33) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %51, label %36 36: ; preds = %25 %37 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.2) #2 %38 = tail call i32 @OUTPUT_Handle(i64 noundef %34) #2 %39 = tail call i64 @GlobalLock(i64 noundef %34) #2 %40 = tail call i64 @GlobalHandle(i64 noundef %39) #2 %41 = icmp eq i64 %34, %40 br i1 %41, label %45, label %42 42: ; preds = %36 %43 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.3) #2 %44 = tail call i32 @OUTPUT_Handle(i64 noundef %40) #2 br label %45 45: ; preds = %36, %42 %46 = phi ptr [ @FAILED, %42 ], [ @PASSED, %36 ] %47 = load i32, ptr %46, align 4, !tbaa !5 %48 = tail call i32 @TEST_CombineStatus(i32 noundef %30, i32 noundef %47) #2 %49 = tail call i32 @GlobalUnlock(i64 noundef %34) #2 %50 = tail call i32 @GlobalFree(i64 noundef %34) #2 br label %55 51: ; preds = %25 %52 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.4) #2 %53 = load i32, ptr @FAILED, align 4, !tbaa !5 %54 = tail call i32 @TEST_CombineStatus(i32 noundef %30, i32 noundef %53) #2 br label %55 55: ; preds = %51, %45 %56 = phi i32 [ %48, %45 ], [ %54, %51 ] %57 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.5) #2 %58 = tail call i32 @OUTPUT_Result(i32 noundef %56) #2 %59 = tail call i32 @TEST_CombineStatus(i32 noundef %29, i32 noundef %56) #2 %60 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.7) #2 %61 = tail call i32 @OUTPUT_Result(i32 noundef %59) #2 ret i32 %59 } declare i32 @OUTPUT_Banner(ptr noundef) local_unnamed_addr #1 declare i32 @OUTPUT_Line(ptr noundef) local_unnamed_addr #1 declare i64 @GlobalAlloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OUTPUT_Handle(i64 noundef) local_unnamed_addr #1 declare i64 @GlobalHandle(i64 noundef) local_unnamed_addr #1 declare i32 @TEST_CombineStatus(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GlobalFree(i64 noundef) local_unnamed_addr #1 declare i32 @OUTPUT_Result(i32 noundef) local_unnamed_addr #1 declare i64 @GlobalLock(i64 noundef) local_unnamed_addr #1 declare i32 @GlobalUnlock(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalHandle.c' source_filename = "AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalHandle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SKIPPED = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Testing GlobalHandle()\00", align 1 @.str.1 = private unnamed_addr constant [55 x i8] c"Testing GlobalHandle with a block of GMEM_FIXED memory\00", align 1 @GMEM_FIXED = common local_unnamed_addr global i32 0, align 4 @MEM_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"Allocation handle: \00", align 1 @PASSED = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"GlobalHandle returned:\00", align 1 @FAILED = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [20 x i8] c"GlobalAlloc failed!\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Result from subtest:\00", align 1 @.str.6 = private unnamed_addr constant [58 x i8] c"Testing GlobalHandle with a block of GMEM_MOVEABLE memory\00", align 1 @GMEM_MOVEABLE = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [28 x i8] c"Global Handle test results:\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @TestGlobalHandle() local_unnamed_addr #0 { %1 = load i32, ptr @SKIPPED, align 4, !tbaa !6 %2 = tail call i32 @OUTPUT_Banner(ptr noundef nonnull @.str) #2 %3 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.1) #2 %4 = load i32, ptr @GMEM_FIXED, align 4, !tbaa !6 %5 = load i32, ptr @MEM_BLOCK_SIZE, align 4, !tbaa !6 %6 = tail call i64 @GlobalAlloc(i32 noundef %4, i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %21, label %8 8: ; preds = %0 %9 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.2) #2 %10 = tail call i32 @OUTPUT_Handle(i64 noundef %6) #2 %11 = tail call i64 @GlobalHandle(i64 noundef %6) #2 %12 = icmp eq i64 %6, %11 br i1 %12, label %16, label %13 13: ; preds = %8 %14 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.3) #2 %15 = tail call i32 @OUTPUT_Handle(i64 noundef %11) #2 br label %16 16: ; preds = %8, %13 %17 = phi ptr [ @FAILED, %13 ], [ @PASSED, %8 ] %18 = load i32, ptr %17, align 4, !tbaa !6 %19 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %18) #2 %20 = tail call i32 @GlobalFree(i64 noundef %6) #2 br label %25 21: ; preds = %0 %22 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.4) #2 %23 = load i32, ptr @FAILED, align 4, !tbaa !6 %24 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %23) #2 br label %25 25: ; preds = %21, %16 %26 = phi i32 [ %19, %16 ], [ %24, %21 ] %27 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.5) #2 %28 = tail call i32 @OUTPUT_Result(i32 noundef %26) #2 %29 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %26) #2 %30 = load i32, ptr @SKIPPED, align 4, !tbaa !6 %31 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.6) #2 %32 = load i32, ptr @GMEM_MOVEABLE, align 4, !tbaa !6 %33 = load i32, ptr @MEM_BLOCK_SIZE, align 4, !tbaa !6 %34 = tail call i64 @GlobalAlloc(i32 noundef %32, i32 noundef %33) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %51, label %36 36: ; preds = %25 %37 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.2) #2 %38 = tail call i32 @OUTPUT_Handle(i64 noundef %34) #2 %39 = tail call i64 @GlobalLock(i64 noundef %34) #2 %40 = tail call i64 @GlobalHandle(i64 noundef %39) #2 %41 = icmp eq i64 %34, %40 br i1 %41, label %45, label %42 42: ; preds = %36 %43 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.3) #2 %44 = tail call i32 @OUTPUT_Handle(i64 noundef %40) #2 br label %45 45: ; preds = %36, %42 %46 = phi ptr [ @FAILED, %42 ], [ @PASSED, %36 ] %47 = load i32, ptr %46, align 4, !tbaa !6 %48 = tail call i32 @TEST_CombineStatus(i32 noundef %30, i32 noundef %47) #2 %49 = tail call i32 @GlobalUnlock(i64 noundef %34) #2 %50 = tail call i32 @GlobalFree(i64 noundef %34) #2 br label %55 51: ; preds = %25 %52 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.4) #2 %53 = load i32, ptr @FAILED, align 4, !tbaa !6 %54 = tail call i32 @TEST_CombineStatus(i32 noundef %30, i32 noundef %53) #2 br label %55 55: ; preds = %51, %45 %56 = phi i32 [ %48, %45 ], [ %54, %51 ] %57 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.5) #2 %58 = tail call i32 @OUTPUT_Result(i32 noundef %56) #2 %59 = tail call i32 @TEST_CombineStatus(i32 noundef %29, i32 noundef %56) #2 %60 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.7) #2 %61 = tail call i32 @OUTPUT_Result(i32 noundef %59) #2 ret i32 %59 } declare i32 @OUTPUT_Banner(ptr noundef) local_unnamed_addr #1 declare i32 @OUTPUT_Line(ptr noundef) local_unnamed_addr #1 declare i64 @GlobalAlloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @OUTPUT_Handle(i64 noundef) local_unnamed_addr #1 declare i64 @GlobalHandle(i64 noundef) local_unnamed_addr #1 declare i32 @TEST_CombineStatus(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GlobalFree(i64 noundef) local_unnamed_addr #1 declare i32 @OUTPUT_Result(i32 noundef) local_unnamed_addr #1 declare i64 @GlobalLock(i64 noundef) local_unnamed_addr #1 declare i32 @GlobalUnlock(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"}
reactos_modules_rostests_tests_global_mem_extr_global_mem.c_TestGlobalHandle
; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_output.c_yuv2planeX_8_c.c' source_filename = "AnghaBench/FFmpeg/libswscale/extr_output.c_yuv2planeX_8_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @yuv2planeX_8_c], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @yuv2planeX_8_c(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4, ptr nocapture noundef readonly %5, i32 noundef %6) #0 { %8 = icmp sgt i32 %4, 0 br i1 %8, label %9, label %95 9: ; preds = %7 %10 = icmp sgt i32 %1, 0 %11 = zext nneg i32 %4 to i64 %12 = zext i32 %1 to i64 %13 = and i64 %12, 3 %14 = icmp ult i32 %1, 4 %15 = and i64 %12, 2147483644 %16 = icmp eq i64 %13, 0 br label %17 17: ; preds = %9, %88 %18 = phi i64 [ 0, %9 ], [ %93, %88 ] %19 = trunc i64 %18 to i32 %20 = add i32 %19, %6 %21 = and i32 %20, 7 %22 = zext nneg i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %5, i64 %22 %24 = load i32, ptr %23, align 4, !tbaa !5 %25 = shl i32 %24, 12 br i1 %10, label %26, label %88 26: ; preds = %17 br i1 %14, label %69, label %27 27: ; preds = %26, %27 %28 = phi i64 [ %66, %27 ], [ 0, %26 ] %29 = phi i32 [ %65, %27 ], [ %25, %26 ] %30 = phi i64 [ %67, %27 ], [ 0, %26 ] %31 = getelementptr inbounds ptr, ptr %2, i64 %28 %32 = load ptr, ptr %31, align 8, !tbaa !9 %33 = getelementptr inbounds i32, ptr %32, i64 %18 %34 = load i32, ptr %33, align 4, !tbaa !5 %35 = getelementptr inbounds i32, ptr %0, i64 %28 %36 = load i32, ptr %35, align 4, !tbaa !5 %37 = mul nsw i32 %36, %34 %38 = add nsw i32 %37, %29 %39 = or disjoint i64 %28, 1 %40 = getelementptr inbounds ptr, ptr %2, i64 %39 %41 = load ptr, ptr %40, align 8, !tbaa !9 %42 = getelementptr inbounds i32, ptr %41, i64 %18 %43 = load i32, ptr %42, align 4, !tbaa !5 %44 = getelementptr inbounds i32, ptr %0, i64 %39 %45 = load i32, ptr %44, align 4, !tbaa !5 %46 = mul nsw i32 %45, %43 %47 = add nsw i32 %46, %38 %48 = or disjoint i64 %28, 2 %49 = getelementptr inbounds ptr, ptr %2, i64 %48 %50 = load ptr, ptr %49, align 8, !tbaa !9 %51 = getelementptr inbounds i32, ptr %50, i64 %18 %52 = load i32, ptr %51, align 4, !tbaa !5 %53 = getelementptr inbounds i32, ptr %0, i64 %48 %54 = load i32, ptr %53, align 4, !tbaa !5 %55 = mul nsw i32 %54, %52 %56 = add nsw i32 %55, %47 %57 = or disjoint i64 %28, 3 %58 = getelementptr inbounds ptr, ptr %2, i64 %57 %59 = load ptr, ptr %58, align 8, !tbaa !9 %60 = getelementptr inbounds i32, ptr %59, i64 %18 %61 = load i32, ptr %60, align 4, !tbaa !5 %62 = getelementptr inbounds i32, ptr %0, i64 %57 %63 = load i32, ptr %62, align 4, !tbaa !5 %64 = mul nsw i32 %63, %61 %65 = add nsw i32 %64, %56 %66 = add nuw nsw i64 %28, 4 %67 = add nuw i64 %30, 4 %68 = icmp eq i64 %67, %15 br i1 %68, label %69, label %27, !llvm.loop !11 69: ; preds = %27, %26 %70 = phi i32 [ undef, %26 ], [ %65, %27 ] %71 = phi i64 [ 0, %26 ], [ %66, %27 ] %72 = phi i32 [ %25, %26 ], [ %65, %27 ] br i1 %16, label %88, label %73 73: ; preds = %69, %73 %74 = phi i64 [ %85, %73 ], [ %71, %69 ] %75 = phi i32 [ %84, %73 ], [ %72, %69 ] %76 = phi i64 [ %86, %73 ], [ 0, %69 ] %77 = getelementptr inbounds ptr, ptr %2, i64 %74 %78 = load ptr, ptr %77, align 8, !tbaa !9 %79 = getelementptr inbounds i32, ptr %78, i64 %18 %80 = load i32, ptr %79, align 4, !tbaa !5 %81 = getelementptr inbounds i32, ptr %0, i64 %74 %82 = load i32, ptr %81, align 4, !tbaa !5 %83 = mul nsw i32 %82, %80 %84 = add nsw i32 %83, %75 %85 = add nuw nsw i64 %74, 1 %86 = add i64 %76, 1 %87 = icmp eq i64 %86, %13 br i1 %87, label %88, label %73, !llvm.loop !13 88: ; preds = %69, %73, %17 %89 = phi i32 [ %25, %17 ], [ %70, %69 ], [ %84, %73 ] %90 = ashr i32 %89, 19 %91 = tail call i32 @av_clip_uint8(i32 noundef %90) #2 %92 = getelementptr inbounds i32, ptr %3, i64 %18 store i32 %91, ptr %92, align 4, !tbaa !5 %93 = add nuw nsw i64 %18, 1 %94 = icmp eq i64 %93, %11 br i1 %94, label %95, label %17, !llvm.loop !15 95: ; preds = %88, %7 ret void } declare i32 @av_clip_uint8(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.unroll.disable"} !15 = distinct !{!15, !12}
; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_output.c_yuv2planeX_8_c.c' source_filename = "AnghaBench/FFmpeg/libswscale/extr_output.c_yuv2planeX_8_c.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 @yuv2planeX_8_c], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @yuv2planeX_8_c(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4, ptr nocapture noundef readonly %5, i32 noundef %6) #0 { %8 = icmp sgt i32 %4, 0 br i1 %8, label %9, label %74 9: ; preds = %7 %10 = icmp sgt i32 %1, 0 %11 = zext nneg i32 %4 to i64 %12 = zext i32 %1 to i64 %13 = icmp eq i32 %1, 1 %14 = and i64 %12, 2147483646 %15 = icmp eq i64 %14, %12 br label %16 16: ; preds = %9, %67 %17 = phi i64 [ 0, %9 ], [ %72, %67 ] %18 = trunc i64 %17 to i32 %19 = add i32 %18, %6 %20 = and i32 %19, 7 %21 = zext nneg i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %5, i64 %21 %23 = load i32, ptr %22, align 4, !tbaa !6 %24 = shl i32 %23, 12 br i1 %10, label %25, label %67 25: ; preds = %16 br i1 %13, label %51, label %26 26: ; preds = %25, %26 %27 = phi i64 [ %47, %26 ], [ 0, %25 ] %28 = phi i32 [ %45, %26 ], [ %24, %25 ] %29 = phi i32 [ %46, %26 ], [ 0, %25 ] %30 = or disjoint i64 %27, 1 %31 = getelementptr inbounds ptr, ptr %2, i64 %27 %32 = getelementptr inbounds ptr, ptr %2, i64 %30 %33 = load ptr, ptr %31, align 8, !tbaa !10 %34 = load ptr, ptr %32, align 8, !tbaa !10 %35 = getelementptr inbounds i32, ptr %33, i64 %17 %36 = getelementptr inbounds i32, ptr %34, i64 %17 %37 = load i32, ptr %35, align 4, !tbaa !6 %38 = load i32, ptr %36, align 4, !tbaa !6 %39 = getelementptr inbounds i32, ptr %0, i64 %27 %40 = getelementptr inbounds i32, ptr %0, i64 %30 %41 = load i32, ptr %39, align 4, !tbaa !6 %42 = load i32, ptr %40, align 4, !tbaa !6 %43 = mul nsw i32 %41, %37 %44 = mul nsw i32 %42, %38 %45 = add i32 %43, %28 %46 = add i32 %44, %29 %47 = add nuw i64 %27, 2 %48 = icmp eq i64 %47, %14 br i1 %48, label %49, label %26, !llvm.loop !12 49: ; preds = %26 %50 = add i32 %46, %45 br i1 %15, label %67, label %51 51: ; preds = %49, %25 %52 = phi i64 [ 0, %25 ], [ %14, %49 ] %53 = phi i32 [ %24, %25 ], [ %50, %49 ] br label %54 54: ; preds = %51, %54 %55 = phi i64 [ %65, %54 ], [ %52, %51 ] %56 = phi i32 [ %64, %54 ], [ %53, %51 ] %57 = getelementptr inbounds ptr, ptr %2, i64 %55 %58 = load ptr, ptr %57, align 8, !tbaa !10 %59 = getelementptr inbounds i32, ptr %58, i64 %17 %60 = load i32, ptr %59, align 4, !tbaa !6 %61 = getelementptr inbounds i32, ptr %0, i64 %55 %62 = load i32, ptr %61, align 4, !tbaa !6 %63 = mul nsw i32 %62, %60 %64 = add nsw i32 %63, %56 %65 = add nuw nsw i64 %55, 1 %66 = icmp eq i64 %65, %12 br i1 %66, label %67, label %54, !llvm.loop !16 67: ; preds = %54, %49, %16 %68 = phi i32 [ %24, %16 ], [ %50, %49 ], [ %64, %54 ] %69 = ashr i32 %68, 19 %70 = tail call i32 @av_clip_uint8(i32 noundef %69) #2 %71 = getelementptr inbounds i32, ptr %3, i64 %17 store i32 %70, ptr %71, align 4, !tbaa !6 %72 = add nuw nsw i64 %17, 1 %73 = icmp eq i64 %72, %11 br i1 %73, label %74, label %16, !llvm.loop !17 74: ; preds = %67, %7 ret void } declare i32 @av_clip_uint8(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = distinct !{!12, !13, !14, !15} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!"llvm.loop.isvectorized", i32 1} !15 = !{!"llvm.loop.unroll.runtime.disable"} !16 = distinct !{!16, !13, !14} !17 = distinct !{!17, !13}
FFmpeg_libswscale_extr_output.c_yuv2planeX_8_c
; ModuleID = 'AnghaBench/exploitdb/exploits/solaris/local/extr_21024.c_get_sp.c' source_filename = "AnghaBench/exploitdb/exploits/solaris/local/extr_21024.c_get_sp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i64 @get_sp() local_unnamed_addr #0 { tail call void asm sideeffect "mov %sp,%i0", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !5 ret i64 undef } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{i64 429}
; ModuleID = 'AnghaBench/exploitdb/exploits/solaris/local/extr_21024.c_get_sp.c' source_filename = "AnghaBench/exploitdb/exploits/solaris/local/extr_21024.c_get_sp.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 @get_sp() local_unnamed_addr #0 { tail call void asm sideeffect "mov %sp,%i0", ""() #1, !srcloc !6 ret i64 undef } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{i64 429}
exploitdb_exploits_solaris_local_extr_21024.c_get_sp
; ModuleID = 'AnghaBench/linux/drivers/pci/extr_pcieportdrv.h_pcie_dpc_init.c' source_filename = "AnghaBench/linux/drivers/pci/extr_pcieportdrv.h_pcie_dpc_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @pcie_dpc_init], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @pcie_dpc_init() #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/pci/extr_pcieportdrv.h_pcie_dpc_init.c' source_filename = "AnghaBench/linux/drivers/pci/extr_pcieportdrv.h_pcie_dpc_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @pcie_dpc_init], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @pcie_dpc_init() #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_pci_extr_pcieportdrv.h_pcie_dpc_init
; ModuleID = 'AnghaBench/linux/arch/arm/mm/extr_pageattr.c_set_memory_nx.c' source_filename = "AnghaBench/linux/arch/arm/mm/extr_pageattr.c_set_memory_nx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @L_PTE_XN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @set_memory_nx(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @L_PTE_XN, align 4, !tbaa !5 %4 = tail call i32 @__pgprot(i32 noundef %3) #2 %5 = tail call i32 @__pgprot(i32 noundef 0) #2 %6 = tail call i32 @change_memory_common(i64 noundef %0, i32 noundef %1, i32 noundef %4, i32 noundef %5) #2 ret i32 %6 } declare i32 @change_memory_common(i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__pgprot(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/mm/extr_pageattr.c_set_memory_nx.c' source_filename = "AnghaBench/linux/arch/arm/mm/extr_pageattr.c_set_memory_nx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @L_PTE_XN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @set_memory_nx(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @L_PTE_XN, align 4, !tbaa !6 %4 = tail call i32 @__pgprot(i32 noundef %3) #2 %5 = tail call i32 @__pgprot(i32 noundef 0) #2 %6 = tail call i32 @change_memory_common(i64 noundef %0, i32 noundef %1, i32 noundef %4, i32 noundef %5) #2 ret i32 %6 } declare i32 @change_memory_common(i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__pgprot(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_mm_extr_pageattr.c_set_memory_nx
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_resbin.c_res_to_bin_generic.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_resbin.c_res_to_bin_generic.c" target datalayout = "e-m:e-p270:32:32-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 @res_to_bin_generic], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @res_to_bin_generic(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = icmp ne ptr %0, null %6 = icmp ne i64 %2, 0 %7 = and i1 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 @set_windres_bfd_content(ptr noundef nonnull %0, ptr noundef %3, i64 noundef %1, i64 noundef %2) #2 br label %10 10: ; preds = %8, %4 %11 = add nsw i64 %2, %1 ret i64 %11 } declare i32 @set_windres_bfd_content(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_resbin.c_res_to_bin_generic.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_resbin.c_res_to_bin_generic.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 @res_to_bin_generic], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @res_to_bin_generic(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = icmp ne ptr %0, null %6 = icmp ne i64 %2, 0 %7 = and i1 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 @set_windres_bfd_content(ptr noundef nonnull %0, ptr noundef %3, i64 noundef %1, i64 noundef %2) #2 br label %10 10: ; preds = %8, %4 %11 = add nsw i64 %2, %1 ret i64 %11 } declare i32 @set_windres_bfd_content(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_binutils_binutils_extr_resbin.c_res_to_bin_generic
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/8051/extr_8051_ass.c_register_number.c' source_filename = "AnghaBench/radare2/libr/asm/arch/8051/extr_8051_ass.c_register_number.c" target datalayout = "e-m:e-p270:32:32-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 @register_number], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @register_number(ptr noundef %0) #0 { %2 = tail call i64 @is_reg(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = tail call i64 @is_indirect_reg(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %4, %1 %8 = phi i64 [ 1, %1 ], [ 2, %4 ] %9 = getelementptr inbounds i8, ptr %0, i64 %8 %10 = load i8, ptr %9, align 1, !tbaa !5 %11 = sext i8 %10 to i32 %12 = add nsw i32 %11, -48 br label %13 13: ; preds = %7, %4 %14 = phi i32 [ 8, %4 ], [ %12, %7 ] ret i32 %14 } declare i64 @is_reg(ptr noundef) local_unnamed_addr #1 declare i64 @is_indirect_reg(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"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/8051/extr_8051_ass.c_register_number.c' source_filename = "AnghaBench/radare2/libr/asm/arch/8051/extr_8051_ass.c_register_number.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 @register_number], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -176, 80) i32 @register_number(ptr noundef %0) #0 { %2 = tail call i64 @is_reg(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = tail call i64 @is_indirect_reg(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %13, label %7 7: ; preds = %4, %1 %8 = phi i64 [ 1, %1 ], [ 2, %4 ] %9 = getelementptr inbounds i8, ptr %0, i64 %8 %10 = load i8, ptr %9, align 1, !tbaa !6 %11 = sext i8 %10 to i32 %12 = add nsw i32 %11, -48 br label %13 13: ; preds = %7, %4 %14 = phi i32 [ 8, %4 ], [ %12, %7 ] ret i32 %14 } declare i64 @is_reg(ptr noundef) local_unnamed_addr #1 declare i64 @is_indirect_reg(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"}
radare2_libr_asm_arch_8051_extr_8051_ass.c_register_number
; ModuleID = 'AnghaBench/linux/drivers/media/platform/extr_rcar-fcp.c_rcar_fcp_get_device.c' source_filename = "AnghaBench/linux/drivers/media/platform/extr_rcar-fcp.c_rcar_fcp_get_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" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @rcar_fcp_get_device(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rcar_fcp_device", !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/platform/extr_rcar-fcp.c_rcar_fcp_get_device.c' source_filename = "AnghaBench/linux/drivers/media/platform/extr_rcar-fcp.c_rcar_fcp_get_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define ptr @rcar_fcp_get_device(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rcar_fcp_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_platform_extr_rcar-fcp.c_rcar_fcp_get_device
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_use_scatter_to_cqe.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_use_scatter_to_cqe.c" target datalayout = "e-m:e-p270:32:32-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 [20 x i8] c"MLX5_SCATTER_TO_CQE\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @use_scatter_to_cqe], section "llvm.metadata" ; Function Attrs: nofree nounwind memory(read) uwtable define internal noundef i32 @use_scatter_to_cqe() #0 { %1 = tail call ptr @getenv(ptr noundef nonnull @.str) %2 = icmp eq ptr %1, null br i1 %2, label %6, label %3 3: ; preds = %0 %4 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(2) @.str.1) %5 = icmp eq i32 %4, 0 br i1 %5, label %7, label %6 6: ; preds = %3, %0 br label %7 7: ; preds = %3, %6 %8 = phi i32 [ 1, %6 ], [ 0, %3 ] ret i32 %8 } ; Function Attrs: nofree nounwind memory(read) declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2 attributes #0 = { nofree nounwind memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_use_scatter_to_cqe.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_use_scatter_to_cqe.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 [20 x i8] c"MLX5_SCATTER_TO_CQE\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @use_scatter_to_cqe], section "llvm.metadata" ; Function Attrs: nofree nounwind ssp memory(read) uwtable(sync) define internal range(i32 0, 2) i32 @use_scatter_to_cqe() #0 { %1 = tail call ptr @getenv(ptr noundef nonnull @.str) %2 = icmp eq ptr %1, null br i1 %2, label %10, label %3 3: ; preds = %0 %4 = load i8, ptr %1, align 1 %5 = icmp eq i8 %4, 48 br i1 %5, label %6, label %10 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %1, i64 1 %8 = load i8, ptr %7, align 1 %9 = icmp eq i8 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %3, %6, %0 br label %11 11: ; preds = %6, %10 %12 = phi i32 [ 1, %10 ], [ 0, %6 ] ret i32 %12 } ; Function Attrs: nofree nounwind memory(read) declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind ssp memory(read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_ofed_libmlx5_extr_verbs.c_use_scatter_to_cqe
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_wm831x_power.c_wm831x_wall_get_prop.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_wm831x_power.c_wm831x_wall_get_prop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WM831X_PWR_WALL = dso_local local_unnamed_addr global i32 0, align 4 @WM831X_AUX_WALL = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm831x_wall_get_prop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wm831x_wall_get_prop(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call ptr @dev_get_drvdata(i32 noundef %4) #2 %6 = load ptr, ptr %5, align 8, !tbaa !11 switch i32 %1, label %13 [ i32 129, label %7 i32 128, label %10 ] 7: ; preds = %3 %8 = load i32, ptr @WM831X_PWR_WALL, align 4, !tbaa !14 %9 = tail call i32 @wm831x_power_check_online(ptr noundef %6, i32 noundef %8, ptr noundef %2) #2 br label %16 10: ; preds = %3 %11 = load i32, ptr @WM831X_AUX_WALL, align 4, !tbaa !14 %12 = tail call i32 @wm831x_power_read_voltage(ptr noundef %6, i32 noundef %11, ptr noundef %2) #2 br label %16 13: ; preds = %3 %14 = load i32, ptr @EINVAL, align 4, !tbaa !14 %15 = sub nsw i32 0, %14 br label %16 16: ; preds = %13, %10, %7 %17 = phi i32 [ %15, %13 ], [ %12, %10 ], [ %9, %7 ] ret i32 %17 } declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1 declare i32 @wm831x_power_check_online(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wm831x_power_read_voltage(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"power_supply", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"wm831x_power", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_wm831x_power.c_wm831x_wall_get_prop.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_wm831x_power.c_wm831x_wall_get_prop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WM831X_PWR_WALL = common local_unnamed_addr global i32 0, align 4 @WM831X_AUX_WALL = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm831x_wall_get_prop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wm831x_wall_get_prop(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call ptr @dev_get_drvdata(i32 noundef %4) #2 %6 = load ptr, ptr %5, align 8, !tbaa !12 switch i32 %1, label %13 [ i32 129, label %7 i32 128, label %10 ] 7: ; preds = %3 %8 = load i32, ptr @WM831X_PWR_WALL, align 4, !tbaa !15 %9 = tail call i32 @wm831x_power_check_online(ptr noundef %6, i32 noundef %8, ptr noundef %2) #2 br label %16 10: ; preds = %3 %11 = load i32, ptr @WM831X_AUX_WALL, align 4, !tbaa !15 %12 = tail call i32 @wm831x_power_read_voltage(ptr noundef %6, i32 noundef %11, ptr noundef %2) #2 br label %16 13: ; preds = %3 %14 = load i32, ptr @EINVAL, align 4, !tbaa !15 %15 = sub nsw i32 0, %14 br label %16 16: ; preds = %13, %10, %7 %17 = phi i32 [ %15, %13 ], [ %12, %10 ], [ %9, %7 ] ret i32 %17 } declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1 declare i32 @wm831x_power_check_online(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wm831x_power_read_voltage(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"power_supply", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"wm831x_power", !14, i64 0} !14 = !{!"any pointer", !10, i64 0} !15 = !{!9, !9, i64 0}
linux_drivers_power_supply_extr_wm831x_power.c_wm831x_wall_get_prop
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_pac7311.c_sd_getvflip.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_pac7311.c_sd_getvflip.c" target datalayout = "e-m:e-p270:32:32-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 @sd_getvflip], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal noundef i32 @sd_getvflip(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 store i32 %3, ptr %1, align 4, !tbaa !10 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sd", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_pac7311.c_sd_getvflip.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_pac7311.c_sd_getvflip.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 @sd_getvflip], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal noundef i32 @sd_getvflip(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 store i32 %3, ptr %1, align 4, !tbaa !11 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sd", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_media_video_gspca_extr_pac7311.c_sd_getvflip
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/ibmasm/extr_dot_command.h_get_dot_command_size.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/ibmasm/extr_dot_command.h_get_dot_command_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dot_command_header = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @get_dot_command_size], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i64 @get_dot_command_size(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = add i64 %2, 16 %4 = getelementptr inbounds %struct.dot_command_header, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = add i64 %3, %5 ret i64 %6 } 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 = !{!"dot_command_header", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/ibmasm/extr_dot_command.h_get_dot_command_size.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/ibmasm/extr_dot_command.h_get_dot_command_size.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_dot_command_size], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i64 @get_dot_command_size(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = add i64 %2, 16 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = add i64 %3, %5 ret i64 %6 } 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 = !{!"dot_command_header", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8}
fastsocket_kernel_drivers_misc_ibmasm_extr_dot_command.h_get_dot_command_size
; ModuleID = 'AnghaBench/radare2/libr/anal/p/extr_anal_8051.c_i8051_reg_write.c' source_filename = "AnghaBench/radare2/libr/anal/p/extr_anal_8051.c_i8051_reg_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" @R_REG_TYPE_GPR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @i8051_reg_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @i8051_reg_write(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %11, label %5 5: ; preds = %3 %6 = load i32, ptr @R_REG_TYPE_GPR, align 4, !tbaa !5 %7 = tail call ptr @r_reg_get(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %5 %10 = tail call i32 @r_reg_set_value(ptr noundef nonnull %0, ptr noundef nonnull %7, i32 noundef %2) #2 br label %11 11: ; preds = %5, %3, %9 %12 = phi i32 [ 1, %9 ], [ 0, %3 ], [ 0, %5 ] ret i32 %12 } declare ptr @r_reg_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @r_reg_set_value(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/radare2/libr/anal/p/extr_anal_8051.c_i8051_reg_write.c' source_filename = "AnghaBench/radare2/libr/anal/p/extr_anal_8051.c_i8051_reg_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R_REG_TYPE_GPR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @i8051_reg_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @i8051_reg_write(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %11, label %5 5: ; preds = %3 %6 = load i32, ptr @R_REG_TYPE_GPR, align 4, !tbaa !6 %7 = tail call ptr @r_reg_get(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %5 %10 = tail call i32 @r_reg_set_value(ptr noundef nonnull %0, ptr noundef nonnull %7, i32 noundef %2) #2 br label %11 11: ; preds = %5, %3, %9 %12 = phi i32 [ 1, %9 ], [ 0, %3 ], [ 0, %5 ] ret i32 %12 } declare ptr @r_reg_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @r_reg_set_value(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"}
radare2_libr_anal_p_extr_anal_8051.c_i8051_reg_write
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_curl_multi_fdset.c' source_filename = "AnghaBench/curl/lib/extr_multi.c_curl_multi_fdset.c" target datalayout = "e-m:e-p270:32:32-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.Curl_multi = type { ptr, i64 } @MAX_SOCKSPEREASYHANDLE = dso_local local_unnamed_addr global i32 0, align 4 @CURLM_BAD_HANDLE = dso_local local_unnamed_addr global i32 0, align 4 @CURLM_RECURSIVE_API_CALL = dso_local local_unnamed_addr global i32 0, align 4 @CURL_SOCKET_BAD = dso_local local_unnamed_addr global i64 0, align 8 @CURLM_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @curl_multi_fdset(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = load i32, ptr @MAX_SOCKSPEREASYHANDLE, align 4, !tbaa !5 %7 = zext i32 %6 to i64 %8 = alloca i64, i64 %7, align 16 %9 = tail call i32 @GOOD_MULTI_HANDLE(ptr noundef %0) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %74, label %11 11: ; preds = %5 %12 = getelementptr inbounds %struct.Curl_multi, ptr %0, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !9 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %74 15: ; preds = %11 %16 = load ptr, ptr %0, align 8, !tbaa !13 %17 = icmp eq ptr %16, null br i1 %17, label %72, label %18 18: ; preds = %15, %68 %19 = phi ptr [ %70, %68 ], [ %16, %15 ] %20 = phi i32 [ %69, %68 ], [ -1, %15 ] %21 = call i32 @multi_getsock(ptr noundef nonnull %19, ptr noundef nonnull %8) #3 %22 = load i32, ptr @MAX_SOCKSPEREASYHANDLE, align 4, !tbaa !5 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %68 24: ; preds = %18 %25 = load i64, ptr @CURL_SOCKET_BAD, align 8, !tbaa !14 br label %26 26: ; preds = %24, %61 %27 = phi i64 [ %25, %24 ], [ %59, %61 ] %28 = phi i64 [ 0, %24 ], [ %64, %61 ] %29 = phi i32 [ %20, %24 ], [ %63, %61 ] %30 = trunc i64 %28 to i32 %31 = call i32 @GETSOCK_READSOCK(i32 noundef %30) #3 %32 = and i32 %31, %21 %33 = icmp eq i32 %32, 0 br i1 %33, label %43, label %34 34: ; preds = %26 %35 = getelementptr inbounds i64, ptr %8, i64 %28 %36 = load i64, ptr %35, align 8, !tbaa !14 %37 = call i64 @VALID_SOCK(i64 noundef %36) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %34 %40 = load i64, ptr %35, align 8, !tbaa !14 %41 = call i32 @FD_SET(i64 noundef %40, ptr noundef %1) #3 %42 = load i64, ptr %35, align 8, !tbaa !14 br label %43 43: ; preds = %39, %34, %26 %44 = phi i64 [ %42, %39 ], [ %27, %34 ], [ %27, %26 ] %45 = call i32 @GETSOCK_WRITESOCK(i32 noundef %30) #3 %46 = and i32 %45, %21 %47 = icmp eq i32 %46, 0 br i1 %47, label %57, label %48 48: ; preds = %43 %49 = getelementptr inbounds i64, ptr %8, i64 %28 %50 = load i64, ptr %49, align 8, !tbaa !14 %51 = call i64 @VALID_SOCK(i64 noundef %50) #3 %52 = icmp eq i64 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %48 %54 = load i64, ptr %49, align 8, !tbaa !14 %55 = call i32 @FD_SET(i64 noundef %54, ptr noundef %2) #3 %56 = load i64, ptr %49, align 8, !tbaa !14 br label %57 57: ; preds = %53, %48, %43 %58 = phi i64 [ %56, %53 ], [ %44, %48 ], [ %44, %43 ] %59 = load i64, ptr @CURL_SOCKET_BAD, align 8, !tbaa !14 %60 = icmp eq i64 %58, %59 br i1 %60, label %68, label %61 61: ; preds = %57 %62 = trunc i64 %58 to i32 %63 = call i32 @llvm.smax.i32(i32 %29, i32 %62) %64 = add nuw nsw i64 %28, 1 %65 = load i32, ptr @MAX_SOCKSPEREASYHANDLE, align 4, !tbaa !5 %66 = sext i32 %65 to i64 %67 = icmp slt i64 %64, %66 br i1 %67, label %26, label %68, !llvm.loop !15 68: ; preds = %61, %57, %18 %69 = phi i32 [ %20, %18 ], [ %29, %57 ], [ %63, %61 ] %70 = load ptr, ptr %19, align 8, !tbaa !13 %71 = icmp eq ptr %70, null br i1 %71, label %72, label %18, !llvm.loop !17 72: ; preds = %68, %15 %73 = phi i32 [ -1, %15 ], [ %69, %68 ] store i32 %73, ptr %4, align 4, !tbaa !5 br label %74 74: ; preds = %11, %5, %72 %75 = phi ptr [ @CURLM_OK, %72 ], [ @CURLM_BAD_HANDLE, %5 ], [ @CURLM_RECURSIVE_API_CALL, %11 ] %76 = load i32, ptr %75, align 4, !tbaa !5 ret i32 %76 } declare i32 @GOOD_MULTI_HANDLE(ptr noundef) local_unnamed_addr #1 declare i32 @multi_getsock(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GETSOCK_READSOCK(i32 noundef) local_unnamed_addr #1 declare i64 @VALID_SOCK(i64 noundef) local_unnamed_addr #1 declare i32 @FD_SET(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GETSOCK_WRITESOCK(i32 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, !12, i64 8} !10 = !{!"Curl_multi", !11, i64 0, !12, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!12, !12, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_curl_multi_fdset.c' source_filename = "AnghaBench/curl/lib/extr_multi.c_curl_multi_fdset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_SOCKSPEREASYHANDLE = common local_unnamed_addr global i32 0, align 4 @CURLM_BAD_HANDLE = common local_unnamed_addr global i32 0, align 4 @CURLM_RECURSIVE_API_CALL = common local_unnamed_addr global i32 0, align 4 @CURL_SOCKET_BAD = common local_unnamed_addr global i64 0, align 8 @CURLM_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @curl_multi_fdset(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = load i32, ptr @MAX_SOCKSPEREASYHANDLE, align 4, !tbaa !6 %7 = zext i32 %6 to i64 %8 = alloca i64, i64 %7, align 8 %9 = tail call i32 @GOOD_MULTI_HANDLE(ptr noundef %0) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %74, label %11 11: ; preds = %5 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !10 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %74 15: ; preds = %11 %16 = load ptr, ptr %0, align 8, !tbaa !14 %17 = icmp eq ptr %16, null br i1 %17, label %72, label %18 18: ; preds = %15, %68 %19 = phi ptr [ %70, %68 ], [ %16, %15 ] %20 = phi i32 [ %69, %68 ], [ -1, %15 ] %21 = call i32 @multi_getsock(ptr noundef nonnull %19, ptr noundef nonnull %8) #3 %22 = load i32, ptr @MAX_SOCKSPEREASYHANDLE, align 4, !tbaa !6 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %68 24: ; preds = %18 %25 = load i64, ptr @CURL_SOCKET_BAD, align 8, !tbaa !15 br label %26 26: ; preds = %24, %61 %27 = phi i64 [ %25, %24 ], [ %59, %61 ] %28 = phi i64 [ 0, %24 ], [ %64, %61 ] %29 = phi i32 [ %20, %24 ], [ %63, %61 ] %30 = trunc nuw nsw i64 %28 to i32 %31 = call i32 @GETSOCK_READSOCK(i32 noundef %30) #3 %32 = and i32 %31, %21 %33 = icmp eq i32 %32, 0 br i1 %33, label %43, label %34 34: ; preds = %26 %35 = getelementptr inbounds i64, ptr %8, i64 %28 %36 = load i64, ptr %35, align 8, !tbaa !15 %37 = call i64 @VALID_SOCK(i64 noundef %36) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %34 %40 = load i64, ptr %35, align 8, !tbaa !15 %41 = call i32 @FD_SET(i64 noundef %40, ptr noundef %1) #3 %42 = load i64, ptr %35, align 8, !tbaa !15 br label %43 43: ; preds = %39, %34, %26 %44 = phi i64 [ %42, %39 ], [ %27, %34 ], [ %27, %26 ] %45 = call i32 @GETSOCK_WRITESOCK(i32 noundef %30) #3 %46 = and i32 %45, %21 %47 = icmp eq i32 %46, 0 br i1 %47, label %57, label %48 48: ; preds = %43 %49 = getelementptr inbounds i64, ptr %8, i64 %28 %50 = load i64, ptr %49, align 8, !tbaa !15 %51 = call i64 @VALID_SOCK(i64 noundef %50) #3 %52 = icmp eq i64 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %48 %54 = load i64, ptr %49, align 8, !tbaa !15 %55 = call i32 @FD_SET(i64 noundef %54, ptr noundef %2) #3 %56 = load i64, ptr %49, align 8, !tbaa !15 br label %57 57: ; preds = %53, %48, %43 %58 = phi i64 [ %56, %53 ], [ %44, %48 ], [ %44, %43 ] %59 = load i64, ptr @CURL_SOCKET_BAD, align 8, !tbaa !15 %60 = icmp eq i64 %58, %59 br i1 %60, label %68, label %61 61: ; preds = %57 %62 = trunc i64 %58 to i32 %63 = call i32 @llvm.smax.i32(i32 %29, i32 %62) %64 = add nuw nsw i64 %28, 1 %65 = load i32, ptr @MAX_SOCKSPEREASYHANDLE, align 4, !tbaa !6 %66 = sext i32 %65 to i64 %67 = icmp slt i64 %64, %66 br i1 %67, label %26, label %68, !llvm.loop !16 68: ; preds = %61, %57, %18 %69 = phi i32 [ %20, %18 ], [ %29, %57 ], [ %63, %61 ] %70 = load ptr, ptr %19, align 8, !tbaa !14 %71 = icmp eq ptr %70, null br i1 %71, label %72, label %18, !llvm.loop !18 72: ; preds = %68, %15 %73 = phi i32 [ -1, %15 ], [ %69, %68 ] store i32 %73, ptr %4, align 4, !tbaa !6 br label %74 74: ; preds = %11, %5, %72 %75 = phi ptr [ @CURLM_OK, %72 ], [ @CURLM_BAD_HANDLE, %5 ], [ @CURLM_RECURSIVE_API_CALL, %11 ] %76 = load i32, ptr %75, align 4, !tbaa !6 ret i32 %76 } declare i32 @GOOD_MULTI_HANDLE(ptr noundef) local_unnamed_addr #1 declare i32 @multi_getsock(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GETSOCK_READSOCK(i32 noundef) local_unnamed_addr #1 declare i64 @VALID_SOCK(i64 noundef) local_unnamed_addr #1 declare i32 @FD_SET(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GETSOCK_WRITESOCK(i32 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, !13, i64 8} !11 = !{!"Curl_multi", !12, i64 0, !13, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!13, !13, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17}
curl_lib_extr_multi.c_curl_multi_fdset
; ModuleID = 'AnghaBench/freebsd/sys/dev/pccbb/extr_pccbb_pci.c_cbb_pci_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/pccbb/extr_pccbb_pci.c_cbb_pci_detach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @cbb_pci_detach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cbb_pci_detach(i32 noundef %0) #0 { %2 = tail call i32 @cbb_detach(i32 noundef %0) #2 ret i32 %2 } declare i32 @cbb_detach(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/pccbb/extr_pccbb_pci.c_cbb_pci_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/pccbb/extr_pccbb_pci.c_cbb_pci_detach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @cbb_pci_detach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cbb_pci_detach(i32 noundef %0) #0 { %2 = tail call i32 @cbb_detach(i32 noundef %0) #2 ret i32 %2 } declare i32 @cbb_detach(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_pccbb_extr_pccbb_pci.c_cbb_pci_detach
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_ohci-s3c2410.c_s3c2410_start_hc.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_ohci-s3c2410.c_s3c2410_start_hc.c" target datalayout = "e-m:e-p270:32:32-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.s3c2410_hcd_info = type { ptr, i32, ptr } @.str = private unnamed_addr constant [19 x i8] c"s3c2410_start_hc:\0A\00", align 1 @usb_clk = dso_local local_unnamed_addr global i32 0, align 4 @clk = dso_local local_unnamed_addr global i32 0, align 4 @s3c2410_hcd_oc = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @s3c2410_start_hc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @s3c2410_start_hc(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @dev_get_platdata(ptr noundef %0) #2 %4 = tail call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str) #2 %5 = load i32, ptr @usb_clk, align 4, !tbaa !5 %6 = tail call i32 @clk_prepare_enable(i32 noundef %5) #2 %7 = tail call i32 @mdelay(i32 noundef 2) #2 %8 = load i32, ptr @clk, align 4, !tbaa !5 %9 = tail call i32 @clk_prepare_enable(i32 noundef %8) #2 %10 = icmp eq ptr %3, null br i1 %10, label %19, label %11 11: ; preds = %2 %12 = getelementptr inbounds %struct.s3c2410_hcd_info, ptr %3, i64 0, i32 2 store ptr %1, ptr %12, align 8, !tbaa !9 %13 = load i32, ptr @s3c2410_hcd_oc, align 4, !tbaa !5 %14 = getelementptr inbounds %struct.s3c2410_hcd_info, ptr %3, i64 0, i32 1 store i32 %13, ptr %14, align 8, !tbaa !12 %15 = load ptr, ptr %3, align 8, !tbaa !13 %16 = icmp eq ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %11 %18 = tail call i32 %15(ptr noundef nonnull %3, i32 noundef 1) #2 br label %19 19: ; preds = %11, %17, %2 ret void } declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"s3c2410_hcd_info", !11, i64 0, !6, i64 8, !11, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_ohci-s3c2410.c_s3c2410_start_hc.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_ohci-s3c2410.c_s3c2410_start_hc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [19 x i8] c"s3c2410_start_hc:\0A\00", align 1 @usb_clk = common local_unnamed_addr global i32 0, align 4 @clk = common local_unnamed_addr global i32 0, align 4 @s3c2410_hcd_oc = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @s3c2410_start_hc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @s3c2410_start_hc(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @dev_get_platdata(ptr noundef %0) #2 %4 = tail call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str) #2 %5 = load i32, ptr @usb_clk, align 4, !tbaa !6 %6 = tail call i32 @clk_prepare_enable(i32 noundef %5) #2 %7 = tail call i32 @mdelay(i32 noundef 2) #2 %8 = load i32, ptr @clk, align 4, !tbaa !6 %9 = tail call i32 @clk_prepare_enable(i32 noundef %8) #2 %10 = icmp eq ptr %3, null br i1 %10, label %19, label %11 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %1, ptr %12, align 8, !tbaa !10 %13 = load i32, ptr @s3c2410_hcd_oc, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %13, ptr %14, align 8, !tbaa !13 %15 = load ptr, ptr %3, align 8, !tbaa !14 %16 = icmp eq ptr %15, null br i1 %16, label %19, label %17 17: ; preds = %11 %18 = tail call i32 %15(ptr noundef nonnull %3, i32 noundef 1) #2 br label %19 19: ; preds = %11, %17, %2 ret void } declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"s3c2410_hcd_info", !12, i64 0, !7, i64 8, !12, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!11, !12, i64 0}
linux_drivers_usb_host_extr_ohci-s3c2410.c_s3c2410_start_hc
; ModuleID = 'AnghaBench/linux/sound/soc/tegra/extr_tegra20_spdif.c_tegra20_spdif_start_playback.c' source_filename = "AnghaBench/linux/sound/soc/tegra/extr_tegra20_spdif.c_tegra20_spdif_start_playback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TEGRA20_SPDIF_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @TEGRA20_SPDIF_CTRL_TX_EN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tegra20_spdif_start_playback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tegra20_spdif_start_playback(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @TEGRA20_SPDIF_CTRL, align 4, !tbaa !10 %4 = load i32, ptr @TEGRA20_SPDIF_CTRL_TX_EN, align 4, !tbaa !10 %5 = tail call i32 @regmap_update_bits(i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %4) #2 ret void } declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tegra20_spdif", !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/sound/soc/tegra/extr_tegra20_spdif.c_tegra20_spdif_start_playback.c' source_filename = "AnghaBench/linux/sound/soc/tegra/extr_tegra20_spdif.c_tegra20_spdif_start_playback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TEGRA20_SPDIF_CTRL = common local_unnamed_addr global i32 0, align 4 @TEGRA20_SPDIF_CTRL_TX_EN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tegra20_spdif_start_playback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tegra20_spdif_start_playback(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @TEGRA20_SPDIF_CTRL, align 4, !tbaa !11 %4 = load i32, ptr @TEGRA20_SPDIF_CTRL_TX_EN, align 4, !tbaa !11 %5 = tail call i32 @regmap_update_bits(i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %4) #2 ret void } declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tegra20_spdif", !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_sound_soc_tegra_extr_tegra20_spdif.c_tegra20_spdif_start_playback
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_ethtool.c_mlx4_en_ethtool_add_mac_rule.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_ethtool.c_mlx4_en_ethtool_add_mac_rule.c" target datalayout = "e-m:e-p270:32:32-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.mlx4_spec_list = type { i32, %struct.TYPE_8__, i32 } %struct.TYPE_8__ = type { i32, i32, i32, i32 } %struct.TYPE_7__ = type { i32, %struct.TYPE_6__, %struct.TYPE_5__ } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { i32 } @MLX4_MAC_MASK = dso_local local_unnamed_addr global i32 0, align 4 @MLX4_NET_TRANS_RULE_ID_ETH = dso_local local_unnamed_addr global i32 0, align 4 @ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4 @FLOW_EXT = dso_local local_unnamed_addr global i32 0, align 4 @VLAN_VID_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlx4_en_ethtool_add_mac_rule], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mlx4_en_ethtool_add_mac_rule(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #3 %6 = load i32, ptr @MLX4_MAC_MASK, align 4, !tbaa !5 %7 = shl i32 %6, 16 %8 = tail call zeroext i8 @cpu_to_be64(i32 noundef %7) #3 store i8 %8, ptr %5, align 1, !tbaa !9 %9 = load i32, ptr @MLX4_NET_TRANS_RULE_ID_ETH, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.mlx4_spec_list, ptr %2, i64 0, i32 2 store i32 %9, ptr %10, align 4, !tbaa !10 %11 = getelementptr inbounds %struct.mlx4_spec_list, ptr %2, i64 0, i32 1 %12 = getelementptr inbounds %struct.mlx4_spec_list, ptr %2, i64 0, i32 1, i32 3 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = load i32, ptr @ETH_ALEN, align 4, !tbaa !5 %15 = call i32 @memcpy(i32 noundef %13, ptr noundef nonnull %5, i32 noundef %14) #3 %16 = getelementptr inbounds %struct.mlx4_spec_list, ptr %2, i64 0, i32 1, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = load i32, ptr @ETH_ALEN, align 4, !tbaa !5 %19 = call i32 @memcpy(i32 noundef %17, ptr noundef %3, i32 noundef %18) #3 %20 = load i32, ptr %0, align 4, !tbaa !15 %21 = load i32, ptr @FLOW_EXT, align 4, !tbaa !5 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %37, label %24 24: ; preds = %4 %25 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %26 = load i32, ptr %25, align 4, !tbaa !20 %27 = load i32, ptr @VLAN_VID_MASK, align 4, !tbaa !5 %28 = call i32 @cpu_to_be16(i32 noundef %27) #3 %29 = and i32 %28, %26 %30 = icmp eq i32 %29, 0 br i1 %30, label %37, label %31 31: ; preds = %24 %32 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %33 = load i32, ptr %32, align 4, !tbaa !21 %34 = getelementptr inbounds %struct.mlx4_spec_list, ptr %2, i64 0, i32 1, i32 1 store i32 %33, ptr %34, align 4, !tbaa !22 %35 = load i32, ptr @VLAN_VID_MASK, align 4, !tbaa !5 %36 = call i32 @cpu_to_be16(i32 noundef %35) #3 store i32 %36, ptr %11, align 4, !tbaa !23 br label %37 37: ; preds = %31, %24, %4 %38 = call i32 @list_add_tail(ptr noundef nonnull %2, ptr noundef %1) #3 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare zeroext i8 @cpu_to_be64(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #2 declare i32 @list_add_tail(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 = !{!7, !7, i64 0} !10 = !{!11, !6, i64 20} !11 = !{!"mlx4_spec_list", !6, i64 0, !12, i64 4, !6, i64 20} !12 = !{!"TYPE_8__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !13 = !{!11, !6, i64 16} !14 = !{!11, !6, i64 12} !15 = !{!16, !6, i64 0} !16 = !{!"ethtool_rxnfc", !17, i64 0} !17 = !{!"TYPE_7__", !6, i64 0, !18, i64 4, !19, i64 8} !18 = !{!"TYPE_6__", !6, i64 0} !19 = !{!"TYPE_5__", !6, i64 0} !20 = !{!16, !6, i64 8} !21 = !{!16, !6, i64 4} !22 = !{!11, !6, i64 8} !23 = !{!11, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_ethtool.c_mlx4_en_ethtool_add_mac_rule.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_ethtool.c_mlx4_en_ethtool_add_mac_rule.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX4_MAC_MASK = common local_unnamed_addr global i32 0, align 4 @MLX4_NET_TRANS_RULE_ID_ETH = common local_unnamed_addr global i32 0, align 4 @ETH_ALEN = common local_unnamed_addr global i32 0, align 4 @FLOW_EXT = common local_unnamed_addr global i32 0, align 4 @VLAN_VID_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mlx4_en_ethtool_add_mac_rule], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mlx4_en_ethtool_add_mac_rule(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #3 %6 = load i32, ptr @MLX4_MAC_MASK, align 4, !tbaa !6 %7 = shl i32 %6, 16 %8 = tail call zeroext i8 @cpu_to_be64(i32 noundef %7) #3 store i8 %8, ptr %5, align 1, !tbaa !10 %9 = load i32, ptr @MLX4_NET_TRANS_RULE_ID_ETH, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %2, i64 20 store i32 %9, ptr %10, align 4, !tbaa !11 %11 = getelementptr inbounds i8, ptr %2, i64 4 %12 = getelementptr inbounds i8, ptr %2, i64 16 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = load i32, ptr @ETH_ALEN, align 4, !tbaa !6 %15 = call i32 @memcpy(i32 noundef %13, ptr noundef nonnull %5, i32 noundef %14) #3 %16 = getelementptr inbounds i8, ptr %2, i64 12 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = load i32, ptr @ETH_ALEN, align 4, !tbaa !6 %19 = call i32 @memcpy(i32 noundef %17, ptr noundef %3, i32 noundef %18) #3 %20 = load i32, ptr %0, align 4, !tbaa !16 %21 = load i32, ptr @FLOW_EXT, align 4, !tbaa !6 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %37, label %24 24: ; preds = %4 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load i32, ptr %25, align 4, !tbaa !21 %27 = load i32, ptr @VLAN_VID_MASK, align 4, !tbaa !6 %28 = call i32 @cpu_to_be16(i32 noundef %27) #3 %29 = and i32 %28, %26 %30 = icmp eq i32 %29, 0 br i1 %30, label %37, label %31 31: ; preds = %24 %32 = getelementptr inbounds i8, ptr %0, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !22 %34 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %33, ptr %34, align 4, !tbaa !23 %35 = load i32, ptr @VLAN_VID_MASK, align 4, !tbaa !6 %36 = call i32 @cpu_to_be16(i32 noundef %35) #3 store i32 %36, ptr %11, align 4, !tbaa !24 br label %37 37: ; preds = %31, %24, %4 %38 = call i32 @list_add_tail(ptr noundef nonnull %2, ptr noundef %1) #3 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare zeroext i8 @cpu_to_be64(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #2 declare i32 @list_add_tail(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 = !{!8, !8, i64 0} !11 = !{!12, !7, i64 20} !12 = !{!"mlx4_spec_list", !7, i64 0, !13, i64 4, !7, i64 20} !13 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !14 = !{!12, !7, i64 16} !15 = !{!12, !7, i64 12} !16 = !{!17, !7, i64 0} !17 = !{!"ethtool_rxnfc", !18, i64 0} !18 = !{!"TYPE_7__", !7, i64 0, !19, i64 4, !20, i64 8} !19 = !{!"TYPE_6__", !7, i64 0} !20 = !{!"TYPE_5__", !7, i64 0} !21 = !{!17, !7, i64 8} !22 = !{!17, !7, i64 4} !23 = !{!12, !7, i64 8} !24 = !{!12, !7, i64 4}
linux_drivers_net_ethernet_mellanox_mlx4_extr_en_ethtool.c_mlx4_en_ethtool_add_mac_rule
; ModuleID = 'AnghaBench/linux/drivers/input/rmi4/extr_rmi_driver.c_rmi_driver_set_input_params.c' source_filename = "AnghaBench/linux/drivers/input/rmi4/extr_rmi_driver.c_rmi_driver_set_input_params.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.input_dev = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32 } @SYNAPTICS_INPUT_DEVICE_NAME = dso_local local_unnamed_addr global i32 0, align 4 @SYNAPTICS_VENDOR_ID = dso_local local_unnamed_addr global i32 0, align 4 @BUS_RMI = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rmi_driver_set_input_params], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal noundef i32 @rmi_driver_set_input_params(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @SYNAPTICS_INPUT_DEVICE_NAME, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.input_dev, ptr %1, i64 0, i32 1 store i32 %3, ptr %4, align 4, !tbaa !9 %5 = load i32, ptr @SYNAPTICS_VENDOR_ID, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 store i32 %5, ptr %6, align 4, !tbaa !12 %7 = load i32, ptr @BUS_RMI, align 4, !tbaa !5 store i32 %7, ptr %1, align 4, !tbaa !13 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 8} !10 = !{!"input_dev", !11, i64 0, !6, i64 8} !11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4} !12 = !{!10, !6, i64 4} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/input/rmi4/extr_rmi_driver.c_rmi_driver_set_input_params.c' source_filename = "AnghaBench/linux/drivers/input/rmi4/extr_rmi_driver.c_rmi_driver_set_input_params.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SYNAPTICS_INPUT_DEVICE_NAME = common local_unnamed_addr global i32 0, align 4 @SYNAPTICS_VENDOR_ID = common local_unnamed_addr global i32 0, align 4 @BUS_RMI = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rmi_driver_set_input_params], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @rmi_driver_set_input_params(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @SYNAPTICS_INPUT_DEVICE_NAME, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %3, ptr %4, align 4, !tbaa !10 %5 = load i32, ptr @SYNAPTICS_VENDOR_ID, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %5, ptr %6, align 4, !tbaa !13 %7 = load i32, ptr @BUS_RMI, align 4, !tbaa !6 store i32 %7, ptr %1, align 4, !tbaa !14 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 8} !11 = !{!"input_dev", !12, i64 0, !7, i64 8} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !13 = !{!11, !7, i64 4} !14 = !{!11, !7, i64 0}
linux_drivers_input_rmi4_extr_rmi_driver.c_rmi_driver_set_input_params
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_uvesafb.c_uvesafb_vbe_state_restore.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_uvesafb.c_uvesafb_vbe_state_restore.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32 } %struct.TYPE_4__ = type { %struct.TYPE_3__, i32, i32 } %struct.uvesafb_ktask = type { %struct.TYPE_4__, ptr } @TF_BUF_ESBX = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"VBE state restore call failed (eax=0x%x, err=%d)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @uvesafb_vbe_state_restore], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uvesafb_vbe_state_restore(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %25, label %4 4: ; preds = %2 %5 = tail call ptr (...) @uvesafb_prep() #2 %6 = icmp eq ptr %5, null br i1 %6, label %25, label %7 7: ; preds = %4 store i32 20228, ptr %5, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1 store i32 15, ptr %8, align 4, !tbaa !13 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 2 store i32 2, ptr %9, align 8, !tbaa !14 %10 = load i32, ptr %0, align 4, !tbaa !15 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 2 store i32 %10, ptr %11, align 8, !tbaa !17 %12 = load i32, ptr @TF_BUF_ESBX, align 4, !tbaa !18 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1 store i32 %12, ptr %13, align 4, !tbaa !19 %14 = getelementptr inbounds %struct.uvesafb_ktask, ptr %5, i64 0, i32 1 store ptr %1, ptr %14, align 8, !tbaa !20 %15 = tail call i32 @uvesafb_exec(ptr noundef nonnull %5) #2 %16 = icmp eq i32 %15, 0 %17 = load i32, ptr %5, align 8, !tbaa !5 %18 = and i32 %17, 65535 %19 = icmp eq i32 %18, 79 %20 = select i1 %16, i1 %19, i1 false br i1 %20, label %23, label %21 21: ; preds = %7 %22 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %17, i32 noundef %15) #2 br label %23 23: ; preds = %7, %21 %24 = tail call i32 @uvesafb_free(ptr noundef nonnull %5) #2 br label %25 25: ; preds = %4, %2, %23 ret void } declare ptr @uvesafb_prep(...) local_unnamed_addr #1 declare i32 @uvesafb_exec(ptr noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uvesafb_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, !9, i64 0} !6 = !{!"uvesafb_ktask", !7, i64 0, !12, i64 24} !7 = !{!"TYPE_4__", !8, i64 0, !9, i64 12, !9, i64 16} !8 = !{!"TYPE_3__", !9, i64 0, !9, i64 4, !9, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!6, !9, i64 4} !14 = !{!6, !9, i64 8} !15 = !{!16, !9, i64 0} !16 = !{!"uvesafb_par", !9, i64 0} !17 = !{!6, !9, i64 16} !18 = !{!9, !9, i64 0} !19 = !{!6, !9, i64 12} !20 = !{!6, !12, i64 24}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_uvesafb.c_uvesafb_vbe_state_restore.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_uvesafb.c_uvesafb_vbe_state_restore.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TF_BUF_ESBX = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"VBE state restore call failed (eax=0x%x, err=%d)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @uvesafb_vbe_state_restore], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uvesafb_vbe_state_restore(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %24, label %4 4: ; preds = %2 %5 = tail call ptr @uvesafb_prep() #2 %6 = icmp eq ptr %5, null br i1 %6, label %24, label %7 7: ; preds = %4 store <2 x i32> <i32 20228, i32 15>, ptr %5, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %5, i64 8 store i32 2, ptr %8, align 8, !tbaa !10 %9 = load i32, ptr %0, align 4, !tbaa !15 %10 = getelementptr inbounds i8, ptr %5, i64 16 store i32 %9, ptr %10, align 8, !tbaa !17 %11 = load i32, ptr @TF_BUF_ESBX, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %5, i64 12 store i32 %11, ptr %12, align 4, !tbaa !18 %13 = getelementptr inbounds i8, ptr %5, i64 24 store ptr %1, ptr %13, align 8, !tbaa !19 %14 = tail call i32 @uvesafb_exec(ptr noundef nonnull %5) #2 %15 = icmp eq i32 %14, 0 %16 = load i32, ptr %5, align 8, !tbaa !20 %17 = and i32 %16, 65535 %18 = icmp eq i32 %17, 79 %19 = select i1 %15, i1 %18, i1 false br i1 %19, label %22, label %20 20: ; preds = %7 %21 = tail call i32 @pr_warn(ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %14) #2 br label %22 22: ; preds = %7, %20 %23 = tail call i32 @uvesafb_free(ptr noundef nonnull %5) #2 br label %24 24: ; preds = %4, %2, %22 ret void } declare ptr @uvesafb_prep(...) local_unnamed_addr #1 declare i32 @uvesafb_exec(ptr noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uvesafb_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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"uvesafb_ktask", !12, i64 0, !14, i64 24} !12 = !{!"TYPE_4__", !13, i64 0, !7, i64 12, !7, i64 16} !13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"uvesafb_par", !7, i64 0} !17 = !{!11, !7, i64 16} !18 = !{!11, !7, i64 12} !19 = !{!11, !14, i64 24} !20 = !{!11, !7, i64 0}
linux_drivers_video_fbdev_extr_uvesafb.c_uvesafb_vbe_state_restore
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_shldcl.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_shldcl.c" target datalayout = "e-m:e-p270:32:32-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 [21 x i8] c"shld %%%s,%%%s,%%cl\0A\00", align 1 @regname = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @emit_shldcl(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @regname, align 8, !tbaa !5 %4 = sext i32 %0 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = sext i32 %1 to i64 %8 = getelementptr inbounds i32, ptr %3, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !9 %10 = tail call i32 @assem_debug(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %9) #2 %11 = tail call i32 @assert(i32 noundef 0) #2 ret void } declare i32 @assem_debug(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_shldcl.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_assem_arm.c_emit_shldcl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [21 x i8] c"shld %%%s,%%%s,%%cl\0A\00", align 1 @regname = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @emit_shldcl(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr @regname, align 8, !tbaa !6 %4 = sext i32 %0 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = sext i32 %1 to i64 %8 = getelementptr inbounds i32, ptr %3, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = tail call i32 @assem_debug(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %9) #2 %11 = tail call i32 @assert(i32 noundef 0) #2 ret void } declare i32 @assem_debug(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(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}
Provenance_Cores_Yabause_yabause_src_sh2_dynarec_extr_assem_arm.c_emit_shldcl
; ModuleID = 'AnghaBench/linux/drivers/staging/vc04_services/bcm2835-camera/extr_bcm2835-camera.c_bcm2835_cleanup_instance.c' source_filename = "AnghaBench/linux/drivers/staging/vc04_services/bcm2835-camera/extr_bcm2835-camera.c_bcm2835_cleanup_instance.c" target datalayout = "e-m:e-p270:32:32-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.bm2835_mmal_dev = type { i32, i32, ptr, i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i64, i32 } @.str = private unnamed_addr constant [18 x i8] c"unregistering %s\0A\00", align 1 @bcm2835_v4l2_debug = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"mmal_exit - disconnect tunnel\0A\00", align 1 @COMP_CAMERA = dso_local local_unnamed_addr global i64 0, align 8 @COMP_VIDEO_ENCODE = dso_local local_unnamed_addr global i64 0, align 8 @COMP_IMAGE_ENCODE = dso_local local_unnamed_addr global i64 0, align 8 @COMP_PREVIEW = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @bcm2835_cleanup_instance], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bcm2835_cleanup_instance(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %59, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.bm2835_mmal_dev, ptr %0, i64 0, i32 5 %5 = tail call i32 @video_device_node_name(ptr noundef nonnull %4) #2 %6 = tail call i32 @v4l2_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %5) #2 %7 = tail call i32 @video_unregister_device(ptr noundef nonnull %4) #2 %8 = getelementptr inbounds %struct.bm2835_mmal_dev, ptr %0, i64 0, i32 4 %9 = load i64, ptr %8, align 8, !tbaa !5 %10 = icmp eq i64 %9, 0 br i1 %10, label %22, label %11 11: ; preds = %3 %12 = load i32, ptr @bcm2835_v4l2_debug, align 4, !tbaa !13 %13 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %12, ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2 %14 = getelementptr inbounds %struct.bm2835_mmal_dev, ptr %0, i64 0, i32 3 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = getelementptr inbounds %struct.bm2835_mmal_dev, ptr %0, i64 0, i32 4, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !15 %18 = tail call i32 @vchiq_mmal_port_connect_tunnel(i32 noundef %15, i32 noundef %17, ptr noundef null) #2 %19 = load i32, ptr %14, align 8, !tbaa !14 %20 = load i64, ptr %8, align 8, !tbaa !5 %21 = tail call i32 @vchiq_mmal_component_disable(i32 noundef %19, i64 noundef %20) #2 br label %22 22: ; preds = %11, %3 %23 = getelementptr inbounds %struct.bm2835_mmal_dev, ptr %0, i64 0, i32 3 %24 = load i32, ptr %23, align 8, !tbaa !14 %25 = getelementptr inbounds %struct.bm2835_mmal_dev, ptr %0, i64 0, i32 2 %26 = load ptr, ptr %25, align 8, !tbaa !16 %27 = load i64, ptr @COMP_CAMERA, align 8, !tbaa !17 %28 = getelementptr inbounds i64, ptr %26, i64 %27 %29 = load i64, ptr %28, align 8, !tbaa !17 %30 = tail call i32 @vchiq_mmal_component_disable(i32 noundef %24, i64 noundef %29) #2 %31 = load i32, ptr %23, align 8, !tbaa !14 %32 = load ptr, ptr %25, align 8, !tbaa !16 %33 = load i64, ptr @COMP_VIDEO_ENCODE, align 8, !tbaa !17 %34 = getelementptr inbounds i64, ptr %32, i64 %33 %35 = load i64, ptr %34, align 8, !tbaa !17 %36 = tail call i32 @vchiq_mmal_component_finalise(i32 noundef %31, i64 noundef %35) #2 %37 = load i32, ptr %23, align 8, !tbaa !14 %38 = load ptr, ptr %25, align 8, !tbaa !16 %39 = load i64, ptr @COMP_IMAGE_ENCODE, align 8, !tbaa !17 %40 = getelementptr inbounds i64, ptr %38, i64 %39 %41 = load i64, ptr %40, align 8, !tbaa !17 %42 = tail call i32 @vchiq_mmal_component_finalise(i32 noundef %37, i64 noundef %41) #2 %43 = load i32, ptr %23, align 8, !tbaa !14 %44 = load ptr, ptr %25, align 8, !tbaa !16 %45 = load i64, ptr @COMP_PREVIEW, align 8, !tbaa !17 %46 = getelementptr inbounds i64, ptr %44, i64 %45 %47 = load i64, ptr %46, align 8, !tbaa !17 %48 = tail call i32 @vchiq_mmal_component_finalise(i32 noundef %43, i64 noundef %47) #2 %49 = load i32, ptr %23, align 8, !tbaa !14 %50 = load ptr, ptr %25, align 8, !tbaa !16 %51 = load i64, ptr @COMP_CAMERA, align 8, !tbaa !17 %52 = getelementptr inbounds i64, ptr %50, i64 %51 %53 = load i64, ptr %52, align 8, !tbaa !17 %54 = tail call i32 @vchiq_mmal_component_finalise(i32 noundef %49, i64 noundef %53) #2 %55 = getelementptr inbounds %struct.bm2835_mmal_dev, ptr %0, i64 0, i32 1 %56 = tail call i32 @v4l2_ctrl_handler_free(ptr noundef nonnull %55) #2 %57 = tail call i32 @v4l2_device_unregister(ptr noundef nonnull %0) #2 %58 = tail call i32 @kfree(ptr noundef nonnull %0) #2 br label %59 59: ; preds = %1, %22 ret void } declare i32 @v4l2_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @video_device_node_name(ptr noundef) local_unnamed_addr #1 declare i32 @video_unregister_device(ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_dbg(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vchiq_mmal_port_connect_tunnel(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vchiq_mmal_component_disable(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @vchiq_mmal_component_finalise(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @v4l2_ctrl_handler_free(ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_device_unregister(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, !12, i64 24} !6 = !{!"bm2835_mmal_dev", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !11, i64 24, !7, i64 40} !7 = !{!"int", !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, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 16} !15 = !{!6, !7, i64 32} !16 = !{!6, !10, i64 8} !17 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/vc04_services/bcm2835-camera/extr_bcm2835-camera.c_bcm2835_cleanup_instance.c' source_filename = "AnghaBench/linux/drivers/staging/vc04_services/bcm2835-camera/extr_bcm2835-camera.c_bcm2835_cleanup_instance.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [18 x i8] c"unregistering %s\0A\00", align 1 @bcm2835_v4l2_debug = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"mmal_exit - disconnect tunnel\0A\00", align 1 @COMP_CAMERA = common local_unnamed_addr global i64 0, align 8 @COMP_VIDEO_ENCODE = common local_unnamed_addr global i64 0, align 8 @COMP_IMAGE_ENCODE = common local_unnamed_addr global i64 0, align 8 @COMP_PREVIEW = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @bcm2835_cleanup_instance], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bcm2835_cleanup_instance(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %59, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 40 %5 = tail call i32 @video_device_node_name(ptr noundef nonnull %4) #2 %6 = tail call i32 @v4l2_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %5) #2 %7 = tail call i32 @video_unregister_device(ptr noundef nonnull %4) #2 %8 = getelementptr inbounds i8, ptr %0, i64 24 %9 = load i64, ptr %8, align 8, !tbaa !6 %10 = icmp eq i64 %9, 0 br i1 %10, label %22, label %11 11: ; preds = %3 %12 = load i32, ptr @bcm2835_v4l2_debug, align 4, !tbaa !14 %13 = tail call i32 @v4l2_dbg(i32 noundef 1, i32 noundef %12, ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2 %14 = getelementptr inbounds i8, ptr %0, i64 16 %15 = load i32, ptr %14, align 8, !tbaa !15 %16 = getelementptr inbounds i8, ptr %0, i64 32 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = tail call i32 @vchiq_mmal_port_connect_tunnel(i32 noundef %15, i32 noundef %17, ptr noundef null) #2 %19 = load i32, ptr %14, align 8, !tbaa !15 %20 = load i64, ptr %8, align 8, !tbaa !6 %21 = tail call i32 @vchiq_mmal_component_disable(i32 noundef %19, i64 noundef %20) #2 br label %22 22: ; preds = %11, %3 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load ptr, ptr %25, align 8, !tbaa !17 %27 = load i64, ptr @COMP_CAMERA, align 8, !tbaa !18 %28 = getelementptr inbounds i64, ptr %26, i64 %27 %29 = load i64, ptr %28, align 8, !tbaa !18 %30 = tail call i32 @vchiq_mmal_component_disable(i32 noundef %24, i64 noundef %29) #2 %31 = load i32, ptr %23, align 8, !tbaa !15 %32 = load ptr, ptr %25, align 8, !tbaa !17 %33 = load i64, ptr @COMP_VIDEO_ENCODE, align 8, !tbaa !18 %34 = getelementptr inbounds i64, ptr %32, i64 %33 %35 = load i64, ptr %34, align 8, !tbaa !18 %36 = tail call i32 @vchiq_mmal_component_finalise(i32 noundef %31, i64 noundef %35) #2 %37 = load i32, ptr %23, align 8, !tbaa !15 %38 = load ptr, ptr %25, align 8, !tbaa !17 %39 = load i64, ptr @COMP_IMAGE_ENCODE, align 8, !tbaa !18 %40 = getelementptr inbounds i64, ptr %38, i64 %39 %41 = load i64, ptr %40, align 8, !tbaa !18 %42 = tail call i32 @vchiq_mmal_component_finalise(i32 noundef %37, i64 noundef %41) #2 %43 = load i32, ptr %23, align 8, !tbaa !15 %44 = load ptr, ptr %25, align 8, !tbaa !17 %45 = load i64, ptr @COMP_PREVIEW, align 8, !tbaa !18 %46 = getelementptr inbounds i64, ptr %44, i64 %45 %47 = load i64, ptr %46, align 8, !tbaa !18 %48 = tail call i32 @vchiq_mmal_component_finalise(i32 noundef %43, i64 noundef %47) #2 %49 = load i32, ptr %23, align 8, !tbaa !15 %50 = load ptr, ptr %25, align 8, !tbaa !17 %51 = load i64, ptr @COMP_CAMERA, align 8, !tbaa !18 %52 = getelementptr inbounds i64, ptr %50, i64 %51 %53 = load i64, ptr %52, align 8, !tbaa !18 %54 = tail call i32 @vchiq_mmal_component_finalise(i32 noundef %49, i64 noundef %53) #2 %55 = getelementptr inbounds i8, ptr %0, i64 4 %56 = tail call i32 @v4l2_ctrl_handler_free(ptr noundef nonnull %55) #2 %57 = tail call i32 @v4l2_device_unregister(ptr noundef nonnull %0) #2 %58 = tail call i32 @kfree(ptr noundef nonnull %0) #2 br label %59 59: ; preds = %1, %22 ret void } declare i32 @v4l2_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @video_device_node_name(ptr noundef) local_unnamed_addr #1 declare i32 @video_unregister_device(ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_dbg(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vchiq_mmal_port_connect_tunnel(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vchiq_mmal_component_disable(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @vchiq_mmal_component_finalise(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @v4l2_ctrl_handler_free(ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_device_unregister(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, !13, i64 24} !7 = !{!"bm2835_mmal_dev", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !12, i64 24, !8, i64 40} !8 = !{!"int", !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, !8, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 16} !16 = !{!7, !8, i64 32} !17 = !{!7, !11, i64 8} !18 = !{!13, !13, i64 0}
linux_drivers_staging_vc04_services_bcm2835-camera_extr_bcm2835-camera.c_bcm2835_cleanup_instance
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-video.c_em28xx_release_analog_resources.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-video.c_em28xx_release_analog_resources.c" target datalayout = "e-m:e-p270:32:32-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.em28xx = type { ptr, ptr, ptr } @.str = private unnamed_addr constant [29 x i8] c"V4L2 device %s deregistered\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @em28xx_release_analog_resources(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.em28xx, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %14, label %5 5: ; preds = %1 %6 = tail call i64 @video_is_registered(ptr noundef nonnull %3) #2 %7 = icmp eq i64 %6, 0 %8 = load ptr, ptr %2, align 8, !tbaa !5 br i1 %7, label %11, label %9 9: ; preds = %5 %10 = tail call i32 @video_unregister_device(ptr noundef %8) #2 br label %13 11: ; preds = %5 %12 = tail call i32 @video_device_release(ptr noundef %8) #2 br label %13 13: ; preds = %11, %9 store ptr null, ptr %2, align 8, !tbaa !5 br label %14 14: ; preds = %13, %1 %15 = getelementptr inbounds %struct.em28xx, ptr %0, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !10 %17 = icmp eq ptr %16, null br i1 %17, label %30, label %18 18: ; preds = %14 %19 = tail call i32 @video_device_node_name(ptr noundef nonnull %16) #2 %20 = tail call i32 @em28xx_info(ptr noundef nonnull @.str, i32 noundef %19) #2 %21 = load ptr, ptr %15, align 8, !tbaa !10 %22 = tail call i64 @video_is_registered(ptr noundef %21) #2 %23 = icmp eq i64 %22, 0 %24 = load ptr, ptr %15, align 8, !tbaa !10 br i1 %23, label %27, label %25 25: ; preds = %18 %26 = tail call i32 @video_unregister_device(ptr noundef %24) #2 br label %29 27: ; preds = %18 %28 = tail call i32 @video_device_release(ptr noundef %24) #2 br label %29 29: ; preds = %27, %25 store ptr null, ptr %15, align 8, !tbaa !10 br label %30 30: ; preds = %29, %14 %31 = load ptr, ptr %0, align 8, !tbaa !11 %32 = icmp eq ptr %31, null br i1 %32, label %45, label %33 33: ; preds = %30 %34 = tail call i32 @video_device_node_name(ptr noundef nonnull %31) #2 %35 = tail call i32 @em28xx_info(ptr noundef nonnull @.str, i32 noundef %34) #2 %36 = load ptr, ptr %0, align 8, !tbaa !11 %37 = tail call i64 @video_is_registered(ptr noundef %36) #2 %38 = icmp eq i64 %37, 0 %39 = load ptr, ptr %0, align 8, !tbaa !11 br i1 %38, label %42, label %40 40: ; preds = %33 %41 = tail call i32 @video_unregister_device(ptr noundef %39) #2 br label %44 42: ; preds = %33 %43 = tail call i32 @video_device_release(ptr noundef %39) #2 br label %44 44: ; preds = %42, %40 store ptr null, ptr %0, align 8, !tbaa !11 br label %45 45: ; preds = %44, %30 ret void } declare i64 @video_is_registered(ptr noundef) local_unnamed_addr #1 declare i32 @video_unregister_device(ptr noundef) local_unnamed_addr #1 declare i32 @video_device_release(ptr noundef) local_unnamed_addr #1 declare i32 @em28xx_info(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @video_device_node_name(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 = !{!"em28xx", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-video.c_em28xx_release_analog_resources.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/em28xx/extr_em28xx-video.c_em28xx_release_analog_resources.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 [29 x i8] c"V4L2 device %s deregistered\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @em28xx_release_analog_resources(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %14, label %5 5: ; preds = %1 %6 = tail call i64 @video_is_registered(ptr noundef nonnull %3) #2 %7 = icmp eq i64 %6, 0 %8 = load ptr, ptr %2, align 8, !tbaa !6 br i1 %7, label %11, label %9 9: ; preds = %5 %10 = tail call i32 @video_unregister_device(ptr noundef %8) #2 br label %13 11: ; preds = %5 %12 = tail call i32 @video_device_release(ptr noundef %8) #2 br label %13 13: ; preds = %11, %9 store ptr null, ptr %2, align 8, !tbaa !6 br label %14 14: ; preds = %13, %1 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !11 %17 = icmp eq ptr %16, null br i1 %17, label %30, label %18 18: ; preds = %14 %19 = tail call i32 @video_device_node_name(ptr noundef nonnull %16) #2 %20 = tail call i32 @em28xx_info(ptr noundef nonnull @.str, i32 noundef %19) #2 %21 = load ptr, ptr %15, align 8, !tbaa !11 %22 = tail call i64 @video_is_registered(ptr noundef %21) #2 %23 = icmp eq i64 %22, 0 %24 = load ptr, ptr %15, align 8, !tbaa !11 br i1 %23, label %27, label %25 25: ; preds = %18 %26 = tail call i32 @video_unregister_device(ptr noundef %24) #2 br label %29 27: ; preds = %18 %28 = tail call i32 @video_device_release(ptr noundef %24) #2 br label %29 29: ; preds = %27, %25 store ptr null, ptr %15, align 8, !tbaa !11 br label %30 30: ; preds = %29, %14 %31 = load ptr, ptr %0, align 8, !tbaa !12 %32 = icmp eq ptr %31, null br i1 %32, label %45, label %33 33: ; preds = %30 %34 = tail call i32 @video_device_node_name(ptr noundef nonnull %31) #2 %35 = tail call i32 @em28xx_info(ptr noundef nonnull @.str, i32 noundef %34) #2 %36 = load ptr, ptr %0, align 8, !tbaa !12 %37 = tail call i64 @video_is_registered(ptr noundef %36) #2 %38 = icmp eq i64 %37, 0 %39 = load ptr, ptr %0, align 8, !tbaa !12 br i1 %38, label %42, label %40 40: ; preds = %33 %41 = tail call i32 @video_unregister_device(ptr noundef %39) #2 br label %44 42: ; preds = %33 %43 = tail call i32 @video_device_release(ptr noundef %39) #2 br label %44 44: ; preds = %42, %40 store ptr null, ptr %0, align 8, !tbaa !12 br label %45 45: ; preds = %44, %30 ret void } declare i64 @video_is_registered(ptr noundef) local_unnamed_addr #1 declare i32 @video_unregister_device(ptr noundef) local_unnamed_addr #1 declare i32 @video_device_release(ptr noundef) local_unnamed_addr #1 declare i32 @em28xx_info(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @video_device_node_name(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 = !{!"em28xx", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_media_video_em28xx_extr_em28xx-video.c_em28xx_release_analog_resources
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkfwimage.c_write_part.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkfwimage.c_write_part.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { ptr, %struct.TYPE_6__, i32, i32, i32, i32, i32, i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_7__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } %struct.TYPE_9__ = type { i64, ptr } @O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Failed opening file '%s'\0A\00", align 1 @PROT_READ = dso_local local_unnamed_addr global i32 0, align 4 @MAP_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @MAP_FAILED = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [37 x i8] c"Failed mmaping memory for file '%s'\0A\00", align 1 @PART_NAME_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @MAGIC_PART = dso_local local_unnamed_addr global ptr null, align 8 @MAGIC_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_part], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @write_part(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 64 %4 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %3, i64 %6 %8 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 7 %9 = load i32, ptr %8, align 8, !tbaa !12 %10 = load i32, ptr @O_RDONLY, align 4, !tbaa !13 %11 = tail call i32 @open(i32 noundef %9, i32 noundef %10) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load i32, ptr %8, align 8, !tbaa !12 %15 = tail call i32 @ERROR(ptr noundef nonnull @.str, i32 noundef %14) #2 br label %73 16: ; preds = %2 %17 = load i32, ptr %4, align 8, !tbaa !5 %18 = load i32, ptr @PROT_READ, align 4, !tbaa !13 %19 = load i32, ptr @MAP_SHARED, align 4, !tbaa !13 %20 = tail call i64 @mmap(i32 noundef 0, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %11, i32 noundef 0) #2 %21 = inttoptr i64 %20 to ptr %22 = load ptr, ptr @MAP_FAILED, align 8, !tbaa !14 %23 = icmp eq ptr %22, %21 br i1 %23, label %24, label %28 24: ; preds = %16 %25 = load i32, ptr %8, align 8, !tbaa !12 %26 = tail call i32 @ERROR(ptr noundef nonnull @.str.1, i32 noundef %25) #2 %27 = tail call i32 @close(i32 noundef %11) #2 br label %73 28: ; preds = %16 %29 = load i32, ptr %4, align 8, !tbaa !5 %30 = tail call i32 @memcpy(ptr noundef nonnull %3, ptr noundef %21, i32 noundef %29) #2 %31 = load i32, ptr %4, align 8, !tbaa !5 %32 = tail call i32 @munmap(ptr noundef %21, i32 noundef %31) #2 %33 = load ptr, ptr %0, align 8, !tbaa !15 %34 = load i32, ptr @PART_NAME_LENGTH, align 4, !tbaa !13 %35 = tail call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %34) #2 %36 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %37 = load ptr, ptr %36, align 8, !tbaa !17 %38 = load ptr, ptr @MAGIC_PART, align 8, !tbaa !14 %39 = load i32, ptr @MAGIC_LENGTH, align 4, !tbaa !13 %40 = tail call i32 @memcpy(ptr noundef %37, ptr noundef %38, i32 noundef %39) #2 %41 = load ptr, ptr %0, align 8, !tbaa !15 %42 = load ptr, ptr %1, align 8, !tbaa !18 %43 = load i32, ptr @PART_NAME_LENGTH, align 4, !tbaa !13 %44 = tail call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %43) #2 %45 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 6 %46 = load i32, ptr %45, align 4, !tbaa !19 %47 = tail call ptr @htonl(i32 noundef %46) #2 %48 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 7 store ptr %47, ptr %48, align 8, !tbaa !20 %49 = load i32, ptr %4, align 8, !tbaa !5 %50 = tail call ptr @htonl(i32 noundef %49) #2 %51 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6 store ptr %50, ptr %51, align 8, !tbaa !21 %52 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 5 %53 = load i32, ptr %52, align 8, !tbaa !22 %54 = tail call ptr @htonl(i32 noundef %53) #2 %55 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5 store ptr %54, ptr %55, align 8, !tbaa !23 %56 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 4 %57 = load i32, ptr %56, align 4, !tbaa !24 %58 = tail call ptr @htonl(i32 noundef %57) #2 %59 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4 store ptr %58, ptr %59, align 8, !tbaa !25 %60 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 3 %61 = load i32, ptr %60, align 8, !tbaa !26 %62 = tail call ptr @htonl(i32 noundef %61) #2 %63 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3 store ptr %62, ptr %63, align 8, !tbaa !27 %64 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2 %65 = load i32, ptr %64, align 4, !tbaa !28 %66 = tail call ptr @htonl(i32 noundef %65) #2 %67 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 store ptr %66, ptr %67, align 8, !tbaa !29 %68 = load i32, ptr %4, align 8, !tbaa !5 %69 = add i32 %68, 64 %70 = tail call i32 @crc32(i64 noundef 0, ptr noundef nonnull %0, i32 noundef %69) #2 %71 = tail call ptr @htonl(i32 noundef %70) #2 %72 = getelementptr inbounds %struct.TYPE_9__, ptr %7, i64 0, i32 1 store ptr %71, ptr %72, align 8, !tbaa !30 store i64 0, ptr %7, align 8, !tbaa !33 br label %73 73: ; preds = %28, %24, %13 %74 = phi i32 [ -1, %13 ], [ -2, %24 ], [ 0, %28 ] ret i32 %74 } declare i32 @open(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @munmap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @htonl(i32 noundef) local_unnamed_addr #1 declare i32 @crc32(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !11, i64 32} !13 = !{!11, !11, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56} !17 = !{!16, !7, i64 8} !18 = !{!6, !7, i64 0} !19 = !{!6, !11, i64 28} !20 = !{!16, !7, i64 56} !21 = !{!16, !7, i64 48} !22 = !{!6, !11, i64 24} !23 = !{!16, !7, i64 40} !24 = !{!6, !11, i64 20} !25 = !{!16, !7, i64 32} !26 = !{!6, !11, i64 16} !27 = !{!16, !7, i64 24} !28 = !{!6, !11, i64 12} !29 = !{!16, !7, i64 16} !30 = !{!31, !7, i64 8} !31 = !{!"TYPE_9__", !32, i64 0, !7, i64 8} !32 = !{!"long", !8, i64 0} !33 = !{!31, !32, i64 0}
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkfwimage.c_write_part.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkfwimage.c_write_part.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @O_RDONLY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Failed opening file '%s'\0A\00", align 1 @PROT_READ = common local_unnamed_addr global i32 0, align 4 @MAP_SHARED = common local_unnamed_addr global i32 0, align 4 @MAP_FAILED = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [37 x i8] c"Failed mmaping memory for file '%s'\0A\00", align 1 @PART_NAME_LENGTH = common local_unnamed_addr global i32 0, align 4 @MAGIC_PART = common local_unnamed_addr global ptr null, align 8 @MAGIC_LENGTH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @write_part], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2, 1) i32 @write_part(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 64 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %3, i64 %6 %8 = getelementptr inbounds i8, ptr %1, i64 32 %9 = load i32, ptr %8, align 8, !tbaa !13 %10 = load i32, ptr @O_RDONLY, align 4, !tbaa !14 %11 = tail call i32 @open(i32 noundef %9, i32 noundef %10) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load i32, ptr %8, align 8, !tbaa !13 %15 = tail call i32 @ERROR(ptr noundef nonnull @.str, i32 noundef %14) #2 br label %73 16: ; preds = %2 %17 = load i32, ptr %4, align 8, !tbaa !6 %18 = load i32, ptr @PROT_READ, align 4, !tbaa !14 %19 = load i32, ptr @MAP_SHARED, align 4, !tbaa !14 %20 = tail call i64 @mmap(i32 noundef 0, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %11, i32 noundef 0) #2 %21 = inttoptr i64 %20 to ptr %22 = load ptr, ptr @MAP_FAILED, align 8, !tbaa !15 %23 = icmp eq ptr %22, %21 br i1 %23, label %24, label %28 24: ; preds = %16 %25 = load i32, ptr %8, align 8, !tbaa !13 %26 = tail call i32 @ERROR(ptr noundef nonnull @.str.1, i32 noundef %25) #2 %27 = tail call i32 @close(i32 noundef %11) #2 br label %73 28: ; preds = %16 %29 = load i32, ptr %4, align 8, !tbaa !6 %30 = tail call i32 @memcpy(ptr noundef nonnull %3, ptr noundef %21, i32 noundef %29) #2 %31 = load i32, ptr %4, align 8, !tbaa !6 %32 = tail call i32 @munmap(ptr noundef %21, i32 noundef %31) #2 %33 = load ptr, ptr %0, align 8, !tbaa !16 %34 = load i32, ptr @PART_NAME_LENGTH, align 4, !tbaa !14 %35 = tail call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %34) #2 %36 = getelementptr inbounds i8, ptr %0, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !18 %38 = load ptr, ptr @MAGIC_PART, align 8, !tbaa !15 %39 = load i32, ptr @MAGIC_LENGTH, align 4, !tbaa !14 %40 = tail call i32 @memcpy(ptr noundef %37, ptr noundef %38, i32 noundef %39) #2 %41 = load ptr, ptr %0, align 8, !tbaa !16 %42 = load ptr, ptr %1, align 8, !tbaa !19 %43 = load i32, ptr @PART_NAME_LENGTH, align 4, !tbaa !14 %44 = tail call i32 @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef %43) #2 %45 = getelementptr inbounds i8, ptr %1, i64 28 %46 = load i32, ptr %45, align 4, !tbaa !20 %47 = tail call ptr @htonl(i32 noundef %46) #2 %48 = getelementptr inbounds i8, ptr %0, i64 56 store ptr %47, ptr %48, align 8, !tbaa !21 %49 = load i32, ptr %4, align 8, !tbaa !6 %50 = tail call ptr @htonl(i32 noundef %49) #2 %51 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %50, ptr %51, align 8, !tbaa !22 %52 = getelementptr inbounds i8, ptr %1, i64 24 %53 = load i32, ptr %52, align 8, !tbaa !23 %54 = tail call ptr @htonl(i32 noundef %53) #2 %55 = getelementptr inbounds i8, ptr %0, i64 40 store ptr %54, ptr %55, align 8, !tbaa !24 %56 = getelementptr inbounds i8, ptr %1, i64 20 %57 = load i32, ptr %56, align 4, !tbaa !25 %58 = tail call ptr @htonl(i32 noundef %57) #2 %59 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %58, ptr %59, align 8, !tbaa !26 %60 = getelementptr inbounds i8, ptr %1, i64 16 %61 = load i32, ptr %60, align 8, !tbaa !27 %62 = tail call ptr @htonl(i32 noundef %61) #2 %63 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %62, ptr %63, align 8, !tbaa !28 %64 = getelementptr inbounds i8, ptr %1, i64 12 %65 = load i32, ptr %64, align 4, !tbaa !29 %66 = tail call ptr @htonl(i32 noundef %65) #2 %67 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %66, ptr %67, align 8, !tbaa !30 %68 = load i32, ptr %4, align 8, !tbaa !6 %69 = add i32 %68, 64 %70 = tail call i32 @crc32(i64 noundef 0, ptr noundef nonnull %0, i32 noundef %69) #2 %71 = tail call ptr @htonl(i32 noundef %70) #2 %72 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %71, ptr %72, align 8, !tbaa !31 store i64 0, ptr %7, align 8, !tbaa !34 br label %73 73: ; preds = %28, %24, %13 %74 = phi i32 [ -1, %13 ], [ -2, %24 ], [ 0, %28 ] ret i32 %74 } declare i32 @open(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @close(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @munmap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @htonl(i32 noundef) local_unnamed_addr #1 declare i32 @crc32(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !12, i64 32} !14 = !{!12, !12, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56} !18 = !{!17, !8, i64 8} !19 = !{!7, !8, i64 0} !20 = !{!7, !12, i64 28} !21 = !{!17, !8, i64 56} !22 = !{!17, !8, i64 48} !23 = !{!7, !12, i64 24} !24 = !{!17, !8, i64 40} !25 = !{!7, !12, i64 20} !26 = !{!17, !8, i64 32} !27 = !{!7, !12, i64 16} !28 = !{!17, !8, i64 24} !29 = !{!7, !12, i64 12} !30 = !{!17, !8, i64 16} !31 = !{!32, !8, i64 8} !32 = !{!"TYPE_9__", !33, i64 0, !8, i64 8} !33 = !{!"long", !9, i64 0} !34 = !{!32, !33, i64 0}
openwrt_tools_firmware-utils_src_extr_mkfwimage.c_write_part
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cconfig.c_cb_strfilter.c' source_filename = "AnghaBench/radare2/libr/core/extr_cconfig.c_cb_strfilter.c" target datalayout = "e-m:e-p270:32:32-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 [226 x i8] c"Valid values for bin.str.filter:\0Aa only alphanumeric printable\0A8 only strings with utf8 chars\0Ap file/directory paths\0Ae email-like addresses\0Au urls\0Ai IPv4 address-like strings\0AU only uppercase strings\0Af format-strings\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cb_strfilter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cb_strfilter(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = load i8, ptr %3, align 1, !tbaa !10 %5 = icmp eq i8 %4, 63 br i1 %5, label %6, label %18 6: ; preds = %2 %7 = tail call i32 @strlen(ptr noundef nonnull %3) #2 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load ptr, ptr %1, align 8, !tbaa !5 %11 = getelementptr inbounds i8, ptr %10, i64 1 %12 = load i8, ptr %11, align 1, !tbaa !10 %13 = icmp eq i8 %12, 63 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = tail call i32 @r_cons_printf(ptr noundef nonnull @.str) #2 br label %20 16: ; preds = %9, %6 %17 = tail call i32 @print_node_options(ptr noundef nonnull %1) #2 br label %20 18: ; preds = %2 %19 = load ptr, ptr %0, align 8, !tbaa !11 store i8 %4, ptr %19, align 1, !tbaa !13 br label %20 20: ; preds = %14, %16, %18 %21 = phi i32 [ 1, %18 ], [ 0, %16 ], [ 0, %14 ] ret i32 %21 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @r_cons_printf(ptr noundef) local_unnamed_addr #1 declare i32 @print_node_options(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_6__", !7, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_5__", !8, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cconfig.c_cb_strfilter.c' source_filename = "AnghaBench/radare2/libr/core/extr_cconfig.c_cb_strfilter.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 [226 x i8] c"Valid values for bin.str.filter:\0Aa only alphanumeric printable\0A8 only strings with utf8 chars\0Ap file/directory paths\0Ae email-like addresses\0Au urls\0Ai IPv4 address-like strings\0AU only uppercase strings\0Af format-strings\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cb_strfilter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @cb_strfilter(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = load i8, ptr %3, align 1, !tbaa !11 %5 = icmp eq i8 %4, 63 br i1 %5, label %6, label %18 6: ; preds = %2 %7 = tail call i32 @strlen(ptr noundef nonnull %3) #2 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %16 9: ; preds = %6 %10 = load ptr, ptr %1, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %10, i64 1 %12 = load i8, ptr %11, align 1, !tbaa !11 %13 = icmp eq i8 %12, 63 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = tail call i32 @r_cons_printf(ptr noundef nonnull @.str) #2 br label %20 16: ; preds = %9, %6 %17 = tail call i32 @print_node_options(ptr noundef nonnull %1) #2 br label %20 18: ; preds = %2 %19 = load ptr, ptr %0, align 8, !tbaa !12 store i8 %4, ptr %19, align 1, !tbaa !14 br label %20 20: ; preds = %14, %16, %18 %21 = phi i32 [ 1, %18 ], [ 0, %16 ], [ 0, %14 ] ret i32 %21 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @r_cons_printf(ptr noundef) local_unnamed_addr #1 declare i32 @print_node_options(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 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!9, !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_6__", !8, i64 0} !14 = !{!15, !9, i64 0} !15 = !{!"TYPE_5__", !9, i64 0}
radare2_libr_core_extr_cconfig.c_cb_strfilter
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_multicast.c_fail_join.c' source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_multicast.c_fail_join.c" target datalayout = "e-m:e-p270:32:32-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.mcast_member = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @fail_join], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fail_join(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @spin_lock_irq(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.mcast_member, ptr %1, i64 0, i32 1 %6 = tail call i32 @list_del_init(ptr noundef nonnull %5) #2 %7 = tail call i32 @spin_unlock_irq(ptr noundef %0) #2 %8 = load ptr, ptr %1, align 8, !tbaa !5 %9 = tail call i32 %8(i32 noundef %2, ptr noundef nonnull %1) #2 ret i32 %9 } declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @list_del_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"mcast_member", !7, i64 0, !11, i64 8} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_multicast.c_fail_join.c' source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_multicast.c_fail_join.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 @fail_join], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fail_join(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @spin_lock_irq(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = tail call i32 @list_del_init(ptr noundef nonnull %5) #2 %7 = tail call i32 @spin_unlock_irq(ptr noundef %0) #2 %8 = load ptr, ptr %1, align 8, !tbaa !6 %9 = tail call i32 %8(i32 noundef %2, ptr noundef nonnull %1) #2 ret i32 %9 } declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @list_del_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"mcast_member", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0}
linux_drivers_infiniband_core_extr_multicast.c_fail_join
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k1.c_hw_dac_init.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k1.c_hw_dac_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" @CTSB055X = dso_local local_unnamed_addr global i64 0, align 8 @GPIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hw_dac_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @hw_dac_init(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @CTSB055X, align 8, !tbaa !10 %5 = icmp eq i64 %3, %4 %6 = load i32, ptr @GPIO, align 4, !tbaa !11 %7 = tail call i64 @hw_read_20kx(ptr noundef nonnull %0, i32 noundef %6) #2 %8 = trunc i64 %7 to i32 br i1 %5, label %9, label %12 9: ; preds = %2 %10 = and i32 %8, 65469 %11 = or disjoint i32 %10, 2 br label %40 12: ; preds = %2 %13 = and i32 %8, 65471 %14 = load i32, ptr @GPIO, align 4, !tbaa !11 %15 = tail call i32 @hw_write_20kx(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %13) #2 %16 = tail call i32 @hw_reset_dac(ptr noundef nonnull %0) #2 %17 = tail call i64 @i2c_unlock(ptr noundef nonnull %0) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %44 19: ; preds = %12 %20 = tail call i32 @hw_write_pci(ptr noundef nonnull %0, i32 noundef 236, i32 noundef 5) #2 br label %21 21: ; preds = %21, %19 %22 = tail call i32 @hw_read_pci(ptr noundef nonnull %0, i32 noundef 236) #2 %23 = and i32 %22, 8388608 %24 = icmp eq i32 %23, 0 br i1 %24, label %21, label %25, !llvm.loop !13 25: ; preds = %21 %26 = load i32, ptr %1, align 4, !tbaa !15 %27 = icmp eq i32 %26, 2 %28 = select i1 %27, i32 37, i32 36 %29 = icmp eq i32 %26, 4 %30 = select i1 %29, i32 38, i32 %28 %31 = tail call i32 @i2c_write(ptr noundef nonnull %0, i32 noundef 1572992, i32 noundef 6, i32 noundef %30) #2 %32 = tail call i32 @i2c_write(ptr noundef nonnull %0, i32 noundef 1572992, i32 noundef 9, i32 noundef %30) #2 %33 = tail call i32 @i2c_write(ptr noundef nonnull %0, i32 noundef 1572992, i32 noundef 12, i32 noundef %30) #2 %34 = tail call i32 @i2c_write(ptr noundef nonnull %0, i32 noundef 1572992, i32 noundef 15, i32 noundef %30) #2 %35 = tail call i32 @i2c_lock(ptr noundef nonnull %0) #2 %36 = load i32, ptr @GPIO, align 4, !tbaa !11 %37 = tail call i64 @hw_read_20kx(ptr noundef nonnull %0, i32 noundef %36) #2 %38 = trunc i64 %37 to i32 %39 = or i32 %38, 64 br label %40 40: ; preds = %9, %25 %41 = phi i32 [ %39, %25 ], [ %11, %9 ] %42 = load i32, ptr @GPIO, align 4, !tbaa !11 %43 = tail call i32 @hw_write_20kx(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %41) #2 br label %44 44: ; preds = %40, %12 %45 = phi i32 [ -1, %12 ], [ 0, %40 ] ret i32 %45 } declare i64 @hw_read_20kx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hw_write_20kx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hw_reset_dac(ptr noundef) local_unnamed_addr #1 declare i64 @i2c_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @hw_write_pci(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hw_read_pci(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_lock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hw", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !12, i64 0} !16 = !{!"dac_conf", !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k1.c_hw_dac_init.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k1.c_hw_dac_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CTSB055X = common local_unnamed_addr global i64 0, align 8 @GPIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hw_dac_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @hw_dac_init(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @CTSB055X, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 %6 = load i32, ptr @GPIO, align 4, !tbaa !12 %7 = tail call i64 @hw_read_20kx(ptr noundef nonnull %0, i32 noundef %6) #2 %8 = trunc i64 %7 to i32 br i1 %5, label %9, label %12 9: ; preds = %2 %10 = and i32 %8, 65469 %11 = or disjoint i32 %10, 2 br label %40 12: ; preds = %2 %13 = and i32 %8, 65471 %14 = load i32, ptr @GPIO, align 4, !tbaa !12 %15 = tail call i32 @hw_write_20kx(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %13) #2 %16 = tail call i32 @hw_reset_dac(ptr noundef nonnull %0) #2 %17 = tail call i64 @i2c_unlock(ptr noundef nonnull %0) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %44 19: ; preds = %12 %20 = tail call i32 @hw_write_pci(ptr noundef nonnull %0, i32 noundef 236, i32 noundef 5) #2 br label %21 21: ; preds = %21, %19 %22 = tail call i32 @hw_read_pci(ptr noundef nonnull %0, i32 noundef 236) #2 %23 = and i32 %22, 8388608 %24 = icmp eq i32 %23, 0 br i1 %24, label %21, label %25, !llvm.loop !14 25: ; preds = %21 %26 = load i32, ptr %1, align 4, !tbaa !16 %27 = icmp eq i32 %26, 2 %28 = select i1 %27, i32 37, i32 36 %29 = icmp eq i32 %26, 4 %30 = select i1 %29, i32 38, i32 %28 %31 = tail call i32 @i2c_write(ptr noundef nonnull %0, i32 noundef 1572992, i32 noundef 6, i32 noundef %30) #2 %32 = tail call i32 @i2c_write(ptr noundef nonnull %0, i32 noundef 1572992, i32 noundef 9, i32 noundef %30) #2 %33 = tail call i32 @i2c_write(ptr noundef nonnull %0, i32 noundef 1572992, i32 noundef 12, i32 noundef %30) #2 %34 = tail call i32 @i2c_write(ptr noundef nonnull %0, i32 noundef 1572992, i32 noundef 15, i32 noundef %30) #2 %35 = tail call i32 @i2c_lock(ptr noundef nonnull %0) #2 %36 = load i32, ptr @GPIO, align 4, !tbaa !12 %37 = tail call i64 @hw_read_20kx(ptr noundef nonnull %0, i32 noundef %36) #2 %38 = trunc i64 %37 to i32 %39 = or i32 %38, 64 br label %40 40: ; preds = %9, %25 %41 = phi i32 [ %39, %25 ], [ %11, %9 ] %42 = load i32, ptr @GPIO, align 4, !tbaa !12 %43 = tail call i32 @hw_write_20kx(ptr noundef nonnull %0, i32 noundef %42, i32 noundef %41) #2 br label %44 44: ; preds = %40, %12 %45 = phi i32 [ -1, %12 ], [ 0, %40 ] ret i32 %45 } declare i64 @hw_read_20kx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hw_write_20kx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hw_reset_dac(ptr noundef) local_unnamed_addr #1 declare i64 @i2c_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @hw_write_pci(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hw_read_pci(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_lock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hw", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!17, !13, i64 0} !17 = !{!"dac_conf", !13, i64 0}
fastsocket_kernel_sound_pci_ctxfi_extr_cthw20k1.c_hw_dac_init
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/x86/extr_test_vdso.c_sys_clock_gettime.c' source_filename = "AnghaBench/linux/tools/testing/selftests/x86/extr_test_vdso.c_sys_clock_gettime.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__NR_clock_gettime = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sys_clock_gettime], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @sys_clock_gettime(i32 noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @__NR_clock_gettime, align 4, !tbaa !5 %4 = tail call i32 @syscall(i32 noundef %3, i32 noundef %0, ptr noundef %1) #2 ret i32 %4 } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/x86/extr_test_vdso.c_sys_clock_gettime.c' source_filename = "AnghaBench/linux/tools/testing/selftests/x86/extr_test_vdso.c_sys_clock_gettime.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__NR_clock_gettime = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sys_clock_gettime], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @sys_clock_gettime(i32 noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @__NR_clock_gettime, align 4, !tbaa !6 %4 = tail call i32 @syscall(i32 noundef %3, i32 noundef %0, ptr noundef %1) #2 ret i32 %4 } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_tools_testing_selftests_x86_extr_test_vdso.c_sys_clock_gettime
; ModuleID = 'AnghaBench/linux/drivers/firmware/arm_scmi/extr_perf.c_scmi_dvfs_transition_latency_get.c' source_filename = "AnghaBench/linux/drivers/firmware/arm_scmi/extr_perf.c_scmi_dvfs_transition_latency_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.perf_dom_info = type { i32, ptr } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @scmi_dvfs_transition_latency_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @scmi_dvfs_transition_latency_get(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @scmi_dev_domain_id(ptr noundef %1) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %18, label %6 6: ; preds = %2 %7 = load ptr, ptr %3, align 8, !tbaa !10 %8 = zext nneg i32 %4 to i64 %9 = getelementptr inbounds %struct.perf_dom_info, ptr %7, i64 %8 %10 = getelementptr inbounds %struct.perf_dom_info, ptr %7, i64 %8, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = load i32, ptr %9, align 8, !tbaa !15 %13 = sext i32 %12 to i64 %14 = getelementptr %struct.TYPE_2__, ptr %11, i64 %13 %15 = getelementptr %struct.TYPE_2__, ptr %14, i64 -1 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = mul nsw i32 %16, 1000 br label %18 18: ; preds = %2, %6 %19 = phi i32 [ %17, %6 ], [ %4, %2 ] ret i32 %19 } declare i32 @scmi_dev_domain_id(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 = !{!"scmi_handle", !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 = !{!"scmi_perf_info", !7, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"perf_dom_info", !14, i64 0, !7, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_2__", !14, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/firmware/arm_scmi/extr_perf.c_scmi_dvfs_transition_latency_get.c' source_filename = "AnghaBench/linux/drivers/firmware/arm_scmi/extr_perf.c_scmi_dvfs_transition_latency_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.perf_dom_info = type { i32, ptr } %struct.TYPE_2__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @scmi_dvfs_transition_latency_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @scmi_dvfs_transition_latency_get(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @scmi_dev_domain_id(ptr noundef %1) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %18, label %6 6: ; preds = %2 %7 = load ptr, ptr %3, align 8, !tbaa !11 %8 = zext nneg i32 %4 to i64 %9 = getelementptr inbounds %struct.perf_dom_info, ptr %7, i64 %8 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = load i32, ptr %9, align 8, !tbaa !16 %13 = sext i32 %12 to i64 %14 = getelementptr %struct.TYPE_2__, ptr %11, i64 %13 %15 = getelementptr i8, ptr %14, i64 -4 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = mul nsw i32 %16, 1000 br label %18 18: ; preds = %2, %6 %19 = phi i32 [ %17, %6 ], [ %4, %2 ] ret i32 %19 } declare i32 @scmi_dev_domain_id(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 = !{!"scmi_handle", !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 = !{!"scmi_perf_info", !8, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"perf_dom_info", !15, i64 0, !8, i64 8} !15 = !{!"int", !9, i64 0} !16 = !{!14, !15, i64 0} !17 = !{!18, !15, i64 0} !18 = !{!"TYPE_2__", !15, i64 0}
linux_drivers_firmware_arm_scmi_extr_perf.c_scmi_dvfs_transition_latency_get
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_multicast.c_batadv_mcast_forw_tt_node_get.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_multicast.c_batadv_mcast_forw_tt_node_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BATADV_NO_FLAGS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @batadv_mcast_forw_tt_node_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @batadv_mcast_forw_tt_node_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = load i32, ptr @BATADV_NO_FLAGS, align 4, !tbaa !10 %5 = tail call ptr @batadv_transtable_search(ptr noundef %0, ptr noundef null, i32 noundef %3, i32 noundef %4) #2 ret ptr %5 } declare ptr @batadv_transtable_search(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ethhdr", !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/net/batman-adv/extr_multicast.c_batadv_mcast_forw_tt_node_get.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_multicast.c_batadv_mcast_forw_tt_node_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BATADV_NO_FLAGS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @batadv_mcast_forw_tt_node_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @batadv_mcast_forw_tt_node_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = load i32, ptr @BATADV_NO_FLAGS, align 4, !tbaa !11 %5 = tail call ptr @batadv_transtable_search(ptr noundef %0, ptr noundef null, i32 noundef %3, i32 noundef %4) #2 ret ptr %5 } declare ptr @batadv_transtable_search(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ethhdr", !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_net_batman-adv_extr_multicast.c_batadv_mcast_forw_tt_node_get
; ModuleID = 'AnghaBench/qmk_firmware/layouts/community/ergodox/kines-ish/extr_keymap.c_matrix_init_user.c' source_filename = "AnghaBench/qmk_firmware/layouts/community/ergodox/kines-ish/extr_keymap.c_matrix_init_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @matrix_init_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/layouts/community/ergodox/kines-ish/extr_keymap.c_matrix_init_user.c' source_filename = "AnghaBench/qmk_firmware/layouts/community/ergodox/kines-ish/extr_keymap.c_matrix_init_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @matrix_init_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_layouts_community_ergodox_kines-ish_extr_keymap.c_matrix_init_user
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_X509_STORE_CTX_set_cert.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_X509_STORE_CTX_set_cert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local void @X509_STORE_CTX_set_cert(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { store ptr %1, ptr %0, align 8, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_X509_STORE_CTX_set_cert.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_x509_vfy.c_X509_STORE_CTX_set_cert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define void @X509_STORE_CTX_set_cert(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { store ptr %1, ptr %0, align 8, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
openssl_crypto_x509_extr_x509_vfy.c_X509_STORE_CTX_set_cert
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_sh_mobile_ceu_camera.c_sh_mobile_ceu_querycap.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_sh_mobile_ceu_camera.c_sh_mobile_ceu_querycap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.v4l2_capability = type { i32, i32, i32 } @.str = private unnamed_addr constant [18 x i8] c"SuperH_Mobile_CEU\00", align 1 @V4L2_CAP_VIDEO_CAPTURE = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_CAP_STREAMING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sh_mobile_ceu_querycap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @sh_mobile_ceu_querycap(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.v4l2_capability, ptr %1, i64 0, i32 2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @strlcpy(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef 4) #2 %6 = tail call i32 @KERNEL_VERSION(i32 noundef 0, i32 noundef 0, i32 noundef 5) #2 %7 = getelementptr inbounds %struct.v4l2_capability, ptr %1, i64 0, i32 1 store i32 %6, ptr %7, align 4, !tbaa !10 %8 = load i32, ptr @V4L2_CAP_VIDEO_CAPTURE, align 4, !tbaa !11 %9 = load i32, ptr @V4L2_CAP_STREAMING, align 4, !tbaa !11 %10 = or i32 %9, %8 store i32 %10, ptr %1, align 4, !tbaa !12 ret i32 0 } declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @KERNEL_VERSION(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 8} !6 = !{!"v4l2_capability", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_sh_mobile_ceu_camera.c_sh_mobile_ceu_querycap.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_sh_mobile_ceu_camera.c_sh_mobile_ceu_querycap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [18 x i8] c"SuperH_Mobile_CEU\00", align 1 @V4L2_CAP_VIDEO_CAPTURE = common local_unnamed_addr global i32 0, align 4 @V4L2_CAP_STREAMING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sh_mobile_ceu_querycap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @sh_mobile_ceu_querycap(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @strlcpy(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef 4) #2 %6 = tail call i32 @KERNEL_VERSION(i32 noundef 0, i32 noundef 0, i32 noundef 5) #2 %7 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %6, ptr %7, align 4, !tbaa !11 %8 = load i32, ptr @V4L2_CAP_VIDEO_CAPTURE, align 4, !tbaa !12 %9 = load i32, ptr @V4L2_CAP_STREAMING, align 4, !tbaa !12 %10 = or i32 %9, %8 store i32 %10, ptr %1, align 4, !tbaa !13 ret i32 0 } declare i32 @strlcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @KERNEL_VERSION(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 8} !7 = !{!"v4l2_capability", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_media_video_extr_sh_mobile_ceu_camera.c_sh_mobile_ceu_querycap
; ModuleID = 'AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_CreateDistTableCache.c' source_filename = "AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_CreateDistTableCache.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32 } @tag_hash = dso_local local_unnamed_addr global i32 0, align 4 @MetadataCacheMemoryContext = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Distributed Relation Cache\00", align 1 @HASH_ELEM = dso_local local_unnamed_addr global i32 0, align 4 @HASH_FUNCTION = dso_local local_unnamed_addr global i32 0, align 4 @HASH_CONTEXT = dso_local local_unnamed_addr global i32 0, align 4 @DistTableCacheHash = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @CreateDistTableCache], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @CreateDistTableCache() #0 { %1 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3 %2 = call i32 @MemSet(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 16) #3 store i32 4, ptr %1, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 store i32 4, ptr %3, align 4, !tbaa !10 %4 = load i32, ptr @tag_hash, align 4, !tbaa !11 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 store i32 %4, ptr %5, align 4, !tbaa !12 %6 = load i32, ptr @MetadataCacheMemoryContext, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 store i32 %6, ptr %7, align 4, !tbaa !13 %8 = load i32, ptr @HASH_ELEM, align 4, !tbaa !11 %9 = load i32, ptr @HASH_FUNCTION, align 4, !tbaa !11 %10 = or i32 %9, %8 %11 = load i32, ptr @HASH_CONTEXT, align 4, !tbaa !11 %12 = or i32 %10, %11 %13 = call i32 @hash_create(ptr noundef nonnull @.str, i32 noundef 32, ptr noundef nonnull %1, i32 noundef %12) #3 store i32 %13, ptr @DistTableCacheHash, align 4, !tbaa !11 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @MemSet(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hash_create(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 12} !13 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_CreateDistTableCache.c' source_filename = "AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_CreateDistTableCache.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32, i32, i32 } @tag_hash = common local_unnamed_addr global i32 0, align 4 @MetadataCacheMemoryContext = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Distributed Relation Cache\00", align 1 @HASH_ELEM = common local_unnamed_addr global i32 0, align 4 @HASH_FUNCTION = common local_unnamed_addr global i32 0, align 4 @HASH_CONTEXT = common local_unnamed_addr global i32 0, align 4 @DistTableCacheHash = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @CreateDistTableCache], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @CreateDistTableCache() #0 { %1 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #3 %2 = call i32 @MemSet(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 16) #3 store <2 x i32> <i32 4, i32 4>, ptr %1, align 8, !tbaa !6 %3 = load i32, ptr @tag_hash, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %3, ptr %4, align 4, !tbaa !10 %5 = load i32, ptr @MetadataCacheMemoryContext, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %5, ptr %6, align 8, !tbaa !12 %7 = load i32, ptr @HASH_ELEM, align 4, !tbaa !6 %8 = load i32, ptr @HASH_FUNCTION, align 4, !tbaa !6 %9 = or i32 %8, %7 %10 = load i32, ptr @HASH_CONTEXT, align 4, !tbaa !6 %11 = or i32 %9, %10 %12 = call i32 @hash_create(ptr noundef nonnull @.str, i32 noundef 32, ptr noundef nonnull %1, i32 noundef %11) #3 store i32 %12, ptr @DistTableCacheHash, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @MemSet(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hash_create(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !12 = !{!11, !7, i64 8}
citus_src_backend_distributed_utils_extr_metadata_cache.c_CreateDistTableCache
; ModuleID = 'AnghaBench/linux/drivers/bluetooth/extr_bfusb.c_bfusb_load_firmware.c' source_filename = "AnghaBench/linux/drivers/bluetooth/extr_bfusb.c_bfusb_load_firmware.c" target datalayout = "e-m:e-p270:32:32-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.bfusb_data = type { ptr, i32 } @.str = private unnamed_addr constant [17 x i8] c"bfusb %p udev %p\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"BlueFRITZ! USB loading firmware\00", align 1 @BFUSB_MAX_BLOCK_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"Can't allocate memory chunk for firmware\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @USB_REQ_SET_CONFIGURATION = dso_local local_unnamed_addr global i32 0, align 4 @USB_CTRL_SET_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [38 x i8] c"Can't change to loading configuration\00", align 1 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @uint = dso_local local_unnamed_addr global i32 0, align 4 @BFUSB_BLOCK_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [26 x i8] c"Error in firmware loading\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Error in null packet request\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"Can't change to running configuration\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"BlueFRITZ! USB device ready\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @bfusb_load_firmware], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bfusb_load_firmware(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0, ptr noundef %5) #4 %7 = tail call i32 @BT_INFO(ptr noundef nonnull @.str.1) #4 %8 = load i64, ptr @BFUSB_MAX_BLOCK_SIZE, align 8, !tbaa !11 %9 = add nsw i64 %8, 3 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %11 = tail call ptr @kmalloc(i64 noundef %9, i32 noundef %10) #4 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %3 %14 = tail call i32 @BT_ERR(ptr noundef nonnull @.str.2) #4 %15 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %16 = sub nsw i32 0, %15 br label %87 17: ; preds = %3 %18 = load ptr, ptr %0, align 8, !tbaa !5 %19 = tail call i32 @usb_sndctrlpipe(ptr noundef %18, i32 noundef 0) #4 %20 = load ptr, ptr %0, align 8, !tbaa !5 %21 = load i32, ptr @USB_REQ_SET_CONFIGURATION, align 4, !tbaa !13 %22 = load i32, ptr @USB_CTRL_SET_TIMEOUT, align 4, !tbaa !13 %23 = tail call i32 @usb_control_msg(ptr noundef %20, i32 noundef %19, i32 noundef %21, i32 noundef 0, i32 noundef 1, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %22) #4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %17 %26 = tail call i32 @BT_ERR(ptr noundef nonnull @.str.3) #4 %27 = tail call i32 @kfree(ptr noundef nonnull %11) #4 %28 = load i32, ptr @EBUSY, align 4, !tbaa !13 %29 = sub nsw i32 0, %28 br label %87 30: ; preds = %17 %31 = load ptr, ptr %0, align 8, !tbaa !5 %32 = load ptr, ptr %31, align 8, !tbaa !14 %33 = getelementptr inbounds %struct.bfusb_data, ptr %0, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %32, i8 0, i64 16, i1 false) %34 = load i32, ptr %33, align 8, !tbaa !16 %35 = tail call i32 @usb_sndbulkpipe(ptr noundef nonnull %31, i32 noundef %34) #4 %36 = icmp eq i32 %2, 0 br i1 %36, label %58, label %37 37: ; preds = %30, %54 %38 = phi i32 [ %55, %54 ], [ 0, %30 ] %39 = phi i32 [ %56, %54 ], [ %2, %30 ] %40 = load i32, ptr @uint, align 4, !tbaa !13 %41 = load i64, ptr @BFUSB_MAX_BLOCK_SIZE, align 8, !tbaa !11 %42 = add nsw i64 %41, 3 %43 = call i32 @min_t(i32 noundef %40, i32 noundef %39, i64 noundef %42) #4 %44 = sext i32 %38 to i64 %45 = getelementptr inbounds i8, ptr %1, i64 %44 %46 = call i32 @memcpy(ptr noundef nonnull %11, ptr noundef %45, i32 noundef %43) #4 %47 = load ptr, ptr %0, align 8, !tbaa !5 %48 = load i32, ptr @BFUSB_BLOCK_TIMEOUT, align 4, !tbaa !13 %49 = call i32 @usb_bulk_msg(ptr noundef %47, i32 noundef %35, ptr noundef nonnull %11, i32 noundef %43, ptr noundef nonnull %4, i32 noundef %48) #4 %50 = icmp eq i32 %49, 0 %51 = load i32, ptr %4, align 4 %52 = icmp eq i32 %51, %43 %53 = select i1 %50, i1 %52, i1 false br i1 %53, label %54, label %76 54: ; preds = %37 %55 = add nsw i32 %43, %38 %56 = sub nsw i32 %39, %43 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %37, !llvm.loop !17 58: ; preds = %54, %30 %59 = load ptr, ptr %0, align 8, !tbaa !5 %60 = load i32, ptr @BFUSB_BLOCK_TIMEOUT, align 4, !tbaa !13 %61 = call i32 @usb_bulk_msg(ptr noundef %59, i32 noundef %35, ptr noundef null, i32 noundef 0, ptr noundef nonnull %4, i32 noundef %60) #4 %62 = icmp slt i32 %61, 0 br i1 %62, label %76, label %63 63: ; preds = %58 %64 = load ptr, ptr %0, align 8, !tbaa !5 %65 = call i32 @usb_sndctrlpipe(ptr noundef %64, i32 noundef 0) #4 %66 = load ptr, ptr %0, align 8, !tbaa !5 %67 = load i32, ptr @USB_REQ_SET_CONFIGURATION, align 4, !tbaa !13 %68 = load i32, ptr @USB_CTRL_SET_TIMEOUT, align 4, !tbaa !13 %69 = call i32 @usb_control_msg(ptr noundef %66, i32 noundef %65, i32 noundef %67, i32 noundef 0, i32 noundef 2, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %68) #4 %70 = icmp slt i32 %69, 0 br i1 %70, label %76, label %71 71: ; preds = %63 %72 = load ptr, ptr %0, align 8, !tbaa !5 %73 = load ptr, ptr %72, align 8, !tbaa !14 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %73, i8 0, i64 16, i1 false) %74 = call i32 @BT_INFO(ptr noundef nonnull @.str.7) #4 %75 = call i32 @kfree(ptr noundef nonnull %11) #4 br label %87 76: ; preds = %37, %63, %58 %77 = phi ptr [ @.str.5, %58 ], [ @.str.6, %63 ], [ @.str.4, %37 ] %78 = phi i32 [ %61, %58 ], [ %69, %63 ], [ %49, %37 ] %79 = call i32 @BT_ERR(ptr noundef nonnull %77) #4 %80 = call i32 @kfree(ptr noundef nonnull %11) #4 %81 = load ptr, ptr %0, align 8, !tbaa !5 %82 = call i32 @usb_sndctrlpipe(ptr noundef %81, i32 noundef 0) #4 %83 = load ptr, ptr %0, align 8, !tbaa !5 %84 = load i32, ptr @USB_REQ_SET_CONFIGURATION, align 4, !tbaa !13 %85 = load i32, ptr @USB_CTRL_SET_TIMEOUT, align 4, !tbaa !13 %86 = call i32 @usb_control_msg(ptr noundef %83, i32 noundef %82, i32 noundef %84, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %85) #4 br label %87 87: ; preds = %76, %71, %25, %13 %88 = phi i32 [ %29, %25 ], [ %78, %76 ], [ 0, %71 ], [ %16, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %88 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BT_DBG(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @BT_INFO(ptr noundef) local_unnamed_addr #2 declare ptr @kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BT_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @usb_sndctrlpipe(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @usb_sndbulkpipe(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @min_t(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usb_bulk_msg(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; 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, !7, i64 0} !6 = !{!"bfusb_data", !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, !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!10, !10, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_6__", !7, i64 0} !16 = !{!6, !10, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/bluetooth/extr_bfusb.c_bfusb_load_firmware.c' source_filename = "AnghaBench/linux/drivers/bluetooth/extr_bfusb.c_bfusb_load_firmware.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [17 x i8] c"bfusb %p udev %p\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"BlueFRITZ! USB loading firmware\00", align 1 @BFUSB_MAX_BLOCK_SIZE = common local_unnamed_addr global i64 0, align 8 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"Can't allocate memory chunk for firmware\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @USB_REQ_SET_CONFIGURATION = common local_unnamed_addr global i32 0, align 4 @USB_CTRL_SET_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [38 x i8] c"Can't change to loading configuration\00", align 1 @EBUSY = common local_unnamed_addr global i32 0, align 4 @uint = common local_unnamed_addr global i32 0, align 4 @BFUSB_BLOCK_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [26 x i8] c"Error in firmware loading\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Error in null packet request\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"Can't change to running configuration\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"BlueFRITZ! USB device ready\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @bfusb_load_firmware], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bfusb_load_firmware(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0, ptr noundef %5) #4 %7 = tail call i32 @BT_INFO(ptr noundef nonnull @.str.1) #4 %8 = load i64, ptr @BFUSB_MAX_BLOCK_SIZE, align 8, !tbaa !12 %9 = add nsw i64 %8, 3 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %11 = tail call ptr @kmalloc(i64 noundef %9, i32 noundef %10) #4 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %3 %14 = tail call i32 @BT_ERR(ptr noundef nonnull @.str.2) #4 %15 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %16 = sub nsw i32 0, %15 br label %87 17: ; preds = %3 %18 = load ptr, ptr %0, align 8, !tbaa !6 %19 = tail call i32 @usb_sndctrlpipe(ptr noundef %18, i32 noundef 0) #4 %20 = load ptr, ptr %0, align 8, !tbaa !6 %21 = load i32, ptr @USB_REQ_SET_CONFIGURATION, align 4, !tbaa !14 %22 = load i32, ptr @USB_CTRL_SET_TIMEOUT, align 4, !tbaa !14 %23 = tail call i32 @usb_control_msg(ptr noundef %20, i32 noundef %19, i32 noundef %21, i32 noundef 0, i32 noundef 1, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %22) #4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %17 %26 = tail call i32 @BT_ERR(ptr noundef nonnull @.str.3) #4 %27 = tail call i32 @kfree(ptr noundef nonnull %11) #4 %28 = load i32, ptr @EBUSY, align 4, !tbaa !14 %29 = sub nsw i32 0, %28 br label %87 30: ; preds = %17 %31 = load ptr, ptr %0, align 8, !tbaa !6 %32 = load ptr, ptr %31, align 8, !tbaa !15 %33 = getelementptr inbounds i8, ptr %0, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %32, i8 0, i64 16, i1 false) %34 = load i32, ptr %33, align 8, !tbaa !17 %35 = tail call i32 @usb_sndbulkpipe(ptr noundef nonnull %31, i32 noundef %34) #4 %36 = icmp eq i32 %2, 0 br i1 %36, label %58, label %37 37: ; preds = %30, %54 %38 = phi i32 [ %55, %54 ], [ 0, %30 ] %39 = phi i32 [ %56, %54 ], [ %2, %30 ] %40 = load i32, ptr @uint, align 4, !tbaa !14 %41 = load i64, ptr @BFUSB_MAX_BLOCK_SIZE, align 8, !tbaa !12 %42 = add nsw i64 %41, 3 %43 = call i32 @min_t(i32 noundef %40, i32 noundef %39, i64 noundef %42) #4 %44 = sext i32 %38 to i64 %45 = getelementptr inbounds i8, ptr %1, i64 %44 %46 = call i32 @memcpy(ptr noundef nonnull %11, ptr noundef %45, i32 noundef %43) #4 %47 = load ptr, ptr %0, align 8, !tbaa !6 %48 = load i32, ptr @BFUSB_BLOCK_TIMEOUT, align 4, !tbaa !14 %49 = call i32 @usb_bulk_msg(ptr noundef %47, i32 noundef %35, ptr noundef nonnull %11, i32 noundef %43, ptr noundef nonnull %4, i32 noundef %48) #4 %50 = icmp eq i32 %49, 0 %51 = load i32, ptr %4, align 4 %52 = icmp eq i32 %51, %43 %53 = select i1 %50, i1 %52, i1 false br i1 %53, label %54, label %76 54: ; preds = %37 %55 = add nsw i32 %43, %38 %56 = sub nsw i32 %39, %43 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %37, !llvm.loop !18 58: ; preds = %54, %30 %59 = load ptr, ptr %0, align 8, !tbaa !6 %60 = load i32, ptr @BFUSB_BLOCK_TIMEOUT, align 4, !tbaa !14 %61 = call i32 @usb_bulk_msg(ptr noundef %59, i32 noundef %35, ptr noundef null, i32 noundef 0, ptr noundef nonnull %4, i32 noundef %60) #4 %62 = icmp slt i32 %61, 0 br i1 %62, label %76, label %63 63: ; preds = %58 %64 = load ptr, ptr %0, align 8, !tbaa !6 %65 = call i32 @usb_sndctrlpipe(ptr noundef %64, i32 noundef 0) #4 %66 = load ptr, ptr %0, align 8, !tbaa !6 %67 = load i32, ptr @USB_REQ_SET_CONFIGURATION, align 4, !tbaa !14 %68 = load i32, ptr @USB_CTRL_SET_TIMEOUT, align 4, !tbaa !14 %69 = call i32 @usb_control_msg(ptr noundef %66, i32 noundef %65, i32 noundef %67, i32 noundef 0, i32 noundef 2, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %68) #4 %70 = icmp slt i32 %69, 0 br i1 %70, label %76, label %71 71: ; preds = %63 %72 = load ptr, ptr %0, align 8, !tbaa !6 %73 = load ptr, ptr %72, align 8, !tbaa !15 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %73, i8 0, i64 16, i1 false) %74 = call i32 @BT_INFO(ptr noundef nonnull @.str.7) #4 %75 = call i32 @kfree(ptr noundef nonnull %11) #4 br label %87 76: ; preds = %37, %63, %58 %77 = phi ptr [ @.str.5, %58 ], [ @.str.6, %63 ], [ @.str.4, %37 ] %78 = phi i32 [ %61, %58 ], [ %69, %63 ], [ %49, %37 ] %79 = call i32 @BT_ERR(ptr noundef nonnull %77) #4 %80 = call i32 @kfree(ptr noundef nonnull %11) #4 %81 = load ptr, ptr %0, align 8, !tbaa !6 %82 = call i32 @usb_sndctrlpipe(ptr noundef %81, i32 noundef 0) #4 %83 = load ptr, ptr %0, align 8, !tbaa !6 %84 = load i32, ptr @USB_REQ_SET_CONFIGURATION, align 4, !tbaa !14 %85 = load i32, ptr @USB_CTRL_SET_TIMEOUT, align 4, !tbaa !14 %86 = call i32 @usb_control_msg(ptr noundef %83, i32 noundef %82, i32 noundef %84, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %85) #4 br label %87 87: ; preds = %76, %71, %25, %13 %88 = phi i32 [ %29, %25 ], [ %78, %76 ], [ 0, %71 ], [ %16, %13 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %88 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BT_DBG(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @BT_INFO(ptr noundef) local_unnamed_addr #2 declare ptr @kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BT_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @usb_sndctrlpipe(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @usb_sndbulkpipe(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @min_t(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usb_bulk_msg(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; 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, !8, i64 0} !7 = !{!"bfusb_data", !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, !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_6__", !8, i64 0} !17 = !{!7, !11, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
linux_drivers_bluetooth_extr_bfusb.c_bfusb_load_firmware
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_arkfb.c_arkfb_imageblit.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_arkfb.c_arkfb_imageblit.c" target datalayout = "e-m:e-p270:32:32-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.fb_info = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i64 } %struct.TYPE_3__ = type { i32 } %struct.fb_image = type { i32, i32, i32 } @FB_TYPE_INTERLEAVED_PLANES = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @arkfb_imageblit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @arkfb_imageblit(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.fb_info, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = icmp eq i32 %4, 4 br i1 %5, label %6, label %27 6: ; preds = %2 %7 = load i32, ptr %1, align 4, !tbaa !13 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %27 9: ; preds = %6 %10 = getelementptr inbounds %struct.fb_image, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = and i32 %11, 7 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %27 14: ; preds = %9 %15 = getelementptr inbounds %struct.fb_image, ptr %1, i64 0, i32 2 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = and i32 %16, 7 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %14 %20 = load i64, ptr %0, align 8, !tbaa !17 %21 = load i64, ptr @FB_TYPE_INTERLEAVED_PLANES, align 8, !tbaa !18 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = tail call i32 @arkfb_iplan_imageblit(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %29 25: ; preds = %19 %26 = tail call i32 @arkfb_cfb4_imageblit(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %29 27: ; preds = %14, %9, %6, %2 %28 = tail call i32 @cfb_imageblit(ptr noundef nonnull %0, ptr noundef %1) #2 br label %29 29: ; preds = %23, %25, %27 ret void } declare i32 @arkfb_iplan_imageblit(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @arkfb_cfb4_imageblit(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cfb_imageblit(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, !12, i64 8} !6 = !{!"fb_info", !7, i64 0, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"fb_image", !12, i64 0, !12, i64 4, !12, i64 8} !15 = !{!14, !12, i64 4} !16 = !{!14, !12, i64 8} !17 = !{!6, !8, i64 0} !18 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_arkfb.c_arkfb_imageblit.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_arkfb.c_arkfb_imageblit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FB_TYPE_INTERLEAVED_PLANES = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @arkfb_imageblit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @arkfb_imageblit(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = icmp eq i32 %4, 4 br i1 %5, label %6, label %27 6: ; preds = %2 %7 = load i32, ptr %1, align 4, !tbaa !14 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %27 9: ; preds = %6 %10 = getelementptr inbounds i8, ptr %1, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !16 %12 = and i32 %11, 7 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %27 14: ; preds = %9 %15 = getelementptr inbounds i8, ptr %1, i64 8 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = and i32 %16, 7 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %14 %20 = load i64, ptr %0, align 8, !tbaa !18 %21 = load i64, ptr @FB_TYPE_INTERLEAVED_PLANES, align 8, !tbaa !19 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = tail call i32 @arkfb_iplan_imageblit(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %29 25: ; preds = %19 %26 = tail call i32 @arkfb_cfb4_imageblit(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %29 27: ; preds = %14, %9, %6, %2 %28 = tail call i32 @cfb_imageblit(ptr noundef nonnull %0, ptr noundef %1) #2 br label %29 29: ; preds = %23, %25, %27 ret void } declare i32 @arkfb_iplan_imageblit(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @arkfb_cfb4_imageblit(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cfb_imageblit(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, !13, i64 8} !7 = !{!"fb_info", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !10, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"fb_image", !13, i64 0, !13, i64 4, !13, i64 8} !16 = !{!15, !13, i64 4} !17 = !{!15, !13, i64 8} !18 = !{!7, !9, i64 0} !19 = !{!9, !9, i64 0}
linux_drivers_video_fbdev_extr_arkfb.c_arkfb_imageblit
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_xgmac.c_t3_mac_set_address.c' source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_xgmac.c_t3_mac_set_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" %struct.cmac = type { i32, i32, ptr, i64 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @t3_mac_set_address(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.cmac, ptr %0, i64 0, i32 3 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %3 %8 = load i32, ptr %0, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.cmac, ptr %0, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = mul i32 %11, %1 %13 = add i32 %12, %8 br label %14 14: ; preds = %7, %3 %15 = phi i32 [ %13, %7 ], [ %1, %3 ] %16 = getelementptr inbounds %struct.cmac, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = icmp ult i32 %15, %17 br i1 %18, label %22, label %19 19: ; preds = %14 %20 = load i32, ptr @EINVAL, align 4, !tbaa !18 %21 = sub nsw i32 0, %20 br label %33 22: ; preds = %14 %23 = tail call i32 @set_addr_filter(ptr noundef nonnull %0, i32 noundef %15, ptr noundef %2) #2 %24 = load i64, ptr %4, align 8, !tbaa !5 %25 = icmp eq i64 %24, 0 br i1 %25, label %33, label %26 26: ; preds = %22 %27 = getelementptr inbounds %struct.cmac, ptr %0, i64 0, i32 2 %28 = load ptr, ptr %27, align 8, !tbaa !13 %29 = load i32, ptr %28, align 4, !tbaa !14 %30 = icmp ult i32 %15, %29 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = tail call i32 @t3_vsc7323_set_addr(ptr noundef nonnull %28, ptr noundef %2, i32 noundef %15) #2 br label %33 33: ; preds = %22, %26, %31, %19 %34 = phi i32 [ %21, %19 ], [ 0, %31 ], [ 0, %26 ], [ 0, %22 ] ret i32 %34 } declare i32 @set_addr_filter(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @t3_vsc7323_set_addr(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, !11, i64 16} !6 = !{!"cmac", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"TYPE_3__", !7, i64 0} !17 = !{!6, !7, i64 4} !18 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_xgmac.c_t3_mac_set_address.c' source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_xgmac.c_t3_mac_set_address.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 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @t3_mac_set_address(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %3 %8 = load i32, ptr %0, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = mul i32 %11, %1 %13 = add i32 %12, %8 br label %14 14: ; preds = %7, %3 %15 = phi i32 [ %13, %7 ], [ %1, %3 ] %16 = getelementptr inbounds i8, ptr %0, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !18 %18 = icmp ult i32 %15, %17 br i1 %18, label %22, label %19 19: ; preds = %14 %20 = load i32, ptr @EINVAL, align 4, !tbaa !19 %21 = sub nsw i32 0, %20 br label %33 22: ; preds = %14 %23 = tail call i32 @set_addr_filter(ptr noundef nonnull %0, i32 noundef %15, ptr noundef %2) #2 %24 = load i64, ptr %4, align 8, !tbaa !6 %25 = icmp eq i64 %24, 0 br i1 %25, label %33, label %26 26: ; preds = %22 %27 = getelementptr inbounds i8, ptr %0, i64 8 %28 = load ptr, ptr %27, align 8, !tbaa !14 %29 = load i32, ptr %28, align 4, !tbaa !15 %30 = icmp ult i32 %15, %29 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = tail call i32 @t3_vsc7323_set_addr(ptr noundef nonnull %28, ptr noundef %2, i32 noundef %15) #2 br label %33 33: ; preds = %22, %26, %31, %19 %34 = phi i32 [ %21, %19 ], [ 0, %31 ], [ 0, %26 ], [ 0, %22 ] ret i32 %34 } declare i32 @set_addr_filter(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @t3_vsc7323_set_addr(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, !12, i64 16} !7 = !{!"cmac", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_4__", !17, i64 0} !17 = !{!"TYPE_3__", !8, i64 0} !18 = !{!7, !8, i64 4} !19 = !{!8, !8, i64 0}
freebsd_sys_dev_cxgb_common_extr_cxgb_xgmac.c_t3_mac_set_address
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/cms/extr_cms_smime.c_CMS_data_create.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/cms/extr_cms_smime.c_CMS_data_create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CMS_STREAM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @CMS_data_create(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr (...) @cms_Data_create() #2 %4 = icmp eq ptr %3, null br i1 %4, label %14, label %5 5: ; preds = %2 %6 = load i32, ptr @CMS_STREAM, align 4, !tbaa !5 %7 = and i32 %6, %1 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = tail call i64 @CMS_final(ptr noundef nonnull %3, ptr noundef %0, ptr noundef null, i32 noundef %1) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = tail call i32 @CMS_ContentInfo_free(ptr noundef nonnull %3) #2 br label %14 14: ; preds = %5, %9, %2, %12 %15 = phi ptr [ null, %12 ], [ null, %2 ], [ %3, %9 ], [ %3, %5 ] ret ptr %15 } declare ptr @cms_Data_create(...) local_unnamed_addr #1 declare i64 @CMS_final(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CMS_ContentInfo_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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/cms/extr_cms_smime.c_CMS_data_create.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/cms/extr_cms_smime.c_CMS_data_create.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CMS_STREAM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @CMS_data_create(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @cms_Data_create() #2 %4 = icmp eq ptr %3, null br i1 %4, label %14, label %5 5: ; preds = %2 %6 = load i32, ptr @CMS_STREAM, align 4, !tbaa !6 %7 = and i32 %6, %1 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = tail call i64 @CMS_final(ptr noundef nonnull %3, ptr noundef %0, ptr noundef null, i32 noundef %1) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = tail call i32 @CMS_ContentInfo_free(ptr noundef nonnull %3) #2 br label %14 14: ; preds = %5, %9, %2, %12 %15 = phi ptr [ null, %12 ], [ null, %2 ], [ %3, %9 ], [ %3, %5 ] ret ptr %15 } declare ptr @cms_Data_create(...) local_unnamed_addr #1 declare i64 @CMS_final(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CMS_ContentInfo_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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_openssl_crypto_cms_extr_cms_smime.c_CMS_data_create
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_machine_routines.c_ml_validate_nofault.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_machine_routines.c_ml_validate_nofault.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ml_validate_nofault(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp sgt i64 %1, 0 br i1 %3, label %4, label %24 4: ; preds = %2, %13 %5 = phi i64 [ %22, %13 ], [ %1, %2 ] %6 = phi i32 [ %21, %13 ], [ %0, %2 ] %7 = tail call i32 @kvtophys(i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %24, label %9 9: ; preds = %4 %10 = tail call i32 @i386_btop(i32 noundef %7) #3 %11 = tail call i32 @pmap_valid_page(i32 noundef %10) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %9 %14 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %15 = load i32, ptr @PAGE_MASK, align 4, !tbaa !5 %16 = and i32 %15, %7 %17 = sub nsw i32 %14, %16 %18 = sext i32 %17 to i64 %19 = tail call i64 @llvm.smin.i64(i64 %5, i64 %18) %20 = trunc i64 %19 to i32 %21 = add i32 %6, %20 %22 = sub nsw i64 %5, %19 %23 = icmp sgt i64 %22, 0 br i1 %23, label %4, label %24, !llvm.loop !9 24: ; preds = %4, %9, %13, %2 %25 = phi ptr [ @TRUE, %2 ], [ @TRUE, %13 ], [ @FALSE, %9 ], [ @FALSE, %4 ] %26 = load i32, ptr %25, align 4, !tbaa !5 ret i32 %26 } declare i32 @kvtophys(i32 noundef) local_unnamed_addr #1 declare i32 @pmap_valid_page(i32 noundef) local_unnamed_addr #1 declare i32 @i386_btop(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_machine_routines.c_ml_validate_nofault.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_machine_routines.c_ml_validate_nofault.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @PAGE_MASK = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ml_validate_nofault(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp sgt i64 %1, 0 br i1 %3, label %4, label %24 4: ; preds = %2, %13 %5 = phi i64 [ %22, %13 ], [ %1, %2 ] %6 = phi i32 [ %21, %13 ], [ %0, %2 ] %7 = tail call i32 @kvtophys(i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %24, label %9 9: ; preds = %4 %10 = tail call i32 @i386_btop(i32 noundef %7) #3 %11 = tail call i32 @pmap_valid_page(i32 noundef %10) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %9 %14 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %15 = load i32, ptr @PAGE_MASK, align 4, !tbaa !6 %16 = and i32 %15, %7 %17 = sub nsw i32 %14, %16 %18 = sext i32 %17 to i64 %19 = tail call i64 @llvm.smin.i64(i64 %5, i64 %18) %20 = trunc i64 %19 to i32 %21 = add i32 %6, %20 %22 = sub nsw i64 %5, %19 %23 = icmp sgt i64 %22, 0 br i1 %23, label %4, label %24, !llvm.loop !10 24: ; preds = %4, %9, %13, %2 %25 = phi ptr [ @TRUE, %2 ], [ @TRUE, %13 ], [ @FALSE, %9 ], [ @FALSE, %4 ] %26 = load i32, ptr %25, align 4, !tbaa !6 ret i32 %26 } declare i32 @kvtophys(i32 noundef) local_unnamed_addr #1 declare i32 @pmap_valid_page(i32 noundef) local_unnamed_addr #1 declare i32 @i386_btop(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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"}
darwin-xnu_osfmk_i386_extr_machine_routines.c_ml_validate_nofault
; ModuleID = 'AnghaBench/linux/drivers/ssb/extr_sdio.c_ssb_sdio_read16.c' source_filename = "AnghaBench/linux/drivers/ssb/extr_sdio.c_ssb_sdio_read16.c" target datalayout = "e-m:e-p270:32:32-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.ssb_bus = type { i32, i32 } @SBSDIO_SB_OFT_ADDR_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"%04X:%04X > %04x, error %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ssb_sdio_read16], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ssb_sdio_read16(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !10 %5 = getelementptr inbounds %struct.ssb_bus, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @sdio_claim_host(i32 noundef %6) #3 %8 = tail call i32 @ssb_sdio_switch_core(ptr noundef %4, ptr noundef nonnull %0) #3 %9 = tail call i64 @unlikely(i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %27 11: ; preds = %2 %12 = load i32, ptr %4, align 4, !tbaa !14 %13 = and i32 %12, 65535 %14 = or i32 %13, %1 %15 = load i32, ptr @SBSDIO_SB_OFT_ADDR_MASK, align 4, !tbaa !10 %16 = and i32 %14, %15 %17 = load i32, ptr %5, align 4, !tbaa !12 %18 = call i32 @sdio_readw(i32 noundef %17, i32 noundef %16, ptr noundef nonnull %3) #3 %19 = load i32, ptr %3, align 4, !tbaa !10 %20 = icmp eq i32 %19, 0 br i1 %20, label %27, label %21 21: ; preds = %11 %22 = call i32 @ssb_sdio_dev(ptr noundef nonnull %4) #3 %23 = load i32, ptr %4, align 4, !tbaa !14 %24 = ashr i32 %23, 16 %25 = load i32, ptr %3, align 4, !tbaa !10 %26 = call i32 @dev_dbg(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %16, i32 noundef %18, i32 noundef %25) #3 br label %27 27: ; preds = %11, %21, %2 %28 = phi i32 [ 65535, %2 ], [ %18, %21 ], [ %18, %11 ] %29 = load i32, ptr %5, align 4, !tbaa !12 %30 = call i32 @sdio_release_host(i32 noundef %29) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %28 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sdio_claim_host(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @ssb_sdio_switch_core(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sdio_readw(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ssb_sdio_dev(ptr noundef) local_unnamed_addr #2 declare i32 @sdio_release_host(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ssb_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 4} !13 = !{!"ssb_bus", !11, i64 0, !11, i64 4} !14 = !{!13, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/ssb/extr_sdio.c_ssb_sdio_read16.c' source_filename = "AnghaBench/linux/drivers/ssb/extr_sdio.c_ssb_sdio_read16.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SBSDIO_SB_OFT_ADDR_MASK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"%04X:%04X > %04x, error %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ssb_sdio_read16], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ssb_sdio_read16(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !11 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = tail call i32 @sdio_claim_host(i32 noundef %6) #3 %8 = tail call i32 @ssb_sdio_switch_core(ptr noundef %4, ptr noundef nonnull %0) #3 %9 = tail call i64 @unlikely(i32 noundef %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %27 11: ; preds = %2 %12 = load i32, ptr %4, align 4, !tbaa !15 %13 = and i32 %12, 65535 %14 = or i32 %13, %1 %15 = load i32, ptr @SBSDIO_SB_OFT_ADDR_MASK, align 4, !tbaa !11 %16 = and i32 %14, %15 %17 = load i32, ptr %5, align 4, !tbaa !13 %18 = call i32 @sdio_readw(i32 noundef %17, i32 noundef %16, ptr noundef nonnull %3) #3 %19 = load i32, ptr %3, align 4, !tbaa !11 %20 = icmp eq i32 %19, 0 br i1 %20, label %27, label %21 21: ; preds = %11 %22 = call i32 @ssb_sdio_dev(ptr noundef nonnull %4) #3 %23 = load i32, ptr %4, align 4, !tbaa !15 %24 = ashr i32 %23, 16 %25 = load i32, ptr %3, align 4, !tbaa !11 %26 = call i32 @dev_dbg(i32 noundef %22, ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %16, i32 noundef %18, i32 noundef %25) #3 br label %27 27: ; preds = %11, %21, %2 %28 = phi i32 [ 65535, %2 ], [ %18, %21 ], [ %18, %11 ] %29 = load i32, ptr %5, align 4, !tbaa !13 %30 = call i32 @sdio_release_host(i32 noundef %29) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %28 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sdio_claim_host(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @ssb_sdio_switch_core(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sdio_readw(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ssb_sdio_dev(ptr noundef) local_unnamed_addr #2 declare i32 @sdio_release_host(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ssb_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 4} !14 = !{!"ssb_bus", !12, i64 0, !12, i64 4} !15 = !{!14, !12, i64 0}
linux_drivers_ssb_extr_sdio.c_ssb_sdio_read16
; ModuleID = 'AnghaBench/radare2/libr/bin/pdb/extr_tpi.c_get_member_index.c' source_filename = "AnghaBench/radare2/libr/bin/pdb/extr_tpi.c_get_member_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @base_idx = dso_local local_unnamed_addr global i32 0, align 4 @p_types_list = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_member_index], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_member_index(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = load i32, ptr @base_idx, align 4, !tbaa !13 %7 = icmp slt i32 %5, %6 br i1 %7, label %12, label %8 8: ; preds = %2 %9 = sub nsw i32 %5, %6 %10 = load i32, ptr @p_types_list, align 4, !tbaa !13 %11 = tail call ptr @r_list_get_n(i32 noundef %10, i32 noundef %9) #2 br label %12 12: ; preds = %2, %8 %13 = phi ptr [ %11, %8 ], [ null, %2 ] %14 = phi i32 [ %9, %8 ], [ %5, %2 ] store ptr %13, ptr %1, align 8, !tbaa !14 ret i32 %14 } declare ptr @r_list_get_n(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_3__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/bin/pdb/extr_tpi.c_get_member_index.c' source_filename = "AnghaBench/radare2/libr/bin/pdb/extr_tpi.c_get_member_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @base_idx = common local_unnamed_addr global i32 0, align 4 @p_types_list = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_member_index], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_member_index(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = load i32, ptr @base_idx, align 4, !tbaa !14 %7 = icmp slt i32 %5, %6 br i1 %7, label %12, label %8 8: ; preds = %2 %9 = sub nsw i32 %5, %6 %10 = load i32, ptr @p_types_list, align 4, !tbaa !14 %11 = tail call ptr @r_list_get_n(i32 noundef %10, i32 noundef %9) #2 br label %12 12: ; preds = %2, %8 %13 = phi ptr [ %11, %8 ], [ null, %2 ] %14 = phi i32 [ %9, %8 ], [ %5, %2 ] store ptr %13, ptr %1, align 8, !tbaa !15 ret i32 %14 } declare ptr @r_list_get_n(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_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !9, i64 0}
radare2_libr_bin_pdb_extr_tpi.c_get_member_index
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_set_gpio_dir.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_set_gpio_dir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ICE1712_IREG_GPIO_DIRECTION = dso_local local_unnamed_addr global i32 0, align 4 @DATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ice1712_set_gpio_dir], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_ice1712_set_gpio_dir(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ICE1712_IREG_GPIO_DIRECTION, align 4, !tbaa !5 %4 = tail call i32 @snd_ice1712_write(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2 %5 = load i32, ptr @DATA, align 4, !tbaa !5 %6 = tail call i32 @ICEREG(ptr noundef %0, i32 noundef %5) #2 %7 = tail call i32 @inb(i32 noundef %6) #2 ret void } declare i32 @snd_ice1712_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @ICEREG(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_set_gpio_dir.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_set_gpio_dir.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ICE1712_IREG_GPIO_DIRECTION = common local_unnamed_addr global i32 0, align 4 @DATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_ice1712_set_gpio_dir], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_ice1712_set_gpio_dir(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ICE1712_IREG_GPIO_DIRECTION, align 4, !tbaa !6 %4 = tail call i32 @snd_ice1712_write(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2 %5 = load i32, ptr @DATA, align 4, !tbaa !6 %6 = tail call i32 @ICEREG(ptr noundef %0, i32 noundef %5) #2 %7 = tail call i32 @inb(i32 noundef %6) #2 ret void } declare i32 @snd_ice1712_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @ICEREG(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_sound_pci_ice1712_extr_ice1712.c_snd_ice1712_set_gpio_dir
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-search.c_build_explicit_list_iterator.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-search.c_build_explicit_list_iterator.c" target datalayout = "e-m:e-p270:32:32-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.explicit_list_iterator = type { ptr, ptr, i32, i32 } @explicit_list_iterator_jump_to = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @build_explicit_list_iterator(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp slt i32 %1, 1 br i1 %3, label %4, label %6 4: ; preds = %2 %5 = tail call i32 (...) @build_empty_iterator() #2 br label %18 6: ; preds = %2 %7 = tail call ptr @zmalloc(i32 noundef 24) #2 %8 = load i32, ptr @explicit_list_iterator_jump_to, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.explicit_list_iterator, ptr %7, i64 0, i32 3 store i32 %8, ptr %9, align 4, !tbaa !9 %10 = zext nneg i32 %1 to i64 %11 = getelementptr inbounds i32, ptr %0, i64 %10 store ptr %11, ptr %7, align 8, !tbaa !12 %12 = getelementptr inbounds i32, ptr %0, i64 1 %13 = getelementptr inbounds %struct.explicit_list_iterator, ptr %7, i64 0, i32 1 store ptr %12, ptr %13, align 8, !tbaa !13 %14 = load i32, ptr %0, align 4, !tbaa !5 %15 = getelementptr inbounds %struct.explicit_list_iterator, ptr %7, i64 0, i32 2 store i32 %14, ptr %15, align 8, !tbaa !14 %16 = ptrtoint ptr %7 to i64 %17 = trunc i64 %16 to i32 br label %18 18: ; preds = %6, %4 %19 = phi i32 [ %5, %4 ], [ %17, %6 ] ret i32 %19 } declare i32 @build_empty_iterator(...) local_unnamed_addr #1 declare ptr @zmalloc(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 20} !10 = !{!"explicit_list_iterator", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!10, !11, i64 8} !14 = !{!10, !6, i64 16}
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-search.c_build_explicit_list_iterator.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-search.c_build_explicit_list_iterator.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @explicit_list_iterator_jump_to = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @build_explicit_list_iterator(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp slt i32 %1, 1 br i1 %3, label %4, label %6 4: ; preds = %2 %5 = tail call i32 @build_empty_iterator() #2 br label %18 6: ; preds = %2 %7 = tail call ptr @zmalloc(i32 noundef 24) #2 %8 = load i32, ptr @explicit_list_iterator_jump_to, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %7, i64 20 store i32 %8, ptr %9, align 4, !tbaa !10 %10 = zext nneg i32 %1 to i64 %11 = getelementptr inbounds i32, ptr %0, i64 %10 store ptr %11, ptr %7, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %0, i64 4 %13 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %12, ptr %13, align 8, !tbaa !14 %14 = load i32, ptr %0, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %7, i64 16 store i32 %14, ptr %15, align 8, !tbaa !15 %16 = ptrtoint ptr %7 to i64 %17 = trunc i64 %16 to i32 br label %18 18: ; preds = %6, %4 %19 = phi i32 [ %5, %4 ], [ %17, %6 ] ret i32 %19 } declare i32 @build_empty_iterator(...) local_unnamed_addr #1 declare ptr @zmalloc(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 20} !11 = !{!"explicit_list_iterator", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!11, !7, i64 16}
kphp-kdb_targ_extr_targ-search.c_build_explicit_list_iterator
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/nm/extr_nm.c_sym_elem_print_all_sysv.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/nm/extr_nm.c_sym_elem_print_all_sysv.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr } %struct.TYPE_6__ = type { i32, i64 } @nm_opts = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @.str = private unnamed_addr constant [7 x i8] c"%-20s|\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"| %c |\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%18s|\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"NOTYPE\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"| |%s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sym_elem_print_all_sysv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sym_elem_print_all_sysv(i8 noundef signext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr getelementptr inbounds (%struct.TYPE_7__, ptr @nm_opts, i64 0, i32 1), align 8 %6 = insertelement <4 x ptr> poison, ptr %2, i64 0 %7 = insertelement <4 x ptr> %6, ptr %1, i64 1 %8 = insertelement <4 x ptr> %7, ptr %3, i64 2 %9 = insertelement <4 x ptr> %8, ptr %5, i64 3 %10 = freeze <4 x ptr> %9 %11 = icmp eq <4 x ptr> %10, zeroinitializer %12 = bitcast <4 x i1> %11 to i4 %13 = icmp eq i4 %12, 0 br i1 %13, label %14, label %37 14: ; preds = %4 %15 = tail call i32 @PRINT_DEMANGLED_NAME(ptr noundef nonnull @.str, ptr noundef nonnull %3) #3 %16 = tail call i64 @IS_UNDEF_SYM_TYPE(i8 noundef signext %0) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1) br label %23 20: ; preds = %14 %21 = load ptr, ptr getelementptr inbounds (%struct.TYPE_7__, ptr @nm_opts, i64 0, i32 1), align 8, !tbaa !5 %22 = tail call i32 %21(ptr noundef nonnull %2) #3 br label %23 23: ; preds = %20, %18 %24 = sext i8 %0 to i32 %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %24) %26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef nonnull @.str.10) %27 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 1 %28 = load i64, ptr %27, align 8, !tbaa !10 %29 = icmp eq i64 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %23 %31 = load ptr, ptr @nm_opts, align 8, !tbaa !14 %32 = tail call i32 %31(ptr noundef nonnull %2) #3 br label %35 33: ; preds = %23 %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1) br label %35 35: ; preds = %33, %30 %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull %1) br label %37 37: ; preds = %4, %35 ret void } declare i32 @PRINT_DEMANGLED_NAME(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_UNDEF_SYM_TYPE(i8 noundef signext) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"TYPE_6__", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/nm/extr_nm.c_sym_elem_print_all_sysv.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/nm/extr_nm.c_sym_elem_print_all_sysv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { ptr, ptr } @nm_opts = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8 @.str = private unnamed_addr constant [7 x i8] c"%-20s|\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"| %c |\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%18s|\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"NOTYPE\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"| |%s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sym_elem_print_all_sysv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sym_elem_print_all_sysv(i8 noundef signext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = icmp eq ptr %1, null %6 = icmp eq ptr %2, null %7 = or i1 %5, %6 %8 = icmp eq ptr %3, null %9 = or i1 %7, %8 %10 = load ptr, ptr getelementptr inbounds (i8, ptr @nm_opts, i64 8), align 8 %11 = icmp eq ptr %10, null %12 = select i1 %9, i1 true, i1 %11 br i1 %12, label %36, label %13 13: ; preds = %4 %14 = tail call i32 @PRINT_DEMANGLED_NAME(ptr noundef nonnull @.str, ptr noundef nonnull %3) #3 %15 = tail call i64 @IS_UNDEF_SYM_TYPE(i8 noundef signext %0) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1) br label %22 19: ; preds = %13 %20 = load ptr, ptr getelementptr inbounds (i8, ptr @nm_opts, i64 8), align 8, !tbaa !6 %21 = tail call i32 %20(ptr noundef nonnull %2) #3 br label %22 22: ; preds = %19, %17 %23 = sext i8 %0 to i32 %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %23) %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef nonnull @.str.10) %26 = getelementptr inbounds i8, ptr %2, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !11 %28 = icmp eq i64 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %22 %30 = load ptr, ptr @nm_opts, align 8, !tbaa !15 %31 = tail call i32 %30(ptr noundef nonnull %2) #3 br label %34 32: ; preds = %22 %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1) br label %34 34: ; preds = %32, %29 %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull %1) br label %36 36: ; preds = %4, %34 ret void } declare i32 @PRINT_DEMANGLED_NAME(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_UNDEF_SYM_TYPE(i8 noundef signext) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 8} !12 = !{!"TYPE_6__", !13, i64 0, !14, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 0}
freebsd_contrib_elftoolchain_nm_extr_nm.c_sym_elem_print_all_sysv
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.4/src/extr_lcode.c_getjumpcontrol.c' source_filename = "AnghaBench/xLua/build/lua-5.3.4/src/extr_lcode.c_getjumpcontrol.c" target datalayout = "e-m:e-p270:32:32-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 @getjumpcontrol], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @getjumpcontrol(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = sext i32 %1 to i64 %6 = getelementptr inbounds i32, ptr %4, i64 %5 %7 = icmp sgt i32 %1, 0 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = getelementptr inbounds i32, ptr %6, i64 -1 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = tail call i32 @GET_OPCODE(i32 noundef %10) #2 %12 = tail call i64 @testTMode(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %8, %2 br label %15 15: ; preds = %8, %14 %16 = phi ptr [ %6, %14 ], [ %9, %8 ] ret ptr %16 } declare i64 @testTMode(i32 noundef) local_unnamed_addr #1 declare i32 @GET_OPCODE(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_5__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.4/src/extr_lcode.c_getjumpcontrol.c' source_filename = "AnghaBench/xLua/build/lua-5.3.4/src/extr_lcode.c_getjumpcontrol.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 @getjumpcontrol], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @getjumpcontrol(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = sext i32 %1 to i64 %6 = getelementptr inbounds i32, ptr %4, i64 %5 %7 = icmp sgt i32 %1, 0 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %6, i64 -4 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i32 @GET_OPCODE(i32 noundef %10) #2 %12 = tail call i64 @testTMode(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %8, %2 br label %15 15: ; preds = %8, %14 %16 = phi ptr [ %6, %14 ], [ %9, %8 ] ret ptr %16 } declare i64 @testTMode(i32 noundef) local_unnamed_addr #1 declare i32 @GET_OPCODE(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_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
xLua_build_lua-5.3.4_src_extr_lcode.c_getjumpcontrol
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mm/extr_ioremap.c_remap_area_pages.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mm/extr_ioremap.c_remap_area_pages.c" target datalayout = "e-m:e-p270:32:32-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 @remap_area_pages], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @remap_area_pages(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = add i64 %2, %0 %6 = tail call i64 @__pfn_to_phys(i64 noundef %1) #2 %7 = icmp ule i64 %5, %0 %8 = zext i1 %7 to i32 %9 = tail call i32 @BUG_ON(i32 noundef %8) #2 %10 = tail call ptr @pgd_offset_k(i64 noundef %0) #2 br label %11 11: ; preds = %18, %4 %12 = phi i64 [ %0, %4 ], [ %15, %18 ] %13 = phi i64 [ %6, %4 ], [ %20, %18 ] %14 = phi ptr [ %10, %4 ], [ %21, %18 ] %15 = tail call i64 @pgd_addr_end(i64 noundef %12, i64 noundef %5) #2 %16 = tail call i32 @remap_area_pmd(ptr noundef %14, i64 noundef %12, i64 noundef %15, i64 noundef %13, ptr noundef %3) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %11 %19 = sub i64 %13, %12 %20 = add i64 %19, %15 %21 = getelementptr inbounds i32, ptr %14, i64 1 %22 = icmp eq i64 %15, %5 br i1 %22, label %23, label %11, !llvm.loop !5 23: ; preds = %11, %18 ret i32 %16 } declare i64 @__pfn_to_phys(i64 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare ptr @pgd_offset_k(i64 noundef) local_unnamed_addr #1 declare i64 @pgd_addr_end(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @remap_area_pmd(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mm/extr_ioremap.c_remap_area_pages.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mm/extr_ioremap.c_remap_area_pages.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 @remap_area_pages], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @remap_area_pages(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = add i64 %2, %0 %6 = tail call i64 @__pfn_to_phys(i64 noundef %1) #2 %7 = icmp ule i64 %5, %0 %8 = zext i1 %7 to i32 %9 = tail call i32 @BUG_ON(i32 noundef %8) #2 %10 = tail call ptr @pgd_offset_k(i64 noundef %0) #2 br label %11 11: ; preds = %18, %4 %12 = phi i64 [ %0, %4 ], [ %15, %18 ] %13 = phi i64 [ %6, %4 ], [ %20, %18 ] %14 = phi ptr [ %10, %4 ], [ %21, %18 ] %15 = tail call i64 @pgd_addr_end(i64 noundef %12, i64 noundef %5) #2 %16 = tail call i32 @remap_area_pmd(ptr noundef %14, i64 noundef %12, i64 noundef %15, i64 noundef %13, ptr noundef %3) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %11 %19 = sub i64 %13, %12 %20 = add i64 %19, %15 %21 = getelementptr inbounds i8, ptr %14, i64 4 %22 = icmp eq i64 %15, %5 br i1 %22, label %23, label %11, !llvm.loop !6 23: ; preds = %11, %18 ret i32 %16 } declare i64 @__pfn_to_phys(i64 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare ptr @pgd_offset_k(i64 noundef) local_unnamed_addr #1 declare i64 @pgd_addr_end(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @remap_area_pmd(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_arch_arm_mm_extr_ioremap.c_remap_area_pages
; ModuleID = 'AnghaBench/linux/drivers/i2c/extr_i2c-slave-eeprom.c_i2c_slave_eeprom_slave_cb.c' source_filename = "AnghaBench/linux/drivers/i2c/extr_i2c-slave-eeprom.c_i2c_slave_eeprom_slave_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.eeprom_data = type { i32, ptr, i64, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @i2c_slave_eeprom_slave_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @i2c_slave_eeprom_slave_cb(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 switch i32 %1, label %58 [ i32 129, label %5 i32 132, label %40 i32 131, label %43 i32 130, label %56 i32 128, label %56 ] 5: ; preds = %3 %6 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 3 %7 = load i32, ptr %6, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 6 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %22 11: ; preds = %5 %12 = icmp eq i32 %7, 0 br i1 %12, label %16, label %13 13: ; preds = %11 %14 = load i32, ptr %4, align 8, !tbaa !13 %15 = shl i32 %14, 8 br label %17 16: ; preds = %11 store i32 0, ptr %4, align 8, !tbaa !13 br label %17 17: ; preds = %13, %16 %18 = phi i32 [ %15, %13 ], [ 0, %16 ] %19 = load i32, ptr %2, align 4, !tbaa !14 %20 = or i32 %18, %19 store i32 %20, ptr %4, align 8, !tbaa !13 %21 = add nsw i32 %7, 1 store i32 %21, ptr %6, align 8, !tbaa !5 br label %58 22: ; preds = %5 %23 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 5 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %58 26: ; preds = %22 %27 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 4 %28 = tail call i32 @spin_lock(ptr noundef nonnull %27) #2 %29 = load i32, ptr %2, align 4, !tbaa !14 %30 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !16 %32 = load i32, ptr %4, align 8, !tbaa !13 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 8, !tbaa !13 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 2 %36 = load i64, ptr %35, align 8, !tbaa !17 %37 = and i64 %36, %34 %38 = getelementptr inbounds i32, ptr %31, i64 %37 store i32 %29, ptr %38, align 4, !tbaa !14 %39 = tail call i32 @spin_unlock(ptr noundef nonnull %27) #2 br label %58 40: ; preds = %3 %41 = load i32, ptr %4, align 8, !tbaa !13 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 8, !tbaa !13 br label %43 43: ; preds = %3, %40 %44 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 4 %45 = tail call i32 @spin_lock(ptr noundef nonnull %44) #2 %46 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 1 %47 = load ptr, ptr %46, align 8, !tbaa !16 %48 = load i32, ptr %4, align 8, !tbaa !13 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 2 %51 = load i64, ptr %50, align 8, !tbaa !17 %52 = and i64 %51, %49 %53 = getelementptr inbounds i32, ptr %47, i64 %52 %54 = load i32, ptr %53, align 4, !tbaa !14 store i32 %54, ptr %2, align 4, !tbaa !14 %55 = tail call i32 @spin_unlock(ptr noundef nonnull %44) #2 br label %58 56: ; preds = %3, %3 %57 = getelementptr inbounds %struct.eeprom_data, ptr %4, i64 0, i32 3 store i32 0, ptr %57, align 8, !tbaa !5 br label %58 58: ; preds = %3, %17, %26, %22, %56, %43 ret i32 0 } declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"eeprom_data", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 36} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 32} !16 = !{!6, !10, i64 8} !17 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/i2c/extr_i2c-slave-eeprom.c_i2c_slave_eeprom_slave_cb.c' source_filename = "AnghaBench/linux/drivers/i2c/extr_i2c-slave-eeprom.c_i2c_slave_eeprom_slave_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @i2c_slave_eeprom_slave_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @i2c_slave_eeprom_slave_cb(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 switch i32 %1, label %58 [ i32 129, label %5 i32 132, label %40 i32 131, label %43 i32 130, label %56 i32 128, label %56 ] 5: ; preds = %3 %6 = getelementptr inbounds i8, ptr %4, i64 24 %7 = load i32, ptr %6, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %4, i64 36 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %22 11: ; preds = %5 %12 = icmp eq i32 %7, 0 br i1 %12, label %16, label %13 13: ; preds = %11 %14 = load i32, ptr %4, align 8, !tbaa !14 %15 = shl i32 %14, 8 br label %17 16: ; preds = %11 store i32 0, ptr %4, align 8, !tbaa !14 br label %17 17: ; preds = %13, %16 %18 = phi i32 [ %15, %13 ], [ 0, %16 ] %19 = load i32, ptr %2, align 4, !tbaa !15 %20 = or i32 %18, %19 store i32 %20, ptr %4, align 8, !tbaa !14 %21 = add nsw i32 %7, 1 store i32 %21, ptr %6, align 8, !tbaa !6 br label %58 22: ; preds = %5 %23 = getelementptr inbounds i8, ptr %4, i64 32 %24 = load i32, ptr %23, align 8, !tbaa !16 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %58 26: ; preds = %22 %27 = getelementptr inbounds i8, ptr %4, i64 28 %28 = tail call i32 @spin_lock(ptr noundef nonnull %27) #2 %29 = load i32, ptr %2, align 4, !tbaa !15 %30 = getelementptr inbounds i8, ptr %4, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !17 %32 = load i32, ptr %4, align 8, !tbaa !14 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 8, !tbaa !14 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %4, i64 16 %36 = load i64, ptr %35, align 8, !tbaa !18 %37 = and i64 %36, %34 %38 = getelementptr inbounds i32, ptr %31, i64 %37 store i32 %29, ptr %38, align 4, !tbaa !15 %39 = tail call i32 @spin_unlock(ptr noundef nonnull %27) #2 br label %58 40: ; preds = %3 %41 = load i32, ptr %4, align 8, !tbaa !14 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 8, !tbaa !14 br label %43 43: ; preds = %3, %40 %44 = getelementptr inbounds i8, ptr %4, i64 28 %45 = tail call i32 @spin_lock(ptr noundef nonnull %44) #2 %46 = getelementptr inbounds i8, ptr %4, i64 8 %47 = load ptr, ptr %46, align 8, !tbaa !17 %48 = load i32, ptr %4, align 8, !tbaa !14 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %4, i64 16 %51 = load i64, ptr %50, align 8, !tbaa !18 %52 = and i64 %51, %49 %53 = getelementptr inbounds i32, ptr %47, i64 %52 %54 = load i32, ptr %53, align 4, !tbaa !15 store i32 %54, ptr %2, align 4, !tbaa !15 %55 = tail call i32 @spin_unlock(ptr noundef nonnull %44) #2 br label %58 56: ; preds = %3, %3 %57 = getelementptr inbounds i8, ptr %4, i64 24 store i32 0, ptr %57, align 8, !tbaa !6 br label %58 58: ; preds = %3, %17, %26, %22, %56, %43 ret i32 0 } declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"eeprom_data", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 36} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 32} !17 = !{!7, !11, i64 8} !18 = !{!7, !12, i64 16}
linux_drivers_i2c_extr_i2c-slave-eeprom.c_i2c_slave_eeprom_slave_cb
; ModuleID = 'AnghaBench/linux/drivers/media/platform/vicodec/extr_vicodec-core.c_vicodec_buf_out_validate.c' source_filename = "AnghaBench/linux/drivers/media/platform/vicodec/extr_vicodec-core.c_vicodec_buf_out_validate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @V4L2_FIELD_NONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vicodec_buf_out_validate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vicodec_buf_out_validate(ptr noundef %0) #0 { %2 = tail call ptr @to_vb2_v4l2_buffer(ptr noundef %0) #2 %3 = load i32, ptr @V4L2_FIELD_NONE, align 4, !tbaa !5 store i32 %3, ptr %2, align 4, !tbaa !9 ret i32 0 } declare ptr @to_vb2_v4l2_buffer(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 = !{!"vb2_v4l2_buffer", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/vicodec/extr_vicodec-core.c_vicodec_buf_out_validate.c' source_filename = "AnghaBench/linux/drivers/media/platform/vicodec/extr_vicodec-core.c_vicodec_buf_out_validate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @V4L2_FIELD_NONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vicodec_buf_out_validate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @vicodec_buf_out_validate(ptr noundef %0) #0 { %2 = tail call ptr @to_vb2_v4l2_buffer(ptr noundef %0) #2 %3 = load i32, ptr @V4L2_FIELD_NONE, align 4, !tbaa !6 store i32 %3, ptr %2, align 4, !tbaa !10 ret i32 0 } declare ptr @to_vb2_v4l2_buffer(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 = !{!"vb2_v4l2_buffer", !7, i64 0}
linux_drivers_media_platform_vicodec_extr_vicodec-core.c_vicodec_buf_out_validate
; ModuleID = 'AnghaBench/systemd/src/core/extr_socket.c_socket_unwatch_control_pid.c' source_filename = "AnghaBench/systemd/src/core/extr_socket.c_socket_unwatch_control_pid.c" target datalayout = "e-m:e-p270:32:32-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 @socket_unwatch_control_pid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @socket_unwatch_control_pid(ptr noundef %0) #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp slt i64 %3, 1 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = tail call i32 @UNIT(ptr noundef nonnull %0) #2 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = tail call i32 @unit_unwatch_pid(i32 noundef %6, i64 noundef %7) #2 store i64 0, ptr %0, align 8, !tbaa !5 br label %9 9: ; preds = %1, %5 ret void } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @unit_unwatch_pid(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @UNIT(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/systemd/src/core/extr_socket.c_socket_unwatch_control_pid.c' source_filename = "AnghaBench/systemd/src/core/extr_socket.c_socket_unwatch_control_pid.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 @socket_unwatch_control_pid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @socket_unwatch_control_pid(ptr noundef %0) #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp slt i64 %3, 1 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = tail call i32 @UNIT(ptr noundef nonnull %0) #2 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = tail call i32 @unit_unwatch_pid(i32 noundef %6, i64 noundef %7) #2 store i64 0, ptr %0, align 8, !tbaa !6 br label %9 9: ; preds = %1, %5 ret void } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @unit_unwatch_pid(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @UNIT(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
systemd_src_core_extr_socket.c_socket_unwatch_control_pid
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_find_f_link.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_find_f_link.c" target datalayout = "e-m:e-p270:32:32-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.fabric = type { i32, ptr } %struct.TYPE_2__ = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @find_f_link], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal noundef ptr @find_f_link(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds %struct.fabric, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %50, label %9 9: ; preds = %5 %10 = load i32, ptr %0, align 8, !tbaa !11 %11 = icmp eq i32 %10, 0 br i1 %11, label %50, label %12 12: ; preds = %9 %13 = zext i32 %10 to i64 br label %14 14: ; preds = %12, %47 %15 = phi i64 [ 0, %12 ], [ %48, %47 ] %16 = getelementptr inbounds ptr, ptr %7, i64 %15 %17 = load ptr, ptr %16, align 8, !tbaa !12 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = load i64, ptr %18, align 8, !tbaa !15 %20 = icmp eq i64 %19, %1 br i1 %20, label %21, label %33 21: ; preds = %14 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !18 %24 = icmp eq i32 %23, %2 br i1 %24, label %25, label %33 25: ; preds = %21 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 1 %27 = load i64, ptr %26, align 8, !tbaa !15 %28 = icmp eq i64 %27, %3 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 1, i32 1 %31 = load i32, ptr %30, align 8, !tbaa !18 %32 = icmp eq i32 %31, %4 br i1 %32, label %50, label %33 33: ; preds = %29, %25, %21, %14 %34 = icmp eq i64 %19, %3 br i1 %34, label %35, label %47 35: ; preds = %33 %36 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 0, i32 1 %37 = load i32, ptr %36, align 8, !tbaa !18 %38 = icmp eq i32 %37, %4 br i1 %38, label %39, label %47 39: ; preds = %35 %40 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 1 %41 = load i64, ptr %40, align 8, !tbaa !15 %42 = icmp eq i64 %41, %1 br i1 %42, label %43, label %47 43: ; preds = %39 %44 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 1, i32 1 %45 = load i32, ptr %44, align 8, !tbaa !18 %46 = icmp eq i32 %45, %2 br i1 %46, label %50, label %47 47: ; preds = %33, %35, %39, %43 %48 = add nuw nsw i64 %15, 1 %49 = icmp eq i64 %48, %13 br i1 %49, label %50, label %14, !llvm.loop !19 50: ; preds = %43, %29, %47, %9, %5 %51 = phi ptr [ null, %5 ], [ null, %9 ], [ %17, %43 ], [ %17, %29 ], [ null, %47 ] ret ptr %51 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"fabric", !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, !7, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"link", !10, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_2__", !17, i64 0, !7, i64 8} !17 = !{!"long", !8, i64 0} !18 = !{!16, !7, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_find_f_link.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_find_f_link.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 @find_f_link], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal noundef ptr @find_f_link(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %50, label %9 9: ; preds = %5 %10 = load i32, ptr %0, align 8, !tbaa !12 %11 = icmp eq i32 %10, 0 br i1 %11, label %50, label %12 12: ; preds = %9 %13 = zext i32 %10 to i64 br label %14 14: ; preds = %12, %47 %15 = phi i64 [ 0, %12 ], [ %48, %47 ] %16 = getelementptr inbounds ptr, ptr %7, i64 %15 %17 = load ptr, ptr %16, align 8, !tbaa !13 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = icmp eq i64 %19, %1 br i1 %20, label %21, label %33 21: ; preds = %14 %22 = getelementptr inbounds i8, ptr %18, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !19 %24 = icmp eq i32 %23, %2 br i1 %24, label %25, label %33 25: ; preds = %21 %26 = getelementptr inbounds i8, ptr %18, i64 16 %27 = load i64, ptr %26, align 8, !tbaa !16 %28 = icmp eq i64 %27, %3 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = getelementptr inbounds i8, ptr %18, i64 24 %31 = load i32, ptr %30, align 8, !tbaa !19 %32 = icmp eq i32 %31, %4 br i1 %32, label %50, label %33 33: ; preds = %29, %25, %21, %14 %34 = icmp eq i64 %19, %3 br i1 %34, label %35, label %47 35: ; preds = %33 %36 = getelementptr inbounds i8, ptr %18, i64 8 %37 = load i32, ptr %36, align 8, !tbaa !19 %38 = icmp eq i32 %37, %4 br i1 %38, label %39, label %47 39: ; preds = %35 %40 = getelementptr inbounds i8, ptr %18, i64 16 %41 = load i64, ptr %40, align 8, !tbaa !16 %42 = icmp eq i64 %41, %1 br i1 %42, label %43, label %47 43: ; preds = %39 %44 = getelementptr inbounds i8, ptr %18, i64 24 %45 = load i32, ptr %44, align 8, !tbaa !19 %46 = icmp eq i32 %45, %2 br i1 %46, label %50, label %47 47: ; preds = %33, %35, %39, %43 %48 = add nuw nsw i64 %15, 1 %49 = icmp eq i64 %48, %13 br i1 %49, label %50, label %14, !llvm.loop !20 50: ; preds = %43, %29, %47, %9, %5 %51 = phi ptr [ null, %5 ], [ null, %9 ], [ %17, %43 ], [ %17, %29 ], [ null, %47 ] ret ptr %51 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"fabric", !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, !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"link", !11, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_2__", !18, i64 0, !8, i64 8} !18 = !{!"long", !9, i64 0} !19 = !{!17, !8, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ofed_opensm_opensm_extr_osm_torus.c_find_f_link
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_t4_hw.c_t4_identify_port.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_t4_hw.c_t4_identify_port.c" target datalayout = "e-m:e-p270:32:32-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.fw_vi_enable_cmd = type { i32, ptr, ptr } @FW_VI_ENABLE_CMD = dso_local local_unnamed_addr global i32 0, align 4 @FW_CMD_REQUEST_F = dso_local local_unnamed_addr global i32 0, align 4 @FW_CMD_EXEC_F = dso_local local_unnamed_addr global i32 0, align 4 @FW_VI_ENABLE_CMD_LED_F = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @t4_identify_port(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.fw_vi_enable_cmd, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3 %6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 24) #3 %7 = load i32, ptr @FW_VI_ENABLE_CMD, align 4, !tbaa !5 %8 = call i32 @FW_CMD_OP_V(i32 noundef %7) #3 %9 = load i32, ptr @FW_CMD_REQUEST_F, align 4, !tbaa !5 %10 = or i32 %9, %8 %11 = load i32, ptr @FW_CMD_EXEC_F, align 4, !tbaa !5 %12 = or i32 %10, %11 %13 = call i32 @FW_VI_ENABLE_CMD_VIID_V(i32 noundef %2) #3 %14 = or i32 %12, %13 %15 = call ptr @cpu_to_be32(i32 noundef %14) #3 %16 = getelementptr inbounds %struct.fw_vi_enable_cmd, ptr %5, i64 0, i32 2 store ptr %15, ptr %16, align 8, !tbaa !9 %17 = load i32, ptr @FW_VI_ENABLE_CMD_LED_F, align 4, !tbaa !5 %18 = call i32 @FW_LEN16(ptr noundef nonnull byval(%struct.fw_vi_enable_cmd) align 8 %5) #3 %19 = or i32 %18, %17 %20 = call ptr @cpu_to_be32(i32 noundef %19) #3 %21 = getelementptr inbounds %struct.fw_vi_enable_cmd, ptr %5, i64 0, i32 1 store ptr %20, ptr %21, align 8, !tbaa !12 %22 = call i32 @cpu_to_be16(i32 noundef %3) #3 store i32 %22, ptr %5, align 8, !tbaa !13 %23 = call i32 @t4_wr_mbox(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 24, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #2 declare i32 @FW_CMD_OP_V(i32 noundef) local_unnamed_addr #2 declare i32 @FW_VI_ENABLE_CMD_VIID_V(i32 noundef) local_unnamed_addr #2 declare i32 @FW_LEN16(ptr noundef byval(%struct.fw_vi_enable_cmd) align 8) local_unnamed_addr #2 declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #2 declare i32 @t4_wr_mbox(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"fw_vi_enable_cmd", !6, i64 0, !11, i64 8, !11, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_t4_hw.c_t4_identify_port.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_t4_hw.c_t4_identify_port.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.fw_vi_enable_cmd = type { i32, ptr, ptr } @FW_VI_ENABLE_CMD = common local_unnamed_addr global i32 0, align 4 @FW_CMD_REQUEST_F = common local_unnamed_addr global i32 0, align 4 @FW_CMD_EXEC_F = common local_unnamed_addr global i32 0, align 4 @FW_VI_ENABLE_CMD_LED_F = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @t4_identify_port(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.fw_vi_enable_cmd, align 8 %6 = alloca %struct.fw_vi_enable_cmd, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4 %7 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 24) #4 %8 = load i32, ptr @FW_VI_ENABLE_CMD, align 4, !tbaa !6 %9 = call i32 @FW_CMD_OP_V(i32 noundef %8) #4 %10 = load i32, ptr @FW_CMD_REQUEST_F, align 4, !tbaa !6 %11 = or i32 %10, %9 %12 = load i32, ptr @FW_CMD_EXEC_F, align 4, !tbaa !6 %13 = or i32 %11, %12 %14 = call i32 @FW_VI_ENABLE_CMD_VIID_V(i32 noundef %2) #4 %15 = or i32 %13, %14 %16 = call ptr @cpu_to_be32(i32 noundef %15) #4 %17 = getelementptr inbounds i8, ptr %5, i64 16 store ptr %16, ptr %17, align 8, !tbaa !10 %18 = load i32, ptr @FW_VI_ENABLE_CMD_LED_F, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 24, i1 false), !tbaa.struct !13 %19 = call i32 @FW_LEN16(ptr noundef nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4 %20 = or i32 %19, %18 %21 = call ptr @cpu_to_be32(i32 noundef %20) #4 %22 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %21, ptr %22, align 8, !tbaa !15 %23 = call i32 @cpu_to_be16(i32 noundef %3) #4 store i32 %23, ptr %5, align 8, !tbaa !16 %24 = call i32 @t4_wr_mbox(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 24, ptr noundef null) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #2 declare i32 @FW_CMD_OP_V(i32 noundef) local_unnamed_addr #2 declare i32 @FW_VI_ENABLE_CMD_VIID_V(i32 noundef) local_unnamed_addr #2 declare i32 @FW_LEN16(ptr 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #2 declare i32 @t4_wr_mbox(ptr noundef, i32 noundef, ptr noundef, i32 noundef, 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 = { 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"fw_vi_enable_cmd", !7, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{i64 0, i64 4, !6, i64 8, i64 8, !14, i64 16, i64 8, !14} !14 = !{!12, !12, i64 0} !15 = !{!11, !12, i64 8} !16 = !{!11, !7, i64 0}
linux_drivers_net_ethernet_chelsio_cxgb4_extr_t4_hw.c_t4_identify_port
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/lfkeyboards/lfk87/keymaps/iso/extr_keymap.c_matrix_init_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/lfkeyboards/lfk87/keymaps/iso/extr_keymap.c_matrix_init_user.c" target datalayout = "e-m:e-p270:32:32-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 @matrix_init_user() local_unnamed_addr #0 { %1 = tail call i32 (...) @eeconfig_read_default_layer() #2 %2 = icmp sgt i32 %1, 1 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = tail call i32 @eeconfig_update_default_layer(i32 noundef 1) #2 %5 = tail call i32 @default_layer_set(i32 noundef 1) #2 br label %6 6: ; preds = %3, %0 ret void } declare i32 @eeconfig_read_default_layer(...) local_unnamed_addr #1 declare i32 @eeconfig_update_default_layer(i32 noundef) local_unnamed_addr #1 declare i32 @default_layer_set(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/qmk_firmware/keyboards/lfkeyboards/lfk87/keymaps/iso/extr_keymap.c_matrix_init_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/lfkeyboards/lfk87/keymaps/iso/extr_keymap.c_matrix_init_user.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 @matrix_init_user() local_unnamed_addr #0 { %1 = tail call i32 @eeconfig_read_default_layer() #2 %2 = icmp sgt i32 %1, 1 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = tail call i32 @eeconfig_update_default_layer(i32 noundef 1) #2 %5 = tail call i32 @default_layer_set(i32 noundef 1) #2 br label %6 6: ; preds = %3, %0 ret void } declare i32 @eeconfig_read_default_layer(...) local_unnamed_addr #1 declare i32 @eeconfig_update_default_layer(i32 noundef) local_unnamed_addr #1 declare i32 @default_layer_set(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)"}
qmk_firmware_keyboards_lfkeyboards_lfk87_keymaps_iso_extr_keymap.c_matrix_init_user
; ModuleID = 'AnghaBench/linux/net/802/extr_mrp.c_mrp_unregister_application.c' source_filename = "AnghaBench/linux/net/802/extr_mrp.c_mrp_unregister_application.c" target datalayout = "e-m:e-p270:32:32-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 @mrp_unregister_application(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dev_remove_pack(ptr noundef %0) #2 ret void } declare i32 @dev_remove_pack(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/net/802/extr_mrp.c_mrp_unregister_application.c' source_filename = "AnghaBench/linux/net/802/extr_mrp.c_mrp_unregister_application.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 @mrp_unregister_application(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dev_remove_pack(ptr noundef %0) #2 ret void } declare i32 @dev_remove_pack(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_net_802_extr_mrp.c_mrp_unregister_application
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_viu.c_meson_viu_set_osd_lut.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_viu.c_meson_viu_set_osd_lut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VIU_LUT_OSD_EOTF = dso_local local_unnamed_addr global i32 0, align 4 @VIU_OSD1_EOTF_LUT_ADDR_PORT = dso_local local_unnamed_addr global i32 0, align 4 @VIU_OSD1_EOTF_LUT_DATA_PORT = dso_local local_unnamed_addr global i32 0, align 4 @VIU_OSD1_EOTF_CTL = dso_local local_unnamed_addr global i32 0, align 4 @VIU_LUT_OSD_OETF = dso_local local_unnamed_addr global i32 0, align 4 @VIU_OSD1_OETF_LUT_ADDR_PORT = dso_local local_unnamed_addr global i32 0, align 4 @VIU_OSD1_OETF_LUT_DATA_PORT = dso_local local_unnamed_addr global i32 0, align 4 @VIU_OSD1_OETF_CTL = dso_local local_unnamed_addr global i32 0, align 4 @OSD_OETF_LUT_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @OSD_EOTF_LUT_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @meson_viu_set_osd_lut], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @meson_viu_set_osd_lut(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, i32 noundef %5) #0 { %7 = load i32, ptr @VIU_LUT_OSD_EOTF, align 4, !tbaa !5 %8 = icmp eq i32 %7, %1 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr @VIU_LUT_OSD_OETF, align 4, !tbaa !5 %11 = icmp eq i32 %10, %1 br i1 %11, label %18, label %229 12: ; preds = %6 %13 = load i32, ptr @VIU_OSD1_EOTF_CTL, align 4, !tbaa !5 %14 = load i32, ptr @VIU_OSD1_EOTF_LUT_DATA_PORT, align 4, !tbaa !5 %15 = load i32, ptr @VIU_OSD1_EOTF_LUT_ADDR_PORT, align 4, !tbaa !5 %16 = load i32, ptr @VIU_LUT_OSD_OETF, align 4, !tbaa !5 %17 = icmp eq i32 %16, %1 br i1 %17, label %22, label %125 18: ; preds = %9 %19 = load i32, ptr @VIU_OSD1_OETF_CTL, align 4, !tbaa !5 %20 = load i32, ptr @VIU_OSD1_OETF_LUT_DATA_PORT, align 4, !tbaa !5 %21 = load i32, ptr @VIU_OSD1_OETF_LUT_ADDR_PORT, align 4, !tbaa !5 br label %22 22: ; preds = %18, %12 %23 = phi i32 [ %21, %18 ], [ %15, %12 ] %24 = phi i32 [ %20, %18 ], [ %14, %12 ] %25 = phi i32 [ %19, %18 ], [ %13, %12 ] %26 = load i64, ptr %0, align 8, !tbaa !9 %27 = tail call i64 @_REG(i32 noundef %23) #2 %28 = add nsw i64 %27, %26 %29 = tail call i32 @writel(i32 noundef 0, i64 noundef %28) #2 %30 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !5 %31 = icmp sgt i32 %30, 1 br i1 %31, label %32, label %51 32: ; preds = %22, %32 %33 = phi i64 [ %46, %32 ], [ 0, %22 ] %34 = shl nuw nsw i64 %33, 1 %35 = getelementptr inbounds i32, ptr %2, i64 %34 %36 = load i32, ptr %35, align 4, !tbaa !5 %37 = or disjoint i64 %34, 1 %38 = getelementptr inbounds i32, ptr %2, i64 %37 %39 = load i32, ptr %38, align 4, !tbaa !5 %40 = shl i32 %39, 16 %41 = or i32 %40, %36 %42 = load i64, ptr %0, align 8, !tbaa !9 %43 = tail call i64 @_REG(i32 noundef %24) #2 %44 = add nsw i64 %43, %42 %45 = tail call i32 @writel(i32 noundef %41, i64 noundef %44) #2 %46 = add nuw nsw i64 %33, 1 %47 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !5 %48 = sdiv i32 %47, 2 %49 = sext i32 %48 to i64 %50 = icmp slt i64 %46, %49 br i1 %50, label %32, label %51, !llvm.loop !12 51: ; preds = %32, %22 %52 = phi i32 [ %30, %22 ], [ %47, %32 ] %53 = sext i32 %52 to i64 %54 = getelementptr i32, ptr %2, i64 %53 %55 = getelementptr i32, ptr %54, i64 -1 %56 = load i32, ptr %55, align 4, !tbaa !5 %57 = load i32, ptr %3, align 4, !tbaa !5 %58 = shl i32 %57, 16 %59 = or i32 %58, %56 %60 = load i64, ptr %0, align 8, !tbaa !9 %61 = tail call i64 @_REG(i32 noundef %24) #2 %62 = add nsw i64 %61, %60 %63 = tail call i32 @writel(i32 noundef %59, i64 noundef %62) #2 %64 = getelementptr i32, ptr %3, i64 2 %65 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !5 %66 = icmp sgt i32 %65, 1 br i1 %66, label %69, label %107 67: ; preds = %69 %68 = icmp sgt i32 %84, 1 br i1 %68, label %88, label %107 69: ; preds = %51, %69 %70 = phi i64 [ %83, %69 ], [ 0, %51 ] %71 = shl nuw nsw i64 %70, 1 %72 = or disjoint i64 %71, 1 %73 = getelementptr inbounds i32, ptr %3, i64 %72 %74 = load i32, ptr %73, align 4, !tbaa !5 %75 = getelementptr i32, ptr %64, i64 %71 %76 = load i32, ptr %75, align 4, !tbaa !5 %77 = shl i32 %76, 16 %78 = or i32 %77, %74 %79 = load i64, ptr %0, align 8, !tbaa !9 %80 = tail call i64 @_REG(i32 noundef %24) #2 %81 = add nsw i64 %80, %79 %82 = tail call i32 @writel(i32 noundef %78, i64 noundef %81) #2 %83 = add nuw nsw i64 %70, 1 %84 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !5 %85 = sdiv i32 %84, 2 %86 = sext i32 %85 to i64 %87 = icmp slt i64 %83, %86 br i1 %87, label %69, label %67, !llvm.loop !14 88: ; preds = %67, %88 %89 = phi i64 [ %102, %88 ], [ 0, %67 ] %90 = shl nuw nsw i64 %89, 1 %91 = getelementptr inbounds i32, ptr %4, i64 %90 %92 = load i32, ptr %91, align 4, !tbaa !5 %93 = or disjoint i64 %90, 1 %94 = getelementptr inbounds i32, ptr %4, i64 %93 %95 = load i32, ptr %94, align 4, !tbaa !5 %96 = shl i32 %95, 16 %97 = or i32 %96, %92 %98 = load i64, ptr %0, align 8, !tbaa !9 %99 = tail call i64 @_REG(i32 noundef %24) #2 %100 = add nsw i64 %99, %98 %101 = tail call i32 @writel(i32 noundef %97, i64 noundef %100) #2 %102 = add nuw nsw i64 %89, 1 %103 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !5 %104 = sdiv i32 %103, 2 %105 = sext i32 %104 to i64 %106 = icmp slt i64 %102, %105 br i1 %106, label %88, label %107, !llvm.loop !15 107: ; preds = %88, %51, %67 %108 = phi i32 [ %84, %67 ], [ %65, %51 ], [ %103, %88 ] %109 = sext i32 %108 to i64 %110 = getelementptr i32, ptr %4, i64 %109 %111 = getelementptr i32, ptr %110, i64 -1 %112 = load i32, ptr %111, align 4, !tbaa !5 %113 = load i64, ptr %0, align 8, !tbaa !9 %114 = tail call i64 @_REG(i32 noundef %24) #2 %115 = add nsw i64 %114, %113 %116 = tail call i32 @writel(i32 noundef %112, i64 noundef %115) #2 %117 = icmp eq i32 %5, 0 %118 = load i64, ptr %0, align 8, !tbaa !9 %119 = tail call i64 @_REG(i32 noundef %25) #2 %120 = add nsw i64 %119, %118 br i1 %117, label %123, label %121 121: ; preds = %107 %122 = tail call i32 @writel_bits_relaxed(i32 noundef -536870912, i32 noundef -536870912, i64 noundef %120) #2 br label %229 123: ; preds = %107 %124 = tail call i32 @writel_bits_relaxed(i32 noundef -536870912, i32 noundef 0, i64 noundef %120) #2 br label %229 125: ; preds = %12 %126 = load i64, ptr %0, align 8, !tbaa !9 %127 = tail call i64 @_REG(i32 noundef %15) #2 %128 = add nsw i64 %127, %126 %129 = tail call i32 @writel(i32 noundef 0, i64 noundef %128) #2 %130 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !5 %131 = icmp sgt i32 %130, 1 br i1 %131, label %132, label %151 132: ; preds = %125, %132 %133 = phi i64 [ %146, %132 ], [ 0, %125 ] %134 = shl nuw nsw i64 %133, 1 %135 = getelementptr inbounds i32, ptr %2, i64 %134 %136 = load i32, ptr %135, align 4, !tbaa !5 %137 = or disjoint i64 %134, 1 %138 = getelementptr inbounds i32, ptr %2, i64 %137 %139 = load i32, ptr %138, align 4, !tbaa !5 %140 = shl i32 %139, 16 %141 = or i32 %140, %136 %142 = load i64, ptr %0, align 8, !tbaa !9 %143 = tail call i64 @_REG(i32 noundef %14) #2 %144 = add nsw i64 %143, %142 %145 = tail call i32 @writel(i32 noundef %141, i64 noundef %144) #2 %146 = add nuw nsw i64 %133, 1 %147 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !5 %148 = sdiv i32 %147, 2 %149 = sext i32 %148 to i64 %150 = icmp slt i64 %146, %149 br i1 %150, label %132, label %151, !llvm.loop !16 151: ; preds = %132, %125 %152 = phi i32 [ %130, %125 ], [ %147, %132 ] %153 = sext i32 %152 to i64 %154 = getelementptr i32, ptr %2, i64 %153 %155 = getelementptr i32, ptr %154, i64 -1 %156 = load i32, ptr %155, align 4, !tbaa !5 %157 = load i32, ptr %3, align 4, !tbaa !5 %158 = shl i32 %157, 16 %159 = or i32 %158, %156 %160 = load i64, ptr %0, align 8, !tbaa !9 %161 = tail call i64 @_REG(i32 noundef %14) #2 %162 = add nsw i64 %161, %160 %163 = tail call i32 @writel(i32 noundef %159, i64 noundef %162) #2 %164 = getelementptr i32, ptr %3, i64 2 %165 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !5 %166 = icmp sgt i32 %165, 1 br i1 %166, label %169, label %207 167: ; preds = %169 %168 = icmp sgt i32 %184, 1 br i1 %168, label %188, label %207 169: ; preds = %151, %169 %170 = phi i64 [ %183, %169 ], [ 0, %151 ] %171 = shl nuw nsw i64 %170, 1 %172 = or disjoint i64 %171, 1 %173 = getelementptr inbounds i32, ptr %3, i64 %172 %174 = load i32, ptr %173, align 4, !tbaa !5 %175 = getelementptr i32, ptr %164, i64 %171 %176 = load i32, ptr %175, align 4, !tbaa !5 %177 = shl i32 %176, 16 %178 = or i32 %177, %174 %179 = load i64, ptr %0, align 8, !tbaa !9 %180 = tail call i64 @_REG(i32 noundef %14) #2 %181 = add nsw i64 %180, %179 %182 = tail call i32 @writel(i32 noundef %178, i64 noundef %181) #2 %183 = add nuw nsw i64 %170, 1 %184 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !5 %185 = sdiv i32 %184, 2 %186 = sext i32 %185 to i64 %187 = icmp slt i64 %183, %186 br i1 %187, label %169, label %167, !llvm.loop !17 188: ; preds = %167, %188 %189 = phi i64 [ %202, %188 ], [ 0, %167 ] %190 = shl nuw nsw i64 %189, 1 %191 = getelementptr inbounds i32, ptr %4, i64 %190 %192 = load i32, ptr %191, align 4, !tbaa !5 %193 = or disjoint i64 %190, 1 %194 = getelementptr inbounds i32, ptr %4, i64 %193 %195 = load i32, ptr %194, align 4, !tbaa !5 %196 = shl i32 %195, 16 %197 = or i32 %196, %192 %198 = load i64, ptr %0, align 8, !tbaa !9 %199 = tail call i64 @_REG(i32 noundef %14) #2 %200 = add nsw i64 %199, %198 %201 = tail call i32 @writel(i32 noundef %197, i64 noundef %200) #2 %202 = add nuw nsw i64 %189, 1 %203 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !5 %204 = sdiv i32 %203, 2 %205 = sext i32 %204 to i64 %206 = icmp slt i64 %202, %205 br i1 %206, label %188, label %207, !llvm.loop !18 207: ; preds = %188, %151, %167 %208 = phi i32 [ %184, %167 ], [ %165, %151 ], [ %203, %188 ] %209 = sext i32 %208 to i64 %210 = getelementptr i32, ptr %4, i64 %209 %211 = getelementptr i32, ptr %210, i64 -1 %212 = load i32, ptr %211, align 4, !tbaa !5 %213 = load i64, ptr %0, align 8, !tbaa !9 %214 = tail call i64 @_REG(i32 noundef %14) #2 %215 = add nsw i64 %214, %213 %216 = tail call i32 @writel(i32 noundef %212, i64 noundef %215) #2 %217 = icmp eq i32 %5, 0 %218 = load i64, ptr %0, align 8, !tbaa !9 %219 = tail call i64 @_REG(i32 noundef %13) #2 %220 = add nsw i64 %219, %218 %221 = select i1 %217, i32 0, i32 939524096 %222 = tail call i32 @writel_bits_relaxed(i32 noundef 939524096, i32 noundef %221, i64 noundef %220) #2 %223 = tail call i32 @BIT(i32 noundef 31) #2 %224 = tail call i32 @BIT(i32 noundef 31) #2 %225 = load i64, ptr %0, align 8, !tbaa !9 %226 = tail call i64 @_REG(i32 noundef %13) #2 %227 = add nsw i64 %226, %225 %228 = tail call i32 @writel_bits_relaxed(i32 noundef %223, i32 noundef %224, i64 noundef %227) #2 br label %229 229: ; preds = %123, %121, %207, %9 ret void } declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @_REG(i32 noundef) local_unnamed_addr #1 declare i32 @writel_bits_relaxed(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @BIT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"meson_drm", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13} !15 = distinct !{!15, !13} !16 = distinct !{!16, !13} !17 = distinct !{!17, !13} !18 = distinct !{!18, !13}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_viu.c_meson_viu_set_osd_lut.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/meson/extr_meson_viu.c_meson_viu_set_osd_lut.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VIU_LUT_OSD_EOTF = common local_unnamed_addr global i32 0, align 4 @VIU_OSD1_EOTF_LUT_ADDR_PORT = common local_unnamed_addr global i32 0, align 4 @VIU_OSD1_EOTF_LUT_DATA_PORT = common local_unnamed_addr global i32 0, align 4 @VIU_OSD1_EOTF_CTL = common local_unnamed_addr global i32 0, align 4 @VIU_LUT_OSD_OETF = common local_unnamed_addr global i32 0, align 4 @VIU_OSD1_OETF_LUT_ADDR_PORT = common local_unnamed_addr global i32 0, align 4 @VIU_OSD1_OETF_LUT_DATA_PORT = common local_unnamed_addr global i32 0, align 4 @VIU_OSD1_OETF_CTL = common local_unnamed_addr global i32 0, align 4 @OSD_OETF_LUT_SIZE = common local_unnamed_addr global i32 0, align 4 @OSD_EOTF_LUT_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @meson_viu_set_osd_lut], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @meson_viu_set_osd_lut(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, i32 noundef %5) #0 { %7 = load i32, ptr @VIU_LUT_OSD_EOTF, align 4, !tbaa !6 %8 = icmp eq i32 %7, %1 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr @VIU_LUT_OSD_OETF, align 4, !tbaa !6 %11 = icmp eq i32 %10, %1 br i1 %11, label %18, label %229 12: ; preds = %6 %13 = load i32, ptr @VIU_OSD1_EOTF_CTL, align 4, !tbaa !6 %14 = load i32, ptr @VIU_OSD1_EOTF_LUT_DATA_PORT, align 4, !tbaa !6 %15 = load i32, ptr @VIU_OSD1_EOTF_LUT_ADDR_PORT, align 4, !tbaa !6 %16 = load i32, ptr @VIU_LUT_OSD_OETF, align 4, !tbaa !6 %17 = icmp eq i32 %16, %1 br i1 %17, label %22, label %125 18: ; preds = %9 %19 = load i32, ptr @VIU_OSD1_OETF_CTL, align 4, !tbaa !6 %20 = load i32, ptr @VIU_OSD1_OETF_LUT_DATA_PORT, align 4, !tbaa !6 %21 = load i32, ptr @VIU_OSD1_OETF_LUT_ADDR_PORT, align 4, !tbaa !6 br label %22 22: ; preds = %18, %12 %23 = phi i32 [ %21, %18 ], [ %15, %12 ] %24 = phi i32 [ %20, %18 ], [ %14, %12 ] %25 = phi i32 [ %19, %18 ], [ %13, %12 ] %26 = load i64, ptr %0, align 8, !tbaa !10 %27 = tail call i64 @_REG(i32 noundef %23) #2 %28 = add nsw i64 %27, %26 %29 = tail call i32 @writel(i32 noundef 0, i64 noundef %28) #2 %30 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !6 %31 = icmp sgt i32 %30, 1 br i1 %31, label %32, label %51 32: ; preds = %22, %32 %33 = phi i64 [ %46, %32 ], [ 0, %22 ] %34 = shl nuw nsw i64 %33, 1 %35 = getelementptr inbounds i32, ptr %2, i64 %34 %36 = load i32, ptr %35, align 4, !tbaa !6 %37 = or disjoint i64 %34, 1 %38 = getelementptr inbounds i32, ptr %2, i64 %37 %39 = load i32, ptr %38, align 4, !tbaa !6 %40 = shl i32 %39, 16 %41 = or i32 %40, %36 %42 = load i64, ptr %0, align 8, !tbaa !10 %43 = tail call i64 @_REG(i32 noundef %24) #2 %44 = add nsw i64 %43, %42 %45 = tail call i32 @writel(i32 noundef %41, i64 noundef %44) #2 %46 = add nuw nsw i64 %33, 1 %47 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !6 %48 = sdiv i32 %47, 2 %49 = sext i32 %48 to i64 %50 = icmp slt i64 %46, %49 br i1 %50, label %32, label %51, !llvm.loop !13 51: ; preds = %32, %22 %52 = phi i32 [ %30, %22 ], [ %47, %32 ] %53 = sext i32 %52 to i64 %54 = getelementptr i32, ptr %2, i64 %53 %55 = getelementptr i8, ptr %54, i64 -4 %56 = load i32, ptr %55, align 4, !tbaa !6 %57 = load i32, ptr %3, align 4, !tbaa !6 %58 = shl i32 %57, 16 %59 = or i32 %58, %56 %60 = load i64, ptr %0, align 8, !tbaa !10 %61 = tail call i64 @_REG(i32 noundef %24) #2 %62 = add nsw i64 %61, %60 %63 = tail call i32 @writel(i32 noundef %59, i64 noundef %62) #2 %64 = getelementptr inbounds i8, ptr %3, i64 8 %65 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !6 %66 = icmp sgt i32 %65, 1 br i1 %66, label %69, label %107 67: ; preds = %69 %68 = icmp sgt i32 %84, 1 br i1 %68, label %88, label %107 69: ; preds = %51, %69 %70 = phi i64 [ %83, %69 ], [ 0, %51 ] %71 = shl nuw nsw i64 %70, 1 %72 = or disjoint i64 %71, 1 %73 = getelementptr inbounds i32, ptr %3, i64 %72 %74 = load i32, ptr %73, align 4, !tbaa !6 %75 = getelementptr inbounds i32, ptr %64, i64 %71 %76 = load i32, ptr %75, align 4, !tbaa !6 %77 = shl i32 %76, 16 %78 = or i32 %77, %74 %79 = load i64, ptr %0, align 8, !tbaa !10 %80 = tail call i64 @_REG(i32 noundef %24) #2 %81 = add nsw i64 %80, %79 %82 = tail call i32 @writel(i32 noundef %78, i64 noundef %81) #2 %83 = add nuw nsw i64 %70, 1 %84 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !6 %85 = sdiv i32 %84, 2 %86 = sext i32 %85 to i64 %87 = icmp slt i64 %83, %86 br i1 %87, label %69, label %67, !llvm.loop !15 88: ; preds = %67, %88 %89 = phi i64 [ %102, %88 ], [ 0, %67 ] %90 = shl nuw nsw i64 %89, 1 %91 = getelementptr inbounds i32, ptr %4, i64 %90 %92 = load i32, ptr %91, align 4, !tbaa !6 %93 = or disjoint i64 %90, 1 %94 = getelementptr inbounds i32, ptr %4, i64 %93 %95 = load i32, ptr %94, align 4, !tbaa !6 %96 = shl i32 %95, 16 %97 = or i32 %96, %92 %98 = load i64, ptr %0, align 8, !tbaa !10 %99 = tail call i64 @_REG(i32 noundef %24) #2 %100 = add nsw i64 %99, %98 %101 = tail call i32 @writel(i32 noundef %97, i64 noundef %100) #2 %102 = add nuw nsw i64 %89, 1 %103 = load i32, ptr @OSD_OETF_LUT_SIZE, align 4, !tbaa !6 %104 = sdiv i32 %103, 2 %105 = sext i32 %104 to i64 %106 = icmp slt i64 %102, %105 br i1 %106, label %88, label %107, !llvm.loop !16 107: ; preds = %88, %51, %67 %108 = phi i32 [ %84, %67 ], [ %65, %51 ], [ %103, %88 ] %109 = sext i32 %108 to i64 %110 = getelementptr i32, ptr %4, i64 %109 %111 = getelementptr i8, ptr %110, i64 -4 %112 = load i32, ptr %111, align 4, !tbaa !6 %113 = load i64, ptr %0, align 8, !tbaa !10 %114 = tail call i64 @_REG(i32 noundef %24) #2 %115 = add nsw i64 %114, %113 %116 = tail call i32 @writel(i32 noundef %112, i64 noundef %115) #2 %117 = icmp eq i32 %5, 0 %118 = load i64, ptr %0, align 8, !tbaa !10 %119 = tail call i64 @_REG(i32 noundef %25) #2 %120 = add nsw i64 %119, %118 br i1 %117, label %123, label %121 121: ; preds = %107 %122 = tail call i32 @writel_bits_relaxed(i32 noundef -536870912, i32 noundef -536870912, i64 noundef %120) #2 br label %229 123: ; preds = %107 %124 = tail call i32 @writel_bits_relaxed(i32 noundef -536870912, i32 noundef 0, i64 noundef %120) #2 br label %229 125: ; preds = %12 %126 = load i64, ptr %0, align 8, !tbaa !10 %127 = tail call i64 @_REG(i32 noundef %15) #2 %128 = add nsw i64 %127, %126 %129 = tail call i32 @writel(i32 noundef 0, i64 noundef %128) #2 %130 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !6 %131 = icmp sgt i32 %130, 1 br i1 %131, label %132, label %151 132: ; preds = %125, %132 %133 = phi i64 [ %146, %132 ], [ 0, %125 ] %134 = shl nuw nsw i64 %133, 1 %135 = getelementptr inbounds i32, ptr %2, i64 %134 %136 = load i32, ptr %135, align 4, !tbaa !6 %137 = or disjoint i64 %134, 1 %138 = getelementptr inbounds i32, ptr %2, i64 %137 %139 = load i32, ptr %138, align 4, !tbaa !6 %140 = shl i32 %139, 16 %141 = or i32 %140, %136 %142 = load i64, ptr %0, align 8, !tbaa !10 %143 = tail call i64 @_REG(i32 noundef %14) #2 %144 = add nsw i64 %143, %142 %145 = tail call i32 @writel(i32 noundef %141, i64 noundef %144) #2 %146 = add nuw nsw i64 %133, 1 %147 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !6 %148 = sdiv i32 %147, 2 %149 = sext i32 %148 to i64 %150 = icmp slt i64 %146, %149 br i1 %150, label %132, label %151, !llvm.loop !17 151: ; preds = %132, %125 %152 = phi i32 [ %130, %125 ], [ %147, %132 ] %153 = sext i32 %152 to i64 %154 = getelementptr i32, ptr %2, i64 %153 %155 = getelementptr i8, ptr %154, i64 -4 %156 = load i32, ptr %155, align 4, !tbaa !6 %157 = load i32, ptr %3, align 4, !tbaa !6 %158 = shl i32 %157, 16 %159 = or i32 %158, %156 %160 = load i64, ptr %0, align 8, !tbaa !10 %161 = tail call i64 @_REG(i32 noundef %14) #2 %162 = add nsw i64 %161, %160 %163 = tail call i32 @writel(i32 noundef %159, i64 noundef %162) #2 %164 = getelementptr inbounds i8, ptr %3, i64 8 %165 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !6 %166 = icmp sgt i32 %165, 1 br i1 %166, label %169, label %207 167: ; preds = %169 %168 = icmp sgt i32 %184, 1 br i1 %168, label %188, label %207 169: ; preds = %151, %169 %170 = phi i64 [ %183, %169 ], [ 0, %151 ] %171 = shl nuw nsw i64 %170, 1 %172 = or disjoint i64 %171, 1 %173 = getelementptr inbounds i32, ptr %3, i64 %172 %174 = load i32, ptr %173, align 4, !tbaa !6 %175 = getelementptr inbounds i32, ptr %164, i64 %171 %176 = load i32, ptr %175, align 4, !tbaa !6 %177 = shl i32 %176, 16 %178 = or i32 %177, %174 %179 = load i64, ptr %0, align 8, !tbaa !10 %180 = tail call i64 @_REG(i32 noundef %14) #2 %181 = add nsw i64 %180, %179 %182 = tail call i32 @writel(i32 noundef %178, i64 noundef %181) #2 %183 = add nuw nsw i64 %170, 1 %184 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !6 %185 = sdiv i32 %184, 2 %186 = sext i32 %185 to i64 %187 = icmp slt i64 %183, %186 br i1 %187, label %169, label %167, !llvm.loop !18 188: ; preds = %167, %188 %189 = phi i64 [ %202, %188 ], [ 0, %167 ] %190 = shl nuw nsw i64 %189, 1 %191 = getelementptr inbounds i32, ptr %4, i64 %190 %192 = load i32, ptr %191, align 4, !tbaa !6 %193 = or disjoint i64 %190, 1 %194 = getelementptr inbounds i32, ptr %4, i64 %193 %195 = load i32, ptr %194, align 4, !tbaa !6 %196 = shl i32 %195, 16 %197 = or i32 %196, %192 %198 = load i64, ptr %0, align 8, !tbaa !10 %199 = tail call i64 @_REG(i32 noundef %14) #2 %200 = add nsw i64 %199, %198 %201 = tail call i32 @writel(i32 noundef %197, i64 noundef %200) #2 %202 = add nuw nsw i64 %189, 1 %203 = load i32, ptr @OSD_EOTF_LUT_SIZE, align 4, !tbaa !6 %204 = sdiv i32 %203, 2 %205 = sext i32 %204 to i64 %206 = icmp slt i64 %202, %205 br i1 %206, label %188, label %207, !llvm.loop !19 207: ; preds = %188, %151, %167 %208 = phi i32 [ %184, %167 ], [ %165, %151 ], [ %203, %188 ] %209 = sext i32 %208 to i64 %210 = getelementptr i32, ptr %4, i64 %209 %211 = getelementptr i8, ptr %210, i64 -4 %212 = load i32, ptr %211, align 4, !tbaa !6 %213 = load i64, ptr %0, align 8, !tbaa !10 %214 = tail call i64 @_REG(i32 noundef %14) #2 %215 = add nsw i64 %214, %213 %216 = tail call i32 @writel(i32 noundef %212, i64 noundef %215) #2 %217 = icmp eq i32 %5, 0 %218 = load i64, ptr %0, align 8, !tbaa !10 %219 = tail call i64 @_REG(i32 noundef %13) #2 %220 = add nsw i64 %219, %218 %221 = select i1 %217, i32 0, i32 939524096 %222 = tail call i32 @writel_bits_relaxed(i32 noundef 939524096, i32 noundef %221, i64 noundef %220) #2 %223 = tail call i32 @BIT(i32 noundef 31) #2 %224 = tail call i32 @BIT(i32 noundef 31) #2 %225 = load i64, ptr %0, align 8, !tbaa !10 %226 = tail call i64 @_REG(i32 noundef %13) #2 %227 = add nsw i64 %226, %225 %228 = tail call i32 @writel_bits_relaxed(i32 noundef %223, i32 noundef %224, i64 noundef %227) #2 br label %229 229: ; preds = %123, %121, %207, %9 ret void } declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @_REG(i32 noundef) local_unnamed_addr #1 declare i32 @writel_bits_relaxed(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @BIT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"meson_drm", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14} !16 = distinct !{!16, !14} !17 = distinct !{!17, !14} !18 = distinct !{!18, !14} !19 = distinct !{!19, !14}
linux_drivers_gpu_drm_meson_extr_meson_viu.c_meson_viu_set_osd_lut
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_sess.c_lookup_sess_in_cache.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_sess.c_lookup_sess_in_cache.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_15__ = type { i64, i32, i32 } %struct.TYPE_16__ = type { ptr, i32 } %struct.TYPE_13__ = type { i32, %struct.TYPE_14__, ptr, i32, i32 } %struct.TYPE_14__ = type { i32, i32 } @SSL_SESS_CACHE_NO_INTERNAL_LOOKUP = dso_local local_unnamed_addr global i32 0, align 4 @SSL_MAX_SSL_SESSION_ID_LENGTH = dso_local local_unnamed_addr global i64 0, align 8 @SSL_SESS_CACHE_NO_INTERNAL_STORE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @lookup_sess_in_cache(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_15__, align 8 %5 = alloca i32, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load i32, ptr %6, align 8, !tbaa !11 %8 = load i32, ptr @SSL_SESS_CACHE_NO_INTERNAL_LOOKUP, align 4, !tbaa !14 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %47 11: ; preds = %3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %12 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %13 = load i32, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds %struct.TYPE_15__, ptr %4, i64 0, i32 2 store i32 %13, ptr %14, align 4, !tbaa !16 %15 = load i64, ptr @SSL_MAX_SSL_SESSION_ID_LENGTH, align 8, !tbaa !19 %16 = icmp uge i64 %15, %2 %17 = zext i1 %16 to i32 %18 = tail call i32 @ossl_assert(i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %40, label %20 20: ; preds = %11 %21 = tail call i32 @memcpy(i32 noundef undef, ptr noundef %1, i64 noundef %2) #3 store i64 %2, ptr %4, align 8, !tbaa !20 %22 = load ptr, ptr %0, align 8, !tbaa !5 %23 = getelementptr inbounds %struct.TYPE_13__, ptr %22, i64 0, i32 3 %24 = load i32, ptr %23, align 8, !tbaa !21 %25 = tail call i32 @CRYPTO_THREAD_read_lock(i32 noundef %24) #3 %26 = load ptr, ptr %0, align 8, !tbaa !5 %27 = getelementptr inbounds %struct.TYPE_13__, ptr %26, i64 0, i32 4 %28 = load i32, ptr %27, align 4, !tbaa !22 %29 = call ptr @lh_SSL_SESSION_retrieve(i32 noundef %28, ptr noundef nonnull %4) #3 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %41 31: ; preds = %20 %32 = load ptr, ptr %0, align 8, !tbaa !5 %33 = getelementptr inbounds %struct.TYPE_13__, ptr %32, i64 0, i32 3 %34 = load i32, ptr %33, align 8, !tbaa !21 %35 = call i32 @CRYPTO_THREAD_unlock(i32 noundef %34) #3 %36 = load ptr, ptr %0, align 8, !tbaa !5 %37 = getelementptr inbounds %struct.TYPE_13__, ptr %36, i64 0, i32 1, i32 1 %38 = call i32 @tsan_counter(ptr noundef nonnull %37) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 %39 = load ptr, ptr %0, align 8, !tbaa !5 br label %47 40: ; preds = %11 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 br label %72 41: ; preds = %20 %42 = call i32 @SSL_SESSION_up_ref(ptr noundef nonnull %29) #3 %43 = load ptr, ptr %0, align 8, !tbaa !5 %44 = getelementptr inbounds %struct.TYPE_13__, ptr %43, i64 0, i32 3 %45 = load i32, ptr %44, align 8, !tbaa !21 %46 = call i32 @CRYPTO_THREAD_unlock(i32 noundef %45) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 br label %72 47: ; preds = %3, %31 %48 = phi ptr [ %6, %3 ], [ %39, %31 ] %49 = getelementptr inbounds %struct.TYPE_13__, ptr %48, i64 0, i32 2 %50 = load ptr, ptr %49, align 8, !tbaa !23 %51 = icmp eq ptr %50, null br i1 %51, label %72, label %52 52: ; preds = %47 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 store i32 1, ptr %5, align 4, !tbaa !14 %53 = call ptr %50(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %5) #3 %54 = icmp eq ptr %53, null br i1 %54, label %71, label %55 55: ; preds = %52 %56 = load ptr, ptr %0, align 8, !tbaa !5 %57 = getelementptr inbounds %struct.TYPE_13__, ptr %56, i64 0, i32 1 %58 = call i32 @tsan_counter(ptr noundef nonnull %57) #3 %59 = load i32, ptr %5, align 4, !tbaa !14 %60 = icmp eq i32 %59, 0 br i1 %60, label %63, label %61 61: ; preds = %55 %62 = call i32 @SSL_SESSION_up_ref(ptr noundef nonnull %53) #3 br label %63 63: ; preds = %61, %55 %64 = load ptr, ptr %0, align 8, !tbaa !5 %65 = load i32, ptr %64, align 8, !tbaa !11 %66 = load i32, ptr @SSL_SESS_CACHE_NO_INTERNAL_STORE, align 4, !tbaa !14 %67 = and i32 %66, %65 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %63 %70 = call i32 @SSL_CTX_add_session(ptr noundef nonnull %64, ptr noundef nonnull %53) #3 br label %71 71: ; preds = %63, %69, %52 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %72 72: ; preds = %41, %40, %47, %71 %73 = phi ptr [ null, %40 ], [ %53, %71 ], [ null, %47 ], [ %29, %41 ] ret ptr %73 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ossl_assert(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @CRYPTO_THREAD_read_lock(i32 noundef) local_unnamed_addr #2 declare ptr @lh_SSL_SESSION_retrieve(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SSL_SESSION_up_ref(ptr noundef) local_unnamed_addr #2 declare i32 @CRYPTO_THREAD_unlock(i32 noundef) local_unnamed_addr #2 declare i32 @tsan_counter(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @SSL_CTX_add_session(ptr noundef, 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_16__", !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, !10, i64 0} !12 = !{!"TYPE_13__", !10, i64 0, !13, i64 4, !7, i64 16, !10, i64 24, !10, i64 28} !13 = !{!"TYPE_14__", !10, i64 0, !10, i64 4} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!17, !10, i64 12} !17 = !{!"TYPE_15__", !18, i64 0, !10, i64 8, !10, i64 12} !18 = !{!"long", !8, i64 0} !19 = !{!18, !18, i64 0} !20 = !{!17, !18, i64 0} !21 = !{!12, !10, i64 24} !22 = !{!12, !10, i64 28} !23 = !{!12, !7, i64 16}
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_sess.c_lookup_sess_in_cache.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_sess.c_lookup_sess_in_cache.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_15__ = type { i64, i32, i32 } @SSL_SESS_CACHE_NO_INTERNAL_LOOKUP = common local_unnamed_addr global i32 0, align 4 @SSL_MAX_SSL_SESSION_ID_LENGTH = common local_unnamed_addr global i64 0, align 8 @SSL_SESS_CACHE_NO_INTERNAL_STORE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @lookup_sess_in_cache(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_15__, align 8 %5 = alloca i32, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = load i32, ptr @SSL_SESS_CACHE_NO_INTERNAL_LOOKUP, align 4, !tbaa !15 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %47 11: ; preds = %3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !16 %14 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %13, ptr %14, align 4, !tbaa !17 %15 = load i64, ptr @SSL_MAX_SSL_SESSION_ID_LENGTH, align 8, !tbaa !20 %16 = icmp uge i64 %15, %2 %17 = zext i1 %16 to i32 %18 = tail call i32 @ossl_assert(i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %40, label %20 20: ; preds = %11 %21 = tail call i32 @memcpy(i32 noundef undef, ptr noundef %1, i64 noundef %2) #3 store i64 %2, ptr %4, align 8, !tbaa !21 %22 = load ptr, ptr %0, align 8, !tbaa !6 %23 = getelementptr inbounds i8, ptr %22, i64 24 %24 = load i32, ptr %23, align 8, !tbaa !22 %25 = tail call i32 @CRYPTO_THREAD_read_lock(i32 noundef %24) #3 %26 = load ptr, ptr %0, align 8, !tbaa !6 %27 = getelementptr inbounds i8, ptr %26, i64 28 %28 = load i32, ptr %27, align 4, !tbaa !23 %29 = call ptr @lh_SSL_SESSION_retrieve(i32 noundef %28, ptr noundef nonnull %4) #3 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %41 31: ; preds = %20 %32 = load ptr, ptr %0, align 8, !tbaa !6 %33 = getelementptr inbounds i8, ptr %32, i64 24 %34 = load i32, ptr %33, align 8, !tbaa !22 %35 = call i32 @CRYPTO_THREAD_unlock(i32 noundef %34) #3 %36 = load ptr, ptr %0, align 8, !tbaa !6 %37 = getelementptr inbounds i8, ptr %36, i64 8 %38 = call i32 @tsan_counter(ptr noundef nonnull %37) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 %39 = load ptr, ptr %0, align 8, !tbaa !6 br label %47 40: ; preds = %11 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 br label %72 41: ; preds = %20 %42 = call i32 @SSL_SESSION_up_ref(ptr noundef nonnull %29) #3 %43 = load ptr, ptr %0, align 8, !tbaa !6 %44 = getelementptr inbounds i8, ptr %43, i64 24 %45 = load i32, ptr %44, align 8, !tbaa !22 %46 = call i32 @CRYPTO_THREAD_unlock(i32 noundef %45) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 br label %72 47: ; preds = %3, %31 %48 = phi ptr [ %6, %3 ], [ %39, %31 ] %49 = getelementptr inbounds i8, ptr %48, i64 16 %50 = load ptr, ptr %49, align 8, !tbaa !24 %51 = icmp eq ptr %50, null br i1 %51, label %72, label %52 52: ; preds = %47 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 store i32 1, ptr %5, align 4, !tbaa !15 %53 = call ptr %50(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %5) #3 %54 = icmp eq ptr %53, null br i1 %54, label %71, label %55 55: ; preds = %52 %56 = load ptr, ptr %0, align 8, !tbaa !6 %57 = getelementptr inbounds i8, ptr %56, i64 4 %58 = call i32 @tsan_counter(ptr noundef nonnull %57) #3 %59 = load i32, ptr %5, align 4, !tbaa !15 %60 = icmp eq i32 %59, 0 br i1 %60, label %63, label %61 61: ; preds = %55 %62 = call i32 @SSL_SESSION_up_ref(ptr noundef nonnull %53) #3 br label %63 63: ; preds = %61, %55 %64 = load ptr, ptr %0, align 8, !tbaa !6 %65 = load i32, ptr %64, align 8, !tbaa !12 %66 = load i32, ptr @SSL_SESS_CACHE_NO_INTERNAL_STORE, align 4, !tbaa !15 %67 = and i32 %66, %65 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %63 %70 = call i32 @SSL_CTX_add_session(ptr noundef nonnull %64, ptr noundef nonnull %53) #3 br label %71 71: ; preds = %63, %69, %52 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %72 72: ; preds = %41, %40, %47, %71 %73 = phi ptr [ null, %40 ], [ %53, %71 ], [ null, %47 ], [ %29, %41 ] ret ptr %73 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ossl_assert(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @CRYPTO_THREAD_read_lock(i32 noundef) local_unnamed_addr #2 declare ptr @lh_SSL_SESSION_retrieve(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SSL_SESSION_up_ref(ptr noundef) local_unnamed_addr #2 declare i32 @CRYPTO_THREAD_unlock(i32 noundef) local_unnamed_addr #2 declare i32 @tsan_counter(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @SSL_CTX_add_session(ptr noundef, 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_16__", !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, !11, i64 0} !13 = !{!"TYPE_13__", !11, i64 0, !14, i64 4, !8, i64 16, !11, i64 24, !11, i64 28} !14 = !{!"TYPE_14__", !11, i64 0, !11, i64 4} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!18, !11, i64 12} !18 = !{!"TYPE_15__", !19, i64 0, !11, i64 8, !11, i64 12} !19 = !{!"long", !9, i64 0} !20 = !{!19, !19, i64 0} !21 = !{!18, !19, i64 0} !22 = !{!13, !11, i64 24} !23 = !{!13, !11, i64 28} !24 = !{!13, !8, i64 16}
openssl_ssl_extr_ssl_sess.c_lookup_sess_in_cache
; ModuleID = 'AnghaBench/linux/sound/pci/extr_rme32.c_snd_rme32_proc_init.c' source_filename = "AnghaBench/linux/sound/pci/extr_rme32.c_snd_rme32_proc_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" @.str = private unnamed_addr constant [6 x i8] c"rme32\00", align 1 @snd_rme32_proc_read = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_rme32_proc_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_rme32_proc_init(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @snd_rme32_proc_read, align 4, !tbaa !10 %4 = tail call i32 @snd_card_ro_proc_new(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %3) #2 ret void } declare i32 @snd_card_ro_proc_new(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rme32", !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/sound/pci/extr_rme32.c_snd_rme32_proc_init.c' source_filename = "AnghaBench/linux/sound/pci/extr_rme32.c_snd_rme32_proc_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [6 x i8] c"rme32\00", align 1 @snd_rme32_proc_read = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_rme32_proc_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_rme32_proc_init(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @snd_rme32_proc_read, align 4, !tbaa !11 %4 = tail call i32 @snd_card_ro_proc_new(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %3) #2 ret void } declare i32 @snd_card_ro_proc_new(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rme32", !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_sound_pci_extr_rme32.c_snd_rme32_proc_init
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_ashr_reg64_lt32_low.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_ashr_reg64_lt32_low.c" target datalayout = "e-m:e-p270:32:32-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 @ashr_reg64_lt32_low], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ashr_reg64_lt32_low(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { tail call void @shr_reg64_lt32_low(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 ret void } declare void @shr_reg64_lt32_low(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)"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_ashr_reg64_lt32_low.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_ashr_reg64_lt32_low.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 @ashr_reg64_lt32_low], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ashr_reg64_lt32_low(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { tail call void @shr_reg64_lt32_low(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 ret void } declare void @shr_reg64_lt32_low(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)"}
linux_drivers_net_ethernet_netronome_nfp_bpf_extr_jit.c_ashr_reg64_lt32_low
; ModuleID = 'AnghaBench/linux/drivers/of/extr_base.c___of_find_node_by_full_path.c' source_filename = "AnghaBench/linux/drivers/of/extr_base.c___of_find_node_by_full_path.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @__of_find_node_by_full_path(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @strchr(ptr noundef %1, i8 noundef signext 58) #2 %4 = icmp ne ptr %3, null br label %5 5: ; preds = %12, %2 %6 = phi ptr [ %1, %2 ], [ %16, %12 ] %7 = phi ptr [ %0, %2 ], [ %14, %12 ] %8 = icmp eq ptr %7, null br i1 %8, label %19, label %9 9: ; preds = %5 %10 = load i8, ptr %6, align 1, !tbaa !5 %11 = icmp eq i8 %10, 47 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %6, i64 1 %14 = tail call ptr @__of_find_node_by_path(ptr noundef nonnull %7, ptr noundef nonnull %13) #2 %15 = tail call i32 @of_node_put(ptr noundef nonnull %7) #2 %16 = tail call ptr @strchrnul(ptr noundef nonnull %13, i8 noundef signext 47) #2 %17 = icmp ult ptr %3, %16 %18 = select i1 %4, i1 %17, i1 false br i1 %18, label %19, label %5 19: ; preds = %12, %5, %9 %20 = phi ptr [ %14, %12 ], [ %7, %9 ], [ null, %5 ] ret ptr %20 } declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare ptr @__of_find_node_by_path(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @of_node_put(ptr noundef) local_unnamed_addr #1 declare ptr @strchrnul(ptr noundef, i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/of/extr_base.c___of_find_node_by_full_path.c' source_filename = "AnghaBench/linux/drivers/of/extr_base.c___of_find_node_by_full_path.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 @__of_find_node_by_full_path(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @strchr(ptr noundef %1, i8 noundef signext 58) #2 %4 = icmp ne ptr %3, null br label %5 5: ; preds = %12, %2 %6 = phi ptr [ %1, %2 ], [ %16, %12 ] %7 = phi ptr [ %0, %2 ], [ %14, %12 ] %8 = icmp eq ptr %7, null br i1 %8, label %19, label %9 9: ; preds = %5 %10 = load i8, ptr %6, align 1, !tbaa !6 %11 = icmp eq i8 %10, 47 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %6, i64 1 %14 = tail call ptr @__of_find_node_by_path(ptr noundef nonnull %7, ptr noundef nonnull %13) #2 %15 = tail call i32 @of_node_put(ptr noundef nonnull %7) #2 %16 = tail call ptr @strchrnul(ptr noundef nonnull %13, i8 noundef signext 47) #2 %17 = icmp ult ptr %3, %16 %18 = select i1 %4, i1 %17, i1 false br i1 %18, label %19, label %5 19: ; preds = %12, %5, %9 %20 = phi ptr [ %14, %12 ], [ %7, %9 ], [ null, %5 ] ret ptr %20 } declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare ptr @__of_find_node_by_path(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @of_node_put(ptr noundef) local_unnamed_addr #1 declare ptr @strchrnul(ptr noundef, i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
linux_drivers_of_extr_base.c___of_find_node_by_full_path
; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_ctresource.c_rsc_uninit.c' source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_ctresource.c_rsc_uninit.c" target datalayout = "e-m:e-p270:32:32-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.rsc = type { i32, i64, i64, i64, ptr, ptr } %struct.TYPE_4__ = type { ptr, ptr } @.str = private unnamed_addr constant [33 x i8] c"Invalid resource type value %d!\0A\00", align 1 @NUM_RSCTYP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @rsc_uninit(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.rsc, ptr %0, i64 0, i32 5 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %23, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.rsc, ptr %0, i64 0, i32 4 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = icmp eq ptr %7, null br i1 %8, label %23, label %9 9: ; preds = %5 %10 = load i32, ptr %0, align 8, !tbaa !13 switch i32 %10, label %18 [ i32 129, label %11 i32 131, label %15 i32 128, label %22 i32 130, label %22 ] 11: ; preds = %9 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = tail call i32 %13(ptr noundef nonnull %7) #3 br label %22 15: ; preds = %9 %16 = load ptr, ptr %3, align 8, !tbaa !16 %17 = tail call i32 %16(ptr noundef nonnull %7) #3 br label %22 18: ; preds = %9 %19 = load ptr, ptr %3, align 8, !tbaa !17 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = tail call i32 @dev_err(i32 noundef %20, ptr noundef nonnull @.str, i32 noundef %10) #3 br label %22 22: ; preds = %9, %9, %18, %15, %11 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false) br label %23 23: ; preds = %22, %5, %1 %24 = getelementptr inbounds %struct.rsc, ptr %0, i64 0, i32 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %24, i8 0, i64 16, i1 false) %25 = load i32, ptr @NUM_RSCTYP, align 4, !tbaa !21 store i32 %25, ptr %0, align 8, !tbaa !13 %26 = getelementptr inbounds %struct.rsc, ptr %0, i64 0, i32 1 store i64 0, ptr %26, align 8, !tbaa !22 ret i32 0 } declare i32 @dev_err(i32 noundef, 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, !11, i64 40} !6 = !{!"rsc", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !11, i64 40} !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 32} !13 = !{!6, !7, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"TYPE_4__", !11, i64 0, !11, i64 8} !16 = !{!15, !11, i64 0} !17 = !{!18, !11, i64 0} !18 = !{!"hw", !11, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_3__", !7, i64 0} !21 = !{!7, !7, i64 0} !22 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_ctresource.c_rsc_uninit.c' source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_ctresource.c_rsc_uninit.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 [33 x i8] c"Invalid resource type value %d!\0A\00", align 1 @NUM_RSCTYP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @rsc_uninit(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 40 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %23, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 32 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = icmp eq ptr %7, null br i1 %8, label %23, label %9 9: ; preds = %5 %10 = load i32, ptr %0, align 8, !tbaa !14 switch i32 %10, label %18 [ i32 129, label %11 i32 131, label %15 i32 128, label %22 i32 130, label %22 ] 11: ; preds = %9 %12 = getelementptr inbounds i8, ptr %3, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !15 %14 = tail call i32 %13(ptr noundef nonnull %7) #3 br label %22 15: ; preds = %9 %16 = load ptr, ptr %3, align 8, !tbaa !17 %17 = tail call i32 %16(ptr noundef nonnull %7) #3 br label %22 18: ; preds = %9 %19 = load ptr, ptr %3, align 8, !tbaa !18 %20 = load i32, ptr %19, align 4, !tbaa !20 %21 = tail call i32 @dev_err(i32 noundef %20, ptr noundef nonnull @.str, i32 noundef %10) #3 br label %22 22: ; preds = %9, %9, %18, %15, %11 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false) br label %23 23: ; preds = %22, %5, %1 %24 = getelementptr inbounds i8, ptr %0, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %24, i8 0, i64 16, i1 false) %25 = load i32, ptr @NUM_RSCTYP, align 4, !tbaa !22 store i32 %25, ptr %0, align 8, !tbaa !14 %26 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %26, align 8, !tbaa !23 ret i32 0 } declare i32 @dev_err(i32 noundef, 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, !12, i64 40} !7 = !{!"rsc", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !12, i64 40} !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 32} !14 = !{!7, !8, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"TYPE_4__", !12, i64 0, !12, i64 8} !17 = !{!16, !12, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"hw", !12, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_3__", !8, i64 0} !22 = !{!8, !8, i64 0} !23 = !{!7, !11, i64 8}
linux_sound_pci_ctxfi_extr_ctresource.c_rsc_uninit
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/extr_ldump.c_DumpNumber.c' source_filename = "AnghaBench/nodemcu-firmware/app/lua/extr_ldump.c_DumpNumber.c" target datalayout = "e-m:e-p270:32:32-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, i64 } %struct.TYPE_8__ = type { %struct.TYPE_7__, i32 } @LUA_ERR_CC_NOTINTEGER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @DumpNumber], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @DumpNumber(float noundef %0, ptr noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = alloca [4 x i8], align 1 %6 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 2 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %19, label %9 9: ; preds = %2 %10 = fptosi float %0 to i32 %11 = sitofp i32 %10 to float %12 = fcmp une float %11, %0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr @LUA_ERR_CC_NOTINTEGER, align 4, !tbaa !12 %15 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 store i32 %14, ptr %15, align 8, !tbaa !13 br label %16 16: ; preds = %13, %9 %17 = load i32, ptr %1, align 8, !tbaa !14 %18 = tail call i32 @DumpIntWithSize(float noundef %0, i32 noundef %17, ptr noundef nonnull %1) #3 br label %42 19: ; preds = %2 %20 = load i32, ptr %1, align 8, !tbaa !14 switch i32 %20, label %40 [ i32 4, label %21 i32 8, label %26 ] 21: ; preds = %19 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store float %0, ptr %3, align 4, !tbaa !15 %22 = call i32 @MaybeByteSwap(ptr noundef nonnull %3, i32 noundef 4, ptr noundef nonnull %1) #3 %23 = load float, ptr %3, align 4, !tbaa !15 %24 = fpext float %23 to double %25 = call i32 @DumpVar(double noundef %24, ptr noundef nonnull %1) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %42 26: ; preds = %19 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %27 = fpext float %0 to double store double %27, ptr %4, align 8, !tbaa !17 %28 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1 %29 = load i32, ptr %28, align 4, !tbaa !19 %30 = icmp eq i32 %29, 0 br i1 %30, label %36, label %31 31: ; preds = %26 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %32 = call i32 @memcpy(ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef 4) #3 %33 = getelementptr inbounds i8, ptr %4, i64 4 %34 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef nonnull %33, i32 noundef 4) #3 %35 = call i32 @memcpy(ptr noundef nonnull %33, ptr noundef nonnull %5, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %36 36: ; preds = %31, %26 %37 = call i32 @MaybeByteSwap(ptr noundef nonnull %4, i32 noundef 8, ptr noundef nonnull %1) #3 %38 = load double, ptr %4, align 8, !tbaa !17 %39 = call i32 @DumpVar(double noundef %38, ptr noundef nonnull %1) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %42 40: ; preds = %19 %41 = tail call i32 @lua_assert(i32 noundef 0) #3 br label %42 42: ; preds = %21, %36, %40, %16 ret void } declare i32 @DumpIntWithSize(float noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @MaybeByteSwap(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DumpVar(double 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 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress 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, !11, i64 8} !6 = !{!"TYPE_8__", !7, i64 0, !8, i64 16} !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 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!6, !8, i64 16} !14 = !{!6, !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"float", !9, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"double", !9, i64 0} !19 = !{!6, !8, i64 4}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/extr_ldump.c_DumpNumber.c' source_filename = "AnghaBench/nodemcu-firmware/app/lua/extr_ldump.c_DumpNumber.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LUA_ERR_CC_NOTINTEGER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @DumpNumber], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @DumpNumber(float noundef %0, ptr noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca double, align 8 %5 = alloca [4 x i8], align 1 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %19, label %9 9: ; preds = %2 %10 = fptosi float %0 to i32 %11 = sitofp i32 %10 to float %12 = fcmp une float %11, %0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i32, ptr @LUA_ERR_CC_NOTINTEGER, align 4, !tbaa !13 %15 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %14, ptr %15, align 8, !tbaa !14 br label %16 16: ; preds = %13, %9 %17 = load i32, ptr %1, align 8, !tbaa !15 %18 = tail call i32 @DumpIntWithSize(float noundef %0, i32 noundef %17, ptr noundef nonnull %1) #3 br label %42 19: ; preds = %2 %20 = load i32, ptr %1, align 8, !tbaa !15 switch i32 %20, label %40 [ i32 4, label %21 i32 8, label %26 ] 21: ; preds = %19 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store float %0, ptr %3, align 4, !tbaa !16 %22 = call i32 @MaybeByteSwap(ptr noundef nonnull %3, i32 noundef 4, ptr noundef nonnull %1) #3 %23 = load float, ptr %3, align 4, !tbaa !16 %24 = fpext float %23 to double %25 = call i32 @DumpVar(double noundef %24, ptr noundef nonnull %1) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %42 26: ; preds = %19 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %27 = fpext float %0 to double store double %27, ptr %4, align 8, !tbaa !18 %28 = getelementptr inbounds i8, ptr %1, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !20 %30 = icmp eq i32 %29, 0 br i1 %30, label %36, label %31 31: ; preds = %26 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %32 = call i32 @memcpy(ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef 4) #3 %33 = getelementptr inbounds i8, ptr %4, i64 4 %34 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef nonnull %33, i32 noundef 4) #3 %35 = call i32 @memcpy(ptr noundef nonnull %33, ptr noundef nonnull %5, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %36 36: ; preds = %31, %26 %37 = call i32 @MaybeByteSwap(ptr noundef nonnull %4, i32 noundef 8, ptr noundef nonnull %1) #3 %38 = load double, ptr %4, align 8, !tbaa !18 %39 = call i32 @DumpVar(double noundef %38, ptr noundef nonnull %1) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %42 40: ; preds = %19 %41 = tail call i32 @lua_assert(i32 noundef 0) #3 br label %42 42: ; preds = %21, %36, %40, %16 ret void } declare i32 @DumpIntWithSize(float noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @MaybeByteSwap(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DumpVar(double 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 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress 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, !12, i64 8} !7 = !{!"TYPE_8__", !8, i64 0, !9, i64 16} !8 = !{!"TYPE_7__", !9, i64 0, !9, i64 4, !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 = !{!9, !9, i64 0} !14 = !{!7, !9, i64 16} !15 = !{!7, !9, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"float", !10, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"double", !10, i64 0} !20 = !{!7, !9, i64 4}
nodemcu-firmware_app_lua_extr_ldump.c_DumpNumber
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_cmipci.c_snd_cmipci_capture_trigger.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_cmipci.c_snd_cmipci_capture_trigger.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CM_CH_CAPT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_cmipci_capture_trigger], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_cmipci_capture_trigger(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @CM_CH_CAPT, align 8, !tbaa !10 %6 = getelementptr inbounds i32, ptr %4, i64 %5 %7 = tail call i32 @snd_cmipci_pcm_trigger(ptr noundef nonnull %3, ptr noundef %6, i32 noundef %1) #2 ret i32 %7 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @snd_cmipci_pcm_trigger(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"cmipci", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_cmipci.c_snd_cmipci_capture_trigger.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_cmipci.c_snd_cmipci_capture_trigger.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CM_CH_CAPT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @snd_cmipci_capture_trigger], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_cmipci_capture_trigger(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @CM_CH_CAPT, align 8, !tbaa !11 %6 = getelementptr inbounds i32, ptr %4, i64 %5 %7 = tail call i32 @snd_cmipci_pcm_trigger(ptr noundef nonnull %3, ptr noundef %6, i32 noundef %1) #2 ret i32 %7 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @snd_cmipci_pcm_trigger(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cmipci", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0}
fastsocket_kernel_sound_pci_extr_cmipci.c_snd_cmipci_capture_trigger
; ModuleID = 'AnghaBench/libui/examples/histogram/extr_main.c_onClosing.c' source_filename = "AnghaBench/libui/examples/histogram/extr_main.c_onClosing.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mainwin = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @onClosing], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @onClosing(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @mainwin, align 4, !tbaa !5 %4 = tail call i32 @uiControl(i32 noundef %3) #2 %5 = tail call i32 @uiControlDestroy(i32 noundef %4) #2 %6 = tail call i32 (...) @uiQuit() #2 ret i32 0 } declare i32 @uiControlDestroy(i32 noundef) local_unnamed_addr #1 declare i32 @uiControl(i32 noundef) local_unnamed_addr #1 declare i32 @uiQuit(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/libui/examples/histogram/extr_main.c_onClosing.c' source_filename = "AnghaBench/libui/examples/histogram/extr_main.c_onClosing.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mainwin = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @onClosing], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @onClosing(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @mainwin, align 4, !tbaa !6 %4 = tail call i32 @uiControl(i32 noundef %3) #2 %5 = tail call i32 @uiControlDestroy(i32 noundef %4) #2 %6 = tail call i32 @uiQuit() #2 ret i32 0 } declare i32 @uiControlDestroy(i32 noundef) local_unnamed_addr #1 declare i32 @uiControl(i32 noundef) local_unnamed_addr #1 declare i32 @uiQuit(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
libui_examples_histogram_extr_main.c_onClosing
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_fence.c_vmw_fences_update.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_fence.c_vmw_fences_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" ; Function Attrs: nounwind uwtable define dso_local void @vmw_fences_update(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @spin_lock(ptr noundef %0) #2 %3 = tail call i32 @__vmw_fences_update(ptr noundef %0) #2 %4 = tail call i32 @spin_unlock(ptr noundef %0) #2 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @__vmw_fences_update(ptr noundef) local_unnamed_addr #1 declare i32 @spin_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)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_fence.c_vmw_fences_update.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_fence.c_vmw_fences_update.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 @vmw_fences_update(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @spin_lock(ptr noundef %0) #2 %3 = tail call i32 @__vmw_fences_update(ptr noundef %0) #2 %4 = tail call i32 @spin_unlock(ptr noundef %0) #2 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @__vmw_fences_update(ptr noundef) local_unnamed_addr #1 declare i32 @spin_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)"}
linux_drivers_gpu_drm_vmwgfx_extr_vmwgfx_fence.c_vmw_fences_update
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_sa1100_wdt.c_sa1100dog_open.c' source_filename = "AnghaBench/linux/drivers/watchdog/extr_sa1100_wdt.c_sa1100dog_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" @sa1100wdt_users = dso_local global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @OSCR = dso_local local_unnamed_addr global i32 0, align 4 @pre_margin = dso_local local_unnamed_addr global i32 0, align 4 @OSMR3 = dso_local local_unnamed_addr global i32 0, align 4 @OSSR_M3 = dso_local local_unnamed_addr global i32 0, align 4 @OSSR = dso_local local_unnamed_addr global i32 0, align 4 @OWER_WME = dso_local local_unnamed_addr global i32 0, align 4 @OWER = dso_local local_unnamed_addr global i32 0, align 4 @OIER = dso_local local_unnamed_addr global i32 0, align 4 @OIER_E3 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sa1100dog_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sa1100dog_open(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @test_and_set_bit(i32 noundef 1, ptr noundef nonnull @sa1100wdt_users) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = load i32, ptr @EBUSY, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %28 8: ; preds = %2 %9 = load i32, ptr @OSCR, align 4, !tbaa !5 %10 = tail call i32 @readl_relaxed(i32 noundef %9) #2 %11 = load i32, ptr @pre_margin, align 4, !tbaa !5 %12 = add nsw i32 %11, %10 %13 = load i32, ptr @OSMR3, align 4, !tbaa !5 %14 = tail call i32 @writel_relaxed(i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @OSSR_M3, align 4, !tbaa !5 %16 = load i32, ptr @OSSR, align 4, !tbaa !5 %17 = tail call i32 @writel_relaxed(i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @OWER_WME, align 4, !tbaa !5 %19 = load i32, ptr @OWER, align 4, !tbaa !5 %20 = tail call i32 @writel_relaxed(i32 noundef %18, i32 noundef %19) #2 %21 = load i32, ptr @OIER, align 4, !tbaa !5 %22 = tail call i32 @readl_relaxed(i32 noundef %21) #2 %23 = load i32, ptr @OIER_E3, align 4, !tbaa !5 %24 = or i32 %23, %22 %25 = load i32, ptr @OIER, align 4, !tbaa !5 %26 = tail call i32 @writel_relaxed(i32 noundef %24, i32 noundef %25) #2 %27 = tail call i32 @stream_open(ptr noundef %0, ptr noundef %1) #2 br label %28 28: ; preds = %8, %5 %29 = phi i32 [ %7, %5 ], [ %27, %8 ] ret i32 %29 } declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @writel_relaxed(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl_relaxed(i32 noundef) local_unnamed_addr #1 declare i32 @stream_open(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_sa1100_wdt.c_sa1100dog_open.c' source_filename = "AnghaBench/linux/drivers/watchdog/extr_sa1100_wdt.c_sa1100dog_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sa1100wdt_users = common global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @OSCR = common local_unnamed_addr global i32 0, align 4 @pre_margin = common local_unnamed_addr global i32 0, align 4 @OSMR3 = common local_unnamed_addr global i32 0, align 4 @OSSR_M3 = common local_unnamed_addr global i32 0, align 4 @OSSR = common local_unnamed_addr global i32 0, align 4 @OWER_WME = common local_unnamed_addr global i32 0, align 4 @OWER = common local_unnamed_addr global i32 0, align 4 @OIER = common local_unnamed_addr global i32 0, align 4 @OIER_E3 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sa1100dog_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sa1100dog_open(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @test_and_set_bit(i32 noundef 1, ptr noundef nonnull @sa1100wdt_users) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = load i32, ptr @EBUSY, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %28 8: ; preds = %2 %9 = load i32, ptr @OSCR, align 4, !tbaa !6 %10 = tail call i32 @readl_relaxed(i32 noundef %9) #2 %11 = load i32, ptr @pre_margin, align 4, !tbaa !6 %12 = add nsw i32 %11, %10 %13 = load i32, ptr @OSMR3, align 4, !tbaa !6 %14 = tail call i32 @writel_relaxed(i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @OSSR_M3, align 4, !tbaa !6 %16 = load i32, ptr @OSSR, align 4, !tbaa !6 %17 = tail call i32 @writel_relaxed(i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @OWER_WME, align 4, !tbaa !6 %19 = load i32, ptr @OWER, align 4, !tbaa !6 %20 = tail call i32 @writel_relaxed(i32 noundef %18, i32 noundef %19) #2 %21 = load i32, ptr @OIER, align 4, !tbaa !6 %22 = tail call i32 @readl_relaxed(i32 noundef %21) #2 %23 = load i32, ptr @OIER_E3, align 4, !tbaa !6 %24 = or i32 %23, %22 %25 = load i32, ptr @OIER, align 4, !tbaa !6 %26 = tail call i32 @writel_relaxed(i32 noundef %24, i32 noundef %25) #2 %27 = tail call i32 @stream_open(ptr noundef %0, ptr noundef %1) #2 br label %28 28: ; preds = %8, %5 %29 = phi i32 [ %7, %5 ], [ %27, %8 ] ret i32 %29 } declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @writel_relaxed(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl_relaxed(i32 noundef) local_unnamed_addr #1 declare i32 @stream_open(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_watchdog_extr_sa1100_wdt.c_sa1100dog_open
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_Normalize.c' source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_Normalize.c" target datalayout = "e-m:e-p270:32:32-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, i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @MatchFinder_Normalize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @MatchFinder_Normalize(ptr noundef %0) #0 { %2 = tail call i32 @MatchFinder_GetSubValue(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = load i64, ptr %0, align 8, !tbaa !12 %8 = add nsw i64 %7, %6 %9 = tail call i32 @MatchFinder_Normalize3(i32 noundef %2, i32 noundef %4, i64 noundef %8) #2 %10 = tail call i32 @MatchFinder_ReduceOffsets(ptr noundef nonnull %0, i32 noundef %2) #2 ret void } declare i32 @MatchFinder_GetSubValue(ptr noundef) local_unnamed_addr #1 declare i32 @MatchFinder_Normalize3(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @MatchFinder_ReduceOffsets(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !10, 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 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_Normalize.c' source_filename = "AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_Normalize.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 @MatchFinder_Normalize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @MatchFinder_Normalize(ptr noundef %0) #0 { %2 = tail call i32 @MatchFinder_GetSubValue(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = load i64, ptr %0, align 8, !tbaa !13 %8 = add nsw i64 %7, %6 %9 = tail call i32 @MatchFinder_Normalize3(i32 noundef %2, i32 noundef %4, i64 noundef %8) #2 %10 = tail call i32 @MatchFinder_ReduceOffsets(ptr noundef nonnull %0, i32 noundef %2) #2 ret void } declare i32 @MatchFinder_GetSubValue(ptr noundef) local_unnamed_addr #1 declare i32 @MatchFinder_Normalize3(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @MatchFinder_ReduceOffsets(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !11, 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 8} !13 = !{!7, !8, i64 0}
sumatrapdf_ext_lzma_C_extr_LzFind.c_MatchFinder_Normalize
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_set_fp_bit.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_set_fp_bit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @set_fp_bit], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @set_fp_bit(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp eq i32 %0, 0 %6 = zext i1 %5 to i32 %7 = shl nsw i32 %2, 1 %8 = add nsw i32 %7, %1 %9 = shl nsw i32 %3, 2 %10 = add nsw i32 %8, %9 %11 = shl nuw i32 %6, %10 ret i32 %11 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_set_fp_bit.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_torus.c_set_fp_bit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @set_fp_bit], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i32 @set_fp_bit(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp eq i32 %0, 0 %6 = zext i1 %5 to i32 %7 = shl nsw i32 %2, 1 %8 = add nsw i32 %7, %1 %9 = shl nsw i32 %3, 2 %10 = add nsw i32 %8, %9 %11 = shl nuw i32 %6, %10 ret i32 %11 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_ofed_opensm_opensm_extr_osm_torus.c_set_fp_bit
; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_dosfs.c_dos_mount.c' source_filename = "AnghaBench/freebsd/stand/libsa/extr_dosfs.c_dos_mount.c" target datalayout = "e-m:e-p270:32:32-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_10__, ptr, ptr } %struct.TYPE_10__ = type { ptr, ptr, %struct.TYPE_8__ } %struct.TYPE_8__ = type { ptr } @errno = dso_local local_unnamed_addr global i32 0, align 4 @FATBLKSZ = dso_local local_unnamed_addr global i32 0, align 4 @dot = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dos_mount], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dos_mount(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @bzero(ptr noundef %0, i32 noundef 48) #3 %4 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 4 store ptr %1, ptr %4, align 8, !tbaa !5 %5 = tail call i32 @secbyt(i32 noundef 1) #3 %6 = tail call ptr @malloc(i32 noundef %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i32, ptr @errno, align 4, !tbaa !13 br label %59 10: ; preds = %2 %11 = load ptr, ptr %4, align 8, !tbaa !5 %12 = tail call i32 @secbyt(i32 noundef 1) #3 %13 = tail call i32 @ioget(ptr noundef %11, i32 noundef 0, ptr noundef nonnull %6, i32 noundef %12) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %10 %16 = tail call i32 @parsebs(ptr noundef nonnull %0, ptr noundef nonnull %6) #3 %17 = icmp eq i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15, %10 %19 = phi i32 [ %13, %10 ], [ %16, %15 ] %20 = tail call i32 @free(ptr noundef nonnull %6) #3 br label %59 21: ; preds = %15 %22 = tail call i32 @free(ptr noundef nonnull %6) #3 %23 = load i32, ptr @FATBLKSZ, align 4, !tbaa !13 %24 = tail call ptr @malloc(i32 noundef %23) #3 %25 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 store ptr %24, ptr %25, align 8, !tbaa !14 %26 = icmp eq ptr %24, null br i1 %26, label %27, label %29 27: ; preds = %21 %28 = load i32, ptr @errno, align 4, !tbaa !13 br label %59 29: ; preds = %21 %30 = tail call i32 @dos_read_fatblk(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 0) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = load ptr, ptr %25, align 8, !tbaa !14 %34 = tail call i32 @free(ptr noundef %33) #3 br label %59 35: ; preds = %29 %36 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %37 = load ptr, ptr @dot, align 8, !tbaa !15 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %37, i64 24, i1 false), !tbaa.struct !16 %38 = load ptr, ptr %36, align 8, !tbaa !17 store i8 32, ptr %38, align 1, !tbaa !18 %39 = load i32, ptr %0, align 8, !tbaa !19 %40 = icmp eq i32 %39, 32 br i1 %40, label %41, label %59 41: ; preds = %35 %42 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %43 = load i32, ptr %42, align 4, !tbaa !20 %44 = and i32 %43, 255 %45 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2, i32 1 %46 = load ptr, ptr %45, align 8, !tbaa !21 store i32 %44, ptr %46, align 4, !tbaa !13 %47 = load i32, ptr %42, align 4, !tbaa !20 %48 = lshr i32 %47, 8 %49 = and i32 %48, 255 %50 = getelementptr inbounds i32, ptr %46, i64 1 store i32 %49, ptr %50, align 4, !tbaa !13 %51 = load i32, ptr %42, align 4, !tbaa !20 %52 = lshr i32 %51, 16 %53 = and i32 %52, 255 %54 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2, i32 2 %55 = load ptr, ptr %54, align 8, !tbaa !22 store i32 %53, ptr %55, align 4, !tbaa !13 %56 = load i32, ptr %42, align 4, !tbaa !20 %57 = lshr i32 %56, 24 %58 = getelementptr inbounds i32, ptr %55, i64 1 store i32 %57, ptr %58, align 4, !tbaa !13 br label %59 59: ; preds = %35, %41, %32, %27, %18, %8 %60 = phi i32 [ %9, %8 ], [ %19, %18 ], [ %28, %27 ], [ %30, %32 ], [ 0, %41 ], [ 0, %35 ] ret i32 %60 } declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @secbyt(i32 noundef) local_unnamed_addr #1 declare i32 @ioget(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @parsebs(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @dos_read_fatblk(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 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, !11, i64 40} !6 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 32, !11, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_10__", !11, i64 0, !11, i64 8, !12, i64 16} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_8__", !11, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !11, i64 32} !15 = !{!11, !11, i64 0} !16 = !{i64 0, i64 8, !15, i64 8, i64 8, !15, i64 16, i64 8, !15} !17 = !{!6, !11, i64 8} !18 = !{!8, !8, i64 0} !19 = !{!6, !7, i64 0} !20 = !{!6, !7, i64 4} !21 = !{!6, !11, i64 16} !22 = !{!6, !11, i64 24}
; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_dosfs.c_dos_mount.c' source_filename = "AnghaBench/freebsd/stand/libsa/extr_dosfs.c_dos_mount.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @errno = common local_unnamed_addr global i32 0, align 4 @FATBLKSZ = common local_unnamed_addr global i32 0, align 4 @dot = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @dos_mount], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dos_mount(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @bzero(ptr noundef %0, i32 noundef 48) #3 %4 = getelementptr inbounds i8, ptr %0, i64 40 store ptr %1, ptr %4, align 8, !tbaa !6 %5 = tail call i32 @secbyt(i32 noundef 1) #3 %6 = tail call ptr @malloc(i32 noundef %5) #3 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i32, ptr @errno, align 4, !tbaa !14 br label %59 10: ; preds = %2 %11 = load ptr, ptr %4, align 8, !tbaa !6 %12 = tail call i32 @secbyt(i32 noundef 1) #3 %13 = tail call i32 @ioget(ptr noundef %11, i32 noundef 0, ptr noundef nonnull %6, i32 noundef %12) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %10 %16 = tail call i32 @parsebs(ptr noundef nonnull %0, ptr noundef nonnull %6) #3 %17 = icmp eq i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15, %10 %19 = phi i32 [ %13, %10 ], [ %16, %15 ] %20 = tail call i32 @free(ptr noundef nonnull %6) #3 br label %59 21: ; preds = %15 %22 = tail call i32 @free(ptr noundef nonnull %6) #3 %23 = load i32, ptr @FATBLKSZ, align 4, !tbaa !14 %24 = tail call ptr @malloc(i32 noundef %23) #3 %25 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %24, ptr %25, align 8, !tbaa !15 %26 = icmp eq ptr %24, null br i1 %26, label %27, label %29 27: ; preds = %21 %28 = load i32, ptr @errno, align 4, !tbaa !14 br label %59 29: ; preds = %21 %30 = tail call i32 @dos_read_fatblk(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 0) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = load ptr, ptr %25, align 8, !tbaa !15 %34 = tail call i32 @free(ptr noundef %33) #3 br label %59 35: ; preds = %29 %36 = getelementptr inbounds i8, ptr %0, i64 8 %37 = load ptr, ptr @dot, align 8, !tbaa !16 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %37, i64 24, i1 false), !tbaa.struct !17 %38 = load ptr, ptr %36, align 8, !tbaa !18 store i8 32, ptr %38, align 1, !tbaa !19 %39 = load i32, ptr %0, align 8, !tbaa !20 %40 = icmp eq i32 %39, 32 br i1 %40, label %41, label %59 41: ; preds = %35 %42 = getelementptr inbounds i8, ptr %0, i64 4 %43 = load i32, ptr %42, align 4, !tbaa !21 %44 = and i32 %43, 255 %45 = getelementptr inbounds i8, ptr %0, i64 16 %46 = load ptr, ptr %45, align 8, !tbaa !22 store i32 %44, ptr %46, align 4, !tbaa !14 %47 = load i32, ptr %42, align 4, !tbaa !21 %48 = lshr i32 %47, 8 %49 = and i32 %48, 255 %50 = getelementptr inbounds i8, ptr %46, i64 4 store i32 %49, ptr %50, align 4, !tbaa !14 %51 = load i32, ptr %42, align 4, !tbaa !21 %52 = lshr i32 %51, 16 %53 = and i32 %52, 255 %54 = getelementptr inbounds i8, ptr %0, i64 24 %55 = load ptr, ptr %54, align 8, !tbaa !23 store i32 %53, ptr %55, align 4, !tbaa !14 %56 = load i32, ptr %42, align 4, !tbaa !21 %57 = lshr i32 %56, 24 %58 = getelementptr inbounds i8, ptr %55, i64 4 store i32 %57, ptr %58, align 4, !tbaa !14 br label %59 59: ; preds = %35, %41, %32, %27, %18, %8 %60 = phi i32 [ %9, %8 ], [ %19, %18 ], [ %28, %27 ], [ %30, %32 ], [ 0, %41 ], [ 0, %35 ] ret i32 %60 } declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @secbyt(i32 noundef) local_unnamed_addr #1 declare i32 @ioget(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @parsebs(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @dos_read_fatblk(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 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, !12, i64 40} !7 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 32, !12, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_10__", !12, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_8__", !12, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !12, i64 32} !16 = !{!12, !12, i64 0} !17 = !{i64 0, i64 8, !16, i64 8, i64 8, !16, i64 16, i64 8, !16} !18 = !{!7, !12, i64 8} !19 = !{!9, !9, i64 0} !20 = !{!7, !8, i64 0} !21 = !{!7, !8, i64 4} !22 = !{!7, !12, i64 16} !23 = !{!7, !12, i64 24}
freebsd_stand_libsa_extr_dosfs.c_dos_mount
; ModuleID = 'AnghaBench/esp-idf/components/bt/common/osi/extr_fixed_queue.c_fixed_queue_register_dequeue.c' source_filename = "AnghaBench/esp-idf/components/bt/common/osi/extr_fixed_queue.c_fixed_queue_register_dequeue.c" target datalayout = "e-m:e-p270:32:32-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 @fixed_queue_register_dequeue(ptr noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = icmp ne ptr %1, null %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #2 store ptr %1, ptr %0, align 8, !tbaa !5 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/esp-idf/components/bt/common/osi/extr_fixed_queue.c_fixed_queue_register_dequeue.c' source_filename = "AnghaBench/esp-idf/components/bt/common/osi/extr_fixed_queue.c_fixed_queue_register_dequeue.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 @fixed_queue_register_dequeue(ptr noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = icmp ne ptr %1, null %7 = zext i1 %6 to i32 %8 = tail call i32 @assert(i32 noundef %7) #2 store ptr %1, ptr %0, align 8, !tbaa !6 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
esp-idf_components_bt_common_osi_extr_fixed_queue.c_fixed_queue_register_dequeue
; ModuleID = 'AnghaBench/hiredis/extr_hiredis.c_redisGetReply.c' source_filename = "AnghaBench/hiredis/extr_hiredis.c_redisGetReply.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REDIS_ERR = dso_local local_unnamed_addr global i64 0, align 8 @REDIS_BLOCK = dso_local local_unnamed_addr global i32 0, align 4 @REDIS_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @redisGetReply(ptr noundef %0, ptr noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !9 %5 = call i64 @redisGetReplyFromReader(ptr noundef %0, ptr noundef nonnull %4) #3 %6 = load i64, ptr @REDIS_ERR, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = trunc i64 %5 to i32 br label %48 10: ; preds = %2 %11 = load ptr, ptr %4, align 8, !tbaa !9 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %42 13: ; preds = %10 %14 = load i32, ptr %0, align 4, !tbaa !13 %15 = load i32, ptr @REDIS_BLOCK, align 4, !tbaa !5 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %42, label %18 18: ; preds = %13, %24 %19 = call i64 @redisBufferWrite(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %20 = load i64, ptr @REDIS_ERR, align 8, !tbaa !11 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = trunc i64 %19 to i32 br label %48 24: ; preds = %18 %25 = load i32, ptr %3, align 4, !tbaa !5 %26 = icmp eq i32 %25, 0 br i1 %26, label %18, label %27, !llvm.loop !15 27: ; preds = %24, %39 %28 = call i64 @redisBufferRead(ptr noundef nonnull %0) #3 %29 = load i64, ptr @REDIS_ERR, align 8, !tbaa !11 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %33 31: ; preds = %27 %32 = trunc i64 %28 to i32 br label %48 33: ; preds = %27 %34 = call i64 @redisGetReplyFromReader(ptr noundef nonnull %0, ptr noundef nonnull %4) #3 %35 = load i64, ptr @REDIS_ERR, align 8, !tbaa !11 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = trunc i64 %34 to i32 br label %48 39: ; preds = %33 %40 = load ptr, ptr %4, align 8, !tbaa !9 %41 = icmp eq ptr %40, null br i1 %41, label %27, label %42, !llvm.loop !17 42: ; preds = %39, %13, %10 %43 = phi ptr [ null, %13 ], [ %11, %10 ], [ %40, %39 ] %44 = icmp eq ptr %1, null br i1 %44, label %46, label %45 45: ; preds = %42 store ptr %43, ptr %1, align 8, !tbaa !9 br label %46 46: ; preds = %45, %42 %47 = load i32, ptr @REDIS_OK, align 4, !tbaa !5 br label %48 48: ; preds = %46, %37, %31, %22, %8 %49 = phi i32 [ %9, %8 ], [ %23, %22 ], [ %32, %31 ], [ %38, %37 ], [ %47, %46 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @redisGetReplyFromReader(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @redisBufferWrite(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @redisBufferRead(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_6__", !6, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
; ModuleID = 'AnghaBench/hiredis/extr_hiredis.c_redisGetReply.c' source_filename = "AnghaBench/hiredis/extr_hiredis.c_redisGetReply.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REDIS_ERR = common local_unnamed_addr global i64 0, align 8 @REDIS_BLOCK = common local_unnamed_addr global i32 0, align 4 @REDIS_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @redisGetReply(ptr noundef %0, ptr noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !10 %5 = call i64 @redisGetReplyFromReader(ptr noundef %0, ptr noundef nonnull %4) #3 %6 = load i64, ptr @REDIS_ERR, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = trunc i64 %5 to i32 br label %48 10: ; preds = %2 %11 = load ptr, ptr %4, align 8, !tbaa !10 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %42 13: ; preds = %10 %14 = load i32, ptr %0, align 4, !tbaa !14 %15 = load i32, ptr @REDIS_BLOCK, align 4, !tbaa !6 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %42, label %18 18: ; preds = %13, %24 %19 = call i64 @redisBufferWrite(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %20 = load i64, ptr @REDIS_ERR, align 8, !tbaa !12 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %18 %23 = trunc i64 %19 to i32 br label %48 24: ; preds = %18 %25 = load i32, ptr %3, align 4, !tbaa !6 %26 = icmp eq i32 %25, 0 br i1 %26, label %18, label %27, !llvm.loop !16 27: ; preds = %24, %39 %28 = call i64 @redisBufferRead(ptr noundef nonnull %0) #3 %29 = load i64, ptr @REDIS_ERR, align 8, !tbaa !12 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %33 31: ; preds = %27 %32 = trunc i64 %28 to i32 br label %48 33: ; preds = %27 %34 = call i64 @redisGetReplyFromReader(ptr noundef nonnull %0, ptr noundef nonnull %4) #3 %35 = load i64, ptr @REDIS_ERR, align 8, !tbaa !12 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = trunc i64 %34 to i32 br label %48 39: ; preds = %33 %40 = load ptr, ptr %4, align 8, !tbaa !10 %41 = icmp eq ptr %40, null br i1 %41, label %27, label %42, !llvm.loop !18 42: ; preds = %39, %13, %10 %43 = phi ptr [ null, %13 ], [ %11, %10 ], [ %40, %39 ] %44 = icmp eq ptr %1, null br i1 %44, label %46, label %45 45: ; preds = %42 store ptr %43, ptr %1, align 8, !tbaa !10 br label %46 46: ; preds = %45, %42 %47 = load i32, ptr @REDIS_OK, align 4, !tbaa !6 br label %48 48: ; preds = %46, %37, %31, %22, %8 %49 = phi i32 [ %9, %8 ], [ %23, %22 ], [ %32, %31 ], [ %38, %37 ], [ %47, %46 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @redisGetReplyFromReader(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @redisBufferWrite(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @redisBufferRead(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_6__", !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17}
hiredis_extr_hiredis.c_redisGetReply
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_loslib.c_os_date.c' source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_loslib.c_os_date.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tm = type { i32 } @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @l_checktime = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [55 x i8] c"time result cannot be represented in this installation\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"*t\00", align 1 @SIZETIMEFMT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @os_date], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @os_date(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.tm, align 4 %5 = alloca [4 x i8], align 1 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %7 = call ptr @luaL_optlstring(ptr noundef %0, i32 noundef 1, ptr noundef nonnull @.str, ptr noundef nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %8 = load i32, ptr @l_checktime, align 4, !tbaa !5 %9 = call i32 @time(ptr noundef null) #3 %10 = call i32 @luaL_opt(ptr noundef %0, i32 noundef %8, i32 noundef 2, i32 noundef %9) #3 store i32 %10, ptr %3, align 4, !tbaa !5 %11 = load i64, ptr %2, align 8, !tbaa !9 %12 = getelementptr inbounds i8, ptr %7, i64 %11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %13 = load i8, ptr %7, align 1, !tbaa !11 %14 = icmp eq i8 %13, 33 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = call ptr @l_gmtime(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %17 = getelementptr inbounds i8, ptr %7, i64 1 br label %20 18: ; preds = %1 %19 = call ptr @l_localtime(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 br label %20 20: ; preds = %18, %15 %21 = phi ptr [ %16, %15 ], [ %19, %18 ] %22 = phi ptr [ %17, %15 ], [ %7, %18 ] %23 = icmp eq ptr %21, null br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %62 26: ; preds = %20 %27 = call i64 @strcmp(ptr noundef nonnull %22, ptr noundef nonnull @.str.2) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = call i32 @lua_createtable(ptr noundef %0, i32 noundef 0, i32 noundef 9) #3 %31 = call i32 @setallfields(ptr noundef %0, ptr noundef nonnull %21) #3 br label %62 32: ; preds = %26 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 store i8 37, ptr %5, align 1, !tbaa !11 %33 = call i32 @luaL_buffinit(ptr noundef %0, ptr noundef nonnull %6) #3 %34 = icmp ult ptr %22, %12 br i1 %34, label %35, label %60 35: ; preds = %32 %36 = ptrtoint ptr %12 to i64 %37 = getelementptr inbounds i8, ptr %5, i64 1 br label %38 38: ; preds = %35, %57 %39 = phi ptr [ %22, %35 ], [ %58, %57 ] %40 = load i8, ptr %39, align 1, !tbaa !11 %41 = icmp eq i8 %40, 37 br i1 %41, label %46, label %42 42: ; preds = %38 %43 = sext i8 %40 to i32 %44 = getelementptr inbounds i8, ptr %39, i64 1 %45 = call i32 @luaL_addchar(ptr noundef nonnull %6, i32 noundef %43) #3 br label %57 46: ; preds = %38 %47 = load i32, ptr @SIZETIMEFMT, align 4, !tbaa !5 %48 = call ptr @luaL_prepbuffsize(ptr noundef nonnull %6, i32 noundef %47) #3 %49 = getelementptr inbounds i8, ptr %39, i64 1 %50 = ptrtoint ptr %49 to i64 %51 = sub i64 %36, %50 %52 = trunc i64 %51 to i32 %53 = call ptr @checkoption(ptr noundef %0, ptr noundef nonnull %49, i32 noundef %52, ptr noundef nonnull %37) #3 %54 = load i32, ptr @SIZETIMEFMT, align 4, !tbaa !5 %55 = call i64 @strftime(ptr noundef %48, i32 noundef %54, ptr noundef nonnull %5, ptr noundef nonnull %21) #3 %56 = call i32 @luaL_addsize(ptr noundef nonnull %6, i64 noundef %55) #3 br label %57 57: ; preds = %46, %42 %58 = phi ptr [ %44, %42 ], [ %53, %46 ] %59 = icmp ult ptr %58, %12 br i1 %59, label %38, label %60, !llvm.loop !12 60: ; preds = %57, %32 %61 = call i32 @luaL_pushresult(ptr noundef nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %62 62: ; preds = %29, %60, %24 %63 = phi i32 [ %25, %24 ], [ 1, %60 ], [ 1, %29 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %63 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @luaL_optlstring(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_opt(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @time(ptr noundef) local_unnamed_addr #2 declare ptr @l_gmtime(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @l_localtime(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @setallfields(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_buffinit(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_addchar(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @luaL_prepbuffsize(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @checkoption(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_addsize(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_pushresult(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!7, !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_loslib.c_os_date.c' source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_loslib.c_os_date.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.tm = type { i32 } @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @l_checktime = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [55 x i8] c"time result cannot be represented in this installation\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"*t\00", align 1 @SIZETIMEFMT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @os_date], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @os_date(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.tm, align 4 %5 = alloca [4 x i8], align 1 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %7 = call ptr @luaL_optlstring(ptr noundef %0, i32 noundef 1, ptr noundef nonnull @.str, ptr noundef nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %8 = load i32, ptr @l_checktime, align 4, !tbaa !6 %9 = call i32 @time(ptr noundef null) #3 %10 = call i32 @luaL_opt(ptr noundef %0, i32 noundef %8, i32 noundef 2, i32 noundef %9) #3 store i32 %10, ptr %3, align 4, !tbaa !6 %11 = load i64, ptr %2, align 8, !tbaa !10 %12 = getelementptr inbounds i8, ptr %7, i64 %11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %13 = load i8, ptr %7, align 1, !tbaa !12 %14 = icmp eq i8 %13, 33 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = call ptr @l_gmtime(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %17 = getelementptr inbounds i8, ptr %7, i64 1 br label %20 18: ; preds = %1 %19 = call ptr @l_localtime(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 br label %20 20: ; preds = %18, %15 %21 = phi ptr [ %16, %15 ], [ %19, %18 ] %22 = phi ptr [ %17, %15 ], [ %7, %18 ] %23 = icmp eq ptr %21, null br i1 %23, label %24, label %26 24: ; preds = %20 %25 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %62 26: ; preds = %20 %27 = call i64 @strcmp(ptr noundef nonnull %22, ptr noundef nonnull @.str.2) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = call i32 @lua_createtable(ptr noundef %0, i32 noundef 0, i32 noundef 9) #3 %31 = call i32 @setallfields(ptr noundef %0, ptr noundef nonnull %21) #3 br label %62 32: ; preds = %26 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 store i8 37, ptr %5, align 1, !tbaa !12 %33 = call i32 @luaL_buffinit(ptr noundef %0, ptr noundef nonnull %6) #3 %34 = icmp ult ptr %22, %12 br i1 %34, label %35, label %60 35: ; preds = %32 %36 = ptrtoint ptr %12 to i64 %37 = getelementptr inbounds i8, ptr %5, i64 1 br label %38 38: ; preds = %35, %57 %39 = phi ptr [ %22, %35 ], [ %58, %57 ] %40 = load i8, ptr %39, align 1, !tbaa !12 %41 = icmp eq i8 %40, 37 br i1 %41, label %46, label %42 42: ; preds = %38 %43 = sext i8 %40 to i32 %44 = getelementptr inbounds i8, ptr %39, i64 1 %45 = call i32 @luaL_addchar(ptr noundef nonnull %6, i32 noundef %43) #3 br label %57 46: ; preds = %38 %47 = load i32, ptr @SIZETIMEFMT, align 4, !tbaa !6 %48 = call ptr @luaL_prepbuffsize(ptr noundef nonnull %6, i32 noundef %47) #3 %49 = getelementptr inbounds i8, ptr %39, i64 1 %50 = ptrtoint ptr %49 to i64 %51 = sub i64 %36, %50 %52 = trunc i64 %51 to i32 %53 = call ptr @checkoption(ptr noundef %0, ptr noundef nonnull %49, i32 noundef %52, ptr noundef nonnull %37) #3 %54 = load i32, ptr @SIZETIMEFMT, align 4, !tbaa !6 %55 = call i64 @strftime(ptr noundef %48, i32 noundef %54, ptr noundef nonnull %5, ptr noundef nonnull %21) #3 %56 = call i32 @luaL_addsize(ptr noundef nonnull %6, i64 noundef %55) #3 br label %57 57: ; preds = %46, %42 %58 = phi ptr [ %44, %42 ], [ %53, %46 ] %59 = icmp ult ptr %58, %12 br i1 %59, label %38, label %60, !llvm.loop !13 60: ; preds = %57, %32 %61 = call i32 @luaL_pushresult(ptr noundef nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %62 62: ; preds = %29, %60, %24 %63 = phi i32 [ %25, %24 ], [ 1, %60 ], [ 1, %29 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %63 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @luaL_optlstring(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_opt(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @time(ptr noundef) local_unnamed_addr #2 declare ptr @l_gmtime(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @l_localtime(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @setallfields(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_buffinit(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_addchar(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @luaL_prepbuffsize(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @checkoption(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_addsize(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @luaL_pushresult(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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_lua_src_extr_loslib.c_os_date
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_handler.c_tipc_handler_start.c' source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_handler.c_tipc_handler_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"tipc_queue_items\00", align 1 @SLAB_HWCACHE_ALIGN = dso_local local_unnamed_addr global i32 0, align 4 @tipc_queue_item_cache = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @signal_queue_head = dso_local global i32 0, align 4 @tipc_tasklet = dso_local global i32 0, align 4 @handler_enabled = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @tipc_handler_start() local_unnamed_addr #0 { %1 = load i32, ptr @SLAB_HWCACHE_ALIGN, align 4, !tbaa !5 %2 = tail call i32 @kmem_cache_create(ptr noundef nonnull @.str, i32 noundef 4, i32 noundef 0, i32 noundef %1, ptr noundef null) #2 store i32 %2, ptr @tipc_queue_item_cache, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %0 %5 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %6 = sub nsw i32 0, %5 br label %10 7: ; preds = %0 %8 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull @signal_queue_head) #2 %9 = tail call i32 @tasklet_enable(ptr noundef nonnull @tipc_tasklet) #2 store i32 1, ptr @handler_enabled, align 4, !tbaa !5 br label %10 10: ; preds = %7, %4 %11 = phi i32 [ 0, %7 ], [ %6, %4 ] ret i32 %11 } declare i32 @kmem_cache_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_enable(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_handler.c_tipc_handler_start.c' source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_handler.c_tipc_handler_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [17 x i8] c"tipc_queue_items\00", align 1 @SLAB_HWCACHE_ALIGN = common local_unnamed_addr global i32 0, align 4 @tipc_queue_item_cache = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @signal_queue_head = common global i32 0, align 4 @tipc_tasklet = common global i32 0, align 4 @handler_enabled = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @tipc_handler_start() local_unnamed_addr #0 { %1 = load i32, ptr @SLAB_HWCACHE_ALIGN, align 4, !tbaa !6 %2 = tail call i32 @kmem_cache_create(ptr noundef nonnull @.str, i32 noundef 4, i32 noundef 0, i32 noundef %1, ptr noundef null) #2 store i32 %2, ptr @tipc_queue_item_cache, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %0 %5 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %6 = sub nsw i32 0, %5 br label %10 7: ; preds = %0 %8 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull @signal_queue_head) #2 %9 = tail call i32 @tasklet_enable(ptr noundef nonnull @tipc_tasklet) #2 store i32 1, ptr @handler_enabled, align 4, !tbaa !6 br label %10 10: ; preds = %7, %4 %11 = phi i32 [ 0, %7 ], [ %6, %4 ] ret i32 %11 } declare i32 @kmem_cache_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_enable(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_tipc_extr_handler.c_tipc_handler_start
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/ibmasm/extr_event.c_ibmasm_cancel_next_event.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/ibmasm/extr_event.c_ibmasm_cancel_next_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.event_reader = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @ibmasm_cancel_next_event(ptr noundef %0) local_unnamed_addr #0 { store i32 1, ptr %0, align 4, !tbaa !5 %2 = getelementptr inbounds %struct.event_reader, ptr %0, i64 0, i32 1 %3 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %2) #2 ret void } declare i32 @wake_up_interruptible(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 = !{!"event_reader", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/misc/ibmasm/extr_event.c_ibmasm_cancel_next_event.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/misc/ibmasm/extr_event.c_ibmasm_cancel_next_event.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 @ibmasm_cancel_next_event(ptr noundef %0) local_unnamed_addr #0 { store i32 1, ptr %0, align 4, !tbaa !6 %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %2) #2 ret void } declare i32 @wake_up_interruptible(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 = !{!"event_reader", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_misc_ibmasm_extr_event.c_ibmasm_cancel_next_event
; ModuleID = 'AnghaBench/linux/mm/extr_page_io.c_swap_writepage.c' source_filename = "AnghaBench/linux/mm/extr_page_io.c_swap_writepage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @end_swap_bio_write = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @swap_writepage(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @try_to_free_swap(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @unlock_page(ptr noundef %0) #2 br label %17 7: ; preds = %2 %8 = tail call i64 @frontswap_store(ptr noundef %0) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = tail call i32 @set_page_writeback(ptr noundef %0) #2 %12 = tail call i32 @unlock_page(ptr noundef %0) #2 %13 = tail call i32 @end_page_writeback(ptr noundef %0) #2 br label %17 14: ; preds = %7 %15 = load i32, ptr @end_swap_bio_write, align 4, !tbaa !5 %16 = tail call i32 @__swap_writepage(ptr noundef %0, ptr noundef %1, i32 noundef %15) #2 br label %17 17: ; preds = %14, %10, %5 %18 = phi i32 [ 0, %5 ], [ 0, %10 ], [ %16, %14 ] ret i32 %18 } declare i64 @try_to_free_swap(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_page(ptr noundef) local_unnamed_addr #1 declare i64 @frontswap_store(ptr noundef) local_unnamed_addr #1 declare i32 @set_page_writeback(ptr noundef) local_unnamed_addr #1 declare i32 @end_page_writeback(ptr noundef) local_unnamed_addr #1 declare i32 @__swap_writepage(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/mm/extr_page_io.c_swap_writepage.c' source_filename = "AnghaBench/linux/mm/extr_page_io.c_swap_writepage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @end_swap_bio_write = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @swap_writepage(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @try_to_free_swap(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @unlock_page(ptr noundef %0) #2 br label %17 7: ; preds = %2 %8 = tail call i64 @frontswap_store(ptr noundef %0) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = tail call i32 @set_page_writeback(ptr noundef %0) #2 %12 = tail call i32 @unlock_page(ptr noundef %0) #2 %13 = tail call i32 @end_page_writeback(ptr noundef %0) #2 br label %17 14: ; preds = %7 %15 = load i32, ptr @end_swap_bio_write, align 4, !tbaa !6 %16 = tail call i32 @__swap_writepage(ptr noundef %0, ptr noundef %1, i32 noundef %15) #2 br label %17 17: ; preds = %14, %10, %5 %18 = phi i32 [ 0, %5 ], [ 0, %10 ], [ %16, %14 ] ret i32 %18 } declare i64 @try_to_free_swap(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_page(ptr noundef) local_unnamed_addr #1 declare i64 @frontswap_store(ptr noundef) local_unnamed_addr #1 declare i32 @set_page_writeback(ptr noundef) local_unnamed_addr #1 declare i32 @end_page_writeback(ptr noundef) local_unnamed_addr #1 declare i32 @__swap_writepage(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_mm_extr_page_io.c_swap_writepage
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_pool.c_svn_pool__create_unmanaged.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_pool.c_svn_pool__create_unmanaged.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @abort_on_pool_failure = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_pool__create_unmanaged(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i32, ptr @abort_on_pool_failure, align 4, !tbaa !5 %4 = tail call i32 @svn_pool_create_allocator(i32 noundef %0) #3 %5 = call i32 @apr_pool_create_unmanaged_ex(ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4) #3 %6 = load ptr, ptr %2, align 8, !tbaa !9 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret ptr %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @apr_pool_create_unmanaged_ex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svn_pool_create_allocator(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}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_pool.c_svn_pool__create_unmanaged.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_pool.c_svn_pool__create_unmanaged.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @abort_on_pool_failure = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_pool__create_unmanaged(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i32, ptr @abort_on_pool_failure, align 4, !tbaa !6 %4 = tail call i32 @svn_pool_create_allocator(i32 noundef %0) #3 %5 = call i32 @apr_pool_create_unmanaged_ex(ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4) #3 %6 = load ptr, ptr %2, align 8, !tbaa !10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret ptr %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @apr_pool_create_unmanaged_ex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svn_pool_create_allocator(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}
freebsd_contrib_subversion_subversion_libsvn_subr_extr_pool.c_svn_pool__create_unmanaged
; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_gcc-ipq4019.c_clk_fepll_vco_calc_rate.c' source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_gcc-ipq4019.c_clk_fepll_vco_calc_rate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.clk_fepll = type { %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } %struct.clk_fepll_vco = type { i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @clk_fepll_vco_calc_rate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @clk_fepll_vco_calc_rate(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds %struct.clk_fepll, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %6 = load i32, ptr %0, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.clk_fepll_vco, ptr %5, i64 0, i32 4 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = call i32 @regmap_read(i32 noundef %6, i32 noundef %8, ptr noundef nonnull %3) #3 %10 = load i32, ptr %3, align 4, !tbaa !16 %11 = load i32, ptr %5, align 4, !tbaa !17 %12 = ashr i32 %10, %11 %13 = getelementptr inbounds %struct.clk_fepll_vco, ptr %5, i64 0, i32 3 %14 = load i32, ptr %13, align 4, !tbaa !18 %15 = call i32 @BIT(i32 noundef %14) #3 %16 = add nsw i32 %15, -1 %17 = and i32 %16, %12 %18 = load i32, ptr %3, align 4, !tbaa !16 %19 = getelementptr inbounds %struct.clk_fepll_vco, ptr %5, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = ashr i32 %18, %20 %22 = getelementptr inbounds %struct.clk_fepll_vco, ptr %5, i64 0, i32 2 %23 = load i32, ptr %22, align 4, !tbaa !20 %24 = call i32 @BIT(i32 noundef %23) #3 %25 = add nsw i32 %24, -1 %26 = and i32 %25, %21 %27 = sext i32 %17 to i64 %28 = udiv i64 %1, %27 %29 = trunc i64 %28 to i32 %30 = shl nsw i32 %29, 1 %31 = mul nsw i32 %30, %26 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @BIT(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, !12, i64 8} !6 = !{!"clk_fepll", !7, i64 0, !12, i64 8} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!6, !9, i64 0} !14 = !{!15, !9, i64 16} !15 = !{!"clk_fepll_vco", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16} !16 = !{!9, !9, i64 0} !17 = !{!15, !9, i64 0} !18 = !{!15, !9, i64 12} !19 = !{!15, !9, i64 4} !20 = !{!15, !9, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_gcc-ipq4019.c_clk_fepll_vco_calc_rate.c' source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_gcc-ipq4019.c_clk_fepll_vco_calc_rate.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 @clk_fepll_vco_calc_rate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @clk_fepll_vco_calc_rate(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %6 = load i32, ptr %0, align 8, !tbaa !14 %7 = getelementptr inbounds i8, ptr %5, i64 16 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = call i32 @regmap_read(i32 noundef %6, i32 noundef %8, ptr noundef nonnull %3) #3 %10 = load i32, ptr %3, align 4, !tbaa !17 %11 = load i32, ptr %5, align 4, !tbaa !18 %12 = ashr i32 %10, %11 %13 = getelementptr inbounds i8, ptr %5, i64 12 %14 = load i32, ptr %13, align 4, !tbaa !19 %15 = call i32 @BIT(i32 noundef %14) #3 %16 = add nsw i32 %15, -1 %17 = and i32 %16, %12 %18 = load i32, ptr %3, align 4, !tbaa !17 %19 = getelementptr inbounds i8, ptr %5, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !20 %21 = ashr i32 %18, %20 %22 = getelementptr inbounds i8, ptr %5, i64 8 %23 = load i32, ptr %22, align 4, !tbaa !21 %24 = call i32 @BIT(i32 noundef %23) #3 %25 = add nsw i32 %24, -1 %26 = and i32 %25, %21 %27 = sext i32 %17 to i64 %28 = udiv i64 %1, %27 %29 = trunc i64 %28 to i32 %30 = shl nsw i32 %29, 1 %31 = mul nsw i32 %30, %26 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @BIT(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, !13, i64 8} !7 = !{!"clk_fepll", !8, i64 0, !13, i64 8} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"TYPE_3__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"any pointer", !11, i64 0} !14 = !{!7, !10, i64 0} !15 = !{!16, !10, i64 16} !16 = !{!"clk_fepll_vco", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16} !17 = !{!10, !10, i64 0} !18 = !{!16, !10, i64 0} !19 = !{!16, !10, i64 12} !20 = !{!16, !10, i64 4} !21 = !{!16, !10, i64 8}
linux_drivers_clk_qcom_extr_gcc-ipq4019.c_clk_fepll_vco_calc_rate
; ModuleID = 'AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vtterm_post_input.c' source_filename = "AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vtterm_post_input.c" target datalayout = "e-m:e-p270:32:32-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 @vtterm_post_input], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vtterm_post_input(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @vtbuf_unlock(ptr noundef %2) #2 %4 = tail call i32 @vt_resume_flush_timer(ptr noundef %2, i32 noundef 0) #2 ret void } declare i32 @vtbuf_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @vt_resume_flush_timer(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 = !{!"terminal", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vtterm_post_input.c' source_filename = "AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vtterm_post_input.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 @vtterm_post_input], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vtterm_post_input(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @vtbuf_unlock(ptr noundef %2) #2 %4 = tail call i32 @vt_resume_flush_timer(ptr noundef %2, i32 noundef 0) #2 ret void } declare i32 @vtbuf_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @vt_resume_flush_timer(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 = !{!"terminal", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_vt_extr_vt_core.c_vtterm_post_input
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_g_items.c_Pickup_Reward.c' source_filename = "AnghaBench/lab/engine/code/game/extr_g_items.c_Pickup_Reward.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_8__ = type { %struct.TYPE_7__*, i64 } %struct.TYPE_7__ = type { i64 } @.str = private unnamed_addr constant [14 x i8] c"PICKUP_REWARD\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @Pickup_Reward(%struct.TYPE_8__* noundef %0, %struct.TYPE_8__* noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %0, i64 0, i32 1 %4 = load i64, i64* %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %0, i64 0, i32 0 %8 = load %struct.TYPE_7__*, %struct.TYPE_7__** %7, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %8, i64 0, i32 0 %10 = load i64, i64* %9, align 8, !tbaa !12 br label %11 11: ; preds = %2, %6 %12 = phi i64 [ %10, %6 ], [ %4, %2 ] %13 = tail call i32 @AddScore(%struct.TYPE_8__* noundef %1, i32* noundef null, i64 noundef %12, i8* noundef getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), %struct.TYPE_8__* noundef nonnull %0) #2 ret i32 -1 } declare i32 @AddScore(%struct.TYPE_8__* noundef, i32* noundef, i64 noundef, i8* noundef, %struct.TYPE_8__* noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_7__", !10, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_g_items.c_Pickup_Reward.c' source_filename = "AnghaBench/lab/engine/code/game/extr_g_items.c_Pickup_Reward.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"PICKUP_REWARD\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @Pickup_Reward(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load ptr, ptr %0, align 8, !tbaa !12 %8 = load i64, ptr %7, align 8, !tbaa !13 br label %9 9: ; preds = %2, %6 %10 = phi i64 [ %8, %6 ], [ %4, %2 ] %11 = tail call i32 @AddScore(ptr noundef %1, ptr noundef null, i64 noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 ret i32 -1 } declare i32 @AddScore(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_7__", !11, i64 0}
lab_engine_code_game_extr_g_items.c_Pickup_Reward
; ModuleID = 'AnghaBench/h2o/lib/common/extr_redis.c_close_and_detach_connection.c' source_filename = "AnghaBench/h2o/lib/common/extr_redis.c_close_and_detach_connection.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i32 } @H2O_REDIS_CONNECTION_STATE_CLOSED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @close_and_detach_connection], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @close_and_detach_connection(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr @H2O_REDIS_CONNECTION_STATE_CLOSED, align 4, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3 store i32 %8, ptr %9, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = icmp eq ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %2 %14 = tail call i32 %11(ptr noundef %1) #2 br label %15 15: ; preds = %13, %2 %16 = load ptr, ptr %3, align 8, !tbaa !5 store ptr null, ptr %16, align 8, !tbaa !14 store ptr null, ptr %3, align 8, !tbaa !5 %17 = tail call i32 @h2o_timer_unlink(ptr noundef nonnull %0) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @h2o_timer_unlink(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 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 24} !13 = !{!6, !10, i64 16} !14 = !{!15, !10, i64 0} !15 = !{!"TYPE_4__", !10, i64 0}
; ModuleID = 'AnghaBench/h2o/lib/common/extr_redis.c_close_and_detach_connection.c' source_filename = "AnghaBench/h2o/lib/common/extr_redis.c_close_and_detach_connection.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @H2O_REDIS_CONNECTION_STATE_CLOSED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @close_and_detach_connection], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @close_and_detach_connection(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr @H2O_REDIS_CONNECTION_STATE_CLOSED, align 4, !tbaa !12 %9 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %8, ptr %9, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = icmp eq ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %2 %14 = tail call i32 %11(ptr noundef %1) #2 br label %15 15: ; preds = %13, %2 %16 = load ptr, ptr %3, align 8, !tbaa !6 store ptr null, ptr %16, align 8, !tbaa !15 store ptr null, ptr %3, align 8, !tbaa !6 %17 = tail call i32 @h2o_timer_unlink(ptr noundef nonnull %0) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @h2o_timer_unlink(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 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 24} !14 = !{!7, !11, i64 16} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_4__", !11, i64 0}
h2o_lib_common_extr_redis.c_close_and_detach_connection
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tiny/extr_gm12u320.c_gm12u320_conn_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/tiny/extr_gm12u320.c_gm12u320_conn_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.gm12u320_device = type { i32, i32 } @gm12u320_conn_helper_funcs = dso_local global i32 0, align 4 @gm12u320_conn_funcs = dso_local global i32 0, align 4 @DRM_MODE_CONNECTOR_VGA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gm12u320_conn_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gm12u320_conn_init(ptr noundef %0) #0 { %2 = tail call i32 @drm_connector_helper_add(ptr noundef %0, ptr noundef nonnull @gm12u320_conn_helper_funcs) #2 %3 = getelementptr inbounds %struct.gm12u320_device, ptr %0, i64 0, i32 1 %4 = load i32, ptr @DRM_MODE_CONNECTOR_VGA, align 4, !tbaa !5 %5 = tail call i32 @drm_connector_init(ptr noundef nonnull %3, ptr noundef %0, ptr noundef nonnull @gm12u320_conn_funcs, i32 noundef %4) #2 ret i32 %5 } declare i32 @drm_connector_helper_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @drm_connector_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tiny/extr_gm12u320.c_gm12u320_conn_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/tiny/extr_gm12u320.c_gm12u320_conn_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gm12u320_conn_helper_funcs = common global i32 0, align 4 @gm12u320_conn_funcs = common global i32 0, align 4 @DRM_MODE_CONNECTOR_VGA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gm12u320_conn_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gm12u320_conn_init(ptr noundef %0) #0 { %2 = tail call i32 @drm_connector_helper_add(ptr noundef %0, ptr noundef nonnull @gm12u320_conn_helper_funcs) #2 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr @DRM_MODE_CONNECTOR_VGA, align 4, !tbaa !6 %5 = tail call i32 @drm_connector_init(ptr noundef nonnull %3, ptr noundef %0, ptr noundef nonnull @gm12u320_conn_funcs, i32 noundef %4) #2 ret i32 %5 } declare i32 @drm_connector_helper_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @drm_connector_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_tiny_extr_gm12u320.c_gm12u320_conn_init
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/b53/extr_b53_common.c_b53_default_pvid.c' source_filename = "AnghaBench/linux/drivers/net/dsa/b53/extr_b53_common.c_b53_default_pvid.c" target datalayout = "e-m:e-p270:32:32-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 @b53_default_pvid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @b53_default_pvid(ptr noundef %0) #0 { %2 = tail call i64 @is5325(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = tail call i64 @is5365(ptr noundef %0) #2 %6 = icmp ne i64 %5, 0 %7 = zext i1 %6 to i32 br label %8 8: ; preds = %4, %1 %9 = phi i32 [ 1, %1 ], [ %7, %4 ] ret i32 %9 } declare i64 @is5325(ptr noundef) local_unnamed_addr #1 declare i64 @is5365(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/net/dsa/b53/extr_b53_common.c_b53_default_pvid.c' source_filename = "AnghaBench/linux/drivers/net/dsa/b53/extr_b53_common.c_b53_default_pvid.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 @b53_default_pvid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @b53_default_pvid(ptr noundef %0) #0 { %2 = tail call i64 @is5325(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = tail call i64 @is5365(ptr noundef %0) #2 %6 = icmp ne i64 %5, 0 %7 = zext i1 %6 to i32 br label %8 8: ; preds = %4, %1 %9 = phi i32 [ 1, %1 ], [ %7, %4 ] ret i32 %9 } declare i64 @is5325(ptr noundef) local_unnamed_addr #1 declare i64 @is5365(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_net_dsa_b53_extr_b53_common.c_b53_default_pvid
; ModuleID = 'AnghaBench/freebsd/sys/dev/mii/extr_rdcphy.c_rdcphy_service.c' source_filename = "AnghaBench/freebsd/sys/dev/mii/extr_rdcphy.c_rdcphy_service.c" target datalayout = "e-m:e-p270:32:32-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.mii_data = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr } @IFM_ETHER = dso_local local_unnamed_addr global i32 0, align 4 @IFM_NONE = dso_local local_unnamed_addr global i32 0, align 4 @RDCPHY_MANNEG_TICK = dso_local local_unnamed_addr global i32 0, align 4 @EJUSTRETURN = dso_local local_unnamed_addr global i32 0, align 4 @IFM_AUTO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rdcphy_service], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rdcphy_service(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.mii_data, ptr %1, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 switch i32 %2, label %33 [ i32 128, label %19 i32 130, label %6 ] 6: ; preds = %3 %7 = tail call i32 @mii_phy_setmedia(ptr noundef %0) #2 %8 = load i32, ptr %5, align 4, !tbaa !12 %9 = tail call i32 @IFM_SUBTYPE(i32 noundef %8) #2 %10 = add i32 %9, -131 %11 = icmp ult i32 %10, 2 br i1 %11, label %12, label %33 12: ; preds = %6 %13 = getelementptr inbounds %struct.mii_data, ptr %1, i64 0, i32 1 store i32 0, ptr %13, align 4, !tbaa !14 %14 = load i32, ptr @IFM_ETHER, align 4, !tbaa !15 %15 = load i32, ptr @IFM_NONE, align 4, !tbaa !15 %16 = or i32 %15, %14 store i32 %16, ptr %1, align 8, !tbaa !16 %17 = load i32, ptr @RDCPHY_MANNEG_TICK, align 4, !tbaa !15 store i32 %17, ptr %0, align 4, !tbaa !17 %18 = tail call i32 @mii_phy_update(ptr noundef nonnull %0, i32 noundef 130) #2 br label %36 19: ; preds = %3 %20 = tail call i32 @mii_phy_tick(ptr noundef %0) #2 %21 = load i32, ptr @EJUSTRETURN, align 4, !tbaa !15 %22 = icmp eq i32 %20, %21 br i1 %22, label %36, label %23 23: ; preds = %19 %24 = load i32, ptr %5, align 4, !tbaa !12 %25 = tail call i32 @IFM_SUBTYPE(i32 noundef %24) #2 %26 = load i32, ptr @IFM_AUTO, align 4, !tbaa !15 %27 = icmp eq i32 %25, %26 br i1 %27, label %33, label %28 28: ; preds = %23 %29 = load i32, ptr %0, align 4, !tbaa !17 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = add nsw i32 %29, -1 store i32 %32, ptr %0, align 4, !tbaa !17 br label %36 33: ; preds = %6, %23, %28, %3 %34 = tail call i32 @PHY_STATUS(ptr noundef %0) #2 %35 = tail call i32 @mii_phy_update(ptr noundef %0, i32 noundef %2) #2 br label %36 36: ; preds = %19, %33, %31, %12 ret i32 0 } declare i32 @mii_phy_setmedia(ptr noundef) local_unnamed_addr #1 declare i32 @IFM_SUBTYPE(i32 noundef) local_unnamed_addr #1 declare i32 @mii_phy_update(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mii_phy_tick(ptr noundef) local_unnamed_addr #1 declare i32 @PHY_STATUS(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"mii_data", !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 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"ifmedia_entry", !7, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!7, !7, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"rdcphy_softc", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mii/extr_rdcphy.c_rdcphy_service.c' source_filename = "AnghaBench/freebsd/sys/dev/mii/extr_rdcphy.c_rdcphy_service.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFM_ETHER = common local_unnamed_addr global i32 0, align 4 @IFM_NONE = common local_unnamed_addr global i32 0, align 4 @RDCPHY_MANNEG_TICK = common local_unnamed_addr global i32 0, align 4 @EJUSTRETURN = common local_unnamed_addr global i32 0, align 4 @IFM_AUTO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rdcphy_service], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @rdcphy_service(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 switch i32 %2, label %33 [ i32 128, label %19 i32 130, label %6 ] 6: ; preds = %3 %7 = tail call i32 @mii_phy_setmedia(ptr noundef %0) #2 %8 = load i32, ptr %5, align 4, !tbaa !13 %9 = tail call i32 @IFM_SUBTYPE(i32 noundef %8) #2 %10 = add i32 %9, -131 %11 = icmp ult i32 %10, 2 br i1 %11, label %12, label %33 12: ; preds = %6 %13 = getelementptr inbounds i8, ptr %1, i64 4 store i32 0, ptr %13, align 4, !tbaa !15 %14 = load i32, ptr @IFM_ETHER, align 4, !tbaa !16 %15 = load i32, ptr @IFM_NONE, align 4, !tbaa !16 %16 = or i32 %15, %14 store i32 %16, ptr %1, align 8, !tbaa !17 %17 = load i32, ptr @RDCPHY_MANNEG_TICK, align 4, !tbaa !16 store i32 %17, ptr %0, align 4, !tbaa !18 %18 = tail call i32 @mii_phy_update(ptr noundef nonnull %0, i32 noundef 130) #2 br label %36 19: ; preds = %3 %20 = tail call i32 @mii_phy_tick(ptr noundef %0) #2 %21 = load i32, ptr @EJUSTRETURN, align 4, !tbaa !16 %22 = icmp eq i32 %20, %21 br i1 %22, label %36, label %23 23: ; preds = %19 %24 = load i32, ptr %5, align 4, !tbaa !13 %25 = tail call i32 @IFM_SUBTYPE(i32 noundef %24) #2 %26 = load i32, ptr @IFM_AUTO, align 4, !tbaa !16 %27 = icmp eq i32 %25, %26 br i1 %27, label %33, label %28 28: ; preds = %23 %29 = load i32, ptr %0, align 4, !tbaa !18 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = add nsw i32 %29, -1 store i32 %32, ptr %0, align 4, !tbaa !18 br label %36 33: ; preds = %6, %23, %28, %3 %34 = tail call i32 @PHY_STATUS(ptr noundef %0) #2 %35 = tail call i32 @mii_phy_update(ptr noundef %0, i32 noundef %2) #2 br label %36 36: ; preds = %19, %33, %31, %12 ret i32 0 } declare i32 @mii_phy_setmedia(ptr noundef) local_unnamed_addr #1 declare i32 @IFM_SUBTYPE(i32 noundef) local_unnamed_addr #1 declare i32 @mii_phy_update(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mii_phy_tick(ptr noundef) local_unnamed_addr #1 declare i32 @PHY_STATUS(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"mii_data", !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 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"ifmedia_entry", !8, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!8, !8, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"rdcphy_softc", !8, i64 0}
freebsd_sys_dev_mii_extr_rdcphy.c_rdcphy_service
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libdecnumber/extr_decNumber.c_decNumberAbs.c' source_filename = "AnghaBench/freebsd/contrib/gcclibs/libdecnumber/extr_decNumber.c_decNumberAbs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { i32, i32 } @DECNEG = dso_local local_unnamed_addr global i32 0, align 4 @DECUNUSED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @decNumberAbs(ptr noundef returned %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_12__, align 4 %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store i64 0, ptr %5, align 8, !tbaa !5 %6 = call i32 @decNumberZero(ptr noundef nonnull %4) #3 %7 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 1 store i32 %8, ptr %9, align 4, !tbaa !9 %10 = load i32, ptr %1, align 4, !tbaa !12 %11 = load i32, ptr @DECNEG, align 4, !tbaa !13 %12 = and i32 %11, %10 %13 = call i32 @decAddOp(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %12, ptr noundef nonnull %5) #3 %14 = load i64, ptr %5, align 8, !tbaa !5 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %3 %17 = call i32 @decStatus(ptr noundef %0, i64 noundef %14, ptr noundef %2) #3 br label %18 18: ; preds = %16, %3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @decNumberZero(ptr noundef) local_unnamed_addr #2 declare i32 @decAddOp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @decStatus(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 4} !10 = !{!"TYPE_12__", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libdecnumber/extr_decNumber.c_decNumberAbs.c' source_filename = "AnghaBench/freebsd/contrib/gcclibs/libdecnumber/extr_decNumber.c_decNumberAbs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_12__ = type { i32, i32 } @DECNEG = common local_unnamed_addr global i32 0, align 4 @DECUNUSED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @decNumberAbs(ptr noundef returned %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_12__, align 4 %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store i64 0, ptr %5, align 8, !tbaa !6 %6 = call i32 @decNumberZero(ptr noundef nonnull %4) #3 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %8, ptr %9, align 4, !tbaa !10 %10 = load i32, ptr %1, align 4, !tbaa !13 %11 = load i32, ptr @DECNEG, align 4, !tbaa !14 %12 = and i32 %11, %10 %13 = call i32 @decAddOp(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %1, ptr noundef %2, i32 noundef %12, ptr noundef nonnull %5) #3 %14 = load i64, ptr %5, align 8, !tbaa !6 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %3 %17 = call i32 @decStatus(ptr noundef %0, i64 noundef %14, ptr noundef %2) #3 br label %18 18: ; preds = %16, %3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @decNumberZero(ptr noundef) local_unnamed_addr #2 declare i32 @decAddOp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @decStatus(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"TYPE_12__", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0}
freebsd_contrib_gcclibs_libdecnumber_extr_decNumber.c_decNumberAbs
; ModuleID = 'AnghaBench/gb-studio/buildTools/darwin-x64/mod2gbt/extr_mod2gbt.c_convert_pattern.c' source_filename = "AnghaBench/gb-studio/buildTools/darwin-x64/mod2gbt/extr_mod2gbt.c_convert_pattern.c" target datalayout = "e-m:e-p270:32:32-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 [21 x i8] c"const unsigned char \00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @label_name = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [8 x i8] c"[] = {\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c":\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c" DB \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"};\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @convert_pattern(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca [4 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = tail call i32 @out_write_str(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 %9 = load ptr, ptr @label_name, align 8, !tbaa !5 %10 = tail call i32 @out_write_str(ptr noundef %9, ptr noundef %9) #3 %11 = tail call i32 @out_write_dec(i32 noundef %1) #3 %12 = tail call i32 @out_write_str(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #3 br label %13 13: ; preds = %76, %2 %14 = phi i64 [ 0, %2 ], [ %78, %76 ] %15 = call i32 @out_write_str(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %16 = load ptr, ptr %0, align 8, !tbaa !9 %17 = getelementptr inbounds ptr, ptr %16, i64 %14 %18 = load ptr, ptr %17, align 8, !tbaa !5 %19 = load i32, ptr %18, align 4, !tbaa !11 %20 = call i32 @memcpy(ptr noundef nonnull %3, i32 noundef %19, i32 noundef 4) #3 %21 = call i32 @unpack_info(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %22 = load i32, ptr %5, align 4, !tbaa !11 %23 = trunc i64 %14 to i32 %24 = call i32 @mod_get_index_from_period(i32 noundef %22, i32 noundef %1, i32 noundef %23, i32 noundef 1) #3 %25 = load i32, ptr %4, align 4, !tbaa !11 %26 = load i32, ptr %5, align 4, !tbaa !11 %27 = load i32, ptr %6, align 4, !tbaa !11 %28 = load i32, ptr %7, align 4, !tbaa !11 %29 = call i32 @convert_channel1(i32 noundef %1, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28) #3 %30 = call i32 @out_write_str(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6) #3 %31 = load ptr, ptr %0, align 8, !tbaa !9 %32 = getelementptr inbounds ptr, ptr %31, i64 %14 %33 = load ptr, ptr %32, align 8, !tbaa !5 %34 = getelementptr inbounds i32, ptr %33, i64 1 %35 = load i32, ptr %34, align 4, !tbaa !11 %36 = call i32 @memcpy(ptr noundef nonnull %3, i32 noundef %35, i32 noundef 4) #3 %37 = call i32 @unpack_info(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %38 = load i32, ptr %5, align 4, !tbaa !11 %39 = call i32 @mod_get_index_from_period(i32 noundef %38, i32 noundef %1, i32 noundef %23, i32 noundef 2) #3 %40 = load i32, ptr %4, align 4, !tbaa !11 %41 = load i32, ptr %5, align 4, !tbaa !11 %42 = load i32, ptr %6, align 4, !tbaa !11 %43 = load i32, ptr %7, align 4, !tbaa !11 %44 = call i32 @convert_channel2(i32 noundef %1, i32 noundef %23, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43) #3 %45 = call i32 @out_write_str(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6) #3 %46 = load ptr, ptr %0, align 8, !tbaa !9 %47 = getelementptr inbounds ptr, ptr %46, i64 %14 %48 = load ptr, ptr %47, align 8, !tbaa !5 %49 = getelementptr inbounds i32, ptr %48, i64 2 %50 = load i32, ptr %49, align 4, !tbaa !11 %51 = call i32 @memcpy(ptr noundef nonnull %3, i32 noundef %50, i32 noundef 4) #3 %52 = call i32 @unpack_info(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %53 = load i32, ptr %5, align 4, !tbaa !11 %54 = call i32 @mod_get_index_from_period(i32 noundef %53, i32 noundef %1, i32 noundef %23, i32 noundef 3) #3 %55 = load i32, ptr %4, align 4, !tbaa !11 %56 = load i32, ptr %5, align 4, !tbaa !11 %57 = load i32, ptr %6, align 4, !tbaa !11 %58 = load i32, ptr %7, align 4, !tbaa !11 %59 = call i32 @convert_channel3(i32 noundef %1, i32 noundef %23, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58) #3 %60 = call i32 @out_write_str(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6) #3 %61 = load ptr, ptr %0, align 8, !tbaa !9 %62 = getelementptr inbounds ptr, ptr %61, i64 %14 %63 = load ptr, ptr %62, align 8, !tbaa !5 %64 = getelementptr inbounds i32, ptr %63, i64 3 %65 = load i32, ptr %64, align 4, !tbaa !11 %66 = call i32 @memcpy(ptr noundef nonnull %3, i32 noundef %65, i32 noundef 4) #3 %67 = call i32 @unpack_info(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %68 = load i32, ptr %5, align 4, !tbaa !11 %69 = call i32 @mod_get_index_from_period(i32 noundef %68, i32 noundef %1, i32 noundef %23, i32 noundef 4) #3 %70 = load i32, ptr %4, align 4, !tbaa !11 %71 = load i32, ptr %5, align 4, !tbaa !11 %72 = load i32, ptr %6, align 4, !tbaa !11 %73 = load i32, ptr %7, align 4, !tbaa !11 %74 = call i32 @convert_channel4(i32 noundef %1, i32 noundef %23, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73) #3 %75 = icmp eq i64 %14, 63 br i1 %75, label %79, label %76 76: ; preds = %13 %77 = call i32 @out_write_str(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 %78 = add nuw nsw i64 %14, 1 br label %13 79: ; preds = %13 %80 = call i32 @out_write_str(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 %81 = call i32 @out_write_str(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10) #3 ret void } declare i32 @out_write_str(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @out_write_dec(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 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @unpack_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mod_get_index_from_period(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @convert_channel1(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @convert_channel2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @convert_channel3(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @convert_channel4(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_3__", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/gb-studio/buildTools/darwin-x64/mod2gbt/extr_mod2gbt.c_convert_pattern.c' source_filename = "AnghaBench/gb-studio/buildTools/darwin-x64/mod2gbt/extr_mod2gbt.c_convert_pattern.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [21 x i8] c"const unsigned char \00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @label_name = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [8 x i8] c"[] = {\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c":\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c" DB \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"};\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @convert_pattern(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca [4 x i32], align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = tail call i32 @out_write_str(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 %9 = load ptr, ptr @label_name, align 8, !tbaa !6 %10 = tail call i32 @out_write_str(ptr noundef %9, ptr noundef %9) #3 %11 = tail call i32 @out_write_dec(i32 noundef %1) #3 %12 = tail call i32 @out_write_str(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #3 br label %13 13: ; preds = %76, %2 %14 = phi i64 [ 0, %2 ], [ %78, %76 ] %15 = call i32 @out_write_str(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %16 = load ptr, ptr %0, align 8, !tbaa !10 %17 = getelementptr inbounds ptr, ptr %16, i64 %14 %18 = load ptr, ptr %17, align 8, !tbaa !6 %19 = load i32, ptr %18, align 4, !tbaa !12 %20 = call i32 @memcpy(ptr noundef nonnull %3, i32 noundef %19, i32 noundef 4) #3 %21 = call i32 @unpack_info(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %22 = load i32, ptr %5, align 4, !tbaa !12 %23 = trunc nuw nsw i64 %14 to i32 %24 = call i32 @mod_get_index_from_period(i32 noundef %22, i32 noundef %1, i32 noundef %23, i32 noundef 1) #3 %25 = load i32, ptr %4, align 4, !tbaa !12 %26 = load i32, ptr %5, align 4, !tbaa !12 %27 = load i32, ptr %6, align 4, !tbaa !12 %28 = load i32, ptr %7, align 4, !tbaa !12 %29 = call i32 @convert_channel1(i32 noundef %1, i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28) #3 %30 = call i32 @out_write_str(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6) #3 %31 = load ptr, ptr %0, align 8, !tbaa !10 %32 = getelementptr inbounds ptr, ptr %31, i64 %14 %33 = load ptr, ptr %32, align 8, !tbaa !6 %34 = getelementptr inbounds i8, ptr %33, i64 4 %35 = load i32, ptr %34, align 4, !tbaa !12 %36 = call i32 @memcpy(ptr noundef nonnull %3, i32 noundef %35, i32 noundef 4) #3 %37 = call i32 @unpack_info(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %38 = load i32, ptr %5, align 4, !tbaa !12 %39 = call i32 @mod_get_index_from_period(i32 noundef %38, i32 noundef %1, i32 noundef %23, i32 noundef 2) #3 %40 = load i32, ptr %4, align 4, !tbaa !12 %41 = load i32, ptr %5, align 4, !tbaa !12 %42 = load i32, ptr %6, align 4, !tbaa !12 %43 = load i32, ptr %7, align 4, !tbaa !12 %44 = call i32 @convert_channel2(i32 noundef %1, i32 noundef %23, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43) #3 %45 = call i32 @out_write_str(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6) #3 %46 = load ptr, ptr %0, align 8, !tbaa !10 %47 = getelementptr inbounds ptr, ptr %46, i64 %14 %48 = load ptr, ptr %47, align 8, !tbaa !6 %49 = getelementptr inbounds i8, ptr %48, i64 8 %50 = load i32, ptr %49, align 4, !tbaa !12 %51 = call i32 @memcpy(ptr noundef nonnull %3, i32 noundef %50, i32 noundef 4) #3 %52 = call i32 @unpack_info(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %53 = load i32, ptr %5, align 4, !tbaa !12 %54 = call i32 @mod_get_index_from_period(i32 noundef %53, i32 noundef %1, i32 noundef %23, i32 noundef 3) #3 %55 = load i32, ptr %4, align 4, !tbaa !12 %56 = load i32, ptr %5, align 4, !tbaa !12 %57 = load i32, ptr %6, align 4, !tbaa !12 %58 = load i32, ptr %7, align 4, !tbaa !12 %59 = call i32 @convert_channel3(i32 noundef %1, i32 noundef %23, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58) #3 %60 = call i32 @out_write_str(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.6) #3 %61 = load ptr, ptr %0, align 8, !tbaa !10 %62 = getelementptr inbounds ptr, ptr %61, i64 %14 %63 = load ptr, ptr %62, align 8, !tbaa !6 %64 = getelementptr inbounds i8, ptr %63, i64 12 %65 = load i32, ptr %64, align 4, !tbaa !12 %66 = call i32 @memcpy(ptr noundef nonnull %3, i32 noundef %65, i32 noundef 4) #3 %67 = call i32 @unpack_info(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %68 = load i32, ptr %5, align 4, !tbaa !12 %69 = call i32 @mod_get_index_from_period(i32 noundef %68, i32 noundef %1, i32 noundef %23, i32 noundef 4) #3 %70 = load i32, ptr %4, align 4, !tbaa !12 %71 = load i32, ptr %5, align 4, !tbaa !12 %72 = load i32, ptr %6, align 4, !tbaa !12 %73 = load i32, ptr %7, align 4, !tbaa !12 %74 = call i32 @convert_channel4(i32 noundef %1, i32 noundef %23, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73) #3 %75 = icmp eq i64 %14, 63 br i1 %75, label %79, label %76 76: ; preds = %13 %77 = call i32 @out_write_str(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 %78 = add nuw nsw i64 %14, 1 br label %13 79: ; preds = %13 %80 = call i32 @out_write_str(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 %81 = call i32 @out_write_str(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10) #3 ret void } declare i32 @out_write_str(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @out_write_dec(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 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @unpack_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mod_get_index_from_period(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @convert_channel1(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @convert_channel2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @convert_channel3(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @convert_channel4(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 = !{!"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, !13, i64 0} !13 = !{!"int", !8, i64 0}
gb-studio_buildTools_darwin-x64_mod2gbt_extr_mod2gbt.c_convert_pattern
; ModuleID = 'AnghaBench/freebsd/sys/dev/trm/extr_trm.c_trm_ExecuteSRB.c' source_filename = "AnghaBench/freebsd/sys/dev/trm/extr_trm.c_trm_ExecuteSRB.c" target datalayout = "e-m:e-p270:32:32-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_11__ = type { i32, ptr, i32, i32, i64, i64, i64, i64, i64, i64, i64, ptr, i64, ptr, ptr } %struct.TYPE_9__ = type { i32, i32, i64 } %struct.TYPE_10__ = type { i64, i32 } %struct.TYPE_12__ = type { ptr, i32 } %struct.TYPE_13__ = type { ptr, i32 } @.str = private unnamed_addr constant [26 x i8] c"trm_ExecuteSRB..........\0A\00", align 1 @CAM_DIR_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CAM_DIR_IN = dso_local local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_PREREAD = dso_local local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_PREWRITE = dso_local local_unnamed_addr global i32 0, align 4 @PH_BUS_FREE = dso_local local_unnamed_addr global i32 0, align 4 @CAM_REQ_INPROG = dso_local local_unnamed_addr global i32 0, align 4 @CAM_SIM_QUEUED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @trm_ExecuteSRB], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @trm_ExecuteSRB(ptr noundef %0, ptr noundef readonly %1, i32 noundef %2, i32 %3) #0 { %5 = tail call i32 (...) @splcam() #3 %6 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 14 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_9__, ptr %7, i64 0, i32 2 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = inttoptr i64 %9 to ptr %11 = tail call i32 @TRM_DPRINTF(ptr noundef nonnull @.str) #3 %12 = icmp eq i32 %2, 0 br i1 %12, label %48, label %13 13: ; preds = %4 %14 = sext i32 %2 to i64 %15 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 %14 %16 = icmp sgt i32 %2, 0 br i1 %16, label %17, label %33 17: ; preds = %13 %18 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 13 %19 = load ptr, ptr %18, align 8, !tbaa !13 br label %20 20: ; preds = %17, %20 %21 = phi ptr [ %31, %20 ], [ %1, %17 ] %22 = phi ptr [ %30, %20 ], [ %19, %17 ] %23 = phi ptr [ %29, %20 ], [ null, %17 ] %24 = getelementptr inbounds %struct.TYPE_10__, ptr %21, i64 0, i32 1 %25 = load i32, ptr %24, align 8, !tbaa !14 %26 = getelementptr inbounds %struct.TYPE_12__, ptr %22, i64 0, i32 1 store i32 %25, ptr %26, align 8, !tbaa !16 %27 = load i64, ptr %21, align 8, !tbaa !18 %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %22, align 8, !tbaa !19 %29 = getelementptr inbounds i8, ptr %23, i64 %27 %30 = getelementptr inbounds %struct.TYPE_12__, ptr %22, i64 1 %31 = getelementptr inbounds %struct.TYPE_10__, ptr %21, i64 1 %32 = icmp ult ptr %31, %15 br i1 %32, label %20, label %33, !llvm.loop !20 33: ; preds = %20, %13 %34 = phi ptr [ null, %13 ], [ %29, %20 ] %35 = load i32, ptr %7, align 8, !tbaa !12 %36 = load i32, ptr @CAM_DIR_MASK, align 4, !tbaa !22 %37 = and i32 %36, %35 %38 = load i32, ptr @CAM_DIR_IN, align 4, !tbaa !22 %39 = icmp eq i32 %37, %38 %40 = load i32, ptr @BUS_DMASYNC_PREREAD, align 4 %41 = load i32, ptr @BUS_DMASYNC_PREWRITE, align 4 %42 = select i1 %39, i32 %40, i32 %41 %43 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 0, i32 1 %44 = load i32, ptr %43, align 8, !tbaa !23 %45 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %46 = load i32, ptr %45, align 8, !tbaa !25 %47 = tail call i32 @bus_dmamap_sync(i32 noundef %44, i32 noundef %46, i32 noundef %42) #3 br label %48 48: ; preds = %33, %4 %49 = phi ptr [ %34, %33 ], [ null, %4 ] %50 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 12 store i64 0, ptr %50, align 8, !tbaa !26 %51 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 11 store ptr %49, ptr %51, align 8, !tbaa !27 store i32 %2, ptr %0, align 8, !tbaa !28 %52 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %52, i8 0, i64 56, i1 false) %53 = load i32, ptr @PH_BUS_FREE, align 4, !tbaa !22 %54 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3 store i32 %53, ptr %54, align 4, !tbaa !29 %55 = getelementptr inbounds %struct.TYPE_9__, ptr %7, i64 0, i32 1 %56 = load i32, ptr %55, align 4, !tbaa !12 %57 = load i32, ptr @CAM_REQ_INPROG, align 4, !tbaa !22 %58 = icmp eq i32 %56, %57 br i1 %58, label %70, label %59 59: ; preds = %48 br i1 %12, label %66, label %60 60: ; preds = %59 %61 = getelementptr inbounds %struct.TYPE_13__, ptr %10, i64 0, i32 1 %62 = load i32, ptr %61, align 8, !tbaa !23 %63 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %64 = load i32, ptr %63, align 8, !tbaa !25 %65 = tail call i32 @bus_dmamap_unload(i32 noundef %62, i32 noundef %64) #3 br label %66 66: ; preds = %60, %59 %67 = load ptr, ptr %10, align 8, !tbaa !30 %68 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 store ptr %67, ptr %68, align 8, !tbaa !31 store ptr %0, ptr %10, align 8, !tbaa !30 %69 = tail call i32 @xpt_done(ptr noundef nonnull %7) #3 br label %74 70: ; preds = %48 %71 = load i32, ptr @CAM_SIM_QUEUED, align 4, !tbaa !22 %72 = or i32 %71, %56 store i32 %72, ptr %55, align 4, !tbaa !12 %73 = tail call i32 @trm_SendSRB(ptr noundef %10, ptr noundef nonnull %0) #3 br label %74 74: ; preds = %70, %66 %75 = tail call i32 @splx(i32 noundef %5) #3 ret void } declare i32 @splcam(...) local_unnamed_addr #1 declare i32 @TRM_DPRINTF(ptr noundef) local_unnamed_addr #1 declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_dmamap_unload(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @xpt_done(ptr noundef) local_unnamed_addr #1 declare i32 @splx(i32 noundef) local_unnamed_addr #1 declare i32 @trm_SendSRB(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 104} !6 = !{!"TYPE_11__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !10, i64 80, !11, i64 88, !10, i64 96, !10, i64 104} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!6, !10, i64 96} !14 = !{!15, !7, i64 8} !15 = !{!"TYPE_10__", !11, i64 0, !7, i64 8} !16 = !{!17, !7, i64 8} !17 = !{!"TYPE_12__", !10, i64 0, !7, i64 8} !18 = !{!15, !11, i64 0} !19 = !{!17, !10, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!7, !7, i64 0} !23 = !{!24, !7, i64 8} !24 = !{!"TYPE_13__", !10, i64 0, !7, i64 8} !25 = !{!6, !7, i64 16} !26 = !{!6, !11, i64 88} !27 = !{!6, !10, i64 80} !28 = !{!6, !7, i64 0} !29 = !{!6, !7, i64 20} !30 = !{!24, !10, i64 0} !31 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/trm/extr_trm.c_trm_ExecuteSRB.c' source_filename = "AnghaBench/freebsd/sys/dev/trm/extr_trm.c_trm_ExecuteSRB.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { i64, i32 } @.str = private unnamed_addr constant [26 x i8] c"trm_ExecuteSRB..........\0A\00", align 1 @CAM_DIR_MASK = common local_unnamed_addr global i32 0, align 4 @CAM_DIR_IN = common local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_PREREAD = common local_unnamed_addr global i32 0, align 4 @BUS_DMASYNC_PREWRITE = common local_unnamed_addr global i32 0, align 4 @PH_BUS_FREE = common local_unnamed_addr global i32 0, align 4 @CAM_REQ_INPROG = common local_unnamed_addr global i32 0, align 4 @CAM_SIM_QUEUED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @trm_ExecuteSRB], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @trm_ExecuteSRB(ptr noundef %0, ptr noundef readonly %1, i32 noundef %2, i32 %3) #0 { %5 = tail call i32 @splcam() #3 %6 = getelementptr inbounds i8, ptr %0, i64 104 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = inttoptr i64 %9 to ptr %11 = tail call i32 @TRM_DPRINTF(ptr noundef nonnull @.str) #3 %12 = icmp eq i32 %2, 0 br i1 %12, label %48, label %13 13: ; preds = %4 %14 = sext i32 %2 to i64 %15 = getelementptr inbounds %struct.TYPE_10__, ptr %1, i64 %14 %16 = icmp sgt i32 %2, 0 br i1 %16, label %17, label %33 17: ; preds = %13 %18 = getelementptr inbounds i8, ptr %0, i64 96 %19 = load ptr, ptr %18, align 8, !tbaa !14 br label %20 20: ; preds = %17, %20 %21 = phi ptr [ %31, %20 ], [ %1, %17 ] %22 = phi ptr [ %30, %20 ], [ %19, %17 ] %23 = phi ptr [ %29, %20 ], [ null, %17 ] %24 = getelementptr inbounds i8, ptr %21, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !15 %26 = getelementptr inbounds i8, ptr %22, i64 8 store i32 %25, ptr %26, align 8, !tbaa !17 %27 = load i64, ptr %21, align 8, !tbaa !19 %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %22, align 8, !tbaa !20 %29 = getelementptr inbounds i8, ptr %23, i64 %27 %30 = getelementptr inbounds i8, ptr %22, i64 16 %31 = getelementptr inbounds i8, ptr %21, i64 16 %32 = icmp ult ptr %31, %15 br i1 %32, label %20, label %33, !llvm.loop !21 33: ; preds = %20, %13 %34 = phi ptr [ null, %13 ], [ %29, %20 ] %35 = load i32, ptr %7, align 8, !tbaa !13 %36 = load i32, ptr @CAM_DIR_MASK, align 4, !tbaa !23 %37 = and i32 %36, %35 %38 = load i32, ptr @CAM_DIR_IN, align 4, !tbaa !23 %39 = icmp eq i32 %37, %38 %40 = load i32, ptr @BUS_DMASYNC_PREREAD, align 4 %41 = load i32, ptr @BUS_DMASYNC_PREWRITE, align 4 %42 = select i1 %39, i32 %40, i32 %41 %43 = getelementptr inbounds i8, ptr %10, i64 8 %44 = load i32, ptr %43, align 8, !tbaa !24 %45 = getelementptr inbounds i8, ptr %0, i64 16 %46 = load i32, ptr %45, align 8, !tbaa !26 %47 = tail call i32 @bus_dmamap_sync(i32 noundef %44, i32 noundef %46, i32 noundef %42) #3 br label %48 48: ; preds = %33, %4 %49 = phi ptr [ %34, %33 ], [ null, %4 ] %50 = getelementptr inbounds i8, ptr %0, i64 88 store i64 0, ptr %50, align 8, !tbaa !27 %51 = getelementptr inbounds i8, ptr %0, i64 80 store ptr %49, ptr %51, align 8, !tbaa !28 store i32 %2, ptr %0, align 8, !tbaa !29 %52 = getelementptr inbounds i8, ptr %0, i64 24 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %52, i8 0, i64 56, i1 false) %53 = load i32, ptr @PH_BUS_FREE, align 4, !tbaa !23 %54 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %53, ptr %54, align 4, !tbaa !30 %55 = getelementptr inbounds i8, ptr %7, i64 4 %56 = load i32, ptr %55, align 4, !tbaa !13 %57 = load i32, ptr @CAM_REQ_INPROG, align 4, !tbaa !23 %58 = icmp eq i32 %56, %57 br i1 %58, label %70, label %59 59: ; preds = %48 br i1 %12, label %66, label %60 60: ; preds = %59 %61 = getelementptr inbounds i8, ptr %10, i64 8 %62 = load i32, ptr %61, align 8, !tbaa !24 %63 = getelementptr inbounds i8, ptr %0, i64 16 %64 = load i32, ptr %63, align 8, !tbaa !26 %65 = tail call i32 @bus_dmamap_unload(i32 noundef %62, i32 noundef %64) #3 br label %66 66: ; preds = %60, %59 %67 = load ptr, ptr %10, align 8, !tbaa !31 %68 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %67, ptr %68, align 8, !tbaa !32 store ptr %0, ptr %10, align 8, !tbaa !31 %69 = tail call i32 @xpt_done(ptr noundef nonnull %7) #3 br label %74 70: ; preds = %48 %71 = load i32, ptr @CAM_SIM_QUEUED, align 4, !tbaa !23 %72 = or i32 %71, %56 store i32 %72, ptr %55, align 4, !tbaa !13 %73 = tail call i32 @trm_SendSRB(ptr noundef %10, ptr noundef nonnull %0) #3 br label %74 74: ; preds = %70, %66 %75 = tail call i32 @splx(i32 noundef %5) #3 ret void } declare i32 @splcam(...) local_unnamed_addr #1 declare i32 @TRM_DPRINTF(ptr noundef) local_unnamed_addr #1 declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_dmamap_unload(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @xpt_done(ptr noundef) local_unnamed_addr #1 declare i32 @splx(i32 noundef) local_unnamed_addr #1 declare i32 @trm_SendSRB(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 104} !7 = !{!"TYPE_11__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !11, i64 80, !12, i64 88, !11, i64 96, !11, i64 104} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!9, !9, i64 0} !14 = !{!7, !11, i64 96} !15 = !{!16, !8, i64 8} !16 = !{!"TYPE_10__", !12, i64 0, !8, i64 8} !17 = !{!18, !8, i64 8} !18 = !{!"TYPE_12__", !11, i64 0, !8, i64 8} !19 = !{!16, !12, i64 0} !20 = !{!18, !11, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!8, !8, i64 0} !24 = !{!25, !8, i64 8} !25 = !{!"TYPE_13__", !11, i64 0, !8, i64 8} !26 = !{!7, !8, i64 16} !27 = !{!7, !12, i64 88} !28 = !{!7, !11, i64 80} !29 = !{!7, !8, i64 0} !30 = !{!7, !8, i64 20} !31 = !{!25, !11, i64 0} !32 = !{!7, !11, i64 8}
freebsd_sys_dev_trm_extr_trm.c_trm_ExecuteSRB
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_ibmveth.c_ibmveth_get_strings.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_ibmveth.c_ibmveth_get_strings.c" target datalayout = "e-m:e-p270:32:32-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 } @ETH_SS_STATS = dso_local local_unnamed_addr global i64 0, align 8 @ibmveth_stats = dso_local local_unnamed_addr global ptr null, align 8 @ETH_GSTRING_LEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ibmveth_get_strings], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ibmveth_get_strings(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2) #0 { %4 = load i64, ptr @ETH_SS_STATS, align 8, !tbaa !5 %5 = icmp eq i64 %4, %1 br i1 %5, label %6, label %26 6: ; preds = %3 %7 = load ptr, ptr @ibmveth_stats, align 8, !tbaa !9 %8 = tail call i32 @ARRAY_SIZE(ptr noundef %7) #2 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %26 10: ; preds = %6, %10 %11 = phi i64 [ %18, %10 ], [ 0, %6 ] %12 = phi ptr [ %21, %10 ], [ %2, %6 ] %13 = load ptr, ptr @ibmveth_stats, align 8, !tbaa !9 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 %11 %15 = load i32, ptr %14, align 4, !tbaa !11 %16 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !14 %17 = tail call i32 @memcpy(ptr noundef %12, i32 noundef %15, i32 noundef %16) #2 %18 = add nuw nsw i64 %11, 1 %19 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !14 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %12, i64 %20 %22 = load ptr, ptr @ibmveth_stats, align 8, !tbaa !9 %23 = tail call i32 @ARRAY_SIZE(ptr noundef %22) #2 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %18, %24 br i1 %25, label %10, label %26, !llvm.loop !15 26: ; preds = %10, %6, %3 ret void } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_ibmveth.c_ibmveth_get_strings.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_ibmveth.c_ibmveth_get_strings.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32 } @ETH_SS_STATS = common local_unnamed_addr global i64 0, align 8 @ibmveth_stats = common local_unnamed_addr global ptr null, align 8 @ETH_GSTRING_LEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ibmveth_get_strings], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ibmveth_get_strings(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2) #0 { %4 = load i64, ptr @ETH_SS_STATS, align 8, !tbaa !6 %5 = icmp eq i64 %4, %1 br i1 %5, label %6, label %26 6: ; preds = %3 %7 = load ptr, ptr @ibmveth_stats, align 8, !tbaa !10 %8 = tail call i32 @ARRAY_SIZE(ptr noundef %7) #2 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %26 10: ; preds = %6, %10 %11 = phi i64 [ %18, %10 ], [ 0, %6 ] %12 = phi ptr [ %21, %10 ], [ %2, %6 ] %13 = load ptr, ptr @ibmveth_stats, align 8, !tbaa !10 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 %11 %15 = load i32, ptr %14, align 4, !tbaa !12 %16 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !15 %17 = tail call i32 @memcpy(ptr noundef %12, i32 noundef %15, i32 noundef %16) #2 %18 = add nuw nsw i64 %11, 1 %19 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !15 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %12, i64 %20 %22 = load ptr, ptr @ibmveth_stats, align 8, !tbaa !10 %23 = tail call i32 @ARRAY_SIZE(ptr noundef %22) #2 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %18, %24 br i1 %25, label %10, label %26, !llvm.loop !16 26: ; preds = %10, %6, %3 ret void } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_net_extr_ibmveth.c_ibmveth_get_strings
; ModuleID = 'AnghaBench/lab/engine/code/cgame/extr_cg_ents.c_CG_Beam.c' source_filename = "AnghaBench/lab/engine/code/cgame/extr_cg_ents.c_CG_Beam.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_11__ = type { %struct.TYPE_10__ } %struct.TYPE_10__ = type { i32, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 } %struct.TYPE_9__ = type { i32, i32, i32, i32, i32 } @RT_BEAM = dso_local local_unnamed_addr global i32 0, align 4 @RF_NOSHADOW = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @CG_Beam(%struct.TYPE_11__* nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_9__, align 4 %3 = bitcast %struct.TYPE_9__* %2 to i8* call void @llvm.lifetime.start.p0i8(i64 20, i8* nonnull %3) #3 %4 = call i32 @memset(%struct.TYPE_9__* noundef nonnull %2, i32 noundef 0, i32 noundef 20) #3 %5 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %0, i64 0, i32 0, i32 1, i32 0 %6 = load i32, i32* %5, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %2, i64 0, i32 4 %8 = load i32, i32* %7, align 4, !tbaa !11 %9 = call i32 @VectorCopy(i32 noundef %6, i32 noundef %8) #3 %10 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %0, i64 0, i32 0, i32 0 %11 = load i32, i32* %10, align 4, !tbaa !13 %12 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %2, i64 0, i32 3 %13 = load i32, i32* %12, align 4, !tbaa !14 %14 = call i32 @VectorCopy(i32 noundef %11, i32 noundef %13) #3 %15 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %2, i64 0, i32 2 %16 = load i32, i32* %15, align 4, !tbaa !15 %17 = call i32 @AxisClear(i32 noundef %16) #3 %18 = load i32, i32* @RT_BEAM, align 4, !tbaa !16 %19 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %2, i64 0, i32 1 store i32 %18, i32* %19, align 4, !tbaa !17 %20 = load i32, i32* @RF_NOSHADOW, align 4, !tbaa !16 %21 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %2, i64 0, i32 0 store i32 %20, i32* %21, align 4, !tbaa !18 %22 = call i32 @trap_R_AddRefEntityToScene(%struct.TYPE_9__* noundef nonnull %2) #3 call void @llvm.lifetime.end.p0i8(i64 20, i8* nonnull %3) #3 ret void } ; Function Attrs: argmemonly mustprogress nofree nosync nounwind willreturn declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) #1 declare i32 @memset(%struct.TYPE_9__* noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @VectorCopy(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AxisClear(i32 noundef) local_unnamed_addr #2 declare i32 @trap_R_AddRefEntityToScene(%struct.TYPE_9__* noundef) local_unnamed_addr #2 ; Function Attrs: argmemonly mustprogress nofree nosync nounwind willreturn declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { argmemonly mustprogress nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_10__", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_8__", !7, i64 0} !11 = !{!12, !7, i64 16} !12 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !13 = !{!6, !7, i64 0} !14 = !{!12, !7, i64 12} !15 = !{!12, !7, i64 8} !16 = !{!7, !7, i64 0} !17 = !{!12, !7, i64 4} !18 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/cgame/extr_cg_ents.c_CG_Beam.c' source_filename = "AnghaBench/lab/engine/code/cgame/extr_cg_ents.c_CG_Beam.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { i32, i32, i32, i32, i32 } @RT_BEAM = common local_unnamed_addr global i32 0, align 4 @RF_NOSHADOW = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @CG_Beam(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_9__, align 4 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %2) #3 %3 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 20) #3 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 16 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = call i32 @VectorCopy(i32 noundef %5, i32 noundef %7) #3 %9 = load i32, ptr %0, align 4, !tbaa !14 %10 = getelementptr inbounds i8, ptr %2, i64 12 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = call i32 @VectorCopy(i32 noundef %9, i32 noundef %11) #3 %13 = getelementptr inbounds i8, ptr %2, i64 8 %14 = load i32, ptr %13, align 4, !tbaa !16 %15 = call i32 @AxisClear(i32 noundef %14) #3 %16 = load i32, ptr @RT_BEAM, align 4, !tbaa !17 %17 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %16, ptr %17, align 4, !tbaa !18 %18 = load i32, ptr @RF_NOSHADOW, align 4, !tbaa !17 store i32 %18, ptr %2, align 4, !tbaa !19 %19 = call i32 @trap_R_AddRefEntityToScene(ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %2) #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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @VectorCopy(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @AxisClear(i32 noundef) local_unnamed_addr #2 declare i32 @trap_R_AddRefEntityToScene(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_10__", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_8__", !8, i64 0} !12 = !{!13, !8, i64 16} !13 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !14 = !{!7, !8, i64 0} !15 = !{!13, !8, i64 12} !16 = !{!13, !8, i64 8} !17 = !{!8, !8, i64 0} !18 = !{!13, !8, i64 4} !19 = !{!13, !8, i64 0}
lab_engine_code_cgame_extr_cg_ents.c_CG_Beam
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83781d.c_show_sensor.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83781d.c_show_sensor.c" target datalayout = "e-m:e-p270:32:32-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_sensor], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @show_sensor(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = tail call ptr @w83781d_update_device(ptr noundef %0) #2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i64, ptr %4, align 8, !tbaa !10 %8 = getelementptr inbounds i64, ptr %6, i64 %7 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = trunc i64 %9 to i32 %11 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %10) #2 ret i32 %11 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @w83781d_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"w83781d_data", !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 = !{!"sensor_device_attribute", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83781d.c_show_sensor.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83781d.c_show_sensor.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_sensor], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @show_sensor(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = tail call ptr @w83781d_update_device(ptr noundef %0) #2 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i64, ptr %4, align 8, !tbaa !11 %8 = getelementptr inbounds i64, ptr %6, i64 %7 %9 = load i64, ptr %8, align 8, !tbaa !14 %10 = trunc i64 %9 to i32 %11 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %10) #2 ret i32 %11 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare ptr @w83781d_update_device(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"w83781d_data", !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 = !{!"sensor_device_attribute", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0}
fastsocket_kernel_drivers_hwmon_extr_w83781d.c_show_sensor
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_vcc.c_vcc_rx_check.c' source_filename = "AnghaBench/linux/drivers/tty/extr_vcc.c_vcc_rx_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" %struct.tty_struct = type { i32, i32 } @TTY_THROTTLED = dso_local local_unnamed_addr global i32 0, align 4 @VCC_BUFF_LEN = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @vcc_rx_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vcc_rx_check(ptr noundef %0, i32 %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %8, label %4 4: ; preds = %2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 br label %8 8: ; preds = %4, %2 %9 = phi i32 [ 1, %2 ], [ %7, %4 ] %10 = tail call i64 @WARN_ON(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %24 12: ; preds = %8 %13 = load i32, ptr @TTY_THROTTLED, align 4, !tbaa !10 %14 = getelementptr inbounds %struct.tty_struct, ptr %0, i64 0, i32 1 %15 = tail call i64 @test_bit(i32 noundef %13, ptr noundef nonnull %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load i32, ptr %0, align 4, !tbaa !5 %19 = load i64, ptr @VCC_BUFF_LEN, align 8, !tbaa !11 %20 = tail call i64 @tty_buffer_request_room(i32 noundef %18, i64 noundef %19) #2 %21 = load i64, ptr @VCC_BUFF_LEN, align 8, !tbaa !11 %22 = icmp sge i64 %20, %21 %23 = zext i1 %22 to i32 br label %24 24: ; preds = %17, %12, %8 %25 = phi i32 [ 1, %8 ], [ 0, %12 ], [ %23, %17 ] ret i32 %25 } declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @tty_buffer_request_room(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 = !{!"tty_struct", !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 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_vcc.c_vcc_rx_check.c' source_filename = "AnghaBench/linux/drivers/tty/extr_vcc.c_vcc_rx_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TTY_THROTTLED = common local_unnamed_addr global i32 0, align 4 @VCC_BUFF_LEN = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @vcc_rx_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @vcc_rx_check(ptr noundef %0, i32 %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %8, label %4 4: ; preds = %2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 br label %8 8: ; preds = %4, %2 %9 = phi i32 [ 1, %2 ], [ %7, %4 ] %10 = tail call i64 @WARN_ON(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %24 12: ; preds = %8 %13 = load i32, ptr @TTY_THROTTLED, align 4, !tbaa !11 %14 = getelementptr inbounds i8, ptr %0, i64 4 %15 = tail call i64 @test_bit(i32 noundef %13, ptr noundef nonnull %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load i32, ptr %0, align 4, !tbaa !6 %19 = load i64, ptr @VCC_BUFF_LEN, align 8, !tbaa !12 %20 = tail call i64 @tty_buffer_request_room(i32 noundef %18, i64 noundef %19) #2 %21 = load i64, ptr @VCC_BUFF_LEN, align 8, !tbaa !12 %22 = icmp sge i64 %20, %21 %23 = zext i1 %22 to i32 br label %24 24: ; preds = %17, %12, %8 %25 = phi i32 [ 1, %8 ], [ 0, %12 ], [ %23, %17 ] ret i32 %25 } declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @tty_buffer_request_room(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 = !{!"tty_struct", !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 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0}
linux_drivers_tty_extr_vcc.c_vcc_rx_check
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc.c_dc_post_update_surfaces_to_stream.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc.c_dc_post_update_surfaces_to_stream.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dc = type { i32, %struct.TYPE_7__, ptr, i64, ptr } %struct.TYPE_7__ = type { ptr, ptr } %struct.TYPE_8__ = type { i32, ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @dc_post_update_surfaces_to_stream(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.dc, ptr %0, i64 0, i32 4 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !13 %5 = icmp eq i32 %4, 0 br i1 %5, label %45, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.dc, ptr %0, i64 0, i32 3 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %45 10: ; preds = %6 %11 = tail call i32 @post_surface_trace(ptr noundef nonnull %0) #2 %12 = getelementptr inbounds %struct.dc, ptr %0, i64 0, i32 2 %13 = load ptr, ptr %12, align 8, !tbaa !15 %14 = load i32, ptr %13, align 4, !tbaa !16 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %41 16: ; preds = %10 %17 = getelementptr inbounds %struct.dc, ptr %0, i64 0, i32 1, i32 1 br label %18 18: ; preds = %16, %36 %19 = phi i32 [ %14, %16 ], [ %37, %36 ] %20 = phi i64 [ 0, %16 ], [ %38, %36 ] %21 = load ptr, ptr %3, align 8, !tbaa !18 %22 = getelementptr inbounds %struct.TYPE_8__, ptr %21, i64 %20, i32 2 %23 = load ptr, ptr %22, align 8, !tbaa !21 %24 = icmp eq ptr %23, null br i1 %24, label %29, label %25 25: ; preds = %18 %26 = getelementptr inbounds %struct.TYPE_8__, ptr %21, i64 %20, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !23 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %36 29: ; preds = %25, %18 %30 = getelementptr inbounds %struct.TYPE_8__, ptr %21, i64 %20 %31 = trunc i64 %20 to i32 store i32 %31, ptr %30, align 8, !tbaa !24 %32 = load ptr, ptr %17, align 8, !tbaa !25 %33 = tail call i32 %32(ptr noundef nonnull %0, ptr noundef nonnull %30) #2 %34 = load ptr, ptr %12, align 8, !tbaa !15 %35 = load i32, ptr %34, align 4, !tbaa !16 br label %36 36: ; preds = %25, %29 %37 = phi i32 [ %19, %25 ], [ %35, %29 ] %38 = add nuw nsw i64 %20, 1 %39 = sext i32 %37 to i64 %40 = icmp slt i64 %38, %39 br i1 %40, label %18, label %41, !llvm.loop !26 41: ; preds = %36, %10 store i32 0, ptr %0, align 8, !tbaa !13 %42 = getelementptr inbounds %struct.dc, ptr %0, i64 0, i32 1 %43 = load ptr, ptr %42, align 8, !tbaa !28 %44 = tail call i32 %43(ptr noundef nonnull %0, ptr noundef %3) #2 br label %45 45: ; preds = %1, %6, %41 ret i32 1 } declare i32 @post_surface_trace(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 40} !6 = !{!"dc", !7, i64 0, !10, i64 8, !11, i64 24, !12, i64 32, !11, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_7__", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !12, i64 32} !15 = !{!6, !11, i64 24} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_5__", !7, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"dc_state", !20, i64 0} !20 = !{!"TYPE_6__", !11, i64 0} !21 = !{!22, !11, i64 16} !22 = !{!"TYPE_8__", !7, i64 0, !11, i64 8, !11, i64 16} !23 = !{!22, !11, i64 8} !24 = !{!22, !7, i64 0} !25 = !{!6, !11, i64 16} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!6, !11, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc.c_dc_post_update_surfaces_to_stream.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc.c_dc_post_update_surfaces_to_stream.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32, ptr, ptr } ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @dc_post_update_surfaces_to_stream(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 40 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %0, align 8, !tbaa !14 %5 = icmp eq i32 %4, 0 br i1 %5, label %45, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 32 %8 = load i64, ptr %7, align 8, !tbaa !15 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %45 10: ; preds = %6 %11 = tail call i32 @post_surface_trace(ptr noundef nonnull %0) #2 %12 = getelementptr inbounds i8, ptr %0, i64 24 %13 = load ptr, ptr %12, align 8, !tbaa !16 %14 = load i32, ptr %13, align 4, !tbaa !17 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %41 16: ; preds = %10 %17 = getelementptr inbounds i8, ptr %0, i64 16 br label %18 18: ; preds = %16, %36 %19 = phi i32 [ %14, %16 ], [ %37, %36 ] %20 = phi i64 [ 0, %16 ], [ %38, %36 ] %21 = load ptr, ptr %3, align 8, !tbaa !19 %22 = getelementptr inbounds %struct.TYPE_8__, ptr %21, i64 %20 %23 = getelementptr inbounds i8, ptr %22, i64 16 %24 = load ptr, ptr %23, align 8, !tbaa !22 %25 = icmp eq ptr %24, null br i1 %25, label %30, label %26 26: ; preds = %18 %27 = getelementptr inbounds i8, ptr %22, i64 8 %28 = load ptr, ptr %27, align 8, !tbaa !24 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %36 30: ; preds = %26, %18 %31 = trunc nuw nsw i64 %20 to i32 store i32 %31, ptr %22, align 8, !tbaa !25 %32 = load ptr, ptr %17, align 8, !tbaa !26 %33 = tail call i32 %32(ptr noundef nonnull %0, ptr noundef nonnull %22) #2 %34 = load ptr, ptr %12, align 8, !tbaa !16 %35 = load i32, ptr %34, align 4, !tbaa !17 br label %36 36: ; preds = %26, %30 %37 = phi i32 [ %19, %26 ], [ %35, %30 ] %38 = add nuw nsw i64 %20, 1 %39 = sext i32 %37 to i64 %40 = icmp slt i64 %38, %39 br i1 %40, label %18, label %41, !llvm.loop !27 41: ; preds = %36, %10 store i32 0, ptr %0, align 8, !tbaa !14 %42 = getelementptr inbounds i8, ptr %0, i64 8 %43 = load ptr, ptr %42, align 8, !tbaa !29 %44 = tail call i32 %43(ptr noundef nonnull %0, ptr noundef %3) #2 br label %45 45: ; preds = %1, %6, %41 ret i32 1 } declare i32 @post_surface_trace(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 40} !7 = !{!"dc", !8, i64 0, !11, i64 8, !12, i64 24, !13, i64 32, !12, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !13, i64 32} !16 = !{!7, !12, i64 24} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_5__", !8, i64 0} !19 = !{!20, !12, i64 0} !20 = !{!"dc_state", !21, i64 0} !21 = !{!"TYPE_6__", !12, i64 0} !22 = !{!23, !12, i64 16} !23 = !{!"TYPE_8__", !8, i64 0, !12, i64 8, !12, i64 16} !24 = !{!23, !12, i64 8} !25 = !{!23, !8, i64 0} !26 = !{!7, !12, i64 16} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"} !29 = !{!7, !12, i64 8}
linux_drivers_gpu_drm_amd_display_dc_core_extr_dc.c_dc_post_update_surfaces_to_stream
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_xmit_txeof.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_xmit_txeof.c" target datalayout = "e-m:e-p270:32:32-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.hn_tx_ring = type { i32, i32, i64, i32, i32, i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @hn_xmit_txeof], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hn_xmit_txeof(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.hn_tx_ring, ptr %0, i64 0, i32 6 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %21 5: ; preds = %1 %6 = getelementptr inbounds %struct.hn_tx_ring, ptr %0, i64 0, i32 4 %7 = tail call i64 @mtx_trylock(ptr noundef nonnull %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %21, label %9 9: ; preds = %5 %10 = getelementptr inbounds %struct.hn_tx_ring, ptr %0, i64 0, i32 2 store i64 0, ptr %10, align 8, !tbaa !11 %11 = getelementptr inbounds %struct.hn_tx_ring, ptr %0, i64 0, i32 5 %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @hn_xmit(ptr noundef nonnull %0, i32 noundef %12) #2 %14 = tail call i32 @mtx_unlock(ptr noundef nonnull %6) #2 %15 = icmp eq i32 %13, 0 br i1 %15, label %26, label %16 16: ; preds = %9 %17 = getelementptr inbounds %struct.hn_tx_ring, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = getelementptr inbounds %struct.hn_tx_ring, ptr %0, i64 0, i32 3 %20 = tail call i32 @taskqueue_enqueue(i32 noundef %18, ptr noundef nonnull %19) #2 br label %26 21: ; preds = %5, %1 %22 = getelementptr inbounds %struct.hn_tx_ring, ptr %0, i64 0, i32 2 store i64 0, ptr %22, align 8, !tbaa !11 %23 = getelementptr inbounds %struct.hn_tx_ring, ptr %0, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !13 %25 = tail call i32 @taskqueue_enqueue(i32 noundef %24, ptr noundef nonnull %0) #2 br label %26 26: ; preds = %9, %16, %21 ret void } declare i64 @mtx_trylock(ptr noundef) local_unnamed_addr #1 declare i32 @hn_xmit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @taskqueue_enqueue(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 32} !6 = !{!"hn_tx_ring", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 24} !13 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_xmit_txeof.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_xmit_txeof.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 @hn_xmit_txeof], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hn_xmit_txeof(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %21 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 20 %7 = tail call i64 @mtx_trylock(ptr noundef nonnull %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %21, label %9 9: ; preds = %5 %10 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %10, align 8, !tbaa !12 %11 = getelementptr inbounds i8, ptr %0, i64 24 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = tail call i32 @hn_xmit(ptr noundef nonnull %0, i32 noundef %12) #2 %14 = tail call i32 @mtx_unlock(ptr noundef nonnull %6) #2 %15 = icmp eq i32 %13, 0 br i1 %15, label %26, label %16 16: ; preds = %9 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = getelementptr inbounds i8, ptr %0, i64 16 %20 = tail call i32 @taskqueue_enqueue(i32 noundef %18, ptr noundef nonnull %19) #2 br label %26 21: ; preds = %5, %1 %22 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %22, align 8, !tbaa !12 %23 = getelementptr inbounds i8, ptr %0, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !14 %25 = tail call i32 @taskqueue_enqueue(i32 noundef %24, ptr noundef nonnull %0) #2 br label %26 26: ; preds = %9, %16, %21 ret void } declare i64 @mtx_trylock(ptr noundef) local_unnamed_addr #1 declare i32 @hn_xmit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @taskqueue_enqueue(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 32} !7 = !{!"hn_tx_ring", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 24} !14 = !{!7, !8, i64 4}
freebsd_sys_dev_hyperv_netvsc_extr_if_hn.c_hn_xmit_txeof
; ModuleID = 'AnghaBench/fastsocket/kernel/usr/extr_gen_init_cpio.c_cpio_mksock_line.c' source_filename = "AnghaBench/fastsocket/kernel/usr/extr_gen_init_cpio.c_cpio_mksock_line.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GT_SOCK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cpio_mksock_line], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cpio_mksock_line(ptr noundef %0) #0 { %2 = load i32, ptr @GT_SOCK, align 4, !tbaa !5 %3 = tail call i32 @cpio_mkgeneric_line(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @cpio_mkgeneric_line(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/usr/extr_gen_init_cpio.c_cpio_mksock_line.c' source_filename = "AnghaBench/fastsocket/kernel/usr/extr_gen_init_cpio.c_cpio_mksock_line.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GT_SOCK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cpio_mksock_line], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cpio_mksock_line(ptr noundef %0) #0 { %2 = load i32, ptr @GT_SOCK, align 4, !tbaa !6 %3 = tail call i32 @cpio_mkgeneric_line(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @cpio_mkgeneric_line(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_usr_extr_gen_init_cpio.c_cpio_mksock_line
; ModuleID = 'AnghaBench/redis/src/extr_cluster.c_clusterNodeFailureReportsCount.c' source_filename = "AnghaBench/redis/src/extr_cluster.c_clusterNodeFailureReportsCount.c" target datalayout = "e-m:e-p270:32:32-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 @clusterNodeFailureReportsCount(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @clusterNodeCleanupFailureReports(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @listLength(i32 noundef %3) #2 ret i32 %4 } declare i32 @clusterNodeCleanupFailureReports(ptr noundef) local_unnamed_addr #1 declare i32 @listLength(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/redis/src/extr_cluster.c_clusterNodeFailureReportsCount.c' source_filename = "AnghaBench/redis/src/extr_cluster.c_clusterNodeFailureReportsCount.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 @clusterNodeFailureReportsCount(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @clusterNodeCleanupFailureReports(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @listLength(i32 noundef %3) #2 ret i32 %4 } declare i32 @clusterNodeCleanupFailureReports(ptr noundef) local_unnamed_addr #1 declare i32 @listLength(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
redis_src_extr_cluster.c_clusterNodeFailureReportsCount
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/extr_bhnd_subr.c_compare_descending_probe_order.c' source_filename = "AnghaBench/freebsd/sys/dev/bhnd/extr_bhnd_subr.c_compare_descending_probe_order.c" target datalayout = "e-m:e-p270:32:32-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 @compare_descending_probe_order], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @compare_descending_probe_order(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @compare_ascending_probe_order(ptr noundef %1, ptr noundef %0) #2 ret i32 %3 } declare i32 @compare_ascending_probe_order(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/extr_bhnd_subr.c_compare_descending_probe_order.c' source_filename = "AnghaBench/freebsd/sys/dev/bhnd/extr_bhnd_subr.c_compare_descending_probe_order.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 @compare_descending_probe_order], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @compare_descending_probe_order(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @compare_ascending_probe_order(ptr noundef %1, ptr noundef %0) #2 ret i32 %3 } declare i32 @compare_ascending_probe_order(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_bhnd_extr_bhnd_subr.c_compare_descending_probe_order
; ModuleID = 'AnghaBench/redis/src/extr_t_string.c_getsetCommand.c' source_filename = "AnghaBench/redis/src/extr_t_string.c_getsetCommand.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32 } %struct.TYPE_6__ = type { ptr, ptr } @C_ERR = dso_local local_unnamed_addr global i64 0, align 8 @NOTIFY_STRING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"set\00", align 1 @server = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local void @getsetCommand(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @getGenericCommand(ptr noundef %0) #2 %3 = load i64, ptr @C_ERR, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 br i1 %4, label %26, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !9 %8 = getelementptr inbounds i32, ptr %7, i64 2 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @tryObjectEncoding(i32 noundef %9) #2 %11 = load ptr, ptr %6, align 8, !tbaa !9 %12 = getelementptr inbounds i32, ptr %11, i64 2 store i32 %10, ptr %12, align 4, !tbaa !12 %13 = load ptr, ptr %0, align 8, !tbaa !14 %14 = getelementptr inbounds i32, ptr %11, i64 1 %15 = load i32, ptr %14, align 4, !tbaa !12 %16 = tail call i32 @setKey(ptr noundef %13, i32 noundef %15, i32 noundef %10) #2 %17 = load i32, ptr @NOTIFY_STRING, align 4, !tbaa !12 %18 = load ptr, ptr %6, align 8, !tbaa !9 %19 = getelementptr inbounds i32, ptr %18, i64 1 %20 = load i32, ptr %19, align 4, !tbaa !12 %21 = load ptr, ptr %0, align 8, !tbaa !14 %22 = load i32, ptr %21, align 4, !tbaa !15 %23 = tail call i32 @notifyKeyspaceEvent(i32 noundef %17, ptr noundef nonnull @.str, i32 noundef %20, i32 noundef %22) #2 %24 = load i32, ptr @server, align 4, !tbaa !17 %25 = add nsw i32 %24, 1 store i32 %25, ptr @server, align 4, !tbaa !17 br label %26 26: ; preds = %1, %5 ret void } declare i64 @getGenericCommand(ptr noundef) local_unnamed_addr #1 declare i32 @tryObjectEncoding(i32 noundef) local_unnamed_addr #1 declare i32 @setKey(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @notifyKeyspaceEvent(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_6__", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0} !14 = !{!10, !11, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_7__", !13, i64 0} !17 = !{!18, !13, i64 0} !18 = !{!"TYPE_8__", !13, i64 0}
; ModuleID = 'AnghaBench/redis/src/extr_t_string.c_getsetCommand.c' source_filename = "AnghaBench/redis/src/extr_t_string.c_getsetCommand.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32 } @C_ERR = common local_unnamed_addr global i64 0, align 8 @NOTIFY_STRING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"set\00", align 1 @server = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @getsetCommand(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @getGenericCommand(ptr noundef %0) #2 %3 = load i64, ptr @C_ERR, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 br i1 %4, label %26, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = tail call i32 @tryObjectEncoding(i32 noundef %9) #2 %11 = load ptr, ptr %6, align 8, !tbaa !10 %12 = getelementptr inbounds i8, ptr %11, i64 8 store i32 %10, ptr %12, align 4, !tbaa !13 %13 = load ptr, ptr %0, align 8, !tbaa !15 %14 = getelementptr inbounds i8, ptr %11, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = tail call i32 @setKey(ptr noundef %13, i32 noundef %15, i32 noundef %10) #2 %17 = load i32, ptr @NOTIFY_STRING, align 4, !tbaa !13 %18 = load ptr, ptr %6, align 8, !tbaa !10 %19 = getelementptr inbounds i8, ptr %18, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = load ptr, ptr %0, align 8, !tbaa !15 %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = tail call i32 @notifyKeyspaceEvent(i32 noundef %17, ptr noundef nonnull @.str, i32 noundef %20, i32 noundef %22) #2 %24 = load i32, ptr @server, align 4, !tbaa !18 %25 = add nsw i32 %24, 1 store i32 %25, ptr @server, align 4, !tbaa !18 br label %26 26: ; preds = %1, %5 ret void } declare i64 @getGenericCommand(ptr noundef) local_unnamed_addr #1 declare i32 @tryObjectEncoding(i32 noundef) local_unnamed_addr #1 declare i32 @setKey(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @notifyKeyspaceEvent(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_6__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!11, !12, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_7__", !14, i64 0} !18 = !{!19, !14, i64 0} !19 = !{!"TYPE_8__", !14, i64 0}
redis_src_extr_t_string.c_getsetCommand
; ModuleID = 'AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_resume_clkscaling.c' source_filename = "AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_resume_clkscaling.c" target datalayout = "e-m:e-p270:32:32-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.ufs_hba = type { i32, ptr, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ufshcd_resume_clkscaling], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ufshcd_resume_clkscaling(ptr noundef %0) #0 { %2 = tail call i32 @ufshcd_is_clkscaling_supported(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %22, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.ufs_hba, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = tail call i32 @spin_lock_irqsave(i32 noundef %7, i64 noundef undef) #2 %9 = getelementptr inbounds %struct.ufs_hba, ptr %0, i64 0, i32 2 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = icmp eq i32 %10, 0 br i1 %11, label %18, label %12 12: ; preds = %4 store i32 0, ptr %9, align 8, !tbaa !14 %13 = load ptr, ptr %5, align 8, !tbaa !5 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = tail call i32 @spin_unlock_irqrestore(i32 noundef %14, i64 noundef undef) #2 %16 = load i32, ptr %0, align 8, !tbaa !15 %17 = tail call i32 @devfreq_resume_device(i32 noundef %16) #2 br label %22 18: ; preds = %4 %19 = load ptr, ptr %5, align 8, !tbaa !5 %20 = load i32, ptr %19, align 4, !tbaa !12 %21 = tail call i32 @spin_unlock_irqrestore(i32 noundef %20, i64 noundef undef) #2 br label %22 22: ; preds = %12, %18, %1 ret void } declare i32 @ufshcd_is_clkscaling_supported(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @devfreq_resume_device(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ufs_hba", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_3__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0} !14 = !{!6, !7, i64 16} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_resume_clkscaling.c' source_filename = "AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_resume_clkscaling.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 @ufshcd_resume_clkscaling], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ufshcd_resume_clkscaling(ptr noundef %0) #0 { %2 = tail call i32 @ufshcd_is_clkscaling_supported(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %22, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = tail call i32 @spin_lock_irqsave(i32 noundef %7, i64 noundef undef) #2 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i32, ptr %9, align 8, !tbaa !15 %11 = icmp eq i32 %10, 0 br i1 %11, label %18, label %12 12: ; preds = %4 store i32 0, ptr %9, align 8, !tbaa !15 %13 = load ptr, ptr %5, align 8, !tbaa !6 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = tail call i32 @spin_unlock_irqrestore(i32 noundef %14, i64 noundef undef) #2 %16 = load i32, ptr %0, align 8, !tbaa !16 %17 = tail call i32 @devfreq_resume_device(i32 noundef %16) #2 br label %22 18: ; preds = %4 %19 = load ptr, ptr %5, align 8, !tbaa !6 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = tail call i32 @spin_unlock_irqrestore(i32 noundef %20, i64 noundef undef) #2 br label %22 22: ; preds = %12, %18, %1 ret void } declare i32 @ufshcd_is_clkscaling_supported(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @devfreq_resume_device(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ufs_hba", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_3__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_4__", !8, i64 0} !15 = !{!7, !8, i64 16} !16 = !{!7, !8, i64 0}
linux_drivers_scsi_ufs_extr_ufshcd.c_ufshcd_resume_clkscaling