IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/mpv/ta/extr_ta_utils.c_ta_new_context.c' source_filename = "AnghaBench/mpv/ta/extr_ta_utils.c_ta_new_context.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dummy_dtor = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @ta_new_context(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @ta_alloc_size(ptr noundef %0, i32 noundef 0) #2 %3 = load i32, ptr @dummy_dtor, align 4, !tbaa !5 %4 = tail call i32 @ta_set_destructor(ptr noundef %2, i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @ta_free(ptr noundef %2) #2 br label %8 8: ; preds = %6, %1 %9 = phi ptr [ %2, %1 ], [ null, %6 ] ret ptr %9 } declare ptr @ta_alloc_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ta_set_destructor(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ta_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/mpv/ta/extr_ta_utils.c_ta_new_context.c' source_filename = "AnghaBench/mpv/ta/extr_ta_utils.c_ta_new_context.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dummy_dtor = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @ta_new_context(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @ta_alloc_size(ptr noundef %0, i32 noundef 0) #2 %3 = load i32, ptr @dummy_dtor, align 4, !tbaa !6 %4 = tail call i32 @ta_set_destructor(ptr noundef %2, i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @ta_free(ptr noundef %2) #2 br label %8 8: ; preds = %6, %1 %9 = phi ptr [ %2, %1 ], [ null, %6 ] ret ptr %9 } declare ptr @ta_alloc_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ta_set_destructor(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ta_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"}
mpv_ta_extr_ta_utils.c_ta_new_context
; ModuleID = 'AnghaBench/openssl/crypto/stack/extr_stack.c_OPENSSL_sk_set.c' source_filename = "AnghaBench/openssl/crypto/stack/extr_stack.c_OPENSSL_sk_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" %struct.TYPE_3__ = type { i32, ptr, i64 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define dso_local ptr @OPENSSL_sk_set(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null %5 = icmp slt i32 %1, 0 %6 = or i1 %4, %5 br i1 %6, label %19, label %7 7: ; preds = %3 %8 = load i32, ptr %0, align 8, !tbaa !5 %9 = icmp sgt i32 %8, %1 br i1 %9, label %10, label %19 10: ; preds = %7 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = zext nneg i32 %1 to i64 %14 = getelementptr inbounds ptr, ptr %12, i64 %13 store ptr %2, ptr %14, align 8, !tbaa !13 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store i64 0, ptr %15, align 8, !tbaa !14 %16 = load ptr, ptr %11, align 8, !tbaa !12 %17 = getelementptr inbounds ptr, ptr %16, i64 %13 %18 = load ptr, ptr %17, align 8, !tbaa !13 br label %19 19: ; preds = %3, %7, %10 %20 = phi ptr [ %18, %10 ], [ null, %7 ], [ null, %3 ] ret ptr %20 } 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, !7, i64 0} !6 = !{!"TYPE_3__", !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 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/openssl/crypto/stack/extr_stack.c_OPENSSL_sk_set.c' source_filename = "AnghaBench/openssl/crypto/stack/extr_stack.c_OPENSSL_sk_set.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(readwrite, inaccessiblemem: none) uwtable(sync) define ptr @OPENSSL_sk_set(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null %5 = icmp slt i32 %1, 0 %6 = or i1 %4, %5 br i1 %6, label %19, label %7 7: ; preds = %3 %8 = load i32, ptr %0, align 8, !tbaa !6 %9 = icmp sgt i32 %8, %1 br i1 %9, label %10, label %19 10: ; preds = %7 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = zext nneg i32 %1 to i64 %14 = getelementptr inbounds ptr, ptr %12, i64 %13 store ptr %2, ptr %14, align 8, !tbaa !14 %15 = getelementptr inbounds i8, ptr %0, i64 16 store i64 0, ptr %15, align 8, !tbaa !15 %16 = load ptr, ptr %11, align 8, !tbaa !13 %17 = getelementptr inbounds ptr, ptr %16, i64 %13 %18 = load ptr, ptr %17, align 8, !tbaa !14 br label %19 19: ; preds = %3, %7, %10 %20 = phi ptr [ %18, %10 ], [ null, %7 ], [ null, %3 ] ret ptr %20 } 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, !8, i64 0} !7 = !{!"TYPE_3__", !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 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!7, !12, i64 16}
openssl_crypto_stack_extr_stack.c_OPENSSL_sk_set
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/nvidia/extr_nv_i2c.c_nvidia_gpio_getsda.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/nvidia/extr_nv_i2c.c_nvidia_gpio_getsda.c" target datalayout = "e-m:e-p270:32:32-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.nvidia_i2c_chan = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @nvidia_gpio_getsda], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nvidia_gpio_getsda(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.nvidia_i2c_chan, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !11 %5 = tail call i32 @NVReadCrtc(ptr noundef %3, i32 noundef %4) #2 %6 = lshr i32 %5, 3 %7 = and i32 %6, 1 ret i32 %7 } declare i32 @NVReadCrtc(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"nvidia_i2c_chan", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/nvidia/extr_nv_i2c.c_nvidia_gpio_getsda.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/nvidia/extr_nv_i2c.c_nvidia_gpio_getsda.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 @nvidia_gpio_getsda], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @nvidia_gpio_getsda(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %0, align 8, !tbaa !12 %5 = tail call i32 @NVReadCrtc(ptr noundef %3, i32 noundef %4) #2 %6 = lshr i32 %5, 3 %7 = and i32 %6, 1 ret i32 %7 } declare i32 @NVReadCrtc(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"nvidia_i2c_chan", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_video_nvidia_extr_nv_i2c.c_nvidia_gpio_getsda
; ModuleID = 'AnghaBench/libuv/src/win/extr_fs-event.c_uv_fs_event_close.c' source_filename = "AnghaBench/libuv/src/win/extr_fs-event.c_uv_fs_event_close.c" target datalayout = "e-m:e-p270:32:32-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 @uv_fs_event_close(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @uv_fs_event_stop(ptr noundef %1) #2 %4 = tail call i32 @uv__handle_closing(ptr noundef %1) #2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @uv_want_endgame(ptr noundef %0, ptr noundef nonnull %1) #2 br label %9 9: ; preds = %7, %2 ret void } declare i32 @uv_fs_event_stop(ptr noundef) local_unnamed_addr #1 declare i32 @uv__handle_closing(ptr noundef) local_unnamed_addr #1 declare i32 @uv_want_endgame(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libuv/src/win/extr_fs-event.c_uv_fs_event_close.c' source_filename = "AnghaBench/libuv/src/win/extr_fs-event.c_uv_fs_event_close.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 @uv_fs_event_close(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @uv_fs_event_stop(ptr noundef %1) #2 %4 = tail call i32 @uv__handle_closing(ptr noundef %1) #2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @uv_want_endgame(ptr noundef %0, ptr noundef nonnull %1) #2 br label %9 9: ; preds = %7, %2 ret void } declare i32 @uv_fs_event_stop(ptr noundef) local_unnamed_addr #1 declare i32 @uv__handle_closing(ptr noundef) local_unnamed_addr #1 declare i32 @uv_want_endgame(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
libuv_src_win_extr_fs-event.c_uv_fs_event_close
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnsync/extr_sync.c_close_directory.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnsync/extr_sync.c_close_directory.c" target datalayout = "e-m:e-p270:32:32-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 } @llvm.compiler.used = appending global [1 x ptr] [ptr @close_directory], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @close_directory(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load i32, ptr %0, align 8, !tbaa !15 %8 = tail call ptr %6(i32 noundef %7, ptr noundef %1) #1 ret ptr %8 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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, !10, i64 0} !12 = !{!"TYPE_6__", !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_4__", !10, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnsync/extr_sync.c_close_directory.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnsync/extr_sync.c_close_directory.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 @close_directory], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @close_directory(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = load i32, ptr %0, align 8, !tbaa !16 %8 = tail call ptr %6(i32 noundef %7, ptr noundef %1) #1 ret ptr %8 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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, !11, i64 0} !13 = !{!"TYPE_6__", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_4__", !11, i64 0} !16 = !{!7, !8, i64 0}
freebsd_contrib_subversion_subversion_svnsync_extr_sync.c_close_directory
; ModuleID = 'AnghaBench/linux/arch/arm/mach-sa1100/extr_collie.c_collie_flash_exit.c' source_filename = "AnghaBench/linux/arch/arm/mach-sa1100/extr_collie.c_collie_flash_exit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @COLLIE_GPIO_VPEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @collie_flash_exit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @collie_flash_exit() #0 { %1 = load i32, ptr @COLLIE_GPIO_VPEN, align 4, !tbaa !5 %2 = tail call i32 @gpio_free(i32 noundef %1) #2 ret void } declare i32 @gpio_free(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/arm/mach-sa1100/extr_collie.c_collie_flash_exit.c' source_filename = "AnghaBench/linux/arch/arm/mach-sa1100/extr_collie.c_collie_flash_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @COLLIE_GPIO_VPEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @collie_flash_exit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @collie_flash_exit() #0 { %1 = load i32, ptr @COLLIE_GPIO_VPEN, align 4, !tbaa !6 %2 = tail call i32 @gpio_free(i32 noundef %1) #2 ret void } declare i32 @gpio_free(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_arm_mach-sa1100_extr_collie.c_collie_flash_exit
; ModuleID = 'AnghaBench/linux/kernel/bpf/extr_verifier.c_bpf_map_ptr_unpriv.c' source_filename = "AnghaBench/linux/kernel/bpf/extr_verifier.c_bpf_map_ptr_unpriv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BPF_MAP_PTR_UNPRIV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bpf_map_ptr_unpriv], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @bpf_map_ptr_unpriv(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @BPF_MAP_PTR_UNPRIV, align 4, !tbaa !10 %4 = and i32 %3, %2 ret i32 %4 } 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 = !{!"bpf_insn_aux_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/kernel/bpf/extr_verifier.c_bpf_map_ptr_unpriv.c' source_filename = "AnghaBench/linux/kernel/bpf/extr_verifier.c_bpf_map_ptr_unpriv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BPF_MAP_PTR_UNPRIV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bpf_map_ptr_unpriv], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @bpf_map_ptr_unpriv(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @BPF_MAP_PTR_UNPRIV, align 4, !tbaa !11 %4 = and i32 %3, %2 ret i32 %4 } 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 = !{!"bpf_insn_aux_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_kernel_bpf_extr_verifier.c_bpf_map_ptr_unpriv
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c__nfs4_proc_rename.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c__nfs4_proc_rename.c" target datalayout = "e-m:e-p270:32:32-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.nfs_renameargs = type { i32, ptr, ptr, i32, i32 } %struct.nfs_renameres = type { i32, i32, i32, ptr } %struct.rpc_message = type { ptr, ptr, ptr } @nfs4_procedures = dso_local local_unnamed_addr global ptr null, align 8 @NFSPROC4_CLNT_RENAME = dso_local local_unnamed_addr global i64 0, align 8 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_nfs4_proc_rename], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_nfs4_proc_rename(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.nfs_renameargs, align 8 %6 = alloca %struct.nfs_renameres, align 8 %7 = alloca %struct.rpc_message, align 8 %8 = tail call ptr @NFS_SERVER(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 store i32 0, ptr %5, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.nfs_renameargs, ptr %5, i64 0, i32 1 store ptr %3, ptr %9, align 8, !tbaa !11 %10 = getelementptr inbounds %struct.nfs_renameargs, ptr %5, i64 0, i32 2 store ptr %1, ptr %10, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.nfs_renameargs, ptr %5, i64 0, i32 3 %12 = tail call i32 @NFS_FH(ptr noundef %2) #3 store i32 %12, ptr %11, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.nfs_renameargs, ptr %5, i64 0, i32 4 %14 = tail call i32 @NFS_FH(ptr noundef %0) #3 store i32 %14, ptr %13, align 4, !tbaa !14 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3 store i32 0, ptr %6, align 8, !tbaa !15 %15 = getelementptr inbounds %struct.nfs_renameres, ptr %6, i64 0, i32 1 store i32 0, ptr %15, align 4, !tbaa !17 %16 = getelementptr inbounds %struct.nfs_renameres, ptr %6, i64 0, i32 2 store i32 0, ptr %16, align 8, !tbaa !18 %17 = getelementptr inbounds %struct.nfs_renameres, ptr %6, i64 0, i32 3 store ptr %8, ptr %17, align 8, !tbaa !19 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3 store ptr %6, ptr %7, align 8, !tbaa !20 %18 = getelementptr inbounds %struct.rpc_message, ptr %7, i64 0, i32 1 store ptr %5, ptr %18, align 8, !tbaa !22 %19 = getelementptr inbounds %struct.rpc_message, ptr %7, i64 0, i32 2 %20 = load ptr, ptr @nfs4_procedures, align 8, !tbaa !23 %21 = load i64, ptr @NFSPROC4_CLNT_RENAME, align 8, !tbaa !24 %22 = getelementptr inbounds i32, ptr %20, i64 %21 store ptr %22, ptr %19, align 8, !tbaa !26 %23 = load i32, ptr %8, align 4, !tbaa !27 %24 = call i32 @nfs4_call_sync(i32 noundef %23, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %16, i32 noundef 1) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %4 %27 = call i32 @update_changeattr(ptr noundef %0, ptr noundef nonnull %15) #3 %28 = call i32 @update_changeattr(ptr noundef %2, ptr noundef nonnull %6) #3 br label %29 29: ; preds = %26, %4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @NFS_SERVER(ptr noundef) local_unnamed_addr #2 declare i32 @NFS_FH(ptr noundef) local_unnamed_addr #2 declare i32 @nfs4_call_sync(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @update_changeattr(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, !7, i64 0} !6 = !{!"nfs_renameargs", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !10, i64 16} !13 = !{!6, !7, i64 24} !14 = !{!6, !7, i64 28} !15 = !{!16, !7, i64 0} !16 = !{!"nfs_renameres", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16} !17 = !{!16, !7, i64 4} !18 = !{!16, !7, i64 8} !19 = !{!16, !10, i64 16} !20 = !{!21, !10, i64 0} !21 = !{!"rpc_message", !10, i64 0, !10, i64 8, !10, i64 16} !22 = !{!21, !10, i64 8} !23 = !{!10, !10, i64 0} !24 = !{!25, !25, i64 0} !25 = !{!"long", !8, i64 0} !26 = !{!21, !10, i64 16} !27 = !{!28, !7, i64 0} !28 = !{!"nfs_server", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c__nfs4_proc_rename.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c__nfs4_proc_rename.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nfs_renameargs = type { i32, ptr, ptr, i32, i32 } %struct.nfs_renameres = type { i32, i32, i32, ptr } %struct.rpc_message = type { ptr, ptr, ptr } @nfs4_procedures = common local_unnamed_addr global ptr null, align 8 @NFSPROC4_CLNT_RENAME = common local_unnamed_addr global i64 0, align 8 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_nfs4_proc_rename], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @_nfs4_proc_rename(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.nfs_renameargs, align 8 %6 = alloca %struct.nfs_renameres, align 8 %7 = alloca %struct.rpc_message, align 8 %8 = tail call ptr @NFS_SERVER(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 store i32 0, ptr %5, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %3, ptr %9, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %5, i64 16 store ptr %1, ptr %10, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %5, i64 24 %12 = tail call i32 @NFS_FH(ptr noundef %2) #3 store i32 %12, ptr %11, align 8, !tbaa !14 %13 = getelementptr inbounds i8, ptr %5, i64 28 %14 = tail call i32 @NFS_FH(ptr noundef %0) #3 store i32 %14, ptr %13, align 4, !tbaa !15 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3 store <2 x i32> zeroinitializer, ptr %6, align 8, !tbaa !16 %15 = getelementptr inbounds i8, ptr %6, i64 8 store i32 0, ptr %15, align 8, !tbaa !17 %16 = getelementptr inbounds i8, ptr %6, i64 16 store ptr %8, ptr %16, align 8, !tbaa !19 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3 store ptr %6, ptr %7, align 8, !tbaa !20 %17 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %5, ptr %17, align 8, !tbaa !22 %18 = getelementptr inbounds i8, ptr %7, i64 16 %19 = load ptr, ptr @nfs4_procedures, align 8, !tbaa !23 %20 = load i64, ptr @NFSPROC4_CLNT_RENAME, align 8, !tbaa !24 %21 = getelementptr inbounds i32, ptr %19, i64 %20 store ptr %21, ptr %18, align 8, !tbaa !26 %22 = load i32, ptr %8, align 4, !tbaa !27 %23 = call i32 @nfs4_call_sync(i32 noundef %22, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %15, i32 noundef 1) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %4 %26 = getelementptr inbounds i8, ptr %6, i64 4 %27 = call i32 @update_changeattr(ptr noundef %0, ptr noundef nonnull %26) #3 %28 = call i32 @update_changeattr(ptr noundef %2, ptr noundef nonnull %6) #3 br label %29 29: ; preds = %25, %4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @NFS_SERVER(ptr noundef) local_unnamed_addr #2 declare i32 @NFS_FH(ptr noundef) local_unnamed_addr #2 declare i32 @nfs4_call_sync(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @update_changeattr(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, !8, i64 0} !7 = !{!"nfs_renameargs", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !11, i64 16} !14 = !{!7, !8, i64 24} !15 = !{!7, !8, i64 28} !16 = !{!8, !8, i64 0} !17 = !{!18, !8, i64 8} !18 = !{!"nfs_renameres", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16} !19 = !{!18, !11, i64 16} !20 = !{!21, !11, i64 0} !21 = !{!"rpc_message", !11, i64 0, !11, i64 8, !11, i64 16} !22 = !{!21, !11, i64 8} !23 = !{!11, !11, i64 0} !24 = !{!25, !25, i64 0} !25 = !{!"long", !9, i64 0} !26 = !{!21, !11, i64 16} !27 = !{!28, !8, i64 0} !28 = !{!"nfs_server", !8, i64 0}
fastsocket_kernel_fs_nfs_extr_nfs4proc.c__nfs4_proc_rename
; ModuleID = 'AnghaBench/linux/drivers/staging/fbtft/extr_fb_s6d1121.c_init_display.c' source_filename = "AnghaBench/linux/drivers/staging/fbtft/extr_fb_s6d1121.c_init_display.c" target datalayout = "e-m:e-p270:32:32-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.fbtft_par = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i64 } %struct.TYPE_3__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @init_display], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @init_display(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.fbtft_par, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 %3(ptr noundef %0) #2 %5 = load i64, ptr %0, align 8, !tbaa !13 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call i32 @gpiod_set_value(i64 noundef %5, i32 noundef 0) #2 br label %9 9: ; preds = %7, %1 %10 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 17, i32 noundef 8196) #2 %11 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 52224) #2 %12 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 21, i32 noundef 9728) #2 %13 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 9514) #2 %14 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 18, i32 noundef 51) #2 %15 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 52228) #2 %16 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 52230) #2 %17 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 52303) #2 %18 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 26447) #2 %19 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 17, i32 noundef 8195) #2 %20 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 22, i32 noundef 7) #2 %21 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 19) #2 %22 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 3, i32 noundef 3) #2 %23 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 295) #2 %24 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 8, i32 noundef 771) #2 %25 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 10, i32 noundef 11) #2 %26 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 11, i32 noundef 3) #2 %27 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 12, i32 noundef 0) #2 %28 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 65, i32 noundef 0) #2 %29 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 80, i32 noundef 0) #2 %30 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 96, i32 noundef 5) #2 %31 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 112, i32 noundef 11) #2 %32 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 113, i32 noundef 0) #2 %33 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 120, i32 noundef 0) #2 %34 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 122, i32 noundef 0) #2 %35 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 121, i32 noundef 7) #2 %36 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 7, i32 noundef 81) #2 %37 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 7, i32 noundef 83) #2 %38 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 121, i32 noundef 0) #2 %39 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 34) #2 ret i32 0 } declare i32 @gpiod_set_value(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_reg(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, !12, i64 8} !6 = !{!"fbtft_par", !7, i64 0, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/fbtft/extr_fb_s6d1121.c_init_display.c' source_filename = "AnghaBench/linux/drivers/staging/fbtft/extr_fb_s6d1121.c_init_display.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 @init_display], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @init_display(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 %3(ptr noundef %0) #2 %5 = load i64, ptr %0, align 8, !tbaa !14 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call i32 @gpiod_set_value(i64 noundef %5, i32 noundef 0) #2 br label %9 9: ; preds = %7, %1 %10 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 17, i32 noundef 8196) #2 %11 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 52224) #2 %12 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 21, i32 noundef 9728) #2 %13 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 20, i32 noundef 9514) #2 %14 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 18, i32 noundef 51) #2 %15 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 52228) #2 %16 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 52230) #2 %17 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 52303) #2 %18 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 19, i32 noundef 26447) #2 %19 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 17, i32 noundef 8195) #2 %20 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 22, i32 noundef 7) #2 %21 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 2, i32 noundef 19) #2 %22 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 3, i32 noundef 3) #2 %23 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 1, i32 noundef 295) #2 %24 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 8, i32 noundef 771) #2 %25 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 10, i32 noundef 11) #2 %26 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 11, i32 noundef 3) #2 %27 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 12, i32 noundef 0) #2 %28 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 65, i32 noundef 0) #2 %29 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 80, i32 noundef 0) #2 %30 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 96, i32 noundef 5) #2 %31 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 112, i32 noundef 11) #2 %32 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 113, i32 noundef 0) #2 %33 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 120, i32 noundef 0) #2 %34 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 122, i32 noundef 0) #2 %35 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 121, i32 noundef 7) #2 %36 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 7, i32 noundef 81) #2 %37 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 7, i32 noundef 83) #2 %38 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 121, i32 noundef 0) #2 %39 = tail call i32 (ptr, i32, ...) @write_reg(ptr noundef nonnull %0, i32 noundef 34) #2 ret i32 0 } declare i32 @gpiod_set_value(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_reg(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, !13, i64 8} !7 = !{!"fbtft_par", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!7, !9, i64 0}
linux_drivers_staging_fbtft_extr_fb_s6d1121.c_init_display
; ModuleID = 'AnghaBench/freebsd/sys/x86/xen/extr_pv.c_legacy_get_console_evtchn.c' source_filename = "AnghaBench/freebsd/sys/x86/xen/extr_pv.c_legacy_get_console_evtchn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @legacy_start_info = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @legacy_get_console_evtchn], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @legacy_get_console_evtchn() #0 { %1 = load ptr, ptr @legacy_start_info, align 8, !tbaa !5 %2 = load i32, ptr %1, align 4, !tbaa !9 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !13, i64 0} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/x86/xen/extr_pv.c_legacy_get_console_evtchn.c' source_filename = "AnghaBench/freebsd/sys/x86/xen/extr_pv.c_legacy_get_console_evtchn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @legacy_start_info = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @legacy_get_console_evtchn], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @legacy_get_console_evtchn() #0 { %1 = load ptr, ptr @legacy_start_info, align 8, !tbaa !6 %2 = load i32, ptr %1, align 4, !tbaa !10 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"int", !8, i64 0}
freebsd_sys_x86_xen_extr_pv.c_legacy_get_console_evtchn
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_memento.c_Memento_setParanoia.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_memento.c_Memento_setParanoia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @Memento_setParanoia(i32 noundef %0) local_unnamed_addr #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/sumatrapdf/mupdf/source/fitz/extr_memento.c_Memento_setParanoia.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_memento.c_Memento_setParanoia.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @Memento_setParanoia(i32 noundef %0) local_unnamed_addr #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)"}
sumatrapdf_mupdf_source_fitz_extr_memento.c_Memento_setParanoia
; ModuleID = 'AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_clear_without_sequence.c' source_filename = "AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_clear_without_sequence.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BFRE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @usbhs_pipe_clear_without_sequence(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @usbhsp_pipe_select(ptr noundef %0) #2 %5 = tail call i32 @usbhs_pipe_get_data_sequence(ptr noundef %0) #2 %6 = icmp eq i32 %1, 0 br i1 %6, label %12, label %7 7: ; preds = %3 %8 = load i32, ptr @BFRE, align 4 %9 = icmp eq i32 %2, 0 %10 = select i1 %9, i32 0, i32 %8 %11 = tail call i32 @usbhsp_pipe_cfg_set(ptr noundef %0, i32 noundef %8, i32 noundef %10) #2 br label %12 12: ; preds = %7, %3 %13 = tail call i32 @usbhs_pipe_clear(ptr noundef %0) #2 %14 = tail call i32 @usbhs_pipe_data_sequence(ptr noundef %0, i32 noundef %5) #2 ret void } declare i32 @usbhsp_pipe_select(ptr noundef) local_unnamed_addr #1 declare i32 @usbhs_pipe_get_data_sequence(ptr noundef) local_unnamed_addr #1 declare i32 @usbhsp_pipe_cfg_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usbhs_pipe_clear(ptr noundef) local_unnamed_addr #1 declare i32 @usbhs_pipe_data_sequence(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/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_clear_without_sequence.c' source_filename = "AnghaBench/linux/drivers/usb/renesas_usbhs/extr_pipe.c_usbhs_pipe_clear_without_sequence.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFRE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @usbhs_pipe_clear_without_sequence(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @usbhsp_pipe_select(ptr noundef %0) #2 %5 = tail call i32 @usbhs_pipe_get_data_sequence(ptr noundef %0) #2 %6 = icmp eq i32 %1, 0 br i1 %6, label %12, label %7 7: ; preds = %3 %8 = load i32, ptr @BFRE, align 4 %9 = icmp eq i32 %2, 0 %10 = select i1 %9, i32 0, i32 %8 %11 = tail call i32 @usbhsp_pipe_cfg_set(ptr noundef %0, i32 noundef %8, i32 noundef %10) #2 br label %12 12: ; preds = %7, %3 %13 = tail call i32 @usbhs_pipe_clear(ptr noundef %0) #2 %14 = tail call i32 @usbhs_pipe_data_sequence(ptr noundef %0, i32 noundef %5) #2 ret void } declare i32 @usbhsp_pipe_select(ptr noundef) local_unnamed_addr #1 declare i32 @usbhs_pipe_get_data_sequence(ptr noundef) local_unnamed_addr #1 declare i32 @usbhsp_pipe_cfg_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usbhs_pipe_clear(ptr noundef) local_unnamed_addr #1 declare i32 @usbhs_pipe_data_sequence(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_usb_renesas_usbhs_extr_pipe.c_usbhs_pipe_clear_without_sequence
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_program_git.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_program_git.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SUMO_GICST_DFLT = dso_local local_unnamed_addr global i32 0, align 4 @CG_GIT = dso_local local_unnamed_addr global i32 0, align 4 @CG_GICST_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sumo_program_git], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sumo_program_git(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 = tail call i32 @radeon_get_xclk(ptr noundef %0) #3 %5 = load i32, ptr @SUMO_GICST_DFLT, align 4, !tbaa !5 %6 = call i32 @r600_calculate_u_and_p(i32 noundef %5, i32 noundef %4, i32 noundef 16, ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %7 = load i32, ptr @CG_GIT, align 4, !tbaa !5 %8 = load i32, ptr %2, align 4, !tbaa !5 %9 = call i32 @CG_GICST(i32 noundef %8) #3 %10 = load i32, ptr @CG_GICST_MASK, align 4, !tbaa !5 %11 = xor i32 %10, -1 %12 = call i32 @WREG32_P(i32 noundef %7, i32 noundef %9, i32 noundef %11) #3 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 i32 @radeon_get_xclk(ptr noundef) local_unnamed_addr #2 declare i32 @r600_calculate_u_and_p(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @WREG32_P(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CG_GICST(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_program_git.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_program_git.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SUMO_GICST_DFLT = common local_unnamed_addr global i32 0, align 4 @CG_GIT = common local_unnamed_addr global i32 0, align 4 @CG_GICST_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sumo_program_git], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sumo_program_git(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 = tail call i32 @radeon_get_xclk(ptr noundef %0) #3 %5 = load i32, ptr @SUMO_GICST_DFLT, align 4, !tbaa !6 %6 = call i32 @r600_calculate_u_and_p(i32 noundef %5, i32 noundef %4, i32 noundef 16, ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %7 = load i32, ptr @CG_GIT, align 4, !tbaa !6 %8 = load i32, ptr %2, align 4, !tbaa !6 %9 = call i32 @CG_GICST(i32 noundef %8) #3 %10 = load i32, ptr @CG_GICST_MASK, align 4, !tbaa !6 %11 = xor i32 %10, -1 %12 = call i32 @WREG32_P(i32 noundef %7, i32 noundef %9, i32 noundef %11) #3 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 i32 @radeon_get_xclk(ptr noundef) local_unnamed_addr #2 declare i32 @r600_calculate_u_and_p(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @WREG32_P(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CG_GICST(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"}
linux_drivers_gpu_drm_radeon_extr_sumo_dpm.c_sumo_program_git
; ModuleID = 'AnghaBench/freebsd/sys/dev/ahci/extr_ahci.c_ahci_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/ahci/extr_ahci.c_ahci_detach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ahci_controller = type { i32, i32, i32, i32, ptr } %struct.TYPE_2__ = type { i64, i32, i32 } @SYS_RES_IRQ = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ahci_detach(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call i32 @device_delete_children(i32 noundef %0) #2 %4 = load i32, ptr %2, align 8, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %32 6: ; preds = %1 %7 = getelementptr inbounds %struct.ahci_controller, ptr %2, i64 0, i32 4 br label %8 8: ; preds = %6, %27 %9 = phi i32 [ %4, %6 ], [ %28, %27 ] %10 = phi i64 [ 0, %6 ], [ %29, %27 ] %11 = load ptr, ptr %7, align 8, !tbaa !11 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10 %13 = load i64, ptr %12, align 8, !tbaa !12 %14 = icmp eq i64 %13, 0 br i1 %14, label %27, label %15 15: ; preds = %8 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = tail call i32 @bus_teardown_intr(i32 noundef %0, i64 noundef %13, i32 noundef %17) #2 %19 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !16 %20 = load ptr, ptr %7, align 8, !tbaa !11 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %10 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %10, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !17 %24 = load i64, ptr %21, align 8, !tbaa !12 %25 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %19, i32 noundef %23, i64 noundef %24) #2 %26 = load i32, ptr %2, align 8, !tbaa !5 br label %27 27: ; preds = %8, %15 %28 = phi i32 [ %9, %8 ], [ %26, %15 ] %29 = add nuw nsw i64 %10, 1 %30 = sext i32 %28 to i64 %31 = icmp slt i64 %29, %30 br i1 %31, label %8, label %32, !llvm.loop !18 32: ; preds = %27, %1 %33 = getelementptr inbounds %struct.ahci_controller, ptr %2, i64 0, i32 3 %34 = load i32, ptr %33, align 4, !tbaa !20 %35 = tail call i32 @bus_dma_tag_destroy(i32 noundef %34) #2 %36 = getelementptr inbounds %struct.ahci_controller, ptr %2, i64 0, i32 2 %37 = tail call i32 @rman_fini(ptr noundef nonnull %36) #2 %38 = tail call i32 @ahci_free_mem(i32 noundef %0) #2 %39 = getelementptr inbounds %struct.ahci_controller, ptr %2, i64 0, i32 1 %40 = tail call i32 @mtx_destroy(ptr noundef nonnull %39) #2 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @device_delete_children(i32 noundef) local_unnamed_addr #1 declare i32 @bus_teardown_intr(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @bus_dma_tag_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @rman_fini(ptr noundef) local_unnamed_addr #1 declare i32 @ahci_free_mem(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_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 0} !6 = !{!"ahci_controller", !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 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0, !7, i64 8, !7, i64 12} !14 = !{!"long", !8, i64 0} !15 = !{!13, !7, i64 12} !16 = !{!7, !7, i64 0} !17 = !{!13, !7, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!6, !7, i64 12}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ahci/extr_ahci.c_ahci_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/ahci/extr_ahci.c_ahci_detach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i32, i32 } @SYS_RES_IRQ = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @ahci_detach(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = tail call i32 @device_delete_children(i32 noundef %0) #2 %4 = load i32, ptr %2, align 8, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %32 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %2, i64 16 br label %8 8: ; preds = %6, %27 %9 = phi i32 [ %4, %6 ], [ %28, %27 ] %10 = phi i64 [ 0, %6 ], [ %29, %27 ] %11 = load ptr, ptr %7, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 br i1 %14, label %27, label %15 15: ; preds = %8 %16 = getelementptr inbounds i8, ptr %12, i64 12 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = tail call i32 @bus_teardown_intr(i32 noundef %0, i64 noundef %13, i32 noundef %17) #2 %19 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !17 %20 = load ptr, ptr %7, align 8, !tbaa !12 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %10 %22 = getelementptr inbounds i8, ptr %21, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !18 %24 = load i64, ptr %21, align 8, !tbaa !13 %25 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %19, i32 noundef %23, i64 noundef %24) #2 %26 = load i32, ptr %2, align 8, !tbaa !6 br label %27 27: ; preds = %8, %15 %28 = phi i32 [ %9, %8 ], [ %26, %15 ] %29 = add nuw nsw i64 %10, 1 %30 = sext i32 %28 to i64 %31 = icmp slt i64 %29, %30 br i1 %31, label %8, label %32, !llvm.loop !19 32: ; preds = %27, %1 %33 = getelementptr inbounds i8, ptr %2, i64 12 %34 = load i32, ptr %33, align 4, !tbaa !21 %35 = tail call i32 @bus_dma_tag_destroy(i32 noundef %34) #2 %36 = getelementptr inbounds i8, ptr %2, i64 8 %37 = tail call i32 @rman_fini(ptr noundef nonnull %36) #2 %38 = tail call i32 @ahci_free_mem(i32 noundef %0) #2 %39 = getelementptr inbounds i8, ptr %2, i64 4 %40 = tail call i32 @mtx_destroy(ptr noundef nonnull %39) #2 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @device_delete_children(i32 noundef) local_unnamed_addr #1 declare i32 @bus_teardown_intr(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @bus_dma_tag_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @rman_fini(ptr noundef) local_unnamed_addr #1 declare i32 @ahci_free_mem(i32 noundef) local_unnamed_addr #1 declare i32 @mtx_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 0} !7 = !{!"ahci_controller", !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 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 16} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0, !8, i64 8, !8, i64 12} !15 = !{!"long", !9, i64 0} !16 = !{!14, !8, i64 12} !17 = !{!8, !8, i64 0} !18 = !{!14, !8, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!7, !8, i64 12}
freebsd_sys_dev_ahci_extr_ahci.c_ahci_detach
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/idt/extr_ntb_hw_idt.c_idt_ntb_msg_count.c' source_filename = "AnghaBench/linux/drivers/ntb/hw/idt/extr_ntb_hw_idt.c_idt_ntb_msg_count.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IDT_MSG_CNT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @idt_ntb_msg_count], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @idt_ntb_msg_count(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @IDT_MSG_CNT, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/ntb/hw/idt/extr_ntb_hw_idt.c_idt_ntb_msg_count.c' source_filename = "AnghaBench/linux/drivers/ntb/hw/idt/extr_ntb_hw_idt.c_idt_ntb_msg_count.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IDT_MSG_CNT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @idt_ntb_msg_count], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @idt_ntb_msg_count(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @IDT_MSG_CNT, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_ntb_hw_idt_extr_ntb_hw_idt.c_idt_ntb_msg_count
; ModuleID = 'AnghaBench/radare2/libr/core/p/extr_core_java.c_r_cmd_java_handle_replace_cp_value_float.c' source_filename = "AnghaBench/radare2/libr/core/p/extr_core_java.c_r_cmd_java_handle_replace_cp_value_float.c" target datalayout = "e-m:e-p270:32:32-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 @r_cmd_java_handle_replace_cp_value_float], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @r_cmd_java_handle_replace_cp_value_float(ptr noundef %0, ptr noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca float, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 %7 = icmp eq ptr %2, null br i1 %7, label %14, label %8 8: ; preds = %5 %9 = load i8, ptr %2, align 1, !tbaa !5 %10 = icmp eq i8 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = tail call double @atof(ptr noundef nonnull %2) %13 = fptrunc double %12 to float br label %14 14: ; preds = %5, %8, %11 %15 = phi float [ %13, %11 ], [ 0.000000e+00, %8 ], [ 0.000000e+00, %5 ] store float %15, ptr %6, align 4, !tbaa !8 %16 = call i32 @r_cmd_java_get_cp_bytes_and_write(ptr noundef %0, ptr noundef %1, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %6, i32 noundef 4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare double @atof(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @r_cmd_java_get_cp_bytes_and_write(ptr noundef, ptr noundef, i32 noundef, i32 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 nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"float", !6, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/core/p/extr_core_java.c_r_cmd_java_handle_replace_cp_value_float.c' source_filename = "AnghaBench/radare2/libr/core/p/extr_core_java.c_r_cmd_java_handle_replace_cp_value_float.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 @r_cmd_java_handle_replace_cp_value_float], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @r_cmd_java_handle_replace_cp_value_float(ptr noundef %0, ptr noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca float, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 %7 = icmp eq ptr %2, null br i1 %7, label %14, label %8 8: ; preds = %5 %9 = load i8, ptr %2, align 1, !tbaa !6 %10 = icmp eq i8 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = tail call double @atof(ptr noundef nonnull %2) %13 = fptrunc double %12 to float br label %14 14: ; preds = %5, %8, %11 %15 = phi float [ %13, %11 ], [ 0.000000e+00, %8 ], [ 0.000000e+00, %5 ] store float %15, ptr %6, align 4, !tbaa !9 %16 = call i32 @r_cmd_java_get_cp_bytes_and_write(ptr noundef %0, ptr noundef %1, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %6, i32 noundef 4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare double @atof(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @r_cmd_java_get_cp_bytes_and_write(ptr noundef, ptr noundef, i32 noundef, i32 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 nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"float", !7, i64 0}
radare2_libr_core_p_extr_core_java.c_r_cmd_java_handle_replace_cp_value_float
; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic7xxx_core.c_ahc_force_renegotiation.c' source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic7xxx_core.c_ahc_force_renegotiation.c" target datalayout = "e-m:e-p270:32:32-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.ahc_devinfo = type { i32, i32, i32 } @AHC_NEG_IF_NON_ASYNC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ahc_force_renegotiation], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ahc_force_renegotiation(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds %struct.ahc_devinfo, ptr %1, i64 0, i32 2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.ahc_devinfo, ptr %1, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = load i32, ptr %1, align 4, !tbaa !11 %9 = call ptr @ahc_fetch_transinfo(ptr noundef %0, i32 noundef %5, i32 noundef %7, i32 noundef %8, ptr noundef nonnull %3) #3 %10 = load ptr, ptr %3, align 8, !tbaa !12 %11 = load i32, ptr @AHC_NEG_IF_NON_ASYNC, align 4, !tbaa !14 %12 = call i32 @ahc_update_neg_request(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %10, ptr noundef %9, i32 noundef %11) #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 ptr @ahc_fetch_transinfo(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ahc_update_neg_request(ptr noundef, ptr 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, !7, i64 8} !6 = !{!"ahc_devinfo", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!6, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic7xxx_core.c_ahc_force_renegotiation.c' source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic7xxx_core.c_ahc_force_renegotiation.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AHC_NEG_IF_NON_ASYNC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ahc_force_renegotiation], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ahc_force_renegotiation(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = load i32, ptr %1, align 4, !tbaa !12 %9 = call ptr @ahc_fetch_transinfo(ptr noundef %0, i32 noundef %5, i32 noundef %7, i32 noundef %8, ptr noundef nonnull %3) #3 %10 = load ptr, ptr %3, align 8, !tbaa !13 %11 = load i32, ptr @AHC_NEG_IF_NON_ASYNC, align 4, !tbaa !15 %12 = call i32 @ahc_update_neg_request(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %10, ptr noundef %9, i32 noundef %11) #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 ptr @ahc_fetch_transinfo(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ahc_update_neg_request(ptr noundef, ptr 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, !8, i64 8} !7 = !{!"ahc_devinfo", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!7, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!8, !8, i64 0}
linux_drivers_scsi_aic7xxx_extr_aic7xxx_core.c_ahc_force_renegotiation
; ModuleID = 'AnghaBench/reactos/dll/win32/msxml3/extr_dispex.c_get_typeinfo.c' source_filename = "AnghaBench/reactos/dll/win32/msxml3/extr_dispex.c_get_typeinfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @typeinfos = dso_local local_unnamed_addr global ptr null, align 8 @LibXml = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"GetTypeInfoOfGuid failed: %08x\0A\00", align 1 @S_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @get_typeinfo(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = tail call i32 @get_libid_from_tid(i32 noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %6 = call i32 @get_typelib(i32 noundef %5, ptr noundef nonnull %3) #3 %7 = call i64 @FAILED(i32 noundef %6) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %56 9: ; preds = %2 %10 = load ptr, ptr @typeinfos, align 8, !tbaa !5 %11 = zext i32 %0 to i64 %12 = getelementptr inbounds ptr, ptr %10, i64 %11 %13 = load ptr, ptr %12, align 8, !tbaa !5 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %49 15: ; preds = %9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %16 = load ptr, ptr %3, align 8, !tbaa !5 %17 = call i32 @get_riid_from_tid(i32 noundef %0) #3 %18 = call i32 @ITypeLib_GetTypeInfoOfGuid(ptr noundef %16, i32 noundef %17, ptr noundef nonnull %4) #3 %19 = call i64 @FAILED(i32 noundef %18) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %34, label %21 21: ; preds = %15 %22 = load i32, ptr @LibXml, align 4, !tbaa !9 %23 = call i32 @get_typelib(i32 noundef %22, ptr noundef nonnull %3) #3 %24 = call i64 @FAILED(i32 noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %47 26: ; preds = %21 %27 = load ptr, ptr %3, align 8, !tbaa !5 %28 = call i32 @get_riid_from_tid(i32 noundef %0) #3 %29 = call i32 @ITypeLib_GetTypeInfoOfGuid(ptr noundef %27, i32 noundef %28, ptr noundef nonnull %4) #3 %30 = call i64 @FAILED(i32 noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %26 %33 = call i32 @ERR(ptr noundef nonnull @.str, i32 noundef %29) #3 br label %47 34: ; preds = %26, %15 %35 = load ptr, ptr @typeinfos, align 8, !tbaa !5 %36 = getelementptr inbounds ptr, ptr %35, i64 %11 %37 = load ptr, ptr %4, align 8, !tbaa !5 %38 = call i64 @InterlockedCompareExchangePointer(ptr noundef %36, ptr noundef %37, ptr noundef null) #3 %39 = icmp eq i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %34 %41 = load ptr, ptr %4, align 8, !tbaa !5 %42 = call i32 @ITypeInfo_Release(ptr noundef %41) #3 br label %43 43: ; preds = %40, %34 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 %44 = load ptr, ptr @typeinfos, align 8, !tbaa !5 %45 = getelementptr inbounds ptr, ptr %44, i64 %11 %46 = load ptr, ptr %45, align 8, !tbaa !5 br label %49 47: ; preds = %21, %32 %48 = phi i32 [ %29, %32 ], [ %23, %21 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %56 49: ; preds = %43, %9 %50 = phi ptr [ %46, %43 ], [ %13, %9 ] store ptr %50, ptr %1, align 8, !tbaa !5 %51 = load ptr, ptr @typeinfos, align 8, !tbaa !5 %52 = getelementptr inbounds ptr, ptr %51, i64 %11 %53 = load ptr, ptr %52, align 8, !tbaa !5 %54 = call i32 @ITypeInfo_AddRef(ptr noundef %53) #3 %55 = load i32, ptr @S_OK, align 4, !tbaa !9 br label %56 56: ; preds = %47, %2, %49 %57 = phi i32 [ %55, %49 ], [ %48, %47 ], [ %6, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %57 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @get_libid_from_tid(i32 noundef) local_unnamed_addr #2 declare i64 @FAILED(i32 noundef) local_unnamed_addr #2 declare i32 @get_typelib(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ITypeLib_GetTypeInfoOfGuid(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_riid_from_tid(i32 noundef) local_unnamed_addr #2 declare i32 @ERR(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @InterlockedCompareExchangePointer(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ITypeInfo_Release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @ITypeInfo_AddRef(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/reactos/dll/win32/msxml3/extr_dispex.c_get_typeinfo.c' source_filename = "AnghaBench/reactos/dll/win32/msxml3/extr_dispex.c_get_typeinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @typeinfos = common local_unnamed_addr global ptr null, align 8 @LibXml = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"GetTypeInfoOfGuid failed: %08x\0A\00", align 1 @S_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @get_typeinfo(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = tail call i32 @get_libid_from_tid(i32 noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %6 = call i32 @get_typelib(i32 noundef %5, ptr noundef nonnull %3) #3 %7 = call i64 @FAILED(i32 noundef %6) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %56 9: ; preds = %2 %10 = load ptr, ptr @typeinfos, align 8, !tbaa !6 %11 = zext i32 %0 to i64 %12 = getelementptr inbounds ptr, ptr %10, i64 %11 %13 = load ptr, ptr %12, align 8, !tbaa !6 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %49 15: ; preds = %9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %16 = load ptr, ptr %3, align 8, !tbaa !6 %17 = call i32 @get_riid_from_tid(i32 noundef %0) #3 %18 = call i32 @ITypeLib_GetTypeInfoOfGuid(ptr noundef %16, i32 noundef %17, ptr noundef nonnull %4) #3 %19 = call i64 @FAILED(i32 noundef %18) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %34, label %21 21: ; preds = %15 %22 = load i32, ptr @LibXml, align 4, !tbaa !10 %23 = call i32 @get_typelib(i32 noundef %22, ptr noundef nonnull %3) #3 %24 = call i64 @FAILED(i32 noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %47 26: ; preds = %21 %27 = load ptr, ptr %3, align 8, !tbaa !6 %28 = call i32 @get_riid_from_tid(i32 noundef %0) #3 %29 = call i32 @ITypeLib_GetTypeInfoOfGuid(ptr noundef %27, i32 noundef %28, ptr noundef nonnull %4) #3 %30 = call i64 @FAILED(i32 noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %26 %33 = call i32 @ERR(ptr noundef nonnull @.str, i32 noundef %29) #3 br label %47 34: ; preds = %26, %15 %35 = load ptr, ptr @typeinfos, align 8, !tbaa !6 %36 = getelementptr inbounds ptr, ptr %35, i64 %11 %37 = load ptr, ptr %4, align 8, !tbaa !6 %38 = call i64 @InterlockedCompareExchangePointer(ptr noundef %36, ptr noundef %37, ptr noundef null) #3 %39 = icmp eq i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %34 %41 = load ptr, ptr %4, align 8, !tbaa !6 %42 = call i32 @ITypeInfo_Release(ptr noundef %41) #3 br label %43 43: ; preds = %40, %34 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 %44 = load ptr, ptr @typeinfos, align 8, !tbaa !6 %45 = getelementptr inbounds ptr, ptr %44, i64 %11 %46 = load ptr, ptr %45, align 8, !tbaa !6 br label %49 47: ; preds = %21, %32 %48 = phi i32 [ %29, %32 ], [ %23, %21 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %56 49: ; preds = %43, %9 %50 = phi ptr [ %46, %43 ], [ %13, %9 ] store ptr %50, ptr %1, align 8, !tbaa !6 %51 = load ptr, ptr @typeinfos, align 8, !tbaa !6 %52 = getelementptr inbounds ptr, ptr %51, i64 %11 %53 = load ptr, ptr %52, align 8, !tbaa !6 %54 = call i32 @ITypeInfo_AddRef(ptr noundef %53) #3 %55 = load i32, ptr @S_OK, align 4, !tbaa !10 br label %56 56: ; preds = %47, %2, %49 %57 = phi i32 [ %55, %49 ], [ %48, %47 ], [ %6, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %57 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @get_libid_from_tid(i32 noundef) local_unnamed_addr #2 declare i64 @FAILED(i32 noundef) local_unnamed_addr #2 declare i32 @get_typelib(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ITypeLib_GetTypeInfoOfGuid(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_riid_from_tid(i32 noundef) local_unnamed_addr #2 declare i32 @ERR(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @InterlockedCompareExchangePointer(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ITypeInfo_Release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @ITypeInfo_AddRef(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
reactos_dll_win32_msxml3_extr_dispex.c_get_typeinfo
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_act_api.c_tcf_action_init.c' source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_act_api.c_tcf_action_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tc_action = type { i32, ptr } @TCA_ACT_MAX_PRIO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @tcf_action_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @TCA_ACT_MAX_PRIO, align 4, !tbaa !5 %7 = add nsw i32 %6, 1 %8 = zext i32 %7 to i64 %9 = alloca ptr, i64 %8, align 16 %10 = call i32 @nla_parse_nested(ptr noundef nonnull %9, i32 noundef %6, ptr noundef %0, ptr noundef null) #2 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %5 %13 = load i32, ptr @TCA_ACT_MAX_PRIO, align 4, !tbaa !5 %14 = icmp slt i32 %13, 1 br i1 %14, label %43, label %17 15: ; preds = %5 %16 = call ptr @ERR_PTR(i32 noundef %10) #2 br label %43 17: ; preds = %12, %33 %18 = phi i64 [ %35, %33 ], [ 1, %12 ] %19 = phi ptr [ %25, %33 ], [ null, %12 ] %20 = phi ptr [ %34, %33 ], [ null, %12 ] %21 = getelementptr inbounds ptr, ptr %9, i64 %18 %22 = load ptr, ptr %21, align 8, !tbaa !9 %23 = icmp eq ptr %22, null br i1 %23, label %43, label %24 24: ; preds = %17 %25 = call ptr @tcf_action_init_1(ptr noundef nonnull %22, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #2 %26 = call i64 @IS_ERR(ptr noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %39 28: ; preds = %24 %29 = trunc i64 %18 to i32 store i32 %29, ptr %25, align 8, !tbaa !11 %30 = icmp eq ptr %20, null br i1 %30, label %33, label %31 31: ; preds = %28 %32 = getelementptr inbounds %struct.tc_action, ptr %19, i64 0, i32 1 store ptr %25, ptr %32, align 8, !tbaa !13 br label %33 33: ; preds = %28, %31 %34 = phi ptr [ %20, %31 ], [ %25, %28 ] %35 = add nuw nsw i64 %18, 1 %36 = load i32, ptr @TCA_ACT_MAX_PRIO, align 4, !tbaa !5 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %18, %37 br i1 %38, label %17, label %43, !llvm.loop !14 39: ; preds = %24 %40 = icmp eq ptr %20, null br i1 %40, label %43, label %41 41: ; preds = %39 %42 = call i32 @tcf_action_destroy(ptr noundef nonnull %20, i32 noundef %4) #2 br label %43 43: ; preds = %33, %17, %12, %39, %41, %15 %44 = phi ptr [ %16, %15 ], [ %25, %41 ], [ %25, %39 ], [ null, %12 ], [ %34, %33 ], [ %20, %17 ] ret ptr %44 } declare i32 @nla_parse_nested(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @tcf_action_init_1(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tcf_action_destroy(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"tc_action", !6, i64 0, !10, i64 8} !13 = !{!12, !10, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_act_api.c_tcf_action_init.c' source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_act_api.c_tcf_action_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCA_ACT_MAX_PRIO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @tcf_action_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @TCA_ACT_MAX_PRIO, align 4, !tbaa !6 %7 = add nsw i32 %6, 1 %8 = zext i32 %7 to i64 %9 = alloca ptr, i64 %8, align 8 %10 = call i32 @nla_parse_nested(ptr noundef nonnull %9, i32 noundef %6, ptr noundef %0, ptr noundef null) #2 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %5 %13 = load i32, ptr @TCA_ACT_MAX_PRIO, align 4, !tbaa !6 %14 = icmp slt i32 %13, 1 br i1 %14, label %43, label %17 15: ; preds = %5 %16 = call ptr @ERR_PTR(i32 noundef %10) #2 br label %43 17: ; preds = %12, %33 %18 = phi i64 [ %35, %33 ], [ 1, %12 ] %19 = phi ptr [ %25, %33 ], [ null, %12 ] %20 = phi ptr [ %34, %33 ], [ null, %12 ] %21 = getelementptr inbounds ptr, ptr %9, i64 %18 %22 = load ptr, ptr %21, align 8, !tbaa !10 %23 = icmp eq ptr %22, null br i1 %23, label %43, label %24 24: ; preds = %17 %25 = call ptr @tcf_action_init_1(ptr noundef nonnull %22, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #2 %26 = call i64 @IS_ERR(ptr noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %39 28: ; preds = %24 %29 = trunc nuw nsw i64 %18 to i32 store i32 %29, ptr %25, align 8, !tbaa !12 %30 = icmp eq ptr %20, null br i1 %30, label %33, label %31 31: ; preds = %28 %32 = getelementptr inbounds i8, ptr %19, i64 8 store ptr %25, ptr %32, align 8, !tbaa !14 br label %33 33: ; preds = %28, %31 %34 = phi ptr [ %20, %31 ], [ %25, %28 ] %35 = add nuw nsw i64 %18, 1 %36 = load i32, ptr @TCA_ACT_MAX_PRIO, align 4, !tbaa !6 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %18, %37 br i1 %38, label %17, label %43, !llvm.loop !15 39: ; preds = %24 %40 = icmp eq ptr %20, null br i1 %40, label %43, label %41 41: ; preds = %39 %42 = call i32 @tcf_action_destroy(ptr noundef nonnull %20, i32 noundef %4) #2 br label %43 43: ; preds = %33, %17, %12, %39, %41, %15 %44 = phi ptr [ %16, %15 ], [ %25, %41 ], [ %25, %39 ], [ null, %12 ], [ %34, %33 ], [ %20, %17 ] ret ptr %44 } declare i32 @nla_parse_nested(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @tcf_action_init_1(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tcf_action_destroy(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"tc_action", !7, i64 0, !11, i64 8} !14 = !{!13, !11, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_net_sched_extr_act_api.c_tcf_action_init
; ModuleID = 'AnghaBench/vlc/modules/logger/extr_syslog.c_Close.c' source_filename = "AnghaBench/vlc/modules/logger/extr_syslog.c_Close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @default_ident = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @Close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @Close(ptr noundef %0) #0 { %2 = tail call i32 (...) @closelog() #2 %3 = load ptr, ptr @default_ident, align 8, !tbaa !5 %4 = icmp eq ptr %3, %0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @free(ptr noundef %0) #2 br label %7 7: ; preds = %5, %1 ret void } declare i32 @closelog(...) 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/vlc/modules/logger/extr_syslog.c_Close.c' source_filename = "AnghaBench/vlc/modules/logger/extr_syslog.c_Close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @default_ident = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @Close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @Close(ptr noundef %0) #0 { %2 = tail call i32 @closelog() #2 %3 = load ptr, ptr @default_ident, align 8, !tbaa !6 %4 = icmp eq ptr %3, %0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @free(ptr noundef %0) #2 br label %7 7: ; preds = %5, %1 ret void } declare i32 @closelog(...) 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
vlc_modules_logger_extr_syslog.c_Close
; ModuleID = 'AnghaBench/git/extr_submodule.c_check_for_new_submodule_commits.c' source_filename = "AnghaBench/git/extr_submodule.c_check_for_new_submodule_commits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @initialized_fetch_ref_tips = dso_local local_unnamed_addr global i32 0, align 4 @append_oid_to_array = dso_local local_unnamed_addr global i32 0, align 4 @ref_tips_before_fetch = dso_local global i32 0, align 4 @ref_tips_after_fetch = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @check_for_new_submodule_commits(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @initialized_fetch_ref_tips, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = load i32, ptr @append_oid_to_array, align 4, !tbaa !5 %6 = tail call i32 @for_each_ref(i32 noundef %5, ptr noundef nonnull @ref_tips_before_fetch) #2 store i32 1, ptr @initialized_fetch_ref_tips, align 4, !tbaa !5 br label %7 7: ; preds = %4, %1 %8 = tail call i32 @oid_array_append(ptr noundef nonnull @ref_tips_after_fetch, ptr noundef %0) #2 ret void } declare i32 @for_each_ref(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @oid_array_append(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/git/extr_submodule.c_check_for_new_submodule_commits.c' source_filename = "AnghaBench/git/extr_submodule.c_check_for_new_submodule_commits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @initialized_fetch_ref_tips = common local_unnamed_addr global i32 0, align 4 @append_oid_to_array = common local_unnamed_addr global i32 0, align 4 @ref_tips_before_fetch = common global i32 0, align 4 @ref_tips_after_fetch = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @check_for_new_submodule_commits(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @initialized_fetch_ref_tips, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = load i32, ptr @append_oid_to_array, align 4, !tbaa !6 %6 = tail call i32 @for_each_ref(i32 noundef %5, ptr noundef nonnull @ref_tips_before_fetch) #2 store i32 1, ptr @initialized_fetch_ref_tips, align 4, !tbaa !6 br label %7 7: ; preds = %4, %1 %8 = tail call i32 @oid_array_append(ptr noundef nonnull @ref_tips_after_fetch, ptr noundef %0) #2 ret void } declare i32 @for_each_ref(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @oid_array_append(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"}
git_extr_submodule.c_check_for_new_submodule_commits
; ModuleID = 'AnghaBench/systemd/src/network/extr_networkd-routing-policy-rule.c_routing_policy_rule_make_local.c' source_filename = "AnghaBench/systemd/src/network/extr_networkd-routing-policy-rule.c_routing_policy_rule_make_local.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } @routing_policy_rule_hash_ops = dso_local global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @routing_policy_rule_make_local(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i64 @set_contains(i32 noundef %5, ptr noundef %1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %21, label %8 8: ; preds = %2 %9 = load i32, ptr %4, align 4, !tbaa !5 %10 = tail call i32 @set_remove(i32 noundef %9, ptr noundef %1) #2 %11 = tail call i32 @set_ensure_allocated(ptr noundef nonnull %0, ptr noundef nonnull @routing_policy_rule_hash_ops) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %8 %14 = load i32, ptr %0, align 4, !tbaa !10 %15 = tail call i32 @set_put(i32 noundef %14, ptr noundef %1) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %13 %18 = icmp eq i32 %15, 0 br i1 %18, label %19, label %21 19: ; preds = %17 %20 = tail call i32 @routing_policy_rule_free(ptr noundef %1) #2 br label %21 21: ; preds = %17, %19, %2 %22 = load i32, ptr @ENOENT, align 4, !tbaa !11 %23 = sub nsw i32 0, %22 br label %24 24: ; preds = %13, %8, %21 %25 = phi i32 [ %23, %21 ], [ %11, %8 ], [ %15, %13 ] ret i32 %25 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i64 @set_contains(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_remove(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_ensure_allocated(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_put(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @routing_policy_rule_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/systemd/src/network/extr_networkd-routing-policy-rule.c_routing_policy_rule_make_local.c' source_filename = "AnghaBench/systemd/src/network/extr_networkd-routing-policy-rule.c_routing_policy_rule_make_local.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @routing_policy_rule_hash_ops = common global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @routing_policy_rule_make_local(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i64 @set_contains(i32 noundef %5, ptr noundef %1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %21, label %8 8: ; preds = %2 %9 = load i32, ptr %4, align 4, !tbaa !6 %10 = tail call i32 @set_remove(i32 noundef %9, ptr noundef %1) #2 %11 = tail call i32 @set_ensure_allocated(ptr noundef nonnull %0, ptr noundef nonnull @routing_policy_rule_hash_ops) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %8 %14 = load i32, ptr %0, align 4, !tbaa !11 %15 = tail call i32 @set_put(i32 noundef %14, ptr noundef %1) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %13 %18 = icmp eq i32 %15, 0 br i1 %18, label %19, label %21 19: ; preds = %17 %20 = tail call i32 @routing_policy_rule_free(ptr noundef %1) #2 br label %21 21: ; preds = %17, %19, %2 %22 = load i32, ptr @ENOENT, align 4, !tbaa !12 %23 = sub nsw i32 0, %22 br label %24 24: ; preds = %13, %8, %21 %25 = phi i32 [ %23, %21 ], [ %11, %8 ], [ %15, %13 ] ret i32 %25 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i64 @set_contains(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_remove(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_ensure_allocated(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_put(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @routing_policy_rule_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!8, !8, i64 0}
systemd_src_network_extr_networkd-routing-policy-rule.c_routing_policy_rule_make_local
; ModuleID = 'AnghaBench/reactos/base/applications/regedit/extr_regedit.c_error_unknown_switch.c' source_filename = "AnghaBench/reactos/base/applications/regedit/extr_regedit.c_error_unknown_switch.c" target datalayout = "e-m:e-p270:32:32-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 [27 x i32] [i32 37, i32 115, i32 58, i32 32, i32 85, i32 110, i32 100, i32 101, i32 102, i32 105, i32 110, i32 101, i32 100, i32 32, i32 115, i32 119, i32 105, i32 116, i32 99, i32 104, i32 32, i32 47, i32 37, i32 99, i32 33, i32 10, i32 0], align 4 @.str.1 = private unnamed_addr constant [73 x i32] [i32 37, i32 115, i32 58, i32 32, i32 65, i32 108, i32 112, i32 104, i32 97, i32 98, i32 101, i32 116, i32 105, i32 99, i32 32, i32 99, i32 104, i32 97, i32 114, i32 97, i32 99, i32 116, i32 101, i32 114, i32 32, i32 105, i32 115, i32 32, i32 101, i32 120, i32 112, i32 101, i32 99, i32 116, i32 101, i32 100, i32 32, i32 97, i32 102, i32 116, i32 101, i32 114, i32 32, i32 39, i32 37, i32 99, i32 39, i32 32, i32 105, i32 110, i32 32, i32 115, i32 119, i32 105, i32 116, i32 99, i32 104, i32 32, i32 115, i32 112, i32 101, i32 99, i32 105, i32 102, i32 105, i32 99, i32 97, i32 116, i32 105, i32 111, i32 110, i32 10, i32 0], align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @error_unknown_switch], section "llvm.metadata" ; Function Attrs: noreturn nounwind uwtable define internal void @error_unknown_switch(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call i64 @iswalpha(i32 noundef %0) #3 %4 = icmp eq i64 %3, 0 %5 = load i32, ptr @stderr, align 4, !tbaa !5 %6 = tail call ptr (...) @getAppName() #3 br i1 %4, label %7, label %10 7: ; preds = %2 %8 = getelementptr inbounds i32, ptr %1, i64 -1 %9 = load i32, ptr %8, align 4, !tbaa !5 br label %10 10: ; preds = %2, %7 %11 = phi i32 [ %9, %7 ], [ %0, %2 ] %12 = phi ptr [ @.str.1, %7 ], [ @.str, %2 ] %13 = tail call i32 @fwprintf(i32 noundef %5, ptr noundef nonnull %12, ptr noundef %6, i32 noundef %11) #3 %14 = tail call i32 @exit(i32 noundef 1) #4 unreachable } declare i64 @iswalpha(i32 noundef) local_unnamed_addr #1 declare i32 @fwprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @getAppName(...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) 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/reactos/base/applications/regedit/extr_regedit.c_error_unknown_switch.c' source_filename = "AnghaBench/reactos/base/applications/regedit/extr_regedit.c_error_unknown_switch.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 [27 x i32] [i32 37, i32 115, i32 58, i32 32, i32 85, i32 110, i32 100, i32 101, i32 102, i32 105, i32 110, i32 101, i32 100, i32 32, i32 115, i32 119, i32 105, i32 116, i32 99, i32 104, i32 32, i32 47, i32 37, i32 99, i32 33, i32 10, i32 0], align 4 @.str.1 = private unnamed_addr constant [73 x i32] [i32 37, i32 115, i32 58, i32 32, i32 65, i32 108, i32 112, i32 104, i32 97, i32 98, i32 101, i32 116, i32 105, i32 99, i32 32, i32 99, i32 104, i32 97, i32 114, i32 97, i32 99, i32 116, i32 101, i32 114, i32 32, i32 105, i32 115, i32 32, i32 101, i32 120, i32 112, i32 101, i32 99, i32 116, i32 101, i32 100, i32 32, i32 97, i32 102, i32 116, i32 101, i32 114, i32 32, i32 39, i32 37, i32 99, i32 39, i32 32, i32 105, i32 110, i32 32, i32 115, i32 119, i32 105, i32 116, i32 99, i32 104, i32 32, i32 115, i32 112, i32 101, i32 99, i32 105, i32 102, i32 105, i32 99, i32 97, i32 116, i32 105, i32 111, i32 110, i32 10, i32 0], align 4 @llvm.used = appending global [1 x ptr] [ptr @error_unknown_switch], section "llvm.metadata" ; Function Attrs: noreturn nounwind ssp uwtable(sync) define internal void @error_unknown_switch(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call i64 @iswalpha(i32 noundef %0) #3 %4 = icmp eq i64 %3, 0 %5 = load i32, ptr @stderr, align 4, !tbaa !6 %6 = tail call ptr @getAppName() #3 br i1 %4, label %7, label %10 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %1, i64 -4 %9 = load i32, ptr %8, align 4, !tbaa !6 br label %10 10: ; preds = %2, %7 %11 = phi i32 [ %9, %7 ], [ %0, %2 ] %12 = phi ptr [ @.str.1, %7 ], [ @.str, %2 ] %13 = tail call i32 @fwprintf(i32 noundef %5, ptr noundef nonnull %12, ptr noundef %6, i32 noundef %11) #3 %14 = tail call i32 @exit(i32 noundef 1) #4 unreachable } declare i64 @iswalpha(i32 noundef) local_unnamed_addr #1 declare i32 @fwprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @getAppName(...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) 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"}
reactos_base_applications_regedit_extr_regedit.c_error_unknown_switch
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_intel_dp_check_edp.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_intel_dp_check_edp.c" target datalayout = "e-m:e-p270:32:32-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 [61 x i8] c"eDP powered off while attempting aux channel communication.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Status 0x%08x Control 0x%08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_dp_check_edp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @intel_dp_check_edp(ptr noundef %0) #0 { %2 = tail call ptr @dp_to_i915(ptr noundef %0) #2 %3 = tail call i32 @intel_dp_is_edp(ptr noundef %0) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %18, label %5 5: ; preds = %1 %6 = tail call i32 @edp_have_panel_power(ptr noundef %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = tail call i32 @edp_have_panel_vdd(ptr noundef %0) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = tail call i32 @WARN(i32 noundef 1, ptr noundef nonnull @.str) #2 %13 = tail call i32 @_pp_stat_reg(ptr noundef %0) #2 %14 = tail call i32 @I915_READ(i32 noundef %13) #2 %15 = tail call i32 @_pp_ctrl_reg(ptr noundef %0) #2 %16 = tail call i32 @I915_READ(i32 noundef %15) #2 %17 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %16) #2 br label %18 18: ; preds = %5, %8, %11, %1 ret void } declare ptr @dp_to_i915(ptr noundef) local_unnamed_addr #1 declare i32 @intel_dp_is_edp(ptr noundef) local_unnamed_addr #1 declare i32 @edp_have_panel_power(ptr noundef) local_unnamed_addr #1 declare i32 @edp_have_panel_vdd(ptr noundef) local_unnamed_addr #1 declare i32 @WARN(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG_KMS(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @I915_READ(i32 noundef) local_unnamed_addr #1 declare i32 @_pp_stat_reg(ptr noundef) local_unnamed_addr #1 declare i32 @_pp_ctrl_reg(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_intel_dp_check_edp.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp.c_intel_dp_check_edp.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 [61 x i8] c"eDP powered off while attempting aux channel communication.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Status 0x%08x Control 0x%08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @intel_dp_check_edp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @intel_dp_check_edp(ptr noundef %0) #0 { %2 = tail call ptr @dp_to_i915(ptr noundef %0) #2 %3 = tail call i32 @intel_dp_is_edp(ptr noundef %0) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %18, label %5 5: ; preds = %1 %6 = tail call i32 @edp_have_panel_power(ptr noundef %0) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = tail call i32 @edp_have_panel_vdd(ptr noundef %0) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = tail call i32 @WARN(i32 noundef 1, ptr noundef nonnull @.str) #2 %13 = tail call i32 @_pp_stat_reg(ptr noundef %0) #2 %14 = tail call i32 @I915_READ(i32 noundef %13) #2 %15 = tail call i32 @_pp_ctrl_reg(ptr noundef %0) #2 %16 = tail call i32 @I915_READ(i32 noundef %15) #2 %17 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %16) #2 br label %18 18: ; preds = %5, %8, %11, %1 ret void } declare ptr @dp_to_i915(ptr noundef) local_unnamed_addr #1 declare i32 @intel_dp_is_edp(ptr noundef) local_unnamed_addr #1 declare i32 @edp_have_panel_power(ptr noundef) local_unnamed_addr #1 declare i32 @edp_have_panel_vdd(ptr noundef) local_unnamed_addr #1 declare i32 @WARN(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG_KMS(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @I915_READ(i32 noundef) local_unnamed_addr #1 declare i32 @_pp_stat_reg(ptr noundef) local_unnamed_addr #1 declare i32 @_pp_ctrl_reg(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_i915_display_extr_intel_dp.c_intel_dp_check_edp
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_init.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tls_config = type { ptr, i32 } @tls_ref_count = dso_local local_unnamed_addr global i64 0, align 8 @tls_global = dso_local local_unnamed_addr global ptr null, align 8 @wolfssl_receive_cb = dso_local local_unnamed_addr global i32 0, align 4 @wolfssl_send_cb = dso_local local_unnamed_addr global i32 0, align 4 @SSL_SESS_CACHE_SERVER = dso_local local_unnamed_addr global i32 0, align 4 @remove_session_cb = dso_local local_unnamed_addr global i32 0, align 4 @SSL_SESS_CACHE_CLIENT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"ALL\00", align 1 @MSG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"wolfSSL: Failed to set cipher string '%s'\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @tls_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @tls_context_new(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %62, label %4 4: ; preds = %1 %5 = load i64, ptr @tls_ref_count, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %4 store ptr %2, ptr @tls_global, align 8, !tbaa !9 %8 = tail call i64 (...) @wolfSSL_Init() #2 %9 = icmp slt i64 %8, 0 br i1 %9, label %62, label %10 10: ; preds = %7 %11 = load i64, ptr @tls_ref_count, align 8, !tbaa !5 br label %12 12: ; preds = %10, %4 %13 = phi i64 [ %11, %10 ], [ %5, %4 ] %14 = add nsw i64 %13, 1 store i64 %14, ptr @tls_ref_count, align 8, !tbaa !5 %15 = tail call i32 (...) @wolfSSLv23_client_method() #2 %16 = tail call ptr @wolfSSL_CTX_new(i32 noundef %15) #2 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %32 18: ; preds = %12 %19 = load i64, ptr @tls_ref_count, align 8, !tbaa !5 %20 = add nsw i64 %19, -1 store i64 %20, ptr @tls_ref_count, align 8, !tbaa !5 %21 = load ptr, ptr @tls_global, align 8, !tbaa !9 %22 = icmp eq ptr %2, %21 br i1 %22, label %26, label %23 23: ; preds = %18 %24 = tail call i32 @os_free(ptr noundef nonnull %2) #2 %25 = load i64, ptr @tls_ref_count, align 8, !tbaa !5 br label %26 26: ; preds = %23, %18 %27 = phi i64 [ %25, %23 ], [ %20, %18 ] %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load ptr, ptr @tls_global, align 8, !tbaa !9 %31 = tail call i32 @os_free(ptr noundef %30) #2 store ptr null, ptr @tls_global, align 8, !tbaa !9 br label %32 32: ; preds = %26, %29, %12 %33 = load i32, ptr @wolfssl_receive_cb, align 4, !tbaa !11 %34 = tail call i32 @wolfSSL_SetIORecv(ptr noundef %16, i32 noundef %33) #2 %35 = load i32, ptr @wolfssl_send_cb, align 4, !tbaa !11 %36 = tail call i32 @wolfSSL_SetIOSend(ptr noundef %16, i32 noundef %35) #2 %37 = tail call i32 @wolfSSL_CTX_set_ex_data(ptr noundef %16, i32 noundef 0, ptr noundef nonnull %2) #2 %38 = getelementptr inbounds %struct.tls_config, ptr %0, i64 0, i32 1 %39 = load i32, ptr %38, align 8, !tbaa !13 %40 = icmp sgt i32 %39, 0 br i1 %40, label %41, label %49 41: ; preds = %32 %42 = tail call i32 @wolfSSL_CTX_set_quiet_shutdown(ptr noundef %16, i32 noundef 1) #2 %43 = load i32, ptr @SSL_SESS_CACHE_SERVER, align 4, !tbaa !11 %44 = tail call i32 @wolfSSL_CTX_set_session_cache_mode(ptr noundef %16, i32 noundef %43) #2 %45 = load i32, ptr %38, align 8, !tbaa !13 %46 = tail call i32 @wolfSSL_CTX_set_timeout(ptr noundef %16, i32 noundef %45) #2 %47 = load i32, ptr @remove_session_cb, align 4, !tbaa !11 %48 = tail call i32 @wolfSSL_CTX_sess_set_remove_cb(ptr noundef %16, i32 noundef %47) #2 br label %52 49: ; preds = %32 %50 = load i32, ptr @SSL_SESS_CACHE_CLIENT, align 4, !tbaa !11 %51 = tail call i32 @wolfSSL_CTX_set_session_cache_mode(ptr noundef %16, i32 noundef %50) #2 br label %52 52: ; preds = %41, %49 %53 = load ptr, ptr %0, align 8, !tbaa !15 %54 = icmp eq ptr %53, null %55 = select i1 %54, ptr @.str, ptr %53 %56 = tail call i32 @wolfSSL_CTX_set_cipher_list(ptr noundef %16, ptr noundef nonnull %55) #2 %57 = icmp eq i32 %56, 1 br i1 %57, label %62, label %58 58: ; preds = %52 %59 = load i32, ptr @MSG_ERROR, align 4, !tbaa !11 %60 = tail call i32 @wpa_printf(i32 noundef %59, ptr noundef nonnull @.str.1, ptr noundef nonnull %55) #2 %61 = tail call i32 @tls_deinit(ptr noundef %16) #2 br label %62 62: ; preds = %52, %7, %1, %58 %63 = phi ptr [ null, %58 ], [ null, %1 ], [ null, %7 ], [ %16, %52 ] ret ptr %63 } declare ptr @tls_context_new(ptr noundef) local_unnamed_addr #1 declare i64 @wolfSSL_Init(...) local_unnamed_addr #1 declare ptr @wolfSSL_CTX_new(i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSLv23_client_method(...) local_unnamed_addr #1 declare i32 @os_free(ptr noundef) local_unnamed_addr #1 declare i32 @wolfSSL_SetIORecv(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_SetIOSend(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_ex_data(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_quiet_shutdown(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_session_cache_mode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_sess_set_remove_cb(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_cipher_list(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wpa_printf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tls_deinit(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 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"tls_config", !10, i64 0, !12, i64 8} !15 = !{!14, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_init.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @tls_ref_count = common local_unnamed_addr global i64 0, align 8 @tls_global = common local_unnamed_addr global ptr null, align 8 @wolfssl_receive_cb = common local_unnamed_addr global i32 0, align 4 @wolfssl_send_cb = common local_unnamed_addr global i32 0, align 4 @SSL_SESS_CACHE_SERVER = common local_unnamed_addr global i32 0, align 4 @remove_session_cb = common local_unnamed_addr global i32 0, align 4 @SSL_SESS_CACHE_CLIENT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"ALL\00", align 1 @MSG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"wolfSSL: Failed to set cipher string '%s'\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @tls_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @tls_context_new(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %62, label %4 4: ; preds = %1 %5 = load i64, ptr @tls_ref_count, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %4 store ptr %2, ptr @tls_global, align 8, !tbaa !10 %8 = tail call i64 @wolfSSL_Init() #2 %9 = icmp slt i64 %8, 0 br i1 %9, label %62, label %10 10: ; preds = %7 %11 = load i64, ptr @tls_ref_count, align 8, !tbaa !6 br label %12 12: ; preds = %10, %4 %13 = phi i64 [ %11, %10 ], [ %5, %4 ] %14 = add nsw i64 %13, 1 store i64 %14, ptr @tls_ref_count, align 8, !tbaa !6 %15 = tail call i32 @wolfSSLv23_client_method() #2 %16 = tail call ptr @wolfSSL_CTX_new(i32 noundef %15) #2 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %32 18: ; preds = %12 %19 = load i64, ptr @tls_ref_count, align 8, !tbaa !6 %20 = add nsw i64 %19, -1 store i64 %20, ptr @tls_ref_count, align 8, !tbaa !6 %21 = load ptr, ptr @tls_global, align 8, !tbaa !10 %22 = icmp eq ptr %2, %21 br i1 %22, label %26, label %23 23: ; preds = %18 %24 = tail call i32 @os_free(ptr noundef nonnull %2) #2 %25 = load i64, ptr @tls_ref_count, align 8, !tbaa !6 br label %26 26: ; preds = %23, %18 %27 = phi i64 [ %25, %23 ], [ %20, %18 ] %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load ptr, ptr @tls_global, align 8, !tbaa !10 %31 = tail call i32 @os_free(ptr noundef %30) #2 store ptr null, ptr @tls_global, align 8, !tbaa !10 br label %32 32: ; preds = %26, %29, %12 %33 = load i32, ptr @wolfssl_receive_cb, align 4, !tbaa !12 %34 = tail call i32 @wolfSSL_SetIORecv(ptr noundef %16, i32 noundef %33) #2 %35 = load i32, ptr @wolfssl_send_cb, align 4, !tbaa !12 %36 = tail call i32 @wolfSSL_SetIOSend(ptr noundef %16, i32 noundef %35) #2 %37 = tail call i32 @wolfSSL_CTX_set_ex_data(ptr noundef %16, i32 noundef 0, ptr noundef nonnull %2) #2 %38 = getelementptr inbounds i8, ptr %0, i64 8 %39 = load i32, ptr %38, align 8, !tbaa !14 %40 = icmp sgt i32 %39, 0 br i1 %40, label %41, label %49 41: ; preds = %32 %42 = tail call i32 @wolfSSL_CTX_set_quiet_shutdown(ptr noundef %16, i32 noundef 1) #2 %43 = load i32, ptr @SSL_SESS_CACHE_SERVER, align 4, !tbaa !12 %44 = tail call i32 @wolfSSL_CTX_set_session_cache_mode(ptr noundef %16, i32 noundef %43) #2 %45 = load i32, ptr %38, align 8, !tbaa !14 %46 = tail call i32 @wolfSSL_CTX_set_timeout(ptr noundef %16, i32 noundef %45) #2 %47 = load i32, ptr @remove_session_cb, align 4, !tbaa !12 %48 = tail call i32 @wolfSSL_CTX_sess_set_remove_cb(ptr noundef %16, i32 noundef %47) #2 br label %52 49: ; preds = %32 %50 = load i32, ptr @SSL_SESS_CACHE_CLIENT, align 4, !tbaa !12 %51 = tail call i32 @wolfSSL_CTX_set_session_cache_mode(ptr noundef %16, i32 noundef %50) #2 br label %52 52: ; preds = %41, %49 %53 = load ptr, ptr %0, align 8, !tbaa !16 %54 = icmp eq ptr %53, null %55 = select i1 %54, ptr @.str, ptr %53 %56 = tail call i32 @wolfSSL_CTX_set_cipher_list(ptr noundef %16, ptr noundef nonnull %55) #2 %57 = icmp eq i32 %56, 1 br i1 %57, label %62, label %58 58: ; preds = %52 %59 = load i32, ptr @MSG_ERROR, align 4, !tbaa !12 %60 = tail call i32 @wpa_printf(i32 noundef %59, ptr noundef nonnull @.str.1, ptr noundef nonnull %55) #2 %61 = tail call i32 @tls_deinit(ptr noundef %16) #2 br label %62 62: ; preds = %52, %7, %1, %58 %63 = phi ptr [ null, %58 ], [ null, %1 ], [ null, %7 ], [ %16, %52 ] ret ptr %63 } declare ptr @tls_context_new(ptr noundef) local_unnamed_addr #1 declare i64 @wolfSSL_Init(...) local_unnamed_addr #1 declare ptr @wolfSSL_CTX_new(i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSLv23_client_method(...) local_unnamed_addr #1 declare i32 @os_free(ptr noundef) local_unnamed_addr #1 declare i32 @wolfSSL_SetIORecv(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_SetIOSend(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_ex_data(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_quiet_shutdown(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_session_cache_mode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_sess_set_remove_cb(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_CTX_set_cipher_list(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wpa_printf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tls_deinit(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 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 8} !15 = !{!"tls_config", !11, i64 0, !13, i64 8} !16 = !{!15, !11, i64 0}
freebsd_contrib_wpa_src_crypto_extr_tls_wolfssl.c_tls_init
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_si_dpm.c_si_dpm_vblank_too_short.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_si_dpm.c_si_dpm_vblank_too_short.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AMDGPU_VRAM_TYPE_GDDR5 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @si_dpm_vblank_too_short], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @si_dpm_vblank_too_short(ptr noundef %0) #0 { %2 = tail call i64 @amdgpu_dpm_get_vblank_time(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @AMDGPU_VRAM_TYPE_GDDR5, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 %6 = select i1 %5, i64 450, i64 0 %7 = icmp slt i64 %2, %6 %8 = zext i1 %7 to i32 ret i32 %8 } declare i64 @amdgpu_dpm_get_vblank_time(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 = !{!"amdgpu_device", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_si_dpm.c_si_dpm_vblank_too_short.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_si_dpm.c_si_dpm_vblank_too_short.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AMDGPU_VRAM_TYPE_GDDR5 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @si_dpm_vblank_too_short], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @si_dpm_vblank_too_short(ptr noundef %0) #0 { %2 = tail call i64 @amdgpu_dpm_get_vblank_time(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @AMDGPU_VRAM_TYPE_GDDR5, align 8, !tbaa !12 %5 = icmp eq i64 %3, %4 %6 = select i1 %5, i64 450, i64 0 %7 = icmp slt i64 %2, %6 %8 = zext i1 %7 to i32 ret i32 %8 } declare i64 @amdgpu_dpm_get_vblank_time(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 = !{!"amdgpu_device", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
linux_drivers_gpu_drm_amd_amdgpu_extr_si_dpm.c_si_dpm_vblank_too_short
; ModuleID = 'AnghaBench/linux/arch/mips/mm/extr_sc-ip22.c_indy_sc_init.c' source_filename = "AnghaBench/linux/arch/mips/mm/extr_sc-ip22.c_indy_sc_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" @indy_sc_ops = dso_local global i32 0, align 4 @bcops = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @indy_sc_init() local_unnamed_addr #0 { %1 = tail call i64 (...) @indy_sc_probe() #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 (...) @indy_sc_enable() #2 store ptr @indy_sc_ops, ptr @bcops, align 8, !tbaa !5 br label %5 5: ; preds = %3, %0 ret void } declare i64 @indy_sc_probe(...) local_unnamed_addr #1 declare i32 @indy_sc_enable(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/mips/mm/extr_sc-ip22.c_indy_sc_init.c' source_filename = "AnghaBench/linux/arch/mips/mm/extr_sc-ip22.c_indy_sc_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @indy_sc_ops = common global i32 0, align 4 @bcops = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @indy_sc_init() local_unnamed_addr #0 { %1 = tail call i64 @indy_sc_probe() #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @indy_sc_enable() #2 store ptr @indy_sc_ops, ptr @bcops, align 8, !tbaa !6 br label %5 5: ; preds = %3, %0 ret void } declare i64 @indy_sc_probe(...) local_unnamed_addr #1 declare i32 @indy_sc_enable(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
linux_arch_mips_mm_extr_sc-ip22.c_indy_sc_init
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_mep-desc.c_build_operand_table.c' source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_mep-desc.c_build_operand_table.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, %struct.TYPE_9__ } %struct.TYPE_9__ = type { i32, i32, ptr, ptr } %struct.TYPE_10__ = type { i64, ptr } @mep_cgen_operand_table = dso_local local_unnamed_addr global ptr null, align 8 @MAX_OPERANDS = dso_local local_unnamed_addr global i32 0, align 4 @CGEN_OPERAND_MACH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @build_operand_table], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @build_operand_table(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr @mep_cgen_operand_table, align 8, !tbaa !12 %4 = load i32, ptr @MAX_OPERANDS, align 4, !tbaa !13 %5 = shl i32 %4, 3 %6 = tail call ptr @xmalloc(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 %8 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 3 store ptr %3, ptr %8, align 8, !tbaa !14 store i32 16, ptr %7, align 8, !tbaa !15 %9 = load i32, ptr @MAX_OPERANDS, align 4, !tbaa !13 %10 = shl i32 %9, 3 %11 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef %10) #2 %12 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !16 %14 = icmp eq ptr %13, null br i1 %14, label %31, label %15 15: ; preds = %1, %25 %16 = phi i64 [ %26, %25 ], [ 0, %1 ] %17 = phi ptr [ %27, %25 ], [ %3, %1 ] %18 = load i32, ptr @CGEN_OPERAND_MACH, align 4, !tbaa !13 %19 = tail call i32 @CGEN_OPERAND_ATTR_VALUE(ptr noundef nonnull %17, i32 noundef %18) #2 %20 = and i32 %19, %2 %21 = icmp eq i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %15 %23 = load i64, ptr %17, align 8, !tbaa !19 %24 = getelementptr inbounds ptr, ptr %6, i64 %23 store ptr %17, ptr %24, align 8, !tbaa !12 br label %25 25: ; preds = %15, %22 %26 = add nuw i64 %16, 1 %27 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %26 %28 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %26, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !16 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %15, !llvm.loop !20 31: ; preds = %25, %1 %32 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 2 store ptr %6, ptr %32, align 8, !tbaa !22 %33 = load i32, ptr @MAX_OPERANDS, align 4, !tbaa !13 %34 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1, i32 1 store i32 %33, ptr %34, align 4, !tbaa !23 ret void } declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CGEN_OPERAND_ATTR_VALUE(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_11__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !11, i64 8, !11, i64 16} !11 = !{!"any pointer", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !11, i64 24} !15 = !{!6, !7, i64 8} !16 = !{!17, !11, i64 8} !17 = !{!"TYPE_10__", !18, i64 0, !11, i64 8} !18 = !{!"long", !8, i64 0} !19 = !{!17, !18, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!6, !11, i64 16} !23 = !{!6, !7, i64 12}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_mep-desc.c_build_operand_table.c' source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_mep-desc.c_build_operand_table.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { i64, ptr } @mep_cgen_operand_table = common local_unnamed_addr global ptr null, align 8 @MAX_OPERANDS = common local_unnamed_addr global i32 0, align 4 @CGEN_OPERAND_MACH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @build_operand_table], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @build_operand_table(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr @mep_cgen_operand_table, align 8, !tbaa !13 %4 = load i32, ptr @MAX_OPERANDS, align 4, !tbaa !14 %5 = shl i32 %4, 3 %6 = tail call ptr @xmalloc(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %3, ptr %8, align 8, !tbaa !15 store i32 16, ptr %7, align 8, !tbaa !16 %9 = load i32, ptr @MAX_OPERANDS, align 4, !tbaa !14 %10 = shl i32 %9, 3 %11 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %3, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !17 %14 = icmp eq ptr %13, null br i1 %14, label %30, label %15 15: ; preds = %1, %25 %16 = phi i64 [ %26, %25 ], [ 0, %1 ] %17 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %16 %18 = load i32, ptr @CGEN_OPERAND_MACH, align 4, !tbaa !14 %19 = tail call i32 @CGEN_OPERAND_ATTR_VALUE(ptr noundef nonnull %17, i32 noundef %18) #2 %20 = and i32 %19, %2 %21 = icmp eq i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %15 %23 = load i64, ptr %17, align 8, !tbaa !20 %24 = getelementptr inbounds ptr, ptr %6, i64 %23 store ptr %17, ptr %24, align 8, !tbaa !13 br label %25 25: ; preds = %15, %22 %26 = add nuw nsw i64 %16, 1 %27 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 %26, i32 1 %28 = load ptr, ptr %27, align 8, !tbaa !17 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %15, !llvm.loop !21 30: ; preds = %25, %1 %31 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %6, ptr %31, align 8, !tbaa !23 %32 = load i32, ptr @MAX_OPERANDS, align 4, !tbaa !14 %33 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %32, ptr %33, align 4, !tbaa !24 ret void } declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CGEN_OPERAND_ATTR_VALUE(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_11__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !12, i64 8, !12, i64 16} !12 = !{!"any pointer", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !12, i64 24} !16 = !{!7, !8, i64 8} !17 = !{!18, !12, i64 8} !18 = !{!"TYPE_10__", !19, i64 0, !12, i64 8} !19 = !{!"long", !9, i64 0} !20 = !{!18, !19, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !12, i64 16} !24 = !{!7, !8, i64 12}
freebsd_contrib_binutils_opcodes_extr_mep-desc.c_build_operand_table
; ModuleID = 'AnghaBench/freebsd/lib/libdpv/extr_dprompt.c_spin_char.c' source_filename = "AnghaBench/freebsd/lib/libdpv/extr_dprompt.c_spin_char.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @spin_cp = dso_local local_unnamed_addr global ptr null, align 8 @spin = dso_local local_unnamed_addr global ptr null, align 8 @SPIN_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @spin_char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable define internal signext i8 @spin_char() #0 { %1 = load ptr, ptr @spin_cp, align 8, !tbaa !5 %2 = load i8, ptr %1, align 1, !tbaa !9 %3 = icmp eq i8 %2, 0 %4 = load ptr, ptr @spin, align 8, !tbaa !5 br i1 %3, label %5, label %7 5: ; preds = %0 store ptr %4, ptr @spin_cp, align 8, !tbaa !5 %6 = load i8, ptr %4, align 1, !tbaa !9 br label %7 7: ; preds = %5, %0 %8 = phi i8 [ %6, %5 ], [ %2, %0 ] %9 = phi ptr [ %4, %5 ], [ %1, %0 ] %10 = getelementptr inbounds i8, ptr %9, i64 1 %11 = load i32, ptr @SPIN_SIZE, align 4, !tbaa !10 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %4, i64 %12 %14 = icmp ult ptr %10, %13 %15 = select i1 %14, ptr %10, ptr %4 store ptr %15, ptr @spin_cp, align 8 ret i8 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: 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 = !{!7, !7, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/lib/libdpv/extr_dprompt.c_spin_char.c' source_filename = "AnghaBench/freebsd/lib/libdpv/extr_dprompt.c_spin_char.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @spin_cp = common local_unnamed_addr global ptr null, align 8 @spin = common local_unnamed_addr global ptr null, align 8 @SPIN_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @spin_char], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable(sync) define internal signext i8 @spin_char() #0 { %1 = load ptr, ptr @spin_cp, align 8, !tbaa !6 %2 = load i8, ptr %1, align 1, !tbaa !10 %3 = icmp eq i8 %2, 0 %4 = load ptr, ptr @spin, align 8, !tbaa !6 br i1 %3, label %5, label %7 5: ; preds = %0 store ptr %4, ptr @spin_cp, align 8, !tbaa !6 %6 = load i8, ptr %4, align 1, !tbaa !10 br label %7 7: ; preds = %5, %0 %8 = phi i8 [ %6, %5 ], [ %2, %0 ] %9 = phi ptr [ %4, %5 ], [ %1, %0 ] %10 = getelementptr inbounds i8, ptr %9, i64 1 %11 = load i32, ptr @SPIN_SIZE, align 4, !tbaa !11 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %4, i64 %12 %14 = icmp ult ptr %10, %13 %15 = select i1 %14, ptr %10, ptr %4 store ptr %15, ptr @spin_cp, align 8 ret i8 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: 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 = !{!8, !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
freebsd_lib_libdpv_extr_dprompt.c_spin_char
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bwsprintf.c' source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bwsprintf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, ptr } @MB_CUR_MAX = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%s%S%s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @bwsprintf(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @MB_CUR_MAX, align 4, !tbaa !5 %6 = icmp eq i32 %5, 1 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 %8 = select i1 %6, ptr %1, ptr %7 %9 = select i1 %6, ptr @.str, ptr @.str.1 %10 = load ptr, ptr %8, align 8, !tbaa !9 %11 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull %9, ptr noundef %2, ptr noundef %10, ptr noundef %3) #2 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bwsprintf.c' source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_bwsprintf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MB_CUR_MAX = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"%s%s%s\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%s%S%s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @bwsprintf(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @MB_CUR_MAX, align 4, !tbaa !6 %6 = icmp eq i32 %5, 1 %7 = select i1 %6, i64 0, i64 8 %8 = getelementptr inbounds i8, ptr %1, i64 %7 %9 = select i1 %6, ptr @.str, ptr @.str.1 %10 = load ptr, ptr %8, align 8, !tbaa !10 %11 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull %9, ptr noundef %2, ptr noundef %10, ptr noundef %3) #2 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
freebsd_usr.bin_sort_extr_bwstring.c_bwsprintf
; ModuleID = 'AnghaBench/jerryscript/tests/unit-core/extr_test-arraybuffer.c_register_js_value.c' source_filename = "AnghaBench/jerryscript/tests/unit-core/extr_test-arraybuffer.c_register_js_value.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @register_js_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @register_js_value(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 (...) @jerry_get_global_object() #2 %4 = tail call i32 @jerry_create_string(ptr noundef %0) #2 %5 = tail call i32 @jerry_set_property(i32 noundef %3, i32 noundef %4, i32 noundef %1) #2 %6 = tail call i32 @jerry_value_is_boolean(i32 noundef %5) #2 %7 = tail call i32 @TEST_ASSERT(i32 noundef %6) #2 %8 = tail call i32 @jerry_release_value(i32 noundef %4) #2 %9 = tail call i32 @jerry_release_value(i32 noundef %3) #2 %10 = tail call i32 @jerry_release_value(i32 noundef %5) #2 ret void } declare i32 @jerry_get_global_object(...) local_unnamed_addr #1 declare i32 @jerry_create_string(ptr noundef) local_unnamed_addr #1 declare i32 @jerry_set_property(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TEST_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @jerry_value_is_boolean(i32 noundef) local_unnamed_addr #1 declare i32 @jerry_release_value(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/jerryscript/tests/unit-core/extr_test-arraybuffer.c_register_js_value.c' source_filename = "AnghaBench/jerryscript/tests/unit-core/extr_test-arraybuffer.c_register_js_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @register_js_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @register_js_value(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @jerry_get_global_object() #2 %4 = tail call i32 @jerry_create_string(ptr noundef %0) #2 %5 = tail call i32 @jerry_set_property(i32 noundef %3, i32 noundef %4, i32 noundef %1) #2 %6 = tail call i32 @jerry_value_is_boolean(i32 noundef %5) #2 %7 = tail call i32 @TEST_ASSERT(i32 noundef %6) #2 %8 = tail call i32 @jerry_release_value(i32 noundef %4) #2 %9 = tail call i32 @jerry_release_value(i32 noundef %3) #2 %10 = tail call i32 @jerry_release_value(i32 noundef %5) #2 ret void } declare i32 @jerry_get_global_object(...) local_unnamed_addr #1 declare i32 @jerry_create_string(ptr noundef) local_unnamed_addr #1 declare i32 @jerry_set_property(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TEST_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @jerry_value_is_boolean(i32 noundef) local_unnamed_addr #1 declare i32 @jerry_release_value(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)"}
jerryscript_tests_unit-core_extr_test-arraybuffer.c_register_js_value
; ModuleID = 'AnghaBench/linux/drivers/staging/speakup/extr_i18n.c_fmt_validate.c' source_filename = "AnghaBench/linux/drivers/staging/speakup/extr_i18n.c_fmt_validate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @fmt_validate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fmt_validate(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr %0, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr %1, ptr %4, align 8, !tbaa !5 %5 = tail call ptr @next_specifier(ptr noundef %0) #3 store ptr %5, ptr %3, align 8, !tbaa !5 %6 = load ptr, ptr %4, align 8, !tbaa !5 %7 = tail call ptr @next_specifier(ptr noundef %6) #3 store ptr %7, ptr %4, align 8, !tbaa !5 %8 = load ptr, ptr %3, align 8, !tbaa !5 %9 = icmp ne ptr %8, null %10 = icmp ne ptr %7, null %11 = select i1 %9, i1 %10, i1 false br i1 %11, label %27, label %21 12: ; preds = %27 %13 = load ptr, ptr %3, align 8, !tbaa !5 %14 = call ptr @next_specifier(ptr noundef %13) #3 store ptr %14, ptr %3, align 8, !tbaa !5 %15 = load ptr, ptr %4, align 8, !tbaa !5 %16 = call ptr @next_specifier(ptr noundef %15) #3 store ptr %16, ptr %4, align 8, !tbaa !5 %17 = load ptr, ptr %3, align 8, !tbaa !5 %18 = icmp ne ptr %17, null %19 = icmp ne ptr %16, null %20 = select i1 %18, i1 %19, i1 false br i1 %20, label %27, label %21, !llvm.loop !9 21: ; preds = %12, %2 %22 = phi i32 [ 1, %2 ], [ %28, %12 ] %23 = phi i1 [ %9, %2 ], [ %18, %12 ] %24 = phi i1 [ %10, %2 ], [ %19, %12 ] %25 = select i1 %23, i1 true, i1 %24 %26 = select i1 %25, i32 0, i32 %22 br label %30 27: ; preds = %2, %12 %28 = call i32 @compare_specifiers(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %12, !llvm.loop !9 30: ; preds = %27, %21 %31 = phi i32 [ %26, %21 ], [ 0, %27 ] 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 i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @next_specifier(ptr noundef) local_unnamed_addr #2 declare i32 @compare_specifiers(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/staging/speakup/extr_i18n.c_fmt_validate.c' source_filename = "AnghaBench/linux/drivers/staging/speakup/extr_i18n.c_fmt_validate.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 @fmt_validate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fmt_validate(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr %0, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr %1, ptr %4, align 8, !tbaa !6 %5 = tail call ptr @next_specifier(ptr noundef %0) #3 store ptr %5, ptr %3, align 8, !tbaa !6 %6 = load ptr, ptr %4, align 8, !tbaa !6 %7 = tail call ptr @next_specifier(ptr noundef %6) #3 store ptr %7, ptr %4, align 8, !tbaa !6 %8 = load ptr, ptr %3, align 8, !tbaa !6 %9 = icmp ne ptr %8, null %10 = icmp ne ptr %7, null %11 = select i1 %9, i1 %10, i1 false br i1 %11, label %27, label %21 12: ; preds = %27 %13 = load ptr, ptr %3, align 8, !tbaa !6 %14 = call ptr @next_specifier(ptr noundef %13) #3 store ptr %14, ptr %3, align 8, !tbaa !6 %15 = load ptr, ptr %4, align 8, !tbaa !6 %16 = call ptr @next_specifier(ptr noundef %15) #3 store ptr %16, ptr %4, align 8, !tbaa !6 %17 = load ptr, ptr %3, align 8, !tbaa !6 %18 = icmp ne ptr %17, null %19 = icmp ne ptr %16, null %20 = select i1 %18, i1 %19, i1 false br i1 %20, label %27, label %21, !llvm.loop !10 21: ; preds = %12, %2 %22 = phi i32 [ 1, %2 ], [ %28, %12 ] %23 = phi i1 [ %9, %2 ], [ %18, %12 ] %24 = phi i1 [ %10, %2 ], [ %19, %12 ] %25 = select i1 %23, i1 true, i1 %24 %26 = select i1 %25, i32 0, i32 %22 br label %30 27: ; preds = %2, %12 %28 = call i32 @compare_specifiers(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %12, !llvm.loop !10 30: ; preds = %27, %21 %31 = phi i32 [ %26, %21 ], [ 0, %27 ] 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 i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @next_specifier(ptr noundef) local_unnamed_addr #2 declare i32 @compare_specifiers(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_staging_speakup_extr_i18n.c_fmt_validate
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_1209.c_main.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_1209.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sockaddr_in = type { i32, %struct.in_addr, i32, i32 } %struct.in_addr = type { i32 } @.str = private unnamed_addr constant [61 x i8] c"[+] GNU Mailutils 0.6 imap4d 'search' format string exploit.\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"[+] By clem1.\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"h:p:u:s:\00", align 1 @EOF = dso_local local_unnamed_addr global i8 0, align 1 @optarg = dso_local local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [20 x i8] c"[-] gethostbyname()\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"[+] connecting to: %s:%d\0A\00", align 1 @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"[-] socket()\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"[-] connect()\00", align 1 @b = dso_local local_unnamed_addr global ptr null, align 8 @i = dso_local local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [10 x i8] c"IMAP4rev1\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"[-] failled.\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.sockaddr_in, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8 %4 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str) %5 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1) %6 = icmp eq i32 %0, 9 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load ptr, ptr %1, align 8, !tbaa !5 %9 = tail call i32 @usage(ptr noundef %8) #8 br label %10 10: ; preds = %7, %2 %11 = tail call signext i8 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.2) #8 %12 = load i8, ptr @EOF, align 1, !tbaa !9 %13 = icmp ne i8 %11, %12 tail call void @llvm.assume(i1 %13) br label %14 14: ; preds = %10, %32 %15 = phi i8 [ %37, %32 ], [ %11, %10 ] %16 = phi ptr [ %36, %32 ], [ undef, %10 ] %17 = phi i32 [ %35, %32 ], [ undef, %10 ] %18 = phi ptr [ %34, %32 ], [ undef, %10 ] %19 = phi ptr [ %33, %32 ], [ undef, %10 ] switch i8 %15, label %29 [ i8 104, label %20 i8 112, label %22 i8 117, label %25 i8 115, label %27 ] 20: ; preds = %14 %21 = load ptr, ptr @optarg, align 8, !tbaa !5 br label %32 22: ; preds = %14 %23 = load ptr, ptr @optarg, align 8, !tbaa !5 %24 = tail call i32 @atoi(ptr nocapture noundef %23) br label %32 25: ; preds = %14 %26 = load ptr, ptr @optarg, align 8, !tbaa !5 br label %32 27: ; preds = %14 %28 = load ptr, ptr @optarg, align 8, !tbaa !5 br label %32 29: ; preds = %14 %30 = load ptr, ptr %1, align 8, !tbaa !5 %31 = tail call i32 @usage(ptr noundef %30) #8 br label %32 32: ; preds = %29, %27, %25, %22, %20 %33 = phi ptr [ %19, %29 ], [ %28, %27 ], [ %19, %25 ], [ %19, %22 ], [ %19, %20 ] %34 = phi ptr [ %18, %29 ], [ %18, %27 ], [ %26, %25 ], [ %18, %22 ], [ %18, %20 ] %35 = phi i32 [ %17, %29 ], [ %17, %27 ], [ %17, %25 ], [ %24, %22 ], [ %17, %20 ] %36 = phi ptr [ %16, %29 ], [ %16, %27 ], [ %16, %25 ], [ %16, %22 ], [ %21, %20 ] %37 = tail call signext i8 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.2) #8 %38 = load i8, ptr @EOF, align 1, !tbaa !9 %39 = icmp eq i8 %37, %38 br i1 %39, label %40, label %14, !llvm.loop !10 40: ; preds = %32 %41 = tail call ptr @gethostbyname(ptr noundef %36) #8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %46 43: ; preds = %40 %44 = tail call i32 @herror(ptr noundef nonnull @.str.3) #8 %45 = tail call i32 @exit(i32 noundef 1) #9 unreachable 46: ; preds = %40 %47 = load i64, ptr %41, align 8, !tbaa !12 %48 = inttoptr i64 %47 to ptr %49 = load i32, ptr %48, align 4 %50 = tail call ptr @inet_ntoa(i32 %49) #8 %51 = tail call i32 @printf(ptr noundef nonnull @.str.4, ptr noundef %50, i32 noundef %35) #8 %52 = load i32, ptr @AF_INET, align 4, !tbaa !15 %53 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !15 %54 = tail call i32 @socket(i32 noundef %52, i32 noundef %53, i32 noundef 0) #8 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %59 56: ; preds = %46 %57 = tail call i32 @perror(ptr noundef nonnull @.str.5) #8 %58 = tail call i32 @exit(i32 noundef 1) #9 unreachable 59: ; preds = %46 %60 = load i32, ptr @AF_INET, align 4, !tbaa !15 %61 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 3 store i32 %60, ptr %61, align 4, !tbaa !17 %62 = tail call i32 @htons(i32 noundef %35) #8 %63 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 2 store i32 %62, ptr %63, align 4, !tbaa !20 %64 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i64 0, i32 1 %65 = load i64, ptr %41, align 8, !tbaa !12 %66 = inttoptr i64 %65 to ptr %67 = load i32, ptr %66, align 4, !tbaa !15 store i32 %67, ptr %64, align 4, !tbaa !15 %68 = call i32 @bzero(ptr noundef nonnull %3, i32 noundef 8) #8 %69 = call i32 @connect(i32 noundef %54, ptr noundef nonnull %3, i32 noundef 16) #8 %70 = icmp eq i32 %69, -1 br i1 %70, label %71, label %74 71: ; preds = %59 %72 = call i32 @perror(ptr noundef nonnull @.str.6) #8 %73 = call i32 @exit(i32 noundef 1) #9 unreachable 74: ; preds = %59 %75 = load ptr, ptr @b, align 8, !tbaa !5 %76 = call i64 @recv(i32 noundef %54, ptr noundef %75, i32 noundef 1023, i32 noundef 0) #8 store i64 %76, ptr @i, align 8, !tbaa !21 %77 = load ptr, ptr @b, align 8, !tbaa !5 %78 = getelementptr inbounds i64, ptr %77, i64 %76 store i64 0, ptr %78, align 8, !tbaa !21 %79 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %77, ptr noundef nonnull dereferenceable(1) @.str.7) %80 = icmp eq ptr %79, null br i1 %80, label %81, label %84 81: ; preds = %74 %82 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.8) %83 = call i32 @exit(i32 noundef 1) #9 unreachable 84: ; preds = %74 %85 = call i32 @auth(i32 noundef %54, ptr noundef %34, ptr noundef %33) #8 %86 = call i32 @fmtbuild(i32 noundef %54) #8 %87 = call i32 @sendsc(i32 noundef %54) #8 %88 = call i32 @owned(i32 noundef %54, ptr noundef %36) #8 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @usage(ptr noundef) local_unnamed_addr #3 declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #4 declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #3 declare i32 @herror(ptr noundef) local_unnamed_addr #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #5 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare ptr @inet_ntoa(i32) local_unnamed_addr #3 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @perror(ptr noundef) local_unnamed_addr #3 declare i32 @htons(i32 noundef) local_unnamed_addr #3 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #6 declare i32 @auth(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fmtbuild(i32 noundef) local_unnamed_addr #3 declare i32 @sendsc(i32 noundef) local_unnamed_addr #3 declare i32 @owned(i32 noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) declare void @llvm.assume(i1 noundef) #7 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { 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 #6 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #7 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } attributes #8 = { nounwind } attributes #9 = { 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !14, i64 0} !13 = !{!"hostent", !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !7, i64 0} !17 = !{!18, !16, i64 12} !18 = !{!"sockaddr_in", !16, i64 0, !19, i64 4, !16, i64 8, !16, i64 12} !19 = !{!"in_addr", !16, i64 0} !20 = !{!18, !16, i64 8} !21 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_1209.c_main.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_1209.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sockaddr_in = type { i32, %struct.in_addr, i32, i32 } %struct.in_addr = type { i32 } @.str = private unnamed_addr constant [61 x i8] c"[+] GNU Mailutils 0.6 imap4d 'search' format string exploit.\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"[+] By clem1.\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"h:p:u:s:\00", align 1 @EOF = common local_unnamed_addr global i8 0, align 1 @optarg = common local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [20 x i8] c"[-] gethostbyname()\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"[+] connecting to: %s:%d\0A\00", align 1 @AF_INET = common local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"[-] socket()\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"[-] connect()\00", align 1 @b = common local_unnamed_addr global ptr null, align 8 @i = common local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [10 x i8] c"IMAP4rev1\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"[-] failled.\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.sockaddr_in, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8 %4 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str) %5 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1) %6 = icmp eq i32 %0, 9 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load ptr, ptr %1, align 8, !tbaa !6 %9 = tail call i32 @usage(ptr noundef %8) #8 br label %10 10: ; preds = %7, %2 %11 = tail call signext i8 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.2) #8 %12 = load i8, ptr @EOF, align 1, !tbaa !10 %13 = icmp ne i8 %11, %12 tail call void @llvm.assume(i1 %13) br label %14 14: ; preds = %10, %32 %15 = phi i8 [ %37, %32 ], [ %11, %10 ] %16 = phi ptr [ %36, %32 ], [ undef, %10 ] %17 = phi i32 [ %35, %32 ], [ undef, %10 ] %18 = phi ptr [ %34, %32 ], [ undef, %10 ] %19 = phi ptr [ %33, %32 ], [ undef, %10 ] switch i8 %15, label %29 [ i8 104, label %20 i8 112, label %22 i8 117, label %25 i8 115, label %27 ] 20: ; preds = %14 %21 = load ptr, ptr @optarg, align 8, !tbaa !6 br label %32 22: ; preds = %14 %23 = load ptr, ptr @optarg, align 8, !tbaa !6 %24 = tail call i32 @atoi(ptr nocapture noundef %23) br label %32 25: ; preds = %14 %26 = load ptr, ptr @optarg, align 8, !tbaa !6 br label %32 27: ; preds = %14 %28 = load ptr, ptr @optarg, align 8, !tbaa !6 br label %32 29: ; preds = %14 %30 = load ptr, ptr %1, align 8, !tbaa !6 %31 = tail call i32 @usage(ptr noundef %30) #8 br label %32 32: ; preds = %29, %27, %25, %22, %20 %33 = phi ptr [ %19, %29 ], [ %28, %27 ], [ %19, %25 ], [ %19, %22 ], [ %19, %20 ] %34 = phi ptr [ %18, %29 ], [ %18, %27 ], [ %26, %25 ], [ %18, %22 ], [ %18, %20 ] %35 = phi i32 [ %17, %29 ], [ %17, %27 ], [ %17, %25 ], [ %24, %22 ], [ %17, %20 ] %36 = phi ptr [ %16, %29 ], [ %16, %27 ], [ %16, %25 ], [ %16, %22 ], [ %21, %20 ] %37 = tail call signext i8 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.2) #8 %38 = load i8, ptr @EOF, align 1, !tbaa !10 %39 = icmp eq i8 %37, %38 br i1 %39, label %40, label %14, !llvm.loop !11 40: ; preds = %32 %41 = tail call ptr @gethostbyname(ptr noundef %36) #8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %46 43: ; preds = %40 %44 = tail call i32 @herror(ptr noundef nonnull @.str.3) #8 %45 = tail call i32 @exit(i32 noundef 1) #9 unreachable 46: ; preds = %40 %47 = load i64, ptr %41, align 8, !tbaa !13 %48 = inttoptr i64 %47 to ptr %49 = load i32, ptr %48, align 4 %50 = zext i32 %49 to i64 %51 = tail call ptr @inet_ntoa(i64 %50) #8 %52 = tail call i32 @printf(ptr noundef nonnull @.str.4, ptr noundef %51, i32 noundef %35) #8 %53 = load i32, ptr @AF_INET, align 4, !tbaa !16 %54 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !16 %55 = tail call i32 @socket(i32 noundef %53, i32 noundef %54, i32 noundef 0) #8 %56 = icmp eq i32 %55, -1 br i1 %56, label %57, label %60 57: ; preds = %46 %58 = tail call i32 @perror(ptr noundef nonnull @.str.5) #8 %59 = tail call i32 @exit(i32 noundef 1) #9 unreachable 60: ; preds = %46 %61 = load i32, ptr @AF_INET, align 4, !tbaa !16 %62 = getelementptr inbounds i8, ptr %3, i64 12 store i32 %61, ptr %62, align 4, !tbaa !18 %63 = tail call i32 @htons(i32 noundef %35) #8 %64 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %63, ptr %64, align 4, !tbaa !21 %65 = getelementptr inbounds i8, ptr %3, i64 4 %66 = load i64, ptr %41, align 8, !tbaa !13 %67 = inttoptr i64 %66 to ptr %68 = load i32, ptr %67, align 4, !tbaa !16 store i32 %68, ptr %65, align 4, !tbaa !16 %69 = call i32 @bzero(ptr noundef nonnull %3, i32 noundef 8) #8 %70 = call i32 @connect(i32 noundef %55, ptr noundef nonnull %3, i32 noundef 16) #8 %71 = icmp eq i32 %70, -1 br i1 %71, label %72, label %75 72: ; preds = %60 %73 = call i32 @perror(ptr noundef nonnull @.str.6) #8 %74 = call i32 @exit(i32 noundef 1) #9 unreachable 75: ; preds = %60 %76 = load ptr, ptr @b, align 8, !tbaa !6 %77 = call i64 @recv(i32 noundef %55, ptr noundef %76, i32 noundef 1023, i32 noundef 0) #8 store i64 %77, ptr @i, align 8, !tbaa !22 %78 = load ptr, ptr @b, align 8, !tbaa !6 %79 = getelementptr inbounds i64, ptr %78, i64 %77 store i64 0, ptr %79, align 8, !tbaa !22 %80 = call ptr @strstr(ptr noundef nonnull dereferenceable(1) %78, ptr noundef nonnull dereferenceable(1) @.str.7) %81 = icmp eq ptr %80, null br i1 %81, label %82, label %85 82: ; preds = %75 %83 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.8) %84 = call i32 @exit(i32 noundef 1) #9 unreachable 85: ; preds = %75 %86 = call i32 @auth(i32 noundef %55, ptr noundef %34, ptr noundef %33) #8 %87 = call i32 @fmtbuild(i32 noundef %55) #8 %88 = call i32 @sendsc(i32 noundef %55) #8 %89 = call i32 @owned(i32 noundef %55, ptr noundef %36) #8 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2 declare i32 @usage(ptr noundef) local_unnamed_addr #3 declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #4 declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #3 declare i32 @herror(ptr noundef) local_unnamed_addr #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #5 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare ptr @inet_ntoa(i64) local_unnamed_addr #3 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @perror(ptr noundef) local_unnamed_addr #3 declare i32 @htons(i32 noundef) local_unnamed_addr #3 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare ptr @strstr(ptr noundef, ptr nocapture noundef) local_unnamed_addr #6 declare i32 @auth(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fmtbuild(i32 noundef) local_unnamed_addr #3 declare i32 @sendsc(i32 noundef) local_unnamed_addr #3 declare i32 @owned(i32 noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) declare void @llvm.assume(i1 noundef) #7 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #5 = { 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 #6 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #7 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } attributes #8 = { nounwind } attributes #9 = { 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !15, i64 0} !14 = !{!"hostent", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !8, i64 0} !18 = !{!19, !17, i64 12} !19 = !{!"sockaddr_in", !17, i64 0, !20, i64 4, !17, i64 8, !17, i64 12} !20 = !{!"in_addr", !17, i64 0} !21 = !{!19, !17, i64 8} !22 = !{!15, !15, i64 0}
exploitdb_exploits_linux_remote_extr_1209.c_main
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_annotate.h_annotated_source__histogram.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_annotate.h_annotated_source__histogram.c" target datalayout = "e-m:e-p270:32:32-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.annotated_source = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @annotated_source__histogram], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal ptr @annotated_source__histogram(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.annotated_source, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %0, align 8, !tbaa !11 %7 = mul nsw i32 %6, %1 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %5, i64 %8 ret ptr %9 } 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, !10, i64 8} !6 = !{!"annotated_source", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_annotate.h_annotated_source__histogram.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_annotate.h_annotated_source__histogram.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 @annotated_source__histogram], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal ptr @annotated_source__histogram(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = mul nsw i32 %6, %1 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %5, i64 %8 ret ptr %9 } 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, !11, i64 8} !7 = !{!"annotated_source", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0}
linux_tools_perf_util_extr_annotate.h_annotated_source__histogram
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vfsops.c_zfs_umount.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vfsops.c_zfs_umount.c" target datalayout = "e-m:e-p270:32:32-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_23__ = type { i32, i32, ptr } %struct.TYPE_22__ = type { ptr, ptr, i32, i32, i32, ptr } @curthread = dso_local local_unnamed_addr global ptr null, align 8 @ZFS_DELEG_PERM_MOUNT = dso_local local_unnamed_addr global i32 0, align 4 @MS_FORCE = dso_local local_unnamed_addr global i32 0, align 4 @RW_WRITER = dso_local local_unnamed_addr global i32 0, align 4 @FTAG = dso_local local_unnamed_addr global i32 0, align 4 @B_TRUE = dso_local local_unnamed_addr global i32 0, align 4 @FORCECLOSE = dso_local local_unnamed_addr global i32 0, align 4 @zfsvfs_taskq = dso_local local_unnamed_addr global ptr null, align 8 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @zfs_umount], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zfs_umount(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr @curthread, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !9 %6 = load ptr, ptr %3, align 8, !tbaa !12 %7 = tail call i32 @secpolicy_fs_unmount(ptr noundef %6, ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %17, label %9 9: ; preds = %2 %10 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = tail call i64 @refstr_value(i32 noundef %11) #2 %13 = inttoptr i64 %12 to ptr %14 = load i32, ptr @ZFS_DELEG_PERM_MOUNT, align 4, !tbaa !15 %15 = tail call i64 @dsl_deleg_access(ptr noundef %13, i32 noundef %14, ptr noundef %6) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %85 17: ; preds = %9, %2 %18 = getelementptr inbounds %struct.TYPE_22__, ptr %5, i64 0, i32 5 %19 = load ptr, ptr %18, align 8, !tbaa !16 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = tail call i32 @dnlc_purge_vfsp(i32 noundef %20, i32 noundef 0) #2 %22 = load ptr, ptr %5, align 8, !tbaa !20 %23 = icmp eq ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %17 %25 = tail call i32 @zfsctl_umount_snapshots(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %6) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %85 27: ; preds = %24, %17 %28 = load i32, ptr @MS_FORCE, align 4, !tbaa !15 %29 = and i32 %28, %1 %30 = icmp eq i32 %29, 0 br i1 %30, label %45, label %31 31: ; preds = %27 %32 = getelementptr inbounds %struct.TYPE_22__, ptr %5, i64 0, i32 3 %33 = load i32, ptr @RW_WRITER, align 4, !tbaa !15 %34 = load i32, ptr @FTAG, align 4, !tbaa !15 %35 = tail call i32 @rrm_enter(ptr noundef nonnull %32, i32 noundef %33, i32 noundef %34) #2 %36 = load i32, ptr @B_TRUE, align 4, !tbaa !15 %37 = getelementptr inbounds %struct.TYPE_22__, ptr %5, i64 0, i32 4 store i32 %36, ptr %37, align 8, !tbaa !21 %38 = load i32, ptr @FTAG, align 4, !tbaa !15 %39 = tail call i32 @rrm_exit(ptr noundef nonnull %32, i32 noundef %38) #2 %40 = load i32, ptr @MS_FORCE, align 4, !tbaa !15 %41 = freeze i32 %40 %42 = and i32 %41, %1 %43 = icmp eq i32 %42, 0 %44 = load i32, ptr @FORCECLOSE, align 4 br i1 %43, label %45, label %46 45: ; preds = %27, %31 br label %46 46: ; preds = %31, %45 %47 = phi i32 [ 0, %45 ], [ %44, %31 ] %48 = tail call i32 @vflush(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %47, ptr noundef nonnull %3) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %85 50: ; preds = %46 %51 = getelementptr inbounds %struct.TYPE_22__, ptr %5, i64 0, i32 2 %52 = load ptr, ptr @zfsvfs_taskq, align 8, !tbaa !5 %53 = load i32, ptr %52, align 4, !tbaa !22 %54 = tail call i64 @taskqueue_cancel(i32 noundef %53, ptr noundef nonnull %51, ptr noundef null) #2 %55 = icmp eq i64 %54, 0 br i1 %55, label %64, label %56 56: ; preds = %50, %56 %57 = load ptr, ptr @zfsvfs_taskq, align 8, !tbaa !5 %58 = load i32, ptr %57, align 4, !tbaa !22 %59 = tail call i32 @taskqueue_drain(i32 noundef %58, ptr noundef nonnull %51) #2 %60 = load ptr, ptr @zfsvfs_taskq, align 8, !tbaa !5 %61 = load i32, ptr %60, align 4, !tbaa !22 %62 = tail call i64 @taskqueue_cancel(i32 noundef %61, ptr noundef nonnull %51, ptr noundef null) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %56, !llvm.loop !24 64: ; preds = %56, %50 %65 = load i32, ptr @B_TRUE, align 4, !tbaa !15 %66 = tail call i64 @zfsvfs_teardown(ptr noundef nonnull %5, i32 noundef %65) #2 %67 = icmp eq i64 %66, 0 %68 = zext i1 %67 to i32 %69 = tail call i32 @VERIFY(i32 noundef %68) #2 %70 = getelementptr inbounds %struct.TYPE_22__, ptr %5, i64 0, i32 1 %71 = load ptr, ptr %70, align 8, !tbaa !26 %72 = icmp eq ptr %71, null br i1 %72, label %78, label %73 73: ; preds = %64 %74 = tail call i32 @mutex_enter(ptr noundef nonnull %71) #2 %75 = tail call i32 @dmu_objset_set_user(ptr noundef nonnull %71, ptr noundef null) #2 %76 = tail call i32 @mutex_exit(ptr noundef nonnull %71) #2 %77 = tail call i32 @dmu_objset_disown(ptr noundef nonnull %71, ptr noundef nonnull %5) #2 br label %78 78: ; preds = %73, %64 %79 = load ptr, ptr %5, align 8, !tbaa !20 %80 = icmp eq ptr %79, null br i1 %80, label %83, label %81 81: ; preds = %78 %82 = tail call i32 @zfsctl_destroy(ptr noundef nonnull %5) #2 br label %83 83: ; preds = %81, %78 %84 = tail call i32 @zfs_freevfs(ptr noundef %0) #2 br label %85 85: ; preds = %46, %24, %9, %83 %86 = phi i32 [ 0, %83 ], [ %7, %9 ], [ %25, %24 ], [ %48, %46 ] ret i32 %86 } declare i32 @secpolicy_fs_unmount(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @dsl_deleg_access(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @refstr_value(i32 noundef) local_unnamed_addr #1 declare i32 @dnlc_purge_vfsp(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfsctl_umount_snapshots(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rrm_enter(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rrm_exit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vflush(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @taskqueue_cancel(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @taskqueue_drain(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1 declare i64 @zfsvfs_teardown(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1 declare i32 @dmu_objset_set_user(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #1 declare i32 @dmu_objset_disown(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zfsctl_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @zfs_freevfs(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, !6, i64 8} !10 = !{!"TYPE_23__", !11, i64 0, !11, i64 4, !6, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_25__", !6, i64 0} !14 = !{!10, !11, i64 4} !15 = !{!11, !11, i64 0} !16 = !{!17, !6, i64 32} !17 = !{!"TYPE_22__", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_20__", !11, i64 0} !20 = !{!17, !6, i64 0} !21 = !{!17, !11, i64 24} !22 = !{!23, !11, i64 0} !23 = !{!"TYPE_26__", !11, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!17, !6, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vfsops.c_zfs_umount.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_zfs_vfsops.c_zfs_umount.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @curthread = common local_unnamed_addr global ptr null, align 8 @ZFS_DELEG_PERM_MOUNT = common local_unnamed_addr global i32 0, align 4 @MS_FORCE = common local_unnamed_addr global i32 0, align 4 @RW_WRITER = common local_unnamed_addr global i32 0, align 4 @FTAG = common local_unnamed_addr global i32 0, align 4 @B_TRUE = common local_unnamed_addr global i32 0, align 4 @FORCECLOSE = common local_unnamed_addr global i32 0, align 4 @zfsvfs_taskq = common local_unnamed_addr global ptr null, align 8 @EBUSY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @zfs_umount], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @zfs_umount(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr @curthread, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load ptr, ptr %3, align 8, !tbaa !13 %7 = tail call i32 @secpolicy_fs_unmount(ptr noundef %6, ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %17, label %9 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = tail call i64 @refstr_value(i32 noundef %11) #2 %13 = inttoptr i64 %12 to ptr %14 = load i32, ptr @ZFS_DELEG_PERM_MOUNT, align 4, !tbaa !16 %15 = tail call i64 @dsl_deleg_access(ptr noundef %13, i32 noundef %14, ptr noundef %6) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %85 17: ; preds = %9, %2 %18 = getelementptr inbounds i8, ptr %5, i64 32 %19 = load ptr, ptr %18, align 8, !tbaa !17 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = tail call i32 @dnlc_purge_vfsp(i32 noundef %20, i32 noundef 0) #2 %22 = load ptr, ptr %5, align 8, !tbaa !21 %23 = icmp eq ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %17 %25 = tail call i32 @zfsctl_umount_snapshots(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %6) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %85 27: ; preds = %24, %17 %28 = load i32, ptr @MS_FORCE, align 4, !tbaa !16 %29 = and i32 %28, %1 %30 = icmp eq i32 %29, 0 br i1 %30, label %45, label %31 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %5, i64 20 %33 = load i32, ptr @RW_WRITER, align 4, !tbaa !16 %34 = load i32, ptr @FTAG, align 4, !tbaa !16 %35 = tail call i32 @rrm_enter(ptr noundef nonnull %32, i32 noundef %33, i32 noundef %34) #2 %36 = load i32, ptr @B_TRUE, align 4, !tbaa !16 %37 = getelementptr inbounds i8, ptr %5, i64 24 store i32 %36, ptr %37, align 8, !tbaa !22 %38 = load i32, ptr @FTAG, align 4, !tbaa !16 %39 = tail call i32 @rrm_exit(ptr noundef nonnull %32, i32 noundef %38) #2 %40 = load i32, ptr @MS_FORCE, align 4, !tbaa !16 %41 = freeze i32 %40 %42 = and i32 %41, %1 %43 = icmp eq i32 %42, 0 %44 = load i32, ptr @FORCECLOSE, align 4 br i1 %43, label %45, label %46 45: ; preds = %27, %31 br label %46 46: ; preds = %31, %45 %47 = phi i32 [ 0, %45 ], [ %44, %31 ] %48 = tail call i32 @vflush(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %47, ptr noundef nonnull %3) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %85 50: ; preds = %46 %51 = getelementptr inbounds i8, ptr %5, i64 16 %52 = load ptr, ptr @zfsvfs_taskq, align 8, !tbaa !6 %53 = load i32, ptr %52, align 4, !tbaa !23 %54 = tail call i64 @taskqueue_cancel(i32 noundef %53, ptr noundef nonnull %51, ptr noundef null) #2 %55 = icmp eq i64 %54, 0 br i1 %55, label %64, label %56 56: ; preds = %50, %56 %57 = load ptr, ptr @zfsvfs_taskq, align 8, !tbaa !6 %58 = load i32, ptr %57, align 4, !tbaa !23 %59 = tail call i32 @taskqueue_drain(i32 noundef %58, ptr noundef nonnull %51) #2 %60 = load ptr, ptr @zfsvfs_taskq, align 8, !tbaa !6 %61 = load i32, ptr %60, align 4, !tbaa !23 %62 = tail call i64 @taskqueue_cancel(i32 noundef %61, ptr noundef nonnull %51, ptr noundef null) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %56, !llvm.loop !25 64: ; preds = %56, %50 %65 = load i32, ptr @B_TRUE, align 4, !tbaa !16 %66 = tail call i64 @zfsvfs_teardown(ptr noundef nonnull %5, i32 noundef %65) #2 %67 = icmp eq i64 %66, 0 %68 = zext i1 %67 to i32 %69 = tail call i32 @VERIFY(i32 noundef %68) #2 %70 = getelementptr inbounds i8, ptr %5, i64 8 %71 = load ptr, ptr %70, align 8, !tbaa !27 %72 = icmp eq ptr %71, null br i1 %72, label %78, label %73 73: ; preds = %64 %74 = tail call i32 @mutex_enter(ptr noundef nonnull %71) #2 %75 = tail call i32 @dmu_objset_set_user(ptr noundef nonnull %71, ptr noundef null) #2 %76 = tail call i32 @mutex_exit(ptr noundef nonnull %71) #2 %77 = tail call i32 @dmu_objset_disown(ptr noundef nonnull %71, ptr noundef nonnull %5) #2 br label %78 78: ; preds = %73, %64 %79 = load ptr, ptr %5, align 8, !tbaa !21 %80 = icmp eq ptr %79, null br i1 %80, label %83, label %81 81: ; preds = %78 %82 = tail call i32 @zfsctl_destroy(ptr noundef nonnull %5) #2 br label %83 83: ; preds = %81, %78 %84 = tail call i32 @zfs_freevfs(ptr noundef %0) #2 br label %85 85: ; preds = %46, %24, %9, %83 %86 = phi i32 [ 0, %83 ], [ %7, %9 ], [ %25, %24 ], [ %48, %46 ] ret i32 %86 } declare i32 @secpolicy_fs_unmount(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @dsl_deleg_access(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @refstr_value(i32 noundef) local_unnamed_addr #1 declare i32 @dnlc_purge_vfsp(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfsctl_umount_snapshots(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rrm_enter(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rrm_exit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vflush(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @taskqueue_cancel(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @taskqueue_drain(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1 declare i64 @zfsvfs_teardown(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1 declare i32 @dmu_objset_set_user(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #1 declare i32 @dmu_objset_disown(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zfsctl_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @zfs_freevfs(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, !7, i64 8} !11 = !{!"TYPE_23__", !12, i64 0, !12, i64 4, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_25__", !7, i64 0} !15 = !{!11, !12, i64 4} !16 = !{!12, !12, i64 0} !17 = !{!18, !7, i64 32} !18 = !{!"TYPE_22__", !7, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !7, i64 32} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_20__", !12, i64 0} !21 = !{!18, !7, i64 0} !22 = !{!18, !12, i64 24} !23 = !{!24, !12, i64 0} !24 = !{!"TYPE_26__", !12, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!18, !7, i64 8}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_zfs_vfsops.c_zfs_umount
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_82599.c_ixgbe_read_eeprom_82599.c' source_filename = "AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_82599.c_ixgbe_read_eeprom_82599.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IXGBE_ERR_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"ixgbe_read_eeprom_82599\00", align 1 @ixgbe_eeprom_spi = dso_local local_unnamed_addr global i64 0, align 8 @IXGBE_EERD_MAX_ADDR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbe_read_eeprom_82599], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ixgbe_read_eeprom_82599(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = load i64, ptr @ixgbe_eeprom_spi, align 8, !tbaa !10 %7 = icmp ne i64 %5, %6 %8 = load i64, ptr @IXGBE_EERD_MAX_ADDR, align 8 %9 = icmp slt i64 %8, %1 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %13, label %11 11: ; preds = %3 %12 = tail call i32 @ixgbe_read_eerd_generic(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %15 13: ; preds = %3 %14 = tail call i32 @ixgbe_read_eeprom_bit_bang_generic(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %15 15: ; preds = %13, %11 %16 = phi i32 [ %12, %11 ], [ %14, %13 ] ret i32 %16 } declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_read_eerd_generic(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_read_eeprom_bit_bang_generic(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ixgbe_eeprom_info", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_82599.c_ixgbe_read_eeprom_82599.c' source_filename = "AnghaBench/freebsd/sys/dev/ixgbe/extr_ixgbe_82599.c_ixgbe_read_eeprom_82599.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IXGBE_ERR_CONFIG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"ixgbe_read_eeprom_82599\00", align 1 @ixgbe_eeprom_spi = common local_unnamed_addr global i64 0, align 8 @IXGBE_EERD_MAX_ADDR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ixgbe_read_eeprom_82599], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ixgbe_read_eeprom_82599(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = load i64, ptr @ixgbe_eeprom_spi, align 8, !tbaa !11 %7 = icmp ne i64 %5, %6 %8 = load i64, ptr @IXGBE_EERD_MAX_ADDR, align 8 %9 = icmp slt i64 %8, %1 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %13, label %11 11: ; preds = %3 %12 = tail call i32 @ixgbe_read_eerd_generic(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %15 13: ; preds = %3 %14 = tail call i32 @ixgbe_read_eeprom_bit_bang_generic(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %15 15: ; preds = %13, %11 %16 = phi i32 [ %12, %11 ], [ %14, %13 ] ret i32 %16 } declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_read_eerd_generic(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_read_eeprom_bit_bang_generic(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ixgbe_eeprom_info", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_dev_ixgbe_extr_ixgbe_82599.c_ixgbe_read_eeprom_82599
; ModuleID = 'AnghaBench/mpv/player/extr_command.c_skip_n_lines.c' source_filename = "AnghaBench/mpv/player/extr_command.c_skip_n_lines.c" target datalayout = "e-m:e-p270:32:32-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 @skip_n_lines], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @skip_n_lines(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp ne ptr %0, null %4 = icmp sgt i32 %1, 0 %5 = and i1 %3, %4 br i1 %5, label %6, label %16 6: ; preds = %2, %6 %7 = phi ptr [ %12, %6 ], [ %0, %2 ] %8 = phi i32 [ %13, %6 ], [ %1, %2 ] %9 = tail call ptr @strchr(ptr noundef nonnull %7, i8 noundef signext 10) #2 %10 = icmp ne ptr %9, null %11 = getelementptr inbounds i8, ptr %9, i64 1 %12 = select i1 %10, ptr %11, ptr null %13 = add nsw i32 %8, -1 %14 = icmp ugt i32 %8, 1 %15 = select i1 %10, i1 %14, i1 false br i1 %15, label %6, label %16, !llvm.loop !5 16: ; preds = %6, %2 %17 = phi ptr [ %0, %2 ], [ %12, %6 ] ret ptr %17 } declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/mpv/player/extr_command.c_skip_n_lines.c' source_filename = "AnghaBench/mpv/player/extr_command.c_skip_n_lines.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 @skip_n_lines], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @skip_n_lines(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp ne ptr %0, null %4 = icmp sgt i32 %1, 0 %5 = and i1 %3, %4 br i1 %5, label %6, label %16 6: ; preds = %2, %6 %7 = phi ptr [ %12, %6 ], [ %0, %2 ] %8 = phi i32 [ %13, %6 ], [ %1, %2 ] %9 = tail call ptr @strchr(ptr noundef nonnull %7, i8 noundef signext 10) #2 %10 = icmp ne ptr %9, null %11 = getelementptr inbounds i8, ptr %9, i64 1 %12 = select i1 %10, ptr %11, ptr null %13 = add nsw i32 %8, -1 %14 = icmp ugt i32 %8, 1 %15 = select i1 %10, i1 %14, i1 false br i1 %15, label %6, label %16, !llvm.loop !6 16: ; preds = %6, %2 %17 = phi ptr [ %0, %2 ], [ %12, %6 ] ret ptr %17 } declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
mpv_player_extr_command.c_skip_n_lines
; ModuleID = 'AnghaBench/jerryscript/jerry-core/ecma/builtin-objects/extr_ecma-builtin-function-prototype.c_ecma_builtin_function_prototype_object_to_string.c' source_filename = "AnghaBench/jerryscript/jerry-core/ecma/builtin-objects/extr_ecma-builtin-function-prototype.c_ecma_builtin_function_prototype_object_to_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" @LIT_MAGIC_STRING__FUNCTION_TO_STRING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ecma_builtin_function_prototype_object_to_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ecma_builtin_function_prototype_object_to_string() #0 { %1 = load i32, ptr @LIT_MAGIC_STRING__FUNCTION_TO_STRING, align 4, !tbaa !5 %2 = tail call i32 @ecma_make_magic_string_value(i32 noundef %1) #2 ret i32 %2 } declare i32 @ecma_make_magic_string_value(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/jerryscript/jerry-core/ecma/builtin-objects/extr_ecma-builtin-function-prototype.c_ecma_builtin_function_prototype_object_to_string.c' source_filename = "AnghaBench/jerryscript/jerry-core/ecma/builtin-objects/extr_ecma-builtin-function-prototype.c_ecma_builtin_function_prototype_object_to_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LIT_MAGIC_STRING__FUNCTION_TO_STRING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ecma_builtin_function_prototype_object_to_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ecma_builtin_function_prototype_object_to_string() #0 { %1 = load i32, ptr @LIT_MAGIC_STRING__FUNCTION_TO_STRING, align 4, !tbaa !6 %2 = tail call i32 @ecma_make_magic_string_value(i32 noundef %1) #2 ret i32 %2 } declare i32 @ecma_make_magic_string_value(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"}
jerryscript_jerry-core_ecma_builtin-objects_extr_ecma-builtin-function-prototype.c_ecma_builtin_function_prototype_object_to_string
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_srq.c_qib_query_srq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_srq.c_qib_query_srq.c" target datalayout = "e-m:e-p270:32:32-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.qib_srq = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i64 } %struct.ib_srq_attr = type { i32, i32, i64 } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @qib_query_srq(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = tail call ptr @to_isrq(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.qib_srq, ptr %3, i64 0, i32 1 %5 = getelementptr inbounds %struct.qib_srq, ptr %3, i64 0, i32 1, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = add nsw i64 %6, -1 %8 = getelementptr inbounds %struct.ib_srq_attr, ptr %1, i64 0, i32 2 store i64 %7, ptr %8, align 8, !tbaa !12 %9 = load i32, ptr %4, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.ib_srq_attr, ptr %1, i64 0, i32 1 store i32 %9, ptr %10, align 4, !tbaa !15 %11 = load i32, ptr %3, align 8, !tbaa !16 store i32 %11, ptr %1, align 8, !tbaa !17 ret i32 0 } declare ptr @to_isrq(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 = !{!"qib_srq", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0, !11, i64 8} !11 = !{!"long", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"ib_srq_attr", !7, i64 0, !7, i64 4, !11, i64 8} !14 = !{!6, !7, i64 8} !15 = !{!13, !7, i64 4} !16 = !{!6, !7, i64 0} !17 = !{!13, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_srq.c_qib_query_srq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_srq.c_qib_query_srq.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 @qib_query_srq(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = tail call ptr @to_isrq(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = getelementptr inbounds i8, ptr %3, i64 16 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = add nsw i64 %6, -1 %8 = getelementptr inbounds i8, ptr %1, i64 8 store i64 %7, ptr %8, align 8, !tbaa !13 %9 = load i32, ptr %4, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %9, ptr %10, align 4, !tbaa !16 %11 = load i32, ptr %3, align 8, !tbaa !17 store i32 %11, ptr %1, align 8, !tbaa !18 ret i32 0 } declare ptr @to_isrq(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 = !{!"qib_srq", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0, !12, i64 8} !12 = !{!"long", !9, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"ib_srq_attr", !8, i64 0, !8, i64 4, !12, i64 8} !15 = !{!7, !8, i64 8} !16 = !{!14, !8, i64 4} !17 = !{!7, !8, i64 0} !18 = !{!14, !8, i64 0}
fastsocket_kernel_drivers_infiniband_hw_qib_extr_qib_srq.c_qib_query_srq
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Hub.c_IsTcpPacketNcsiHttpAccess.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Hub.c_IsTcpPacketNcsiHttpAccess.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i64, ptr } @L4_TCP = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"NCSI\00", align 1 @INFINITE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [6 x i8] c".jpeg\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".jpg\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".gif\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c".css\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @IsTcpPacketNcsiHttpAccess(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %44, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr @L4_TCP, align 8, !tbaa !11 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %44 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = icmp eq ptr %9, null br i1 %10, label %44, label %11 11: ; preds = %7 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 br i1 %14, label %44, label %15 15: ; preds = %11 %16 = tail call i64 @SearchBin(ptr noundef nonnull %9, i32 noundef 0, i64 noundef %13, ptr noundef nonnull @.str, i32 noundef 4) #2 %17 = load i64, ptr @INFINITE, align 8, !tbaa !11 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %44 19: ; preds = %15 %20 = load ptr, ptr %8, align 8, !tbaa !12 %21 = load i64, ptr %12, align 8, !tbaa !13 %22 = tail call i64 @SearchBin(ptr noundef %20, i32 noundef 0, i64 noundef %21, ptr noundef nonnull @.str.1, i32 noundef 5) #2 %23 = load i64, ptr @INFINITE, align 8, !tbaa !11 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %44 25: ; preds = %19 %26 = load ptr, ptr %8, align 8, !tbaa !12 %27 = load i64, ptr %12, align 8, !tbaa !13 %28 = tail call i64 @SearchBin(ptr noundef %26, i32 noundef 0, i64 noundef %27, ptr noundef nonnull @.str.2, i32 noundef 4) #2 %29 = load i64, ptr @INFINITE, align 8, !tbaa !11 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %44 31: ; preds = %25 %32 = load ptr, ptr %8, align 8, !tbaa !12 %33 = load i64, ptr %12, align 8, !tbaa !13 %34 = tail call i64 @SearchBin(ptr noundef %32, i32 noundef 0, i64 noundef %33, ptr noundef nonnull @.str.3, i32 noundef 4) #2 %35 = load i64, ptr @INFINITE, align 8, !tbaa !11 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %44 37: ; preds = %31 %38 = load ptr, ptr %8, align 8, !tbaa !12 %39 = load i64, ptr %12, align 8, !tbaa !13 %40 = tail call i64 @SearchBin(ptr noundef %38, i32 noundef 0, i64 noundef %39, ptr noundef nonnull @.str.4, i32 noundef 4) #2 %41 = load i64, ptr @INFINITE, align 8, !tbaa !11 %42 = icmp ne i64 %40, %41 %43 = zext i1 %42 to i32 br label %44 44: ; preds = %37, %31, %25, %19, %15, %7, %11, %3, %1 %45 = phi i32 [ 0, %1 ], [ 0, %3 ], [ 0, %11 ], [ 0, %7 ], [ 1, %15 ], [ 1, %19 ], [ 1, %25 ], [ 1, %31 ], [ %43, %37 ] ret i32 %45 } declare i64 @SearchBin(ptr noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Hub.c_IsTcpPacketNcsiHttpAccess.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Hub.c_IsTcpPacketNcsiHttpAccess.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @L4_TCP = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"NCSI\00", align 1 @INFINITE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [6 x i8] c".jpeg\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".jpg\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".gif\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c".css\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @IsTcpPacketNcsiHttpAccess(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %44, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr @L4_TCP, align 8, !tbaa !12 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %44 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = icmp eq ptr %9, null br i1 %10, label %44, label %11 11: ; preds = %7 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = icmp eq i64 %13, 0 br i1 %14, label %44, label %15 15: ; preds = %11 %16 = tail call i64 @SearchBin(ptr noundef nonnull %9, i32 noundef 0, i64 noundef %13, ptr noundef nonnull @.str, i32 noundef 4) #2 %17 = load i64, ptr @INFINITE, align 8, !tbaa !12 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %44 19: ; preds = %15 %20 = load ptr, ptr %8, align 8, !tbaa !13 %21 = load i64, ptr %12, align 8, !tbaa !14 %22 = tail call i64 @SearchBin(ptr noundef %20, i32 noundef 0, i64 noundef %21, ptr noundef nonnull @.str.1, i32 noundef 5) #2 %23 = load i64, ptr @INFINITE, align 8, !tbaa !12 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %44 25: ; preds = %19 %26 = load ptr, ptr %8, align 8, !tbaa !13 %27 = load i64, ptr %12, align 8, !tbaa !14 %28 = tail call i64 @SearchBin(ptr noundef %26, i32 noundef 0, i64 noundef %27, ptr noundef nonnull @.str.2, i32 noundef 4) #2 %29 = load i64, ptr @INFINITE, align 8, !tbaa !12 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %44 31: ; preds = %25 %32 = load ptr, ptr %8, align 8, !tbaa !13 %33 = load i64, ptr %12, align 8, !tbaa !14 %34 = tail call i64 @SearchBin(ptr noundef %32, i32 noundef 0, i64 noundef %33, ptr noundef nonnull @.str.3, i32 noundef 4) #2 %35 = load i64, ptr @INFINITE, align 8, !tbaa !12 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %44 37: ; preds = %31 %38 = load ptr, ptr %8, align 8, !tbaa !13 %39 = load i64, ptr %12, align 8, !tbaa !14 %40 = tail call i64 @SearchBin(ptr noundef %38, i32 noundef 0, i64 noundef %39, ptr noundef nonnull @.str.4, i32 noundef 4) #2 %41 = load i64, ptr @INFINITE, align 8, !tbaa !12 %42 = icmp ne i64 %40, %41 %43 = zext i1 %42 to i32 br label %44 44: ; preds = %37, %31, %25, %19, %15, %7, %11, %3, %1 %45 = phi i32 [ 0, %1 ], [ 0, %3 ], [ 0, %11 ], [ 0, %7 ], [ 1, %15 ], [ 1, %19 ], [ 1, %25 ], [ 1, %31 ], [ %43, %37 ] ret i32 %45 } declare i64 @SearchBin(ptr noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!7, !8, i64 8}
SoftEtherVPN_src_Cedar_extr_Hub.c_IsTcpPacketNcsiHttpAccess
; ModuleID = 'AnghaBench/php-src/sapi/phpdbg/extr_phpdbg.c_phpdbg_remote_init.c' source_filename = "AnghaBench/php-src/sapi/phpdbg/extr_phpdbg.c_phpdbg_remote_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sockaddr_storage = type { i32 } @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"Initializing connection on %s:%u failed\00", align 1 @FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"accepting connections on %s:%u\00", align 1 @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"connection established from %s\00", align 1 @stdout = dso_local local_unnamed_addr global i32 0, align 4 @stdin = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @phpdbg_remote_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @phpdbg_remote_init(ptr noundef %0, i16 noundef zeroext %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4) #0 { %6 = alloca %struct.sockaddr_storage, align 4 %7 = alloca i32, align 4 %8 = alloca [20 x i8], align 16 %9 = load i32, ptr %3, align 4, !tbaa !5 %10 = load ptr, ptr %4, align 8, !tbaa !9 %11 = tail call i32 @phpdbg_remote_close(i32 noundef %9, ptr noundef %10) #5 %12 = icmp slt i32 %2, 0 %13 = load i32, ptr @stderr, align 4, !tbaa !5 %14 = tail call i32 @fileno(i32 noundef %13) #5 %15 = zext i16 %1 to i32 br i1 %12, label %16, label %18 16: ; preds = %5 %17 = tail call i32 (i32, ptr, ptr, ...) @phpdbg_rlog(i32 noundef %14, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %15) #5 br label %41 18: ; preds = %5 %19 = tail call i32 (i32, ptr, ptr, ...) @phpdbg_rlog(i32 noundef %14, ptr noundef nonnull @.str.1, ptr noundef %0, i32 noundef %15) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5 store i32 4, ptr %7, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %8) #5 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %8, i8 0, i64 20, i1 false) %20 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 4) #5 %21 = call i32 @accept(i32 noundef %2, ptr noundef nonnull %6, ptr noundef nonnull %7) #5 store i32 %21, ptr %3, align 4, !tbaa !5 %22 = load i32, ptr @AF_INET, align 4, !tbaa !5 %23 = call i32 @inet_ntop(i32 noundef %22, ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef 20) #5 %24 = load i32, ptr @stderr, align 4, !tbaa !5 %25 = call i32 @fileno(i32 noundef %24) #5 %26 = call i32 (i32, ptr, ptr, ...) @phpdbg_rlog(i32 noundef %25, ptr noundef nonnull @.str.2, ptr noundef nonnull %8) #5 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %8) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5 %27 = load i32, ptr %3, align 4, !tbaa !5 %28 = load i32, ptr @stdout, align 4, !tbaa !5 %29 = call i32 @fileno(i32 noundef %28) #5 %30 = call i32 @dup2(i32 noundef %27, i32 noundef %29) #5 %31 = load i32, ptr %3, align 4, !tbaa !5 %32 = load i32, ptr @stdin, align 4, !tbaa !5 %33 = call i32 @fileno(i32 noundef %32) #5 %34 = call i32 @dup2(i32 noundef %31, i32 noundef %33) #5 %35 = load i32, ptr @stdout, align 4, !tbaa !5 %36 = call i32 @setbuf(i32 noundef %35, ptr noundef null) #5 %37 = load i32, ptr %3, align 4, !tbaa !5 %38 = call ptr @fdopen(i32 noundef %37, ptr noundef nonnull @.str.3) store ptr %38, ptr %4, align 8, !tbaa !9 %39 = load i32, ptr %3, align 4, !tbaa !5 %40 = call i32 @phpdbg_set_async_io(i32 noundef %39) #5 br label %41 41: ; preds = %18, %16 %42 = phi ptr [ @FAILURE, %16 ], [ @SUCCESS, %18 ] %43 = load i32, ptr %42, align 4, !tbaa !5 ret i32 %43 } declare i32 @phpdbg_remote_close(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @phpdbg_rlog(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @fileno(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 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 declare i32 @dup2(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setbuf(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #4 declare i32 @phpdbg_set_async_io(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { 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 #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 = !{!"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/php-src/sapi/phpdbg/extr_phpdbg.c_phpdbg_remote_init.c' source_filename = "AnghaBench/php-src/sapi/phpdbg/extr_phpdbg.c_phpdbg_remote_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sockaddr_storage = type { i32 } @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"Initializing connection on %s:%u failed\00", align 1 @FAILURE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"accepting connections on %s:%u\00", align 1 @AF_INET = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"connection established from %s\00", align 1 @stdout = common local_unnamed_addr global i32 0, align 4 @stdin = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @phpdbg_remote_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @phpdbg_remote_init(ptr noundef %0, i16 noundef zeroext %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4) #0 { %6 = alloca %struct.sockaddr_storage, align 4 %7 = alloca i32, align 4 %8 = alloca [20 x i8], align 1 %9 = load i32, ptr %3, align 4, !tbaa !6 %10 = load ptr, ptr %4, align 8, !tbaa !10 %11 = tail call i32 @phpdbg_remote_close(i32 noundef %9, ptr noundef %10) #5 %12 = icmp slt i32 %2, 0 %13 = load i32, ptr @stderr, align 4, !tbaa !6 %14 = tail call i32 @fileno(i32 noundef %13) #5 %15 = zext i16 %1 to i32 br i1 %12, label %16, label %18 16: ; preds = %5 %17 = tail call i32 (i32, ptr, ptr, ...) @phpdbg_rlog(i32 noundef %14, ptr noundef nonnull @.str, ptr noundef %0, i32 noundef %15) #5 br label %41 18: ; preds = %5 %19 = tail call i32 (i32, ptr, ptr, ...) @phpdbg_rlog(i32 noundef %14, ptr noundef nonnull @.str.1, ptr noundef %0, i32 noundef %15) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5 store i32 4, ptr %7, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %8) #5 call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(20) %8, i8 0, i64 20, i1 false) %20 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 4) #5 %21 = call i32 @accept(i32 noundef %2, ptr noundef nonnull %6, ptr noundef nonnull %7) #5 store i32 %21, ptr %3, align 4, !tbaa !6 %22 = load i32, ptr @AF_INET, align 4, !tbaa !6 %23 = call i32 @inet_ntop(i32 noundef %22, ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef 20) #5 %24 = load i32, ptr @stderr, align 4, !tbaa !6 %25 = call i32 @fileno(i32 noundef %24) #5 %26 = call i32 (i32, ptr, ptr, ...) @phpdbg_rlog(i32 noundef %25, ptr noundef nonnull @.str.2, ptr noundef nonnull %8) #5 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %8) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5 %27 = load i32, ptr %3, align 4, !tbaa !6 %28 = load i32, ptr @stdout, align 4, !tbaa !6 %29 = call i32 @fileno(i32 noundef %28) #5 %30 = call i32 @dup2(i32 noundef %27, i32 noundef %29) #5 %31 = load i32, ptr %3, align 4, !tbaa !6 %32 = load i32, ptr @stdin, align 4, !tbaa !6 %33 = call i32 @fileno(i32 noundef %32) #5 %34 = call i32 @dup2(i32 noundef %31, i32 noundef %33) #5 %35 = load i32, ptr @stdout, align 4, !tbaa !6 %36 = call i32 @setbuf(i32 noundef %35, ptr noundef null) #5 %37 = load i32, ptr %3, align 4, !tbaa !6 %38 = call ptr @fdopen(i32 noundef %37, ptr noundef nonnull @.str.3) store ptr %38, ptr %4, align 8, !tbaa !10 %39 = load i32, ptr %3, align 4, !tbaa !6 %40 = call i32 @phpdbg_set_async_io(i32 noundef %39) #5 br label %41 41: ; preds = %18, %16 %42 = phi ptr [ @FAILURE, %16 ], [ @SUCCESS, %18 ] %43 = load i32, ptr %42, align 4, !tbaa !6 ret i32 %43 } declare i32 @phpdbg_remote_close(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @phpdbg_rlog(i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @fileno(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 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 declare i32 @dup2(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setbuf(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #4 declare i32 @phpdbg_set_async_io(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { 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 #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 = !{!"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}
php-src_sapi_phpdbg_extr_phpdbg.c_phpdbg_remote_init
; ModuleID = 'AnghaBench/FFmpeg/libavdevice/extr_jack.c_free_pkt_fifo.c' source_filename = "AnghaBench/FFmpeg/libavdevice/extr_jack.c_free_pkt_fifo.c" target datalayout = "e-m:e-p270:32:32-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 @free_pkt_fifo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @free_pkt_fifo(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i64 @av_fifo_size(ptr noundef %3) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %1, %6 %7 = load ptr, ptr %0, align 8, !tbaa !5 %8 = call i32 @av_fifo_generic_read(ptr noundef %7, ptr noundef nonnull %2, i32 noundef 4, ptr noundef null) #3 %9 = call i32 @av_packet_unref(ptr noundef nonnull %2) #3 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = call i64 @av_fifo_size(ptr noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %6, !llvm.loop !9 13: ; preds = %6, %1 %14 = call i32 @av_fifo_freep(ptr noundef nonnull %0) #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 @av_fifo_size(ptr noundef) local_unnamed_addr #2 declare i32 @av_fifo_generic_read(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_packet_unref(ptr noundef) local_unnamed_addr #2 declare i32 @av_fifo_freep(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavdevice/extr_jack.c_free_pkt_fifo.c' source_filename = "AnghaBench/FFmpeg/libavdevice/extr_jack.c_free_pkt_fifo.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 @free_pkt_fifo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @free_pkt_fifo(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i64 @av_fifo_size(ptr noundef %3) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %1, %6 %7 = load ptr, ptr %0, align 8, !tbaa !6 %8 = call i32 @av_fifo_generic_read(ptr noundef %7, ptr noundef nonnull %2, i32 noundef 4, ptr noundef null) #3 %9 = call i32 @av_packet_unref(ptr noundef nonnull %2) #3 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = call i64 @av_fifo_size(ptr noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %6, !llvm.loop !10 13: ; preds = %6, %1 %14 = call i32 @av_fifo_freep(ptr noundef nonnull %0) #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 @av_fifo_size(ptr noundef) local_unnamed_addr #2 declare i32 @av_fifo_generic_read(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_packet_unref(ptr noundef) local_unnamed_addr #2 declare i32 @av_fifo_freep(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavdevice_extr_jack.c_free_pkt_fifo
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_set_rx_mode.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_set_rx_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ECMR = dso_local local_unnamed_addr global i32 0, align 4 @ECMR_PRM = dso_local local_unnamed_addr global i32 0, align 4 @IFF_PROMISC = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ravb_set_rx_mode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ravb_set_rx_mode(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = tail call i32 @spin_lock_irqsave(ptr noundef %2, i64 noundef undef) #2 %4 = load i32, ptr @ECMR, align 4, !tbaa !5 %5 = load i32, ptr @ECMR_PRM, align 4 %6 = load i64, ptr %0, align 8, !tbaa !9 %7 = load i64, ptr @IFF_PROMISC, align 8, !tbaa !12 %8 = and i64 %7, %6 %9 = icmp eq i64 %8, 0 %10 = select i1 %9, i32 0, i32 %5 %11 = tail call i32 @ravb_modify(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %5, i32 noundef %10) #2 %12 = tail call i32 @spin_unlock_irqrestore(ptr noundef %2, i64 noundef undef) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ravb_modify(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"net_device", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_set_rx_mode.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_ravb_main.c_ravb_set_rx_mode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ECMR = common local_unnamed_addr global i32 0, align 4 @ECMR_PRM = common local_unnamed_addr global i32 0, align 4 @IFF_PROMISC = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ravb_set_rx_mode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ravb_set_rx_mode(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = tail call i32 @spin_lock_irqsave(ptr noundef %2, i64 noundef undef) #2 %4 = load i32, ptr @ECMR, align 4, !tbaa !6 %5 = load i32, ptr @ECMR_PRM, align 4 %6 = load i64, ptr %0, align 8, !tbaa !10 %7 = load i64, ptr @IFF_PROMISC, align 8, !tbaa !13 %8 = and i64 %7, %6 %9 = icmp eq i64 %8, 0 %10 = select i1 %9, i32 0, i32 %5 %11 = tail call i32 @ravb_modify(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %5, i32 noundef %10) #2 %12 = tail call i32 @spin_unlock_irqrestore(ptr noundef %2, i64 noundef undef) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ravb_modify(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"net_device", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
linux_drivers_net_ethernet_renesas_extr_ravb_main.c_ravb_set_rx_mode
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_thread-db.c_lwp_from_thread.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_thread-db.c_lwp_from_thread.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @lwp_from_thread], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lwp_from_thread(i32 noundef %0) #0 { %2 = tail call i32 @is_thread(i32 noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %1 %5 = tail call ptr @find_thread_pid(i32 noundef %0) #2 %6 = tail call i32 @thread_db_get_info(ptr noundef %5) #2 %7 = load ptr, ptr %5, align 8, !tbaa !5 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i32 @GET_PID(i32 noundef %0) #2 %10 = tail call i32 @BUILD_LWP(i32 noundef %8, i32 noundef %9) #2 br label %11 11: ; preds = %1, %4 %12 = phi i32 [ %10, %4 ], [ %0, %1 ] ret i32 %12 } declare i32 @is_thread(i32 noundef) local_unnamed_addr #1 declare ptr @find_thread_pid(i32 noundef) local_unnamed_addr #1 declare i32 @thread_db_get_info(ptr noundef) local_unnamed_addr #1 declare i32 @BUILD_LWP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_PID(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 = !{!"thread_info", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_thread-db.c_lwp_from_thread.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_thread-db.c_lwp_from_thread.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 @lwp_from_thread], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lwp_from_thread(i32 noundef %0) #0 { %2 = tail call i32 @is_thread(i32 noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %1 %5 = tail call ptr @find_thread_pid(i32 noundef %0) #2 %6 = tail call i32 @thread_db_get_info(ptr noundef %5) #2 %7 = load ptr, ptr %5, align 8, !tbaa !6 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @GET_PID(i32 noundef %0) #2 %10 = tail call i32 @BUILD_LWP(i32 noundef %8, i32 noundef %9) #2 br label %11 11: ; preds = %1, %4 %12 = phi i32 [ %10, %4 ], [ %0, %1 ] ret i32 %12 } declare i32 @is_thread(i32 noundef) local_unnamed_addr #1 declare ptr @find_thread_pid(i32 noundef) local_unnamed_addr #1 declare i32 @thread_db_get_info(ptr noundef) local_unnamed_addr #1 declare i32 @BUILD_LWP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GET_PID(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 = !{!"thread_info", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"int", !9, i64 0}
freebsd_contrib_gdb_gdb_extr_thread-db.c_lwp_from_thread
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme.c_SecIsInPMKIDList.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme.c_SecIsInPMKIDList.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i64 } @ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4 @NUM_PMKID_CACHE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @SecIsInPMKIDList], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @SecIsInPMKIDList(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { br label %3 3: ; preds = %18, %2 %4 = phi i64 [ %20, %18 ], [ 0, %2 ] %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %4, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !10 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %3 %10 = load i32, ptr @NUM_PMKID_CACHE, align 4, !tbaa !14 br label %18 11: ; preds = %3 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %4 %13 = load i32, ptr %12, align 8, !tbaa !15 %14 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14 %15 = tail call i32 @memcmp(i32 noundef %13, ptr noundef %1, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 %17 = load i32, ptr @NUM_PMKID_CACHE, align 4, !tbaa !14 br i1 %16, label %23, label %18 18: ; preds = %9, %11 %19 = phi i32 [ %10, %9 ], [ %17, %11 ] %20 = add nuw nsw i64 %4, 1 %21 = sext i32 %19 to i64 %22 = icmp slt i64 %20, %21 br i1 %22, label %3, label %23, !llvm.loop !16 23: ; preds = %18, %11 %24 = phi i32 [ %17, %11 ], [ %19, %18 ] %25 = phi i64 [ %4, %11 ], [ %20, %18 ] %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %24, %26 %28 = select i1 %27, i32 -1, i32 %26 ret i32 %28 } declare i32 @memcmp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"security_priv", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !12, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme.c_SecIsInPMKIDList.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme.c_SecIsInPMKIDList.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 { i32, i64 } @ETH_ALEN = common local_unnamed_addr global i32 0, align 4 @NUM_PMKID_CACHE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @SecIsInPMKIDList], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @SecIsInPMKIDList(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { br label %3 3: ; preds = %18, %2 %4 = phi i64 [ %20, %18 ], [ 0, %2 ] %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %4 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = load i32, ptr @NUM_PMKID_CACHE, align 4, !tbaa !15 br label %18 12: ; preds = %3 %13 = load i32, ptr %6, align 8, !tbaa !16 %14 = load i32, ptr @ETH_ALEN, align 4, !tbaa !15 %15 = tail call i32 @memcmp(i32 noundef %13, ptr noundef %1, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 %17 = load i32, ptr @NUM_PMKID_CACHE, align 4, !tbaa !15 br i1 %16, label %23, label %18 18: ; preds = %10, %12 %19 = phi i32 [ %11, %10 ], [ %17, %12 ] %20 = add nuw nsw i64 %4, 1 %21 = sext i32 %19 to i64 %22 = icmp slt i64 %20, %21 br i1 %22, label %3, label %23, !llvm.loop !17 23: ; preds = %18, %12 %24 = phi i32 [ %17, %12 ], [ %19, %18 ] %25 = phi i64 [ %4, %12 ], [ %20, %18 ] %26 = trunc i64 %25 to i32 %27 = icmp eq i32 %24, %26 %28 = select i1 %27, i32 -1, i32 %26 ret i32 %28 } declare i32 @memcmp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"security_priv", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 8} !12 = !{!"TYPE_2__", !13, i64 0, !14, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!12, !13, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
linux_drivers_staging_rtl8723bs_core_extr_rtw_mlme.c_SecIsInPMKIDList
; ModuleID = 'AnghaBench/linux/arch/x86/xen/extr_enlighten_pv.c_xen_convert_trap_info.c' source_filename = "AnghaBench/linux/arch/x86/xen/extr_enlighten_pv.c_xen_convert_trap_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.desc_ptr = type { i32, i64 } %struct.trap_info = type { i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @xen_convert_trap_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xen_convert_trap_info(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = add nsw i32 %3, 1 %5 = ashr i32 %4, 2 %6 = icmp ugt i32 %5, 256 %7 = zext i1 %6 to i32 %8 = tail call i32 @BUG_ON(i32 noundef %7) #3 %9 = icmp ult i32 %4, 4 br i1 %9, label %31, label %10 10: ; preds = %2 %11 = getelementptr inbounds %struct.desc_ptr, ptr %0, i64 0, i32 1 %12 = tail call i32 @llvm.umax.i32(i32 %5, i32 1) %13 = zext i32 %12 to i64 br label %14 14: ; preds = %10, %14 %15 = phi i64 [ 0, %10 ], [ %27, %14 ] %16 = phi i32 [ 0, %10 ], [ %26, %14 ] %17 = load i64, ptr %11, align 8, !tbaa !11 %18 = inttoptr i64 %17 to ptr %19 = getelementptr inbounds i32, ptr %18, i64 %15 %20 = zext i32 %16 to i64 %21 = getelementptr inbounds %struct.trap_info, ptr %1, i64 %20 %22 = trunc i64 %15 to i32 %23 = tail call i64 @cvt_gate_to_trap(i32 noundef %22, ptr noundef %19, ptr noundef %21) #3 %24 = icmp ne i64 %23, 0 %25 = zext i1 %24 to i32 %26 = add i32 %16, %25 %27 = add nuw nsw i64 %15, 1 %28 = icmp eq i64 %27, %13 br i1 %28, label %29, label %14, !llvm.loop !12 29: ; preds = %14 %30 = zext i32 %26 to i64 br label %31 31: ; preds = %29, %2 %32 = phi i64 [ 0, %2 ], [ %30, %29 ] %33 = getelementptr inbounds %struct.trap_info, ptr %1, i64 %32 store i64 0, ptr %33, align 8, !tbaa !14 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @cvt_gate_to_trap(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"desc_ptr", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !10, i64 0} !15 = !{!"trap_info", !10, i64 0}
; ModuleID = 'AnghaBench/linux/arch/x86/xen/extr_enlighten_pv.c_xen_convert_trap_info.c' source_filename = "AnghaBench/linux/arch/x86/xen/extr_enlighten_pv.c_xen_convert_trap_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.trap_info = type { i64 } @llvm.used = appending global [1 x ptr] [ptr @xen_convert_trap_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xen_convert_trap_info(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = add nsw i32 %3, 1 %5 = ashr i32 %4, 2 %6 = icmp ugt i32 %5, 256 %7 = zext i1 %6 to i32 %8 = tail call i32 @BUG_ON(i32 noundef %7) #3 %9 = icmp ult i32 %4, 4 br i1 %9, label %31, label %10 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = tail call i32 @llvm.umax.i32(i32 %5, i32 1) %13 = zext i32 %12 to i64 br label %14 14: ; preds = %10, %14 %15 = phi i64 [ 0, %10 ], [ %27, %14 ] %16 = phi i32 [ 0, %10 ], [ %26, %14 ] %17 = load i64, ptr %11, align 8, !tbaa !12 %18 = inttoptr i64 %17 to ptr %19 = getelementptr inbounds i32, ptr %18, i64 %15 %20 = zext i32 %16 to i64 %21 = getelementptr inbounds %struct.trap_info, ptr %1, i64 %20 %22 = trunc nuw i64 %15 to i32 %23 = tail call i64 @cvt_gate_to_trap(i32 noundef %22, ptr noundef %19, ptr noundef %21) #3 %24 = icmp ne i64 %23, 0 %25 = zext i1 %24 to i32 %26 = add i32 %16, %25 %27 = add nuw nsw i64 %15, 1 %28 = icmp eq i64 %27, %13 br i1 %28, label %29, label %14, !llvm.loop !13 29: ; preds = %14 %30 = zext i32 %26 to i64 br label %31 31: ; preds = %29, %2 %32 = phi i64 [ 0, %2 ], [ %30, %29 ] %33 = getelementptr inbounds %struct.trap_info, ptr %1, i64 %32 store i64 0, ptr %33, align 8, !tbaa !15 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @cvt_gate_to_trap(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"desc_ptr", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !11, i64 0} !16 = !{!"trap_info", !11, i64 0}
linux_arch_x86_xen_extr_enlighten_pv.c_xen_convert_trap_info
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_devinet.c_register_inetaddr_notifier.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_devinet.c_register_inetaddr_notifier.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @inetaddr_chain = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @register_inetaddr_notifier(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @blocking_notifier_chain_register(ptr noundef nonnull @inetaddr_chain, ptr noundef %0) #2 ret i32 %2 } declare i32 @blocking_notifier_chain_register(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_devinet.c_register_inetaddr_notifier.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_devinet.c_register_inetaddr_notifier.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @inetaddr_chain = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @register_inetaddr_notifier(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @blocking_notifier_chain_register(ptr noundef nonnull @inetaddr_chain, ptr noundef %0) #2 ret i32 %2 } declare i32 @blocking_notifier_chain_register(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)"}
fastsocket_kernel_net_ipv4_extr_devinet.c_register_inetaddr_notifier
; ModuleID = 'AnghaBench/systemd/src/network/extr_networkd-network.c_network_apply.c' source_filename = "AnghaBench/systemd/src/network/extr_networkd-network.c_network_apply.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i64, i32, i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @network_apply(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call i32 @assert(ptr noundef %1) #2 %5 = tail call i32 @network_ref(ptr noundef %0) #2 %6 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 4 store i32 %5, ptr %6, align 4, !tbaa !5 %7 = load i64, ptr %0, align 8, !tbaa !11 %8 = icmp sgt i64 %7, 0 br i1 %8, label %24, label %9 9: ; preds = %2 %10 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = tail call i32 @strv_isempty(i32 noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %24, label %14 14: ; preds = %9 %15 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = tail call i32 @ordered_set_isempty(i32 noundef %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %14 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %21 = load i32, ptr %20, align 8, !tbaa !14 %22 = tail call i32 @ordered_set_isempty(i32 noundef %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %19, %14, %9, %2 %25 = tail call i32 @link_dirty(ptr noundef nonnull %1) #2 br label %26 26: ; preds = %24, %19 ret i32 0 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @network_ref(ptr noundef) local_unnamed_addr #1 declare i32 @strv_isempty(i32 noundef) local_unnamed_addr #1 declare i32 @ordered_set_isempty(i32 noundef) local_unnamed_addr #1 declare i32 @link_dirty(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 20} !6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!6, !10, i64 12} !14 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/systemd/src/network/extr_networkd-network.c_network_apply.c' source_filename = "AnghaBench/systemd/src/network/extr_networkd-network.c_network_apply.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 @network_apply(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call i32 @assert(ptr noundef %1) #2 %5 = tail call i32 @network_ref(ptr noundef %0) #2 %6 = getelementptr inbounds i8, ptr %1, i64 20 store i32 %5, ptr %6, align 4, !tbaa !6 %7 = load i64, ptr %0, align 8, !tbaa !12 %8 = icmp sgt i64 %7, 0 br i1 %8, label %24, label %9 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = tail call i32 @strv_isempty(i32 noundef %11) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %24, label %14 14: ; preds = %9 %15 = getelementptr inbounds i8, ptr %0, i64 12 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = tail call i32 @ordered_set_isempty(i32 noundef %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %14 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !15 %22 = tail call i32 @ordered_set_isempty(i32 noundef %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %19, %14, %9, %2 %25 = tail call i32 @link_dirty(ptr noundef nonnull %1) #2 br label %26 26: ; preds = %24, %19 ret i32 0 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @network_ref(ptr noundef) local_unnamed_addr #1 declare i32 @strv_isempty(i32 noundef) local_unnamed_addr #1 declare i32 @ordered_set_isempty(i32 noundef) local_unnamed_addr #1 declare i32 @link_dirty(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 20} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!7, !11, i64 12} !15 = !{!7, !11, i64 8}
systemd_src_network_extr_networkd-network.c_network_apply
; ModuleID = 'AnghaBench/freebsd/sys/dev/rtwn/pci/extr_rtwn_pci_attach.c_rtwn_pci_reset_rx_list.c' source_filename = "AnghaBench/freebsd/sys/dev/rtwn/pci/extr_rtwn_pci_attach.c_rtwn_pci_reset_rx_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rtwn_rx_ring = type { i64, ptr, ptr } %struct.rtwn_rx_data = type { i32 } @RTWN_PCI_RX_LIST_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @MJUMPAGESIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtwn_pci_reset_rx_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rtwn_pci_reset_rx_list(ptr noundef %0) #0 { %2 = tail call ptr @RTWN_PCI_SOFTC(ptr noundef %0) #2 %3 = load i32, ptr @RTWN_PCI_RX_LIST_COUNT, align 4, !tbaa !5 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %22 5: ; preds = %1 %6 = getelementptr inbounds %struct.rtwn_rx_ring, ptr %2, i64 0, i32 2 %7 = getelementptr inbounds %struct.rtwn_rx_ring, ptr %2, i64 0, i32 1 br label %8 8: ; preds = %5, %8 %9 = phi i64 [ 0, %5 ], [ %18, %8 ] %10 = load ptr, ptr %6, align 8, !tbaa !9 %11 = getelementptr inbounds %struct.rtwn_rx_data, ptr %10, i64 %9 %12 = load ptr, ptr %7, align 8, !tbaa !13 %13 = getelementptr inbounds i32, ptr %12, i64 %9 %14 = load i32, ptr %11, align 4, !tbaa !14 %15 = load i32, ptr @MJUMPAGESIZE, align 4, !tbaa !5 %16 = trunc i64 %9 to i32 %17 = tail call i32 @rtwn_pci_setup_rx_desc(ptr noundef %2, ptr noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) #2 %18 = add nuw nsw i64 %9, 1 %19 = load i32, ptr @RTWN_PCI_RX_LIST_COUNT, align 4, !tbaa !5 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %18, %20 br i1 %21, label %8, label %22, !llvm.loop !16 22: ; preds = %8, %1 store i64 0, ptr %2, align 8, !tbaa !18 ret void } declare ptr @RTWN_PCI_SOFTC(ptr noundef) local_unnamed_addr #1 declare i32 @rtwn_pci_setup_rx_desc(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 16} !10 = !{!"rtwn_rx_ring", !11, i64 0, !12, i64 8, !12, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 8} !14 = !{!15, !6, i64 0} !15 = !{!"rtwn_rx_data", !6, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/rtwn/pci/extr_rtwn_pci_attach.c_rtwn_pci_reset_rx_list.c' source_filename = "AnghaBench/freebsd/sys/dev/rtwn/pci/extr_rtwn_pci_attach.c_rtwn_pci_reset_rx_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.rtwn_rx_data = type { i32 } @RTWN_PCI_RX_LIST_COUNT = common local_unnamed_addr global i32 0, align 4 @MJUMPAGESIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rtwn_pci_reset_rx_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rtwn_pci_reset_rx_list(ptr noundef %0) #0 { %2 = tail call ptr @RTWN_PCI_SOFTC(ptr noundef %0) #2 %3 = load i32, ptr @RTWN_PCI_RX_LIST_COUNT, align 4, !tbaa !6 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %22 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %2, i64 16 %7 = getelementptr inbounds i8, ptr %2, i64 8 br label %8 8: ; preds = %5, %8 %9 = phi i64 [ 0, %5 ], [ %18, %8 ] %10 = load ptr, ptr %6, align 8, !tbaa !10 %11 = getelementptr inbounds %struct.rtwn_rx_data, ptr %10, i64 %9 %12 = load ptr, ptr %7, align 8, !tbaa !14 %13 = getelementptr inbounds i32, ptr %12, i64 %9 %14 = load i32, ptr %11, align 4, !tbaa !15 %15 = load i32, ptr @MJUMPAGESIZE, align 4, !tbaa !6 %16 = trunc nuw nsw i64 %9 to i32 %17 = tail call i32 @rtwn_pci_setup_rx_desc(ptr noundef %2, ptr noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16) #2 %18 = add nuw nsw i64 %9, 1 %19 = load i32, ptr @RTWN_PCI_RX_LIST_COUNT, align 4, !tbaa !6 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %18, %20 br i1 %21, label %8, label %22, !llvm.loop !17 22: ; preds = %8, %1 store i64 0, ptr %2, align 8, !tbaa !19 ret void } declare ptr @RTWN_PCI_SOFTC(ptr noundef) local_unnamed_addr #1 declare i32 @rtwn_pci_setup_rx_desc(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 16} !11 = !{!"rtwn_rx_ring", !12, i64 0, !13, i64 8, !13, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"rtwn_rx_data", !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!11, !12, i64 0}
freebsd_sys_dev_rtwn_pci_extr_rtwn_pci_attach.c_rtwn_pci_reset_rx_list
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_ad7124.c_ad7124_probe.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_ad7124.c_ad7124_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.ad7124_state = type { ptr, i32, i32, ptr } %struct.iio_dev = type { ptr, i32, i32, %struct.TYPE_6__ } %struct.TYPE_6__ = type { ptr } %struct.spi_device_id = type { i64, i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @ad7124_chip_info_tbl = dso_local local_unnamed_addr global ptr null, align 8 @ad7124_sigma_delta_info = dso_local global i32 0, align 4 @INDIO_DIRECT_MODE = dso_local local_unnamed_addr global i32 0, align 4 @ad7124_info = dso_local global i32 0, align 4 @AD7124_INT_REF = dso_local local_unnamed_addr global i32 0, align 4 @ad7124_ref_names = dso_local local_unnamed_addr global ptr null, align 8 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"mclk\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Failed to register iio device\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ad7124_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ad7124_probe(ptr noundef %0) #0 { %2 = tail call ptr @devm_iio_device_alloc(ptr noundef %0, i32 noundef 24) #2 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %7 4: ; preds = %1 %5 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %6 = sub nsw i32 0, %5 br label %119 7: ; preds = %1 %8 = tail call ptr @iio_priv(ptr noundef nonnull %2) #2 %9 = tail call ptr @spi_get_device_id(ptr noundef %0) #2 %10 = load ptr, ptr @ad7124_chip_info_tbl, align 8, !tbaa !9 %11 = load i64, ptr %9, align 8, !tbaa !11 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = getelementptr inbounds %struct.ad7124_state, ptr %8, i64 0, i32 3 store ptr %12, ptr %13, align 8, !tbaa !14 %14 = getelementptr inbounds %struct.ad7124_state, ptr %8, i64 0, i32 2 %15 = tail call i32 @ad_sd_init(ptr noundef nonnull %14, ptr noundef nonnull %2, ptr noundef %0, ptr noundef nonnull @ad7124_sigma_delta_info) #2 %16 = tail call i32 @spi_set_drvdata(ptr noundef %0, ptr noundef nonnull %2) #2 %17 = getelementptr inbounds %struct.iio_dev, ptr %2, i64 0, i32 3 store ptr %0, ptr %17, align 8, !tbaa !16 %18 = tail call ptr @spi_get_device_id(ptr noundef %0) #2 %19 = getelementptr inbounds %struct.spi_device_id, ptr %18, i64 0, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !19 %21 = getelementptr inbounds %struct.iio_dev, ptr %2, i64 0, i32 2 store i32 %20, ptr %21, align 4, !tbaa !20 %22 = load i32, ptr @INDIO_DIRECT_MODE, align 4, !tbaa !5 %23 = getelementptr inbounds %struct.iio_dev, ptr %2, i64 0, i32 1 store i32 %22, ptr %23, align 8, !tbaa !21 store ptr @ad7124_info, ptr %2, align 8, !tbaa !22 %24 = load i32, ptr %0, align 4, !tbaa !23 %25 = tail call i32 @ad7124_of_parse_channel_config(ptr noundef nonnull %2, i32 noundef %24) #2 %26 = icmp slt i32 %25, 0 br i1 %26, label %119, label %27 27: ; preds = %7 %28 = load ptr, ptr %8, align 8, !tbaa !26 %29 = tail call i32 @ARRAY_SIZE(ptr noundef %28) #2 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %67 31: ; preds = %27, %61 %32 = phi i64 [ %62, %61 ], [ 0, %27 ] %33 = load i32, ptr @AD7124_INT_REF, align 4, !tbaa !5 %34 = zext i32 %33 to i64 %35 = icmp eq i64 %32, %34 br i1 %35, label %61, label %36 36: ; preds = %31 %37 = load ptr, ptr @ad7124_ref_names, align 8, !tbaa !9 %38 = getelementptr inbounds i32, ptr %37, i64 %32 %39 = load i32, ptr %38, align 4, !tbaa !5 %40 = tail call i32 @devm_regulator_get_optional(ptr noundef nonnull %0, i32 noundef %39) #2 %41 = load ptr, ptr %8, align 8, !tbaa !26 %42 = getelementptr inbounds i32, ptr %41, i64 %32 store i32 %40, ptr %42, align 4, !tbaa !5 %43 = tail call i32 @PTR_ERR(i32 noundef %40) #2 %44 = load i32, ptr @ENODEV, align 4, !tbaa !5 %45 = sub nsw i32 0, %44 %46 = icmp eq i32 %43, %45 br i1 %46, label %61, label %47 47: ; preds = %36 %48 = load ptr, ptr %8, align 8, !tbaa !26 %49 = getelementptr inbounds i32, ptr %48, i64 %32 %50 = load i32, ptr %49, align 4, !tbaa !5 %51 = tail call i64 @IS_ERR(i32 noundef %50) #2 %52 = icmp eq i64 %51, 0 %53 = load ptr, ptr %8, align 8, !tbaa !26 %54 = getelementptr inbounds i32, ptr %53, i64 %32 %55 = load i32, ptr %54, align 4, !tbaa !5 br i1 %52, label %58, label %56 56: ; preds = %47 %57 = tail call i32 @PTR_ERR(i32 noundef %55) #2 br label %119 58: ; preds = %47 %59 = tail call i32 @regulator_enable(i32 noundef %55) #2 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %119 61: ; preds = %58, %36, %31 %62 = add nuw nsw i64 %32, 1 %63 = load ptr, ptr %8, align 8, !tbaa !26 %64 = tail call i32 @ARRAY_SIZE(ptr noundef %63) #2 %65 = sext i32 %64 to i64 %66 = icmp slt i64 %62, %65 br i1 %66, label %31, label %67, !llvm.loop !27 67: ; preds = %61, %27 %68 = tail call i32 @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %69 = getelementptr inbounds %struct.ad7124_state, ptr %8, i64 0, i32 1 store i32 %68, ptr %69, align 8, !tbaa !29 %70 = tail call i64 @IS_ERR(i32 noundef %68) #2 %71 = icmp eq i64 %70, 0 %72 = load i32, ptr %69, align 8, !tbaa !29 br i1 %71, label %75, label %73 73: ; preds = %67 %74 = tail call i32 @PTR_ERR(i32 noundef %72) #2 br label %97 75: ; preds = %67 %76 = tail call i32 @clk_prepare_enable(i32 noundef %72) #2 %77 = icmp slt i32 %76, 0 br i1 %77, label %97, label %78 78: ; preds = %75 %79 = tail call i32 @ad7124_soft_reset(ptr noundef nonnull %8) #2 %80 = icmp slt i32 %79, 0 br i1 %80, label %93, label %81 81: ; preds = %78 %82 = tail call i32 @ad7124_setup(ptr noundef nonnull %8) #2 %83 = icmp slt i32 %82, 0 br i1 %83, label %93, label %84 84: ; preds = %81 %85 = tail call i32 @ad_sd_setup_buffer_and_trigger(ptr noundef nonnull %2) #2 %86 = icmp slt i32 %85, 0 br i1 %86, label %93, label %87 87: ; preds = %84 %88 = tail call i32 @iio_device_register(ptr noundef nonnull %2) #2 %89 = icmp slt i32 %88, 0 br i1 %89, label %90, label %119 90: ; preds = %87 %91 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2 %92 = tail call i32 @ad_sd_cleanup_buffer_and_trigger(ptr noundef nonnull %2) #2 br label %93 93: ; preds = %84, %81, %78, %90 %94 = phi i32 [ %79, %78 ], [ %82, %81 ], [ %85, %84 ], [ %88, %90 ] %95 = load i32, ptr %69, align 8, !tbaa !29 %96 = tail call i32 @clk_disable_unprepare(i32 noundef %95) #2 br label %97 97: ; preds = %75, %93, %73 %98 = phi i32 [ %74, %73 ], [ %76, %75 ], [ %94, %93 ] %99 = load ptr, ptr %8, align 8, !tbaa !26 %100 = tail call i32 @ARRAY_SIZE(ptr noundef %99) #2 %101 = icmp sgt i32 %100, 0 br i1 %101, label %102, label %119 102: ; preds = %97 %103 = zext nneg i32 %100 to i64 br label %104 104: ; preds = %102, %117 %105 = phi i64 [ %103, %102 ], [ %106, %117 ] %106 = add nsw i64 %105, -1 %107 = load ptr, ptr %8, align 8, !tbaa !26 %108 = getelementptr inbounds i32, ptr %107, i64 %106 %109 = load i32, ptr %108, align 4, !tbaa !5 %110 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %109) #2 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %117 112: ; preds = %104 %113 = load ptr, ptr %8, align 8, !tbaa !26 %114 = getelementptr inbounds i32, ptr %113, i64 %106 %115 = load i32, ptr %114, align 4, !tbaa !5 %116 = tail call i32 @regulator_disable(i32 noundef %115) #2 br label %117 117: ; preds = %104, %112 %118 = icmp ugt i64 %105, 1 br i1 %118, label %104, label %119, !llvm.loop !30 119: ; preds = %58, %117, %97, %87, %7, %56, %4 %120 = phi i32 [ %57, %56 ], [ %6, %4 ], [ %25, %7 ], [ 0, %87 ], [ %98, %97 ], [ %98, %117 ], [ %59, %58 ] ret i32 %120 } declare ptr @devm_iio_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare ptr @spi_get_device_id(ptr noundef) local_unnamed_addr #1 declare i32 @ad_sd_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spi_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ad7124_of_parse_channel_config(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @devm_regulator_get_optional(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @regulator_enable(i32 noundef) local_unnamed_addr #1 declare i32 @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1 declare i32 @ad7124_soft_reset(ptr noundef) local_unnamed_addr #1 declare i32 @ad7124_setup(ptr noundef) local_unnamed_addr #1 declare i32 @ad_sd_setup_buffer_and_trigger(ptr noundef) local_unnamed_addr #1 declare i32 @iio_device_register(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ad_sd_cleanup_buffer_and_trigger(ptr noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR_OR_NULL(i32 noundef) local_unnamed_addr #1 declare i32 @regulator_disable(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"spi_device_id", !13, i64 0, !6, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!15, !10, i64 16} !15 = !{!"ad7124_state", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16} !16 = !{!17, !10, i64 16} !17 = !{!"iio_dev", !10, i64 0, !6, i64 8, !6, i64 12, !18, i64 16} !18 = !{!"TYPE_6__", !10, i64 0} !19 = !{!12, !6, i64 8} !20 = !{!17, !6, i64 12} !21 = !{!17, !6, i64 8} !22 = !{!17, !10, i64 0} !23 = !{!24, !6, i64 0} !24 = !{!"spi_device", !25, i64 0} !25 = !{!"TYPE_7__", !6, i64 0} !26 = !{!15, !10, i64 0} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"} !29 = !{!15, !6, i64 8} !30 = distinct !{!30, !28}
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_ad7124.c_ad7124_probe.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_ad7124.c_ad7124_probe.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 @ad7124_chip_info_tbl = common local_unnamed_addr global ptr null, align 8 @ad7124_sigma_delta_info = common global i32 0, align 4 @INDIO_DIRECT_MODE = common local_unnamed_addr global i32 0, align 4 @ad7124_info = common global i32 0, align 4 @AD7124_INT_REF = common local_unnamed_addr global i32 0, align 4 @ad7124_ref_names = common local_unnamed_addr global ptr null, align 8 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"mclk\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Failed to register iio device\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ad7124_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ad7124_probe(ptr noundef %0) #0 { %2 = tail call ptr @devm_iio_device_alloc(ptr noundef %0, i32 noundef 24) #2 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %7 4: ; preds = %1 %5 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %6 = sub nsw i32 0, %5 br label %119 7: ; preds = %1 %8 = tail call ptr @iio_priv(ptr noundef nonnull %2) #2 %9 = tail call ptr @spi_get_device_id(ptr noundef %0) #2 %10 = load ptr, ptr @ad7124_chip_info_tbl, align 8, !tbaa !10 %11 = load i64, ptr %9, align 8, !tbaa !12 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = getelementptr inbounds i8, ptr %8, i64 16 store ptr %12, ptr %13, align 8, !tbaa !15 %14 = getelementptr inbounds i8, ptr %8, i64 12 %15 = tail call i32 @ad_sd_init(ptr noundef nonnull %14, ptr noundef nonnull %2, ptr noundef %0, ptr noundef nonnull @ad7124_sigma_delta_info) #2 %16 = tail call i32 @spi_set_drvdata(ptr noundef %0, ptr noundef nonnull %2) #2 %17 = getelementptr inbounds i8, ptr %2, i64 16 store ptr %0, ptr %17, align 8, !tbaa !17 %18 = tail call ptr @spi_get_device_id(ptr noundef %0) #2 %19 = getelementptr inbounds i8, ptr %18, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !20 %21 = getelementptr inbounds i8, ptr %2, i64 12 store i32 %20, ptr %21, align 4, !tbaa !21 %22 = load i32, ptr @INDIO_DIRECT_MODE, align 4, !tbaa !6 %23 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %22, ptr %23, align 8, !tbaa !22 store ptr @ad7124_info, ptr %2, align 8, !tbaa !23 %24 = load i32, ptr %0, align 4, !tbaa !24 %25 = tail call i32 @ad7124_of_parse_channel_config(ptr noundef nonnull %2, i32 noundef %24) #2 %26 = icmp slt i32 %25, 0 br i1 %26, label %119, label %27 27: ; preds = %7 %28 = load ptr, ptr %8, align 8, !tbaa !27 %29 = tail call i32 @ARRAY_SIZE(ptr noundef %28) #2 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %67 31: ; preds = %27, %61 %32 = phi i64 [ %62, %61 ], [ 0, %27 ] %33 = load i32, ptr @AD7124_INT_REF, align 4, !tbaa !6 %34 = zext i32 %33 to i64 %35 = icmp eq i64 %32, %34 br i1 %35, label %61, label %36 36: ; preds = %31 %37 = load ptr, ptr @ad7124_ref_names, align 8, !tbaa !10 %38 = getelementptr inbounds i32, ptr %37, i64 %32 %39 = load i32, ptr %38, align 4, !tbaa !6 %40 = tail call i32 @devm_regulator_get_optional(ptr noundef nonnull %0, i32 noundef %39) #2 %41 = load ptr, ptr %8, align 8, !tbaa !27 %42 = getelementptr inbounds i32, ptr %41, i64 %32 store i32 %40, ptr %42, align 4, !tbaa !6 %43 = tail call i32 @PTR_ERR(i32 noundef %40) #2 %44 = load i32, ptr @ENODEV, align 4, !tbaa !6 %45 = sub nsw i32 0, %44 %46 = icmp eq i32 %43, %45 br i1 %46, label %61, label %47 47: ; preds = %36 %48 = load ptr, ptr %8, align 8, !tbaa !27 %49 = getelementptr inbounds i32, ptr %48, i64 %32 %50 = load i32, ptr %49, align 4, !tbaa !6 %51 = tail call i64 @IS_ERR(i32 noundef %50) #2 %52 = icmp eq i64 %51, 0 %53 = load ptr, ptr %8, align 8, !tbaa !27 %54 = getelementptr inbounds i32, ptr %53, i64 %32 %55 = load i32, ptr %54, align 4, !tbaa !6 br i1 %52, label %58, label %56 56: ; preds = %47 %57 = tail call i32 @PTR_ERR(i32 noundef %55) #2 br label %119 58: ; preds = %47 %59 = tail call i32 @regulator_enable(i32 noundef %55) #2 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %119 61: ; preds = %58, %36, %31 %62 = add nuw nsw i64 %32, 1 %63 = load ptr, ptr %8, align 8, !tbaa !27 %64 = tail call i32 @ARRAY_SIZE(ptr noundef %63) #2 %65 = sext i32 %64 to i64 %66 = icmp slt i64 %62, %65 br i1 %66, label %31, label %67, !llvm.loop !28 67: ; preds = %61, %27 %68 = tail call i32 @devm_clk_get(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %69 = getelementptr inbounds i8, ptr %8, i64 8 store i32 %68, ptr %69, align 8, !tbaa !30 %70 = tail call i64 @IS_ERR(i32 noundef %68) #2 %71 = icmp eq i64 %70, 0 %72 = load i32, ptr %69, align 8, !tbaa !30 br i1 %71, label %75, label %73 73: ; preds = %67 %74 = tail call i32 @PTR_ERR(i32 noundef %72) #2 br label %97 75: ; preds = %67 %76 = tail call i32 @clk_prepare_enable(i32 noundef %72) #2 %77 = icmp slt i32 %76, 0 br i1 %77, label %97, label %78 78: ; preds = %75 %79 = tail call i32 @ad7124_soft_reset(ptr noundef nonnull %8) #2 %80 = icmp slt i32 %79, 0 br i1 %80, label %93, label %81 81: ; preds = %78 %82 = tail call i32 @ad7124_setup(ptr noundef nonnull %8) #2 %83 = icmp slt i32 %82, 0 br i1 %83, label %93, label %84 84: ; preds = %81 %85 = tail call i32 @ad_sd_setup_buffer_and_trigger(ptr noundef nonnull %2) #2 %86 = icmp slt i32 %85, 0 br i1 %86, label %93, label %87 87: ; preds = %84 %88 = tail call i32 @iio_device_register(ptr noundef nonnull %2) #2 %89 = icmp slt i32 %88, 0 br i1 %89, label %90, label %119 90: ; preds = %87 %91 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2 %92 = tail call i32 @ad_sd_cleanup_buffer_and_trigger(ptr noundef nonnull %2) #2 br label %93 93: ; preds = %84, %81, %78, %90 %94 = phi i32 [ %79, %78 ], [ %82, %81 ], [ %85, %84 ], [ %88, %90 ] %95 = load i32, ptr %69, align 8, !tbaa !30 %96 = tail call i32 @clk_disable_unprepare(i32 noundef %95) #2 br label %97 97: ; preds = %75, %93, %73 %98 = phi i32 [ %74, %73 ], [ %76, %75 ], [ %94, %93 ] %99 = load ptr, ptr %8, align 8, !tbaa !27 %100 = tail call i32 @ARRAY_SIZE(ptr noundef %99) #2 %101 = icmp sgt i32 %100, 0 br i1 %101, label %102, label %119 102: ; preds = %97 %103 = zext nneg i32 %100 to i64 br label %104 104: ; preds = %102, %117 %105 = phi i64 [ %103, %102 ], [ %106, %117 ] %106 = add nsw i64 %105, -1 %107 = load ptr, ptr %8, align 8, !tbaa !27 %108 = getelementptr inbounds i32, ptr %107, i64 %106 %109 = load i32, ptr %108, align 4, !tbaa !6 %110 = tail call i32 @IS_ERR_OR_NULL(i32 noundef %109) #2 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %117 112: ; preds = %104 %113 = load ptr, ptr %8, align 8, !tbaa !27 %114 = getelementptr inbounds i32, ptr %113, i64 %106 %115 = load i32, ptr %114, align 4, !tbaa !6 %116 = tail call i32 @regulator_disable(i32 noundef %115) #2 br label %117 117: ; preds = %104, %112 %118 = icmp ugt i64 %105, 1 br i1 %118, label %104, label %119, !llvm.loop !31 119: ; preds = %58, %117, %97, %87, %7, %56, %4 %120 = phi i32 [ %57, %56 ], [ %6, %4 ], [ %25, %7 ], [ 0, %87 ], [ %98, %97 ], [ %98, %117 ], [ %59, %58 ] ret i32 %120 } declare ptr @devm_iio_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare ptr @spi_get_device_id(ptr noundef) local_unnamed_addr #1 declare i32 @ad_sd_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spi_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ad7124_of_parse_channel_config(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @devm_regulator_get_optional(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @regulator_enable(i32 noundef) local_unnamed_addr #1 declare i32 @devm_clk_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1 declare i32 @ad7124_soft_reset(ptr noundef) local_unnamed_addr #1 declare i32 @ad7124_setup(ptr noundef) local_unnamed_addr #1 declare i32 @ad_sd_setup_buffer_and_trigger(ptr noundef) local_unnamed_addr #1 declare i32 @iio_device_register(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ad_sd_cleanup_buffer_and_trigger(ptr noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR_OR_NULL(i32 noundef) local_unnamed_addr #1 declare i32 @regulator_disable(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"spi_device_id", !14, i64 0, !7, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!16, !11, i64 16} !16 = !{!"ad7124_state", !11, i64 0, !7, i64 8, !7, i64 12, !11, i64 16} !17 = !{!18, !11, i64 16} !18 = !{!"iio_dev", !11, i64 0, !7, i64 8, !7, i64 12, !19, i64 16} !19 = !{!"TYPE_6__", !11, i64 0} !20 = !{!13, !7, i64 8} !21 = !{!18, !7, i64 12} !22 = !{!18, !7, i64 8} !23 = !{!18, !11, i64 0} !24 = !{!25, !7, i64 0} !25 = !{!"spi_device", !26, i64 0} !26 = !{!"TYPE_7__", !7, i64 0} !27 = !{!16, !11, i64 0} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!16, !7, i64 8} !31 = distinct !{!31, !29}
linux_drivers_iio_adc_extr_ad7124.c_ad7124_probe
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/pem/extr_pem_lib.c_get_header_and_data.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/pem/extr_pem_lib.c_get_header_and_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" @MAYBE_HEADER = dso_local local_unnamed_addr global i32 0, align 4 @LINESIZE = dso_local local_unnamed_addr global i64 0, align 8 @PEM_F_GET_HEADER_AND_DATA = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @PEM_R_SHORT_HEADER = dso_local local_unnamed_addr global i32 0, align 4 @IN_HEADER = dso_local local_unnamed_addr global i32 0, align 4 @endstr = dso_local local_unnamed_addr global ptr null, align 8 @ENDLEN = dso_local local_unnamed_addr global i32 0, align 4 @PEM_FLAG_ONLY_B64 = dso_local local_unnamed_addr global i32 0, align 4 @POST_HEADER = dso_local local_unnamed_addr global i32 0, align 4 @PEM_R_BAD_END_LINE = dso_local local_unnamed_addr global i32 0, align 4 @tailstr = dso_local local_unnamed_addr global ptr null, align 8 @TAILLEN = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_header_and_data], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @get_header_and_data(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = load i32, ptr @MAYBE_HEADER, align 4, !tbaa !9 %8 = load i64, ptr @LINESIZE, align 8, !tbaa !11 %9 = add nsw i64 %8, 1 %10 = tail call ptr @pem_malloc(i64 noundef %9, i32 noundef %4) #3 %11 = icmp eq ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %5 %13 = load i64, ptr @LINESIZE, align 8, !tbaa !11 %14 = tail call i32 @BIO_gets(ptr noundef %0, ptr noundef nonnull %10, i64 noundef %13) #3 %15 = icmp slt i32 %14, 1 br i1 %15, label %20, label %24 16: ; preds = %5 %17 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !9 %18 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !9 %19 = tail call i32 @PEMerr(i32 noundef %17, i32 noundef %18) #3 br label %119 20: ; preds = %107, %12 %21 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !9 %22 = load i32, ptr @PEM_R_SHORT_HEADER, align 4, !tbaa !9 %23 = tail call i32 @PEMerr(i32 noundef %21, i32 noundef %22) #3 br label %114 24: ; preds = %12, %107 %25 = phi i32 [ %112, %107 ], [ %14, %12 ] %26 = phi i32 [ %110, %107 ], [ %7, %12 ] %27 = phi i32 [ %109, %107 ], [ 0, %12 ] %28 = phi ptr [ %108, %107 ], [ %6, %12 ] %29 = load i32, ptr @MAYBE_HEADER, align 4, !tbaa !9 %30 = icmp eq i32 %26, %29 br i1 %30, label %31, label %36 31: ; preds = %24 %32 = tail call ptr @memchr(ptr noundef nonnull %10, i8 noundef signext 58, i32 noundef %25) #3 %33 = icmp eq ptr %32, null %34 = load i32, ptr @IN_HEADER, align 4 %35 = select i1 %33, i32 %26, i32 %34 br label %36 36: ; preds = %31, %24 %37 = phi i32 [ %26, %24 ], [ %35, %31 ] %38 = load ptr, ptr @endstr, align 8, !tbaa !5 %39 = load i32, ptr @ENDLEN, align 4, !tbaa !9 %40 = sext i32 %39 to i64 %41 = tail call i64 @strncmp(ptr noundef nonnull %10, ptr noundef %38, i64 noundef %40) #3 %42 = icmp eq i64 %41, 0 %43 = load i32, ptr @IN_HEADER, align 4 %44 = icmp eq i32 %37, %43 %45 = select i1 %42, i1 true, i1 %44 %46 = load i32, ptr @PEM_FLAG_ONLY_B64, align 4 %47 = xor i32 %46, -1 %48 = select i1 %45, i32 %47, i32 -1 %49 = and i32 %48, %4 %50 = tail call i32 @sanitize_line(ptr noundef nonnull %10, i32 noundef %25, i32 noundef %49) #3 %51 = load i8, ptr %10, align 1, !tbaa !13 %52 = icmp eq i8 %51, 10 br i1 %52, label %53, label %62 53: ; preds = %36 %54 = load i32, ptr @POST_HEADER, align 4, !tbaa !9 %55 = icmp eq i32 %37, %54 br i1 %55, label %56, label %60 56: ; preds = %53 %57 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !9 %58 = load i32, ptr @PEM_R_BAD_END_LINE, align 4, !tbaa !9 %59 = tail call i32 @PEMerr(i32 noundef %57, i32 noundef %58) #3 br label %114 60: ; preds = %53 %61 = load ptr, ptr %2, align 8, !tbaa !5 br label %107 62: ; preds = %36 %63 = load ptr, ptr @endstr, align 8, !tbaa !5 %64 = load i32, ptr @ENDLEN, align 4, !tbaa !9 %65 = sext i32 %64 to i64 %66 = tail call i64 @strncmp(ptr noundef nonnull %10, ptr noundef %63, i64 noundef %65) #3 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %90 68: ; preds = %62 %69 = load i32, ptr @ENDLEN, align 4, !tbaa !9 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %10, i64 %70 %72 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) %73 = tail call i64 @strncmp(ptr noundef nonnull %71, ptr noundef %3, i64 noundef %72) #3 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %81 75: ; preds = %68 %76 = getelementptr inbounds i8, ptr %71, i64 %72 %77 = load ptr, ptr @tailstr, align 8, !tbaa !5 %78 = load i64, ptr @TAILLEN, align 8, !tbaa !11 %79 = tail call i64 @strncmp(ptr noundef nonnull %76, ptr noundef %77, i64 noundef %78) #3 %80 = icmp eq i64 %79, 0 br i1 %80, label %85, label %81 81: ; preds = %75, %68 %82 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !9 %83 = load i32, ptr @PEM_R_BAD_END_LINE, align 4, !tbaa !9 %84 = tail call i32 @PEMerr(i32 noundef %82, i32 noundef %83) #3 br label %114 85: ; preds = %75 %86 = load i32, ptr @MAYBE_HEADER, align 4, !tbaa !9 %87 = icmp eq i32 %37, %86 br i1 %87, label %88, label %114 88: ; preds = %85 %89 = load ptr, ptr %2, align 8, !tbaa !5 store ptr %89, ptr %1, align 8, !tbaa !5 store ptr %28, ptr %2, align 8, !tbaa !5 br label %114 90: ; preds = %62 %91 = icmp eq i32 %27, 0 br i1 %91, label %96, label %92 92: ; preds = %90 %93 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !9 %94 = load i32, ptr @PEM_R_BAD_END_LINE, align 4, !tbaa !9 %95 = tail call i32 @PEMerr(i32 noundef %93, i32 noundef %94) #3 br label %114 96: ; preds = %90 %97 = tail call i64 @BIO_puts(ptr noundef %28, ptr noundef nonnull %10) #3 %98 = icmp slt i64 %97, 0 br i1 %98, label %114, label %99 99: ; preds = %96 %100 = load i32, ptr @POST_HEADER, align 4, !tbaa !9 %101 = icmp eq i32 %37, %100 br i1 %101, label %102, label %107 102: ; preds = %99 %103 = icmp sgt i32 %50, 65 br i1 %103, label %114, label %104 104: ; preds = %102 %105 = icmp ne i32 %50, 65 %106 = zext i1 %105 to i32 br label %107 107: ; preds = %104, %99, %60 %108 = phi ptr [ %61, %60 ], [ %28, %99 ], [ %28, %104 ] %109 = phi i32 [ %27, %60 ], [ 0, %99 ], [ %106, %104 ] %110 = phi i32 [ %54, %60 ], [ %37, %99 ], [ %37, %104 ] %111 = load i64, ptr @LINESIZE, align 8, !tbaa !11 %112 = tail call i32 @BIO_gets(ptr noundef %0, ptr noundef nonnull %10, i64 noundef %111) #3 %113 = icmp slt i32 %112, 1 br i1 %113, label %20, label %24 114: ; preds = %102, %96, %88, %85, %92, %81, %56, %20 %115 = phi i32 [ 0, %20 ], [ 0, %56 ], [ 0, %81 ], [ 0, %92 ], [ 1, %85 ], [ 1, %88 ], [ 0, %96 ], [ 0, %102 ] %116 = load i64, ptr @LINESIZE, align 8, !tbaa !11 %117 = add nsw i64 %116, 1 %118 = tail call i32 @pem_free(ptr noundef nonnull %10, i32 noundef %4, i64 noundef %117) #3 br label %119 119: ; preds = %114, %16 %120 = phi i32 [ 0, %16 ], [ %115, %114 ] ret i32 %120 } declare ptr @pem_malloc(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PEMerr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIO_gets(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @sanitize_line(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i64 @BIO_puts(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pem_free(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/pem/extr_pem_lib.c_get_header_and_data.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/pem/extr_pem_lib.c_get_header_and_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAYBE_HEADER = common local_unnamed_addr global i32 0, align 4 @LINESIZE = common local_unnamed_addr global i64 0, align 8 @PEM_F_GET_HEADER_AND_DATA = common local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4 @PEM_R_SHORT_HEADER = common local_unnamed_addr global i32 0, align 4 @IN_HEADER = common local_unnamed_addr global i32 0, align 4 @endstr = common local_unnamed_addr global ptr null, align 8 @ENDLEN = common local_unnamed_addr global i32 0, align 4 @PEM_FLAG_ONLY_B64 = common local_unnamed_addr global i32 0, align 4 @POST_HEADER = common local_unnamed_addr global i32 0, align 4 @PEM_R_BAD_END_LINE = common local_unnamed_addr global i32 0, align 4 @tailstr = common local_unnamed_addr global ptr null, align 8 @TAILLEN = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @get_header_and_data], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @get_header_and_data(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = load i32, ptr @MAYBE_HEADER, align 4, !tbaa !10 %8 = load i64, ptr @LINESIZE, align 8, !tbaa !12 %9 = add nsw i64 %8, 1 %10 = tail call ptr @pem_malloc(i64 noundef %9, i32 noundef %4) #3 %11 = icmp eq ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %5 %13 = load i64, ptr @LINESIZE, align 8, !tbaa !12 %14 = tail call i32 @BIO_gets(ptr noundef %0, ptr noundef nonnull %10, i64 noundef %13) #3 %15 = icmp slt i32 %14, 1 br i1 %15, label %20, label %24 16: ; preds = %5 %17 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !10 %18 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !10 %19 = tail call i32 @PEMerr(i32 noundef %17, i32 noundef %18) #3 br label %119 20: ; preds = %107, %12 %21 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !10 %22 = load i32, ptr @PEM_R_SHORT_HEADER, align 4, !tbaa !10 %23 = tail call i32 @PEMerr(i32 noundef %21, i32 noundef %22) #3 br label %114 24: ; preds = %12, %107 %25 = phi i32 [ %112, %107 ], [ %14, %12 ] %26 = phi i32 [ %110, %107 ], [ %7, %12 ] %27 = phi i32 [ %109, %107 ], [ 0, %12 ] %28 = phi ptr [ %108, %107 ], [ %6, %12 ] %29 = load i32, ptr @MAYBE_HEADER, align 4, !tbaa !10 %30 = icmp eq i32 %26, %29 br i1 %30, label %31, label %36 31: ; preds = %24 %32 = tail call ptr @memchr(ptr noundef nonnull %10, i8 noundef signext 58, i32 noundef %25) #3 %33 = icmp eq ptr %32, null %34 = load i32, ptr @IN_HEADER, align 4 %35 = select i1 %33, i32 %26, i32 %34 br label %36 36: ; preds = %31, %24 %37 = phi i32 [ %26, %24 ], [ %35, %31 ] %38 = load ptr, ptr @endstr, align 8, !tbaa !6 %39 = load i32, ptr @ENDLEN, align 4, !tbaa !10 %40 = sext i32 %39 to i64 %41 = tail call i64 @strncmp(ptr noundef nonnull %10, ptr noundef %38, i64 noundef %40) #3 %42 = icmp eq i64 %41, 0 %43 = load i32, ptr @IN_HEADER, align 4 %44 = icmp eq i32 %37, %43 %45 = select i1 %42, i1 true, i1 %44 %46 = load i32, ptr @PEM_FLAG_ONLY_B64, align 4 %47 = xor i32 %46, -1 %48 = select i1 %45, i32 %47, i32 -1 %49 = and i32 %48, %4 %50 = tail call i32 @sanitize_line(ptr noundef nonnull %10, i32 noundef %25, i32 noundef %49) #3 %51 = load i8, ptr %10, align 1, !tbaa !14 %52 = icmp eq i8 %51, 10 br i1 %52, label %53, label %62 53: ; preds = %36 %54 = load i32, ptr @POST_HEADER, align 4, !tbaa !10 %55 = icmp eq i32 %37, %54 br i1 %55, label %56, label %60 56: ; preds = %53 %57 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !10 %58 = load i32, ptr @PEM_R_BAD_END_LINE, align 4, !tbaa !10 %59 = tail call i32 @PEMerr(i32 noundef %57, i32 noundef %58) #3 br label %114 60: ; preds = %53 %61 = load ptr, ptr %2, align 8, !tbaa !6 br label %107 62: ; preds = %36 %63 = load ptr, ptr @endstr, align 8, !tbaa !6 %64 = load i32, ptr @ENDLEN, align 4, !tbaa !10 %65 = sext i32 %64 to i64 %66 = tail call i64 @strncmp(ptr noundef nonnull %10, ptr noundef %63, i64 noundef %65) #3 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %90 68: ; preds = %62 %69 = load i32, ptr @ENDLEN, align 4, !tbaa !10 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %10, i64 %70 %72 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) %73 = tail call i64 @strncmp(ptr noundef nonnull %71, ptr noundef %3, i64 noundef %72) #3 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %81 75: ; preds = %68 %76 = getelementptr inbounds i8, ptr %71, i64 %72 %77 = load ptr, ptr @tailstr, align 8, !tbaa !6 %78 = load i64, ptr @TAILLEN, align 8, !tbaa !12 %79 = tail call i64 @strncmp(ptr noundef nonnull %76, ptr noundef %77, i64 noundef %78) #3 %80 = icmp eq i64 %79, 0 br i1 %80, label %85, label %81 81: ; preds = %75, %68 %82 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !10 %83 = load i32, ptr @PEM_R_BAD_END_LINE, align 4, !tbaa !10 %84 = tail call i32 @PEMerr(i32 noundef %82, i32 noundef %83) #3 br label %114 85: ; preds = %75 %86 = load i32, ptr @MAYBE_HEADER, align 4, !tbaa !10 %87 = icmp eq i32 %37, %86 br i1 %87, label %88, label %114 88: ; preds = %85 %89 = load ptr, ptr %2, align 8, !tbaa !6 store ptr %89, ptr %1, align 8, !tbaa !6 store ptr %28, ptr %2, align 8, !tbaa !6 br label %114 90: ; preds = %62 %91 = icmp eq i32 %27, 0 br i1 %91, label %96, label %92 92: ; preds = %90 %93 = load i32, ptr @PEM_F_GET_HEADER_AND_DATA, align 4, !tbaa !10 %94 = load i32, ptr @PEM_R_BAD_END_LINE, align 4, !tbaa !10 %95 = tail call i32 @PEMerr(i32 noundef %93, i32 noundef %94) #3 br label %114 96: ; preds = %90 %97 = tail call i64 @BIO_puts(ptr noundef %28, ptr noundef nonnull %10) #3 %98 = icmp slt i64 %97, 0 br i1 %98, label %114, label %99 99: ; preds = %96 %100 = load i32, ptr @POST_HEADER, align 4, !tbaa !10 %101 = icmp eq i32 %37, %100 br i1 %101, label %102, label %107 102: ; preds = %99 %103 = icmp sgt i32 %50, 65 br i1 %103, label %114, label %104 104: ; preds = %102 %105 = icmp ne i32 %50, 65 %106 = zext i1 %105 to i32 br label %107 107: ; preds = %104, %99, %60 %108 = phi ptr [ %61, %60 ], [ %28, %99 ], [ %28, %104 ] %109 = phi i32 [ %27, %60 ], [ 0, %99 ], [ %106, %104 ] %110 = phi i32 [ %54, %60 ], [ %37, %99 ], [ %37, %104 ] %111 = load i64, ptr @LINESIZE, align 8, !tbaa !12 %112 = tail call i32 @BIO_gets(ptr noundef %0, ptr noundef nonnull %10, i64 noundef %111) #3 %113 = icmp slt i32 %112, 1 br i1 %113, label %20, label %24 114: ; preds = %102, %96, %88, %85, %92, %81, %56, %20 %115 = phi i32 [ 0, %20 ], [ 0, %56 ], [ 0, %81 ], [ 0, %92 ], [ 1, %85 ], [ 1, %88 ], [ 0, %96 ], [ 0, %102 ] %116 = load i64, ptr @LINESIZE, align 8, !tbaa !12 %117 = add nsw i64 %116, 1 %118 = tail call i32 @pem_free(ptr noundef nonnull %10, i32 noundef %4, i64 noundef %117) #3 br label %119 119: ; preds = %114, %16 %120 = phi i32 [ 0, %16 ], [ %115, %114 ] ret i32 %120 } declare ptr @pem_malloc(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PEMerr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIO_gets(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @sanitize_line(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i64 @BIO_puts(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pem_free(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!8, !8, i64 0}
freebsd_crypto_openssl_crypto_pem_extr_pem_lib.c_get_header_and_data
; ModuleID = 'AnghaBench/FFmpeg/fftools/extr_ffmpeg_opt.c_parse_matrix_coeffs.c' source_filename = "AnghaBench/FFmpeg/fftools/extr_ffmpeg_opt.c_parse_matrix_coeffs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AV_LOG_FATAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"Syntax error in matrix \22%s\22 at coeff %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_matrix_coeffs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @parse_matrix_coeffs(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { %3 = tail call i32 @atoi(ptr nocapture noundef %1) store i32 %3, ptr %0, align 4, !tbaa !5 br label %4 4: ; preds = %2, %14 %5 = phi i64 [ 0, %2 ], [ %16, %14 ] %6 = phi ptr [ %1, %2 ], [ %15, %14 ] %7 = tail call ptr @strchr(ptr noundef %6, i8 noundef signext 44) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %4 %10 = load i32, ptr @AV_LOG_FATAL, align 4, !tbaa !5 %11 = trunc i64 %5 to i32 %12 = tail call i32 @av_log(ptr noundef null, i32 noundef %10, ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %11) #3 %13 = tail call i32 @exit_program(i32 noundef 1) #3 br label %14 14: ; preds = %9, %4 %15 = getelementptr inbounds i8, ptr %7, i64 1 %16 = add nuw nsw i64 %5, 1 %17 = tail call i32 @atoi(ptr nocapture noundef nonnull %15) %18 = getelementptr inbounds i32, ptr %0, i64 %16 store i32 %17, ptr %18, align 4, !tbaa !5 %19 = icmp eq i64 %16, 63 br i1 %19, label %20, label %4 20: ; preds = %14 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #1 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @exit_program(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/FFmpeg/fftools/extr_ffmpeg_opt.c_parse_matrix_coeffs.c' source_filename = "AnghaBench/FFmpeg/fftools/extr_ffmpeg_opt.c_parse_matrix_coeffs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV_LOG_FATAL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"Syntax error in matrix \22%s\22 at coeff %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @parse_matrix_coeffs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @parse_matrix_coeffs(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { %3 = tail call i32 @atoi(ptr nocapture noundef %1) store i32 %3, ptr %0, align 4, !tbaa !6 br label %4 4: ; preds = %2, %14 %5 = phi i64 [ 0, %2 ], [ %16, %14 ] %6 = phi ptr [ %1, %2 ], [ %15, %14 ] %7 = tail call ptr @strchr(ptr noundef %6, i8 noundef signext 44) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %4 %10 = load i32, ptr @AV_LOG_FATAL, align 4, !tbaa !6 %11 = trunc nuw nsw i64 %5 to i32 %12 = tail call i32 @av_log(ptr noundef null, i32 noundef %10, ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %11) #3 %13 = tail call i32 @exit_program(i32 noundef 1) #3 br label %14 14: ; preds = %9, %4 %15 = getelementptr inbounds i8, ptr %7, i64 1 %16 = add nuw nsw i64 %5, 1 %17 = tail call i32 @atoi(ptr nocapture noundef nonnull %15) %18 = getelementptr inbounds i32, ptr %0, i64 %16 store i32 %17, ptr %18, align 4, !tbaa !6 %19 = icmp eq i64 %16, 63 br i1 %19, label %20, label %4 20: ; preds = %14 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #1 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @exit_program(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
FFmpeg_fftools_extr_ffmpeg_opt.c_parse_matrix_coeffs
; ModuleID = 'AnghaBench/linux/net/dccp/extr_qpolicy.c_dccp_qpolicy_full.c' source_filename = "AnghaBench/linux/net/dccp/extr_qpolicy.c_dccp_qpolicy_full.c" target datalayout = "e-m:e-p270:32:32-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 } @qpol_table = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @dccp_qpolicy_full(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @qpol_table, align 8, !tbaa !5 %3 = tail call ptr @dccp_sk(ptr noundef %0) #2 %4 = load i64, ptr %3, align 8, !tbaa !9 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %4 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call i32 %6(ptr noundef %0) #2 ret i32 %7 } declare ptr @dccp_sk(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_4__", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/net/dccp/extr_qpolicy.c_dccp_qpolicy_full.c' source_filename = "AnghaBench/linux/net/dccp/extr_qpolicy.c_dccp_qpolicy_full.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { ptr } @qpol_table = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dccp_qpolicy_full(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @qpol_table, align 8, !tbaa !6 %3 = tail call ptr @dccp_sk(ptr noundef %0) #2 %4 = load i64, ptr %3, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %4 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = tail call i32 %6(ptr noundef %0) #2 ret i32 %7 } declare ptr @dccp_sk(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_4__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_3__", !7, i64 0}
linux_net_dccp_extr_qpolicy.c_dccp_qpolicy_full
; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/extr_if_ath_tx.c_ath_tx_tid_cleanup_frame.c' source_filename = "AnghaBench/freebsd/sys/dev/ath/extr_if_ath_tx.c_ath_tx_tid_cleanup_frame.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ath_tid = type { i32 } %struct.ath_buf = type { ptr, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64, i64 } @bf_list = dso_local local_unnamed_addr global i32 0, align 4 @ath_tx_normal_comp = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ath_tx_tid_cleanup_frame], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ath_tx_tid_cleanup_frame(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = sext i32 %2 to i64 %8 = getelementptr inbounds %struct.ath_tid, ptr %6, i64 %7 %9 = tail call i32 @ATH_TX_LOCK_ASSERT(ptr noundef %0) #2 %10 = load i32, ptr @bf_list, align 4, !tbaa !10 %11 = tail call i32 @ATH_TID_REMOVE(ptr noundef %8, ptr noundef %3, i32 noundef %10) #2 %12 = icmp eq ptr %3, null br i1 %12, label %28, label %13 13: ; preds = %5, %22 %14 = phi ptr [ %15, %22 ], [ %3, %5 ] %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = getelementptr inbounds %struct.ath_buf, ptr %14, i64 0, i32 2, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !16 %18 = icmp eq i64 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %13 %20 = getelementptr inbounds %struct.ath_buf, ptr %14, i64 0, i32 2 %21 = tail call i32 @ath_tx_update_baw(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %8, ptr noundef nonnull %14) #2 store i64 0, ptr %20, align 8, !tbaa !17 br label %22 22: ; preds = %19, %13 %23 = load i32, ptr @ath_tx_normal_comp, align 4, !tbaa !10 %24 = getelementptr inbounds %struct.ath_buf, ptr %14, i64 0, i32 1 store i32 %23, ptr %24, align 8, !tbaa !18 store ptr null, ptr %14, align 8, !tbaa !12 %25 = load i32, ptr @bf_list, align 4, !tbaa !10 %26 = tail call i32 @TAILQ_INSERT_TAIL(ptr noundef %4, ptr noundef nonnull %14, i32 noundef %25) #2 %27 = icmp eq ptr %15, null br i1 %27, label %28, label %13, !llvm.loop !19 28: ; preds = %22, %5 ret void } declare i32 @ATH_TX_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare i32 @ATH_TID_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath_tx_update_baw(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TAILQ_INSERT_TAIL(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 = !{!"ath_node", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"ath_buf", !7, i64 0, !11, i64 8, !14, i64 16} !14 = !{!"TYPE_2__", !15, i64 0, !15, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!13, !15, i64 24} !17 = !{!13, !15, i64 16} !18 = !{!13, !11, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/extr_if_ath_tx.c_ath_tx_tid_cleanup_frame.c' source_filename = "AnghaBench/freebsd/sys/dev/ath/extr_if_ath_tx.c_ath_tx_tid_cleanup_frame.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ath_tid = type { i32 } @bf_list = common local_unnamed_addr global i32 0, align 4 @ath_tx_normal_comp = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ath_tx_tid_cleanup_frame], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ath_tx_tid_cleanup_frame(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = sext i32 %2 to i64 %8 = getelementptr inbounds %struct.ath_tid, ptr %6, i64 %7 %9 = tail call i32 @ATH_TX_LOCK_ASSERT(ptr noundef %0) #2 %10 = load i32, ptr @bf_list, align 4, !tbaa !11 %11 = tail call i32 @ATH_TID_REMOVE(ptr noundef %8, ptr noundef %3, i32 noundef %10) #2 %12 = icmp eq ptr %3, null br i1 %12, label %28, label %13 13: ; preds = %5, %22 %14 = phi ptr [ %15, %22 ], [ %3, %5 ] %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = getelementptr inbounds i8, ptr %14, i64 24 %17 = load i64, ptr %16, align 8, !tbaa !17 %18 = icmp eq i64 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %13 %20 = getelementptr inbounds i8, ptr %14, i64 16 %21 = tail call i32 @ath_tx_update_baw(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %8, ptr noundef nonnull %14) #2 store i64 0, ptr %20, align 8, !tbaa !18 br label %22 22: ; preds = %19, %13 %23 = load i32, ptr @ath_tx_normal_comp, align 4, !tbaa !11 %24 = getelementptr inbounds i8, ptr %14, i64 8 store i32 %23, ptr %24, align 8, !tbaa !19 store ptr null, ptr %14, align 8, !tbaa !13 %25 = load i32, ptr @bf_list, align 4, !tbaa !11 %26 = tail call i32 @TAILQ_INSERT_TAIL(ptr noundef %4, ptr noundef nonnull %14, i32 noundef %25) #2 %27 = icmp eq ptr %15, null br i1 %27, label %28, label %13, !llvm.loop !20 28: ; preds = %22, %5 ret void } declare i32 @ATH_TX_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1 declare i32 @ATH_TID_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath_tx_update_baw(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TAILQ_INSERT_TAIL(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 = !{!"ath_node", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"ath_buf", !8, i64 0, !12, i64 8, !15, i64 16} !15 = !{!"TYPE_2__", !16, i64 0, !16, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!14, !16, i64 24} !18 = !{!14, !16, i64 16} !19 = !{!14, !12, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_ath_extr_if_ath_tx.c_ath_tx_tid_cleanup_frame
; ModuleID = 'AnghaBench/freebsd/sys/opencrypto/extr_crypto.c_crypto_get_driverid.c' source_filename = "AnghaBench/freebsd/sys/opencrypto/extr_crypto.c_crypto_get_driverid.c" target datalayout = "e-m:e-p270:32:32-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.cryptocap = type { i32, i32, i64, ptr } @CRYPTOCAP_F_HARDWARE = dso_local local_unnamed_addr global i32 0, align 4 @CRYPTOCAP_F_SOFTWARE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [48 x i8] c"%s: no flags specified when registering driver\0A\00", align 1 @crypto_drivers_num = dso_local local_unnamed_addr global i32 0, align 4 @crypto_drivers = dso_local local_unnamed_addr global ptr null, align 8 @CRYPTOCAP_F_CLEANUP = dso_local local_unnamed_addr global i32 0, align 4 @M_CRYPTO_DATA = dso_local local_unnamed_addr global i32 0, align 4 @M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @M_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @bootverbose = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [44 x i8] c"crypto: assign %s driver id %u, flags 0x%x\0A\00", align 1 @str = private unnamed_addr constant [41 x i8] c"crypto: no space to expand driver table!\00", align 1 @str.4 = private unnamed_addr constant [33 x i8] c"crypto: driver count wraparound!\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @crypto_get_driverid(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @CRYPTOCAP_F_HARDWARE, align 4, !tbaa !5 %5 = load i32, ptr @CRYPTOCAP_F_SOFTWARE, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = and i32 %6, %2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = tail call ptr @device_get_nameunit(ptr noundef %0) #4 %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %10) br label %84 12: ; preds = %3 %13 = tail call i32 (...) @CRYPTO_DRIVER_LOCK() #4 %14 = load i32, ptr @crypto_drivers_num, align 4, !tbaa !5 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %35 16: ; preds = %12 %17 = load ptr, ptr @crypto_drivers, align 8, !tbaa !9 %18 = load i32, ptr @CRYPTOCAP_F_CLEANUP, align 4 %19 = zext nneg i32 %14 to i64 br label %20 20: ; preds = %16, %30 %21 = phi i64 [ 0, %16 ], [ %31, %30 ] %22 = getelementptr inbounds %struct.cryptocap, ptr %17, i64 %21, i32 3 %23 = load ptr, ptr %22, align 8, !tbaa !11 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %30 25: ; preds = %20 %26 = getelementptr inbounds %struct.cryptocap, ptr %17, i64 %21 %27 = load i32, ptr %26, align 8, !tbaa !14 %28 = and i32 %18, %27 %29 = icmp eq i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %20, %25 %31 = add nuw nsw i64 %21, 1 %32 = icmp eq i64 %31, %19 br i1 %32, label %40, label %20, !llvm.loop !15 33: ; preds = %25 %34 = trunc i64 %21 to i32 br label %35 35: ; preds = %33, %12 %36 = phi i32 [ 0, %12 ], [ %34, %33 ] %37 = icmp eq i32 %36, %14 br i1 %37, label %40, label %38 38: ; preds = %35 %39 = load ptr, ptr @crypto_drivers, align 8, !tbaa !9 br label %68 40: ; preds = %30, %35 %41 = phi i32 [ %36, %35 ], [ %14, %30 ] %42 = shl nsw i32 %14, 1 %43 = icmp sgt i32 %42, %14 br i1 %43, label %47, label %44 44: ; preds = %40 %45 = tail call i32 (...) @CRYPTO_DRIVER_UNLOCK() #4 %46 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.4) br label %84 47: ; preds = %40 %48 = mul i32 %14, 48 %49 = load i32, ptr @M_CRYPTO_DATA, align 4, !tbaa !5 %50 = load i32, ptr @M_NOWAIT, align 4, !tbaa !5 %51 = load i32, ptr @M_ZERO, align 4, !tbaa !5 %52 = or i32 %51, %50 %53 = tail call ptr @malloc(i32 noundef %48, i32 noundef %49, i32 noundef %52) #4 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %58 55: ; preds = %47 %56 = tail call i32 (...) @CRYPTO_DRIVER_UNLOCK() #4 %57 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) br label %84 58: ; preds = %47 %59 = load ptr, ptr @crypto_drivers, align 8, !tbaa !9 %60 = load i32, ptr @crypto_drivers_num, align 4, !tbaa !5 %61 = mul i32 %60, 24 %62 = tail call i32 @bcopy(ptr noundef %59, ptr noundef nonnull %53, i32 noundef %61) #4 %63 = load i32, ptr @crypto_drivers_num, align 4, !tbaa !5 %64 = shl nsw i32 %63, 1 store i32 %64, ptr @crypto_drivers_num, align 4, !tbaa !5 %65 = load ptr, ptr @crypto_drivers, align 8, !tbaa !9 %66 = load i32, ptr @M_CRYPTO_DATA, align 4, !tbaa !5 %67 = tail call i32 @free(ptr noundef %65, i32 noundef %66) #4 store ptr %53, ptr @crypto_drivers, align 8, !tbaa !9 br label %68 68: ; preds = %38, %58 %69 = phi i32 [ %36, %38 ], [ %41, %58 ] %70 = phi ptr [ %39, %38 ], [ %53, %58 ] %71 = zext nneg i32 %69 to i64 %72 = getelementptr inbounds %struct.cryptocap, ptr %70, i64 %71, i32 1 store i32 1, ptr %72, align 4, !tbaa !17 %73 = getelementptr inbounds %struct.cryptocap, ptr %70, i64 %71, i32 3 store ptr %0, ptr %73, align 8, !tbaa !11 %74 = load ptr, ptr @crypto_drivers, align 8, !tbaa !9 %75 = getelementptr inbounds %struct.cryptocap, ptr %74, i64 %71 store i32 %2, ptr %75, align 8, !tbaa !14 %76 = getelementptr inbounds %struct.cryptocap, ptr %74, i64 %71, i32 2 store i64 %1, ptr %76, align 8, !tbaa !18 %77 = load i64, ptr @bootverbose, align 8, !tbaa !19 %78 = icmp eq i64 %77, 0 br i1 %78, label %82, label %79 79: ; preds = %68 %80 = tail call ptr @device_get_nameunit(ptr noundef %0) #4 %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %80, i32 noundef %69, i32 noundef %2) br label %82 82: ; preds = %79, %68 %83 = tail call i32 (...) @CRYPTO_DRIVER_UNLOCK() #4 br label %84 84: ; preds = %82, %55, %44, %9 %85 = phi i32 [ -1, %9 ], [ -1, %44 ], [ -1, %55 ], [ %69, %82 ] ret i32 %85 } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare ptr @device_get_nameunit(ptr noundef) local_unnamed_addr #2 declare i32 @CRYPTO_DRIVER_LOCK(...) local_unnamed_addr #2 declare i32 @CRYPTO_DRIVER_UNLOCK(...) local_unnamed_addr #2 declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 16} !12 = !{!"cryptocap", !6, i64 0, !6, i64 4, !13, i64 8, !10, i64 16} !13 = !{!"long", !7, i64 0} !14 = !{!12, !6, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!12, !6, i64 4} !18 = !{!12, !13, i64 8} !19 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/opencrypto/extr_crypto.c_crypto_get_driverid.c' source_filename = "AnghaBench/freebsd/sys/opencrypto/extr_crypto.c_crypto_get_driverid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.cryptocap = type { i32, i32, i64, ptr } @CRYPTOCAP_F_HARDWARE = common local_unnamed_addr global i32 0, align 4 @CRYPTOCAP_F_SOFTWARE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [48 x i8] c"%s: no flags specified when registering driver\0A\00", align 1 @crypto_drivers_num = common local_unnamed_addr global i32 0, align 4 @crypto_drivers = common local_unnamed_addr global ptr null, align 8 @CRYPTOCAP_F_CLEANUP = common local_unnamed_addr global i32 0, align 4 @M_CRYPTO_DATA = common local_unnamed_addr global i32 0, align 4 @M_NOWAIT = common local_unnamed_addr global i32 0, align 4 @M_ZERO = common local_unnamed_addr global i32 0, align 4 @bootverbose = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [44 x i8] c"crypto: assign %s driver id %u, flags 0x%x\0A\00", align 1 @str = private unnamed_addr constant [41 x i8] c"crypto: no space to expand driver table!\00", align 1 @str.4 = private unnamed_addr constant [33 x i8] c"crypto: driver count wraparound!\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @crypto_get_driverid(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @CRYPTOCAP_F_HARDWARE, align 4, !tbaa !6 %5 = load i32, ptr @CRYPTOCAP_F_SOFTWARE, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = and i32 %6, %2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = tail call ptr @device_get_nameunit(ptr noundef %0) #4 %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %10) br label %84 12: ; preds = %3 %13 = tail call i32 @CRYPTO_DRIVER_LOCK() #4 %14 = load i32, ptr @crypto_drivers_num, align 4, !tbaa !6 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %35 16: ; preds = %12 %17 = load ptr, ptr @crypto_drivers, align 8, !tbaa !10 %18 = load i32, ptr @CRYPTOCAP_F_CLEANUP, align 4 %19 = zext nneg i32 %14 to i64 br label %20 20: ; preds = %16, %30 %21 = phi i64 [ 0, %16 ], [ %31, %30 ] %22 = getelementptr inbounds %struct.cryptocap, ptr %17, i64 %21 %23 = getelementptr inbounds i8, ptr %22, i64 16 %24 = load ptr, ptr %23, align 8, !tbaa !12 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %30 26: ; preds = %20 %27 = load i32, ptr %22, align 8, !tbaa !15 %28 = and i32 %18, %27 %29 = icmp eq i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %20, %26 %31 = add nuw nsw i64 %21, 1 %32 = icmp eq i64 %31, %19 br i1 %32, label %40, label %20, !llvm.loop !16 33: ; preds = %26 %34 = trunc nuw nsw i64 %21 to i32 br label %35 35: ; preds = %33, %12 %36 = phi i32 [ 0, %12 ], [ %34, %33 ] %37 = icmp eq i32 %36, %14 br i1 %37, label %40, label %38 38: ; preds = %35 %39 = load ptr, ptr @crypto_drivers, align 8, !tbaa !10 br label %68 40: ; preds = %30, %35 %41 = phi i32 [ %36, %35 ], [ %14, %30 ] %42 = shl nsw i32 %14, 1 %43 = icmp sgt i32 %42, %14 br i1 %43, label %47, label %44 44: ; preds = %40 %45 = tail call i32 @CRYPTO_DRIVER_UNLOCK() #4 %46 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.4) br label %84 47: ; preds = %40 %48 = mul i32 %14, 48 %49 = load i32, ptr @M_CRYPTO_DATA, align 4, !tbaa !6 %50 = load i32, ptr @M_NOWAIT, align 4, !tbaa !6 %51 = load i32, ptr @M_ZERO, align 4, !tbaa !6 %52 = or i32 %51, %50 %53 = tail call ptr @malloc(i32 noundef %48, i32 noundef %49, i32 noundef %52) #4 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %58 55: ; preds = %47 %56 = tail call i32 @CRYPTO_DRIVER_UNLOCK() #4 %57 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) br label %84 58: ; preds = %47 %59 = load ptr, ptr @crypto_drivers, align 8, !tbaa !10 %60 = load i32, ptr @crypto_drivers_num, align 4, !tbaa !6 %61 = mul i32 %60, 24 %62 = tail call i32 @bcopy(ptr noundef %59, ptr noundef nonnull %53, i32 noundef %61) #4 %63 = load i32, ptr @crypto_drivers_num, align 4, !tbaa !6 %64 = shl nsw i32 %63, 1 store i32 %64, ptr @crypto_drivers_num, align 4, !tbaa !6 %65 = load ptr, ptr @crypto_drivers, align 8, !tbaa !10 %66 = load i32, ptr @M_CRYPTO_DATA, align 4, !tbaa !6 %67 = tail call i32 @free(ptr noundef %65, i32 noundef %66) #4 store ptr %53, ptr @crypto_drivers, align 8, !tbaa !10 br label %68 68: ; preds = %38, %58 %69 = phi i32 [ %36, %38 ], [ %41, %58 ] %70 = phi ptr [ %39, %38 ], [ %53, %58 ] %71 = zext nneg i32 %69 to i64 %72 = getelementptr inbounds %struct.cryptocap, ptr %70, i64 %71, i32 1 store i32 1, ptr %72, align 4, !tbaa !18 %73 = getelementptr inbounds %struct.cryptocap, ptr %70, i64 %71, i32 3 store ptr %0, ptr %73, align 8, !tbaa !12 %74 = load ptr, ptr @crypto_drivers, align 8, !tbaa !10 %75 = getelementptr inbounds %struct.cryptocap, ptr %74, i64 %71 store i32 %2, ptr %75, align 8, !tbaa !15 %76 = getelementptr inbounds %struct.cryptocap, ptr %74, i64 %71, i32 2 store i64 %1, ptr %76, align 8, !tbaa !19 %77 = load i64, ptr @bootverbose, align 8, !tbaa !20 %78 = icmp eq i64 %77, 0 br i1 %78, label %82, label %79 79: ; preds = %68 %80 = tail call ptr @device_get_nameunit(ptr noundef %0) #4 %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %80, i32 noundef %69, i32 noundef %2) br label %82 82: ; preds = %79, %68 %83 = tail call i32 @CRYPTO_DRIVER_UNLOCK() #4 br label %84 84: ; preds = %82, %55, %44, %9 %85 = phi i32 [ -1, %9 ], [ -1, %44 ], [ -1, %55 ], [ %69, %82 ] ret i32 %85 } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare ptr @device_get_nameunit(ptr noundef) local_unnamed_addr #2 declare i32 @CRYPTO_DRIVER_LOCK(...) local_unnamed_addr #2 declare i32 @CRYPTO_DRIVER_UNLOCK(...) local_unnamed_addr #2 declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) 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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 16} !13 = !{!"cryptocap", !7, i64 0, !7, i64 4, !14, i64 8, !11, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!13, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!13, !7, i64 4} !19 = !{!13, !14, i64 8} !20 = !{!14, !14, i64 0}
freebsd_sys_opencrypto_extr_crypto.c_crypto_get_driverid
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_event.c_wl18xx_radar_type_decode.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_event.c_wl18xx_radar_type_decode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"REGULAR\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"CHIRP\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"N/A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @wl18xx_radar_type_decode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef nonnull ptr @wl18xx_radar_type_decode(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 130 %3 = select i1 %2, ptr @.str.1, ptr @.str.2 %4 = icmp eq i32 %0, 128 %5 = select i1 %4, ptr @.str, ptr %3 ret ptr %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_event.c_wl18xx_radar_type_decode.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_event.c_wl18xx_radar_type_decode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"REGULAR\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"CHIRP\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"N/A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @wl18xx_radar_type_decode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef nonnull ptr @wl18xx_radar_type_decode(i32 noundef %0) #0 { %2 = icmp eq i32 %0, 130 %3 = select i1 %2, ptr @.str.1, ptr @.str.2 %4 = icmp eq i32 %0, 128 %5 = select i1 %4, ptr @.str, ptr %3 ret ptr %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_wireless_ti_wl18xx_extr_event.c_wl18xx_radar_type_decode
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sunrpc/extr_sched.c_rpc_exit_task.c' source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/extr_sched.c_rpc_exit_task.c" target datalayout = "e-m:e-p270:32:32-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.rpc_task = type { ptr, i32, ptr } ; Function Attrs: nounwind uwtable define dso_local void @rpc_exit_task(ptr noundef %0) local_unnamed_addr #0 { store ptr null, ptr %0, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.rpc_task, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = icmp eq ptr %4, null br i1 %5, label %16, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.rpc_task, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !14 %9 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef %8) #2 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = icmp eq ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %6 %13 = tail call i32 @RPC_ASSASSINATED(ptr noundef nonnull %0) #2 %14 = tail call i32 @WARN_ON(i32 noundef %13) #2 %15 = tail call i32 @xprt_release(ptr noundef nonnull %0) #2 br label %16 16: ; preds = %6, %12, %1 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @RPC_ASSASSINATED(ptr noundef) local_unnamed_addr #1 declare i32 @xprt_release(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 = !{!"rpc_task", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 16} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0} !14 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sunrpc/extr_sched.c_rpc_exit_task.c' source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/extr_sched.c_rpc_exit_task.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 @rpc_exit_task(ptr noundef %0) local_unnamed_addr #0 { store ptr null, ptr %0, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !12 %4 = load ptr, ptr %3, align 8, !tbaa !13 %5 = icmp eq ptr %4, null br i1 %5, label %16, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !15 %9 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef %8) #2 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = icmp eq ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %6 %13 = tail call i32 @RPC_ASSASSINATED(ptr noundef nonnull %0) #2 %14 = tail call i32 @WARN_ON(i32 noundef %13) #2 %15 = tail call i32 @xprt_release(ptr noundef nonnull %0) #2 br label %16 16: ; preds = %6, %12, %1 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @RPC_ASSASSINATED(ptr noundef) local_unnamed_addr #1 declare i32 @xprt_release(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 = !{!"rpc_task", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 16} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0} !15 = !{!7, !11, i64 8}
fastsocket_kernel_net_sunrpc_extr_sched.c_rpc_exit_task
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_do_clear_solib.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_do_clear_solib.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @solib_cleanup_queued = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_clear_solib], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_clear_solib(ptr nocapture readnone %0) #0 { store i64 0, ptr @solib_cleanup_queued, align 8, !tbaa !5 %2 = tail call i32 (...) @clear_solib() #2 ret void } declare i32 @clear_solib(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_do_clear_solib.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_do_clear_solib.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @solib_cleanup_queued = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @do_clear_solib], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_clear_solib(ptr nocapture readnone %0) #0 { store i64 0, ptr @solib_cleanup_queued, align 8, !tbaa !6 %2 = tail call i32 @clear_solib() #2 ret void } declare i32 @clear_solib(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gdb_gdb_extr_solib.c_do_clear_solib
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12(i32 noundef %0) #0 { %2 = load i32, ptr @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__SHIFT = common local_unnamed_addr global i32 0, align 4 @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12(i32 noundef %0) #0 { %2 = load i32, ptr @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_adreno_extr_a6xx.xml.h_A6XX_DBGC_CFG_DBGBUS_BYTEL_1_BYTEL12
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/pthreads/extr_mutex.c_isc__mutex_init.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/pthreads/extr_mutex.c_isc__mutex_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" @ISC_STRERRORSIZE = dso_local local_unnamed_addr global i32 0, align 4 @ISC_R_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @ISC__MUTEX_ATTRS = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @ISC_R_NOMEMORY = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"isc_mutex_init() failed: %s\00", align 1 @ISC_R_UNEXPECTED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @isc__mutex_init(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @ISC_STRERRORSIZE, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 16 %7 = load i32, ptr @ISC_R_SUCCESS, align 4, !tbaa !5 %8 = load i32, ptr @ISC__MUTEX_ATTRS, align 4, !tbaa !5 %9 = tail call i32 @pthread_mutex_init(ptr noundef %0, i32 noundef %8) #2 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %3 %13 = load i32, ptr @ISC_R_NOMEMORY, align 4, !tbaa !5 br label %21 14: ; preds = %3 %15 = icmp eq i32 %9, 0 br i1 %15, label %21, label %16 16: ; preds = %14 %17 = load i32, ptr @errno, align 4, !tbaa !5 %18 = call i32 @isc__strerror(i32 noundef %17, ptr noundef nonnull %6, i32 noundef %4) #2 %19 = call i32 @UNEXPECTED_ERROR(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull %6) #2 %20 = load i32, ptr @ISC_R_UNEXPECTED, align 4, !tbaa !5 br label %21 21: ; preds = %14, %16, %12 %22 = phi i32 [ %13, %12 ], [ %20, %16 ], [ %7, %14 ] ret i32 %22 } declare i32 @pthread_mutex_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isc__strerror(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @UNEXPECTED_ERROR(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/pthreads/extr_mutex.c_isc__mutex_init.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/pthreads/extr_mutex.c_isc__mutex_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ISC_STRERRORSIZE = common local_unnamed_addr global i32 0, align 4 @ISC_R_SUCCESS = common local_unnamed_addr global i32 0, align 4 @ISC__MUTEX_ATTRS = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @ISC_R_NOMEMORY = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"isc_mutex_init() failed: %s\00", align 1 @ISC_R_UNEXPECTED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @isc__mutex_init(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @ISC_STRERRORSIZE, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 1 %7 = load i32, ptr @ISC_R_SUCCESS, align 4, !tbaa !6 %8 = load i32, ptr @ISC__MUTEX_ATTRS, align 4, !tbaa !6 %9 = tail call i32 @pthread_mutex_init(ptr noundef %0, i32 noundef %8) #2 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %3 %13 = load i32, ptr @ISC_R_NOMEMORY, align 4, !tbaa !6 br label %21 14: ; preds = %3 %15 = icmp eq i32 %9, 0 br i1 %15, label %21, label %16 16: ; preds = %14 %17 = load i32, ptr @errno, align 4, !tbaa !6 %18 = call i32 @isc__strerror(i32 noundef %17, ptr noundef nonnull %6, i32 noundef %4) #2 %19 = call i32 @UNEXPECTED_ERROR(ptr noundef %1, i32 noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull %6) #2 %20 = load i32, ptr @ISC_R_UNEXPECTED, align 4, !tbaa !6 br label %21 21: ; preds = %14, %16, %12 %22 = phi i32 [ %13, %12 ], [ %20, %16 ], [ %7, %14 ] ret i32 %22 } declare i32 @pthread_mutex_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isc__strerror(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @UNEXPECTED_ERROR(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ntp_lib_isc_pthreads_extr_mutex.c_isc__mutex_init
; ModuleID = 'AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_v4l.c_vidioc_g_frequency.c' source_filename = "AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_v4l.c_vidioc_g_frequency.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.av7110 = type { i32, i32, i32 } %struct.v4l2_frequency = type { i32, i32 } @.str = private unnamed_addr constant [28 x i8] c"VIDIOC_G_FREQ: freq:0x%08x\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_TUNER_ANALOG_TV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vidioc_g_frequency], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vidioc_g_frequency(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr %2, align 4, !tbaa !13 %8 = tail call i32 @dprintk(i32 noundef 2, ptr noundef nonnull @.str, i32 noundef %7) #2 %9 = getelementptr inbounds %struct.av7110, ptr %6, i64 0, i32 2 %10 = load i32, ptr %9, align 4, !tbaa !16 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load i32, ptr %6, align 4, !tbaa !18 %14 = icmp eq i32 %13, 1 br i1 %14, label %18, label %15 15: ; preds = %12, %3 %16 = load i32, ptr @EINVAL, align 4, !tbaa !19 %17 = sub nsw i32 0, %16 br label %24 18: ; preds = %12 %19 = tail call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #2 %20 = load i32, ptr @V4L2_TUNER_ANALOG_TV, align 4, !tbaa !19 %21 = getelementptr inbounds %struct.v4l2_frequency, ptr %2, i64 0, i32 1 store i32 %20, ptr %21, align 4, !tbaa !20 %22 = getelementptr inbounds %struct.av7110, ptr %6, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !21 store i32 %23, ptr %2, align 4, !tbaa !13 br label %24 24: ; preds = %18, %15 %25 = phi i32 [ %17, %15 ], [ 0, %18 ] ret i32 %25 } declare i32 @dprintk(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"saa7146_fh", !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 = !{!"saa7146_dev", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"v4l2_frequency", !15, i64 0, !15, i64 4} !15 = !{!"int", !8, i64 0} !16 = !{!17, !15, i64 8} !17 = !{!"av7110", !15, i64 0, !15, i64 4, !15, i64 8} !18 = !{!17, !15, i64 0} !19 = !{!15, !15, i64 0} !20 = !{!14, !15, i64 4} !21 = !{!17, !15, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_v4l.c_vidioc_g_frequency.c' source_filename = "AnghaBench/linux/drivers/media/pci/ttpci/extr_av7110_v4l.c_vidioc_g_frequency.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [28 x i8] c"VIDIOC_G_FREQ: freq:0x%08x\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @V4L2_TUNER_ANALOG_TV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vidioc_g_frequency], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @vidioc_g_frequency(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr %2, align 4, !tbaa !14 %8 = tail call i32 @dprintk(i32 noundef 2, ptr noundef nonnull @.str, i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %6, i64 8 %10 = load i32, ptr %9, align 4, !tbaa !17 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load i32, ptr %6, align 4, !tbaa !19 %14 = icmp eq i32 %13, 1 br i1 %14, label %18, label %15 15: ; preds = %12, %3 %16 = load i32, ptr @EINVAL, align 4, !tbaa !20 %17 = sub nsw i32 0, %16 br label %24 18: ; preds = %12 %19 = tail call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #2 %20 = load i32, ptr @V4L2_TUNER_ANALOG_TV, align 4, !tbaa !20 %21 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %20, ptr %21, align 4, !tbaa !21 %22 = getelementptr inbounds i8, ptr %6, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !22 store i32 %23, ptr %2, align 4, !tbaa !14 br label %24 24: ; preds = %18, %15 %25 = phi i32 [ %17, %15 ], [ 0, %18 ] ret i32 %25 } declare i32 @dprintk(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"saa7146_fh", !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 = !{!"saa7146_dev", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"v4l2_frequency", !16, i64 0, !16, i64 4} !16 = !{!"int", !9, i64 0} !17 = !{!18, !16, i64 8} !18 = !{!"av7110", !16, i64 0, !16, i64 4, !16, i64 8} !19 = !{!18, !16, i64 0} !20 = !{!16, !16, i64 0} !21 = !{!15, !16, i64 4} !22 = !{!18, !16, i64 4}
linux_drivers_media_pci_ttpci_extr_av7110_v4l.c_vidioc_g_frequency
; ModuleID = 'AnghaBench/darwin-xnu/tools/tests/perf_index/extr_test_fault_helper.c_test_fault_helper.c' source_filename = "AnghaBench/darwin-xnu/tools/tests/perf_index/extr_test_fault_helper.c_test_fault_helper.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MEMSIZE = dso_local local_unnamed_addr global i32 0, align 4 @memblock = dso_local local_unnamed_addr global ptr null, align 8 @TESTFAULT = dso_local local_unnamed_addr global i64 0, align 8 @PROT_READ = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"mprotect failed\00", align 1 @PROT_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @TESTZFOD = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [14 x i8] c"munmap failed\00", align 1 @MAP_ANON = dso_local local_unnamed_addr global i32 0, align 4 @MAP_PRIVATE = dso_local local_unnamed_addr global i32 0, align 4 @MAP_FIXED = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"mmap failed\00", align 1 @PERFINDEX_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @test_fault_helper(i32 noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 (...) @getpagesize() #3 %6 = load i32, ptr @MEMSIZE, align 4, !tbaa !5 %7 = sdiv i32 %6, %5 %8 = sext i32 %7 to i64 %9 = sext i32 %1 to i64 %10 = sdiv i64 %8, %9 %11 = sext i32 %0 to i64 %12 = mul nsw i64 %10, %11 %13 = srem i64 %8, %9 %14 = icmp sgt i64 %13, %11 %15 = zext i1 %14 to i64 %16 = add nsw i64 %10, %15 %17 = tail call i64 @llvm.smin.i64(i64 %13, i64 %11) %18 = add nsw i64 %17, %12 %19 = sext i32 %5 to i64 %20 = mul nsw i64 %18, %19 %21 = mul nsw i64 %16, %19 br label %22 22: ; preds = %86, %4 %23 = phi i64 [ %2, %4 ], [ %41, %86 ] %24 = load ptr, ptr @memblock, align 8, !tbaa !9 %25 = getelementptr i8, ptr %24, i64 %20 %26 = getelementptr i8, ptr %25, i64 %21 %27 = icmp ult ptr %25, %26 br i1 %27, label %28, label %39 28: ; preds = %22, %33 %29 = phi i64 [ %31, %33 ], [ %23, %22 ] %30 = phi ptr [ %34, %33 ], [ %25, %22 ] store i8 1, ptr %30, align 1, !tbaa !11 %31 = add nsw i64 %29, -1 %32 = icmp eq i64 %31, 0 br i1 %32, label %87, label %33 33: ; preds = %28 %34 = getelementptr inbounds i8, ptr %30, i64 %19 %35 = load ptr, ptr @memblock, align 8, !tbaa !9 %36 = getelementptr i8, ptr %35, i64 %20 %37 = getelementptr i8, ptr %36, i64 %21 %38 = icmp ult ptr %34, %37 br i1 %38, label %28, label %39, !llvm.loop !12 39: ; preds = %33, %22 %40 = phi ptr [ %24, %22 ], [ %35, %33 ] %41 = phi i64 [ %23, %22 ], [ %31, %33 ] %42 = icmp eq i64 %41, 0 br i1 %42, label %87, label %43 43: ; preds = %39 %44 = load i64, ptr @TESTFAULT, align 8, !tbaa !14 %45 = icmp eq i64 %44, %3 br i1 %45, label %46, label %60 46: ; preds = %43 %47 = getelementptr inbounds i8, ptr %40, i64 %20 %48 = load i32, ptr @PROT_READ, align 4, !tbaa !5 %49 = tail call i64 @mprotect(ptr noundef %47, i64 noundef %21, i32 noundef %48) #3 %50 = icmp ne i64 %49, 0 %51 = zext i1 %50 to i32 %52 = tail call i32 @VERIFY(i32 noundef %51, ptr noundef nonnull @.str) #3 %53 = load ptr, ptr @memblock, align 8, !tbaa !9 %54 = getelementptr inbounds i8, ptr %53, i64 %20 %55 = load i32, ptr @PROT_READ, align 4, !tbaa !5 %56 = load i32, ptr @PROT_WRITE, align 4, !tbaa !5 %57 = or i32 %56, %55 %58 = tail call i64 @mprotect(ptr noundef %54, i64 noundef %21, i32 noundef %57) #3 %59 = icmp ne i64 %58, 0 br label %81 60: ; preds = %43 %61 = load i64, ptr @TESTZFOD, align 8, !tbaa !14 %62 = icmp eq i64 %61, %3 br i1 %62, label %63, label %86 63: ; preds = %60 %64 = getelementptr inbounds i8, ptr %40, i64 %20 %65 = tail call i64 @munmap(ptr noundef %64, i64 noundef %21) #3 %66 = icmp ne i64 %65, 0 %67 = zext i1 %66 to i32 %68 = tail call i32 @VERIFY(i32 noundef %67, ptr noundef nonnull @.str.1) #3 %69 = load ptr, ptr @memblock, align 8, !tbaa !9 %70 = getelementptr inbounds i8, ptr %69, i64 %20 %71 = load i32, ptr @PROT_READ, align 4, !tbaa !5 %72 = load i32, ptr @PROT_WRITE, align 4, !tbaa !5 %73 = or i32 %72, %71 %74 = load i32, ptr @MAP_ANON, align 4, !tbaa !5 %75 = load i32, ptr @MAP_PRIVATE, align 4, !tbaa !5 %76 = or i32 %75, %74 %77 = load i32, ptr @MAP_FIXED, align 4, !tbaa !5 %78 = or i32 %76, %77 %79 = tail call ptr @mmap(ptr noundef %70, i64 noundef %21, i32 noundef %73, i32 noundef %78, i32 noundef -1, i32 noundef 0) #3 %80 = icmp ne ptr %79, null br label %81 81: ; preds = %46, %63 %82 = phi i1 [ %80, %63 ], [ %59, %46 ] %83 = phi ptr [ @.str.2, %63 ], [ @.str, %46 ] %84 = zext i1 %82 to i32 %85 = tail call i32 @VERIFY(i32 noundef %84, ptr noundef nonnull %83) #3 br label %86 86: ; preds = %81, %60 br label %22 87: ; preds = %39, %28 %88 = load i32, ptr @PERFINDEX_SUCCESS, align 4, !tbaa !5 ret i32 %88 } declare i32 @getpagesize(...) local_unnamed_addr #1 declare i64 @mprotect(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VERIFY(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @munmap(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!7, !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/tools/tests/perf_index/extr_test_fault_helper.c_test_fault_helper.c' source_filename = "AnghaBench/darwin-xnu/tools/tests/perf_index/extr_test_fault_helper.c_test_fault_helper.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MEMSIZE = common local_unnamed_addr global i32 0, align 4 @memblock = common local_unnamed_addr global ptr null, align 8 @TESTFAULT = common local_unnamed_addr global i64 0, align 8 @PROT_READ = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"mprotect failed\00", align 1 @PROT_WRITE = common local_unnamed_addr global i32 0, align 4 @TESTZFOD = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [14 x i8] c"munmap failed\00", align 1 @MAP_ANON = common local_unnamed_addr global i32 0, align 4 @MAP_PRIVATE = common local_unnamed_addr global i32 0, align 4 @MAP_FIXED = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"mmap failed\00", align 1 @PERFINDEX_SUCCESS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @test_fault_helper(i32 noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @getpagesize() #3 %6 = load i32, ptr @MEMSIZE, align 4, !tbaa !6 %7 = sdiv i32 %6, %5 %8 = sext i32 %7 to i64 %9 = sext i32 %1 to i64 %10 = freeze i64 %8 %11 = sdiv i64 %10, %9 %12 = sext i32 %0 to i64 %13 = mul nsw i64 %11, %12 %14 = mul i64 %11, %9 %15 = sub i64 %10, %14 %16 = icmp sgt i64 %15, %12 %17 = zext i1 %16 to i64 %18 = add nsw i64 %11, %17 %19 = tail call i64 @llvm.smin.i64(i64 %15, i64 %12) %20 = add nsw i64 %19, %13 %21 = sext i32 %5 to i64 %22 = mul nsw i64 %20, %21 %23 = mul nsw i64 %18, %21 br label %24 24: ; preds = %88, %4 %25 = phi i64 [ %2, %4 ], [ %43, %88 ] %26 = load ptr, ptr @memblock, align 8, !tbaa !10 %27 = getelementptr i8, ptr %26, i64 %22 %28 = getelementptr i8, ptr %27, i64 %23 %29 = icmp ult ptr %27, %28 br i1 %29, label %30, label %41 30: ; preds = %24, %35 %31 = phi i64 [ %33, %35 ], [ %25, %24 ] %32 = phi ptr [ %36, %35 ], [ %27, %24 ] store i8 1, ptr %32, align 1, !tbaa !12 %33 = add nsw i64 %31, -1 %34 = icmp eq i64 %33, 0 br i1 %34, label %89, label %35 35: ; preds = %30 %36 = getelementptr inbounds i8, ptr %32, i64 %21 %37 = load ptr, ptr @memblock, align 8, !tbaa !10 %38 = getelementptr i8, ptr %37, i64 %22 %39 = getelementptr i8, ptr %38, i64 %23 %40 = icmp ult ptr %36, %39 br i1 %40, label %30, label %41, !llvm.loop !13 41: ; preds = %35, %24 %42 = phi ptr [ %26, %24 ], [ %37, %35 ] %43 = phi i64 [ %25, %24 ], [ %33, %35 ] %44 = icmp eq i64 %43, 0 br i1 %44, label %89, label %45 45: ; preds = %41 %46 = load i64, ptr @TESTFAULT, align 8, !tbaa !15 %47 = icmp eq i64 %46, %3 br i1 %47, label %48, label %62 48: ; preds = %45 %49 = getelementptr inbounds i8, ptr %42, i64 %22 %50 = load i32, ptr @PROT_READ, align 4, !tbaa !6 %51 = tail call i64 @mprotect(ptr noundef %49, i64 noundef %23, i32 noundef %50) #3 %52 = icmp ne i64 %51, 0 %53 = zext i1 %52 to i32 %54 = tail call i32 @VERIFY(i32 noundef %53, ptr noundef nonnull @.str) #3 %55 = load ptr, ptr @memblock, align 8, !tbaa !10 %56 = getelementptr inbounds i8, ptr %55, i64 %22 %57 = load i32, ptr @PROT_READ, align 4, !tbaa !6 %58 = load i32, ptr @PROT_WRITE, align 4, !tbaa !6 %59 = or i32 %58, %57 %60 = tail call i64 @mprotect(ptr noundef %56, i64 noundef %23, i32 noundef %59) #3 %61 = icmp ne i64 %60, 0 br label %83 62: ; preds = %45 %63 = load i64, ptr @TESTZFOD, align 8, !tbaa !15 %64 = icmp eq i64 %63, %3 br i1 %64, label %65, label %88 65: ; preds = %62 %66 = getelementptr inbounds i8, ptr %42, i64 %22 %67 = tail call i64 @munmap(ptr noundef %66, i64 noundef %23) #3 %68 = icmp ne i64 %67, 0 %69 = zext i1 %68 to i32 %70 = tail call i32 @VERIFY(i32 noundef %69, ptr noundef nonnull @.str.1) #3 %71 = load ptr, ptr @memblock, align 8, !tbaa !10 %72 = getelementptr inbounds i8, ptr %71, i64 %22 %73 = load i32, ptr @PROT_READ, align 4, !tbaa !6 %74 = load i32, ptr @PROT_WRITE, align 4, !tbaa !6 %75 = or i32 %74, %73 %76 = load i32, ptr @MAP_ANON, align 4, !tbaa !6 %77 = load i32, ptr @MAP_PRIVATE, align 4, !tbaa !6 %78 = or i32 %77, %76 %79 = load i32, ptr @MAP_FIXED, align 4, !tbaa !6 %80 = or i32 %78, %79 %81 = tail call ptr @mmap(ptr noundef %72, i64 noundef %23, i32 noundef %75, i32 noundef %80, i32 noundef -1, i32 noundef 0) #3 %82 = icmp ne ptr %81, null br label %83 83: ; preds = %48, %65 %84 = phi i1 [ %82, %65 ], [ %61, %48 ] %85 = phi ptr [ @.str.2, %65 ], [ @.str, %48 ] %86 = zext i1 %84 to i32 %87 = tail call i32 @VERIFY(i32 noundef %86, ptr noundef nonnull %85) #3 br label %88 88: ; preds = %83, %62 br label %24 89: ; preds = %41, %30 %90 = load i32, ptr @PERFINDEX_SUCCESS, align 4, !tbaa !6 ret i32 %90 } declare i32 @getpagesize(...) local_unnamed_addr #1 declare i64 @mprotect(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VERIFY(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @munmap(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0}
darwin-xnu_tools_tests_perf_index_extr_test_fault_helper.c_test_fault_helper
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_tsc2007_core.c_tsc2007_call_exit_platform_hw.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_tsc2007_core.c_tsc2007_call_exit_platform_hw.c" target datalayout = "e-m:e-p270:32:32-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 @tsc2007_call_exit_platform_hw], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tsc2007_call_exit_platform_hw(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_platdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 (...) %3() #2 ret void } declare ptr @dev_get_platdata(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 = !{!"tsc2007_platform_data", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_tsc2007_core.c_tsc2007_call_exit_platform_hw.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_tsc2007_core.c_tsc2007_call_exit_platform_hw.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 @tsc2007_call_exit_platform_hw], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tsc2007_call_exit_platform_hw(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_platdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 %3() #2 ret void } declare ptr @dev_get_platdata(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 = !{!"tsc2007_platform_data", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_input_touchscreen_extr_tsc2007_core.c_tsc2007_call_exit_platform_hw
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_socket_cookie_prog.c_update_cookie.c' source_filename = "AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_socket_cookie_prog.c_update_cookie.c" target datalayout = "e-m:e-p270:32:32-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.bpf_sock_ops = type { i64, i64, i32, i32 } %struct.socket_cookie = type { i64, i32 } @AF_INET6 = dso_local local_unnamed_addr global i64 0, align 8 @BPF_SOCK_OPS_TCP_CONNECT_CB = dso_local local_unnamed_addr global i64 0, align 8 @socket_cookies = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @update_cookie(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @AF_INET6, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %28 5: ; preds = %1 %6 = getelementptr inbounds %struct.bpf_sock_ops, ptr %0, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = load i64, ptr @BPF_SOCK_OPS_TCP_CONNECT_CB, align 8, !tbaa !11 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %28 10: ; preds = %5 %11 = getelementptr inbounds %struct.bpf_sock_ops, ptr %0, i64 0, i32 3 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = icmp eq i32 %12, 0 br i1 %13, label %28, label %14 14: ; preds = %10 %15 = tail call ptr @bpf_sk_storage_get(ptr noundef nonnull @socket_cookies, i32 noundef %12, i32 noundef 0, i32 noundef 0) #2 %16 = icmp eq ptr %15, null br i1 %16, label %28, label %17 17: ; preds = %14 %18 = load i64, ptr %15, align 8, !tbaa !14 %19 = tail call i64 @bpf_get_socket_cookie(ptr noundef nonnull %0) #2 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %28 21: ; preds = %17 %22 = getelementptr inbounds %struct.bpf_sock_ops, ptr %0, i64 0, i32 2 %23 = load i32, ptr %22, align 8, !tbaa !16 %24 = shl i32 %23, 8 %25 = getelementptr inbounds %struct.socket_cookie, ptr %15, i64 0, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !17 %27 = or i32 %24, %26 store i32 %27, ptr %25, align 8, !tbaa !17 br label %28 28: ; preds = %17, %14, %10, %5, %1, %21 ret i32 1 } declare ptr @bpf_sk_storage_get(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @bpf_get_socket_cookie(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 = !{!"bpf_sock_ops", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !10, i64 20} !14 = !{!15, !7, i64 0} !15 = !{!"socket_cookie", !7, i64 0, !10, i64 8} !16 = !{!6, !10, i64 16} !17 = !{!15, !10, i64 8}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_socket_cookie_prog.c_update_cookie.c' source_filename = "AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_socket_cookie_prog.c_update_cookie.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AF_INET6 = common local_unnamed_addr global i64 0, align 8 @BPF_SOCK_OPS_TCP_CONNECT_CB = common local_unnamed_addr global i64 0, align 8 @socket_cookies = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @update_cookie(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @AF_INET6, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %28 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = load i64, ptr @BPF_SOCK_OPS_TCP_CONNECT_CB, align 8, !tbaa !12 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %28 10: ; preds = %5 %11 = getelementptr inbounds i8, ptr %0, i64 20 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = icmp eq i32 %12, 0 br i1 %13, label %28, label %14 14: ; preds = %10 %15 = tail call ptr @bpf_sk_storage_get(ptr noundef nonnull @socket_cookies, i32 noundef %12, i32 noundef 0, i32 noundef 0) #2 %16 = icmp eq ptr %15, null br i1 %16, label %28, label %17 17: ; preds = %14 %18 = load i64, ptr %15, align 8, !tbaa !15 %19 = tail call i64 @bpf_get_socket_cookie(ptr noundef nonnull %0) #2 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %28 21: ; preds = %17 %22 = getelementptr inbounds i8, ptr %0, i64 16 %23 = load i32, ptr %22, align 8, !tbaa !17 %24 = shl i32 %23, 8 %25 = getelementptr inbounds i8, ptr %15, i64 8 %26 = load i32, ptr %25, align 8, !tbaa !18 %27 = or i32 %24, %26 store i32 %27, ptr %25, align 8, !tbaa !18 br label %28 28: ; preds = %17, %14, %10, %5, %1, %21 ret i32 1 } declare ptr @bpf_sk_storage_get(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @bpf_get_socket_cookie(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 = !{!"bpf_sock_ops", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !11, i64 20} !15 = !{!16, !8, i64 0} !16 = !{!"socket_cookie", !8, i64 0, !11, i64 8} !17 = !{!7, !11, i64 16} !18 = !{!16, !11, i64 8}
linux_tools_testing_selftests_bpf_progs_extr_socket_cookie_prog.c_update_cookie
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_transaction.c_btrfs_write_and_wait_transaction.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_transaction.c_btrfs_write_and_wait_transaction.c" target datalayout = "e-m:e-p270:32:32-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.blk_plug = type { i32 } %struct.btrfs_trans_handle = type { ptr, ptr } @EXTENT_DIRTY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @btrfs_write_and_wait_transaction], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @btrfs_write_and_wait_transaction(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.blk_plug, align 4 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.btrfs_trans_handle, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %6 = call i32 @blk_start_plug(ptr noundef nonnull %2) #3 %7 = load i32, ptr @EXTENT_DIRTY, align 4, !tbaa !11 %8 = call i32 @btrfs_write_marked_extents(ptr noundef %5, ptr noundef %3, i32 noundef %7) #3 %9 = call i32 @blk_finish_plug(ptr noundef nonnull %2) #3 %10 = call i32 @btrfs_wait_extents(ptr noundef %5, ptr noundef %3) #3 %11 = load ptr, ptr %0, align 8, !tbaa !5 %12 = call i32 @extent_io_tree_release(ptr noundef %11) #3 %13 = icmp eq i32 %8, 0 %14 = select i1 %13, i32 %10, i32 %8 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @blk_start_plug(ptr noundef) local_unnamed_addr #2 declare i32 @btrfs_write_marked_extents(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @blk_finish_plug(ptr noundef) local_unnamed_addr #2 declare i32 @btrfs_wait_extents(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @extent_io_tree_release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"btrfs_trans_handle", !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 8} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_transaction.c_btrfs_write_and_wait_transaction.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_transaction.c_btrfs_write_and_wait_transaction.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.blk_plug = type { i32 } @EXTENT_DIRTY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @btrfs_write_and_wait_transaction], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @btrfs_write_and_wait_transaction(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.blk_plug, align 4 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %6 = call i32 @blk_start_plug(ptr noundef nonnull %2) #3 %7 = load i32, ptr @EXTENT_DIRTY, align 4, !tbaa !12 %8 = call i32 @btrfs_write_marked_extents(ptr noundef %5, ptr noundef %3, i32 noundef %7) #3 %9 = call i32 @blk_finish_plug(ptr noundef nonnull %2) #3 %10 = call i32 @btrfs_wait_extents(ptr noundef %5, ptr noundef %3) #3 %11 = load ptr, ptr %0, align 8, !tbaa !6 %12 = call i32 @extent_io_tree_release(ptr noundef %11) #3 %13 = icmp eq i32 %8, 0 %14 = select i1 %13, i32 %10, i32 %8 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @blk_start_plug(ptr noundef) local_unnamed_addr #2 declare i32 @btrfs_write_marked_extents(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @blk_finish_plug(ptr noundef) local_unnamed_addr #2 declare i32 @btrfs_wait_extents(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @extent_io_tree_release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"btrfs_trans_handle", !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 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_fs_btrfs_extr_transaction.c_btrfs_write_and_wait_transaction
; ModuleID = 'AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX-encoder.c_get_MF_Imm14_X1.c' source_filename = "AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX-encoder.c_get_MF_Imm14_X1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @get_MF_Imm14_X1], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @get_MF_Imm14_X1(i32 %0) #0 { ret i32 poison } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX-encoder.c_get_MF_Imm14_X1.c' source_filename = "AnghaBench/php-src/ext/pcre/pcre2lib/sljit/extr_sljitNativeTILEGX-encoder.c_get_MF_Imm14_X1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @get_MF_Imm14_X1], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i32 @get_MF_Imm14_X1(i32 %0) #0 { ret i32 poison } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
php-src_ext_pcre_pcre2lib_sljit_extr_sljitNativeTILEGX-encoder.c_get_MF_Imm14_X1
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genrecog.c_compute_predicate_codes.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genrecog.c_compute_predicate_codes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NUM_RTX_CODE = dso_local local_unnamed_addr global i32 0, align 4 @Y = dso_local local_unnamed_addr global i8 0, align 1 @N = dso_local local_unnamed_addr global i8 0, align 1 @pattern_lineno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"empty match_code expression\00", align 1 @error_count = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"match_code \22%.*s\22 matches nothing\00", align 1 @did_you_mean_codes = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [21 x i8] c"(did you mean \22%s\22?)\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"reference to unknown predicate '%s'\00", align 1 @I = dso_local local_unnamed_addr global i8 0, align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"'%s' cannot be used in a define_predicate expression\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @compute_predicate_codes], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @compute_predicate_codes(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 16 %7 = alloca i8, i64 %5, align 16 %8 = alloca i8, i64 %5, align 16 %9 = tail call i32 @GET_CODE(i32 noundef %0) #5 switch i32 %9, label %198 [ i32 134, label %10 i32 132, label %27 i32 128, label %44 i32 133, label %58 i32 131, label %82 i32 130, label %167 i32 129, label %194 ] 10: ; preds = %2 %11 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #5 call void @compute_predicate_codes(i32 noundef %11, ptr noundef nonnull %6) %12 = call i32 @XEXP(i32 noundef %0, i32 noundef 1) #5 call void @compute_predicate_codes(i32 noundef %12, ptr noundef nonnull %7) %13 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %208 15: ; preds = %10, %15 %16 = phi i64 [ %23, %15 ], [ 0, %10 ] %17 = getelementptr inbounds i8, ptr %6, i64 %16 %18 = load i8, ptr %17, align 1, !tbaa !9 %19 = getelementptr inbounds i8, ptr %7, i64 %16 %20 = load i8, ptr %19, align 1, !tbaa !9 %21 = call signext i8 @TRISTATE_AND(i8 noundef signext %18, i8 noundef signext %20) #5 %22 = getelementptr inbounds i8, ptr %1, i64 %16 store i8 %21, ptr %22, align 1, !tbaa !9 %23 = add nuw nsw i64 %16, 1 %24 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %15, label %208, !llvm.loop !10 27: ; preds = %2 %28 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #5 call void @compute_predicate_codes(i32 noundef %28, ptr noundef nonnull %6) %29 = call i32 @XEXP(i32 noundef %0, i32 noundef 1) #5 call void @compute_predicate_codes(i32 noundef %29, ptr noundef nonnull %7) %30 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %31 = icmp sgt i32 %30, 0 br i1 %31, label %32, label %208 32: ; preds = %27, %32 %33 = phi i64 [ %40, %32 ], [ 0, %27 ] %34 = getelementptr inbounds i8, ptr %6, i64 %33 %35 = load i8, ptr %34, align 1, !tbaa !9 %36 = getelementptr inbounds i8, ptr %7, i64 %33 %37 = load i8, ptr %36, align 1, !tbaa !9 %38 = call signext i8 @TRISTATE_OR(i8 noundef signext %35, i8 noundef signext %37) #5 %39 = getelementptr inbounds i8, ptr %1, i64 %33 store i8 %38, ptr %39, align 1, !tbaa !9 %40 = add nuw nsw i64 %33, 1 %41 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %42 = sext i32 %41 to i64 %43 = icmp slt i64 %40, %42 br i1 %43, label %32, label %208, !llvm.loop !12 44: ; preds = %2 %45 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #5 call void @compute_predicate_codes(i32 noundef %45, ptr noundef nonnull %6) %46 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %47 = icmp sgt i32 %46, 0 br i1 %47, label %48, label %208 48: ; preds = %44, %48 %49 = phi i64 [ %54, %48 ], [ 0, %44 ] %50 = getelementptr inbounds i8, ptr %6, i64 %49 %51 = load i8, ptr %50, align 1, !tbaa !9 %52 = call signext i8 @TRISTATE_NOT(i8 noundef signext %51) #5 %53 = getelementptr inbounds i8, ptr %1, i64 %49 store i8 %52, ptr %53, align 1, !tbaa !9 %54 = add nuw nsw i64 %49, 1 %55 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %56 = sext i32 %55 to i64 %57 = icmp slt i64 %54, %56 br i1 %57, label %48, label %208, !llvm.loop !13 58: ; preds = %2 %59 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #5 call void @compute_predicate_codes(i32 noundef %59, ptr noundef nonnull %6) %60 = call i32 @XEXP(i32 noundef %0, i32 noundef 1) #5 call void @compute_predicate_codes(i32 noundef %60, ptr noundef nonnull %7) %61 = call i32 @XEXP(i32 noundef %0, i32 noundef 2) #5 call void @compute_predicate_codes(i32 noundef %61, ptr noundef nonnull %8) %62 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %63 = icmp sgt i32 %62, 0 br i1 %63, label %64, label %208 64: ; preds = %58, %64 %65 = phi i64 [ %78, %64 ], [ 0, %58 ] %66 = getelementptr inbounds i8, ptr %6, i64 %65 %67 = load i8, ptr %66, align 1, !tbaa !9 %68 = getelementptr inbounds i8, ptr %7, i64 %65 %69 = load i8, ptr %68, align 1, !tbaa !9 %70 = call signext i8 @TRISTATE_AND(i8 noundef signext %67, i8 noundef signext %69) #5 %71 = load i8, ptr %66, align 1, !tbaa !9 %72 = call signext i8 @TRISTATE_NOT(i8 noundef signext %71) #5 %73 = getelementptr inbounds i8, ptr %8, i64 %65 %74 = load i8, ptr %73, align 1, !tbaa !9 %75 = call signext i8 @TRISTATE_AND(i8 noundef signext %72, i8 noundef signext %74) #5 %76 = call signext i8 @TRISTATE_OR(i8 noundef signext %70, i8 noundef signext %75) #5 %77 = getelementptr inbounds i8, ptr %1, i64 %65 store i8 %76, ptr %77, align 1, !tbaa !9 %78 = add nuw nsw i64 %65, 1 %79 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %80 = sext i32 %79 to i64 %81 = icmp slt i64 %78, %80 br i1 %81, label %64, label %208, !llvm.loop !14 82: ; preds = %2 %83 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 1) #5 %84 = load i8, ptr %83, align 1, !tbaa !9 %85 = icmp eq i8 %84, 0 %86 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 br i1 %85, label %90, label %87 87: ; preds = %82 %88 = load i8, ptr @Y, align 1, !tbaa !9 %89 = tail call i32 @memset(ptr noundef %1, i8 noundef signext %88, i32 noundef %86) #5 br label %208 90: ; preds = %82 %91 = load i8, ptr @N, align 1, !tbaa !9 %92 = tail call i32 @memset(ptr noundef %1, i8 noundef signext %91, i32 noundef %86) #5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5 %93 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 0) #5 store ptr %93, ptr %3, align 8, !tbaa !15 %94 = load i8, ptr %93, align 1, !tbaa !9 %95 = icmp eq i8 %94, 0 br i1 %95, label %99, label %96 96: ; preds = %90 %97 = call ptr @scan_comma_elt(ptr noundef nonnull %3) #5 %98 = icmp eq ptr %97, null br i1 %98, label %166, label %104 99: ; preds = %90 %100 = load i32, ptr @pattern_lineno, align 4, !tbaa !5 %101 = tail call i32 (i32, ptr, ...) @message_with_line(i32 noundef %100, ptr noundef nonnull @.str) #5 %102 = load i32, ptr @error_count, align 4, !tbaa !5 %103 = add nsw i32 %102, 1 store i32 %103, ptr @error_count, align 4, !tbaa !5 br label %166 104: ; preds = %96, %163 %105 = phi ptr [ %164, %163 ], [ %97, %96 ] %106 = load ptr, ptr %3, align 8, !tbaa !15 %107 = ptrtoint ptr %106 to i64 %108 = ptrtoint ptr %105 to i64 %109 = sub i64 %107, %108 %110 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %111 = icmp sgt i32 %110, 0 br i1 %111, label %112, label %130 112: ; preds = %104, %126 %113 = phi i32 [ %127, %126 ], [ 0, %104 ] %114 = call ptr @GET_RTX_NAME(i32 noundef %113) #5 %115 = call i32 @strncmp(ptr noundef nonnull %105, ptr noundef %114, i64 noundef %109) %116 = icmp eq i32 %115, 0 br i1 %116, label %117, label %126 117: ; preds = %112 %118 = call ptr @GET_RTX_NAME(i32 noundef %113) #5 %119 = getelementptr inbounds i8, ptr %118, i64 %109 %120 = load i8, ptr %119, align 1, !tbaa !9 %121 = icmp eq i8 %120, 0 br i1 %121, label %122, label %126 122: ; preds = %117 %123 = load i8, ptr @Y, align 1, !tbaa !9 %124 = zext nneg i32 %113 to i64 %125 = getelementptr inbounds i8, ptr %1, i64 %124 store i8 %123, ptr %125, align 1, !tbaa !9 br label %163 126: ; preds = %112, %117 %127 = add nuw nsw i32 %113, 1 %128 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %129 = icmp slt i32 %127, %128 br i1 %129, label %112, label %130, !llvm.loop !17 130: ; preds = %126, %104 %131 = load i32, ptr @pattern_lineno, align 4, !tbaa !5 %132 = trunc i64 %109 to i32 %133 = call i32 (i32, ptr, ...) @message_with_line(i32 noundef %131, ptr noundef nonnull @.str.1, i32 noundef %132, ptr noundef nonnull %105) #5 %134 = load i32, ptr @error_count, align 4, !tbaa !5 %135 = add nsw i32 %134, 1 store i32 %135, ptr @error_count, align 4, !tbaa !5 %136 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %137 = icmp sgt i32 %136, 0 br i1 %137, label %138, label %163 138: ; preds = %130, %158 %139 = phi i64 [ %159, %158 ], [ 0, %130 ] %140 = trunc i64 %139 to i32 %141 = call ptr @GET_RTX_NAME(i32 noundef %140) #5 %142 = call i32 @strncasecmp(ptr noundef nonnull %105, ptr noundef %141, i64 noundef %109) %143 = icmp eq i32 %142, 0 br i1 %143, label %144, label %158 144: ; preds = %138 %145 = call ptr @GET_RTX_NAME(i32 noundef %140) #5 %146 = getelementptr inbounds i8, ptr %145, i64 %109 %147 = load i8, ptr %146, align 1, !tbaa !9 %148 = icmp eq i8 %147, 0 br i1 %148, label %149, label %158 149: ; preds = %144 %150 = load ptr, ptr @did_you_mean_codes, align 8, !tbaa !15 %151 = getelementptr inbounds i32, ptr %150, i64 %139 %152 = load i32, ptr %151, align 4, !tbaa !5 %153 = icmp eq i32 %152, 0 br i1 %153, label %154, label %158 154: ; preds = %149 store i32 1, ptr %151, align 4, !tbaa !5 %155 = load i32, ptr @pattern_lineno, align 4, !tbaa !5 %156 = call ptr @GET_RTX_NAME(i32 noundef %140) #5 %157 = call i32 (i32, ptr, ...) @message_with_line(i32 noundef %155, ptr noundef nonnull @.str.2, ptr noundef %156) #5 br label %158 158: ; preds = %138, %144, %149, %154 %159 = add nuw nsw i64 %139, 1 %160 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %161 = sext i32 %160 to i64 %162 = icmp slt i64 %159, %161 br i1 %162, label %138, label %163, !llvm.loop !18 163: ; preds = %158, %130, %122 %164 = call ptr @scan_comma_elt(ptr noundef nonnull %3) #5 %165 = icmp eq ptr %164, null br i1 %165, label %166, label %104, !llvm.loop !19 166: ; preds = %163, %96, %99 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5 br label %208 167: ; preds = %2 %168 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 1) #5 %169 = tail call ptr @lookup_predicate(ptr noundef %168) #5 %170 = icmp eq ptr %169, null br i1 %170, label %174, label %171 171: ; preds = %167 %172 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %173 = icmp sgt i32 %172, 0 br i1 %173, label %180, label %208 174: ; preds = %167 %175 = load i32, ptr @pattern_lineno, align 4, !tbaa !5 %176 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 1) #5 %177 = tail call i32 (i32, ptr, ...) @message_with_line(i32 noundef %175, ptr noundef nonnull @.str.3, ptr noundef %176) #5 %178 = load i32, ptr @error_count, align 4, !tbaa !5 %179 = add nsw i32 %178, 1 store i32 %179, ptr @error_count, align 4, !tbaa !5 br label %208 180: ; preds = %171, %180 %181 = phi i64 [ %190, %180 ], [ 0, %171 ] %182 = load ptr, ptr %169, align 8, !tbaa !20 %183 = getelementptr inbounds i32, ptr %182, i64 %181 %184 = load i32, ptr %183, align 4, !tbaa !5 %185 = icmp eq i32 %184, 0 %186 = load i8, ptr @I, align 1 %187 = load i8, ptr @N, align 1 %188 = select i1 %185, i8 %187, i8 %186 %189 = getelementptr inbounds i8, ptr %1, i64 %181 store i8 %188, ptr %189, align 1, !tbaa !9 %190 = add nuw nsw i64 %181, 1 %191 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %192 = sext i32 %191 to i64 %193 = icmp slt i64 %190, %192 br i1 %193, label %180, label %208, !llvm.loop !22 194: ; preds = %2 %195 = load i8, ptr @I, align 1, !tbaa !9 %196 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %197 = tail call i32 @memset(ptr noundef %1, i8 noundef signext %195, i32 noundef %196) #5 br label %208 198: ; preds = %2 %199 = load i32, ptr @pattern_lineno, align 4, !tbaa !5 %200 = tail call i32 @GET_CODE(i32 noundef %0) #5 %201 = tail call ptr @GET_RTX_NAME(i32 noundef %200) #5 %202 = tail call i32 (i32, ptr, ...) @message_with_line(i32 noundef %199, ptr noundef nonnull @.str.4, ptr noundef %201) #5 %203 = load i32, ptr @error_count, align 4, !tbaa !5 %204 = add nsw i32 %203, 1 store i32 %204, ptr @error_count, align 4, !tbaa !5 %205 = load i8, ptr @I, align 1, !tbaa !9 %206 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5 %207 = tail call i32 @memset(ptr noundef %1, i8 noundef signext %205, i32 noundef %206) #5 br label %208 208: ; preds = %180, %64, %48, %32, %15, %171, %58, %44, %27, %10, %174, %166, %198, %194, %87 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 @GET_CODE(i32 noundef) local_unnamed_addr #2 declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #2 declare signext i8 @TRISTATE_AND(i8 noundef signext, i8 noundef signext) local_unnamed_addr #2 declare signext i8 @TRISTATE_OR(i8 noundef signext, i8 noundef signext) local_unnamed_addr #2 declare signext i8 @TRISTATE_NOT(i8 noundef signext) local_unnamed_addr #2 declare ptr @XSTR(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare i32 @message_with_line(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @scan_comma_elt(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #3 declare ptr @GET_RTX_NAME(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @strncasecmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @lookup_predicate(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11} !13 = distinct !{!13, !11} !14 = distinct !{!14, !11} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !7, i64 0} !17 = distinct !{!17, !11} !18 = distinct !{!18, !11} !19 = distinct !{!19, !11} !20 = !{!21, !16, i64 0} !21 = !{!"pred_data", !16, i64 0} !22 = distinct !{!22, !11}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genrecog.c_compute_predicate_codes.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genrecog.c_compute_predicate_codes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NUM_RTX_CODE = common local_unnamed_addr global i32 0, align 4 @Y = common local_unnamed_addr global i8 0, align 1 @N = common local_unnamed_addr global i8 0, align 1 @pattern_lineno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"empty match_code expression\00", align 1 @error_count = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"match_code \22%.*s\22 matches nothing\00", align 1 @did_you_mean_codes = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [21 x i8] c"(did you mean \22%s\22?)\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"reference to unknown predicate '%s'\00", align 1 @I = common local_unnamed_addr global i8 0, align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"'%s' cannot be used in a define_predicate expression\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @compute_predicate_codes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @compute_predicate_codes(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 1 %7 = alloca i8, i64 %5, align 1 %8 = alloca i8, i64 %5, align 1 %9 = tail call i32 @GET_CODE(i32 noundef %0) #5 switch i32 %9, label %198 [ i32 134, label %10 i32 132, label %27 i32 128, label %44 i32 133, label %58 i32 131, label %82 i32 130, label %167 i32 129, label %194 ] 10: ; preds = %2 %11 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #5 call void @compute_predicate_codes(i32 noundef %11, ptr noundef nonnull %6) %12 = call i32 @XEXP(i32 noundef %0, i32 noundef 1) #5 call void @compute_predicate_codes(i32 noundef %12, ptr noundef nonnull %7) %13 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %208 15: ; preds = %10, %15 %16 = phi i64 [ %23, %15 ], [ 0, %10 ] %17 = getelementptr inbounds i8, ptr %6, i64 %16 %18 = load i8, ptr %17, align 1, !tbaa !10 %19 = getelementptr inbounds i8, ptr %7, i64 %16 %20 = load i8, ptr %19, align 1, !tbaa !10 %21 = call signext i8 @TRISTATE_AND(i8 noundef signext %18, i8 noundef signext %20) #5 %22 = getelementptr inbounds i8, ptr %1, i64 %16 store i8 %21, ptr %22, align 1, !tbaa !10 %23 = add nuw nsw i64 %16, 1 %24 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %15, label %208, !llvm.loop !11 27: ; preds = %2 %28 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #5 call void @compute_predicate_codes(i32 noundef %28, ptr noundef nonnull %6) %29 = call i32 @XEXP(i32 noundef %0, i32 noundef 1) #5 call void @compute_predicate_codes(i32 noundef %29, ptr noundef nonnull %7) %30 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %31 = icmp sgt i32 %30, 0 br i1 %31, label %32, label %208 32: ; preds = %27, %32 %33 = phi i64 [ %40, %32 ], [ 0, %27 ] %34 = getelementptr inbounds i8, ptr %6, i64 %33 %35 = load i8, ptr %34, align 1, !tbaa !10 %36 = getelementptr inbounds i8, ptr %7, i64 %33 %37 = load i8, ptr %36, align 1, !tbaa !10 %38 = call signext i8 @TRISTATE_OR(i8 noundef signext %35, i8 noundef signext %37) #5 %39 = getelementptr inbounds i8, ptr %1, i64 %33 store i8 %38, ptr %39, align 1, !tbaa !10 %40 = add nuw nsw i64 %33, 1 %41 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %42 = sext i32 %41 to i64 %43 = icmp slt i64 %40, %42 br i1 %43, label %32, label %208, !llvm.loop !13 44: ; preds = %2 %45 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #5 call void @compute_predicate_codes(i32 noundef %45, ptr noundef nonnull %6) %46 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %47 = icmp sgt i32 %46, 0 br i1 %47, label %48, label %208 48: ; preds = %44, %48 %49 = phi i64 [ %54, %48 ], [ 0, %44 ] %50 = getelementptr inbounds i8, ptr %6, i64 %49 %51 = load i8, ptr %50, align 1, !tbaa !10 %52 = call signext i8 @TRISTATE_NOT(i8 noundef signext %51) #5 %53 = getelementptr inbounds i8, ptr %1, i64 %49 store i8 %52, ptr %53, align 1, !tbaa !10 %54 = add nuw nsw i64 %49, 1 %55 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %56 = sext i32 %55 to i64 %57 = icmp slt i64 %54, %56 br i1 %57, label %48, label %208, !llvm.loop !14 58: ; preds = %2 %59 = tail call i32 @XEXP(i32 noundef %0, i32 noundef 0) #5 call void @compute_predicate_codes(i32 noundef %59, ptr noundef nonnull %6) %60 = call i32 @XEXP(i32 noundef %0, i32 noundef 1) #5 call void @compute_predicate_codes(i32 noundef %60, ptr noundef nonnull %7) %61 = call i32 @XEXP(i32 noundef %0, i32 noundef 2) #5 call void @compute_predicate_codes(i32 noundef %61, ptr noundef nonnull %8) %62 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %63 = icmp sgt i32 %62, 0 br i1 %63, label %64, label %208 64: ; preds = %58, %64 %65 = phi i64 [ %78, %64 ], [ 0, %58 ] %66 = getelementptr inbounds i8, ptr %6, i64 %65 %67 = load i8, ptr %66, align 1, !tbaa !10 %68 = getelementptr inbounds i8, ptr %7, i64 %65 %69 = load i8, ptr %68, align 1, !tbaa !10 %70 = call signext i8 @TRISTATE_AND(i8 noundef signext %67, i8 noundef signext %69) #5 %71 = load i8, ptr %66, align 1, !tbaa !10 %72 = call signext i8 @TRISTATE_NOT(i8 noundef signext %71) #5 %73 = getelementptr inbounds i8, ptr %8, i64 %65 %74 = load i8, ptr %73, align 1, !tbaa !10 %75 = call signext i8 @TRISTATE_AND(i8 noundef signext %72, i8 noundef signext %74) #5 %76 = call signext i8 @TRISTATE_OR(i8 noundef signext %70, i8 noundef signext %75) #5 %77 = getelementptr inbounds i8, ptr %1, i64 %65 store i8 %76, ptr %77, align 1, !tbaa !10 %78 = add nuw nsw i64 %65, 1 %79 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %80 = sext i32 %79 to i64 %81 = icmp slt i64 %78, %80 br i1 %81, label %64, label %208, !llvm.loop !15 82: ; preds = %2 %83 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 1) #5 %84 = load i8, ptr %83, align 1, !tbaa !10 %85 = icmp eq i8 %84, 0 %86 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 br i1 %85, label %90, label %87 87: ; preds = %82 %88 = load i8, ptr @Y, align 1, !tbaa !10 %89 = tail call i32 @memset(ptr noundef %1, i8 noundef signext %88, i32 noundef %86) #5 br label %208 90: ; preds = %82 %91 = load i8, ptr @N, align 1, !tbaa !10 %92 = tail call i32 @memset(ptr noundef %1, i8 noundef signext %91, i32 noundef %86) #5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5 %93 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 0) #5 store ptr %93, ptr %3, align 8, !tbaa !16 %94 = load i8, ptr %93, align 1, !tbaa !10 %95 = icmp eq i8 %94, 0 br i1 %95, label %99, label %96 96: ; preds = %90 %97 = call ptr @scan_comma_elt(ptr noundef nonnull %3) #5 %98 = icmp eq ptr %97, null br i1 %98, label %166, label %104 99: ; preds = %90 %100 = load i32, ptr @pattern_lineno, align 4, !tbaa !6 %101 = tail call i32 (i32, ptr, ...) @message_with_line(i32 noundef %100, ptr noundef nonnull @.str) #5 %102 = load i32, ptr @error_count, align 4, !tbaa !6 %103 = add nsw i32 %102, 1 store i32 %103, ptr @error_count, align 4, !tbaa !6 br label %166 104: ; preds = %96, %163 %105 = phi ptr [ %164, %163 ], [ %97, %96 ] %106 = load ptr, ptr %3, align 8, !tbaa !16 %107 = ptrtoint ptr %106 to i64 %108 = ptrtoint ptr %105 to i64 %109 = sub i64 %107, %108 %110 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %111 = icmp sgt i32 %110, 0 br i1 %111, label %112, label %130 112: ; preds = %104, %126 %113 = phi i32 [ %127, %126 ], [ 0, %104 ] %114 = call ptr @GET_RTX_NAME(i32 noundef %113) #5 %115 = call i32 @strncmp(ptr noundef nonnull %105, ptr noundef %114, i64 noundef %109) %116 = icmp eq i32 %115, 0 br i1 %116, label %117, label %126 117: ; preds = %112 %118 = call ptr @GET_RTX_NAME(i32 noundef %113) #5 %119 = getelementptr inbounds i8, ptr %118, i64 %109 %120 = load i8, ptr %119, align 1, !tbaa !10 %121 = icmp eq i8 %120, 0 br i1 %121, label %122, label %126 122: ; preds = %117 %123 = load i8, ptr @Y, align 1, !tbaa !10 %124 = zext nneg i32 %113 to i64 %125 = getelementptr inbounds i8, ptr %1, i64 %124 store i8 %123, ptr %125, align 1, !tbaa !10 br label %163 126: ; preds = %112, %117 %127 = add nuw nsw i32 %113, 1 %128 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %129 = icmp slt i32 %127, %128 br i1 %129, label %112, label %130, !llvm.loop !18 130: ; preds = %126, %104 %131 = load i32, ptr @pattern_lineno, align 4, !tbaa !6 %132 = trunc i64 %109 to i32 %133 = call i32 (i32, ptr, ...) @message_with_line(i32 noundef %131, ptr noundef nonnull @.str.1, i32 noundef %132, ptr noundef nonnull %105) #5 %134 = load i32, ptr @error_count, align 4, !tbaa !6 %135 = add nsw i32 %134, 1 store i32 %135, ptr @error_count, align 4, !tbaa !6 %136 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %137 = icmp sgt i32 %136, 0 br i1 %137, label %138, label %163 138: ; preds = %130, %158 %139 = phi i64 [ %159, %158 ], [ 0, %130 ] %140 = trunc nuw nsw i64 %139 to i32 %141 = call ptr @GET_RTX_NAME(i32 noundef %140) #5 %142 = call i32 @strncasecmp(ptr noundef nonnull %105, ptr noundef %141, i64 noundef %109) %143 = icmp eq i32 %142, 0 br i1 %143, label %144, label %158 144: ; preds = %138 %145 = call ptr @GET_RTX_NAME(i32 noundef %140) #5 %146 = getelementptr inbounds i8, ptr %145, i64 %109 %147 = load i8, ptr %146, align 1, !tbaa !10 %148 = icmp eq i8 %147, 0 br i1 %148, label %149, label %158 149: ; preds = %144 %150 = load ptr, ptr @did_you_mean_codes, align 8, !tbaa !16 %151 = getelementptr inbounds i32, ptr %150, i64 %139 %152 = load i32, ptr %151, align 4, !tbaa !6 %153 = icmp eq i32 %152, 0 br i1 %153, label %154, label %158 154: ; preds = %149 store i32 1, ptr %151, align 4, !tbaa !6 %155 = load i32, ptr @pattern_lineno, align 4, !tbaa !6 %156 = call ptr @GET_RTX_NAME(i32 noundef %140) #5 %157 = call i32 (i32, ptr, ...) @message_with_line(i32 noundef %155, ptr noundef nonnull @.str.2, ptr noundef %156) #5 br label %158 158: ; preds = %138, %144, %149, %154 %159 = add nuw nsw i64 %139, 1 %160 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %161 = sext i32 %160 to i64 %162 = icmp slt i64 %159, %161 br i1 %162, label %138, label %163, !llvm.loop !19 163: ; preds = %158, %130, %122 %164 = call ptr @scan_comma_elt(ptr noundef nonnull %3) #5 %165 = icmp eq ptr %164, null br i1 %165, label %166, label %104, !llvm.loop !20 166: ; preds = %163, %96, %99 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5 br label %208 167: ; preds = %2 %168 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 1) #5 %169 = tail call ptr @lookup_predicate(ptr noundef %168) #5 %170 = icmp eq ptr %169, null br i1 %170, label %174, label %171 171: ; preds = %167 %172 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %173 = icmp sgt i32 %172, 0 br i1 %173, label %180, label %208 174: ; preds = %167 %175 = load i32, ptr @pattern_lineno, align 4, !tbaa !6 %176 = tail call ptr @XSTR(i32 noundef %0, i32 noundef 1) #5 %177 = tail call i32 (i32, ptr, ...) @message_with_line(i32 noundef %175, ptr noundef nonnull @.str.3, ptr noundef %176) #5 %178 = load i32, ptr @error_count, align 4, !tbaa !6 %179 = add nsw i32 %178, 1 store i32 %179, ptr @error_count, align 4, !tbaa !6 br label %208 180: ; preds = %171, %180 %181 = phi i64 [ %190, %180 ], [ 0, %171 ] %182 = load ptr, ptr %169, align 8, !tbaa !21 %183 = getelementptr inbounds i32, ptr %182, i64 %181 %184 = load i32, ptr %183, align 4, !tbaa !6 %185 = icmp eq i32 %184, 0 %186 = load i8, ptr @I, align 1 %187 = load i8, ptr @N, align 1 %188 = select i1 %185, i8 %187, i8 %186 %189 = getelementptr inbounds i8, ptr %1, i64 %181 store i8 %188, ptr %189, align 1, !tbaa !10 %190 = add nuw nsw i64 %181, 1 %191 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %192 = sext i32 %191 to i64 %193 = icmp slt i64 %190, %192 br i1 %193, label %180, label %208, !llvm.loop !23 194: ; preds = %2 %195 = load i8, ptr @I, align 1, !tbaa !10 %196 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %197 = tail call i32 @memset(ptr noundef %1, i8 noundef signext %195, i32 noundef %196) #5 br label %208 198: ; preds = %2 %199 = load i32, ptr @pattern_lineno, align 4, !tbaa !6 %200 = tail call i32 @GET_CODE(i32 noundef %0) #5 %201 = tail call ptr @GET_RTX_NAME(i32 noundef %200) #5 %202 = tail call i32 (i32, ptr, ...) @message_with_line(i32 noundef %199, ptr noundef nonnull @.str.4, ptr noundef %201) #5 %203 = load i32, ptr @error_count, align 4, !tbaa !6 %204 = add nsw i32 %203, 1 store i32 %204, ptr @error_count, align 4, !tbaa !6 %205 = load i8, ptr @I, align 1, !tbaa !10 %206 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6 %207 = tail call i32 @memset(ptr noundef %1, i8 noundef signext %205, i32 noundef %206) #5 br label %208 208: ; preds = %180, %64, %48, %32, %15, %171, %58, %44, %27, %10, %174, %166, %198, %194, %87 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 @GET_CODE(i32 noundef) local_unnamed_addr #2 declare i32 @XEXP(i32 noundef, i32 noundef) local_unnamed_addr #2 declare signext i8 @TRISTATE_AND(i8 noundef signext, i8 noundef signext) local_unnamed_addr #2 declare signext i8 @TRISTATE_OR(i8 noundef signext, i8 noundef signext) local_unnamed_addr #2 declare signext i8 @TRISTATE_NOT(i8 noundef signext) local_unnamed_addr #2 declare ptr @XSTR(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare i32 @message_with_line(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @scan_comma_elt(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #3 declare ptr @GET_RTX_NAME(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @strncasecmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @lookup_predicate(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12} !14 = distinct !{!14, !12} !15 = distinct !{!15, !12} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !8, i64 0} !18 = distinct !{!18, !12} !19 = distinct !{!19, !12} !20 = distinct !{!20, !12} !21 = !{!22, !17, i64 0} !22 = !{!"pred_data", !17, i64 0} !23 = distinct !{!23, !12}
freebsd_contrib_gcc_extr_genrecog.c_compute_predicate_codes
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_LOAD_STATE_0_NUM_UNIT.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_LOAD_STATE_0_NUM_UNIT.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CP_LOAD_STATE_0_NUM_UNIT__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CP_LOAD_STATE_0_NUM_UNIT__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @CP_LOAD_STATE_0_NUM_UNIT], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @CP_LOAD_STATE_0_NUM_UNIT(i32 noundef %0) #0 { %2 = load i32, ptr @CP_LOAD_STATE_0_NUM_UNIT__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @CP_LOAD_STATE_0_NUM_UNIT__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_LOAD_STATE_0_NUM_UNIT.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_adreno_pm4.xml.h_CP_LOAD_STATE_0_NUM_UNIT.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CP_LOAD_STATE_0_NUM_UNIT__SHIFT = common local_unnamed_addr global i32 0, align 4 @CP_LOAD_STATE_0_NUM_UNIT__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @CP_LOAD_STATE_0_NUM_UNIT], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @CP_LOAD_STATE_0_NUM_UNIT(i32 noundef %0) #0 { %2 = load i32, ptr @CP_LOAD_STATE_0_NUM_UNIT__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @CP_LOAD_STATE_0_NUM_UNIT__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_adreno_extr_adreno_pm4.xml.h_CP_LOAD_STATE_0_NUM_UNIT
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_display.c_is_hdtv_mode.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_display.c_is_hdtv_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.drm_display_mode = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @is_hdtv_mode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal noundef i32 @is_hdtv_mode(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 switch i32 %2, label %7 [ i32 480, label %3 i32 576, label %8 i32 720, label %8 i32 1080, label %8 ] 3: ; preds = %1 %4 = getelementptr inbounds %struct.drm_display_mode, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = icmp eq i32 %5, 720 br i1 %6, label %8, label %7 7: ; preds = %1, %3 br label %8 8: ; preds = %1, %1, %1, %3, %7 %9 = phi i32 [ 0, %7 ], [ 1, %3 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ] ret i32 %9 } 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 = !{!"drm_display_mode", !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 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_display.c_is_hdtv_mode.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_display.c_is_hdtv_mode.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 @is_hdtv_mode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @is_hdtv_mode(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 switch i32 %2, label %7 [ i32 480, label %3 i32 576, label %8 i32 720, label %8 i32 1080, label %8 ] 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = icmp eq i32 %5, 720 br i1 %6, label %8, label %7 7: ; preds = %1, %3 br label %8 8: ; preds = %1, %1, %1, %3, %7 %9 = phi i32 [ 0, %7 ], [ 1, %3 ], [ 1, %1 ], [ 1, %1 ], [ 1, %1 ] ret i32 %9 } 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 = !{!"drm_display_mode", !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 4}
fastsocket_kernel_drivers_gpu_drm_radeon_extr_radeon_display.c_is_hdtv_mode
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_mma8452.c_mma8452_write_event_value.c' source_filename = "AnghaBench/linux/drivers/iio/accel/extr_mma8452.c_mma8452_write_event_value.c" target datalayout = "e-m:e-p270:32:32-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.mma8452_event_regs = type { i32, i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @USEC_PER_SEC = dso_local local_unnamed_addr global i32 0, align 4 @mma8452_time_step_us = dso_local local_unnamed_addr global ptr null, align 8 @MMA8452_TRANSIENT_CFG = dso_local local_unnamed_addr global i32 0, align 4 @MMA8452_TRANSIENT_CFG_HPF_BYP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mma8452_write_event_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mma8452_write_event_value(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = tail call ptr @iio_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %10 = call i32 @mma8452_get_event_regs(ptr noundef %9, ptr noundef %1, i32 noundef %3, ptr noundef nonnull %8) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %73 12: ; preds = %7 switch i32 %4, label %70 [ i32 128, label %13 i32 129, label %26 i32 130, label %50 ] 13: ; preds = %12 %14 = icmp slt i32 %5, 0 br i1 %14, label %19, label %15 15: ; preds = %13 %16 = load ptr, ptr %8, align 8, !tbaa !5 %17 = load i32, ptr %16, align 4, !tbaa !9 %18 = icmp slt i32 %17, %5 br i1 %18, label %19, label %22 19: ; preds = %15, %13 %20 = load i32, ptr @EINVAL, align 4, !tbaa !12 %21 = sub nsw i32 0, %20 br label %73 22: ; preds = %15 %23 = getelementptr inbounds %struct.mma8452_event_regs, ptr %16, i64 0, i32 2 %24 = load i32, ptr %23, align 4, !tbaa !13 %25 = call i32 @mma8452_change_config(ptr noundef %9, i32 noundef %24, i32 noundef %5) #3 br label %73 26: ; preds = %12 %27 = call i32 @mma8452_get_power_mode(ptr noundef %9) #3 %28 = icmp slt i32 %27, 0 br i1 %28, label %73, label %29 29: ; preds = %26 %30 = load i32, ptr @USEC_PER_SEC, align 4, !tbaa !12 %31 = mul nsw i32 %30, %5 %32 = add nsw i32 %31, %6 %33 = load ptr, ptr @mma8452_time_step_us, align 8, !tbaa !5 %34 = zext nneg i32 %27 to i64 %35 = getelementptr inbounds ptr, ptr %33, i64 %34 %36 = load ptr, ptr %35, align 8, !tbaa !5 %37 = call i64 @mma8452_get_odr_index(ptr noundef %9) #3 %38 = getelementptr inbounds i32, ptr %36, i64 %37 %39 = load i32, ptr %38, align 4, !tbaa !12 %40 = sdiv i32 %32, %39 %41 = icmp ugt i32 %40, 255 br i1 %41, label %42, label %45 42: ; preds = %29 %43 = load i32, ptr @EINVAL, align 4, !tbaa !12 %44 = sub nsw i32 0, %43 br label %73 45: ; preds = %29 %46 = load ptr, ptr %8, align 8, !tbaa !5 %47 = getelementptr inbounds %struct.mma8452_event_regs, ptr %46, i64 0, i32 1 %48 = load i32, ptr %47, align 4, !tbaa !14 %49 = call i32 @mma8452_change_config(ptr noundef %9, i32 noundef %48, i32 noundef %40) #3 br label %73 50: ; preds = %12 %51 = load i32, ptr %9, align 4, !tbaa !15 %52 = load i32, ptr @MMA8452_TRANSIENT_CFG, align 4, !tbaa !12 %53 = call i32 @i2c_smbus_read_byte_data(i32 noundef %51, i32 noundef %52) #3 %54 = icmp slt i32 %53, 0 br i1 %54, label %73, label %55 55: ; preds = %50 %56 = or i32 %6, %5 %57 = icmp eq i32 %56, 0 %58 = load i32, ptr @MMA8452_TRANSIENT_CFG_HPF_BYP, align 4, !tbaa !12 br i1 %57, label %59, label %61 59: ; preds = %55 %60 = or i32 %58, %53 br label %66 61: ; preds = %55 %62 = xor i32 %58, -1 %63 = and i32 %53, %62 %64 = call i32 @mma8452_set_hp_filter_frequency(ptr noundef nonnull %9, i32 noundef %5, i32 noundef %6) #3 %65 = icmp slt i32 %64, 0 br i1 %65, label %73, label %66 66: ; preds = %61, %59 %67 = phi i32 [ %60, %59 ], [ %63, %61 ] %68 = load i32, ptr @MMA8452_TRANSIENT_CFG, align 4, !tbaa !12 %69 = call i32 @mma8452_change_config(ptr noundef nonnull %9, i32 noundef %68, i32 noundef %67) #3 br label %73 70: ; preds = %12 %71 = load i32, ptr @EINVAL, align 4, !tbaa !12 %72 = sub nsw i32 0, %71 br label %73 73: ; preds = %61, %50, %26, %7, %70, %66, %45, %42, %22, %19 %74 = phi i32 [ %72, %70 ], [ %69, %66 ], [ %44, %42 ], [ %49, %45 ], [ %21, %19 ], [ %25, %22 ], [ %10, %7 ], [ %27, %26 ], [ %53, %50 ], [ %64, %61 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 ret i32 %74 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #2 declare i32 @mma8452_get_event_regs(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mma8452_change_config(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mma8452_get_power_mode(ptr noundef) local_unnamed_addr #2 declare i64 @mma8452_get_odr_index(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_smbus_read_byte_data(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mma8452_set_hp_filter_frequency(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"mma8452_event_regs", !11, i64 0, !11, i64 4, !11, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !11, i64 8} !14 = !{!10, !11, i64 4} !15 = !{!16, !11, i64 0} !16 = !{!"mma8452_data", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_mma8452.c_mma8452_write_event_value.c' source_filename = "AnghaBench/linux/drivers/iio/accel/extr_mma8452.c_mma8452_write_event_value.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 @USEC_PER_SEC = common local_unnamed_addr global i32 0, align 4 @mma8452_time_step_us = common local_unnamed_addr global ptr null, align 8 @MMA8452_TRANSIENT_CFG = common local_unnamed_addr global i32 0, align 4 @MMA8452_TRANSIENT_CFG_HPF_BYP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mma8452_write_event_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mma8452_write_event_value(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = tail call ptr @iio_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %10 = call i32 @mma8452_get_event_regs(ptr noundef %9, ptr noundef %1, i32 noundef %3, ptr noundef nonnull %8) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %73 12: ; preds = %7 switch i32 %4, label %70 [ i32 128, label %13 i32 129, label %26 i32 130, label %50 ] 13: ; preds = %12 %14 = icmp slt i32 %5, 0 br i1 %14, label %19, label %15 15: ; preds = %13 %16 = load ptr, ptr %8, align 8, !tbaa !6 %17 = load i32, ptr %16, align 4, !tbaa !10 %18 = icmp slt i32 %17, %5 br i1 %18, label %19, label %22 19: ; preds = %15, %13 %20 = load i32, ptr @EINVAL, align 4, !tbaa !13 %21 = sub nsw i32 0, %20 br label %73 22: ; preds = %15 %23 = getelementptr inbounds i8, ptr %16, i64 8 %24 = load i32, ptr %23, align 4, !tbaa !14 %25 = call i32 @mma8452_change_config(ptr noundef %9, i32 noundef %24, i32 noundef %5) #3 br label %73 26: ; preds = %12 %27 = call i32 @mma8452_get_power_mode(ptr noundef %9) #3 %28 = icmp slt i32 %27, 0 br i1 %28, label %73, label %29 29: ; preds = %26 %30 = load i32, ptr @USEC_PER_SEC, align 4, !tbaa !13 %31 = mul nsw i32 %30, %5 %32 = add nsw i32 %31, %6 %33 = load ptr, ptr @mma8452_time_step_us, align 8, !tbaa !6 %34 = zext nneg i32 %27 to i64 %35 = getelementptr inbounds ptr, ptr %33, i64 %34 %36 = load ptr, ptr %35, align 8, !tbaa !6 %37 = call i64 @mma8452_get_odr_index(ptr noundef %9) #3 %38 = getelementptr inbounds i32, ptr %36, i64 %37 %39 = load i32, ptr %38, align 4, !tbaa !13 %40 = sdiv i32 %32, %39 %41 = icmp ugt i32 %40, 255 br i1 %41, label %42, label %45 42: ; preds = %29 %43 = load i32, ptr @EINVAL, align 4, !tbaa !13 %44 = sub nsw i32 0, %43 br label %73 45: ; preds = %29 %46 = load ptr, ptr %8, align 8, !tbaa !6 %47 = getelementptr inbounds i8, ptr %46, i64 4 %48 = load i32, ptr %47, align 4, !tbaa !15 %49 = call i32 @mma8452_change_config(ptr noundef %9, i32 noundef %48, i32 noundef %40) #3 br label %73 50: ; preds = %12 %51 = load i32, ptr %9, align 4, !tbaa !16 %52 = load i32, ptr @MMA8452_TRANSIENT_CFG, align 4, !tbaa !13 %53 = call i32 @i2c_smbus_read_byte_data(i32 noundef %51, i32 noundef %52) #3 %54 = icmp slt i32 %53, 0 br i1 %54, label %73, label %55 55: ; preds = %50 %56 = or i32 %6, %5 %57 = icmp eq i32 %56, 0 %58 = load i32, ptr @MMA8452_TRANSIENT_CFG_HPF_BYP, align 4, !tbaa !13 br i1 %57, label %59, label %61 59: ; preds = %55 %60 = or i32 %58, %53 br label %66 61: ; preds = %55 %62 = xor i32 %58, -1 %63 = and i32 %53, %62 %64 = call i32 @mma8452_set_hp_filter_frequency(ptr noundef nonnull %9, i32 noundef %5, i32 noundef %6) #3 %65 = icmp slt i32 %64, 0 br i1 %65, label %73, label %66 66: ; preds = %61, %59 %67 = phi i32 [ %60, %59 ], [ %63, %61 ] %68 = load i32, ptr @MMA8452_TRANSIENT_CFG, align 4, !tbaa !13 %69 = call i32 @mma8452_change_config(ptr noundef nonnull %9, i32 noundef %68, i32 noundef %67) #3 br label %73 70: ; preds = %12 %71 = load i32, ptr @EINVAL, align 4, !tbaa !13 %72 = sub nsw i32 0, %71 br label %73 73: ; preds = %61, %50, %26, %7, %70, %66, %45, %42, %22, %19 %74 = phi i32 [ %72, %70 ], [ %69, %66 ], [ %44, %42 ], [ %49, %45 ], [ %21, %19 ], [ %25, %22 ], [ %10, %7 ], [ %27, %26 ], [ %53, %50 ], [ %64, %61 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 ret i32 %74 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #2 declare i32 @mma8452_get_event_regs(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mma8452_change_config(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mma8452_get_power_mode(ptr noundef) local_unnamed_addr #2 declare i64 @mma8452_get_odr_index(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_smbus_read_byte_data(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mma8452_set_hp_filter_frequency(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"mma8452_event_regs", !12, i64 0, !12, i64 4, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 4} !16 = !{!17, !12, i64 0} !17 = !{!"mma8452_data", !12, i64 0}
linux_drivers_iio_accel_extr_mma8452.c_mma8452_write_event_value
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_main.c_e1000_configure.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_main.c_e1000_configure.c" target datalayout = "e-m:e-p270:32:32-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.e1000_adapter = type { i32, ptr, ptr, ptr } %struct.e1000_rx_ring = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_configure], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @e1000_configure(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @e1000_set_rx_mode(ptr noundef %3) #2 %5 = tail call i32 @e1000_restore_vlan(ptr noundef %0) #2 %6 = tail call i32 @e1000_init_manageability(ptr noundef %0) #2 %7 = tail call i32 @e1000_configure_tx(ptr noundef %0) #2 %8 = tail call i32 @e1000_setup_rctl(ptr noundef %0) #2 %9 = tail call i32 @e1000_configure_rx(ptr noundef %0) #2 %10 = load i32, ptr %0, align 8, !tbaa !11 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %1 %13 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2 %14 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1 br label %15 15: ; preds = %12, %15 %16 = phi i64 [ 0, %12 ], [ %22, %15 ] %17 = load ptr, ptr %13, align 8, !tbaa !12 %18 = getelementptr inbounds %struct.e1000_rx_ring, ptr %17, i64 %16 %19 = load ptr, ptr %14, align 8, !tbaa !13 %20 = tail call i32 @E1000_DESC_UNUSED(ptr noundef %18) #2 %21 = tail call i32 %19(ptr noundef nonnull %0, ptr noundef %18, i32 noundef %20) #2 %22 = add nuw nsw i64 %16, 1 %23 = load i32, ptr %0, align 8, !tbaa !11 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %22, %24 br i1 %25, label %15, label %26, !llvm.loop !14 26: ; preds = %15, %1 ret void } declare i32 @e1000_set_rx_mode(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_restore_vlan(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_init_manageability(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_configure_tx(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_setup_rctl(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_configure_rx(ptr noundef) local_unnamed_addr #1 declare i32 @E1000_DESC_UNUSED(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 = !{!"e1000_adapter", !7, i64 0, !10, i64 8, !10, 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 16} !13 = !{!6, !10, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_main.c_e1000_configure.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_main.c_e1000_configure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.e1000_rx_ring = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @e1000_configure], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @e1000_configure(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @e1000_set_rx_mode(ptr noundef %3) #2 %5 = tail call i32 @e1000_restore_vlan(ptr noundef %0) #2 %6 = tail call i32 @e1000_init_manageability(ptr noundef %0) #2 %7 = tail call i32 @e1000_configure_tx(ptr noundef %0) #2 %8 = tail call i32 @e1000_setup_rctl(ptr noundef %0) #2 %9 = tail call i32 @e1000_configure_rx(ptr noundef %0) #2 %10 = load i32, ptr %0, align 8, !tbaa !12 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %1 %13 = getelementptr inbounds i8, ptr %0, i64 16 %14 = getelementptr inbounds i8, ptr %0, i64 8 br label %15 15: ; preds = %12, %15 %16 = phi i64 [ 0, %12 ], [ %22, %15 ] %17 = load ptr, ptr %13, align 8, !tbaa !13 %18 = getelementptr inbounds %struct.e1000_rx_ring, ptr %17, i64 %16 %19 = load ptr, ptr %14, align 8, !tbaa !14 %20 = tail call i32 @E1000_DESC_UNUSED(ptr noundef %18) #2 %21 = tail call i32 %19(ptr noundef nonnull %0, ptr noundef %18, i32 noundef %20) #2 %22 = add nuw nsw i64 %16, 1 %23 = load i32, ptr %0, align 8, !tbaa !12 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %22, %24 br i1 %25, label %15, label %26, !llvm.loop !15 26: ; preds = %15, %1 ret void } declare i32 @e1000_set_rx_mode(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_restore_vlan(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_init_manageability(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_configure_tx(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_setup_rctl(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_configure_rx(ptr noundef) local_unnamed_addr #1 declare i32 @E1000_DESC_UNUSED(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 = !{!"e1000_adapter", !8, i64 0, !11, i64 8, !11, 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 16} !14 = !{!7, !11, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_net_e1000_extr_e1000_main.c_e1000_configure
; ModuleID = 'AnghaBench/fastsocket/kernel/security/extr_capability.c_cap_task_setgroups.c' source_filename = "AnghaBench/fastsocket/kernel/security/extr_capability.c_cap_task_setgroups.c" target datalayout = "e-m:e-p270:32:32-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 @cap_task_setgroups], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @cap_task_setgroups(ptr nocapture readnone %0) #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/security/extr_capability.c_cap_task_setgroups.c' source_filename = "AnghaBench/fastsocket/kernel/security/extr_capability.c_cap_task_setgroups.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 @cap_task_setgroups], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @cap_task_setgroups(ptr nocapture readnone %0) #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_security_extr_capability.c_cap_task_setgroups
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_inflow.c_terminal_save_ours.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_inflow.c_terminal_save_ours.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @our_ttystate = dso_local local_unnamed_addr global i64 0, align 8 @stdin_serial = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @terminal_save_ours() local_unnamed_addr #0 { %1 = tail call i64 (...) @gdb_has_a_terminal() #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %11, label %3 3: ; preds = %0 %4 = load i64, ptr @our_ttystate, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %3 %7 = tail call i32 @xfree(i64 noundef %4) #2 br label %8 8: ; preds = %6, %3 %9 = load i32, ptr @stdin_serial, align 4, !tbaa !9 %10 = tail call i64 @serial_get_tty_state(i32 noundef %9) #2 store i64 %10, ptr @our_ttystate, align 8, !tbaa !5 br label %11 11: ; preds = %8, %0 ret void } declare i64 @gdb_has_a_terminal(...) local_unnamed_addr #1 declare i32 @xfree(i64 noundef) local_unnamed_addr #1 declare i64 @serial_get_tty_state(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/freebsd/contrib/gdb/gdb/extr_inflow.c_terminal_save_ours.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_inflow.c_terminal_save_ours.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @our_ttystate = common local_unnamed_addr global i64 0, align 8 @stdin_serial = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @terminal_save_ours() local_unnamed_addr #0 { %1 = tail call i64 @gdb_has_a_terminal() #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %11, label %3 3: ; preds = %0 %4 = load i64, ptr @our_ttystate, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %3 %7 = tail call i32 @xfree(i64 noundef %4) #2 br label %8 8: ; preds = %6, %3 %9 = load i32, ptr @stdin_serial, align 4, !tbaa !10 %10 = tail call i64 @serial_get_tty_state(i32 noundef %9) #2 store i64 %10, ptr @our_ttystate, align 8, !tbaa !6 br label %11 11: ; preds = %8, %0 ret void } declare i64 @gdb_has_a_terminal(...) local_unnamed_addr #1 declare i32 @xfree(i64 noundef) local_unnamed_addr #1 declare i64 @serial_get_tty_state(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}
freebsd_contrib_gdb_gdb_extr_inflow.c_terminal_save_ours
; ModuleID = 'AnghaBench/linux/net/sctp/extr_protocol.c_sctp_inet_supported_addrs.c' source_filename = "AnghaBench/linux/net/sctp/extr_protocol.c_sctp_inet_supported_addrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SCTP_PARAM_IPV4_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sctp_inet_supported_addrs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal noundef i32 @sctp_inet_supported_addrs(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @SCTP_PARAM_IPV4_ADDRESS, align 4, !tbaa !5 store i32 %3, ptr %1, align 4, !tbaa !5 ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/sctp/extr_protocol.c_sctp_inet_supported_addrs.c' source_filename = "AnghaBench/linux/net/sctp/extr_protocol.c_sctp_inet_supported_addrs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCTP_PARAM_IPV4_ADDRESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sctp_inet_supported_addrs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @sctp_inet_supported_addrs(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @SCTP_PARAM_IPV4_ADDRESS, align 4, !tbaa !6 store i32 %3, ptr %1, align 4, !tbaa !6 ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_net_sctp_extr_protocol.c_sctp_inet_supported_addrs
; ModuleID = 'AnghaBench/freebsd/sys/dev/mpr/extr_mpr.c_mpr_deregister_events.c' source_filename = "AnghaBench/freebsd/sys/dev/mpr/extr_mpr.c_mpr_deregister_events.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @eh_list = dso_local local_unnamed_addr global i32 0, align 4 @M_MPR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mpr_deregister_events(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @eh_list, align 4, !tbaa !5 %4 = tail call i32 @TAILQ_REMOVE(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %5 = load i32, ptr @M_MPR, align 4, !tbaa !5 %6 = tail call i32 @free(ptr noundef %1, i32 noundef %5) #2 %7 = tail call i32 @mpr_update_events(ptr noundef %0, ptr noundef null, ptr noundef null) #2 ret i32 %7 } declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mpr_update_events(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/freebsd/sys/dev/mpr/extr_mpr.c_mpr_deregister_events.c' source_filename = "AnghaBench/freebsd/sys/dev/mpr/extr_mpr.c_mpr_deregister_events.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @eh_list = common local_unnamed_addr global i32 0, align 4 @M_MPR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mpr_deregister_events(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @eh_list, align 4, !tbaa !6 %4 = tail call i32 @TAILQ_REMOVE(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %5 = load i32, ptr @M_MPR, align 4, !tbaa !6 %6 = tail call i32 @free(ptr noundef %1, i32 noundef %5) #2 %7 = tail call i32 @mpr_update_events(ptr noundef %0, ptr noundef null, ptr noundef null) #2 ret i32 %7 } declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mpr_update_events(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"}
freebsd_sys_dev_mpr_extr_mpr.c_mpr_deregister_events
; ModuleID = 'AnghaBench/lab/engine/code/server/extr_sv_client.c_SV_BeginDownload_f.c' source_filename = "AnghaBench/lab/engine/code/server/extr_sv_client.c_SV_BeginDownload_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32 } @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void (%struct.TYPE_4__*)* @SV_BeginDownload_f to i8*)], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @SV_BeginDownload_f(%struct.TYPE_4__* noundef %0) #0 { %2 = tail call i32 @SV_CloseDownload(%struct.TYPE_4__* noundef %0) #2 %3 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %0, i64 0, i32 0 %4 = load i32, i32* %3, align 4, !tbaa !5 %5 = tail call i32 @Cmd_Argv(i32 noundef 1) #2 %6 = tail call i32 @Q_strncpyz(i32 noundef %4, i32 noundef %5, i32 noundef 4) #2 ret void } declare i32 @SV_CloseDownload(%struct.TYPE_4__* noundef) local_unnamed_addr #1 declare i32 @Q_strncpyz(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Cmd_Argv(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/lab/engine/code/server/extr_sv_client.c_SV_BeginDownload_f.c' source_filename = "AnghaBench/lab/engine/code/server/extr_sv_client.c_SV_BeginDownload_f.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 @SV_BeginDownload_f], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @SV_BeginDownload_f(ptr noundef %0) #0 { %2 = tail call i32 @SV_CloseDownload(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @Cmd_Argv(i32 noundef 1) #2 %5 = tail call i32 @Q_strncpyz(i32 noundef %3, i32 noundef %4, i32 noundef 4) #2 ret void } declare i32 @SV_CloseDownload(ptr noundef) local_unnamed_addr #1 declare i32 @Q_strncpyz(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Cmd_Argv(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
lab_engine_code_server_extr_sv_client.c_SV_BeginDownload_f
; ModuleID = 'AnghaBench/freebsd/lib/msun/src/extr_s_fmaxl.c_fmaxl.c' source_filename = "AnghaBench/freebsd/lib/msun/src/extr_s_fmaxl.c_fmaxl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %union.IEEEl2bits = type { x86_fp80, [16 x i8] } %struct.TYPE_2__ = type { i32, i32, i32, i64 } ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable define dso_local x86_fp80 @fmaxl(x86_fp80 noundef %0, x86_fp80 noundef %1) local_unnamed_addr #0 { %3 = alloca [2 x %union.IEEEl2bits], align 16 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #3 store x86_fp80 %0, ptr %3, align 16, !tbaa !5 %4 = tail call i32 @mask_nbit_l(ptr noundef nonnull byval(%union.IEEEl2bits) align 16 %3) #3 %5 = getelementptr inbounds [2 x %union.IEEEl2bits], ptr %3, i64 0, i64 1 store x86_fp80 %1, ptr %5, align 16, !tbaa !5 %6 = tail call i32 @mask_nbit_l(ptr noundef nonnull byval(%union.IEEEl2bits) align 16 %5) #3 %7 = load i32, ptr %3, align 16, !tbaa !5 %8 = icmp eq i32 %7, 32767 br i1 %8, label %9, label %16 9: ; preds = %2 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !5 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2 %13 = load i32, ptr %12, align 8, !tbaa !5 %14 = or i32 %13, %11 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %38 16: ; preds = %9, %2 %17 = load i32, ptr %5, align 16, !tbaa !5 %18 = icmp eq i32 %17, 32767 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = getelementptr inbounds i8, ptr %3, i64 36 %21 = load i32, ptr %20, align 4, !tbaa !5 %22 = getelementptr inbounds i8, ptr %3, i64 40 %23 = load i32, ptr %22, align 8, !tbaa !5 %24 = or i32 %23, %21 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %38 26: ; preds = %19, %16 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 3 %28 = load i64, ptr %27, align 16, !tbaa !5 %29 = getelementptr inbounds [2 x %union.IEEEl2bits], ptr %3, i64 0, i64 1, i32 1 %30 = load i64, ptr %29, align 16, !tbaa !5 %31 = icmp eq i64 %28, %30 br i1 %31, label %35, label %32 32: ; preds = %26 %33 = icmp eq i64 %28, 0 %34 = select i1 %33, x86_fp80 %0, x86_fp80 %1 br label %38 35: ; preds = %26 %36 = fcmp ogt x86_fp80 %0, %1 %37 = select i1 %36, x86_fp80 %0, x86_fp80 %1 br label %38 38: ; preds = %19, %9, %35, %32 %39 = phi x86_fp80 [ %34, %32 ], [ %37, %35 ], [ %1, %9 ], [ %0, %19 ] call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #3 ret x86_fp80 %39 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mask_nbit_l(ptr noundef byval(%union.IEEEl2bits) align 16) 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 = { mustprogress nofree nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/lib/msun/src/extr_s_fmaxl.c_fmaxl.c' source_filename = "AnghaBench/freebsd/lib/msun/src/extr_s_fmaxl.c_fmaxl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %union.IEEEl2bits = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32, i64 } ; Function Attrs: mustprogress nofree nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef double @fmaxl(double noundef %0, double noundef %1) local_unnamed_addr #0 { %3 = alloca %union.IEEEl2bits, align 8 %4 = alloca %union.IEEEl2bits, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 store double %0, ptr %3, align 8 %5 = call i32 @mask_nbit_l(ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 store double %1, ptr %4, align 8 %6 = call i32 @mask_nbit_l(ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 %7 = bitcast double %0 to i64 %8 = and i64 %7, 4294967295 %9 = icmp eq i64 %8, 32767 %10 = select i1 %9, double %1, double %0 ret double %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mask_nbit_l(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 = { mustprogress nofree nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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)"}
freebsd_lib_msun_src_extr_s_fmaxl.c_fmaxl
; ModuleID = 'AnghaBench/linux/sound/pci/extr_atiixp.c_snd_atiixp_codec_detect.c' source_filename = "AnghaBench/linux/sound/pci/extr_atiixp.c_snd_atiixp_codec_detect.c" target datalayout = "e-m:e-p270:32:32-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.atiixp = type { i32, ptr, i32 } @ac97_codec = dso_local local_unnamed_addr global i32 0, align 4 @CODEC_CHECK_BITS = dso_local local_unnamed_addr global i32 0, align 4 @IER = dso_local local_unnamed_addr global i32 0, align 4 @ALL_CODEC_NOT_READY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"no codec detected!\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_atiixp_codec_detect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_atiixp_codec_detect(ptr noundef %0) #0 { store i32 0, ptr %0, align 8, !tbaa !5 %2 = load i32, ptr @ac97_codec, align 4, !tbaa !11 %3 = icmp eq i32 %2, -1 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = getelementptr inbounds %struct.atiixp, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = tail call i32 @ac97_probing_bugs(i32 noundef %6) #2 store i32 %7, ptr @ac97_codec, align 4, !tbaa !11 br label %8 8: ; preds = %4, %1 %9 = phi i32 [ %7, %4 ], [ %2, %1 ] %10 = icmp sgt i32 %9, -1 br i1 %10, label %11, label %17 11: ; preds = %8 %12 = load i32, ptr @CODEC_CHECK_BITS, align 4, !tbaa !11 %13 = shl i32 1024, %9 %14 = xor i32 %12, %13 %15 = load i32, ptr %0, align 8, !tbaa !5 %16 = or i32 %15, %14 store i32 %16, ptr %0, align 8, !tbaa !5 br label %43 17: ; preds = %8 %18 = load i32, ptr @IER, align 4, !tbaa !11 %19 = load i32, ptr @CODEC_CHECK_BITS, align 4, !tbaa !11 %20 = tail call i32 @atiixp_write(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19) #2 br label %21 21: ; preds = %24, %17 %22 = phi i32 [ 50, %17 ], [ %25, %24 ] %23 = icmp eq i32 %22, 0 br i1 %23, label %29, label %24 24: ; preds = %21 %25 = add nsw i32 %22, -1 %26 = tail call i32 @mdelay(i32 noundef 1) #2 %27 = load i32, ptr %0, align 8, !tbaa !5 %28 = icmp eq i32 %27, 0 br i1 %28, label %21, label %29, !llvm.loop !13 29: ; preds = %24, %21 %30 = load i32, ptr @IER, align 4, !tbaa !11 %31 = tail call i32 @atiixp_write(ptr noundef nonnull %0, i32 noundef %30, i32 noundef 0) #2 %32 = load i32, ptr %0, align 8, !tbaa !5 %33 = load i32, ptr @ALL_CODEC_NOT_READY, align 4, !tbaa !11 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, %33 br i1 %35, label %36, label %43 36: ; preds = %29 %37 = getelementptr inbounds %struct.atiixp, ptr %0, i64 0, i32 1 %38 = load ptr, ptr %37, align 8, !tbaa !15 %39 = load i32, ptr %38, align 4, !tbaa !16 %40 = tail call i32 @dev_err(i32 noundef %39, ptr noundef nonnull @.str) #2 %41 = load i32, ptr @ENXIO, align 4, !tbaa !11 %42 = sub nsw i32 0, %41 br label %43 43: ; preds = %29, %36, %11 %44 = phi i32 [ 0, %11 ], [ %42, %36 ], [ 0, %29 ] ret i32 %44 } declare i32 @ac97_probing_bugs(i32 noundef) local_unnamed_addr #1 declare i32 @atiixp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"atiixp", !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 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 16} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!6, !10, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_atiixp.c_snd_atiixp_codec_detect.c' source_filename = "AnghaBench/linux/sound/pci/extr_atiixp.c_snd_atiixp_codec_detect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ac97_codec = common local_unnamed_addr global i32 0, align 4 @CODEC_CHECK_BITS = common local_unnamed_addr global i32 0, align 4 @IER = common local_unnamed_addr global i32 0, align 4 @ALL_CODEC_NOT_READY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"no codec detected!\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_atiixp_codec_detect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @snd_atiixp_codec_detect(ptr noundef %0) #0 { store i32 0, ptr %0, align 8, !tbaa !6 %2 = load i32, ptr @ac97_codec, align 4, !tbaa !12 %3 = icmp eq i32 %2, -1 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i32, ptr %5, align 8, !tbaa !13 %7 = tail call i32 @ac97_probing_bugs(i32 noundef %6) #2 store i32 %7, ptr @ac97_codec, align 4, !tbaa !12 br label %8 8: ; preds = %4, %1 %9 = phi i32 [ %7, %4 ], [ %2, %1 ] %10 = icmp sgt i32 %9, -1 br i1 %10, label %11, label %17 11: ; preds = %8 %12 = load i32, ptr @CODEC_CHECK_BITS, align 4, !tbaa !12 %13 = shl nuw i32 1024, %9 %14 = xor i32 %12, %13 %15 = load i32, ptr %0, align 8, !tbaa !6 %16 = or i32 %15, %14 store i32 %16, ptr %0, align 8, !tbaa !6 br label %43 17: ; preds = %8 %18 = load i32, ptr @IER, align 4, !tbaa !12 %19 = load i32, ptr @CODEC_CHECK_BITS, align 4, !tbaa !12 %20 = tail call i32 @atiixp_write(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %19) #2 br label %21 21: ; preds = %24, %17 %22 = phi i32 [ 50, %17 ], [ %25, %24 ] %23 = icmp eq i32 %22, 0 br i1 %23, label %29, label %24 24: ; preds = %21 %25 = add nsw i32 %22, -1 %26 = tail call i32 @mdelay(i32 noundef 1) #2 %27 = load i32, ptr %0, align 8, !tbaa !6 %28 = icmp eq i32 %27, 0 br i1 %28, label %21, label %29, !llvm.loop !14 29: ; preds = %24, %21 %30 = load i32, ptr @IER, align 4, !tbaa !12 %31 = tail call i32 @atiixp_write(ptr noundef nonnull %0, i32 noundef %30, i32 noundef 0) #2 %32 = load i32, ptr %0, align 8, !tbaa !6 %33 = load i32, ptr @ALL_CODEC_NOT_READY, align 4, !tbaa !12 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, %33 br i1 %35, label %36, label %43 36: ; preds = %29 %37 = getelementptr inbounds i8, ptr %0, i64 8 %38 = load ptr, ptr %37, align 8, !tbaa !16 %39 = load i32, ptr %38, align 4, !tbaa !17 %40 = tail call i32 @dev_err(i32 noundef %39, ptr noundef nonnull @.str) #2 %41 = load i32, ptr @ENXIO, align 4, !tbaa !12 %42 = sub nsw i32 0, %41 br label %43 43: ; preds = %29, %36, %11 %44 = phi i32 [ 0, %11 ], [ %42, %36 ], [ 0, %29 ] ret i32 %44 } declare i32 @ac97_probing_bugs(i32 noundef) local_unnamed_addr #1 declare i32 @atiixp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mdelay(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"atiixp", !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 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 16} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!7, !11, i64 8} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_2__", !8, i64 0}
linux_sound_pci_extr_atiixp.c_snd_atiixp_codec_detect
; ModuleID = 'AnghaBench/freebsd/sys/dev/isp/extr_isp.c_isp_mark_portdb.c' source_filename = "AnghaBench/freebsd/sys/dev/isp/extr_isp.c_isp_mark_portdb.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @MAX_FC_TARG = dso_local local_unnamed_addr global i32 0, align 4 @FC_PORTDB_STATE_NIL = dso_local local_unnamed_addr global i64 0, align 8 @DOMAIN_CONTROLLER_BASE = dso_local local_unnamed_addr global i64 0, align 8 @DOMAIN_CONTROLLER_END = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @isp_mark_portdb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @isp_mark_portdb(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @FCPARAM(ptr noundef %0, i32 noundef %1) #2 %4 = load i32, ptr @MAX_FC_TARG, align 4, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %31 6: ; preds = %2 %7 = load ptr, ptr %3, align 8, !tbaa !9 %8 = load i64, ptr @FC_PORTDB_STATE_NIL, align 8, !tbaa !12 %9 = load i64, ptr @DOMAIN_CONTROLLER_BASE, align 8 br label %10 10: ; preds = %6, %26 %11 = phi i32 [ %4, %6 ], [ %27, %26 ] %12 = phi i64 [ 0, %6 ], [ %28, %26 ] %13 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !14 %15 = icmp eq i64 %14, %8 br i1 %15, label %26, label %16 16: ; preds = %10 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 %12, i32 1 %18 = load i64, ptr %17, align 8, !tbaa !16 %19 = icmp slt i64 %18, %9 %20 = load i64, ptr @DOMAIN_CONTROLLER_END, align 8 %21 = icmp sgt i64 %18, %20 %22 = select i1 %19, i1 true, i1 %21 br i1 %22, label %23, label %26 23: ; preds = %16 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 %12, i32 2 store i32 1, ptr %24, align 8, !tbaa !17 %25 = load i32, ptr @MAX_FC_TARG, align 4, !tbaa !5 br label %26 26: ; preds = %16, %10, %23 %27 = phi i32 [ %11, %16 ], [ %11, %10 ], [ %25, %23 ] %28 = add nuw nsw i64 %12, 1 %29 = sext i32 %27 to i64 %30 = icmp slt i64 %28, %29 br i1 %30, label %10, label %31, !llvm.loop !18 31: ; preds = %26, %2 ret void } declare ptr @FCPARAM(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_5__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_4__", !13, i64 0, !13, i64 8, !6, i64 16} !16 = !{!15, !13, i64 8} !17 = !{!15, !6, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/isp/extr_isp.c_isp_mark_portdb.c' source_filename = "AnghaBench/freebsd/sys/dev/isp/extr_isp.c_isp_mark_portdb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i64, i64, i32 } @MAX_FC_TARG = common local_unnamed_addr global i32 0, align 4 @FC_PORTDB_STATE_NIL = common local_unnamed_addr global i64 0, align 8 @DOMAIN_CONTROLLER_BASE = common local_unnamed_addr global i64 0, align 8 @DOMAIN_CONTROLLER_END = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @isp_mark_portdb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @isp_mark_portdb(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @FCPARAM(ptr noundef %0, i32 noundef %1) #2 %4 = load i32, ptr @MAX_FC_TARG, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %31 6: ; preds = %2 %7 = load ptr, ptr %3, align 8, !tbaa !10 %8 = load i64, ptr @FC_PORTDB_STATE_NIL, align 8, !tbaa !13 %9 = load i64, ptr @DOMAIN_CONTROLLER_BASE, align 8 br label %10 10: ; preds = %6, %26 %11 = phi i32 [ %4, %6 ], [ %27, %26 ] %12 = phi i64 [ 0, %6 ], [ %28, %26 ] %13 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !15 %15 = icmp eq i64 %14, %8 br i1 %15, label %26, label %16 16: ; preds = %10 %17 = getelementptr inbounds i8, ptr %13, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !17 %19 = icmp slt i64 %18, %9 %20 = load i64, ptr @DOMAIN_CONTROLLER_END, align 8 %21 = icmp sgt i64 %18, %20 %22 = select i1 %19, i1 true, i1 %21 br i1 %22, label %23, label %26 23: ; preds = %16 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %7, i64 %12, i32 2 store i32 1, ptr %24, align 8, !tbaa !18 %25 = load i32, ptr @MAX_FC_TARG, align 4, !tbaa !6 br label %26 26: ; preds = %16, %10, %23 %27 = phi i32 [ %11, %16 ], [ %11, %10 ], [ %25, %23 ] %28 = add nuw nsw i64 %12, 1 %29 = sext i32 %27 to i64 %30 = icmp slt i64 %28, %29 br i1 %30, label %10, label %31, !llvm.loop !19 31: ; preds = %26, %2 ret void } declare ptr @FCPARAM(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_4__", !14, i64 0, !14, i64 8, !7, i64 16} !17 = !{!16, !14, i64 8} !18 = !{!16, !7, i64 16} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_isp_extr_isp.c_isp_mark_portdb
; ModuleID = 'AnghaBench/linux/drivers/iio/dac/extr_ad5758.c_ad5758_parse_dt.c' source_filename = "AnghaBench/linux/drivers/iio/dac/extr_ad5758.c_ad5758_parse_dt.c" target datalayout = "e-m:e-p270:32:32-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.ad5758_state = type { i32, i32, i32, ptr } @.str = private unnamed_addr constant [24 x i8] c"adi,dc-dc-ilim-microamp\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Missing \22dc-dc-ilim-microamp\22 property\0A\00", align 1 @ad5758_dc_dc_ilim = dso_local local_unnamed_addr global ptr null, align 8 @cmpfunc = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [25 x i8] c"dc-dc-ilim out of range\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"adi,dc-dc-mode\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Missing \22dc-dc-mode\22 property\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @AD5758_DCDC_MODE_DPC_VOLTAGE = dso_local local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [20 x i8] c"adi,range-microvolt\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"Missing \22range-microvolt\22 property\0A\00", align 1 @ad5758_voltage_range = dso_local local_unnamed_addr global ptr null, align 8 @.str.7 = private unnamed_addr constant [19 x i8] c"adi,range-microamp\00", align 1 @.str.8 = private unnamed_addr constant [35 x i8] c"Missing \22range-microamp\22 property\0A\00", align 1 @ad5758_current_range = dso_local local_unnamed_addr global ptr null, align 8 @.str.9 = private unnamed_addr constant [15 x i8] c"range invalid\0A\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"adi,slew-time-us\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"Missing \22slew-time-us\22 property\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ad5758_parse_dt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ad5758_parse_dt(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [2 x i32], align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i32 0, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.ad5758_state, ptr %0, i64 0, i32 3 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = call i32 @device_property_read_u32(ptr noundef %5, ptr noundef nonnull @.str, ptr noundef nonnull %2) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load ptr, ptr %4, align 8, !tbaa !11 %10 = call i32 @dev_dbg(ptr noundef %9, ptr noundef nonnull @.str.1) #3 br label %27 11: ; preds = %1 %12 = load ptr, ptr @ad5758_dc_dc_ilim, align 8, !tbaa !12 %13 = call i32 @ARRAY_SIZE(ptr noundef %12) #3 %14 = load i32, ptr @cmpfunc, align 4, !tbaa !13 %15 = call ptr @bsearch(ptr noundef nonnull %2, ptr noundef %12, i32 noundef %13, i32 noundef 4, i32 noundef %14) #3 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %11 %18 = load ptr, ptr %4, align 8, !tbaa !11 %19 = call i32 @dev_dbg(ptr noundef %18, ptr noundef nonnull @.str.2) #3 br label %27 20: ; preds = %11 %21 = load ptr, ptr @ad5758_dc_dc_ilim, align 8, !tbaa !12 %22 = ptrtoint ptr %15 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 %25 = lshr exact i64 %24, 2 %26 = trunc i64 %25 to i32 store i32 %26, ptr %0, align 8, !tbaa !5 br label %27 27: ; preds = %17, %20, %8 %28 = load ptr, ptr %4, align 8, !tbaa !11 %29 = getelementptr inbounds %struct.ad5758_state, ptr %0, i64 0, i32 1 %30 = call i32 @device_property_read_u32(ptr noundef %28, ptr noundef nonnull @.str.3, ptr noundef nonnull %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = load ptr, ptr %4, align 8, !tbaa !11 %34 = call i32 @dev_err(ptr noundef %33, ptr noundef nonnull @.str.4) #3 br label %82 35: ; preds = %27 %36 = load i32, ptr %29, align 4, !tbaa !14 %37 = call i32 @ad5758_is_valid_mode(i32 noundef %36) #3 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = load i32, ptr @EINVAL, align 4, !tbaa !13 %41 = sub nsw i32 0, %40 br label %82 42: ; preds = %35 %43 = load i32, ptr %29, align 4, !tbaa !14 %44 = zext i32 %43 to i64 %45 = load i64, ptr @AD5758_DCDC_MODE_DPC_VOLTAGE, align 8, !tbaa !15 %46 = icmp eq i64 %45, %44 %47 = load ptr, ptr %4, align 8, !tbaa !11 br i1 %46, label %48, label %54 48: ; preds = %42 %49 = call i32 @device_property_read_u32_array(ptr noundef %47, ptr noundef nonnull @.str.5, ptr noundef nonnull %3, i32 noundef 2) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %60, label %51 51: ; preds = %48 %52 = load ptr, ptr %4, align 8, !tbaa !11 %53 = call i32 @dev_err(ptr noundef %52, ptr noundef nonnull @.str.6) #3 br label %82 54: ; preds = %42 %55 = call i32 @device_property_read_u32_array(ptr noundef %47, ptr noundef nonnull @.str.7, ptr noundef nonnull %3, i32 noundef 2) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %54 %58 = load ptr, ptr %4, align 8, !tbaa !11 %59 = call i32 @dev_err(ptr noundef %58, ptr noundef nonnull @.str.8) #3 br label %82 60: ; preds = %54, %48 %61 = phi ptr [ @ad5758_voltage_range, %48 ], [ @ad5758_current_range, %54 ] %62 = load ptr, ptr %61, align 8, !tbaa !12 %63 = call i32 @ARRAY_SIZE(ptr noundef %62) #3 %64 = load i32, ptr %3, align 4, !tbaa !13 %65 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 %66 = load i32, ptr %65, align 4, !tbaa !13 %67 = call i32 @ad5758_find_out_range(ptr noundef nonnull %0, ptr noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %66) #3 %68 = icmp eq i32 %67, 0 %69 = load ptr, ptr %4, align 8, !tbaa !11 br i1 %68, label %72, label %70 70: ; preds = %60 %71 = call i32 @dev_err(ptr noundef %69, ptr noundef nonnull @.str.9) #3 br label %82 72: ; preds = %60 %73 = call i32 @device_property_read_u32(ptr noundef %69, ptr noundef nonnull @.str.10, ptr noundef nonnull %2) #3 %74 = icmp eq i32 %73, 0 br i1 %74, label %79, label %75 75: ; preds = %72 %76 = load ptr, ptr %4, align 8, !tbaa !11 %77 = call i32 @dev_dbg(ptr noundef %76, ptr noundef nonnull @.str.11) #3 %78 = getelementptr inbounds %struct.ad5758_state, ptr %0, i64 0, i32 2 store i32 0, ptr %78, align 8, !tbaa !17 br label %82 79: ; preds = %72 %80 = load i32, ptr %2, align 4, !tbaa !13 %81 = getelementptr inbounds %struct.ad5758_state, ptr %0, i64 0, i32 2 store i32 %80, ptr %81, align 8, !tbaa !17 br label %82 82: ; preds = %75, %79, %70, %57, %51, %39, %32 %83 = phi i32 [ %30, %32 ], [ %49, %51 ], [ %67, %70 ], [ %55, %57 ], [ %41, %39 ], [ 0, %79 ], [ 0, %75 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %83 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @device_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bsearch(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ad5758_is_valid_mode(i32 noundef) local_unnamed_addr #2 declare i32 @device_property_read_u32_array(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ad5758_find_out_range(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"ad5758_state", !7, i64 0, !7, i64 4, !7, i64 8, !10, 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 = !{!6, !10, i64 16} !12 = !{!10, !10, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/iio/dac/extr_ad5758.c_ad5758_parse_dt.c' source_filename = "AnghaBench/linux/drivers/iio/dac/extr_ad5758.c_ad5758_parse_dt.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"adi,dc-dc-ilim-microamp\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Missing \22dc-dc-ilim-microamp\22 property\0A\00", align 1 @ad5758_dc_dc_ilim = common local_unnamed_addr global ptr null, align 8 @cmpfunc = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [25 x i8] c"dc-dc-ilim out of range\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"adi,dc-dc-mode\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Missing \22dc-dc-mode\22 property\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @AD5758_DCDC_MODE_DPC_VOLTAGE = common local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [20 x i8] c"adi,range-microvolt\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"Missing \22range-microvolt\22 property\0A\00", align 1 @ad5758_voltage_range = common local_unnamed_addr global ptr null, align 8 @.str.7 = private unnamed_addr constant [19 x i8] c"adi,range-microamp\00", align 1 @.str.8 = private unnamed_addr constant [35 x i8] c"Missing \22range-microamp\22 property\0A\00", align 1 @ad5758_current_range = common local_unnamed_addr global ptr null, align 8 @.str.9 = private unnamed_addr constant [15 x i8] c"range invalid\0A\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"adi,slew-time-us\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"Missing \22slew-time-us\22 property\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ad5758_parse_dt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ad5758_parse_dt(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [2 x i32], align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i32 0, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = call i32 @device_property_read_u32(ptr noundef %5, ptr noundef nonnull @.str, ptr noundef nonnull %2) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load ptr, ptr %4, align 8, !tbaa !12 %10 = call i32 @dev_dbg(ptr noundef %9, ptr noundef nonnull @.str.1) #3 br label %27 11: ; preds = %1 %12 = load ptr, ptr @ad5758_dc_dc_ilim, align 8, !tbaa !13 %13 = call i32 @ARRAY_SIZE(ptr noundef %12) #3 %14 = load i32, ptr @cmpfunc, align 4, !tbaa !14 %15 = call ptr @bsearch(ptr noundef nonnull %2, ptr noundef %12, i32 noundef %13, i32 noundef 4, i32 noundef %14) #3 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %11 %18 = load ptr, ptr %4, align 8, !tbaa !12 %19 = call i32 @dev_dbg(ptr noundef %18, ptr noundef nonnull @.str.2) #3 br label %27 20: ; preds = %11 %21 = load ptr, ptr @ad5758_dc_dc_ilim, align 8, !tbaa !13 %22 = ptrtoint ptr %15 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 %25 = lshr exact i64 %24, 2 %26 = trunc i64 %25 to i32 store i32 %26, ptr %0, align 8, !tbaa !6 br label %27 27: ; preds = %17, %20, %8 %28 = load ptr, ptr %4, align 8, !tbaa !12 %29 = getelementptr inbounds i8, ptr %0, i64 4 %30 = call i32 @device_property_read_u32(ptr noundef %28, ptr noundef nonnull @.str.3, ptr noundef nonnull %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = load ptr, ptr %4, align 8, !tbaa !12 %34 = call i32 @dev_err(ptr noundef %33, ptr noundef nonnull @.str.4) #3 br label %82 35: ; preds = %27 %36 = load i32, ptr %29, align 4, !tbaa !15 %37 = call i32 @ad5758_is_valid_mode(i32 noundef %36) #3 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = load i32, ptr @EINVAL, align 4, !tbaa !14 %41 = sub nsw i32 0, %40 br label %82 42: ; preds = %35 %43 = load i32, ptr %29, align 4, !tbaa !15 %44 = zext i32 %43 to i64 %45 = load i64, ptr @AD5758_DCDC_MODE_DPC_VOLTAGE, align 8, !tbaa !16 %46 = icmp eq i64 %45, %44 %47 = load ptr, ptr %4, align 8, !tbaa !12 br i1 %46, label %48, label %54 48: ; preds = %42 %49 = call i32 @device_property_read_u32_array(ptr noundef %47, ptr noundef nonnull @.str.5, ptr noundef nonnull %3, i32 noundef 2) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %60, label %51 51: ; preds = %48 %52 = load ptr, ptr %4, align 8, !tbaa !12 %53 = call i32 @dev_err(ptr noundef %52, ptr noundef nonnull @.str.6) #3 br label %82 54: ; preds = %42 %55 = call i32 @device_property_read_u32_array(ptr noundef %47, ptr noundef nonnull @.str.7, ptr noundef nonnull %3, i32 noundef 2) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %60, label %57 57: ; preds = %54 %58 = load ptr, ptr %4, align 8, !tbaa !12 %59 = call i32 @dev_err(ptr noundef %58, ptr noundef nonnull @.str.8) #3 br label %82 60: ; preds = %54, %48 %61 = phi ptr [ @ad5758_voltage_range, %48 ], [ @ad5758_current_range, %54 ] %62 = load ptr, ptr %61, align 8, !tbaa !13 %63 = call i32 @ARRAY_SIZE(ptr noundef %62) #3 %64 = load i32, ptr %3, align 4, !tbaa !14 %65 = getelementptr inbounds i8, ptr %3, i64 4 %66 = load i32, ptr %65, align 4, !tbaa !14 %67 = call i32 @ad5758_find_out_range(ptr noundef nonnull %0, ptr noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %66) #3 %68 = icmp eq i32 %67, 0 %69 = load ptr, ptr %4, align 8, !tbaa !12 br i1 %68, label %72, label %70 70: ; preds = %60 %71 = call i32 @dev_err(ptr noundef %69, ptr noundef nonnull @.str.9) #3 br label %82 72: ; preds = %60 %73 = call i32 @device_property_read_u32(ptr noundef %69, ptr noundef nonnull @.str.10, ptr noundef nonnull %2) #3 %74 = icmp eq i32 %73, 0 br i1 %74, label %79, label %75 75: ; preds = %72 %76 = load ptr, ptr %4, align 8, !tbaa !12 %77 = call i32 @dev_dbg(ptr noundef %76, ptr noundef nonnull @.str.11) #3 %78 = getelementptr inbounds i8, ptr %0, i64 8 store i32 0, ptr %78, align 8, !tbaa !18 br label %82 79: ; preds = %72 %80 = load i32, ptr %2, align 4, !tbaa !14 %81 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %80, ptr %81, align 8, !tbaa !18 br label %82 82: ; preds = %75, %79, %70, %57, %51, %39, %32 %83 = phi i32 [ %30, %32 ], [ %49, %51 ], [ %67, %70 ], [ %55, %57 ], [ %41, %39 ], [ 0, %79 ], [ 0, %75 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %83 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @device_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @bsearch(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ad5758_is_valid_mode(i32 noundef) local_unnamed_addr #2 declare i32 @device_property_read_u32_array(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ad5758_find_out_range(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"ad5758_state", !8, i64 0, !8, i64 4, !8, i64 8, !11, 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 = !{!7, !11, i64 16} !13 = !{!11, !11, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!7, !8, i64 8}
linux_drivers_iio_dac_extr_ad5758.c_ad5758_parse_dt
; ModuleID = 'AnghaBench/postgres/src/backend/storage/buffer/extr_bufmgr.c_PrefetchBuffer.c' source_filename = "AnghaBench/postgres/src/backend/storage/buffer/extr_bufmgr.c_PrefetchBuffer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ERRCODE_FEATURE_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @LW_SHARED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @PrefetchBuffer(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2) 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/postgres/src/backend/storage/buffer/extr_bufmgr.c_PrefetchBuffer.c' source_filename = "AnghaBench/postgres/src/backend/storage/buffer/extr_bufmgr.c_PrefetchBuffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERRCODE_FEATURE_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @LW_SHARED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @PrefetchBuffer(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2) 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)"}
postgres_src_backend_storage_buffer_extr_bufmgr.c_PrefetchBuffer
; ModuleID = 'AnghaBench/freebsd/sys/cddl/boot/zfs/extr_zfssubr.c_vdev_raidz_generate_parity_pqr.c' source_filename = "AnghaBench/freebsd/sys/cddl/boot/zfs/extr_zfssubr.c_vdev_raidz_generate_parity_pqr.c" target datalayout = "e-m:e-p270:32:32-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, i32, ptr } %struct.TYPE_4__ = type { i32, ptr } @VDEV_RAIDZ_P = dso_local local_unnamed_addr global i64 0, align 8 @VDEV_RAIDZ_Q = dso_local local_unnamed_addr global i64 0, align 8 @VDEV_RAIDZ_R = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @vdev_raidz_generate_parity_pqr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vdev_raidz_generate_parity_pqr(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr @VDEV_RAIDZ_P, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %4 %6 = load i32, ptr %5, align 8, !tbaa !13 %7 = ashr i32 %6, 2 %8 = load i64, ptr @VDEV_RAIDZ_Q, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %8 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = icmp eq i32 %6, %10 %12 = zext i1 %11 to i32 %13 = tail call i32 @ASSERT(i32 noundef %12) #2 %14 = load ptr, ptr %2, align 8, !tbaa !5 %15 = load i64, ptr @VDEV_RAIDZ_P, align 8, !tbaa !11 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %15 %17 = load i32, ptr %16, align 8, !tbaa !13 %18 = load i64, ptr @VDEV_RAIDZ_R, align 8, !tbaa !11 %19 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %18 %20 = load i32, ptr %19, align 8, !tbaa !13 %21 = icmp eq i32 %17, %20 %22 = zext i1 %21 to i32 %23 = tail call i32 @ASSERT(i32 noundef %22) #2 %24 = load i32, ptr %0, align 8, !tbaa !15 %25 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !16 %27 = icmp slt i32 %24, %26 br i1 %27, label %28, label %343 28: ; preds = %1 %29 = sext i32 %24 to i64 br label %30 30: ; preds = %28, %338 %31 = phi i64 [ %29, %28 ], [ %339, %338 ] %32 = load ptr, ptr %2, align 8, !tbaa !5 %33 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %31 %34 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %31, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !17 %36 = load i64, ptr @VDEV_RAIDZ_P, align 8, !tbaa !11 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %36, i32 1 %38 = load ptr, ptr %37, align 8, !tbaa !17 %39 = load i64, ptr @VDEV_RAIDZ_Q, align 8, !tbaa !11 %40 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %39, i32 1 %41 = load ptr, ptr %40, align 8, !tbaa !17 %42 = load i64, ptr @VDEV_RAIDZ_R, align 8, !tbaa !11 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %42, i32 1 %44 = load ptr, ptr %43, align 8, !tbaa !17 %45 = load i32, ptr %33, align 8, !tbaa !13 %46 = ashr i32 %45, 2 %47 = load i32, ptr %0, align 8, !tbaa !15 %48 = trunc i64 %31 to i32 %49 = icmp eq i32 %47, %48 br i1 %49, label %50, label %291 50: ; preds = %30 %51 = icmp eq i32 %46, %7 %52 = icmp ult i32 %45, 4 %53 = or i1 %52, %51 %54 = zext i1 %53 to i32 %55 = tail call i32 @ASSERT(i32 noundef %54) #2 %56 = icmp sgt i32 %46, 0 br i1 %56, label %57, label %164 57: ; preds = %50 %58 = zext nneg i32 %46 to i64 %59 = icmp ult i32 %46, 20 br i1 %59, label %128, label %60 60: ; preds = %57 %61 = getelementptr i8, ptr %38, i64 4 %62 = add nsw i32 %46, -1 %63 = zext i32 %62 to i64 %64 = shl nuw nsw i64 %63, 2 %65 = getelementptr i8, ptr %61, i64 %64 %66 = getelementptr i8, ptr %41, i64 4 %67 = getelementptr i8, ptr %66, i64 %64 %68 = getelementptr i8, ptr %44, i64 4 %69 = getelementptr i8, ptr %68, i64 %64 %70 = getelementptr i8, ptr %35, i64 4 %71 = getelementptr i8, ptr %70, i64 %64 %72 = icmp ult ptr %38, %67 %73 = icmp ult ptr %41, %65 %74 = and i1 %72, %73 %75 = icmp ult ptr %38, %69 %76 = icmp ult ptr %44, %65 %77 = and i1 %75, %76 %78 = or i1 %74, %77 %79 = icmp ult ptr %38, %71 %80 = icmp ult ptr %35, %65 %81 = and i1 %79, %80 %82 = or i1 %78, %81 %83 = icmp ult ptr %41, %69 %84 = icmp ult ptr %44, %67 %85 = and i1 %83, %84 %86 = or i1 %82, %85 %87 = icmp ult ptr %41, %71 %88 = icmp ult ptr %35, %67 %89 = and i1 %87, %88 %90 = or i1 %86, %89 %91 = icmp ult ptr %44, %71 %92 = icmp ult ptr %35, %69 %93 = and i1 %91, %92 %94 = or i1 %90, %93 br i1 %94, label %128, label %95 95: ; preds = %60 %96 = and i64 %58, 2147483640 %97 = trunc i64 %96 to i32 %98 = shl nuw nsw i64 %96, 2 %99 = getelementptr i8, ptr %38, i64 %98 %100 = shl nuw nsw i64 %96, 2 %101 = getelementptr i8, ptr %41, i64 %100 %102 = shl nuw nsw i64 %96, 2 %103 = getelementptr i8, ptr %35, i64 %102 %104 = shl nuw nsw i64 %96, 2 %105 = getelementptr i8, ptr %44, i64 %104 br label %106 106: ; preds = %106, %95 %107 = phi i64 [ 0, %95 ], [ %124, %106 ] %108 = shl i64 %107, 2 %109 = getelementptr i8, ptr %38, i64 %108 %110 = shl i64 %107, 2 %111 = getelementptr i8, ptr %41, i64 %110 %112 = shl i64 %107, 2 %113 = getelementptr i8, ptr %35, i64 %112 %114 = shl i64 %107, 2 %115 = getelementptr i8, ptr %44, i64 %114 %116 = getelementptr i32, ptr %113, i64 4 %117 = load <4 x i32>, ptr %113, align 4, !tbaa !18, !alias.scope !19 %118 = load <4 x i32>, ptr %116, align 4, !tbaa !18, !alias.scope !19 %119 = getelementptr i32, ptr %109, i64 4 store <4 x i32> %117, ptr %109, align 4, !tbaa !18, !alias.scope !22, !noalias !24 store <4 x i32> %118, ptr %119, align 4, !tbaa !18, !alias.scope !22, !noalias !24 %120 = getelementptr i32, ptr %111, i64 4 store <4 x i32> %117, ptr %111, align 4, !tbaa !18, !alias.scope !27, !noalias !28 store <4 x i32> %118, ptr %120, align 4, !tbaa !18, !alias.scope !27, !noalias !28 %121 = load <4 x i32>, ptr %113, align 4, !tbaa !18, !alias.scope !19 %122 = load <4 x i32>, ptr %116, align 4, !tbaa !18, !alias.scope !19 %123 = getelementptr i32, ptr %115, i64 4 store <4 x i32> %121, ptr %115, align 4, !tbaa !18, !alias.scope !29, !noalias !19 store <4 x i32> %122, ptr %123, align 4, !tbaa !18, !alias.scope !29, !noalias !19 %124 = add nuw i64 %107, 8 %125 = icmp eq i64 %124, %96 br i1 %125, label %126, label %106, !llvm.loop !30 126: ; preds = %106 %127 = icmp eq i64 %96, %58 br i1 %127, label %164, label %128 128: ; preds = %60, %57, %126 %129 = phi i32 [ 0, %60 ], [ 0, %57 ], [ %97, %126 ] %130 = phi ptr [ %38, %60 ], [ %38, %57 ], [ %99, %126 ] %131 = phi ptr [ %41, %60 ], [ %41, %57 ], [ %101, %126 ] %132 = phi ptr [ %35, %60 ], [ %35, %57 ], [ %103, %126 ] %133 = phi ptr [ %44, %60 ], [ %44, %57 ], [ %105, %126 ] %134 = sub i32 %46, %129 %135 = and i32 %134, 3 %136 = icmp eq i32 %135, 0 br i1 %136, label %153, label %137 137: ; preds = %128, %137 %138 = phi i32 [ %146, %137 ], [ %129, %128 ] %139 = phi ptr [ %148, %137 ], [ %130, %128 ] %140 = phi ptr [ %149, %137 ], [ %131, %128 ] %141 = phi ptr [ %147, %137 ], [ %132, %128 ] %142 = phi ptr [ %150, %137 ], [ %133, %128 ] %143 = phi i32 [ %151, %137 ], [ 0, %128 ] %144 = load i32, ptr %141, align 4, !tbaa !18 store i32 %144, ptr %139, align 4, !tbaa !18 store i32 %144, ptr %140, align 4, !tbaa !18 %145 = load i32, ptr %141, align 4, !tbaa !18 store i32 %145, ptr %142, align 4, !tbaa !18 %146 = add nuw nsw i32 %138, 1 %147 = getelementptr inbounds i32, ptr %141, i64 1 %148 = getelementptr inbounds i32, ptr %139, i64 1 %149 = getelementptr inbounds i32, ptr %140, i64 1 %150 = getelementptr inbounds i32, ptr %142, i64 1 %151 = add i32 %143, 1 %152 = icmp eq i32 %151, %135 br i1 %152, label %153, label %137, !llvm.loop !34 153: ; preds = %137, %128 %154 = phi ptr [ undef, %128 ], [ %148, %137 ] %155 = phi ptr [ undef, %128 ], [ %149, %137 ] %156 = phi ptr [ undef, %128 ], [ %150, %137 ] %157 = phi i32 [ %129, %128 ], [ %146, %137 ] %158 = phi ptr [ %130, %128 ], [ %148, %137 ] %159 = phi ptr [ %131, %128 ], [ %149, %137 ] %160 = phi ptr [ %132, %128 ], [ %147, %137 ] %161 = phi ptr [ %133, %128 ], [ %150, %137 ] %162 = sub i32 %129, %46 %163 = icmp ugt i32 %162, -4 br i1 %163, label %164, label %240 164: ; preds = %153, %240, %126, %50 %165 = phi ptr [ %44, %50 ], [ %105, %126 ], [ %156, %153 ], [ %270, %240 ] %166 = phi ptr [ %41, %50 ], [ %101, %126 ], [ %155, %153 ], [ %269, %240 ] %167 = phi ptr [ %38, %50 ], [ %99, %126 ], [ %154, %153 ], [ %268, %240 ] %168 = phi i32 [ 0, %50 ], [ %46, %126 ], [ %46, %240 ], [ %46, %153 ] %169 = ptrtoint ptr %166 to i64 %170 = ptrtoint ptr %167 to i64 %171 = ptrtoint ptr %165 to i64 %172 = icmp slt i32 %168, %7 br i1 %172, label %173, label %338 173: ; preds = %164 %174 = xor i32 %168, -1 %175 = add nsw i32 %7, %174 %176 = zext i32 %175 to i64 %177 = add nuw nsw i64 %176, 1 %178 = icmp ult i32 %175, 7 br i1 %178, label %213, label %179 179: ; preds = %173 %180 = sub i64 %169, %170 %181 = icmp ult i64 %180, 32 %182 = sub i64 %171, %170 %183 = icmp ult i64 %182, 32 %184 = or i1 %181, %183 %185 = sub i64 %171, %169 %186 = icmp ult i64 %185, 32 %187 = or i1 %184, %186 br i1 %187, label %213, label %188 188: ; preds = %179 %189 = and i64 %177, 8589934584 %190 = trunc i64 %189 to i32 %191 = add i32 %168, %190 %192 = shl nuw nsw i64 %189, 2 %193 = getelementptr i8, ptr %167, i64 %192 %194 = shl nuw nsw i64 %189, 2 %195 = getelementptr i8, ptr %166, i64 %194 %196 = shl nuw nsw i64 %189, 2 %197 = getelementptr i8, ptr %165, i64 %196 br label %198 198: ; preds = %198, %188 %199 = phi i64 [ 0, %188 ], [ %209, %198 ] %200 = shl i64 %199, 2 %201 = getelementptr i8, ptr %167, i64 %200 %202 = shl i64 %199, 2 %203 = getelementptr i8, ptr %166, i64 %202 %204 = shl i64 %199, 2 %205 = getelementptr i8, ptr %165, i64 %204 %206 = getelementptr i32, ptr %201, i64 4 store <4 x i32> zeroinitializer, ptr %201, align 4, !tbaa !18 store <4 x i32> zeroinitializer, ptr %206, align 4, !tbaa !18 %207 = getelementptr i32, ptr %203, i64 4 store <4 x i32> zeroinitializer, ptr %203, align 4, !tbaa !18 store <4 x i32> zeroinitializer, ptr %207, align 4, !tbaa !18 %208 = getelementptr i32, ptr %205, i64 4 store <4 x i32> zeroinitializer, ptr %205, align 4, !tbaa !18 store <4 x i32> zeroinitializer, ptr %208, align 4, !tbaa !18 %209 = add nuw i64 %199, 8 %210 = icmp eq i64 %209, %189 br i1 %210, label %211, label %198, !llvm.loop !36 211: ; preds = %198 %212 = icmp eq i64 %177, %189 br i1 %212, label %338, label %213 213: ; preds = %179, %173, %211 %214 = phi i32 [ %168, %179 ], [ %168, %173 ], [ %191, %211 ] %215 = phi ptr [ %167, %179 ], [ %167, %173 ], [ %193, %211 ] %216 = phi ptr [ %166, %179 ], [ %166, %173 ], [ %195, %211 ] %217 = phi ptr [ %165, %179 ], [ %165, %173 ], [ %197, %211 ] %218 = sub i32 %7, %214 %219 = and i32 %218, 3 %220 = icmp eq i32 %219, 0 br i1 %220, label %233, label %221 221: ; preds = %213, %221 %222 = phi i32 [ %227, %221 ], [ %214, %213 ] %223 = phi ptr [ %228, %221 ], [ %215, %213 ] %224 = phi ptr [ %229, %221 ], [ %216, %213 ] %225 = phi ptr [ %230, %221 ], [ %217, %213 ] %226 = phi i32 [ %231, %221 ], [ 0, %213 ] store i32 0, ptr %223, align 4, !tbaa !18 store i32 0, ptr %224, align 4, !tbaa !18 store i32 0, ptr %225, align 4, !tbaa !18 %227 = add nuw nsw i32 %222, 1 %228 = getelementptr inbounds i32, ptr %223, i64 1 %229 = getelementptr inbounds i32, ptr %224, i64 1 %230 = getelementptr inbounds i32, ptr %225, i64 1 %231 = add i32 %226, 1 %232 = icmp eq i32 %231, %219 br i1 %232, label %233, label %221, !llvm.loop !37 233: ; preds = %221, %213 %234 = phi i32 [ %214, %213 ], [ %227, %221 ] %235 = phi ptr [ %215, %213 ], [ %228, %221 ] %236 = phi ptr [ %216, %213 ], [ %229, %221 ] %237 = phi ptr [ %217, %213 ], [ %230, %221 ] %238 = sub i32 %214, %7 %239 = icmp ugt i32 %238, -4 br i1 %239, label %338, label %272 240: ; preds = %153, %240 %241 = phi i32 [ %266, %240 ], [ %157, %153 ] %242 = phi ptr [ %268, %240 ], [ %158, %153 ] %243 = phi ptr [ %269, %240 ], [ %159, %153 ] %244 = phi ptr [ %267, %240 ], [ %160, %153 ] %245 = phi ptr [ %270, %240 ], [ %161, %153 ] %246 = load i32, ptr %244, align 4, !tbaa !18 store i32 %246, ptr %242, align 4, !tbaa !18 store i32 %246, ptr %243, align 4, !tbaa !18 %247 = load i32, ptr %244, align 4, !tbaa !18 store i32 %247, ptr %245, align 4, !tbaa !18 %248 = getelementptr inbounds i32, ptr %244, i64 1 %249 = getelementptr inbounds i32, ptr %242, i64 1 %250 = getelementptr inbounds i32, ptr %243, i64 1 %251 = getelementptr inbounds i32, ptr %245, i64 1 %252 = load i32, ptr %248, align 4, !tbaa !18 store i32 %252, ptr %249, align 4, !tbaa !18 store i32 %252, ptr %250, align 4, !tbaa !18 %253 = load i32, ptr %248, align 4, !tbaa !18 store i32 %253, ptr %251, align 4, !tbaa !18 %254 = getelementptr inbounds i32, ptr %244, i64 2 %255 = getelementptr inbounds i32, ptr %242, i64 2 %256 = getelementptr inbounds i32, ptr %243, i64 2 %257 = getelementptr inbounds i32, ptr %245, i64 2 %258 = load i32, ptr %254, align 4, !tbaa !18 store i32 %258, ptr %255, align 4, !tbaa !18 store i32 %258, ptr %256, align 4, !tbaa !18 %259 = load i32, ptr %254, align 4, !tbaa !18 store i32 %259, ptr %257, align 4, !tbaa !18 %260 = getelementptr inbounds i32, ptr %244, i64 3 %261 = getelementptr inbounds i32, ptr %242, i64 3 %262 = getelementptr inbounds i32, ptr %243, i64 3 %263 = getelementptr inbounds i32, ptr %245, i64 3 %264 = load i32, ptr %260, align 4, !tbaa !18 store i32 %264, ptr %261, align 4, !tbaa !18 store i32 %264, ptr %262, align 4, !tbaa !18 %265 = load i32, ptr %260, align 4, !tbaa !18 store i32 %265, ptr %263, align 4, !tbaa !18 %266 = add nuw nsw i32 %241, 4 %267 = getelementptr inbounds i32, ptr %244, i64 4 %268 = getelementptr inbounds i32, ptr %242, i64 4 %269 = getelementptr inbounds i32, ptr %243, i64 4 %270 = getelementptr inbounds i32, ptr %245, i64 4 %271 = icmp eq i32 %266, %46 br i1 %271, label %164, label %240, !llvm.loop !38 272: ; preds = %233, %272 %273 = phi i32 [ %286, %272 ], [ %234, %233 ] %274 = phi ptr [ %287, %272 ], [ %235, %233 ] %275 = phi ptr [ %288, %272 ], [ %236, %233 ] %276 = phi ptr [ %289, %272 ], [ %237, %233 ] store i32 0, ptr %274, align 4, !tbaa !18 store i32 0, ptr %275, align 4, !tbaa !18 store i32 0, ptr %276, align 4, !tbaa !18 %277 = getelementptr inbounds i32, ptr %274, i64 1 %278 = getelementptr inbounds i32, ptr %275, i64 1 %279 = getelementptr inbounds i32, ptr %276, i64 1 store i32 0, ptr %277, align 4, !tbaa !18 store i32 0, ptr %278, align 4, !tbaa !18 store i32 0, ptr %279, align 4, !tbaa !18 %280 = getelementptr inbounds i32, ptr %274, i64 2 %281 = getelementptr inbounds i32, ptr %275, i64 2 %282 = getelementptr inbounds i32, ptr %276, i64 2 store i32 0, ptr %280, align 4, !tbaa !18 store i32 0, ptr %281, align 4, !tbaa !18 store i32 0, ptr %282, align 4, !tbaa !18 %283 = getelementptr inbounds i32, ptr %274, i64 3 %284 = getelementptr inbounds i32, ptr %275, i64 3 %285 = getelementptr inbounds i32, ptr %276, i64 3 store i32 0, ptr %283, align 4, !tbaa !18 store i32 0, ptr %284, align 4, !tbaa !18 store i32 0, ptr %285, align 4, !tbaa !18 %286 = add nuw nsw i32 %273, 4 %287 = getelementptr inbounds i32, ptr %274, i64 4 %288 = getelementptr inbounds i32, ptr %275, i64 4 %289 = getelementptr inbounds i32, ptr %276, i64 4 %290 = icmp eq i32 %286, %7 br i1 %290, label %338, label %272, !llvm.loop !39 291: ; preds = %30 %292 = icmp sle i32 %46, %7 %293 = zext i1 %292 to i32 %294 = tail call i32 @ASSERT(i32 noundef %293) #2 %295 = icmp sgt i32 %46, 0 br i1 %295, label %301, label %296 296: ; preds = %301, %291 %297 = phi ptr [ %44, %291 ], [ %324, %301 ] %298 = phi ptr [ %41, %291 ], [ %323, %301 ] %299 = phi i32 [ 0, %291 ], [ %46, %301 ] %300 = icmp slt i32 %299, %7 br i1 %300, label %326, label %338 301: ; preds = %291, %301 %302 = phi i32 [ %320, %301 ], [ 0, %291 ] %303 = phi ptr [ %322, %301 ], [ %38, %291 ] %304 = phi ptr [ %323, %301 ], [ %41, %291 ] %305 = phi ptr [ %321, %301 ], [ %35, %291 ] %306 = phi ptr [ %324, %301 ], [ %44, %291 ] %307 = load i32, ptr %305, align 4, !tbaa !18 %308 = load i32, ptr %303, align 4, !tbaa !18 %309 = xor i32 %308, %307 store i32 %309, ptr %303, align 4, !tbaa !18 %310 = load i32, ptr %304, align 4, !tbaa !18 %311 = tail call i32 @VDEV_RAIDZ_64MUL_2(i32 noundef %310, i32 noundef undef) #2 %312 = load i32, ptr %305, align 4, !tbaa !18 %313 = load i32, ptr %304, align 4, !tbaa !18 %314 = xor i32 %313, %312 store i32 %314, ptr %304, align 4, !tbaa !18 %315 = load i32, ptr %306, align 4, !tbaa !18 %316 = tail call i32 @VDEV_RAIDZ_64MUL_4(i32 noundef %315, i32 noundef undef) #2 %317 = load i32, ptr %305, align 4, !tbaa !18 %318 = load i32, ptr %306, align 4, !tbaa !18 %319 = xor i32 %318, %317 store i32 %319, ptr %306, align 4, !tbaa !18 %320 = add nuw nsw i32 %302, 1 %321 = getelementptr inbounds i32, ptr %305, i64 1 %322 = getelementptr inbounds i32, ptr %303, i64 1 %323 = getelementptr inbounds i32, ptr %304, i64 1 %324 = getelementptr inbounds i32, ptr %306, i64 1 %325 = icmp eq i32 %320, %46 br i1 %325, label %296, label %301, !llvm.loop !40 326: ; preds = %296, %326 %327 = phi i32 [ %334, %326 ], [ %299, %296 ] %328 = phi ptr [ %335, %326 ], [ %298, %296 ] %329 = phi ptr [ %336, %326 ], [ %297, %296 ] %330 = load i32, ptr %328, align 4, !tbaa !18 %331 = tail call i32 @VDEV_RAIDZ_64MUL_2(i32 noundef %330, i32 noundef undef) #2 %332 = load i32, ptr %329, align 4, !tbaa !18 %333 = tail call i32 @VDEV_RAIDZ_64MUL_4(i32 noundef %332, i32 noundef undef) #2 %334 = add nuw nsw i32 %327, 1 %335 = getelementptr inbounds i32, ptr %328, i64 1 %336 = getelementptr inbounds i32, ptr %329, i64 1 %337 = icmp eq i32 %334, %7 br i1 %337, label %338, label %326, !llvm.loop !41 338: ; preds = %326, %233, %272, %211, %296, %164 %339 = add nsw i64 %31, 1 %340 = load i32, ptr %25, align 4, !tbaa !16 %341 = sext i32 %340 to i64 %342 = icmp slt i64 %339, %341 br i1 %342, label %30, label %343, !llvm.loop !42 343: ; preds = %338, %1 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @VDEV_RAIDZ_64MUL_2(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VDEV_RAIDZ_64MUL_4(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !15 = !{!6, !7, i64 0} !16 = !{!6, !7, i64 4} !17 = !{!14, !10, i64 8} !18 = !{!7, !7, i64 0} !19 = !{!20} !20 = distinct !{!20, !21} !21 = distinct !{!21, !"LVerDomain"} !22 = !{!23} !23 = distinct !{!23, !21} !24 = !{!25, !26, !20} !25 = distinct !{!25, !21} !26 = distinct !{!26, !21} !27 = !{!25} !28 = !{!26, !20} !29 = !{!26} !30 = distinct !{!30, !31, !32, !33} !31 = !{!"llvm.loop.mustprogress"} !32 = !{!"llvm.loop.isvectorized", i32 1} !33 = !{!"llvm.loop.unroll.runtime.disable"} !34 = distinct !{!34, !35} !35 = !{!"llvm.loop.unroll.disable"} !36 = distinct !{!36, !31, !32, !33} !37 = distinct !{!37, !35} !38 = distinct !{!38, !31, !32} !39 = distinct !{!39, !31, !32} !40 = distinct !{!40, !31} !41 = distinct !{!41, !31} !42 = distinct !{!42, !31}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/boot/zfs/extr_zfssubr.c_vdev_raidz_generate_parity_pqr.c' source_filename = "AnghaBench/freebsd/sys/cddl/boot/zfs/extr_zfssubr.c_vdev_raidz_generate_parity_pqr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, ptr } @VDEV_RAIDZ_P = common local_unnamed_addr global i64 0, align 8 @VDEV_RAIDZ_Q = common local_unnamed_addr global i64 0, align 8 @VDEV_RAIDZ_R = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @vdev_raidz_generate_parity_pqr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vdev_raidz_generate_parity_pqr(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr @VDEV_RAIDZ_P, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %4 %6 = load i32, ptr %5, align 8, !tbaa !14 %7 = ashr i32 %6, 2 %8 = load i64, ptr @VDEV_RAIDZ_Q, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %8 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = icmp eq i32 %6, %10 %12 = zext i1 %11 to i32 %13 = tail call i32 @ASSERT(i32 noundef %12) #2 %14 = load ptr, ptr %2, align 8, !tbaa !6 %15 = load i64, ptr @VDEV_RAIDZ_P, align 8, !tbaa !12 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %15 %17 = load i32, ptr %16, align 8, !tbaa !14 %18 = load i64, ptr @VDEV_RAIDZ_R, align 8, !tbaa !12 %19 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %18 %20 = load i32, ptr %19, align 8, !tbaa !14 %21 = icmp eq i32 %17, %20 %22 = zext i1 %21 to i32 %23 = tail call i32 @ASSERT(i32 noundef %22) #2 %24 = load i32, ptr %0, align 8, !tbaa !16 %25 = getelementptr inbounds i8, ptr %0, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !17 %27 = icmp slt i32 %24, %26 br i1 %27, label %28, label %270 28: ; preds = %1 %29 = sext i32 %24 to i64 br label %30 30: ; preds = %28, %265 %31 = phi i64 [ %29, %28 ], [ %266, %265 ] %32 = load ptr, ptr %2, align 8, !tbaa !6 %33 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %31 %34 = getelementptr inbounds i8, ptr %33, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !18 %36 = load i64, ptr @VDEV_RAIDZ_P, align 8, !tbaa !12 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %36, i32 1 %38 = load ptr, ptr %37, align 8, !tbaa !18 %39 = load i64, ptr @VDEV_RAIDZ_Q, align 8, !tbaa !12 %40 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %39, i32 1 %41 = load ptr, ptr %40, align 8, !tbaa !18 %42 = load i64, ptr @VDEV_RAIDZ_R, align 8, !tbaa !12 %43 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %42, i32 1 %44 = load ptr, ptr %43, align 8, !tbaa !18 %45 = load i32, ptr %33, align 8, !tbaa !14 %46 = ashr i32 %45, 2 %47 = load i32, ptr %0, align 8, !tbaa !16 %48 = trunc nsw i64 %31 to i32 %49 = icmp eq i32 %47, %48 br i1 %49, label %50, label %218 50: ; preds = %30 %51 = icmp eq i32 %46, %7 %52 = icmp ult i32 %45, 4 %53 = or i1 %52, %51 %54 = zext i1 %53 to i32 %55 = tail call i32 @ASSERT(i32 noundef %54) #2 %56 = icmp sgt i32 %46, 0 br i1 %56, label %57, label %134 57: ; preds = %50 %58 = zext nneg i32 %46 to i64 %59 = icmp ult i32 %46, 12 br i1 %59, label %60, label %66 60: ; preds = %132, %66, %57 %61 = phi i32 [ 0, %66 ], [ 0, %57 ], [ %103, %132 ] %62 = phi ptr [ %38, %66 ], [ %38, %57 ], [ %105, %132 ] %63 = phi ptr [ %41, %66 ], [ %41, %57 ], [ %107, %132 ] %64 = phi ptr [ %35, %66 ], [ %35, %57 ], [ %109, %132 ] %65 = phi ptr [ %44, %66 ], [ %44, %57 ], [ %111, %132 ] br label %194 66: ; preds = %57 %67 = getelementptr i8, ptr %38, i64 4 %68 = add nsw i32 %46, -1 %69 = zext i32 %68 to i64 %70 = shl nuw nsw i64 %69, 2 %71 = getelementptr i8, ptr %67, i64 %70 %72 = getelementptr i8, ptr %41, i64 4 %73 = getelementptr i8, ptr %72, i64 %70 %74 = getelementptr i8, ptr %44, i64 4 %75 = getelementptr i8, ptr %74, i64 %70 %76 = getelementptr i8, ptr %35, i64 4 %77 = getelementptr i8, ptr %76, i64 %70 %78 = icmp ult ptr %38, %73 %79 = icmp ult ptr %41, %71 %80 = and i1 %78, %79 %81 = icmp ult ptr %38, %75 %82 = icmp ult ptr %44, %71 %83 = and i1 %81, %82 %84 = or i1 %80, %83 %85 = icmp ult ptr %38, %77 %86 = icmp ult ptr %35, %71 %87 = and i1 %85, %86 %88 = or i1 %84, %87 %89 = icmp ult ptr %41, %75 %90 = icmp ult ptr %44, %73 %91 = and i1 %89, %90 %92 = or i1 %88, %91 %93 = icmp ult ptr %41, %77 %94 = icmp ult ptr %35, %73 %95 = and i1 %93, %94 %96 = or i1 %92, %95 %97 = icmp ult ptr %44, %77 %98 = icmp ult ptr %35, %75 %99 = and i1 %97, %98 %100 = or i1 %96, %99 br i1 %100, label %60, label %101 101: ; preds = %66 %102 = and i64 %58, 2147483640 %103 = trunc nuw nsw i64 %102 to i32 %104 = shl nuw nsw i64 %102, 2 %105 = getelementptr i8, ptr %38, i64 %104 %106 = shl nuw nsw i64 %102, 2 %107 = getelementptr i8, ptr %41, i64 %106 %108 = shl nuw nsw i64 %102, 2 %109 = getelementptr i8, ptr %35, i64 %108 %110 = shl nuw nsw i64 %102, 2 %111 = getelementptr i8, ptr %44, i64 %110 br label %112 112: ; preds = %112, %101 %113 = phi i64 [ 0, %101 ], [ %130, %112 ] %114 = shl i64 %113, 2 %115 = getelementptr i8, ptr %38, i64 %114 %116 = shl i64 %113, 2 %117 = getelementptr i8, ptr %41, i64 %116 %118 = shl i64 %113, 2 %119 = getelementptr i8, ptr %35, i64 %118 %120 = shl i64 %113, 2 %121 = getelementptr i8, ptr %44, i64 %120 %122 = getelementptr i8, ptr %119, i64 16 %123 = load <4 x i32>, ptr %119, align 4, !tbaa !19, !alias.scope !20 %124 = load <4 x i32>, ptr %122, align 4, !tbaa !19, !alias.scope !20 %125 = getelementptr i8, ptr %115, i64 16 store <4 x i32> %123, ptr %115, align 4, !tbaa !19, !alias.scope !23, !noalias !25 store <4 x i32> %124, ptr %125, align 4, !tbaa !19, !alias.scope !23, !noalias !25 %126 = getelementptr i8, ptr %117, i64 16 store <4 x i32> %123, ptr %117, align 4, !tbaa !19, !alias.scope !28, !noalias !29 store <4 x i32> %124, ptr %126, align 4, !tbaa !19, !alias.scope !28, !noalias !29 %127 = load <4 x i32>, ptr %119, align 4, !tbaa !19, !alias.scope !20 %128 = load <4 x i32>, ptr %122, align 4, !tbaa !19, !alias.scope !20 %129 = getelementptr i8, ptr %121, i64 16 store <4 x i32> %127, ptr %121, align 4, !tbaa !19, !alias.scope !30, !noalias !20 store <4 x i32> %128, ptr %129, align 4, !tbaa !19, !alias.scope !30, !noalias !20 %130 = add nuw i64 %113, 8 %131 = icmp eq i64 %130, %102 br i1 %131, label %132, label %112, !llvm.loop !31 132: ; preds = %112 %133 = icmp eq i64 %102, %58 br i1 %133, label %134, label %60 134: ; preds = %194, %132, %50 %135 = phi ptr [ %44, %50 ], [ %111, %132 ], [ %206, %194 ] %136 = phi ptr [ %41, %50 ], [ %107, %132 ], [ %205, %194 ] %137 = phi ptr [ %38, %50 ], [ %105, %132 ], [ %204, %194 ] %138 = phi i32 [ 0, %50 ], [ %46, %132 ], [ %46, %194 ] %139 = ptrtoint ptr %136 to i64 %140 = ptrtoint ptr %137 to i64 %141 = ptrtoint ptr %135 to i64 %142 = icmp slt i32 %138, %7 br i1 %142, label %143, label %265 143: ; preds = %134 %144 = xor i32 %138, -1 %145 = add nsw i32 %7, %144 %146 = zext i32 %145 to i64 %147 = add nuw nsw i64 %146, 1 %148 = icmp ult i32 %145, 15 br i1 %148, label %149, label %154 149: ; preds = %192, %154, %143 %150 = phi i32 [ %138, %154 ], [ %138, %143 ], [ %166, %192 ] %151 = phi ptr [ %137, %154 ], [ %137, %143 ], [ %168, %192 ] %152 = phi ptr [ %136, %154 ], [ %136, %143 ], [ %170, %192 ] %153 = phi ptr [ %135, %154 ], [ %135, %143 ], [ %172, %192 ] br label %208 154: ; preds = %143 %155 = sub i64 %139, %140 %156 = icmp ult i64 %155, 64 %157 = sub i64 %141, %140 %158 = icmp ult i64 %157, 64 %159 = or i1 %156, %158 %160 = sub i64 %141, %139 %161 = icmp ult i64 %160, 64 %162 = or i1 %159, %161 br i1 %162, label %149, label %163 163: ; preds = %154 %164 = and i64 %147, 8589934576 %165 = trunc i64 %164 to i32 %166 = add i32 %138, %165 %167 = shl nuw nsw i64 %164, 2 %168 = getelementptr i8, ptr %137, i64 %167 %169 = shl nuw nsw i64 %164, 2 %170 = getelementptr i8, ptr %136, i64 %169 %171 = shl nuw nsw i64 %164, 2 %172 = getelementptr i8, ptr %135, i64 %171 br label %173 173: ; preds = %173, %163 %174 = phi i64 [ 0, %163 ], [ %190, %173 ] %175 = shl i64 %174, 2 %176 = getelementptr i8, ptr %137, i64 %175 %177 = shl i64 %174, 2 %178 = getelementptr i8, ptr %136, i64 %177 %179 = shl i64 %174, 2 %180 = getelementptr i8, ptr %135, i64 %179 %181 = getelementptr i8, ptr %176, i64 16 %182 = getelementptr i8, ptr %176, i64 32 %183 = getelementptr i8, ptr %176, i64 48 store <4 x i32> zeroinitializer, ptr %176, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %181, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %182, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %183, align 4, !tbaa !19 %184 = getelementptr i8, ptr %178, i64 16 %185 = getelementptr i8, ptr %178, i64 32 %186 = getelementptr i8, ptr %178, i64 48 store <4 x i32> zeroinitializer, ptr %178, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %184, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %185, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %186, align 4, !tbaa !19 %187 = getelementptr i8, ptr %180, i64 16 %188 = getelementptr i8, ptr %180, i64 32 %189 = getelementptr i8, ptr %180, i64 48 store <4 x i32> zeroinitializer, ptr %180, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %187, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %188, align 4, !tbaa !19 store <4 x i32> zeroinitializer, ptr %189, align 4, !tbaa !19 %190 = add nuw i64 %174, 16 %191 = icmp eq i64 %190, %164 br i1 %191, label %192, label %173, !llvm.loop !35 192: ; preds = %173 %193 = icmp eq i64 %147, %164 br i1 %193, label %265, label %149 194: ; preds = %60, %194 %195 = phi i32 [ %202, %194 ], [ %61, %60 ] %196 = phi ptr [ %204, %194 ], [ %62, %60 ] %197 = phi ptr [ %205, %194 ], [ %63, %60 ] %198 = phi ptr [ %203, %194 ], [ %64, %60 ] %199 = phi ptr [ %206, %194 ], [ %65, %60 ] %200 = load i32, ptr %198, align 4, !tbaa !19 store i32 %200, ptr %196, align 4, !tbaa !19 store i32 %200, ptr %197, align 4, !tbaa !19 %201 = load i32, ptr %198, align 4, !tbaa !19 store i32 %201, ptr %199, align 4, !tbaa !19 %202 = add nuw nsw i32 %195, 1 %203 = getelementptr inbounds i8, ptr %198, i64 4 %204 = getelementptr inbounds i8, ptr %196, i64 4 %205 = getelementptr inbounds i8, ptr %197, i64 4 %206 = getelementptr inbounds i8, ptr %199, i64 4 %207 = icmp eq i32 %202, %46 br i1 %207, label %134, label %194, !llvm.loop !36 208: ; preds = %149, %208 %209 = phi i32 [ %213, %208 ], [ %150, %149 ] %210 = phi ptr [ %214, %208 ], [ %151, %149 ] %211 = phi ptr [ %215, %208 ], [ %152, %149 ] %212 = phi ptr [ %216, %208 ], [ %153, %149 ] store i32 0, ptr %210, align 4, !tbaa !19 store i32 0, ptr %211, align 4, !tbaa !19 store i32 0, ptr %212, align 4, !tbaa !19 %213 = add nuw nsw i32 %209, 1 %214 = getelementptr inbounds i8, ptr %210, i64 4 %215 = getelementptr inbounds i8, ptr %211, i64 4 %216 = getelementptr inbounds i8, ptr %212, i64 4 %217 = icmp eq i32 %213, %7 br i1 %217, label %265, label %208, !llvm.loop !37 218: ; preds = %30 %219 = icmp sle i32 %46, %7 %220 = zext i1 %219 to i32 %221 = tail call i32 @ASSERT(i32 noundef %220) #2 %222 = icmp sgt i32 %46, 0 br i1 %222, label %228, label %223 223: ; preds = %228, %218 %224 = phi ptr [ %44, %218 ], [ %251, %228 ] %225 = phi ptr [ %41, %218 ], [ %250, %228 ] %226 = phi i32 [ 0, %218 ], [ %46, %228 ] %227 = icmp slt i32 %226, %7 br i1 %227, label %253, label %265 228: ; preds = %218, %228 %229 = phi i32 [ %247, %228 ], [ 0, %218 ] %230 = phi ptr [ %249, %228 ], [ %38, %218 ] %231 = phi ptr [ %250, %228 ], [ %41, %218 ] %232 = phi ptr [ %248, %228 ], [ %35, %218 ] %233 = phi ptr [ %251, %228 ], [ %44, %218 ] %234 = load i32, ptr %232, align 4, !tbaa !19 %235 = load i32, ptr %230, align 4, !tbaa !19 %236 = xor i32 %235, %234 store i32 %236, ptr %230, align 4, !tbaa !19 %237 = load i32, ptr %231, align 4, !tbaa !19 %238 = tail call i32 @VDEV_RAIDZ_64MUL_2(i32 noundef %237, i32 noundef undef) #2 %239 = load i32, ptr %232, align 4, !tbaa !19 %240 = load i32, ptr %231, align 4, !tbaa !19 %241 = xor i32 %240, %239 store i32 %241, ptr %231, align 4, !tbaa !19 %242 = load i32, ptr %233, align 4, !tbaa !19 %243 = tail call i32 @VDEV_RAIDZ_64MUL_4(i32 noundef %242, i32 noundef undef) #2 %244 = load i32, ptr %232, align 4, !tbaa !19 %245 = load i32, ptr %233, align 4, !tbaa !19 %246 = xor i32 %245, %244 store i32 %246, ptr %233, align 4, !tbaa !19 %247 = add nuw nsw i32 %229, 1 %248 = getelementptr inbounds i8, ptr %232, i64 4 %249 = getelementptr inbounds i8, ptr %230, i64 4 %250 = getelementptr inbounds i8, ptr %231, i64 4 %251 = getelementptr inbounds i8, ptr %233, i64 4 %252 = icmp eq i32 %247, %46 br i1 %252, label %223, label %228, !llvm.loop !38 253: ; preds = %223, %253 %254 = phi i32 [ %261, %253 ], [ %226, %223 ] %255 = phi ptr [ %262, %253 ], [ %225, %223 ] %256 = phi ptr [ %263, %253 ], [ %224, %223 ] %257 = load i32, ptr %255, align 4, !tbaa !19 %258 = tail call i32 @VDEV_RAIDZ_64MUL_2(i32 noundef %257, i32 noundef undef) #2 %259 = load i32, ptr %256, align 4, !tbaa !19 %260 = tail call i32 @VDEV_RAIDZ_64MUL_4(i32 noundef %259, i32 noundef undef) #2 %261 = add nuw nsw i32 %254, 1 %262 = getelementptr inbounds i8, ptr %255, i64 4 %263 = getelementptr inbounds i8, ptr %256, i64 4 %264 = icmp eq i32 %261, %7 br i1 %264, label %265, label %253, !llvm.loop !39 265: ; preds = %253, %208, %192, %223, %134 %266 = add nsw i64 %31, 1 %267 = load i32, ptr %25, align 4, !tbaa !17 %268 = sext i32 %267 to i64 %269 = icmp slt i64 %266, %268 br i1 %269, label %30, label %270, !llvm.loop !40 270: ; preds = %265, %1 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @VDEV_RAIDZ_64MUL_2(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VDEV_RAIDZ_64MUL_4(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!7, !8, i64 4} !18 = !{!15, !11, i64 8} !19 = !{!8, !8, i64 0} !20 = !{!21} !21 = distinct !{!21, !22} !22 = distinct !{!22, !"LVerDomain"} !23 = !{!24} !24 = distinct !{!24, !22} !25 = !{!26, !27, !21} !26 = distinct !{!26, !22} !27 = distinct !{!27, !22} !28 = !{!26} !29 = !{!27, !21} !30 = !{!27} !31 = distinct !{!31, !32, !33, !34} !32 = !{!"llvm.loop.mustprogress"} !33 = !{!"llvm.loop.isvectorized", i32 1} !34 = !{!"llvm.loop.unroll.runtime.disable"} !35 = distinct !{!35, !32, !33, !34} !36 = distinct !{!36, !32, !33} !37 = distinct !{!37, !32, !33} !38 = distinct !{!38, !32} !39 = distinct !{!39, !32} !40 = distinct !{!40, !32}
freebsd_sys_cddl_boot_zfs_extr_zfssubr.c_vdev_raidz_generate_parity_pqr
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace.c_init_trace_flags_index.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace.c_init_trace_flags_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TRACE_FLAGS_MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_trace_flags_index], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal void @init_trace_flags_index(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @TRACE_FLAGS_MAX_SIZE, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %14 4: ; preds = %1 %5 = load ptr, ptr %0, align 8, !tbaa !9 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %10, %6 ] %8 = getelementptr inbounds i32, ptr %5, i64 %7 %9 = trunc i64 %7 to i32 store i32 %9, ptr %8, align 4, !tbaa !5 %10 = add nuw nsw i64 %7, 1 %11 = load i32, ptr @TRACE_FLAGS_MAX_SIZE, align 4, !tbaa !5 %12 = sext i32 %11 to i64 %13 = icmp slt i64 %10, %12 br i1 %13, label %6, label %14, !llvm.loop !12 14: ; preds = %6, %1 ret void } attributes #0 = { nofree norecurse nosync nounwind 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"trace_array", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace.c_init_trace_flags_index.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace.c_init_trace_flags_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TRACE_FLAGS_MAX_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @init_trace_flags_index], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @init_trace_flags_index(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @TRACE_FLAGS_MAX_SIZE, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %14 4: ; preds = %1 %5 = load ptr, ptr %0, align 8, !tbaa !10 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %10, %6 ] %8 = getelementptr inbounds i32, ptr %5, i64 %7 %9 = trunc nuw nsw i64 %7 to i32 store i32 %9, ptr %8, align 4, !tbaa !6 %10 = add nuw nsw i64 %7, 1 %11 = load i32, ptr @TRACE_FLAGS_MAX_SIZE, align 4, !tbaa !6 %12 = sext i32 %11 to i64 %13 = icmp slt i64 %10, %12 br i1 %13, label %6, label %14, !llvm.loop !13 14: ; preds = %6, %1 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"trace_array", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
linux_kernel_trace_extr_trace.c_init_trace_flags_index
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_file.c_test_FindNextFileA.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_file.c_test_FindNextFileA.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__const.test_FindNextFileA.buffer = private unnamed_addr constant [5 x i8] c"C:\\*\00", align 1 @INVALID_HANDLE_VALUE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [38 x i8] c"FindFirstFile on C:\\* should succeed\0A\00", align 1 @TRUE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [24 x i8] c"Failed to close handle\0A\00", align 1 @ERROR_NO_MORE_FILES = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"GetLastError should return ERROR_NO_MORE_FILES\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_FindNextFileA], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_FindNextFileA() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4 call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %2, ptr noundef nonnull align 1 dereferenceable(5) @__const.test_FindNextFileA.buffer, i64 5, i1 false) %3 = tail call signext i8 (...) @get_windows_drive() #4 store i8 %3, ptr %2, align 1, !tbaa !5 %4 = call i64 @FindFirstFileA(ptr noundef nonnull %2, ptr noundef nonnull %1) #4 %5 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !8 %6 = icmp ne i64 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @ok(i32 noundef %7, ptr noundef nonnull @.str) #4 br label %9 9: ; preds = %9, %0 %10 = call i64 @FindNextFileA(i64 noundef %4, ptr noundef nonnull %1) #4 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %9, !llvm.loop !10 12: ; preds = %9 %13 = call i64 @FindClose(i64 noundef %4) #4 %14 = load i64, ptr @TRUE, align 8, !tbaa !8 %15 = icmp eq i64 %13, %14 %16 = zext i1 %15 to i32 %17 = call i32 @ok(i32 noundef %16, ptr noundef nonnull @.str.1) #4 %18 = call i32 (...) @GetLastError() #4 %19 = load i32, ptr @ERROR_NO_MORE_FILES, align 4, !tbaa !12 %20 = icmp eq i32 %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @ok(i32 noundef %21, ptr noundef nonnull @.str.2) #4 call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; 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 signext i8 @get_windows_drive(...) local_unnamed_addr #3 declare i64 @FindFirstFileA(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @ok(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @FindNextFileA(i64 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @FindClose(i64 noundef) local_unnamed_addr #3 declare i32 @GetLastError(...) 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"long", !6, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_file.c_test_FindNextFileA.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_file.c_test_FindNextFileA.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.test_FindNextFileA.buffer = private unnamed_addr constant [5 x i8] c"C:\\*\00", align 1 @INVALID_HANDLE_VALUE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [38 x i8] c"FindFirstFile on C:\\* should succeed\0A\00", align 1 @TRUE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [24 x i8] c"Failed to close handle\0A\00", align 1 @ERROR_NO_MORE_FILES = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"GetLastError should return ERROR_NO_MORE_FILES\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_FindNextFileA], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_FindNextFileA() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4 call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %2, ptr noundef nonnull align 1 dereferenceable(5) @__const.test_FindNextFileA.buffer, i64 5, i1 false) %3 = tail call signext i8 @get_windows_drive() #4 store i8 %3, ptr %2, align 1, !tbaa !6 %4 = call i64 @FindFirstFileA(ptr noundef nonnull %2, ptr noundef nonnull %1) #4 %5 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !9 %6 = icmp ne i64 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @ok(i32 noundef %7, ptr noundef nonnull @.str) #4 br label %9 9: ; preds = %9, %0 %10 = call i64 @FindNextFileA(i64 noundef %4, ptr noundef nonnull %1) #4 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %9, !llvm.loop !11 12: ; preds = %9 %13 = call i64 @FindClose(i64 noundef %4) #4 %14 = load i64, ptr @TRUE, align 8, !tbaa !9 %15 = icmp eq i64 %13, %14 %16 = zext i1 %15 to i32 %17 = call i32 @ok(i32 noundef %16, ptr noundef nonnull @.str.1) #4 %18 = call i32 @GetLastError() #4 %19 = load i32, ptr @ERROR_NO_MORE_FILES, align 4, !tbaa !13 %20 = icmp eq i32 %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @ok(i32 noundef %21, ptr noundef nonnull @.str.2) #4 call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; 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 signext i8 @get_windows_drive(...) local_unnamed_addr #3 declare i64 @FindFirstFileA(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @ok(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @FindNextFileA(i64 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @FindClose(i64 noundef) local_unnamed_addr #3 declare i32 @GetLastError(...) 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"int", !7, i64 0}
reactos_modules_rostests_winetests_kernel32_extr_file.c_test_FindNextFileA
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_pci-common.c_pci_set_dma_mask.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_pci-common.c_pci_set_dma_mask.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @pci_set_dma_mask(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @dma_set_mask(ptr noundef %0, i32 noundef %1) #2 ret i32 %3 } declare i32 @dma_set_mask(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/fastsocket/kernel/arch/powerpc/kernel/extr_pci-common.c_pci_set_dma_mask.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_pci-common.c_pci_set_dma_mask.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 @pci_set_dma_mask(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @dma_set_mask(ptr noundef %0, i32 noundef %1) #2 ret i32 %3 } declare i32 @dma_set_mask(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)"}
fastsocket_kernel_arch_powerpc_kernel_extr_pci-common.c_pci_set_dma_mask
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_thread.c_thread__namespaces.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_thread.c_thread__namespaces.c" target datalayout = "e-m:e-p270:32:32-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 @thread__namespaces(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @down_read(ptr noundef %0) #2 %3 = tail call ptr @__thread__namespaces(ptr noundef %0) #2 %4 = tail call i32 @up_read(ptr noundef %0) #2 ret ptr %3 } declare i32 @down_read(ptr noundef) local_unnamed_addr #1 declare ptr @__thread__namespaces(ptr noundef) local_unnamed_addr #1 declare i32 @up_read(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/tools/perf/util/extr_thread.c_thread__namespaces.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_thread.c_thread__namespaces.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 @thread__namespaces(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @down_read(ptr noundef %0) #2 %3 = tail call ptr @__thread__namespaces(ptr noundef %0) #2 %4 = tail call i32 @up_read(ptr noundef %0) #2 ret ptr %3 } declare i32 @down_read(ptr noundef) local_unnamed_addr #1 declare ptr @__thread__namespaces(ptr noundef) local_unnamed_addr #1 declare i32 @up_read(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_tools_perf_util_extr_thread.c_thread__namespaces
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_diff/extr_diff_memory.c_datasource_close.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_diff/extr_diff_memory.c_datasource_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @datasource_close], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal ptr @datasource_close(ptr nocapture readnone %0, i32 %1) #0 { %3 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5 ret ptr %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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_diff/extr_diff_memory.c_datasource_close.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_diff/extr_diff_memory.c_datasource_close.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 @datasource_close], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal ptr @datasource_close(ptr nocapture readnone %0, i32 %1) #0 { %3 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6 ret ptr %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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_subversion_subversion_libsvn_diff_extr_diff_memory.c_datasource_close
; ModuleID = 'AnghaBench/openssl/crypto/modes/extr_wrap128.c_CRYPTO_128_wrap_pad.c' source_filename = "AnghaBench/openssl/crypto/modes/extr_wrap128.c_CRYPTO_128_wrap_pad.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CRYPTO128_WRAP_MAX = dso_local local_unnamed_addr global i64 0, align 8 @default_aiv = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @CRYPTO_128_wrap_pad(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = alloca [8 x i8], align 1 %8 = add i64 %4, 7 %9 = and i64 %8, -8 %10 = sub i64 %9, %4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %11 = icmp ne i64 %4, 0 %12 = load i64, ptr @CRYPTO128_WRAP_MAX, align 8 %13 = icmp ugt i64 %12, %4 %14 = select i1 %11, i1 %13, i1 false br i1 %14, label %15, label %48 15: ; preds = %6 %16 = icmp eq ptr %1, null br i1 %16, label %17, label %20 17: ; preds = %15 %18 = load ptr, ptr @default_aiv, align 8, !tbaa !5 %19 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %18, i32 noundef 4) #3 br label %22 20: ; preds = %15 %21 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef nonnull %1, i32 noundef 4) #3 br label %22 22: ; preds = %20, %17 %23 = lshr i64 %4, 24 %24 = trunc i64 %23 to i8 %25 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 4 store i8 %24, ptr %25, align 1, !tbaa !9 %26 = lshr i64 %4, 16 %27 = trunc i64 %26 to i8 %28 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 5 store i8 %27, ptr %28, align 1, !tbaa !9 %29 = lshr i64 %4, 8 %30 = trunc i64 %29 to i8 %31 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 6 store i8 %30, ptr %31, align 1, !tbaa !9 %32 = trunc i64 %4 to i8 %33 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 7 store i8 %32, ptr %33, align 1, !tbaa !9 %34 = icmp eq i64 %9, 8 br i1 %34, label %35, label %42 35: ; preds = %22 %36 = getelementptr inbounds i8, ptr %2, i64 8 %37 = call i32 @memmove(ptr noundef nonnull %36, ptr noundef %3, i64 noundef %4) #3 %38 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %7, i32 noundef 8) #3 %39 = getelementptr inbounds i8, ptr %36, i64 %4 %40 = call i32 @memset(ptr noundef nonnull %39, i32 noundef 0, i64 noundef %10) #3 %41 = call i32 %5(ptr noundef %2, ptr noundef %2, ptr noundef %0) #3 br label %48 42: ; preds = %22 %43 = call i32 @memmove(ptr noundef %2, ptr noundef %3, i64 noundef %4) #3 %44 = getelementptr inbounds i8, ptr %2, i64 %4 %45 = call i32 @memset(ptr noundef nonnull %44, i32 noundef 0, i64 noundef %10) #3 %46 = call i32 @CRYPTO_128_wrap(ptr noundef %0, ptr noundef nonnull %7, ptr noundef %2, ptr noundef %2, i64 noundef %9, ptr noundef %5) #3 %47 = sext i32 %46 to i64 br label %48 48: ; preds = %35, %42, %6 %49 = phi i64 [ 0, %6 ], [ 16, %35 ], [ %47, %42 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i64 %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @CRYPTO_128_wrap(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/modes/extr_wrap128.c_CRYPTO_128_wrap_pad.c' source_filename = "AnghaBench/openssl/crypto/modes/extr_wrap128.c_CRYPTO_128_wrap_pad.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYPTO128_WRAP_MAX = common local_unnamed_addr global i64 0, align 8 @default_aiv = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i64 -2147483648, 2147483648) i64 @CRYPTO_128_wrap_pad(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = alloca [8 x i8], align 1 %8 = add i64 %4, 7 %9 = and i64 %8, -8 %10 = sub i64 %9, %4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %11 = icmp ne i64 %4, 0 %12 = load i64, ptr @CRYPTO128_WRAP_MAX, align 8 %13 = icmp ugt i64 %12, %4 %14 = select i1 %11, i1 %13, i1 false br i1 %14, label %15, label %48 15: ; preds = %6 %16 = icmp eq ptr %1, null br i1 %16, label %17, label %20 17: ; preds = %15 %18 = load ptr, ptr @default_aiv, align 8, !tbaa !6 %19 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %18, i32 noundef 4) #3 br label %22 20: ; preds = %15 %21 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef nonnull %1, i32 noundef 4) #3 br label %22 22: ; preds = %20, %17 %23 = lshr i64 %4, 24 %24 = trunc i64 %23 to i8 %25 = getelementptr inbounds i8, ptr %7, i64 4 store i8 %24, ptr %25, align 1, !tbaa !10 %26 = lshr i64 %4, 16 %27 = trunc i64 %26 to i8 %28 = getelementptr inbounds i8, ptr %7, i64 5 store i8 %27, ptr %28, align 1, !tbaa !10 %29 = lshr i64 %4, 8 %30 = trunc i64 %29 to i8 %31 = getelementptr inbounds i8, ptr %7, i64 6 store i8 %30, ptr %31, align 1, !tbaa !10 %32 = trunc i64 %4 to i8 %33 = getelementptr inbounds i8, ptr %7, i64 7 store i8 %32, ptr %33, align 1, !tbaa !10 %34 = icmp eq i64 %9, 8 br i1 %34, label %35, label %42 35: ; preds = %22 %36 = getelementptr inbounds i8, ptr %2, i64 8 %37 = call i32 @memmove(ptr noundef nonnull %36, ptr noundef %3, i64 noundef %4) #3 %38 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %7, i32 noundef 8) #3 %39 = getelementptr inbounds i8, ptr %36, i64 %4 %40 = call i32 @memset(ptr noundef nonnull %39, i32 noundef 0, i64 noundef %10) #3 %41 = call i32 %5(ptr noundef %2, ptr noundef %2, ptr noundef %0) #3 br label %48 42: ; preds = %22 %43 = call i32 @memmove(ptr noundef %2, ptr noundef %3, i64 noundef %4) #3 %44 = getelementptr inbounds i8, ptr %2, i64 %4 %45 = call i32 @memset(ptr noundef nonnull %44, i32 noundef 0, i64 noundef %10) #3 %46 = call i32 @CRYPTO_128_wrap(ptr noundef %0, ptr noundef nonnull %7, ptr noundef %2, ptr noundef %2, i64 noundef %9, ptr noundef %5) #3 %47 = sext i32 %46 to i64 br label %48 48: ; preds = %35, %42, %6 %49 = phi i64 [ 0, %6 ], [ 16, %35 ], [ %47, %42 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i64 %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @CRYPTO_128_wrap(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
openssl_crypto_modes_extr_wrap128.c_CRYPTO_128_wrap_pad
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_extents.c_ext4_valid_extent.c' source_filename = "AnghaBench/linux/fs/ext4/extr_extents.c_ext4_valid_extent.c" target datalayout = "e-m:e-p270:32:32-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 @ext4_valid_extent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ext4_valid_extent(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i32 @ext4_ext_pblock(ptr noundef %1) #2 %4 = tail call i32 @ext4_ext_get_actual_len(ptr noundef %1) #2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = tail call i64 @le32_to_cpu(i32 noundef %5) #2 %7 = icmp sgt i32 %4, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr %0, align 4, !tbaa !10 %10 = tail call i32 @EXT4_SB(i32 noundef %9) #2 %11 = tail call i32 @ext4_data_block_valid(i32 noundef %10, i32 noundef %3, i32 noundef %4) #2 br label %12 12: ; preds = %2, %8 %13 = phi i32 [ %11, %8 ], [ 0, %2 ] ret i32 %13 } declare i32 @ext4_ext_pblock(ptr noundef) local_unnamed_addr #1 declare i32 @ext4_ext_get_actual_len(ptr noundef) local_unnamed_addr #1 declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @ext4_data_block_valid(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EXT4_SB(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 = !{!"ext4_extent", !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 = !{!"inode", !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_extents.c_ext4_valid_extent.c' source_filename = "AnghaBench/linux/fs/ext4/extr_extents.c_ext4_valid_extent.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 @ext4_valid_extent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ext4_valid_extent(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i32 @ext4_ext_pblock(ptr noundef %1) #2 %4 = tail call i32 @ext4_ext_get_actual_len(ptr noundef %1) #2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = tail call i64 @le32_to_cpu(i32 noundef %5) #2 %7 = icmp sgt i32 %4, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr %0, align 4, !tbaa !11 %10 = tail call i32 @EXT4_SB(i32 noundef %9) #2 %11 = tail call i32 @ext4_data_block_valid(i32 noundef %10, i32 noundef %3, i32 noundef %4) #2 br label %12 12: ; preds = %2, %8 %13 = phi i32 [ %11, %8 ], [ 0, %2 ] ret i32 %13 } declare i32 @ext4_ext_pblock(ptr noundef) local_unnamed_addr #1 declare i32 @ext4_ext_get_actual_len(ptr noundef) local_unnamed_addr #1 declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @ext4_data_block_valid(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EXT4_SB(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 = !{!"ext4_extent", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"inode", !8, i64 0}
linux_fs_ext4_extr_extents.c_ext4_valid_extent
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shelllink.c_get_shell_icon_size.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shelllink.c_get_shell_icon_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" @HKEY_CURRENT_USER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"Control Panel\\Desktop\\WindowMetrics\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Shell Icon Size\00", align 1 @REG_SZ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_shell_icon_size], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_shell_icon_size() #0 { %1 = alloca [10 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %1) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 store i32 10, ptr %2, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !5 %6 = call i32 @RegOpenKeyA(i32 noundef %5, ptr noundef nonnull @.str, ptr noundef nonnull %4) #4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %22 8: ; preds = %0 %9 = load i32, ptr %4, align 4, !tbaa !5 %10 = call i32 @RegQueryValueExA(i32 noundef %9, ptr noundef nonnull @.str.1, ptr noundef null, ptr noundef nonnull %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %8 %13 = load i32, ptr %3, align 4, !tbaa !5 %14 = load i32, ptr @REG_SZ, align 4, !tbaa !5 %15 = icmp eq i32 %13, %14 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @atoi(ptr nocapture noundef nonnull %1) br label %18 18: ; preds = %16, %12, %8 %19 = phi i32 [ 32, %8 ], [ %17, %16 ], [ 32, %12 ] %20 = load i32, ptr %4, align 4, !tbaa !5 %21 = call i32 @RegCloseKey(i32 noundef %20) #4 br label %22 22: ; preds = %18, %0 %23 = phi i32 [ 32, %0 ], [ %19, %18 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %1) #4 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RegOpenKeyA(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @RegQueryValueExA(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @RegCloseKey(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 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shelllink.c_get_shell_icon_size.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shelllink.c_get_shell_icon_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HKEY_CURRENT_USER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"Control Panel\\Desktop\\WindowMetrics\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Shell Icon Size\00", align 1 @REG_SZ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_shell_icon_size], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_shell_icon_size() #0 { %1 = alloca [10 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %1) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 store i32 10, ptr %2, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !6 %6 = call i32 @RegOpenKeyA(i32 noundef %5, ptr noundef nonnull @.str, ptr noundef nonnull %4) #4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %22 8: ; preds = %0 %9 = load i32, ptr %4, align 4, !tbaa !6 %10 = call i32 @RegQueryValueExA(i32 noundef %9, ptr noundef nonnull @.str.1, ptr noundef null, ptr noundef nonnull %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %8 %13 = load i32, ptr %3, align 4, !tbaa !6 %14 = load i32, ptr @REG_SZ, align 4, !tbaa !6 %15 = icmp eq i32 %13, %14 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @atoi(ptr nocapture noundef nonnull %1) br label %18 18: ; preds = %16, %12, %8 %19 = phi i32 [ 32, %8 ], [ %17, %16 ], [ 32, %12 ] %20 = load i32, ptr %4, align 4, !tbaa !6 %21 = call i32 @RegCloseKey(i32 noundef %20) #4 br label %22 22: ; preds = %18, %0 %23 = phi i32 [ 32, %0 ], [ %19, %18 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %1) #4 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @RegOpenKeyA(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @RegQueryValueExA(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @RegCloseKey(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 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #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"}
reactos_modules_rostests_winetests_shell32_extr_shelllink.c_get_shell_icon_size
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/extr_dtrace.c_dtrace_buffer_activate.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/extr_dtrace.c_dtrace_buffer_activate.c" target datalayout = "e-m:e-p270:32:32-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 } @curcpu = dso_local local_unnamed_addr global i64 0, align 8 @DTRACEBUF_INACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dtrace_buffer_activate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dtrace_buffer_activate(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 (...) @dtrace_interrupt_disable() #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @curcpu, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 %4, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 %4 %10 = load i32, ptr @DTRACEBUF_INACTIVE, align 4, !tbaa !15 %11 = xor i32 %10, -1 %12 = load i32, ptr %9, align 8, !tbaa !16 %13 = and i32 %12, %11 store i32 %13, ptr %9, align 8, !tbaa !16 br label %14 14: ; preds = %8, %1 %15 = tail call i32 @dtrace_interrupt_enable(i32 noundef %2) #2 ret void } declare i32 @dtrace_interrupt_disable(...) local_unnamed_addr #1 declare i32 @dtrace_interrupt_enable(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"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, !7, i64 8} !13 = !{!"TYPE_5__", !14, i64 0, !7, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/extr_dtrace.c_dtrace_buffer_activate.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/extr_dtrace.c_dtrace_buffer_activate.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, ptr } @curcpu = common local_unnamed_addr global i64 0, align 8 @DTRACEBUF_INACTIVE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dtrace_buffer_activate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dtrace_buffer_activate(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @dtrace_interrupt_disable() #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @curcpu, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 %4 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = icmp eq ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %1 %10 = load i32, ptr @DTRACEBUF_INACTIVE, align 4, !tbaa !16 %11 = xor i32 %10, -1 %12 = load i32, ptr %5, align 8, !tbaa !17 %13 = and i32 %12, %11 store i32 %13, ptr %5, align 8, !tbaa !17 br label %14 14: ; preds = %9, %1 %15 = tail call i32 @dtrace_interrupt_enable(i32 noundef %2) #2 ret void } declare i32 @dtrace_interrupt_disable(...) local_unnamed_addr #1 declare i32 @dtrace_interrupt_enable(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"TYPE_5__", !15, i64 0, !8, i64 8} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !15, i64 0}
freebsd_sys_cddl_contrib_opensolaris_uts_common_dtrace_extr_dtrace.c_dtrace_buffer_activate
; ModuleID = 'AnghaBench/freebsd/sys/dev/ata/extr_ata-card.c_ata_pccard_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/ata/extr_ata-card.c_ata_pccard_detach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ata_channel = type { ptr, i64 } %struct.TYPE_2__ = type { ptr } @ATA_CONTROL = dso_local local_unnamed_addr global i64 0, align 8 @ATA_DATA = dso_local local_unnamed_addr global i64 0, align 8 @SYS_RES_IOPORT = dso_local local_unnamed_addr global i32 0, align 4 @ATA_CTLADDR_RID = dso_local local_unnamed_addr global i32 0, align 4 @ATA_IOADDR_RID = dso_local local_unnamed_addr global i32 0, align 4 @ATA_MAX_RES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ata_pccard_detach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ata_pccard_detach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #3 %3 = getelementptr inbounds %struct.ata_channel, ptr %2, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %43, label %6 6: ; preds = %1 store i64 0, ptr %3, align 8, !tbaa !5 %7 = tail call i32 @ata_detach(i32 noundef %0) #3 %8 = load ptr, ptr %2, align 8, !tbaa !11 %9 = load i64, ptr @ATA_CONTROL, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %9 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = load i64, ptr @ATA_DATA, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = icmp eq ptr %11, %14 br i1 %15, label %24, label %16 16: ; preds = %6 %17 = load i32, ptr @SYS_RES_IOPORT, align 4, !tbaa !15 %18 = load i32, ptr @ATA_CTLADDR_RID, align 4, !tbaa !15 %19 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %17, i32 noundef %18, ptr noundef %11) #3 %20 = load ptr, ptr %2, align 8, !tbaa !11 %21 = load i64, ptr @ATA_DATA, align 8, !tbaa !12 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21 %23 = load ptr, ptr %22, align 8, !tbaa !13 br label %24 24: ; preds = %16, %6 %25 = phi ptr [ %23, %16 ], [ %11, %6 ] %26 = load i32, ptr @SYS_RES_IOPORT, align 4, !tbaa !15 %27 = load i32, ptr @ATA_IOADDR_RID, align 4, !tbaa !15 %28 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %26, i32 noundef %27, ptr noundef %25) #3 %29 = load i64, ptr @ATA_DATA, align 8, !tbaa !12 %30 = trunc i64 %29 to i32 %31 = load i32, ptr @ATA_MAX_RES, align 4, !tbaa !15 %32 = icmp sgt i32 %31, %30 br i1 %32, label %33, label %43 33: ; preds = %24 %34 = load ptr, ptr %2, align 8, !tbaa !11 %35 = shl i64 %29, 32 %36 = ashr exact i64 %35, 29 %37 = getelementptr i8, ptr %34, i64 %36 %38 = xor i32 %30, -1 %39 = add i32 %31, %38 %40 = zext i32 %39 to i64 %41 = shl nuw nsw i64 %40, 3 %42 = add nuw nsw i64 %41, 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %37, i8 0, i64 %42, i1 false), !tbaa !13 br label %43 43: ; preds = %33, %24, %1 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @ata_detach(i32 noundef) local_unnamed_addr #1 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ata_channel", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_2__", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ata/extr_ata-card.c_ata_pccard_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/ata/extr_ata-card.c_ata_pccard_detach.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 } @ATA_CONTROL = common local_unnamed_addr global i64 0, align 8 @ATA_DATA = common local_unnamed_addr global i64 0, align 8 @SYS_RES_IOPORT = common local_unnamed_addr global i32 0, align 4 @ATA_CTLADDR_RID = common local_unnamed_addr global i32 0, align 4 @ATA_IOADDR_RID = common local_unnamed_addr global i32 0, align 4 @ATA_MAX_RES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ata_pccard_detach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ata_pccard_detach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #3 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %43, label %6 6: ; preds = %1 store i64 0, ptr %3, align 8, !tbaa !6 %7 = tail call i32 @ata_detach(i32 noundef %0) #3 %8 = load ptr, ptr %2, align 8, !tbaa !12 %9 = load i64, ptr @ATA_CONTROL, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %9 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = load i64, ptr @ATA_DATA, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = icmp eq ptr %11, %14 br i1 %15, label %24, label %16 16: ; preds = %6 %17 = load i32, ptr @SYS_RES_IOPORT, align 4, !tbaa !16 %18 = load i32, ptr @ATA_CTLADDR_RID, align 4, !tbaa !16 %19 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %17, i32 noundef %18, ptr noundef %11) #3 %20 = load ptr, ptr %2, align 8, !tbaa !12 %21 = load i64, ptr @ATA_DATA, align 8, !tbaa !13 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i64 %21 %23 = load ptr, ptr %22, align 8, !tbaa !14 br label %24 24: ; preds = %16, %6 %25 = phi ptr [ %23, %16 ], [ %14, %6 ] %26 = load i32, ptr @SYS_RES_IOPORT, align 4, !tbaa !16 %27 = load i32, ptr @ATA_IOADDR_RID, align 4, !tbaa !16 %28 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %26, i32 noundef %27, ptr noundef %25) #3 %29 = load i64, ptr @ATA_DATA, align 8, !tbaa !13 %30 = trunc i64 %29 to i32 %31 = load i32, ptr @ATA_MAX_RES, align 4, !tbaa !16 %32 = icmp sgt i32 %31, %30 br i1 %32, label %33, label %43 33: ; preds = %24 %34 = load ptr, ptr %2, align 8, !tbaa !12 %35 = shl i64 %29, 32 %36 = ashr exact i64 %35, 29 %37 = getelementptr i8, ptr %34, i64 %36 %38 = xor i32 %30, -1 %39 = add i32 %31, %38 %40 = zext i32 %39 to i64 %41 = shl nuw nsw i64 %40, 3 %42 = add nuw nsw i64 %41, 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %37, i8 0, i64 %42, i1 false), !tbaa !14 br label %43 43: ; preds = %33, %24, %1 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @ata_detach(i32 noundef) local_unnamed_addr #1 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ata_channel", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_2__", !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0}
freebsd_sys_dev_ata_extr_ata-card.c_ata_pccard_detach
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_resource.c_vmw_user_resource_lookup_handle.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_resource.c_vmw_user_resource_lookup_handle.c" target datalayout = "e-m:e-p270:32:32-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.vmw_user_resource_conv = type { i64, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @vmw_user_resource_lookup_handle(ptr nocapture noundef readnone %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !5 %8 = tail call ptr @ttm_base_object_lookup(ptr noundef %1, i32 noundef %2) #3 store ptr %8, ptr %6, align 8, !tbaa !9 %9 = icmp eq ptr %8, null %10 = zext i1 %9 to i32 %11 = tail call i64 @unlikely(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %5 %14 = load i32, ptr @EINVAL, align 4, !tbaa !5 %15 = sub nsw i32 0, %14 br label %32 16: ; preds = %5 %17 = sub nsw i32 0, %7 %18 = tail call i64 @ttm_base_object_type(ptr noundef %8) #3 %19 = load i64, ptr %3, align 8, !tbaa !11 %20 = icmp ne i64 %18, %19 %21 = zext i1 %20 to i32 %22 = tail call i64 @unlikely(i32 noundef %21) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %16 %25 = getelementptr inbounds %struct.vmw_user_resource_conv, ptr %3, i64 0, i32 1 %26 = load ptr, ptr %25, align 8, !tbaa !14 %27 = tail call ptr %26(ptr noundef %8) #3 %28 = tail call i32 @kref_get(ptr noundef %27) #3 store ptr %27, ptr %4, align 8, !tbaa !9 br label %29 29: ; preds = %16, %24 %30 = phi i32 [ %17, %16 ], [ 0, %24 ] %31 = call i32 @ttm_base_object_unref(ptr noundef nonnull %6) #3 br label %32 32: ; preds = %29, %13 %33 = phi i32 [ %15, %13 ], [ %30, %29 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ttm_base_object_lookup(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i64 @ttm_base_object_type(ptr noundef) local_unnamed_addr #2 declare i32 @kref_get(ptr noundef) local_unnamed_addr #2 declare i32 @ttm_base_object_unref(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"vmw_user_resource_conv", !13, i64 0, !10, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!12, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_resource.c_vmw_user_resource_lookup_handle.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/vmwgfx/extr_vmwgfx_resource.c_vmw_user_resource_lookup_handle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @vmw_user_resource_lookup_handle(ptr nocapture noundef readnone %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !6 %8 = tail call ptr @ttm_base_object_lookup(ptr noundef %1, i32 noundef %2) #3 store ptr %8, ptr %6, align 8, !tbaa !10 %9 = icmp eq ptr %8, null %10 = zext i1 %9 to i32 %11 = tail call i64 @unlikely(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %5 %14 = load i32, ptr @EINVAL, align 4, !tbaa !6 %15 = sub nsw i32 0, %14 br label %32 16: ; preds = %5 %17 = sub nsw i32 0, %7 %18 = tail call i64 @ttm_base_object_type(ptr noundef %8) #3 %19 = load i64, ptr %3, align 8, !tbaa !12 %20 = icmp ne i64 %18, %19 %21 = zext i1 %20 to i32 %22 = tail call i64 @unlikely(i32 noundef %21) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %16 %25 = getelementptr inbounds i8, ptr %3, i64 8 %26 = load ptr, ptr %25, align 8, !tbaa !15 %27 = tail call ptr %26(ptr noundef %8) #3 %28 = tail call i32 @kref_get(ptr noundef %27) #3 store ptr %27, ptr %4, align 8, !tbaa !10 br label %29 29: ; preds = %16, %24 %30 = phi i32 [ %17, %16 ], [ 0, %24 ] %31 = call i32 @ttm_base_object_unref(ptr noundef nonnull %6) #3 br label %32 32: ; preds = %29, %13 %33 = phi i32 [ %15, %13 ], [ %30, %29 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ttm_base_object_lookup(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i64 @ttm_base_object_type(ptr noundef) local_unnamed_addr #2 declare i32 @kref_get(ptr noundef) local_unnamed_addr #2 declare i32 @ttm_base_object_unref(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"vmw_user_resource_conv", !14, i64 0, !11, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!13, !11, i64 8}
linux_drivers_gpu_drm_vmwgfx_extr_vmwgfx_resource.c_vmw_user_resource_lookup_handle
; ModuleID = 'AnghaBench/FFmpeg/tests/api/extr_api-band-test.c_video_decode.c' source_filename = "AnghaBench/FFmpeg/tests/api/extr_api-band-test.c_video_decode.c" target datalayout = "e-m:e-p270:32:32-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_32__ = type { i32, i64, ptr } %struct.TYPE_36__ = type { i32, i32, i32, i32, i32 } %struct.TYPE_33__ = type { i64, i64 } @draw_horiz_band_called = dso_local local_unnamed_addr global i64 0, align 8 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Can't open file\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Can't get stream info\0A\00", align 1 @AVMEDIA_TYPE_VIDEO = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [39 x i8] c"Can't find video stream in input file\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Can't find decoder\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Can't allocate decoder context\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [28 x i8] c"Can't copy decoder context\0A\00", align 1 @draw_horiz_band = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [20 x i8] c"Can't open decoder\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"Can't allocate frame\0A\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"flv\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"mpeg4\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"huffyuv\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"Wrong codec\0A\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"Can't allocate buffer\0A\00", align 1 @slice_byte_buffer = dso_local global ptr null, align 8 @slice_byte_buffer_size = dso_local local_unnamed_addr global i32 0, align 4 @.str.13 = private unnamed_addr constant [22 x i8] c"Error decoding frame\0A\00", align 1 @.str.14 = private unnamed_addr constant [28 x i8] c"Can't copy image to buffer\0A\00", align 1 @.str.15 = private unnamed_addr constant [38 x i8] c"draw_horiz_band haven't been called!\0A\00", align 1 @.str.16 = private unnamed_addr constant [67 x i8] c"Decoded frames with and without draw_horiz_band are not the same!\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @video_decode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @video_decode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.TYPE_32__, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 store ptr null, ptr %6, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 store i32 0, ptr %7, align 4, !tbaa !9 store i64 0, ptr @draw_horiz_band_called, align 8, !tbaa !11 %8 = call i32 @avformat_open_input(ptr noundef nonnull %6, ptr noundef %0, ptr noundef null, ptr noundef null) #4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %12 = call i32 @av_log(ptr noundef null, i32 noundef %11, ptr noundef nonnull @.str) #4 br label %183 13: ; preds = %1 %14 = load ptr, ptr %6, align 8, !tbaa !5 %15 = call i32 @avformat_find_stream_info(ptr noundef %14, ptr noundef null) #4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %19 = call i32 @av_log(ptr noundef null, i32 noundef %18, ptr noundef nonnull @.str.1) #4 br label %183 20: ; preds = %13 %21 = load ptr, ptr %6, align 8, !tbaa !5 %22 = load i32, ptr @AVMEDIA_TYPE_VIDEO, align 4, !tbaa !9 %23 = call i32 @av_find_best_stream(ptr noundef %21, i32 noundef %22, i32 noundef -1, i32 noundef -1, ptr noundef null, i32 noundef 0) #4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %20 %26 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %27 = call i32 @av_log(ptr noundef null, i32 noundef %26, ptr noundef nonnull @.str.2) #4 br label %183 28: ; preds = %20 %29 = load ptr, ptr %6, align 8, !tbaa !5 %30 = load ptr, ptr %29, align 8, !tbaa !13 %31 = zext nneg i32 %23 to i64 %32 = getelementptr inbounds ptr, ptr %30, i64 %31 %33 = load ptr, ptr %32, align 8, !tbaa !5 %34 = load ptr, ptr %33, align 8, !tbaa !15 %35 = load i32, ptr %34, align 4, !tbaa !17 %36 = call ptr @avcodec_find_decoder(i32 noundef %35) #4 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %28 %39 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %40 = call i32 @av_log(ptr noundef null, i32 noundef %39, ptr noundef nonnull @.str.3) #4 br label %183 41: ; preds = %28 %42 = call ptr @avcodec_alloc_context3(ptr noundef nonnull %36) #4 store ptr %42, ptr %2, align 8, !tbaa !5 %43 = icmp eq ptr %42, null br i1 %43, label %44, label %49 44: ; preds = %41 %45 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %46 = call i32 @av_log(ptr noundef null, i32 noundef %45, ptr noundef nonnull @.str.4) #4 %47 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %48 = call i32 @AVERROR(i32 noundef %47) #4 br label %183 49: ; preds = %41 %50 = call i32 @avcodec_parameters_to_context(ptr noundef nonnull %42, ptr noundef nonnull %34) #4 %51 = icmp eq i32 %50, 0 br i1 %51, label %55, label %52 52: ; preds = %49 %53 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %54 = call i32 @av_log(ptr noundef null, i32 noundef %53, ptr noundef nonnull @.str.5) #4 br label %183 55: ; preds = %49 %56 = load i32, ptr @draw_horiz_band, align 4, !tbaa !9 %57 = getelementptr inbounds %struct.TYPE_36__, ptr %42, i64 0, i32 4 store i32 %56, ptr %57, align 4, !tbaa !19 store i32 1, ptr %42, align 4, !tbaa !21 %58 = call i32 @avcodec_open2(ptr noundef nonnull %42, ptr noundef nonnull %36, ptr noundef null) #4 %59 = icmp slt i32 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %62 = call i32 @av_log(ptr noundef nonnull %42, i32 noundef %61, ptr noundef nonnull @.str.6) #4 br label %183 63: ; preds = %55 %64 = call ptr (...) @av_frame_alloc() #4 store ptr %64, ptr %4, align 8, !tbaa !5 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %71 66: ; preds = %63 %67 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %68 = call i32 @av_log(ptr noundef null, i32 noundef %67, ptr noundef nonnull @.str.7) #4 %69 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %70 = call i32 @AVERROR(i32 noundef %69) #4 br label %183 71: ; preds = %63 %72 = load i32, ptr %36, align 4, !tbaa !22 %73 = call i64 @strcmp(i32 noundef %72, ptr noundef nonnull @.str.8) #4 %74 = icmp eq i64 %73, 0 br i1 %74, label %86, label %75 75: ; preds = %71 %76 = load i32, ptr %36, align 4, !tbaa !22 %77 = call i64 @strcmp(i32 noundef %76, ptr noundef nonnull @.str.9) #4 %78 = icmp eq i64 %77, 0 br i1 %78, label %86, label %79 79: ; preds = %75 %80 = load i32, ptr %36, align 4, !tbaa !22 %81 = call i64 @strcmp(i32 noundef %80, ptr noundef nonnull @.str.10) #4 %82 = icmp eq i64 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %79 %84 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %85 = call i32 @av_log(ptr noundef null, i32 noundef %84, ptr noundef nonnull @.str.11) #4 br label %183 86: ; preds = %79, %75, %71 %87 = getelementptr inbounds %struct.TYPE_36__, ptr %42, i64 0, i32 3 %88 = load i32, ptr %87, align 4, !tbaa !24 %89 = getelementptr inbounds %struct.TYPE_36__, ptr %42, i64 0, i32 2 %90 = load i32, ptr %89, align 4, !tbaa !25 %91 = getelementptr inbounds %struct.TYPE_36__, ptr %42, i64 0, i32 1 %92 = load i32, ptr %91, align 4, !tbaa !26 %93 = call i32 @av_image_get_buffer_size(i32 noundef %88, i32 noundef %90, i32 noundef %92, i32 noundef 32) #4 %94 = call ptr @av_malloc(i32 noundef %93) #4 store ptr %94, ptr %3, align 8, !tbaa !5 %95 = icmp eq ptr %94, null br i1 %95, label %96, label %101 96: ; preds = %86 %97 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %98 = call i32 @av_log(ptr noundef null, i32 noundef %97, ptr noundef nonnull @.str.12) #4 %99 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %100 = call i32 @AVERROR(i32 noundef %99) #4 br label %183 101: ; preds = %86 %102 = call ptr @av_malloc(i32 noundef %93) #4 store ptr %102, ptr @slice_byte_buffer, align 8, !tbaa !5 %103 = icmp eq ptr %102, null br i1 %103, label %104, label %109 104: ; preds = %101 %105 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %106 = call i32 @av_log(ptr noundef null, i32 noundef %105, ptr noundef nonnull @.str.12) #4 %107 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %108 = call i32 @AVERROR(i32 noundef %107) #4 br label %183 109: ; preds = %101 %110 = call i32 @memset(ptr noundef nonnull %102, i32 noundef 0, i32 noundef %93) #4 store i32 %93, ptr @slice_byte_buffer_size, align 4, !tbaa !9 %111 = call i32 @av_init_packet(ptr noundef nonnull %5) #4 %112 = getelementptr inbounds %struct.TYPE_32__, ptr %5, i64 0, i32 1 br label %113 113: ; preds = %169, %109 %114 = phi i32 [ 0, %109 ], [ %171, %169 ] %115 = icmp eq i32 %114, 0 br i1 %115, label %116, label %120 116: ; preds = %113 %117 = load ptr, ptr %6, align 8, !tbaa !5 %118 = call i64 @av_read_frame(ptr noundef %117, ptr noundef nonnull %5) #4 %119 = icmp slt i64 %118, 0 br i1 %119, label %120, label %121 120: ; preds = %116, %113 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %112, i8 0, i64 16, i1 false) br label %124 121: ; preds = %116 %122 = load i32, ptr %5, align 8, !tbaa !27 %123 = icmp eq i32 %122, %23 br i1 %123, label %124, label %169 124: ; preds = %120, %121 %125 = phi i1 [ true, %120 ], [ false, %121 ] %126 = phi i32 [ 1, %120 ], [ 0, %121 ] store i32 0, ptr %7, align 4, !tbaa !9 %127 = load ptr, ptr %4, align 8, !tbaa !5 %128 = call i32 @avcodec_decode_video2(ptr noundef nonnull %42, ptr noundef %127, ptr noundef nonnull %7, ptr noundef nonnull %5) #4 %129 = icmp slt i32 %128, 0 br i1 %129, label %130, label %133 130: ; preds = %124 %131 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %132 = call i32 @av_log(ptr noundef null, i32 noundef %131, ptr noundef nonnull @.str.13) #4 br label %183 133: ; preds = %124 %134 = load i32, ptr %7, align 4, !tbaa !9 %135 = icmp eq i32 %134, 0 br i1 %135, label %166, label %136 136: ; preds = %133 %137 = load ptr, ptr %3, align 8, !tbaa !5 %138 = load ptr, ptr %4, align 8, !tbaa !5 %139 = getelementptr inbounds %struct.TYPE_33__, ptr %138, i64 0, i32 1 %140 = load i64, ptr %139, align 8, !tbaa !29 %141 = inttoptr i64 %140 to ptr %142 = load i64, ptr %138, align 8, !tbaa !31 %143 = inttoptr i64 %142 to ptr %144 = load i32, ptr %87, align 4, !tbaa !24 %145 = load i32, ptr %89, align 4, !tbaa !25 %146 = load i32, ptr %91, align 4, !tbaa !26 %147 = call i32 @av_image_copy_to_buffer(ptr noundef %137, i32 noundef %93, ptr noundef %141, ptr noundef %143, i32 noundef %144, i32 noundef %145, i32 noundef %146, i32 noundef 1) #4 %148 = icmp slt i32 %147, 0 br i1 %148, label %149, label %152 149: ; preds = %136 %150 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %151 = call i32 @av_log(ptr noundef null, i32 noundef %150, ptr noundef nonnull @.str.14) #4 br label %183 152: ; preds = %136 %153 = load i64, ptr @draw_horiz_band_called, align 8, !tbaa !11 %154 = icmp eq i64 %153, 0 br i1 %154, label %155, label %158 155: ; preds = %152 %156 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %157 = call i32 @av_log(ptr noundef null, i32 noundef %156, ptr noundef nonnull @.str.15) #4 br label %183 158: ; preds = %152 %159 = call i64 @av_adler32_update(i32 noundef 0, ptr noundef %137, i32 noundef %147) #4 %160 = load ptr, ptr @slice_byte_buffer, align 8, !tbaa !5 %161 = call i64 @av_adler32_update(i32 noundef 0, ptr noundef %160, i32 noundef %147) #4 %162 = icmp eq i64 %159, %161 br i1 %162, label %166, label %163 163: ; preds = %158 %164 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %165 = call i32 @av_log(ptr noundef null, i32 noundef %164, ptr noundef nonnull @.str.16) #4 br label %183 166: ; preds = %158, %133 %167 = call i32 @av_packet_unref(ptr noundef nonnull %5) #4 %168 = call i32 @av_init_packet(ptr noundef nonnull %5) #4 br label %169 169: ; preds = %166, %121 %170 = phi i1 [ %125, %166 ], [ false, %121 ] %171 = phi i32 [ %126, %166 ], [ 0, %121 ] %172 = load i32, ptr %7, align 4 %173 = icmp eq i32 %172, 0 %174 = select i1 %170, i1 %173, i1 false br i1 %174, label %175, label %113, !llvm.loop !32 175: ; preds = %169 %176 = call i32 @av_packet_unref(ptr noundef nonnull %5) #4 %177 = call i32 @av_frame_free(ptr noundef nonnull %4) #4 %178 = call i32 @avcodec_close(ptr noundef nonnull %42) #4 %179 = call i32 @avformat_close_input(ptr noundef nonnull %6) #4 %180 = call i32 @avcodec_free_context(ptr noundef nonnull %2) #4 %181 = call i32 @av_freep(ptr noundef nonnull %3) #4 %182 = call i32 @av_freep(ptr noundef nonnull @slice_byte_buffer) #4 br label %183 183: ; preds = %175, %163, %155, %149, %130, %104, %96, %83, %66, %60, %52, %44, %38, %25, %17, %10 %184 = phi i32 [ %8, %10 ], [ %15, %17 ], [ -1, %25 ], [ %50, %52 ], [ %58, %60 ], [ -1, %83 ], [ %128, %130 ], [ %147, %149 ], [ -1, %155 ], [ -1, %163 ], [ 0, %175 ], [ %108, %104 ], [ %100, %96 ], [ %70, %66 ], [ %48, %44 ], [ -1, %38 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4 ret i32 %184 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @avformat_open_input(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avformat_find_stream_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_find_best_stream(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @avcodec_find_decoder(i32 noundef) local_unnamed_addr #2 declare ptr @avcodec_alloc_context3(ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i32 @avcodec_parameters_to_context(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_open2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @av_frame_alloc(...) local_unnamed_addr #2 declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_image_get_buffer_size(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @av_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_init_packet(ptr noundef) local_unnamed_addr #2 declare i64 @av_read_frame(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_decode_video2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_image_copy_to_buffer(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @av_adler32_update(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_packet_unref(ptr noundef) local_unnamed_addr #2 declare i32 @av_frame_free(ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_close(ptr noundef) local_unnamed_addr #2 declare i32 @avformat_close_input(ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_free_context(ptr noundef) local_unnamed_addr #2 declare i32 @av_freep(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_34__", !6, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_31__", !6, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_35__", !10, i64 0} !19 = !{!20, !10, i64 16} !20 = !{!"TYPE_36__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16} !21 = !{!20, !10, i64 0} !22 = !{!23, !10, i64 0} !23 = !{!"TYPE_37__", !10, i64 0} !24 = !{!20, !10, i64 12} !25 = !{!20, !10, i64 8} !26 = !{!20, !10, i64 4} !27 = !{!28, !10, i64 0} !28 = !{!"TYPE_32__", !10, i64 0, !12, i64 8, !6, i64 16} !29 = !{!30, !12, i64 8} !30 = !{!"TYPE_33__", !12, i64 0, !12, i64 8} !31 = !{!30, !12, i64 0} !32 = distinct !{!32, !33} !33 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/tests/api/extr_api-band-test.c_video_decode.c' source_filename = "AnghaBench/FFmpeg/tests/api/extr_api-band-test.c_video_decode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_32__ = type { i32, i64, ptr } @draw_horiz_band_called = common local_unnamed_addr global i64 0, align 8 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Can't open file\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Can't get stream info\0A\00", align 1 @AVMEDIA_TYPE_VIDEO = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [39 x i8] c"Can't find video stream in input file\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Can't find decoder\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Can't allocate decoder context\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [28 x i8] c"Can't copy decoder context\0A\00", align 1 @draw_horiz_band = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [20 x i8] c"Can't open decoder\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"Can't allocate frame\0A\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"flv\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"mpeg4\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"huffyuv\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"Wrong codec\0A\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c"Can't allocate buffer\0A\00", align 1 @slice_byte_buffer = common global ptr null, align 8 @slice_byte_buffer_size = common local_unnamed_addr global i32 0, align 4 @.str.13 = private unnamed_addr constant [22 x i8] c"Error decoding frame\0A\00", align 1 @.str.14 = private unnamed_addr constant [28 x i8] c"Can't copy image to buffer\0A\00", align 1 @.str.15 = private unnamed_addr constant [38 x i8] c"draw_horiz_band haven't been called!\0A\00", align 1 @.str.16 = private unnamed_addr constant [67 x i8] c"Decoded frames with and without draw_horiz_band are not the same!\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @video_decode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @video_decode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.TYPE_32__, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 store ptr null, ptr %6, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 store i32 0, ptr %7, align 4, !tbaa !10 store i64 0, ptr @draw_horiz_band_called, align 8, !tbaa !12 %8 = call i32 @avformat_open_input(ptr noundef nonnull %6, ptr noundef %0, ptr noundef null, ptr noundef null) #4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %12 = call i32 @av_log(ptr noundef null, i32 noundef %11, ptr noundef nonnull @.str) #4 br label %183 13: ; preds = %1 %14 = load ptr, ptr %6, align 8, !tbaa !6 %15 = call i32 @avformat_find_stream_info(ptr noundef %14, ptr noundef null) #4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %19 = call i32 @av_log(ptr noundef null, i32 noundef %18, ptr noundef nonnull @.str.1) #4 br label %183 20: ; preds = %13 %21 = load ptr, ptr %6, align 8, !tbaa !6 %22 = load i32, ptr @AVMEDIA_TYPE_VIDEO, align 4, !tbaa !10 %23 = call i32 @av_find_best_stream(ptr noundef %21, i32 noundef %22, i32 noundef -1, i32 noundef -1, ptr noundef null, i32 noundef 0) #4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %20 %26 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %27 = call i32 @av_log(ptr noundef null, i32 noundef %26, ptr noundef nonnull @.str.2) #4 br label %183 28: ; preds = %20 %29 = load ptr, ptr %6, align 8, !tbaa !6 %30 = load ptr, ptr %29, align 8, !tbaa !14 %31 = zext nneg i32 %23 to i64 %32 = getelementptr inbounds ptr, ptr %30, i64 %31 %33 = load ptr, ptr %32, align 8, !tbaa !6 %34 = load ptr, ptr %33, align 8, !tbaa !16 %35 = load i32, ptr %34, align 4, !tbaa !18 %36 = call ptr @avcodec_find_decoder(i32 noundef %35) #4 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %28 %39 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %40 = call i32 @av_log(ptr noundef null, i32 noundef %39, ptr noundef nonnull @.str.3) #4 br label %183 41: ; preds = %28 %42 = call ptr @avcodec_alloc_context3(ptr noundef nonnull %36) #4 store ptr %42, ptr %2, align 8, !tbaa !6 %43 = icmp eq ptr %42, null br i1 %43, label %44, label %49 44: ; preds = %41 %45 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %46 = call i32 @av_log(ptr noundef null, i32 noundef %45, ptr noundef nonnull @.str.4) #4 %47 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %48 = call i32 @AVERROR(i32 noundef %47) #4 br label %183 49: ; preds = %41 %50 = call i32 @avcodec_parameters_to_context(ptr noundef nonnull %42, ptr noundef nonnull %34) #4 %51 = icmp eq i32 %50, 0 br i1 %51, label %55, label %52 52: ; preds = %49 %53 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %54 = call i32 @av_log(ptr noundef null, i32 noundef %53, ptr noundef nonnull @.str.5) #4 br label %183 55: ; preds = %49 %56 = load i32, ptr @draw_horiz_band, align 4, !tbaa !10 %57 = getelementptr inbounds i8, ptr %42, i64 16 store i32 %56, ptr %57, align 4, !tbaa !20 store i32 1, ptr %42, align 4, !tbaa !22 %58 = call i32 @avcodec_open2(ptr noundef nonnull %42, ptr noundef nonnull %36, ptr noundef null) #4 %59 = icmp slt i32 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %62 = call i32 @av_log(ptr noundef nonnull %42, i32 noundef %61, ptr noundef nonnull @.str.6) #4 br label %183 63: ; preds = %55 %64 = call ptr @av_frame_alloc() #4 store ptr %64, ptr %4, align 8, !tbaa !6 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %71 66: ; preds = %63 %67 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %68 = call i32 @av_log(ptr noundef null, i32 noundef %67, ptr noundef nonnull @.str.7) #4 %69 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %70 = call i32 @AVERROR(i32 noundef %69) #4 br label %183 71: ; preds = %63 %72 = load i32, ptr %36, align 4, !tbaa !23 %73 = call i64 @strcmp(i32 noundef %72, ptr noundef nonnull @.str.8) #4 %74 = icmp eq i64 %73, 0 br i1 %74, label %86, label %75 75: ; preds = %71 %76 = load i32, ptr %36, align 4, !tbaa !23 %77 = call i64 @strcmp(i32 noundef %76, ptr noundef nonnull @.str.9) #4 %78 = icmp eq i64 %77, 0 br i1 %78, label %86, label %79 79: ; preds = %75 %80 = load i32, ptr %36, align 4, !tbaa !23 %81 = call i64 @strcmp(i32 noundef %80, ptr noundef nonnull @.str.10) #4 %82 = icmp eq i64 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %79 %84 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %85 = call i32 @av_log(ptr noundef null, i32 noundef %84, ptr noundef nonnull @.str.11) #4 br label %183 86: ; preds = %79, %75, %71 %87 = getelementptr inbounds i8, ptr %42, i64 12 %88 = load i32, ptr %87, align 4, !tbaa !25 %89 = getelementptr inbounds i8, ptr %42, i64 8 %90 = load i32, ptr %89, align 4, !tbaa !26 %91 = getelementptr inbounds i8, ptr %42, i64 4 %92 = load i32, ptr %91, align 4, !tbaa !27 %93 = call i32 @av_image_get_buffer_size(i32 noundef %88, i32 noundef %90, i32 noundef %92, i32 noundef 32) #4 %94 = call ptr @av_malloc(i32 noundef %93) #4 store ptr %94, ptr %3, align 8, !tbaa !6 %95 = icmp eq ptr %94, null br i1 %95, label %96, label %101 96: ; preds = %86 %97 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %98 = call i32 @av_log(ptr noundef null, i32 noundef %97, ptr noundef nonnull @.str.12) #4 %99 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %100 = call i32 @AVERROR(i32 noundef %99) #4 br label %183 101: ; preds = %86 %102 = call ptr @av_malloc(i32 noundef %93) #4 store ptr %102, ptr @slice_byte_buffer, align 8, !tbaa !6 %103 = icmp eq ptr %102, null br i1 %103, label %104, label %109 104: ; preds = %101 %105 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %106 = call i32 @av_log(ptr noundef null, i32 noundef %105, ptr noundef nonnull @.str.12) #4 %107 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %108 = call i32 @AVERROR(i32 noundef %107) #4 br label %183 109: ; preds = %101 %110 = call i32 @memset(ptr noundef nonnull %102, i32 noundef 0, i32 noundef %93) #4 store i32 %93, ptr @slice_byte_buffer_size, align 4, !tbaa !10 %111 = call i32 @av_init_packet(ptr noundef nonnull %5) #4 %112 = getelementptr inbounds i8, ptr %5, i64 8 br label %113 113: ; preds = %169, %109 %114 = phi i32 [ 0, %109 ], [ %171, %169 ] %115 = icmp eq i32 %114, 0 br i1 %115, label %116, label %120 116: ; preds = %113 %117 = load ptr, ptr %6, align 8, !tbaa !6 %118 = call i64 @av_read_frame(ptr noundef %117, ptr noundef nonnull %5) #4 %119 = icmp slt i64 %118, 0 br i1 %119, label %120, label %121 120: ; preds = %116, %113 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %112, i8 0, i64 16, i1 false) br label %124 121: ; preds = %116 %122 = load i32, ptr %5, align 8, !tbaa !28 %123 = icmp eq i32 %122, %23 br i1 %123, label %124, label %169 124: ; preds = %120, %121 %125 = phi i1 [ true, %120 ], [ false, %121 ] %126 = phi i32 [ 1, %120 ], [ 0, %121 ] store i32 0, ptr %7, align 4, !tbaa !10 %127 = load ptr, ptr %4, align 8, !tbaa !6 %128 = call i32 @avcodec_decode_video2(ptr noundef nonnull %42, ptr noundef %127, ptr noundef nonnull %7, ptr noundef nonnull %5) #4 %129 = icmp slt i32 %128, 0 br i1 %129, label %130, label %133 130: ; preds = %124 %131 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %132 = call i32 @av_log(ptr noundef null, i32 noundef %131, ptr noundef nonnull @.str.13) #4 br label %183 133: ; preds = %124 %134 = load i32, ptr %7, align 4, !tbaa !10 %135 = icmp eq i32 %134, 0 br i1 %135, label %166, label %136 136: ; preds = %133 %137 = load ptr, ptr %3, align 8, !tbaa !6 %138 = load ptr, ptr %4, align 8, !tbaa !6 %139 = getelementptr inbounds i8, ptr %138, i64 8 %140 = load i64, ptr %139, align 8, !tbaa !30 %141 = inttoptr i64 %140 to ptr %142 = load i64, ptr %138, align 8, !tbaa !32 %143 = inttoptr i64 %142 to ptr %144 = load i32, ptr %87, align 4, !tbaa !25 %145 = load i32, ptr %89, align 4, !tbaa !26 %146 = load i32, ptr %91, align 4, !tbaa !27 %147 = call i32 @av_image_copy_to_buffer(ptr noundef %137, i32 noundef %93, ptr noundef %141, ptr noundef %143, i32 noundef %144, i32 noundef %145, i32 noundef %146, i32 noundef 1) #4 %148 = icmp slt i32 %147, 0 br i1 %148, label %149, label %152 149: ; preds = %136 %150 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %151 = call i32 @av_log(ptr noundef null, i32 noundef %150, ptr noundef nonnull @.str.14) #4 br label %183 152: ; preds = %136 %153 = load i64, ptr @draw_horiz_band_called, align 8, !tbaa !12 %154 = icmp eq i64 %153, 0 br i1 %154, label %155, label %158 155: ; preds = %152 %156 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %157 = call i32 @av_log(ptr noundef null, i32 noundef %156, ptr noundef nonnull @.str.15) #4 br label %183 158: ; preds = %152 %159 = call i64 @av_adler32_update(i32 noundef 0, ptr noundef %137, i32 noundef %147) #4 %160 = load ptr, ptr @slice_byte_buffer, align 8, !tbaa !6 %161 = call i64 @av_adler32_update(i32 noundef 0, ptr noundef %160, i32 noundef %147) #4 %162 = icmp eq i64 %159, %161 br i1 %162, label %166, label %163 163: ; preds = %158 %164 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %165 = call i32 @av_log(ptr noundef null, i32 noundef %164, ptr noundef nonnull @.str.16) #4 br label %183 166: ; preds = %158, %133 %167 = call i32 @av_packet_unref(ptr noundef nonnull %5) #4 %168 = call i32 @av_init_packet(ptr noundef nonnull %5) #4 br label %169 169: ; preds = %166, %121 %170 = phi i1 [ %125, %166 ], [ false, %121 ] %171 = phi i32 [ %126, %166 ], [ 0, %121 ] %172 = load i32, ptr %7, align 4 %173 = icmp eq i32 %172, 0 %174 = select i1 %170, i1 %173, i1 false br i1 %174, label %175, label %113, !llvm.loop !33 175: ; preds = %169 %176 = call i32 @av_packet_unref(ptr noundef nonnull %5) #4 %177 = call i32 @av_frame_free(ptr noundef nonnull %4) #4 %178 = call i32 @avcodec_close(ptr noundef nonnull %42) #4 %179 = call i32 @avformat_close_input(ptr noundef nonnull %6) #4 %180 = call i32 @avcodec_free_context(ptr noundef nonnull %2) #4 %181 = call i32 @av_freep(ptr noundef nonnull %3) #4 %182 = call i32 @av_freep(ptr noundef nonnull @slice_byte_buffer) #4 br label %183 183: ; preds = %175, %163, %155, %149, %130, %104, %96, %83, %66, %60, %52, %44, %38, %25, %17, %10 %184 = phi i32 [ %8, %10 ], [ %15, %17 ], [ -1, %25 ], [ %50, %52 ], [ %58, %60 ], [ -1, %83 ], [ %128, %130 ], [ %147, %149 ], [ -1, %155 ], [ -1, %163 ], [ 0, %175 ], [ %108, %104 ], [ %100, %96 ], [ %70, %66 ], [ %48, %44 ], [ -1, %38 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4 ret i32 %184 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @avformat_open_input(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avformat_find_stream_info(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_find_best_stream(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @avcodec_find_decoder(i32 noundef) local_unnamed_addr #2 declare ptr @avcodec_alloc_context3(ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i32 @avcodec_parameters_to_context(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_open2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @av_frame_alloc(...) local_unnamed_addr #2 declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_image_get_buffer_size(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @av_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_init_packet(ptr noundef) local_unnamed_addr #2 declare i64 @av_read_frame(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_decode_video2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_image_copy_to_buffer(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @av_adler32_update(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_packet_unref(ptr noundef) local_unnamed_addr #2 declare i32 @av_frame_free(ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_close(ptr noundef) local_unnamed_addr #2 declare i32 @avformat_close_input(ptr noundef) local_unnamed_addr #2 declare i32 @avcodec_free_context(ptr noundef) local_unnamed_addr #2 declare i32 @av_freep(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_34__", !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_31__", !7, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_35__", !11, i64 0} !20 = !{!21, !11, i64 16} !21 = !{!"TYPE_36__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16} !22 = !{!21, !11, i64 0} !23 = !{!24, !11, i64 0} !24 = !{!"TYPE_37__", !11, i64 0} !25 = !{!21, !11, i64 12} !26 = !{!21, !11, i64 8} !27 = !{!21, !11, i64 4} !28 = !{!29, !11, i64 0} !29 = !{!"TYPE_32__", !11, i64 0, !13, i64 8, !7, i64 16} !30 = !{!31, !13, i64 8} !31 = !{!"TYPE_33__", !13, i64 0, !13, i64 8} !32 = !{!31, !13, i64 0} !33 = distinct !{!33, !34} !34 = !{!"llvm.loop.mustprogress"}
FFmpeg_tests_api_extr_api-band-test.c_video_decode
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_request.c_scu_ssp_io_request_construct_task_context.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_request.c_scu_ssp_io_request_construct_task_context.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i64, i32, %struct.TYPE_7__ } %struct.TYPE_7__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32 } @SCI_SAS_COMMAND_FRAME = dso_local local_unnamed_addr global i32 0, align 4 @SCU_TASK_TYPE_IOREAD = dso_local local_unnamed_addr global i32 0, align 4 @SCU_TASK_TYPE_IOWRITE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @scu_ssp_io_request_construct_task_context], section "llvm.metadata" @switch.table.scu_ssp_io_request_construct_task_context = private unnamed_addr constant [3 x ptr] [ptr @SCU_TASK_TYPE_IOREAD, ptr @SCU_TASK_TYPE_IOWRITE, ptr @SCU_TASK_TYPE_IOREAD], align 8 ; Function Attrs: nounwind uwtable define internal void @scu_ssp_io_request_construct_task_context(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = tail call ptr @scic_sds_request_get_task_context(ptr noundef %0) #2 %5 = tail call i32 @scu_ssp_reqeust_construct_task_context(ptr noundef %0, ptr noundef %4) #2 store i32 0, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr @SCI_SAS_COMMAND_FRAME, align 4, !tbaa !13 %7 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 3 store i32 %6, ptr %7, align 4, !tbaa !14 %8 = add i32 %1, -128 %9 = icmp ult i32 %8, 3 br i1 %9, label %10, label %16 10: ; preds = %3 %11 = zext nneg i32 %8 to i64 %12 = getelementptr inbounds [3 x ptr], ptr @switch.table.scu_ssp_io_request_construct_task_context, i64 0, i64 %11 %13 = load ptr, ptr %12, align 8 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 2 store i32 %14, ptr %15, align 8, !tbaa !15 br label %16 16: ; preds = %3, %10 %17 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1 store i64 %2, ptr %17, align 8, !tbaa !16 %18 = icmp sgt i64 %2, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = tail call i32 @scic_sds_request_build_sgl(ptr noundef %0) #2 br label %21 21: ; preds = %19, %16 ret void } declare ptr @scic_sds_request_get_task_context(ptr noundef) local_unnamed_addr #1 declare i32 @scu_ssp_reqeust_construct_task_context(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @scic_sds_request_build_sgl(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"TYPE_7__", !12, i64 0} !12 = !{!"TYPE_6__", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 20} !15 = !{!6, !7, i64 16} !16 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_request.c_scu_ssp_io_request_construct_task_context.c' source_filename = "AnghaBench/freebsd/sys/dev/isci/scil/extr_scic_sds_request.c_scu_ssp_io_request_construct_task_context.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCI_SAS_COMMAND_FRAME = common local_unnamed_addr global i32 0, align 4 @SCU_TASK_TYPE_IOREAD = common local_unnamed_addr global i32 0, align 4 @SCU_TASK_TYPE_IOWRITE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @scu_ssp_io_request_construct_task_context], section "llvm.metadata" @switch.table.scu_ssp_io_request_construct_task_context = private unnamed_addr constant [3 x ptr] [ptr @SCU_TASK_TYPE_IOREAD, ptr @SCU_TASK_TYPE_IOWRITE, ptr @SCU_TASK_TYPE_IOREAD], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define internal void @scu_ssp_io_request_construct_task_context(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = tail call ptr @scic_sds_request_get_task_context(ptr noundef %0) #2 %5 = tail call i32 @scu_ssp_reqeust_construct_task_context(ptr noundef %0, ptr noundef %4) #2 store i32 0, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr @SCI_SAS_COMMAND_FRAME, align 4, !tbaa !14 %7 = getelementptr inbounds i8, ptr %4, i64 20 store i32 %6, ptr %7, align 4, !tbaa !15 %8 = add i32 %1, -128 %9 = icmp ult i32 %8, 3 br i1 %9, label %10, label %16 10: ; preds = %3 %11 = zext nneg i32 %8 to i64 %12 = getelementptr inbounds [3 x ptr], ptr @switch.table.scu_ssp_io_request_construct_task_context, i64 0, i64 %11 %13 = load ptr, ptr %12, align 8 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %14, ptr %15, align 8, !tbaa !16 br label %16 16: ; preds = %3, %10 %17 = getelementptr inbounds i8, ptr %4, i64 8 store i64 %2, ptr %17, align 8, !tbaa !17 %18 = icmp sgt i64 %2, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = tail call i32 @scic_sds_request_build_sgl(ptr noundef %0) #2 br label %21 21: ; preds = %19, %16 ret void } declare ptr @scic_sds_request_get_task_context(ptr noundef) local_unnamed_addr #1 declare i32 @scu_ssp_reqeust_construct_task_context(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @scic_sds_request_build_sgl(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"TYPE_7__", !13, i64 0} !13 = !{!"TYPE_6__", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 20} !16 = !{!7, !8, i64 16} !17 = !{!7, !11, i64 8}
freebsd_sys_dev_isci_scil_extr_scic_sds_request.c_scu_ssp_io_request_construct_task_context
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_remove_fs_rule_ok.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_remove_fs_rule_ok.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RES_FS_RULE_BUSY = dso_local local_unnamed_addr global i64 0, align 8 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @RES_FS_RULE_ALLOCATED = dso_local local_unnamed_addr global i64 0, align 8 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @remove_fs_rule_ok], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @remove_fs_rule_ok(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @RES_FS_RULE_BUSY, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @EBUSY, align 4, !tbaa !12 %7 = sub nsw i32 0, %6 br label %14 8: ; preds = %1 %9 = load i64, ptr @RES_FS_RULE_ALLOCATED, align 8, !tbaa !11 %10 = icmp eq i64 %2, %9 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i32, ptr @EPERM, align 4, !tbaa !12 %13 = sub nsw i32 0, %12 br label %14 14: ; preds = %8, %11, %5 %15 = phi i32 [ %7, %5 ], [ %13, %11 ], [ 0, %8 ] ret i32 %15 } 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 = !{!"res_fs_rule", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_remove_fs_rule_ok.c' source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_resource_tracker.c_remove_fs_rule_ok.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RES_FS_RULE_BUSY = common local_unnamed_addr global i64 0, align 8 @EBUSY = common local_unnamed_addr global i32 0, align 4 @RES_FS_RULE_ALLOCATED = common local_unnamed_addr global i64 0, align 8 @EPERM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @remove_fs_rule_ok], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @remove_fs_rule_ok(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @RES_FS_RULE_BUSY, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @EBUSY, align 4, !tbaa !13 %7 = sub nsw i32 0, %6 br label %14 8: ; preds = %1 %9 = load i64, ptr @RES_FS_RULE_ALLOCATED, align 8, !tbaa !12 %10 = icmp eq i64 %2, %9 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i32, ptr @EPERM, align 4, !tbaa !13 %13 = sub nsw i32 0, %12 br label %14 14: ; preds = %8, %11, %5 %15 = phi i32 [ %7, %5 ], [ %13, %11 ], [ 0, %8 ] ret i32 %15 } 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 = !{!"res_fs_rule", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !10, i64 0}
freebsd_sys_dev_mlx4_mlx4_core_extr_mlx4_resource_tracker.c_remove_fs_rule_ok
; ModuleID = 'AnghaBench/openssl/crypto/extr_initthread.c_ossl_cleanup_thread.c' source_filename = "AnghaBench/openssl/crypto/extr_initthread.c_ossl_cleanup_thread.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @destructor_key = dso_local global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ossl_cleanup_thread() local_unnamed_addr #0 { %1 = tail call i32 @init_thread_deregister(ptr noundef null, i32 noundef 1) #2 %2 = tail call i32 @CRYPTO_THREAD_cleanup_local(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @destructor_key, i64 0, i32 1)) #2 store i32 -1, ptr @destructor_key, align 4, !tbaa !5 ret void } declare i32 @init_thread_deregister(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CRYPTO_THREAD_cleanup_local(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/crypto/extr_initthread.c_ossl_cleanup_thread.c' source_filename = "AnghaBench/openssl/crypto/extr_initthread.c_ossl_cleanup_thread.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 { i32, i32 } @destructor_key = common global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ossl_cleanup_thread() local_unnamed_addr #0 { %1 = tail call i32 @init_thread_deregister(ptr noundef null, i32 noundef 1) #2 %2 = tail call i32 @CRYPTO_THREAD_cleanup_local(ptr noundef nonnull getelementptr inbounds (i8, ptr @destructor_key, i64 4)) #2 store i32 -1, ptr @destructor_key, align 4, !tbaa !6 ret void } declare i32 @init_thread_deregister(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CRYPTO_THREAD_cleanup_local(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
openssl_crypto_extr_initthread.c_ossl_cleanup_thread
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82571.c_e1000_init_nvm_params_82571.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82571.c_e1000_init_nvm_params_82571.c" target datalayout = "e-m:e-p270:32:32-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.e1000_hw = type { %struct.TYPE_3__, %struct.e1000_nvm_info } %struct.TYPE_3__ = type { i32 } %struct.e1000_nvm_info = type { i32, i32, i32, i32, i32, i32, %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i32, i32, i32, i32, i32, i32, i32 } @E1000_EECD = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"e1000_init_nvm_params_82571\00", align 1 @E1000_EECD_ADDR_BITS = dso_local local_unnamed_addr global i32 0, align 4 @e1000_nvm_flash_hw = dso_local local_unnamed_addr global i32 0, align 4 @E1000_EECD_AUPDEN = dso_local local_unnamed_addr global i32 0, align 4 @e1000_nvm_eeprom_spi = dso_local local_unnamed_addr global i32 0, align 4 @E1000_EECD_SIZE_EX_MASK = dso_local local_unnamed_addr global i32 0, align 4 @E1000_EECD_SIZE_EX_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @NVM_WORD_SIZE_BASE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @e1000_get_hw_semaphore_82574 = dso_local local_unnamed_addr global i32 0, align 4 @e1000_put_hw_semaphore_82574 = dso_local local_unnamed_addr global i32 0, align 4 @e1000_acquire_nvm_82571 = dso_local local_unnamed_addr global i32 0, align 4 @e1000_release_nvm_82571 = dso_local local_unnamed_addr global i32 0, align 4 @e1000_read_nvm_eerd = dso_local local_unnamed_addr global i32 0, align 4 @e1000_update_nvm_checksum_82571 = dso_local local_unnamed_addr global i32 0, align 4 @e1000_validate_nvm_checksum_82571 = dso_local local_unnamed_addr global i32 0, align 4 @e1000_valid_led_default_82571 = dso_local local_unnamed_addr global i32 0, align 4 @e1000_write_nvm_82571 = dso_local local_unnamed_addr global i32 0, align 4 @E1000_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_init_nvm_params_82571], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @e1000_init_nvm_params_82571(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1 %3 = load i32, ptr @E1000_EECD, align 4, !tbaa !5 %4 = tail call i32 @E1000_READ_REG(ptr noundef %0, i32 noundef %3) #3 %5 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #3 store i32 8, ptr %2, align 4, !tbaa !9 %6 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 1 store i32 1, ptr %6, align 4, !tbaa !12 %7 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !13 switch i32 %8, label %13 [ i32 129, label %9 i32 128, label %11 ] 9: ; preds = %1 %10 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 3 store i32 32, ptr %10, align 4, !tbaa !14 br label %20 11: ; preds = %1 %12 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 3 store i32 8, ptr %12, align 4, !tbaa !14 br label %20 13: ; preds = %1 %14 = load i32, ptr @E1000_EECD_ADDR_BITS, align 4, !tbaa !5 %15 = and i32 %14, %4 %16 = icmp eq i32 %15, 0 %17 = select i1 %16, i32 8, i32 32 %18 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 3 store i32 %17, ptr %18, align 4, !tbaa !14 %19 = select i1 %16, i32 8, i32 16 br label %20 20: ; preds = %13, %11, %9 %21 = phi i32 [ %19, %13 ], [ 8, %11 ], [ 16, %9 ] %22 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 4 store i32 %21, ptr %22, align 4, !tbaa !15 %23 = load i32, ptr %0, align 4, !tbaa !16 %24 = add i32 %23, -130 %25 = icmp ult i32 %24, 3 %26 = and i32 %4, 98304 %27 = icmp eq i32 %26, 98304 %28 = select i1 %25, i1 %27, i1 false %29 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 7 br i1 %28, label %30, label %39 30: ; preds = %20 %31 = load i32, ptr @e1000_nvm_flash_hw, align 4, !tbaa !5 store i32 %31, ptr %29, align 4, !tbaa !19 %32 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 5 store i32 2048, ptr %32, align 4, !tbaa !20 %33 = load i32, ptr @E1000_EECD_AUPDEN, align 4, !tbaa !5 %34 = xor i32 %33, -1 %35 = and i32 %4, %34 %36 = load i32, ptr @E1000_EECD, align 4, !tbaa !5 %37 = tail call i32 @E1000_WRITE_REG(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %35) #3 %38 = load i32, ptr %0, align 4, !tbaa !16 br label %50 39: ; preds = %20 %40 = load i32, ptr @e1000_nvm_eeprom_spi, align 4, !tbaa !5 store i32 %40, ptr %29, align 4, !tbaa !19 %41 = load i32, ptr @E1000_EECD_SIZE_EX_MASK, align 4, !tbaa !5 %42 = and i32 %41, %4 %43 = load i32, ptr @E1000_EECD_SIZE_EX_SHIFT, align 4, !tbaa !5 %44 = ashr i32 %42, %43 %45 = load i32, ptr @NVM_WORD_SIZE_BASE_SHIFT, align 4, !tbaa !5 %46 = add nsw i32 %44, %45 %47 = tail call i32 @llvm.smin.i32(i32 %46, i32 14) %48 = shl nuw nsw i32 1, %47 %49 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 5 store i32 %48, ptr %49, align 4, !tbaa !20 br label %50 50: ; preds = %39, %30 %51 = phi i32 [ %23, %39 ], [ %38, %30 ] %52 = and i32 %51, -2 %53 = icmp eq i32 %52, 130 %54 = load i32, ptr @e1000_put_hw_semaphore_82574, align 4 %55 = load i32, ptr @e1000_release_nvm_82571, align 4 %56 = select i1 %53, i32 %54, i32 %55 %57 = load i32, ptr @e1000_get_hw_semaphore_82574, align 4 %58 = load i32, ptr @e1000_acquire_nvm_82571, align 4 %59 = select i1 %53, i32 %57, i32 %58 %60 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 6, i32 6 store i32 %59, ptr %60, align 4 %61 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 6, i32 5 store i32 %56, ptr %61, align 4 %62 = load i32, ptr @e1000_read_nvm_eerd, align 4, !tbaa !5 %63 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 6 %64 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 6, i32 4 store i32 %62, ptr %64, align 4, !tbaa !21 %65 = load i32, ptr @e1000_update_nvm_checksum_82571, align 4, !tbaa !5 %66 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 6, i32 3 store i32 %65, ptr %66, align 4, !tbaa !22 %67 = load i32, ptr @e1000_validate_nvm_checksum_82571, align 4, !tbaa !5 %68 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 6, i32 2 store i32 %67, ptr %68, align 4, !tbaa !23 %69 = load i32, ptr @e1000_valid_led_default_82571, align 4, !tbaa !5 %70 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1, i32 6, i32 1 store i32 %69, ptr %70, align 4, !tbaa !24 %71 = load i32, ptr @e1000_write_nvm_82571, align 4, !tbaa !5 store i32 %71, ptr %63, align 4, !tbaa !25 %72 = load i32, ptr @E1000_SUCCESS, align 4, !tbaa !5 ret i32 %72 } declare i32 @E1000_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1 declare i32 @E1000_WRITE_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"e1000_nvm_info", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !11, i64 24, !6, i64 52} !11 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24} !12 = !{!10, !6, i64 4} !13 = !{!10, !6, i64 8} !14 = !{!10, !6, i64 12} !15 = !{!10, !6, i64 16} !16 = !{!17, !6, i64 0} !17 = !{!"e1000_hw", !18, i64 0, !10, i64 4} !18 = !{!"TYPE_3__", !6, i64 0} !19 = !{!10, !6, i64 52} !20 = !{!10, !6, i64 20} !21 = !{!10, !6, i64 40} !22 = !{!10, !6, i64 36} !23 = !{!10, !6, i64 32} !24 = !{!10, !6, i64 28} !25 = !{!10, !6, i64 24}
; ModuleID = 'AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82571.c_e1000_init_nvm_params_82571.c' source_filename = "AnghaBench/freebsd/sys/dev/e1000/extr_e1000_82571.c_e1000_init_nvm_params_82571.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E1000_EECD = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"e1000_init_nvm_params_82571\00", align 1 @E1000_EECD_ADDR_BITS = common local_unnamed_addr global i32 0, align 4 @e1000_nvm_flash_hw = common local_unnamed_addr global i32 0, align 4 @E1000_EECD_AUPDEN = common local_unnamed_addr global i32 0, align 4 @e1000_nvm_eeprom_spi = common local_unnamed_addr global i32 0, align 4 @E1000_EECD_SIZE_EX_MASK = common local_unnamed_addr global i32 0, align 4 @E1000_EECD_SIZE_EX_SHIFT = common local_unnamed_addr global i32 0, align 4 @NVM_WORD_SIZE_BASE_SHIFT = common local_unnamed_addr global i32 0, align 4 @e1000_get_hw_semaphore_82574 = common local_unnamed_addr global i32 0, align 4 @e1000_put_hw_semaphore_82574 = common local_unnamed_addr global i32 0, align 4 @e1000_acquire_nvm_82571 = common local_unnamed_addr global i32 0, align 4 @e1000_release_nvm_82571 = common local_unnamed_addr global i32 0, align 4 @e1000_read_nvm_eerd = common local_unnamed_addr global i32 0, align 4 @e1000_update_nvm_checksum_82571 = common local_unnamed_addr global i32 0, align 4 @e1000_validate_nvm_checksum_82571 = common local_unnamed_addr global i32 0, align 4 @e1000_valid_led_default_82571 = common local_unnamed_addr global i32 0, align 4 @e1000_write_nvm_82571 = common local_unnamed_addr global i32 0, align 4 @E1000_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @e1000_init_nvm_params_82571], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @e1000_init_nvm_params_82571(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr @E1000_EECD, align 4, !tbaa !6 %4 = tail call i32 @E1000_READ_REG(ptr noundef %0, i32 noundef %3) #3 %5 = tail call i32 @DEBUGFUNC(ptr noundef nonnull @.str) #3 store <2 x i32> <i32 8, i32 1>, ptr %2, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 12 %7 = load i32, ptr %6, align 4, !tbaa !10 switch i32 %7, label %12 [ i32 129, label %8 i32 128, label %10 ] 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 16 store i32 32, ptr %9, align 4, !tbaa !13 br label %19 10: ; preds = %1 %11 = getelementptr inbounds i8, ptr %0, i64 16 store i32 8, ptr %11, align 4, !tbaa !13 br label %19 12: ; preds = %1 %13 = load i32, ptr @E1000_EECD_ADDR_BITS, align 4, !tbaa !6 %14 = and i32 %13, %4 %15 = icmp eq i32 %14, 0 %16 = select i1 %15, i32 8, i32 32 %17 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %16, ptr %17, align 4, !tbaa !13 %18 = select i1 %15, i32 8, i32 16 br label %19 19: ; preds = %12, %10, %8 %20 = phi i32 [ %18, %12 ], [ 8, %10 ], [ 16, %8 ] %21 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %20, ptr %21, align 4, !tbaa !14 %22 = load i32, ptr %0, align 4, !tbaa !15 %23 = add i32 %22, -130 %24 = icmp ult i32 %23, 3 %25 = and i32 %4, 98304 %26 = icmp eq i32 %25, 98304 %27 = select i1 %24, i1 %26, i1 false %28 = getelementptr inbounds i8, ptr %0, i64 56 br i1 %27, label %29, label %38 29: ; preds = %19 %30 = load i32, ptr @e1000_nvm_flash_hw, align 4, !tbaa !6 store i32 %30, ptr %28, align 4, !tbaa !18 %31 = getelementptr inbounds i8, ptr %0, i64 24 store i32 2048, ptr %31, align 4, !tbaa !19 %32 = load i32, ptr @E1000_EECD_AUPDEN, align 4, !tbaa !6 %33 = xor i32 %32, -1 %34 = and i32 %4, %33 %35 = load i32, ptr @E1000_EECD, align 4, !tbaa !6 %36 = tail call i32 @E1000_WRITE_REG(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %34) #3 %37 = load i32, ptr %0, align 4, !tbaa !15 br label %49 38: ; preds = %19 %39 = load i32, ptr @e1000_nvm_eeprom_spi, align 4, !tbaa !6 store i32 %39, ptr %28, align 4, !tbaa !18 %40 = load i32, ptr @E1000_EECD_SIZE_EX_MASK, align 4, !tbaa !6 %41 = and i32 %40, %4 %42 = load i32, ptr @E1000_EECD_SIZE_EX_SHIFT, align 4, !tbaa !6 %43 = ashr i32 %41, %42 %44 = load i32, ptr @NVM_WORD_SIZE_BASE_SHIFT, align 4, !tbaa !6 %45 = add nsw i32 %43, %44 %46 = tail call i32 @llvm.smin.i32(i32 %45, i32 14) %47 = shl nuw nsw i32 1, %46 %48 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %47, ptr %48, align 4, !tbaa !19 br label %49 49: ; preds = %38, %29 %50 = phi i32 [ %22, %38 ], [ %37, %29 ] %51 = and i32 %50, -2 %52 = icmp eq i32 %51, 130 %53 = load i32, ptr @e1000_put_hw_semaphore_82574, align 4 %54 = load i32, ptr @e1000_release_nvm_82571, align 4 %55 = select i1 %52, i32 %53, i32 %54 %56 = load i32, ptr @e1000_get_hw_semaphore_82574, align 4 %57 = load i32, ptr @e1000_acquire_nvm_82571, align 4 %58 = select i1 %52, i32 %56, i32 %57 %59 = getelementptr inbounds i8, ptr %0, i64 52 store i32 %58, ptr %59, align 4 %60 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %55, ptr %60, align 4 %61 = load i32, ptr @e1000_read_nvm_eerd, align 4, !tbaa !6 %62 = getelementptr inbounds i8, ptr %0, i64 28 %63 = getelementptr inbounds i8, ptr %0, i64 44 store i32 %61, ptr %63, align 4, !tbaa !20 %64 = load i32, ptr @e1000_update_nvm_checksum_82571, align 4, !tbaa !6 %65 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %64, ptr %65, align 4, !tbaa !21 %66 = load i32, ptr @e1000_validate_nvm_checksum_82571, align 4, !tbaa !6 %67 = getelementptr inbounds i8, ptr %0, i64 36 store i32 %66, ptr %67, align 4, !tbaa !22 %68 = load i32, ptr @e1000_valid_led_default_82571, align 4, !tbaa !6 %69 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %68, ptr %69, align 4, !tbaa !23 %70 = load i32, ptr @e1000_write_nvm_82571, align 4, !tbaa !6 store i32 %70, ptr %62, align 4, !tbaa !24 %71 = load i32, ptr @E1000_SUCCESS, align 4, !tbaa !6 ret i32 %71 } declare i32 @E1000_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DEBUGFUNC(ptr noundef) local_unnamed_addr #1 declare i32 @E1000_WRITE_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"e1000_nvm_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !12, i64 24, !7, i64 52} !12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24} !13 = !{!11, !7, i64 12} !14 = !{!11, !7, i64 16} !15 = !{!16, !7, i64 0} !16 = !{!"e1000_hw", !17, i64 0, !11, i64 4} !17 = !{!"TYPE_3__", !7, i64 0} !18 = !{!11, !7, i64 52} !19 = !{!11, !7, i64 20} !20 = !{!11, !7, i64 40} !21 = !{!11, !7, i64 36} !22 = !{!11, !7, i64 32} !23 = !{!11, !7, i64 28} !24 = !{!11, !7, i64 24}
freebsd_sys_dev_e1000_extr_e1000_82571.c_e1000_init_nvm_params_82571
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-cache-policy-smq.c_l_head.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-cache-policy-smq.c_l_head.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @l_head], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @l_head(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = tail call ptr @to_entry(ptr noundef %0, i32 noundef %3) #2 ret ptr %4 } declare ptr @to_entry(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 = !{!"ilist", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-cache-policy-smq.c_l_head.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-cache-policy-smq.c_l_head.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 @l_head], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @l_head(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = tail call ptr @to_entry(ptr noundef %0, i32 noundef %3) #2 ret ptr %4 } declare ptr @to_entry(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 = !{!"ilist", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_md_extr_dm-cache-policy-smq.c_l_head
; ModuleID = 'AnghaBench/linux/arch/hexagon/kernel/extr_irq_cpu.c_eoi_irq.c' source_filename = "AnghaBench/linux/arch/hexagon/kernel/extr_irq_cpu.c_eoi_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @eoi_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @eoi_irq(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @__vmintop_globen(i64 noundef %2) #2 ret void } declare i32 @__vmintop_globen(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 = !{!"irq_data", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/hexagon/kernel/extr_irq_cpu.c_eoi_irq.c' source_filename = "AnghaBench/linux/arch/hexagon/kernel/extr_irq_cpu.c_eoi_irq.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 @eoi_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @eoi_irq(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @__vmintop_globen(i64 noundef %2) #2 ret void } declare i32 @__vmintop_globen(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 = !{!"irq_data", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_arch_hexagon_kernel_extr_irq_cpu.c_eoi_irq