IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/tools/virtio/ringtest/extr_ptr_ring.c_kmalloc_array.c' source_filename = "AnghaBench/linux/tools/virtio/ringtest/extr_ptr_ring.c_kmalloc_array.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SIZE_MAX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @kmalloc_array], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @kmalloc_array(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i64 %1, 0 br i1 %4, label %9, label %5 5: ; preds = %3 %6 = load i64, ptr @SIZE_MAX, align 8, !tbaa !5 %7 = udiv i64 %6, %1 %8 = icmp ult i64 %7, %0 br i1 %8, label %12, label %9 9: ; preds = %5, %3 %10 = mul i64 %1, %0 %11 = tail call ptr @kmalloc(i64 noundef %10, i32 noundef %2) #2 br label %12 12: ; preds = %5, %9 %13 = phi ptr [ %11, %9 ], [ null, %5 ] ret ptr %13 } declare ptr @kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/virtio/ringtest/extr_ptr_ring.c_kmalloc_array.c' source_filename = "AnghaBench/linux/tools/virtio/ringtest/extr_ptr_ring.c_kmalloc_array.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SIZE_MAX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @kmalloc_array], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @kmalloc_array(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i64 %1, 0 br i1 %4, label %9, label %5 5: ; preds = %3 %6 = load i64, ptr @SIZE_MAX, align 8, !tbaa !6 %7 = udiv i64 %6, %1 %8 = icmp ult i64 %7, %0 br i1 %8, label %12, label %9 9: ; preds = %5, %3 %10 = mul i64 %1, %0 %11 = tail call ptr @kmalloc(i64 noundef %10, i32 noundef %2) #2 br label %12 12: ; preds = %5, %9 %13 = phi ptr [ %11, %9 ], [ null, %5 ] ret ptr %13 } declare ptr @kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_tools_virtio_ringtest_extr_ptr_ring.c_kmalloc_array
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa.c_spa_async_probe.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa.c_spa_async_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, ptr, i64 } @B_FALSE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @spa_async_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @spa_async_probe(ptr nocapture noundef readnone %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i64, ptr @B_FALSE, align 8, !tbaa !12 store i64 %7, ptr %3, align 8, !tbaa !5 %8 = tail call i32 @vdev_reopen(ptr noundef nonnull %1) #2 br label %9 9: ; preds = %6, %2 %10 = load i32, ptr %1, align 8, !tbaa !13 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 br label %15 14: ; preds = %15, %9 ret void 15: ; preds = %12, %15 %16 = phi i64 [ 0, %12 ], [ %20, %15 ] %17 = load ptr, ptr %13, align 8, !tbaa !14 %18 = getelementptr inbounds ptr, ptr %17, i64 %16 %19 = load ptr, ptr %18, align 8, !tbaa !15 tail call void @spa_async_probe(ptr noundef %0, ptr noundef %19) %20 = add nuw nsw i64 %16, 1 %21 = load i32, ptr %1, align 8, !tbaa !13 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label %15, label %14, !llvm.loop !16 } declare i32 @vdev_reopen(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"TYPE_4__", !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 = !{!"long", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!10, !10, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa.c_spa_async_probe.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa.c_spa_async_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @B_FALSE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @spa_async_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @spa_async_probe(ptr nocapture noundef readnone %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i64, ptr @B_FALSE, align 8, !tbaa !13 store i64 %7, ptr %3, align 8, !tbaa !6 %8 = tail call i32 @vdev_reopen(ptr noundef nonnull %1) #2 br label %9 9: ; preds = %6, %2 %10 = load i32, ptr %1, align 8, !tbaa !14 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %1, i64 8 br label %15 14: ; preds = %15, %9 ret void 15: ; preds = %12, %15 %16 = phi i64 [ 0, %12 ], [ %20, %15 ] %17 = load ptr, ptr %13, align 8, !tbaa !15 %18 = getelementptr inbounds ptr, ptr %17, i64 %16 %19 = load ptr, ptr %18, align 8, !tbaa !16 tail call void @spa_async_probe(ptr noundef %0, ptr noundef %19) %20 = add nuw nsw i64 %16, 1 %21 = load i32, ptr %1, align 8, !tbaa !14 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label %15, label %14, !llvm.loop !17 } declare i32 @vdev_reopen(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"TYPE_4__", !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 = !{!"long", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!11, !11, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_spa.c_spa_async_probe
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_qsv.c_ff_qsv_close_internal_session.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_qsv.c_ff_qsv_close_internal_session.c" target datalayout = "e-m:e-p270:32:32-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, ptr } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ff_qsv_close_internal_session(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @MFXClose(ptr noundef nonnull %3) #2 store ptr null, ptr %2, align 8, !tbaa !5 br label %7 7: ; preds = %5, %1 ret i32 0 } declare i32 @MFXClose(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_3__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_qsv.c_ff_qsv_close_internal_session.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_qsv.c_ff_qsv_close_internal_session.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 noundef i32 @ff_qsv_close_internal_session(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @MFXClose(ptr noundef nonnull %3) #2 store ptr null, ptr %2, align 8, !tbaa !6 br label %7 7: ; preds = %5, %1 ret i32 0 } declare i32 @MFXClose(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_3__", !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}
FFmpeg_libavcodec_extr_qsv.c_ff_qsv_close_internal_session
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_switec.c_callback_set.c' source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_switec.c_callback_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LUA_TFUNCTION = dso_local local_unnamed_addr global i64 0, align 8 @LUA_TLIGHTFUNCTION = dso_local local_unnamed_addr global i64 0, align 8 @LUA_REGISTRYINDEX = dso_local local_unnamed_addr global i32 0, align 4 @stopped_callback = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @callback_set], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @callback_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i64 @lua_type(ptr noundef %0, i32 noundef %2) #2 %5 = load i64, ptr @LUA_TFUNCTION, align 8, !tbaa !5 %6 = icmp eq i64 %4, %5 br i1 %6, label %11, label %7 7: ; preds = %3 %8 = tail call i64 @lua_type(ptr noundef %0, i32 noundef %2) #2 %9 = load i64, ptr @LUA_TLIGHTFUNCTION, align 8, !tbaa !5 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %19 11: ; preds = %7, %3 %12 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef %2) #2 %13 = tail call i32 @callback_free(ptr noundef %0, i32 noundef %1) #2 %14 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !9 %15 = tail call i32 @luaL_ref(ptr noundef %0, i32 noundef %14) #2 %16 = load ptr, ptr @stopped_callback, align 8, !tbaa !11 %17 = zext i32 %1 to i64 %18 = getelementptr inbounds i32, ptr %16, i64 %17 store i32 %15, ptr %18, align 4, !tbaa !9 br label %19 19: ; preds = %11, %7 ret void } declare i64 @lua_type(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @callback_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_ref(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_switec.c_callback_set.c' source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_switec.c_callback_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LUA_TFUNCTION = common local_unnamed_addr global i64 0, align 8 @LUA_TLIGHTFUNCTION = common local_unnamed_addr global i64 0, align 8 @LUA_REGISTRYINDEX = common local_unnamed_addr global i32 0, align 4 @stopped_callback = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @callback_set], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @callback_set(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i64 @lua_type(ptr noundef %0, i32 noundef %2) #2 %5 = load i64, ptr @LUA_TFUNCTION, align 8, !tbaa !6 %6 = icmp eq i64 %4, %5 br i1 %6, label %11, label %7 7: ; preds = %3 %8 = tail call i64 @lua_type(ptr noundef %0, i32 noundef %2) #2 %9 = load i64, ptr @LUA_TLIGHTFUNCTION, align 8, !tbaa !6 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %19 11: ; preds = %7, %3 %12 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef %2) #2 %13 = tail call i32 @callback_free(ptr noundef %0, i32 noundef %1) #2 %14 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !10 %15 = tail call i32 @luaL_ref(ptr noundef %0, i32 noundef %14) #2 %16 = load ptr, ptr @stopped_callback, align 8, !tbaa !12 %17 = zext i32 %1 to i64 %18 = getelementptr inbounds i32, ptr %16, i64 %17 store i32 %15, ptr %18, align 4, !tbaa !10 br label %19 19: ; preds = %11, %7 ret void } declare i64 @lua_type(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @callback_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_ref(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
nodemcu-firmware_app_modules_extr_switec.c_callback_set
; ModuleID = 'AnghaBench/freebsd/sys/ddb/extr_db_sym.c_db_printsym.c' source_filename = "AnghaBench/freebsd/sys/ddb/extr_db_sym.c_db_printsym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @db_maxoff = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"%+#lr\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%#lr\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"+%+#lr\00", align 1 @DB_STGY_PROC = dso_local local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [9 x i8] c" [%s:%d]\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @db_printsym(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = icmp slt i64 %0, 0 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load i64, ptr @db_maxoff, align 8, !tbaa !5 %10 = sub nsw i64 0, %9 %11 = icmp sgt i64 %10, %0 br i1 %11, label %14, label %12 12: ; preds = %8 %13 = tail call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str, i64 noundef %0) #3 br label %41 14: ; preds = %8, %2 %15 = call i32 @db_search_symbol(i64 noundef %0, i64 noundef %1, ptr noundef nonnull %3) #3 %16 = call i32 @db_symbol_values(i32 noundef %15, ptr noundef nonnull %5, ptr noundef null) #3 %17 = load ptr, ptr %5, align 8, !tbaa !9 %18 = icmp eq ptr %17, null br i1 %18, label %23, label %19 19: ; preds = %14 %20 = load i64, ptr %3, align 8, !tbaa !5 %21 = load i64, ptr @db_maxoff, align 8, !tbaa !5 %22 = icmp slt i64 %20, %21 br i1 %22, label %25, label %23 23: ; preds = %19, %14 %24 = call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str.1, i64 noundef %0) #3 br label %41 25: ; preds = %19 %26 = call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str.2, ptr noundef nonnull %17) #3 %27 = load i64, ptr %3, align 8, !tbaa !5 %28 = icmp eq i64 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %25 %30 = call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str.3, i64 noundef %27) #3 br label %31 31: ; preds = %29, %25 %32 = load i64, ptr @DB_STGY_PROC, align 8, !tbaa !5 %33 = icmp eq i64 %32, %1 br i1 %33, label %34, label %41 34: ; preds = %31 %35 = call i64 @db_line_at_pc(i32 noundef %15, ptr noundef nonnull %4, ptr noundef nonnull %6, i64 noundef %0) #3 %36 = icmp eq i64 %35, 0 br i1 %36, label %41, label %37 37: ; preds = %34 %38 = load ptr, ptr %4, align 8, !tbaa !9 %39 = load i32, ptr %6, align 4, !tbaa !11 %40 = call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str.4, ptr noundef %38, i32 noundef %39) #3 br label %41 41: ; preds = %31, %37, %34, %23, %12 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #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 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @db_printf(ptr noundef, ...) local_unnamed_addr #2 declare i32 @db_search_symbol(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @db_symbol_values(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @db_line_at_pc(i32 noundef, ptr noundef, 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/ddb/extr_db_sym.c_db_printsym.c' source_filename = "AnghaBench/freebsd/sys/ddb/extr_db_sym.c_db_printsym.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @db_maxoff = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"%+#lr\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%#lr\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"+%+#lr\00", align 1 @DB_STGY_PROC = common local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [9 x i8] c" [%s:%d]\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @db_printsym(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = icmp slt i64 %0, 0 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load i64, ptr @db_maxoff, align 8, !tbaa !6 %10 = sub nsw i64 0, %9 %11 = icmp sgt i64 %10, %0 br i1 %11, label %14, label %12 12: ; preds = %8 %13 = tail call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str, i64 noundef %0) #3 br label %41 14: ; preds = %8, %2 %15 = call i32 @db_search_symbol(i64 noundef %0, i64 noundef %1, ptr noundef nonnull %3) #3 %16 = call i32 @db_symbol_values(i32 noundef %15, ptr noundef nonnull %5, ptr noundef null) #3 %17 = load ptr, ptr %5, align 8, !tbaa !10 %18 = icmp eq ptr %17, null br i1 %18, label %23, label %19 19: ; preds = %14 %20 = load i64, ptr %3, align 8, !tbaa !6 %21 = load i64, ptr @db_maxoff, align 8, !tbaa !6 %22 = icmp slt i64 %20, %21 br i1 %22, label %25, label %23 23: ; preds = %19, %14 %24 = call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str.1, i64 noundef %0) #3 br label %41 25: ; preds = %19 %26 = call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str.2, ptr noundef nonnull %17) #3 %27 = load i64, ptr %3, align 8, !tbaa !6 %28 = icmp eq i64 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %25 %30 = call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str.3, i64 noundef %27) #3 br label %31 31: ; preds = %29, %25 %32 = load i64, ptr @DB_STGY_PROC, align 8, !tbaa !6 %33 = icmp eq i64 %32, %1 br i1 %33, label %34, label %41 34: ; preds = %31 %35 = call i64 @db_line_at_pc(i32 noundef %15, ptr noundef nonnull %4, ptr noundef nonnull %6, i64 noundef %0) #3 %36 = icmp eq i64 %35, 0 br i1 %36, label %41, label %37 37: ; preds = %34 %38 = load ptr, ptr %4, align 8, !tbaa !10 %39 = load i32, ptr %6, align 4, !tbaa !12 %40 = call i32 (ptr, ...) @db_printf(ptr noundef nonnull @.str.4, ptr noundef %38, i32 noundef %39) #3 br label %41 41: ; preds = %31, %37, %34, %23, %12 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #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 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @db_printf(ptr noundef, ...) local_unnamed_addr #2 declare i32 @db_search_symbol(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @db_symbol_values(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @db_line_at_pc(i32 noundef, ptr noundef, 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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
freebsd_sys_ddb_extr_db_sym.c_db_printsym
; ModuleID = 'AnghaBench/linux/drivers/md/extr_md.c_ubb_show.c' source_filename = "AnghaBench/linux/drivers/md/extr_md.c_ubb_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ubb_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ubb_show(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @badblocks_show(ptr noundef %0, ptr noundef %1, i32 noundef 1) #2 ret i32 %3 } declare i32 @badblocks_show(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_md.c_ubb_show.c' source_filename = "AnghaBench/linux/drivers/md/extr_md.c_ubb_show.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 @ubb_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ubb_show(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @badblocks_show(ptr noundef %0, ptr noundef %1, i32 noundef 1) #2 ret i32 %3 } declare i32 @badblocks_show(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)"}
linux_drivers_md_extr_md.c_ubb_show
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_clear_hw_cntrs_ich8lan.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_clear_hw_cntrs_ich8lan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, %struct.TYPE_3__ } %struct.TYPE_3__ = type { ptr, ptr, ptr, ptr } @ALGNERRC = dso_local local_unnamed_addr global i32 0, align 4 @RXERRC = dso_local local_unnamed_addr global i32 0, align 4 @TNCRS = dso_local local_unnamed_addr global i32 0, align 4 @CEXTERR = dso_local local_unnamed_addr global i32 0, align 4 @TSCTC = dso_local local_unnamed_addr global i32 0, align 4 @TSCTFC = dso_local local_unnamed_addr global i32 0, align 4 @MGTPRC = dso_local local_unnamed_addr global i32 0, align 4 @MGTPDC = dso_local local_unnamed_addr global i32 0, align 4 @MGTPTC = dso_local local_unnamed_addr global i32 0, align 4 @IAC = dso_local local_unnamed_addr global i32 0, align 4 @ICRXOC = dso_local local_unnamed_addr global i32 0, align 4 @e1000_phy_82578 = dso_local local_unnamed_addr global i64 0, align 8 @e1000_phy_82579 = dso_local local_unnamed_addr global i64 0, align 8 @e1000_phy_i217 = dso_local local_unnamed_addr global i64 0, align 8 @e1000_phy_82577 = dso_local local_unnamed_addr global i64 0, align 8 @HV_STATS_PAGE = dso_local local_unnamed_addr global i32 0, align 4 @IGP_PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @HV_SCC_UPPER = dso_local local_unnamed_addr global i32 0, align 4 @HV_SCC_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @HV_ECOL_UPPER = dso_local local_unnamed_addr global i32 0, align 4 @HV_ECOL_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @HV_MCC_UPPER = dso_local local_unnamed_addr global i32 0, align 4 @HV_MCC_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @HV_LATECOL_UPPER = dso_local local_unnamed_addr global i32 0, align 4 @HV_LATECOL_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @HV_COLC_UPPER = dso_local local_unnamed_addr global i32 0, align 4 @HV_COLC_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @HV_DC_UPPER = dso_local local_unnamed_addr global i32 0, align 4 @HV_DC_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @HV_TNCRS_UPPER = dso_local local_unnamed_addr global i32 0, align 4 @HV_TNCRS_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_clear_hw_cntrs_ich8lan], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @e1000_clear_hw_cntrs_ich8lan(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call i32 @e1000e_clear_hw_cntrs_base(ptr noundef %0) #3 %4 = load i32, ptr @ALGNERRC, align 4, !tbaa !5 %5 = tail call i32 @er32(i32 noundef %4) #3 %6 = load i32, ptr @RXERRC, align 4, !tbaa !5 %7 = tail call i32 @er32(i32 noundef %6) #3 %8 = load i32, ptr @TNCRS, align 4, !tbaa !5 %9 = tail call i32 @er32(i32 noundef %8) #3 %10 = load i32, ptr @CEXTERR, align 4, !tbaa !5 %11 = tail call i32 @er32(i32 noundef %10) #3 %12 = load i32, ptr @TSCTC, align 4, !tbaa !5 %13 = tail call i32 @er32(i32 noundef %12) #3 %14 = load i32, ptr @TSCTFC, align 4, !tbaa !5 %15 = tail call i32 @er32(i32 noundef %14) #3 %16 = load i32, ptr @MGTPRC, align 4, !tbaa !5 %17 = tail call i32 @er32(i32 noundef %16) #3 %18 = load i32, ptr @MGTPDC, align 4, !tbaa !5 %19 = tail call i32 @er32(i32 noundef %18) #3 %20 = load i32, ptr @MGTPTC, align 4, !tbaa !5 %21 = tail call i32 @er32(i32 noundef %20) #3 %22 = load i32, ptr @IAC, align 4, !tbaa !5 %23 = tail call i32 @er32(i32 noundef %22) #3 %24 = load i32, ptr @ICRXOC, align 4, !tbaa !5 %25 = tail call i32 @er32(i32 noundef %24) #3 %26 = load i64, ptr %0, align 8, !tbaa !9 %27 = load i64, ptr @e1000_phy_82578, align 8, !tbaa !15 %28 = icmp eq i64 %26, %27 %29 = load i64, ptr @e1000_phy_82579, align 8 %30 = icmp eq i64 %26, %29 %31 = select i1 %28, i1 true, i1 %30 %32 = load i64, ptr @e1000_phy_i217, align 8 %33 = icmp eq i64 %26, %32 %34 = select i1 %31, i1 true, i1 %33 %35 = load i64, ptr @e1000_phy_82577, align 8 %36 = icmp eq i64 %26, %35 %37 = select i1 %34, i1 true, i1 %36 br i1 %37, label %38, label %99 38: ; preds = %1 %39 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %40 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1, i32 3 %41 = load ptr, ptr %40, align 8, !tbaa !16 %42 = tail call i64 %41(ptr noundef nonnull %0) #3 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %99 44: ; preds = %38 %45 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1, i32 2 %46 = load ptr, ptr %45, align 8, !tbaa !17 %47 = load i32, ptr @HV_STATS_PAGE, align 4, !tbaa !5 %48 = load i32, ptr @IGP_PAGE_SHIFT, align 4, !tbaa !5 %49 = shl i32 %47, %48 %50 = tail call i64 %46(ptr noundef nonnull %0, i32 noundef %49) #3 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %96 52: ; preds = %44 %53 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1, i32 1 %54 = load ptr, ptr %53, align 8, !tbaa !18 %55 = load i32, ptr @HV_SCC_UPPER, align 4, !tbaa !5 %56 = call i32 %54(ptr noundef nonnull %0, i32 noundef %55, ptr noundef nonnull %2) #3 %57 = load ptr, ptr %53, align 8, !tbaa !18 %58 = load i32, ptr @HV_SCC_LOWER, align 4, !tbaa !5 %59 = call i32 %57(ptr noundef nonnull %0, i32 noundef %58, ptr noundef nonnull %2) #3 %60 = load ptr, ptr %53, align 8, !tbaa !18 %61 = load i32, ptr @HV_ECOL_UPPER, align 4, !tbaa !5 %62 = call i32 %60(ptr noundef nonnull %0, i32 noundef %61, ptr noundef nonnull %2) #3 %63 = load ptr, ptr %53, align 8, !tbaa !18 %64 = load i32, ptr @HV_ECOL_LOWER, align 4, !tbaa !5 %65 = call i32 %63(ptr noundef nonnull %0, i32 noundef %64, ptr noundef nonnull %2) #3 %66 = load ptr, ptr %53, align 8, !tbaa !18 %67 = load i32, ptr @HV_MCC_UPPER, align 4, !tbaa !5 %68 = call i32 %66(ptr noundef nonnull %0, i32 noundef %67, ptr noundef nonnull %2) #3 %69 = load ptr, ptr %53, align 8, !tbaa !18 %70 = load i32, ptr @HV_MCC_LOWER, align 4, !tbaa !5 %71 = call i32 %69(ptr noundef nonnull %0, i32 noundef %70, ptr noundef nonnull %2) #3 %72 = load ptr, ptr %53, align 8, !tbaa !18 %73 = load i32, ptr @HV_LATECOL_UPPER, align 4, !tbaa !5 %74 = call i32 %72(ptr noundef nonnull %0, i32 noundef %73, ptr noundef nonnull %2) #3 %75 = load ptr, ptr %53, align 8, !tbaa !18 %76 = load i32, ptr @HV_LATECOL_LOWER, align 4, !tbaa !5 %77 = call i32 %75(ptr noundef nonnull %0, i32 noundef %76, ptr noundef nonnull %2) #3 %78 = load ptr, ptr %53, align 8, !tbaa !18 %79 = load i32, ptr @HV_COLC_UPPER, align 4, !tbaa !5 %80 = call i32 %78(ptr noundef nonnull %0, i32 noundef %79, ptr noundef nonnull %2) #3 %81 = load ptr, ptr %53, align 8, !tbaa !18 %82 = load i32, ptr @HV_COLC_LOWER, align 4, !tbaa !5 %83 = call i32 %81(ptr noundef nonnull %0, i32 noundef %82, ptr noundef nonnull %2) #3 %84 = load ptr, ptr %53, align 8, !tbaa !18 %85 = load i32, ptr @HV_DC_UPPER, align 4, !tbaa !5 %86 = call i32 %84(ptr noundef nonnull %0, i32 noundef %85, ptr noundef nonnull %2) #3 %87 = load ptr, ptr %53, align 8, !tbaa !18 %88 = load i32, ptr @HV_DC_LOWER, align 4, !tbaa !5 %89 = call i32 %87(ptr noundef nonnull %0, i32 noundef %88, ptr noundef nonnull %2) #3 %90 = load ptr, ptr %53, align 8, !tbaa !18 %91 = load i32, ptr @HV_TNCRS_UPPER, align 4, !tbaa !5 %92 = call i32 %90(ptr noundef nonnull %0, i32 noundef %91, ptr noundef nonnull %2) #3 %93 = load ptr, ptr %53, align 8, !tbaa !18 %94 = load i32, ptr @HV_TNCRS_LOWER, align 4, !tbaa !5 %95 = call i32 %93(ptr noundef nonnull %0, i32 noundef %94, ptr noundef nonnull %2) #3 br label %96 96: ; preds = %44, %52 %97 = load ptr, ptr %39, align 8, !tbaa !19 %98 = call i32 %97(ptr noundef nonnull %0) #3 br label %99 99: ; preds = %96, %1, %38 call void @llvm.lifetime.end.p0(i64 4, 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 @e1000e_clear_hw_cntrs_base(ptr noundef) local_unnamed_addr #2 declare i32 @er32(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, !12, i64 0} !10 = !{!"e1000_hw", !11, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !13, i64 8} !12 = !{!"long", !7, i64 0} !13 = !{!"TYPE_3__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24} !14 = !{!"any pointer", !7, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!10, !14, i64 32} !17 = !{!10, !14, i64 24} !18 = !{!10, !14, i64 16} !19 = !{!10, !14, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_clear_hw_cntrs_ich8lan.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_ich8lan.c_e1000_clear_hw_cntrs_ich8lan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ALGNERRC = common local_unnamed_addr global i32 0, align 4 @RXERRC = common local_unnamed_addr global i32 0, align 4 @TNCRS = common local_unnamed_addr global i32 0, align 4 @CEXTERR = common local_unnamed_addr global i32 0, align 4 @TSCTC = common local_unnamed_addr global i32 0, align 4 @TSCTFC = common local_unnamed_addr global i32 0, align 4 @MGTPRC = common local_unnamed_addr global i32 0, align 4 @MGTPDC = common local_unnamed_addr global i32 0, align 4 @MGTPTC = common local_unnamed_addr global i32 0, align 4 @IAC = common local_unnamed_addr global i32 0, align 4 @ICRXOC = common local_unnamed_addr global i32 0, align 4 @e1000_phy_82578 = common local_unnamed_addr global i64 0, align 8 @e1000_phy_82579 = common local_unnamed_addr global i64 0, align 8 @e1000_phy_i217 = common local_unnamed_addr global i64 0, align 8 @e1000_phy_82577 = common local_unnamed_addr global i64 0, align 8 @HV_STATS_PAGE = common local_unnamed_addr global i32 0, align 4 @IGP_PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4 @HV_SCC_UPPER = common local_unnamed_addr global i32 0, align 4 @HV_SCC_LOWER = common local_unnamed_addr global i32 0, align 4 @HV_ECOL_UPPER = common local_unnamed_addr global i32 0, align 4 @HV_ECOL_LOWER = common local_unnamed_addr global i32 0, align 4 @HV_MCC_UPPER = common local_unnamed_addr global i32 0, align 4 @HV_MCC_LOWER = common local_unnamed_addr global i32 0, align 4 @HV_LATECOL_UPPER = common local_unnamed_addr global i32 0, align 4 @HV_LATECOL_LOWER = common local_unnamed_addr global i32 0, align 4 @HV_COLC_UPPER = common local_unnamed_addr global i32 0, align 4 @HV_COLC_LOWER = common local_unnamed_addr global i32 0, align 4 @HV_DC_UPPER = common local_unnamed_addr global i32 0, align 4 @HV_DC_LOWER = common local_unnamed_addr global i32 0, align 4 @HV_TNCRS_UPPER = common local_unnamed_addr global i32 0, align 4 @HV_TNCRS_LOWER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @e1000_clear_hw_cntrs_ich8lan], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @e1000_clear_hw_cntrs_ich8lan(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call i32 @e1000e_clear_hw_cntrs_base(ptr noundef %0) #3 %4 = load i32, ptr @ALGNERRC, align 4, !tbaa !6 %5 = tail call i32 @er32(i32 noundef %4) #3 %6 = load i32, ptr @RXERRC, align 4, !tbaa !6 %7 = tail call i32 @er32(i32 noundef %6) #3 %8 = load i32, ptr @TNCRS, align 4, !tbaa !6 %9 = tail call i32 @er32(i32 noundef %8) #3 %10 = load i32, ptr @CEXTERR, align 4, !tbaa !6 %11 = tail call i32 @er32(i32 noundef %10) #3 %12 = load i32, ptr @TSCTC, align 4, !tbaa !6 %13 = tail call i32 @er32(i32 noundef %12) #3 %14 = load i32, ptr @TSCTFC, align 4, !tbaa !6 %15 = tail call i32 @er32(i32 noundef %14) #3 %16 = load i32, ptr @MGTPRC, align 4, !tbaa !6 %17 = tail call i32 @er32(i32 noundef %16) #3 %18 = load i32, ptr @MGTPDC, align 4, !tbaa !6 %19 = tail call i32 @er32(i32 noundef %18) #3 %20 = load i32, ptr @MGTPTC, align 4, !tbaa !6 %21 = tail call i32 @er32(i32 noundef %20) #3 %22 = load i32, ptr @IAC, align 4, !tbaa !6 %23 = tail call i32 @er32(i32 noundef %22) #3 %24 = load i32, ptr @ICRXOC, align 4, !tbaa !6 %25 = tail call i32 @er32(i32 noundef %24) #3 %26 = load i64, ptr %0, align 8, !tbaa !10 %27 = load i64, ptr @e1000_phy_82578, align 8, !tbaa !16 %28 = icmp eq i64 %26, %27 %29 = load i64, ptr @e1000_phy_82579, align 8 %30 = icmp eq i64 %26, %29 %31 = select i1 %28, i1 true, i1 %30 %32 = load i64, ptr @e1000_phy_i217, align 8 %33 = icmp eq i64 %26, %32 %34 = select i1 %31, i1 true, i1 %33 %35 = load i64, ptr @e1000_phy_82577, align 8 %36 = icmp eq i64 %26, %35 %37 = select i1 %34, i1 true, i1 %36 br i1 %37, label %38, label %99 38: ; preds = %1 %39 = getelementptr inbounds i8, ptr %0, i64 8 %40 = getelementptr inbounds i8, ptr %0, i64 32 %41 = load ptr, ptr %40, align 8, !tbaa !17 %42 = tail call i64 %41(ptr noundef nonnull %0) #3 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %99 44: ; preds = %38 %45 = getelementptr inbounds i8, ptr %0, i64 24 %46 = load ptr, ptr %45, align 8, !tbaa !18 %47 = load i32, ptr @HV_STATS_PAGE, align 4, !tbaa !6 %48 = load i32, ptr @IGP_PAGE_SHIFT, align 4, !tbaa !6 %49 = shl i32 %47, %48 %50 = tail call i64 %46(ptr noundef nonnull %0, i32 noundef %49) #3 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %96 52: ; preds = %44 %53 = getelementptr inbounds i8, ptr %0, i64 16 %54 = load ptr, ptr %53, align 8, !tbaa !19 %55 = load i32, ptr @HV_SCC_UPPER, align 4, !tbaa !6 %56 = call i32 %54(ptr noundef nonnull %0, i32 noundef %55, ptr noundef nonnull %2) #3 %57 = load ptr, ptr %53, align 8, !tbaa !19 %58 = load i32, ptr @HV_SCC_LOWER, align 4, !tbaa !6 %59 = call i32 %57(ptr noundef nonnull %0, i32 noundef %58, ptr noundef nonnull %2) #3 %60 = load ptr, ptr %53, align 8, !tbaa !19 %61 = load i32, ptr @HV_ECOL_UPPER, align 4, !tbaa !6 %62 = call i32 %60(ptr noundef nonnull %0, i32 noundef %61, ptr noundef nonnull %2) #3 %63 = load ptr, ptr %53, align 8, !tbaa !19 %64 = load i32, ptr @HV_ECOL_LOWER, align 4, !tbaa !6 %65 = call i32 %63(ptr noundef nonnull %0, i32 noundef %64, ptr noundef nonnull %2) #3 %66 = load ptr, ptr %53, align 8, !tbaa !19 %67 = load i32, ptr @HV_MCC_UPPER, align 4, !tbaa !6 %68 = call i32 %66(ptr noundef nonnull %0, i32 noundef %67, ptr noundef nonnull %2) #3 %69 = load ptr, ptr %53, align 8, !tbaa !19 %70 = load i32, ptr @HV_MCC_LOWER, align 4, !tbaa !6 %71 = call i32 %69(ptr noundef nonnull %0, i32 noundef %70, ptr noundef nonnull %2) #3 %72 = load ptr, ptr %53, align 8, !tbaa !19 %73 = load i32, ptr @HV_LATECOL_UPPER, align 4, !tbaa !6 %74 = call i32 %72(ptr noundef nonnull %0, i32 noundef %73, ptr noundef nonnull %2) #3 %75 = load ptr, ptr %53, align 8, !tbaa !19 %76 = load i32, ptr @HV_LATECOL_LOWER, align 4, !tbaa !6 %77 = call i32 %75(ptr noundef nonnull %0, i32 noundef %76, ptr noundef nonnull %2) #3 %78 = load ptr, ptr %53, align 8, !tbaa !19 %79 = load i32, ptr @HV_COLC_UPPER, align 4, !tbaa !6 %80 = call i32 %78(ptr noundef nonnull %0, i32 noundef %79, ptr noundef nonnull %2) #3 %81 = load ptr, ptr %53, align 8, !tbaa !19 %82 = load i32, ptr @HV_COLC_LOWER, align 4, !tbaa !6 %83 = call i32 %81(ptr noundef nonnull %0, i32 noundef %82, ptr noundef nonnull %2) #3 %84 = load ptr, ptr %53, align 8, !tbaa !19 %85 = load i32, ptr @HV_DC_UPPER, align 4, !tbaa !6 %86 = call i32 %84(ptr noundef nonnull %0, i32 noundef %85, ptr noundef nonnull %2) #3 %87 = load ptr, ptr %53, align 8, !tbaa !19 %88 = load i32, ptr @HV_DC_LOWER, align 4, !tbaa !6 %89 = call i32 %87(ptr noundef nonnull %0, i32 noundef %88, ptr noundef nonnull %2) #3 %90 = load ptr, ptr %53, align 8, !tbaa !19 %91 = load i32, ptr @HV_TNCRS_UPPER, align 4, !tbaa !6 %92 = call i32 %90(ptr noundef nonnull %0, i32 noundef %91, ptr noundef nonnull %2) #3 %93 = load ptr, ptr %53, align 8, !tbaa !19 %94 = load i32, ptr @HV_TNCRS_LOWER, align 4, !tbaa !6 %95 = call i32 %93(ptr noundef nonnull %0, i32 noundef %94, ptr noundef nonnull %2) #3 br label %96 96: ; preds = %44, %52 %97 = load ptr, ptr %39, align 8, !tbaa !20 %98 = call i32 %97(ptr noundef nonnull %0) #3 br label %99 99: ; preds = %96, %1, %38 call void @llvm.lifetime.end.p0(i64 4, 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 @e1000e_clear_hw_cntrs_base(ptr noundef) local_unnamed_addr #2 declare i32 @er32(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, !13, i64 0} !11 = !{!"e1000_hw", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !14, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!"TYPE_3__", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24} !15 = !{!"any pointer", !8, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!11, !15, i64 32} !18 = !{!11, !15, i64 24} !19 = !{!11, !15, i64 16} !20 = !{!11, !15, i64 8}
fastsocket_kernel_drivers_net_e1000e_extr_ich8lan.c_e1000_clear_hw_cntrs_ich8lan
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-netlink/extr_sd-netlink.c_calc_elapse.c' source_filename = "AnghaBench/systemd/src/libsystemd/sd-netlink/extr_sd-netlink.c_calc_elapse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RTNL_DEFAULT_TIMEOUT = dso_local local_unnamed_addr global i64 0, align 8 @CLOCK_MONOTONIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @calc_elapse], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @calc_elapse(i64 noundef %0) #0 { switch i64 %0, label %4 [ i64 -1, label %9 i64 0, label %2 ] 2: ; preds = %1 %3 = load i64, ptr @RTNL_DEFAULT_TIMEOUT, align 8, !tbaa !5 br label %4 4: ; preds = %1, %2 %5 = phi i64 [ %3, %2 ], [ %0, %1 ] %6 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !9 %7 = tail call i64 @now(i32 noundef %6) #2 %8 = add nsw i64 %7, %5 br label %9 9: ; preds = %1, %4 %10 = phi i64 [ %8, %4 ], [ 0, %1 ] ret i64 %10 } declare i64 @now(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 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-netlink/extr_sd-netlink.c_calc_elapse.c' source_filename = "AnghaBench/systemd/src/libsystemd/sd-netlink/extr_sd-netlink.c_calc_elapse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTNL_DEFAULT_TIMEOUT = common local_unnamed_addr global i64 0, align 8 @CLOCK_MONOTONIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @calc_elapse], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @calc_elapse(i64 noundef %0) #0 { switch i64 %0, label %4 [ i64 -1, label %9 i64 0, label %2 ] 2: ; preds = %1 %3 = load i64, ptr @RTNL_DEFAULT_TIMEOUT, align 8, !tbaa !6 br label %4 4: ; preds = %1, %2 %5 = phi i64 [ %3, %2 ], [ %0, %1 ] %6 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !10 %7 = tail call i64 @now(i32 noundef %6) #2 %8 = add nsw i64 %7, %5 br label %9 9: ; preds = %1, %4 %10 = phi i64 [ %8, %4 ], [ 0, %1 ] ret i64 %10 } declare i64 @now(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 = !{!"int", !8, i64 0}
systemd_src_libsystemd_sd-netlink_extr_sd-netlink.c_calc_elapse
; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_bmp280-spi.c_bmp280_spi_probe.c' source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_bmp280-spi.c_bmp280_spi_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.regmap_config = type { i32 } %struct.spi_device = type { i32, i32, i32 } %struct.spi_device_id = type { i32, i32 } @.str = private unnamed_addr constant [19 x i8] c"spi_setup failed!\0A\00", align 1 @bmp180_regmap_config = dso_local global %struct.regmap_config zeroinitializer, align 4 @bmp280_regmap_config = dso_local global %struct.regmap_config zeroinitializer, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @bmp280_regmap_bus = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"failed to allocate register map\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @bmp280_spi_probe], section "llvm.metadata" @switch.table.bmp280_spi_probe = private unnamed_addr constant [3 x ptr] [ptr @bmp280_regmap_config, ptr @bmp180_regmap_config, ptr @bmp280_regmap_config], align 8 ; Function Attrs: nounwind uwtable define internal i32 @bmp280_spi_probe(ptr noundef %0) #0 { %2 = tail call ptr @spi_get_device_id(ptr noundef %0) #2 store i32 8, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @spi_setup(ptr noundef nonnull %0) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = getelementptr inbounds %struct.spi_device, ptr %0, i64 0, i32 2 %7 = tail call i32 @dev_err(ptr noundef nonnull %6, ptr noundef nonnull @.str) #2 br label %33 8: ; preds = %1 %9 = load i32, ptr %2, align 4, !tbaa !10 %10 = add i32 %9, -128 %11 = icmp ult i32 %10, 3 br i1 %11, label %15, label %12 12: ; preds = %8 %13 = load i32, ptr @EINVAL, align 4, !tbaa !12 %14 = sub nsw i32 0, %13 br label %33 15: ; preds = %8 %16 = zext nneg i32 %10 to i64 %17 = getelementptr inbounds [3 x ptr], ptr @switch.table.bmp280_spi_probe, i64 0, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = getelementptr inbounds %struct.spi_device, ptr %0, i64 0, i32 2 %20 = tail call ptr @devm_regmap_init(ptr noundef nonnull %19, ptr noundef nonnull @bmp280_regmap_bus, ptr noundef nonnull %19, ptr noundef nonnull %18) #2 %21 = tail call i64 @IS_ERR(ptr noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %15 %24 = tail call i32 @dev_err(ptr noundef nonnull %19, ptr noundef nonnull @.str.1) #2 %25 = tail call i32 @PTR_ERR(ptr noundef %20) #2 br label %33 26: ; preds = %15 %27 = load i32, ptr %2, align 4, !tbaa !10 %28 = getelementptr inbounds %struct.spi_device_id, ptr %2, i64 0, i32 1 %29 = load i32, ptr %28, align 4, !tbaa !13 %30 = getelementptr inbounds %struct.spi_device, ptr %0, i64 0, i32 1 %31 = load i32, ptr %30, align 4, !tbaa !14 %32 = tail call i32 @bmp280_common_probe(ptr noundef nonnull %19, ptr noundef %20, i32 noundef %27, i32 noundef %29, i32 noundef %31) #2 br label %33 33: ; preds = %26, %23, %12, %5 %34 = phi i32 [ %3, %5 ], [ %14, %12 ], [ %25, %23 ], [ %32, %26 ] ret i32 %34 } declare ptr @spi_get_device_id(ptr noundef) local_unnamed_addr #1 declare i32 @spi_setup(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @devm_regmap_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @bmp280_common_probe(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"spi_device", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"spi_device_id", !7, i64 0, !7, i64 4} !12 = !{!7, !7, i64 0} !13 = !{!11, !7, i64 4} !14 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/iio/pressure/extr_bmp280-spi.c_bmp280_spi_probe.c' source_filename = "AnghaBench/linux/drivers/iio/pressure/extr_bmp280-spi.c_bmp280_spi_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.regmap_config = type { i32 } @.str = private unnamed_addr constant [19 x i8] c"spi_setup failed!\0A\00", align 1 @bmp180_regmap_config = common global %struct.regmap_config zeroinitializer, align 4 @bmp280_regmap_config = common global %struct.regmap_config zeroinitializer, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @bmp280_regmap_bus = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"failed to allocate register map\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @bmp280_spi_probe], section "llvm.metadata" @switch.table.bmp280_spi_probe = private unnamed_addr constant [3 x ptr] [ptr @bmp280_regmap_config, ptr @bmp180_regmap_config, ptr @bmp280_regmap_config], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bmp280_spi_probe(ptr noundef %0) #0 { %2 = tail call ptr @spi_get_device_id(ptr noundef %0) #2 store i32 8, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @spi_setup(ptr noundef nonnull %0) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = tail call i32 @dev_err(ptr noundef nonnull %6, ptr noundef nonnull @.str) #2 br label %33 8: ; preds = %1 %9 = load i32, ptr %2, align 4, !tbaa !11 %10 = add i32 %9, -128 %11 = icmp ult i32 %10, 3 br i1 %11, label %15, label %12 12: ; preds = %8 %13 = load i32, ptr @EINVAL, align 4, !tbaa !13 %14 = sub nsw i32 0, %13 br label %33 15: ; preds = %8 %16 = zext nneg i32 %10 to i64 %17 = getelementptr inbounds [3 x ptr], ptr @switch.table.bmp280_spi_probe, i64 0, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = tail call ptr @devm_regmap_init(ptr noundef nonnull %19, ptr noundef nonnull @bmp280_regmap_bus, ptr noundef nonnull %19, ptr noundef nonnull %18) #2 %21 = tail call i64 @IS_ERR(ptr noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %15 %24 = tail call i32 @dev_err(ptr noundef nonnull %19, ptr noundef nonnull @.str.1) #2 %25 = tail call i32 @PTR_ERR(ptr noundef %20) #2 br label %33 26: ; preds = %15 %27 = load i32, ptr %2, align 4, !tbaa !11 %28 = getelementptr inbounds i8, ptr %2, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !14 %30 = getelementptr inbounds i8, ptr %0, i64 4 %31 = load i32, ptr %30, align 4, !tbaa !15 %32 = tail call i32 @bmp280_common_probe(ptr noundef nonnull %19, ptr noundef %20, i32 noundef %27, i32 noundef %29, i32 noundef %31) #2 br label %33 33: ; preds = %26, %23, %12, %5 %34 = phi i32 [ %3, %5 ], [ %14, %12 ], [ %25, %23 ], [ %32, %26 ] ret i32 %34 } declare ptr @spi_get_device_id(ptr noundef) local_unnamed_addr #1 declare i32 @spi_setup(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @devm_regmap_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @bmp280_common_probe(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"spi_device", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"spi_device_id", !8, i64 0, !8, i64 4} !13 = !{!8, !8, i64 0} !14 = !{!12, !8, i64 4} !15 = !{!7, !8, i64 4}
linux_drivers_iio_pressure_extr_bmp280-spi.c_bmp280_spi_probe
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv_io.c__ccv_read_and_close_fd.c' source_filename = "AnghaBench/ccv/lib/extr_ccv_io.c__ccv_read_and_close_fd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CCV_8U = dso_local local_unnamed_addr global i32 0, align 4 @CCV_IO_ANY_FILE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"\89PNG\0D\0A\1A\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\FF\D8\FF\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"BM\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"CCVBINDM\00", align 1 @SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4 @CCV_IO_FINAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_ccv_read_and_close_fd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_ccv_read_and_close_fd(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca [8 x i8], align 1 %5 = and i32 %2, 3840 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @CCV_8U, align 4 %8 = lshr exact i32 %5, 8 %9 = or i32 %7, %8 %10 = select i1 %6, i32 0, i32 %9 %11 = and i32 %2, 255 %12 = load i32, ptr @CCV_IO_ANY_FILE, align 4, !tbaa !5 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %32 14: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 %15 = call i32 @fread(ptr noundef nonnull %4, i32 noundef 1, i32 noundef 8, ptr noundef %0) #4 %16 = call i64 @memcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str, i32 noundef 8) #4 %17 = icmp eq i64 %16, 0 br i1 %17, label %28, label %18 18: ; preds = %14 %19 = call i64 @memcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.1, i32 noundef 3) #4 %20 = icmp eq i64 %19, 0 br i1 %20, label %28, label %21 21: ; preds = %18 %22 = call i64 @memcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.2, i32 noundef 2) #4 %23 = icmp eq i64 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %21 %25 = call i64 @memcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.3, i32 noundef 8) #4 %26 = icmp eq i64 %25, 0 %27 = select i1 %26, i32 131, i32 %2 br label %28 28: ; preds = %24, %21, %18, %14 %29 = phi i32 [ 128, %14 ], [ 129, %18 ], [ 130, %21 ], [ %27, %24 ] %30 = load i32, ptr @SEEK_SET, align 4, !tbaa !5 %31 = call i32 @fseek(ptr noundef %0, i32 noundef 0, i32 noundef %30) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %32 32: ; preds = %28, %3 %33 = phi i32 [ %29, %28 ], [ %2, %3 ] %34 = trunc i32 %33 to i8 switch i8 %34, label %39 [ i8 -126, label %35 i8 -125, label %37 ] 35: ; preds = %32 %36 = call i32 @_ccv_read_bmp_fd(ptr noundef %0, ptr noundef %1, i32 noundef %10) #4 br label %39 37: ; preds = %32 %38 = call i32 @_ccv_read_binary_fd(ptr noundef %0, ptr noundef %1, i32 noundef %10) #4 br label %39 39: ; preds = %37, %32, %35 %40 = load ptr, ptr %1, align 8, !tbaa !9 %41 = icmp eq ptr %40, null br i1 %41, label %44, label %42 42: ; preds = %39 %43 = call i32 @ccv_make_matrix_immutable(ptr noundef nonnull %40) #4 br label %44 44: ; preds = %42, %39 %45 = load i32, ptr @CCV_IO_ANY_FILE, align 4, !tbaa !5 %46 = and i32 %45, %33 %47 = icmp eq i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %44 %49 = call i32 @fclose(ptr noundef %0) br label %50 50: ; preds = %48, %44 %51 = load i32, ptr @CCV_IO_FINAL, align 4, !tbaa !5 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fseek(ptr nocapture noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @_ccv_read_bmp_fd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_ccv_read_binary_fd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ccv_make_matrix_immutable(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv_io.c__ccv_read_and_close_fd.c' source_filename = "AnghaBench/ccv/lib/extr_ccv_io.c__ccv_read_and_close_fd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CCV_8U = common local_unnamed_addr global i32 0, align 4 @CCV_IO_ANY_FILE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"\89PNG\0D\0A\1A\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"\FF\D8\FF\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"BM\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"CCVBINDM\00", align 1 @SEEK_SET = common local_unnamed_addr global i32 0, align 4 @CCV_IO_FINAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_ccv_read_and_close_fd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @_ccv_read_and_close_fd(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca [8 x i8], align 1 %5 = and i32 %2, 3840 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @CCV_8U, align 4 %8 = lshr exact i32 %5, 8 %9 = or i32 %7, %8 %10 = select i1 %6, i32 0, i32 %9 %11 = and i32 %2, 255 %12 = load i32, ptr @CCV_IO_ANY_FILE, align 4, !tbaa !6 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %32 14: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 %15 = call i32 @fread(ptr noundef nonnull %4, i32 noundef 1, i32 noundef 8, ptr noundef %0) #4 %16 = call i64 @memcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str, i32 noundef 8) #4 %17 = icmp eq i64 %16, 0 br i1 %17, label %28, label %18 18: ; preds = %14 %19 = call i64 @memcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.1, i32 noundef 3) #4 %20 = icmp eq i64 %19, 0 br i1 %20, label %28, label %21 21: ; preds = %18 %22 = call i64 @memcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.2, i32 noundef 2) #4 %23 = icmp eq i64 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %21 %25 = call i64 @memcmp(ptr noundef nonnull %4, ptr noundef nonnull @.str.3, i32 noundef 8) #4 %26 = icmp eq i64 %25, 0 %27 = select i1 %26, i32 131, i32 %2 br label %28 28: ; preds = %24, %21, %18, %14 %29 = phi i32 [ 128, %14 ], [ 129, %18 ], [ 130, %21 ], [ %27, %24 ] %30 = load i32, ptr @SEEK_SET, align 4, !tbaa !6 %31 = call i32 @fseek(ptr noundef %0, i32 noundef 0, i32 noundef %30) call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %32 32: ; preds = %28, %3 %33 = phi i32 [ %29, %28 ], [ %2, %3 ] %34 = trunc i32 %33 to i8 switch i8 %34, label %39 [ i8 -126, label %35 i8 -125, label %37 ] 35: ; preds = %32 %36 = call i32 @_ccv_read_bmp_fd(ptr noundef %0, ptr noundef %1, i32 noundef %10) #4 br label %39 37: ; preds = %32 %38 = call i32 @_ccv_read_binary_fd(ptr noundef %0, ptr noundef %1, i32 noundef %10) #4 br label %39 39: ; preds = %37, %32, %35 %40 = load ptr, ptr %1, align 8, !tbaa !10 %41 = icmp eq ptr %40, null br i1 %41, label %44, label %42 42: ; preds = %39 %43 = call i32 @ccv_make_matrix_immutable(ptr noundef nonnull %40) #4 br label %44 44: ; preds = %42, %39 %45 = load i32, ptr @CCV_IO_ANY_FILE, align 4, !tbaa !6 %46 = and i32 %45, %33 %47 = icmp eq i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %44 %49 = call i32 @fclose(ptr noundef %0) br label %50 50: ; preds = %48, %44 %51 = load i32, ptr @CCV_IO_FINAL, align 4, !tbaa !6 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fseek(ptr nocapture noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @_ccv_read_bmp_fd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_ccv_read_binary_fd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ccv_make_matrix_immutable(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
ccv_lib_extr_ccv_io.c__ccv_read_and_close_fd
; ModuleID = 'AnghaBench/esp-idf/examples/system/ota/simple_ota_example/main/extr_simple_ota_example.c_app_main.c' source_filename = "AnghaBench/esp-idf/examples/system/ota/simple_ota_example/main/extr_simple_ota_example.c_app_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" @ESP_ERR_NVS_NO_FREE_PAGES = dso_local local_unnamed_addr global i64 0, align 8 @ESP_ERR_NVS_NEW_VERSION_FOUND = dso_local local_unnamed_addr global i64 0, align 8 @simple_ota_example_task = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"ota_example_task\00", align 1 @WIFI_PS_NONE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @app_main() local_unnamed_addr #0 { %1 = tail call i64 (...) @nvs_flash_init() #2 %2 = load i64, ptr @ESP_ERR_NVS_NO_FREE_PAGES, align 8, !tbaa !5 %3 = icmp eq i64 %1, %2 %4 = load i64, ptr @ESP_ERR_NVS_NEW_VERSION_FOUND, align 8 %5 = icmp eq i64 %1, %4 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = tail call i64 (...) @nvs_flash_erase() #2 %9 = tail call i32 @ESP_ERROR_CHECK(i64 noundef %8) #2 %10 = tail call i64 (...) @nvs_flash_init() #2 br label %11 11: ; preds = %0, %7 %12 = phi i64 [ %10, %7 ], [ %1, %0 ] %13 = tail call i32 @ESP_ERROR_CHECK(i64 noundef %12) #2 %14 = tail call i32 (...) @esp_netif_init() #2 %15 = tail call i64 (...) @esp_event_loop_create_default() #2 %16 = tail call i32 @ESP_ERROR_CHECK(i64 noundef %15) #2 %17 = tail call i64 (...) @example_connect() #2 %18 = tail call i32 @ESP_ERROR_CHECK(i64 noundef %17) #2 %19 = tail call i32 @xTaskCreate(ptr noundef nonnull @simple_ota_example_task, ptr noundef nonnull @.str, i32 noundef 8192, ptr noundef null, i32 noundef 5, ptr noundef null) #2 ret void } declare i64 @nvs_flash_init(...) local_unnamed_addr #1 declare i32 @ESP_ERROR_CHECK(i64 noundef) local_unnamed_addr #1 declare i64 @nvs_flash_erase(...) local_unnamed_addr #1 declare i32 @esp_netif_init(...) local_unnamed_addr #1 declare i64 @esp_event_loop_create_default(...) local_unnamed_addr #1 declare i64 @example_connect(...) local_unnamed_addr #1 declare i32 @xTaskCreate(ptr noundef, ptr noundef, i32 noundef, 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, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/esp-idf/examples/system/ota/simple_ota_example/main/extr_simple_ota_example.c_app_main.c' source_filename = "AnghaBench/esp-idf/examples/system/ota/simple_ota_example/main/extr_simple_ota_example.c_app_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ESP_ERR_NVS_NO_FREE_PAGES = common local_unnamed_addr global i64 0, align 8 @ESP_ERR_NVS_NEW_VERSION_FOUND = common local_unnamed_addr global i64 0, align 8 @simple_ota_example_task = common global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"ota_example_task\00", align 1 @WIFI_PS_NONE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @app_main() local_unnamed_addr #0 { %1 = tail call i64 @nvs_flash_init() #2 %2 = load i64, ptr @ESP_ERR_NVS_NO_FREE_PAGES, align 8, !tbaa !6 %3 = icmp eq i64 %1, %2 %4 = load i64, ptr @ESP_ERR_NVS_NEW_VERSION_FOUND, align 8 %5 = icmp eq i64 %1, %4 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = tail call i64 @nvs_flash_erase() #2 %9 = tail call i32 @ESP_ERROR_CHECK(i64 noundef %8) #2 %10 = tail call i64 @nvs_flash_init() #2 br label %11 11: ; preds = %0, %7 %12 = phi i64 [ %10, %7 ], [ %1, %0 ] %13 = tail call i32 @ESP_ERROR_CHECK(i64 noundef %12) #2 %14 = tail call i32 @esp_netif_init() #2 %15 = tail call i64 @esp_event_loop_create_default() #2 %16 = tail call i32 @ESP_ERROR_CHECK(i64 noundef %15) #2 %17 = tail call i64 @example_connect() #2 %18 = tail call i32 @ESP_ERROR_CHECK(i64 noundef %17) #2 %19 = tail call i32 @xTaskCreate(ptr noundef nonnull @simple_ota_example_task, ptr noundef nonnull @.str, i32 noundef 8192, ptr noundef null, i32 noundef 5, ptr noundef null) #2 ret void } declare i64 @nvs_flash_init(...) local_unnamed_addr #1 declare i32 @ESP_ERROR_CHECK(i64 noundef) local_unnamed_addr #1 declare i64 @nvs_flash_erase(...) local_unnamed_addr #1 declare i32 @esp_netif_init(...) local_unnamed_addr #1 declare i64 @esp_event_loop_create_default(...) local_unnamed_addr #1 declare i64 @example_connect(...) local_unnamed_addr #1 declare i32 @xTaskCreate(ptr noundef, ptr noundef, i32 noundef, 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, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
esp-idf_examples_system_ota_simple_ota_example_main_extr_simple_ota_example.c_app_main
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_pktlog_rx_cb.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_pktlog_rx_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" @ath10k_htt_rx_pktlog_completion_handler = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ath10k_pci_pktlog_rx_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ath10k_pci_pktlog_rx_cb(ptr noundef %0) #0 { %2 = load i32, ptr @ath10k_htt_rx_pktlog_completion_handler, align 4, !tbaa !5 %3 = tail call i32 @ath10k_pci_process_rx_cb(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @ath10k_pci_process_rx_cb(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/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_pktlog_rx_cb.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_pktlog_rx_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ath10k_htt_rx_pktlog_completion_handler = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ath10k_pci_pktlog_rx_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ath10k_pci_pktlog_rx_cb(ptr noundef %0) #0 { %2 = load i32, ptr @ath10k_htt_rx_pktlog_completion_handler, align 4, !tbaa !6 %3 = tail call i32 @ath10k_pci_process_rx_cb(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @ath10k_pci_process_rx_cb(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_net_wireless_ath_ath10k_extr_pci.c_ath10k_pci_pktlog_rx_cb
; ModuleID = 'AnghaBench/linux/drivers/media/firewire/extr_firedtv-fw.c_queue_iso.c' source_filename = "AnghaBench/linux/drivers/media/firewire/extr_firedtv-fw.c_queue_iso.c" target datalayout = "e-m:e-p270:32:32-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_iso_packet = type { i32, i32, i32, i64 } %struct.fdtv_ir_context = type { i32, i32, i32 } @MAX_PACKET_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_INTERVAL = dso_local local_unnamed_addr global i32 0, align 4 @ISO_HEADER_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @queue_iso], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @queue_iso(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.fw_iso_packet, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %4 = load i32, ptr @MAX_PACKET_SIZE, align 4, !tbaa !5 store i32 %4, ptr %3, align 8, !tbaa !9 %5 = load i32, ptr %0, align 4, !tbaa !12 %6 = add nsw i32 %5, 1 store i32 %6, ptr %0, align 4, !tbaa !12 %7 = load i32, ptr @IRQ_INTERVAL, align 4, !tbaa !5 %8 = add nsw i32 %7, -1 %9 = and i32 %8, %6 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 %12 = getelementptr inbounds %struct.fw_iso_packet, ptr %3, i64 0, i32 1 store i32 %11, ptr %12, align 4, !tbaa !14 %13 = getelementptr inbounds %struct.fw_iso_packet, ptr %3, i64 0, i32 3 store i64 0, ptr %13, align 8, !tbaa !15 %14 = load i32, ptr @ISO_HEADER_SIZE, align 4, !tbaa !5 %15 = getelementptr inbounds %struct.fw_iso_packet, ptr %3, i64 0, i32 2 store i32 %14, ptr %15, align 8, !tbaa !16 %16 = getelementptr inbounds %struct.fdtv_ir_context, ptr %0, i64 0, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = getelementptr inbounds %struct.fdtv_ir_context, ptr %0, i64 0, i32 1 %19 = load i32, ptr @MAX_PACKET_SIZE, align 4, !tbaa !5 %20 = mul nsw i32 %19, %1 %21 = call i32 @fw_iso_context_queue(i32 noundef %17, ptr noundef nonnull %3, ptr noundef nonnull %18, i32 noundef %20) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fw_iso_context_queue(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"fw_iso_packet", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"fdtv_ir_context", !6, i64 0, !6, i64 4, !6, i64 8} !14 = !{!10, !6, i64 4} !15 = !{!10, !11, i64 16} !16 = !{!10, !6, i64 8} !17 = !{!13, !6, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/media/firewire/extr_firedtv-fw.c_queue_iso.c' source_filename = "AnghaBench/linux/drivers/media/firewire/extr_firedtv-fw.c_queue_iso.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.fw_iso_packet = type { i32, i32, i32, i64 } @MAX_PACKET_SIZE = common local_unnamed_addr global i32 0, align 4 @IRQ_INTERVAL = common local_unnamed_addr global i32 0, align 4 @ISO_HEADER_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @queue_iso], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @queue_iso(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.fw_iso_packet, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %4 = load i32, ptr @MAX_PACKET_SIZE, align 4, !tbaa !6 store i32 %4, ptr %3, align 8, !tbaa !10 %5 = load i32, ptr %0, align 4, !tbaa !13 %6 = add nsw i32 %5, 1 store i32 %6, ptr %0, align 4, !tbaa !13 %7 = load i32, ptr @IRQ_INTERVAL, align 4, !tbaa !6 %8 = add nsw i32 %7, -1 %9 = and i32 %8, %6 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 %12 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %11, ptr %12, align 4, !tbaa !15 %13 = getelementptr inbounds i8, ptr %3, i64 16 store i64 0, ptr %13, align 8, !tbaa !16 %14 = load i32, ptr @ISO_HEADER_SIZE, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %14, ptr %15, align 8, !tbaa !17 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load i32, ptr %16, align 4, !tbaa !18 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = load i32, ptr @MAX_PACKET_SIZE, align 4, !tbaa !6 %20 = mul nsw i32 %19, %1 %21 = call i32 @fw_iso_context_queue(i32 noundef %17, ptr noundef nonnull %3, ptr noundef nonnull %18, i32 noundef %20) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fw_iso_context_queue(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"fw_iso_packet", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"fdtv_ir_context", !7, i64 0, !7, i64 4, !7, i64 8} !15 = !{!11, !7, i64 4} !16 = !{!11, !12, i64 16} !17 = !{!11, !7, i64 8} !18 = !{!14, !7, i64 8}
linux_drivers_media_firewire_extr_firedtv-fw.c_queue_iso
; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_vexpress-spc-cpufreq.c_ve_spc_cpufreq_remove.c' source_filename = "AnghaBench/linux/drivers/cpufreq/extr_vexpress-spc-cpufreq.c_ve_spc_cpufreq_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ve_spc_cpufreq_ops = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ve_spc_cpufreq_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ve_spc_cpufreq_remove(ptr nocapture readnone %0) #0 { %2 = tail call i32 @bL_cpufreq_unregister(ptr noundef nonnull @ve_spc_cpufreq_ops) #2 ret i32 0 } declare i32 @bL_cpufreq_unregister(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/cpufreq/extr_vexpress-spc-cpufreq.c_ve_spc_cpufreq_remove.c' source_filename = "AnghaBench/linux/drivers/cpufreq/extr_vexpress-spc-cpufreq.c_ve_spc_cpufreq_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ve_spc_cpufreq_ops = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ve_spc_cpufreq_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ve_spc_cpufreq_remove(ptr nocapture readnone %0) #0 { %2 = tail call i32 @bL_cpufreq_unregister(ptr noundef nonnull @ve_spc_cpufreq_ops) #2 ret i32 0 } declare i32 @bL_cpufreq_unregister(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_cpufreq_extr_vexpress-spc-cpufreq.c_ve_spc_cpufreq_remove
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/misc/extr_ldusb.c_ld_usb_probe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/misc/extr_ldusb.c_ld_usb_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.usb_interface = type { i64, i32, ptr } %struct.ld_usb = type { i32, i32, ptr, i64, ptr, i64, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i32 } %struct.TYPE_6__ = type { i32, i32, i32, i32 } %struct.usb_host_interface = type { ptr, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } %struct.TYPE_5__ = type { %struct.usb_endpoint_descriptor } %struct.usb_endpoint_descriptor = type { i64, i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"Out of memory\0A\00", align 1 @USB_VENDOR_ID_LD = dso_local local_unnamed_addr global i32 0, align 4 @USB_DEVICE_ID_LD_CASSY = dso_local local_unnamed_addr global i32 0, align 4 @USB_DEVICE_ID_LD_COM3LAB = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Couldn't allocate string buffer\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Interrupt in endpoint not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [67 x i8] c"Interrupt out endpoint not found (using control endpoint instead)\0A\00", align 1 @ring_buffer_size = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [31 x i8] c"Couldn't allocate ring_buffer\0A\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"Couldn't allocate interrupt_in_buffer\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"Couldn't allocate interrupt_in_urb\0A\00", align 1 @write_buffer_size = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [40 x i8] c"Couldn't allocate interrupt_out_buffer\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"Couldn't allocate interrupt_out_urb\0A\00", align 1 @min_interrupt_in_interval = dso_local local_unnamed_addr global i64 0, align 8 @min_interrupt_out_interval = dso_local local_unnamed_addr global i64 0, align 8 @ld_usb_class = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [42 x i8] c"Not able to get a minor for this device.\0A\00", align 1 @.str.10 = private unnamed_addr constant [53 x i8] c"LD USB Device #%d now attached to major %d minor %d\0A\00", align 1 @USB_LD_MINOR_BASE = dso_local local_unnamed_addr global i64 0, align 8 @USB_MAJOR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ld_usb_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ld_usb_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call ptr @interface_to_usbdev(ptr noundef %0) #3 %4 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %5 = sub nsw i32 0, %4 %6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %7 = tail call ptr @kzalloc(i32 noundef 104, i32 noundef %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %11 = tail call i32 @dev_err(ptr noundef nonnull %10, ptr noundef nonnull @.str) #3 br label %184 12: ; preds = %2 %13 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 15 %14 = tail call i32 @mutex_init(ptr noundef nonnull %13) #3 %15 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 14 %16 = tail call i32 @spin_lock_init(ptr noundef nonnull %15) #3 %17 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 13 store ptr %0, ptr %17, align 8, !tbaa !9 %18 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 12 %19 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %18) #3 %20 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 11 %21 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %20) #3 %22 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 3 %23 = load i32, ptr %22, align 4, !tbaa !13 %24 = tail call i32 @le16_to_cpu(i32 noundef %23) #3 %25 = load i32, ptr @USB_VENDOR_ID_LD, align 4, !tbaa !5 %26 = icmp eq i32 %24, %25 br i1 %26, label %27, label %53 27: ; preds = %12 %28 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 2 %29 = load i32, ptr %28, align 4, !tbaa !16 %30 = tail call i32 @le16_to_cpu(i32 noundef %29) #3 %31 = load i32, ptr @USB_DEVICE_ID_LD_CASSY, align 4, !tbaa !5 %32 = icmp eq i32 %30, %31 br i1 %32, label %38, label %33 33: ; preds = %27 %34 = load i32, ptr %28, align 4, !tbaa !16 %35 = tail call i32 @le16_to_cpu(i32 noundef %34) #3 %36 = load i32, ptr @USB_DEVICE_ID_LD_COM3LAB, align 4, !tbaa !5 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %53 38: ; preds = %33, %27 %39 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1 %40 = load i32, ptr %39, align 4, !tbaa !17 %41 = tail call i32 @le16_to_cpu(i32 noundef %40) #3 %42 = icmp slt i32 %41, 260 br i1 %42, label %43, label %53 43: ; preds = %38 %44 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %45 = tail call ptr @kmalloc(i32 noundef 256, i32 noundef %44) #3 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %50 47: ; preds = %43 %48 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %49 = tail call i32 @dev_err(ptr noundef nonnull %48, ptr noundef nonnull @.str.1) #3 br label %181 50: ; preds = %43 %51 = tail call i32 @usb_string(ptr noundef nonnull %3, i32 noundef 255, ptr noundef nonnull %45, i32 noundef 256) #3 %52 = tail call i32 @kfree(ptr noundef nonnull %45) #3 br label %53 53: ; preds = %50, %38, %33, %12 %54 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 2 %55 = load ptr, ptr %54, align 8, !tbaa !18 %56 = getelementptr inbounds %struct.usb_host_interface, ptr %55, i64 0, i32 1 %57 = load i32, ptr %56, align 8, !tbaa !20 %58 = icmp sgt i32 %57, 0 br i1 %58, label %59, label %78 59: ; preds = %53 %60 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 4 %61 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 2 br label %62 62: ; preds = %59, %73 %63 = phi i64 [ 0, %59 ], [ %74, %73 ] %64 = load ptr, ptr %55, align 8, !tbaa !23 %65 = getelementptr inbounds %struct.TYPE_5__, ptr %64, i64 %63 %66 = tail call i64 @usb_endpoint_is_int_in(ptr noundef %65) #3 %67 = icmp eq i64 %66, 0 br i1 %67, label %69, label %68 68: ; preds = %62 store ptr %65, ptr %60, align 8, !tbaa !24 br label %69 69: ; preds = %68, %62 %70 = tail call i64 @usb_endpoint_is_int_out(ptr noundef %65) #3 %71 = icmp eq i64 %70, 0 br i1 %71, label %73, label %72 72: ; preds = %69 store ptr %65, ptr %61, align 8, !tbaa !25 br label %73 73: ; preds = %69, %72 %74 = add nuw nsw i64 %63, 1 %75 = load i32, ptr %56, align 8, !tbaa !20 %76 = sext i32 %75 to i64 %77 = icmp slt i64 %74, %76 br i1 %77, label %62, label %78, !llvm.loop !26 78: ; preds = %73, %53 %79 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 4 %80 = load ptr, ptr %79, align 8, !tbaa !24 %81 = icmp eq ptr %80, null br i1 %81, label %82, label %85 82: ; preds = %78 %83 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %84 = tail call i32 @dev_err(ptr noundef nonnull %83, ptr noundef nonnull @.str.2) #3 br label %181 85: ; preds = %78 %86 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 2 %87 = load ptr, ptr %86, align 8, !tbaa !25 %88 = icmp eq ptr %87, null br i1 %88, label %89, label %93 89: ; preds = %85 %90 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %91 = tail call i32 @dev_warn(ptr noundef nonnull %90, ptr noundef nonnull @.str.3) #3 %92 = load ptr, ptr %79, align 8, !tbaa !24 br label %93 93: ; preds = %89, %85 %94 = phi ptr [ %92, %89 ], [ %80, %85 ] %95 = getelementptr inbounds %struct.usb_endpoint_descriptor, ptr %94, i64 0, i32 1 %96 = load i32, ptr %95, align 8, !tbaa !28 %97 = tail call i32 @le16_to_cpu(i32 noundef %96) #3 store i32 %97, ptr %7, align 8, !tbaa !30 %98 = load i32, ptr @ring_buffer_size, align 4, !tbaa !5 %99 = add i32 %97, 8 %100 = mul i32 %98, %99 %101 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %102 = tail call ptr @kmalloc(i32 noundef %100, i32 noundef %101) #3 %103 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 10 store ptr %102, ptr %103, align 8, !tbaa !31 %104 = icmp eq ptr %102, null br i1 %104, label %105, label %108 105: ; preds = %93 %106 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %107 = tail call i32 @dev_err(ptr noundef nonnull %106, ptr noundef nonnull @.str.4) #3 br label %181 108: ; preds = %93 %109 = load i32, ptr %7, align 8, !tbaa !30 %110 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %111 = tail call ptr @kmalloc(i32 noundef %109, i32 noundef %110) #3 %112 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 9 store ptr %111, ptr %112, align 8, !tbaa !32 %113 = icmp eq ptr %111, null br i1 %113, label %114, label %117 114: ; preds = %108 %115 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %116 = tail call i32 @dev_err(ptr noundef nonnull %115, ptr noundef nonnull @.str.5) #3 br label %181 117: ; preds = %108 %118 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %119 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %118) #3 %120 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 8 store ptr %119, ptr %120, align 8, !tbaa !33 %121 = icmp eq ptr %119, null br i1 %121, label %122, label %125 122: ; preds = %117 %123 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %124 = tail call i32 @dev_err(ptr noundef nonnull %123, ptr noundef nonnull @.str.6) #3 br label %181 125: ; preds = %117 %126 = load ptr, ptr %86, align 8, !tbaa !25 %127 = icmp eq ptr %126, null br i1 %127, label %132, label %128 128: ; preds = %125 %129 = getelementptr inbounds %struct.usb_endpoint_descriptor, ptr %126, i64 0, i32 1 %130 = load i32, ptr %129, align 8, !tbaa !28 %131 = tail call i32 @le16_to_cpu(i32 noundef %130) #3 br label %134 132: ; preds = %125 %133 = load i32, ptr %3, align 4, !tbaa !34 br label %134 134: ; preds = %132, %128 %135 = phi i32 [ %131, %128 ], [ %133, %132 ] %136 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 1 store i32 %135, ptr %136, align 4, !tbaa !35 %137 = load i32, ptr @write_buffer_size, align 4, !tbaa !5 %138 = mul nsw i32 %137, %135 %139 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %140 = tail call ptr @kmalloc(i32 noundef %138, i32 noundef %139) #3 %141 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 7 store ptr %140, ptr %141, align 8, !tbaa !36 %142 = icmp eq ptr %140, null br i1 %142, label %143, label %146 143: ; preds = %134 %144 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %145 = tail call i32 @dev_err(ptr noundef nonnull %144, ptr noundef nonnull @.str.7) #3 br label %181 146: ; preds = %134 %147 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %148 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %147) #3 %149 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 6 store ptr %148, ptr %149, align 8, !tbaa !37 %150 = icmp eq ptr %148, null br i1 %150, label %151, label %154 151: ; preds = %146 %152 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 %153 = tail call i32 @dev_err(ptr noundef nonnull %152, ptr noundef nonnull @.str.8) #3 br label %181 154: ; preds = %146 %155 = load i64, ptr @min_interrupt_in_interval, align 8, !tbaa !38 %156 = load ptr, ptr %79, align 8, !tbaa !24 %157 = load i64, ptr %156, align 8, !tbaa !39 %158 = tail call i64 @llvm.smax.i64(i64 %155, i64 %157) %159 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 5 store i64 %158, ptr %159, align 8, !tbaa !40 %160 = load ptr, ptr %86, align 8, !tbaa !25 %161 = icmp eq ptr %160, null br i1 %161, label %167, label %162 162: ; preds = %154 %163 = load i64, ptr @min_interrupt_out_interval, align 8, !tbaa !38 %164 = load i64, ptr %160, align 8, !tbaa !39 %165 = tail call i64 @llvm.smax.i64(i64 %163, i64 %164) %166 = getelementptr inbounds %struct.ld_usb, ptr %7, i64 0, i32 3 store i64 %165, ptr %166, align 8, !tbaa !41 br label %167 167: ; preds = %162, %154 %168 = tail call i32 @usb_set_intfdata(ptr noundef %0, ptr noundef nonnull %7) #3 %169 = tail call i32 @usb_register_dev(ptr noundef %0, ptr noundef nonnull @ld_usb_class) #3 %170 = icmp eq i32 %169, 0 %171 = getelementptr inbounds %struct.usb_interface, ptr %0, i64 0, i32 1 br i1 %170, label %175, label %172 172: ; preds = %167 %173 = tail call i32 @dev_err(ptr noundef nonnull %171, ptr noundef nonnull @.str.9) #3 %174 = tail call i32 @usb_set_intfdata(ptr noundef %0, ptr noundef null) #3 br label %181 175: ; preds = %167 %176 = load i64, ptr %0, align 8, !tbaa !42 %177 = load i64, ptr @USB_LD_MINOR_BASE, align 8, !tbaa !38 %178 = sub nsw i64 %176, %177 %179 = load i32, ptr @USB_MAJOR, align 4, !tbaa !5 %180 = tail call i32 @dev_info(ptr noundef nonnull %171, ptr noundef nonnull @.str.10, i64 noundef %178, i32 noundef %179, i64 noundef %176) #3 br label %184 181: ; preds = %172, %151, %143, %122, %114, %105, %82, %47 %182 = phi i32 [ %5, %47 ], [ %5, %82 ], [ %169, %172 ], [ %5, %151 ], [ %5, %143 ], [ %5, %122 ], [ %5, %114 ], [ %5, %105 ] %183 = tail call i32 @ld_usb_delete(ptr noundef nonnull %7) #3 br label %184 184: ; preds = %9, %175, %181 %185 = phi i32 [ %182, %181 ], [ %5, %9 ], [ 0, %175 ] ret i32 %185 } declare ptr @interface_to_usbdev(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_string(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i64 @usb_endpoint_is_int_in(ptr noundef) local_unnamed_addr #1 declare i64 @usb_endpoint_is_int_out(ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @usb_alloc_urb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_set_intfdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usb_register_dev(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ld_usb_delete(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.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 = !{!10, !11, i64 88} !10 = !{!"ld_usb", !6, i64 0, !6, i64 4, !11, i64 8, !12, i64 16, !11, i64 24, !12, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !6, i64 80, !6, i64 84, !11, i64 88, !6, i64 96, !6, i64 100} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 12} !14 = !{!"usb_device", !15, i64 0} !15 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !16 = !{!14, !6, i64 8} !17 = !{!14, !6, i64 4} !18 = !{!19, !11, i64 16} !19 = !{!"usb_interface", !12, i64 0, !6, i64 8, !11, i64 16} !20 = !{!21, !6, i64 8} !21 = !{!"usb_host_interface", !11, i64 0, !22, i64 8} !22 = !{!"TYPE_4__", !6, i64 0} !23 = !{!21, !11, i64 0} !24 = !{!10, !11, i64 24} !25 = !{!10, !11, i64 8} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!29, !6, i64 8} !29 = !{!"usb_endpoint_descriptor", !12, i64 0, !6, i64 8} !30 = !{!10, !6, i64 0} !31 = !{!10, !11, i64 72} !32 = !{!10, !11, i64 64} !33 = !{!10, !11, i64 56} !34 = !{!14, !6, i64 0} !35 = !{!10, !6, i64 4} !36 = !{!10, !11, i64 48} !37 = !{!10, !11, i64 40} !38 = !{!12, !12, i64 0} !39 = !{!29, !12, i64 0} !40 = !{!10, !12, i64 32} !41 = !{!10, !12, i64 16} !42 = !{!19, !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/misc/extr_ldusb.c_ld_usb_probe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/misc/extr_ldusb.c_ld_usb_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { %struct.usb_endpoint_descriptor } %struct.usb_endpoint_descriptor = type { i64, i32 } @ENOMEM = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"Out of memory\0A\00", align 1 @USB_VENDOR_ID_LD = common local_unnamed_addr global i32 0, align 4 @USB_DEVICE_ID_LD_CASSY = common local_unnamed_addr global i32 0, align 4 @USB_DEVICE_ID_LD_COM3LAB = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Couldn't allocate string buffer\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Interrupt in endpoint not found\0A\00", align 1 @.str.3 = private unnamed_addr constant [67 x i8] c"Interrupt out endpoint not found (using control endpoint instead)\0A\00", align 1 @ring_buffer_size = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [31 x i8] c"Couldn't allocate ring_buffer\0A\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"Couldn't allocate interrupt_in_buffer\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"Couldn't allocate interrupt_in_urb\0A\00", align 1 @write_buffer_size = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [40 x i8] c"Couldn't allocate interrupt_out_buffer\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"Couldn't allocate interrupt_out_urb\0A\00", align 1 @min_interrupt_in_interval = common local_unnamed_addr global i64 0, align 8 @min_interrupt_out_interval = common local_unnamed_addr global i64 0, align 8 @ld_usb_class = common global i32 0, align 4 @.str.9 = private unnamed_addr constant [42 x i8] c"Not able to get a minor for this device.\0A\00", align 1 @.str.10 = private unnamed_addr constant [53 x i8] c"LD USB Device #%d now attached to major %d minor %d\0A\00", align 1 @USB_LD_MINOR_BASE = common local_unnamed_addr global i64 0, align 8 @USB_MAJOR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ld_usb_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ld_usb_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call ptr @interface_to_usbdev(ptr noundef %0) #3 %4 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %5 = sub nsw i32 0, %4 %6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %7 = tail call ptr @kzalloc(i32 noundef 104, i32 noundef %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = tail call i32 @dev_err(ptr noundef nonnull %10, ptr noundef nonnull @.str) #3 br label %184 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %7, i64 100 %14 = tail call i32 @mutex_init(ptr noundef nonnull %13) #3 %15 = getelementptr inbounds i8, ptr %7, i64 96 %16 = tail call i32 @spin_lock_init(ptr noundef nonnull %15) #3 %17 = getelementptr inbounds i8, ptr %7, i64 88 store ptr %0, ptr %17, align 8, !tbaa !10 %18 = getelementptr inbounds i8, ptr %7, i64 84 %19 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %18) #3 %20 = getelementptr inbounds i8, ptr %7, i64 80 %21 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %20) #3 %22 = getelementptr inbounds i8, ptr %3, i64 12 %23 = load i32, ptr %22, align 4, !tbaa !14 %24 = tail call i32 @le16_to_cpu(i32 noundef %23) #3 %25 = load i32, ptr @USB_VENDOR_ID_LD, align 4, !tbaa !6 %26 = icmp eq i32 %24, %25 br i1 %26, label %27, label %53 27: ; preds = %12 %28 = getelementptr inbounds i8, ptr %3, i64 8 %29 = load i32, ptr %28, align 4, !tbaa !17 %30 = tail call i32 @le16_to_cpu(i32 noundef %29) #3 %31 = load i32, ptr @USB_DEVICE_ID_LD_CASSY, align 4, !tbaa !6 %32 = icmp eq i32 %30, %31 br i1 %32, label %38, label %33 33: ; preds = %27 %34 = load i32, ptr %28, align 4, !tbaa !17 %35 = tail call i32 @le16_to_cpu(i32 noundef %34) #3 %36 = load i32, ptr @USB_DEVICE_ID_LD_COM3LAB, align 4, !tbaa !6 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %53 38: ; preds = %33, %27 %39 = getelementptr inbounds i8, ptr %3, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !18 %41 = tail call i32 @le16_to_cpu(i32 noundef %40) #3 %42 = icmp slt i32 %41, 260 br i1 %42, label %43, label %53 43: ; preds = %38 %44 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %45 = tail call ptr @kmalloc(i32 noundef 256, i32 noundef %44) #3 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %50 47: ; preds = %43 %48 = getelementptr inbounds i8, ptr %0, i64 8 %49 = tail call i32 @dev_err(ptr noundef nonnull %48, ptr noundef nonnull @.str.1) #3 br label %181 50: ; preds = %43 %51 = tail call i32 @usb_string(ptr noundef nonnull %3, i32 noundef 255, ptr noundef nonnull %45, i32 noundef 256) #3 %52 = tail call i32 @kfree(ptr noundef nonnull %45) #3 br label %53 53: ; preds = %50, %38, %33, %12 %54 = getelementptr inbounds i8, ptr %0, i64 16 %55 = load ptr, ptr %54, align 8, !tbaa !19 %56 = getelementptr inbounds i8, ptr %55, i64 8 %57 = load i32, ptr %56, align 8, !tbaa !21 %58 = icmp sgt i32 %57, 0 br i1 %58, label %59, label %78 59: ; preds = %53 %60 = getelementptr inbounds i8, ptr %7, i64 24 %61 = getelementptr inbounds i8, ptr %7, i64 8 br label %62 62: ; preds = %59, %73 %63 = phi i64 [ 0, %59 ], [ %74, %73 ] %64 = load ptr, ptr %55, align 8, !tbaa !24 %65 = getelementptr inbounds %struct.TYPE_5__, ptr %64, i64 %63 %66 = tail call i64 @usb_endpoint_is_int_in(ptr noundef %65) #3 %67 = icmp eq i64 %66, 0 br i1 %67, label %69, label %68 68: ; preds = %62 store ptr %65, ptr %60, align 8, !tbaa !25 br label %69 69: ; preds = %68, %62 %70 = tail call i64 @usb_endpoint_is_int_out(ptr noundef %65) #3 %71 = icmp eq i64 %70, 0 br i1 %71, label %73, label %72 72: ; preds = %69 store ptr %65, ptr %61, align 8, !tbaa !26 br label %73 73: ; preds = %69, %72 %74 = add nuw nsw i64 %63, 1 %75 = load i32, ptr %56, align 8, !tbaa !21 %76 = sext i32 %75 to i64 %77 = icmp slt i64 %74, %76 br i1 %77, label %62, label %78, !llvm.loop !27 78: ; preds = %73, %53 %79 = getelementptr inbounds i8, ptr %7, i64 24 %80 = load ptr, ptr %79, align 8, !tbaa !25 %81 = icmp eq ptr %80, null br i1 %81, label %82, label %85 82: ; preds = %78 %83 = getelementptr inbounds i8, ptr %0, i64 8 %84 = tail call i32 @dev_err(ptr noundef nonnull %83, ptr noundef nonnull @.str.2) #3 br label %181 85: ; preds = %78 %86 = getelementptr inbounds i8, ptr %7, i64 8 %87 = load ptr, ptr %86, align 8, !tbaa !26 %88 = icmp eq ptr %87, null br i1 %88, label %89, label %93 89: ; preds = %85 %90 = getelementptr inbounds i8, ptr %0, i64 8 %91 = tail call i32 @dev_warn(ptr noundef nonnull %90, ptr noundef nonnull @.str.3) #3 %92 = load ptr, ptr %79, align 8, !tbaa !25 br label %93 93: ; preds = %89, %85 %94 = phi ptr [ %92, %89 ], [ %80, %85 ] %95 = getelementptr inbounds i8, ptr %94, i64 8 %96 = load i32, ptr %95, align 8, !tbaa !29 %97 = tail call i32 @le16_to_cpu(i32 noundef %96) #3 store i32 %97, ptr %7, align 8, !tbaa !31 %98 = load i32, ptr @ring_buffer_size, align 4, !tbaa !6 %99 = add i32 %97, 8 %100 = mul i32 %98, %99 %101 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %102 = tail call ptr @kmalloc(i32 noundef %100, i32 noundef %101) #3 %103 = getelementptr inbounds i8, ptr %7, i64 72 store ptr %102, ptr %103, align 8, !tbaa !32 %104 = icmp eq ptr %102, null br i1 %104, label %105, label %108 105: ; preds = %93 %106 = getelementptr inbounds i8, ptr %0, i64 8 %107 = tail call i32 @dev_err(ptr noundef nonnull %106, ptr noundef nonnull @.str.4) #3 br label %181 108: ; preds = %93 %109 = load i32, ptr %7, align 8, !tbaa !31 %110 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %111 = tail call ptr @kmalloc(i32 noundef %109, i32 noundef %110) #3 %112 = getelementptr inbounds i8, ptr %7, i64 64 store ptr %111, ptr %112, align 8, !tbaa !33 %113 = icmp eq ptr %111, null br i1 %113, label %114, label %117 114: ; preds = %108 %115 = getelementptr inbounds i8, ptr %0, i64 8 %116 = tail call i32 @dev_err(ptr noundef nonnull %115, ptr noundef nonnull @.str.5) #3 br label %181 117: ; preds = %108 %118 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %119 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %118) #3 %120 = getelementptr inbounds i8, ptr %7, i64 56 store ptr %119, ptr %120, align 8, !tbaa !34 %121 = icmp eq ptr %119, null br i1 %121, label %122, label %125 122: ; preds = %117 %123 = getelementptr inbounds i8, ptr %0, i64 8 %124 = tail call i32 @dev_err(ptr noundef nonnull %123, ptr noundef nonnull @.str.6) #3 br label %181 125: ; preds = %117 %126 = load ptr, ptr %86, align 8, !tbaa !26 %127 = icmp eq ptr %126, null br i1 %127, label %132, label %128 128: ; preds = %125 %129 = getelementptr inbounds i8, ptr %126, i64 8 %130 = load i32, ptr %129, align 8, !tbaa !29 %131 = tail call i32 @le16_to_cpu(i32 noundef %130) #3 br label %134 132: ; preds = %125 %133 = load i32, ptr %3, align 4, !tbaa !35 br label %134 134: ; preds = %132, %128 %135 = phi i32 [ %131, %128 ], [ %133, %132 ] %136 = getelementptr inbounds i8, ptr %7, i64 4 store i32 %135, ptr %136, align 4, !tbaa !36 %137 = load i32, ptr @write_buffer_size, align 4, !tbaa !6 %138 = mul nsw i32 %137, %135 %139 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %140 = tail call ptr @kmalloc(i32 noundef %138, i32 noundef %139) #3 %141 = getelementptr inbounds i8, ptr %7, i64 48 store ptr %140, ptr %141, align 8, !tbaa !37 %142 = icmp eq ptr %140, null br i1 %142, label %143, label %146 143: ; preds = %134 %144 = getelementptr inbounds i8, ptr %0, i64 8 %145 = tail call i32 @dev_err(ptr noundef nonnull %144, ptr noundef nonnull @.str.7) #3 br label %181 146: ; preds = %134 %147 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %148 = tail call ptr @usb_alloc_urb(i32 noundef 0, i32 noundef %147) #3 %149 = getelementptr inbounds i8, ptr %7, i64 40 store ptr %148, ptr %149, align 8, !tbaa !38 %150 = icmp eq ptr %148, null br i1 %150, label %151, label %154 151: ; preds = %146 %152 = getelementptr inbounds i8, ptr %0, i64 8 %153 = tail call i32 @dev_err(ptr noundef nonnull %152, ptr noundef nonnull @.str.8) #3 br label %181 154: ; preds = %146 %155 = load i64, ptr @min_interrupt_in_interval, align 8, !tbaa !39 %156 = load ptr, ptr %79, align 8, !tbaa !25 %157 = load i64, ptr %156, align 8, !tbaa !40 %158 = tail call i64 @llvm.smax.i64(i64 %155, i64 %157) %159 = getelementptr inbounds i8, ptr %7, i64 32 store i64 %158, ptr %159, align 8, !tbaa !41 %160 = load ptr, ptr %86, align 8, !tbaa !26 %161 = icmp eq ptr %160, null br i1 %161, label %167, label %162 162: ; preds = %154 %163 = load i64, ptr @min_interrupt_out_interval, align 8, !tbaa !39 %164 = load i64, ptr %160, align 8, !tbaa !40 %165 = tail call i64 @llvm.smax.i64(i64 %163, i64 %164) %166 = getelementptr inbounds i8, ptr %7, i64 16 store i64 %165, ptr %166, align 8, !tbaa !42 br label %167 167: ; preds = %162, %154 %168 = tail call i32 @usb_set_intfdata(ptr noundef %0, ptr noundef nonnull %7) #3 %169 = tail call i32 @usb_register_dev(ptr noundef %0, ptr noundef nonnull @ld_usb_class) #3 %170 = icmp eq i32 %169, 0 %171 = getelementptr inbounds i8, ptr %0, i64 8 br i1 %170, label %175, label %172 172: ; preds = %167 %173 = tail call i32 @dev_err(ptr noundef nonnull %171, ptr noundef nonnull @.str.9) #3 %174 = tail call i32 @usb_set_intfdata(ptr noundef %0, ptr noundef null) #3 br label %181 175: ; preds = %167 %176 = load i64, ptr %0, align 8, !tbaa !43 %177 = load i64, ptr @USB_LD_MINOR_BASE, align 8, !tbaa !39 %178 = sub nsw i64 %176, %177 %179 = load i32, ptr @USB_MAJOR, align 4, !tbaa !6 %180 = tail call i32 @dev_info(ptr noundef nonnull %171, ptr noundef nonnull @.str.10, i64 noundef %178, i32 noundef %179, i64 noundef %176) #3 br label %184 181: ; preds = %172, %151, %143, %122, %114, %105, %82, %47 %182 = phi i32 [ %5, %47 ], [ %5, %82 ], [ %169, %172 ], [ %5, %151 ], [ %5, %143 ], [ %5, %122 ], [ %5, %114 ], [ %5, %105 ] %183 = tail call i32 @ld_usb_delete(ptr noundef nonnull %7) #3 br label %184 184: ; preds = %9, %175, %181 %185 = phi i32 [ %182, %181 ], [ %5, %9 ], [ 0, %175 ] ret i32 %185 } declare ptr @interface_to_usbdev(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_string(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i64 @usb_endpoint_is_int_in(ptr noundef) local_unnamed_addr #1 declare i64 @usb_endpoint_is_int_out(ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @usb_alloc_urb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_set_intfdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usb_register_dev(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ld_usb_delete(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.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 = !{!11, !12, i64 88} !11 = !{!"ld_usb", !7, i64 0, !7, i64 4, !12, i64 8, !13, i64 16, !12, i64 24, !13, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !7, i64 80, !7, i64 84, !12, i64 88, !7, i64 96, !7, i64 100} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 12} !15 = !{!"usb_device", !16, i64 0} !16 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !17 = !{!15, !7, i64 8} !18 = !{!15, !7, i64 4} !19 = !{!20, !12, i64 16} !20 = !{!"usb_interface", !13, i64 0, !7, i64 8, !12, i64 16} !21 = !{!22, !7, i64 8} !22 = !{!"usb_host_interface", !12, i64 0, !23, i64 8} !23 = !{!"TYPE_4__", !7, i64 0} !24 = !{!22, !12, i64 0} !25 = !{!11, !12, i64 24} !26 = !{!11, !12, i64 8} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"} !29 = !{!30, !7, i64 8} !30 = !{!"usb_endpoint_descriptor", !13, i64 0, !7, i64 8} !31 = !{!11, !7, i64 0} !32 = !{!11, !12, i64 72} !33 = !{!11, !12, i64 64} !34 = !{!11, !12, i64 56} !35 = !{!15, !7, i64 0} !36 = !{!11, !7, i64 4} !37 = !{!11, !12, i64 48} !38 = !{!11, !12, i64 40} !39 = !{!13, !13, i64 0} !40 = !{!30, !13, i64 0} !41 = !{!11, !13, i64 32} !42 = !{!11, !13, i64 16} !43 = !{!20, !13, i64 0}
fastsocket_kernel_drivers_usb_misc_extr_ldusb.c_ld_usb_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/camera/extr_msm_camera.c_msm_release_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/camera/extr_msm_camera.c_msm_release_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.file = type { %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { ptr } %struct.msm_device = type { i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"msm_camera: RELEASE %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @msm_release_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @msm_release_config(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.file, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %1, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = getelementptr inbounds %struct.msm_device, ptr %4, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !16 %10 = tail call i32 @__msm_release(i32 noundef %9) #2 %11 = tail call i32 @atomic_set(ptr noundef %4, i32 noundef 0) #2 ret i32 %10 } declare i32 @printk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__msm_release(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 8} !6 = !{!"file", !7, i64 0, !8, i64 8} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!6, !8, i64 0} !12 = !{!13, !15, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!17, !15, i64 4} !17 = !{!"msm_device", !15, i64 0, !15, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/dream/camera/extr_msm_camera.c_msm_release_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/dream/camera/extr_msm_camera.c_msm_release_config.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 [24 x i8] c"msm_camera: RELEASE %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @msm_release_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @msm_release_config(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %1, align 8, !tbaa !12 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %4, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !17 %10 = tail call i32 @__msm_release(i32 noundef %9) #2 %11 = tail call i32 @atomic_set(ptr noundef %4, i32 noundef 0) #2 ret i32 %10 } declare i32 @printk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__msm_release(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 8} !7 = !{!"file", !8, i64 0, !9, i64 8} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!7, !9, i64 0} !13 = !{!14, !16, i64 0} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"int", !10, i64 0} !17 = !{!18, !16, i64 4} !18 = !{!"msm_device", !16, i64 0, !16, i64 4}
fastsocket_kernel_drivers_staging_dream_camera_extr_msm_camera.c_msm_release_config
; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_ts_streams.c_ts_si_Del.c' source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_ts_streams.c_ts_si_Del.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i64, i64, i32 } ; Function Attrs: nounwind uwtable define dso_local void @ts_si_Del(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call i64 @dvbpsi_decoder_present(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 8, !tbaa !5 %9 = tail call i32 @dvbpsi_DetachDemux(i32 noundef %8) #2 br label %10 10: ; preds = %7, %2 %11 = load i32, ptr %3, align 8, !tbaa !5 %12 = tail call i32 @dvbpsi_delete(i32 noundef %11) #2 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %14 = load i64, ptr %13, align 8, !tbaa !11 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %10 %17 = tail call i32 @PIDRelease(ptr noundef %0, i64 noundef %14) #2 br label %18 18: ; preds = %16, %10 %19 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !12 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %18 %23 = tail call i32 @PIDRelease(ptr noundef %0, i64 noundef %20) #2 br label %24 24: ; preds = %22, %18 %25 = load i64, ptr %1, align 8, !tbaa !13 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %24 %28 = tail call i32 @PIDRelease(ptr noundef %0, i64 noundef %25) #2 br label %29 29: ; preds = %27, %24 %30 = tail call i32 @free(ptr noundef nonnull %1) #2 ret void } declare i64 @dvbpsi_decoder_present(i32 noundef) local_unnamed_addr #1 declare i32 @dvbpsi_DetachDemux(i32 noundef) local_unnamed_addr #1 declare i32 @dvbpsi_delete(i32 noundef) local_unnamed_addr #1 declare i32 @PIDRelease(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24} !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 16} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_ts_streams.c_ts_si_Del.c' source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_ts_streams.c_ts_si_Del.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 @ts_si_Del(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 24 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call i64 @dvbpsi_decoder_present(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 8, !tbaa !6 %9 = tail call i32 @dvbpsi_DetachDemux(i32 noundef %8) #2 br label %10 10: ; preds = %7, %2 %11 = load i32, ptr %3, align 8, !tbaa !6 %12 = tail call i32 @dvbpsi_delete(i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %1, i64 16 %14 = load i64, ptr %13, align 8, !tbaa !12 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %10 %17 = tail call i32 @PIDRelease(ptr noundef %0, i64 noundef %14) #2 br label %18 18: ; preds = %16, %10 %19 = getelementptr inbounds i8, ptr %1, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !13 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %18 %23 = tail call i32 @PIDRelease(ptr noundef %0, i64 noundef %20) #2 br label %24 24: ; preds = %22, %18 %25 = load i64, ptr %1, align 8, !tbaa !14 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %24 %28 = tail call i32 @PIDRelease(ptr noundef %0, i64 noundef %25) #2 br label %29 29: ; preds = %27, %24 %30 = tail call i32 @free(ptr noundef nonnull %1) #2 ret void } declare i64 @dvbpsi_decoder_present(i32 noundef) local_unnamed_addr #1 declare i32 @dvbpsi_DetachDemux(i32 noundef) local_unnamed_addr #1 declare i32 @dvbpsi_delete(i32 noundef) local_unnamed_addr #1 declare i32 @PIDRelease(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24} !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 16} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 0}
vlc_modules_demux_mpeg_extr_ts_streams.c_ts_si_Del
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-wm8350.c_wm8350_rtc_remove.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-wm8350.c_wm8350_rtc_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WM8350_IRQ_RTC_SEC = dso_local local_unnamed_addr global i32 0, align 4 @WM8350_IRQ_RTC_ALM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm8350_rtc_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @wm8350_rtc_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = load i32, ptr @WM8350_IRQ_RTC_SEC, align 4, !tbaa !5 %4 = tail call i32 @wm8350_free_irq(ptr noundef %2, i32 noundef %3, ptr noundef %2) #2 %5 = load i32, ptr @WM8350_IRQ_RTC_ALM, align 4, !tbaa !5 %6 = tail call i32 @wm8350_free_irq(ptr noundef %2, i32 noundef %5, ptr noundef %2) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @wm8350_free_irq(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-wm8350.c_wm8350_rtc_remove.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-wm8350.c_wm8350_rtc_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WM8350_IRQ_RTC_SEC = common local_unnamed_addr global i32 0, align 4 @WM8350_IRQ_RTC_ALM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm8350_rtc_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @wm8350_rtc_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = load i32, ptr @WM8350_IRQ_RTC_SEC, align 4, !tbaa !6 %4 = tail call i32 @wm8350_free_irq(ptr noundef %2, i32 noundef %3, ptr noundef %2) #2 %5 = load i32, ptr @WM8350_IRQ_RTC_ALM, align 4, !tbaa !6 %6 = tail call i32 @wm8350_free_irq(ptr noundef %2, i32 noundef %5, ptr noundef %2) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @wm8350_free_irq(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_rtc_extr_rtc-wm8350.c_wm8350_rtc_remove
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/extr_intel.c_init_intel.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/extr_intel.c_init_intel.c" target datalayout = "e-m:e-p270:32:32-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.cpuinfo_x86 = type { i32, i32, i32, i32, i32, i32, i32, i32 } @X86_FEATURE_XTOPOLOGY = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_ARCH_PERFMON = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_XMM2 = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_LFENCE_RDTSC = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_DS = dso_local local_unnamed_addr global i32 0, align 4 @MSR_IA32_MISC_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_BTS = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_PEBS = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_CLFLUSH = dso_local local_unnamed_addr global i32 0, align 4 @X86_BUG_CLFLUSH_MONITOR = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_MWAIT = dso_local local_unnamed_addr global i32 0, align 4 @INTEL_FAM6_ATOM_GOLDMONT = dso_local local_unnamed_addr global i32 0, align 4 @X86_BUG_MONITOR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Celeron (Covington)\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Mobile Pentium II (Dixon)\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Celeron (Mendocino)\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Celeron-A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Celeron (Coppermine)\00", align 1 @X86_FEATURE_P4 = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_P3 = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_VMX = dso_local local_unnamed_addr global i32 0, align 4 @X86_FEATURE_TME = dso_local local_unnamed_addr global i32 0, align 4 @tsx_ctrl_state = dso_local local_unnamed_addr global i64 0, align 8 @TSX_CTRL_ENABLE = dso_local local_unnamed_addr global i64 0, align 8 @TSX_CTRL_DISABLE = dso_local local_unnamed_addr global i64 0, align 8 @X86_FEATURE_REP_GOOD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_intel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @init_intel(ptr noundef %0) #0 { %2 = tail call i32 @early_init_intel(ptr noundef %0) #2 %3 = tail call i32 @intel_workarounds(ptr noundef %0) #2 %4 = tail call i32 @detect_extended_topology(ptr noundef %0) #2 %5 = load i32, ptr @X86_FEATURE_XTOPOLOGY, align 4, !tbaa !5 %6 = tail call i64 @cpu_has(ptr noundef %0, i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = tail call i32 @detect_num_cpu_cores(ptr noundef %0) #2 br label %10 10: ; preds = %8, %1 %11 = tail call i32 @init_intel_cacheinfo(ptr noundef %0) #2 %12 = load i32, ptr %0, align 4, !tbaa !9 %13 = icmp sgt i32 %12, 9 br i1 %13, label %14, label %24 14: ; preds = %10 %15 = tail call i32 @cpuid_eax(i32 noundef 10) #2 %16 = and i32 %15, 255 %17 = icmp eq i32 %16, 0 %18 = and i32 %15, 65024 %19 = icmp eq i32 %18, 0 %20 = or i1 %17, %19 br i1 %20, label %24, label %21 21: ; preds = %14 %22 = load i32, ptr @X86_FEATURE_ARCH_PERFMON, align 4, !tbaa !5 %23 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %22) #2 br label %24 24: ; preds = %14, %21, %10 %25 = load i32, ptr @X86_FEATURE_XMM2, align 4, !tbaa !5 %26 = tail call i64 @cpu_has(ptr noundef nonnull %0, i32 noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %24 %29 = load i32, ptr @X86_FEATURE_LFENCE_RDTSC, align 4, !tbaa !5 %30 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %29) #2 br label %31 31: ; preds = %28, %24 %32 = load i32, ptr @X86_FEATURE_DS, align 4, !tbaa !5 %33 = tail call i64 @boot_cpu_has(i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %42, label %35 35: ; preds = %31 %36 = load i32, ptr @MSR_IA32_MISC_ENABLE, align 4, !tbaa !5 %37 = tail call i32 @rdmsr(i32 noundef %36, i32 noundef undef, i32 noundef undef) #2 %38 = load i32, ptr @X86_FEATURE_BTS, align 4, !tbaa !5 %39 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %38) #2 %40 = load i32, ptr @X86_FEATURE_PEBS, align 4, !tbaa !5 %41 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %40) #2 br label %42 42: ; preds = %35, %31 %43 = getelementptr inbounds %struct.cpuinfo_x86, ptr %0, i64 0, i32 1 %44 = load i32, ptr %43, align 4, !tbaa !11 %45 = icmp eq i32 %44, 6 br i1 %45, label %46, label %94 46: ; preds = %42 %47 = load i32, ptr @X86_FEATURE_CLFLUSH, align 4, !tbaa !5 %48 = tail call i64 @boot_cpu_has(i32 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %56, label %50 50: ; preds = %46 %51 = getelementptr inbounds %struct.cpuinfo_x86, ptr %0, i64 0, i32 2 %52 = load i32, ptr %51, align 4, !tbaa !12 switch i32 %52, label %56 [ i32 29, label %53 i32 46, label %53 i32 47, label %53 ] 53: ; preds = %50, %50, %50 %54 = load i32, ptr @X86_BUG_CLFLUSH_MONITOR, align 4, !tbaa !5 %55 = tail call i32 @set_cpu_bug(ptr noundef nonnull %0, i32 noundef %54) #2 br label %56 56: ; preds = %50, %53, %46 %57 = load i32, ptr %43, align 4, !tbaa !11 %58 = icmp eq i32 %57, 6 br i1 %58, label %59, label %94 59: ; preds = %56 %60 = load i32, ptr @X86_FEATURE_MWAIT, align 4, !tbaa !5 %61 = tail call i64 @boot_cpu_has(i32 noundef %60) #2 %62 = icmp eq i64 %61, 0 br i1 %62, label %71, label %63 63: ; preds = %59 %64 = getelementptr inbounds %struct.cpuinfo_x86, ptr %0, i64 0, i32 2 %65 = load i32, ptr %64, align 4, !tbaa !12 %66 = load i32, ptr @INTEL_FAM6_ATOM_GOLDMONT, align 4, !tbaa !5 %67 = icmp eq i32 %65, %66 br i1 %67, label %68, label %71 68: ; preds = %63 %69 = load i32, ptr @X86_BUG_MONITOR, align 4, !tbaa !5 %70 = tail call i32 @set_cpu_bug(ptr noundef nonnull %0, i32 noundef %69) #2 br label %71 71: ; preds = %68, %63, %59 %72 = load i32, ptr %43, align 4, !tbaa !11 %73 = icmp eq i32 %72, 6 br i1 %73, label %74, label %94 74: ; preds = %71 %75 = getelementptr inbounds %struct.cpuinfo_x86, ptr %0, i64 0, i32 5 %76 = load i32, ptr %75, align 4, !tbaa !13 %77 = getelementptr inbounds %struct.cpuinfo_x86, ptr %0, i64 0, i32 2 %78 = load i32, ptr %77, align 4, !tbaa !12 switch i32 %78, label %104 [ i32 5, label %79 i32 6, label %81 i32 8, label %86 ] 79: ; preds = %74 switch i32 %76, label %104 [ i32 0, label %88 i32 256, label %80 ] 80: ; preds = %79 br label %88 81: ; preds = %74 %82 = icmp eq i32 %76, 128 br i1 %82, label %88, label %83 83: ; preds = %81 %84 = getelementptr inbounds %struct.cpuinfo_x86, ptr %0, i64 0, i32 6 %85 = load i32, ptr %84, align 4, !tbaa !14 switch i32 %85, label %104 [ i32 0, label %88 i32 5, label %88 ] 86: ; preds = %74 %87 = icmp eq i32 %76, 128 br i1 %87, label %88, label %104 88: ; preds = %83, %83, %81, %79, %80, %86 %89 = phi ptr [ @.str.4, %86 ], [ @.str.2, %81 ], [ @.str, %79 ], [ @.str.1, %80 ], [ @.str.3, %83 ], [ @.str.3, %83 ] %90 = getelementptr inbounds %struct.cpuinfo_x86, ptr %0, i64 0, i32 7 %91 = load i32, ptr %90, align 4, !tbaa !15 %92 = tail call i32 @strcpy(i32 noundef %91, ptr noundef nonnull %89) #2 %93 = load i32, ptr %43, align 4, !tbaa !11 br label %94 94: ; preds = %88, %56, %42, %71 %95 = phi i32 [ %72, %71 ], [ %44, %42 ], [ %57, %56 ], [ %93, %88 ] %96 = icmp eq i32 %95, 15 br i1 %96, label %97, label %101 97: ; preds = %94 %98 = load i32, ptr @X86_FEATURE_P4, align 4, !tbaa !5 %99 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %98) #2 %100 = load i32, ptr %43, align 4, !tbaa !11 br label %101 101: ; preds = %97, %94 %102 = phi i32 [ %100, %97 ], [ %95, %94 ] %103 = icmp eq i32 %102, 6 br i1 %103, label %104, label %107 104: ; preds = %79, %83, %74, %86, %101 %105 = load i32, ptr @X86_FEATURE_P3, align 4, !tbaa !5 %106 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %105) #2 br label %107 107: ; preds = %104, %101 %108 = tail call i32 @srat_detect_node(ptr noundef nonnull %0) #2 %109 = load i32, ptr @X86_FEATURE_VMX, align 4, !tbaa !5 %110 = tail call i64 @cpu_has(ptr noundef nonnull %0, i32 noundef %109) #2 %111 = icmp eq i64 %110, 0 br i1 %111, label %114, label %112 112: ; preds = %107 %113 = tail call i32 @detect_vmx_virtcap(ptr noundef nonnull %0) #2 br label %114 114: ; preds = %112, %107 %115 = load i32, ptr @X86_FEATURE_TME, align 4, !tbaa !5 %116 = tail call i64 @cpu_has(ptr noundef nonnull %0, i32 noundef %115) #2 %117 = icmp eq i64 %116, 0 br i1 %117, label %120, label %118 118: ; preds = %114 %119 = tail call i32 @detect_tme(ptr noundef nonnull %0) #2 br label %120 120: ; preds = %118, %114 %121 = tail call i32 @init_intel_misc_features(ptr noundef nonnull %0) #2 %122 = load i64, ptr @tsx_ctrl_state, align 8, !tbaa !16 %123 = load i64, ptr @TSX_CTRL_ENABLE, align 8, !tbaa !16 %124 = icmp eq i64 %122, %123 br i1 %124, label %125, label %128 125: ; preds = %120 %126 = tail call i32 (...) @tsx_enable() #2 %127 = load i64, ptr @tsx_ctrl_state, align 8, !tbaa !16 br label %128 128: ; preds = %125, %120 %129 = phi i64 [ %127, %125 ], [ %122, %120 ] %130 = load i64, ptr @TSX_CTRL_DISABLE, align 8, !tbaa !16 %131 = icmp eq i64 %129, %130 br i1 %131, label %132, label %134 132: ; preds = %128 %133 = tail call i32 (...) @tsx_disable() #2 br label %134 134: ; preds = %132, %128 ret void } declare i32 @early_init_intel(ptr noundef) local_unnamed_addr #1 declare i32 @intel_workarounds(ptr noundef) local_unnamed_addr #1 declare i32 @detect_extended_topology(ptr noundef) local_unnamed_addr #1 declare i64 @cpu_has(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @detect_num_cpu_cores(ptr noundef) local_unnamed_addr #1 declare i32 @init_intel_cacheinfo(ptr noundef) local_unnamed_addr #1 declare i32 @cpuid_eax(i32 noundef) local_unnamed_addr #1 declare i32 @set_cpu_cap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @boot_cpu_has(i32 noundef) local_unnamed_addr #1 declare i32 @rdmsr(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_cpu_bug(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @srat_detect_node(ptr noundef) local_unnamed_addr #1 declare i32 @detect_vmx_virtcap(ptr noundef) local_unnamed_addr #1 declare i32 @detect_tme(ptr noundef) local_unnamed_addr #1 declare i32 @init_intel_misc_features(ptr noundef) local_unnamed_addr #1 declare i32 @tsx_enable(...) local_unnamed_addr #1 declare i32 @tsx_disable(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"cpuinfo_x86", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28} !11 = !{!10, !6, i64 4} !12 = !{!10, !6, i64 8} !13 = !{!10, !6, i64 20} !14 = !{!10, !6, i64 24} !15 = !{!10, !6, i64 28} !16 = !{!17, !17, i64 0} !17 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/extr_intel.c_init_intel.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/extr_intel.c_init_intel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @X86_FEATURE_XTOPOLOGY = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_ARCH_PERFMON = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_XMM2 = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_LFENCE_RDTSC = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_DS = common local_unnamed_addr global i32 0, align 4 @MSR_IA32_MISC_ENABLE = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_BTS = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_PEBS = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_CLFLUSH = common local_unnamed_addr global i32 0, align 4 @X86_BUG_CLFLUSH_MONITOR = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_MWAIT = common local_unnamed_addr global i32 0, align 4 @INTEL_FAM6_ATOM_GOLDMONT = common local_unnamed_addr global i32 0, align 4 @X86_BUG_MONITOR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Celeron (Covington)\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Mobile Pentium II (Dixon)\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Celeron (Mendocino)\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Celeron-A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Celeron (Coppermine)\00", align 1 @X86_FEATURE_P4 = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_P3 = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_VMX = common local_unnamed_addr global i32 0, align 4 @X86_FEATURE_TME = common local_unnamed_addr global i32 0, align 4 @tsx_ctrl_state = common local_unnamed_addr global i64 0, align 8 @TSX_CTRL_ENABLE = common local_unnamed_addr global i64 0, align 8 @TSX_CTRL_DISABLE = common local_unnamed_addr global i64 0, align 8 @X86_FEATURE_REP_GOOD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @init_intel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @init_intel(ptr noundef %0) #0 { %2 = tail call i32 @early_init_intel(ptr noundef %0) #2 %3 = tail call i32 @intel_workarounds(ptr noundef %0) #2 %4 = tail call i32 @detect_extended_topology(ptr noundef %0) #2 %5 = load i32, ptr @X86_FEATURE_XTOPOLOGY, align 4, !tbaa !6 %6 = tail call i64 @cpu_has(ptr noundef %0, i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = tail call i32 @detect_num_cpu_cores(ptr noundef %0) #2 br label %10 10: ; preds = %8, %1 %11 = tail call i32 @init_intel_cacheinfo(ptr noundef %0) #2 %12 = load i32, ptr %0, align 4, !tbaa !10 %13 = icmp sgt i32 %12, 9 br i1 %13, label %14, label %24 14: ; preds = %10 %15 = tail call i32 @cpuid_eax(i32 noundef 10) #2 %16 = and i32 %15, 255 %17 = icmp eq i32 %16, 0 %18 = and i32 %15, 65024 %19 = icmp eq i32 %18, 0 %20 = or i1 %17, %19 br i1 %20, label %24, label %21 21: ; preds = %14 %22 = load i32, ptr @X86_FEATURE_ARCH_PERFMON, align 4, !tbaa !6 %23 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %22) #2 br label %24 24: ; preds = %14, %21, %10 %25 = load i32, ptr @X86_FEATURE_XMM2, align 4, !tbaa !6 %26 = tail call i64 @cpu_has(ptr noundef nonnull %0, i32 noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %24 %29 = load i32, ptr @X86_FEATURE_LFENCE_RDTSC, align 4, !tbaa !6 %30 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %29) #2 br label %31 31: ; preds = %28, %24 %32 = load i32, ptr @X86_FEATURE_DS, align 4, !tbaa !6 %33 = tail call i64 @boot_cpu_has(i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %42, label %35 35: ; preds = %31 %36 = load i32, ptr @MSR_IA32_MISC_ENABLE, align 4, !tbaa !6 %37 = tail call i32 @rdmsr(i32 noundef %36, i32 noundef undef, i32 noundef undef) #2 %38 = load i32, ptr @X86_FEATURE_BTS, align 4, !tbaa !6 %39 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %38) #2 %40 = load i32, ptr @X86_FEATURE_PEBS, align 4, !tbaa !6 %41 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %40) #2 br label %42 42: ; preds = %35, %31 %43 = getelementptr inbounds i8, ptr %0, i64 4 %44 = load i32, ptr %43, align 4, !tbaa !12 %45 = icmp eq i32 %44, 6 br i1 %45, label %46, label %94 46: ; preds = %42 %47 = load i32, ptr @X86_FEATURE_CLFLUSH, align 4, !tbaa !6 %48 = tail call i64 @boot_cpu_has(i32 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %56, label %50 50: ; preds = %46 %51 = getelementptr inbounds i8, ptr %0, i64 8 %52 = load i32, ptr %51, align 4, !tbaa !13 switch i32 %52, label %56 [ i32 29, label %53 i32 46, label %53 i32 47, label %53 ] 53: ; preds = %50, %50, %50 %54 = load i32, ptr @X86_BUG_CLFLUSH_MONITOR, align 4, !tbaa !6 %55 = tail call i32 @set_cpu_bug(ptr noundef nonnull %0, i32 noundef %54) #2 br label %56 56: ; preds = %50, %53, %46 %57 = load i32, ptr %43, align 4, !tbaa !12 %58 = icmp eq i32 %57, 6 br i1 %58, label %59, label %94 59: ; preds = %56 %60 = load i32, ptr @X86_FEATURE_MWAIT, align 4, !tbaa !6 %61 = tail call i64 @boot_cpu_has(i32 noundef %60) #2 %62 = icmp eq i64 %61, 0 br i1 %62, label %71, label %63 63: ; preds = %59 %64 = getelementptr inbounds i8, ptr %0, i64 8 %65 = load i32, ptr %64, align 4, !tbaa !13 %66 = load i32, ptr @INTEL_FAM6_ATOM_GOLDMONT, align 4, !tbaa !6 %67 = icmp eq i32 %65, %66 br i1 %67, label %68, label %71 68: ; preds = %63 %69 = load i32, ptr @X86_BUG_MONITOR, align 4, !tbaa !6 %70 = tail call i32 @set_cpu_bug(ptr noundef nonnull %0, i32 noundef %69) #2 br label %71 71: ; preds = %68, %63, %59 %72 = load i32, ptr %43, align 4, !tbaa !12 %73 = icmp eq i32 %72, 6 br i1 %73, label %74, label %94 74: ; preds = %71 %75 = getelementptr inbounds i8, ptr %0, i64 20 %76 = load i32, ptr %75, align 4, !tbaa !14 %77 = getelementptr inbounds i8, ptr %0, i64 8 %78 = load i32, ptr %77, align 4, !tbaa !13 switch i32 %78, label %104 [ i32 5, label %79 i32 6, label %81 i32 8, label %86 ] 79: ; preds = %74 switch i32 %76, label %104 [ i32 0, label %88 i32 256, label %80 ] 80: ; preds = %79 br label %88 81: ; preds = %74 %82 = icmp eq i32 %76, 128 br i1 %82, label %88, label %83 83: ; preds = %81 %84 = getelementptr inbounds i8, ptr %0, i64 24 %85 = load i32, ptr %84, align 4, !tbaa !15 switch i32 %85, label %104 [ i32 0, label %88 i32 5, label %88 ] 86: ; preds = %74 %87 = icmp eq i32 %76, 128 br i1 %87, label %88, label %104 88: ; preds = %83, %83, %81, %79, %80, %86 %89 = phi ptr [ @.str.4, %86 ], [ @.str.2, %81 ], [ @.str, %79 ], [ @.str.1, %80 ], [ @.str.3, %83 ], [ @.str.3, %83 ] %90 = getelementptr inbounds i8, ptr %0, i64 28 %91 = load i32, ptr %90, align 4, !tbaa !16 %92 = tail call i32 @strcpy(i32 noundef %91, ptr noundef nonnull %89) #2 %93 = load i32, ptr %43, align 4, !tbaa !12 br label %94 94: ; preds = %88, %56, %42, %71 %95 = phi i32 [ %72, %71 ], [ %44, %42 ], [ %57, %56 ], [ %93, %88 ] %96 = icmp eq i32 %95, 15 br i1 %96, label %97, label %101 97: ; preds = %94 %98 = load i32, ptr @X86_FEATURE_P4, align 4, !tbaa !6 %99 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %98) #2 %100 = load i32, ptr %43, align 4, !tbaa !12 br label %101 101: ; preds = %97, %94 %102 = phi i32 [ %100, %97 ], [ %95, %94 ] %103 = icmp eq i32 %102, 6 br i1 %103, label %104, label %107 104: ; preds = %79, %83, %74, %86, %101 %105 = load i32, ptr @X86_FEATURE_P3, align 4, !tbaa !6 %106 = tail call i32 @set_cpu_cap(ptr noundef nonnull %0, i32 noundef %105) #2 br label %107 107: ; preds = %104, %101 %108 = tail call i32 @srat_detect_node(ptr noundef nonnull %0) #2 %109 = load i32, ptr @X86_FEATURE_VMX, align 4, !tbaa !6 %110 = tail call i64 @cpu_has(ptr noundef nonnull %0, i32 noundef %109) #2 %111 = icmp eq i64 %110, 0 br i1 %111, label %114, label %112 112: ; preds = %107 %113 = tail call i32 @detect_vmx_virtcap(ptr noundef nonnull %0) #2 br label %114 114: ; preds = %112, %107 %115 = load i32, ptr @X86_FEATURE_TME, align 4, !tbaa !6 %116 = tail call i64 @cpu_has(ptr noundef nonnull %0, i32 noundef %115) #2 %117 = icmp eq i64 %116, 0 br i1 %117, label %120, label %118 118: ; preds = %114 %119 = tail call i32 @detect_tme(ptr noundef nonnull %0) #2 br label %120 120: ; preds = %118, %114 %121 = tail call i32 @init_intel_misc_features(ptr noundef nonnull %0) #2 %122 = load i64, ptr @tsx_ctrl_state, align 8, !tbaa !17 %123 = load i64, ptr @TSX_CTRL_ENABLE, align 8, !tbaa !17 %124 = icmp eq i64 %122, %123 br i1 %124, label %125, label %128 125: ; preds = %120 %126 = tail call i32 @tsx_enable() #2 %127 = load i64, ptr @tsx_ctrl_state, align 8, !tbaa !17 br label %128 128: ; preds = %125, %120 %129 = phi i64 [ %127, %125 ], [ %122, %120 ] %130 = load i64, ptr @TSX_CTRL_DISABLE, align 8, !tbaa !17 %131 = icmp eq i64 %129, %130 br i1 %131, label %132, label %134 132: ; preds = %128 %133 = tail call i32 @tsx_disable() #2 br label %134 134: ; preds = %132, %128 ret void } declare i32 @early_init_intel(ptr noundef) local_unnamed_addr #1 declare i32 @intel_workarounds(ptr noundef) local_unnamed_addr #1 declare i32 @detect_extended_topology(ptr noundef) local_unnamed_addr #1 declare i64 @cpu_has(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @detect_num_cpu_cores(ptr noundef) local_unnamed_addr #1 declare i32 @init_intel_cacheinfo(ptr noundef) local_unnamed_addr #1 declare i32 @cpuid_eax(i32 noundef) local_unnamed_addr #1 declare i32 @set_cpu_cap(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @boot_cpu_has(i32 noundef) local_unnamed_addr #1 declare i32 @rdmsr(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_cpu_bug(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @srat_detect_node(ptr noundef) local_unnamed_addr #1 declare i32 @detect_vmx_virtcap(ptr noundef) local_unnamed_addr #1 declare i32 @detect_tme(ptr noundef) local_unnamed_addr #1 declare i32 @init_intel_misc_features(ptr noundef) local_unnamed_addr #1 declare i32 @tsx_enable(...) local_unnamed_addr #1 declare i32 @tsx_disable(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"cpuinfo_x86", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28} !12 = !{!11, !7, i64 4} !13 = !{!11, !7, i64 8} !14 = !{!11, !7, i64 20} !15 = !{!11, !7, i64 24} !16 = !{!11, !7, i64 28} !17 = !{!18, !18, i64 0} !18 = !{!"long", !8, i64 0}
linux_arch_x86_kernel_cpu_extr_intel.c_init_intel
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/ext2/src/nls/extr_nls_cp850.c_uni2char.c' source_filename = "AnghaBench/reactos/drivers/filesystems/ext2/src/nls/extr_nls_cp850.c_uni2char.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENAMETOOLONG = dso_local local_unnamed_addr global i32 0, align 4 @page_uni2charset = dso_local local_unnamed_addr global ptr null, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uni2char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @uni2char(i32 noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = icmp slt i32 %2, 1 br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %26 8: ; preds = %3 %9 = lshr i32 %0, 8 %10 = load ptr, ptr @page_uni2charset, align 8, !tbaa !9 %11 = and i32 %9, 255 %12 = zext nneg i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !9 %15 = icmp eq ptr %14, null br i1 %15, label %23, label %16 16: ; preds = %8 %17 = and i32 %0, 255 %18 = zext nneg i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %14, i64 %18 %20 = load i8, ptr %19, align 1, !tbaa !11 %21 = icmp eq i8 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %16 store i8 %20, ptr %1, align 1, !tbaa !11 br label %26 23: ; preds = %16, %8 %24 = load i32, ptr @EINVAL, align 4, !tbaa !5 %25 = sub nsw i32 0, %24 br label %26 26: ; preds = %22, %23, %5 %27 = phi i32 [ %7, %5 ], [ 1, %22 ], [ %25, %23 ] ret i32 %27 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/ext2/src/nls/extr_nls_cp850.c_uni2char.c' source_filename = "AnghaBench/reactos/drivers/filesystems/ext2/src/nls/extr_nls_cp850.c_uni2char.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENAMETOOLONG = common local_unnamed_addr global i32 0, align 4 @page_uni2charset = common local_unnamed_addr global ptr null, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uni2char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @uni2char(i32 noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = icmp slt i32 %2, 1 br i1 %4, label %5, label %8 5: ; preds = %3 %6 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %26 8: ; preds = %3 %9 = lshr i32 %0, 8 %10 = load ptr, ptr @page_uni2charset, align 8, !tbaa !10 %11 = and i32 %9, 255 %12 = zext nneg i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !10 %15 = icmp eq ptr %14, null br i1 %15, label %23, label %16 16: ; preds = %8 %17 = and i32 %0, 255 %18 = zext nneg i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %14, i64 %18 %20 = load i8, ptr %19, align 1, !tbaa !12 %21 = icmp eq i8 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %16 store i8 %20, ptr %1, align 1, !tbaa !12 br label %26 23: ; preds = %16, %8 %24 = load i32, ptr @EINVAL, align 4, !tbaa !6 %25 = sub nsw i32 0, %24 br label %26 26: ; preds = %22, %23, %5 %27 = phi i32 [ %7, %5 ], [ 1, %22 ], [ %25, %23 ] ret i32 %27 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!8, !8, i64 0}
reactos_drivers_filesystems_ext2_src_nls_extr_nls_cp850.c_uni2char
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_ethtool.c_stmmac_set_wol.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_ethtool.c_stmmac_set_wol.c" target datalayout = "e-m:e-p270:32:32-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.stmmac_priv = type { i32, i32, i32, i32, %struct.TYPE_2__, i64 } %struct.TYPE_2__ = type { i32 } @WAKE_MAGIC = dso_local local_unnamed_addr global i32 0, align 4 @WAKE_UCAST = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"stmmac: wakeup enable\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @stmmac_set_wol], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @stmmac_set_wol(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !5 %5 = load i32, ptr @WAKE_UCAST, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = getelementptr inbounds %struct.stmmac_priv, ptr %3, i64 0, i32 5 %8 = load i64, ptr %7, align 8, !tbaa !9 %9 = icmp eq i64 %8, 0 br i1 %9, label %18, label %10 10: ; preds = %2 %11 = getelementptr inbounds %struct.stmmac_priv, ptr %3, i64 0, i32 4 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = xor i32 %4, -1 %16 = load i32, ptr %1, align 4, !tbaa !14 %17 = and i32 %16, %15 store i32 %17, ptr %1, align 4, !tbaa !14 br label %18 18: ; preds = %14, %10, %2 %19 = getelementptr inbounds %struct.stmmac_priv, ptr %3, i64 0, i32 3 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = tail call i32 @device_can_wakeup(i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load i32, ptr @EINVAL, align 4, !tbaa !5 %25 = sub nsw i32 0, %24 br label %54 26: ; preds = %18 %27 = load i32, ptr %1, align 4, !tbaa !14 %28 = xor i32 %6, -1 %29 = and i32 %27, %28 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %26 %32 = load i32, ptr @EINVAL, align 4, !tbaa !5 %33 = sub nsw i32 0, %32 br label %54 34: ; preds = %26 %35 = icmp eq i32 %27, 0 br i1 %35, label %43, label %36 36: ; preds = %34 %37 = tail call i32 @pr_info(ptr noundef nonnull @.str) #2 %38 = load i32, ptr %19, align 4, !tbaa !16 %39 = tail call i32 @device_set_wakeup_enable(i32 noundef %38, i32 noundef 1) #2 %40 = getelementptr inbounds %struct.stmmac_priv, ptr %3, i64 0, i32 2 %41 = load i32, ptr %40, align 8, !tbaa !17 %42 = tail call i32 @enable_irq_wake(i32 noundef %41) #2 br label %49 43: ; preds = %34 %44 = load i32, ptr %19, align 4, !tbaa !16 %45 = tail call i32 @device_set_wakeup_enable(i32 noundef %44, i32 noundef 0) #2 %46 = getelementptr inbounds %struct.stmmac_priv, ptr %3, i64 0, i32 2 %47 = load i32, ptr %46, align 8, !tbaa !17 %48 = tail call i32 @disable_irq_wake(i32 noundef %47) #2 br label %49 49: ; preds = %43, %36 %50 = getelementptr inbounds %struct.stmmac_priv, ptr %3, i64 0, i32 1 %51 = tail call i32 @mutex_lock(ptr noundef nonnull %50) #2 %52 = load i32, ptr %1, align 4, !tbaa !14 store i32 %52, ptr %3, align 8, !tbaa !18 %53 = tail call i32 @mutex_unlock(ptr noundef nonnull %50) #2 br label %54 54: ; preds = %49, %31, %23 %55 = phi i32 [ %33, %31 ], [ 0, %49 ], [ %25, %23 ] ret i32 %55 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @device_can_wakeup(i32 noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef) local_unnamed_addr #1 declare i32 @device_set_wakeup_enable(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @enable_irq_wake(i32 noundef) local_unnamed_addr #1 declare i32 @disable_irq_wake(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 24} !10 = !{!"stmmac_priv", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !12, i64 24} !11 = !{!"TYPE_2__", !6, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 16} !14 = !{!15, !6, i64 0} !15 = !{!"ethtool_wolinfo", !6, i64 0} !16 = !{!10, !6, i64 12} !17 = !{!10, !6, i64 8} !18 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_ethtool.c_stmmac_set_wol.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/stmicro/stmmac/extr_stmmac_ethtool.c_stmmac_set_wol.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WAKE_MAGIC = common local_unnamed_addr global i32 0, align 4 @WAKE_UCAST = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"stmmac: wakeup enable\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @stmmac_set_wol], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @stmmac_set_wol(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !6 %5 = load i32, ptr @WAKE_UCAST, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = getelementptr inbounds i8, ptr %3, i64 24 %8 = load i64, ptr %7, align 8, !tbaa !10 %9 = icmp eq i64 %8, 0 br i1 %9, label %18, label %10 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %3, i64 16 %12 = load i32, ptr %11, align 8, !tbaa !14 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = xor i32 %4, -1 %16 = load i32, ptr %1, align 4, !tbaa !15 %17 = and i32 %16, %15 store i32 %17, ptr %1, align 4, !tbaa !15 br label %18 18: ; preds = %14, %10, %2 %19 = getelementptr inbounds i8, ptr %3, i64 12 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = tail call i32 @device_can_wakeup(i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load i32, ptr @EINVAL, align 4, !tbaa !6 %25 = sub nsw i32 0, %24 br label %54 26: ; preds = %18 %27 = load i32, ptr %1, align 4, !tbaa !15 %28 = xor i32 %6, -1 %29 = and i32 %27, %28 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %26 %32 = load i32, ptr @EINVAL, align 4, !tbaa !6 %33 = sub nsw i32 0, %32 br label %54 34: ; preds = %26 %35 = icmp eq i32 %27, 0 br i1 %35, label %43, label %36 36: ; preds = %34 %37 = tail call i32 @pr_info(ptr noundef nonnull @.str) #2 %38 = load i32, ptr %19, align 4, !tbaa !17 %39 = tail call i32 @device_set_wakeup_enable(i32 noundef %38, i32 noundef 1) #2 %40 = getelementptr inbounds i8, ptr %3, i64 8 %41 = load i32, ptr %40, align 8, !tbaa !18 %42 = tail call i32 @enable_irq_wake(i32 noundef %41) #2 br label %49 43: ; preds = %34 %44 = load i32, ptr %19, align 4, !tbaa !17 %45 = tail call i32 @device_set_wakeup_enable(i32 noundef %44, i32 noundef 0) #2 %46 = getelementptr inbounds i8, ptr %3, i64 8 %47 = load i32, ptr %46, align 8, !tbaa !18 %48 = tail call i32 @disable_irq_wake(i32 noundef %47) #2 br label %49 49: ; preds = %43, %36 %50 = getelementptr inbounds i8, ptr %3, i64 4 %51 = tail call i32 @mutex_lock(ptr noundef nonnull %50) #2 %52 = load i32, ptr %1, align 4, !tbaa !15 store i32 %52, ptr %3, align 8, !tbaa !19 %53 = tail call i32 @mutex_unlock(ptr noundef nonnull %50) #2 br label %54 54: ; preds = %49, %31, %23 %55 = phi i32 [ %33, %31 ], [ 0, %49 ], [ %25, %23 ] ret i32 %55 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @device_can_wakeup(i32 noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef) local_unnamed_addr #1 declare i32 @device_set_wakeup_enable(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @enable_irq_wake(i32 noundef) local_unnamed_addr #1 declare i32 @disable_irq_wake(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 24} !11 = !{!"stmmac_priv", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !13, i64 24} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 16} !15 = !{!16, !7, i64 0} !16 = !{!"ethtool_wolinfo", !7, i64 0} !17 = !{!11, !7, i64 12} !18 = !{!11, !7, i64 8} !19 = !{!11, !7, i64 0}
linux_drivers_net_ethernet_stmicro_stmmac_extr_stmmac_ethtool.c_stmmac_set_wol
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lgc.c_luaC_freeall.c' source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lgc.c_luaC_freeall.c" target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i32, ptr } @WHITEBITS = dso_local local_unnamed_addr global i32 0, align 4 @SFIXEDBIT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @luaC_freeall(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @G(ptr noundef %0) #2 %3 = load i32, ptr @WHITEBITS, align 4, !tbaa !5 %4 = load i32, ptr @SFIXEDBIT, align 4, !tbaa !5 %5 = tail call i32 @bitmask(i32 noundef %4) #2 %6 = or i32 %5, %3 store i32 %6, ptr %2, align 8, !tbaa !9 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 2 %8 = tail call i32 @sweepwholelist(ptr noundef %0, ptr noundef nonnull %7) #2 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %1 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1, i32 1 br label %14 14: ; preds = %12, %14 %15 = phi i64 [ 0, %12 ], [ %19, %14 ] %16 = load ptr, ptr %13, align 8, !tbaa !14 %17 = getelementptr inbounds i32, ptr %16, i64 %15 %18 = tail call i32 @sweepwholelist(ptr noundef %0, ptr noundef %17) #2 %19 = add nuw nsw i64 %15, 1 %20 = load i32, ptr %9, align 8, !tbaa !13 %21 = sext i32 %20 to i64 %22 = icmp slt i64 %19, %21 br i1 %22, label %14, label %23, !llvm.loop !15 23: ; preds = %14, %1 ret void } declare ptr @G(ptr noundef) local_unnamed_addr #1 declare i32 @bitmask(i32 noundef) local_unnamed_addr #1 declare i32 @sweepwholelist(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_5__", !6, i64 0, !11, i64 8, !6, i64 24} !11 = !{!"TYPE_4__", !6, i64 0, !12, i64 8} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 8} !14 = !{!10, !12, i64 16} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lgc.c_luaC_freeall.c' source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lgc.c_luaC_freeall.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WHITEBITS = common local_unnamed_addr global i32 0, align 4 @SFIXEDBIT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @luaC_freeall(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @G(ptr noundef %0) #2 %3 = load i32, ptr @WHITEBITS, align 4, !tbaa !6 %4 = load i32, ptr @SFIXEDBIT, align 4, !tbaa !6 %5 = tail call i32 @bitmask(i32 noundef %4) #2 %6 = or i32 %5, %3 store i32 %6, ptr %2, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %2, i64 24 %8 = tail call i32 @sweepwholelist(ptr noundef %0, ptr noundef nonnull %7) #2 %9 = getelementptr inbounds i8, ptr %2, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %1 %13 = getelementptr inbounds i8, ptr %2, i64 16 br label %14 14: ; preds = %12, %14 %15 = phi i64 [ 0, %12 ], [ %19, %14 ] %16 = load ptr, ptr %13, align 8, !tbaa !15 %17 = getelementptr inbounds i32, ptr %16, i64 %15 %18 = tail call i32 @sweepwholelist(ptr noundef %0, ptr noundef %17) #2 %19 = add nuw nsw i64 %15, 1 %20 = load i32, ptr %9, align 8, !tbaa !14 %21 = sext i32 %20 to i64 %22 = icmp slt i64 %19, %21 br i1 %22, label %14, label %23, !llvm.loop !16 23: ; preds = %14, %1 ret void } declare ptr @G(ptr noundef) local_unnamed_addr #1 declare i32 @bitmask(i32 noundef) local_unnamed_addr #1 declare i32 @sweepwholelist(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0, !12, i64 8, !7, i64 24} !12 = !{!"TYPE_4__", !7, i64 0, !13, i64 8} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !13, i64 16} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
Provenance_Cores_FCEU_FCEU_lua_src_extr_lgc.c_luaC_freeall
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_subr.c_tcp_tfo_init.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_subr.c_tcp_tfo_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" @TCP_FASTOPEN_KEYLEN = dso_local local_unnamed_addr global i32 0, align 4 @tfo_ctx = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tcp_tfo_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tcp_tfo_init() #0 { %1 = load i32, ptr @TCP_FASTOPEN_KEYLEN, align 4, !tbaa !5 %2 = zext i32 %1 to i64 %3 = alloca i32, i64 %2, align 16 %4 = shl i32 %1, 2 %5 = call i32 @read_frandom(ptr noundef nonnull %3, i32 noundef %4) #2 %6 = call i32 @aes_encrypt_key128(ptr noundef nonnull %3, ptr noundef nonnull @tfo_ctx) #2 ret void } declare i32 @read_frandom(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aes_encrypt_key128(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/darwin-xnu/bsd/netinet/extr_tcp_subr.c_tcp_tfo_init.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_subr.c_tcp_tfo_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCP_FASTOPEN_KEYLEN = common local_unnamed_addr global i32 0, align 4 @tfo_ctx = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tcp_tfo_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tcp_tfo_init() #0 { %1 = load i32, ptr @TCP_FASTOPEN_KEYLEN, align 4, !tbaa !6 %2 = zext i32 %1 to i64 %3 = alloca i32, i64 %2, align 4 %4 = shl i32 %1, 2 %5 = call i32 @read_frandom(ptr noundef nonnull %3, i32 noundef %4) #2 %6 = call i32 @aes_encrypt_key128(ptr noundef nonnull %3, ptr noundef nonnull @tfo_ctx) #2 ret void } declare i32 @read_frandom(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aes_encrypt_key128(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"}
darwin-xnu_bsd_netinet_extr_tcp_subr.c_tcp_tfo_init
; ModuleID = 'AnghaBench/openssl/crypto/ec/extr_ecdh_ossl.c_ossl_ecdh_compute_key.c' source_filename = "AnghaBench/openssl/crypto/ec/extr_ecdh_ossl.c_ossl_ecdh_compute_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EC_F_OSSL_ECDH_COMPUTE_KEY = dso_local local_unnamed_addr global i32 0, align 4 @EC_R_CURVE_DOES_NOT_SUPPORT_ECDH = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ossl_ecdh_compute_key(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load ptr, ptr %3, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %4 %10 = load i32, ptr @EC_F_OSSL_ECDH_COMPUTE_KEY, align 4, !tbaa !14 %11 = load i32, ptr @EC_R_CURVE_DOES_NOT_SUPPORT_ECDH, align 4, !tbaa !14 %12 = tail call i32 @ECerr(i32 noundef %10, i32 noundef %11) #2 br label %15 13: ; preds = %4 %14 = tail call i32 %7(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3) #2 br label %15 15: ; preds = %13, %9 %16 = phi i32 [ 0, %9 ], [ %14, %13 ] ret i32 %16 } declare i32 @ECerr(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_8__", !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_7__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_6__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/ec/extr_ecdh_ossl.c_ossl_ecdh_compute_key.c' source_filename = "AnghaBench/openssl/crypto/ec/extr_ecdh_ossl.c_ossl_ecdh_compute_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EC_F_OSSL_ECDH_COMPUTE_KEY = common local_unnamed_addr global i32 0, align 4 @EC_R_CURVE_DOES_NOT_SUPPORT_ECDH = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ossl_ecdh_compute_key(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load ptr, ptr %3, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %4 %10 = load i32, ptr @EC_F_OSSL_ECDH_COMPUTE_KEY, align 4, !tbaa !15 %11 = load i32, ptr @EC_R_CURVE_DOES_NOT_SUPPORT_ECDH, align 4, !tbaa !15 %12 = tail call i32 @ECerr(i32 noundef %10, i32 noundef %11) #2 br label %15 13: ; preds = %4 %14 = tail call i32 %7(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3) #2 br label %15 15: ; preds = %13, %9 %16 = phi i32 [ 0, %9 ], [ %14, %13 ] ret i32 %16 } declare i32 @ECerr(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_8__", !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_7__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_6__", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0}
openssl_crypto_ec_extr_ecdh_ossl.c_ossl_ecdh_compute_key
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_16_frc_pd.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_16_frc_pd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CPU_TYPE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @m68k_op_move_16_frc_pd() local_unnamed_addr #0 { %1 = load i32, ptr @CPU_TYPE, align 4, !tbaa !5 %2 = tail call i64 @CPU_TYPE_IS_010_PLUS(i32 noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %8, label %4 4: ; preds = %0 %5 = tail call i32 (...) @EA_AY_PD_16() #2 %6 = tail call i32 (...) @m68ki_get_ccr() #2 %7 = tail call i32 @m68ki_write_16(i32 noundef %5, i32 noundef %6) #2 br label %10 8: ; preds = %0 %9 = tail call i32 (...) @m68ki_exception_illegal() #2 br label %10 10: ; preds = %8, %4 ret void } declare i64 @CPU_TYPE_IS_010_PLUS(i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_write_16(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EA_AY_PD_16(...) local_unnamed_addr #1 declare i32 @m68ki_get_ccr(...) local_unnamed_addr #1 declare i32 @m68ki_exception_illegal(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_16_frc_pd.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_16_frc_pd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CPU_TYPE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @m68k_op_move_16_frc_pd() local_unnamed_addr #0 { %1 = load i32, ptr @CPU_TYPE, align 4, !tbaa !6 %2 = tail call i64 @CPU_TYPE_IS_010_PLUS(i32 noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %8, label %4 4: ; preds = %0 %5 = tail call i32 @EA_AY_PD_16() #2 %6 = tail call i32 @m68ki_get_ccr() #2 %7 = tail call i32 @m68ki_write_16(i32 noundef %5, i32 noundef %6) #2 br label %10 8: ; preds = %0 %9 = tail call i32 @m68ki_exception_illegal() #2 br label %10 10: ; preds = %8, %4 ret void } declare i64 @CPU_TYPE_IS_010_PLUS(i32 noundef) local_unnamed_addr #1 declare i32 @m68ki_write_16(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EA_AY_PD_16(...) local_unnamed_addr #1 declare i32 @m68ki_get_ccr(...) local_unnamed_addr #1 declare i32 @m68ki_exception_illegal(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopdm.c_m68k_op_move_16_frc_pd
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/etnaviv/extr_etnaviv_sched.c_etnaviv_sched_fini.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/etnaviv/extr_etnaviv_sched.c_etnaviv_sched_fini.c" target datalayout = "e-m:e-p270:32:32-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 @etnaviv_sched_fini(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @drm_sched_fini(ptr noundef %0) #2 ret void } declare i32 @drm_sched_fini(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/etnaviv/extr_etnaviv_sched.c_etnaviv_sched_fini.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/etnaviv/extr_etnaviv_sched.c_etnaviv_sched_fini.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 @etnaviv_sched_fini(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @drm_sched_fini(ptr noundef %0) #2 ret void } declare i32 @drm_sched_fini(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_etnaviv_extr_etnaviv_sched.c_etnaviv_sched_fini
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_..pcipci.h_pci_enable_ptm.c' source_filename = "AnghaBench/linux/drivers/xen/extr_..pcipci.h_pci_enable_ptm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pci_enable_ptm], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @pci_enable_ptm(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @EINVAL, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_..pcipci.h_pci_enable_ptm.c' source_filename = "AnghaBench/linux/drivers/xen/extr_..pcipci.h_pci_enable_ptm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pci_enable_ptm], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @pci_enable_ptm(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @EINVAL, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_xen_extr_..pcipci.h_pci_enable_ptm
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/pae/extr_ieee802_1x_cp.c_ieee802_1x_cp_set_ciphersuite.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/pae/extr_ieee802_1x_cp.c_ieee802_1x_cp_set_ciphersuite.c" target datalayout = "e-m:e-p270:32:32-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 @ieee802_1x_cp_set_ciphersuite(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 { store i32 %1, ptr %0, align 4, !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 = !{!"ieee802_1x_cp_sm", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/pae/extr_ieee802_1x_cp.c_ieee802_1x_cp_set_ciphersuite.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/pae/extr_ieee802_1x_cp.c_ieee802_1x_cp_set_ciphersuite.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 @ieee802_1x_cp_set_ciphersuite(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 { store i32 %1, ptr %0, align 4, !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 = !{!"ieee802_1x_cp_sm", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_wpa_src_pae_extr_ieee802_1x_cp.c_ieee802_1x_cp_set_ciphersuite
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv_convnet.c__ccv_convnet_full_connect_forward_propagate.c' source_filename = "AnghaBench/ccv/lib/extr_ccv_convnet.c__ccv_convnet_full_connect_forward_propagate.c" target datalayout = "e-m:e-p270:32:32-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_18__ = type { i32, i32, i32, i32, %struct.TYPE_15__ } %struct.TYPE_15__ = type { ptr } %struct.TYPE_19__ = type { i32, ptr, %struct.TYPE_17__, i32 } %struct.TYPE_17__ = type { %struct.TYPE_16__ } %struct.TYPE_16__ = type { i64, i32 } @CCV_32F = dso_local local_unnamed_addr global i32 0, align 4 @CCV_C1 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_ccv_convnet_full_connect_forward_propagate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @_ccv_convnet_full_connect_forward_propagate(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca %struct.TYPE_18__, align 8 %6 = load i32, ptr %1, align 8, !tbaa !5 %7 = tail call i32 @CCV_GET_DATA_TYPE(i32 noundef %6) #3 %8 = load i32, ptr @CCV_32F, align 4, !tbaa !12 %9 = icmp eq i32 %7, %8 %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %12 = load ptr, ptr %2, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 2 %14 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 2, i32 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = load i32, ptr @CCV_32F, align 4, !tbaa !12 %17 = load i32, ptr @CCV_C1, align 4, !tbaa !12 %18 = or i32 %17, %16 %19 = tail call ptr @ccv_dense_matrix_renew(ptr noundef %12, i32 noundef %15, i32 noundef 1, i32 noundef %18, i32 noundef %18, i32 noundef 0) #3 store ptr %19, ptr %2, align 8, !tbaa !13 store ptr %19, ptr %4, align 8, !tbaa !13 %20 = load i32, ptr %1, align 8, !tbaa !5 %21 = tail call i32 @CCV_GET_CHANNEL(i32 noundef %20) #3 %22 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !19 %24 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 2 %25 = load i32, ptr %24, align 8, !tbaa !20 %26 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 3 %27 = load i32, ptr %26, align 4, !tbaa !21 %28 = load i32, ptr %1, align 8, !tbaa !5 %29 = tail call i32 @CCV_GET_DATA_TYPE_SIZE(i32 noundef %28) #3 %30 = mul i32 %25, %21 %31 = mul i32 %30, %29 %32 = icmp eq i32 %27, %31 %33 = zext i1 %32 to i32 %34 = tail call i32 @assert(i32 noundef %33) #3 %35 = mul i32 %30, %23 store i32 %35, ptr %22, align 4, !tbaa !19 store i32 1, ptr %24, align 8, !tbaa !20 %36 = load i32, ptr %1, align 8, !tbaa !5 %37 = sub nsw i32 %36, %21 %38 = load i32, ptr @CCV_C1, align 4, !tbaa !12 %39 = or i32 %37, %38 store i32 %39, ptr %1, align 8, !tbaa !5 %40 = getelementptr inbounds %struct.TYPE_18__, ptr %19, i64 0, i32 1 %41 = load i32, ptr %40, align 4, !tbaa !19 %42 = mul nsw i32 %41, %35 %43 = load i32, ptr %0, align 8, !tbaa !22 %44 = icmp eq i32 %42, %43 %45 = zext i1 %44 to i32 %46 = tail call i32 @assert(i32 noundef %45) #3 %47 = load i32, ptr %24, align 8, !tbaa !20 %48 = load i32, ptr %1, align 8, !tbaa !5 %49 = tail call i32 @CCV_GET_DATA_TYPE_SIZE(i32 noundef %48) #3 %50 = mul nsw i32 %49, %47 store i32 %50, ptr %26, align 4, !tbaa !21 %51 = getelementptr inbounds %struct.TYPE_18__, ptr %19, i64 0, i32 4 %52 = load ptr, ptr %51, align 8, !tbaa !23 %53 = load i32, ptr %40, align 4, !tbaa !19 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %115 55: ; preds = %3 %56 = ptrtoint ptr %52 to i64 %57 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 1 %58 = load ptr, ptr %57, align 8, !tbaa !24 %59 = zext nneg i32 %53 to i64 %60 = icmp ult i32 %53, 8 %61 = ptrtoint ptr %58 to i64 %62 = sub i64 %56, %61 %63 = icmp ult i64 %62, 32 %64 = select i1 %60, i1 true, i1 %63 br i1 %64, label %79, label %65 65: ; preds = %55 %66 = and i64 %59, 2147483640 br label %67 67: ; preds = %67, %65 %68 = phi i64 [ 0, %65 ], [ %75, %67 ] %69 = getelementptr inbounds float, ptr %58, i64 %68 %70 = getelementptr inbounds float, ptr %69, i64 4 %71 = load <4 x float>, ptr %69, align 4, !tbaa !25 %72 = load <4 x float>, ptr %70, align 4, !tbaa !25 %73 = getelementptr inbounds float, ptr %52, i64 %68 %74 = getelementptr inbounds float, ptr %73, i64 4 store <4 x float> %71, ptr %73, align 4, !tbaa !25 store <4 x float> %72, ptr %74, align 4, !tbaa !25 %75 = add nuw i64 %68, 8 %76 = icmp eq i64 %75, %66 br i1 %76, label %77, label %67, !llvm.loop !27 77: ; preds = %67 %78 = icmp eq i64 %66, %59 br i1 %78, label %115, label %79 79: ; preds = %55, %77 %80 = phi i64 [ 0, %55 ], [ %66, %77 ] %81 = and i64 %59, 3 %82 = icmp eq i64 %81, 0 br i1 %82, label %92, label %83 83: ; preds = %79, %83 %84 = phi i64 [ %89, %83 ], [ %80, %79 ] %85 = phi i64 [ %90, %83 ], [ 0, %79 ] %86 = getelementptr inbounds float, ptr %58, i64 %84 %87 = load float, ptr %86, align 4, !tbaa !25 %88 = getelementptr inbounds float, ptr %52, i64 %84 store float %87, ptr %88, align 4, !tbaa !25 %89 = add nuw nsw i64 %84, 1 %90 = add i64 %85, 1 %91 = icmp eq i64 %90, %81 br i1 %91, label %92, label %83, !llvm.loop !31 92: ; preds = %83, %79 %93 = phi i64 [ %80, %79 ], [ %89, %83 ] %94 = sub nsw i64 %80, %59 %95 = icmp ugt i64 %94, -4 br i1 %95, label %115, label %96 96: ; preds = %92, %96 %97 = phi i64 [ %113, %96 ], [ %93, %92 ] %98 = getelementptr inbounds float, ptr %58, i64 %97 %99 = load float, ptr %98, align 4, !tbaa !25 %100 = getelementptr inbounds float, ptr %52, i64 %97 store float %99, ptr %100, align 4, !tbaa !25 %101 = add nuw nsw i64 %97, 1 %102 = getelementptr inbounds float, ptr %58, i64 %101 %103 = load float, ptr %102, align 4, !tbaa !25 %104 = getelementptr inbounds float, ptr %52, i64 %101 store float %103, ptr %104, align 4, !tbaa !25 %105 = add nuw nsw i64 %97, 2 %106 = getelementptr inbounds float, ptr %58, i64 %105 %107 = load float, ptr %106, align 4, !tbaa !25 %108 = getelementptr inbounds float, ptr %52, i64 %105 store float %107, ptr %108, align 4, !tbaa !25 %109 = add nuw nsw i64 %97, 3 %110 = getelementptr inbounds float, ptr %58, i64 %109 %111 = load float, ptr %110, align 4, !tbaa !25 %112 = getelementptr inbounds float, ptr %52, i64 %109 store float %111, ptr %112, align 4, !tbaa !25 %113 = add nuw nsw i64 %97, 4 %114 = icmp eq i64 %113, %59 br i1 %114, label %115, label %96, !llvm.loop !33 115: ; preds = %92, %96, %77, %3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3 %116 = load i32, ptr %22, align 4, !tbaa !19 %117 = load i32, ptr @CCV_32F, align 4, !tbaa !12 %118 = load i32, ptr @CCV_C1, align 4, !tbaa !12 %119 = or i32 %118, %117 %120 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 3 %121 = load i32, ptr %120, align 8, !tbaa !34 call void @ccv_dense_matrix(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_18__) align 8 %5, i32 noundef %53, i32 noundef %116, i32 noundef %119, i32 noundef %121, i32 noundef 0) #3 %122 = call i32 @ccv_gemm(ptr noundef nonnull %5, ptr noundef nonnull %1, i32 noundef 1, ptr noundef %19, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 0) #3 %123 = load i64, ptr %13, align 8, !tbaa !35 %124 = icmp eq i64 %123, 0 br i1 %124, label %141, label %125 125: ; preds = %115 %126 = load ptr, ptr %4, align 8, !tbaa !13 %127 = getelementptr inbounds %struct.TYPE_18__, ptr %126, i64 0, i32 1 %128 = load i32, ptr %127, align 4, !tbaa !19 %129 = icmp sgt i32 %128, 0 br i1 %129, label %130, label %141 130: ; preds = %125, %130 %131 = phi i64 [ %135, %130 ], [ 0, %125 ] %132 = getelementptr inbounds float, ptr %52, i64 %131 %133 = load float, ptr %132, align 4, !tbaa !25 %134 = call float @ccv_max(i32 noundef 0, float noundef %133) #3 store float %134, ptr %132, align 4, !tbaa !25 %135 = add nuw nsw i64 %131, 1 %136 = load ptr, ptr %4, align 8, !tbaa !13 %137 = getelementptr inbounds %struct.TYPE_18__, ptr %136, i64 0, i32 1 %138 = load i32, ptr %137, align 4, !tbaa !19 %139 = sext i32 %138 to i64 %140 = icmp slt i64 %135, %139 br i1 %140, label %130, label %141, !llvm.loop !36 141: ; preds = %130, %125, %115 store i32 %23, ptr %22, align 4, !tbaa !19 store i32 %25, ptr %24, align 8, !tbaa !20 %142 = load i32, ptr %1, align 8, !tbaa !5 %143 = call i32 @CCV_GET_CHANNEL(i32 noundef %142) #3 %144 = sub nsw i32 %142, %143 %145 = or i32 %144, %21 store i32 %145, ptr %1, align 8, !tbaa !5 %146 = load i32, ptr %24, align 8, !tbaa !20 %147 = call i32 @CCV_GET_DATA_TYPE_SIZE(i32 noundef %145) #3 %148 = mul nsw i32 %147, %146 %149 = load i32, ptr %1, align 8, !tbaa !5 %150 = call i32 @CCV_GET_CHANNEL(i32 noundef %149) #3 %151 = mul nsw i32 %148, %150 store i32 %151, ptr %26, align 4, !tbaa !21 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @CCV_GET_DATA_TYPE(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 ptr @ccv_dense_matrix_renew(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CCV_GET_CHANNEL(i32 noundef) local_unnamed_addr #1 declare i32 @CCV_GET_DATA_TYPE_SIZE(i32 noundef) local_unnamed_addr #1 declare void @ccv_dense_matrix(ptr dead_on_unwind writable sret(%struct.TYPE_18__) align 8, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ccv_gemm(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare float @ccv_max(i32 noundef, float 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, !7, i64 0} !6 = !{!"TYPE_18__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_15__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !7, i64 24} !15 = !{!"TYPE_19__", !7, i64 0, !11, i64 8, !16, i64 16, !7, i64 32} !16 = !{!"TYPE_17__", !17, i64 0} !17 = !{!"TYPE_16__", !18, i64 0, !7, i64 8} !18 = !{!"long", !8, i64 0} !19 = !{!6, !7, i64 4} !20 = !{!6, !7, i64 8} !21 = !{!6, !7, i64 12} !22 = !{!15, !7, i64 0} !23 = !{!6, !11, i64 16} !24 = !{!15, !11, i64 8} !25 = !{!26, !26, i64 0} !26 = !{!"float", !8, i64 0} !27 = distinct !{!27, !28, !29, !30} !28 = !{!"llvm.loop.mustprogress"} !29 = !{!"llvm.loop.isvectorized", i32 1} !30 = !{!"llvm.loop.unroll.runtime.disable"} !31 = distinct !{!31, !32} !32 = !{!"llvm.loop.unroll.disable"} !33 = distinct !{!33, !28, !29} !34 = !{!15, !7, i64 32} !35 = !{!15, !18, i64 16} !36 = distinct !{!36, !28}
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv_convnet.c__ccv_convnet_full_connect_forward_propagate.c' source_filename = "AnghaBench/ccv/lib/extr_ccv_convnet.c__ccv_convnet_full_connect_forward_propagate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_18__ = type { i32, i32, i32, i32, %struct.TYPE_15__ } %struct.TYPE_15__ = type { ptr } @CCV_32F = common local_unnamed_addr global i32 0, align 4 @CCV_C1 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_ccv_convnet_full_connect_forward_propagate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @_ccv_convnet_full_connect_forward_propagate(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca %struct.TYPE_18__, align 8 %6 = load i32, ptr %1, align 8, !tbaa !6 %7 = tail call i32 @CCV_GET_DATA_TYPE(i32 noundef %6) #3 %8 = load i32, ptr @CCV_32F, align 4, !tbaa !13 %9 = icmp eq i32 %7, %8 %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %12 = load ptr, ptr %2, align 8, !tbaa !14 %13 = getelementptr inbounds i8, ptr %0, i64 16 %14 = getelementptr inbounds i8, ptr %0, i64 24 %15 = load i32, ptr %14, align 8, !tbaa !15 %16 = load i32, ptr @CCV_32F, align 4, !tbaa !13 %17 = load i32, ptr @CCV_C1, align 4, !tbaa !13 %18 = or i32 %17, %16 %19 = tail call ptr @ccv_dense_matrix_renew(ptr noundef %12, i32 noundef %15, i32 noundef 1, i32 noundef %18, i32 noundef %18, i32 noundef 0) #3 store ptr %19, ptr %2, align 8, !tbaa !14 store ptr %19, ptr %4, align 8, !tbaa !14 %20 = load i32, ptr %1, align 8, !tbaa !6 %21 = tail call i32 @CCV_GET_CHANNEL(i32 noundef %20) #3 %22 = getelementptr inbounds i8, ptr %1, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !20 %24 = getelementptr inbounds i8, ptr %1, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !21 %26 = getelementptr inbounds i8, ptr %1, i64 12 %27 = load i32, ptr %26, align 4, !tbaa !22 %28 = load i32, ptr %1, align 8, !tbaa !6 %29 = tail call i32 @CCV_GET_DATA_TYPE_SIZE(i32 noundef %28) #3 %30 = mul i32 %25, %21 %31 = mul i32 %30, %29 %32 = icmp eq i32 %27, %31 %33 = zext i1 %32 to i32 %34 = tail call i32 @assert(i32 noundef %33) #3 %35 = mul i32 %30, %23 store i32 %35, ptr %22, align 4, !tbaa !20 store i32 1, ptr %24, align 8, !tbaa !21 %36 = load i32, ptr %1, align 8, !tbaa !6 %37 = sub nsw i32 %36, %21 %38 = load i32, ptr @CCV_C1, align 4, !tbaa !13 %39 = or i32 %37, %38 store i32 %39, ptr %1, align 8, !tbaa !6 %40 = getelementptr inbounds i8, ptr %19, i64 4 %41 = load i32, ptr %40, align 4, !tbaa !20 %42 = mul nsw i32 %41, %35 %43 = load i32, ptr %0, align 8, !tbaa !23 %44 = icmp eq i32 %42, %43 %45 = zext i1 %44 to i32 %46 = tail call i32 @assert(i32 noundef %45) #3 %47 = load i32, ptr %24, align 8, !tbaa !21 %48 = load i32, ptr %1, align 8, !tbaa !6 %49 = tail call i32 @CCV_GET_DATA_TYPE_SIZE(i32 noundef %48) #3 %50 = mul nsw i32 %49, %47 store i32 %50, ptr %26, align 4, !tbaa !22 %51 = getelementptr inbounds i8, ptr %19, i64 16 %52 = load ptr, ptr %51, align 8, !tbaa !24 %53 = load i32, ptr %40, align 4, !tbaa !20 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %94 55: ; preds = %3 %56 = ptrtoint ptr %52 to i64 %57 = getelementptr inbounds i8, ptr %0, i64 8 %58 = load ptr, ptr %57, align 8, !tbaa !25 %59 = zext nneg i32 %53 to i64 %60 = icmp ult i32 %53, 16 %61 = ptrtoint ptr %58 to i64 %62 = sub i64 %56, %61 %63 = icmp ult i64 %62, 64 %64 = select i1 %60, i1 true, i1 %63 br i1 %64, label %85, label %65 65: ; preds = %55 %66 = and i64 %59, 2147483632 br label %67 67: ; preds = %67, %65 %68 = phi i64 [ 0, %65 ], [ %81, %67 ] %69 = getelementptr inbounds float, ptr %58, i64 %68 %70 = getelementptr inbounds i8, ptr %69, i64 16 %71 = getelementptr inbounds i8, ptr %69, i64 32 %72 = getelementptr inbounds i8, ptr %69, i64 48 %73 = load <4 x float>, ptr %69, align 4, !tbaa !26 %74 = load <4 x float>, ptr %70, align 4, !tbaa !26 %75 = load <4 x float>, ptr %71, align 4, !tbaa !26 %76 = load <4 x float>, ptr %72, align 4, !tbaa !26 %77 = getelementptr inbounds float, ptr %52, i64 %68 %78 = getelementptr inbounds i8, ptr %77, i64 16 %79 = getelementptr inbounds i8, ptr %77, i64 32 %80 = getelementptr inbounds i8, ptr %77, i64 48 store <4 x float> %73, ptr %77, align 4, !tbaa !26 store <4 x float> %74, ptr %78, align 4, !tbaa !26 store <4 x float> %75, ptr %79, align 4, !tbaa !26 store <4 x float> %76, ptr %80, align 4, !tbaa !26 %81 = add nuw i64 %68, 16 %82 = icmp eq i64 %81, %66 br i1 %82, label %83, label %67, !llvm.loop !28 83: ; preds = %67 %84 = icmp eq i64 %66, %59 br i1 %84, label %94, label %85 85: ; preds = %83, %55 %86 = phi i64 [ 0, %55 ], [ %66, %83 ] br label %87 87: ; preds = %85, %87 %88 = phi i64 [ %92, %87 ], [ %86, %85 ] %89 = getelementptr inbounds float, ptr %58, i64 %88 %90 = load float, ptr %89, align 4, !tbaa !26 %91 = getelementptr inbounds float, ptr %52, i64 %88 store float %90, ptr %91, align 4, !tbaa !26 %92 = add nuw nsw i64 %88, 1 %93 = icmp eq i64 %92, %59 br i1 %93, label %94, label %87, !llvm.loop !32 94: ; preds = %87, %83, %3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3 %95 = load i32, ptr %22, align 4, !tbaa !20 %96 = load i32, ptr @CCV_32F, align 4, !tbaa !13 %97 = load i32, ptr @CCV_C1, align 4, !tbaa !13 %98 = or i32 %97, %96 %99 = getelementptr inbounds i8, ptr %0, i64 32 %100 = load i32, ptr %99, align 8, !tbaa !33 call void @ccv_dense_matrix(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_18__) align 8 %5, i32 noundef %53, i32 noundef %95, i32 noundef %98, i32 noundef %100, i32 noundef 0) #3 %101 = call i32 @ccv_gemm(ptr noundef nonnull %5, ptr noundef nonnull %1, i32 noundef 1, ptr noundef %19, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 0) #3 %102 = load i64, ptr %13, align 8, !tbaa !34 %103 = icmp eq i64 %102, 0 br i1 %103, label %120, label %104 104: ; preds = %94 %105 = load ptr, ptr %4, align 8, !tbaa !14 %106 = getelementptr inbounds i8, ptr %105, i64 4 %107 = load i32, ptr %106, align 4, !tbaa !20 %108 = icmp sgt i32 %107, 0 br i1 %108, label %109, label %120 109: ; preds = %104, %109 %110 = phi i64 [ %114, %109 ], [ 0, %104 ] %111 = getelementptr inbounds float, ptr %52, i64 %110 %112 = load float, ptr %111, align 4, !tbaa !26 %113 = call float @ccv_max(i32 noundef 0, float noundef %112) #3 store float %113, ptr %111, align 4, !tbaa !26 %114 = add nuw nsw i64 %110, 1 %115 = load ptr, ptr %4, align 8, !tbaa !14 %116 = getelementptr inbounds i8, ptr %115, i64 4 %117 = load i32, ptr %116, align 4, !tbaa !20 %118 = sext i32 %117 to i64 %119 = icmp slt i64 %114, %118 br i1 %119, label %109, label %120, !llvm.loop !35 120: ; preds = %109, %104, %94 store i32 %23, ptr %22, align 4, !tbaa !20 store i32 %25, ptr %24, align 8, !tbaa !21 %121 = load i32, ptr %1, align 8, !tbaa !6 %122 = call i32 @CCV_GET_CHANNEL(i32 noundef %121) #3 %123 = sub nsw i32 %121, %122 %124 = or i32 %123, %21 store i32 %124, ptr %1, align 8, !tbaa !6 %125 = load i32, ptr %24, align 8, !tbaa !21 %126 = call i32 @CCV_GET_DATA_TYPE_SIZE(i32 noundef %124) #3 %127 = mul nsw i32 %126, %125 %128 = load i32, ptr %1, align 8, !tbaa !6 %129 = call i32 @CCV_GET_CHANNEL(i32 noundef %128) #3 %130 = mul nsw i32 %127, %129 store i32 %130, ptr %26, align 4, !tbaa !22 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @CCV_GET_DATA_TYPE(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 ptr @ccv_dense_matrix_renew(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CCV_GET_CHANNEL(i32 noundef) local_unnamed_addr #1 declare i32 @CCV_GET_DATA_TYPE_SIZE(i32 noundef) local_unnamed_addr #1 declare void @ccv_dense_matrix(ptr dead_on_unwind writable sret(%struct.TYPE_18__) align 8, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ccv_gemm(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare float @ccv_max(i32 noundef, float 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, !8, i64 0} !7 = !{!"TYPE_18__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_15__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !8, i64 24} !16 = !{!"TYPE_19__", !8, i64 0, !12, i64 8, !17, i64 16, !8, i64 32} !17 = !{!"TYPE_17__", !18, i64 0} !18 = !{!"TYPE_16__", !19, i64 0, !8, i64 8} !19 = !{!"long", !9, i64 0} !20 = !{!7, !8, i64 4} !21 = !{!7, !8, i64 8} !22 = !{!7, !8, i64 12} !23 = !{!16, !8, i64 0} !24 = !{!7, !12, i64 16} !25 = !{!16, !12, i64 8} !26 = !{!27, !27, i64 0} !27 = !{!"float", !9, i64 0} !28 = distinct !{!28, !29, !30, !31} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!"llvm.loop.isvectorized", i32 1} !31 = !{!"llvm.loop.unroll.runtime.disable"} !32 = distinct !{!32, !29, !30} !33 = !{!16, !8, i64 32} !34 = !{!16, !19, i64 16} !35 = distinct !{!35, !29}
ccv_lib_extr_ccv_convnet.c__ccv_convnet_full_connect_forward_propagate
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/extr_drm_edid.c_drm_find_cea_extension.c' source_filename = "AnghaBench/freebsd/sys/dev/drm2/extr_drm_edid.c_drm_find_cea_extension.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EDID_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @CEA_EXT = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local ptr @drm_find_cea_extension(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %32, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %32, label %6 6: ; preds = %3 %7 = icmp sgt i32 %4, 0 br i1 %7, label %8, label %27 8: ; preds = %6 %9 = load i32, ptr @EDID_LENGTH, align 4, !tbaa !10 %10 = load i64, ptr @CEA_EXT, align 8, !tbaa !11 %11 = sext i32 %9 to i64 %12 = zext nneg i32 %4 to i64 br label %15 13: ; preds = %15 %14 = icmp eq i64 %17, %12 br i1 %14, label %25, label %15, !llvm.loop !13 15: ; preds = %8, %13 %16 = phi i64 [ 0, %8 ], [ %17, %13 ] %17 = add nuw nsw i64 %16, 1 %18 = mul nsw i64 %17, %11 %19 = getelementptr inbounds i64, ptr %0, i64 %18 %20 = load i64, ptr %19, align 8, !tbaa !11 %21 = icmp eq i64 %20, %10 br i1 %21, label %22, label %13, !llvm.loop !13 22: ; preds = %15 %23 = getelementptr inbounds i64, ptr %0, i64 %18 %24 = trunc i64 %16 to i32 br label %27 25: ; preds = %13 %26 = getelementptr inbounds i64, ptr %0, i64 %18 br label %27 27: ; preds = %22, %25, %6 %28 = phi i32 [ 0, %6 ], [ %24, %22 ], [ %4, %25 ] %29 = phi ptr [ null, %6 ], [ %23, %22 ], [ %26, %25 ] %30 = icmp eq i32 %28, %4 %31 = select i1 %30, ptr null, ptr %29 br label %32 32: ; preds = %27, %1, %3 %33 = phi ptr [ null, %3 ], [ null, %1 ], [ %31, %27 ] ret ptr %33 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"edid", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/extr_drm_edid.c_drm_find_cea_extension.c' source_filename = "AnghaBench/freebsd/sys/dev/drm2/extr_drm_edid.c_drm_find_cea_extension.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EDID_LENGTH = common local_unnamed_addr global i32 0, align 4 @CEA_EXT = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define ptr @drm_find_cea_extension(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %32, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %32, label %6 6: ; preds = %3 %7 = icmp sgt i32 %4, 0 br i1 %7, label %8, label %27 8: ; preds = %6 %9 = load i32, ptr @EDID_LENGTH, align 4, !tbaa !11 %10 = load i64, ptr @CEA_EXT, align 8, !tbaa !12 %11 = sext i32 %9 to i64 %12 = zext nneg i32 %4 to i64 br label %15 13: ; preds = %15 %14 = icmp eq i64 %17, %12 br i1 %14, label %25, label %15, !llvm.loop !14 15: ; preds = %8, %13 %16 = phi i64 [ 0, %8 ], [ %17, %13 ] %17 = add nuw nsw i64 %16, 1 %18 = mul nsw i64 %17, %11 %19 = getelementptr inbounds i64, ptr %0, i64 %18 %20 = load i64, ptr %19, align 8, !tbaa !12 %21 = icmp eq i64 %20, %10 br i1 %21, label %22, label %13, !llvm.loop !14 22: ; preds = %15 %23 = getelementptr inbounds i64, ptr %0, i64 %18 %24 = trunc nuw nsw i64 %16 to i32 br label %27 25: ; preds = %13 %26 = getelementptr inbounds i64, ptr %0, i64 %18 br label %27 27: ; preds = %25, %22, %6 %28 = phi i32 [ 0, %6 ], [ %24, %22 ], [ %4, %25 ] %29 = phi ptr [ null, %6 ], [ %23, %22 ], [ %26, %25 ] %30 = icmp eq i32 %28, %4 %31 = select i1 %30, ptr null, ptr %29 br label %32 32: ; preds = %27, %1, %3 %33 = phi ptr [ null, %3 ], [ null, %1 ], [ %31, %27 ] ret ptr %33 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"edid", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_drm2_extr_drm_edid.c_drm_find_cea_extension
; ModuleID = 'AnghaBench/RetroArch/libretro-common/formats/png/extr_rpng_encode.c_rpng_save_image_argb.c' source_filename = "AnghaBench/RetroArch/libretro-common/formats/png/extr_rpng_encode.c_rpng_save_image_argb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RETRO_VFS_FILE_ACCESS_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @RETRO_VFS_FILE_ACCESS_HINT_NONE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @rpng_save_image_argb(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @RETRO_VFS_FILE_ACCESS_WRITE, align 4, !tbaa !5 %7 = load i32, ptr @RETRO_VFS_FILE_ACCESS_HINT_NONE, align 4, !tbaa !5 %8 = tail call ptr @intfstream_open_file(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2 %9 = tail call i32 @rpng_save_image_stream(ptr noundef %1, ptr noundef %8, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 4) #2 %10 = tail call i32 @intfstream_close(ptr noundef %8) #2 %11 = tail call i32 @free(ptr noundef %8) #2 ret i32 %9 } declare ptr @intfstream_open_file(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rpng_save_image_stream(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intfstream_close(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/libretro-common/formats/png/extr_rpng_encode.c_rpng_save_image_argb.c' source_filename = "AnghaBench/RetroArch/libretro-common/formats/png/extr_rpng_encode.c_rpng_save_image_argb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RETRO_VFS_FILE_ACCESS_WRITE = common local_unnamed_addr global i32 0, align 4 @RETRO_VFS_FILE_ACCESS_HINT_NONE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @rpng_save_image_argb(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @RETRO_VFS_FILE_ACCESS_WRITE, align 4, !tbaa !6 %7 = load i32, ptr @RETRO_VFS_FILE_ACCESS_HINT_NONE, align 4, !tbaa !6 %8 = tail call ptr @intfstream_open_file(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2 %9 = tail call i32 @rpng_save_image_stream(ptr noundef %1, ptr noundef %8, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef 4) #2 %10 = tail call i32 @intfstream_close(ptr noundef %8) #2 %11 = tail call i32 @free(ptr noundef %8) #2 ret i32 %9 } declare ptr @intfstream_open_file(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rpng_save_image_stream(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @intfstream_close(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_libretro-common_formats_png_extr_rpng_encode.c_rpng_save_image_argb
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/kernel/extr_unwind.c___aeabi_unwind_cpp_pr0.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/kernel/extr_unwind.c___aeabi_unwind_cpp_pr0.c" target datalayout = "e-m:e-p270:32:32-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 @__aeabi_unwind_cpp_pr0() 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/fastsocket/kernel/arch/arm/kernel/extr_unwind.c___aeabi_unwind_cpp_pr0.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/kernel/extr_unwind.c___aeabi_unwind_cpp_pr0.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 @__aeabi_unwind_cpp_pr0() 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)"}
fastsocket_kernel_arch_arm_kernel_extr_unwind.c___aeabi_unwind_cpp_pr0
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_sbuf.c_sbuf_done.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_sbuf.c_sbuf_done.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @sbuf_done(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @SBUF_ISFINISHED(ptr noundef %0) #2 ret i32 %2 } declare i32 @SBUF_ISFINISHED(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/kern/extr_subr_sbuf.c_sbuf_done.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_sbuf.c_sbuf_done.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 @sbuf_done(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @SBUF_ISFINISHED(ptr noundef %0) #2 ret i32 %2 } declare i32 @SBUF_ISFINISHED(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_kern_extr_subr_sbuf.c_sbuf_done
; ModuleID = 'AnghaBench/reactos/dll/win32/msvcrt/extr_stubs.c__heapused.c' source_filename = "AnghaBench/reactos/dll/win32/msvcrt/extr_stubs.c__heapused.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @UNIMPLEMENTED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i64 @_heapused(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret i64 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/reactos/dll/win32/msvcrt/extr_stubs.c__heapused.c' source_filename = "AnghaBench/reactos/dll/win32/msvcrt/extr_stubs.c__heapused.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UNIMPLEMENTED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i64 @_heapused(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret i64 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)"}
reactos_dll_win32_msvcrt_extr_stubs.c__heapused
; ModuleID = 'AnghaBench/linux/arch/sh/oprofile/extr_backtrace.c_backtrace_address.c' source_filename = "AnghaBench/linux/arch/sh/oprofile/extr_backtrace.c_backtrace_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @backtrace_address], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @backtrace_address(ptr nocapture noundef %0, i64 noundef %1, i32 %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = add i32 %4, -1 store i32 %5, ptr %0, align 4, !tbaa !5 %6 = icmp eq i32 %4, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @oprofile_add_trace(i64 noundef %1) #2 br label %9 9: ; preds = %7, %3 ret void } declare i32 @oprofile_add_trace(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/linux/arch/sh/oprofile/extr_backtrace.c_backtrace_address.c' source_filename = "AnghaBench/linux/arch/sh/oprofile/extr_backtrace.c_backtrace_address.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 @backtrace_address], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @backtrace_address(ptr nocapture noundef %0, i64 noundef %1, i32 %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = add i32 %4, -1 store i32 %5, ptr %0, align 4, !tbaa !6 %6 = icmp eq i32 %4, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @oprofile_add_trace(i64 noundef %1) #2 br label %9 9: ; preds = %7, %3 ret void } declare i32 @oprofile_add_trace(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"}
linux_arch_sh_oprofile_extr_backtrace.c_backtrace_address
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_drm_gem.c_exynos_drm_gem_get.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_drm_gem.c_exynos_drm_gem_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" ; Function Attrs: nounwind uwtable define dso_local ptr @exynos_drm_gem_get(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @drm_gem_object_lookup(ptr noundef %0, i32 noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call ptr @to_exynos_gem(ptr noundef nonnull %3) #2 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] ret ptr %8 } declare ptr @drm_gem_object_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @to_exynos_gem(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/exynos/extr_exynos_drm_gem.c_exynos_drm_gem_get.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_drm_gem.c_exynos_drm_gem_get.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 @exynos_drm_gem_get(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @drm_gem_object_lookup(ptr noundef %0, i32 noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call ptr @to_exynos_gem(ptr noundef nonnull %3) #2 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] ret ptr %8 } declare ptr @drm_gem_object_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @to_exynos_gem(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_exynos_extr_exynos_drm_gem.c_exynos_drm_gem_get
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_read_string.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_read_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { i32, i32 } @.str = private unnamed_addr constant [18 x i8] c"unfinished string\00", align 1 @TK_EOS = dso_local local_unnamed_addr global i32 0, align 4 @TK_STRING = dso_local local_unnamed_addr global i32 0, align 4 @UCHAR_MAX = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"escape sequence too large\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @read_string(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call i32 @save_and_next(ptr noundef %0) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = icmp eq i32 %5, %1 br i1 %6, label %68, label %7 7: ; preds = %3, %12 %8 = phi i32 [ %13, %12 ], [ %5, %3 ] switch i32 %8, label %66 [ i32 -1, label %9 i32 10, label %15 i32 13, label %15 i32 92, label %18 ] 9: ; preds = %7 %10 = load i32, ptr @TK_EOS, align 4, !tbaa !10 %11 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %10) #2 br label %12 12: ; preds = %27, %62, %18, %60, %38, %9, %15, %66 %13 = load i32, ptr %0, align 4, !tbaa !5 %14 = icmp eq i32 %13, %1 br i1 %14, label %68, label %7, !llvm.loop !11 15: ; preds = %7, %7 %16 = load i32, ptr @TK_STRING, align 4, !tbaa !10 %17 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %16) #2 br label %12 18: ; preds = %7 %19 = tail call i32 @next(ptr noundef nonnull %0) #2 %20 = load i32, ptr %0, align 4, !tbaa !5 switch i32 %20, label %30 [ i32 97, label %62 i32 98, label %21 i32 102, label %22 i32 110, label %23 i32 114, label %24 i32 116, label %25 i32 118, label %26 i32 10, label %27 i32 13, label %27 i32 -1, label %12 ], !llvm.loop !11 21: ; preds = %18 br label %62 22: ; preds = %18 br label %62 23: ; preds = %18 br label %62 24: ; preds = %18 br label %62 25: ; preds = %18 br label %62 26: ; preds = %18 br label %62 27: ; preds = %18, %18 %28 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef 10) #2 %29 = tail call i32 @inclinenumber(ptr noundef nonnull %0) #2 br label %12, !llvm.loop !11 30: ; preds = %18 %31 = add i32 %20, -48 %32 = icmp ult i32 %31, 10 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = tail call i32 @next(ptr noundef nonnull %0) #2 %35 = load i32, ptr %0, align 4, !tbaa !5 %36 = add i32 %35, -48 %37 = icmp ult i32 %36, 10 br i1 %37, label %40, label %53, !llvm.loop !13 38: ; preds = %30 %39 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 br label %12, !llvm.loop !11 40: ; preds = %33 %41 = mul nuw nsw i32 %31, 10 %42 = add nsw i32 %41, -48 %43 = add nsw i32 %42, %35 %44 = tail call i32 @next(ptr noundef nonnull %0) #2 %45 = load i32, ptr %0, align 4, !tbaa !5 %46 = add i32 %45, -48 %47 = icmp ult i32 %46, 10 br i1 %47, label %48, label %53, !llvm.loop !13 48: ; preds = %40 %49 = mul nuw nsw i32 %43, 10 %50 = add nsw i32 %49, -48 %51 = add nsw i32 %50, %45 %52 = tail call i32 @next(ptr noundef nonnull %0) #2 br label %53 53: ; preds = %48, %40, %33 %54 = phi i32 [ %31, %33 ], [ %43, %40 ], [ %51, %48 ] %55 = load i32, ptr @UCHAR_MAX, align 4, !tbaa !10 %56 = icmp sgt i32 %54, %55 br i1 %56, label %57, label %60 57: ; preds = %53 %58 = load i32, ptr @TK_STRING, align 4, !tbaa !10 %59 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %58) #2 br label %60 60: ; preds = %57, %53 %61 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef %54) #2 br label %12, !llvm.loop !11 62: ; preds = %18, %26, %25, %24, %23, %22, %21 %63 = phi i32 [ 11, %26 ], [ 9, %25 ], [ 13, %24 ], [ 10, %23 ], [ 12, %22 ], [ 8, %21 ], [ 7, %18 ] %64 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef %63) #2 %65 = tail call i32 @next(ptr noundef nonnull %0) #2 br label %12, !llvm.loop !11 66: ; preds = %7 %67 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 br label %12 68: ; preds = %12, %3 %69 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 %70 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 %71 = load i32, ptr %70, align 4, !tbaa !14 %72 = tail call i64 @luaZ_buffer(i32 noundef %71) #2 %73 = add nsw i64 %72, 1 %74 = load i32, ptr %70, align 4, !tbaa !14 %75 = tail call i64 @luaZ_bufflen(i32 noundef %74) #2 %76 = add nsw i64 %75, -2 %77 = tail call i32 @luaX_newstring(ptr noundef nonnull %0, i64 noundef %73, i64 noundef %76) #2 store i32 %77, ptr %2, align 4, !tbaa !15 ret void } declare i32 @save_and_next(ptr noundef) local_unnamed_addr #1 declare i32 @luaX_lexerror(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @next(ptr noundef) local_unnamed_addr #1 declare i32 @save(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @inclinenumber(ptr noundef) local_unnamed_addr #1 declare i32 @luaX_newstring(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @luaZ_buffer(i32 noundef) local_unnamed_addr #1 declare i64 @luaZ_bufflen(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_12__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12} !14 = !{!6, !7, i64 4} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_11__", !7, i64 0}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_read_string.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_read_string.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"unfinished string\00", align 1 @TK_EOS = common local_unnamed_addr global i32 0, align 4 @TK_STRING = common local_unnamed_addr global i32 0, align 4 @UCHAR_MAX = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"escape sequence too large\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @read_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @read_string(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call i32 @save_and_next(ptr noundef %0) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = icmp eq i32 %5, %1 br i1 %6, label %68, label %7 7: ; preds = %3, %12 %8 = phi i32 [ %13, %12 ], [ %5, %3 ] switch i32 %8, label %66 [ i32 -1, label %9 i32 10, label %15 i32 13, label %15 i32 92, label %18 ] 9: ; preds = %7 %10 = load i32, ptr @TK_EOS, align 4, !tbaa !11 %11 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %10) #2 br label %12 12: ; preds = %27, %62, %18, %60, %38, %9, %15, %66 %13 = load i32, ptr %0, align 4, !tbaa !6 %14 = icmp eq i32 %13, %1 br i1 %14, label %68, label %7, !llvm.loop !12 15: ; preds = %7, %7 %16 = load i32, ptr @TK_STRING, align 4, !tbaa !11 %17 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %16) #2 br label %12 18: ; preds = %7 %19 = tail call i32 @next(ptr noundef nonnull %0) #2 %20 = load i32, ptr %0, align 4, !tbaa !6 switch i32 %20, label %30 [ i32 97, label %62 i32 98, label %21 i32 102, label %22 i32 110, label %23 i32 114, label %24 i32 116, label %25 i32 118, label %26 i32 10, label %27 i32 13, label %27 i32 -1, label %12 ], !llvm.loop !12 21: ; preds = %18 br label %62 22: ; preds = %18 br label %62 23: ; preds = %18 br label %62 24: ; preds = %18 br label %62 25: ; preds = %18 br label %62 26: ; preds = %18 br label %62 27: ; preds = %18, %18 %28 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef 10) #2 %29 = tail call i32 @inclinenumber(ptr noundef nonnull %0) #2 br label %12, !llvm.loop !12 30: ; preds = %18 %31 = add i32 %20, -48 %32 = icmp ult i32 %31, 10 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = tail call i32 @next(ptr noundef nonnull %0) #2 %35 = load i32, ptr %0, align 4, !tbaa !6 %36 = add i32 %35, -48 %37 = icmp ult i32 %36, 10 br i1 %37, label %40, label %53, !llvm.loop !14 38: ; preds = %30 %39 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 br label %12, !llvm.loop !12 40: ; preds = %33 %41 = mul nuw nsw i32 %31, 10 %42 = add nsw i32 %41, -48 %43 = add nsw i32 %42, %35 %44 = tail call i32 @next(ptr noundef nonnull %0) #2 %45 = load i32, ptr %0, align 4, !tbaa !6 %46 = add i32 %45, -48 %47 = icmp ult i32 %46, 10 br i1 %47, label %48, label %53, !llvm.loop !14 48: ; preds = %40 %49 = mul nuw nsw i32 %43, 10 %50 = add nsw i32 %49, -48 %51 = add nsw i32 %50, %45 %52 = tail call i32 @next(ptr noundef nonnull %0) #2 br label %53 53: ; preds = %48, %40, %33 %54 = phi i32 [ %31, %33 ], [ %43, %40 ], [ %51, %48 ] %55 = load i32, ptr @UCHAR_MAX, align 4, !tbaa !11 %56 = icmp sgt i32 %54, %55 br i1 %56, label %57, label %60 57: ; preds = %53 %58 = load i32, ptr @TK_STRING, align 4, !tbaa !11 %59 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %58) #2 br label %60 60: ; preds = %57, %53 %61 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef %54) #2 br label %12, !llvm.loop !12 62: ; preds = %18, %26, %25, %24, %23, %22, %21 %63 = phi i32 [ 11, %26 ], [ 9, %25 ], [ 13, %24 ], [ 10, %23 ], [ 12, %22 ], [ 8, %21 ], [ 7, %18 ] %64 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef %63) #2 %65 = tail call i32 @next(ptr noundef nonnull %0) #2 br label %12, !llvm.loop !12 66: ; preds = %7 %67 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 br label %12 68: ; preds = %12, %3 %69 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2 %70 = getelementptr inbounds i8, ptr %0, i64 4 %71 = load i32, ptr %70, align 4, !tbaa !15 %72 = tail call i64 @luaZ_buffer(i32 noundef %71) #2 %73 = add nsw i64 %72, 1 %74 = load i32, ptr %70, align 4, !tbaa !15 %75 = tail call i64 @luaZ_bufflen(i32 noundef %74) #2 %76 = add nsw i64 %75, -2 %77 = tail call i32 @luaX_newstring(ptr noundef nonnull %0, i64 noundef %73, i64 noundef %76) #2 store i32 %77, ptr %2, align 4, !tbaa !16 ret void } declare i32 @save_and_next(ptr noundef) local_unnamed_addr #1 declare i32 @luaX_lexerror(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @next(ptr noundef) local_unnamed_addr #1 declare i32 @save(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @inclinenumber(ptr noundef) local_unnamed_addr #1 declare i32 @luaX_newstring(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @luaZ_buffer(i32 noundef) local_unnamed_addr #1 declare i64 @luaZ_bufflen(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_12__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13} !15 = !{!7, !8, i64 4} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_11__", !8, i64 0}
xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_read_string
; ModuleID = 'AnghaBench/linux/fs/nfsd/extr_nfs3xdr.c_nfs3svc_encode_linkres.c' source_filename = "AnghaBench/linux/fs/nfsd/extr_nfs3xdr.c_nfs3svc_encode_linkres.c" target datalayout = "e-m:e-p270:32:32-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.nfsd3_linkres = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @nfs3svc_encode_linkres(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.nfsd3_linkres, ptr %3, i64 0, i32 1 %5 = tail call ptr @encode_post_op_attr(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %4) #2 %6 = tail call ptr @encode_wcc_data(ptr noundef nonnull %0, ptr noundef %5, ptr noundef %3) #2 %7 = tail call i32 @xdr_ressize_check(ptr noundef nonnull %0, ptr noundef %6) #2 ret i32 %7 } declare ptr @encode_post_op_attr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @encode_wcc_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdr_ressize_check(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"svc_rqst", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/nfsd/extr_nfs3xdr.c_nfs3svc_encode_linkres.c' source_filename = "AnghaBench/linux/fs/nfsd/extr_nfs3xdr.c_nfs3svc_encode_linkres.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 @nfs3svc_encode_linkres(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 4 %5 = tail call ptr @encode_post_op_attr(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %4) #2 %6 = tail call ptr @encode_wcc_data(ptr noundef nonnull %0, ptr noundef %5, ptr noundef %3) #2 %7 = tail call i32 @xdr_ressize_check(ptr noundef nonnull %0, ptr noundef %6) #2 ret i32 %7 } declare ptr @encode_post_op_attr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @encode_wcc_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdr_ressize_check(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"svc_rqst", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_fs_nfsd_extr_nfs3xdr.c_nfs3svc_encode_linkres
; ModuleID = 'AnghaBench/libuv/src/unix/extr_ibmi.c_get_ibmi_system_status.c' source_filename = "AnghaBench/libuv/src/unix/extr_ibmi.c_get_ibmi_system_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct._errcode = type { i32, i32, [7 x i8] } @__const.get_ibmi_system_status.reset_status = private unnamed_addr constant [10 x i8] c"\\\D5\D6@@@@@@@", align 1 @RSLOBJ_TS_PGM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"QWCRSSTS\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"QSYS\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_ibmi_system_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_ibmi_system_status(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [8 x i8], align 8 %4 = alloca [10 x i8], align 1 %5 = alloca %struct._errcode, align 4 %6 = alloca i32, align 16 %7 = alloca [6 x ptr], align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 store i32 16, ptr %2, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 store i64 -1085100393783631134, ptr %3, align 8 call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(10) %4, ptr noundef nonnull align 1 dereferenceable(10) @__const.get_ibmi_system_status.reset_status, i64 10, i1 false) call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #4 %8 = load i32, ptr @RSLOBJ_TS_PGM, align 4, !tbaa !5 %9 = call i32 @_RSLOBJ2(ptr noundef nonnull %6, i32 noundef %8, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %1 %12 = call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 16) #4 %13 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 16) #4 store i32 16, ptr %5, align 4, !tbaa !9 store ptr %0, ptr %7, align 16, !tbaa !11 %14 = getelementptr inbounds [6 x ptr], ptr %7, i64 0, i64 1 store ptr %2, ptr %14, align 8, !tbaa !11 %15 = getelementptr inbounds [6 x ptr], ptr %7, i64 0, i64 2 store ptr %3, ptr %15, align 16, !tbaa !11 %16 = getelementptr inbounds [6 x ptr], ptr %7, i64 0, i64 3 store ptr %4, ptr %16, align 8, !tbaa !11 %17 = getelementptr inbounds [6 x ptr], ptr %7, i64 0, i64 4 store ptr %5, ptr %17, align 16, !tbaa !11 %18 = getelementptr inbounds [6 x ptr], ptr %7, i64 0, i64 5 store ptr null, ptr %18, align 8, !tbaa !11 %19 = call i32 @_PGMCALL(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 0) #4 br label %20 20: ; preds = %1, %11 %21 = phi i32 [ %19, %11 ], [ %9, %1 ] call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @_RSLOBJ2(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @_PGMCALL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"_errcode", !6, i64 0, !6, i64 4, !7, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/libuv/src/unix/extr_ibmi.c_get_ibmi_system_status.c' source_filename = "AnghaBench/libuv/src/unix/extr_ibmi.c_get_ibmi_system_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct._errcode = type { i32, i32, [7 x i8] } @__const.get_ibmi_system_status.reset_status = private unnamed_addr constant [10 x i8] c"\\\D5\D6@@@@@@@", align 1 @RSLOBJ_TS_PGM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"QWCRSSTS\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"QSYS\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @get_ibmi_system_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_ibmi_system_status(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [8 x i8], align 8 %4 = alloca [10 x i8], align 1 %5 = alloca %struct._errcode, align 4 %6 = alloca i32, align 16 %7 = alloca [6 x ptr], align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 store i32 16, ptr %2, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 store i64 -1085100393783631134, ptr %3, align 8 call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(10) %4, ptr noundef nonnull align 1 dereferenceable(10) @__const.get_ibmi_system_status.reset_status, i64 10, i1 false) call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #4 %8 = load i32, ptr @RSLOBJ_TS_PGM, align 4, !tbaa !6 %9 = call i32 @_RSLOBJ2(ptr noundef nonnull %6, i32 noundef %8, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %1 %12 = call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 16) #4 %13 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 16) #4 store i32 16, ptr %5, align 4, !tbaa !10 store ptr %0, ptr %7, align 8, !tbaa !12 %14 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %2, ptr %14, align 8, !tbaa !12 %15 = getelementptr inbounds i8, ptr %7, i64 16 store ptr %3, ptr %15, align 8, !tbaa !12 %16 = getelementptr inbounds i8, ptr %7, i64 24 store ptr %4, ptr %16, align 8, !tbaa !12 %17 = getelementptr inbounds i8, ptr %7, i64 32 store ptr %5, ptr %17, align 8, !tbaa !12 %18 = getelementptr inbounds i8, ptr %7, i64 40 store ptr null, ptr %18, align 8, !tbaa !12 %19 = call i32 @_PGMCALL(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 0) #4 br label %20 20: ; preds = %1, %11 %21 = phi i32 [ %19, %11 ], [ %9, %1 ] call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @_RSLOBJ2(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @_PGMCALL(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"_errcode", !7, i64 0, !7, i64 4, !8, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
libuv_src_unix_extr_ibmi.c_get_ibmi_system_status
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_futex.c_handle_early_requeue_pi_wakeup.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_futex.c_handle_early_requeue_pi_wakeup.c" target datalayout = "e-m:e-p270:32:32-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.futex_q = type { %struct.TYPE_2__, ptr, i32 } %struct.TYPE_2__ = type { i32 } @EWOULDBLOCK = dso_local local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @current = dso_local local_unnamed_addr global i32 0, align 4 @ERESTARTNOINTR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @handle_early_requeue_pi_wakeup], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @handle_early_requeue_pi_wakeup(ptr noundef readnone %0, ptr noundef %1, ptr noundef %2, ptr noundef readonly %3) #0 { %5 = getelementptr inbounds %struct.futex_q, ptr %1, i64 0, i32 2 %6 = tail call i32 @match_futex(ptr noundef nonnull %5, ptr noundef %2) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %33 8: ; preds = %4 %9 = getelementptr inbounds %struct.futex_q, ptr %1, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = icmp ne ptr %10, null %12 = icmp ne ptr %10, %0 %13 = and i1 %11, %12 %14 = zext i1 %13 to i32 %15 = tail call i32 @WARN_ON(i32 noundef %14) #2 %16 = tail call i32 @plist_del(ptr noundef %1, ptr noundef %1) #2 %17 = load i32, ptr @EWOULDBLOCK, align 4, !tbaa !12 %18 = sub nsw i32 0, %17 %19 = icmp eq ptr %3, null br i1 %19, label %26, label %20 20: ; preds = %8 %21 = load i32, ptr %3, align 4, !tbaa !13 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !12 %25 = sub nsw i32 0, %24 br label %33 26: ; preds = %20, %8 %27 = load i32, ptr @current, align 4, !tbaa !12 %28 = tail call i64 @signal_pending(i32 noundef %27) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %26 %31 = load i32, ptr @ERESTARTNOINTR, align 4, !tbaa !12 %32 = sub nsw i32 0, %31 br label %33 33: ; preds = %23, %30, %26, %4 %34 = phi i32 [ 0, %4 ], [ %32, %30 ], [ %18, %26 ], [ %25, %23 ] ret i32 %34 } declare i32 @match_futex(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @plist_del(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @signal_pending(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"futex_q", !7, i64 0, !11, i64 8, !8, i64 16} !7 = !{!"TYPE_2__", !8, i64 0} !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 = !{!14, !8, i64 0} !14 = !{!"hrtimer_sleeper", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_futex.c_handle_early_requeue_pi_wakeup.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_futex.c_handle_early_requeue_pi_wakeup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EWOULDBLOCK = common local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @current = common local_unnamed_addr global i32 0, align 4 @ERESTARTNOINTR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @handle_early_requeue_pi_wakeup], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @handle_early_requeue_pi_wakeup(ptr noundef readnone %0, ptr noundef %1, ptr noundef %2, ptr noundef readonly %3) #0 { %5 = getelementptr inbounds i8, ptr %1, i64 16 %6 = tail call i32 @match_futex(ptr noundef nonnull %5, ptr noundef %2) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %33 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = icmp ne ptr %10, null %12 = icmp ne ptr %10, %0 %13 = and i1 %11, %12 %14 = zext i1 %13 to i32 %15 = tail call i32 @WARN_ON(i32 noundef %14) #2 %16 = tail call i32 @plist_del(ptr noundef %1, ptr noundef %1) #2 %17 = load i32, ptr @EWOULDBLOCK, align 4, !tbaa !13 %18 = sub nsw i32 0, %17 %19 = icmp eq ptr %3, null br i1 %19, label %26, label %20 20: ; preds = %8 %21 = load i32, ptr %3, align 4, !tbaa !14 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !13 %25 = sub nsw i32 0, %24 br label %33 26: ; preds = %20, %8 %27 = load i32, ptr @current, align 4, !tbaa !13 %28 = tail call i64 @signal_pending(i32 noundef %27) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %26 %31 = load i32, ptr @ERESTARTNOINTR, align 4, !tbaa !13 %32 = sub nsw i32 0, %31 br label %33 33: ; preds = %23, %30, %26, %4 %34 = phi i32 [ 0, %4 ], [ %32, %30 ], [ %18, %26 ], [ %25, %23 ] ret i32 %34 } declare i32 @match_futex(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @plist_del(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @signal_pending(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"futex_q", !8, i64 0, !12, i64 8, !9, i64 16} !8 = !{!"TYPE_2__", !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 = !{!9, !9, i64 0} !14 = !{!15, !9, i64 0} !15 = !{!"hrtimer_sleeper", !9, i64 0}
fastsocket_kernel_kernel_extr_futex.c_handle_early_requeue_pi_wakeup
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_delalloc-space.c_btrfs_calculate_inode_block_rsv_size.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_delalloc-space.c_btrfs_calculate_inode_block_rsv_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.btrfs_inode = type { i32, i32, i32, %struct.btrfs_block_rsv } %struct.btrfs_block_rsv = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @btrfs_calculate_inode_block_rsv_size], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @btrfs_calculate_inode_block_rsv_size(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.btrfs_inode, ptr %1, i64 0, i32 2 %4 = tail call i32 @lockdep_assert_held(ptr noundef nonnull %3) #2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %2 %8 = tail call i32 @btrfs_calc_insert_metadata_size(ptr noundef %0, i32 noundef %5) #2 %9 = tail call i64 @btrfs_calc_metadata_size(ptr noundef %0, i32 noundef 1) #2 %10 = trunc i64 %9 to i32 %11 = add i32 %8, %10 br label %12 12: ; preds = %7, %2 %13 = phi i32 [ %11, %7 ], [ 0, %2 ] %14 = getelementptr inbounds %struct.btrfs_inode, ptr %1, i64 0, i32 3 %15 = getelementptr inbounds %struct.btrfs_inode, ptr %1, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = tail call i32 @btrfs_csum_bytes_to_leaves(ptr noundef %0, i32 noundef %16) #2 %18 = tail call i32 @btrfs_calc_insert_metadata_size(ptr noundef %0, i32 noundef %17) #2 %19 = add i32 %18, %13 %20 = load i32, ptr %0, align 4, !tbaa !12 %21 = mul i32 %20, %5 %22 = getelementptr inbounds %struct.btrfs_inode, ptr %1, i64 0, i32 3, i32 2 %23 = tail call i32 @spin_lock(ptr noundef nonnull %22) #2 store i32 %19, ptr %14, align 4, !tbaa !14 %24 = getelementptr inbounds %struct.btrfs_inode, ptr %1, i64 0, i32 3, i32 1 store i32 %21, ptr %24, align 4, !tbaa !15 %25 = tail call i32 @spin_unlock(ptr noundef nonnull %22) #2 ret void } declare i32 @lockdep_assert_held(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_calc_insert_metadata_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @btrfs_calc_metadata_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_csum_bytes_to_leaves(ptr noundef, i32 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 0} !6 = !{!"btrfs_inode", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"btrfs_block_rsv", !7, i64 0, !7, i64 4, !7, i64 8} !11 = !{!6, !7, i64 4} !12 = !{!13, !7, i64 0} !13 = !{!"btrfs_fs_info", !7, i64 0} !14 = !{!10, !7, i64 0} !15 = !{!10, !7, i64 4}
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_delalloc-space.c_btrfs_calculate_inode_block_rsv_size.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_delalloc-space.c_btrfs_calculate_inode_block_rsv_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 @btrfs_calculate_inode_block_rsv_size], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @btrfs_calculate_inode_block_rsv_size(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = tail call i32 @lockdep_assert_held(ptr noundef nonnull %3) #2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %2 %8 = tail call i32 @btrfs_calc_insert_metadata_size(ptr noundef %0, i32 noundef %5) #2 %9 = tail call i64 @btrfs_calc_metadata_size(ptr noundef %0, i32 noundef 1) #2 %10 = trunc i64 %9 to i32 %11 = add i32 %8, %10 br label %12 12: ; preds = %7, %2 %13 = phi i32 [ %11, %7 ], [ 0, %2 ] %14 = getelementptr inbounds i8, ptr %1, i64 12 %15 = getelementptr inbounds i8, ptr %1, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = tail call i32 @btrfs_csum_bytes_to_leaves(ptr noundef %0, i32 noundef %16) #2 %18 = tail call i32 @btrfs_calc_insert_metadata_size(ptr noundef %0, i32 noundef %17) #2 %19 = add i32 %18, %13 %20 = load i32, ptr %0, align 4, !tbaa !13 %21 = mul i32 %20, %5 %22 = getelementptr inbounds i8, ptr %1, i64 20 %23 = tail call i32 @spin_lock(ptr noundef nonnull %22) #2 store i32 %19, ptr %14, align 4, !tbaa !15 %24 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %21, ptr %24, align 4, !tbaa !16 %25 = tail call i32 @spin_unlock(ptr noundef nonnull %22) #2 ret void } declare i32 @lockdep_assert_held(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_calc_insert_metadata_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @btrfs_calc_metadata_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_csum_bytes_to_leaves(ptr noundef, i32 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 0} !7 = !{!"btrfs_inode", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"btrfs_block_rsv", !8, i64 0, !8, i64 4, !8, i64 8} !12 = !{!7, !8, i64 4} !13 = !{!14, !8, i64 0} !14 = !{!"btrfs_fs_info", !8, i64 0} !15 = !{!11, !8, i64 0} !16 = !{!11, !8, i64 4}
linux_fs_btrfs_extr_delalloc-space.c_btrfs_calculate_inode_block_rsv_size
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_tcp_hpts.c_tcp_cur_hpts.c' source_filename = "AnghaBench/freebsd/sys/netinet/extr_tcp_hpts.c_tcp_cur_hpts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr } @tcp_pace = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local ptr @tcp_cur_hpts(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr @tcp_pace, align 8, !tbaa !10 %4 = getelementptr inbounds ptr, ptr %3, i64 %2 %5 = load ptr, ptr %4, align 8, !tbaa !13 ret ptr %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"inpcb", !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_2__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_tcp_hpts.c_tcp_cur_hpts.c' source_filename = "AnghaBench/freebsd/sys/netinet/extr_tcp_hpts.c_tcp_cur_hpts.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { ptr } @tcp_pace = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define ptr @tcp_cur_hpts(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr @tcp_pace, align 8, !tbaa !11 %4 = getelementptr inbounds ptr, ptr %3, i64 %2 %5 = load ptr, ptr %4, align 8, !tbaa !14 ret ptr %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"inpcb", !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_2__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!13, !13, i64 0}
freebsd_sys_netinet_extr_tcp_hpts.c_tcp_cur_hpts
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/extr_gf119.c_gf119_fan_pwm_clock.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/extr_gf119.c_gf119_fan_pwm_clock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @gf119_fan_pwm_clock(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @pwm_info(ptr noundef nonnull %0, i32 noundef %1) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %2 %7 = icmp ult i32 %4, 2 %8 = load i32, ptr %3, align 4, !tbaa !11 br i1 %7, label %9, label %11 9: ; preds = %6 %10 = mul nsw i32 %8, 50 br label %13 11: ; preds = %6 %12 = mul nsw i32 %8, 100 br label %13 13: ; preds = %2, %11, %9 %14 = phi i32 [ %10, %9 ], [ %12, %11 ], [ 0, %2 ] ret i32 %14 } declare i32 @pwm_info(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, !8, i64 0} !6 = !{!"nvkm_therm", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"nvkm_device", !13, i64 0} !13 = !{!"int", !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/extr_gf119.c_gf119_fan_pwm_clock.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/extr_gf119.c_gf119_fan_pwm_clock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -214748364, 214748365) i32 @gf119_fan_pwm_clock(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @pwm_info(ptr noundef nonnull %0, i32 noundef %1) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %2 %7 = icmp ult i32 %4, 2 %8 = load i32, ptr %3, align 4, !tbaa !12 br i1 %7, label %9, label %11 9: ; preds = %6 %10 = mul nsw i32 %8, 50 br label %13 11: ; preds = %6 %12 = mul nsw i32 %8, 100 br label %13 13: ; preds = %2, %11, %9 %14 = phi i32 [ %10, %9 ], [ %12, %11 ], [ 0, %2 ] ret i32 %14 } declare i32 @pwm_info(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, !9, i64 0} !7 = !{!"nvkm_therm", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"nvkm_device", !14, i64 0} !14 = !{!"int", !10, i64 0}
linux_drivers_gpu_drm_nouveau_nvkm_subdev_therm_extr_gf119.c_gf119_fan_pwm_clock
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_device_rm_logo_issue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_device_rm_logo_issue.c" target datalayout = "e-m:e-p270:32:32-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 @lpfc_device_rm_logo_issue], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @lpfc_device_rm_logo_issue(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2, i32 %3) #0 { %5 = load i32, ptr %1, align 4, !tbaa !5 ret i32 %5 } 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 = !{!"lpfc_nodelist", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_device_rm_logo_issue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_device_rm_logo_issue.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 @lpfc_device_rm_logo_issue], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @lpfc_device_rm_logo_issue(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2, i32 %3) #0 { %5 = load i32, ptr %1, align 4, !tbaa !6 ret i32 %5 } 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 = !{!"lpfc_nodelist", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_scsi_lpfc_extr_lpfc_nportdisc.c_lpfc_device_rm_logo_issue
; ModuleID = 'AnghaBench/masscan/src/extr_pixie-backtrace.c_pixie_backtrace_finish.c' source_filename = "AnghaBench/masscan/src/extr_pixie-backtrace.c_pixie_backtrace_finish.c" target datalayout = "e-m:e-p270:32:32-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 @pixie_backtrace_finish() 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/masscan/src/extr_pixie-backtrace.c_pixie_backtrace_finish.c' source_filename = "AnghaBench/masscan/src/extr_pixie-backtrace.c_pixie_backtrace_finish.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 @pixie_backtrace_finish() 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)"}
masscan_src_extr_pixie-backtrace.c_pixie_backtrace_finish
; ModuleID = 'AnghaBench/linux/sound/pci/extr_intel8x0m.c_snd_intel8x0m_remove.c' source_filename = "AnghaBench/linux/sound/pci/extr_intel8x0m.c_snd_intel8x0m_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_intel8x0m_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_intel8x0m_remove(ptr noundef %0) #0 { %2 = tail call i32 @pci_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @snd_card_free(i32 noundef %2) #2 ret void } declare i32 @snd_card_free(i32 noundef) local_unnamed_addr #1 declare i32 @pci_get_drvdata(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/sound/pci/extr_intel8x0m.c_snd_intel8x0m_remove.c' source_filename = "AnghaBench/linux/sound/pci/extr_intel8x0m.c_snd_intel8x0m_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @snd_intel8x0m_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_intel8x0m_remove(ptr noundef %0) #0 { %2 = tail call i32 @pci_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @snd_card_free(i32 noundef %2) #2 ret void } declare i32 @snd_card_free(i32 noundef) local_unnamed_addr #1 declare i32 @pci_get_drvdata(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_sound_pci_extr_intel8x0m.c_snd_intel8x0m_remove
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v10_0.c_gfx_v10_0_ring_set_wptr_compute.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v10_0.c_gfx_v10_0_ring_set_wptr_compute.c" target datalayout = "e-m:e-p270:32:32-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.amdgpu_ring = type { i64, i32, i32, i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @gfx_v10_0_ring_set_wptr_compute], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gfx_v10_0_ring_set_wptr_compute(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.amdgpu_ring, ptr %0, i64 0, i32 3 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %18, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.amdgpu_ring, ptr %0, i64 0, i32 4 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i64, ptr %0, align 8, !tbaa !16 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = getelementptr inbounds %struct.amdgpu_ring, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !17 %13 = tail call i32 @atomic64_set(ptr noundef %10, i32 noundef %12) #2 %14 = getelementptr inbounds %struct.amdgpu_ring, ptr %0, i64 0, i32 2 %15 = load i32, ptr %14, align 4, !tbaa !18 %16 = load i32, ptr %11, align 8, !tbaa !17 %17 = tail call i32 @WDOORBELL64(i32 noundef %15, i32 noundef %16) #2 br label %20 18: ; preds = %1 %19 = tail call i32 (...) @BUG() #2 br label %20 20: ; preds = %18, %5 ret void } declare i32 @atomic64_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WDOORBELL64(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"amdgpu_ring", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !11, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !11, i64 24} !13 = !{!14, !11, i64 0} !14 = !{!"amdgpu_device", !15, i64 0} !15 = !{!"TYPE_2__", !11, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!6, !10, i64 8} !18 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v10_0.c_gfx_v10_0_ring_set_wptr_compute.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v10_0.c_gfx_v10_0_ring_set_wptr_compute.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 @gfx_v10_0_ring_set_wptr_compute], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gfx_v10_0_ring_set_wptr_compute(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %18, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = load i64, ptr %0, align 8, !tbaa !17 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !18 %13 = tail call i32 @atomic64_set(ptr noundef %10, i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %0, i64 12 %15 = load i32, ptr %14, align 4, !tbaa !19 %16 = load i32, ptr %11, align 8, !tbaa !18 %17 = tail call i32 @WDOORBELL64(i32 noundef %15, i32 noundef %16) #2 br label %20 18: ; preds = %1 %19 = tail call i32 @BUG() #2 br label %20 20: ; preds = %18, %5 ret void } declare i32 @atomic64_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WDOORBELL64(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"amdgpu_ring", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !12, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !12, i64 24} !14 = !{!15, !12, i64 0} !15 = !{!"amdgpu_device", !16, i64 0} !16 = !{!"TYPE_2__", !12, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!7, !11, i64 12}
linux_drivers_gpu_drm_amd_amdgpu_extr_gfx_v10_0.c_gfx_v10_0_ring_set_wptr_compute
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_tcm.h___tcm_area_width.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_tcm.h___tcm_area_width.c" target datalayout = "e-m:e-p270:32:32-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.tcm_area = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i64 } %struct.TYPE_3__ = type { i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @__tcm_area_width], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i64 @__tcm_area_width(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.tcm_area, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !12 %5 = add i64 %3, 1 %6 = sub i64 %5, %4 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, !8, i64 8} !6 = !{!"tcm_area", !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__", !8, i64 0} !12 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_tcm.h___tcm_area_width.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_tcm.h___tcm_area_width.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 @__tcm_area_width], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i64 -9223372036854775807, -9223372036854775808) i64 @__tcm_area_width(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !13 %5 = add i64 %3, 1 %6 = sub i64 %5, %4 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, !9, i64 8} !7 = !{!"tcm_area", !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__", !9, i64 0} !13 = !{!7, !9, i64 0}
linux_drivers_gpu_drm_omapdrm_extr_tcm.h___tcm_area_width
; ModuleID = 'AnghaBench/obs-studio/plugins/win-capture/extr_duplicator-monitor-capture.c_duplicator_capture_destroy.c' source_filename = "AnghaBench/obs-studio/plugins/win-capture/extr_duplicator-monitor-capture.c_duplicator_capture_destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.duplicator_capture = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @duplicator_capture_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @duplicator_capture_destroy(ptr noundef %0) #0 { %2 = tail call i32 (...) @obs_enter_graphics() #2 %3 = getelementptr inbounds %struct.duplicator_capture, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @gs_duplicator_destroy(i32 noundef %4) #2 %6 = tail call i32 @cursor_data_free(ptr noundef %0) #2 %7 = tail call i32 (...) @obs_leave_graphics() #2 %8 = tail call i32 @bfree(ptr noundef %0) #2 ret void } declare i32 @obs_enter_graphics(...) local_unnamed_addr #1 declare i32 @gs_duplicator_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @cursor_data_free(ptr noundef) local_unnamed_addr #1 declare i32 @obs_leave_graphics(...) local_unnamed_addr #1 declare i32 @bfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"duplicator_capture", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/obs-studio/plugins/win-capture/extr_duplicator-monitor-capture.c_duplicator_capture_destroy.c' source_filename = "AnghaBench/obs-studio/plugins/win-capture/extr_duplicator-monitor-capture.c_duplicator_capture_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @duplicator_capture_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @duplicator_capture_destroy(ptr noundef %0) #0 { %2 = tail call i32 @obs_enter_graphics() #2 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @gs_duplicator_destroy(i32 noundef %4) #2 %6 = tail call i32 @cursor_data_free(ptr noundef %0) #2 %7 = tail call i32 @obs_leave_graphics() #2 %8 = tail call i32 @bfree(ptr noundef %0) #2 ret void } declare i32 @obs_enter_graphics(...) local_unnamed_addr #1 declare i32 @gs_duplicator_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @cursor_data_free(ptr noundef) local_unnamed_addr #1 declare i32 @obs_leave_graphics(...) local_unnamed_addr #1 declare i32 @bfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"duplicator_capture", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
obs-studio_plugins_win-capture_extr_duplicator-monitor-capture.c_duplicator_capture_destroy
; ModuleID = 'AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_setseq_16_srandom_r.c' source_filename = "AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_setseq_16_srandom_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_setseq_16_srandom_r.c' source_filename = "AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_setseq_16_srandom_r.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
numpy_numpy_random_src_pcg64_extr_pcg64.orig.h_pcg_setseq_16_srandom_r
; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_statem.c_ossl_statem_get_in_handshake.c' source_filename = "AnghaBench/openssl/ssl/statem/extr_statem.c_ossl_statem_get_in_handshake.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @ossl_statem_get_in_handshake(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %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, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_statem.c_ossl_statem_get_in_handshake.c' source_filename = "AnghaBench/openssl/ssl/statem/extr_statem.c_ossl_statem_get_in_handshake.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 i32 @ossl_statem_get_in_handshake(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %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, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
openssl_ssl_statem_extr_statem.c_ossl_statem_get_in_handshake
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_print.c_hx509_cert_keyusage_print.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_print.c_hx509_cert_keyusage_print.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @hx509_cert_keyusage_print(i32 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #4 store ptr null, ptr %2, align 8, !tbaa !5 %6 = call i32 @_hx509_cert_get_keyusage(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %4) #4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %19 8: ; preds = %3 %9 = load i32, ptr %4, align 4, !tbaa !9 %10 = call i32 @KeyUsage2int(i32 noundef %9) #4 %11 = call i32 (...) @asn1_KeyUsage_units() #4 %12 = call i32 @unparse_flags(i32 noundef %10, i32 noundef %11, ptr noundef nonnull %5, i32 noundef 256) #4 %13 = call ptr @strdup(ptr noundef nonnull %5) store ptr %13, ptr %2, align 8, !tbaa !5 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %8 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %17 = call i32 @hx509_set_error_string(i32 noundef %0, i32 noundef 0, i32 noundef %16, ptr noundef nonnull @.str) #4 %18 = load i32, ptr @ENOMEM, align 4, !tbaa !9 br label %19 19: ; preds = %8, %3, %15 %20 = phi i32 [ %18, %15 ], [ %6, %3 ], [ 0, %8 ] call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @_hx509_cert_get_keyusage(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @unparse_flags(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @KeyUsage2int(i32 noundef) local_unnamed_addr #2 declare i32 @asn1_KeyUsage_units(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @hx509_set_error_string(i32 noundef, i32 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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_print.c_hx509_cert_keyusage_print.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_print.c_hx509_cert_keyusage_print.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 [14 x i8] c"out of memory\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @hx509_cert_keyusage_print(i32 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #4 store ptr null, ptr %2, align 8, !tbaa !6 %6 = call i32 @_hx509_cert_get_keyusage(i32 noundef %0, i32 noundef %1, ptr noundef nonnull %4) #4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %19 8: ; preds = %3 %9 = load i32, ptr %4, align 4, !tbaa !10 %10 = call i32 @KeyUsage2int(i32 noundef %9) #4 %11 = call i32 @asn1_KeyUsage_units() #4 %12 = call i32 @unparse_flags(i32 noundef %10, i32 noundef %11, ptr noundef nonnull %5, i32 noundef 256) #4 %13 = call ptr @strdup(ptr noundef nonnull %5) store ptr %13, ptr %2, align 8, !tbaa !6 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %8 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %17 = call i32 @hx509_set_error_string(i32 noundef %0, i32 noundef 0, i32 noundef %16, ptr noundef nonnull @.str) #4 %18 = load i32, ptr @ENOMEM, align 4, !tbaa !10 br label %19 19: ; preds = %8, %3, %15 %20 = phi i32 [ %18, %15 ], [ %6, %3 ], [ 0, %8 ] call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @_hx509_cert_get_keyusage(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @unparse_flags(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @KeyUsage2int(i32 noundef) local_unnamed_addr #2 declare i32 @asn1_KeyUsage_units(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @hx509_set_error_string(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_crypto_heimdal_lib_hx509_extr_print.c_hx509_cert_keyusage_print
; ModuleID = 'AnghaBench/glfw/src/extr_null_window.c__glfwPlatformGetClipboardString.c' source_filename = "AnghaBench/glfw/src/extr_null_window.c__glfwPlatformGetClipboardString.c" target datalayout = "e-m:e-p270:32:32-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 noalias noundef ptr @_glfwPlatformGetClipboardString() local_unnamed_addr #0 { ret ptr null } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/glfw/src/extr_null_window.c__glfwPlatformGetClipboardString.c' source_filename = "AnghaBench/glfw/src/extr_null_window.c__glfwPlatformGetClipboardString.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 noalias noundef ptr @_glfwPlatformGetClipboardString() local_unnamed_addr #0 { ret ptr null } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
glfw_src_extr_null_window.c__glfwPlatformGetClipboardString
; ModuleID = 'AnghaBench/freebsd/sys/geom/part/extr_g_part_ldm.c_g_part_ldm_bootcode.c' source_filename = "AnghaBench/freebsd/sys/geom/part/extr_g_part_ldm.c_g_part_ldm_bootcode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @g_part_ldm_bootcode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @g_part_ldm_bootcode(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @ENOSYS, align 4, !tbaa !5 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/geom/part/extr_g_part_ldm.c_g_part_ldm_bootcode.c' source_filename = "AnghaBench/freebsd/sys/geom/part/extr_g_part_ldm.c_g_part_ldm_bootcode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSYS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @g_part_ldm_bootcode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @g_part_ldm_bootcode(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr @ENOSYS, align 4, !tbaa !6 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_geom_part_extr_g_part_ldm.c_g_part_ldm_bootcode
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/svg/extr_svg-run.c_svg_parse_viewport.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/svg/extr_svg-run.c_svg_parse_viewport.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i32, ptr } @.str = private unnamed_addr constant [6 x i8] c"width\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"height\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @svg_parse_viewport(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @fz_xml_att(ptr noundef %2, ptr noundef nonnull @.str) #2 %6 = tail call ptr @fz_xml_att(ptr noundef %2, ptr noundef nonnull @.str.1) #2 %7 = icmp eq ptr %5, null br i1 %7, label %14, label %8 8: ; preds = %4 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 3 %10 = load i32, ptr %9, align 8, !tbaa !5 %11 = load i32, ptr %3, align 8, !tbaa !11 %12 = tail call ptr @svg_parse_length(ptr noundef nonnull %5, i32 noundef %10, i32 noundef %11) #2 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 4 store ptr %12, ptr %13, align 8, !tbaa !12 br label %14 14: ; preds = %8, %4 %15 = icmp eq ptr %6, null br i1 %15, label %22, label %16 16: ; preds = %14 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = load i32, ptr %3, align 8, !tbaa !11 %20 = tail call ptr @svg_parse_length(ptr noundef nonnull %6, i32 noundef %18, i32 noundef %19) #2 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 2 store ptr %20, ptr %21, align 8, !tbaa !14 br label %22 22: ; preds = %16, %14 ret void } declare ptr @fz_xml_att(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @svg_parse_length(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 16} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 24} !13 = !{!6, !7, i64 4} !14 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/svg/extr_svg-run.c_svg_parse_viewport.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/svg/extr_svg-run.c_svg_parse_viewport.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"width\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"height\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @svg_parse_viewport(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @fz_xml_att(ptr noundef %2, ptr noundef nonnull @.str) #2 %6 = tail call ptr @fz_xml_att(ptr noundef %2, ptr noundef nonnull @.str.1) #2 %7 = icmp eq ptr %5, null br i1 %7, label %14, label %8 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %3, i64 16 %10 = load i32, ptr %9, align 8, !tbaa !6 %11 = load i32, ptr %3, align 8, !tbaa !12 %12 = tail call ptr @svg_parse_length(ptr noundef nonnull %5, i32 noundef %10, i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %3, i64 24 store ptr %12, ptr %13, align 8, !tbaa !13 br label %14 14: ; preds = %8, %4 %15 = icmp eq ptr %6, null br i1 %15, label %22, label %16 16: ; preds = %14 %17 = getelementptr inbounds i8, ptr %3, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = load i32, ptr %3, align 8, !tbaa !12 %20 = tail call ptr @svg_parse_length(ptr noundef nonnull %6, i32 noundef %18, i32 noundef %19) #2 %21 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %20, ptr %21, align 8, !tbaa !15 br label %22 22: ; preds = %16, %14 ret void } declare ptr @fz_xml_att(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @svg_parse_length(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 16} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 24} !14 = !{!7, !8, i64 4} !15 = !{!7, !11, i64 8}
sumatrapdf_mupdf_source_svg_extr_svg-run.c_svg_parse_viewport
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_arena.c_arena_prof_demote.c' source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_arena.c_arena_prof_demote.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @config_prof = dso_local local_unnamed_addr global i32 0, align 4 @NBINS = dso_local local_unnamed_addr global i32 0, align 4 @extents_rtree = dso_local global i32 0, align 4 @LARGE_MINCLASS = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @arena_prof_demote], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @arena_prof_demote(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = load i32, ptr @config_prof, align 4, !tbaa !5 %6 = tail call i32 @cassert(i32 noundef %5) #3 %7 = icmp ne ptr %2, null %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = load i32, ptr @NBINS, align 4, !tbaa !5 %11 = tail call i32 @extent_szind_set(ptr noundef %1, i32 noundef %10) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %12 = call ptr @tsdn_rtree_ctx(ptr noundef %0, ptr noundef nonnull %4) #3 %13 = ptrtoint ptr %2 to i64 %14 = load i32, ptr @NBINS, align 4, !tbaa !5 %15 = call i32 @rtree_szind_slab_update(ptr noundef %0, ptr noundef nonnull @extents_rtree, ptr noundef %12, i64 noundef %13, i32 noundef %14, i32 noundef 0) #3 %16 = call i64 @isalloc(ptr noundef %0, ptr noundef %2) #3 %17 = load i64, ptr @LARGE_MINCLASS, align 8, !tbaa !9 %18 = icmp eq i64 %16, %17 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) #3 %21 = load i64, ptr @LARGE_MINCLASS, align 8, !tbaa !9 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %21 } declare i32 @cassert(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @extent_szind_set(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare ptr @tsdn_rtree_ctx(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtree_szind_slab_update(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @isalloc(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_arena.c_arena_prof_demote.c' source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_arena.c_arena_prof_demote.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @config_prof = common local_unnamed_addr global i32 0, align 4 @NBINS = common local_unnamed_addr global i32 0, align 4 @extents_rtree = common global i32 0, align 4 @LARGE_MINCLASS = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @arena_prof_demote], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @arena_prof_demote(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = load i32, ptr @config_prof, align 4, !tbaa !6 %6 = tail call i32 @cassert(i32 noundef %5) #3 %7 = icmp ne ptr %2, null %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = load i32, ptr @NBINS, align 4, !tbaa !6 %11 = tail call i32 @extent_szind_set(ptr noundef %1, i32 noundef %10) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %12 = call ptr @tsdn_rtree_ctx(ptr noundef %0, ptr noundef nonnull %4) #3 %13 = ptrtoint ptr %2 to i64 %14 = load i32, ptr @NBINS, align 4, !tbaa !6 %15 = call i32 @rtree_szind_slab_update(ptr noundef %0, ptr noundef nonnull @extents_rtree, ptr noundef %12, i64 noundef %13, i32 noundef %14, i32 noundef 0) #3 %16 = call i64 @isalloc(ptr noundef %0, ptr noundef %2) #3 %17 = load i64, ptr @LARGE_MINCLASS, align 8, !tbaa !10 %18 = icmp eq i64 %16, %17 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) #3 %21 = load i64, ptr @LARGE_MINCLASS, align 8, !tbaa !10 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %21 } declare i32 @cassert(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @extent_szind_set(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare ptr @tsdn_rtree_ctx(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtree_szind_slab_update(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @isalloc(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_contrib_jemalloc_src_extr_arena.c_arena_prof_demote
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_s5k83a.c_s5k83a_stop.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_s5k83a.c_s5k83a_stop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @s5k83a_stop(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr %2, align 8, !tbaa !10 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @kthread_stop(i64 noundef %3) #2 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @s5k83a_set_led_indication(ptr noundef nonnull %0, i32 noundef 0) #2 ret i32 %8 } declare i32 @kthread_stop(i64 noundef) local_unnamed_addr #1 declare i32 @s5k83a_set_led_indication(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 = !{!"sd", !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 = !{!"s5k83a_priv", !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_s5k83a.c_s5k83a_stop.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/m5602/extr_m5602_s5k83a.c_s5k83a_stop.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 @s5k83a_stop(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr %2, align 8, !tbaa !11 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @kthread_stop(i64 noundef %3) #2 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @s5k83a_set_led_indication(ptr noundef nonnull %0, i32 noundef 0) #2 ret i32 %8 } declare i32 @kthread_stop(i64 noundef) local_unnamed_addr #1 declare i32 @s5k83a_set_led_indication(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 = !{!"sd", !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 = !{!"s5k83a_priv", !13, i64 0} !13 = !{!"long", !9, i64 0}
fastsocket_kernel_drivers_media_video_gspca_m5602_extr_m5602_s5k83a.c_s5k83a_stop
; ModuleID = 'AnghaBench/openssl/crypto/dsa/extr_dsa_asn1.c_DSA_SIG_set0.c' source_filename = "AnghaBench/openssl/crypto/dsa/extr_dsa_asn1.c_DSA_SIG_set0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @DSA_SIG_set0(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %1, null %5 = icmp eq ptr %2, null %6 = or i1 %4, %5 br i1 %6, label %13, label %7 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = tail call i32 @BN_clear_free(ptr noundef %9) #2 %11 = load ptr, ptr %0, align 8, !tbaa !10 %12 = tail call i32 @BN_clear_free(ptr noundef %11) #2 store ptr %1, ptr %8, align 8, !tbaa !5 store ptr %2, ptr %0, align 8, !tbaa !10 br label %13 13: ; preds = %3, %7 %14 = phi i32 [ 1, %7 ], [ 0, %3 ] ret i32 %14 } declare i32 @BN_clear_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/dsa/extr_dsa_asn1.c_DSA_SIG_set0.c' source_filename = "AnghaBench/openssl/crypto/dsa/extr_dsa_asn1.c_DSA_SIG_set0.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @DSA_SIG_set0(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %1, null %5 = icmp eq ptr %2, null %6 = or i1 %4, %5 br i1 %6, label %13, label %7 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = tail call i32 @BN_clear_free(ptr noundef %9) #2 %11 = load ptr, ptr %0, align 8, !tbaa !11 %12 = tail call i32 @BN_clear_free(ptr noundef %11) #2 store ptr %1, ptr %8, align 8, !tbaa !6 store ptr %2, ptr %0, align 8, !tbaa !11 br label %13 13: ; preds = %3, %7 %14 = phi i32 [ 1, %7 ], [ 0, %3 ] ret i32 %14 } declare i32 @BN_clear_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
openssl_crypto_dsa_extr_dsa_asn1.c_DSA_SIG_set0
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_info_receiver_relpath_wrapper.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_info_receiver_relpath_wrapper.c" target datalayout = "e-m:e-p270:32:32-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.info_to_relpath_baton = type { i32, ptr, i32, i32, i64 } @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @info_receiver_relpath_wrapper], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @info_receiver_relpath_wrapper(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = getelementptr inbounds %struct.info_to_relpath_baton, ptr %0, i64 0, i32 4 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %19, label %9 9: ; preds = %4 %10 = getelementptr inbounds %struct.info_to_relpath_baton, ptr %0, i64 0, i32 3 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i64 @svn_dirent_is_ancestor(i32 noundef %11, ptr noundef %1) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %19, label %14 14: ; preds = %9 %15 = load i64, ptr %6, align 8, !tbaa !5 %16 = load i32, ptr %10, align 4, !tbaa !12 %17 = tail call i32 @svn_dirent_skip_ancestor(i32 noundef %16, ptr noundef %1) #3 %18 = tail call ptr @svn_dirent_join(i64 noundef %15, i32 noundef %17, ptr noundef %3) #3 br label %19 19: ; preds = %14, %9, %4 %20 = phi ptr [ %18, %14 ], [ %1, %9 ], [ %1, %4 ] %21 = getelementptr inbounds %struct.info_to_relpath_baton, ptr %0, i64 0, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !13 %23 = call i32 @info_from_info2(ptr noundef nonnull %5, i32 noundef %22, ptr noundef %2, ptr noundef %3) #3 %24 = call i32 @SVN_ERR(i32 noundef %23) #3 %25 = getelementptr inbounds %struct.info_to_relpath_baton, ptr %0, i64 0, i32 1 %26 = load ptr, ptr %25, align 8, !tbaa !14 %27 = load i32, ptr %0, align 8, !tbaa !15 %28 = load ptr, ptr %5, align 8, !tbaa !16 %29 = call i32 %26(i32 noundef %27, ptr noundef %20, ptr noundef %28, ptr noundef %3) #3 %30 = call i32 @SVN_ERR(i32 noundef %29) #3 %31 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !16 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret ptr %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @svn_dirent_is_ancestor(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_dirent_join(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_dirent_skip_ancestor(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @info_from_info2(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 24} !6 = !{!"info_to_relpath_baton", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, 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 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 20} !13 = !{!6, !7, i64 16} !14 = !{!6, !10, i64 8} !15 = !{!6, !7, i64 0} !16 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_info_receiver_relpath_wrapper.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_deprecated.c_info_receiver_relpath_wrapper.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @info_receiver_relpath_wrapper], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @info_receiver_relpath_wrapper(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %19, label %9 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %0, i64 20 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i64 @svn_dirent_is_ancestor(i32 noundef %11, ptr noundef %1) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %19, label %14 14: ; preds = %9 %15 = load i64, ptr %6, align 8, !tbaa !6 %16 = load i32, ptr %10, align 4, !tbaa !13 %17 = tail call i32 @svn_dirent_skip_ancestor(i32 noundef %16, ptr noundef %1) #3 %18 = tail call ptr @svn_dirent_join(i64 noundef %15, i32 noundef %17, ptr noundef %3) #3 br label %19 19: ; preds = %14, %9, %4 %20 = phi ptr [ %18, %14 ], [ %1, %9 ], [ %1, %4 ] %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load i32, ptr %21, align 8, !tbaa !14 %23 = call i32 @info_from_info2(ptr noundef nonnull %5, i32 noundef %22, ptr noundef %2, ptr noundef %3) #3 %24 = call i32 @SVN_ERR(i32 noundef %23) #3 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load ptr, ptr %25, align 8, !tbaa !15 %27 = load i32, ptr %0, align 8, !tbaa !16 %28 = load ptr, ptr %5, align 8, !tbaa !17 %29 = call i32 %26(i32 noundef %27, ptr noundef %20, ptr noundef %28, ptr noundef %3) #3 %30 = call i32 @SVN_ERR(i32 noundef %29) #3 %31 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !17 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret ptr %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @svn_dirent_is_ancestor(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_dirent_join(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_dirent_skip_ancestor(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @info_from_info2(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 24} !7 = !{!"info_to_relpath_baton", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !12, 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 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 20} !14 = !{!7, !8, i64 16} !15 = !{!7, !11, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!11, !11, i64 0}
freebsd_contrib_subversion_subversion_libsvn_client_extr_deprecated.c_info_receiver_relpath_wrapper
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/512x/extr_clock-commonclk.c_mpc512x_clk_preset_data.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/512x/extr_clock-commonclk.c_mpc512x_clk_preset_data.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @clks = dso_local local_unnamed_addr global ptr null, align 8 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mpc512x_clk_preset_data], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mpc512x_clk_preset_data() #0 { %1 = load ptr, ptr @clks, align 8, !tbaa !5 %2 = tail call i64 @ARRAY_SIZE(ptr noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %0, %4 %5 = phi i64 [ %11, %4 ], [ 0, %0 ] %6 = load i32, ptr @ENODEV, align 4, !tbaa !9 %7 = sub nsw i32 0, %6 %8 = tail call i32 @ERR_PTR(i32 noundef %7) #2 %9 = load ptr, ptr @clks, align 8, !tbaa !5 %10 = getelementptr inbounds i32, ptr %9, i64 %5 store i32 %8, ptr %10, align 4, !tbaa !9 %11 = add nuw i64 %5, 1 %12 = tail call i64 @ARRAY_SIZE(ptr noundef %9) #2 %13 = icmp ult i64 %11, %12 br i1 %13, label %4, label %14, !llvm.loop !11 14: ; preds = %4, %0 ret void } declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/512x/extr_clock-commonclk.c_mpc512x_clk_preset_data.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/512x/extr_clock-commonclk.c_mpc512x_clk_preset_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @clks = common local_unnamed_addr global ptr null, align 8 @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mpc512x_clk_preset_data], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mpc512x_clk_preset_data() #0 { %1 = load ptr, ptr @clks, align 8, !tbaa !6 %2 = tail call i64 @ARRAY_SIZE(ptr noundef %1) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %0, %4 %5 = phi i64 [ %11, %4 ], [ 0, %0 ] %6 = load i32, ptr @ENODEV, align 4, !tbaa !10 %7 = sub nsw i32 0, %6 %8 = tail call i32 @ERR_PTR(i32 noundef %7) #2 %9 = load ptr, ptr @clks, align 8, !tbaa !6 %10 = getelementptr inbounds i32, ptr %9, i64 %5 store i32 %8, ptr %10, align 4, !tbaa !10 %11 = add nuw i64 %5, 1 %12 = tail call i64 @ARRAY_SIZE(ptr noundef %9) #2 %13 = icmp ult i64 %11, %12 br i1 %13, label %4, label %14, !llvm.loop !12 14: ; preds = %4, %0 ret void } declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_arch_powerpc_platforms_512x_extr_clock-commonclk.c_mpc512x_clk_preset_data
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_inode.c_generic_forget_inode.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_inode.c_generic_forget_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @generic_forget_inode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @generic_forget_inode(ptr noundef %0) #0 { %2 = tail call i32 @generic_detach_inode(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %13, label %4 4: ; preds = %1 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @truncate_inode_pages(ptr noundef nonnull %0, i32 noundef 0) #2 br label %9 9: ; preds = %7, %4 %10 = tail call i32 @clear_inode(ptr noundef nonnull %0) #2 %11 = tail call i32 @wake_up_inode(ptr noundef nonnull %0) #2 %12 = tail call i32 @destroy_inode(ptr noundef nonnull %0) #2 br label %13 13: ; preds = %1, %9 ret void } declare i32 @generic_detach_inode(ptr noundef) local_unnamed_addr #1 declare i32 @truncate_inode_pages(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @clear_inode(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_inode(ptr noundef) local_unnamed_addr #1 declare i32 @destroy_inode(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 = !{!"inode", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_inode.c_generic_forget_inode.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_inode.c_generic_forget_inode.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 @generic_forget_inode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @generic_forget_inode(ptr noundef %0) #0 { %2 = tail call i32 @generic_detach_inode(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %13, label %4 4: ; preds = %1 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @truncate_inode_pages(ptr noundef nonnull %0, i32 noundef 0) #2 br label %9 9: ; preds = %7, %4 %10 = tail call i32 @clear_inode(ptr noundef nonnull %0) #2 %11 = tail call i32 @wake_up_inode(ptr noundef nonnull %0) #2 %12 = tail call i32 @destroy_inode(ptr noundef nonnull %0) #2 br label %13 13: ; preds = %1, %9 ret void } declare i32 @generic_detach_inode(ptr noundef) local_unnamed_addr #1 declare i32 @truncate_inode_pages(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @clear_inode(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_inode(ptr noundef) local_unnamed_addr #1 declare i32 @destroy_inode(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 = !{!"inode", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_extr_inode.c_generic_forget_inode
; ModuleID = 'AnghaBench/lede/package/network/services/hostapd/src/src/ap/extr_ubus.c_hostapd_rrm_nr_get_own.c' source_filename = "AnghaBench/lede/package/network/services/hostapd/src/src/ap/extr_ubus.c_hostapd_rrm_nr_get_own.c" target datalayout = "e-m:e-p270:32:32-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 } @UBUS_STATUS_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4 @b = dso_local global %struct.TYPE_5__ zeroinitializer, align 4 @.str = private unnamed_addr constant [6 x i8] c"value\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @hostapd_rrm_nr_get_own], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hostapd_rrm_nr_get_own(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture readnone %3, ptr nocapture readnone %4) #0 { %6 = tail call ptr @get_hapd_from_object(ptr noundef %1) #2 %7 = tail call i32 @hostapd_rrm_nr_enable(ptr noundef %6) #2 %8 = load i32, ptr %6, align 4, !tbaa !5 %9 = tail call ptr @hostapd_neighbor_get(ptr noundef nonnull %6, i32 noundef %8, ptr noundef null) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %5 %12 = load i32, ptr @UBUS_STATUS_NOT_FOUND, align 4, !tbaa !10 br label %20 13: ; preds = %5 %14 = tail call i32 @blob_buf_init(ptr noundef nonnull @b, i32 noundef 0) #2 %15 = tail call ptr @blobmsg_open_array(ptr noundef nonnull @b, ptr noundef nonnull @.str) #2 %16 = tail call i32 @hostapd_rrm_print_nr(ptr noundef nonnull %9) #2 %17 = tail call i32 @blobmsg_close_array(ptr noundef nonnull @b, ptr noundef %15) #2 %18 = load i32, ptr @b, align 4, !tbaa !11 %19 = tail call i32 @ubus_send_reply(ptr noundef %0, ptr noundef %2, i32 noundef %18) #2 br label %20 20: ; preds = %13, %11 %21 = phi i32 [ 0, %13 ], [ %12, %11 ] ret i32 %21 } declare ptr @get_hapd_from_object(ptr noundef) local_unnamed_addr #1 declare i32 @hostapd_rrm_nr_enable(ptr noundef) local_unnamed_addr #1 declare ptr @hostapd_neighbor_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @blob_buf_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @blobmsg_open_array(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hostapd_rrm_print_nr(ptr noundef) local_unnamed_addr #1 declare i32 @blobmsg_close_array(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ubus_send_reply(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 = !{!"hostapd_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/lede/package/network/services/hostapd/src/src/ap/extr_ubus.c_hostapd_rrm_nr_get_own.c' source_filename = "AnghaBench/lede/package/network/services/hostapd/src/src/ap/extr_ubus.c_hostapd_rrm_nr_get_own.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32 } @UBUS_STATUS_NOT_FOUND = common local_unnamed_addr global i32 0, align 4 @b = common global %struct.TYPE_5__ zeroinitializer, align 4 @.str = private unnamed_addr constant [6 x i8] c"value\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @hostapd_rrm_nr_get_own], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hostapd_rrm_nr_get_own(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture readnone %3, ptr nocapture readnone %4) #0 { %6 = tail call ptr @get_hapd_from_object(ptr noundef %1) #2 %7 = tail call i32 @hostapd_rrm_nr_enable(ptr noundef %6) #2 %8 = load i32, ptr %6, align 4, !tbaa !6 %9 = tail call ptr @hostapd_neighbor_get(ptr noundef nonnull %6, i32 noundef %8, ptr noundef null) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %5 %12 = load i32, ptr @UBUS_STATUS_NOT_FOUND, align 4, !tbaa !11 br label %20 13: ; preds = %5 %14 = tail call i32 @blob_buf_init(ptr noundef nonnull @b, i32 noundef 0) #2 %15 = tail call ptr @blobmsg_open_array(ptr noundef nonnull @b, ptr noundef nonnull @.str) #2 %16 = tail call i32 @hostapd_rrm_print_nr(ptr noundef nonnull %9) #2 %17 = tail call i32 @blobmsg_close_array(ptr noundef nonnull @b, ptr noundef %15) #2 %18 = load i32, ptr @b, align 4, !tbaa !12 %19 = tail call i32 @ubus_send_reply(ptr noundef %0, ptr noundef %2, i32 noundef %18) #2 br label %20 20: ; preds = %13, %11 %21 = phi i32 [ 0, %13 ], [ %12, %11 ] ret i32 %21 } declare ptr @get_hapd_from_object(ptr noundef) local_unnamed_addr #1 declare i32 @hostapd_rrm_nr_enable(ptr noundef) local_unnamed_addr #1 declare ptr @hostapd_neighbor_get(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @blob_buf_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @blobmsg_open_array(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hostapd_rrm_print_nr(ptr noundef) local_unnamed_addr #1 declare i32 @blobmsg_close_array(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ubus_send_reply(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 = !{!"hostapd_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_5__", !8, i64 0}
lede_package_network_services_hostapd_src_src_ap_extr_ubus.c_hostapd_rrm_nr_get_own
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_tsl2563.c_tsl2563_adc_to_lux.c' source_filename = "AnghaBench/linux/drivers/iio/light/extr_tsl2563.c_tsl2563_adc_to_lux.c" target datalayout = "e-m:e-p270:32:32-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.tsl2563_lux_coeff = type { i64, i64, i64 } @lux_table = dso_local local_unnamed_addr global ptr null, align 8 @ADC_FRAC_BITS = dso_local local_unnamed_addr global i64 0, align 8 @ULONG_MAX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @tsl2563_adc_to_lux], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @tsl2563_adc_to_lux(i64 noundef %0, i64 noundef %1) #0 { %3 = load ptr, ptr @lux_table, align 8, !tbaa !5 %4 = icmp eq i64 %0, 0 br i1 %4, label %9, label %5 5: ; preds = %2 %6 = load i64, ptr @ADC_FRAC_BITS, align 8, !tbaa !9 %7 = shl i64 %1, %6 %8 = udiv i64 %7, %0 br label %11 9: ; preds = %2 %10 = load i64, ptr @ULONG_MAX, align 8, !tbaa !9 br label %11 11: ; preds = %9, %5 %12 = phi i64 [ %8, %5 ], [ %10, %9 ] br label %13 13: ; preds = %13, %11 %14 = phi ptr [ %3, %11 ], [ %17, %13 ] %15 = load i64, ptr %14, align 8, !tbaa !11 %16 = icmp ult i64 %15, %12 %17 = getelementptr inbounds %struct.tsl2563_lux_coeff, ptr %14, i64 1 br i1 %16, label %13, label %18, !llvm.loop !13 18: ; preds = %13 %19 = getelementptr inbounds %struct.tsl2563_lux_coeff, ptr %14, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !15 %21 = mul i64 %20, %0 %22 = getelementptr inbounds %struct.tsl2563_lux_coeff, ptr %14, i64 0, i32 2 %23 = load i64, ptr %22, align 8, !tbaa !16 %24 = mul i64 %23, %1 %25 = sub i64 %21, %24 %26 = load i64, ptr @ADC_FRAC_BITS, align 8, !tbaa !9 %27 = lshr i64 %25, %26 %28 = trunc i64 %27 to i32 ret i32 %28 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"tsl2563_lux_coeff", !10, i64 0, !10, i64 8, !10, i64 16} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!12, !10, i64 8} !16 = !{!12, !10, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_tsl2563.c_tsl2563_adc_to_lux.c' source_filename = "AnghaBench/linux/drivers/iio/light/extr_tsl2563.c_tsl2563_adc_to_lux.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @lux_table = common local_unnamed_addr global ptr null, align 8 @ADC_FRAC_BITS = common local_unnamed_addr global i64 0, align 8 @ULONG_MAX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @tsl2563_adc_to_lux], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @tsl2563_adc_to_lux(i64 noundef %0, i64 noundef %1) #0 { %3 = load ptr, ptr @lux_table, align 8, !tbaa !6 %4 = icmp eq i64 %0, 0 br i1 %4, label %9, label %5 5: ; preds = %2 %6 = load i64, ptr @ADC_FRAC_BITS, align 8, !tbaa !10 %7 = shl i64 %1, %6 %8 = udiv i64 %7, %0 br label %11 9: ; preds = %2 %10 = load i64, ptr @ULONG_MAX, align 8, !tbaa !10 br label %11 11: ; preds = %9, %5 %12 = phi i64 [ %8, %5 ], [ %10, %9 ] br label %13 13: ; preds = %13, %11 %14 = phi ptr [ %3, %11 ], [ %17, %13 ] %15 = load i64, ptr %14, align 8, !tbaa !12 %16 = icmp ult i64 %15, %12 %17 = getelementptr inbounds i8, ptr %14, i64 24 br i1 %16, label %13, label %18, !llvm.loop !14 18: ; preds = %13 %19 = getelementptr inbounds i8, ptr %14, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !16 %21 = mul i64 %20, %0 %22 = getelementptr inbounds i8, ptr %14, i64 16 %23 = load i64, ptr %22, align 8, !tbaa !17 %24 = mul i64 %23, %1 %25 = sub i64 %21, %24 %26 = load i64, ptr @ADC_FRAC_BITS, align 8, !tbaa !10 %27 = lshr i64 %25, %26 %28 = trunc i64 %27 to i32 ret i32 %28 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"tsl2563_lux_coeff", !11, i64 0, !11, i64 8, !11, i64 16} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!13, !11, i64 8} !17 = !{!13, !11, i64 16}
linux_drivers_iio_light_extr_tsl2563.c_tsl2563_adc_to_lux
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sunrpc/extr_clnt.c_rpcproc_decode_null.c' source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/extr_clnt.c_rpcproc_decode_null.c" target datalayout = "e-m:e-p270:32:32-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 @rpcproc_decode_null], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @rpcproc_decode_null(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %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/net/sunrpc/extr_clnt.c_rpcproc_decode_null.c' source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/extr_clnt.c_rpcproc_decode_null.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 @rpcproc_decode_null], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @rpcproc_decode_null(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %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_net_sunrpc_extr_clnt.c_rpcproc_decode_null
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_loose_ends.c_ml_phys_write_long_long.c' source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_loose_ends.c_ml_phys_write_long_long.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @VM_PROT_READ = dso_local local_unnamed_addr global i32 0, align 4 @VM_PROT_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ml_phys_write_long_long], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ml_phys_write_long_long(i32 noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !5 %4 = ashr i32 %0, %3 %5 = tail call i32 (...) @mp_disable_preemption() #2 %6 = tail call i32 @pmap_cache_attributes(i32 noundef %4) #2 %7 = load i32, ptr @VM_PROT_READ, align 4, !tbaa !5 %8 = load i32, ptr @VM_PROT_WRITE, align 4, !tbaa !5 %9 = or i32 %8, %7 %10 = tail call i32 @pmap_map_cpu_windows_copy(i32 noundef %4, i32 noundef %9, i32 noundef %6) #2 %11 = tail call i32 (...) @cpu_number() #2 %12 = tail call i32 @pmap_cpu_windows_copy_addr(i32 noundef %11, i32 noundef %10) #2 %13 = load i32, ptr @PAGE_MASK, align 4, !tbaa !5 %14 = and i32 %13, %0 %15 = or i32 %14, %12 %16 = sext i32 %15 to i64 %17 = inttoptr i64 %16 to ptr store volatile i64 %1, ptr %17, align 8, !tbaa !9 %18 = tail call i32 @pmap_unmap_cpu_windows_copy(i32 noundef %10) #2 %19 = tail call i32 (...) @mp_enable_preemption() #2 ret void } declare i32 @mp_disable_preemption(...) local_unnamed_addr #1 declare i32 @pmap_cache_attributes(i32 noundef) local_unnamed_addr #1 declare i32 @pmap_map_cpu_windows_copy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pmap_cpu_windows_copy_addr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_number(...) local_unnamed_addr #1 declare i32 @pmap_unmap_cpu_windows_copy(i32 noundef) local_unnamed_addr #1 declare i32 @mp_enable_preemption(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long long", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/arm/extr_loose_ends.c_ml_phys_write_long_long.c' source_filename = "AnghaBench/darwin-xnu/osfmk/arm/extr_loose_ends.c_ml_phys_write_long_long.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4 @VM_PROT_READ = common local_unnamed_addr global i32 0, align 4 @VM_PROT_WRITE = common local_unnamed_addr global i32 0, align 4 @PAGE_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ml_phys_write_long_long], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ml_phys_write_long_long(i32 noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !6 %4 = ashr i32 %0, %3 %5 = tail call i32 @mp_disable_preemption() #2 %6 = tail call i32 @pmap_cache_attributes(i32 noundef %4) #2 %7 = load i32, ptr @VM_PROT_READ, align 4, !tbaa !6 %8 = load i32, ptr @VM_PROT_WRITE, align 4, !tbaa !6 %9 = or i32 %8, %7 %10 = tail call i32 @pmap_map_cpu_windows_copy(i32 noundef %4, i32 noundef %9, i32 noundef %6) #2 %11 = tail call i32 @cpu_number() #2 %12 = tail call i32 @pmap_cpu_windows_copy_addr(i32 noundef %11, i32 noundef %10) #2 %13 = load i32, ptr @PAGE_MASK, align 4, !tbaa !6 %14 = and i32 %13, %0 %15 = or i32 %14, %12 %16 = sext i32 %15 to i64 %17 = inttoptr i64 %16 to ptr store volatile i64 %1, ptr %17, align 8, !tbaa !10 %18 = tail call i32 @pmap_unmap_cpu_windows_copy(i32 noundef %10) #2 %19 = tail call i32 @mp_enable_preemption() #2 ret void } declare i32 @mp_disable_preemption(...) local_unnamed_addr #1 declare i32 @pmap_cache_attributes(i32 noundef) local_unnamed_addr #1 declare i32 @pmap_map_cpu_windows_copy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pmap_cpu_windows_copy_addr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_number(...) local_unnamed_addr #1 declare i32 @pmap_unmap_cpu_windows_copy(i32 noundef) local_unnamed_addr #1 declare i32 @mp_enable_preemption(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long long", !8, i64 0}
darwin-xnu_osfmk_arm_extr_loose_ends.c_ml_phys_write_long_long
; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_mask_device.c' source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_mask_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @pqi_mask_device], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @pqi_mask_device(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i32, ptr %0, i64 3 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = or i32 %3, 192 store i32 %4, ptr %2, align 4, !tbaa !5 ret void } attributes #0 = { inlinehint 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_mask_device.c' source_filename = "AnghaBench/linux/drivers/scsi/smartpqi/extr_smartpqi_init.c_pqi_mask_device.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 @pqi_mask_device], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @pqi_mask_device(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 12 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = or i32 %3, 192 store i32 %4, ptr %2, align 4, !tbaa !6 ret void } attributes #0 = { inlinehint 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_smartpqi_extr_smartpqi_init.c_pqi_mask_device
; ModuleID = 'AnghaBench/nginx/src/http/extr_ngx_http_script.c_ngx_http_script_break_code.c' source_filename = "AnghaBench/nginx/src/http/extr_ngx_http_script.c_ngx_http_script_break_code.c" target datalayout = "e-m:e-p270:32:32-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 } @ngx_http_script_exit = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @ngx_http_script_break_code(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 store i64 0, ptr %3, align 8, !tbaa !11 %4 = load i32, ptr @ngx_http_script_exit, align 4, !tbaa !14 store i32 %4, ptr %0, align 8, !tbaa !15 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/nginx/src/http/extr_ngx_http_script.c_ngx_http_script_break_code.c' source_filename = "AnghaBench/nginx/src/http/extr_ngx_http_script.c_ngx_http_script_break_code.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ngx_http_script_exit = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define void @ngx_http_script_break_code(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 store i64 0, ptr %3, align 8, !tbaa !12 %4 = load i32, ptr @ngx_http_script_exit, align 4, !tbaa !15 store i32 %4, ptr %0, align 8, !tbaa !16 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0}
nginx_src_http_extr_ngx_http_script.c_ngx_http_script_break_code
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_arm_gnu.c_arm_buffer_read_memory.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_arm_gnu.c_arm_buffer_read_memory.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @Offset = dso_local local_unnamed_addr global i32 0, align 4 @bytes = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @arm_buffer_read_memory], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @arm_buffer_read_memory(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture readnone %3) #0 { %5 = load i32, ptr @Offset, align 4, !tbaa !5 %6 = sub nsw i32 %0, %5 %7 = icmp slt i32 %6, 0 %8 = add i32 %6, %2 %9 = icmp ugt i32 %8, 4 %10 = or i1 %7, %9 br i1 %10, label %16, label %11 11: ; preds = %4 %12 = load i64, ptr @bytes, align 8, !tbaa !9 %13 = zext nneg i32 %6 to i64 %14 = add nsw i64 %12, %13 %15 = tail call i32 @memcpy(ptr noundef %1, i64 noundef %14, i32 noundef %2) #2 br label %16 16: ; preds = %4, %11 %17 = phi i32 [ 0, %11 ], [ -1, %4 ] ret i32 %17 } declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_arm_gnu.c_arm_buffer_read_memory.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_arm_gnu.c_arm_buffer_read_memory.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @Offset = common local_unnamed_addr global i32 0, align 4 @bytes = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @arm_buffer_read_memory], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @arm_buffer_read_memory(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture readnone %3) #0 { %5 = load i32, ptr @Offset, align 4, !tbaa !6 %6 = sub nsw i32 %0, %5 %7 = icmp slt i32 %6, 0 %8 = add i32 %6, %2 %9 = icmp ugt i32 %8, 4 %10 = or i1 %7, %9 br i1 %10, label %16, label %11 11: ; preds = %4 %12 = load i64, ptr @bytes, align 8, !tbaa !10 %13 = zext nneg i32 %6 to i64 %14 = add nsw i64 %12, %13 %15 = tail call i32 @memcpy(ptr noundef %1, i64 noundef %14, i32 noundef %2) #2 br label %16 16: ; preds = %4, %11 %17 = phi i32 [ 0, %11 ], [ -1, %4 ] ret i32 %17 } declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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}
radare2_libr_asm_p_extr_asm_arm_gnu.c_arm_buffer_read_memory
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_reg.h_mlxsw_reg_mcc_unpack.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_reg.h_mlxsw_reg_mcc_unpack.c" target datalayout = "e-m:e-p270:32:32-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 @mlxsw_reg_mcc_unpack], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @mlxsw_reg_mcc_unpack(ptr noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef writeonly %3) #0 { %5 = icmp eq ptr %1, null br i1 %5, label %8, label %6 6: ; preds = %4 %7 = tail call i32 @mlxsw_reg_mcc_update_handle_get(ptr noundef %0) #2 store i32 %7, ptr %1, align 4, !tbaa !5 br label %8 8: ; preds = %6, %4 %9 = icmp eq ptr %2, null br i1 %9, label %12, label %10 10: ; preds = %8 %11 = tail call i32 @mlxsw_reg_mcc_error_code_get(ptr noundef %0) #2 store i32 %11, ptr %2, align 4, !tbaa !5 br label %12 12: ; preds = %10, %8 %13 = icmp eq ptr %3, null br i1 %13, label %16, label %14 14: ; preds = %12 %15 = tail call i32 @mlxsw_reg_mcc_control_state_get(ptr noundef %0) #2 store i32 %15, ptr %3, align 4, !tbaa !5 br label %16 16: ; preds = %14, %12 ret void } declare i32 @mlxsw_reg_mcc_update_handle_get(ptr noundef) local_unnamed_addr #1 declare i32 @mlxsw_reg_mcc_error_code_get(ptr noundef) local_unnamed_addr #1 declare i32 @mlxsw_reg_mcc_control_state_get(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/drivers/net/ethernet/mellanox/mlxsw/extr_reg.h_mlxsw_reg_mcc_unpack.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_reg.h_mlxsw_reg_mcc_unpack.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 @mlxsw_reg_mcc_unpack], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @mlxsw_reg_mcc_unpack(ptr noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef writeonly %3) #0 { %5 = icmp eq ptr %1, null br i1 %5, label %8, label %6 6: ; preds = %4 %7 = tail call i32 @mlxsw_reg_mcc_update_handle_get(ptr noundef %0) #2 store i32 %7, ptr %1, align 4, !tbaa !6 br label %8 8: ; preds = %6, %4 %9 = icmp eq ptr %2, null br i1 %9, label %12, label %10 10: ; preds = %8 %11 = tail call i32 @mlxsw_reg_mcc_error_code_get(ptr noundef %0) #2 store i32 %11, ptr %2, align 4, !tbaa !6 br label %12 12: ; preds = %10, %8 %13 = icmp eq ptr %3, null br i1 %13, label %16, label %14 14: ; preds = %12 %15 = tail call i32 @mlxsw_reg_mcc_control_state_get(ptr noundef %0) #2 store i32 %15, ptr %3, align 4, !tbaa !6 br label %16 16: ; preds = %14, %12 ret void } declare i32 @mlxsw_reg_mcc_update_handle_get(ptr noundef) local_unnamed_addr #1 declare i32 @mlxsw_reg_mcc_error_code_get(ptr noundef) local_unnamed_addr #1 declare i32 @mlxsw_reg_mcc_control_state_get(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_drivers_net_ethernet_mellanox_mlxsw_extr_reg.h_mlxsw_reg_mcc_unpack
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_close_db.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_close_db.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Error: sqlite3_close() returns %d: %s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @close_db(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @sqlite3_close(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %8, label %4 4: ; preds = %1 %5 = load i32, ptr @stderr, align 4, !tbaa !5 %6 = tail call i32 @sqlite3_errmsg(ptr noundef %0) #2 %7 = tail call i32 @utf8_printf(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %6) #2 br label %8 8: ; preds = %4, %1 ret void } declare i32 @sqlite3_close(ptr noundef) local_unnamed_addr #1 declare i32 @utf8_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_errmsg(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/contrib/sqlite3/extr_shell.c_close_db.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_close_db.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Error: sqlite3_close() returns %d: %s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @close_db(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @sqlite3_close(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %8, label %4 4: ; preds = %1 %5 = load i32, ptr @stderr, align 4, !tbaa !6 %6 = tail call i32 @sqlite3_errmsg(ptr noundef %0) #2 %7 = tail call i32 @utf8_printf(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %6) #2 br label %8 8: ; preds = %4, %1 ret void } declare i32 @sqlite3_close(ptr noundef) local_unnamed_addr #1 declare i32 @utf8_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_errmsg(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_contrib_sqlite3_extr_shell.c_close_db
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nspredef.c_AcpiNsGetBitmappedType.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nspredef.c_AcpiNsGetBitmappedType.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ACPI_RTYPE_NONE = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_INTEGER = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_BUFFER = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_STRING = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_PACKAGE = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_REFERENCE = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_ANY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @AcpiNsGetBitmappedType], section "llvm.metadata" @switch.table.AcpiNsGetBitmappedType = private unnamed_addr constant [5 x ptr] [ptr @ACPI_RTYPE_STRING, ptr @ACPI_RTYPE_PACKAGE, ptr @ACPI_RTYPE_REFERENCE, ptr @ACPI_RTYPE_INTEGER, ptr @ACPI_RTYPE_BUFFER], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @AcpiNsGetBitmappedType(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %11, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = add i32 %4, -128 %6 = icmp ult i32 %5, 5 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = zext nneg i32 %5 to i64 %9 = getelementptr inbounds [5 x ptr], ptr @switch.table.AcpiNsGetBitmappedType, i64 0, i64 %8 %10 = load ptr, ptr %9, align 8 br label %11 11: ; preds = %3, %7, %1 %12 = phi ptr [ @ACPI_RTYPE_NONE, %1 ], [ %10, %7 ], [ @ACPI_RTYPE_ANY, %3 ] %13 = load i32, ptr %12, align 4, !tbaa !11 ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nspredef.c_AcpiNsGetBitmappedType.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/namespace/extr_nspredef.c_AcpiNsGetBitmappedType.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ACPI_RTYPE_NONE = common local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_INTEGER = common local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_BUFFER = common local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_STRING = common local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_PACKAGE = common local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_REFERENCE = common local_unnamed_addr global i32 0, align 4 @ACPI_RTYPE_ANY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @AcpiNsGetBitmappedType], section "llvm.metadata" @switch.table.AcpiNsGetBitmappedType = private unnamed_addr constant [5 x ptr] [ptr @ACPI_RTYPE_STRING, ptr @ACPI_RTYPE_PACKAGE, ptr @ACPI_RTYPE_REFERENCE, ptr @ACPI_RTYPE_INTEGER, ptr @ACPI_RTYPE_BUFFER], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @AcpiNsGetBitmappedType(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %11, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = add i32 %4, -128 %6 = icmp ult i32 %5, 5 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = zext nneg i32 %5 to i64 %9 = getelementptr inbounds [5 x ptr], ptr @switch.table.AcpiNsGetBitmappedType, i64 0, i64 %8 %10 = load ptr, ptr %9, align 8 br label %11 11: ; preds = %3, %7, %1 %12 = phi ptr [ @ACPI_RTYPE_NONE, %1 ], [ %10, %7 ], [ @ACPI_RTYPE_ANY, %3 ] %13 = load i32, ptr %12, align 4, !tbaa !12 ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
freebsd_sys_contrib_dev_acpica_components_namespace_extr_nspredef.c_AcpiNsGetBitmappedType
; ModuleID = 'AnghaBench/linux/drivers/clk/ingenic/extr_cgu.c_ingenic_clk_round_rate.c' source_filename = "AnghaBench/linux/drivers/clk/ingenic/extr_cgu.c_ingenic_clk_round_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.ingenic_clk = type { i64, ptr } %struct.ingenic_cgu_clk_info = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @CGU_CLK_DIV = dso_local local_unnamed_addr global i32 0, align 4 @CGU_CLK_FIXDIV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ingenic_clk_round_rate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @ingenic_clk_round_rate(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = tail call ptr @to_ingenic_clk(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.ingenic_clk, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = load i64, ptr %4, align 8, !tbaa !13 %9 = getelementptr inbounds %struct.ingenic_cgu_clk_info, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = load i32, ptr @CGU_CLK_DIV, align 4, !tbaa !18 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %3 %15 = load i64, ptr %2, align 8, !tbaa !19 %16 = tail call i32 @ingenic_clk_calc_div(ptr noundef nonnull %9, i64 noundef %15, i64 noundef %1) #2 br label %24 17: ; preds = %3 %18 = load i32, ptr @CGU_CLK_FIXDIV, align 4, !tbaa !18 %19 = and i32 %18, %10 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %17 %22 = getelementptr inbounds %struct.ingenic_cgu_clk_info, ptr %7, i64 %8, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !20 br label %24 24: ; preds = %17, %21, %14 %25 = phi i32 [ %16, %14 ], [ %23, %21 ], [ 1, %17 ] %26 = load i64, ptr %2, align 8, !tbaa !19 %27 = tail call i64 @DIV_ROUND_UP(i64 noundef %26, i32 noundef %25) #2 ret i64 %27 } declare ptr @to_ingenic_clk(ptr noundef) local_unnamed_addr #1 declare i32 @ingenic_clk_calc_div(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ingenic_clk", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"ingenic_cgu", !10, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"ingenic_cgu_clk_info", !16, i64 0, !17, i64 4} !16 = !{!"int", !8, i64 0} !17 = !{!"TYPE_2__", !16, i64 0} !18 = !{!16, !16, i64 0} !19 = !{!7, !7, i64 0} !20 = !{!15, !16, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/clk/ingenic/extr_cgu.c_ingenic_clk_round_rate.c' source_filename = "AnghaBench/linux/drivers/clk/ingenic/extr_cgu.c_ingenic_clk_round_rate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ingenic_cgu_clk_info = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @CGU_CLK_DIV = common local_unnamed_addr global i32 0, align 4 @CGU_CLK_FIXDIV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ingenic_clk_round_rate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @ingenic_clk_round_rate(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = tail call ptr @to_ingenic_clk(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = load i64, ptr %4, align 8, !tbaa !14 %9 = getelementptr inbounds %struct.ingenic_cgu_clk_info, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = load i32, ptr @CGU_CLK_DIV, align 4, !tbaa !19 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %3 %15 = load i64, ptr %2, align 8, !tbaa !20 %16 = tail call i32 @ingenic_clk_calc_div(ptr noundef nonnull %9, i64 noundef %15, i64 noundef %1) #2 br label %24 17: ; preds = %3 %18 = load i32, ptr @CGU_CLK_FIXDIV, align 4, !tbaa !19 %19 = and i32 %18, %10 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %17 %22 = getelementptr inbounds i8, ptr %9, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !21 br label %24 24: ; preds = %17, %21, %14 %25 = phi i32 [ %16, %14 ], [ %23, %21 ], [ 1, %17 ] %26 = load i64, ptr %2, align 8, !tbaa !20 %27 = tail call i64 @DIV_ROUND_UP(i64 noundef %26, i32 noundef %25) #2 ret i64 %27 } declare ptr @to_ingenic_clk(ptr noundef) local_unnamed_addr #1 declare i32 @ingenic_clk_calc_div(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ingenic_clk", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"ingenic_cgu", !11, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"ingenic_cgu_clk_info", !17, i64 0, !18, i64 4} !17 = !{!"int", !9, i64 0} !18 = !{!"TYPE_2__", !17, i64 0} !19 = !{!17, !17, i64 0} !20 = !{!8, !8, i64 0} !21 = !{!16, !17, i64 4}
linux_drivers_clk_ingenic_extr_cgu.c_ingenic_clk_round_rate
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_genhd.c_get_gendisk.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_genhd.c_get_gendisk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BLOCK_EXT_MAJOR = dso_local local_unnamed_addr global i64 0, align 8 @bdev_map = dso_local local_unnamed_addr global i32 0, align 4 @ext_devt_mutex = dso_local global i32 0, align 4 @ext_devt_idr = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @get_gendisk(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @MAJOR(i32 noundef %0) #2 %4 = load i64, ptr @BLOCK_EXT_MAJOR, align 8, !tbaa !5 %5 = icmp eq i64 %3, %4 br i1 %5, label %13, label %6 6: ; preds = %2 %7 = load i32, ptr @bdev_map, align 4, !tbaa !9 %8 = tail call ptr @kobj_lookup(i32 noundef %7, i32 noundef %0, ptr noundef %1) #2 %9 = icmp eq ptr %8, null br i1 %9, label %29, label %10 10: ; preds = %6 %11 = tail call i32 @kobj_to_dev(ptr noundef nonnull %8) #2 %12 = tail call ptr @dev_to_disk(i32 noundef %11) #2 br label %29 13: ; preds = %2 %14 = tail call i32 @mutex_lock(ptr noundef nonnull @ext_devt_mutex) #2 %15 = tail call i32 @MINOR(i32 noundef %0) #2 %16 = tail call i32 @blk_mangle_minor(i32 noundef %15) #2 %17 = tail call ptr @idr_find(ptr noundef nonnull @ext_devt_idr, i32 noundef %16) #2 %18 = icmp eq ptr %17, null br i1 %18, label %26, label %19 19: ; preds = %13 %20 = tail call ptr @part_to_disk(ptr noundef nonnull %17) #2 %21 = tail call i64 @get_disk(ptr noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load i32, ptr %17, align 4, !tbaa !11 store i32 %24, ptr %1, align 4, !tbaa !9 %25 = tail call ptr @part_to_disk(ptr noundef nonnull %17) #2 br label %26 26: ; preds = %23, %19, %13 %27 = phi ptr [ %25, %23 ], [ null, %19 ], [ null, %13 ] %28 = tail call i32 @mutex_unlock(ptr noundef nonnull @ext_devt_mutex) #2 br label %29 29: ; preds = %6, %10, %26 %30 = phi ptr [ %27, %26 ], [ %12, %10 ], [ null, %6 ] ret ptr %30 } declare i64 @MAJOR(i32 noundef) local_unnamed_addr #1 declare ptr @kobj_lookup(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dev_to_disk(i32 noundef) local_unnamed_addr #1 declare i32 @kobj_to_dev(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare ptr @idr_find(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @blk_mangle_minor(i32 noundef) local_unnamed_addr #1 declare i32 @MINOR(i32 noundef) local_unnamed_addr #1 declare i64 @get_disk(ptr noundef) local_unnamed_addr #1 declare ptr @part_to_disk(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"hd_struct", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_genhd.c_get_gendisk.c' source_filename = "AnghaBench/fastsocket/kernel/block/extr_genhd.c_get_gendisk.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BLOCK_EXT_MAJOR = common local_unnamed_addr global i64 0, align 8 @bdev_map = common local_unnamed_addr global i32 0, align 4 @ext_devt_mutex = common global i32 0, align 4 @ext_devt_idr = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @get_gendisk(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @MAJOR(i32 noundef %0) #2 %4 = load i64, ptr @BLOCK_EXT_MAJOR, align 8, !tbaa !6 %5 = icmp eq i64 %3, %4 br i1 %5, label %13, label %6 6: ; preds = %2 %7 = load i32, ptr @bdev_map, align 4, !tbaa !10 %8 = tail call ptr @kobj_lookup(i32 noundef %7, i32 noundef %0, ptr noundef %1) #2 %9 = icmp eq ptr %8, null br i1 %9, label %29, label %10 10: ; preds = %6 %11 = tail call i32 @kobj_to_dev(ptr noundef nonnull %8) #2 %12 = tail call ptr @dev_to_disk(i32 noundef %11) #2 br label %29 13: ; preds = %2 %14 = tail call i32 @mutex_lock(ptr noundef nonnull @ext_devt_mutex) #2 %15 = tail call i32 @MINOR(i32 noundef %0) #2 %16 = tail call i32 @blk_mangle_minor(i32 noundef %15) #2 %17 = tail call ptr @idr_find(ptr noundef nonnull @ext_devt_idr, i32 noundef %16) #2 %18 = icmp eq ptr %17, null br i1 %18, label %26, label %19 19: ; preds = %13 %20 = tail call ptr @part_to_disk(ptr noundef nonnull %17) #2 %21 = tail call i64 @get_disk(ptr noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load i32, ptr %17, align 4, !tbaa !12 store i32 %24, ptr %1, align 4, !tbaa !10 %25 = tail call ptr @part_to_disk(ptr noundef nonnull %17) #2 br label %26 26: ; preds = %23, %19, %13 %27 = phi ptr [ %25, %23 ], [ null, %19 ], [ null, %13 ] %28 = tail call i32 @mutex_unlock(ptr noundef nonnull @ext_devt_mutex) #2 br label %29 29: ; preds = %6, %10, %26 %30 = phi ptr [ %27, %26 ], [ %12, %10 ], [ null, %6 ] ret ptr %30 } declare i64 @MAJOR(i32 noundef) local_unnamed_addr #1 declare ptr @kobj_lookup(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dev_to_disk(i32 noundef) local_unnamed_addr #1 declare i32 @kobj_to_dev(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare ptr @idr_find(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @blk_mangle_minor(i32 noundef) local_unnamed_addr #1 declare i32 @MINOR(i32 noundef) local_unnamed_addr #1 declare i64 @get_disk(ptr noundef) local_unnamed_addr #1 declare ptr @part_to_disk(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"hd_struct", !11, i64 0}
fastsocket_kernel_block_extr_genhd.c_get_gendisk
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lp.c_lpphy_get_bb_mult.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lp.c_lpphy_get_bb_mult.c" target datalayout = "e-m:e-p270:32:32-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 @lpphy_get_bb_mult], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lpphy_get_bb_mult(ptr noundef %0) #0 { %2 = tail call i32 @B43_LPTAB16(i32 noundef 0, i32 noundef 87) #2 %3 = tail call i32 @b43_lptab_read(ptr noundef %0, i32 noundef %2) #2 %4 = lshr i32 %3, 8 %5 = and i32 %4, 255 ret i32 %5 } declare i32 @b43_lptab_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @B43_LPTAB16(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/wireless/broadcom/b43/extr_phy_lp.c_lpphy_get_bb_mult.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lp.c_lpphy_get_bb_mult.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 @lpphy_get_bb_mult], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 256) i32 @lpphy_get_bb_mult(ptr noundef %0) #0 { %2 = tail call i32 @B43_LPTAB16(i32 noundef 0, i32 noundef 87) #2 %3 = tail call i32 @b43_lptab_read(ptr noundef %0, i32 noundef %2) #2 %4 = lshr i32 %3, 8 %5 = and i32 %4, 255 ret i32 %5 } declare i32 @b43_lptab_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @B43_LPTAB16(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_wireless_broadcom_b43_extr_phy_lp.c_lpphy_get_bb_mult
; ModuleID = 'AnghaBench/micropython/drivers/wiznet5k/internet/dhcp/extr_dhcp.c_DHCP_init.c' source_filename = "AnghaBench/micropython/drivers/wiznet5k/internet/dhcp/extr_dhcp.c_DHCP_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" @DHCP_CHADDR = dso_local local_unnamed_addr global ptr null, align 8 @DHCP_SOCKET = dso_local local_unnamed_addr global i32 0, align 4 @pDHCPMSG = dso_local local_unnamed_addr global ptr null, align 8 @DHCP_XID = dso_local local_unnamed_addr global i32 0, align 4 @STATE_DHCP_INIT = dso_local local_unnamed_addr global i32 0, align 4 @dhcp_state = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @DHCP_init(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca [4 x i32], align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, i8 0, i64 16, i1 false) %4 = load ptr, ptr @DHCP_CHADDR, align 8, !tbaa !5 %5 = tail call i32 @getSHAR(ptr noundef %4) #5 %6 = load ptr, ptr @DHCP_CHADDR, align 8, !tbaa !5 %7 = load <4 x i32>, ptr %6, align 4, !tbaa !9 %8 = getelementptr inbounds i32, ptr %6, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !9 %10 = getelementptr inbounds i32, ptr %6, i64 5 %11 = load i32, ptr %10, align 4, !tbaa !9 %12 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %7) %13 = or i32 %12, %9 %14 = or i32 %13, %11 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %2 store <4 x i32> <i32 0, i32 8, i32 220, i32 0>, ptr %6, align 4, !tbaa !9 store i32 0, ptr %8, align 4, !tbaa !9 store i32 0, ptr %10, align 4, !tbaa !9 %17 = tail call i32 @setSHAR(ptr noundef nonnull %6) #5 br label %18 18: ; preds = %16, %2 store i32 %0, ptr @DHCP_SOCKET, align 4, !tbaa !9 store ptr %1, ptr @pDHCPMSG, align 8, !tbaa !5 store i32 305419896, ptr @DHCP_XID, align 4, !tbaa !9 %19 = call i32 @setSIPR(ptr noundef nonnull %3) #5 %20 = call i32 @setSIPR(ptr noundef nonnull %3) #5 %21 = call i32 @setGAR(ptr noundef nonnull %3) #5 %22 = call i32 (...) @reset_DHCP_timeout() #5 %23 = load i32, ptr @STATE_DHCP_INIT, align 4, !tbaa !9 store i32 %23, ptr @dhcp_state, align 4, !tbaa !9 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @getSHAR(ptr noundef) local_unnamed_addr #3 declare i32 @setSHAR(ptr noundef) local_unnamed_addr #3 declare i32 @setSIPR(ptr noundef) local_unnamed_addr #3 declare i32 @setGAR(ptr noundef) local_unnamed_addr #3 declare i32 @reset_DHCP_timeout(...) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/micropython/drivers/wiznet5k/internet/dhcp/extr_dhcp.c_DHCP_init.c' source_filename = "AnghaBench/micropython/drivers/wiznet5k/internet/dhcp/extr_dhcp.c_DHCP_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DHCP_CHADDR = common local_unnamed_addr global ptr null, align 8 @DHCP_SOCKET = common local_unnamed_addr global i32 0, align 4 @pDHCPMSG = common local_unnamed_addr global ptr null, align 8 @DHCP_XID = common local_unnamed_addr global i32 0, align 4 @STATE_DHCP_INIT = common local_unnamed_addr global i32 0, align 4 @dhcp_state = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @DHCP_init(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca [4 x i32], align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %3, i8 0, i64 16, i1 false) %4 = load ptr, ptr @DHCP_CHADDR, align 8, !tbaa !6 %5 = tail call i32 @getSHAR(ptr noundef %4) #5 %6 = load ptr, ptr @DHCP_CHADDR, align 8, !tbaa !6 %7 = load <4 x i32>, ptr %6, align 4, !tbaa !10 %8 = getelementptr inbounds i8, ptr %6, i64 16 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = getelementptr inbounds i8, ptr %6, i64 20 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %7) %13 = or i32 %12, %9 %14 = or i32 %13, %11 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %2 store <4 x i32> <i32 0, i32 8, i32 220, i32 0>, ptr %6, align 4, !tbaa !10 store <2 x i32> zeroinitializer, ptr %8, align 4, !tbaa !10 %17 = tail call i32 @setSHAR(ptr noundef nonnull %6) #5 br label %18 18: ; preds = %16, %2 store i32 %0, ptr @DHCP_SOCKET, align 4, !tbaa !10 store ptr %1, ptr @pDHCPMSG, align 8, !tbaa !6 store i32 305419896, ptr @DHCP_XID, align 4, !tbaa !10 %19 = call i32 @setSIPR(ptr noundef nonnull %3) #5 %20 = call i32 @setSIPR(ptr noundef nonnull %3) #5 %21 = call i32 @setGAR(ptr noundef nonnull %3) #5 %22 = call i32 @reset_DHCP_timeout() #5 %23 = load i32, ptr @STATE_DHCP_INIT, align 4, !tbaa !10 store i32 %23, ptr @dhcp_state, align 4, !tbaa !10 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @getSHAR(ptr noundef) local_unnamed_addr #3 declare i32 @setSHAR(ptr noundef) local_unnamed_addr #3 declare i32 @setSIPR(ptr noundef) local_unnamed_addr #3 declare i32 @setGAR(ptr noundef) local_unnamed_addr #3 declare i32 @reset_DHCP_timeout(...) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
micropython_drivers_wiznet5k_internet_dhcp_extr_dhcp.c_DHCP_init
; ModuleID = 'AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_ie_page_handler.c' source_filename = "AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_ie_page_handler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ctl_lun = type { i32, i32, i32, i32, i32, i32 } %struct.scsi_info_exceptions_page = type { i32, i64, i32, i32 } @SIEP_FLAGS_TEST = dso_local local_unnamed_addr global i32 0, align 4 @SIEP_MRIE_UA = dso_local local_unnamed_addr global i64 0, align 8 @CTL_UA_IE = dso_local local_unnamed_addr global i32 0, align 4 @UINT32_MAX = dso_local local_unnamed_addr global i32 0, align 4 @hz = dso_local local_unnamed_addr global i32 0, align 4 @ctl_ie_timer = dso_local local_unnamed_addr global i32 0, align 4 @CTL_RETVAL_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ctl_ie_page_handler(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @CTL_LUN(ptr noundef %0) #2 %5 = tail call i32 @ctl_default_page_handler(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %6 = getelementptr inbounds %struct.ctl_lun, ptr %4, i64 0, i32 4 %7 = tail call i32 @mtx_lock(ptr noundef nonnull %6) #2 %8 = load i32, ptr %2, align 8, !tbaa !5 %9 = load i32, ptr @SIEP_FLAGS_TEST, align 4, !tbaa !11 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 %12 = getelementptr inbounds %struct.ctl_lun, ptr %4, i64 0, i32 1 br i1 %11, label %48, label %13 13: ; preds = %3 store i32 93, ptr %4, align 4, !tbaa !12 store i32 255, ptr %12, align 4, !tbaa !14 %14 = getelementptr inbounds %struct.scsi_info_exceptions_page, ptr %2, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = load i64, ptr @SIEP_MRIE_UA, align 8, !tbaa !16 %17 = icmp eq i64 %15, %16 %18 = load i32, ptr @CTL_UA_IE, align 4, !tbaa !11 br i1 %17, label %19, label %21 19: ; preds = %13 %20 = tail call i32 @ctl_est_ua_all(ptr noundef nonnull %4, i32 noundef -1, i32 noundef %18) #2 br label %23 21: ; preds = %13 %22 = tail call i32 @ctl_clr_ua_all(ptr noundef nonnull %4, i32 noundef -1, i32 noundef %18) #2 br label %23 23: ; preds = %21, %19 %24 = phi i32 [ 1, %19 ], [ -1, %21 ] %25 = getelementptr inbounds %struct.ctl_lun, ptr %4, i64 0, i32 2 store i32 %24, ptr %25, align 4 %26 = getelementptr inbounds %struct.ctl_lun, ptr %4, i64 0, i32 3 store i32 1, ptr %26, align 4, !tbaa !17 %27 = getelementptr inbounds %struct.scsi_info_exceptions_page, ptr %2, i64 0, i32 3 %28 = load i32, ptr %27, align 4, !tbaa !18 %29 = tail call i32 @scsi_4btoul(i32 noundef %28) #2 %30 = icmp sgt i32 %29, 1 br i1 %30, label %31, label %56 31: ; preds = %23 %32 = load i32, ptr %26, align 4, !tbaa !17 %33 = add nsw i32 %32, 1 store i32 %33, ptr %26, align 4, !tbaa !17 %34 = getelementptr inbounds %struct.scsi_info_exceptions_page, ptr %2, i64 0, i32 2 %35 = load i32, ptr %34, align 8, !tbaa !19 %36 = tail call i32 @scsi_4btoul(i32 noundef %35) #2 %37 = icmp eq i32 %36, 0 %38 = load i32, ptr @UINT32_MAX, align 4 %39 = icmp eq i32 %36, %38 %40 = select i1 %37, i1 true, i1 %39 %41 = select i1 %40, i32 3000, i32 %36 %42 = getelementptr inbounds %struct.ctl_lun, ptr %4, i64 0, i32 5 %43 = load i32, ptr @hz, align 4, !tbaa !11 %44 = mul nsw i32 %41, %43 %45 = sdiv i32 %44, 10 %46 = load i32, ptr @ctl_ie_timer, align 4, !tbaa !11 %47 = tail call i32 @callout_reset(ptr noundef nonnull %42, i32 noundef %45, i32 noundef %46, ptr noundef nonnull %4) #2 br label %56 48: ; preds = %3 store i32 0, ptr %4, align 4, !tbaa !12 store i32 0, ptr %12, align 4, !tbaa !14 %49 = getelementptr inbounds %struct.ctl_lun, ptr %4, i64 0, i32 2 store i32 1, ptr %49, align 4, !tbaa !20 %50 = load i32, ptr @CTL_UA_IE, align 4, !tbaa !11 %51 = tail call i32 @ctl_clr_ua_all(ptr noundef nonnull %4, i32 noundef -1, i32 noundef %50) #2 %52 = load i32, ptr @UINT32_MAX, align 4, !tbaa !11 %53 = getelementptr inbounds %struct.ctl_lun, ptr %4, i64 0, i32 3 store i32 %52, ptr %53, align 4, !tbaa !17 %54 = getelementptr inbounds %struct.ctl_lun, ptr %4, i64 0, i32 5 %55 = tail call i32 @callout_stop(ptr noundef nonnull %54) #2 br label %56 56: ; preds = %23, %31, %48 %57 = tail call i32 @mtx_unlock(ptr noundef nonnull %6) #2 %58 = load i32, ptr @CTL_RETVAL_COMPLETE, align 4, !tbaa !11 ret i32 %58 } declare ptr @CTL_LUN(ptr noundef) local_unnamed_addr #1 declare i32 @ctl_default_page_handler(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @ctl_est_ua_all(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ctl_clr_ua_all(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @scsi_4btoul(i32 noundef) local_unnamed_addr #1 declare i32 @callout_reset(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"scsi_info_exceptions_page", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"ctl_lun", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !14 = !{!13, !7, i64 4} !15 = !{!6, !10, i64 8} !16 = !{!10, !10, i64 0} !17 = !{!13, !7, i64 12} !18 = !{!6, !7, i64 20} !19 = !{!6, !7, i64 16} !20 = !{!13, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_ie_page_handler.c' source_filename = "AnghaBench/freebsd/sys/cam/ctl/extr_ctl.c_ctl_ie_page_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SIEP_FLAGS_TEST = common local_unnamed_addr global i32 0, align 4 @SIEP_MRIE_UA = common local_unnamed_addr global i64 0, align 8 @CTL_UA_IE = common local_unnamed_addr global i32 0, align 4 @UINT32_MAX = common local_unnamed_addr global i32 0, align 4 @hz = common local_unnamed_addr global i32 0, align 4 @ctl_ie_timer = common local_unnamed_addr global i32 0, align 4 @CTL_RETVAL_COMPLETE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ctl_ie_page_handler(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @CTL_LUN(ptr noundef %0) #2 %5 = tail call i32 @ctl_default_page_handler(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 %6 = getelementptr inbounds i8, ptr %4, i64 16 %7 = tail call i32 @mtx_lock(ptr noundef nonnull %6) #2 %8 = load i32, ptr %2, align 8, !tbaa !6 %9 = load i32, ptr @SIEP_FLAGS_TEST, align 4, !tbaa !12 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %47, label %12 12: ; preds = %3 store <2 x i32> <i32 93, i32 255>, ptr %4, align 4, !tbaa !12 %13 = getelementptr inbounds i8, ptr %2, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !13 %15 = load i64, ptr @SIEP_MRIE_UA, align 8, !tbaa !14 %16 = icmp eq i64 %14, %15 %17 = load i32, ptr @CTL_UA_IE, align 4, !tbaa !12 br i1 %16, label %18, label %20 18: ; preds = %12 %19 = tail call i32 @ctl_est_ua_all(ptr noundef nonnull %4, i32 noundef -1, i32 noundef %17) #2 br label %22 20: ; preds = %12 %21 = tail call i32 @ctl_clr_ua_all(ptr noundef nonnull %4, i32 noundef -1, i32 noundef %17) #2 br label %22 22: ; preds = %20, %18 %23 = phi i32 [ 1, %18 ], [ -1, %20 ] %24 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %23, ptr %24, align 4 %25 = getelementptr inbounds i8, ptr %4, i64 12 store i32 1, ptr %25, align 4, !tbaa !15 %26 = getelementptr inbounds i8, ptr %2, i64 20 %27 = load i32, ptr %26, align 4, !tbaa !17 %28 = tail call i32 @scsi_4btoul(i32 noundef %27) #2 %29 = icmp sgt i32 %28, 1 br i1 %29, label %30, label %55 30: ; preds = %22 %31 = load i32, ptr %25, align 4, !tbaa !15 %32 = add nsw i32 %31, 1 store i32 %32, ptr %25, align 4, !tbaa !15 %33 = getelementptr inbounds i8, ptr %2, i64 16 %34 = load i32, ptr %33, align 8, !tbaa !18 %35 = tail call i32 @scsi_4btoul(i32 noundef %34) #2 %36 = icmp eq i32 %35, 0 %37 = load i32, ptr @UINT32_MAX, align 4 %38 = icmp eq i32 %35, %37 %39 = select i1 %36, i1 true, i1 %38 %40 = select i1 %39, i32 3000, i32 %35 %41 = getelementptr inbounds i8, ptr %4, i64 20 %42 = load i32, ptr @hz, align 4, !tbaa !12 %43 = mul nsw i32 %40, %42 %44 = sdiv i32 %43, 10 %45 = load i32, ptr @ctl_ie_timer, align 4, !tbaa !12 %46 = tail call i32 @callout_reset(ptr noundef nonnull %41, i32 noundef %44, i32 noundef %45, ptr noundef nonnull %4) #2 br label %55 47: ; preds = %3 store <2 x i32> zeroinitializer, ptr %4, align 4, !tbaa !12 %48 = getelementptr inbounds i8, ptr %4, i64 8 store i32 1, ptr %48, align 4, !tbaa !19 %49 = load i32, ptr @CTL_UA_IE, align 4, !tbaa !12 %50 = tail call i32 @ctl_clr_ua_all(ptr noundef nonnull %4, i32 noundef -1, i32 noundef %49) #2 %51 = load i32, ptr @UINT32_MAX, align 4, !tbaa !12 %52 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %51, ptr %52, align 4, !tbaa !15 %53 = getelementptr inbounds i8, ptr %4, i64 20 %54 = tail call i32 @callout_stop(ptr noundef nonnull %53) #2 br label %55 55: ; preds = %22, %30, %47 %56 = tail call i32 @mtx_unlock(ptr noundef nonnull %6) #2 %57 = load i32, ptr @CTL_RETVAL_COMPLETE, align 4, !tbaa !12 ret i32 %57 } declare ptr @CTL_LUN(ptr noundef) local_unnamed_addr #1 declare i32 @ctl_default_page_handler(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @ctl_est_ua_all(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ctl_clr_ua_all(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @scsi_4btoul(i32 noundef) local_unnamed_addr #1 declare i32 @callout_reset(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"scsi_info_exceptions_page", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!16, !8, i64 12} !16 = !{!"ctl_lun", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !17 = !{!7, !8, i64 20} !18 = !{!7, !8, i64 16} !19 = !{!16, !8, i64 8}
freebsd_sys_cam_ctl_extr_ctl.c_ctl_ie_page_handler
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_board-omap3pandora.c_omap3pandora_twl_gpio_setup.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_board-omap3pandora.c_omap3pandora_twl_gpio_setup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_5__ = type { i32, i32 } @omap3pandora_mmc = dso_local local_unnamed_addr global ptr null, align 8 @pandora_vmmc1_supply = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 4 @pandora_vmmc2_supply = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @omap3pandora_twl_gpio_setup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @omap3pandora_twl_gpio_setup(ptr nocapture readnone %0, i32 noundef %1, i32 %2) #0 { %4 = load ptr, ptr @omap3pandora_mmc, align 8, !tbaa !5 store i32 %1, ptr %4, align 4, !tbaa !9 %5 = add i32 %1, 1 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 1 store i32 %5, ptr %6, align 4, !tbaa !9 %7 = tail call i32 @twl4030_mmc_init(ptr noundef nonnull %4) #2 %8 = load ptr, ptr @omap3pandora_mmc, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !12 store i32 %10, ptr @pandora_vmmc1_supply, align 4, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 1, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !12 store i32 %12, ptr @pandora_vmmc2_supply, align 4, !tbaa !15 ret i32 0 } declare i32 @twl4030_mmc_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_5__", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 4} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_7__", !11, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_6__", !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_board-omap3pandora.c_omap3pandora_twl_gpio_setup.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_board-omap3pandora.c_omap3pandora_twl_gpio_setup.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 { i32 } %struct.TYPE_6__ = type { i32 } @omap3pandora_mmc = common local_unnamed_addr global ptr null, align 8 @pandora_vmmc1_supply = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 4 @pandora_vmmc2_supply = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @omap3pandora_twl_gpio_setup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @omap3pandora_twl_gpio_setup(ptr nocapture readnone %0, i32 noundef %1, i32 %2) #0 { %4 = load ptr, ptr @omap3pandora_mmc, align 8, !tbaa !6 store i32 %1, ptr %4, align 4, !tbaa !10 %5 = add i32 %1, 1 %6 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %5, ptr %6, align 4, !tbaa !10 %7 = tail call i32 @twl4030_mmc_init(ptr noundef nonnull %4) #2 %8 = load ptr, ptr @omap3pandora_mmc, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %8, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !13 store i32 %10, ptr @pandora_vmmc1_supply, align 4, !tbaa !14 %11 = getelementptr inbounds i8, ptr %8, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !13 store i32 %12, ptr @pandora_vmmc2_supply, align 4, !tbaa !16 ret i32 0 } declare i32 @twl4030_mmc_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_5__", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 4} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_7__", !12, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_6__", !12, i64 0}
fastsocket_kernel_arch_arm_mach-omap2_extr_board-omap3pandora.c_omap3pandora_twl_gpio_setup
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_cover.c_COVER_strict_cmp.c' source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_cover.c_COVER_strict_cmp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g_ctx = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @COVER_strict_cmp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @COVER_strict_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @g_ctx, align 4, !tbaa !5 %4 = tail call i32 @COVER_cmp(i32 noundef %3, ptr noundef %0, ptr noundef %1) #2 %5 = icmp eq i32 %4, 0 %6 = icmp ult ptr %0, %1 %7 = select i1 %6, i32 -1, i32 1 %8 = select i1 %5, i32 %7, i32 %4 ret i32 %8 } declare i32 @COVER_cmp(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_cover.c_COVER_strict_cmp.c' source_filename = "AnghaBench/borg/src/borg/algorithms/zstd/lib/dictBuilder/extr_cover.c_COVER_strict_cmp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @g_ctx = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @COVER_strict_cmp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @COVER_strict_cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @g_ctx, align 4, !tbaa !6 %4 = tail call i32 @COVER_cmp(i32 noundef %3, ptr noundef %0, ptr noundef %1) #2 %5 = icmp eq i32 %4, 0 %6 = icmp ult ptr %0, %1 %7 = select i1 %6, i32 -1, i32 1 %8 = select i1 %5, i32 %7, i32 %4 ret i32 %8 } declare i32 @COVER_cmp(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
borg_src_borg_algorithms_zstd_lib_dictBuilder_extr_cover.c_COVER_strict_cmp
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_usbnet.c_usbnet_read_cmd.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_usbnet.c_usbnet_read_cmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @usbnet_read_cmd(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 { %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = tail call i64 @usb_autopm_get_interface(i32 noundef %8) #2 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %7 %12 = load i32, ptr @ENODEV, align 4, !tbaa !10 %13 = sub nsw i32 0, %12 br label %18 14: ; preds = %7 %15 = tail call i32 @__usbnet_read_cmd(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #2 %16 = load i32, ptr %0, align 4, !tbaa !5 %17 = tail call i32 @usb_autopm_put_interface(i32 noundef %16) #2 br label %18 18: ; preds = %14, %11 %19 = phi i32 [ %13, %11 ], [ %15, %14 ] ret i32 %19 } declare i64 @usb_autopm_get_interface(i32 noundef) local_unnamed_addr #1 declare i32 @__usbnet_read_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_autopm_put_interface(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 = !{!"usbnet", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_usbnet.c_usbnet_read_cmd.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_usbnet.c_usbnet_read_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @usbnet_read_cmd(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #0 { %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = tail call i64 @usb_autopm_get_interface(i32 noundef %8) #2 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %7 %12 = load i32, ptr @ENODEV, align 4, !tbaa !11 %13 = sub nsw i32 0, %12 br label %18 14: ; preds = %7 %15 = tail call i32 @__usbnet_read_cmd(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #2 %16 = load i32, ptr %0, align 4, !tbaa !6 %17 = tail call i32 @usb_autopm_put_interface(i32 noundef %16) #2 br label %18 18: ; preds = %14, %11 %19 = phi i32 [ %13, %11 ], [ %15, %14 ] ret i32 %19 } declare i64 @usb_autopm_get_interface(i32 noundef) local_unnamed_addr #1 declare i32 @__usbnet_read_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usb_autopm_put_interface(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 = !{!"usbnet", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_usb_extr_usbnet.c_usbnet_read_cmd
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fscache/extr_page.c_fscache_wait_for_deferred_lookup.c' source_filename = "AnghaBench/fastsocket/kernel/fs/fscache/extr_page.c_fscache_wait_for_deferred_lookup.c" target datalayout = "e-m:e-p270:32:32-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 [1 x i8] zeroinitializer, align 1 @FSCACHE_COOKIE_LOOKING_UP = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c" = 0 [imm]\00", align 1 @fscache_n_retrievals_wait = dso_local global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @fscache_wait_bit_interruptible = dso_local local_unnamed_addr global i32 0, align 4 @TASK_INTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4 @fscache_n_retrievals_intr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c" = -ERESTARTSYS\00", align 1 @ERESTARTSYS = dso_local local_unnamed_addr global i32 0, align 4 @fscache_retrieval_delay_histogram = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c" = 0 [dly]\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fscache_wait_for_deferred_lookup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fscache_wait_for_deferred_lookup(ptr noundef %0) #0 { %2 = tail call i32 @_enter(ptr noundef nonnull @.str) #2 %3 = load i32, ptr @FSCACHE_COOKIE_LOOKING_UP, align 4, !tbaa !5 %4 = tail call i32 @test_bit(i32 noundef %3, ptr noundef %0) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @_leave(ptr noundef nonnull @.str.1) #2 br label %31 8: ; preds = %1 %9 = tail call i32 @fscache_stat(ptr noundef nonnull @fscache_n_retrievals_wait) #2 %10 = load i64, ptr @jiffies, align 8, !tbaa !9 %11 = load i32, ptr @FSCACHE_COOKIE_LOOKING_UP, align 4, !tbaa !5 %12 = load i32, ptr @fscache_wait_bit_interruptible, align 4, !tbaa !5 %13 = load i32, ptr @TASK_INTERRUPTIBLE, align 4, !tbaa !5 %14 = tail call i64 @wait_on_bit(ptr noundef %0, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %8 %17 = tail call i32 @fscache_stat(ptr noundef nonnull @fscache_n_retrievals_intr) #2 %18 = tail call i32 @_leave(ptr noundef nonnull @.str.2) #2 %19 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !5 %20 = sub nsw i32 0, %19 br label %31 21: ; preds = %8 %22 = load i32, ptr @FSCACHE_COOKIE_LOOKING_UP, align 4, !tbaa !5 %23 = tail call i32 @test_bit(i32 noundef %22, ptr noundef %0) #2 %24 = icmp eq i32 %23, 0 %25 = zext i1 %24 to i32 %26 = tail call i32 @ASSERT(i32 noundef %25) #2 %27 = tail call i32 (...) @smp_rmb() #2 %28 = load i32, ptr @fscache_retrieval_delay_histogram, align 4, !tbaa !5 %29 = tail call i32 @fscache_hist(i32 noundef %28, i64 noundef %10) #2 %30 = tail call i32 @_leave(ptr noundef nonnull @.str.3) #2 br label %31 31: ; preds = %21, %16, %6 %32 = phi i32 [ %20, %16 ], [ 0, %21 ], [ 0, %6 ] ret i32 %32 } declare i32 @_enter(ptr noundef) local_unnamed_addr #1 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_leave(ptr noundef) local_unnamed_addr #1 declare i32 @fscache_stat(ptr noundef) local_unnamed_addr #1 declare i64 @wait_on_bit(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @smp_rmb(...) local_unnamed_addr #1 declare i32 @fscache_hist(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fscache/extr_page.c_fscache_wait_for_deferred_lookup.c' source_filename = "AnghaBench/fastsocket/kernel/fs/fscache/extr_page.c_fscache_wait_for_deferred_lookup.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 [1 x i8] zeroinitializer, align 1 @FSCACHE_COOKIE_LOOKING_UP = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c" = 0 [imm]\00", align 1 @fscache_n_retrievals_wait = common global i32 0, align 4 @jiffies = common local_unnamed_addr global i64 0, align 8 @fscache_wait_bit_interruptible = common local_unnamed_addr global i32 0, align 4 @TASK_INTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4 @fscache_n_retrievals_intr = common global i32 0, align 4 @.str.2 = private unnamed_addr constant [16 x i8] c" = -ERESTARTSYS\00", align 1 @ERESTARTSYS = common local_unnamed_addr global i32 0, align 4 @fscache_retrieval_delay_histogram = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c" = 0 [dly]\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fscache_wait_for_deferred_lookup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @fscache_wait_for_deferred_lookup(ptr noundef %0) #0 { %2 = tail call i32 @_enter(ptr noundef nonnull @.str) #2 %3 = load i32, ptr @FSCACHE_COOKIE_LOOKING_UP, align 4, !tbaa !6 %4 = tail call i32 @test_bit(i32 noundef %3, ptr noundef %0) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @_leave(ptr noundef nonnull @.str.1) #2 br label %31 8: ; preds = %1 %9 = tail call i32 @fscache_stat(ptr noundef nonnull @fscache_n_retrievals_wait) #2 %10 = load i64, ptr @jiffies, align 8, !tbaa !10 %11 = load i32, ptr @FSCACHE_COOKIE_LOOKING_UP, align 4, !tbaa !6 %12 = load i32, ptr @fscache_wait_bit_interruptible, align 4, !tbaa !6 %13 = load i32, ptr @TASK_INTERRUPTIBLE, align 4, !tbaa !6 %14 = tail call i64 @wait_on_bit(ptr noundef %0, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %8 %17 = tail call i32 @fscache_stat(ptr noundef nonnull @fscache_n_retrievals_intr) #2 %18 = tail call i32 @_leave(ptr noundef nonnull @.str.2) #2 %19 = load i32, ptr @ERESTARTSYS, align 4, !tbaa !6 %20 = sub nsw i32 0, %19 br label %31 21: ; preds = %8 %22 = load i32, ptr @FSCACHE_COOKIE_LOOKING_UP, align 4, !tbaa !6 %23 = tail call i32 @test_bit(i32 noundef %22, ptr noundef %0) #2 %24 = icmp eq i32 %23, 0 %25 = zext i1 %24 to i32 %26 = tail call i32 @ASSERT(i32 noundef %25) #2 %27 = tail call i32 @smp_rmb() #2 %28 = load i32, ptr @fscache_retrieval_delay_histogram, align 4, !tbaa !6 %29 = tail call i32 @fscache_hist(i32 noundef %28, i64 noundef %10) #2 %30 = tail call i32 @_leave(ptr noundef nonnull @.str.3) #2 br label %31 31: ; preds = %21, %16, %6 %32 = phi i32 [ %20, %16 ], [ 0, %21 ], [ 0, %6 ] ret i32 %32 } declare i32 @_enter(ptr noundef) local_unnamed_addr #1 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_leave(ptr noundef) local_unnamed_addr #1 declare i32 @fscache_stat(ptr noundef) local_unnamed_addr #1 declare i64 @wait_on_bit(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @smp_rmb(...) local_unnamed_addr #1 declare i32 @fscache_hist(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
fastsocket_kernel_fs_fscache_extr_page.c_fscache_wait_for_deferred_lookup
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_hpet.c_hpet_restore.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_hpet.c_hpet_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, i64, i32, i32, i32, i32, i32, i32, i32 } @saved_hpet = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 8 @hpetArea = dso_local local_unnamed_addr global i64 0, align 8 @rcbaArea = dso_local local_unnamed_addr global i64 0, align 8 @hptcAE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [83 x i8] c"HPET memory is not enabled, enabling and assigning to 0xFED00000 (hope that's ok)\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @hpet_restore() local_unnamed_addr #0 { %1 = load i64, ptr @hpetArea, align 8, !tbaa !5 %2 = load i64, ptr @rcbaArea, align 8, !tbaa !5 %3 = add nsw i64 %2, 13316 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr %4, align 4, !tbaa !9 %6 = load i32, ptr @hptcAE, align 4, !tbaa !9 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %0 %10 = tail call i32 @DBG(ptr noundef nonnull @.str) #2 %11 = and i32 %5, -4 %12 = load i32, ptr @hptcAE, align 4, !tbaa !9 %13 = or i32 %12, %11 store i32 %13, ptr %4, align 4, !tbaa !9 br label %14 14: ; preds = %9, %0 %15 = inttoptr i64 %1 to ptr %16 = load i32, ptr @saved_hpet, align 8, !tbaa !11 %17 = and i32 %16, -2 store i32 %17, ptr %15, align 8, !tbaa !11 %18 = load i32, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @saved_hpet, i64 0, i32 8), align 8, !tbaa !14 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 0, i32 8 store i32 %18, ptr %19, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 0, i32 6 %21 = load <2 x i32>, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @saved_hpet, i64 0, i32 6), align 8, !tbaa !9 store <2 x i32> %21, ptr %20, align 8, !tbaa !9 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 0, i32 1 store i64 -1, ptr %22, align 8, !tbaa !15 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i64 0, i32 2 %24 = load <4 x i32>, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @saved_hpet, i64 0, i32 2), align 8, !tbaa !9 store <4 x i32> %24, ptr %23, align 8, !tbaa !9 %25 = load i32, ptr @saved_hpet, align 8, !tbaa !11 store i32 %25, ptr %15, align 8, !tbaa !11 ret void } declare i32 @DBG(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_3__", !10, i64 0, !13, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40} !13 = !{!"long long", !7, i64 0} !14 = !{!12, !10, i64 40} !15 = !{!12, !13, i64 8}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_hpet.c_hpet_restore.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_hpet.c_hpet_restore.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, i64, i32, i32, i32, i32, i32, i32, i32 } @saved_hpet = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 8 @hpetArea = common local_unnamed_addr global i64 0, align 8 @rcbaArea = common local_unnamed_addr global i64 0, align 8 @hptcAE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [83 x i8] c"HPET memory is not enabled, enabling and assigning to 0xFED00000 (hope that's ok)\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @hpet_restore() local_unnamed_addr #0 { %1 = load i64, ptr @hpetArea, align 8, !tbaa !6 %2 = load i64, ptr @rcbaArea, align 8, !tbaa !6 %3 = add nsw i64 %2, 13316 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = load i32, ptr @hptcAE, align 4, !tbaa !10 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %0 %10 = tail call i32 @DBG(ptr noundef nonnull @.str) #2 %11 = and i32 %5, -4 %12 = load i32, ptr @hptcAE, align 4, !tbaa !10 %13 = or i32 %12, %11 store i32 %13, ptr %4, align 4, !tbaa !10 br label %14 14: ; preds = %9, %0 %15 = inttoptr i64 %1 to ptr %16 = load i32, ptr @saved_hpet, align 8, !tbaa !12 %17 = and i32 %16, -2 store i32 %17, ptr %15, align 8, !tbaa !12 %18 = load i32, ptr getelementptr inbounds (i8, ptr @saved_hpet, i64 40), align 8, !tbaa !15 %19 = getelementptr inbounds i8, ptr %15, i64 40 store i32 %18, ptr %19, align 8, !tbaa !15 %20 = getelementptr inbounds i8, ptr %15, i64 32 %21 = load <2 x i32>, ptr getelementptr inbounds (i8, ptr @saved_hpet, i64 32), align 8, !tbaa !10 store <2 x i32> %21, ptr %20, align 8, !tbaa !10 %22 = getelementptr inbounds i8, ptr %15, i64 8 store i64 -1, ptr %22, align 8, !tbaa !16 %23 = getelementptr inbounds i8, ptr %15, i64 16 %24 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @saved_hpet, i64 16), align 8, !tbaa !10 store <4 x i32> %24, ptr %23, align 8, !tbaa !10 %25 = load i32, ptr @saved_hpet, align 8, !tbaa !12 store i32 %25, ptr %15, align 8, !tbaa !12 ret void } declare i32 @DBG(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0, !14, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40} !14 = !{!"long long", !8, i64 0} !15 = !{!13, !11, i64 40} !16 = !{!13, !14, i64 8}
darwin-xnu_osfmk_i386_extr_hpet.c_hpet_restore
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_main.c_hns_dsaf_inner_qid_cfg.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_main.c_hns_dsaf_inner_qid_cfg.c" target datalayout = "e-m:e-p270:32:32-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.dsaf_device = type { i32, i32 } @DSAF_SERVICE_NW_NUM = dso_local local_unnamed_addr global i32 0, align 4 @DSAFV2_SERDES_LBK_0_REG = dso_local local_unnamed_addr global i64 0, align 8 @DSAFV2_SERDES_LBK_QID_M = dso_local local_unnamed_addr global i32 0, align 4 @DSAFV2_SERDES_LBK_QID_S = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hns_dsaf_inner_qid_cfg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hns_dsaf_inner_qid_cfg(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = getelementptr inbounds %struct.dsaf_device, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i64 @AE_IS_VER1(i32 noundef %5) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %30 8: ; preds = %1 %9 = load i32, ptr %0, align 4, !tbaa !10 %10 = call i32 @hns_rcb_get_queue_mode(i32 noundef %9, ptr noundef nonnull %3, ptr noundef nonnull %2) #3 %11 = load i32, ptr %3, align 4, !tbaa !11 %12 = load i32, ptr %2, align 4, !tbaa !11 %13 = mul nsw i32 %12, %11 %14 = load i32, ptr @DSAF_SERVICE_NW_NUM, align 4, !tbaa !11 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %30 16: ; preds = %8, %16 %17 = phi i64 [ %26, %16 ], [ 0, %8 ] %18 = phi i32 [ %25, %16 ], [ 0, %8 ] %19 = load i64, ptr @DSAFV2_SERDES_LBK_0_REG, align 8, !tbaa !12 %20 = shl nsw i64 %17, 2 %21 = add nsw i64 %19, %20 %22 = load i32, ptr @DSAFV2_SERDES_LBK_QID_M, align 4, !tbaa !11 %23 = load i32, ptr @DSAFV2_SERDES_LBK_QID_S, align 4, !tbaa !11 %24 = call i32 @dsaf_set_dev_field(ptr noundef nonnull %0, i64 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %18) #3 %25 = add nsw i32 %18, %13 %26 = add nuw nsw i64 %17, 1 %27 = load i32, ptr @DSAF_SERVICE_NW_NUM, align 4, !tbaa !11 %28 = sext i32 %27 to i64 %29 = icmp slt i64 %26, %28 br i1 %29, label %16, label %30, !llvm.loop !14 30: ; preds = %16, %8, %1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, 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 i64 @AE_IS_VER1(i32 noundef) local_unnamed_addr #2 declare i32 @hns_rcb_get_queue_mode(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dsaf_set_dev_field(ptr noundef, i64 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, !7, i64 4} !6 = !{!"dsaf_device", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_main.c_hns_dsaf_inner_qid_cfg.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns/extr_hns_dsaf_main.c_hns_dsaf_inner_qid_cfg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DSAF_SERVICE_NW_NUM = common local_unnamed_addr global i32 0, align 4 @DSAFV2_SERDES_LBK_0_REG = common local_unnamed_addr global i64 0, align 8 @DSAFV2_SERDES_LBK_QID_M = common local_unnamed_addr global i32 0, align 4 @DSAFV2_SERDES_LBK_QID_S = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hns_dsaf_inner_qid_cfg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hns_dsaf_inner_qid_cfg(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i64 @AE_IS_VER1(i32 noundef %5) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %30 8: ; preds = %1 %9 = load i32, ptr %0, align 4, !tbaa !11 %10 = call i32 @hns_rcb_get_queue_mode(i32 noundef %9, ptr noundef nonnull %3, ptr noundef nonnull %2) #3 %11 = load i32, ptr %3, align 4, !tbaa !12 %12 = load i32, ptr %2, align 4, !tbaa !12 %13 = mul nsw i32 %12, %11 %14 = load i32, ptr @DSAF_SERVICE_NW_NUM, align 4, !tbaa !12 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %30 16: ; preds = %8, %16 %17 = phi i64 [ %26, %16 ], [ 0, %8 ] %18 = phi i32 [ %25, %16 ], [ 0, %8 ] %19 = load i64, ptr @DSAFV2_SERDES_LBK_0_REG, align 8, !tbaa !13 %20 = shl nsw i64 %17, 2 %21 = add nsw i64 %19, %20 %22 = load i32, ptr @DSAFV2_SERDES_LBK_QID_M, align 4, !tbaa !12 %23 = load i32, ptr @DSAFV2_SERDES_LBK_QID_S, align 4, !tbaa !12 %24 = call i32 @dsaf_set_dev_field(ptr noundef nonnull %0, i64 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %18) #3 %25 = add nsw i32 %18, %13 %26 = add nuw nsw i64 %17, 1 %27 = load i32, ptr @DSAF_SERVICE_NW_NUM, align 4, !tbaa !12 %28 = sext i32 %27 to i64 %29 = icmp slt i64 %26, %28 br i1 %29, label %16, label %30, !llvm.loop !15 30: ; preds = %16, %8, %1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, 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 i64 @AE_IS_VER1(i32 noundef) local_unnamed_addr #2 declare i32 @hns_rcb_get_queue_mode(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dsaf_set_dev_field(ptr noundef, i64 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, !8, i64 4} !7 = !{!"dsaf_device", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_hisilicon_hns_extr_hns_dsaf_main.c_hns_dsaf_inner_qid_cfg
; ModuleID = 'AnghaBench/linux/drivers/misc/extr_tsl2550.c_tsl2550_probe.c' source_filename = "AnghaBench/linux/drivers/misc/extr_tsl2550.c_tsl2550_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.i2c_client = type { %struct.TYPE_3__, ptr } %struct.TYPE_3__ = type { ptr, i32 } %struct.tsl2550_data = type { i32, i32, ptr } @I2C_FUNC_SMBUS_WRITE_BYTE = dso_local local_unnamed_addr global i32 0, align 4 @I2C_FUNC_SMBUS_READ_BYTE_DATA = dso_local local_unnamed_addr global i32 0, align 4 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"invalid operating_mode (%d)\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"%s operating mode\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"extended\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"standard\00", align 1 @tsl2550_attr_group = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [25 x i8] c"support ver. %s enabled\0A\00", align 1 @DRIVER_VERSION = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @tsl2550_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tsl2550_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @I2C_FUNC_SMBUS_WRITE_BYTE, align 4, !tbaa !12 %6 = load i32, ptr @I2C_FUNC_SMBUS_READ_BYTE_DATA, align 4, !tbaa !12 %7 = or i32 %6, %5 %8 = tail call i32 @i2c_check_functionality(ptr noundef %4, i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @EIO, align 4, !tbaa !12 %12 = sub nsw i32 0, %11 br label %54 13: ; preds = %2 %14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %15 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %14) #2 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %19 = sub nsw i32 0, %18 br label %54 20: ; preds = %13 %21 = getelementptr inbounds %struct.tsl2550_data, ptr %15, i64 0, i32 2 store ptr %0, ptr %21, align 8, !tbaa !13 %22 = tail call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %15) #2 %23 = load ptr, ptr %0, align 8, !tbaa !15 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %26 25: ; preds = %20 store i32 0, ptr %15, align 8, !tbaa !16 br label %36 26: ; preds = %20 %27 = load i32, ptr %23, align 4, !tbaa !12 %28 = freeze i32 %27 %29 = icmp ugt i32 %28, 1 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %28) #2 %32 = load i32, ptr @EINVAL, align 4, !tbaa !12 %33 = sub nsw i32 0, %32 br label %51 34: ; preds = %26 store i32 %28, ptr %15, align 8, !tbaa !16 %35 = icmp eq i32 %28, 0 br i1 %35, label %36, label %37 36: ; preds = %25, %34 br label %37 37: ; preds = %34, %36 %38 = phi ptr [ @.str.3, %36 ], [ @.str.2, %34 ] %39 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %38) #2 %40 = getelementptr inbounds %struct.tsl2550_data, ptr %15, i64 0, i32 1 %41 = tail call i32 @mutex_init(ptr noundef nonnull %40) #2 %42 = tail call i32 @tsl2550_init_client(ptr noundef nonnull %0) #2 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %51 44: ; preds = %37 %45 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %46 = tail call i32 @sysfs_create_group(ptr noundef nonnull %45, ptr noundef nonnull @tsl2550_attr_group) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load ptr, ptr @DRIVER_VERSION, align 8, !tbaa !17 %50 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, ptr noundef %49) #2 br label %54 51: ; preds = %44, %37, %30 %52 = phi i32 [ %33, %30 ], [ %42, %37 ], [ %46, %44 ] %53 = tail call i32 @kfree(ptr noundef nonnull %15) #2 br label %54 54: ; preds = %10, %17, %51, %48 %55 = phi i32 [ 0, %48 ], [ %52, %51 ], [ %19, %17 ], [ %12, %10 ] ret i32 %55 } declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @tsl2550_init_client(ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 16} !6 = !{!"i2c_client", !7, i64 0, !8, i64 16} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"tsl2550_data", !11, i64 0, !11, i64 4, !8, i64 8} !15 = !{!6, !8, i64 0} !16 = !{!14, !11, i64 0} !17 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/misc/extr_tsl2550.c_tsl2550_probe.c' source_filename = "AnghaBench/linux/drivers/misc/extr_tsl2550.c_tsl2550_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @I2C_FUNC_SMBUS_WRITE_BYTE = common local_unnamed_addr global i32 0, align 4 @I2C_FUNC_SMBUS_READ_BYTE_DATA = common local_unnamed_addr global i32 0, align 4 @EIO = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"invalid operating_mode (%d)\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"%s operating mode\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"extended\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"standard\00", align 1 @tsl2550_attr_group = common global i32 0, align 4 @.str.4 = private unnamed_addr constant [25 x i8] c"support ver. %s enabled\0A\00", align 1 @DRIVER_VERSION = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @tsl2550_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tsl2550_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @I2C_FUNC_SMBUS_WRITE_BYTE, align 4, !tbaa !13 %6 = load i32, ptr @I2C_FUNC_SMBUS_READ_BYTE_DATA, align 4, !tbaa !13 %7 = or i32 %6, %5 %8 = tail call i32 @i2c_check_functionality(ptr noundef %4, i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @EIO, align 4, !tbaa !13 %12 = sub nsw i32 0, %11 br label %54 13: ; preds = %2 %14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %15 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %14) #2 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %19 = sub nsw i32 0, %18 br label %54 20: ; preds = %13 %21 = getelementptr inbounds i8, ptr %15, i64 8 store ptr %0, ptr %21, align 8, !tbaa !14 %22 = tail call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %15) #2 %23 = load ptr, ptr %0, align 8, !tbaa !16 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %26 25: ; preds = %20 store i32 0, ptr %15, align 8, !tbaa !17 br label %36 26: ; preds = %20 %27 = load i32, ptr %23, align 4, !tbaa !13 %28 = freeze i32 %27 %29 = icmp ugt i32 %28, 1 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %28) #2 %32 = load i32, ptr @EINVAL, align 4, !tbaa !13 %33 = sub nsw i32 0, %32 br label %51 34: ; preds = %26 store i32 %28, ptr %15, align 8, !tbaa !17 %35 = icmp eq i32 %28, 0 br i1 %35, label %36, label %37 36: ; preds = %25, %34 br label %37 37: ; preds = %34, %36 %38 = phi ptr [ @.str.3, %36 ], [ @.str.2, %34 ] %39 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %38) #2 %40 = getelementptr inbounds i8, ptr %15, i64 4 %41 = tail call i32 @mutex_init(ptr noundef nonnull %40) #2 %42 = tail call i32 @tsl2550_init_client(ptr noundef nonnull %0) #2 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %51 44: ; preds = %37 %45 = getelementptr inbounds i8, ptr %0, i64 8 %46 = tail call i32 @sysfs_create_group(ptr noundef nonnull %45, ptr noundef nonnull @tsl2550_attr_group) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load ptr, ptr @DRIVER_VERSION, align 8, !tbaa !18 %50 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, ptr noundef %49) #2 br label %54 51: ; preds = %44, %37, %30 %52 = phi i32 [ %33, %30 ], [ %42, %37 ], [ %46, %44 ] %53 = tail call i32 @kfree(ptr noundef nonnull %15) #2 br label %54 54: ; preds = %10, %17, %51, %48 %55 = phi i32 [ 0, %48 ], [ %52, %51 ], [ %19, %17 ], [ %12, %10 ] ret i32 %55 } declare i32 @i2c_check_functionality(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @tsl2550_init_client(ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 16} !7 = !{!"i2c_client", !8, i64 0, !9, i64 16} !8 = !{!"TYPE_3__", !9, i64 0, !12, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !9, i64 8} !15 = !{!"tsl2550_data", !12, i64 0, !12, i64 4, !9, i64 8} !16 = !{!7, !9, i64 0} !17 = !{!15, !12, i64 0} !18 = !{!9, !9, i64 0}
linux_drivers_misc_extr_tsl2550.c_tsl2550_probe
; ModuleID = 'AnghaBench/linux/virt/kvm/extr_kvm_main.c_hardware_disable_nolock.c' source_filename = "AnghaBench/linux/virt/kvm/extr_kvm_main.c_hardware_disable_nolock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @cpus_hardware_enabled = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hardware_disable_nolock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hardware_disable_nolock(ptr nocapture readnone %0) #0 { %2 = tail call i32 (...) @raw_smp_processor_id() #2 %3 = load i32, ptr @cpus_hardware_enabled, align 4, !tbaa !5 %4 = tail call i32 @cpumask_test_cpu(i32 noundef %2, i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i32, ptr @cpus_hardware_enabled, align 4, !tbaa !5 %8 = tail call i32 @cpumask_clear_cpu(i32 noundef %2, i32 noundef %7) #2 %9 = tail call i32 (...) @kvm_arch_hardware_disable() #2 br label %10 10: ; preds = %1, %6 ret void } declare i32 @raw_smp_processor_id(...) local_unnamed_addr #1 declare i32 @cpumask_test_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpumask_clear_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvm_arch_hardware_disable(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/virt/kvm/extr_kvm_main.c_hardware_disable_nolock.c' source_filename = "AnghaBench/linux/virt/kvm/extr_kvm_main.c_hardware_disable_nolock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cpus_hardware_enabled = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hardware_disable_nolock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hardware_disable_nolock(ptr nocapture readnone %0) #0 { %2 = tail call i32 @raw_smp_processor_id() #2 %3 = load i32, ptr @cpus_hardware_enabled, align 4, !tbaa !6 %4 = tail call i32 @cpumask_test_cpu(i32 noundef %2, i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i32, ptr @cpus_hardware_enabled, align 4, !tbaa !6 %8 = tail call i32 @cpumask_clear_cpu(i32 noundef %2, i32 noundef %7) #2 %9 = tail call i32 @kvm_arch_hardware_disable() #2 br label %10 10: ; preds = %1, %6 ret void } declare i32 @raw_smp_processor_id(...) local_unnamed_addr #1 declare i32 @cpumask_test_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpumask_clear_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvm_arch_hardware_disable(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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_virt_kvm_extr_kvm_main.c_hardware_disable_nolock
; ModuleID = 'AnghaBench/freebsd/usr.sbin/lpr/common_source/extr_printcap.c_nextprinter.c' source_filename = "AnghaBench/freebsd/usr.sbin/lpr/common_source/extr_printcap.c_nextprinter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @printcapdb = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @nextprinter(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 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @free_printer(ptr noundef %0) #3 %6 = load i32, ptr @printcapdb, align 4, !tbaa !5 %7 = call i32 @cgetnext(ptr noundef nonnull %4, i32 noundef %6) #3 store i32 %7, ptr %3, align 4, !tbaa !5 %8 = call i64 @firstnextmap(ptr noundef nonnull %3) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = icmp eq ptr %1, null br i1 %11, label %29, label %12 12: ; preds = %10 %13 = load i32, ptr %3, align 4, !tbaa !5 br label %26 14: ; preds = %2 %15 = icmp ne ptr %1, null br i1 %15, label %16, label %18 16: ; preds = %14 %17 = load i32, ptr %3, align 4, !tbaa !5 store i32 %17, ptr %1, align 4, !tbaa !5 br label %18 18: ; preds = %16, %14 %19 = load ptr, ptr %4, align 8, !tbaa !9 %20 = call i32 @getprintcap_int(ptr noundef %19, ptr noundef %0) #3 store i32 %20, ptr %3, align 4, !tbaa !5 %21 = load ptr, ptr %4, align 8, !tbaa !9 %22 = call i32 @free(ptr noundef %21) #3 %23 = load i32, ptr %3, align 4 %24 = icmp ne i32 %23, 0 %25 = select i1 %15, i1 %24, i1 false br i1 %25, label %26, label %29 26: ; preds = %18, %12 %27 = phi i32 [ %13, %12 ], [ %23, %18 ] %28 = phi i32 [ 0, %12 ], [ 1, %18 ] store i32 %27, ptr %1, align 4, !tbaa !5 br label %29 29: ; preds = %26, %18, %10 %30 = phi i32 [ 0, %10 ], [ 1, %18 ], [ %28, %26 ] 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 %30 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @free_printer(ptr noundef) local_unnamed_addr #2 declare i32 @cgetnext(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @firstnextmap(ptr noundef) local_unnamed_addr #2 declare i32 @getprintcap_int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/usr.sbin/lpr/common_source/extr_printcap.c_nextprinter.c' source_filename = "AnghaBench/freebsd/usr.sbin/lpr/common_source/extr_printcap.c_nextprinter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @printcapdb = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @nextprinter(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 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @free_printer(ptr noundef %0) #3 %6 = load i32, ptr @printcapdb, align 4, !tbaa !6 %7 = call i32 @cgetnext(ptr noundef nonnull %4, i32 noundef %6) #3 store i32 %7, ptr %3, align 4, !tbaa !6 %8 = call i64 @firstnextmap(ptr noundef nonnull %3) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = icmp eq ptr %1, null br i1 %11, label %29, label %12 12: ; preds = %10 %13 = load i32, ptr %3, align 4, !tbaa !6 br label %26 14: ; preds = %2 %15 = icmp ne ptr %1, null br i1 %15, label %16, label %18 16: ; preds = %14 %17 = load i32, ptr %3, align 4, !tbaa !6 store i32 %17, ptr %1, align 4, !tbaa !6 br label %18 18: ; preds = %16, %14 %19 = load ptr, ptr %4, align 8, !tbaa !10 %20 = call i32 @getprintcap_int(ptr noundef %19, ptr noundef %0) #3 store i32 %20, ptr %3, align 4, !tbaa !6 %21 = load ptr, ptr %4, align 8, !tbaa !10 %22 = call i32 @free(ptr noundef %21) #3 %23 = load i32, ptr %3, align 4 %24 = icmp ne i32 %23, 0 %25 = select i1 %15, i1 %24, i1 false br i1 %25, label %26, label %29 26: ; preds = %18, %12 %27 = phi i32 [ %13, %12 ], [ %23, %18 ] %28 = phi i32 [ 0, %12 ], [ 1, %18 ] store i32 %27, ptr %1, align 4, !tbaa !6 br label %29 29: ; preds = %26, %18, %10 %30 = phi i32 [ 0, %10 ], [ 1, %18 ], [ %28, %26 ] 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 %30 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @free_printer(ptr noundef) local_unnamed_addr #2 declare i32 @cgetnext(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @firstnextmap(ptr noundef) local_unnamed_addr #2 declare i32 @getprintcap_int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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_usr.sbin_lpr_common_source_extr_printcap.c_nextprinter
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_spca561.c_init_161rev12A.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_spca561.c_init_161rev12A.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @spca561_161rev12A_data1 = dso_local local_unnamed_addr global i32 0, align 4 @Pb100_1map8300 = dso_local local_unnamed_addr global i32 0, align 4 @spca561_161rev12A_data2 = dso_local local_unnamed_addr global i32 0, align 4 @Pb100_2map8300 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_161rev12A], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @init_161rev12A(ptr noundef %0) #0 { %2 = load i32, ptr @spca561_161rev12A_data1, align 4, !tbaa !5 %3 = tail call i32 @write_vector(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @Pb100_1map8300, align 4, !tbaa !5 %5 = tail call i32 @sensor_mapwrite(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr @spca561_161rev12A_data2, align 4, !tbaa !5 %7 = tail call i32 @write_vector(ptr noundef %0, i32 noundef %6) #2 %8 = load i32, ptr @Pb100_2map8300, align 4, !tbaa !5 %9 = tail call i32 @sensor_mapwrite(ptr noundef %0, i32 noundef %8) #2 ret void } declare i32 @write_vector(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sensor_mapwrite(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_spca561.c_init_161rev12A.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_spca561.c_init_161rev12A.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @spca561_161rev12A_data1 = common local_unnamed_addr global i32 0, align 4 @Pb100_1map8300 = common local_unnamed_addr global i32 0, align 4 @spca561_161rev12A_data2 = common local_unnamed_addr global i32 0, align 4 @Pb100_2map8300 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @init_161rev12A], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @init_161rev12A(ptr noundef %0) #0 { %2 = load i32, ptr @spca561_161rev12A_data1, align 4, !tbaa !6 %3 = tail call i32 @write_vector(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @Pb100_1map8300, align 4, !tbaa !6 %5 = tail call i32 @sensor_mapwrite(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr @spca561_161rev12A_data2, align 4, !tbaa !6 %7 = tail call i32 @write_vector(ptr noundef %0, i32 noundef %6) #2 %8 = load i32, ptr @Pb100_2map8300, align 4, !tbaa !6 %9 = tail call i32 @sensor_mapwrite(ptr noundef %0, i32 noundef %8) #2 ret void } declare i32 @write_vector(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sensor_mapwrite(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_media_video_gspca_extr_spca561.c_init_161rev12A
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_base64.c_Base64HeaderToBinaryA.c' source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_base64.c_Base64HeaderToBinaryA.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CRYPT_STRING_BASE64HEADER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @Base64HeaderToBinaryA], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @Base64HeaderToBinaryA(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef writeonly %5) #0 { %7 = tail call i32 @Base64WithHeaderAndTrailerToBinaryA(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 %8 = icmp eq i32 %7, 0 %9 = icmp ne ptr %5, null %10 = and i1 %9, %8 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = load i32, ptr @CRYPT_STRING_BASE64HEADER, align 4, !tbaa !5 store i32 %12, ptr %5, align 4, !tbaa !5 br label %13 13: ; preds = %11, %6 ret i32 %7 } declare i32 @Base64WithHeaderAndTrailerToBinaryA(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_base64.c_Base64HeaderToBinaryA.c' source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_base64.c_Base64HeaderToBinaryA.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYPT_STRING_BASE64HEADER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @Base64HeaderToBinaryA], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @Base64HeaderToBinaryA(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef writeonly %5) #0 { %7 = tail call i32 @Base64WithHeaderAndTrailerToBinaryA(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2 %8 = icmp eq i32 %7, 0 %9 = icmp ne ptr %5, null %10 = and i1 %9, %8 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = load i32, ptr @CRYPT_STRING_BASE64HEADER, align 4, !tbaa !6 store i32 %12, ptr %5, align 4, !tbaa !6 br label %13 13: ; preds = %11, %6 ret i32 %7 } declare i32 @Base64WithHeaderAndTrailerToBinaryA(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_dll_win32_crypt32_extr_base64.c_Base64HeaderToBinaryA
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_pair.c_bufferevent_pair_get_partner.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_pair.c_bufferevent_pair_get_partner.c" target datalayout = "e-m:e-p270:32:32-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 @bufferevent_pair_get_partner(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @upcast(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %13, label %4 4: ; preds = %1 %5 = tail call i32 @incref_and_lock(ptr noundef %0) #2 %6 = load i64, ptr %2, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call ptr @downcast(i64 noundef %6) #2 br label %10 10: ; preds = %8, %4 %11 = phi ptr [ %9, %8 ], [ null, %4 ] %12 = tail call i32 @decref_and_unlock(ptr noundef %0) #2 br label %13 13: ; preds = %1, %10 %14 = phi ptr [ %11, %10 ], [ null, %1 ] ret ptr %14 } declare ptr @upcast(ptr noundef) local_unnamed_addr #1 declare i32 @incref_and_lock(ptr noundef) local_unnamed_addr #1 declare ptr @downcast(i64 noundef) local_unnamed_addr #1 declare i32 @decref_and_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bufferevent_pair", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_pair.c_bufferevent_pair_get_partner.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_pair.c_bufferevent_pair_get_partner.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 @bufferevent_pair_get_partner(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @upcast(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %13, label %4 4: ; preds = %1 %5 = tail call i32 @incref_and_lock(ptr noundef %0) #2 %6 = load i64, ptr %2, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call ptr @downcast(i64 noundef %6) #2 br label %10 10: ; preds = %8, %4 %11 = phi ptr [ %9, %8 ], [ null, %4 ] %12 = tail call i32 @decref_and_unlock(ptr noundef %0) #2 br label %13 13: ; preds = %1, %10 %14 = phi ptr [ %11, %10 ], [ null, %1 ] ret ptr %14 } declare ptr @upcast(ptr noundef) local_unnamed_addr #1 declare i32 @incref_and_lock(ptr noundef) local_unnamed_addr #1 declare ptr @downcast(i64 noundef) local_unnamed_addr #1 declare i32 @decref_and_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bufferevent_pair", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ntp_sntp_libevent_extr_bufferevent_pair.c_bufferevent_pair_get_partner
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_tdata_free.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_tdata_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, ptr, ptr, i32, i32, i32, i32 } @iidesc_free = dso_local local_unnamed_addr global ptr null, align 8 @tdesc_free_cb = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @tdata_free(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = load ptr, ptr @iidesc_free, align 8, !tbaa !11 %5 = tail call i32 @hash_free(i32 noundef %3, ptr noundef %4, ptr noundef null) #2 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 5 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = load ptr, ptr @tdesc_free_cb, align 8, !tbaa !11 %9 = tail call i32 @hash_free(i32 noundef %7, ptr noundef %8, ptr noundef null) #2 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = tail call i32 @hash_free(i32 noundef %11, ptr noundef null, ptr noundef null) #2 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3 %14 = load i32, ptr %13, align 8, !tbaa !14 %15 = tail call i32 @list_free(i32 noundef %14, ptr noundef null, ptr noundef null) #2 %16 = tail call i32 @tdata_label_free(ptr noundef %0) #2 %17 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %18 = load ptr, ptr %17, align 8, !tbaa !15 %19 = tail call i32 @free(ptr noundef %18) #2 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = tail call i32 @free(ptr noundef %21) #2 %23 = tail call i32 @pthread_mutex_destroy(ptr noundef %0) #2 %24 = tail call i32 @free(ptr noundef %0) #2 ret void } declare i32 @hash_free(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_free(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tdata_label_free(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_destroy(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 36} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, 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 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 32} !13 = !{!6, !7, i64 28} !14 = !{!6, !7, i64 24} !15 = !{!6, !10, i64 16} !16 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_tdata_free.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_tdata_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @iidesc_free = common local_unnamed_addr global ptr null, align 8 @tdesc_free_cb = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @tdata_free(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 36 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = load ptr, ptr @iidesc_free, align 8, !tbaa !12 %5 = tail call i32 @hash_free(i32 noundef %3, ptr noundef %4, ptr noundef null) #2 %6 = getelementptr inbounds i8, ptr %0, i64 32 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = load ptr, ptr @tdesc_free_cb, align 8, !tbaa !12 %9 = tail call i32 @hash_free(i32 noundef %7, ptr noundef %8, ptr noundef null) #2 %10 = getelementptr inbounds i8, ptr %0, i64 28 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = tail call i32 @hash_free(i32 noundef %11, ptr noundef null, ptr noundef null) #2 %13 = getelementptr inbounds i8, ptr %0, i64 24 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = tail call i32 @list_free(i32 noundef %14, ptr noundef null, ptr noundef null) #2 %16 = tail call i32 @tdata_label_free(ptr noundef %0) #2 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = tail call i32 @free(ptr noundef %18) #2 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !17 %22 = tail call i32 @free(ptr noundef %21) #2 %23 = tail call i32 @pthread_mutex_destroy(ptr noundef %0) #2 %24 = tail call i32 @free(ptr noundef %0) #2 ret void } declare i32 @hash_free(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_free(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tdata_label_free(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_destroy(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 36} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, 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 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 32} !14 = !{!7, !8, i64 28} !15 = !{!7, !8, i64 24} !16 = !{!7, !11, i64 16} !17 = !{!7, !11, i64 8}
freebsd_cddl_contrib_opensolaris_tools_ctf_cvt_extr_tdata.c_tdata_free
; ModuleID = 'AnghaBench/linux/net/core/extr_dev.c_dev_get_flags.c' source_filename = "AnghaBench/linux/net/core/extr_dev.c_dev_get_flags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.net_device = type { i32, i32 } @IFF_PROMISC = dso_local local_unnamed_addr global i32 0, align 4 @IFF_ALLMULTI = dso_local local_unnamed_addr global i32 0, align 4 @IFF_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @IFF_LOWER_UP = dso_local local_unnamed_addr global i32 0, align 4 @IFF_DORMANT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dev_get_flags(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @IFF_PROMISC, align 4, !tbaa !10 %4 = load i32, ptr @IFF_ALLMULTI, align 4, !tbaa !10 %5 = or i32 %4, %3 %6 = load i32, ptr @IFF_RUNNING, align 4, !tbaa !10 %7 = load i32, ptr @IFF_LOWER_UP, align 4, !tbaa !10 %8 = load i32, ptr @IFF_DORMANT, align 4, !tbaa !10 %9 = or i32 %6, %7 %10 = or i32 %9, %8 %11 = or i32 %10, %5 %12 = xor i32 %11, -1 %13 = and i32 %2, %12 %14 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !11 %16 = and i32 %15, %5 %17 = or i32 %13, %16 %18 = tail call i64 @netif_running(ptr noundef nonnull %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %36, label %20 20: ; preds = %1 %21 = tail call i64 @netif_oper_up(ptr noundef nonnull %0) #2 %22 = icmp eq i64 %21, 0 %23 = load i32, ptr @IFF_RUNNING, align 4 %24 = select i1 %22, i32 0, i32 %23 %25 = tail call i64 @netif_carrier_ok(ptr noundef nonnull %0) #2 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr @IFF_LOWER_UP, align 4 %28 = select i1 %26, i32 0, i32 %27 %29 = or i32 %24, %28 %30 = or i32 %29, %17 %31 = tail call i64 @netif_dormant(ptr noundef nonnull %0) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %20 %34 = load i32, ptr @IFF_DORMANT, align 4, !tbaa !10 %35 = or i32 %34, %30 br label %36 36: ; preds = %20, %33, %1 %37 = phi i32 [ %35, %33 ], [ %30, %20 ], [ %17, %1 ] ret i32 %37 } declare i64 @netif_running(ptr noundef) local_unnamed_addr #1 declare i64 @netif_oper_up(ptr noundef) local_unnamed_addr #1 declare i64 @netif_carrier_ok(ptr noundef) local_unnamed_addr #1 declare i64 @netif_dormant(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 = !{!"net_device", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/net/core/extr_dev.c_dev_get_flags.c' source_filename = "AnghaBench/linux/net/core/extr_dev.c_dev_get_flags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFF_PROMISC = common local_unnamed_addr global i32 0, align 4 @IFF_ALLMULTI = common local_unnamed_addr global i32 0, align 4 @IFF_RUNNING = common local_unnamed_addr global i32 0, align 4 @IFF_LOWER_UP = common local_unnamed_addr global i32 0, align 4 @IFF_DORMANT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dev_get_flags(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @IFF_PROMISC, align 4, !tbaa !11 %4 = load i32, ptr @IFF_ALLMULTI, align 4, !tbaa !11 %5 = or i32 %4, %3 %6 = load i32, ptr @IFF_RUNNING, align 4, !tbaa !11 %7 = load i32, ptr @IFF_LOWER_UP, align 4, !tbaa !11 %8 = load i32, ptr @IFF_DORMANT, align 4, !tbaa !11 %9 = or i32 %6, %7 %10 = or i32 %9, %8 %11 = or i32 %10, %5 %12 = xor i32 %11, -1 %13 = and i32 %2, %12 %14 = getelementptr inbounds i8, ptr %0, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !12 %16 = and i32 %15, %5 %17 = or i32 %13, %16 %18 = tail call i64 @netif_running(ptr noundef nonnull %0) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %36, label %20 20: ; preds = %1 %21 = tail call i64 @netif_oper_up(ptr noundef nonnull %0) #2 %22 = icmp eq i64 %21, 0 %23 = load i32, ptr @IFF_RUNNING, align 4 %24 = select i1 %22, i32 0, i32 %23 %25 = tail call i64 @netif_carrier_ok(ptr noundef nonnull %0) #2 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr @IFF_LOWER_UP, align 4 %28 = select i1 %26, i32 0, i32 %27 %29 = or i32 %24, %28 %30 = or i32 %29, %17 %31 = tail call i64 @netif_dormant(ptr noundef nonnull %0) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %20 %34 = load i32, ptr @IFF_DORMANT, align 4, !tbaa !11 %35 = or i32 %34, %30 br label %36 36: ; preds = %20, %33, %1 %37 = phi i32 [ %35, %33 ], [ %30, %20 ], [ %17, %1 ] ret i32 %37 } declare i64 @netif_running(ptr noundef) local_unnamed_addr #1 declare i64 @netif_oper_up(ptr noundef) local_unnamed_addr #1 declare i64 @netif_carrier_ok(ptr noundef) local_unnamed_addr #1 declare i64 @netif_dormant(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 = !{!"net_device", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
linux_net_core_extr_dev.c_dev_get_flags
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_core.c_ip_vs_post_routing.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_core.c_ip_vs_post_routing.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NF_ACCEPT = dso_local local_unnamed_addr global i32 0, align 4 @NF_STOP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ip_vs_post_routing], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @ip_vs_post_routing(i32 %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr nocapture readnone %4) #0 { %6 = load i32, ptr %1, align 4, !tbaa !5 %7 = icmp eq i32 %6, 0 %8 = load i32, ptr @NF_ACCEPT, align 4 %9 = load i32, ptr @NF_STOP, align 4 %10 = select i1 %7, i32 %8, i32 %9 ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sk_buff", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_core.c_ip_vs_post_routing.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_core.c_ip_vs_post_routing.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NF_ACCEPT = common local_unnamed_addr global i32 0, align 4 @NF_STOP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ip_vs_post_routing], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @ip_vs_post_routing(i32 %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr nocapture readnone %4) #0 { %6 = load i32, ptr %1, align 4, !tbaa !6 %7 = icmp eq i32 %6, 0 %8 = load i32, ptr @NF_ACCEPT, align 4 %9 = load i32, ptr @NF_STOP, align 4 %10 = select i1 %7, i32 %8, i32 %9 ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sk_buff", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_netfilter_ipvs_extr_ip_vs_core.c_ip_vs_post_routing
; ModuleID = 'AnghaBench/linux/drivers/iio/magnetometer/extr_hmc5843_core.c_hmc5843_common_resume.c' source_filename = "AnghaBench/linux/drivers/iio/magnetometer/extr_hmc5843_core.c_hmc5843_common_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HMC5843_MODE_CONVERSION_CONTINUOUS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @hmc5843_common_resume(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dev_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @iio_priv(i32 noundef %2) #2 %4 = load i32, ptr @HMC5843_MODE_CONVERSION_CONTINUOUS, align 4, !tbaa !5 %5 = tail call i32 @hmc5843_set_mode(i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @hmc5843_set_mode(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iio_priv(i32 noundef) local_unnamed_addr #1 declare i32 @dev_get_drvdata(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/iio/magnetometer/extr_hmc5843_core.c_hmc5843_common_resume.c' source_filename = "AnghaBench/linux/drivers/iio/magnetometer/extr_hmc5843_core.c_hmc5843_common_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HMC5843_MODE_CONVERSION_CONTINUOUS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @hmc5843_common_resume(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dev_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @iio_priv(i32 noundef %2) #2 %4 = load i32, ptr @HMC5843_MODE_CONVERSION_CONTINUOUS, align 4, !tbaa !6 %5 = tail call i32 @hmc5843_set_mode(i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @hmc5843_set_mode(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iio_priv(i32 noundef) local_unnamed_addr #1 declare i32 @dev_get_drvdata(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_iio_magnetometer_extr_hmc5843_core.c_hmc5843_common_resume
; ModuleID = 'AnghaBench/redis/src/extr_zmalloc.c_zmalloc_default_oom.c' source_filename = "AnghaBench/redis/src/extr_zmalloc.c_zmalloc_default_oom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"zmalloc: Out of memory trying to allocate %zu bytes\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @zmalloc_default_oom], section "llvm.metadata" ; Function Attrs: noreturn nounwind uwtable define internal void @zmalloc_default_oom(i64 noundef %0) #0 { %2 = load i32, ptr @stderr, align 4, !tbaa !5 %3 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str, i64 noundef %0) #3 %4 = load i32, ptr @stderr, align 4, !tbaa !5 %5 = tail call i32 @fflush(i32 noundef %4) #3 %6 = tail call i32 (...) @abort() #4 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @fflush(i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @abort(...) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/redis/src/extr_zmalloc.c_zmalloc_default_oom.c' source_filename = "AnghaBench/redis/src/extr_zmalloc.c_zmalloc_default_oom.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"zmalloc: Out of memory trying to allocate %zu bytes\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @zmalloc_default_oom], section "llvm.metadata" ; Function Attrs: noreturn nounwind ssp uwtable(sync) define internal void @zmalloc_default_oom(i64 noundef %0) #0 { %2 = load i32, ptr @stderr, align 4, !tbaa !6 %3 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str, i64 noundef %0) #3 %4 = load i32, ptr @stderr, align 4, !tbaa !6 %5 = tail call i32 @fflush(i32 noundef %4) #3 %6 = tail call i32 @abort() #4 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @fflush(i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @abort(...) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
redis_src_extr_zmalloc.c_zmalloc_default_oom
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_transaction.c_svn_fs_x__commit.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_transaction.c_svn_fs_x__commit.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr, ptr, ptr, ptr, ptr } %struct.TYPE_10__ = type { i32, i64 } @commit_body = dso_local local_unnamed_addr global i32 0, align 4 @SVN_ERR_SQLITE_ROLLBACK_FAILED = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_fs_x__commit(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.TYPE_12__, align 8 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #3 %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_12__, ptr %5, i64 0, i32 5 store ptr %0, ptr %7, align 8, !tbaa !10 %8 = getelementptr inbounds %struct.TYPE_12__, ptr %5, i64 0, i32 4 store ptr %1, ptr %8, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.TYPE_12__, ptr %5, i64 0, i32 3 store ptr %2, ptr %9, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %4 %14 = tail call ptr @apr_array_make(ptr noundef %3, i32 noundef 5, i32 noundef 8) #3 %15 = tail call ptr @apr_hash_make(ptr noundef %3) #3 br label %16 16: ; preds = %4, %13 %17 = phi ptr [ %14, %13 ], [ null, %4 ] %18 = phi ptr [ %15, %13 ], [ null, %4 ] %19 = phi ptr [ %3, %13 ], [ null, %4 ] store ptr %17, ptr %5, align 8 %20 = getelementptr inbounds %struct.TYPE_12__, ptr %5, i64 0, i32 2 store ptr %18, ptr %20, align 8 %21 = getelementptr inbounds %struct.TYPE_12__, ptr %5, i64 0, i32 1 store ptr %19, ptr %21, align 8 %22 = load i32, ptr @commit_body, align 4, !tbaa !18 %23 = call i32 @svn_fs_x__with_write_lock(ptr noundef nonnull %1, i32 noundef %22, ptr noundef nonnull %5, ptr noundef %3) #3 %24 = call i32 @SVN_ERR(i32 noundef %23) #3 %25 = load i64, ptr %10, align 8, !tbaa !14 %26 = icmp eq i64 %25, 0 br i1 %26, label %48, label %27 27: ; preds = %16 %28 = call i32 @svn_fs_x__open_rep_cache(ptr noundef nonnull %1, ptr noundef %3) #3 %29 = call i32 @SVN_ERR(i32 noundef %28) #3 %30 = load i32, ptr %6, align 8, !tbaa !19 %31 = call i32 @svn_sqlite__begin_transaction(i32 noundef %30) #3 %32 = call i32 @SVN_ERR(i32 noundef %31) #3 %33 = load ptr, ptr %5, align 8, !tbaa !20 %34 = call ptr @write_reps_to_cache(ptr noundef nonnull %1, ptr noundef %33, ptr noundef %3) #3 %35 = load i32, ptr %6, align 8, !tbaa !19 %36 = call ptr @svn_sqlite__finish_transaction(i32 noundef %35, ptr noundef %34) #3 %37 = load i32, ptr @SVN_ERR_SQLITE_ROLLBACK_FAILED, align 4, !tbaa !18 %38 = call i64 @svn_error_find_cause(ptr noundef %36, i32 noundef %37) #3 %39 = icmp eq i64 %38, 0 br i1 %39, label %44, label %40 40: ; preds = %27 %41 = call i32 @svn_fs_x__close_rep_cache(ptr noundef nonnull %1) #3 %42 = call ptr @svn_error_compose_create(ptr noundef %36, i32 noundef %41) #3 %43 = call ptr @svn_error_trace(ptr noundef %42) #3 br label %50 44: ; preds = %27 %45 = icmp eq ptr %36, null br i1 %45, label %48, label %46 46: ; preds = %44 %47 = call ptr @svn_error_trace(ptr noundef nonnull %36) #3 br label %50 48: ; preds = %44, %16 %49 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !21 br label %50 50: ; preds = %46, %40, %48 %51 = phi ptr [ %49, %48 ], [ %47, %46 ], [ %43, %40 ] call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #3 ret ptr %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @apr_array_make(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @apr_hash_make(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__with_write_lock(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__open_rep_cache(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_sqlite__begin_transaction(i32 noundef) local_unnamed_addr #2 declare ptr @write_reps_to_cache(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_sqlite__finish_transaction(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @svn_error_find_cause(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @svn_error_trace(ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_compose_create(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__close_rep_cache(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_11__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 40} !11 = !{!"TYPE_12__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40} !12 = !{!11, !7, i64 32} !13 = !{!11, !7, i64 24} !14 = !{!15, !17, i64 8} !15 = !{!"TYPE_10__", !16, i64 0, !17, i64 8} !16 = !{!"int", !8, i64 0} !17 = !{!"long", !8, i64 0} !18 = !{!16, !16, i64 0} !19 = !{!15, !16, i64 0} !20 = !{!11, !7, i64 0} !21 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_transaction.c_svn_fs_x__commit.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_transaction.c_svn_fs_x__commit.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 { ptr, ptr, ptr, ptr, ptr, ptr } @commit_body = common local_unnamed_addr global i32 0, align 4 @SVN_ERR_SQLITE_ROLLBACK_FAILED = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_fs_x__commit(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca %struct.TYPE_12__, align 8 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #3 %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %5, i64 40 store ptr %0, ptr %7, align 8, !tbaa !11 %8 = getelementptr inbounds i8, ptr %5, i64 32 store ptr %1, ptr %8, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %5, i64 24 store ptr %2, ptr %9, align 8, !tbaa !14 %10 = getelementptr inbounds i8, ptr %6, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %4 %14 = tail call ptr @apr_array_make(ptr noundef %3, i32 noundef 5, i32 noundef 8) #3 %15 = tail call ptr @apr_hash_make(ptr noundef %3) #3 br label %16 16: ; preds = %4, %13 %17 = phi ptr [ %14, %13 ], [ null, %4 ] %18 = phi ptr [ %15, %13 ], [ null, %4 ] %19 = phi ptr [ %3, %13 ], [ null, %4 ] store ptr %17, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %5, i64 16 store ptr %18, ptr %20, align 8 %21 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %19, ptr %21, align 8 %22 = load i32, ptr @commit_body, align 4, !tbaa !19 %23 = call i32 @svn_fs_x__with_write_lock(ptr noundef nonnull %1, i32 noundef %22, ptr noundef nonnull %5, ptr noundef %3) #3 %24 = call i32 @SVN_ERR(i32 noundef %23) #3 %25 = load i64, ptr %10, align 8, !tbaa !15 %26 = icmp eq i64 %25, 0 br i1 %26, label %48, label %27 27: ; preds = %16 %28 = call i32 @svn_fs_x__open_rep_cache(ptr noundef nonnull %1, ptr noundef %3) #3 %29 = call i32 @SVN_ERR(i32 noundef %28) #3 %30 = load i32, ptr %6, align 8, !tbaa !20 %31 = call i32 @svn_sqlite__begin_transaction(i32 noundef %30) #3 %32 = call i32 @SVN_ERR(i32 noundef %31) #3 %33 = load ptr, ptr %5, align 8, !tbaa !21 %34 = call ptr @write_reps_to_cache(ptr noundef nonnull %1, ptr noundef %33, ptr noundef %3) #3 %35 = load i32, ptr %6, align 8, !tbaa !20 %36 = call ptr @svn_sqlite__finish_transaction(i32 noundef %35, ptr noundef %34) #3 %37 = load i32, ptr @SVN_ERR_SQLITE_ROLLBACK_FAILED, align 4, !tbaa !19 %38 = call i64 @svn_error_find_cause(ptr noundef %36, i32 noundef %37) #3 %39 = icmp eq i64 %38, 0 br i1 %39, label %44, label %40 40: ; preds = %27 %41 = call i32 @svn_fs_x__close_rep_cache(ptr noundef nonnull %1) #3 %42 = call ptr @svn_error_compose_create(ptr noundef %36, i32 noundef %41) #3 %43 = call ptr @svn_error_trace(ptr noundef %42) #3 br label %50 44: ; preds = %27 %45 = icmp eq ptr %36, null br i1 %45, label %48, label %46 46: ; preds = %44 %47 = call ptr @svn_error_trace(ptr noundef nonnull %36) #3 br label %50 48: ; preds = %44, %16 %49 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !22 br label %50 50: ; preds = %46, %40, %48 %51 = phi ptr [ %49, %48 ], [ %47, %46 ], [ %43, %40 ] call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #3 ret ptr %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @apr_array_make(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @apr_hash_make(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__with_write_lock(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__open_rep_cache(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_sqlite__begin_transaction(i32 noundef) local_unnamed_addr #2 declare ptr @write_reps_to_cache(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_sqlite__finish_transaction(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @svn_error_find_cause(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @svn_error_trace(ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_compose_create(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__close_rep_cache(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_11__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 40} !12 = !{!"TYPE_12__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40} !13 = !{!12, !8, i64 32} !14 = !{!12, !8, i64 24} !15 = !{!16, !18, i64 8} !16 = !{!"TYPE_10__", !17, i64 0, !18, i64 8} !17 = !{!"int", !9, i64 0} !18 = !{!"long", !9, i64 0} !19 = !{!17, !17, i64 0} !20 = !{!16, !17, i64 0} !21 = !{!12, !8, i64 0} !22 = !{!8, !8, i64 0}
freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_transaction.c_svn_fs_x__commit
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_mlx5_create_srq_ex.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_mlx5_create_srq_ex.c" target datalayout = "e-m:e-p270:32:32-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.ibv_srq_init_attr_ex = type { i32, i64, i32 } @IBV_SRQ_INIT_ATTR_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @IBV_SRQT_BASIC = dso_local local_unnamed_addr global i64 0, align 8 @IBV_SRQT_XRC = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @mlx5_create_srq_ex(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = load i32, ptr @IBV_SRQ_INIT_ATTR_TYPE, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.ibv_srq_init_attr_ex, ptr %1, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = load i64, ptr @IBV_SRQT_BASIC, align 8, !tbaa !13 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %16 12: ; preds = %7, %2 %13 = getelementptr inbounds %struct.ibv_srq_init_attr_ex, ptr %1, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !14 %15 = tail call ptr @mlx5_create_srq(i32 noundef %14, ptr noundef nonnull %1) #2 br label %21 16: ; preds = %7 %17 = load i64, ptr @IBV_SRQT_XRC, align 8, !tbaa !13 %18 = icmp eq i64 %9, %17 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = tail call ptr @mlx5_create_xrc_srq(ptr noundef %0, ptr noundef nonnull %1) #2 br label %21 21: ; preds = %16, %19, %12 %22 = phi ptr [ %15, %12 ], [ %20, %19 ], [ null, %16 ] ret ptr %22 } declare ptr @mlx5_create_srq(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @mlx5_create_xrc_srq(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ibv_srq_init_attr_ex", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_mlx5_create_srq_ex.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_verbs.c_mlx5_create_srq_ex.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IBV_SRQ_INIT_ATTR_TYPE = common local_unnamed_addr global i32 0, align 4 @IBV_SRQT_BASIC = common local_unnamed_addr global i64 0, align 8 @IBV_SRQT_XRC = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @mlx5_create_srq_ex(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = load i32, ptr @IBV_SRQ_INIT_ATTR_TYPE, align 4, !tbaa !12 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %1, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = load i64, ptr @IBV_SRQT_BASIC, align 8, !tbaa !14 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %16 12: ; preds = %7, %2 %13 = getelementptr inbounds i8, ptr %1, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = tail call ptr @mlx5_create_srq(i32 noundef %14, ptr noundef nonnull %1) #2 br label %21 16: ; preds = %7 %17 = load i64, ptr @IBV_SRQT_XRC, align 8, !tbaa !14 %18 = icmp eq i64 %9, %17 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = tail call ptr @mlx5_create_xrc_srq(ptr noundef %0, ptr noundef nonnull %1) #2 br label %21 21: ; preds = %16, %19, %12 %22 = phi ptr [ %15, %12 ], [ %20, %19 ], [ null, %16 ] ret ptr %22 } declare ptr @mlx5_create_srq(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @mlx5_create_xrc_srq(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ibv_srq_init_attr_ex", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!7, !8, i64 16}
freebsd_contrib_ofed_libmlx5_extr_verbs.c_mlx5_create_srq_ex
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/libproc/extr_libproc.c_proc_set_delayidlesleep.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/libproc/extr_libproc.c_proc_set_delayidlesleep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PROC_INFO_CALL_SETCONTROL = dso_local local_unnamed_addr global i32 0, align 4 @PROC_SELFSET_DELAYIDLESLEEP = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @proc_set_delayidlesleep() local_unnamed_addr #0 { %1 = load i32, ptr @PROC_INFO_CALL_SETCONTROL, align 4, !tbaa !5 %2 = tail call i32 (...) @getpid() #2 %3 = load i32, ptr @PROC_SELFSET_DELAYIDLESLEEP, align 4, !tbaa !5 %4 = tail call i32 @__proc_info(i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 1, ptr noundef null, i32 noundef 0) #2 %5 = icmp eq i32 %4, -1 %6 = load i32, ptr @errno, align 4 %7 = select i1 %5, i32 %6, i32 0 ret i32 %7 } declare i32 @__proc_info(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @getpid(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/darwin-xnu/libsyscall/wrappers/libproc/extr_libproc.c_proc_set_delayidlesleep.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/libproc/extr_libproc.c_proc_set_delayidlesleep.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PROC_INFO_CALL_SETCONTROL = common local_unnamed_addr global i32 0, align 4 @PROC_SELFSET_DELAYIDLESLEEP = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @proc_set_delayidlesleep() local_unnamed_addr #0 { %1 = load i32, ptr @PROC_INFO_CALL_SETCONTROL, align 4, !tbaa !6 %2 = tail call i32 @getpid() #2 %3 = load i32, ptr @PROC_SELFSET_DELAYIDLESLEEP, align 4, !tbaa !6 %4 = tail call i32 @__proc_info(i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 1, ptr noundef null, i32 noundef 0) #2 %5 = icmp eq i32 %4, -1 %6 = load i32, ptr @errno, align 4 %7 = select i1 %5, i32 %6, i32 0 ret i32 %7 } declare i32 @__proc_info(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @getpid(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
darwin-xnu_libsyscall_wrappers_libproc_extr_libproc.c_proc_set_delayidlesleep
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_request.c_pushRestriction.c' source_filename = "AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_request.c_pushRestriction.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr } @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pushRestriction], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pushRestriction(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %2 %6 = load i64, ptr %3, align 8, !tbaa !9 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5, %2 %9 = tail call ptr @emalloc(i32 noundef 24) #2 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %9, i64 0, i32 2 store ptr %10, ptr %11, align 8, !tbaa !12 %12 = tail call i64 @getStackSheetSize(ptr noundef %9) #2 store i64 %12, ptr %9, align 8, !tbaa !9 store ptr %9, ptr %0, align 8, !tbaa !5 br label %13 13: ; preds = %8, %5 %14 = phi i64 [ %12, %8 ], [ %6, %5 ] %15 = phi ptr [ %9, %8 ], [ %3, %5 ] %16 = getelementptr inbounds %struct.TYPE_5__, ptr %15, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !13 %18 = add i64 %14, -1 store i64 %18, ptr %15, align 8, !tbaa !9 %19 = getelementptr inbounds ptr, ptr %17, i64 %18 store ptr %1, ptr %19, align 8, !tbaa !5 %20 = load i32, ptr @TRUE, align 4, !tbaa !14 ret i32 %20 } declare ptr @emalloc(i32 noundef) local_unnamed_addr #1 declare i64 @getStackSheetSize(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_5__", !11, i64 0, !6, i64 8, !6, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!10, !6, i64 16} !13 = !{!10, !6, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_request.c_pushRestriction.c' source_filename = "AnghaBench/freebsd/contrib/ntp/ntpd/extr_ntp_request.c_pushRestriction.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pushRestriction], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pushRestriction(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %2 %6 = load i64, ptr %3, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5, %2 %9 = tail call ptr @emalloc(i32 noundef 24) #2 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %9, i64 16 store ptr %10, ptr %11, align 8, !tbaa !13 %12 = tail call i64 @getStackSheetSize(ptr noundef %9) #2 store i64 %12, ptr %9, align 8, !tbaa !10 store ptr %9, ptr %0, align 8, !tbaa !6 br label %13 13: ; preds = %8, %5 %14 = phi i64 [ %12, %8 ], [ %6, %5 ] %15 = phi ptr [ %9, %8 ], [ %3, %5 ] %16 = getelementptr inbounds i8, ptr %15, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !14 %18 = add i64 %14, -1 store i64 %18, ptr %15, align 8, !tbaa !10 %19 = getelementptr inbounds ptr, ptr %17, i64 %18 store ptr %1, ptr %19, align 8, !tbaa !6 %20 = load i32, ptr @TRUE, align 4, !tbaa !15 ret i32 %20 } declare ptr @emalloc(i32 noundef) local_unnamed_addr #1 declare i64 @getStackSheetSize(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_5__", !12, i64 0, !7, i64 8, !7, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 16} !14 = !{!11, !7, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
freebsd_contrib_ntp_ntpd_extr_ntp_request.c_pushRestriction
; ModuleID = 'AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_usm_first_user.c' source_filename = "AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_usm_first_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" @usm_userlist = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @usm_first_user() local_unnamed_addr #0 { %1 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @usm_userlist) #2 ret ptr %1 } declare ptr @SLIST_FIRST(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/contrib/bsnmp/snmpd/extr_main.c_usm_first_user.c' source_filename = "AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_usm_first_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @usm_userlist = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @usm_first_user() local_unnamed_addr #0 { %1 = tail call ptr @SLIST_FIRST(ptr noundef nonnull @usm_userlist) #2 ret ptr %1 } declare ptr @SLIST_FIRST(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_contrib_bsnmp_snmpd_extr_main.c_usm_first_user
; ModuleID = 'AnghaBench/freebsd/sys/netinet/libalias/extr_alias_db.c_PunchFWHole.c' source_filename = "AnghaBench/freebsd/sys/netinet/libalias/extr_alias_db.c_PunchFWHole.c" target datalayout = "e-m:e-p270:32:32-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.ip_fw = type { i32 } %struct.alias_link = type { i64, %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { ptr } %struct.libalias = type { i32, i64, i32, i32, i32, i32 } @PKT_ALIAS_PUNCH_FW = dso_local local_unnamed_addr global i32 0, align 4 @LINK_TCP = dso_local local_unnamed_addr global i64 0, align 8 @O_ACCEPT = dso_local local_unnamed_addr global i32 0, align 4 @IPPROTO_TCP = dso_local local_unnamed_addr global i32 0, align 4 @IPPROTO_IP = dso_local local_unnamed_addr global i32 0, align 4 @IP_FW_ADD = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"alias punch inbound(1) setsockopt(IP_FW_ADD)\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"alias punch inbound(2) setsockopt(IP_FW_ADD)\00", align 1 @stderr = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @PunchFWHole(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.ip_fw, align 4 %3 = alloca [255 x i32], align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds %struct.alias_link, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = load i32, ptr @PKT_ALIAS_PUNCH_FW, align 4, !tbaa !15 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %113, label %10 10: ; preds = %1 %11 = getelementptr inbounds %struct.libalias, ptr %5, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !16 %13 = icmp slt i64 %12, 0 br i1 %13, label %113, label %14 14: ; preds = %10 %15 = load i64, ptr %0, align 8, !tbaa !17 %16 = load i64, ptr @LINK_TCP, align 8, !tbaa !18 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %113 18: ; preds = %14 %19 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 4) #3 %20 = getelementptr inbounds %struct.libalias, ptr %5, i64 0, i32 2 %21 = load i32, ptr %20, align 8, !tbaa !19 %22 = getelementptr inbounds %struct.libalias, ptr %5, i64 0, i32 5 %23 = getelementptr inbounds %struct.libalias, ptr %5, i64 0, i32 3 %24 = getelementptr inbounds %struct.libalias, ptr %5, i64 0, i32 4 %25 = load i32, ptr %23, align 4, !tbaa !20 %26 = load i32, ptr %24, align 8, !tbaa !21 %27 = add nsw i32 %26, %25 %28 = icmp slt i32 %21, %27 br i1 %28, label %29, label %42 29: ; preds = %18, %38 %30 = phi i32 [ %39, %38 ], [ %21, %18 ] %31 = load i32, ptr %22, align 4, !tbaa !22 %32 = call i64 @fw_tstfield(ptr noundef nonnull %5, i32 noundef %31, i32 noundef %30) #3 %33 = icmp eq i64 %32, 0 %34 = load i32, ptr %23, align 4, !tbaa !20 %35 = load i32, ptr %24, align 8, !tbaa !21 br i1 %33, label %36, label %38 36: ; preds = %29 %37 = add nsw i32 %35, %34 br label %42 38: ; preds = %29 %39 = add nsw i32 %30, 1 %40 = add nsw i32 %35, %34 %41 = icmp slt i32 %39, %40 br i1 %41, label %29, label %42, !llvm.loop !23 42: ; preds = %38, %36, %18 %43 = phi i32 [ %27, %18 ], [ %37, %36 ], [ %40, %38 ] %44 = phi i32 [ %25, %18 ], [ %34, %36 ], [ %34, %38 ] %45 = phi i32 [ %21, %18 ], [ %30, %36 ], [ %39, %38 ] %46 = icmp eq i32 %45, %43 br i1 %46, label %47, label %65 47: ; preds = %42 %48 = load i32, ptr %20, align 8, !tbaa !19 %49 = icmp slt i32 %44, %48 br i1 %49, label %50, label %59 50: ; preds = %47, %56 %51 = phi i32 [ %57, %56 ], [ %44, %47 ] %52 = load i32, ptr %22, align 4, !tbaa !22 %53 = call i64 @fw_tstfield(ptr noundef nonnull %5, i32 noundef %52, i32 noundef %51) #3 %54 = icmp eq i64 %53, 0 %55 = load i32, ptr %20, align 8, !tbaa !19 br i1 %54, label %59, label %56 56: ; preds = %50 %57 = add nsw i32 %51, 1 %58 = icmp slt i32 %57, %55 br i1 %58, label %50, label %59, !llvm.loop !25 59: ; preds = %50, %56, %47 %60 = phi i32 [ %48, %47 ], [ %55, %56 ], [ %55, %50 ] %61 = phi i32 [ %44, %47 ], [ %51, %50 ], [ %57, %56 ] %62 = icmp eq i32 %61, %60 br i1 %62, label %63, label %65 63: ; preds = %59 %64 = load i32, ptr %23, align 4, !tbaa !20 store i32 %64, ptr %20, align 8, !tbaa !19 br label %113 65: ; preds = %59, %42 %66 = phi i32 [ %61, %59 ], [ %45, %42 ] %67 = add nsw i32 %66, 1 store i32 %67, ptr %20, align 8, !tbaa !19 %68 = call i64 @GetOriginalPort(ptr noundef nonnull %0) #3 %69 = icmp eq i64 %68, 0 br i1 %69, label %108, label %70 70: ; preds = %65 %71 = call i64 @GetDestPort(ptr noundef nonnull %0) #3 %72 = icmp eq i64 %71, 0 br i1 %72, label %108, label %73 73: ; preds = %70 call void @llvm.lifetime.start.p0(i64 1020, ptr nonnull %3) #3 %74 = load i32, ptr @O_ACCEPT, align 4, !tbaa !15 %75 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !15 %76 = call i32 @GetOriginalAddress(ptr noundef nonnull %0) #3 %77 = call i64 @GetOriginalPort(ptr noundef nonnull %0) #3 %78 = call i32 @ntohs(i64 noundef %77) #3 %79 = call i32 @GetDestAddress(ptr noundef nonnull %0) #3 %80 = call i64 @GetDestPort(ptr noundef nonnull %0) #3 %81 = call i32 @ntohs(i64 noundef %80) #3 %82 = call i32 @fill_rule(ptr noundef nonnull %3, i32 noundef 1020, i32 noundef %66, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %78, i32 noundef %79, i32 noundef %81) #3 %83 = load i64, ptr %11, align 8, !tbaa !16 %84 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !15 %85 = load i32, ptr @IP_FW_ADD, align 4, !tbaa !15 %86 = call i32 @setsockopt(i64 noundef %83, i32 noundef %84, i32 noundef %85, ptr noundef nonnull %3, i32 noundef %82) #3 %87 = icmp eq i32 %86, 0 br i1 %87, label %90, label %88 88: ; preds = %73 %89 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str) #3 br label %90 90: ; preds = %88, %73 %91 = load i32, ptr @O_ACCEPT, align 4, !tbaa !15 %92 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !15 %93 = call i32 @GetDestAddress(ptr noundef nonnull %0) #3 %94 = call i64 @GetDestPort(ptr noundef nonnull %0) #3 %95 = call i32 @ntohs(i64 noundef %94) #3 %96 = call i32 @GetOriginalAddress(ptr noundef nonnull %0) #3 %97 = call i64 @GetOriginalPort(ptr noundef nonnull %0) #3 %98 = call i32 @ntohs(i64 noundef %97) #3 %99 = call i32 @fill_rule(ptr noundef nonnull %3, i32 noundef 1020, i32 noundef %66, i32 noundef %91, i32 noundef %92, i32 noundef %93, i32 noundef %95, i32 noundef %96, i32 noundef %98) #3 %100 = load i64, ptr %11, align 8, !tbaa !16 %101 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !15 %102 = load i32, ptr @IP_FW_ADD, align 4, !tbaa !15 %103 = call i32 @setsockopt(i64 noundef %100, i32 noundef %101, i32 noundef %102, ptr noundef nonnull %3, i32 noundef %99) #3 %104 = icmp eq i32 %103, 0 br i1 %104, label %107, label %105 105: ; preds = %90 %106 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.1) #3 br label %107 107: ; preds = %105, %90 call void @llvm.lifetime.end.p0(i64 1020, ptr nonnull %3) #3 br label %108 108: ; preds = %107, %70, %65 %109 = getelementptr inbounds %struct.alias_link, ptr %0, i64 0, i32 1 %110 = load ptr, ptr %109, align 8, !tbaa !26 store i32 %66, ptr %110, align 4, !tbaa !27 %111 = load i32, ptr %22, align 4, !tbaa !22 %112 = call i32 @fw_setfield(ptr noundef nonnull %5, i32 noundef %111, i32 noundef %66) #3 br label %113 113: ; preds = %1, %10, %14, %108, %63 call void @llvm.lifetime.end.p0(i64 4, 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 i64 @fw_tstfield(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @GetOriginalPort(ptr noundef) local_unnamed_addr #2 declare i64 @GetDestPort(ptr noundef) local_unnamed_addr #2 declare i32 @fill_rule(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetOriginalAddress(ptr noundef) local_unnamed_addr #2 declare i32 @ntohs(i64 noundef) local_unnamed_addr #2 declare i32 @GetDestAddress(ptr noundef) local_unnamed_addr #2 declare i32 @setsockopt(i64 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @err(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 declare i32 @fw_setfield(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"alias_link", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"libalias", !14, i64 0, !7, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !7, i64 8} !17 = !{!6, !7, i64 0} !18 = !{!7, !7, i64 0} !19 = !{!13, !14, i64 16} !20 = !{!13, !14, i64 20} !21 = !{!13, !14, i64 24} !22 = !{!13, !14, i64 28} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = distinct !{!25, !24} !26 = !{!6, !11, i64 8} !27 = !{!28, !14, i64 0} !28 = !{!"TYPE_3__", !14, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/netinet/libalias/extr_alias_db.c_PunchFWHole.c' source_filename = "AnghaBench/freebsd/sys/netinet/libalias/extr_alias_db.c_PunchFWHole.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ip_fw = type { i32 } @PKT_ALIAS_PUNCH_FW = common local_unnamed_addr global i32 0, align 4 @LINK_TCP = common local_unnamed_addr global i64 0, align 8 @O_ACCEPT = common local_unnamed_addr global i32 0, align 4 @IPPROTO_TCP = common local_unnamed_addr global i32 0, align 4 @IPPROTO_IP = common local_unnamed_addr global i32 0, align 4 @IP_FW_ADD = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"alias punch inbound(1) setsockopt(IP_FW_ADD)\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"alias punch inbound(2) setsockopt(IP_FW_ADD)\00", align 1 @stderr = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @PunchFWHole(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.ip_fw, align 4 %3 = alloca [255 x i32], align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %5, align 8, !tbaa !13 %7 = load i32, ptr @PKT_ALIAS_PUNCH_FW, align 4, !tbaa !16 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %113, label %10 10: ; preds = %1 %11 = getelementptr inbounds i8, ptr %5, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !17 %13 = icmp slt i64 %12, 0 br i1 %13, label %113, label %14 14: ; preds = %10 %15 = load i64, ptr %0, align 8, !tbaa !18 %16 = load i64, ptr @LINK_TCP, align 8, !tbaa !19 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %113 18: ; preds = %14 %19 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 4) #3 %20 = getelementptr inbounds i8, ptr %5, i64 16 %21 = load i32, ptr %20, align 8, !tbaa !20 %22 = getelementptr inbounds i8, ptr %5, i64 28 %23 = getelementptr inbounds i8, ptr %5, i64 20 %24 = getelementptr inbounds i8, ptr %5, i64 24 %25 = load i32, ptr %23, align 4, !tbaa !21 %26 = load i32, ptr %24, align 8, !tbaa !22 %27 = add nsw i32 %26, %25 %28 = icmp slt i32 %21, %27 br i1 %28, label %29, label %42 29: ; preds = %18, %38 %30 = phi i32 [ %39, %38 ], [ %21, %18 ] %31 = load i32, ptr %22, align 4, !tbaa !23 %32 = call i64 @fw_tstfield(ptr noundef nonnull %5, i32 noundef %31, i32 noundef %30) #3 %33 = icmp eq i64 %32, 0 %34 = load i32, ptr %23, align 4, !tbaa !21 %35 = load i32, ptr %24, align 8, !tbaa !22 br i1 %33, label %36, label %38 36: ; preds = %29 %37 = add nsw i32 %35, %34 br label %42 38: ; preds = %29 %39 = add nsw i32 %30, 1 %40 = add nsw i32 %35, %34 %41 = icmp slt i32 %39, %40 br i1 %41, label %29, label %42, !llvm.loop !24 42: ; preds = %38, %36, %18 %43 = phi i32 [ %27, %18 ], [ %37, %36 ], [ %40, %38 ] %44 = phi i32 [ %25, %18 ], [ %34, %36 ], [ %34, %38 ] %45 = phi i32 [ %21, %18 ], [ %30, %36 ], [ %39, %38 ] %46 = icmp eq i32 %45, %43 br i1 %46, label %47, label %65 47: ; preds = %42 %48 = load i32, ptr %20, align 8, !tbaa !20 %49 = icmp slt i32 %44, %48 br i1 %49, label %50, label %59 50: ; preds = %47, %56 %51 = phi i32 [ %57, %56 ], [ %44, %47 ] %52 = load i32, ptr %22, align 4, !tbaa !23 %53 = call i64 @fw_tstfield(ptr noundef nonnull %5, i32 noundef %52, i32 noundef %51) #3 %54 = icmp eq i64 %53, 0 %55 = load i32, ptr %20, align 8, !tbaa !20 br i1 %54, label %59, label %56 56: ; preds = %50 %57 = add nsw i32 %51, 1 %58 = icmp slt i32 %57, %55 br i1 %58, label %50, label %59, !llvm.loop !26 59: ; preds = %50, %56, %47 %60 = phi i32 [ %48, %47 ], [ %55, %56 ], [ %55, %50 ] %61 = phi i32 [ %44, %47 ], [ %51, %50 ], [ %57, %56 ] %62 = icmp eq i32 %61, %60 br i1 %62, label %63, label %65 63: ; preds = %59 %64 = load i32, ptr %23, align 4, !tbaa !21 store i32 %64, ptr %20, align 8, !tbaa !20 br label %113 65: ; preds = %59, %42 %66 = phi i32 [ %61, %59 ], [ %45, %42 ] %67 = add nsw i32 %66, 1 store i32 %67, ptr %20, align 8, !tbaa !20 %68 = call i64 @GetOriginalPort(ptr noundef nonnull %0) #3 %69 = icmp eq i64 %68, 0 br i1 %69, label %108, label %70 70: ; preds = %65 %71 = call i64 @GetDestPort(ptr noundef nonnull %0) #3 %72 = icmp eq i64 %71, 0 br i1 %72, label %108, label %73 73: ; preds = %70 call void @llvm.lifetime.start.p0(i64 1020, ptr nonnull %3) #3 %74 = load i32, ptr @O_ACCEPT, align 4, !tbaa !16 %75 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !16 %76 = call i32 @GetOriginalAddress(ptr noundef nonnull %0) #3 %77 = call i64 @GetOriginalPort(ptr noundef nonnull %0) #3 %78 = call i32 @ntohs(i64 noundef %77) #3 %79 = call i32 @GetDestAddress(ptr noundef nonnull %0) #3 %80 = call i64 @GetDestPort(ptr noundef nonnull %0) #3 %81 = call i32 @ntohs(i64 noundef %80) #3 %82 = call i32 @fill_rule(ptr noundef nonnull %3, i32 noundef 1020, i32 noundef %66, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %78, i32 noundef %79, i32 noundef %81) #3 %83 = load i64, ptr %11, align 8, !tbaa !17 %84 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !16 %85 = load i32, ptr @IP_FW_ADD, align 4, !tbaa !16 %86 = call i32 @setsockopt(i64 noundef %83, i32 noundef %84, i32 noundef %85, ptr noundef nonnull %3, i32 noundef %82) #3 %87 = icmp eq i32 %86, 0 br i1 %87, label %90, label %88 88: ; preds = %73 %89 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str) #3 br label %90 90: ; preds = %88, %73 %91 = load i32, ptr @O_ACCEPT, align 4, !tbaa !16 %92 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !16 %93 = call i32 @GetDestAddress(ptr noundef nonnull %0) #3 %94 = call i64 @GetDestPort(ptr noundef nonnull %0) #3 %95 = call i32 @ntohs(i64 noundef %94) #3 %96 = call i32 @GetOriginalAddress(ptr noundef nonnull %0) #3 %97 = call i64 @GetOriginalPort(ptr noundef nonnull %0) #3 %98 = call i32 @ntohs(i64 noundef %97) #3 %99 = call i32 @fill_rule(ptr noundef nonnull %3, i32 noundef 1020, i32 noundef %66, i32 noundef %91, i32 noundef %92, i32 noundef %93, i32 noundef %95, i32 noundef %96, i32 noundef %98) #3 %100 = load i64, ptr %11, align 8, !tbaa !17 %101 = load i32, ptr @IPPROTO_IP, align 4, !tbaa !16 %102 = load i32, ptr @IP_FW_ADD, align 4, !tbaa !16 %103 = call i32 @setsockopt(i64 noundef %100, i32 noundef %101, i32 noundef %102, ptr noundef nonnull %3, i32 noundef %99) #3 %104 = icmp eq i32 %103, 0 br i1 %104, label %107, label %105 105: ; preds = %90 %106 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.1) #3 br label %107 107: ; preds = %105, %90 call void @llvm.lifetime.end.p0(i64 1020, ptr nonnull %3) #3 br label %108 108: ; preds = %107, %70, %65 %109 = getelementptr inbounds i8, ptr %0, i64 8 %110 = load ptr, ptr %109, align 8, !tbaa !27 store i32 %66, ptr %110, align 4, !tbaa !28 %111 = load i32, ptr %22, align 4, !tbaa !23 %112 = call i32 @fw_setfield(ptr noundef nonnull %5, i32 noundef %111, i32 noundef %66) #3 br label %113 113: ; preds = %1, %10, %14, %108, %63 call void @llvm.lifetime.end.p0(i64 4, 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 i64 @fw_tstfield(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @GetOriginalPort(ptr noundef) local_unnamed_addr #2 declare i64 @GetDestPort(ptr noundef) local_unnamed_addr #2 declare i32 @fill_rule(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetOriginalAddress(ptr noundef) local_unnamed_addr #2 declare i32 @ntohs(i64 noundef) local_unnamed_addr #2 declare i32 @GetDestAddress(ptr noundef) local_unnamed_addr #2 declare i32 @setsockopt(i64 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @err(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 declare i32 @fw_setfield(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"alias_link", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"libalias", !15, i64 0, !8, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !8, i64 8} !18 = !{!7, !8, i64 0} !19 = !{!8, !8, i64 0} !20 = !{!14, !15, i64 16} !21 = !{!14, !15, i64 20} !22 = !{!14, !15, i64 24} !23 = !{!14, !15, i64 28} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = distinct !{!26, !25} !27 = !{!7, !12, i64 8} !28 = !{!29, !15, i64 0} !29 = !{!"TYPE_3__", !15, i64 0}
freebsd_sys_netinet_libalias_extr_alias_db.c_PunchFWHole
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/avr32/mm/extr_tlb.c_flush_tlb_page.c' source_filename = "AnghaBench/fastsocket/kernel/arch/avr32/mm/extr_tlb.c_flush_tlb_page.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NO_CONTEXT = dso_local local_unnamed_addr global i64 0, align 8 @MMU_NO_ASID = dso_local local_unnamed_addr global i64 0, align 8 @MMU_CONTEXT_ASID_MASK = dso_local local_unnamed_addr global i64 0, align 8 @PAGE_MASK = dso_local local_unnamed_addr global i64 0, align 8 @current = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @flush_tlb_page(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %32, label %5 5: ; preds = %2 %6 = load i64, ptr %3, align 8, !tbaa !10 %7 = load i64, ptr @NO_CONTEXT, align 8, !tbaa !13 %8 = icmp eq i64 %6, %7 br i1 %8, label %32, label %9 9: ; preds = %5 %10 = load i64, ptr @MMU_NO_ASID, align 8, !tbaa !13 %11 = load i64, ptr @MMU_CONTEXT_ASID_MASK, align 8, !tbaa !13 %12 = and i64 %11, %6 %13 = load i64, ptr @PAGE_MASK, align 8, !tbaa !13 %14 = and i64 %13, %1 %15 = tail call i32 @local_irq_save(i64 noundef undef) #2 %16 = load ptr, ptr %0, align 8, !tbaa !5 %17 = load ptr, ptr @current, align 8, !tbaa !14 %18 = load ptr, ptr %17, align 8, !tbaa !15 %19 = icmp eq ptr %16, %18 br i1 %19, label %23, label %20 20: ; preds = %9 %21 = tail call i64 (...) @get_asid() #2 %22 = tail call i32 @set_asid(i64 noundef %12) #2 br label %23 23: ; preds = %20, %9 %24 = phi i64 [ %21, %20 ], [ %10, %9 ] %25 = tail call i32 @__flush_tlb_page(i64 noundef %12, i64 noundef %14) #2 %26 = load i64, ptr @MMU_NO_ASID, align 8, !tbaa !13 %27 = icmp eq i64 %24, %26 br i1 %27, label %30, label %28 28: ; preds = %23 %29 = tail call i32 @set_asid(i64 noundef %24) #2 br label %30 30: ; preds = %28, %23 %31 = tail call i32 @local_irq_restore(i64 noundef undef) #2 br label %32 32: ; preds = %30, %5, %2 ret void } declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1 declare i64 @get_asid(...) local_unnamed_addr #1 declare i32 @set_asid(i64 noundef) local_unnamed_addr #1 declare i32 @__flush_tlb_page(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @local_irq_restore(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 = !{!"vm_area_struct", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_4__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/avr32/mm/extr_tlb.c_flush_tlb_page.c' source_filename = "AnghaBench/fastsocket/kernel/arch/avr32/mm/extr_tlb.c_flush_tlb_page.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NO_CONTEXT = common local_unnamed_addr global i64 0, align 8 @MMU_NO_ASID = common local_unnamed_addr global i64 0, align 8 @MMU_CONTEXT_ASID_MASK = common local_unnamed_addr global i64 0, align 8 @PAGE_MASK = common local_unnamed_addr global i64 0, align 8 @current = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @flush_tlb_page(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %32, label %5 5: ; preds = %2 %6 = load i64, ptr %3, align 8, !tbaa !11 %7 = load i64, ptr @NO_CONTEXT, align 8, !tbaa !14 %8 = icmp eq i64 %6, %7 br i1 %8, label %32, label %9 9: ; preds = %5 %10 = load i64, ptr @MMU_NO_ASID, align 8, !tbaa !14 %11 = load i64, ptr @MMU_CONTEXT_ASID_MASK, align 8, !tbaa !14 %12 = and i64 %11, %6 %13 = load i64, ptr @PAGE_MASK, align 8, !tbaa !14 %14 = and i64 %13, %1 %15 = tail call i32 @local_irq_save(i64 noundef undef) #2 %16 = load ptr, ptr %0, align 8, !tbaa !6 %17 = load ptr, ptr @current, align 8, !tbaa !15 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = icmp eq ptr %16, %18 br i1 %19, label %23, label %20 20: ; preds = %9 %21 = tail call i64 @get_asid() #2 %22 = tail call i32 @set_asid(i64 noundef %12) #2 br label %23 23: ; preds = %20, %9 %24 = phi i64 [ %21, %20 ], [ %10, %9 ] %25 = tail call i32 @__flush_tlb_page(i64 noundef %12, i64 noundef %14) #2 %26 = load i64, ptr @MMU_NO_ASID, align 8, !tbaa !14 %27 = icmp eq i64 %24, %26 br i1 %27, label %30, label %28 28: ; preds = %23 %29 = tail call i32 @set_asid(i64 noundef %24) #2 br label %30 30: ; preds = %28, %23 %31 = tail call i32 @local_irq_restore(i64 noundef undef) #2 br label %32 32: ; preds = %30, %5, %2 ret void } declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1 declare i64 @get_asid(...) local_unnamed_addr #1 declare i32 @set_asid(i64 noundef) local_unnamed_addr #1 declare i32 @__flush_tlb_page(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @local_irq_restore(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 = !{!"vm_area_struct", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_4__", !8, i64 0}
fastsocket_kernel_arch_avr32_mm_extr_tlb.c_flush_tlb_page