IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_vnode_check_setowner.c' source_filename = "AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_vnode_check_setowner.c" target datalayout = "e-m:e-p270:32:32-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 @stub_vnode_check_setowner], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @stub_vnode_check_setowner(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i32 %3, i32 %4) #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/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_vnode_check_setowner.c' source_filename = "AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_vnode_check_setowner.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 @stub_vnode_check_setowner], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @stub_vnode_check_setowner(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, i32 %3, i32 %4) #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)"}
freebsd_sys_security_mac_stub_extr_mac_stub.c_stub_vnode_check_setowner
; ModuleID = 'AnghaBench/git/extr_config.c_git_config_from_mem.c' source_filename = "AnghaBench/git/extr_config.c_git_config_from_mem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.config_source = type { i32, ptr, i32, i32, i32, i32, ptr, %struct.TYPE_3__ } %struct.TYPE_3__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr, i64, i64 } @CONFIG_ERROR_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @config_buf_fgetc = dso_local local_unnamed_addr global i32 0, align 4 @config_buf_ungetc = dso_local local_unnamed_addr global i32 0, align 4 @config_buf_ftell = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @git_config_from_mem(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 { %8 = alloca %struct.config_source, align 8 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #3 %9 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 7 store ptr %3, ptr %9, align 8, !tbaa !5 %10 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 7, i32 0, i32 1 store i64 %4, ptr %10, align 8, !tbaa !14 %11 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 7, i32 0, i32 2 store i64 0, ptr %11, align 8, !tbaa !15 store i32 %1, ptr %8, align 8, !tbaa !16 %12 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 1 store ptr %2, ptr %12, align 8, !tbaa !17 %13 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 6 store ptr null, ptr %13, align 8, !tbaa !18 %14 = load i32, ptr @CONFIG_ERROR_ERROR, align 4, !tbaa !19 %15 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 5 store i32 %14, ptr %15, align 4, !tbaa !20 %16 = load i32, ptr @config_buf_fgetc, align 4, !tbaa !19 %17 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 4 store i32 %16, ptr %17, align 8, !tbaa !21 %18 = load i32, ptr @config_buf_ungetc, align 4, !tbaa !19 %19 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 3 store i32 %18, ptr %19, align 4, !tbaa !22 %20 = load i32, ptr @config_buf_ftell, align 4, !tbaa !19 %21 = getelementptr inbounds %struct.config_source, ptr %8, i64 0, i32 2 store i32 %20, ptr %21, align 8, !tbaa !23 %22 = call i32 @do_config_from(ptr noundef nonnull %8, i32 noundef %0, ptr noundef %5, ptr noundef %6) #3 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #3 ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @do_config_from(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 40} !6 = !{!"config_source", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !10, i64 32, !11, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"TYPE_4__", !10, i64 0, !13, i64 8, !13, i64 16} !13 = !{!"long", !8, i64 0} !14 = !{!6, !13, i64 48} !15 = !{!6, !13, i64 56} !16 = !{!6, !7, i64 0} !17 = !{!6, !10, i64 8} !18 = !{!6, !10, i64 32} !19 = !{!7, !7, i64 0} !20 = !{!6, !7, i64 28} !21 = !{!6, !7, i64 24} !22 = !{!6, !7, i64 20} !23 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/git/extr_config.c_git_config_from_mem.c' source_filename = "AnghaBench/git/extr_config.c_git_config_from_mem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.config_source = type { i32, ptr, i32, i32, i32, i32, ptr, %struct.TYPE_3__ } %struct.TYPE_3__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr, i64, i64 } @CONFIG_ERROR_ERROR = common local_unnamed_addr global i32 0, align 4 @config_buf_fgetc = common local_unnamed_addr global i32 0, align 4 @config_buf_ungetc = common local_unnamed_addr global i32 0, align 4 @config_buf_ftell = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @git_config_from_mem(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 { %8 = alloca %struct.config_source, align 8 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #3 %9 = getelementptr inbounds i8, ptr %8, i64 40 store ptr %3, ptr %9, align 8, !tbaa !6 %10 = getelementptr inbounds i8, ptr %8, i64 48 store i64 %4, ptr %10, align 8, !tbaa !15 %11 = getelementptr inbounds i8, ptr %8, i64 56 store i64 0, ptr %11, align 8, !tbaa !16 store i32 %1, ptr %8, align 8, !tbaa !17 %12 = getelementptr inbounds i8, ptr %8, i64 8 store ptr %2, ptr %12, align 8, !tbaa !18 %13 = getelementptr inbounds i8, ptr %8, i64 32 store ptr null, ptr %13, align 8, !tbaa !19 %14 = load i32, ptr @CONFIG_ERROR_ERROR, align 4, !tbaa !20 %15 = getelementptr inbounds i8, ptr %8, i64 28 store i32 %14, ptr %15, align 4, !tbaa !21 %16 = load i32, ptr @config_buf_fgetc, align 4, !tbaa !20 %17 = getelementptr inbounds i8, ptr %8, i64 24 store i32 %16, ptr %17, align 8, !tbaa !22 %18 = load i32, ptr @config_buf_ungetc, align 4, !tbaa !20 %19 = getelementptr inbounds i8, ptr %8, i64 20 store i32 %18, ptr %19, align 4, !tbaa !23 %20 = load i32, ptr @config_buf_ftell, align 4, !tbaa !20 %21 = getelementptr inbounds i8, ptr %8, i64 16 store i32 %20, ptr %21, align 8, !tbaa !24 %22 = call i32 @do_config_from(ptr noundef nonnull %8, i32 noundef %0, ptr noundef %5, ptr noundef %6) #3 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #3 ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @do_config_from(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 40} !7 = !{!"config_source", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !11, i64 32, !12, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"TYPE_4__", !11, i64 0, !14, i64 8, !14, i64 16} !14 = !{!"long", !9, i64 0} !15 = !{!7, !14, i64 48} !16 = !{!7, !14, i64 56} !17 = !{!7, !8, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!7, !11, i64 32} !20 = !{!8, !8, i64 0} !21 = !{!7, !8, i64 28} !22 = !{!7, !8, i64 24} !23 = !{!7, !8, i64 20} !24 = !{!7, !8, i64 16}
git_extr_config.c_git_config_from_mem
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_orbis_ctx.c_orbis_ctx_init.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_orbis_ctx.c_orbis_ctx_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" @nx_ctx_ptr = dso_local local_unnamed_addr global ptr null, align 8 @ATTR_ORBISGL_HEIGHT = dso_local local_unnamed_addr global i32 0, align 4 @ATTR_ORBISGL_WIDTH = dso_local local_unnamed_addr global i32 0, align 4 @EGL_DEFAULT_DISPLAY = dso_local local_unnamed_addr global i32 0, align 4 @SCE_PGL_FLAGS_USE_COMPOSITE_EXT = dso_local local_unnamed_addr global i32 0, align 4 @SCE_PGL_FLAGS_USE_FLEXIBLE_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @orbis_ctx_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @orbis_ctx_init(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @calloc(i32 noundef 1, i32 noundef 1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = inttoptr i64 %3 to ptr store ptr %6, ptr @nx_ctx_ptr, align 8, !tbaa !5 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] ret ptr %8 } declare i64 @calloc(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_orbis_ctx.c_orbis_ctx_init.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_orbis_ctx.c_orbis_ctx_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @nx_ctx_ptr = common local_unnamed_addr global ptr null, align 8 @ATTR_ORBISGL_HEIGHT = common local_unnamed_addr global i32 0, align 4 @ATTR_ORBISGL_WIDTH = common local_unnamed_addr global i32 0, align 4 @EGL_DEFAULT_DISPLAY = common local_unnamed_addr global i32 0, align 4 @SCE_PGL_FLAGS_USE_COMPOSITE_EXT = common local_unnamed_addr global i32 0, align 4 @SCE_PGL_FLAGS_USE_FLEXIBLE_MEMORY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @orbis_ctx_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @orbis_ctx_init(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @calloc(i32 noundef 1, i32 noundef 1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = inttoptr i64 %3 to ptr store ptr %6, ptr @nx_ctx_ptr, align 8, !tbaa !6 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] ret ptr %8 } declare i64 @calloc(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_gfx_drivers_context_extr_orbis_ctx.c_orbis_ctx_init
; ModuleID = 'AnghaBench/linux/arch/x86/entry/vdso/extr_vma.c_vdso_fix_landing.c' source_filename = "AnghaBench/linux/arch/x86/entry/vdso/extr_vma.c_vdso_fix_landing.c" target datalayout = "e-m:e-p270:32:32-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.vdso_image = type { i64 } @current = dso_local local_unnamed_addr global ptr null, align 8 @vdso_image_32 = dso_local local_unnamed_addr constant %struct.vdso_image zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @vdso_fix_landing], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @vdso_fix_landing(ptr nocapture readnone %0, ptr nocapture readnone %1) #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/linux/arch/x86/entry/vdso/extr_vma.c_vdso_fix_landing.c' source_filename = "AnghaBench/linux/arch/x86/entry/vdso/extr_vma.c_vdso_fix_landing.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vdso_image = type { i64 } @current = common local_unnamed_addr global ptr null, align 8 @vdso_image_32 = common local_unnamed_addr global %struct.vdso_image zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @vdso_fix_landing], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @vdso_fix_landing(ptr nocapture readnone %0, ptr nocapture readnone %1) #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)"}
linux_arch_x86_entry_vdso_extr_vma.c_vdso_fix_landing
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_multixact.c_GetNewMultiXactId.c' source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_multixact.c_GetNewMultiXactId.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, ptr, i64, i64, i64, i64 } @DEBUG2 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"GetNew: for %d xids\00", align 1 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"cannot assign MultiXactIds during recovery\00", align 1 @MultiXactGenLock = dso_local local_unnamed_addr global i32 0, align 4 @LW_EXCLUSIVE = dso_local local_unnamed_addr global i32 0, align 4 @MultiXactState = dso_local local_unnamed_addr global ptr null, align 8 @FirstMultiXactId = dso_local local_unnamed_addr global i32 0, align 4 @IsUnderPostmaster = dso_local local_unnamed_addr global i64 0, align 8 @PMSIGNAL_START_AUTOVAC_LAUNCHER = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_PROGRAM_LIMIT_EXCEEDED = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [113 x i8] c"database is not accepting commands that generate new MultiXactIds to avoid wraparound data loss in database \22%s\22\00", align 1 @.str.3 = private unnamed_addr constant [152 x i8] c"Execute a database-wide VACUUM in that database.\0AYou might also need to commit or roll back old prepared transactions, or drop stale replication slots.\00", align 1 @.str.4 = private unnamed_addr constant [120 x i8] c"database is not accepting commands that generate new MultiXactIds to avoid wraparound data loss in database with OID %u\00", align 1 @WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [66 x i8] c"database \22%s\22 must be vacuumed before %u more MultiXactId is used\00", align 1 @.str.6 = private unnamed_addr constant [68 x i8] c"database \22%s\22 must be vacuumed before %u more MultiXactIds are used\00", align 1 @.str.7 = private unnamed_addr constant [73 x i8] c"database with OID %u must be vacuumed before %u more MultiXactId is used\00", align 1 @.str.8 = private unnamed_addr constant [75 x i8] c"database with OID %u must be vacuumed before %u more MultiXactIds are used\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c"multixact \22members\22 limit exceeded\00", align 1 @.str.10 = private unnamed_addr constant [109 x i8] c"This command would create a multixact with %u members, but the remaining space is only enough for %u member.\00", align 1 @.str.11 = private unnamed_addr constant [110 x i8] c"This command would create a multixact with %u members, but the remaining space is only enough for %u members.\00", align 1 @.str.12 = private unnamed_addr constant [148 x i8] c"Execute a database-wide VACUUM in database with OID %u with reduced vacuum_multixact_freeze_min_age and vacuum_multixact_freeze_table_age settings.\00", align 1 @MULTIXACT_MEMBER_SAFE_THRESHOLD = dso_local local_unnamed_addr global i64 0, align 8 @SLRU_PAGES_PER_SEGMENT = dso_local local_unnamed_addr global i32 0, align 4 @MULTIXACT_MEMBERS_PER_PAGE = dso_local local_unnamed_addr global i32 0, align 4 @.str.13 = private unnamed_addr constant [78 x i8] c"database with OID %u must be vacuumed before %d more multixact member is used\00", align 1 @.str.14 = private unnamed_addr constant [80 x i8] c"database with OID %u must be vacuumed before %d more multixact members are used\00", align 1 @.str.15 = private unnamed_addr constant [141 x i8] c"Execute a database-wide VACUUM in that database with reduced vacuum_multixact_freeze_min_age and vacuum_multixact_freeze_table_age settings.\00", align 1 @.str.16 = private unnamed_addr constant [31 x i8] c"GetNew: returning %u offset %u\00", align 1 @OFFSET_WARN_SEGMENTS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @GetNewMultiXactId], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @GetNewMultiXactId(i32 noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @DEBUG2, align 4, !tbaa !5 %4 = tail call i32 @debug_elog3(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %0) #3 %5 = tail call i64 (...) @RecoveryInProgress() #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @ERROR, align 4, !tbaa !5 %9 = tail call i32 @elog(i32 noundef %8, ptr noundef nonnull @.str.1) #3 br label %10 10: ; preds = %7, %2 %11 = load i32, ptr @MultiXactGenLock, align 4, !tbaa !5 %12 = load i32, ptr @LW_EXCLUSIVE, align 4, !tbaa !5 %13 = tail call i32 @LWLockAcquire(i32 noundef %11, i32 noundef %12) #3 %14 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %15 = load i32, ptr %14, align 8, !tbaa !11 %16 = load i32, ptr @FirstMultiXactId, align 4, !tbaa !5 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %10 store i32 %16, ptr %14, align 8, !tbaa !11 br label %19 19: ; preds = %18, %10 %20 = phi i32 [ %16, %18 ], [ %15, %10 ] %21 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !14 %23 = tail call i32 @MultiXactIdPrecedes(i32 noundef %20, i32 noundef %22) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %90 25: ; preds = %19 %26 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 0, i32 2 %28 = load i32, ptr %27, align 8, !tbaa !15 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 0, i32 3 %30 = load i32, ptr %29, align 4, !tbaa !16 %31 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 0, i32 4 %32 = load i32, ptr %31, align 8, !tbaa !17 %33 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 0, i32 5 %34 = load ptr, ptr %33, align 8, !tbaa !18 %35 = load i32, ptr @MultiXactGenLock, align 4, !tbaa !5 %36 = tail call i32 @LWLockRelease(i32 noundef %35) #3 %37 = load i64, ptr @IsUnderPostmaster, align 8, !tbaa !19 %38 = icmp eq i64 %37, 0 br i1 %38, label %57, label %39 39: ; preds = %25 %40 = tail call i32 @MultiXactIdPrecedes(i32 noundef %20, i32 noundef %30) #3 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %57 42: ; preds = %39 %43 = tail call ptr @get_database_name(ptr noundef %34) #3 %44 = load i32, ptr @PMSIGNAL_START_AUTOVAC_LAUNCHER, align 4, !tbaa !5 %45 = tail call i32 @SendPostmasterSignal(i32 noundef %44) #3 %46 = icmp eq ptr %43, null %47 = load i32, ptr @ERROR, align 4, !tbaa !5 %48 = load i32, ptr @ERRCODE_PROGRAM_LIMIT_EXCEEDED, align 4, !tbaa !5 %49 = tail call i32 @errcode(i32 noundef %48) #3 br i1 %46, label %52, label %50 50: ; preds = %42 %51 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.2, ptr noundef nonnull %43) #3 br label %54 52: ; preds = %42 %53 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.4, ptr noundef %34) #3 br label %54 54: ; preds = %52, %50 %55 = tail call i32 (ptr, ...) @errhint(ptr noundef nonnull @.str.3) #3 %56 = tail call i32 @ereport(i32 noundef %47, i32 noundef %55) #3 br label %57 57: ; preds = %54, %39, %25 %58 = load i64, ptr @IsUnderPostmaster, align 8, !tbaa !19 %59 = icmp ne i64 %58, 0 %60 = and i32 %20, 65535 %61 = icmp eq i32 %60, 0 %62 = and i1 %61, %59 br i1 %62, label %63, label %66 63: ; preds = %57 %64 = load i32, ptr @PMSIGNAL_START_AUTOVAC_LAUNCHER, align 4, !tbaa !5 %65 = tail call i32 @SendPostmasterSignal(i32 noundef %64) #3 br label %66 66: ; preds = %63, %57 %67 = tail call i32 @MultiXactIdPrecedes(i32 noundef %20, i32 noundef %28) #3 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %82 69: ; preds = %66 %70 = tail call ptr @get_database_name(ptr noundef %34) #3 %71 = icmp eq ptr %70, null %72 = load i32, ptr @WARNING, align 4, !tbaa !5 %73 = sub nsw i32 %32, %20 %74 = sext i32 %73 to i64 br i1 %71, label %77, label %75 75: ; preds = %69 %76 = tail call i32 @errmsg_plural(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, i64 noundef %74, ptr noundef nonnull %70, i64 noundef %74) #3 br label %79 77: ; preds = %69 %78 = tail call i32 @errmsg_plural(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i64 noundef %74, ptr noundef %34, i64 noundef %74) #3 br label %79 79: ; preds = %77, %75 %80 = tail call i32 (ptr, ...) @errhint(ptr noundef nonnull @.str.3) #3 %81 = tail call i32 @ereport(i32 noundef %72, i32 noundef %80) #3 br label %82 82: ; preds = %79, %66 %83 = load i32, ptr @MultiXactGenLock, align 4, !tbaa !5 %84 = load i32, ptr @LW_EXCLUSIVE, align 4, !tbaa !5 %85 = tail call i32 @LWLockAcquire(i32 noundef %83, i32 noundef %84) #3 %86 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %87 = load i32, ptr %86, align 8, !tbaa !11 %88 = load i32, ptr @FirstMultiXactId, align 4, !tbaa !5 %89 = tail call i32 @llvm.smax.i32(i32 %87, i32 %88) br label %90 90: ; preds = %82, %19 %91 = phi i32 [ %20, %19 ], [ %89, %82 ] %92 = tail call i32 @ExtendMultiXactOffset(i32 noundef %91) #3 %93 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %94 = getelementptr inbounds %struct.TYPE_2__, ptr %93, i64 0, i32 6 %95 = load i64, ptr %94, align 8, !tbaa !20 %96 = icmp eq i64 %95, 0 %97 = tail call i64 @llvm.umax.i64(i64 %95, i64 1) %98 = zext i1 %96 to i32 %99 = add nsw i32 %98, %0 store i64 %97, ptr %1, align 8 %100 = getelementptr inbounds %struct.TYPE_2__, ptr %93, i64 0, i32 9 %101 = load i64, ptr %100, align 8, !tbaa !21 %102 = icmp eq i64 %101, 0 br i1 %102, label %126, label %103 103: ; preds = %90 %104 = getelementptr inbounds %struct.TYPE_2__, ptr %93, i64 0, i32 7 %105 = load i64, ptr %104, align 8, !tbaa !22 %106 = tail call i64 @MultiXactOffsetWouldWrap(i64 noundef %105, i64 noundef %95, i32 noundef %99) #3 %107 = icmp eq i64 %106, 0 br i1 %107, label %126, label %108 108: ; preds = %103 %109 = load i32, ptr @PMSIGNAL_START_AUTOVAC_LAUNCHER, align 4, !tbaa !5 %110 = tail call i32 @SendPostmasterSignal(i32 noundef %109) #3 %111 = load i32, ptr @ERROR, align 4, !tbaa !5 %112 = load i32, ptr @ERRCODE_PROGRAM_LIMIT_EXCEEDED, align 4, !tbaa !5 %113 = tail call i32 @errcode(i32 noundef %112) #3 %114 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.9) #3 %115 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %116 = getelementptr inbounds %struct.TYPE_2__, ptr %115, i64 0, i32 7 %117 = load i64, ptr %116, align 8, !tbaa !22 %118 = xor i64 %95, -1 %119 = add i64 %117, %118 %120 = tail call i32 @errdetail_plural(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, i64 noundef %119, i32 noundef %99, i64 noundef %119) #3 %121 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %122 = getelementptr inbounds %struct.TYPE_2__, ptr %121, i64 0, i32 5 %123 = load ptr, ptr %122, align 8, !tbaa !18 %124 = tail call i32 (ptr, ...) @errhint(ptr noundef nonnull @.str.12, ptr noundef %123) #3 %125 = tail call i32 @ereport(i32 noundef %111, i32 noundef %124) #3 br label %126 126: ; preds = %108, %103, %90 %127 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %128 = getelementptr inbounds %struct.TYPE_2__, ptr %127, i64 0, i32 9 %129 = load i64, ptr %128, align 8, !tbaa !21 %130 = icmp eq i64 %129, 0 br i1 %130, label %139, label %131 131: ; preds = %126 %132 = getelementptr inbounds %struct.TYPE_2__, ptr %127, i64 0, i32 6 %133 = load i64, ptr %132, align 8, !tbaa !20 %134 = getelementptr inbounds %struct.TYPE_2__, ptr %127, i64 0, i32 8 %135 = load i64, ptr %134, align 8, !tbaa !23 %136 = sub nsw i64 %133, %135 %137 = load i64, ptr @MULTIXACT_MEMBER_SAFE_THRESHOLD, align 8, !tbaa !19 %138 = icmp sgt i64 %136, %137 br i1 %138, label %139, label %152 139: ; preds = %131, %126 %140 = tail call i32 @MXOffsetToMemberPage(i64 noundef %95) #3 %141 = load i32, ptr @SLRU_PAGES_PER_SEGMENT, align 4, !tbaa !5 %142 = sdiv i32 %140, %141 %143 = sext i32 %99 to i64 %144 = add nsw i64 %95, %143 %145 = tail call i32 @MXOffsetToMemberPage(i64 noundef %144) #3 %146 = load i32, ptr @SLRU_PAGES_PER_SEGMENT, align 4, !tbaa !5 %147 = sdiv i32 %145, %146 %148 = icmp eq i32 %142, %147 br i1 %148, label %152, label %149 149: ; preds = %139 %150 = load i32, ptr @PMSIGNAL_START_AUTOVAC_LAUNCHER, align 4, !tbaa !5 %151 = tail call i32 @SendPostmasterSignal(i32 noundef %150) #3 br label %152 152: ; preds = %139, %149, %131 %153 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %154 = getelementptr inbounds %struct.TYPE_2__, ptr %153, i64 0, i32 9 %155 = load i64, ptr %154, align 8, !tbaa !21 %156 = icmp eq i64 %155, 0 br i1 %156, label %182, label %157 157: ; preds = %152 %158 = getelementptr inbounds %struct.TYPE_2__, ptr %153, i64 0, i32 7 %159 = load i64, ptr %158, align 8, !tbaa !22 %160 = load i32, ptr @MULTIXACT_MEMBERS_PER_PAGE, align 4, !tbaa !5 %161 = load i32, ptr @SLRU_PAGES_PER_SEGMENT, align 4, !tbaa !5 %162 = mul i32 %160, 20 %163 = mul i32 %162, %161 %164 = add nsw i32 %163, %99 %165 = tail call i64 @MultiXactOffsetWouldWrap(i64 noundef %159, i64 noundef %95, i32 noundef %164) #3 %166 = icmp eq i64 %165, 0 br i1 %166, label %182, label %167 167: ; preds = %157 %168 = load i32, ptr @WARNING, align 4, !tbaa !5 %169 = load i32, ptr @ERRCODE_PROGRAM_LIMIT_EXCEEDED, align 4, !tbaa !5 %170 = tail call i32 @errcode(i32 noundef %169) #3 %171 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %172 = getelementptr inbounds %struct.TYPE_2__, ptr %171, i64 0, i32 7 %173 = load i64, ptr %172, align 8, !tbaa !22 %174 = sub nsw i64 %173, %95 %175 = sext i32 %99 to i64 %176 = add nsw i64 %174, %175 %177 = getelementptr inbounds %struct.TYPE_2__, ptr %171, i64 0, i32 5 %178 = load ptr, ptr %177, align 8, !tbaa !18 %179 = tail call i32 @errmsg_plural(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, i64 noundef %176, ptr noundef %178, i64 noundef %176) #3 %180 = tail call i32 (ptr, ...) @errhint(ptr noundef nonnull @.str.15) #3 %181 = tail call i32 @ereport(i32 noundef %168, i32 noundef %180) #3 br label %182 182: ; preds = %167, %157, %152 %183 = tail call i32 @ExtendMultiXactMember(i64 noundef %95, i32 noundef %99) #3 %184 = tail call i32 (...) @START_CRIT_SECTION() #3 %185 = load ptr, ptr @MultiXactState, align 8, !tbaa !9 %186 = load i32, ptr %185, align 8, !tbaa !11 %187 = add nsw i32 %186, 1 store i32 %187, ptr %185, align 8, !tbaa !11 %188 = sext i32 %99 to i64 %189 = getelementptr inbounds %struct.TYPE_2__, ptr %185, i64 0, i32 6 %190 = load i64, ptr %189, align 8, !tbaa !20 %191 = add nsw i64 %190, %188 store i64 %191, ptr %189, align 8, !tbaa !20 %192 = load i32, ptr @MultiXactGenLock, align 4, !tbaa !5 %193 = tail call i32 @LWLockRelease(i32 noundef %192) #3 %194 = load i32, ptr @DEBUG2, align 4, !tbaa !5 %195 = load i64, ptr %1, align 8, !tbaa !19 %196 = tail call i32 @debug_elog4(i32 noundef %194, ptr noundef nonnull @.str.16, i32 noundef %91, i64 noundef %195) #3 ret i32 %91 } declare i32 @debug_elog3(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @RecoveryInProgress(...) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @LWLockAcquire(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MultiXactIdPrecedes(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LWLockRelease(i32 noundef) local_unnamed_addr #1 declare ptr @get_database_name(ptr noundef) local_unnamed_addr #1 declare i32 @SendPostmasterSignal(i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, ...) local_unnamed_addr #1 declare i32 @errhint(ptr noundef, ...) local_unnamed_addr #1 declare i32 @errmsg_plural(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ExtendMultiXactOffset(i32 noundef) local_unnamed_addr #1 declare i64 @MultiXactOffsetWouldWrap(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errdetail_plural(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @MXOffsetToMemberPage(i64 noundef) local_unnamed_addr #1 declare i32 @ExtendMultiXactMember(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @START_CRIT_SECTION(...) local_unnamed_addr #1 declare i32 @debug_elog4(i32 noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.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 = !{!12, !6, i64 0} !12 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !10, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56} !13 = !{!"long", !7, i64 0} !14 = !{!12, !6, i64 4} !15 = !{!12, !6, i64 8} !16 = !{!12, !6, i64 12} !17 = !{!12, !6, i64 16} !18 = !{!12, !10, i64 24} !19 = !{!13, !13, i64 0} !20 = !{!12, !13, i64 32} !21 = !{!12, !13, i64 56} !22 = !{!12, !13, i64 40} !23 = !{!12, !13, i64 48}
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_multixact.c_GetNewMultiXactId.c' source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_multixact.c_GetNewMultiXactId.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DEBUG2 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"GetNew: for %d xids\00", align 1 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"cannot assign MultiXactIds during recovery\00", align 1 @MultiXactGenLock = common local_unnamed_addr global i32 0, align 4 @LW_EXCLUSIVE = common local_unnamed_addr global i32 0, align 4 @MultiXactState = common local_unnamed_addr global ptr null, align 8 @FirstMultiXactId = common local_unnamed_addr global i32 0, align 4 @IsUnderPostmaster = common local_unnamed_addr global i64 0, align 8 @PMSIGNAL_START_AUTOVAC_LAUNCHER = common local_unnamed_addr global i32 0, align 4 @ERRCODE_PROGRAM_LIMIT_EXCEEDED = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [113 x i8] c"database is not accepting commands that generate new MultiXactIds to avoid wraparound data loss in database \22%s\22\00", align 1 @.str.3 = private unnamed_addr constant [152 x i8] c"Execute a database-wide VACUUM in that database.\0AYou might also need to commit or roll back old prepared transactions, or drop stale replication slots.\00", align 1 @.str.4 = private unnamed_addr constant [120 x i8] c"database is not accepting commands that generate new MultiXactIds to avoid wraparound data loss in database with OID %u\00", align 1 @WARNING = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [66 x i8] c"database \22%s\22 must be vacuumed before %u more MultiXactId is used\00", align 1 @.str.6 = private unnamed_addr constant [68 x i8] c"database \22%s\22 must be vacuumed before %u more MultiXactIds are used\00", align 1 @.str.7 = private unnamed_addr constant [73 x i8] c"database with OID %u must be vacuumed before %u more MultiXactId is used\00", align 1 @.str.8 = private unnamed_addr constant [75 x i8] c"database with OID %u must be vacuumed before %u more MultiXactIds are used\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c"multixact \22members\22 limit exceeded\00", align 1 @.str.10 = private unnamed_addr constant [109 x i8] c"This command would create a multixact with %u members, but the remaining space is only enough for %u member.\00", align 1 @.str.11 = private unnamed_addr constant [110 x i8] c"This command would create a multixact with %u members, but the remaining space is only enough for %u members.\00", align 1 @.str.12 = private unnamed_addr constant [148 x i8] c"Execute a database-wide VACUUM in database with OID %u with reduced vacuum_multixact_freeze_min_age and vacuum_multixact_freeze_table_age settings.\00", align 1 @MULTIXACT_MEMBER_SAFE_THRESHOLD = common local_unnamed_addr global i64 0, align 8 @SLRU_PAGES_PER_SEGMENT = common local_unnamed_addr global i32 0, align 4 @MULTIXACT_MEMBERS_PER_PAGE = common local_unnamed_addr global i32 0, align 4 @.str.13 = private unnamed_addr constant [78 x i8] c"database with OID %u must be vacuumed before %d more multixact member is used\00", align 1 @.str.14 = private unnamed_addr constant [80 x i8] c"database with OID %u must be vacuumed before %d more multixact members are used\00", align 1 @.str.15 = private unnamed_addr constant [141 x i8] c"Execute a database-wide VACUUM in that database with reduced vacuum_multixact_freeze_min_age and vacuum_multixact_freeze_table_age settings.\00", align 1 @.str.16 = private unnamed_addr constant [31 x i8] c"GetNew: returning %u offset %u\00", align 1 @OFFSET_WARN_SEGMENTS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @GetNewMultiXactId], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @GetNewMultiXactId(i32 noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr @DEBUG2, align 4, !tbaa !6 %4 = tail call i32 @debug_elog3(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %0) #3 %5 = tail call i64 @RecoveryInProgress() #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @ERROR, align 4, !tbaa !6 %9 = tail call i32 @elog(i32 noundef %8, ptr noundef nonnull @.str.1) #3 br label %10 10: ; preds = %7, %2 %11 = load i32, ptr @MultiXactGenLock, align 4, !tbaa !6 %12 = load i32, ptr @LW_EXCLUSIVE, align 4, !tbaa !6 %13 = tail call i32 @LWLockAcquire(i32 noundef %11, i32 noundef %12) #3 %14 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = load i32, ptr @FirstMultiXactId, align 4, !tbaa !6 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %10 store i32 %16, ptr %14, align 8, !tbaa !12 br label %19 19: ; preds = %18, %10 %20 = phi i32 [ %16, %18 ], [ %15, %10 ] %21 = getelementptr inbounds i8, ptr %14, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !15 %23 = tail call i32 @MultiXactIdPrecedes(i32 noundef %20, i32 noundef %22) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %90 25: ; preds = %19 %26 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %27 = getelementptr inbounds i8, ptr %26, i64 8 %28 = load i32, ptr %27, align 8, !tbaa !16 %29 = getelementptr inbounds i8, ptr %26, i64 12 %30 = load i32, ptr %29, align 4, !tbaa !17 %31 = getelementptr inbounds i8, ptr %26, i64 16 %32 = load i32, ptr %31, align 8, !tbaa !18 %33 = getelementptr inbounds i8, ptr %26, i64 24 %34 = load ptr, ptr %33, align 8, !tbaa !19 %35 = load i32, ptr @MultiXactGenLock, align 4, !tbaa !6 %36 = tail call i32 @LWLockRelease(i32 noundef %35) #3 %37 = load i64, ptr @IsUnderPostmaster, align 8, !tbaa !20 %38 = icmp eq i64 %37, 0 br i1 %38, label %57, label %39 39: ; preds = %25 %40 = tail call i32 @MultiXactIdPrecedes(i32 noundef %20, i32 noundef %30) #3 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %57 42: ; preds = %39 %43 = tail call ptr @get_database_name(ptr noundef %34) #3 %44 = load i32, ptr @PMSIGNAL_START_AUTOVAC_LAUNCHER, align 4, !tbaa !6 %45 = tail call i32 @SendPostmasterSignal(i32 noundef %44) #3 %46 = icmp eq ptr %43, null %47 = load i32, ptr @ERROR, align 4, !tbaa !6 %48 = load i32, ptr @ERRCODE_PROGRAM_LIMIT_EXCEEDED, align 4, !tbaa !6 %49 = tail call i32 @errcode(i32 noundef %48) #3 br i1 %46, label %52, label %50 50: ; preds = %42 %51 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.2, ptr noundef nonnull %43) #3 br label %54 52: ; preds = %42 %53 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.4, ptr noundef %34) #3 br label %54 54: ; preds = %52, %50 %55 = tail call i32 (ptr, ...) @errhint(ptr noundef nonnull @.str.3) #3 %56 = tail call i32 @ereport(i32 noundef %47, i32 noundef %55) #3 br label %57 57: ; preds = %54, %39, %25 %58 = load i64, ptr @IsUnderPostmaster, align 8, !tbaa !20 %59 = icmp ne i64 %58, 0 %60 = and i32 %20, 65535 %61 = icmp eq i32 %60, 0 %62 = and i1 %61, %59 br i1 %62, label %63, label %66 63: ; preds = %57 %64 = load i32, ptr @PMSIGNAL_START_AUTOVAC_LAUNCHER, align 4, !tbaa !6 %65 = tail call i32 @SendPostmasterSignal(i32 noundef %64) #3 br label %66 66: ; preds = %63, %57 %67 = tail call i32 @MultiXactIdPrecedes(i32 noundef %20, i32 noundef %28) #3 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %82 69: ; preds = %66 %70 = tail call ptr @get_database_name(ptr noundef %34) #3 %71 = icmp eq ptr %70, null %72 = load i32, ptr @WARNING, align 4, !tbaa !6 %73 = sub nsw i32 %32, %20 %74 = sext i32 %73 to i64 br i1 %71, label %77, label %75 75: ; preds = %69 %76 = tail call i32 @errmsg_plural(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, i64 noundef %74, ptr noundef nonnull %70, i64 noundef %74) #3 br label %79 77: ; preds = %69 %78 = tail call i32 @errmsg_plural(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i64 noundef %74, ptr noundef %34, i64 noundef %74) #3 br label %79 79: ; preds = %77, %75 %80 = tail call i32 (ptr, ...) @errhint(ptr noundef nonnull @.str.3) #3 %81 = tail call i32 @ereport(i32 noundef %72, i32 noundef %80) #3 br label %82 82: ; preds = %79, %66 %83 = load i32, ptr @MultiXactGenLock, align 4, !tbaa !6 %84 = load i32, ptr @LW_EXCLUSIVE, align 4, !tbaa !6 %85 = tail call i32 @LWLockAcquire(i32 noundef %83, i32 noundef %84) #3 %86 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %87 = load i32, ptr %86, align 8, !tbaa !12 %88 = load i32, ptr @FirstMultiXactId, align 4, !tbaa !6 %89 = tail call i32 @llvm.smax.i32(i32 %87, i32 %88) br label %90 90: ; preds = %82, %19 %91 = phi i32 [ %20, %19 ], [ %89, %82 ] %92 = tail call i32 @ExtendMultiXactOffset(i32 noundef %91) #3 %93 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %94 = getelementptr inbounds i8, ptr %93, i64 32 %95 = load i64, ptr %94, align 8, !tbaa !21 %96 = icmp eq i64 %95, 0 %97 = tail call i64 @llvm.umax.i64(i64 %95, i64 1) %98 = zext i1 %96 to i32 %99 = add nsw i32 %98, %0 store i64 %97, ptr %1, align 8 %100 = getelementptr inbounds i8, ptr %93, i64 56 %101 = load i64, ptr %100, align 8, !tbaa !22 %102 = icmp eq i64 %101, 0 br i1 %102, label %126, label %103 103: ; preds = %90 %104 = getelementptr inbounds i8, ptr %93, i64 40 %105 = load i64, ptr %104, align 8, !tbaa !23 %106 = tail call i64 @MultiXactOffsetWouldWrap(i64 noundef %105, i64 noundef %95, i32 noundef %99) #3 %107 = icmp eq i64 %106, 0 br i1 %107, label %126, label %108 108: ; preds = %103 %109 = load i32, ptr @PMSIGNAL_START_AUTOVAC_LAUNCHER, align 4, !tbaa !6 %110 = tail call i32 @SendPostmasterSignal(i32 noundef %109) #3 %111 = load i32, ptr @ERROR, align 4, !tbaa !6 %112 = load i32, ptr @ERRCODE_PROGRAM_LIMIT_EXCEEDED, align 4, !tbaa !6 %113 = tail call i32 @errcode(i32 noundef %112) #3 %114 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.9) #3 %115 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %116 = getelementptr inbounds i8, ptr %115, i64 40 %117 = load i64, ptr %116, align 8, !tbaa !23 %118 = xor i64 %95, -1 %119 = add i64 %117, %118 %120 = tail call i32 @errdetail_plural(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, i64 noundef %119, i32 noundef %99, i64 noundef %119) #3 %121 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %122 = getelementptr inbounds i8, ptr %121, i64 24 %123 = load ptr, ptr %122, align 8, !tbaa !19 %124 = tail call i32 (ptr, ...) @errhint(ptr noundef nonnull @.str.12, ptr noundef %123) #3 %125 = tail call i32 @ereport(i32 noundef %111, i32 noundef %124) #3 br label %126 126: ; preds = %108, %103, %90 %127 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %128 = getelementptr inbounds i8, ptr %127, i64 56 %129 = load i64, ptr %128, align 8, !tbaa !22 %130 = icmp eq i64 %129, 0 br i1 %130, label %139, label %131 131: ; preds = %126 %132 = getelementptr inbounds i8, ptr %127, i64 32 %133 = load i64, ptr %132, align 8, !tbaa !21 %134 = getelementptr inbounds i8, ptr %127, i64 48 %135 = load i64, ptr %134, align 8, !tbaa !24 %136 = sub nsw i64 %133, %135 %137 = load i64, ptr @MULTIXACT_MEMBER_SAFE_THRESHOLD, align 8, !tbaa !20 %138 = icmp sgt i64 %136, %137 br i1 %138, label %139, label %152 139: ; preds = %131, %126 %140 = tail call i32 @MXOffsetToMemberPage(i64 noundef %95) #3 %141 = load i32, ptr @SLRU_PAGES_PER_SEGMENT, align 4, !tbaa !6 %142 = sdiv i32 %140, %141 %143 = sext i32 %99 to i64 %144 = add nsw i64 %95, %143 %145 = tail call i32 @MXOffsetToMemberPage(i64 noundef %144) #3 %146 = load i32, ptr @SLRU_PAGES_PER_SEGMENT, align 4, !tbaa !6 %147 = sdiv i32 %145, %146 %148 = icmp eq i32 %142, %147 br i1 %148, label %152, label %149 149: ; preds = %139 %150 = load i32, ptr @PMSIGNAL_START_AUTOVAC_LAUNCHER, align 4, !tbaa !6 %151 = tail call i32 @SendPostmasterSignal(i32 noundef %150) #3 br label %152 152: ; preds = %139, %149, %131 %153 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %154 = getelementptr inbounds i8, ptr %153, i64 56 %155 = load i64, ptr %154, align 8, !tbaa !22 %156 = icmp eq i64 %155, 0 br i1 %156, label %182, label %157 157: ; preds = %152 %158 = getelementptr inbounds i8, ptr %153, i64 40 %159 = load i64, ptr %158, align 8, !tbaa !23 %160 = load i32, ptr @MULTIXACT_MEMBERS_PER_PAGE, align 4, !tbaa !6 %161 = load i32, ptr @SLRU_PAGES_PER_SEGMENT, align 4, !tbaa !6 %162 = mul i32 %160, 20 %163 = mul i32 %162, %161 %164 = add nsw i32 %163, %99 %165 = tail call i64 @MultiXactOffsetWouldWrap(i64 noundef %159, i64 noundef %95, i32 noundef %164) #3 %166 = icmp eq i64 %165, 0 br i1 %166, label %182, label %167 167: ; preds = %157 %168 = load i32, ptr @WARNING, align 4, !tbaa !6 %169 = load i32, ptr @ERRCODE_PROGRAM_LIMIT_EXCEEDED, align 4, !tbaa !6 %170 = tail call i32 @errcode(i32 noundef %169) #3 %171 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %172 = getelementptr inbounds i8, ptr %171, i64 40 %173 = load i64, ptr %172, align 8, !tbaa !23 %174 = sub nsw i64 %173, %95 %175 = sext i32 %99 to i64 %176 = add nsw i64 %174, %175 %177 = getelementptr inbounds i8, ptr %171, i64 24 %178 = load ptr, ptr %177, align 8, !tbaa !19 %179 = tail call i32 @errmsg_plural(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, i64 noundef %176, ptr noundef %178, i64 noundef %176) #3 %180 = tail call i32 (ptr, ...) @errhint(ptr noundef nonnull @.str.15) #3 %181 = tail call i32 @ereport(i32 noundef %168, i32 noundef %180) #3 br label %182 182: ; preds = %167, %157, %152 %183 = tail call i32 @ExtendMultiXactMember(i64 noundef %95, i32 noundef %99) #3 %184 = tail call i32 @START_CRIT_SECTION() #3 %185 = load ptr, ptr @MultiXactState, align 8, !tbaa !10 %186 = load i32, ptr %185, align 8, !tbaa !12 %187 = add nsw i32 %186, 1 store i32 %187, ptr %185, align 8, !tbaa !12 %188 = sext i32 %99 to i64 %189 = getelementptr inbounds i8, ptr %185, i64 32 %190 = load i64, ptr %189, align 8, !tbaa !21 %191 = add nsw i64 %190, %188 store i64 %191, ptr %189, align 8, !tbaa !21 %192 = load i32, ptr @MultiXactGenLock, align 4, !tbaa !6 %193 = tail call i32 @LWLockRelease(i32 noundef %192) #3 %194 = load i32, ptr @DEBUG2, align 4, !tbaa !6 %195 = load i64, ptr %1, align 8, !tbaa !20 %196 = tail call i32 @debug_elog4(i32 noundef %194, ptr noundef nonnull @.str.16, i32 noundef %91, i64 noundef %195) #3 ret i32 %91 } declare i32 @debug_elog3(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @RecoveryInProgress(...) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @LWLockAcquire(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MultiXactIdPrecedes(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LWLockRelease(i32 noundef) local_unnamed_addr #1 declare ptr @get_database_name(ptr noundef) local_unnamed_addr #1 declare i32 @SendPostmasterSignal(i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, ...) local_unnamed_addr #1 declare i32 @errhint(ptr noundef, ...) local_unnamed_addr #1 declare i32 @errmsg_plural(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ExtendMultiXactOffset(i32 noundef) local_unnamed_addr #1 declare i64 @MultiXactOffsetWouldWrap(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errdetail_plural(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @MXOffsetToMemberPage(i64 noundef) local_unnamed_addr #1 declare i32 @ExtendMultiXactMember(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @START_CRIT_SECTION(...) local_unnamed_addr #1 declare i32 @debug_elog4(i32 noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.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 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !11, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56} !14 = !{!"long", !8, i64 0} !15 = !{!13, !7, i64 4} !16 = !{!13, !7, i64 8} !17 = !{!13, !7, i64 12} !18 = !{!13, !7, i64 16} !19 = !{!13, !11, i64 24} !20 = !{!14, !14, i64 0} !21 = !{!13, !14, i64 32} !22 = !{!13, !14, i64 56} !23 = !{!13, !14, i64 40} !24 = !{!13, !14, i64 48}
postgres_src_backend_access_transam_extr_multixact.c_GetNewMultiXactId
; ModuleID = 'AnghaBench/linux/sound/pci/nm256/extr_nm256.c_snd_nm256_interrupt.c' source_filename = "AnghaBench/linux/sound/pci/nm256/extr_nm256.c_snd_nm256_interrupt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nm256 = type { i32, ptr, i64 } @NM_INT_REG = dso_local local_unnamed_addr global i32 0, align 4 @NM_PLAYBACK_INT = dso_local local_unnamed_addr global i32 0, align 4 @NM_RECORD_INT = dso_local local_unnamed_addr global i32 0, align 4 @NM_MISC_INT_1 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"NM256: Got misc interrupt #1\0A\00", align 1 @NM_MISC_INT_2 = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"NM256: Got misc interrupt #2\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"NM256: Fire in the hole! Unknown status 0x%x\0A\00", align 1 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_nm256_interrupt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_nm256_interrupt(i32 %0, ptr noundef %1) #0 { %3 = load i32, ptr @NM_INT_REG, align 4, !tbaa !5 %4 = tail call i32 @snd_nm256_readw(ptr noundef %1, i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @snd_nm256_intr_check(ptr noundef %1) #2 br label %75 8: ; preds = %2 %9 = getelementptr inbounds %struct.nm256, ptr %1, i64 0, i32 2 store i64 0, ptr %9, align 8, !tbaa !9 %10 = tail call i32 @spin_lock(ptr noundef %1) #2 %11 = load i32, ptr @NM_PLAYBACK_INT, align 4, !tbaa !5 %12 = and i32 %11, %4 %13 = icmp eq i32 %12, 0 br i1 %13, label %19, label %14 14: ; preds = %8 %15 = xor i32 %11, -1 %16 = and i32 %4, %15 %17 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %11) #2 %18 = tail call i32 @snd_nm256_playback_update(ptr noundef nonnull %1) #2 br label %19 19: ; preds = %14, %8 %20 = phi i32 [ %16, %14 ], [ %4, %8 ] %21 = load i32, ptr @NM_RECORD_INT, align 4, !tbaa !5 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %29, label %24 24: ; preds = %19 %25 = xor i32 %21, -1 %26 = and i32 %20, %25 %27 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %21) #2 %28 = tail call i32 @snd_nm256_capture_update(ptr noundef nonnull %1) #2 br label %29 29: ; preds = %24, %19 %30 = phi i32 [ %26, %24 ], [ %20, %19 ] %31 = load i32, ptr @NM_MISC_INT_1, align 4, !tbaa !5 %32 = and i32 %31, %30 %33 = icmp eq i32 %32, 0 br i1 %33, label %47, label %34 34: ; preds = %29 %35 = xor i32 %31, -1 %36 = and i32 %30, %35 %37 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %31) #2 %38 = getelementptr inbounds %struct.nm256, ptr %1, i64 0, i32 1 %39 = load ptr, ptr %38, align 8, !tbaa !13 %40 = load i32, ptr %39, align 4, !tbaa !14 %41 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %40, ptr noundef nonnull @.str) #2 %42 = load i32, ptr @NM_INT_REG, align 4, !tbaa !5 %43 = tail call i32 @snd_nm256_writew(ptr noundef nonnull %1, i32 noundef %42, i32 noundef 32768) #2 %44 = tail call i32 @snd_nm256_readb(ptr noundef nonnull %1, i32 noundef 1024) #2 %45 = or i32 %44, 2 %46 = tail call i32 @snd_nm256_writeb(ptr noundef nonnull %1, i32 noundef 1024, i32 noundef %45) #2 br label %47 47: ; preds = %34, %29 %48 = phi i32 [ %36, %34 ], [ %30, %29 ] %49 = load i32, ptr @NM_MISC_INT_2, align 4, !tbaa !5 %50 = and i32 %49, %48 %51 = icmp eq i32 %50, 0 br i1 %51, label %63, label %52 52: ; preds = %47 %53 = xor i32 %49, -1 %54 = and i32 %48, %53 %55 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %49) #2 %56 = getelementptr inbounds %struct.nm256, ptr %1, i64 0, i32 1 %57 = load ptr, ptr %56, align 8, !tbaa !13 %58 = load i32, ptr %57, align 4, !tbaa !14 %59 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %58, ptr noundef nonnull @.str.1) #2 %60 = tail call i32 @snd_nm256_readb(ptr noundef nonnull %1, i32 noundef 1024) #2 %61 = and i32 %60, -3 %62 = tail call i32 @snd_nm256_writeb(ptr noundef nonnull %1, i32 noundef 1024, i32 noundef %61) #2 br label %63 63: ; preds = %52, %47 %64 = phi i32 [ %54, %52 ], [ %48, %47 ] %65 = icmp eq i32 %64, 0 br i1 %65, label %72, label %66 66: ; preds = %63 %67 = getelementptr inbounds %struct.nm256, ptr %1, i64 0, i32 1 %68 = load ptr, ptr %67, align 8, !tbaa !13 %69 = load i32, ptr %68, align 4, !tbaa !14 %70 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %69, ptr noundef nonnull @.str.2, i32 noundef %64) #2 %71 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %64) #2 br label %72 72: ; preds = %66, %63 %73 = tail call i32 @spin_unlock(ptr noundef nonnull %1) #2 %74 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 br label %75 75: ; preds = %72, %6 %76 = phi i32 [ %7, %6 ], [ %74, %72 ] ret i32 %76 } declare i32 @snd_nm256_readw(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_intr_check(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @NM_ACK_INT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_playback_update(ptr noundef) local_unnamed_addr #1 declare i32 @snd_nm256_capture_update(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @snd_nm256_writew(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_readb(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"nm256", !6, i64 0, !11, i64 8, !12, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !11, i64 8} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/nm256/extr_nm256.c_snd_nm256_interrupt.c' source_filename = "AnghaBench/linux/sound/pci/nm256/extr_nm256.c_snd_nm256_interrupt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NM_INT_REG = common local_unnamed_addr global i32 0, align 4 @NM_PLAYBACK_INT = common local_unnamed_addr global i32 0, align 4 @NM_RECORD_INT = common local_unnamed_addr global i32 0, align 4 @NM_MISC_INT_1 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"NM256: Got misc interrupt #1\0A\00", align 1 @NM_MISC_INT_2 = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"NM256: Got misc interrupt #2\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"NM256: Fire in the hole! Unknown status 0x%x\0A\00", align 1 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_nm256_interrupt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_nm256_interrupt(i32 %0, ptr noundef %1) #0 { %3 = load i32, ptr @NM_INT_REG, align 4, !tbaa !6 %4 = tail call i32 @snd_nm256_readw(ptr noundef %1, i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @snd_nm256_intr_check(ptr noundef %1) #2 br label %75 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %1, i64 16 store i64 0, ptr %9, align 8, !tbaa !10 %10 = tail call i32 @spin_lock(ptr noundef %1) #2 %11 = load i32, ptr @NM_PLAYBACK_INT, align 4, !tbaa !6 %12 = and i32 %11, %4 %13 = icmp eq i32 %12, 0 br i1 %13, label %19, label %14 14: ; preds = %8 %15 = xor i32 %11, -1 %16 = and i32 %4, %15 %17 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %11) #2 %18 = tail call i32 @snd_nm256_playback_update(ptr noundef nonnull %1) #2 br label %19 19: ; preds = %14, %8 %20 = phi i32 [ %16, %14 ], [ %4, %8 ] %21 = load i32, ptr @NM_RECORD_INT, align 4, !tbaa !6 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %29, label %24 24: ; preds = %19 %25 = xor i32 %21, -1 %26 = and i32 %20, %25 %27 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %21) #2 %28 = tail call i32 @snd_nm256_capture_update(ptr noundef nonnull %1) #2 br label %29 29: ; preds = %24, %19 %30 = phi i32 [ %26, %24 ], [ %20, %19 ] %31 = load i32, ptr @NM_MISC_INT_1, align 4, !tbaa !6 %32 = and i32 %31, %30 %33 = icmp eq i32 %32, 0 br i1 %33, label %47, label %34 34: ; preds = %29 %35 = xor i32 %31, -1 %36 = and i32 %30, %35 %37 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %31) #2 %38 = getelementptr inbounds i8, ptr %1, i64 8 %39 = load ptr, ptr %38, align 8, !tbaa !14 %40 = load i32, ptr %39, align 4, !tbaa !15 %41 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %40, ptr noundef nonnull @.str) #2 %42 = load i32, ptr @NM_INT_REG, align 4, !tbaa !6 %43 = tail call i32 @snd_nm256_writew(ptr noundef nonnull %1, i32 noundef %42, i32 noundef 32768) #2 %44 = tail call i32 @snd_nm256_readb(ptr noundef nonnull %1, i32 noundef 1024) #2 %45 = or i32 %44, 2 %46 = tail call i32 @snd_nm256_writeb(ptr noundef nonnull %1, i32 noundef 1024, i32 noundef %45) #2 br label %47 47: ; preds = %34, %29 %48 = phi i32 [ %36, %34 ], [ %30, %29 ] %49 = load i32, ptr @NM_MISC_INT_2, align 4, !tbaa !6 %50 = and i32 %49, %48 %51 = icmp eq i32 %50, 0 br i1 %51, label %63, label %52 52: ; preds = %47 %53 = xor i32 %49, -1 %54 = and i32 %48, %53 %55 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %49) #2 %56 = getelementptr inbounds i8, ptr %1, i64 8 %57 = load ptr, ptr %56, align 8, !tbaa !14 %58 = load i32, ptr %57, align 4, !tbaa !15 %59 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %58, ptr noundef nonnull @.str.1) #2 %60 = tail call i32 @snd_nm256_readb(ptr noundef nonnull %1, i32 noundef 1024) #2 %61 = and i32 %60, -3 %62 = tail call i32 @snd_nm256_writeb(ptr noundef nonnull %1, i32 noundef 1024, i32 noundef %61) #2 br label %63 63: ; preds = %52, %47 %64 = phi i32 [ %54, %52 ], [ %48, %47 ] %65 = icmp eq i32 %64, 0 br i1 %65, label %72, label %66 66: ; preds = %63 %67 = getelementptr inbounds i8, ptr %1, i64 8 %68 = load ptr, ptr %67, align 8, !tbaa !14 %69 = load i32, ptr %68, align 4, !tbaa !15 %70 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %69, ptr noundef nonnull @.str.2, i32 noundef %64) #2 %71 = tail call i32 @NM_ACK_INT(ptr noundef nonnull %1, i32 noundef %64) #2 br label %72 72: ; preds = %66, %63 %73 = tail call i32 @spin_unlock(ptr noundef nonnull %1) #2 %74 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 br label %75 75: ; preds = %72, %6 %76 = phi i32 [ %7, %6 ], [ %74, %72 ] ret i32 %76 } declare i32 @snd_nm256_readw(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_intr_check(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @NM_ACK_INT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_playback_update(ptr noundef) local_unnamed_addr #1 declare i32 @snd_nm256_capture_update(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @snd_nm256_writew(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_readb(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_nm256_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"nm256", !7, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_2__", !7, i64 0}
linux_sound_pci_nm256_extr_nm256.c_snd_nm256_interrupt
; ModuleID = 'AnghaBench/linux/drivers/usb/phy/extr_phy-isp1301-omap.c_isp1301_set_bits.c' source_filename = "AnghaBench/linux/drivers/usb/phy/extr_phy-isp1301-omap.c_isp1301_set_bits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @isp1301_set_bits], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @isp1301_set_bits(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @i2c_smbus_write_byte_data(i32 noundef %4, i64 noundef %1, i64 noundef %2) #2 ret i32 %5 } declare i32 @i2c_smbus_write_byte_data(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"isp1301", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/usb/phy/extr_phy-isp1301-omap.c_isp1301_set_bits.c' source_filename = "AnghaBench/linux/drivers/usb/phy/extr_phy-isp1301-omap.c_isp1301_set_bits.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 @isp1301_set_bits], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @isp1301_set_bits(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @i2c_smbus_write_byte_data(i32 noundef %4, i64 noundef %1, i64 noundef %2) #2 ret i32 %5 } declare i32 @i2c_smbus_write_byte_data(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"isp1301", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_usb_phy_extr_phy-isp1301-omap.c_isp1301_set_bits
; ModuleID = 'AnghaBench/nanomsg/src/transports/utils/extr_streamhdr.c_nn_streamhdr_start.c' source_filename = "AnghaBench/nanomsg/src/transports/utils/extr_streamhdr.c_nn_streamhdr_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nn_streamhdr = type { i32, i64, ptr, ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr, i32 } @NN_STREAMHDR_SRC_USOCK = dso_local local_unnamed_addr global i32 0, align 4 @NN_SOL_SOCKET = dso_local local_unnamed_addr global i32 0, align 4 @NN_PROTOCOL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"\00SP\00\00\00\00\00\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @nn_streamhdr_start(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = getelementptr inbounds %struct.nn_streamhdr, ptr %0, i64 0, i32 3 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %3 %10 = getelementptr inbounds %struct.nn_streamhdr, ptr %0, i64 0, i32 4 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = icmp eq ptr %11, null %13 = zext i1 %12 to i32 br label %14 14: ; preds = %9, %3 %15 = phi i32 [ 0, %3 ], [ %13, %9 ] %16 = tail call i32 @nn_assert(i32 noundef %15) #3 %17 = load i32, ptr @NN_STREAMHDR_SRC_USOCK, align 4, !tbaa !14 %18 = getelementptr inbounds %struct.nn_streamhdr, ptr %0, i64 0, i32 4 %19 = getelementptr inbounds %struct.nn_streamhdr, ptr %0, i64 0, i32 4, i32 1 store i32 %17, ptr %19, align 8, !tbaa !15 store ptr %0, ptr %18, align 8, !tbaa !13 %20 = tail call i32 @nn_usock_swap_owner(ptr noundef %1, ptr noundef nonnull %18) #3 store ptr %1, ptr %6, align 8, !tbaa !5 %21 = getelementptr inbounds %struct.nn_streamhdr, ptr %0, i64 0, i32 2 store ptr %2, ptr %21, align 8, !tbaa !16 store i64 4, ptr %4, align 8, !tbaa !17 %22 = load i32, ptr @NN_SOL_SOCKET, align 4, !tbaa !14 %23 = load i32, ptr @NN_PROTOCOL, align 4, !tbaa !14 %24 = call i32 @nn_pipebase_getopt(ptr noundef %2, i32 noundef %22, i32 noundef %23, ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %25 = load i64, ptr %4, align 8, !tbaa !17 %26 = icmp eq i64 %25, 4 %27 = zext i1 %26 to i32 %28 = call i32 @nn_assert(i32 noundef %27) #3 %29 = getelementptr inbounds %struct.nn_streamhdr, ptr %0, i64 0, i32 1 %30 = load i64, ptr %29, align 8, !tbaa !18 %31 = call i32 @memcpy(i64 noundef %30, ptr noundef nonnull @.str, i32 noundef 8) #3 %32 = load i64, ptr %29, align 8, !tbaa !18 %33 = add nsw i64 %32, 4 %34 = load i32, ptr %5, align 4, !tbaa !14 %35 = call i32 @nn_puts(i64 noundef %33, i32 noundef %34) #3 %36 = call i32 @nn_fsm_start(ptr noundef nonnull %0) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nn_assert(i32 noundef) local_unnamed_addr #2 declare i32 @nn_usock_swap_owner(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nn_pipebase_getopt(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nn_puts(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nn_fsm_start(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 24} !6 = !{!"nn_streamhdr", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !12, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_2__", !11, i64 0, !7, i64 8} !13 = !{!6, !11, i64 32} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 40} !16 = !{!6, !11, i64 16} !17 = !{!10, !10, i64 0} !18 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/nanomsg/src/transports/utils/extr_streamhdr.c_nn_streamhdr_start.c' source_filename = "AnghaBench/nanomsg/src/transports/utils/extr_streamhdr.c_nn_streamhdr_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NN_STREAMHDR_SRC_USOCK = common local_unnamed_addr global i32 0, align 4 @NN_SOL_SOCKET = common local_unnamed_addr global i32 0, align 4 @NN_PROTOCOL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"\00SP\00\00\00\00\00\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @nn_streamhdr_start(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %0, i64 32 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = icmp eq ptr %11, null %13 = zext i1 %12 to i32 br label %14 14: ; preds = %9, %3 %15 = phi i32 [ 0, %3 ], [ %13, %9 ] %16 = tail call i32 @nn_assert(i32 noundef %15) #3 %17 = load i32, ptr @NN_STREAMHDR_SRC_USOCK, align 4, !tbaa !15 %18 = getelementptr inbounds i8, ptr %0, i64 32 %19 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %17, ptr %19, align 8, !tbaa !16 store ptr %0, ptr %18, align 8, !tbaa !14 %20 = tail call i32 @nn_usock_swap_owner(ptr noundef %1, ptr noundef nonnull %18) #3 store ptr %1, ptr %6, align 8, !tbaa !6 %21 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %2, ptr %21, align 8, !tbaa !17 store i64 4, ptr %4, align 8, !tbaa !18 %22 = load i32, ptr @NN_SOL_SOCKET, align 4, !tbaa !15 %23 = load i32, ptr @NN_PROTOCOL, align 4, !tbaa !15 %24 = call i32 @nn_pipebase_getopt(ptr noundef %2, i32 noundef %22, i32 noundef %23, ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %25 = load i64, ptr %4, align 8, !tbaa !18 %26 = icmp eq i64 %25, 4 %27 = zext i1 %26 to i32 %28 = call i32 @nn_assert(i32 noundef %27) #3 %29 = getelementptr inbounds i8, ptr %0, i64 8 %30 = load i64, ptr %29, align 8, !tbaa !19 %31 = call i32 @memcpy(i64 noundef %30, ptr noundef nonnull @.str, i32 noundef 8) #3 %32 = load i64, ptr %29, align 8, !tbaa !19 %33 = add nsw i64 %32, 4 %34 = load i32, ptr %5, align 4, !tbaa !15 %35 = call i32 @nn_puts(i64 noundef %33, i32 noundef %34) #3 %36 = call i32 @nn_fsm_start(ptr noundef nonnull %0) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nn_assert(i32 noundef) local_unnamed_addr #2 declare i32 @nn_usock_swap_owner(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nn_pipebase_getopt(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nn_puts(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nn_fsm_start(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 24} !7 = !{!"nn_streamhdr", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !13, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_2__", !12, i64 0, !8, i64 8} !14 = !{!7, !12, i64 32} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 40} !17 = !{!7, !12, i64 16} !18 = !{!11, !11, i64 0} !19 = !{!7, !11, i64 8}
nanomsg_src_transports_utils_extr_streamhdr.c_nn_streamhdr_start
; ModuleID = 'AnghaBench/openssl/crypto/ct/extr_ct_sct.c_SCT_set1_extensions.c' source_filename = "AnghaBench/openssl/crypto/ct/extr_ct_sct.c_SCT_set1_extensions.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i32 } @SCT_VALIDATION_STATUS_NOT_SET = dso_local local_unnamed_addr global i32 0, align 4 @CT_F_SCT_SET1_EXTENSIONS = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @SCT_set1_extensions(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @OPENSSL_free(ptr noundef %5) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) %7 = load i32, ptr @SCT_VALIDATION_STATUS_NOT_SET, align 4, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store i32 %7, ptr %8, align 8, !tbaa !13 %9 = icmp ne ptr %1, null %10 = icmp ne i64 %2, 0 %11 = and i1 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %3 %13 = tail call ptr @OPENSSL_memdup(ptr noundef nonnull %1, i64 noundef %2) #3 store ptr %13, ptr %4, align 8, !tbaa !5 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %12 %16 = load i32, ptr @CT_F_SCT_SET1_EXTENSIONS, align 4, !tbaa !12 %17 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !12 %18 = tail call i32 @CTerr(i32 noundef %16, i32 noundef %17) #3 br label %20 19: ; preds = %12 store i64 %2, ptr %0, align 8, !tbaa !14 br label %20 20: ; preds = %3, %19, %15 %21 = phi i32 [ 0, %15 ], [ 1, %19 ], [ 1, %3 ] ret i32 %21 } declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 declare ptr @OPENSSL_memdup(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @CTerr(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !11, i64 16} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/ct/extr_ct_sct.c_SCT_set1_extensions.c' source_filename = "AnghaBench/openssl/crypto/ct/extr_ct_sct.c_SCT_set1_extensions.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCT_VALIDATION_STATUS_NOT_SET = common local_unnamed_addr global i32 0, align 4 @CT_F_SCT_SET1_EXTENSIONS = common local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @SCT_set1_extensions(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @OPENSSL_free(ptr noundef %5) #3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) %7 = load i32, ptr @SCT_VALIDATION_STATUS_NOT_SET, align 4, !tbaa !13 %8 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %7, ptr %8, align 8, !tbaa !14 %9 = icmp ne ptr %1, null %10 = icmp ne i64 %2, 0 %11 = and i1 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %3 %13 = tail call ptr @OPENSSL_memdup(ptr noundef nonnull %1, i64 noundef %2) #3 store ptr %13, ptr %4, align 8, !tbaa !6 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %12 %16 = load i32, ptr @CT_F_SCT_SET1_EXTENSIONS, align 4, !tbaa !13 %17 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !13 %18 = tail call i32 @CTerr(i32 noundef %16, i32 noundef %17) #3 br label %20 19: ; preds = %12 store i64 %2, ptr %0, align 8, !tbaa !15 br label %20 20: ; preds = %3, %19, %15 %21 = phi i32 [ 0, %15 ], [ 1, %19 ], [ 1, %3 ] ret i32 %21 } declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 declare ptr @OPENSSL_memdup(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @CTerr(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !12, i64 16} !15 = !{!7, !8, i64 0}
openssl_crypto_ct_extr_ct_sct.c_SCT_set1_extensions
; ModuleID = 'AnghaBench/curl/lib/extr_progress.c_Curl_pgrsSetUploadSize.c' source_filename = "AnghaBench/curl/lib/extr_progress.c_Curl_pgrsSetUploadSize.c" target datalayout = "e-m:e-p270:32:32-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 } @PGRS_UL_SIZE_KNOWN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @Curl_pgrsSetUploadSize(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp sgt i64 %1, -1 %4 = load i32, ptr @PGRS_UL_SIZE_KNOWN, align 4, !tbaa !5 br i1 %3, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr %0, align 8, !tbaa !9 %7 = or i32 %6, %4 br label %12 8: ; preds = %2 %9 = xor i32 %4, -1 %10 = load i32, ptr %0, align 8, !tbaa !9 %11 = and i32 %10, %9 br label %12 12: ; preds = %8, %5 %13 = phi i64 [ %1, %5 ], [ 0, %8 ] %14 = phi i32 [ %7, %5 ], [ %11, %8 ] %15 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 store i64 %13, ptr %15, align 8 store i32 %14, ptr %0, align 8, !tbaa !9 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"Curl_easy", !11, i64 0} !11 = !{!"TYPE_2__", !6, i64 0, !12, i64 8} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/curl/lib/extr_progress.c_Curl_pgrsSetUploadSize.c' source_filename = "AnghaBench/curl/lib/extr_progress.c_Curl_pgrsSetUploadSize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PGRS_UL_SIZE_KNOWN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @Curl_pgrsSetUploadSize(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp sgt i64 %1, -1 %4 = load i32, ptr @PGRS_UL_SIZE_KNOWN, align 4, !tbaa !6 br i1 %3, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr %0, align 8, !tbaa !10 %7 = or i32 %6, %4 br label %12 8: ; preds = %2 %9 = xor i32 %4, -1 %10 = load i32, ptr %0, align 8, !tbaa !10 %11 = and i32 %10, %9 br label %12 12: ; preds = %8, %5 %13 = phi i64 [ %1, %5 ], [ 0, %8 ] %14 = phi i32 [ %7, %5 ], [ %11, %8 ] %15 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %13, ptr %15, align 8 store i32 %14, ptr %0, align 8, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"Curl_easy", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0}
curl_lib_extr_progress.c_Curl_pgrsSetUploadSize
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/common/extr_action_layer.c_layer_debug.c' source_filename = "AnghaBench/qmk_firmware/tmk_core/common/extr_action_layer.c_layer_debug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%08lX(%u)\00", align 1 @layer_state = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @layer_debug() local_unnamed_addr #0 { %1 = load i32, ptr @layer_state, align 4, !tbaa !5 %2 = tail call i32 @biton32(i32 noundef %1) #2 %3 = tail call i32 @dprintf(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2) #2 ret void } declare i32 @dprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @biton32(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/qmk_firmware/tmk_core/common/extr_action_layer.c_layer_debug.c' source_filename = "AnghaBench/qmk_firmware/tmk_core/common/extr_action_layer.c_layer_debug.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [10 x i8] c"%08lX(%u)\00", align 1 @layer_state = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @layer_debug() local_unnamed_addr #0 { %1 = load i32, ptr @layer_state, align 4, !tbaa !6 %2 = tail call i32 @biton32(i32 noundef %1) #2 %3 = tail call i32 @dprintf(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2) #2 ret void } declare i32 @dprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @biton32(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"}
qmk_firmware_tmk_core_common_extr_action_layer.c_layer_debug
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_stabsread.c_read_array_type.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_stabsread.c_read_array_type.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @read_array_type], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @read_array_type(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call ptr @read_type(ptr noundef %0, ptr noundef %2) #3 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load i8, ptr %6, align 1, !tbaa !9 %8 = icmp eq i8 %7, 59 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = tail call ptr @error_type(ptr noundef nonnull %0, ptr noundef %2) #3 br label %50 11: ; preds = %3 %12 = getelementptr inbounds i8, ptr %6, i64 1 store ptr %12, ptr %0, align 8, !tbaa !5 %13 = load i8, ptr %12, align 1, !tbaa !9 %14 = add i8 %13, -48 %15 = icmp ult i8 %14, 10 %16 = icmp eq i8 %13, 45 %17 = or i1 %16, %15 br i1 %17, label %20, label %18 18: ; preds = %11 %19 = getelementptr inbounds i8, ptr %6, i64 2 store ptr %19, ptr %0, align 8, !tbaa !5 br label %20 20: ; preds = %11, %18 %21 = phi i32 [ 1, %18 ], [ 0, %11 ] %22 = call i32 @read_huge_number(ptr noundef nonnull %0, i8 noundef signext 59, ptr noundef nonnull %4) #3 %23 = load i32, ptr %4, align 4, !tbaa !10 %24 = icmp eq i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %20 %26 = call ptr @error_type(ptr noundef nonnull %0, ptr noundef %2) #3 br label %50 27: ; preds = %20 %28 = load ptr, ptr %0, align 8, !tbaa !5 %29 = load i8, ptr %28, align 1, !tbaa !9 %30 = add i8 %29, -48 %31 = icmp ult i8 %30, 10 %32 = icmp eq i8 %29, 45 %33 = or i1 %32, %31 br i1 %33, label %36, label %34 34: ; preds = %27 %35 = getelementptr inbounds i8, ptr %28, i64 1 store ptr %35, ptr %0, align 8, !tbaa !5 br label %36 36: ; preds = %27, %34 %37 = phi i32 [ 1, %34 ], [ %21, %27 ] %38 = call i32 @read_huge_number(ptr noundef nonnull %0, i8 noundef signext 59, ptr noundef nonnull %4) #3 %39 = load i32, ptr %4, align 4, !tbaa !10 %40 = icmp eq i32 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %36 %42 = call ptr @error_type(ptr noundef nonnull %0, ptr noundef %2) #3 br label %50 43: ; preds = %36 %44 = call ptr @read_type(ptr noundef nonnull %0, ptr noundef %2) #3 %45 = icmp eq i32 %37, 0 %46 = select i1 %45, i32 %22, i32 0 %47 = select i1 %45, i32 %38, i32 -1 %48 = call ptr @create_range_type(ptr noundef null, ptr noundef %5, i32 noundef %46, i32 noundef %47) #3 %49 = call ptr @create_array_type(ptr noundef %1, ptr noundef %44, ptr noundef %48) #3 br label %50 50: ; preds = %43, %41, %25, %9 %51 = phi ptr [ %10, %9 ], [ %26, %25 ], [ %42, %41 ], [ %49, %43 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret ptr %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @read_type(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @error_type(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @read_huge_number(ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #2 declare ptr @create_range_type(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @create_array_type(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/contrib/gdb/gdb/extr_stabsread.c_read_array_type.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_stabsread.c_read_array_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @read_array_type], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @read_array_type(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call ptr @read_type(ptr noundef %0, ptr noundef %2) #3 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load i8, ptr %6, align 1, !tbaa !10 %8 = icmp eq i8 %7, 59 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = tail call ptr @error_type(ptr noundef nonnull %0, ptr noundef %2) #3 br label %50 11: ; preds = %3 %12 = getelementptr inbounds i8, ptr %6, i64 1 store ptr %12, ptr %0, align 8, !tbaa !6 %13 = load i8, ptr %12, align 1, !tbaa !10 %14 = add i8 %13, -48 %15 = icmp ult i8 %14, 10 %16 = icmp eq i8 %13, 45 %17 = or i1 %16, %15 br i1 %17, label %20, label %18 18: ; preds = %11 %19 = getelementptr inbounds i8, ptr %6, i64 2 store ptr %19, ptr %0, align 8, !tbaa !6 br label %20 20: ; preds = %11, %18 %21 = phi i32 [ 1, %18 ], [ 0, %11 ] %22 = call i32 @read_huge_number(ptr noundef nonnull %0, i8 noundef signext 59, ptr noundef nonnull %4) #3 %23 = load i32, ptr %4, align 4, !tbaa !11 %24 = icmp eq i32 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %20 %26 = call ptr @error_type(ptr noundef nonnull %0, ptr noundef %2) #3 br label %50 27: ; preds = %20 %28 = load ptr, ptr %0, align 8, !tbaa !6 %29 = load i8, ptr %28, align 1, !tbaa !10 %30 = add i8 %29, -48 %31 = icmp ult i8 %30, 10 %32 = icmp eq i8 %29, 45 %33 = or i1 %32, %31 br i1 %33, label %36, label %34 34: ; preds = %27 %35 = getelementptr inbounds i8, ptr %28, i64 1 store ptr %35, ptr %0, align 8, !tbaa !6 br label %36 36: ; preds = %27, %34 %37 = phi i32 [ 1, %34 ], [ %21, %27 ] %38 = call i32 @read_huge_number(ptr noundef nonnull %0, i8 noundef signext 59, ptr noundef nonnull %4) #3 %39 = load i32, ptr %4, align 4, !tbaa !11 %40 = icmp eq i32 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %36 %42 = call ptr @error_type(ptr noundef nonnull %0, ptr noundef %2) #3 br label %50 43: ; preds = %36 %44 = call ptr @read_type(ptr noundef nonnull %0, ptr noundef %2) #3 %45 = icmp eq i32 %37, 0 %46 = select i1 %45, i32 %22, i32 0 %47 = select i1 %45, i32 %38, i32 -1 %48 = call ptr @create_range_type(ptr noundef null, ptr noundef %5, i32 noundef %46, i32 noundef %47) #3 %49 = call ptr @create_array_type(ptr noundef %1, ptr noundef %44, ptr noundef %48) #3 br label %50 50: ; preds = %43, %41, %25, %9 %51 = phi ptr [ %10, %9 ], [ %26, %25 ], [ %42, %41 ], [ %49, %43 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret ptr %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @read_type(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @error_type(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @read_huge_number(ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #2 declare ptr @create_range_type(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @create_array_type(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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_contrib_gdb_gdb_extr_stabsread.c_read_array_type
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_vb2.c_dvb_vb2_qbuf.c' source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_vb2.c_dvb_vb2_qbuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dvb_vb2_ctx = type { i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"[%s] index=%d errno=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"[%s] index=%d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @dvb_vb2_qbuf(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.dvb_vb2_ctx, ptr %0, i64 0, i32 1 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call i32 @vb2_core_qbuf(ptr noundef nonnull %3, i32 noundef %4, ptr noundef nonnull %1, ptr noundef null) #2 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = load i32, ptr %1, align 4, !tbaa !5 br i1 %6, label %11, label %9 9: ; preds = %2 %10 = tail call i32 (i32, ptr, i32, i32, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %8, i32 noundef %5) #2 br label %13 11: ; preds = %2 %12 = tail call i32 (i32, ptr, i32, i32, ...) @dprintk(i32 noundef 5, ptr noundef nonnull @.str.1, i32 noundef %7, i32 noundef %8) #2 br label %13 13: ; preds = %11, %9 ret i32 %5 } declare i32 @vb2_core_qbuf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dprintk(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dmx_buffer", !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 = !{!"dvb_vb2_ctx", !7, i64 0, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-core/extr_dvb_vb2.c_dvb_vb2_qbuf.c' source_filename = "AnghaBench/linux/drivers/media/dvb-core/extr_dvb_vb2.c_dvb_vb2_qbuf.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"[%s] index=%d errno=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"[%s] index=%d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dvb_vb2_qbuf(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call i32 @vb2_core_qbuf(ptr noundef nonnull %3, i32 noundef %4, ptr noundef nonnull %1, ptr noundef null) #2 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr %0, align 4, !tbaa !11 %8 = load i32, ptr %1, align 4, !tbaa !6 br i1 %6, label %11, label %9 9: ; preds = %2 %10 = tail call i32 (i32, ptr, i32, i32, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %8, i32 noundef %5) #2 br label %13 11: ; preds = %2 %12 = tail call i32 (i32, ptr, i32, i32, ...) @dprintk(i32 noundef 5, ptr noundef nonnull @.str.1, i32 noundef %7, i32 noundef %8) #2 br label %13 13: ; preds = %11, %9 ret i32 %5 } declare i32 @vb2_core_qbuf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dprintk(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dmx_buffer", !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 = !{!"dvb_vb2_ctx", !8, i64 0, !8, i64 4}
linux_drivers_media_dvb-core_extr_dvb_vb2.c_dvb_vb2_qbuf
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_max197.c_max197_is_bipolar.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_max197.c_max197_is_bipolar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAX197_BIP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @max197_is_bipolar], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @max197_is_bipolar(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = load i32, ptr @MAX197_BIP, align 4, !tbaa !10 %8 = and i32 %7, %6 ret i32 %8 } attributes #0 = { inlinehint 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 = !{!"max197_data", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_max197.c_max197_is_bipolar.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_max197.c_max197_is_bipolar.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX197_BIP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @max197_is_bipolar], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @max197_is_bipolar(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr @MAX197_BIP, align 4, !tbaa !11 %8 = and i32 %7, %6 ret i32 %8 } attributes #0 = { inlinehint 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 = !{!"max197_data", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_hwmon_extr_max197.c_max197_is_bipolar
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/extr_fsldma.c_set_ndar.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/extr_fsldma.c_set_ndar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @set_ndar], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @set_ndar(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @DMA_OUT(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %1, i32 noundef 64) #2 ret void } declare i32 @DMA_OUT(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fsl_dma_chan", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/dma/extr_fsldma.c_set_ndar.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/dma/extr_fsldma.c_set_ndar.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @set_ndar], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @set_ndar(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @DMA_OUT(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %1, i32 noundef 64) #2 ret void } declare i32 @DMA_OUT(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fsl_dma_chan", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_dma_extr_fsldma.c_set_ndar
; ModuleID = 'AnghaBench/postgres/src/backend/utils/error/extr_elog.c_errcode_for_file_access.c' source_filename = "AnghaBench/postgres/src/backend/utils/error/extr_elog.c_errcode_for_file_access.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @errordata = dso_local local_unnamed_addr global ptr null, align 8 @errordata_stack_depth = dso_local local_unnamed_addr global i64 0, align 8 @ERRCODE_INSUFFICIENT_PRIVILEGE = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_UNDEFINED_FILE = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_DUPLICATE_FILE = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_WRONG_OBJECT_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_DISK_FULL = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_INSUFFICIENT_RESOURCES = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_IO_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @switch.table.errcode_for_file_access = private unnamed_addr constant [12 x ptr] [ptr @ERRCODE_INSUFFICIENT_PRIVILEGE, ptr @ERRCODE_INSUFFICIENT_PRIVILEGE, ptr @ERRCODE_WRONG_OBJECT_TYPE, ptr @ERRCODE_WRONG_OBJECT_TYPE, ptr @ERRCODE_DISK_FULL, ptr @ERRCODE_UNDEFINED_FILE, ptr @ERRCODE_INSUFFICIENT_RESOURCES, ptr @ERRCODE_INSUFFICIENT_RESOURCES, ptr @ERRCODE_WRONG_OBJECT_TYPE, ptr @ERRCODE_IO_ERROR, ptr @ERRCODE_DUPLICATE_FILE, ptr @ERRCODE_INSUFFICIENT_PRIVILEGE], align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @errcode_for_file_access() local_unnamed_addr #0 { %1 = load ptr, ptr @errordata, align 8, !tbaa !5 %2 = load i64, ptr @errordata_stack_depth, align 8, !tbaa !9 %3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %2 %4 = tail call i32 (...) @CHECK_STACK_DEPTH() #2 %5 = load i32, ptr %3, align 4, !tbaa !11 %6 = add i32 %5, -128 %7 = icmp ult i32 %6, 12 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = zext nneg i32 %6 to i64 %10 = getelementptr inbounds [12 x ptr], ptr @switch.table.errcode_for_file_access, i64 0, i64 %9 %11 = load ptr, ptr %10, align 8 br label %12 12: ; preds = %0, %8 %13 = phi ptr [ %11, %8 ], [ @ERRCODE_INTERNAL_ERROR, %0 ] %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %2, i32 1 store i32 %14, ptr %15, align 4, !tbaa !15 ret i32 0 } declare i32 @CHECK_STACK_DEPTH(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0, !13, i64 4} !13 = !{!"int", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 4}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/error/extr_elog.c_errcode_for_file_access.c' source_filename = "AnghaBench/postgres/src/backend/utils/error/extr_elog.c_errcode_for_file_access.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32 } @errordata = common local_unnamed_addr global ptr null, align 8 @errordata_stack_depth = common local_unnamed_addr global i64 0, align 8 @ERRCODE_INSUFFICIENT_PRIVILEGE = common local_unnamed_addr global i32 0, align 4 @ERRCODE_UNDEFINED_FILE = common local_unnamed_addr global i32 0, align 4 @ERRCODE_DUPLICATE_FILE = common local_unnamed_addr global i32 0, align 4 @ERRCODE_WRONG_OBJECT_TYPE = common local_unnamed_addr global i32 0, align 4 @ERRCODE_DISK_FULL = common local_unnamed_addr global i32 0, align 4 @ERRCODE_INSUFFICIENT_RESOURCES = common local_unnamed_addr global i32 0, align 4 @ERRCODE_IO_ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @switch.table.errcode_for_file_access = private unnamed_addr constant [12 x ptr] [ptr @ERRCODE_INSUFFICIENT_PRIVILEGE, ptr @ERRCODE_INSUFFICIENT_PRIVILEGE, ptr @ERRCODE_WRONG_OBJECT_TYPE, ptr @ERRCODE_WRONG_OBJECT_TYPE, ptr @ERRCODE_DISK_FULL, ptr @ERRCODE_UNDEFINED_FILE, ptr @ERRCODE_INSUFFICIENT_RESOURCES, ptr @ERRCODE_INSUFFICIENT_RESOURCES, ptr @ERRCODE_WRONG_OBJECT_TYPE, ptr @ERRCODE_IO_ERROR, ptr @ERRCODE_DUPLICATE_FILE, ptr @ERRCODE_INSUFFICIENT_PRIVILEGE], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @errcode_for_file_access() local_unnamed_addr #0 { %1 = load ptr, ptr @errordata, align 8, !tbaa !6 %2 = load i64, ptr @errordata_stack_depth, align 8, !tbaa !10 %3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %2 %4 = tail call i32 @CHECK_STACK_DEPTH() #2 %5 = load i32, ptr %3, align 4, !tbaa !12 %6 = add i32 %5, -128 %7 = icmp ult i32 %6, 12 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = zext nneg i32 %6 to i64 %10 = getelementptr inbounds [12 x ptr], ptr @switch.table.errcode_for_file_access, i64 0, i64 %9 %11 = load ptr, ptr %10, align 8 br label %12 12: ; preds = %0, %8 %13 = phi ptr [ %11, %8 ], [ @ERRCODE_INTERNAL_ERROR, %0 ] %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %14, ptr %15, align 4, !tbaa !16 ret i32 0 } declare i32 @CHECK_STACK_DEPTH(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0, !14, i64 4} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 4}
postgres_src_backend_utils_error_extr_elog.c_errcode_for_file_access
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_t8_Slot_inst16b_get.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_t8_Slot_inst16b_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @Field_t8_Slot_inst16b_get], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @Field_t8_Slot_inst16b_get(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = shl i32 %2, 24 %4 = ashr i32 %3, 31 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_t8_Slot_inst16b_get.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Field_t8_Slot_inst16b_get.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 @Field_t8_Slot_inst16b_get], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 -1, 1) i32 @Field_t8_Slot_inst16b_get(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = shl i32 %2, 24 %4 = ashr i32 %3, 31 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Field_t8_Slot_inst16b_get
; ModuleID = 'AnghaBench/vlc/lib/extr_media_list_player.c_find_last_item.c' source_filename = "AnghaBench/vlc/lib/extr_media_list_player.c_find_last_item.c" target datalayout = "e-m:e-p270:32:32-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 @find_last_item], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @find_last_item(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @libvlc_media_list_sublist_at_path(ptr noundef %0, i32 noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %16, label %5 5: ; preds = %2 %6 = tail call i32 @libvlc_media_list_count(ptr noundef nonnull %3) #2 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = add nsw i32 %6, -1 %10 = tail call i32 @libvlc_media_list_path_copy_by_appending(i32 noundef %1, i32 noundef %9) #2 %11 = tail call i32 @free(i32 noundef %1) #2 %12 = tail call i32 @find_last_item(ptr noundef %0, i32 noundef %10) br label %13 13: ; preds = %8, %5 %14 = phi i32 [ %12, %8 ], [ %1, %5 ] %15 = tail call i32 @libvlc_media_list_release(ptr noundef nonnull %3) #2 br label %16 16: ; preds = %13, %2 %17 = phi i32 [ %14, %13 ], [ %1, %2 ] ret i32 %17 } declare ptr @libvlc_media_list_sublist_at_path(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @libvlc_media_list_count(ptr noundef) local_unnamed_addr #1 declare i32 @libvlc_media_list_path_copy_by_appending(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(i32 noundef) local_unnamed_addr #1 declare i32 @libvlc_media_list_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)"}
; ModuleID = 'AnghaBench/vlc/lib/extr_media_list_player.c_find_last_item.c' source_filename = "AnghaBench/vlc/lib/extr_media_list_player.c_find_last_item.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @find_last_item], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @find_last_item(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @libvlc_media_list_sublist_at_path(ptr noundef %0, i32 noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %16, label %5 5: ; preds = %2 %6 = tail call i32 @libvlc_media_list_count(ptr noundef nonnull %3) #2 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = add nsw i32 %6, -1 %10 = tail call i32 @libvlc_media_list_path_copy_by_appending(i32 noundef %1, i32 noundef %9) #2 %11 = tail call i32 @free(i32 noundef %1) #2 %12 = tail call i32 @find_last_item(ptr noundef %0, i32 noundef %10) br label %13 13: ; preds = %8, %5 %14 = phi i32 [ %12, %8 ], [ %1, %5 ] %15 = tail call i32 @libvlc_media_list_release(ptr noundef nonnull %3) #2 br label %16 16: ; preds = %13, %2 %17 = phi i32 [ %14, %13 ], [ %1, %2 ] ret i32 %17 } declare ptr @libvlc_media_list_sublist_at_path(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @libvlc_media_list_count(ptr noundef) local_unnamed_addr #1 declare i32 @libvlc_media_list_path_copy_by_appending(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free(i32 noundef) local_unnamed_addr #1 declare i32 @libvlc_media_list_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)"}
vlc_lib_extr_media_list_player.c_find_last_item
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-aimslab.c_vidioc_queryctrl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-aimslab.c_vidioc_queryctrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vidioc_queryctrl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vidioc_queryctrl(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !5 switch i32 %4, label %9 [ i32 129, label %5 i32 128, label %7 ] 5: ; preds = %3 %6 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 1) #2 br label %12 7: ; preds = %3 %8 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 255, i32 noundef 1, i32 noundef 255) #2 br label %12 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !10 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %7, %5 %13 = phi i32 [ %11, %9 ], [ %8, %7 ], [ %6, %5 ] ret i32 %13 } declare i32 @v4l2_ctrl_query_fill(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_queryctrl", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-aimslab.c_vidioc_queryctrl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/radio/extr_radio-aimslab.c_vidioc_queryctrl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vidioc_queryctrl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vidioc_queryctrl(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !6 switch i32 %4, label %9 [ i32 129, label %5 i32 128, label %7 ] 5: ; preds = %3 %6 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 1) #2 br label %12 7: ; preds = %3 %8 = tail call i32 @v4l2_ctrl_query_fill(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 255, i32 noundef 1, i32 noundef 255) #2 br label %12 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !11 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %7, %5 %13 = phi i32 [ %11, %9 ], [ %8, %7 ], [ %6, %5 ] ret i32 %13 } declare i32 @v4l2_ctrl_query_fill(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_queryctrl", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_media_radio_extr_radio-aimslab.c_vidioc_queryctrl
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_blkcipher.c_blkcipher_unmap_dst.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_blkcipher.c_blkcipher_unmap_dst.c" target datalayout = "e-m:e-p270:32:32-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 @blkcipher_unmap_dst], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @blkcipher_unmap_dst(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @scatterwalk_unmap(i32 noundef %2, i32 noundef 1) #2 ret void } declare i32 @scatterwalk_unmap(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !9, i64 0} !6 = !{!"blkcipher_walk", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_blkcipher.c_blkcipher_unmap_dst.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_blkcipher.c_blkcipher_unmap_dst.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 @blkcipher_unmap_dst], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @blkcipher_unmap_dst(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @scatterwalk_unmap(i32 noundef %2, i32 noundef 1) #2 ret void } declare i32 @scatterwalk_unmap(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !10, i64 0} !7 = !{!"blkcipher_walk", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"TYPE_3__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_crypto_extr_blkcipher.c_blkcipher_unmap_dst
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_fork.c_fork_return.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_fork.c_fork_return.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.thread = type { i32, %struct.TYPE_2__, ptr } %struct.TYPE_2__ = type { i32 } %struct.proc = type { i32, i32 } @TDB_STOPATFORK = dso_local local_unnamed_addr global i32 0, align 4 @P_TRACED = dso_local local_unnamed_addr global i32 0, align 4 @TDB_CHILD = dso_local local_unnamed_addr global i32 0, align 4 @TDB_SCX = dso_local local_unnamed_addr global i32 0, align 4 @TDB_FSTP = dso_local local_unnamed_addr global i32 0, align 4 @SIGSTOP = dso_local local_unnamed_addr global i32 0, align 4 @TDB_BORN = dso_local local_unnamed_addr global i32 0, align 4 @S_SCX = dso_local local_unnamed_addr global i32 0, align 4 @PTRACE_SCX = dso_local local_unnamed_addr global i32 0, align 4 @SIGTRAP = dso_local local_unnamed_addr global i32 0, align 4 @KTR_SYSRET = dso_local local_unnamed_addr global i32 0, align 4 @SYS_fork = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @fork_return(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = load i32, ptr @TDB_STOPATFORK, align 4, !tbaa !13 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 br i1 %8, label %35, label %9 9: ; preds = %2 %10 = tail call i32 @PROC_LOCK(ptr noundef %4) #2 %11 = load i32, ptr %4, align 4, !tbaa !14 %12 = load i32, ptr @P_TRACED, align 4, !tbaa !13 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %28, label %15 15: ; preds = %9 %16 = load i32, ptr @TDB_CHILD, align 4, !tbaa !13 %17 = load i32, ptr @TDB_SCX, align 4, !tbaa !13 %18 = or i32 %17, %16 %19 = load i32, ptr @TDB_FSTP, align 4, !tbaa !13 %20 = or i32 %18, %19 %21 = load i32, ptr %0, align 8, !tbaa !12 %22 = or i32 %20, %21 store i32 %22, ptr %0, align 8, !tbaa !12 %23 = load i32, ptr @SIGSTOP, align 4, !tbaa !13 %24 = tail call i32 @ptracestop(ptr noundef nonnull %0, i32 noundef %23, ptr noundef null) #2 %25 = load i32, ptr @TDB_CHILD, align 4, !tbaa !13 %26 = load i32, ptr @TDB_SCX, align 4, !tbaa !13 %27 = or i32 %26, %25 br label %30 28: ; preds = %9 %29 = load i32, ptr @TDB_STOPATFORK, align 4, !tbaa !13 br label %30 30: ; preds = %28, %15 %31 = phi i32 [ %29, %28 ], [ %27, %15 ] %32 = xor i32 %31, -1 %33 = load i32, ptr %0, align 8, !tbaa !12 %34 = and i32 %33, %32 br label %75 35: ; preds = %2 %36 = load i32, ptr %4, align 4, !tbaa !14 %37 = load i32, ptr @P_TRACED, align 4, !tbaa !13 %38 = and i32 %37, %36 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load i32, ptr @TDB_BORN, align 4, !tbaa !13 %42 = and i32 %41, %5 %43 = icmp eq i32 %42, 0 br i1 %43, label %78, label %44 44: ; preds = %40, %35 %45 = tail call i32 @PROC_LOCK(ptr noundef nonnull %4) #2 %46 = load i32, ptr @TDB_SCX, align 4, !tbaa !13 %47 = load i32, ptr %0, align 8, !tbaa !12 %48 = or i32 %47, %46 store i32 %48, ptr %0, align 8, !tbaa !12 %49 = load i32, ptr @S_SCX, align 4, !tbaa !13 %50 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 1 %51 = load i32, ptr %50, align 4, !tbaa !16 %52 = tail call i32 @_STOPEVENT(ptr noundef nonnull %4, i32 noundef %49, i32 noundef %51) #2 %53 = getelementptr inbounds %struct.proc, ptr %4, i64 0, i32 1 %54 = load i32, ptr %53, align 4, !tbaa !17 %55 = load i32, ptr @PTRACE_SCX, align 4, !tbaa !13 %56 = and i32 %55, %54 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %63 58: ; preds = %44 %59 = load i32, ptr %0, align 8, !tbaa !12 %60 = load i32, ptr @TDB_BORN, align 4, !tbaa !13 %61 = and i32 %60, %59 %62 = icmp eq i32 %61, 0 br i1 %62, label %68, label %63 63: ; preds = %58, %44 %64 = load i32, ptr @SIGTRAP, align 4, !tbaa !13 %65 = tail call i32 @ptracestop(ptr noundef nonnull %0, i32 noundef %64, ptr noundef null) #2 %66 = load i32, ptr @TDB_BORN, align 4, !tbaa !13 %67 = load i32, ptr %0, align 8, !tbaa !12 br label %68 68: ; preds = %63, %58 %69 = phi i32 [ %67, %63 ], [ %59, %58 ] %70 = phi i32 [ %66, %63 ], [ %60, %58 ] %71 = load i32, ptr @TDB_SCX, align 4, !tbaa !13 %72 = or i32 %70, %71 %73 = xor i32 %72, -1 %74 = and i32 %69, %73 br label %75 75: ; preds = %30, %68 %76 = phi i32 [ %74, %68 ], [ %34, %30 ] store i32 %76, ptr %0, align 8, !tbaa !12 %77 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %4) #2 br label %78 78: ; preds = %75, %40 %79 = tail call i32 @userret(ptr noundef nonnull %0, ptr noundef %1) #2 ret void } declare i32 @PROC_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ptracestop(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @_STOPEVENT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @userret(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, !11, i64 8} !6 = !{!"thread", !7, i64 0, !10, i64 4, !11, 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 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"proc", !7, i64 0, !7, i64 4} !16 = !{!6, !7, i64 4} !17 = !{!15, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_fork.c_fork_return.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_fork.c_fork_return.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TDB_STOPATFORK = common local_unnamed_addr global i32 0, align 4 @P_TRACED = common local_unnamed_addr global i32 0, align 4 @TDB_CHILD = common local_unnamed_addr global i32 0, align 4 @TDB_SCX = common local_unnamed_addr global i32 0, align 4 @TDB_FSTP = common local_unnamed_addr global i32 0, align 4 @SIGSTOP = common local_unnamed_addr global i32 0, align 4 @TDB_BORN = common local_unnamed_addr global i32 0, align 4 @S_SCX = common local_unnamed_addr global i32 0, align 4 @PTRACE_SCX = common local_unnamed_addr global i32 0, align 4 @SIGTRAP = common local_unnamed_addr global i32 0, align 4 @KTR_SYSRET = common local_unnamed_addr global i32 0, align 4 @SYS_fork = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @fork_return(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %0, align 8, !tbaa !13 %6 = load i32, ptr @TDB_STOPATFORK, align 4, !tbaa !14 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 br i1 %8, label %35, label %9 9: ; preds = %2 %10 = tail call i32 @PROC_LOCK(ptr noundef %4) #2 %11 = load i32, ptr %4, align 4, !tbaa !15 %12 = load i32, ptr @P_TRACED, align 4, !tbaa !14 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %28, label %15 15: ; preds = %9 %16 = load i32, ptr @TDB_CHILD, align 4, !tbaa !14 %17 = load i32, ptr @TDB_SCX, align 4, !tbaa !14 %18 = or i32 %17, %16 %19 = load i32, ptr @TDB_FSTP, align 4, !tbaa !14 %20 = or i32 %18, %19 %21 = load i32, ptr %0, align 8, !tbaa !13 %22 = or i32 %20, %21 store i32 %22, ptr %0, align 8, !tbaa !13 %23 = load i32, ptr @SIGSTOP, align 4, !tbaa !14 %24 = tail call i32 @ptracestop(ptr noundef nonnull %0, i32 noundef %23, ptr noundef null) #2 %25 = load i32, ptr @TDB_CHILD, align 4, !tbaa !14 %26 = load i32, ptr @TDB_SCX, align 4, !tbaa !14 %27 = or i32 %26, %25 br label %30 28: ; preds = %9 %29 = load i32, ptr @TDB_STOPATFORK, align 4, !tbaa !14 br label %30 30: ; preds = %28, %15 %31 = phi i32 [ %29, %28 ], [ %27, %15 ] %32 = xor i32 %31, -1 %33 = load i32, ptr %0, align 8, !tbaa !13 %34 = and i32 %33, %32 br label %75 35: ; preds = %2 %36 = load i32, ptr %4, align 4, !tbaa !15 %37 = load i32, ptr @P_TRACED, align 4, !tbaa !14 %38 = and i32 %37, %36 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load i32, ptr @TDB_BORN, align 4, !tbaa !14 %42 = and i32 %41, %5 %43 = icmp eq i32 %42, 0 br i1 %43, label %78, label %44 44: ; preds = %40, %35 %45 = tail call i32 @PROC_LOCK(ptr noundef nonnull %4) #2 %46 = load i32, ptr @TDB_SCX, align 4, !tbaa !14 %47 = load i32, ptr %0, align 8, !tbaa !13 %48 = or i32 %47, %46 store i32 %48, ptr %0, align 8, !tbaa !13 %49 = load i32, ptr @S_SCX, align 4, !tbaa !14 %50 = getelementptr inbounds i8, ptr %0, i64 4 %51 = load i32, ptr %50, align 4, !tbaa !17 %52 = tail call i32 @_STOPEVENT(ptr noundef nonnull %4, i32 noundef %49, i32 noundef %51) #2 %53 = getelementptr inbounds i8, ptr %4, i64 4 %54 = load i32, ptr %53, align 4, !tbaa !18 %55 = load i32, ptr @PTRACE_SCX, align 4, !tbaa !14 %56 = and i32 %55, %54 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %63 58: ; preds = %44 %59 = load i32, ptr %0, align 8, !tbaa !13 %60 = load i32, ptr @TDB_BORN, align 4, !tbaa !14 %61 = and i32 %60, %59 %62 = icmp eq i32 %61, 0 br i1 %62, label %68, label %63 63: ; preds = %58, %44 %64 = load i32, ptr @SIGTRAP, align 4, !tbaa !14 %65 = tail call i32 @ptracestop(ptr noundef nonnull %0, i32 noundef %64, ptr noundef null) #2 %66 = load i32, ptr @TDB_BORN, align 4, !tbaa !14 %67 = load i32, ptr %0, align 8, !tbaa !13 br label %68 68: ; preds = %63, %58 %69 = phi i32 [ %67, %63 ], [ %59, %58 ] %70 = phi i32 [ %66, %63 ], [ %60, %58 ] %71 = load i32, ptr @TDB_SCX, align 4, !tbaa !14 %72 = or i32 %70, %71 %73 = xor i32 %72, -1 %74 = and i32 %69, %73 br label %75 75: ; preds = %30, %68 %76 = phi i32 [ %74, %68 ], [ %34, %30 ] store i32 %76, ptr %0, align 8, !tbaa !13 %77 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %4) #2 br label %78 78: ; preds = %75, %40 %79 = tail call i32 @userret(ptr noundef nonnull %0, ptr noundef %1) #2 ret void } declare i32 @PROC_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ptracestop(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @_STOPEVENT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @userret(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, !12, i64 8} !7 = !{!"thread", !8, i64 0, !11, i64 4, !12, 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 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"proc", !8, i64 0, !8, i64 4} !17 = !{!7, !8, i64 4} !18 = !{!16, !8, i64 4}
freebsd_sys_kern_extr_kern_fork.c_fork_return
; ModuleID = 'AnghaBench/linux/tools/bpf/bpftool/extr_map.c_print_key_value.c' source_filename = "AnghaBench/linux/tools/bpf/bpftool/extr_map.c_print_key_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.btf_dumper = type { i32, ptr, ptr } @.str = private unnamed_addr constant [18 x i8] c"failed to get btf\00", align 1 @json_output = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [67 x i8] c"failed to create json writer for btf. falling back to plain output\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_key_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @print_key_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.btf_dumper, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !5 %7 = load i32, ptr %0, align 4, !tbaa !9 %8 = call i32 @btf__get_from_id(i32 noundef %7, ptr noundef nonnull %5) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %3 %11 = call i32 @p_err(ptr noundef nonnull @.str) #3 br label %39 12: ; preds = %3 %13 = load i64, ptr @json_output, align 8, !tbaa !12 %14 = icmp eq i64 %13, 0 %15 = load ptr, ptr %5, align 8, !tbaa !5 br i1 %14, label %18, label %16 16: ; preds = %12 %17 = call i32 @print_entry_json(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %15) #3 br label %36 18: ; preds = %12 %19 = icmp eq ptr %15, null br i1 %19, label %34, label %20 20: ; preds = %18 %21 = call ptr (...) @get_btf_writer() #3 store ptr %21, ptr %4, align 8, !tbaa !5 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %20 %24 = call i32 @p_info(ptr noundef nonnull @.str.1) #3 %25 = load ptr, ptr %5, align 8, !tbaa !5 %26 = call i32 @btf__free(ptr noundef %25) #3 store ptr null, ptr %5, align 8, !tbaa !5 %27 = call i32 @print_entry_plain(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #3 br label %36 28: ; preds = %20 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3 store i32 1, ptr %6, align 8, !tbaa !14 %29 = getelementptr inbounds %struct.btf_dumper, ptr %6, i64 0, i32 1 store ptr %21, ptr %29, align 8, !tbaa !16 %30 = getelementptr inbounds %struct.btf_dumper, ptr %6, i64 0, i32 2 %31 = load ptr, ptr %5, align 8, !tbaa !5 store ptr %31, ptr %30, align 8, !tbaa !17 %32 = call i32 @do_dump_btf(ptr noundef nonnull %6, ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #3 %33 = call i32 @jsonw_destroy(ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3 br label %36 34: ; preds = %18 %35 = call i32 @print_entry_plain(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #3 br label %36 36: ; preds = %34, %28, %23, %16 %37 = load ptr, ptr %5, align 8, !tbaa !5 %38 = call i32 @btf__free(ptr noundef %37) #3 br label %39 39: ; preds = %36, %10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret 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 @btf__get_from_id(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @p_err(ptr noundef) local_unnamed_addr #2 declare i32 @print_entry_json(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @get_btf_writer(...) local_unnamed_addr #2 declare i32 @p_info(ptr noundef) local_unnamed_addr #2 declare i32 @btf__free(ptr noundef) local_unnamed_addr #2 declare i32 @print_entry_plain(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @do_dump_btf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jsonw_destroy(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"bpf_map_info", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"btf_dumper", !11, i64 0, !6, i64 8, !6, i64 16} !16 = !{!15, !6, i64 8} !17 = !{!15, !6, i64 16}
; ModuleID = 'AnghaBench/linux/tools/bpf/bpftool/extr_map.c_print_key_value.c' source_filename = "AnghaBench/linux/tools/bpf/bpftool/extr_map.c_print_key_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.btf_dumper = type { i32, ptr, ptr } @.str = private unnamed_addr constant [18 x i8] c"failed to get btf\00", align 1 @json_output = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [67 x i8] c"failed to create json writer for btf. falling back to plain output\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_key_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @print_key_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.btf_dumper, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !6 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = call i32 @btf__get_from_id(i32 noundef %7, ptr noundef nonnull %5) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %3 %11 = call i32 @p_err(ptr noundef nonnull @.str) #3 br label %39 12: ; preds = %3 %13 = load i64, ptr @json_output, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 %15 = load ptr, ptr %5, align 8, !tbaa !6 br i1 %14, label %18, label %16 16: ; preds = %12 %17 = call i32 @print_entry_json(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %15) #3 br label %36 18: ; preds = %12 %19 = icmp eq ptr %15, null br i1 %19, label %34, label %20 20: ; preds = %18 %21 = call ptr @get_btf_writer() #3 store ptr %21, ptr %4, align 8, !tbaa !6 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %20 %24 = call i32 @p_info(ptr noundef nonnull @.str.1) #3 %25 = load ptr, ptr %5, align 8, !tbaa !6 %26 = call i32 @btf__free(ptr noundef %25) #3 store ptr null, ptr %5, align 8, !tbaa !6 %27 = call i32 @print_entry_plain(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #3 br label %36 28: ; preds = %20 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3 store i32 1, ptr %6, align 8, !tbaa !15 %29 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %21, ptr %29, align 8, !tbaa !17 %30 = getelementptr inbounds i8, ptr %6, i64 16 %31 = load ptr, ptr %5, align 8, !tbaa !6 store ptr %31, ptr %30, align 8, !tbaa !18 %32 = call i32 @do_dump_btf(ptr noundef nonnull %6, ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #3 %33 = call i32 @jsonw_destroy(ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3 br label %36 34: ; preds = %18 %35 = call i32 @print_entry_plain(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #3 br label %36 36: ; preds = %34, %28, %23, %16 %37 = load ptr, ptr %5, align 8, !tbaa !6 %38 = call i32 @btf__free(ptr noundef %37) #3 br label %39 39: ; preds = %36, %10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret 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 @btf__get_from_id(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @p_err(ptr noundef) local_unnamed_addr #2 declare i32 @print_entry_json(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @get_btf_writer(...) local_unnamed_addr #2 declare i32 @p_info(ptr noundef) local_unnamed_addr #2 declare i32 @btf__free(ptr noundef) local_unnamed_addr #2 declare i32 @print_entry_plain(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @do_dump_btf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jsonw_destroy(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"bpf_map_info", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"btf_dumper", !12, i64 0, !7, i64 8, !7, i64 16} !17 = !{!16, !7, i64 8} !18 = !{!16, !7, i64 16}
linux_tools_bpf_bpftool_extr_map.c_print_key_value
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_adp8870_bl.c_adp8870_bl_ambient_light_zone_store.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_adp8870_bl.c_adp8870_bl_ambient_light_zone_store.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.adp8870_bl = type { i32, i32 } @ADP8870_MDCR = dso_local local_unnamed_addr global i32 0, align 4 @CMP_AUTOEN = dso_local local_unnamed_addr global i32 0, align 4 @ADP8870_CFGR = dso_local local_unnamed_addr global i32 0, align 4 @CFGR_BLV_MASK = dso_local local_unnamed_addr global i64 0, align 8 @CFGR_BLV_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @adp8870_bl_ambient_light_zone_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @adp8870_bl_ambient_light_zone_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %8 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %50 10: ; preds = %4 %11 = load i64, ptr %5, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = getelementptr inbounds %struct.adp8870_bl, ptr %7, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !5 %16 = load i32, ptr @ADP8870_MDCR, align 4, !tbaa !10 %17 = load i32, ptr @CMP_AUTOEN, align 4, !tbaa !10 %18 = call i32 @adp8870_set_bits(i32 noundef %15, i32 noundef %16, i32 noundef %17) #3 br label %48 19: ; preds = %10 %20 = icmp ult i64 %11, 6 br i1 %20, label %21, label %48 21: ; preds = %19 %22 = getelementptr inbounds %struct.adp8870_bl, ptr %7, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !5 %24 = load i32, ptr @ADP8870_MDCR, align 4, !tbaa !10 %25 = load i32, ptr @CMP_AUTOEN, align 4, !tbaa !10 %26 = call i32 @adp8870_clr_bits(i32 noundef %23, i32 noundef %24, i32 noundef %25) #3 %27 = call i32 @mutex_lock(ptr noundef %7) #3 %28 = load i32, ptr %22, align 4, !tbaa !5 %29 = load i32, ptr @ADP8870_CFGR, align 4, !tbaa !10 %30 = call i32 @adp8870_read(i32 noundef %28, i32 noundef %29, ptr noundef nonnull %6) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %46 32: ; preds = %21 %33 = load i64, ptr @CFGR_BLV_MASK, align 8, !tbaa !11 %34 = load i64, ptr @CFGR_BLV_SHIFT, align 8, !tbaa !11 %35 = shl i64 %33, %34 %36 = xor i64 %35, -1 %37 = load i64, ptr %6, align 8, !tbaa !11 %38 = and i64 %37, %36 %39 = load i64, ptr %5, align 8, !tbaa !11 %40 = add i64 %39, -1 %41 = shl i64 %40, %34 %42 = or i64 %41, %38 store i64 %42, ptr %6, align 8, !tbaa !11 %43 = load i32, ptr %22, align 4, !tbaa !5 %44 = load i32, ptr @ADP8870_CFGR, align 4, !tbaa !10 %45 = call i32 @adp8870_write(i32 noundef %43, i32 noundef %44, i64 noundef %42) #3 br label %46 46: ; preds = %32, %21 %47 = call i32 @mutex_unlock(ptr noundef nonnull %7) #3 br label %48 48: ; preds = %19, %46, %13 %49 = trunc i64 %3 to i32 br label %50 50: ; preds = %4, %48 %51 = phi i32 [ %49, %48 ], [ %8, %4 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @adp8870_set_bits(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @adp8870_clr_bits(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @adp8870_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @adp8870_write(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(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 4} !6 = !{!"adp8870_bl", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_adp8870_bl.c_adp8870_bl_ambient_light_zone_store.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_adp8870_bl.c_adp8870_bl_ambient_light_zone_store.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADP8870_MDCR = common local_unnamed_addr global i32 0, align 4 @CMP_AUTOEN = common local_unnamed_addr global i32 0, align 4 @ADP8870_CFGR = common local_unnamed_addr global i32 0, align 4 @CFGR_BLV_MASK = common local_unnamed_addr global i64 0, align 8 @CFGR_BLV_SHIFT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @adp8870_bl_ambient_light_zone_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @adp8870_bl_ambient_light_zone_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %8 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %50 10: ; preds = %4 %11 = load i64, ptr %5, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = getelementptr inbounds i8, ptr %7, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !6 %16 = load i32, ptr @ADP8870_MDCR, align 4, !tbaa !11 %17 = load i32, ptr @CMP_AUTOEN, align 4, !tbaa !11 %18 = call i32 @adp8870_set_bits(i32 noundef %15, i32 noundef %16, i32 noundef %17) #3 br label %48 19: ; preds = %10 %20 = icmp ult i64 %11, 6 br i1 %20, label %21, label %48 21: ; preds = %19 %22 = getelementptr inbounds i8, ptr %7, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !6 %24 = load i32, ptr @ADP8870_MDCR, align 4, !tbaa !11 %25 = load i32, ptr @CMP_AUTOEN, align 4, !tbaa !11 %26 = call i32 @adp8870_clr_bits(i32 noundef %23, i32 noundef %24, i32 noundef %25) #3 %27 = call i32 @mutex_lock(ptr noundef %7) #3 %28 = load i32, ptr %22, align 4, !tbaa !6 %29 = load i32, ptr @ADP8870_CFGR, align 4, !tbaa !11 %30 = call i32 @adp8870_read(i32 noundef %28, i32 noundef %29, ptr noundef nonnull %6) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %46 32: ; preds = %21 %33 = load i64, ptr @CFGR_BLV_MASK, align 8, !tbaa !12 %34 = load i64, ptr @CFGR_BLV_SHIFT, align 8, !tbaa !12 %35 = shl i64 %33, %34 %36 = xor i64 %35, -1 %37 = load i64, ptr %6, align 8, !tbaa !12 %38 = and i64 %37, %36 %39 = load i64, ptr %5, align 8, !tbaa !12 %40 = add i64 %39, -1 %41 = shl i64 %40, %34 %42 = or i64 %41, %38 store i64 %42, ptr %6, align 8, !tbaa !12 %43 = load i32, ptr %22, align 4, !tbaa !6 %44 = load i32, ptr @ADP8870_CFGR, align 4, !tbaa !11 %45 = call i32 @adp8870_write(i32 noundef %43, i32 noundef %44, i64 noundef %42) #3 br label %46 46: ; preds = %32, %21 %47 = call i32 @mutex_unlock(ptr noundef nonnull %7) #3 br label %48 48: ; preds = %19, %46, %13 %49 = trunc i64 %3 to i32 br label %50 50: ; preds = %4, %48 %51 = phi i32 [ %49, %48 ], [ %8, %4 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @adp8870_set_bits(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @adp8870_clr_bits(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @adp8870_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @adp8870_write(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"adp8870_bl", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0}
linux_drivers_video_backlight_extr_adp8870_bl.c_adp8870_bl_ambient_light_zone_store
; ModuleID = 'AnghaBench/RetroArch/input/connect/extr_connect_ps4.c_hidpad_ps4_send_control.c' source_filename = "AnghaBench/RetroArch/input/connect/extr_connect_ps4.c_hidpad_ps4_send_control.c" target datalayout = "e-m:e-p270:32:32-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.hidpad_ps4_data = type { i32, i32, ptr } @hidpad_ps4_send_control.report_buffer = internal global <{ i32, i32, i32, i32, i32, [74 x i32] }> <{ i32 82, i32 17, i32 176, i32 0, i32 15, [74 x i32] zeroinitializer }>, align 16 @llvm.compiler.used = appending global [1 x ptr] [ptr @hidpad_ps4_send_control], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hidpad_ps4_send_control(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.hidpad_ps4_data, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.hidpad_ps4_data, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = tail call i32 %4(i32 noundef %6, ptr noundef nonnull @hidpad_ps4_send_control.report_buffer, i32 noundef 316) #1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"hidpad_ps4_data", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_2__", !10, i64 0} !13 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/RetroArch/input/connect/extr_connect_ps4.c_hidpad_ps4_send_control.c' source_filename = "AnghaBench/RetroArch/input/connect/extr_connect_ps4.c_hidpad_ps4_send_control.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @hidpad_ps4_send_control.report_buffer = internal global <{ i32, i32, i32, i32, i32, [74 x i32] }> <{ i32 82, i32 17, i32 176, i32 0, i32 15, [74 x i32] zeroinitializer }>, align 4 @llvm.used = appending global [1 x ptr] [ptr @hidpad_ps4_send_control], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hidpad_ps4_send_control(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 ptr, ptr %3, align 8, !tbaa !12 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !14 %7 = tail call i32 %4(i32 noundef %6, ptr noundef nonnull @hidpad_ps4_send_control.report_buffer, i32 noundef 316) #1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"hidpad_ps4_data", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0} !14 = !{!7, !8, i64 4}
RetroArch_input_connect_extr_connect_ps4.c_hidpad_ps4_send_control
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/boot/extr_zfcpdump.c_s390_to_lkcd_hdr.c' source_filename = "AnghaBench/fastsocket/kernel/arch/s390/boot/extr_zfcpdump.c_s390_to_lkcd_hdr.c" target datalayout = "e-m:e-p270:32:32-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.dump_hdr_s390 = type { i32, i64, i64, i32, i32, i32, i32, i32, i32 } %struct.dump_hdr_lkcd = type { i32, %struct.TYPE_2__, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_2__ = type { i32, i32 } @.str = private unnamed_addr constant [30 x i8] c"zSeries-dump (CPUID = %16llx)\00", align 1 @DH_ARCH_ID_S390 = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"s390\00", align 1 @DH_ARCH_ID_S390X = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [6 x i8] c"s390x\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"<unknown>\00", align 1 @DUMP_MAGIC_NUMBER = dso_local local_unnamed_addr global i32 0, align 4 @DUMP_VERSION_NUMBER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @s390_to_lkcd_hdr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @s390_to_lkcd_hdr(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.dump_hdr_s390, ptr %0, i64 0, i32 7 %5 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 15 %6 = load <2 x i32>, ptr %4, align 8, !tbaa !11 store <2 x i32> %6, ptr %5, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.dump_hdr_s390, ptr %0, i64 0, i32 3 %8 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 11 %9 = load <4 x i32>, ptr %7, align 8, !tbaa !11 store <4 x i32> %9, ptr %8, align 4, !tbaa !11 %10 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 10 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = getelementptr inbounds %struct.dump_hdr_s390, ptr %0, i64 0, i32 2 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = tail call i32 @sprintf(i32 noundef %11, ptr noundef nonnull @.str, i64 noundef %13) #2 %15 = getelementptr inbounds %struct.dump_hdr_s390, ptr %0, i64 0, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = load i64, ptr @DH_ARCH_ID_S390, align 8, !tbaa !17 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %23 19: ; preds = %2 %20 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 9 %21 = load i32, ptr %20, align 4, !tbaa !18 %22 = tail call i32 @strcpy(i32 noundef %21, ptr noundef nonnull @.str.1) #2 br label %32 23: ; preds = %2 %24 = load i64, ptr @DH_ARCH_ID_S390X, align 8, !tbaa !17 %25 = icmp eq i64 %16, %24 %26 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 9 %27 = load i32, ptr %26, align 4, !tbaa !18 br i1 %25, label %28, label %30 28: ; preds = %23 %29 = tail call i32 @strcpy(i32 noundef %27, ptr noundef nonnull @.str.2) #2 br label %32 30: ; preds = %23 %31 = tail call i32 @strcpy(i32 noundef %27, ptr noundef nonnull @.str.3) #2 br label %32 32: ; preds = %28, %30, %19 %33 = add i32 %3, 905969664 %34 = ashr i32 %33, 12 %35 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 8 %36 = load i32, ptr %35, align 4, !tbaa !19 %37 = tail call i32 @strcpy(i32 noundef %36, ptr noundef nonnull @.str.3) #2 %38 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 7 %39 = load i32, ptr %38, align 4, !tbaa !20 %40 = tail call i32 @strcpy(i32 noundef %39, ptr noundef nonnull @.str.3) #2 %41 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 6 %42 = load i32, ptr %41, align 4, !tbaa !21 %43 = tail call i32 @strcpy(i32 noundef %42, ptr noundef nonnull @.str.3) #2 %44 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 5 %45 = load i32, ptr %44, align 4, !tbaa !22 %46 = tail call i32 @strcpy(i32 noundef %45, ptr noundef nonnull @.str.3) #2 %47 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 4 %48 = load i32, ptr %47, align 4, !tbaa !23 %49 = tail call i32 @strcpy(i32 noundef %48, ptr noundef nonnull @.str.3) #2 %50 = load i32, ptr @DUMP_MAGIC_NUMBER, align 4, !tbaa !11 %51 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 3 store i32 %50, ptr %51, align 4, !tbaa !24 %52 = load i32, ptr @DUMP_VERSION_NUMBER, align 4, !tbaa !11 %53 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 2 store i32 %52, ptr %53, align 4, !tbaa !25 store i32 72, ptr %1, align 4, !tbaa !26 %54 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 1 store i32 0, ptr %54, align 4, !tbaa !27 %55 = getelementptr inbounds %struct.dump_hdr_lkcd, ptr %1, i64 0, i32 1, i32 1 store i32 %34, ptr %55, align 4, !tbaa !28 ret void } declare i32 @sprintf(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @strcpy(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 = !{!"dump_hdr_s390", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 44} !13 = !{!"dump_hdr_lkcd", !7, i64 0, !14, i64 4, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68} !14 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !15 = !{!6, !10, i64 16} !16 = !{!6, !10, i64 8} !17 = !{!10, !10, i64 0} !18 = !{!13, !7, i64 40} !19 = !{!13, !7, i64 36} !20 = !{!13, !7, i64 32} !21 = !{!13, !7, i64 28} !22 = !{!13, !7, i64 24} !23 = !{!13, !7, i64 20} !24 = !{!13, !7, i64 16} !25 = !{!13, !7, i64 12} !26 = !{!13, !7, i64 0} !27 = !{!13, !7, i64 4} !28 = !{!13, !7, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/boot/extr_zfcpdump.c_s390_to_lkcd_hdr.c' source_filename = "AnghaBench/fastsocket/kernel/arch/s390/boot/extr_zfcpdump.c_s390_to_lkcd_hdr.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 [30 x i8] c"zSeries-dump (CPUID = %16llx)\00", align 1 @DH_ARCH_ID_S390 = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"s390\00", align 1 @DH_ARCH_ID_S390X = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [6 x i8] c"s390x\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"<unknown>\00", align 1 @DUMP_MAGIC_NUMBER = common local_unnamed_addr global i32 0, align 4 @DUMP_VERSION_NUMBER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @s390_to_lkcd_hdr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @s390_to_lkcd_hdr(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 40 %5 = getelementptr inbounds i8, ptr %1, i64 64 %6 = load <2 x i32>, ptr %4, align 8, !tbaa !12 store <2 x i32> %6, ptr %5, align 4, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = getelementptr inbounds i8, ptr %1, i64 48 %9 = load <4 x i32>, ptr %7, align 8, !tbaa !12 store <4 x i32> %9, ptr %8, align 4, !tbaa !12 %10 = getelementptr inbounds i8, ptr %1, i64 44 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = getelementptr inbounds i8, ptr %0, i64 16 %13 = load i64, ptr %12, align 8, !tbaa !16 %14 = tail call i32 @sprintf(i32 noundef %11, ptr noundef nonnull @.str, i64 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i64, ptr %15, align 8, !tbaa !17 %17 = load i64, ptr @DH_ARCH_ID_S390, align 8, !tbaa !18 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %23 19: ; preds = %2 %20 = getelementptr inbounds i8, ptr %1, i64 40 %21 = load i32, ptr %20, align 4, !tbaa !19 %22 = tail call i32 @strcpy(i32 noundef %21, ptr noundef nonnull @.str.1) #2 br label %32 23: ; preds = %2 %24 = load i64, ptr @DH_ARCH_ID_S390X, align 8, !tbaa !18 %25 = icmp eq i64 %16, %24 %26 = getelementptr inbounds i8, ptr %1, i64 40 %27 = load i32, ptr %26, align 4, !tbaa !19 br i1 %25, label %28, label %30 28: ; preds = %23 %29 = tail call i32 @strcpy(i32 noundef %27, ptr noundef nonnull @.str.2) #2 br label %32 30: ; preds = %23 %31 = tail call i32 @strcpy(i32 noundef %27, ptr noundef nonnull @.str.3) #2 br label %32 32: ; preds = %28, %30, %19 %33 = add i32 %3, 905969664 %34 = ashr i32 %33, 12 %35 = getelementptr inbounds i8, ptr %1, i64 36 %36 = load i32, ptr %35, align 4, !tbaa !20 %37 = tail call i32 @strcpy(i32 noundef %36, ptr noundef nonnull @.str.3) #2 %38 = getelementptr inbounds i8, ptr %1, i64 32 %39 = load i32, ptr %38, align 4, !tbaa !21 %40 = tail call i32 @strcpy(i32 noundef %39, ptr noundef nonnull @.str.3) #2 %41 = getelementptr inbounds i8, ptr %1, i64 28 %42 = load i32, ptr %41, align 4, !tbaa !22 %43 = tail call i32 @strcpy(i32 noundef %42, ptr noundef nonnull @.str.3) #2 %44 = getelementptr inbounds i8, ptr %1, i64 24 %45 = load i32, ptr %44, align 4, !tbaa !23 %46 = tail call i32 @strcpy(i32 noundef %45, ptr noundef nonnull @.str.3) #2 %47 = getelementptr inbounds i8, ptr %1, i64 20 %48 = load i32, ptr %47, align 4, !tbaa !24 %49 = tail call i32 @strcpy(i32 noundef %48, ptr noundef nonnull @.str.3) #2 %50 = load i32, ptr @DUMP_MAGIC_NUMBER, align 4, !tbaa !12 %51 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %50, ptr %51, align 4, !tbaa !25 %52 = load i32, ptr @DUMP_VERSION_NUMBER, align 4, !tbaa !12 %53 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %52, ptr %53, align 4, !tbaa !26 store <2 x i32> <i32 72, i32 0>, ptr %1, align 4, !tbaa !12 %54 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %34, ptr %54, align 4, !tbaa !27 ret void } declare i32 @sprintf(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @strcpy(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 = !{!"dump_hdr_s390", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 44} !14 = !{!"dump_hdr_lkcd", !8, i64 0, !15, i64 4, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68} !15 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !16 = !{!7, !11, i64 16} !17 = !{!7, !11, i64 8} !18 = !{!11, !11, i64 0} !19 = !{!14, !8, i64 40} !20 = !{!14, !8, i64 36} !21 = !{!14, !8, i64 32} !22 = !{!14, !8, i64 28} !23 = !{!14, !8, i64 24} !24 = !{!14, !8, i64 20} !25 = !{!14, !8, i64 16} !26 = !{!14, !8, i64 12} !27 = !{!14, !8, i64 8}
fastsocket_kernel_arch_s390_boot_extr_zfcpdump.c_s390_to_lkcd_hdr
; ModuleID = 'AnghaBench/linux/drivers/scsi/libsas/extr_sas_scsi_host.c_sas_slave_configure.c' source_filename = "AnghaBench/linux/drivers/scsi/libsas/extr_sas_scsi_host.c_sas_slave_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.domain_device = type { i32, %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { i32 } %struct.scsi_device = type { i32, i32, i64 } @SAS_END_DEVICE = dso_local local_unnamed_addr global i64 0, align 8 @SAS_DEF_QD = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"device %llx, LUN %llx doesn't support TCQ\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @sas_slave_configure(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @sdev_to_domain_dev(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.domain_device, ptr %2, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr %4, align 8, !tbaa !12 %6 = load i64, ptr @SAS_END_DEVICE, align 8, !tbaa !16 %7 = icmp ne i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i32 @BUG_ON(i32 noundef %8) #2 %10 = tail call i64 @dev_is_sata(ptr noundef %2) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %1 %13 = getelementptr inbounds %struct.domain_device, ptr %2, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !17 %15 = tail call i32 @ata_sas_slave_configure(ptr noundef %0, i32 noundef %14) #2 br label %32 16: ; preds = %1 %17 = tail call i32 @sas_read_port_mode_page(ptr noundef %0) #2 %18 = getelementptr inbounds %struct.scsi_device, ptr %0, i64 0, i32 2 %19 = load i64, ptr %18, align 8, !tbaa !18 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %16 %22 = load i32, ptr @SAS_DEF_QD, align 4, !tbaa !20 br label %29 23: ; preds = %16 %24 = load i32, ptr %2, align 8, !tbaa !21 %25 = tail call i32 @SAS_ADDR(i32 noundef %24) #2 %26 = getelementptr inbounds %struct.scsi_device, ptr %0, i64 0, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !22 %28 = tail call i32 @pr_notice(ptr noundef nonnull @.str, i32 noundef %25, i32 noundef %27) #2 br label %29 29: ; preds = %23, %21 %30 = phi i32 [ 1, %23 ], [ %22, %21 ] %31 = tail call i32 @scsi_change_queue_depth(ptr noundef nonnull %0, i32 noundef %30) #2 store i32 1, ptr %0, align 8, !tbaa !23 br label %32 32: ; preds = %29, %12 ret i32 0 } declare ptr @sdev_to_domain_dev(ptr noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @dev_is_sata(ptr noundef) local_unnamed_addr #1 declare i32 @ata_sas_slave_configure(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sas_read_port_mode_page(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_change_queue_depth(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_notice(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SAS_ADDR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"domain_device", !7, i64 0, !10, i64 4, !11, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !7, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !15, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!6, !7, i64 4} !18 = !{!19, !15, i64 8} !19 = !{!"scsi_device", !7, i64 0, !7, i64 4, !15, i64 8} !20 = !{!7, !7, i64 0} !21 = !{!6, !7, i64 0} !22 = !{!19, !7, i64 4} !23 = !{!19, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/libsas/extr_sas_scsi_host.c_sas_slave_configure.c' source_filename = "AnghaBench/linux/drivers/scsi/libsas/extr_sas_scsi_host.c_sas_slave_configure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SAS_END_DEVICE = common local_unnamed_addr global i64 0, align 8 @SAS_DEF_QD = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"device %llx, LUN %llx doesn't support TCQ\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @sas_slave_configure(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @sdev_to_domain_dev(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr %4, align 8, !tbaa !13 %6 = load i64, ptr @SAS_END_DEVICE, align 8, !tbaa !17 %7 = icmp ne i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i32 @BUG_ON(i32 noundef %8) #2 %10 = tail call i64 @dev_is_sata(ptr noundef %2) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %1 %13 = getelementptr inbounds i8, ptr %2, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !18 %15 = tail call i32 @ata_sas_slave_configure(ptr noundef %0, i32 noundef %14) #2 br label %32 16: ; preds = %1 %17 = tail call i32 @sas_read_port_mode_page(ptr noundef %0) #2 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !19 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %16 %22 = load i32, ptr @SAS_DEF_QD, align 4, !tbaa !21 br label %29 23: ; preds = %16 %24 = load i32, ptr %2, align 8, !tbaa !22 %25 = tail call i32 @SAS_ADDR(i32 noundef %24) #2 %26 = getelementptr inbounds i8, ptr %0, i64 4 %27 = load i32, ptr %26, align 4, !tbaa !23 %28 = tail call i32 @pr_notice(ptr noundef nonnull @.str, i32 noundef %25, i32 noundef %27) #2 br label %29 29: ; preds = %23, %21 %30 = phi i32 [ 1, %23 ], [ %22, %21 ] %31 = tail call i32 @scsi_change_queue_depth(ptr noundef nonnull %0, i32 noundef %30) #2 store i32 1, ptr %0, align 8, !tbaa !24 br label %32 32: ; preds = %29, %12 ret i32 0 } declare ptr @sdev_to_domain_dev(ptr noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i64 @dev_is_sata(ptr noundef) local_unnamed_addr #1 declare i32 @ata_sas_slave_configure(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sas_read_port_mode_page(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_change_queue_depth(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_notice(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SAS_ADDR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"domain_device", !8, i64 0, !11, i64 4, !12, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !8, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !16, i64 0} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!16, !16, i64 0} !18 = !{!7, !8, i64 4} !19 = !{!20, !16, i64 8} !20 = !{!"scsi_device", !8, i64 0, !8, i64 4, !16, i64 8} !21 = !{!8, !8, i64 0} !22 = !{!7, !8, i64 0} !23 = !{!20, !8, i64 4} !24 = !{!20, !8, i64 0}
linux_drivers_scsi_libsas_extr_sas_scsi_host.c_sas_slave_configure
; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_elantech.c_process_packet_motion_v4.c' source_filename = "AnghaBench/linux/drivers/input/mouse/extr_elantech.c_process_packet_motion_v4.c" target datalayout = "e-m:e-p270:32:32-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.psmouse = type { ptr, ptr, ptr } %struct.TYPE_2__ = type { i32, i32 } @ETP_WEIGHT_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @ABS_MT_POSITION_X = dso_local local_unnamed_addr global i32 0, align 4 @ABS_MT_POSITION_Y = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @process_packet_motion_v4], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @process_packet_motion_v4(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.psmouse, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.psmouse, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load ptr, ptr %0, align 8, !tbaa !11 %7 = load i8, ptr %6, align 1, !tbaa !12 %8 = icmp ult i8 %7, 32 br i1 %8, label %80, label %9 9: ; preds = %1 %10 = zext i8 %7 to i32 %11 = lshr i32 %10, 5 %12 = add nsw i32 %11, -1 %13 = getelementptr inbounds i8, ptr %6, i64 3 %14 = load i8, ptr %13, align 1, !tbaa !12 %15 = and i32 %10, 16 %16 = icmp eq i32 %15, 0 %17 = load i32, ptr @ETP_WEIGHT_VALUE, align 4 %18 = select i1 %16, i32 1, i32 %17 %19 = getelementptr inbounds i8, ptr %6, i64 1 %20 = load i8, ptr %19, align 1, !tbaa !12 %21 = sext i8 %20 to i32 %22 = getelementptr inbounds i8, ptr %6, i64 2 %23 = load i8, ptr %22, align 1, !tbaa !12 %24 = sext i8 %23 to i32 %25 = getelementptr inbounds i8, ptr %6, i64 4 %26 = load i8, ptr %25, align 1, !tbaa !12 %27 = getelementptr inbounds i8, ptr %6, i64 5 %28 = load i8, ptr %27, align 1, !tbaa !12 %29 = mul nsw i32 %18, %21 %30 = load ptr, ptr %5, align 8, !tbaa !13 %31 = zext nneg i32 %12 to i64 %32 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %31 %33 = load i32, ptr %32, align 4, !tbaa !15 %34 = add nsw i32 %33, %29 store i32 %34, ptr %32, align 4, !tbaa !15 %35 = mul nsw i32 %18, %24 %36 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %31, i32 1 %37 = load i32, ptr %36, align 4, !tbaa !18 %38 = sub nsw i32 %37, %35 store i32 %38, ptr %36, align 4, !tbaa !18 %39 = tail call i32 @input_mt_slot(ptr noundef %3, i32 noundef %12) #2 %40 = load i32, ptr @ABS_MT_POSITION_X, align 4, !tbaa !19 %41 = load ptr, ptr %5, align 8, !tbaa !13 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 %31 %43 = load i32, ptr %42, align 4, !tbaa !15 %44 = tail call i32 @input_report_abs(ptr noundef %3, i32 noundef %40, i32 noundef %43) #2 %45 = load i32, ptr @ABS_MT_POSITION_Y, align 4, !tbaa !19 %46 = load ptr, ptr %5, align 8, !tbaa !13 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i64 %31, i32 1 %48 = load i32, ptr %47, align 4, !tbaa !18 %49 = tail call i32 @input_report_abs(ptr noundef %3, i32 noundef %45, i32 noundef %48) #2 %50 = icmp ult i8 %14, 32 br i1 %50, label %78, label %51 51: ; preds = %9 %52 = lshr i8 %14, 5 %53 = zext nneg i8 %52 to i32 %54 = add nsw i32 %53, -1 %55 = sext i8 %28 to i32 %56 = sext i8 %26 to i32 %57 = mul nsw i32 %18, %56 %58 = load ptr, ptr %5, align 8, !tbaa !13 %59 = zext nneg i32 %54 to i64 %60 = getelementptr inbounds %struct.TYPE_2__, ptr %58, i64 %59 %61 = load i32, ptr %60, align 4, !tbaa !15 %62 = add nsw i32 %61, %57 store i32 %62, ptr %60, align 4, !tbaa !15 %63 = mul nsw i32 %18, %55 %64 = getelementptr inbounds %struct.TYPE_2__, ptr %58, i64 %59, i32 1 %65 = load i32, ptr %64, align 4, !tbaa !18 %66 = sub nsw i32 %65, %63 store i32 %66, ptr %64, align 4, !tbaa !18 %67 = tail call i32 @input_mt_slot(ptr noundef %3, i32 noundef %54) #2 %68 = load i32, ptr @ABS_MT_POSITION_X, align 4, !tbaa !19 %69 = load ptr, ptr %5, align 8, !tbaa !13 %70 = getelementptr inbounds %struct.TYPE_2__, ptr %69, i64 %59 %71 = load i32, ptr %70, align 4, !tbaa !15 %72 = tail call i32 @input_report_abs(ptr noundef %3, i32 noundef %68, i32 noundef %71) #2 %73 = load i32, ptr @ABS_MT_POSITION_Y, align 4, !tbaa !19 %74 = load ptr, ptr %5, align 8, !tbaa !13 %75 = getelementptr inbounds %struct.TYPE_2__, ptr %74, i64 %59, i32 1 %76 = load i32, ptr %75, align 4, !tbaa !18 %77 = tail call i32 @input_report_abs(ptr noundef %3, i32 noundef %73, i32 noundef %76) #2 br label %78 78: ; preds = %51, %9 %79 = tail call i32 @elantech_input_sync_v4(ptr noundef nonnull %0) #2 br label %80 80: ; preds = %1, %78 ret void } declare i32 @input_mt_slot(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @input_report_abs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @elantech_input_sync_v4(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"psmouse", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"elantech_data", !7, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_2__", !17, i64 0, !17, i64 4} !17 = !{!"int", !8, i64 0} !18 = !{!16, !17, i64 4} !19 = !{!17, !17, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/input/mouse/extr_elantech.c_process_packet_motion_v4.c' source_filename = "AnghaBench/linux/drivers/input/mouse/extr_elantech.c_process_packet_motion_v4.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 } @ETP_WEIGHT_VALUE = common local_unnamed_addr global i32 0, align 4 @ABS_MT_POSITION_X = common local_unnamed_addr global i32 0, align 4 @ABS_MT_POSITION_Y = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @process_packet_motion_v4], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @process_packet_motion_v4(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load ptr, ptr %0, align 8, !tbaa !12 %7 = load i8, ptr %6, align 1, !tbaa !13 %8 = icmp ult i8 %7, 32 br i1 %8, label %80, label %9 9: ; preds = %1 %10 = zext i8 %7 to i32 %11 = lshr i32 %10, 5 %12 = add nsw i32 %11, -1 %13 = getelementptr inbounds i8, ptr %6, i64 3 %14 = load i8, ptr %13, align 1, !tbaa !13 %15 = and i32 %10, 16 %16 = icmp eq i32 %15, 0 %17 = load i32, ptr @ETP_WEIGHT_VALUE, align 4 %18 = select i1 %16, i32 1, i32 %17 %19 = getelementptr inbounds i8, ptr %6, i64 1 %20 = load i8, ptr %19, align 1, !tbaa !13 %21 = sext i8 %20 to i32 %22 = getelementptr inbounds i8, ptr %6, i64 2 %23 = load i8, ptr %22, align 1, !tbaa !13 %24 = sext i8 %23 to i32 %25 = getelementptr inbounds i8, ptr %6, i64 4 %26 = load i8, ptr %25, align 1, !tbaa !13 %27 = getelementptr inbounds i8, ptr %6, i64 5 %28 = load i8, ptr %27, align 1, !tbaa !13 %29 = mul nsw i32 %18, %21 %30 = load ptr, ptr %5, align 8, !tbaa !14 %31 = zext nneg i32 %12 to i64 %32 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %31 %33 = load i32, ptr %32, align 4, !tbaa !16 %34 = add nsw i32 %33, %29 store i32 %34, ptr %32, align 4, !tbaa !16 %35 = mul nsw i32 %18, %24 %36 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %31, i32 1 %37 = load i32, ptr %36, align 4, !tbaa !19 %38 = sub nsw i32 %37, %35 store i32 %38, ptr %36, align 4, !tbaa !19 %39 = tail call i32 @input_mt_slot(ptr noundef %3, i32 noundef %12) #2 %40 = load i32, ptr @ABS_MT_POSITION_X, align 4, !tbaa !20 %41 = load ptr, ptr %5, align 8, !tbaa !14 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 %31 %43 = load i32, ptr %42, align 4, !tbaa !16 %44 = tail call i32 @input_report_abs(ptr noundef %3, i32 noundef %40, i32 noundef %43) #2 %45 = load i32, ptr @ABS_MT_POSITION_Y, align 4, !tbaa !20 %46 = load ptr, ptr %5, align 8, !tbaa !14 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i64 %31, i32 1 %48 = load i32, ptr %47, align 4, !tbaa !19 %49 = tail call i32 @input_report_abs(ptr noundef %3, i32 noundef %45, i32 noundef %48) #2 %50 = icmp ult i8 %14, 32 br i1 %50, label %78, label %51 51: ; preds = %9 %52 = lshr i8 %14, 5 %53 = zext nneg i8 %52 to i32 %54 = add nsw i32 %53, -1 %55 = sext i8 %28 to i32 %56 = sext i8 %26 to i32 %57 = mul nsw i32 %18, %56 %58 = load ptr, ptr %5, align 8, !tbaa !14 %59 = zext nneg i32 %54 to i64 %60 = getelementptr inbounds %struct.TYPE_2__, ptr %58, i64 %59 %61 = load i32, ptr %60, align 4, !tbaa !16 %62 = add nsw i32 %61, %57 store i32 %62, ptr %60, align 4, !tbaa !16 %63 = mul nsw i32 %18, %55 %64 = getelementptr inbounds %struct.TYPE_2__, ptr %58, i64 %59, i32 1 %65 = load i32, ptr %64, align 4, !tbaa !19 %66 = sub nsw i32 %65, %63 store i32 %66, ptr %64, align 4, !tbaa !19 %67 = tail call i32 @input_mt_slot(ptr noundef %3, i32 noundef %54) #2 %68 = load i32, ptr @ABS_MT_POSITION_X, align 4, !tbaa !20 %69 = load ptr, ptr %5, align 8, !tbaa !14 %70 = getelementptr inbounds %struct.TYPE_2__, ptr %69, i64 %59 %71 = load i32, ptr %70, align 4, !tbaa !16 %72 = tail call i32 @input_report_abs(ptr noundef %3, i32 noundef %68, i32 noundef %71) #2 %73 = load i32, ptr @ABS_MT_POSITION_Y, align 4, !tbaa !20 %74 = load ptr, ptr %5, align 8, !tbaa !14 %75 = getelementptr inbounds %struct.TYPE_2__, ptr %74, i64 %59, i32 1 %76 = load i32, ptr %75, align 4, !tbaa !19 %77 = tail call i32 @input_report_abs(ptr noundef %3, i32 noundef %73, i32 noundef %76) #2 br label %78 78: ; preds = %51, %9 %79 = tail call i32 @elantech_input_sync_v4(ptr noundef nonnull %0) #2 br label %80 80: ; preds = %1, %78 ret void } declare i32 @input_mt_slot(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @input_report_abs(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @elantech_input_sync_v4(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"psmouse", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 0} !13 = !{!9, !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"elantech_data", !8, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_2__", !18, i64 0, !18, i64 4} !18 = !{!"int", !9, i64 0} !19 = !{!17, !18, i64 4} !20 = !{!18, !18, i64 0}
linux_drivers_input_mouse_extr_elantech.c_process_packet_motion_v4
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c___rpc_create.c' source_filename = "AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c___rpc_create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @S_IFREG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__rpc_create], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__rpc_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = load i32, ptr @S_IFREG, align 4, !tbaa !5 %7 = or i32 %6, %2 %8 = tail call i32 @__rpc_create_common(ptr noundef %0, ptr noundef %1, i32 noundef %7, ptr noundef %3, ptr noundef %4) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %5 %11 = tail call i32 @fsnotify_create(ptr noundef %0, ptr noundef %1) #2 br label %12 12: ; preds = %5, %10 ret i32 %8 } declare i32 @__rpc_create_common(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fsnotify_create(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c___rpc_create.c' source_filename = "AnghaBench/linux/net/sunrpc/extr_rpc_pipe.c___rpc_create.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S_IFREG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__rpc_create], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__rpc_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = load i32, ptr @S_IFREG, align 4, !tbaa !6 %7 = or i32 %6, %2 %8 = tail call i32 @__rpc_create_common(ptr noundef %0, ptr noundef %1, i32 noundef %7, ptr noundef %3, ptr noundef %4) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %5 %11 = tail call i32 @fsnotify_create(ptr noundef %0, ptr noundef %1) #2 br label %12 12: ; preds = %5, %10 ret i32 %8 } declare i32 @__rpc_create_common(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fsnotify_create(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_net_sunrpc_extr_rpc_pipe.c___rpc_create
; ModuleID = 'AnghaBench/linux/drivers/char/ipmi/extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_config_irq.c' source_filename = "AnghaBench/linux/drivers/char/ipmi/extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_config_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" @npcm7xx_kcs_irq = dso_local local_unnamed_addr global i32 0, align 4 @IRQF_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @npcm7xx_kcs_config_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @npcm7xx_kcs_config_irq(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @platform_get_irq(ptr noundef %1, i32 noundef 0) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %2 %6 = load i32, ptr @npcm7xx_kcs_irq, align 4, !tbaa !5 %7 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !5 %8 = tail call i32 @dev_name(ptr noundef %1) #2 %9 = tail call i32 @devm_request_irq(ptr noundef %1, i32 noundef %3, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %0) #2 br label %10 10: ; preds = %2, %5 %11 = phi i32 [ %9, %5 ], [ %3, %2 ] ret i32 %11 } declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @devm_request_irq(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/char/ipmi/extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_config_irq.c' source_filename = "AnghaBench/linux/drivers/char/ipmi/extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_config_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @npcm7xx_kcs_irq = common local_unnamed_addr global i32 0, align 4 @IRQF_SHARED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @npcm7xx_kcs_config_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @npcm7xx_kcs_config_irq(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @platform_get_irq(ptr noundef %1, i32 noundef 0) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %2 %6 = load i32, ptr @npcm7xx_kcs_irq, align 4, !tbaa !6 %7 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !6 %8 = tail call i32 @dev_name(ptr noundef %1) #2 %9 = tail call i32 @devm_request_irq(ptr noundef %1, i32 noundef %3, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %0) #2 br label %10 10: ; preds = %2, %5 %11 = phi i32 [ %9, %5 ], [ %3, %2 ] ret i32 %11 } declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @devm_request_irq(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_char_ipmi_extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_config_irq
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_attr.c_lpfc_max_rpi_show.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_attr.c_lpfc_max_rpi_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Unknown\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_max_rpi_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lpfc_max_rpi_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @class_to_shost(ptr noundef %0) #3 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = inttoptr i64 %6 to ptr %8 = load ptr, ptr %7, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %9 = call i64 @lpfc_get_hba_info(ptr noundef %8, ptr noundef null, ptr noundef null, ptr noundef nonnull %4, ptr noundef null, ptr noundef null, ptr noundef null) #3 %10 = icmp eq i64 %9, 0 %11 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !13 br i1 %10, label %15, label %12 12: ; preds = %3 %13 = load i32, ptr %4, align 4, !tbaa !13 %14 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %2, i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %13) #3 br label %17 15: ; preds = %3 %16 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %2, i32 noundef %11, ptr noundef nonnull @.str.1) #3 br label %17 17: ; preds = %15, %12 %18 = phi i32 [ %14, %12 ], [ %16, %15 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #2 declare i64 @lpfc_get_hba_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"Scsi_Host", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"lpfc_vport", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_attr.c_lpfc_max_rpi_show.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_attr.c_lpfc_max_rpi_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Unknown\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @lpfc_max_rpi_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lpfc_max_rpi_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @class_to_shost(ptr noundef %0) #3 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = inttoptr i64 %6 to ptr %8 = load ptr, ptr %7, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %9 = call i64 @lpfc_get_hba_info(ptr noundef %8, ptr noundef null, ptr noundef null, ptr noundef nonnull %4, ptr noundef null, ptr noundef null, ptr noundef null) #3 %10 = icmp eq i64 %9, 0 %11 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !14 br i1 %10, label %15, label %12 12: ; preds = %3 %13 = load i32, ptr %4, align 4, !tbaa !14 %14 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %2, i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %13) #3 br label %17 15: ; preds = %3 %16 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %2, i32 noundef %11, ptr noundef nonnull @.str.1) #3 br label %17 17: ; preds = %15, %12 %18 = phi i32 [ %14, %12 ], [ %16, %15 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @class_to_shost(ptr noundef) local_unnamed_addr #2 declare i64 @lpfc_get_hba_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"Scsi_Host", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"lpfc_vport", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_scsi_lpfc_extr_lpfc_attr.c_lpfc_max_rpi_show
; ModuleID = 'AnghaBench/libgit2/tests/config/extr_stress.c_test_config_stress__cleanup.c' source_filename = "AnghaBench/libgit2/tests/config/extr_stress.c_test_config_stress__cleanup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @buf = dso_local global i32 0, align 4 @TEST_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_config_stress__cleanup() local_unnamed_addr #0 { %1 = tail call i32 @git_buf_dispose(ptr noundef nonnull @buf) #2 %2 = load i32, ptr @TEST_CONFIG, align 4, !tbaa !5 %3 = tail call i32 @p_unlink(i32 noundef %2) #2 ret void } declare i32 @git_buf_dispose(ptr noundef) local_unnamed_addr #1 declare i32 @p_unlink(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/libgit2/tests/config/extr_stress.c_test_config_stress__cleanup.c' source_filename = "AnghaBench/libgit2/tests/config/extr_stress.c_test_config_stress__cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @buf = common global i32 0, align 4 @TEST_CONFIG = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_config_stress__cleanup() local_unnamed_addr #0 { %1 = tail call i32 @git_buf_dispose(ptr noundef nonnull @buf) #2 %2 = load i32, ptr @TEST_CONFIG, align 4, !tbaa !6 %3 = tail call i32 @p_unlink(i32 noundef %2) #2 ret void } declare i32 @git_buf_dispose(ptr noundef) local_unnamed_addr #1 declare i32 @p_unlink(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"}
libgit2_tests_config_extr_stress.c_test_config_stress__cleanup
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_matchall.c_mall_set_parms.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_matchall.c_mall_set_parms.c" target datalayout = "e-m:e-p270:32:32-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.cls_mall_head = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @TCA_MATCHALL_CLASSID = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @mall_set_parms], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mall_set_parms(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7) #0 { %9 = getelementptr inbounds %struct.cls_mall_head, ptr %2, i64 0, i32 1 %10 = tail call i32 @tcf_exts_validate(ptr noundef %0, ptr noundef %1, ptr noundef %4, ptr noundef %5, ptr noundef nonnull %9, i32 noundef %6, i32 noundef 1, ptr noundef %7) #2 %11 = icmp slt i32 %10, 0 br i1 %11, label %20, label %12 12: ; preds = %8 %13 = load i64, ptr @TCA_MATCHALL_CLASSID, align 8, !tbaa !5 %14 = getelementptr inbounds ptr, ptr %4, i64 %13 %15 = load ptr, ptr %14, align 8, !tbaa !9 %16 = icmp eq ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %12 %18 = tail call i32 @nla_get_u32(ptr noundef nonnull %15) #2 store i32 %18, ptr %2, align 4, !tbaa !11 %19 = tail call i32 @tcf_bind_filter(ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3) #2 br label %20 20: ; preds = %12, %17, %8 %21 = phi i32 [ %10, %8 ], [ 0, %17 ], [ 0, %12 ] ret i32 %21 } declare i32 @tcf_exts_validate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nla_get_u32(ptr noundef) local_unnamed_addr #1 declare i32 @tcf_bind_filter(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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, !14, i64 0} !12 = !{!"cls_mall_head", !13, i64 0, !14, i64 4} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_matchall.c_mall_set_parms.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_matchall.c_mall_set_parms.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCA_MATCHALL_CLASSID = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @mall_set_parms], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @mall_set_parms(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7) #0 { %9 = getelementptr inbounds i8, ptr %2, i64 4 %10 = tail call i32 @tcf_exts_validate(ptr noundef %0, ptr noundef %1, ptr noundef %4, ptr noundef %5, ptr noundef nonnull %9, i32 noundef %6, i32 noundef 1, ptr noundef %7) #2 %11 = icmp slt i32 %10, 0 br i1 %11, label %20, label %12 12: ; preds = %8 %13 = load i64, ptr @TCA_MATCHALL_CLASSID, align 8, !tbaa !6 %14 = getelementptr inbounds ptr, ptr %4, i64 %13 %15 = load ptr, ptr %14, align 8, !tbaa !10 %16 = icmp eq ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %12 %18 = tail call i32 @nla_get_u32(ptr noundef nonnull %15) #2 store i32 %18, ptr %2, align 4, !tbaa !12 %19 = tail call i32 @tcf_bind_filter(ptr noundef %1, ptr noundef nonnull %2, i64 noundef %3) #2 br label %20 20: ; preds = %12, %17, %8 %21 = phi i32 [ %10, %8 ], [ 0, %17 ], [ 0, %12 ] ret i32 %21 } declare i32 @tcf_exts_validate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nla_get_u32(ptr noundef) local_unnamed_addr #1 declare i32 @tcf_bind_filter(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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, !15, i64 0} !13 = !{!"cls_mall_head", !14, i64 0, !15, i64 4} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"int", !8, i64 0}
linux_net_sched_extr_cls_matchall.c_mall_set_parms
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa.c_spa_livelist_delete_check.c' source_filename = "AnghaBench/zfs/module/zfs/extr_spa.c_spa_livelist_delete_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @spa_livelist_delete_check(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp ne i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa.c_spa_livelist_delete_check.c' source_filename = "AnghaBench/zfs/module/zfs/extr_spa.c_spa_livelist_delete_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define range(i32 0, 2) i32 @spa_livelist_delete_check(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp ne i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
zfs_module_zfs_extr_spa.c_spa_livelist_delete_check
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/pt1/extr_pt1.c_pt1_init_table_count.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/pt1/extr_pt1.c_pt1_init_table_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @pt1_init_table_count], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pt1_init_table_count(ptr noundef %0) #0 { %2 = tail call i32 @pt1_write_reg(ptr noundef %0, i32 noundef 0, i32 noundef 16) #2 ret void } declare i32 @pt1_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/pt1/extr_pt1.c_pt1_init_table_count.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/pt1/extr_pt1.c_pt1_init_table_count.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 @pt1_init_table_count], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pt1_init_table_count(ptr noundef %0) #0 { %2 = tail call i32 @pt1_write_reg(ptr noundef %0, i32 noundef 0, i32 noundef 16) #2 ret void } declare i32 @pt1_write_reg(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)"}
fastsocket_kernel_drivers_media_dvb_pt1_extr_pt1.c_pt1_init_table_count
; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_intel_pstate.c_div_ext_fp.c' source_filename = "AnghaBench/linux/drivers/cpufreq/extr_intel_pstate.c_div_ext_fp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EXT_FRAC_BITS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @div_ext_fp], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @div_ext_fp(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @EXT_FRAC_BITS, align 4, !tbaa !5 %4 = shl i32 %0, %3 %5 = tail call i32 @div64_u64(i32 noundef %4, i32 noundef %1) #2 ret i32 %5 } declare i32 @div64_u64(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_intel_pstate.c_div_ext_fp.c' source_filename = "AnghaBench/linux/drivers/cpufreq/extr_intel_pstate.c_div_ext_fp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXT_FRAC_BITS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @div_ext_fp], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @div_ext_fp(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @EXT_FRAC_BITS, align 4, !tbaa !6 %4 = shl i32 %0, %3 %5 = tail call i32 @div64_u64(i32 noundef %4, i32 noundef %1) #2 ret i32 %5 } declare i32 @div64_u64(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_cpufreq_extr_intel_pstate.c_div_ext_fp
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_resume_ack.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_resume_ack.c" target datalayout = "e-m:e-p270:32:32-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.l3_process = type { i32, i32, ptr, i32, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32, i32 } @L3_DEB_WARN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"resume ack with wrong chid %x\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"resume ack without chid (ret %d)\00", align 1 @ie_RESUME_ACKNOWLEDGE = dso_local local_unnamed_addr global i32 0, align 4 @ERR_IE_COMPREHENSION = dso_local local_unnamed_addr global i32 0, align 4 @CC_RESUME = dso_local local_unnamed_addr global i32 0, align 4 @CONFIRM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @l3dss1_resume_ack], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @l3dss1_resume_ack(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @l3dss1_get_channel_id(ptr noundef %0, ptr noundef %2) #2 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %26 6: ; preds = %3 %7 = icmp eq i32 %4, 3 br i1 %7, label %8, label %24 8: ; preds = %6 %9 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 4 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = icmp eq i32 %10, 16 br i1 %11, label %12, label %24 12: ; preds = %8 %13 = load i32, ptr %0, align 8, !tbaa !12 %14 = load i32, ptr @L3_DEB_WARN, align 4, !tbaa !13 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %12 %18 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !14 %20 = tail call i32 @l3_debug(ptr noundef %19, ptr noundef nonnull @.str, i32 noundef 3) #2 br label %21 21: ; preds = %17, %12 %22 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 4, i32 1 store i32 100, ptr %22, align 4, !tbaa !15 %23 = tail call i32 @l3dss1_status_send(ptr noundef nonnull %0, i32 noundef %1, ptr noundef null) #2 br label %63 24: ; preds = %8, %6 %25 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 4, i32 2 store i32 %4, ptr %25, align 4, !tbaa !16 br label %42 26: ; preds = %3 %27 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %42 30: ; preds = %26 %31 = load i32, ptr %0, align 8, !tbaa !12 %32 = load i32, ptr @L3_DEB_WARN, align 4, !tbaa !13 %33 = and i32 %32, %31 %34 = icmp eq i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %30 %36 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 2 %37 = load ptr, ptr %36, align 8, !tbaa !14 %38 = tail call i32 @l3_debug(ptr noundef %37, ptr noundef nonnull @.str.1, i32 noundef %4) #2 br label %39 39: ; preds = %35, %30 %40 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 4, i32 1 store i32 96, ptr %40, align 4, !tbaa !15 %41 = tail call i32 @l3dss1_status_send(ptr noundef nonnull %0, i32 noundef %1, ptr noundef null) #2 br label %63 42: ; preds = %26, %24 %43 = load i32, ptr @ie_RESUME_ACKNOWLEDGE, align 4, !tbaa !13 %44 = tail call i32 @check_infoelements(ptr noundef nonnull %0, ptr noundef %2, i32 noundef %43) #2 %45 = load i32, ptr @ERR_IE_COMPREHENSION, align 4, !tbaa !13 %46 = icmp eq i32 %45, %44 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = tail call i32 @l3dss1_std_ie_err(ptr noundef nonnull %0, i32 noundef %44) #2 br label %63 49: ; preds = %42 %50 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 3 %51 = tail call i32 @L3DelTimer(ptr noundef nonnull %50) #2 %52 = getelementptr inbounds %struct.l3_process, ptr %0, i64 0, i32 2 %53 = load ptr, ptr %52, align 8, !tbaa !14 %54 = load ptr, ptr %53, align 8, !tbaa !18 %55 = load i32, ptr @CC_RESUME, align 4, !tbaa !13 %56 = load i32, ptr @CONFIRM, align 4, !tbaa !13 %57 = or i32 %56, %55 %58 = tail call i32 %54(ptr noundef nonnull %53, i32 noundef %57, ptr noundef nonnull %0) #2 %59 = tail call i32 @newl3state(ptr noundef nonnull %0, i32 noundef 10) #2 %60 = icmp eq i32 %44, 0 br i1 %60, label %63, label %61 61: ; preds = %49 %62 = tail call i32 @l3dss1_std_ie_err(ptr noundef nonnull %0, i32 noundef %44) #2 br label %63 63: ; preds = %49, %61, %47, %39, %21 ret void } declare i32 @l3dss1_get_channel_id(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @l3_debug(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @l3dss1_status_send(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @check_infoelements(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @l3dss1_std_ie_err(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @L3DelTimer(ptr noundef) local_unnamed_addr #1 declare i32 @newl3state(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 20} !6 = !{!"l3_process", !7, i64 0, !7, i64 4, !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 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!6, !7, i64 24} !16 = !{!6, !7, i64 28} !17 = !{!6, !7, i64 4} !18 = !{!19, !10, i64 0} !19 = !{!"TYPE_7__", !20, i64 0} !20 = !{!"TYPE_6__", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_resume_ack.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_l3dss1.c_l3dss1_resume_ack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @L3_DEB_WARN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"resume ack with wrong chid %x\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"resume ack without chid (ret %d)\00", align 1 @ie_RESUME_ACKNOWLEDGE = common local_unnamed_addr global i32 0, align 4 @ERR_IE_COMPREHENSION = common local_unnamed_addr global i32 0, align 4 @CC_RESUME = common local_unnamed_addr global i32 0, align 4 @CONFIRM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @l3dss1_resume_ack], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @l3dss1_resume_ack(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @l3dss1_get_channel_id(ptr noundef %0, ptr noundef %2) #2 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %26 6: ; preds = %3 %7 = icmp eq i32 %4, 3 br i1 %7, label %8, label %24 8: ; preds = %6 %9 = getelementptr inbounds i8, ptr %0, i64 20 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = icmp eq i32 %10, 16 br i1 %11, label %12, label %24 12: ; preds = %8 %13 = load i32, ptr %0, align 8, !tbaa !13 %14 = load i32, ptr @L3_DEB_WARN, align 4, !tbaa !14 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %12 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !15 %20 = tail call i32 @l3_debug(ptr noundef %19, ptr noundef nonnull @.str, i32 noundef 3) #2 br label %21 21: ; preds = %17, %12 %22 = getelementptr inbounds i8, ptr %0, i64 24 store i32 100, ptr %22, align 4, !tbaa !16 %23 = tail call i32 @l3dss1_status_send(ptr noundef nonnull %0, i32 noundef %1, ptr noundef null) #2 br label %63 24: ; preds = %8, %6 %25 = getelementptr inbounds i8, ptr %0, i64 28 store i32 %4, ptr %25, align 4, !tbaa !17 br label %42 26: ; preds = %3 %27 = getelementptr inbounds i8, ptr %0, i64 4 %28 = load i32, ptr %27, align 4, !tbaa !18 %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %42 30: ; preds = %26 %31 = load i32, ptr %0, align 8, !tbaa !13 %32 = load i32, ptr @L3_DEB_WARN, align 4, !tbaa !14 %33 = and i32 %32, %31 %34 = icmp eq i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %30 %36 = getelementptr inbounds i8, ptr %0, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !15 %38 = tail call i32 @l3_debug(ptr noundef %37, ptr noundef nonnull @.str.1, i32 noundef %4) #2 br label %39 39: ; preds = %35, %30 %40 = getelementptr inbounds i8, ptr %0, i64 24 store i32 96, ptr %40, align 4, !tbaa !16 %41 = tail call i32 @l3dss1_status_send(ptr noundef nonnull %0, i32 noundef %1, ptr noundef null) #2 br label %63 42: ; preds = %26, %24 %43 = load i32, ptr @ie_RESUME_ACKNOWLEDGE, align 4, !tbaa !14 %44 = tail call i32 @check_infoelements(ptr noundef nonnull %0, ptr noundef %2, i32 noundef %43) #2 %45 = load i32, ptr @ERR_IE_COMPREHENSION, align 4, !tbaa !14 %46 = icmp eq i32 %45, %44 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = tail call i32 @l3dss1_std_ie_err(ptr noundef nonnull %0, i32 noundef %44) #2 br label %63 49: ; preds = %42 %50 = getelementptr inbounds i8, ptr %0, i64 16 %51 = tail call i32 @L3DelTimer(ptr noundef nonnull %50) #2 %52 = getelementptr inbounds i8, ptr %0, i64 8 %53 = load ptr, ptr %52, align 8, !tbaa !15 %54 = load ptr, ptr %53, align 8, !tbaa !19 %55 = load i32, ptr @CC_RESUME, align 4, !tbaa !14 %56 = load i32, ptr @CONFIRM, align 4, !tbaa !14 %57 = or i32 %56, %55 %58 = tail call i32 %54(ptr noundef nonnull %53, i32 noundef %57, ptr noundef nonnull %0) #2 %59 = tail call i32 @newl3state(ptr noundef nonnull %0, i32 noundef 10) #2 %60 = icmp eq i32 %44, 0 br i1 %60, label %63, label %61 61: ; preds = %49 %62 = tail call i32 @l3dss1_std_ie_err(ptr noundef nonnull %0, i32 noundef %44) #2 br label %63 63: ; preds = %49, %61, %47, %39, %21 ret void } declare i32 @l3dss1_get_channel_id(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @l3_debug(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @l3dss1_status_send(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @check_infoelements(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @l3dss1_std_ie_err(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @L3DelTimer(ptr noundef) local_unnamed_addr #1 declare i32 @newl3state(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 20} !7 = !{!"l3_process", !8, i64 0, !8, i64 4, !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 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8} !13 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!7, !8, i64 24} !17 = !{!7, !8, i64 28} !18 = !{!7, !8, i64 4} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_7__", !21, i64 0} !21 = !{!"TYPE_6__", !11, i64 0}
fastsocket_kernel_drivers_isdn_hisax_extr_l3dss1.c_l3dss1_resume_ack
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cfunc.c_zfMemoryMove.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cfunc.c_zfMemoryMove.c" target datalayout = "e-m:e-p270:32:32-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 @zfMemoryMove(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @zfwMemoryMove(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 ret void } declare i32 @zfwMemoryMove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cfunc.c_zfMemoryMove.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cfunc.c_zfMemoryMove.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 @zfMemoryMove(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @zfwMemoryMove(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 ret void } declare i32 @zfwMemoryMove(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)"}
fastsocket_kernel_drivers_staging_otus_80211core_extr_cfunc.c_zfMemoryMove
; ModuleID = 'AnghaBench/linux/kernel/bpf/extr_syscall.c_bpf_prog_attach_check_attach_type.c' source_filename = "AnghaBench/linux/kernel/bpf/extr_syscall.c_bpf_prog_attach_check_attach_type.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.bpf_prog = type { i32, i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bpf_prog_attach_check_attach_type], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @bpf_prog_attach_check_attach_type(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 switch i32 %3, label %22 [ i32 130, label %4 i32 128, label %4 i32 129, label %4 i32 131, label %11 ] 4: ; preds = %2, %2, %2 %5 = getelementptr inbounds %struct.bpf_prog, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = icmp eq i32 %6, %1 %8 = load i32, ptr @EINVAL, align 4 %9 = sub nsw i32 0, %8 %10 = select i1 %7, i32 0, i32 %9 br label %22 11: ; preds = %2 %12 = getelementptr inbounds %struct.bpf_prog, ptr %0, i64 0, i32 2 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = icmp eq i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %11 %16 = getelementptr inbounds %struct.bpf_prog, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !10 %18 = icmp eq i32 %17, %1 br i1 %18, label %22, label %19 19: ; preds = %15 %20 = load i32, ptr @EINVAL, align 4, !tbaa !12 %21 = sub nsw i32 0, %20 br label %22 22: ; preds = %2, %19, %15, %11, %4 %23 = phi i32 [ %10, %4 ], [ %21, %19 ], [ 0, %15 ], [ 0, %11 ], [ 0, %2 ] ret i32 %23 } 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_prog", !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 8} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/kernel/bpf/extr_syscall.c_bpf_prog_attach_check_attach_type.c' source_filename = "AnghaBench/linux/kernel/bpf/extr_syscall.c_bpf_prog_attach_check_attach_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bpf_prog_attach_check_attach_type], 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 @bpf_prog_attach_check_attach_type(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 switch i32 %3, label %22 [ i32 130, label %4 i32 128, label %4 i32 129, label %4 i32 131, label %11 ] 4: ; preds = %2, %2, %2 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = icmp eq i32 %6, %1 %8 = load i32, ptr @EINVAL, align 4 %9 = sub nsw i32 0, %8 %10 = select i1 %7, i32 0, i32 %9 br label %22 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = icmp eq i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %11 %16 = getelementptr inbounds i8, ptr %0, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = icmp eq i32 %17, %1 br i1 %18, label %22, label %19 19: ; preds = %15 %20 = load i32, ptr @EINVAL, align 4, !tbaa !13 %21 = sub nsw i32 0, %20 br label %22 22: ; preds = %2, %19, %15, %11, %4 %23 = phi i32 [ %10, %4 ], [ %21, %19 ], [ 0, %15 ], [ 0, %11 ], [ 0, %2 ] ret i32 %23 } 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_prog", !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 8} !13 = !{!8, !8, i64 0}
linux_kernel_bpf_extr_syscall.c_bpf_prog_attach_check_attach_type
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_8390p.c_eip_tx_timeout.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_8390p.c_eip_tx_timeout.c" target datalayout = "e-m:e-p270:32:32-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 @eip_tx_timeout(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @__ei_tx_timeout(ptr noundef %0) #2 ret void } declare i32 @__ei_tx_timeout(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/drivers/net/extr_8390p.c_eip_tx_timeout.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_8390p.c_eip_tx_timeout.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 @eip_tx_timeout(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @__ei_tx_timeout(ptr noundef %0) #2 ret void } declare i32 @__ei_tx_timeout(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_drivers_net_extr_8390p.c_eip_tx_timeout
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_xact.c_vmbus_xact_poll.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_xact.c_vmbus_xact_poll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vmbus_xact = type { ptr, ptr } %struct.vmbus_xact_ctx = type { i32, i32, ptr } @.str = private unnamed_addr constant [14 x i8] c"xact mismatch\00", align 1 @VMBUS_XACT_CTXF_DESTROY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @vmbus_xact_poll(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.vmbus_xact, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.vmbus_xact_ctx, ptr %4, i64 0, i32 1 %6 = tail call i32 @mtx_lock(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.vmbus_xact_ctx, ptr %4, i64 0, i32 2 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = icmp eq ptr %8, %0 %10 = zext i1 %9 to i32 %11 = tail call i32 @KASSERT(i32 noundef %10, ptr noundef nonnull @.str) #2 %12 = load ptr, ptr %0, align 8, !tbaa !13 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load i32, ptr %4, align 8, !tbaa !14 %16 = load i32, ptr @VMBUS_XACT_CTXF_DESTROY, align 4, !tbaa !15 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = tail call i32 @mtx_unlock(ptr noundef nonnull %5) #2 store i64 0, ptr %1, align 8, !tbaa !16 br label %24 21: ; preds = %14, %2 %22 = tail call ptr @vmbus_xact_return(ptr noundef nonnull %0, ptr noundef %1) #2 %23 = tail call i32 @mtx_unlock(ptr noundef nonnull %5) #2 br label %24 24: ; preds = %21, %19 %25 = phi ptr [ null, %19 ], [ %22, %21 ] ret ptr %25 } declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 declare ptr @vmbus_xact_return(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 8} !6 = !{!"vmbus_xact", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"vmbus_xact_ctx", !12, i64 0, !12, i64 4, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_xact.c_vmbus_xact_poll.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_xact.c_vmbus_xact_poll.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [14 x i8] c"xact mismatch\00", align 1 @VMBUS_XACT_CTXF_DESTROY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @vmbus_xact_poll(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = tail call i32 @mtx_lock(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %4, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = icmp eq ptr %8, %0 %10 = zext i1 %9 to i32 %11 = tail call i32 @KASSERT(i32 noundef %10, ptr noundef nonnull @.str) #2 %12 = load ptr, ptr %0, align 8, !tbaa !14 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load i32, ptr %4, align 8, !tbaa !15 %16 = load i32, ptr @VMBUS_XACT_CTXF_DESTROY, align 4, !tbaa !16 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = tail call i32 @mtx_unlock(ptr noundef nonnull %5) #2 store i64 0, ptr %1, align 8, !tbaa !17 br label %24 21: ; preds = %14, %2 %22 = tail call ptr @vmbus_xact_return(ptr noundef nonnull %0, ptr noundef %1) #2 %23 = tail call i32 @mtx_unlock(ptr noundef nonnull %5) #2 br label %24 24: ; preds = %21, %19 %25 = phi ptr [ null, %19 ], [ %22, %21 ] ret ptr %25 } declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 declare ptr @vmbus_xact_return(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 8} !7 = !{!"vmbus_xact", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"vmbus_xact_ctx", !13, i64 0, !13, i64 4, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!12, !13, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !9, i64 0}
freebsd_sys_dev_hyperv_vmbus_extr_vmbus_xact.c_vmbus_xact_poll
; ModuleID = 'AnghaBench/linux/mm/extr_hugetlb.c_hugetlb_sysfs_add_hstate.c' source_filename = "AnghaBench/linux/mm/extr_hugetlb.c_hugetlb_sysfs_add_hstate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hugetlb_sysfs_add_hstate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hugetlb_sysfs_add_hstate(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @hstate_index(ptr noundef %0) #2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call ptr @kobject_create_and_add(i32 noundef %6, ptr noundef %1) #2 %8 = sext i32 %5 to i64 %9 = getelementptr inbounds ptr, ptr %2, i64 %8 store ptr %7, ptr %9, align 8, !tbaa !10 %10 = icmp eq ptr %7, null br i1 %10, label %11, label %14 11: ; preds = %4 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %13 = sub nsw i32 0, %12 br label %20 14: ; preds = %4 %15 = tail call i32 @sysfs_create_group(ptr noundef nonnull %7, ptr noundef %3) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load ptr, ptr %9, align 8, !tbaa !10 %19 = tail call i32 @kobject_put(ptr noundef %18) #2 br label %20 20: ; preds = %14, %17, %11 %21 = phi i32 [ %13, %11 ], [ %15, %17 ], [ 0, %14 ] ret i32 %21 } declare i32 @hstate_index(ptr noundef) local_unnamed_addr #1 declare ptr @kobject_create_and_add(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kobject_put(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 = !{!"hstate", !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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/mm/extr_hugetlb.c_hugetlb_sysfs_add_hstate.c' source_filename = "AnghaBench/linux/mm/extr_hugetlb.c_hugetlb_sysfs_add_hstate.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 @llvm.used = appending global [1 x ptr] [ptr @hugetlb_sysfs_add_hstate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hugetlb_sysfs_add_hstate(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @hstate_index(ptr noundef %0) #2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call ptr @kobject_create_and_add(i32 noundef %6, ptr noundef %1) #2 %8 = sext i32 %5 to i64 %9 = getelementptr inbounds ptr, ptr %2, i64 %8 store ptr %7, ptr %9, align 8, !tbaa !11 %10 = icmp eq ptr %7, null br i1 %10, label %11, label %14 11: ; preds = %4 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %13 = sub nsw i32 0, %12 br label %20 14: ; preds = %4 %15 = tail call i32 @sysfs_create_group(ptr noundef nonnull %7, ptr noundef %3) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load ptr, ptr %9, align 8, !tbaa !11 %19 = tail call i32 @kobject_put(ptr noundef %18) #2 br label %20 20: ; preds = %14, %17, %11 %21 = phi i32 [ %13, %11 ], [ %15, %17 ], [ 0, %14 ] ret i32 %21 } declare i32 @hstate_index(ptr noundef) local_unnamed_addr #1 declare ptr @kobject_create_and_add(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kobject_put(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 = !{!"hstate", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0}
linux_mm_extr_hugetlb.c_hugetlb_sysfs_add_hstate
; ModuleID = 'AnghaBench/linux/security/apparmor/extr_policy_unpack.c_audit_iface.c' source_filename = "AnghaBench/linux/security/apparmor/extr_policy_unpack.c_audit_iface.c" target datalayout = "e-m:e-p270:32:32-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.aa_ext = type { i64, i64 } %struct.TYPE_6__ = type { ptr, ptr, i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr, i64 } @sa = dso_local global i32 0, align 4 @LSM_AUDIT_DATA_NONE = dso_local local_unnamed_addr global i32 0, align 4 @AUDIT_APPARMOR_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @audit_cb = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @audit_iface], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @audit_iface(ptr noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef readonly %4, i32 noundef %5) #0 { %7 = tail call i32 (...) @aa_current_raw_label() #2 %8 = tail call ptr @labels_profile(i32 noundef %7) #2 %9 = load i32, ptr @sa, align 4, !tbaa !5 %10 = load i32, ptr @LSM_AUDIT_DATA_NONE, align 4, !tbaa !5 %11 = tail call i32 @DEFINE_AUDIT_DATA(i32 noundef %9, i32 noundef %10, ptr noundef null) #2 %12 = icmp eq ptr %4, null br i1 %12, label %20, label %13 13: ; preds = %6 %14 = getelementptr inbounds %struct.aa_ext, ptr %4, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !9 %16 = load i64, ptr %4, align 8, !tbaa !12 %17 = sub nsw i64 %15, %16 %18 = tail call ptr @aad(ptr noundef nonnull @sa) #2 %19 = getelementptr inbounds %struct.TYPE_6__, ptr %18, i64 0, i32 3, i32 1 store i64 %17, ptr %19, align 8, !tbaa !13 br label %20 20: ; preds = %13, %6 %21 = tail call ptr @aad(ptr noundef nonnull @sa) #2 %22 = getelementptr inbounds %struct.TYPE_6__, ptr %21, i64 0, i32 3 store ptr %1, ptr %22, align 8, !tbaa !17 %23 = icmp eq ptr %0, null br i1 %23, label %26, label %24 24: ; preds = %20 %25 = load ptr, ptr %0, align 8, !tbaa !18 br label %26 26: ; preds = %20, %24 %27 = phi ptr [ %25, %24 ], [ %2, %20 ] %28 = tail call ptr @aad(ptr noundef nonnull @sa) #2 store ptr %27, ptr %28, align 8, !tbaa !21 %29 = tail call ptr @aad(ptr noundef nonnull @sa) #2 %30 = getelementptr inbounds %struct.TYPE_6__, ptr %29, i64 0, i32 1 store ptr %3, ptr %30, align 8, !tbaa !22 %31 = tail call ptr @aad(ptr noundef nonnull @sa) #2 %32 = getelementptr inbounds %struct.TYPE_6__, ptr %31, i64 0, i32 2 store i32 %5, ptr %32, align 8, !tbaa !23 %33 = load i32, ptr @AUDIT_APPARMOR_STATUS, align 4, !tbaa !5 %34 = load i32, ptr @audit_cb, align 4, !tbaa !5 %35 = tail call i32 @aa_audit(i32 noundef %33, ptr noundef %8, ptr noundef nonnull @sa, i32 noundef %34) #2 ret i32 %35 } declare ptr @labels_profile(i32 noundef) local_unnamed_addr #1 declare i32 @aa_current_raw_label(...) local_unnamed_addr #1 declare i32 @DEFINE_AUDIT_DATA(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @aad(ptr noundef) local_unnamed_addr #1 declare i32 @aa_audit(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"aa_ext", !11, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !11, i64 32} !14 = !{!"TYPE_6__", !15, i64 0, !15, i64 8, !6, i64 16, !16, i64 24} !15 = !{!"any pointer", !7, i64 0} !16 = !{!"TYPE_4__", !15, i64 0, !11, i64 8} !17 = !{!14, !15, i64 24} !18 = !{!19, !15, i64 0} !19 = !{!"aa_profile", !20, i64 0} !20 = !{!"TYPE_5__", !15, i64 0} !21 = !{!14, !15, i64 0} !22 = !{!14, !15, i64 8} !23 = !{!14, !6, i64 16}
; ModuleID = 'AnghaBench/linux/security/apparmor/extr_policy_unpack.c_audit_iface.c' source_filename = "AnghaBench/linux/security/apparmor/extr_policy_unpack.c_audit_iface.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sa = common global i32 0, align 4 @LSM_AUDIT_DATA_NONE = common local_unnamed_addr global i32 0, align 4 @AUDIT_APPARMOR_STATUS = common local_unnamed_addr global i32 0, align 4 @audit_cb = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @audit_iface], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @audit_iface(ptr noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef readonly %4, i32 noundef %5) #0 { %7 = tail call i32 @aa_current_raw_label() #2 %8 = tail call ptr @labels_profile(i32 noundef %7) #2 %9 = load i32, ptr @sa, align 4, !tbaa !6 %10 = load i32, ptr @LSM_AUDIT_DATA_NONE, align 4, !tbaa !6 %11 = tail call i32 @DEFINE_AUDIT_DATA(i32 noundef %9, i32 noundef %10, ptr noundef null) #2 %12 = icmp eq ptr %4, null br i1 %12, label %20, label %13 13: ; preds = %6 %14 = getelementptr inbounds i8, ptr %4, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !10 %16 = load i64, ptr %4, align 8, !tbaa !13 %17 = sub nsw i64 %15, %16 %18 = tail call ptr @aad(ptr noundef nonnull @sa) #2 %19 = getelementptr inbounds i8, ptr %18, i64 32 store i64 %17, ptr %19, align 8, !tbaa !14 br label %20 20: ; preds = %13, %6 %21 = tail call ptr @aad(ptr noundef nonnull @sa) #2 %22 = getelementptr inbounds i8, ptr %21, i64 24 store ptr %1, ptr %22, align 8, !tbaa !18 %23 = icmp eq ptr %0, null br i1 %23, label %26, label %24 24: ; preds = %20 %25 = load ptr, ptr %0, align 8, !tbaa !19 br label %26 26: ; preds = %20, %24 %27 = phi ptr [ %25, %24 ], [ %2, %20 ] %28 = tail call ptr @aad(ptr noundef nonnull @sa) #2 store ptr %27, ptr %28, align 8, !tbaa !22 %29 = tail call ptr @aad(ptr noundef nonnull @sa) #2 %30 = getelementptr inbounds i8, ptr %29, i64 8 store ptr %3, ptr %30, align 8, !tbaa !23 %31 = tail call ptr @aad(ptr noundef nonnull @sa) #2 %32 = getelementptr inbounds i8, ptr %31, i64 16 store i32 %5, ptr %32, align 8, !tbaa !24 %33 = load i32, ptr @AUDIT_APPARMOR_STATUS, align 4, !tbaa !6 %34 = load i32, ptr @audit_cb, align 4, !tbaa !6 %35 = tail call i32 @aa_audit(i32 noundef %33, ptr noundef %8, ptr noundef nonnull @sa, i32 noundef %34) #2 ret i32 %35 } declare ptr @labels_profile(i32 noundef) local_unnamed_addr #1 declare i32 @aa_current_raw_label(...) local_unnamed_addr #1 declare i32 @DEFINE_AUDIT_DATA(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @aad(ptr noundef) local_unnamed_addr #1 declare i32 @aa_audit(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"aa_ext", !12, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !12, i64 32} !15 = !{!"TYPE_6__", !16, i64 0, !16, i64 8, !7, i64 16, !17, i64 24} !16 = !{!"any pointer", !8, i64 0} !17 = !{!"TYPE_4__", !16, i64 0, !12, i64 8} !18 = !{!15, !16, i64 24} !19 = !{!20, !16, i64 0} !20 = !{!"aa_profile", !21, i64 0} !21 = !{!"TYPE_5__", !16, i64 0} !22 = !{!15, !16, i64 0} !23 = !{!15, !16, i64 8} !24 = !{!15, !7, i64 16}
linux_security_apparmor_extr_policy_unpack.c_audit_iface
; ModuleID = 'AnghaBench/netdata/collectors/freebsd.plugin/extr_freebsd_sysctl.c_do_vm_stats_sys_v_forks.c' source_filename = "AnghaBench/netdata/collectors/freebsd.plugin/extr_freebsd_sysctl.c_do_vm_stats_sys_v_forks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @do_vm_stats_sys_v_forks.mib = internal global [4 x i32] zeroinitializer, align 16 @.str = private unnamed_addr constant [20 x i8] c"vm.stats.vm.v_forks\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"DISABLED: system.forks chart\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"DISABLED: vm.stats.sys.v_swtch module\00", align 1 @do_vm_stats_sys_v_forks.st = internal unnamed_addr global ptr null, align 8 @do_vm_stats_sys_v_forks.rd = internal unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"system\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"forks\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"processes\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"Started Processes\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"processes/s\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"freebsd.plugin\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"vm.stats.sys.v_swtch\00", align 1 @NETDATA_CHART_PRIO_SYSTEM_FORKS = dso_local local_unnamed_addr global i32 0, align 4 @RRDSET_TYPE_LINE = dso_local local_unnamed_addr global i32 0, align 4 @RRDSET_FLAG_DETAIL = dso_local local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [8 x i8] c"started\00", align 1 @RRD_ALGORITHM_INCREMENTAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @do_vm_stats_sys_v_forks(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @GETSYSCTL_SIMPLE(ptr noundef nonnull @.str, ptr noundef nonnull @do_vm_stats_sys_v_forks.mib, i32 noundef undef) #2 %4 = tail call i64 @unlikely(i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = tail call i32 @error(ptr noundef nonnull @.str.1) #2 %8 = tail call i32 @error(ptr noundef nonnull @.str.2) #2 br label %34 9: ; preds = %2 %10 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !5 %11 = icmp eq ptr %10, null %12 = zext i1 %11 to i32 %13 = tail call i64 @unlikely(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %9 %16 = load i32, ptr @NETDATA_CHART_PRIO_SYSTEM_FORKS, align 4, !tbaa !9 %17 = load i32, ptr @RRDSET_TYPE_LINE, align 4, !tbaa !9 %18 = tail call ptr @rrdset_create_localhost(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, ptr noundef null, ptr noundef nonnull @.str.5, ptr noundef null, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, i32 noundef %16, i32 noundef %0, i32 noundef %17) #2 store ptr %18, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !5 %19 = load i32, ptr @RRDSET_FLAG_DETAIL, align 4, !tbaa !9 %20 = tail call i32 @rrdset_flag_set(ptr noundef %18, i32 noundef %19) #2 %21 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !5 %22 = load i32, ptr @RRD_ALGORITHM_INCREMENTAL, align 4, !tbaa !9 %23 = tail call ptr @rrddim_add(ptr noundef %21, ptr noundef nonnull @.str.10, ptr noundef null, i32 noundef 1, i32 noundef 1, i32 noundef %22) #2 store ptr %23, ptr @do_vm_stats_sys_v_forks.rd, align 8, !tbaa !5 br label %28 24: ; preds = %9 %25 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !5 %26 = tail call i32 @rrdset_next(ptr noundef %25) #2 %27 = load ptr, ptr @do_vm_stats_sys_v_forks.rd, align 8, !tbaa !5 br label %28 28: ; preds = %24, %15 %29 = phi ptr [ %27, %24 ], [ %23, %15 ] %30 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !5 %31 = tail call i32 @rrddim_set_by_pointer(ptr noundef %30, ptr noundef %29, i32 noundef undef) #2 %32 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !5 %33 = tail call i32 @rrdset_done(ptr noundef %32) #2 br label %34 34: ; preds = %28, %6 %35 = phi i32 [ 1, %6 ], [ 0, %28 ] ret i32 %35 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @GETSYSCTL_SIMPLE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @error(ptr noundef) local_unnamed_addr #1 declare ptr @rrdset_create_localhost(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rrdset_flag_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @rrddim_add(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rrdset_next(ptr noundef) local_unnamed_addr #1 declare i32 @rrddim_set_by_pointer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rrdset_done(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, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/netdata/collectors/freebsd.plugin/extr_freebsd_sysctl.c_do_vm_stats_sys_v_forks.c' source_filename = "AnghaBench/netdata/collectors/freebsd.plugin/extr_freebsd_sysctl.c_do_vm_stats_sys_v_forks.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @do_vm_stats_sys_v_forks.mib = internal global [4 x i32] zeroinitializer, align 4 @.str = private unnamed_addr constant [20 x i8] c"vm.stats.vm.v_forks\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"DISABLED: system.forks chart\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"DISABLED: vm.stats.sys.v_swtch module\00", align 1 @do_vm_stats_sys_v_forks.st = internal unnamed_addr global ptr null, align 8 @do_vm_stats_sys_v_forks.rd = internal unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"system\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"forks\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"processes\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"Started Processes\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"processes/s\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"freebsd.plugin\00", align 1 @.str.9 = private unnamed_addr constant [21 x i8] c"vm.stats.sys.v_swtch\00", align 1 @NETDATA_CHART_PRIO_SYSTEM_FORKS = common local_unnamed_addr global i32 0, align 4 @RRDSET_TYPE_LINE = common local_unnamed_addr global i32 0, align 4 @RRDSET_FLAG_DETAIL = common local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [8 x i8] c"started\00", align 1 @RRD_ALGORITHM_INCREMENTAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @do_vm_stats_sys_v_forks(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @GETSYSCTL_SIMPLE(ptr noundef nonnull @.str, ptr noundef nonnull @do_vm_stats_sys_v_forks.mib, i32 noundef undef) #2 %4 = tail call i64 @unlikely(i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = tail call i32 @error(ptr noundef nonnull @.str.1) #2 %8 = tail call i32 @error(ptr noundef nonnull @.str.2) #2 br label %34 9: ; preds = %2 %10 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !6 %11 = icmp eq ptr %10, null %12 = zext i1 %11 to i32 %13 = tail call i64 @unlikely(i32 noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %9 %16 = load i32, ptr @NETDATA_CHART_PRIO_SYSTEM_FORKS, align 4, !tbaa !10 %17 = load i32, ptr @RRDSET_TYPE_LINE, align 4, !tbaa !10 %18 = tail call ptr @rrdset_create_localhost(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, ptr noundef null, ptr noundef nonnull @.str.5, ptr noundef null, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, i32 noundef %16, i32 noundef %0, i32 noundef %17) #2 store ptr %18, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !6 %19 = load i32, ptr @RRDSET_FLAG_DETAIL, align 4, !tbaa !10 %20 = tail call i32 @rrdset_flag_set(ptr noundef %18, i32 noundef %19) #2 %21 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !6 %22 = load i32, ptr @RRD_ALGORITHM_INCREMENTAL, align 4, !tbaa !10 %23 = tail call ptr @rrddim_add(ptr noundef %21, ptr noundef nonnull @.str.10, ptr noundef null, i32 noundef 1, i32 noundef 1, i32 noundef %22) #2 store ptr %23, ptr @do_vm_stats_sys_v_forks.rd, align 8, !tbaa !6 br label %28 24: ; preds = %9 %25 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !6 %26 = tail call i32 @rrdset_next(ptr noundef %25) #2 %27 = load ptr, ptr @do_vm_stats_sys_v_forks.rd, align 8, !tbaa !6 br label %28 28: ; preds = %24, %15 %29 = phi ptr [ %27, %24 ], [ %23, %15 ] %30 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !6 %31 = tail call i32 @rrddim_set_by_pointer(ptr noundef %30, ptr noundef %29, i32 noundef undef) #2 %32 = load ptr, ptr @do_vm_stats_sys_v_forks.st, align 8, !tbaa !6 %33 = tail call i32 @rrdset_done(ptr noundef %32) #2 br label %34 34: ; preds = %28, %6 %35 = phi i32 [ 1, %6 ], [ 0, %28 ] ret i32 %35 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @GETSYSCTL_SIMPLE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @error(ptr noundef) local_unnamed_addr #1 declare ptr @rrdset_create_localhost(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rrdset_flag_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @rrddim_add(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rrdset_next(ptr noundef) local_unnamed_addr #1 declare i32 @rrddim_set_by_pointer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rrdset_done(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, !11, i64 0} !11 = !{!"int", !8, i64 0}
netdata_collectors_freebsd.plugin_extr_freebsd_sysctl.c_do_vm_stats_sys_v_forks
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman.c_qm_mr_cci_consume_to_current.c' source_filename = "AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman.c_qm_mr_cci_consume_to_current.c" target datalayout = "e-m:e-p270:32:32-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.qm_mr = type { i64, i32, i32 } @qm_mr_cci = dso_local local_unnamed_addr global i64 0, align 8 @QM_REG_MR_CI_CINH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qm_mr_cci_consume_to_current], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @qm_mr_cci_consume_to_current(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @qm_mr_cci, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 %6 = tail call i32 @DPAA_ASSERT(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.qm_mr, ptr %0, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = tail call i32 @mr_ptr2idx(i32 noundef %8) #2 %10 = getelementptr inbounds %struct.qm_mr, ptr %0, i64 0, i32 1 store i32 %9, ptr %10, align 8, !tbaa !13 %11 = load i32, ptr @QM_REG_MR_CI_CINH, align 4, !tbaa !14 %12 = tail call i32 @qm_out(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %9) #2 ret void } declare i32 @DPAA_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @mr_ptr2idx(i32 noundef) local_unnamed_addr #1 declare i32 @qm_out(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"qm_mr", !7, i64 0, !10, i64 8, !10, i64 12} !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, !10, i64 12} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman.c_qm_mr_cci_consume_to_current.c' source_filename = "AnghaBench/linux/drivers/soc/fsl/qbman/extr_qman.c_qm_mr_cci_consume_to_current.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @qm_mr_cci = common local_unnamed_addr global i64 0, align 8 @QM_REG_MR_CI_CINH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qm_mr_cci_consume_to_current], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @qm_mr_cci_consume_to_current(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @qm_mr_cci, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 %6 = tail call i32 @DPAA_ASSERT(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 12 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = tail call i32 @mr_ptr2idx(i32 noundef %8) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %9, ptr %10, align 8, !tbaa !14 %11 = load i32, ptr @QM_REG_MR_CI_CINH, align 4, !tbaa !15 %12 = tail call i32 @qm_out(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %9) #2 ret void } declare i32 @DPAA_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @mr_ptr2idx(i32 noundef) local_unnamed_addr #1 declare i32 @qm_out(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"qm_mr", !8, i64 0, !11, i64 8, !11, i64 12} !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, !11, i64 12} !14 = !{!7, !11, i64 8} !15 = !{!11, !11, i64 0}
linux_drivers_soc_fsl_qbman_extr_qman.c_qm_mr_cci_consume_to_current
; ModuleID = 'AnghaBench/linux/net/ieee802154/extr_socket.c_dgram_connect.c' source_filename = "AnghaBench/linux/net/ieee802154/extr_socket.c_dgram_connect.c" target datalayout = "e-m:e-p270:32:32-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.dgram_sock = type { i32, i32, i32 } %struct.sockaddr_ieee802154 = type { i64, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @AF_IEEE802154 = dso_local local_unnamed_addr global i64 0, align 8 @ENETUNREACH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dgram_connect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dgram_connect(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @dgram_sk(ptr noundef %0) #2 %5 = icmp ult i32 %2, 16 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %31 9: ; preds = %3 %10 = load i64, ptr %1, align 8, !tbaa !9 %11 = load i64, ptr @AF_IEEE802154, align 8, !tbaa !12 %12 = icmp eq i64 %10, %11 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = load i32, ptr @EINVAL, align 4, !tbaa !5 %15 = sub nsw i32 0, %14 br label %31 16: ; preds = %9 %17 = tail call i32 @lock_sock(ptr noundef %0) #2 %18 = getelementptr inbounds %struct.dgram_sock, ptr %4, i64 0, i32 2 %19 = load i32, ptr %18, align 4, !tbaa !13 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr @ENETUNREACH, align 4, !tbaa !5 %23 = sub nsw i32 0, %22 br label %28 24: ; preds = %16 %25 = getelementptr inbounds %struct.dgram_sock, ptr %4, i64 0, i32 1 %26 = getelementptr inbounds %struct.sockaddr_ieee802154, ptr %1, i64 0, i32 1 %27 = tail call i32 @ieee802154_addr_from_sa(ptr noundef nonnull %25, ptr noundef nonnull %26) #2 store i32 1, ptr %4, align 4, !tbaa !15 br label %28 28: ; preds = %24, %21 %29 = phi i32 [ 0, %24 ], [ %23, %21 ] %30 = tail call i32 @release_sock(ptr noundef %0) #2 br label %31 31: ; preds = %28, %13, %6 %32 = phi i32 [ %8, %6 ], [ %15, %13 ], [ %29, %28 ] ret i32 %32 } declare ptr @dgram_sk(ptr noundef) local_unnamed_addr #1 declare i32 @lock_sock(ptr noundef) local_unnamed_addr #1 declare i32 @ieee802154_addr_from_sa(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @release_sock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"sockaddr_ieee802154", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !6, i64 8} !14 = !{!"dgram_sock", !6, i64 0, !6, i64 4, !6, i64 8} !15 = !{!14, !6, i64 0}
; ModuleID = 'AnghaBench/linux/net/ieee802154/extr_socket.c_dgram_connect.c' source_filename = "AnghaBench/linux/net/ieee802154/extr_socket.c_dgram_connect.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 @AF_IEEE802154 = common local_unnamed_addr global i64 0, align 8 @ENETUNREACH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dgram_connect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @dgram_connect(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @dgram_sk(ptr noundef %0) #2 %5 = icmp ult i32 %2, 16 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %31 9: ; preds = %3 %10 = load i64, ptr %1, align 8, !tbaa !10 %11 = load i64, ptr @AF_IEEE802154, align 8, !tbaa !13 %12 = icmp eq i64 %10, %11 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = load i32, ptr @EINVAL, align 4, !tbaa !6 %15 = sub nsw i32 0, %14 br label %31 16: ; preds = %9 %17 = tail call i32 @lock_sock(ptr noundef %0) #2 %18 = getelementptr inbounds i8, ptr %4, i64 8 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load i32, ptr @ENETUNREACH, align 4, !tbaa !6 %23 = sub nsw i32 0, %22 br label %28 24: ; preds = %16 %25 = getelementptr inbounds i8, ptr %4, i64 4 %26 = getelementptr inbounds i8, ptr %1, i64 8 %27 = tail call i32 @ieee802154_addr_from_sa(ptr noundef nonnull %25, ptr noundef nonnull %26) #2 store i32 1, ptr %4, align 4, !tbaa !16 br label %28 28: ; preds = %24, %21 %29 = phi i32 [ 0, %24 ], [ %23, %21 ] %30 = tail call i32 @release_sock(ptr noundef %0) #2 br label %31 31: ; preds = %28, %13, %6 %32 = phi i32 [ %8, %6 ], [ %15, %13 ], [ %29, %28 ] ret i32 %32 } declare ptr @dgram_sk(ptr noundef) local_unnamed_addr #1 declare i32 @lock_sock(ptr noundef) local_unnamed_addr #1 declare i32 @ieee802154_addr_from_sa(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @release_sock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"sockaddr_ieee802154", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !7, i64 8} !15 = !{!"dgram_sock", !7, i64 0, !7, i64 4, !7, i64 8} !16 = !{!15, !7, i64 0}
linux_net_ieee802154_extr_socket.c_dgram_connect
; ModuleID = 'AnghaBench/freebsd/lib/libstdthreads/extr_thrd.c_thrd_detach.c' source_filename = "AnghaBench/freebsd/lib/libstdthreads/extr_thrd.c_thrd_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" @thrd_error = dso_local local_unnamed_addr global i32 0, align 4 @thrd_success = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @thrd_detach(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @pthread_detach(i32 noundef %0) #2 %3 = icmp eq i64 %2, 0 %4 = load i32, ptr @thrd_success, align 4 %5 = load i32, ptr @thrd_error, align 4 %6 = select i1 %3, i32 %4, i32 %5 ret i32 %6 } declare i64 @pthread_detach(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/lib/libstdthreads/extr_thrd.c_thrd_detach.c' source_filename = "AnghaBench/freebsd/lib/libstdthreads/extr_thrd.c_thrd_detach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @thrd_error = common local_unnamed_addr global i32 0, align 4 @thrd_success = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @thrd_detach(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @pthread_detach(i32 noundef %0) #2 %3 = icmp eq i64 %2, 0 %4 = load i32, ptr @thrd_success, align 4 %5 = load i32, ptr @thrd_error, align 4 %6 = select i1 %3, i32 %4, i32 %5 ret i32 %6 } declare i64 @pthread_detach(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_lib_libstdthreads_extr_thrd.c_thrd_detach
; ModuleID = 'AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_nds32_start.c' source_filename = "AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_nds32_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.perf_event = type { %struct.hw_perf_event, i32 } %struct.hw_perf_event = type { i32 } @PERF_EF_RELOAD = dso_local local_unnamed_addr global i32 0, align 4 @PERF_HES_UPTODATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nds32_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nds32_start(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.perf_event, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call ptr @to_nds32_pmu(i32 noundef %4) #2 %6 = load i32, ptr @PERF_EF_RELOAD, align 4, !tbaa !11 %7 = and i32 %6, %1 %8 = icmp eq i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %2 %10 = load i32, ptr %0, align 4, !tbaa !12 %11 = load i32, ptr @PERF_HES_UPTODATE, align 4, !tbaa !11 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 @WARN_ON_ONCE(i32 noundef %14) #2 br label %16 16: ; preds = %9, %2 store i32 0, ptr %0, align 4, !tbaa !12 %17 = tail call i32 @nds32_pmu_event_set_period(ptr noundef nonnull %0) #2 %18 = load ptr, ptr %5, align 8, !tbaa !13 %19 = tail call i32 %18(ptr noundef nonnull %0) #2 ret void } declare ptr @to_nds32_pmu(i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @nds32_pmu_event_set_period(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 4} !6 = !{!"perf_event", !7, i64 0, !8, i64 4} !7 = !{!"hw_perf_event", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"nds32_pmu", !15, i64 0} !15 = !{!"any pointer", !9, i64 0}
; ModuleID = 'AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_nds32_start.c' source_filename = "AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_nds32_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PERF_EF_RELOAD = common local_unnamed_addr global i32 0, align 4 @PERF_HES_UPTODATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nds32_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nds32_start(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call ptr @to_nds32_pmu(i32 noundef %4) #2 %6 = load i32, ptr @PERF_EF_RELOAD, align 4, !tbaa !12 %7 = and i32 %6, %1 %8 = icmp eq i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %2 %10 = load i32, ptr %0, align 4, !tbaa !13 %11 = load i32, ptr @PERF_HES_UPTODATE, align 4, !tbaa !12 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 @WARN_ON_ONCE(i32 noundef %14) #2 br label %16 16: ; preds = %9, %2 store i32 0, ptr %0, align 4, !tbaa !13 %17 = tail call i32 @nds32_pmu_event_set_period(ptr noundef nonnull %0) #2 %18 = load ptr, ptr %5, align 8, !tbaa !14 %19 = tail call i32 %18(ptr noundef nonnull %0) #2 ret void } declare ptr @to_nds32_pmu(i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @nds32_pmu_event_set_period(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 4} !7 = !{!"perf_event", !8, i64 0, !9, i64 4} !8 = !{!"hw_perf_event", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = !{!8, !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"nds32_pmu", !16, i64 0} !16 = !{!"any pointer", !10, i64 0}
linux_arch_nds32_kernel_extr_perf_event_cpu.c_nds32_start
; ModuleID = 'AnghaBench/libsodium/test/default/extr_core1.c_xmain.c' source_filename = "AnghaBench/libsodium/test/default/extr_core1.c_xmain.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @firstkey = dso_local local_unnamed_addr global ptr null, align 8 @zero = dso_local local_unnamed_addr global i32 0, align 4 @shared = dso_local local_unnamed_addr global i32 0, align 4 @c = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"0x%02x\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main() local_unnamed_addr #0 { %1 = load ptr, ptr @firstkey, align 8, !tbaa !5 %2 = load i32, ptr @zero, align 4, !tbaa !9 %3 = load i32, ptr @shared, align 4, !tbaa !9 %4 = load i32, ptr @c, align 4, !tbaa !9 %5 = tail call i32 @crypto_core_hsalsa20(ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 %6 = tail call i32 @putchar(i32 32) %7 = load ptr, ptr @firstkey, align 8, !tbaa !5 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = trunc i64 %8 to i32 %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %9) br label %11 11: ; preds = %0, %23 %12 = phi i64 [ 1, %0 ], [ %24, %23 ] %13 = tail call i32 @putchar(i32 44) %14 = load ptr, ptr @firstkey, align 8, !tbaa !5 %15 = getelementptr inbounds i64, ptr %14, i64 %12 %16 = load i64, ptr %15, align 8, !tbaa !11 %17 = trunc i64 %16 to i32 %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %17) %19 = and i64 %12, 7 %20 = icmp eq i64 %19, 7 br i1 %20, label %21, label %23 21: ; preds = %11 %22 = tail call i32 @putchar(i32 10) br label %23 23: ; preds = %11, %21 %24 = add nuw nsw i64 %12, 1 %25 = icmp eq i64 %24, 32 br i1 %25, label %26, label %11, !llvm.loop !13 26: ; preds = %23 %27 = tail call i32 (...) @crypto_core_hsalsa20_outputbytes() #4 %28 = icmp ne i32 %27, 0 %29 = zext i1 %28 to i32 %30 = tail call i32 @assert(i32 noundef %29) #4 %31 = tail call i32 (...) @crypto_core_hsalsa20_inputbytes() #4 %32 = icmp ne i32 %31, 0 %33 = zext i1 %32 to i32 %34 = tail call i32 @assert(i32 noundef %33) #4 %35 = tail call i32 (...) @crypto_core_hsalsa20_keybytes() #4 %36 = icmp ne i32 %35, 0 %37 = zext i1 %36 to i32 %38 = tail call i32 @assert(i32 noundef %37) #4 %39 = tail call i32 (...) @crypto_core_hsalsa20_constbytes() #4 %40 = icmp ne i32 %39, 0 %41 = zext i1 %40 to i32 %42 = tail call i32 @assert(i32 noundef %41) #4 ret i32 0 } declare i32 @crypto_core_hsalsa20(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @crypto_core_hsalsa20_outputbytes(...) local_unnamed_addr #1 declare i32 @crypto_core_hsalsa20_inputbytes(...) local_unnamed_addr #1 declare i32 @crypto_core_hsalsa20_keybytes(...) local_unnamed_addr #1 declare i32 @crypto_core_hsalsa20_constbytes(...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = distinct !{!13, !14, !15} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!"llvm.loop.peeled.count", i32 1}
; ModuleID = 'AnghaBench/libsodium/test/default/extr_core1.c_xmain.c' source_filename = "AnghaBench/libsodium/test/default/extr_core1.c_xmain.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @firstkey = common local_unnamed_addr global ptr null, align 8 @zero = common local_unnamed_addr global i32 0, align 4 @shared = common local_unnamed_addr global i32 0, align 4 @c = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"0x%02x\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main() local_unnamed_addr #0 { %1 = load ptr, ptr @firstkey, align 8, !tbaa !6 %2 = load i32, ptr @zero, align 4, !tbaa !10 %3 = load i32, ptr @shared, align 4, !tbaa !10 %4 = load i32, ptr @c, align 4, !tbaa !10 %5 = tail call i32 @crypto_core_hsalsa20(ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 %6 = tail call i32 @putchar(i32 32) %7 = load ptr, ptr @firstkey, align 8, !tbaa !6 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = trunc i64 %8 to i32 %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %9) br label %11 11: ; preds = %0, %23 %12 = phi i64 [ 1, %0 ], [ %24, %23 ] %13 = tail call i32 @putchar(i32 44) %14 = load ptr, ptr @firstkey, align 8, !tbaa !6 %15 = getelementptr inbounds i64, ptr %14, i64 %12 %16 = load i64, ptr %15, align 8, !tbaa !12 %17 = trunc i64 %16 to i32 %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %17) %19 = and i64 %12, 7 %20 = icmp eq i64 %19, 7 br i1 %20, label %21, label %23 21: ; preds = %11 %22 = tail call i32 @putchar(i32 10) br label %23 23: ; preds = %11, %21 %24 = add nuw nsw i64 %12, 1 %25 = icmp eq i64 %24, 32 br i1 %25, label %26, label %11, !llvm.loop !14 26: ; preds = %23 %27 = tail call i32 @crypto_core_hsalsa20_outputbytes() #4 %28 = icmp ne i32 %27, 0 %29 = zext i1 %28 to i32 %30 = tail call i32 @assert(i32 noundef %29) #4 %31 = tail call i32 @crypto_core_hsalsa20_inputbytes() #4 %32 = icmp ne i32 %31, 0 %33 = zext i1 %32 to i32 %34 = tail call i32 @assert(i32 noundef %33) #4 %35 = tail call i32 @crypto_core_hsalsa20_keybytes() #4 %36 = icmp ne i32 %35, 0 %37 = zext i1 %36 to i32 %38 = tail call i32 @assert(i32 noundef %37) #4 %39 = tail call i32 @crypto_core_hsalsa20_constbytes() #4 %40 = icmp ne i32 %39, 0 %41 = zext i1 %40 to i32 %42 = tail call i32 @assert(i32 noundef %41) #4 ret i32 0 } declare i32 @crypto_core_hsalsa20(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @crypto_core_hsalsa20_outputbytes(...) local_unnamed_addr #1 declare i32 @crypto_core_hsalsa20_inputbytes(...) local_unnamed_addr #1 declare i32 @crypto_core_hsalsa20_keybytes(...) local_unnamed_addr #1 declare i32 @crypto_core_hsalsa20_constbytes(...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15, !16} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!"llvm.loop.peeled.count", i32 1}
libsodium_test_default_extr_core1.c_xmain
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_files.c_is_obsoleted_by_patch.c' source_filename = "AnghaBench/reactos/dll/win32/msi/extr_files.c_is_obsoleted_by_patch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32 } @MSI_INITIAL_MEDIA_TRANSFORM_DISKID = dso_local local_unnamed_addr global i64 0, align 8 @szInstalled = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_obsoleted_by_patch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @is_obsoleted_by_patch(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %4 = tail call i32 @list_empty(ptr noundef nonnull %3) #2 %5 = icmp eq i32 %4, 0 %6 = load i64, ptr %1, align 8, !tbaa !5 %7 = load i64, ptr @MSI_INITIAL_MEDIA_TRANSFORM_DISKID, align 8 %8 = icmp slt i64 %6, %7 %9 = select i1 %5, i1 %8, i1 false br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i32, ptr %0, align 4, !tbaa !10 %12 = load i32, ptr @szInstalled, align 4, !tbaa !13 %13 = tail call i32 @msi_get_property_int(i32 noundef %11, i32 noundef %12, i32 noundef 0) #2 %14 = icmp eq i32 %13, 0 br label %18 15: ; preds = %2 %16 = tail call i64 @is_registered_patch_media(ptr noundef %0, i64 noundef %6) #2 %17 = icmp eq i64 %16, 0 br label %18 18: ; preds = %15, %10 %19 = phi i1 [ %17, %15 ], [ %14, %10 ] %20 = load i32, ptr @FALSE, align 4 %21 = load i32, ptr @TRUE, align 4 %22 = select i1 %19, i32 %20, i32 %21 ret i32 %22 } declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @msi_get_property_int(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @is_registered_patch_media(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_6__", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_files.c_is_obsoleted_by_patch.c' source_filename = "AnghaBench/reactos/dll/win32/msi/extr_files.c_is_obsoleted_by_patch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSI_INITIAL_MEDIA_TRANSFORM_DISKID = common local_unnamed_addr global i64 0, align 8 @szInstalled = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_obsoleted_by_patch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @is_obsoleted_by_patch(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call i32 @list_empty(ptr noundef nonnull %3) #2 %5 = icmp eq i32 %4, 0 %6 = load i64, ptr %1, align 8, !tbaa !6 %7 = load i64, ptr @MSI_INITIAL_MEDIA_TRANSFORM_DISKID, align 8 %8 = icmp slt i64 %6, %7 %9 = select i1 %5, i1 %8, i1 false br i1 %9, label %10, label %15 10: ; preds = %2 %11 = load i32, ptr %0, align 4, !tbaa !11 %12 = load i32, ptr @szInstalled, align 4, !tbaa !14 %13 = tail call i32 @msi_get_property_int(i32 noundef %11, i32 noundef %12, i32 noundef 0) #2 %14 = icmp eq i32 %13, 0 br label %18 15: ; preds = %2 %16 = tail call i64 @is_registered_patch_media(ptr noundef %0, i64 noundef %6) #2 %17 = icmp eq i64 %16, 0 br label %18 18: ; preds = %15, %10 %19 = phi i1 [ %17, %15 ], [ %14, %10 ] %20 = load i32, ptr @FALSE, align 4 %21 = load i32, ptr @TRUE, align 4 %22 = select i1 %19, i32 %20, i32 %21 ret i32 %22 } declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @msi_get_property_int(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @is_registered_patch_media(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_6__", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0}
reactos_dll_win32_msi_extr_files.c_is_obsoleted_by_patch
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_kthread.c_create_kthread.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_kthread.c_create_kthread.c" target datalayout = "e-m:e-p270:32:32-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.kthread_create_info = type { i32, i32 } @kthread = dso_local local_unnamed_addr global i32 0, align 4 @CLONE_FS = dso_local local_unnamed_addr global i32 0, align 4 @CLONE_FILES = dso_local local_unnamed_addr global i32 0, align 4 @SIGCHLD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @create_kthread], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @create_kthread(ptr noundef %0) #0 { %2 = load i32, ptr @kthread, align 4, !tbaa !5 %3 = load i32, ptr @CLONE_FS, align 4, !tbaa !5 %4 = load i32, ptr @CLONE_FILES, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = load i32, ptr @SIGCHLD, align 4, !tbaa !5 %7 = or i32 %5, %6 %8 = tail call i32 @kernel_thread(i32 noundef %2, ptr noundef %0, i32 noundef %7) #2 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %1 %11 = tail call i32 @ERR_PTR(i32 noundef %8) #2 %12 = getelementptr inbounds %struct.kthread_create_info, ptr %0, i64 0, i32 1 store i32 %11, ptr %12, align 4, !tbaa !9 %13 = tail call i32 @complete(ptr noundef %0) #2 br label %14 14: ; preds = %10, %1 ret void } declare i32 @kernel_thread(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"kthread_create_info", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_kthread.c_create_kthread.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_kthread.c_create_kthread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @kthread = common local_unnamed_addr global i32 0, align 4 @CLONE_FS = common local_unnamed_addr global i32 0, align 4 @CLONE_FILES = common local_unnamed_addr global i32 0, align 4 @SIGCHLD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @create_kthread], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @create_kthread(ptr noundef %0) #0 { %2 = load i32, ptr @kthread, align 4, !tbaa !6 %3 = load i32, ptr @CLONE_FS, align 4, !tbaa !6 %4 = load i32, ptr @CLONE_FILES, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = load i32, ptr @SIGCHLD, align 4, !tbaa !6 %7 = or i32 %5, %6 %8 = tail call i32 @kernel_thread(i32 noundef %2, ptr noundef %0, i32 noundef %7) #2 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %1 %11 = tail call i32 @ERR_PTR(i32 noundef %8) #2 %12 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %11, ptr %12, align 4, !tbaa !10 %13 = tail call i32 @complete(ptr noundef %0) #2 br label %14 14: ; preds = %10, %1 ret void } declare i32 @kernel_thread(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"kthread_create_info", !7, i64 0, !7, i64 4}
fastsocket_kernel_kernel_extr_kthread.c_create_kthread
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_aggregate.c_dt_aggregate_lquantizedsum.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_aggregate.c_dt_aggregate_lquantizedsum.c" target datalayout = "e-m:e-p270:32:32-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 @dt_aggregate_lquantizedsum], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal x86_fp80 @dt_aggregate_lquantizedsum(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i64, ptr %0, i64 1 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @DTRACE_LQUANTIZE_BASE(i64 noundef %3) #3 %5 = tail call i32 @DTRACE_LQUANTIZE_STEP(i64 noundef %3) #3 %6 = tail call i32 @DTRACE_LQUANTIZE_LEVELS(i64 noundef %3) #3 %7 = load i64, ptr %2, align 8, !tbaa !5 %8 = sitofp i64 %7 to x86_fp80 %9 = add nsw i32 %4, -1 %10 = sitofp i32 %9 to x86_fp80 %11 = fmul x86_fp80 %10, %8 %12 = icmp sgt i32 %6, 0 br i1 %12, label %13, label %58 13: ; preds = %1 %14 = mul i32 %5, %6 %15 = zext nneg i32 %6 to i64 %16 = and i64 %15, 1 %17 = icmp eq i32 %6, 1 br i1 %17, label %43, label %18 18: ; preds = %13 %19 = and i64 %15, 2147483646 br label %20 20: ; preds = %20, %18 %21 = phi i64 [ 0, %18 ], [ %32, %20 ] %22 = phi x86_fp80 [ %11, %18 ], [ %37, %20 ] %23 = phi i32 [ %4, %18 ], [ %38, %20 ] %24 = phi i64 [ 0, %18 ], [ %39, %20 ] %25 = or disjoint i64 %21, 1 %26 = getelementptr inbounds i64, ptr %2, i64 %25 %27 = load i64, ptr %26, align 8, !tbaa !5 %28 = sitofp i64 %27 to x86_fp80 %29 = sitofp i32 %23 to x86_fp80 %30 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %28, x86_fp80 %29, x86_fp80 %22) %31 = add nsw i32 %23, %5 %32 = add nuw nsw i64 %21, 2 %33 = getelementptr inbounds i64, ptr %2, i64 %32 %34 = load i64, ptr %33, align 8, !tbaa !5 %35 = sitofp i64 %34 to x86_fp80 %36 = sitofp i32 %31 to x86_fp80 %37 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %35, x86_fp80 %36, x86_fp80 %30) %38 = add nsw i32 %31, %5 %39 = add i64 %24, 2 %40 = icmp eq i64 %39, %19 br i1 %40, label %41, label %20, !llvm.loop !9 41: ; preds = %20 %42 = add nuw nsw i64 %21, 3 br label %43 43: ; preds = %41, %13 %44 = phi x86_fp80 [ undef, %13 ], [ %37, %41 ] %45 = phi i64 [ 1, %13 ], [ %42, %41 ] %46 = phi x86_fp80 [ %11, %13 ], [ %37, %41 ] %47 = phi i32 [ %4, %13 ], [ %38, %41 ] %48 = icmp eq i64 %16, 0 br i1 %48, label %55, label %49 49: ; preds = %43 %50 = getelementptr inbounds i64, ptr %2, i64 %45 %51 = load i64, ptr %50, align 8, !tbaa !5 %52 = sitofp i64 %51 to x86_fp80 %53 = sitofp i32 %47 to x86_fp80 %54 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %52, x86_fp80 %53, x86_fp80 %46) br label %55 55: ; preds = %43, %49 %56 = phi x86_fp80 [ %44, %43 ], [ %54, %49 ] %57 = add i32 %4, %14 br label %58 58: ; preds = %55, %1 %59 = phi i32 [ %4, %1 ], [ %57, %55 ] %60 = phi x86_fp80 [ %11, %1 ], [ %56, %55 ] %61 = sext i32 %6 to i64 %62 = getelementptr i64, ptr %2, i64 %61 %63 = getelementptr i64, ptr %62, i64 1 %64 = load i64, ptr %63, align 8, !tbaa !5 %65 = sitofp i64 %64 to x86_fp80 %66 = add nsw i32 %59, 1 %67 = sitofp i32 %66 to x86_fp80 %68 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %65, x86_fp80 %67, x86_fp80 %60) ret x86_fp80 %68 } declare i32 @DTRACE_LQUANTIZE_BASE(i64 noundef) local_unnamed_addr #1 declare i32 @DTRACE_LQUANTIZE_STEP(i64 noundef) local_unnamed_addr #1 declare i32 @DTRACE_LQUANTIZE_LEVELS(i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_aggregate.c_dt_aggregate_lquantizedsum.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_aggregate.c_dt_aggregate_lquantizedsum.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 @dt_aggregate_lquantizedsum], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal double @dt_aggregate_lquantizedsum(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @DTRACE_LQUANTIZE_BASE(i64 noundef %3) #4 %5 = tail call i32 @DTRACE_LQUANTIZE_STEP(i64 noundef %3) #4 %6 = tail call i32 @DTRACE_LQUANTIZE_LEVELS(i64 noundef %3) #4 %7 = load i64, ptr %2, align 8, !tbaa !6 %8 = sitofp i64 %7 to double %9 = add nsw i32 %4, -1 %10 = sitofp i32 %9 to double %11 = fmul double %10, %8 %12 = icmp sgt i32 %6, 0 br i1 %12, label %13, label %87 13: ; preds = %1 %14 = mul i32 %5, %6 %15 = zext nneg i32 %6 to i64 %16 = icmp ult i32 %6, 8 br i1 %16, label %68, label %17 17: ; preds = %13 %18 = and i64 %15, 2147483640 %19 = trunc nuw nsw i64 %18 to i32 %20 = mul i32 %5, %19 %21 = add i32 %4, %20 %22 = insertelement <2 x i32> poison, i32 %4, i64 0 %23 = shufflevector <2 x i32> %22, <2 x i32> poison, <2 x i32> zeroinitializer %24 = insertelement <2 x i32> poison, i32 %5, i64 0 %25 = shufflevector <2 x i32> %24, <2 x i32> poison, <2 x i32> zeroinitializer %26 = mul nuw <2 x i32> %25, <i32 0, i32 1> %27 = add <2 x i32> %23, %26 %28 = shl i32 %5, 1 %29 = insertelement <2 x i32> poison, i32 %28, i64 0 %30 = shufflevector <2 x i32> %29, <2 x i32> poison, <2 x i32> zeroinitializer br label %31 31: ; preds = %31, %17 %32 = phi i64 [ 0, %17 ], [ %63, %31 ] %33 = phi double [ %11, %17 ], [ %62, %31 ] %34 = phi <2 x i32> [ %27, %17 ], [ %64, %31 ] %35 = add <2 x i32> %34, %30 %36 = add <2 x i32> %35, %30 %37 = add <2 x i32> %36, %30 %38 = or disjoint i64 %32, 1 %39 = getelementptr inbounds i64, ptr %2, i64 %38 %40 = getelementptr inbounds i8, ptr %39, i64 16 %41 = getelementptr inbounds i8, ptr %39, i64 32 %42 = getelementptr inbounds i8, ptr %39, i64 48 %43 = load <2 x i64>, ptr %39, align 8, !tbaa !6 %44 = load <2 x i64>, ptr %40, align 8, !tbaa !6 %45 = load <2 x i64>, ptr %41, align 8, !tbaa !6 %46 = load <2 x i64>, ptr %42, align 8, !tbaa !6 %47 = sitofp <2 x i64> %43 to <2 x double> %48 = sitofp <2 x i64> %44 to <2 x double> %49 = sitofp <2 x i64> %45 to <2 x double> %50 = sitofp <2 x i64> %46 to <2 x double> %51 = sitofp <2 x i32> %34 to <2 x double> %52 = sitofp <2 x i32> %35 to <2 x double> %53 = sitofp <2 x i32> %36 to <2 x double> %54 = sitofp <2 x i32> %37 to <2 x double> %55 = fmul <2 x double> %47, %51 %56 = fmul <2 x double> %48, %52 %57 = fmul <2 x double> %49, %53 %58 = fmul <2 x double> %50, %54 %59 = tail call double @llvm.vector.reduce.fadd.v2f64(double %33, <2 x double> %55) %60 = tail call double @llvm.vector.reduce.fadd.v2f64(double %59, <2 x double> %56) %61 = tail call double @llvm.vector.reduce.fadd.v2f64(double %60, <2 x double> %57) %62 = tail call double @llvm.vector.reduce.fadd.v2f64(double %61, <2 x double> %58) %63 = add nuw i64 %32, 8 %64 = add <2 x i32> %37, %30 %65 = icmp eq i64 %63, %18 br i1 %65, label %66, label %31, !llvm.loop !10 66: ; preds = %31 %67 = icmp eq i64 %18, %15 br i1 %67, label %84, label %68 68: ; preds = %66, %13 %69 = phi i64 [ 0, %13 ], [ %18, %66 ] %70 = phi double [ %11, %13 ], [ %62, %66 ] %71 = phi i32 [ %4, %13 ], [ %21, %66 ] br label %72 72: ; preds = %68, %72 %73 = phi i64 [ %76, %72 ], [ %69, %68 ] %74 = phi double [ %81, %72 ], [ %70, %68 ] %75 = phi i32 [ %82, %72 ], [ %71, %68 ] %76 = add nuw nsw i64 %73, 1 %77 = getelementptr inbounds i64, ptr %2, i64 %76 %78 = load i64, ptr %77, align 8, !tbaa !6 %79 = sitofp i64 %78 to double %80 = sitofp i32 %75 to double %81 = tail call double @llvm.fmuladd.f64(double %79, double %80, double %74) %82 = add nsw i32 %75, %5 %83 = icmp eq i64 %76, %15 br i1 %83, label %84, label %72, !llvm.loop !14 84: ; preds = %72, %66 %85 = phi double [ %62, %66 ], [ %81, %72 ] %86 = add i32 %4, %14 br label %87 87: ; preds = %84, %1 %88 = phi i32 [ %4, %1 ], [ %86, %84 ] %89 = phi double [ %11, %1 ], [ %85, %84 ] %90 = sext i32 %6 to i64 %91 = getelementptr i64, ptr %2, i64 %90 %92 = getelementptr i8, ptr %91, i64 8 %93 = load i64, ptr %92, align 8, !tbaa !6 %94 = sitofp i64 %93 to double %95 = add nsw i32 %88, 1 %96 = sitofp i32 %95 to double %97 = tail call double @llvm.fmuladd.f64(double %94, double %96, double %89) ret double %97 } declare i32 @DTRACE_LQUANTIZE_BASE(i64 noundef) local_unnamed_addr #1 declare i32 @DTRACE_LQUANTIZE_STEP(i64 noundef) local_unnamed_addr #1 declare i32 @DTRACE_LQUANTIZE_LEVELS(i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.vector.reduce.fadd.v2f64(double, <2 x double>) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11, !12, !13} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!"llvm.loop.isvectorized", i32 1} !13 = !{!"llvm.loop.unroll.runtime.disable"} !14 = distinct !{!14, !11, !13, !12}
freebsd_cddl_contrib_opensolaris_lib_libdtrace_common_extr_dt_aggregate.c_dt_aggregate_lquantizedsum
; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_sc520_freq.c_sc520_freq_target.c' source_filename = "AnghaBench/linux/drivers/cpufreq/extr_sc520_freq.c_sc520_freq_target.c" target datalayout = "e-m:e-p270:32:32-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 } @cpuctl = dso_local local_unnamed_addr global ptr null, align 8 @sc520_freq_table = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @sc520_freq_target], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @sc520_freq_target(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i32 (...) @local_irq_disable() #2 %4 = load ptr, ptr @cpuctl, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !9 %6 = and i32 %5, -4 %7 = load ptr, ptr @sc520_freq_table, align 8, !tbaa !5 %8 = zext i32 %1 to i64 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = or i32 %10, %6 store i32 %11, ptr %4, align 4, !tbaa !9 %12 = tail call i32 (...) @local_irq_enable() #2 ret i32 0 } declare i32 @local_irq_disable(...) local_unnamed_addr #1 declare i32 @local_irq_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"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/cpufreq/extr_sc520_freq.c_sc520_freq_target.c' source_filename = "AnghaBench/linux/drivers/cpufreq/extr_sc520_freq.c_sc520_freq_target.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 } @cpuctl = common local_unnamed_addr global ptr null, align 8 @sc520_freq_table = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @sc520_freq_target], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @sc520_freq_target(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = tail call i32 @local_irq_disable() #2 %4 = load ptr, ptr @cpuctl, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = and i32 %5, -4 %7 = load ptr, ptr @sc520_freq_table, align 8, !tbaa !6 %8 = zext i32 %1 to i64 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = or i32 %10, %6 store i32 %11, ptr %4, align 4, !tbaa !10 %12 = tail call i32 @local_irq_enable() #2 ret i32 0 } declare i32 @local_irq_disable(...) local_unnamed_addr #1 declare i32 @local_irq_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"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0}
linux_drivers_cpufreq_extr_sc520_freq.c_sc520_freq_target
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_update_stations.c' source_filename = "AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_update_stations.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @interactive = dso_local local_unnamed_addr global i32 0, align 4 @stations = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"STA-FIRST\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"STA-NEXT %s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @update_stations], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @update_stations(ptr noundef %0) #0 { %2 = alloca [32 x i8], align 16 %3 = alloca [64 x i8], align 16 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #3 %4 = icmp ne ptr %0, null %5 = load i32, ptr @interactive, align 4 %6 = icmp ne i32 %5, 0 %7 = select i1 %4, i1 %6, i1 false br i1 %7, label %8, label %21 8: ; preds = %1 %9 = tail call i32 @cli_txt_list_flush(ptr noundef nonnull @stations) #3 %10 = call i64 @wpa_ctrl_command_sta(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull %2, i32 noundef 32, i32 noundef 0) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %21 12: ; preds = %8, %17 %13 = call i64 @os_strcmp(ptr noundef nonnull %2, ptr noundef nonnull @.str.1) #3 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %12 %16 = call i32 @cli_txt_list_add(ptr noundef nonnull @stations, ptr noundef nonnull %2) #3 br label %17 17: ; preds = %15, %12 %18 = call i32 @os_snprintf(ptr noundef nonnull %3, i32 noundef 64, ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #3 %19 = call i64 @wpa_ctrl_command_sta(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 32, i32 noundef 0) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %12, label %21, !llvm.loop !5 21: ; preds = %17, %8, %1 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 32, 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 @cli_txt_list_flush(ptr noundef) local_unnamed_addr #2 declare i64 @wpa_ctrl_command_sta(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @os_strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cli_txt_list_add(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @os_snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_update_stations.c' source_filename = "AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_update_stations.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @interactive = common local_unnamed_addr global i32 0, align 4 @stations = common global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"STA-FIRST\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"STA-NEXT %s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @update_stations], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @update_stations(ptr noundef %0) #0 { %2 = alloca [32 x i8], align 1 %3 = alloca [64 x i8], align 1 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #3 %4 = icmp ne ptr %0, null %5 = load i32, ptr @interactive, align 4 %6 = icmp ne i32 %5, 0 %7 = select i1 %4, i1 %6, i1 false br i1 %7, label %8, label %21 8: ; preds = %1 %9 = tail call i32 @cli_txt_list_flush(ptr noundef nonnull @stations) #3 %10 = call i64 @wpa_ctrl_command_sta(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull %2, i32 noundef 32, i32 noundef 0) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %21 12: ; preds = %8, %17 %13 = call i64 @os_strcmp(ptr noundef nonnull %2, ptr noundef nonnull @.str.1) #3 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %12 %16 = call i32 @cli_txt_list_add(ptr noundef nonnull @stations, ptr noundef nonnull %2) #3 br label %17 17: ; preds = %15, %12 %18 = call i32 @os_snprintf(ptr noundef nonnull %3, i32 noundef 64, ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #3 %19 = call i64 @wpa_ctrl_command_sta(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 32, i32 noundef 0) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %12, label %21, !llvm.loop !6 21: ; preds = %17, %8, %1 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 32, 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 @cli_txt_list_flush(ptr noundef) local_unnamed_addr #2 declare i64 @wpa_ctrl_command_sta(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @os_strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cli_txt_list_add(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @os_snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_wpa_hostapd_extr_hostapd_cli.c_update_stations
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-cr0014114.c_cr0014114_probe.c' source_filename = "AnghaBench/linux/drivers/leds/extr_leds-cr0014114.c_cr0014114_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.cr0014114 = type { i64, i32, i32, ptr, i64, ptr, i32, ptr } @.str = private unnamed_addr constant [37 x i8] c"LEDs are not defined in device tree!\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @leds = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @cr0014114_recount_work = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @CR_FW_DELAY_MSEC = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"first recount failed %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"second recount failed %d\0A\00", align 1 @CR_RECOUNT_DELAY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cr0014114_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cr0014114_probe(ptr noundef %0) #0 { %2 = tail call i64 @device_get_child_node_count(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2 %6 = load i32, ptr @ENODEV, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %58 8: ; preds = %1 %9 = load i32, ptr @leds, align 4, !tbaa !5 %10 = tail call i64 @struct_size(ptr noundef undef, i32 noundef %9, i64 noundef %2) #2 %11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %12 = tail call ptr @devm_kzalloc(ptr noundef %0, i64 noundef %10, i32 noundef %11) #2 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %8 %15 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %16 = sub nsw i32 0, %15 br label %58 17: ; preds = %8 %18 = add i64 %2, 2 %19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %20 = tail call ptr @devm_kzalloc(ptr noundef %0, i64 noundef %18, i32 noundef %19) #2 %21 = getelementptr inbounds %struct.cr0014114, ptr %12, i64 0, i32 7 store ptr %20, ptr %21, align 8, !tbaa !9 %22 = icmp eq ptr %20, null br i1 %22, label %23, label %26 23: ; preds = %17 %24 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %25 = sub nsw i32 0, %24 br label %58 26: ; preds = %17 %27 = getelementptr inbounds %struct.cr0014114, ptr %12, i64 0, i32 6 %28 = tail call i32 @mutex_init(ptr noundef nonnull %27) #2 %29 = getelementptr inbounds %struct.cr0014114, ptr %12, i64 0, i32 2 %30 = load i32, ptr @cr0014114_recount_work, align 4, !tbaa !5 %31 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %29, i32 noundef %30) #2 store i64 %2, ptr %12, align 8, !tbaa !13 %32 = getelementptr inbounds %struct.cr0014114, ptr %12, i64 0, i32 3 store ptr %0, ptr %32, align 8, !tbaa !14 %33 = getelementptr inbounds %struct.cr0014114, ptr %12, i64 0, i32 5 store ptr %0, ptr %33, align 8, !tbaa !15 %34 = load i64, ptr @jiffies, align 8, !tbaa !16 %35 = load i32, ptr @CR_FW_DELAY_MSEC, align 4, !tbaa !5 %36 = tail call i64 @msecs_to_jiffies(i32 noundef %35) #2 %37 = sub nsw i64 %34, %36 %38 = getelementptr inbounds %struct.cr0014114, ptr %12, i64 0, i32 4 store i64 %37, ptr %38, align 8, !tbaa !17 %39 = getelementptr inbounds %struct.cr0014114, ptr %12, i64 0, i32 1 store i32 1, ptr %39, align 8, !tbaa !18 %40 = tail call i32 @cr0014114_sync(ptr noundef nonnull %12) #2 %41 = icmp eq i32 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %26 %43 = load ptr, ptr %32, align 8, !tbaa !14 %44 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %43, ptr noundef nonnull @.str.1, i32 noundef %40) #2 br label %58 45: ; preds = %26 store i32 1, ptr %39, align 8, !tbaa !18 %46 = tail call i32 @cr0014114_sync(ptr noundef nonnull %12) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %45 %49 = load ptr, ptr %32, align 8, !tbaa !14 %50 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %49, ptr noundef nonnull @.str.2, i32 noundef %46) #2 br label %58 51: ; preds = %45 %52 = tail call i32 @cr0014114_probe_dt(ptr noundef nonnull %12) #2 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %51 %55 = load i32, ptr @CR_RECOUNT_DELAY, align 4, !tbaa !5 %56 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %29, i32 noundef %55) #2 %57 = tail call i32 @spi_set_drvdata(ptr noundef %0, ptr noundef nonnull %12) #2 br label %58 58: ; preds = %51, %54, %48, %42, %23, %14, %4 %59 = phi i32 [ %40, %42 ], [ %46, %48 ], [ 0, %54 ], [ %25, %23 ], [ %16, %14 ], [ %7, %4 ], [ %52, %51 ] ret i32 %59 } declare i64 @device_get_child_node_count(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @devm_kzalloc(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @struct_size(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @cr0014114_sync(ptr noundef) local_unnamed_addr #1 declare i32 @cr0014114_probe_dt(ptr noundef) local_unnamed_addr #1 declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spi_set_drvdata(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, !12, i64 48} !10 = !{!"cr0014114", !11, i64 0, !6, i64 8, !6, i64 12, !12, i64 16, !11, i64 24, !12, i64 32, !6, i64 40, !12, i64 48} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !11, i64 0} !14 = !{!10, !12, i64 16} !15 = !{!10, !12, i64 32} !16 = !{!11, !11, i64 0} !17 = !{!10, !11, i64 24} !18 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-cr0014114.c_cr0014114_probe.c' source_filename = "AnghaBench/linux/drivers/leds/extr_leds-cr0014114.c_cr0014114_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [37 x i8] c"LEDs are not defined in device tree!\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @leds = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @cr0014114_recount_work = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i64 0, align 8 @CR_FW_DELAY_MSEC = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"first recount failed %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"second recount failed %d\0A\00", align 1 @CR_RECOUNT_DELAY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cr0014114_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cr0014114_probe(ptr noundef %0) #0 { %2 = tail call i64 @device_get_child_node_count(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2 %6 = load i32, ptr @ENODEV, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %58 8: ; preds = %1 %9 = load i32, ptr @leds, align 4, !tbaa !6 %10 = tail call i64 @struct_size(ptr noundef undef, i32 noundef %9, i64 noundef %2) #2 %11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %12 = tail call ptr @devm_kzalloc(ptr noundef %0, i64 noundef %10, i32 noundef %11) #2 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %8 %15 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %16 = sub nsw i32 0, %15 br label %58 17: ; preds = %8 %18 = add i64 %2, 2 %19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %20 = tail call ptr @devm_kzalloc(ptr noundef %0, i64 noundef %18, i32 noundef %19) #2 %21 = getelementptr inbounds i8, ptr %12, i64 48 store ptr %20, ptr %21, align 8, !tbaa !10 %22 = icmp eq ptr %20, null br i1 %22, label %23, label %26 23: ; preds = %17 %24 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %25 = sub nsw i32 0, %24 br label %58 26: ; preds = %17 %27 = getelementptr inbounds i8, ptr %12, i64 40 %28 = tail call i32 @mutex_init(ptr noundef nonnull %27) #2 %29 = getelementptr inbounds i8, ptr %12, i64 12 %30 = load i32, ptr @cr0014114_recount_work, align 4, !tbaa !6 %31 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %29, i32 noundef %30) #2 store i64 %2, ptr %12, align 8, !tbaa !14 %32 = getelementptr inbounds i8, ptr %12, i64 16 store ptr %0, ptr %32, align 8, !tbaa !15 %33 = getelementptr inbounds i8, ptr %12, i64 32 store ptr %0, ptr %33, align 8, !tbaa !16 %34 = load i64, ptr @jiffies, align 8, !tbaa !17 %35 = load i32, ptr @CR_FW_DELAY_MSEC, align 4, !tbaa !6 %36 = tail call i64 @msecs_to_jiffies(i32 noundef %35) #2 %37 = sub nsw i64 %34, %36 %38 = getelementptr inbounds i8, ptr %12, i64 24 store i64 %37, ptr %38, align 8, !tbaa !18 %39 = getelementptr inbounds i8, ptr %12, i64 8 store i32 1, ptr %39, align 8, !tbaa !19 %40 = tail call i32 @cr0014114_sync(ptr noundef nonnull %12) #2 %41 = icmp eq i32 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %26 %43 = load ptr, ptr %32, align 8, !tbaa !15 %44 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %43, ptr noundef nonnull @.str.1, i32 noundef %40) #2 br label %58 45: ; preds = %26 store i32 1, ptr %39, align 8, !tbaa !19 %46 = tail call i32 @cr0014114_sync(ptr noundef nonnull %12) #2 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %45 %49 = load ptr, ptr %32, align 8, !tbaa !15 %50 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %49, ptr noundef nonnull @.str.2, i32 noundef %46) #2 br label %58 51: ; preds = %45 %52 = tail call i32 @cr0014114_probe_dt(ptr noundef nonnull %12) #2 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %51 %55 = load i32, ptr @CR_RECOUNT_DELAY, align 4, !tbaa !6 %56 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %29, i32 noundef %55) #2 %57 = tail call i32 @spi_set_drvdata(ptr noundef %0, ptr noundef nonnull %12) #2 br label %58 58: ; preds = %51, %54, %48, %42, %23, %14, %4 %59 = phi i32 [ %40, %42 ], [ %46, %48 ], [ 0, %54 ], [ %25, %23 ], [ %16, %14 ], [ %7, %4 ], [ %52, %51 ] ret i32 %59 } declare i64 @device_get_child_node_count(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @devm_kzalloc(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @struct_size(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @cr0014114_sync(ptr noundef) local_unnamed_addr #1 declare i32 @cr0014114_probe_dt(ptr noundef) local_unnamed_addr #1 declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spi_set_drvdata(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, !13, i64 48} !11 = !{!"cr0014114", !12, i64 0, !7, i64 8, !7, i64 12, !13, i64 16, !12, i64 24, !13, i64 32, !7, i64 40, !13, i64 48} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!11, !13, i64 16} !16 = !{!11, !13, i64 32} !17 = !{!12, !12, i64 0} !18 = !{!11, !12, i64 24} !19 = !{!11, !7, i64 8}
linux_drivers_leds_extr_leds-cr0014114.c_cr0014114_probe
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/roken/extr_socket_wrapper.c_convert_un_in.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/roken/extr_socket_wrapper.c_convert_un_in.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SOCKET_FORMAT = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @MAX_WRAPPED_INTERFACES = dso_local local_unnamed_addr global i32 0, align 4 @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @AF_INET6 = dso_local local_unnamed_addr global i32 0, align 4 @SW_IPV6_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @convert_un_in], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @convert_un_in(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #3 %7 = load ptr, ptr %0, align 8, !tbaa !5 %8 = tail call ptr @strrchr(ptr noundef %7, i8 noundef signext 47) #3 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %8, i64 1 br label %14 12: ; preds = %3 %13 = load ptr, ptr %0, align 8, !tbaa !5 br label %14 14: ; preds = %12, %10 %15 = phi ptr [ %11, %10 ], [ %13, %12 ] %16 = load i32, ptr @SOCKET_FORMAT, align 4, !tbaa !10 %17 = call i32 @sscanf(ptr noundef %15, i32 noundef %16, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %18 = load i32, ptr @EINVAL, align 4, !tbaa !10 store i32 %18, ptr @errno, align 4, !tbaa !10 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 -1 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @sscanf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sockaddr_un", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/roken/extr_socket_wrapper.c_convert_un_in.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/roken/extr_socket_wrapper.c_convert_un_in.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SOCKET_FORMAT = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @MAX_WRAPPED_INTERFACES = common local_unnamed_addr global i32 0, align 4 @AF_INET = common local_unnamed_addr global i32 0, align 4 @AF_INET6 = common local_unnamed_addr global i32 0, align 4 @SW_IPV6_ADDRESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @convert_un_in], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @convert_un_in(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #3 %7 = load ptr, ptr %0, align 8, !tbaa !6 %8 = tail call ptr @strrchr(ptr noundef %7, i8 noundef signext 47) #3 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %8, i64 1 br label %14 12: ; preds = %3 %13 = load ptr, ptr %0, align 8, !tbaa !6 br label %14 14: ; preds = %12, %10 %15 = phi ptr [ %11, %10 ], [ %13, %12 ] %16 = load i32, ptr @SOCKET_FORMAT, align 4, !tbaa !11 %17 = call i32 @sscanf(ptr noundef %15, i32 noundef %16, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %18 = load i32, ptr @EINVAL, align 4, !tbaa !11 store i32 %18, ptr @errno, align 4, !tbaa !11 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 -1 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @sscanf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sockaddr_un", !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}
freebsd_crypto_heimdal_lib_roken_extr_socket_wrapper.c_convert_un_in
; ModuleID = 'AnghaBench/linux/fs/dlm/extr_config.c_drop_comm.c' source_filename = "AnghaBench/linux/fs/dlm/extr_config.c_drop_comm.c" target datalayout = "e-m:e-p270:32:32-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.dlm_comm = type { i64, ptr, i32 } @local_comm = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @drop_comm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @drop_comm(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = tail call ptr @config_item_to_comm(ptr noundef %1) #2 %4 = load ptr, ptr @local_comm, align 8, !tbaa !5 %5 = icmp eq ptr %4, %3 br i1 %5, label %6, label %7 6: ; preds = %2 store ptr null, ptr @local_comm, align 8, !tbaa !5 br label %7 7: ; preds = %6, %2 %8 = getelementptr inbounds %struct.dlm_comm, ptr %3, i64 0, i32 2 %9 = load i32, ptr %8, align 8, !tbaa !9 %10 = tail call i32 @dlm_lowcomms_close(i32 noundef %9) #2 %11 = load i64, ptr %3, align 8, !tbaa !13 %12 = add i64 %11, -1 store i64 %12, ptr %3, align 8, !tbaa !13 %13 = icmp eq i64 %11, 0 br i1 %13, label %25, label %14 14: ; preds = %7 %15 = getelementptr inbounds %struct.dlm_comm, ptr %3, i64 0, i32 1 br label %16 16: ; preds = %14, %16 %17 = phi i64 [ %12, %14 ], [ %23, %16 ] %18 = load ptr, ptr %15, align 8, !tbaa !14 %19 = getelementptr inbounds i32, ptr %18, i64 %17 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = tail call i32 @kfree(i32 noundef %20) #2 %22 = load i64, ptr %3, align 8, !tbaa !13 %23 = add i64 %22, -1 store i64 %23, ptr %3, align 8, !tbaa !13 %24 = icmp eq i64 %22, 0 br i1 %24, label %25, label %16, !llvm.loop !16 25: ; preds = %16, %7 %26 = tail call i32 @config_item_put(ptr noundef %1) #2 ret void } declare ptr @config_item_to_comm(ptr noundef) local_unnamed_addr #1 declare i32 @dlm_lowcomms_close(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(i32 noundef) local_unnamed_addr #1 declare i32 @config_item_put(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, !12, i64 16} !10 = !{!"dlm_comm", !11, i64 0, !6, i64 8, !12, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!10, !11, i64 0} !14 = !{!10, !6, i64 8} !15 = !{!12, !12, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/fs/dlm/extr_config.c_drop_comm.c' source_filename = "AnghaBench/linux/fs/dlm/extr_config.c_drop_comm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @local_comm = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @drop_comm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @drop_comm(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = tail call ptr @config_item_to_comm(ptr noundef %1) #2 %4 = load ptr, ptr @local_comm, align 8, !tbaa !6 %5 = icmp eq ptr %4, %3 br i1 %5, label %6, label %7 6: ; preds = %2 store ptr null, ptr @local_comm, align 8, !tbaa !6 br label %7 7: ; preds = %6, %2 %8 = getelementptr inbounds i8, ptr %3, i64 16 %9 = load i32, ptr %8, align 8, !tbaa !10 %10 = tail call i32 @dlm_lowcomms_close(i32 noundef %9) #2 %11 = load i64, ptr %3, align 8, !tbaa !14 %12 = add i64 %11, -1 store i64 %12, ptr %3, align 8, !tbaa !14 %13 = icmp eq i64 %11, 0 br i1 %13, label %25, label %14 14: ; preds = %7 %15 = getelementptr inbounds i8, ptr %3, i64 8 br label %16 16: ; preds = %14, %16 %17 = phi i64 [ %12, %14 ], [ %23, %16 ] %18 = load ptr, ptr %15, align 8, !tbaa !15 %19 = getelementptr inbounds i32, ptr %18, i64 %17 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = tail call i32 @kfree(i32 noundef %20) #2 %22 = load i64, ptr %3, align 8, !tbaa !14 %23 = add i64 %22, -1 store i64 %23, ptr %3, align 8, !tbaa !14 %24 = icmp eq i64 %22, 0 br i1 %24, label %25, label %16, !llvm.loop !17 25: ; preds = %16, %7 %26 = tail call i32 @config_item_put(ptr noundef %1) #2 ret void } declare ptr @config_item_to_comm(ptr noundef) local_unnamed_addr #1 declare i32 @dlm_lowcomms_close(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(i32 noundef) local_unnamed_addr #1 declare i32 @config_item_put(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, !13, i64 16} !11 = !{!"dlm_comm", !12, i64 0, !7, i64 8, !13, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!11, !7, i64 8} !16 = !{!13, !13, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
linux_fs_dlm_extr_config.c_drop_comm
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_stm32-mdma.c_stm32_mdma_synchronize.c' source_filename = "AnghaBench/linux/drivers/dma/extr_stm32-mdma.c_stm32_mdma_synchronize.c" target datalayout = "e-m:e-p270:32:32-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 @stm32_mdma_synchronize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stm32_mdma_synchronize(ptr noundef %0) #0 { %2 = tail call ptr @to_stm32_mdma_chan(ptr noundef %0) #2 %3 = tail call i32 @vchan_synchronize(ptr noundef %2) #2 ret void } declare ptr @to_stm32_mdma_chan(ptr noundef) local_unnamed_addr #1 declare i32 @vchan_synchronize(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/dma/extr_stm32-mdma.c_stm32_mdma_synchronize.c' source_filename = "AnghaBench/linux/drivers/dma/extr_stm32-mdma.c_stm32_mdma_synchronize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @stm32_mdma_synchronize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stm32_mdma_synchronize(ptr noundef %0) #0 { %2 = tail call ptr @to_stm32_mdma_chan(ptr noundef %0) #2 %3 = tail call i32 @vchan_synchronize(ptr noundef %2) #2 ret void } declare ptr @to_stm32_mdma_chan(ptr noundef) local_unnamed_addr #1 declare i32 @vchan_synchronize(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_dma_extr_stm32-mdma.c_stm32_mdma_synchronize
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_kod.c_gdb_kod_display.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_kod.c_gdb_kod_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" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gdb_kod_display], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gdb_kod_display(ptr noundef %0) #0 { %2 = tail call i32 @printf_filtered(ptr noundef nonnull @.str, ptr noundef %0) #2 ret void } declare i32 @printf_filtered(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_kod.c_gdb_kod_display.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_kod.c_gdb_kod_display.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gdb_kod_display], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gdb_kod_display(ptr noundef %0) #0 { %2 = tail call i32 @printf_filtered(ptr noundef nonnull @.str, ptr noundef %0) #2 ret void } declare i32 @printf_filtered(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gdb_gdb_extr_kod.c_gdb_kod_display
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson02/2/H-4ND-H/src/extr_printf.c_ui2a.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson02/2/H-4ND-H/src/extr_printf.c_ui2a.c" target datalayout = "e-m:e-p270:32:32-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 @ui2a], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable define internal void @ui2a(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = icmp ult i32 %0, %1 br i1 %5, label %6, label %10 6: ; preds = %10, %4 %7 = phi i32 [ 1, %4 ], [ %12, %10 ] %8 = icmp eq i32 %2, 0 %9 = select i1 %8, i32 87, i32 55 br label %15 10: ; preds = %4, %10 %11 = phi i32 [ %12, %10 ], [ 1, %4 ] %12 = mul i32 %11, %1 %13 = udiv i32 %0, %12 %14 = icmp ult i32 %13, %1 br i1 %14, label %6, label %10, !llvm.loop !5 15: ; preds = %6, %35 %16 = phi i32 [ %0, %6 ], [ %21, %35 ] %17 = phi i32 [ %7, %6 ], [ %22, %35 ] %18 = phi i32 [ 0, %6 ], [ %37, %35 ] %19 = phi ptr [ %3, %6 ], [ %36, %35 ] %20 = udiv i32 %16, %17 %21 = urem i32 %16, %17 %22 = udiv i32 %17, %1 %23 = icmp ne i32 %18, 0 %24 = icmp sgt i32 %20, 0 %25 = select i1 %23, i1 true, i1 %24 %26 = icmp ult i32 %17, %1 %27 = or i1 %26, %25 br i1 %27, label %28, label %35 28: ; preds = %15 %29 = icmp slt i32 %20, 10 %30 = select i1 %29, i32 48, i32 %9 %31 = add nsw i32 %30, %20 %32 = trunc i32 %31 to i8 %33 = getelementptr inbounds i8, ptr %19, i64 1 store i8 %32, ptr %19, align 1, !tbaa !7 %34 = add nsw i32 %18, 1 br label %35 35: ; preds = %15, %28 %36 = phi ptr [ %33, %28 ], [ %19, %15 ] %37 = phi i32 [ %34, %28 ], [ 0, %15 ] br i1 %26, label %38, label %15, !llvm.loop !10 38: ; preds = %35 store i8 0, ptr %36, align 1, !tbaa !7 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !6}
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson02/2/H-4ND-H/src/extr_printf.c_ui2a.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson02/2/H-4ND-H/src/extr_printf.c_ui2a.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 @ui2a], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(write, inaccessiblemem: none) uwtable(sync) define internal void @ui2a(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = icmp ult i32 %0, %1 br i1 %5, label %6, label %10 6: ; preds = %10, %4 %7 = phi i32 [ 1, %4 ], [ %12, %10 ] %8 = icmp eq i32 %2, 0 %9 = select i1 %8, i32 87, i32 55 br label %15 10: ; preds = %4, %10 %11 = phi i32 [ %12, %10 ], [ 1, %4 ] %12 = mul i32 %11, %1 %13 = udiv i32 %0, %12 %14 = icmp ult i32 %13, %1 br i1 %14, label %6, label %10, !llvm.loop !6 15: ; preds = %6, %38 %16 = phi i32 [ %0, %6 ], [ %24, %38 ] %17 = phi i32 [ %7, %6 ], [ %25, %38 ] %18 = phi i32 [ 0, %6 ], [ %40, %38 ] %19 = phi ptr [ %3, %6 ], [ %39, %38 ] %20 = freeze i32 %16 %21 = freeze i32 %17 %22 = udiv i32 %20, %21 %23 = mul i32 %22, %21 %24 = sub i32 %20, %23 %25 = udiv i32 %17, %1 %26 = icmp ne i32 %18, 0 %27 = icmp sgt i32 %22, 0 %28 = select i1 %26, i1 true, i1 %27 %29 = icmp ult i32 %17, %1 %30 = or i1 %29, %28 br i1 %30, label %31, label %38 31: ; preds = %15 %32 = icmp slt i32 %22, 10 %33 = select i1 %32, i32 48, i32 %9 %34 = add nsw i32 %33, %22 %35 = trunc i32 %34 to i8 %36 = getelementptr inbounds i8, ptr %19, i64 1 store i8 %35, ptr %19, align 1, !tbaa !8 %37 = add nsw i32 %18, 1 br label %38 38: ; preds = %15, %31 %39 = phi ptr [ %36, %31 ], [ %19, %15 ] %40 = phi i32 [ %37, %31 ], [ 0, %15 ] br i1 %29, label %41, label %15, !llvm.loop !11 41: ; preds = %38 store i8 0, ptr %39, align 1, !tbaa !8 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !7}
raspberry-pi-os_exercises_lesson02_2_H-4ND-H_src_extr_printf.c_ui2a
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5l_log_write_empty_meta_block.c' source_filename = "AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5l_log_write_empty_meta_block.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.r5l_log = type { i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @REQ_OP_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @REQ_SYNC = dso_local local_unnamed_addr global i32 0, align 4 @REQ_FUA = dso_local local_unnamed_addr global i32 0, align 4 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @r5l_log_write_empty_meta_block], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @r5l_log_write_empty_meta_block(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %5 = tail call ptr @alloc_page(i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %30 10: ; preds = %3 %11 = tail call i32 @r5l_recovery_create_empty_meta_block(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %1, i32 noundef %2) #2 %12 = tail call ptr @page_address(ptr noundef nonnull %5) #2 %13 = getelementptr inbounds %struct.r5l_log, ptr %0, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !9 %15 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %16 = tail call i32 @crc32c_le(i32 noundef %14, ptr noundef %12, i32 noundef %15) #2 %17 = tail call i32 @cpu_to_le32(i32 noundef %16) #2 store i32 %17, ptr %12, align 4, !tbaa !11 %18 = load i32, ptr %0, align 4, !tbaa !13 %19 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %20 = load i32, ptr @REQ_OP_WRITE, align 4, !tbaa !5 %21 = load i32, ptr @REQ_SYNC, align 4, !tbaa !5 %22 = load i32, ptr @REQ_FUA, align 4, !tbaa !5 %23 = or i32 %22, %21 %24 = tail call i32 @sync_page_io(i32 noundef %18, i32 noundef %1, i32 noundef %19, ptr noundef nonnull %5, i32 noundef %20, i32 noundef %23, i32 noundef 0) #2 %25 = icmp eq i32 %24, 0 %26 = tail call i32 @__free_page(ptr noundef nonnull %5) #2 br i1 %25, label %27, label %30 27: ; preds = %10 %28 = load i32, ptr @EIO, align 4, !tbaa !5 %29 = sub nsw i32 0, %28 br label %30 30: ; preds = %10, %27, %7 %31 = phi i32 [ %29, %27 ], [ %9, %7 ], [ 0, %10 ] ret i32 %31 } declare ptr @alloc_page(i32 noundef) local_unnamed_addr #1 declare i32 @r5l_recovery_create_empty_meta_block(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @crc32c_le(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sync_page_io(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__free_page(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"r5l_log", !6, i64 0, !6, i64 4} !11 = !{!12, !6, i64 0} !12 = !{!"r5l_meta_block", !6, i64 0} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5l_log_write_empty_meta_block.c' source_filename = "AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5l_log_write_empty_meta_block.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @REQ_OP_WRITE = common local_unnamed_addr global i32 0, align 4 @REQ_SYNC = common local_unnamed_addr global i32 0, align 4 @REQ_FUA = common local_unnamed_addr global i32 0, align 4 @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @r5l_log_write_empty_meta_block], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @r5l_log_write_empty_meta_block(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %5 = tail call ptr @alloc_page(i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %30 10: ; preds = %3 %11 = tail call i32 @r5l_recovery_create_empty_meta_block(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %1, i32 noundef %2) #2 %12 = tail call ptr @page_address(ptr noundef nonnull %5) #2 %13 = getelementptr inbounds i8, ptr %0, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !10 %15 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %16 = tail call i32 @crc32c_le(i32 noundef %14, ptr noundef %12, i32 noundef %15) #2 %17 = tail call i32 @cpu_to_le32(i32 noundef %16) #2 store i32 %17, ptr %12, align 4, !tbaa !12 %18 = load i32, ptr %0, align 4, !tbaa !14 %19 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %20 = load i32, ptr @REQ_OP_WRITE, align 4, !tbaa !6 %21 = load i32, ptr @REQ_SYNC, align 4, !tbaa !6 %22 = load i32, ptr @REQ_FUA, align 4, !tbaa !6 %23 = or i32 %22, %21 %24 = tail call i32 @sync_page_io(i32 noundef %18, i32 noundef %1, i32 noundef %19, ptr noundef nonnull %5, i32 noundef %20, i32 noundef %23, i32 noundef 0) #2 %25 = icmp eq i32 %24, 0 %26 = tail call i32 @__free_page(ptr noundef nonnull %5) #2 br i1 %25, label %27, label %30 27: ; preds = %10 %28 = load i32, ptr @EIO, align 4, !tbaa !6 %29 = sub nsw i32 0, %28 br label %30 30: ; preds = %10, %27, %7 %31 = phi i32 [ %29, %27 ], [ %9, %7 ], [ 0, %10 ] ret i32 %31 } declare ptr @alloc_page(i32 noundef) local_unnamed_addr #1 declare i32 @r5l_recovery_create_empty_meta_block(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @crc32c_le(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sync_page_io(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__free_page(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"r5l_log", !7, i64 0, !7, i64 4} !12 = !{!13, !7, i64 0} !13 = !{!"r5l_meta_block", !7, i64 0} !14 = !{!11, !7, i64 0}
linux_drivers_md_extr_raid5-cache.c_r5l_log_write_empty_meta_block
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__Locale_ctype_default.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__Locale_ctype_default.c" target datalayout = "e-m:e-p270:32:32-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 [9 x i8] c"LC_CTYPE\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @_Locale_ctype_default(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @_Locale_aux_default(ptr noundef nonnull @.str, ptr noundef %0) #2 ret ptr %2 } declare ptr @_Locale_aux_default(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/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__Locale_ctype_default.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__Locale_ctype_default.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"LC_CTYPE\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @_Locale_ctype_default(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @_Locale_aux_default(ptr noundef nonnull @.str, ptr noundef %0) #2 ret ptr %2 } declare ptr @_Locale_aux_default(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)"}
reactos_sdk_lib_3rdparty_stlport_src_c_locale_glibc_extr_c_locale_glibc2.c__Locale_ctype_default
; ModuleID = 'AnghaBench/linux/drivers/media/platform/ti-vpe/extr_vpe.c_set_dei_regs.c' source_filename = "AnghaBench/linux/drivers/media/platform/ti-vpe/extr_vpe.c_set_dei_regs.c" target datalayout = "e-m:e-p270:32:32-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.vpe_ctx = type { i32, i32, ptr, %struct.TYPE_3__ } %struct.TYPE_3__ = type { ptr } %struct.vpe_q_data = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32 } @Q_DATA_SRC = dso_local local_unnamed_addr global i64 0, align 8 @Q_IS_INTERLACED = dso_local local_unnamed_addr global i32 0, align 4 @VPE_DEI_INTERLACE_BYPASS = dso_local local_unnamed_addr global i32 0, align 4 @VPE_DEI_HEIGHT_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @VPE_DEI_WIDTH_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @VPE_DEI_FIELD_FLUSH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_dei_regs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal void @set_dei_regs(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.vpe_ctx, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.vpe_ctx, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i64, ptr @Q_DATA_SRC, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.vpe_q_data, ptr %5, i64 %6 %8 = getelementptr inbounds %struct.vpe_q_data, ptr %5, i64 %6, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !15 %10 = getelementptr inbounds %struct.vpe_q_data, ptr %5, i64 %6, i32 1, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !18 %12 = load ptr, ptr %3, align 8, !tbaa !19 %13 = load i32, ptr %7, align 4, !tbaa !21 %14 = load i32, ptr @Q_IS_INTERLACED, align 4, !tbaa !22 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %1 %18 = getelementptr inbounds %struct.vpe_ctx, ptr %0, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !23 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %17, %1 %22 = load i32, ptr @VPE_DEI_INTERLACE_BYPASS, align 4, !tbaa !22 br label %23 23: ; preds = %21, %17 %24 = phi i32 [ 1, %17 ], [ 0, %21 ] %25 = phi i32 [ 0, %17 ], [ %22, %21 ] %26 = shl i32 %9, %24 %27 = load i32, ptr @VPE_DEI_HEIGHT_SHIFT, align 4, !tbaa !22 %28 = shl i32 %26, %27 %29 = load i32, ptr @VPE_DEI_WIDTH_SHIFT, align 4, !tbaa !22 %30 = shl i32 %11, %29 %31 = load i32, ptr @VPE_DEI_FIELD_FLUSH, align 4, !tbaa !22 %32 = or i32 %28, %25 %33 = or i32 %32, %30 %34 = or i32 %33, %31 store i32 %34, ptr %12, align 4, !tbaa !22 store i32 1, ptr %0, align 8, !tbaa !24 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"vpe_ctx", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_3__", !10, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !7, i64 4} !16 = !{!"vpe_q_data", !7, i64 0, !17, i64 4} !17 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !18 = !{!16, !7, i64 8} !19 = !{!20, !10, i64 0} !20 = !{!"vpe_mmr_adb", !10, i64 0} !21 = !{!16, !7, i64 0} !22 = !{!7, !7, i64 0} !23 = !{!6, !7, i64 4} !24 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/ti-vpe/extr_vpe.c_set_dei_regs.c' source_filename = "AnghaBench/linux/drivers/media/platform/ti-vpe/extr_vpe.c_set_dei_regs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vpe_q_data = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32 } @Q_DATA_SRC = common local_unnamed_addr global i64 0, align 8 @Q_IS_INTERLACED = common local_unnamed_addr global i32 0, align 4 @VPE_DEI_INTERLACE_BYPASS = common local_unnamed_addr global i32 0, align 4 @VPE_DEI_HEIGHT_SHIFT = common local_unnamed_addr global i32 0, align 4 @VPE_DEI_WIDTH_SHIFT = common local_unnamed_addr global i32 0, align 4 @VPE_DEI_FIELD_FLUSH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_dei_regs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @set_dei_regs(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = load i64, ptr @Q_DATA_SRC, align 8, !tbaa !14 %7 = getelementptr inbounds %struct.vpe_q_data, ptr %5, i64 %6 %8 = getelementptr inbounds i8, ptr %7, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !16 %10 = getelementptr inbounds i8, ptr %7, i64 8 %11 = load i32, ptr %10, align 4, !tbaa !19 %12 = load ptr, ptr %3, align 8, !tbaa !20 %13 = load i32, ptr %7, align 4, !tbaa !22 %14 = load i32, ptr @Q_IS_INTERLACED, align 4, !tbaa !23 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %1 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !24 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %17, %1 %22 = load i32, ptr @VPE_DEI_INTERLACE_BYPASS, align 4, !tbaa !23 br label %23 23: ; preds = %21, %17 %24 = phi i32 [ 1, %17 ], [ 0, %21 ] %25 = phi i32 [ 0, %17 ], [ %22, %21 ] %26 = shl i32 %9, %24 %27 = load i32, ptr @VPE_DEI_HEIGHT_SHIFT, align 4, !tbaa !23 %28 = shl i32 %26, %27 %29 = load i32, ptr @VPE_DEI_WIDTH_SHIFT, align 4, !tbaa !23 %30 = shl i32 %11, %29 %31 = load i32, ptr @VPE_DEI_FIELD_FLUSH, align 4, !tbaa !23 %32 = or i32 %28, %25 %33 = or i32 %32, %30 %34 = or i32 %33, %31 store i32 %34, ptr %12, align 4, !tbaa !23 store i32 1, ptr %0, align 8, !tbaa !25 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"vpe_ctx", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_3__", !11, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!17, !8, i64 4} !17 = !{!"vpe_q_data", !8, i64 0, !18, i64 4} !18 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !19 = !{!17, !8, i64 8} !20 = !{!21, !11, i64 0} !21 = !{!"vpe_mmr_adb", !11, i64 0} !22 = !{!17, !8, i64 0} !23 = !{!8, !8, i64 0} !24 = !{!7, !8, i64 4} !25 = !{!7, !8, i64 0}
linux_drivers_media_platform_ti-vpe_extr_vpe.c_set_dei_regs
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_dump.c_tracker_path_copy.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_dump.c_tracker_path_copy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32 } @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tracker_path_copy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tracker_path_copy(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @tracker_add_entry(ptr noundef %0, ptr noundef %1) #2 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 2 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = tail call i32 @svn_stringbuf_set(i32 noundef %7, ptr noundef %2) #2 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1 store i32 %3, ptr %9, align 4, !tbaa !10 %10 = load i32, ptr @TRUE, align 4, !tbaa !11 store i32 %10, ptr %5, align 4, !tbaa !12 ret void } declare ptr @tracker_add_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @svn_stringbuf_set(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 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_dump.c_tracker_path_copy.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_dump.c_tracker_path_copy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tracker_path_copy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tracker_path_copy(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @tracker_add_entry(ptr noundef %0, ptr noundef %1) #2 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = tail call i32 @svn_stringbuf_set(i32 noundef %7, ptr noundef %2) #2 %9 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %3, ptr %9, align 4, !tbaa !11 %10 = load i32, ptr @TRUE, align 4, !tbaa !12 store i32 %10, ptr %5, align 4, !tbaa !13 ret void } declare ptr @tracker_add_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @svn_stringbuf_set(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 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0}
freebsd_contrib_subversion_subversion_libsvn_repos_extr_dump.c_tracker_path_copy
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/dsp/extr_filters.c_VerticalFilter_C.c' source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/dsp/extr_filters.c_VerticalFilter_C.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @VerticalFilter_C], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @VerticalFilter_C(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = tail call i32 @DoVerticalFilter_C(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef %2, i32 noundef 0, ptr noundef %4) #2 ret void } declare i32 @DoVerticalFilter_C(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/dsp/extr_filters.c_VerticalFilter_C.c' source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/dsp/extr_filters.c_VerticalFilter_C.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @VerticalFilter_C], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @VerticalFilter_C(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = tail call i32 @DoVerticalFilter_C(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 0, i32 noundef %2, i32 noundef 0, ptr noundef %4) #2 ret void } declare i32 @DoVerticalFilter_C(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
sumatrapdf_ext_libwebp_src_dsp_extr_filters.c_VerticalFilter_C
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_ikev2.c_ikev2_process_sa_auth_decrypted.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_ikev2.c_ikev2_process_sa_auth_decrypted.c" target datalayout = "e-m:e-p270:32:32-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.ikev2_payloads = type { i32, i32, i32, i32, i32, i32 } @MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"IKEV2: Processing decrypted payloads\00", align 1 @MSG_INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"IKEV2: Failed to parse decrypted payloads\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ikev2_process_sa_auth_decrypted], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ikev2_process_sa_auth_decrypted(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca %struct.ikev2_payloads, align 4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3 %6 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5 %7 = tail call i32 @wpa_printf(i32 noundef %6, ptr noundef nonnull @.str) #3 %8 = getelementptr inbounds i32, ptr %2, i64 %3 %9 = call i64 @ikev2_parse_payloads(ptr noundef nonnull %5, i32 noundef %1, ptr noundef %2, ptr noundef %8) #3 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %4 %12 = load i32, ptr @MSG_INFO, align 4, !tbaa !5 %13 = call i32 @wpa_printf(i32 noundef %12, ptr noundef nonnull @.str.1) #3 br label %35 14: ; preds = %4 %15 = getelementptr inbounds %struct.ikev2_payloads, ptr %5, i64 0, i32 5 %16 = load i32, ptr %15, align 4, !tbaa !9 %17 = getelementptr inbounds %struct.ikev2_payloads, ptr %5, i64 0, i32 4 %18 = load i32, ptr %17, align 4, !tbaa !11 %19 = call i64 @ikev2_process_idi(ptr noundef %0, i32 noundef %16, i32 noundef %18) #3 %20 = icmp slt i64 %19, 0 br i1 %20, label %35, label %21 21: ; preds = %14 %22 = getelementptr inbounds %struct.ikev2_payloads, ptr %5, i64 0, i32 3 %23 = load i32, ptr %22, align 4, !tbaa !12 %24 = getelementptr inbounds %struct.ikev2_payloads, ptr %5, i64 0, i32 2 %25 = load i32, ptr %24, align 4, !tbaa !13 %26 = call i64 @ikev2_process_cert(ptr noundef %0, i32 noundef %23, i32 noundef %25) #3 %27 = icmp slt i64 %26, 0 br i1 %27, label %35, label %28 28: ; preds = %21 %29 = getelementptr inbounds %struct.ikev2_payloads, ptr %5, i64 0, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !14 %31 = load i32, ptr %5, align 4, !tbaa !15 %32 = call i64 @ikev2_process_auth(ptr noundef %0, i32 noundef %30, i32 noundef %31) #3 %33 = ashr i64 %32, 63 %34 = trunc i64 %33 to i32 br label %35 35: ; preds = %28, %14, %21, %11 %36 = phi i32 [ -1, %11 ], [ -1, %21 ], [ -1, %14 ], [ %34, %28 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ikev2_parse_payloads(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ikev2_process_idi(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ikev2_process_cert(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ikev2_process_auth(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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 20} !10 = !{!"ikev2_payloads", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20} !11 = !{!10, !6, i64 16} !12 = !{!10, !6, i64 12} !13 = !{!10, !6, i64 8} !14 = !{!10, !6, i64 4} !15 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_ikev2.c_ikev2_process_sa_auth_decrypted.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_ikev2.c_ikev2_process_sa_auth_decrypted.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ikev2_payloads = type { i32, i32, i32, i32, i32, i32 } @MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"IKEV2: Processing decrypted payloads\00", align 1 @MSG_INFO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"IKEV2: Failed to parse decrypted payloads\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ikev2_process_sa_auth_decrypted], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @ikev2_process_sa_auth_decrypted(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca %struct.ikev2_payloads, align 4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3 %6 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6 %7 = tail call i32 @wpa_printf(i32 noundef %6, ptr noundef nonnull @.str) #3 %8 = getelementptr inbounds i32, ptr %2, i64 %3 %9 = call i64 @ikev2_parse_payloads(ptr noundef nonnull %5, i32 noundef %1, ptr noundef %2, ptr noundef %8) #3 %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %4 %12 = load i32, ptr @MSG_INFO, align 4, !tbaa !6 %13 = call i32 @wpa_printf(i32 noundef %12, ptr noundef nonnull @.str.1) #3 br label %35 14: ; preds = %4 %15 = getelementptr inbounds i8, ptr %5, i64 20 %16 = load i32, ptr %15, align 4, !tbaa !10 %17 = getelementptr inbounds i8, ptr %5, i64 16 %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = call i64 @ikev2_process_idi(ptr noundef %0, i32 noundef %16, i32 noundef %18) #3 %20 = icmp slt i64 %19, 0 br i1 %20, label %35, label %21 21: ; preds = %14 %22 = getelementptr inbounds i8, ptr %5, i64 12 %23 = load i32, ptr %22, align 4, !tbaa !13 %24 = getelementptr inbounds i8, ptr %5, i64 8 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = call i64 @ikev2_process_cert(ptr noundef %0, i32 noundef %23, i32 noundef %25) #3 %27 = icmp slt i64 %26, 0 br i1 %27, label %35, label %28 28: ; preds = %21 %29 = getelementptr inbounds i8, ptr %5, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !15 %31 = load i32, ptr %5, align 4, !tbaa !16 %32 = call i64 @ikev2_process_auth(ptr noundef %0, i32 noundef %30, i32 noundef %31) #3 %33 = ashr i64 %32, 63 %34 = trunc nsw i64 %33 to i32 br label %35 35: ; preds = %28, %14, %21, %11 %36 = phi i32 [ -1, %11 ], [ -1, %21 ], [ -1, %14 ], [ %34, %28 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ikev2_parse_payloads(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ikev2_process_idi(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ikev2_process_cert(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ikev2_process_auth(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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 20} !11 = !{!"ikev2_payloads", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !12 = !{!11, !7, i64 16} !13 = !{!11, !7, i64 12} !14 = !{!11, !7, i64 8} !15 = !{!11, !7, i64 4} !16 = !{!11, !7, i64 0}
freebsd_contrib_wpa_src_eap_peer_extr_ikev2.c_ikev2_process_sa_auth_decrypted
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_get_regs.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_get_regs.c" target datalayout = "e-m:e-p270:32:32-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.atl2_hw = type { i32, i32 } @ATL2_REGS_LEN = dso_local local_unnamed_addr global i32 0, align 4 @REG_VPD_CAP = dso_local local_unnamed_addr global i64 0, align 8 @REG_SPI_FLASH_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_SPI_FLASH_CONFIG = dso_local local_unnamed_addr global i64 0, align 8 @REG_TWSI_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_PCIE_DEV_MISC_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_MASTER_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_MANUAL_TIMER_INIT = dso_local local_unnamed_addr global i64 0, align 8 @REG_IRQ_MODU_TIMER_INIT = dso_local local_unnamed_addr global i64 0, align 8 @REG_PHY_ENABLE = dso_local local_unnamed_addr global i64 0, align 8 @REG_CMBDISDMA_TIMER = dso_local local_unnamed_addr global i64 0, align 8 @REG_IDLE_STATUS = dso_local local_unnamed_addr global i64 0, align 8 @REG_MDIO_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_SERDES_LOCK = dso_local local_unnamed_addr global i64 0, align 8 @REG_MAC_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_MAC_IPG_IFG = dso_local local_unnamed_addr global i64 0, align 8 @REG_MAC_STA_ADDR = dso_local local_unnamed_addr global i64 0, align 8 @REG_RX_HASH_TABLE = dso_local local_unnamed_addr global i64 0, align 8 @REG_MAC_HALF_DUPLX_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_MTU = dso_local local_unnamed_addr global i64 0, align 8 @REG_WOL_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_SRAM_TXRAM_END = dso_local local_unnamed_addr global i64 0, align 8 @REG_DESC_BASE_ADDR_HI = dso_local local_unnamed_addr global i64 0, align 8 @REG_TXD_BASE_ADDR_LO = dso_local local_unnamed_addr global i64 0, align 8 @REG_TXD_MEM_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @REG_TXS_BASE_ADDR_LO = dso_local local_unnamed_addr global i64 0, align 8 @REG_TXS_MEM_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @REG_RXD_BASE_ADDR_LO = dso_local local_unnamed_addr global i64 0, align 8 @REG_RXD_BUF_NUM = dso_local local_unnamed_addr global i64 0, align 8 @REG_DMAR = dso_local local_unnamed_addr global i64 0, align 8 @REG_TX_CUT_THRESH = dso_local local_unnamed_addr global i64 0, align 8 @REG_DMAW = dso_local local_unnamed_addr global i64 0, align 8 @REG_PAUSE_ON_TH = dso_local local_unnamed_addr global i64 0, align 8 @REG_PAUSE_OFF_TH = dso_local local_unnamed_addr global i64 0, align 8 @REG_MB_TXD_WR_IDX = dso_local local_unnamed_addr global i64 0, align 8 @REG_MB_RXD_RD_IDX = dso_local local_unnamed_addr global i64 0, align 8 @REG_ISR = dso_local local_unnamed_addr global i64 0, align 8 @REG_IMR = dso_local local_unnamed_addr global i64 0, align 8 @MII_BMCR = dso_local local_unnamed_addr global i32 0, align 4 @MII_BMSR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @atl2_get_regs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @atl2_get_regs(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @netdev_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @ATL2_REGS_LEN, align 4, !tbaa !5 %7 = shl i32 %6, 3 %8 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef %7) #3 %9 = load i32, ptr %5, align 4, !tbaa !9 %10 = shl i32 %9, 16 %11 = getelementptr inbounds %struct.atl2_hw, ptr %5, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = or i32 %12, %10 %14 = or i32 %13, 16777216 store i32 %14, ptr %1, align 4, !tbaa !12 %15 = load i64, ptr @REG_VPD_CAP, align 8, !tbaa !14 %16 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %15) #3 store i64 %16, ptr %2, align 8, !tbaa !14 %17 = load i64, ptr @REG_SPI_FLASH_CTRL, align 8, !tbaa !14 %18 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %17) #3 %19 = getelementptr inbounds i64, ptr %2, i64 1 store i64 %18, ptr %19, align 8, !tbaa !14 %20 = load i64, ptr @REG_SPI_FLASH_CONFIG, align 8, !tbaa !14 %21 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %20) #3 %22 = getelementptr inbounds i64, ptr %2, i64 2 store i64 %21, ptr %22, align 8, !tbaa !14 %23 = load i64, ptr @REG_TWSI_CTRL, align 8, !tbaa !14 %24 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %23) #3 %25 = getelementptr inbounds i64, ptr %2, i64 3 store i64 %24, ptr %25, align 8, !tbaa !14 %26 = load i64, ptr @REG_PCIE_DEV_MISC_CTRL, align 8, !tbaa !14 %27 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %26) #3 %28 = getelementptr inbounds i64, ptr %2, i64 4 store i64 %27, ptr %28, align 8, !tbaa !14 %29 = load i64, ptr @REG_MASTER_CTRL, align 8, !tbaa !14 %30 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %29) #3 %31 = getelementptr inbounds i64, ptr %2, i64 5 store i64 %30, ptr %31, align 8, !tbaa !14 %32 = load i64, ptr @REG_MANUAL_TIMER_INIT, align 8, !tbaa !14 %33 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %32) #3 %34 = getelementptr inbounds i64, ptr %2, i64 6 store i64 %33, ptr %34, align 8, !tbaa !14 %35 = load i64, ptr @REG_IRQ_MODU_TIMER_INIT, align 8, !tbaa !14 %36 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %35) #3 %37 = getelementptr inbounds i64, ptr %2, i64 7 store i64 %36, ptr %37, align 8, !tbaa !14 %38 = load i64, ptr @REG_PHY_ENABLE, align 8, !tbaa !14 %39 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %38) #3 %40 = getelementptr inbounds i64, ptr %2, i64 8 store i64 %39, ptr %40, align 8, !tbaa !14 %41 = load i64, ptr @REG_CMBDISDMA_TIMER, align 8, !tbaa !14 %42 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %41) #3 %43 = getelementptr inbounds i64, ptr %2, i64 9 store i64 %42, ptr %43, align 8, !tbaa !14 %44 = load i64, ptr @REG_IDLE_STATUS, align 8, !tbaa !14 %45 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %44) #3 %46 = getelementptr inbounds i64, ptr %2, i64 10 store i64 %45, ptr %46, align 8, !tbaa !14 %47 = load i64, ptr @REG_MDIO_CTRL, align 8, !tbaa !14 %48 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %47) #3 %49 = getelementptr inbounds i64, ptr %2, i64 11 store i64 %48, ptr %49, align 8, !tbaa !14 %50 = load i64, ptr @REG_SERDES_LOCK, align 8, !tbaa !14 %51 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %50) #3 %52 = getelementptr inbounds i64, ptr %2, i64 12 store i64 %51, ptr %52, align 8, !tbaa !14 %53 = load i64, ptr @REG_MAC_CTRL, align 8, !tbaa !14 %54 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %53) #3 %55 = getelementptr inbounds i64, ptr %2, i64 13 store i64 %54, ptr %55, align 8, !tbaa !14 %56 = load i64, ptr @REG_MAC_IPG_IFG, align 8, !tbaa !14 %57 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %56) #3 %58 = getelementptr inbounds i64, ptr %2, i64 14 store i64 %57, ptr %58, align 8, !tbaa !14 %59 = load i64, ptr @REG_MAC_STA_ADDR, align 8, !tbaa !14 %60 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %59) #3 %61 = getelementptr inbounds i64, ptr %2, i64 15 store i64 %60, ptr %61, align 8, !tbaa !14 %62 = load i64, ptr @REG_MAC_STA_ADDR, align 8, !tbaa !14 %63 = add nsw i64 %62, 4 %64 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %63) #3 %65 = getelementptr inbounds i64, ptr %2, i64 16 store i64 %64, ptr %65, align 8, !tbaa !14 %66 = load i64, ptr @REG_RX_HASH_TABLE, align 8, !tbaa !14 %67 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %66) #3 %68 = getelementptr inbounds i64, ptr %2, i64 17 store i64 %67, ptr %68, align 8, !tbaa !14 %69 = load i64, ptr @REG_RX_HASH_TABLE, align 8, !tbaa !14 %70 = add nsw i64 %69, 4 %71 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %70) #3 %72 = getelementptr inbounds i64, ptr %2, i64 18 store i64 %71, ptr %72, align 8, !tbaa !14 %73 = load i64, ptr @REG_MAC_HALF_DUPLX_CTRL, align 8, !tbaa !14 %74 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %73) #3 %75 = getelementptr inbounds i64, ptr %2, i64 19 store i64 %74, ptr %75, align 8, !tbaa !14 %76 = load i64, ptr @REG_MTU, align 8, !tbaa !14 %77 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %76) #3 %78 = getelementptr inbounds i64, ptr %2, i64 20 store i64 %77, ptr %78, align 8, !tbaa !14 %79 = load i64, ptr @REG_WOL_CTRL, align 8, !tbaa !14 %80 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %79) #3 %81 = getelementptr inbounds i64, ptr %2, i64 21 store i64 %80, ptr %81, align 8, !tbaa !14 %82 = load i64, ptr @REG_SRAM_TXRAM_END, align 8, !tbaa !14 %83 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %82) #3 %84 = getelementptr inbounds i64, ptr %2, i64 22 store i64 %83, ptr %84, align 8, !tbaa !14 %85 = load i64, ptr @REG_DESC_BASE_ADDR_HI, align 8, !tbaa !14 %86 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %85) #3 %87 = getelementptr inbounds i64, ptr %2, i64 23 store i64 %86, ptr %87, align 8, !tbaa !14 %88 = load i64, ptr @REG_TXD_BASE_ADDR_LO, align 8, !tbaa !14 %89 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %88) #3 %90 = getelementptr inbounds i64, ptr %2, i64 24 store i64 %89, ptr %90, align 8, !tbaa !14 %91 = load i64, ptr @REG_TXD_MEM_SIZE, align 8, !tbaa !14 %92 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %91) #3 %93 = getelementptr inbounds i64, ptr %2, i64 25 store i64 %92, ptr %93, align 8, !tbaa !14 %94 = load i64, ptr @REG_TXS_BASE_ADDR_LO, align 8, !tbaa !14 %95 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %94) #3 %96 = getelementptr inbounds i64, ptr %2, i64 26 store i64 %95, ptr %96, align 8, !tbaa !14 %97 = load i64, ptr @REG_TXS_MEM_SIZE, align 8, !tbaa !14 %98 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %97) #3 %99 = getelementptr inbounds i64, ptr %2, i64 27 store i64 %98, ptr %99, align 8, !tbaa !14 %100 = load i64, ptr @REG_RXD_BASE_ADDR_LO, align 8, !tbaa !14 %101 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %100) #3 %102 = getelementptr inbounds i64, ptr %2, i64 28 store i64 %101, ptr %102, align 8, !tbaa !14 %103 = load i64, ptr @REG_RXD_BUF_NUM, align 8, !tbaa !14 %104 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %103) #3 %105 = getelementptr inbounds i64, ptr %2, i64 29 store i64 %104, ptr %105, align 8, !tbaa !14 %106 = load i64, ptr @REG_DMAR, align 8, !tbaa !14 %107 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %106) #3 %108 = getelementptr inbounds i64, ptr %2, i64 30 store i64 %107, ptr %108, align 8, !tbaa !14 %109 = load i64, ptr @REG_TX_CUT_THRESH, align 8, !tbaa !14 %110 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %109) #3 %111 = getelementptr inbounds i64, ptr %2, i64 31 store i64 %110, ptr %111, align 8, !tbaa !14 %112 = load i64, ptr @REG_DMAW, align 8, !tbaa !14 %113 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %112) #3 %114 = getelementptr inbounds i64, ptr %2, i64 32 store i64 %113, ptr %114, align 8, !tbaa !14 %115 = load i64, ptr @REG_PAUSE_ON_TH, align 8, !tbaa !14 %116 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %115) #3 %117 = getelementptr inbounds i64, ptr %2, i64 33 store i64 %116, ptr %117, align 8, !tbaa !14 %118 = load i64, ptr @REG_PAUSE_OFF_TH, align 8, !tbaa !14 %119 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %118) #3 %120 = getelementptr inbounds i64, ptr %2, i64 34 store i64 %119, ptr %120, align 8, !tbaa !14 %121 = load i64, ptr @REG_MB_TXD_WR_IDX, align 8, !tbaa !14 %122 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %121) #3 %123 = getelementptr inbounds i64, ptr %2, i64 35 store i64 %122, ptr %123, align 8, !tbaa !14 %124 = load i64, ptr @REG_MB_RXD_RD_IDX, align 8, !tbaa !14 %125 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %124) #3 %126 = getelementptr inbounds i64, ptr %2, i64 36 store i64 %125, ptr %126, align 8, !tbaa !14 %127 = load i64, ptr @REG_ISR, align 8, !tbaa !14 %128 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %127) #3 %129 = getelementptr inbounds i64, ptr %2, i64 38 store i64 %128, ptr %129, align 8, !tbaa !14 %130 = load i64, ptr @REG_IMR, align 8, !tbaa !14 %131 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %130) #3 %132 = getelementptr inbounds i64, ptr %2, i64 39 store i64 %131, ptr %132, align 8, !tbaa !14 %133 = load i32, ptr @MII_BMCR, align 4, !tbaa !5 %134 = call i32 @atl2_read_phy_reg(ptr noundef nonnull %5, i32 noundef %133, ptr noundef nonnull %4) #3 %135 = load i32, ptr %4, align 4, !tbaa !5 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i64, ptr %2, i64 40 store i64 %136, ptr %137, align 8, !tbaa !14 %138 = load i32, ptr @MII_BMSR, align 4, !tbaa !5 %139 = call i32 @atl2_read_phy_reg(ptr noundef nonnull %5, i32 noundef %138, ptr noundef nonnull %4) #3 %140 = load i32, ptr %4, align 4, !tbaa !5 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i64, ptr %2, i64 41 store i64 %141, ptr %142, align 8, !tbaa !14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ATL2_READ_REG(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @atl2_read_phy_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"atl2_hw", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4} !12 = !{!13, !6, i64 0} !13 = !{!"ethtool_regs", !6, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_get_regs.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_get_regs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ATL2_REGS_LEN = common local_unnamed_addr global i32 0, align 4 @REG_VPD_CAP = common local_unnamed_addr global i64 0, align 8 @REG_SPI_FLASH_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_SPI_FLASH_CONFIG = common local_unnamed_addr global i64 0, align 8 @REG_TWSI_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_PCIE_DEV_MISC_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_MASTER_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_MANUAL_TIMER_INIT = common local_unnamed_addr global i64 0, align 8 @REG_IRQ_MODU_TIMER_INIT = common local_unnamed_addr global i64 0, align 8 @REG_PHY_ENABLE = common local_unnamed_addr global i64 0, align 8 @REG_CMBDISDMA_TIMER = common local_unnamed_addr global i64 0, align 8 @REG_IDLE_STATUS = common local_unnamed_addr global i64 0, align 8 @REG_MDIO_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_SERDES_LOCK = common local_unnamed_addr global i64 0, align 8 @REG_MAC_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_MAC_IPG_IFG = common local_unnamed_addr global i64 0, align 8 @REG_MAC_STA_ADDR = common local_unnamed_addr global i64 0, align 8 @REG_RX_HASH_TABLE = common local_unnamed_addr global i64 0, align 8 @REG_MAC_HALF_DUPLX_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_MTU = common local_unnamed_addr global i64 0, align 8 @REG_WOL_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_SRAM_TXRAM_END = common local_unnamed_addr global i64 0, align 8 @REG_DESC_BASE_ADDR_HI = common local_unnamed_addr global i64 0, align 8 @REG_TXD_BASE_ADDR_LO = common local_unnamed_addr global i64 0, align 8 @REG_TXD_MEM_SIZE = common local_unnamed_addr global i64 0, align 8 @REG_TXS_BASE_ADDR_LO = common local_unnamed_addr global i64 0, align 8 @REG_TXS_MEM_SIZE = common local_unnamed_addr global i64 0, align 8 @REG_RXD_BASE_ADDR_LO = common local_unnamed_addr global i64 0, align 8 @REG_RXD_BUF_NUM = common local_unnamed_addr global i64 0, align 8 @REG_DMAR = common local_unnamed_addr global i64 0, align 8 @REG_TX_CUT_THRESH = common local_unnamed_addr global i64 0, align 8 @REG_DMAW = common local_unnamed_addr global i64 0, align 8 @REG_PAUSE_ON_TH = common local_unnamed_addr global i64 0, align 8 @REG_PAUSE_OFF_TH = common local_unnamed_addr global i64 0, align 8 @REG_MB_TXD_WR_IDX = common local_unnamed_addr global i64 0, align 8 @REG_MB_RXD_RD_IDX = common local_unnamed_addr global i64 0, align 8 @REG_ISR = common local_unnamed_addr global i64 0, align 8 @REG_IMR = common local_unnamed_addr global i64 0, align 8 @MII_BMCR = common local_unnamed_addr global i32 0, align 4 @MII_BMSR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @atl2_get_regs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @atl2_get_regs(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @netdev_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = load i32, ptr @ATL2_REGS_LEN, align 4, !tbaa !6 %7 = shl i32 %6, 3 %8 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef %7) #3 %9 = load i32, ptr %5, align 4, !tbaa !10 %10 = shl i32 %9, 16 %11 = getelementptr inbounds i8, ptr %5, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = or i32 %12, %10 %14 = or i32 %13, 16777216 store i32 %14, ptr %1, align 4, !tbaa !13 %15 = load i64, ptr @REG_VPD_CAP, align 8, !tbaa !15 %16 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %15) #3 store i64 %16, ptr %2, align 8, !tbaa !15 %17 = load i64, ptr @REG_SPI_FLASH_CTRL, align 8, !tbaa !15 %18 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %17) #3 %19 = getelementptr inbounds i8, ptr %2, i64 8 store i64 %18, ptr %19, align 8, !tbaa !15 %20 = load i64, ptr @REG_SPI_FLASH_CONFIG, align 8, !tbaa !15 %21 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %20) #3 %22 = getelementptr inbounds i8, ptr %2, i64 16 store i64 %21, ptr %22, align 8, !tbaa !15 %23 = load i64, ptr @REG_TWSI_CTRL, align 8, !tbaa !15 %24 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %23) #3 %25 = getelementptr inbounds i8, ptr %2, i64 24 store i64 %24, ptr %25, align 8, !tbaa !15 %26 = load i64, ptr @REG_PCIE_DEV_MISC_CTRL, align 8, !tbaa !15 %27 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %26) #3 %28 = getelementptr inbounds i8, ptr %2, i64 32 store i64 %27, ptr %28, align 8, !tbaa !15 %29 = load i64, ptr @REG_MASTER_CTRL, align 8, !tbaa !15 %30 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %29) #3 %31 = getelementptr inbounds i8, ptr %2, i64 40 store i64 %30, ptr %31, align 8, !tbaa !15 %32 = load i64, ptr @REG_MANUAL_TIMER_INIT, align 8, !tbaa !15 %33 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %32) #3 %34 = getelementptr inbounds i8, ptr %2, i64 48 store i64 %33, ptr %34, align 8, !tbaa !15 %35 = load i64, ptr @REG_IRQ_MODU_TIMER_INIT, align 8, !tbaa !15 %36 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %35) #3 %37 = getelementptr inbounds i8, ptr %2, i64 56 store i64 %36, ptr %37, align 8, !tbaa !15 %38 = load i64, ptr @REG_PHY_ENABLE, align 8, !tbaa !15 %39 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %38) #3 %40 = getelementptr inbounds i8, ptr %2, i64 64 store i64 %39, ptr %40, align 8, !tbaa !15 %41 = load i64, ptr @REG_CMBDISDMA_TIMER, align 8, !tbaa !15 %42 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %41) #3 %43 = getelementptr inbounds i8, ptr %2, i64 72 store i64 %42, ptr %43, align 8, !tbaa !15 %44 = load i64, ptr @REG_IDLE_STATUS, align 8, !tbaa !15 %45 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %44) #3 %46 = getelementptr inbounds i8, ptr %2, i64 80 store i64 %45, ptr %46, align 8, !tbaa !15 %47 = load i64, ptr @REG_MDIO_CTRL, align 8, !tbaa !15 %48 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %47) #3 %49 = getelementptr inbounds i8, ptr %2, i64 88 store i64 %48, ptr %49, align 8, !tbaa !15 %50 = load i64, ptr @REG_SERDES_LOCK, align 8, !tbaa !15 %51 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %50) #3 %52 = getelementptr inbounds i8, ptr %2, i64 96 store i64 %51, ptr %52, align 8, !tbaa !15 %53 = load i64, ptr @REG_MAC_CTRL, align 8, !tbaa !15 %54 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %53) #3 %55 = getelementptr inbounds i8, ptr %2, i64 104 store i64 %54, ptr %55, align 8, !tbaa !15 %56 = load i64, ptr @REG_MAC_IPG_IFG, align 8, !tbaa !15 %57 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %56) #3 %58 = getelementptr inbounds i8, ptr %2, i64 112 store i64 %57, ptr %58, align 8, !tbaa !15 %59 = load i64, ptr @REG_MAC_STA_ADDR, align 8, !tbaa !15 %60 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %59) #3 %61 = getelementptr inbounds i8, ptr %2, i64 120 store i64 %60, ptr %61, align 8, !tbaa !15 %62 = load i64, ptr @REG_MAC_STA_ADDR, align 8, !tbaa !15 %63 = add nsw i64 %62, 4 %64 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %63) #3 %65 = getelementptr inbounds i8, ptr %2, i64 128 store i64 %64, ptr %65, align 8, !tbaa !15 %66 = load i64, ptr @REG_RX_HASH_TABLE, align 8, !tbaa !15 %67 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %66) #3 %68 = getelementptr inbounds i8, ptr %2, i64 136 store i64 %67, ptr %68, align 8, !tbaa !15 %69 = load i64, ptr @REG_RX_HASH_TABLE, align 8, !tbaa !15 %70 = add nsw i64 %69, 4 %71 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %70) #3 %72 = getelementptr inbounds i8, ptr %2, i64 144 store i64 %71, ptr %72, align 8, !tbaa !15 %73 = load i64, ptr @REG_MAC_HALF_DUPLX_CTRL, align 8, !tbaa !15 %74 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %73) #3 %75 = getelementptr inbounds i8, ptr %2, i64 152 store i64 %74, ptr %75, align 8, !tbaa !15 %76 = load i64, ptr @REG_MTU, align 8, !tbaa !15 %77 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %76) #3 %78 = getelementptr inbounds i8, ptr %2, i64 160 store i64 %77, ptr %78, align 8, !tbaa !15 %79 = load i64, ptr @REG_WOL_CTRL, align 8, !tbaa !15 %80 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %79) #3 %81 = getelementptr inbounds i8, ptr %2, i64 168 store i64 %80, ptr %81, align 8, !tbaa !15 %82 = load i64, ptr @REG_SRAM_TXRAM_END, align 8, !tbaa !15 %83 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %82) #3 %84 = getelementptr inbounds i8, ptr %2, i64 176 store i64 %83, ptr %84, align 8, !tbaa !15 %85 = load i64, ptr @REG_DESC_BASE_ADDR_HI, align 8, !tbaa !15 %86 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %85) #3 %87 = getelementptr inbounds i8, ptr %2, i64 184 store i64 %86, ptr %87, align 8, !tbaa !15 %88 = load i64, ptr @REG_TXD_BASE_ADDR_LO, align 8, !tbaa !15 %89 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %88) #3 %90 = getelementptr inbounds i8, ptr %2, i64 192 store i64 %89, ptr %90, align 8, !tbaa !15 %91 = load i64, ptr @REG_TXD_MEM_SIZE, align 8, !tbaa !15 %92 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %91) #3 %93 = getelementptr inbounds i8, ptr %2, i64 200 store i64 %92, ptr %93, align 8, !tbaa !15 %94 = load i64, ptr @REG_TXS_BASE_ADDR_LO, align 8, !tbaa !15 %95 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %94) #3 %96 = getelementptr inbounds i8, ptr %2, i64 208 store i64 %95, ptr %96, align 8, !tbaa !15 %97 = load i64, ptr @REG_TXS_MEM_SIZE, align 8, !tbaa !15 %98 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %97) #3 %99 = getelementptr inbounds i8, ptr %2, i64 216 store i64 %98, ptr %99, align 8, !tbaa !15 %100 = load i64, ptr @REG_RXD_BASE_ADDR_LO, align 8, !tbaa !15 %101 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %100) #3 %102 = getelementptr inbounds i8, ptr %2, i64 224 store i64 %101, ptr %102, align 8, !tbaa !15 %103 = load i64, ptr @REG_RXD_BUF_NUM, align 8, !tbaa !15 %104 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %103) #3 %105 = getelementptr inbounds i8, ptr %2, i64 232 store i64 %104, ptr %105, align 8, !tbaa !15 %106 = load i64, ptr @REG_DMAR, align 8, !tbaa !15 %107 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %106) #3 %108 = getelementptr inbounds i8, ptr %2, i64 240 store i64 %107, ptr %108, align 8, !tbaa !15 %109 = load i64, ptr @REG_TX_CUT_THRESH, align 8, !tbaa !15 %110 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %109) #3 %111 = getelementptr inbounds i8, ptr %2, i64 248 store i64 %110, ptr %111, align 8, !tbaa !15 %112 = load i64, ptr @REG_DMAW, align 8, !tbaa !15 %113 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %112) #3 %114 = getelementptr inbounds i8, ptr %2, i64 256 store i64 %113, ptr %114, align 8, !tbaa !15 %115 = load i64, ptr @REG_PAUSE_ON_TH, align 8, !tbaa !15 %116 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %115) #3 %117 = getelementptr inbounds i8, ptr %2, i64 264 store i64 %116, ptr %117, align 8, !tbaa !15 %118 = load i64, ptr @REG_PAUSE_OFF_TH, align 8, !tbaa !15 %119 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %118) #3 %120 = getelementptr inbounds i8, ptr %2, i64 272 store i64 %119, ptr %120, align 8, !tbaa !15 %121 = load i64, ptr @REG_MB_TXD_WR_IDX, align 8, !tbaa !15 %122 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %121) #3 %123 = getelementptr inbounds i8, ptr %2, i64 280 store i64 %122, ptr %123, align 8, !tbaa !15 %124 = load i64, ptr @REG_MB_RXD_RD_IDX, align 8, !tbaa !15 %125 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %124) #3 %126 = getelementptr inbounds i8, ptr %2, i64 288 store i64 %125, ptr %126, align 8, !tbaa !15 %127 = load i64, ptr @REG_ISR, align 8, !tbaa !15 %128 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %127) #3 %129 = getelementptr inbounds i8, ptr %2, i64 304 store i64 %128, ptr %129, align 8, !tbaa !15 %130 = load i64, ptr @REG_IMR, align 8, !tbaa !15 %131 = tail call i64 @ATL2_READ_REG(ptr noundef nonnull %5, i64 noundef %130) #3 %132 = getelementptr inbounds i8, ptr %2, i64 312 store i64 %131, ptr %132, align 8, !tbaa !15 %133 = load i32, ptr @MII_BMCR, align 4, !tbaa !6 %134 = call i32 @atl2_read_phy_reg(ptr noundef nonnull %5, i32 noundef %133, ptr noundef nonnull %4) #3 %135 = load i32, ptr %4, align 4, !tbaa !6 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i8, ptr %2, i64 320 store i64 %136, ptr %137, align 8, !tbaa !15 %138 = load i32, ptr @MII_BMSR, align 4, !tbaa !6 %139 = call i32 @atl2_read_phy_reg(ptr noundef nonnull %5, i32 noundef %138, ptr noundef nonnull %4) #3 %140 = load i32, ptr %4, align 4, !tbaa !6 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i8, ptr %2, i64 328 store i64 %141, ptr %142, align 8, !tbaa !15 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ATL2_READ_REG(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @atl2_read_phy_reg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"atl2_hw", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4} !13 = !{!14, !7, i64 0} !14 = !{!"ethtool_regs", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0}
linux_drivers_net_ethernet_atheros_atlx_extr_atl2.c_atl2_get_regs
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_list.c_dt_list_append.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_list.c_dt_list_append.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local void @dt_list_append(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 store ptr %1, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 store ptr %4, ptr %5, align 8, !tbaa !5 store ptr null, ptr %1, align 8, !tbaa !10 %6 = icmp eq ptr %4, null %7 = select i1 %6, ptr %0, ptr %4 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = icmp eq ptr %8, null %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #2 store ptr %1, ptr %7, align 8, !tbaa !10 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_list.c_dt_list_append.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/extr_dt_list.c_dt_list_append.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 @dt_list_append(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 store ptr %1, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %4, ptr %5, align 8, !tbaa !6 store ptr null, ptr %1, align 8, !tbaa !11 %6 = icmp eq ptr %4, null %7 = select i1 %6, ptr %0, ptr %4 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = icmp eq ptr %8, null %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #2 store ptr %1, ptr %7, align 8, !tbaa !11 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
freebsd_cddl_contrib_opensolaris_lib_libdtrace_common_extr_dt_list.c_dt_list_append
; ModuleID = 'AnghaBench/linux/drivers/scsi/libfc/extr_fc_exch.c_fc_seq_exch_abort.c' source_filename = "AnghaBench/linux/drivers/scsi/libfc/extr_fc_exch.c_fc_seq_exch_abort.c" target datalayout = "e-m:e-p270:32:32-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 @fc_seq_exch_abort(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @fc_seq_exch(ptr noundef %0) #2 %4 = tail call i32 @spin_lock_bh(ptr noundef %3) #2 %5 = tail call i32 @fc_exch_abort_locked(ptr noundef %3, i32 noundef %1) #2 %6 = tail call i32 @spin_unlock_bh(ptr noundef %3) #2 ret i32 %5 } declare ptr @fc_seq_exch(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @fc_exch_abort_locked(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(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/scsi/libfc/extr_fc_exch.c_fc_seq_exch_abort.c' source_filename = "AnghaBench/linux/drivers/scsi/libfc/extr_fc_exch.c_fc_seq_exch_abort.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 @fc_seq_exch_abort(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @fc_seq_exch(ptr noundef %0) #2 %4 = tail call i32 @spin_lock_bh(ptr noundef %3) #2 %5 = tail call i32 @fc_exch_abort_locked(ptr noundef %3, i32 noundef %1) #2 %6 = tail call i32 @spin_unlock_bh(ptr noundef %3) #2 ret i32 %5 } declare ptr @fc_seq_exch(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i32 @fc_exch_abort_locked(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_bh(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_scsi_libfc_extr_fc_exch.c_fc_seq_exch_abort
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Object.c_ReleaseEvent.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Object.c_ReleaseEvent.c" target datalayout = "e-m:e-p270:32:32-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 @ReleaseEvent(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i64 @Release(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @CleanupEvent(ptr noundef nonnull %0) #2 br label %9 9: ; preds = %1, %7, %3 ret void } declare i64 @Release(i32 noundef) local_unnamed_addr #1 declare i32 @CleanupEvent(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Object.c_ReleaseEvent.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Object.c_ReleaseEvent.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 @ReleaseEvent(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %9, label %3 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i64 @Release(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @CleanupEvent(ptr noundef nonnull %0) #2 br label %9 9: ; preds = %1, %7, %3 ret void } declare i64 @Release(i32 noundef) local_unnamed_addr #1 declare i32 @CleanupEvent(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
SoftEtherVPN_src_Mayaqua_extr_Object.c_ReleaseEvent
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb-i2c.c_prosavage_gpio_setsda.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb-i2c.c_prosavage_gpio_setsda.c" target datalayout = "e-m:e-p270:32:32-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.savagefb_i2c_chan = type { i32, i32 } @PROSAVAGE_I2C_ENAB = dso_local local_unnamed_addr global i32 0, align 4 @PROSAVAGE_I2C_SDA_OUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @prosavage_gpio_setsda], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @prosavage_gpio_setsda(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.savagefb_i2c_chan, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = tail call i32 @VGArCR(i32 noundef %4, i32 noundef %5) #2 %7 = load i32, ptr @PROSAVAGE_I2C_ENAB, align 4, !tbaa !11 %8 = or i32 %7, %6 %9 = icmp eq i32 %1, 0 %10 = load i32, ptr @PROSAVAGE_I2C_SDA_OUT, align 4, !tbaa !11 %11 = or i32 %10, %8 %12 = xor i32 %10, -1 %13 = and i32 %8, %12 %14 = select i1 %9, i32 %13, i32 %11 %15 = load i32, ptr %3, align 4, !tbaa !5 %16 = load i32, ptr %0, align 4, !tbaa !10 %17 = tail call i32 @VGAwCR(i32 noundef %15, i32 noundef %14, i32 noundef %16) #2 ret void } declare i32 @VGArCR(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VGAwCR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"savagefb_i2c_chan", !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/linux/drivers/video/fbdev/savage/extr_savagefb-i2c.c_prosavage_gpio_setsda.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb-i2c.c_prosavage_gpio_setsda.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PROSAVAGE_I2C_ENAB = common local_unnamed_addr global i32 0, align 4 @PROSAVAGE_I2C_SDA_OUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @prosavage_gpio_setsda], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @prosavage_gpio_setsda(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = load i32, ptr %0, align 4, !tbaa !11 %6 = tail call i32 @VGArCR(i32 noundef %4, i32 noundef %5) #2 %7 = load i32, ptr @PROSAVAGE_I2C_ENAB, align 4, !tbaa !12 %8 = or i32 %7, %6 %9 = icmp eq i32 %1, 0 %10 = load i32, ptr @PROSAVAGE_I2C_SDA_OUT, align 4, !tbaa !12 %11 = or i32 %10, %8 %12 = xor i32 %10, -1 %13 = and i32 %8, %12 %14 = select i1 %9, i32 %13, i32 %11 %15 = load i32, ptr %3, align 4, !tbaa !6 %16 = load i32, ptr %0, align 4, !tbaa !11 %17 = tail call i32 @VGAwCR(i32 noundef %15, i32 noundef %14, i32 noundef %16) #2 ret void } declare i32 @VGArCR(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VGAwCR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"savagefb_i2c_chan", !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}
linux_drivers_video_fbdev_savage_extr_savagefb-i2c.c_prosavage_gpio_setsda
; ModuleID = 'AnghaBench/toxcore/toxcore/extr_net_crypto.c_set_buffer_end.c' source_filename = "AnghaBench/toxcore/toxcore/extr_net_crypto.c_set_buffer_end.c" target datalayout = "e-m:e-p270:32:32-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 } @CRYPTO_PACKET_BUFFER_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_buffer_end], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @set_buffer_end(ptr nocapture noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = sub nsw i64 %1, %3 %5 = load i64, ptr @CRYPTO_PACKET_BUFFER_SIZE, align 8, !tbaa !10 %6 = icmp sgt i64 %4, %5 br i1 %6, label %13, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !11 %10 = sub nsw i64 %1, %9 %11 = icmp sgt i64 %10, %5 br i1 %11, label %13, label %12 12: ; preds = %7 store i64 %1, ptr %8, align 8, !tbaa !11 br label %13 13: ; preds = %7, %2, %12 %14 = phi i32 [ 0, %12 ], [ -1, %2 ], [ -1, %7 ] ret i32 %14 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/toxcore/toxcore/extr_net_crypto.c_set_buffer_end.c' source_filename = "AnghaBench/toxcore/toxcore/extr_net_crypto.c_set_buffer_end.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYPTO_PACKET_BUFFER_SIZE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @set_buffer_end], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -1, 1) i32 @set_buffer_end(ptr nocapture noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = sub nsw i64 %1, %3 %5 = load i64, ptr @CRYPTO_PACKET_BUFFER_SIZE, align 8, !tbaa !11 %6 = icmp sgt i64 %4, %5 br i1 %6, label %13, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = sub nsw i64 %1, %9 %11 = icmp sgt i64 %10, %5 br i1 %11, label %13, label %12 12: ; preds = %7 store i64 %1, ptr %8, align 8, !tbaa !12 br label %13 13: ; preds = %7, %2, %12 %14 = phi i32 [ 0, %12 ], [ -1, %2 ], [ -1, %7 ] ret i32 %14 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 8}
toxcore_toxcore_extr_net_crypto.c_set_buffer_end
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetIP4Ex6Ex.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetIP4Ex6Ex.c" target datalayout = "e-m:e-p270:32:32-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 @GetIP4Ex6Ex(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @GetIP4Ex6Ex2(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef 0) #2 ret i32 %6 } declare i32 @GetIP4Ex6Ex2(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetIP4Ex6Ex.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetIP4Ex6Ex.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 @GetIP4Ex6Ex(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @GetIP4Ex6Ex2(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef 0) #2 ret i32 %6 } declare i32 @GetIP4Ex6Ex2(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
SoftEtherVPN_src_Mayaqua_extr_Network.c_GetIP4Ex6Ex
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bridge/extr_br_netfilter.c_setup_pre_routing.c' source_filename = "AnghaBench/fastsocket/kernel/net/bridge/extr_br_netfilter.c_setup_pre_routing.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sk_buff = type { i64, ptr, ptr } %struct.nf_bridge_info = type { ptr, i32 } @PACKET_OTHERHOST = dso_local local_unnamed_addr global i64 0, align 8 @PACKET_HOST = dso_local local_unnamed_addr global i64 0, align 8 @BRNF_PKT_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @BRNF_NF_BRIDGE_PREROUTING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @setup_pre_routing], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @setup_pre_routing(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !11 %5 = load i64, ptr @PACKET_OTHERHOST, align 8, !tbaa !12 %6 = icmp eq i64 %4, %5 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.nf_bridge_info, ptr %3, i64 0, i32 1 %9 = load i32, ptr %8, align 8, !tbaa !13 br label %16 10: ; preds = %1 %11 = load i64, ptr @PACKET_HOST, align 8, !tbaa !12 store i64 %11, ptr %0, align 8, !tbaa !11 %12 = load i32, ptr @BRNF_PKT_TYPE, align 4, !tbaa !16 %13 = getelementptr inbounds %struct.nf_bridge_info, ptr %3, i64 0, i32 1 %14 = load i32, ptr %13, align 8, !tbaa !13 %15 = or i32 %14, %12 br label %16 16: ; preds = %7, %10 %17 = phi i32 [ %9, %7 ], [ %15, %10 ] %18 = load i32, ptr @BRNF_NF_BRIDGE_PREROUTING, align 4, !tbaa !16 %19 = getelementptr inbounds %struct.nf_bridge_info, ptr %3, i64 0, i32 1 %20 = or i32 %17, %18 store i32 %20, ptr %19, align 8, !tbaa !13 %21 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 1 %22 = load ptr, ptr %21, align 8, !tbaa !17 store ptr %22, ptr %3, align 8, !tbaa !18 %23 = tail call ptr @bridge_parent(ptr noundef %22) #2 store ptr %23, ptr %21, align 8, !tbaa !17 ret ptr %23 } declare ptr @bridge_parent(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"sk_buff", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"nf_bridge_info", !10, i64 0, !15, i64 8} !15 = !{!"int", !8, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!6, !10, i64 8} !18 = !{!14, !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bridge/extr_br_netfilter.c_setup_pre_routing.c' source_filename = "AnghaBench/fastsocket/kernel/net/bridge/extr_br_netfilter.c_setup_pre_routing.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PACKET_OTHERHOST = common local_unnamed_addr global i64 0, align 8 @PACKET_HOST = common local_unnamed_addr global i64 0, align 8 @BRNF_PKT_TYPE = common local_unnamed_addr global i32 0, align 4 @BRNF_NF_BRIDGE_PREROUTING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @setup_pre_routing], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @setup_pre_routing(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !12 %5 = load i64, ptr @PACKET_OTHERHOST, align 8, !tbaa !13 %6 = icmp eq i64 %4, %5 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %3, i64 8 %9 = load i32, ptr %8, align 8, !tbaa !14 br label %16 10: ; preds = %1 %11 = load i64, ptr @PACKET_HOST, align 8, !tbaa !13 store i64 %11, ptr %0, align 8, !tbaa !12 %12 = load i32, ptr @BRNF_PKT_TYPE, align 4, !tbaa !17 %13 = getelementptr inbounds i8, ptr %3, i64 8 %14 = load i32, ptr %13, align 8, !tbaa !14 %15 = or i32 %14, %12 br label %16 16: ; preds = %7, %10 %17 = phi i32 [ %9, %7 ], [ %15, %10 ] %18 = load i32, ptr @BRNF_NF_BRIDGE_PREROUTING, align 4, !tbaa !17 %19 = getelementptr inbounds i8, ptr %3, i64 8 %20 = or i32 %17, %18 store i32 %20, ptr %19, align 8, !tbaa !14 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !18 store ptr %22, ptr %3, align 8, !tbaa !19 %23 = tail call ptr @bridge_parent(ptr noundef %22) #2 store ptr %23, ptr %21, align 8, !tbaa !18 ret ptr %23 } declare ptr @bridge_parent(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"sk_buff", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !16, i64 8} !15 = !{!"nf_bridge_info", !11, i64 0, !16, i64 8} !16 = !{!"int", !9, i64 0} !17 = !{!16, !16, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!15, !11, i64 0}
fastsocket_kernel_net_bridge_extr_br_netfilter.c_setup_pre_routing
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_socket.c_destroy_socketevent.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_socket.c_destroy_socketevent.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @destroy_socketevent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @destroy_socketevent(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @ISC_LIST_EMPTY(i32 noundef %3) #2 %5 = tail call i32 @INSIST(i32 noundef %4) #2 %6 = load ptr, ptr %0, align 8, !tbaa !11 %7 = tail call i32 %6(ptr noundef nonnull %0) #2 ret void } declare i32 @INSIST(i32 noundef) local_unnamed_addr #1 declare i32 @ISC_LIST_EMPTY(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_2__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_socket.c_destroy_socketevent.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_socket.c_destroy_socketevent.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 @destroy_socketevent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @destroy_socketevent(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @ISC_LIST_EMPTY(i32 noundef %3) #2 %5 = tail call i32 @INSIST(i32 noundef %4) #2 %6 = load ptr, ptr %0, align 8, !tbaa !12 %7 = tail call i32 %6(ptr noundef nonnull %0) #2 ret void } declare i32 @INSIST(i32 noundef) local_unnamed_addr #1 declare i32 @ISC_LIST_EMPTY(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_2__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0}
freebsd_contrib_ntp_lib_isc_win32_extr_socket.c_destroy_socketevent
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_tc90522.c_tc90522_set_if_agc.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_tc90522.c_tc90522_set_if_agc.c" target datalayout = "e-m:e-p270:32:32-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.reg_val = type { i32, i32, i32 } %struct.dvb_frontend = type { %struct.TYPE_2__, ptr } %struct.TYPE_2__ = type { ptr } @SYS_ISDBS = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @tc90522_set_if_agc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tc90522_set_if_agc(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = alloca [4 x %struct.reg_val], align 16 %4 = alloca [3 x %struct.reg_val], align 16 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %3, i8 0, i64 48, i1 false) store i32 10, ptr %3, align 16 %5 = getelementptr inbounds [4 x %struct.reg_val], ptr %3, i64 0, i64 1 store i32 16, ptr %5, align 4 %6 = getelementptr inbounds [4 x %struct.reg_val], ptr %3, i64 0, i64 1, i32 1 store i32 48, ptr %6, align 16 %7 = getelementptr inbounds [4 x %struct.reg_val], ptr %3, i64 0, i64 2 store i32 17, ptr %7, align 8 %8 = getelementptr inbounds [4 x %struct.reg_val], ptr %3, i64 0, i64 3 store i32 3, ptr %8, align 4 %9 = getelementptr inbounds [4 x %struct.reg_val], ptr %3, i64 0, i64 3, i32 1 store i32 1, ptr %9, align 8 call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %4) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(36) %4, i8 0, i64 36, i1 false) store i32 37, ptr %4, align 16 %10 = getelementptr inbounds [3 x %struct.reg_val], ptr %4, i64 0, i64 1 store i32 35, ptr %10, align 4 %11 = getelementptr inbounds [3 x %struct.reg_val], ptr %4, i64 0, i64 1, i32 1 store i32 76, ptr %11, align 16 %12 = getelementptr inbounds [3 x %struct.reg_val], ptr %4, i64 0, i64 2 store i32 1, ptr %12, align 8 %13 = getelementptr inbounds [3 x %struct.reg_val], ptr %4, i64 0, i64 2, i32 1 store i32 64, ptr %13, align 4 %14 = getelementptr inbounds %struct.dvb_frontend, ptr %0, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !5 %16 = load ptr, ptr %0, align 8, !tbaa !11 %17 = load i64, ptr %16, align 8, !tbaa !12 %18 = load i64, ptr @SYS_ISDBS, align 8, !tbaa !12 %19 = icmp eq i64 %17, %18 br i1 %19, label %20, label %29 20: ; preds = %2 %21 = icmp ne i32 %1, 0 %22 = select i1 %21, i32 255, i32 0 %23 = getelementptr inbounds %struct.reg_val, ptr %3, i64 0, i32 2 store i32 %22, ptr %23, align 8, !tbaa !14 %24 = getelementptr inbounds [4 x %struct.reg_val], ptr %3, i64 0, i64 1, i32 2 %25 = zext i1 %21 to i32 %26 = or disjoint i32 %25, 128 store i32 %26, ptr %24, align 4, !tbaa !14 %27 = select i1 %21, i32 64, i32 0 %28 = getelementptr inbounds [4 x %struct.reg_val], ptr %3, i64 0, i64 2, i32 2 store i32 %27, ptr %28, align 16, !tbaa !14 br label %35 29: ; preds = %2 %30 = icmp eq i32 %1, 0 %31 = select i1 %30, i32 0, i32 64 %32 = getelementptr inbounds %struct.reg_val, ptr %4, i64 0, i32 2 store i32 %31, ptr %32, align 8, !tbaa !14 %33 = zext i1 %30 to i32 %34 = getelementptr inbounds [3 x %struct.reg_val], ptr %4, i64 0, i64 1, i32 2 store i32 %33, ptr %34, align 4, !tbaa !14 br label %35 35: ; preds = %29, %20 %36 = phi ptr [ %4, %29 ], [ %3, %20 ] %37 = call i32 @ARRAY_SIZE(ptr noundef nonnull %36) #4 %38 = call i32 @reg_write(ptr noundef %15, ptr noundef nonnull %36, i32 noundef %37) #4 call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #4 ret i32 %38 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #3 declare i32 @reg_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 8} !6 = !{!"dvb_frontend", !7, i64 0, !8, i64 8} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!6, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!15, !16, i64 8} !15 = !{!"reg_val", !16, i64 0, !16, i64 4, !16, i64 8} !16 = !{!"int", !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_tc90522.c_tc90522_set_if_agc.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_tc90522.c_tc90522_set_if_agc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.reg_val = type { i32, i32, i32 } @SYS_ISDBS = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @tc90522_set_if_agc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tc90522_set_if_agc(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = alloca [4 x %struct.reg_val], align 4 %4 = alloca [3 x %struct.reg_val], align 4 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #4 %5 = getelementptr inbounds i8, ptr %3, i64 4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %5, i8 0, i64 44, i1 false) store i32 10, ptr %3, align 4 %6 = getelementptr inbounds i8, ptr %3, i64 12 store <2 x i32> <i32 16, i32 48>, ptr %6, align 4 %7 = getelementptr inbounds i8, ptr %3, i64 24 store i32 17, ptr %7, align 4 %8 = getelementptr inbounds i8, ptr %3, i64 36 store <2 x i32> <i32 3, i32 1>, ptr %8, align 4 call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %4) #4 %9 = getelementptr inbounds i8, ptr %4, i64 4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %9, i8 0, i64 32, i1 false) store i32 37, ptr %4, align 4 %10 = getelementptr inbounds i8, ptr %4, i64 12 store <2 x i32> <i32 35, i32 76>, ptr %10, align 4 %11 = getelementptr inbounds i8, ptr %4, i64 24 store <2 x i32> <i32 1, i32 64>, ptr %11, align 4 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !6 %14 = load ptr, ptr %0, align 8, !tbaa !12 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = load i64, ptr @SYS_ISDBS, align 8, !tbaa !13 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %27 18: ; preds = %2 %19 = icmp ne i32 %1, 0 %20 = select i1 %19, i32 255, i32 0 %21 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %20, ptr %21, align 4, !tbaa !15 %22 = getelementptr inbounds i8, ptr %3, i64 20 %23 = zext i1 %19 to i32 %24 = or disjoint i32 %23, 128 store i32 %24, ptr %22, align 4, !tbaa !15 %25 = select i1 %19, i32 64, i32 0 %26 = getelementptr inbounds i8, ptr %3, i64 32 store i32 %25, ptr %26, align 4, !tbaa !15 br label %33 27: ; preds = %2 %28 = icmp eq i32 %1, 0 %29 = select i1 %28, i32 0, i32 64 %30 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %29, ptr %30, align 4, !tbaa !15 %31 = zext i1 %28 to i32 %32 = getelementptr inbounds i8, ptr %4, i64 20 store i32 %31, ptr %32, align 4, !tbaa !15 br label %33 33: ; preds = %27, %18 %34 = phi ptr [ %4, %27 ], [ %3, %18 ] %35 = call i32 @ARRAY_SIZE(ptr noundef nonnull %34) #4 %36 = call i32 @reg_write(ptr noundef %13, ptr noundef nonnull %34, i32 noundef %35) #4 call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #4 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #3 declare i32 @reg_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 8} !7 = !{!"dvb_frontend", !8, i64 0, !9, i64 8} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!7, !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !10, i64 0} !15 = !{!16, !17, i64 8} !16 = !{!"reg_val", !17, i64 0, !17, i64 4, !17, i64 8} !17 = !{!"int", !10, i64 0}
linux_drivers_media_dvb-frontends_extr_tc90522.c_tc90522_set_if_agc
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_i915_switcheroo_can_switch.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_i915_switcheroo_can_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @i915_switcheroo_can_switch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @i915_switcheroo_can_switch(ptr noundef %0) #0 { %2 = tail call ptr @pdev_to_i915(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %8, label %4 4: ; preds = %1 %5 = load i64, ptr %2, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 %7 = zext i1 %6 to i32 br label %8 8: ; preds = %4, %1 %9 = phi i32 [ 0, %1 ], [ %7, %4 ] ret i32 %9 } declare ptr @pdev_to_i915(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 = !{!"drm_i915_private", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_i915_switcheroo_can_switch.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_i915_switcheroo_can_switch.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 @i915_switcheroo_can_switch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @i915_switcheroo_can_switch(ptr noundef %0) #0 { %2 = tail call ptr @pdev_to_i915(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %8, label %4 4: ; preds = %1 %5 = load i64, ptr %2, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 %7 = zext i1 %6 to i32 br label %8 8: ; preds = %4, %1 %9 = phi i32 [ 0, %1 ], [ %7, %4 ] ret i32 %9 } declare ptr @pdev_to_i915(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 = !{!"drm_i915_private", !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"}
linux_drivers_gpu_drm_i915_extr_i915_drv.c_i915_switcheroo_can_switch
; ModuleID = 'AnghaBench/mpv/demux/extr_demux_playlist.c_parse_m3u.c' source_filename = "AnghaBench/mpv/demux/extr_demux_playlist.c_parse_m3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { ptr, i32, i32 } %struct.pl_parser = type { i64, ptr, i32, i64, ptr } @.str = private unnamed_addr constant [8 x i8] c"#EXTM3U\00", align 1 @DEMUX_CHECK_UNSAFE = dso_local local_unnamed_addr global i64 0, align 8 @PROBE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"#EXTINF:\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"#EXT-X-\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"hls\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_m3u], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @parse_m3u(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_12__, align 8 %3 = alloca %struct.TYPE_12__, align 8 %4 = alloca %struct.TYPE_12__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 %5 = tail call i32 @pl_get_line(ptr noundef %0) #4 %6 = tail call { ptr, i64 } @bstr_strip(i32 noundef %5) #4 %7 = extractvalue { ptr, i64 } %6, 0 store ptr %7, ptr %2, align 8 %8 = getelementptr inbounds { ptr, i64 }, ptr %2, i64 0, i32 1 %9 = extractvalue { ptr, i64 } %6, 1 store i64 %9, ptr %8, align 8 %10 = getelementptr inbounds %struct.pl_parser, ptr %0, i64 0, i32 3 %11 = load i64, ptr %10, align 8, !tbaa !5 %12 = icmp eq i64 %11, 0 br i1 %12, label %34, label %13 13: ; preds = %1 %14 = tail call i32 @bstr_equals0(ptr %7, i64 %9, ptr noundef nonnull @.str) #4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %31 16: ; preds = %13 %17 = load i64, ptr %0, align 8, !tbaa !12 %18 = load i64, ptr @DEMUX_CHECK_UNSAFE, align 8, !tbaa !13 %19 = icmp eq i64 %17, %18 br i1 %19, label %20, label %96 20: ; preds = %16 %21 = getelementptr inbounds %struct.pl_parser, ptr %0, i64 0, i32 4 %22 = load ptr, ptr %21, align 8, !tbaa !14 %23 = load i32, ptr %22, align 4, !tbaa !15 %24 = tail call ptr @mp_splitext(i32 noundef %23, ptr noundef null) #4 %25 = load i32, ptr @PROBE_SIZE, align 4, !tbaa !17 %26 = zext i32 %25 to i64 %27 = tail call ptr @llvm.stacksave.p0() %28 = alloca i8, i64 %26, align 16 %29 = load ptr, ptr %21, align 8, !tbaa !14 %30 = call i32 @stream_read_peek(ptr noundef %29, ptr noundef nonnull %28, i32 noundef %25) #4 call void @llvm.stackrestore.p0(ptr %27) br label %96 31: ; preds = %13 %32 = load i64, ptr %10, align 8, !tbaa !5 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %96 34: ; preds = %31, %1 %35 = getelementptr inbounds %struct.TYPE_12__, ptr %2, i64 0, i32 2 %36 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 2 %37 = getelementptr inbounds { ptr, i64 }, ptr %4, i64 0, i32 1 %38 = getelementptr inbounds %struct.pl_parser, ptr %0, i64 0, i32 1 %39 = getelementptr inbounds %struct.pl_parser, ptr %0, i64 0, i32 2 br label %40 40: ; preds = %34, %88 %41 = phi i64 [ %93, %88 ], [ %9, %34 ] %42 = phi ptr [ %89, %88 ], [ null, %34 ] %43 = icmp ult i64 %41, 4294967296 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = call i32 @pl_eof(ptr noundef %0) #4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %94 47: ; preds = %40, %44 %48 = call i64 @bstr_eatstart0(ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #4 %49 = icmp eq i64 %48, 0 br i1 %49, label %65, label %50 50: ; preds = %47 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 %51 = load ptr, ptr %2, align 8 %52 = load i64, ptr %8, align 8 %53 = call i64 @bstr_split_tok(ptr %51, i64 %52, ptr noundef nonnull @.str.4, ptr noundef nonnull %3, ptr noundef nonnull %4) #4 %54 = icmp ne i64 %53, 0 %55 = load i32, ptr %36, align 4 %56 = icmp ne i32 %55, 0 %57 = select i1 %54, i1 %56, i1 false br i1 %57, label %58, label %63 58: ; preds = %50 %59 = call i32 @talloc_free(ptr noundef %42) #4 %60 = load ptr, ptr %4, align 8 %61 = load i64, ptr %37, align 8 %62 = call ptr @bstrto0(ptr noundef null, ptr %60, i64 %61) #4 br label %63 63: ; preds = %58, %50 %64 = phi ptr [ %62, %58 ], [ %42, %50 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4 br label %88 65: ; preds = %47 %66 = load ptr, ptr %2, align 8 %67 = load i64, ptr %8, align 8 %68 = call i64 @bstr_startswith0(ptr %66, i64 %67, ptr noundef nonnull @.str.5) #4 %69 = icmp eq i64 %68, 0 br i1 %69, label %71, label %70 70: ; preds = %65 store ptr @.str.6, ptr %38, align 8, !tbaa !18 br label %88 71: ; preds = %65 %72 = load i32, ptr %35, align 4, !tbaa !19 %73 = icmp sgt i32 %72, 0 br i1 %73, label %74, label %88 74: ; preds = %71 %75 = load ptr, ptr %2, align 8 %76 = load i64, ptr %8, align 8 %77 = call i64 @bstr_startswith0(ptr %75, i64 %76, ptr noundef nonnull @.str.7) #4 %78 = icmp eq i64 %77, 0 br i1 %78, label %79, label %88 79: ; preds = %74 %80 = load ptr, ptr %2, align 8 %81 = load i64, ptr %8, align 8 %82 = call ptr @bstrto0(ptr noundef null, ptr %80, i64 %81) #4 %83 = call ptr @playlist_entry_new(ptr noundef %82) #4 %84 = call i32 @talloc_free(ptr noundef %82) #4 %85 = call i32 @talloc_steal(ptr noundef %83, ptr noundef %42) #4 store i32 %85, ptr %83, align 4, !tbaa !21 %86 = load i32, ptr %39, align 8, !tbaa !23 %87 = call i32 @playlist_add(i32 noundef %86, ptr noundef nonnull %83) #4 br label %88 88: ; preds = %70, %79, %74, %71, %63 %89 = phi ptr [ %64, %63 ], [ %42, %70 ], [ %42, %74 ], [ null, %79 ], [ %42, %71 ] %90 = call i32 @pl_get_line(ptr noundef %0) #4 %91 = call { ptr, i64 } @bstr_strip(i32 noundef %90) #4 %92 = extractvalue { ptr, i64 } %91, 0 %93 = extractvalue { ptr, i64 } %91, 1 store ptr %92, ptr %2, align 8, !tbaa.struct !24 store i64 %93, ptr %8, align 8, !tbaa.struct !26 br label %40, !llvm.loop !27 94: ; preds = %44 %95 = call i32 @talloc_free(ptr noundef %42) #4 br label %96 96: ; preds = %31, %16, %20, %94 %97 = phi i32 [ 0, %94 ], [ -1, %20 ], [ -1, %16 ], [ 0, %31 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret i32 %97 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare { ptr, i64 } @bstr_strip(i32 noundef) local_unnamed_addr #2 declare i32 @pl_get_line(ptr noundef) local_unnamed_addr #2 declare i32 @bstr_equals0(ptr, i64, ptr noundef) local_unnamed_addr #2 declare ptr @mp_splitext(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i32 @stream_read_peek(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare i32 @pl_eof(ptr noundef) local_unnamed_addr #2 declare i64 @bstr_eatstart0(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @bstr_split_tok(ptr, i64, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @talloc_free(ptr noundef) local_unnamed_addr #2 declare ptr @bstrto0(ptr noundef, ptr, i64) local_unnamed_addr #2 declare i64 @bstr_startswith0(ptr, i64, ptr noundef) local_unnamed_addr #2 declare ptr @playlist_entry_new(ptr noundef) local_unnamed_addr #2 declare i32 @talloc_steal(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @playlist_add(i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"pl_parser", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !10, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 32} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_13__", !11, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!6, !10, i64 8} !19 = !{!20, !11, i64 12} !20 = !{!"TYPE_12__", !10, i64 0, !11, i64 8, !11, i64 12} !21 = !{!22, !11, i64 0} !22 = !{!"playlist_entry", !11, i64 0} !23 = !{!6, !11, i64 16} !24 = !{i64 0, i64 8, !25, i64 8, i64 4, !17, i64 12, i64 4, !17} !25 = !{!10, !10, i64 0} !26 = !{i64 0, i64 4, !17, i64 4, i64 4, !17} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/mpv/demux/extr_demux_playlist.c_parse_m3u.c' source_filename = "AnghaBench/mpv/demux/extr_demux_playlist.c_parse_m3u.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_12__ = type { ptr, i32, i32 } @.str = private unnamed_addr constant [8 x i8] c"#EXTM3U\00", align 1 @DEMUX_CHECK_UNSAFE = common local_unnamed_addr global i64 0, align 8 @PROBE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"#EXTINF:\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"#EXT-X-\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"hls\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @parse_m3u], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @parse_m3u(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_12__, align 8 %3 = alloca %struct.TYPE_12__, align 8 %4 = alloca %struct.TYPE_12__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 %5 = tail call i32 @pl_get_line(ptr noundef %0) #4 %6 = tail call [2 x i64] @bstr_strip(i32 noundef %5) #4 %7 = extractvalue [2 x i64] %6, 0 store i64 %7, ptr %2, align 8 %8 = extractvalue [2 x i64] %6, 1 %9 = getelementptr inbounds i8, ptr %2, i64 8 store i64 %8, ptr %9, align 8 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load i64, ptr %10, align 8, !tbaa !6 %12 = icmp eq i64 %11, 0 br i1 %12, label %34, label %13 13: ; preds = %1 %14 = tail call i32 @bstr_equals0([2 x i64] %6, ptr noundef nonnull @.str) #4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %31 16: ; preds = %13 %17 = load i64, ptr %0, align 8, !tbaa !13 %18 = load i64, ptr @DEMUX_CHECK_UNSAFE, align 8, !tbaa !14 %19 = icmp eq i64 %17, %18 br i1 %19, label %20, label %106 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %0, i64 32 %22 = load ptr, ptr %21, align 8, !tbaa !15 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = tail call ptr @mp_splitext(i32 noundef %23, ptr noundef null) #4 %25 = load i32, ptr @PROBE_SIZE, align 4, !tbaa !18 %26 = zext i32 %25 to i64 %27 = tail call ptr @llvm.stacksave.p0() %28 = alloca i8, i64 %26, align 1 %29 = load ptr, ptr %21, align 8, !tbaa !15 %30 = call i32 @stream_read_peek(ptr noundef %29, ptr noundef nonnull %28, i32 noundef %25) #4 call void @llvm.stackrestore.p0(ptr %27) br label %106 31: ; preds = %13 %32 = load i64, ptr %10, align 8, !tbaa !6 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %106 34: ; preds = %31, %1 %35 = getelementptr inbounds i8, ptr %2, i64 12 %36 = getelementptr inbounds i8, ptr %4, i64 12 %37 = getelementptr inbounds i8, ptr %4, i64 8 %38 = getelementptr inbounds i8, ptr %0, i64 8 %39 = getelementptr inbounds i8, ptr %0, i64 16 br label %40 40: ; preds = %34, %98 %41 = phi i64 [ %103, %98 ], [ %8, %34 ] %42 = phi ptr [ %99, %98 ], [ null, %34 ] %43 = icmp ult i64 %41, 4294967296 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = call i32 @pl_eof(ptr noundef %0) #4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %104 47: ; preds = %40, %44 %48 = call i64 @bstr_eatstart0(ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #4 %49 = icmp eq i64 %48, 0 br i1 %49, label %69, label %50 50: ; preds = %47 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 %51 = load i64, ptr %2, align 8 %52 = insertvalue [2 x i64] poison, i64 %51, 0 %53 = load i64, ptr %9, align 8 %54 = insertvalue [2 x i64] %52, i64 %53, 1 %55 = call i64 @bstr_split_tok([2 x i64] %54, ptr noundef nonnull @.str.4, ptr noundef nonnull %3, ptr noundef nonnull %4) #4 %56 = icmp ne i64 %55, 0 %57 = load i32, ptr %36, align 4 %58 = icmp ne i32 %57, 0 %59 = select i1 %56, i1 %58, i1 false br i1 %59, label %60, label %67 60: ; preds = %50 %61 = call i32 @talloc_free(ptr noundef %42) #4 %62 = load i64, ptr %4, align 8 %63 = insertvalue [2 x i64] poison, i64 %62, 0 %64 = load i64, ptr %37, align 8 %65 = insertvalue [2 x i64] %63, i64 %64, 1 %66 = call ptr @bstrto0(ptr noundef null, [2 x i64] %65) #4 br label %67 67: ; preds = %60, %50 %68 = phi ptr [ %66, %60 ], [ %42, %50 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4 br label %98 69: ; preds = %47 %70 = load i64, ptr %2, align 8 %71 = insertvalue [2 x i64] poison, i64 %70, 0 %72 = load i64, ptr %9, align 8 %73 = insertvalue [2 x i64] %71, i64 %72, 1 %74 = call i64 @bstr_startswith0([2 x i64] %73, ptr noundef nonnull @.str.5) #4 %75 = icmp eq i64 %74, 0 br i1 %75, label %77, label %76 76: ; preds = %69 store ptr @.str.6, ptr %38, align 8, !tbaa !19 br label %98 77: ; preds = %69 %78 = load i32, ptr %35, align 4, !tbaa !20 %79 = icmp sgt i32 %78, 0 br i1 %79, label %80, label %98 80: ; preds = %77 %81 = load i64, ptr %2, align 8 %82 = insertvalue [2 x i64] poison, i64 %81, 0 %83 = load i64, ptr %9, align 8 %84 = insertvalue [2 x i64] %82, i64 %83, 1 %85 = call i64 @bstr_startswith0([2 x i64] %84, ptr noundef nonnull @.str.7) #4 %86 = icmp eq i64 %85, 0 br i1 %86, label %87, label %98 87: ; preds = %80 %88 = load i64, ptr %2, align 8 %89 = insertvalue [2 x i64] poison, i64 %88, 0 %90 = load i64, ptr %9, align 8 %91 = insertvalue [2 x i64] %89, i64 %90, 1 %92 = call ptr @bstrto0(ptr noundef null, [2 x i64] %91) #4 %93 = call ptr @playlist_entry_new(ptr noundef %92) #4 %94 = call i32 @talloc_free(ptr noundef %92) #4 %95 = call i32 @talloc_steal(ptr noundef %93, ptr noundef %42) #4 store i32 %95, ptr %93, align 4, !tbaa !22 %96 = load i32, ptr %39, align 8, !tbaa !24 %97 = call i32 @playlist_add(i32 noundef %96, ptr noundef nonnull %93) #4 br label %98 98: ; preds = %76, %87, %80, %77, %67 %99 = phi ptr [ %68, %67 ], [ %42, %76 ], [ %42, %80 ], [ null, %87 ], [ %42, %77 ] %100 = call i32 @pl_get_line(ptr noundef %0) #4 %101 = call [2 x i64] @bstr_strip(i32 noundef %100) #4 %102 = extractvalue [2 x i64] %101, 0 %103 = extractvalue [2 x i64] %101, 1 store i64 %102, ptr %2, align 8, !tbaa !25 store i64 %103, ptr %9, align 8 br label %40, !llvm.loop !26 104: ; preds = %44 %105 = call i32 @talloc_free(ptr noundef %42) #4 br label %106 106: ; preds = %31, %16, %20, %104 %107 = phi i32 [ 0, %104 ], [ -1, %20 ], [ -1, %16 ], [ 0, %31 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret i32 %107 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare [2 x i64] @bstr_strip(i32 noundef) local_unnamed_addr #2 declare i32 @pl_get_line(ptr noundef) local_unnamed_addr #2 declare i32 @bstr_equals0([2 x i64], ptr noundef) local_unnamed_addr #2 declare ptr @mp_splitext(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i32 @stream_read_peek(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare i32 @pl_eof(ptr noundef) local_unnamed_addr #2 declare i64 @bstr_eatstart0(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @bstr_split_tok([2 x i64], ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @talloc_free(ptr noundef) local_unnamed_addr #2 declare ptr @bstrto0(ptr noundef, [2 x i64]) local_unnamed_addr #2 declare i64 @bstr_startswith0([2 x i64], ptr noundef) local_unnamed_addr #2 declare ptr @playlist_entry_new(ptr noundef) local_unnamed_addr #2 declare i32 @talloc_steal(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @playlist_add(i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"pl_parser", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !11, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 32} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_13__", !12, i64 0} !18 = !{!12, !12, i64 0} !19 = !{!7, !11, i64 8} !20 = !{!21, !12, i64 12} !21 = !{!"TYPE_12__", !11, i64 0, !12, i64 8, !12, i64 12} !22 = !{!23, !12, i64 0} !23 = !{!"playlist_entry", !12, i64 0} !24 = !{!7, !12, i64 16} !25 = !{!11, !11, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
mpv_demux_extr_demux_playlist.c_parse_m3u
; ModuleID = 'AnghaBench/linux/drivers/staging/media/omap4iss/extr_iss_ipipe.c_omap4iss_ipipe_register_entities.c' source_filename = "AnghaBench/linux/drivers/staging/media/omap4iss/extr_iss_ipipe.c_omap4iss_ipipe_register_entities.c" target datalayout = "e-m:e-p270:32:32-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 @omap4iss_ipipe_register_entities(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @v4l2_device_register_subdev(ptr noundef %1, ptr noundef %0) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @omap4iss_ipipe_unregister_entities(ptr noundef %0) #2 br label %7 7: ; preds = %2, %5 %8 = phi i32 [ %3, %5 ], [ 0, %2 ] ret i32 %8 } declare i32 @v4l2_device_register_subdev(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @omap4iss_ipipe_unregister_entities(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/staging/media/omap4iss/extr_iss_ipipe.c_omap4iss_ipipe_register_entities.c' source_filename = "AnghaBench/linux/drivers/staging/media/omap4iss/extr_iss_ipipe.c_omap4iss_ipipe_register_entities.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483648, 1) i32 @omap4iss_ipipe_register_entities(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @v4l2_device_register_subdev(ptr noundef %1, ptr noundef %0) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @omap4iss_ipipe_unregister_entities(ptr noundef %0) #2 br label %7 7: ; preds = %2, %5 %8 = phi i32 [ %3, %5 ], [ 0, %2 ] ret i32 %8 } declare i32 @v4l2_device_register_subdev(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @omap4iss_ipipe_unregister_entities(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_staging_media_omap4iss_extr_iss_ipipe.c_omap4iss_ipipe_register_entities
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/gigaset/extr_usb-gigaset.c_gigaset_init_bchannel.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/gigaset/extr_usb-gigaset.c_gigaset_init_bchannel.c" target datalayout = "e-m:e-p270:32:32-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 @gigaset_init_bchannel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @gigaset_init_bchannel(ptr noundef %0) #0 { %2 = tail call i32 @gigaset_bchannel_up(ptr noundef %0) #2 ret i32 0 } declare i32 @gigaset_bchannel_up(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/drivers/isdn/gigaset/extr_usb-gigaset.c_gigaset_init_bchannel.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/gigaset/extr_usb-gigaset.c_gigaset_init_bchannel.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 @gigaset_init_bchannel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @gigaset_init_bchannel(ptr noundef %0) #0 { %2 = tail call i32 @gigaset_bchannel_up(ptr noundef %0) #2 ret i32 0 } declare i32 @gigaset_bchannel_up(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_drivers_isdn_gigaset_extr_usb-gigaset.c_gigaset_init_bchannel
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_scan.c_mwifiex_cancel_scan.c' source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_scan.c_mwifiex_cancel_scan.c" target datalayout = "e-m:e-p270:32:32-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.cfg80211_scan_info = type { i32 } %struct.mwifiex_adapter = type { i32, i32, ptr, i32 } %struct.mwifiex_private = type { i32, ptr } @INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"info: aborting scan\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @mwifiex_cancel_scan(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.cfg80211_scan_info, align 4 %3 = tail call i32 @mwifiex_cancel_pending_scan_cmd(ptr noundef %0) #3 %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %37, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.mwifiex_adapter, ptr %0, i64 0, i32 3 %8 = tail call i32 @spin_lock_bh(ptr noundef nonnull %7) #3 store i32 0, ptr %0, align 8, !tbaa !5 %9 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %7) #3 %10 = getelementptr inbounds %struct.mwifiex_adapter, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %37 13: ; preds = %6 %14 = getelementptr inbounds %struct.mwifiex_adapter, ptr %0, i64 0, i32 2 br label %15 15: ; preds = %13, %32 %16 = phi i32 [ %11, %13 ], [ %33, %32 ] %17 = phi i64 [ 0, %13 ], [ %34, %32 ] %18 = load ptr, ptr %14, align 8, !tbaa !12 %19 = getelementptr inbounds ptr, ptr %18, i64 %17 %20 = load ptr, ptr %19, align 8, !tbaa !13 %21 = icmp eq ptr %20, null br i1 %21, label %32, label %22 22: ; preds = %15 %23 = getelementptr inbounds %struct.mwifiex_private, ptr %20, i64 0, i32 1 %24 = load ptr, ptr %23, align 8, !tbaa !14 %25 = icmp eq ptr %24, null br i1 %25, label %32, label %26 26: ; preds = %22 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 1, ptr %2, align 4 %27 = load i32, ptr @INFO, align 4, !tbaa !16 %28 = call i32 @mwifiex_dbg(ptr noundef nonnull %0, i32 noundef %27, ptr noundef nonnull @.str) #3 %29 = load ptr, ptr %23, align 8, !tbaa !14 %30 = call i32 @cfg80211_scan_done(ptr noundef %29, ptr noundef nonnull %2) #3 store ptr null, ptr %23, align 8, !tbaa !14 store i32 0, ptr %20, align 8, !tbaa !17 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 %31 = load i32, ptr %10, align 4, !tbaa !11 br label %32 32: ; preds = %22, %26, %15 %33 = phi i32 [ %16, %22 ], [ %31, %26 ], [ %16, %15 ] %34 = add nuw nsw i64 %17, 1 %35 = sext i32 %33 to i64 %36 = icmp slt i64 %34, %35 br i1 %36, label %15, label %37, !llvm.loop !18 37: ; preds = %32, %6, %1 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 @mwifiex_cancel_pending_scan_cmd(ptr noundef) local_unnamed_addr #2 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #2 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #2 declare i32 @mwifiex_dbg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cfg80211_scan_done(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 = !{!"mwifiex_adapter", !7, i64 0, !7, i64 4, !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 = !{!6, !7, i64 4} !12 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!15, !10, i64 8} !15 = !{!"mwifiex_private", !7, i64 0, !10, i64 8} !16 = !{!7, !7, i64 0} !17 = !{!15, !7, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_scan.c_mwifiex_cancel_scan.c' source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_scan.c_mwifiex_cancel_scan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.cfg80211_scan_info = type { i32 } @INFO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"info: aborting scan\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @mwifiex_cancel_scan(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.cfg80211_scan_info, align 4 %3 = tail call i32 @mwifiex_cancel_pending_scan_cmd(ptr noundef %0) #3 %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %37, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = tail call i32 @spin_lock_bh(ptr noundef nonnull %7) #3 store i32 0, ptr %0, align 8, !tbaa !6 %9 = tail call i32 @spin_unlock_bh(ptr noundef nonnull %7) #3 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %37 13: ; preds = %6 %14 = getelementptr inbounds i8, ptr %0, i64 8 br label %15 15: ; preds = %13, %32 %16 = phi i32 [ %11, %13 ], [ %33, %32 ] %17 = phi i64 [ 0, %13 ], [ %34, %32 ] %18 = load ptr, ptr %14, align 8, !tbaa !13 %19 = getelementptr inbounds ptr, ptr %18, i64 %17 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = icmp eq ptr %20, null br i1 %21, label %32, label %22 22: ; preds = %15 %23 = getelementptr inbounds i8, ptr %20, i64 8 %24 = load ptr, ptr %23, align 8, !tbaa !15 %25 = icmp eq ptr %24, null br i1 %25, label %32, label %26 26: ; preds = %22 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 1, ptr %2, align 4 %27 = load i32, ptr @INFO, align 4, !tbaa !17 %28 = call i32 @mwifiex_dbg(ptr noundef nonnull %0, i32 noundef %27, ptr noundef nonnull @.str) #3 %29 = load ptr, ptr %23, align 8, !tbaa !15 %30 = call i32 @cfg80211_scan_done(ptr noundef %29, ptr noundef nonnull %2) #3 store ptr null, ptr %23, align 8, !tbaa !15 store i32 0, ptr %20, align 8, !tbaa !18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 %31 = load i32, ptr %10, align 4, !tbaa !12 br label %32 32: ; preds = %22, %26, %15 %33 = phi i32 [ %16, %22 ], [ %31, %26 ], [ %16, %15 ] %34 = add nuw nsw i64 %17, 1 %35 = sext i32 %33 to i64 %36 = icmp slt i64 %34, %35 br i1 %36, label %15, label %37, !llvm.loop !19 37: ; preds = %32, %6, %1 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 @mwifiex_cancel_pending_scan_cmd(ptr noundef) local_unnamed_addr #2 declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #2 declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #2 declare i32 @mwifiex_dbg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cfg80211_scan_done(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 = !{!"mwifiex_adapter", !8, i64 0, !8, i64 4, !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 = !{!7, !8, i64 4} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"mwifiex_private", !8, i64 0, !11, i64 8} !17 = !{!8, !8, i64 0} !18 = !{!16, !8, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_wireless_marvell_mwifiex_extr_scan.c_mwifiex_cancel_scan
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-ethtool.c_xgbe_get_rxnfc.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-ethtool.c_xgbe_get_rxnfc.c" target datalayout = "e-m:e-p270:32:32-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.ethtool_rxnfc = type { i32, i32 } @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xgbe_get_rxnfc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @xgbe_get_rxnfc(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture readnone %2) #0 { %4 = tail call ptr @netdev_priv(ptr noundef %0) #2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = icmp eq i32 %5, 128 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr %4, align 4, !tbaa !10 %9 = getelementptr inbounds %struct.ethtool_rxnfc, ptr %1, i64 0, i32 1 store i32 %8, ptr %9, align 4, !tbaa !12 br label %13 10: ; preds = %3 %11 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13 %12 = sub nsw i32 0, %11 br label %13 13: ; preds = %7, %10 %14 = phi i32 [ 0, %7 ], [ %12, %10 ] ret i32 %14 } declare ptr @netdev_priv(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 = !{!"ethtool_rxnfc", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"xgbe_prv_data", !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-ethtool.c_xgbe_get_rxnfc.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-ethtool.c_xgbe_get_rxnfc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xgbe_get_rxnfc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @xgbe_get_rxnfc(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture readnone %2) #0 { %4 = tail call ptr @netdev_priv(ptr noundef %0) #2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = icmp eq i32 %5, 128 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr %4, align 4, !tbaa !11 %9 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %8, ptr %9, align 4, !tbaa !13 br label %13 10: ; preds = %3 %11 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !14 %12 = sub nsw i32 0, %11 br label %13 13: ; preds = %7, %10 %14 = phi i32 [ 0, %7 ], [ %12, %10 ] ret i32 %14 } declare ptr @netdev_priv(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 = !{!"ethtool_rxnfc", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"xgbe_prv_data", !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!8, !8, i64 0}
linux_drivers_net_ethernet_amd_xgbe_extr_xgbe-ethtool.c_xgbe_get_rxnfc
; ModuleID = 'AnghaBench/php-src/ext/pdo_oci/extr_oci_driver.c__oci_error.c' source_filename = "AnghaBench/php-src/ext/pdo_oci/extr_oci_driver.c__oci_error.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { ptr, i32, i32, i32, i64 } %struct.TYPE_8__ = type { ptr, i64 } %struct.TYPE_10__ = type { ptr, i32, ptr, i32 } %struct.TYPE_11__ = type { %struct.TYPE_10__, i32 } @__const._oci_error.errbuf = private unnamed_addr constant [1024 x i8] c"<<Unknown>>\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [6 x i8] c"HY000\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%s (%s:%d)\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"00000\00", align 1 @OCI_HTYPE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"%s: %s (%s:%d)\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"%s: OCI_NEED_DATA (%s:%d)\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"%s: OCI_NO_DATA (%s:%d)\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"%s: OCI_INVALID_HANDLE (%s:%d)\00", align 1 @.str.8 = private unnamed_addr constant [32 x i8] c"%s: OCI_STILL_EXECUTING (%s:%d)\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"%s: OCI_CONTINUE (%s:%d)\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"42S02\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"01002\00", align 1 @.str.12 = private unnamed_addr constant [17 x i8] c"SQLSTATE[%s]: %s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @_oci_error(ptr noundef %0, ptr nocapture noundef %1, ptr noundef readonly %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) local_unnamed_addr #0 { %9 = alloca [1024 x i8], align 16 %10 = alloca [2048 x i8], align 16 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %9) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %9, ptr noundef nonnull align 16 dereferenceable(1024) @__const._oci_error.errbuf, i64 1024, i1 false) call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #4 %11 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 4 %12 = load i64, ptr %11, align 8, !tbaa !5 %13 = inttoptr i64 %12 to ptr %14 = icmp eq ptr %2, null br i1 %14, label %19, label %15 15: ; preds = %8 %16 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !12 %18 = inttoptr i64 %17 to ptr br label %19 19: ; preds = %8, %15 %20 = phi ptr [ %18, %15 ], [ %13, %8 ] %21 = phi ptr [ %2, %15 ], [ %1, %8 ] %22 = load ptr, ptr %20, align 8, !tbaa !14 %23 = icmp eq ptr %22, null br i1 %23, label %28, label %24 24: ; preds = %19 %25 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %26 = load i32, ptr %25, align 8, !tbaa !16 %27 = tail call i32 @pefree(ptr noundef nonnull %22, i32 noundef %26) #4 br label %28 28: ; preds = %24, %19 store ptr null, ptr %20, align 8, !tbaa !14 %29 = getelementptr inbounds %struct.TYPE_10__, ptr %20, i64 0, i32 1 store i32 0, ptr %29, align 8, !tbaa !17 %30 = getelementptr inbounds %struct.TYPE_10__, ptr %20, i64 0, i32 2 store ptr %6, ptr %30, align 8, !tbaa !18 %31 = getelementptr inbounds %struct.TYPE_10__, ptr %20, i64 0, i32 3 store i32 %7, ptr %31, align 8, !tbaa !19 %32 = icmp eq i32 %5, 0 br i1 %32, label %40, label %33 33: ; preds = %28 %34 = load ptr, ptr %21, align 8, !tbaa !20 %35 = tail call i32 @strcpy(ptr noundef %34, ptr noundef nonnull @.str) #4 %36 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.1, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %37 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %38 = load i32, ptr %37, align 8, !tbaa !16 %39 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %38) #4 store ptr %39, ptr %20, align 8, !tbaa !14 br label %118 40: ; preds = %28 switch i32 %4, label %83 [ i32 129, label %41 i32 134, label %44 i32 128, label %51 i32 132, label %58 i32 131, label %63 i32 133, label %68 i32 130, label %73 i32 135, label %78 ] 41: ; preds = %40 %42 = load ptr, ptr %21, align 8, !tbaa !20 %43 = tail call i32 @strcpy(ptr noundef %42, ptr noundef nonnull @.str.2) #4 br label %83 44: ; preds = %40 %45 = load i32, ptr @OCI_HTYPE_ERROR, align 4, !tbaa !21 %46 = call i32 @OCIErrorGet(ptr noundef %0, i32 noundef 1, ptr noundef null, ptr noundef nonnull %29, ptr noundef nonnull %9, i32 noundef 1024, i32 noundef %45) #4 %47 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.3, ptr noundef %3, ptr noundef nonnull %9, ptr noundef %6, i32 noundef %7) #4 %48 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %49 = load i32, ptr %48, align 8, !tbaa !16 %50 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %49) #4 store ptr %50, ptr %20, align 8, !tbaa !14 br label %83 51: ; preds = %40 %52 = load i32, ptr @OCI_HTYPE_ERROR, align 4, !tbaa !21 %53 = call i32 @OCIErrorGet(ptr noundef %0, i32 noundef 1, ptr noundef null, ptr noundef nonnull %29, ptr noundef nonnull %9, i32 noundef 1024, i32 noundef %52) #4 %54 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.4, ptr noundef %3, ptr noundef nonnull %9, ptr noundef %6, i32 noundef %7) #4 %55 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %56 = load i32, ptr %55, align 8, !tbaa !16 %57 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %56) #4 store ptr %57, ptr %20, align 8, !tbaa !14 br label %83 58: ; preds = %40 %59 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.5, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %60 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %61 = load i32, ptr %60, align 8, !tbaa !16 %62 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %61) #4 store ptr %62, ptr %20, align 8, !tbaa !14 br label %83 63: ; preds = %40 %64 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.6, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %65 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %66 = load i32, ptr %65, align 8, !tbaa !16 %67 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %66) #4 store ptr %67, ptr %20, align 8, !tbaa !14 br label %83 68: ; preds = %40 %69 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.7, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %70 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %71 = load i32, ptr %70, align 8, !tbaa !16 %72 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %71) #4 store ptr %72, ptr %20, align 8, !tbaa !14 br label %83 73: ; preds = %40 %74 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.8, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %75 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %76 = load i32, ptr %75, align 8, !tbaa !16 %77 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %76) #4 store ptr %77, ptr %20, align 8, !tbaa !14 br label %83 78: ; preds = %40 %79 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.9, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %80 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %81 = load i32, ptr %80, align 8, !tbaa !16 %82 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %81) #4 store ptr %82, ptr %20, align 8, !tbaa !14 br label %83 83: ; preds = %40, %78, %73, %68, %63, %58, %51, %44, %41 %84 = load i32, ptr %29, align 8, !tbaa !17 switch i32 %84, label %95 [ i32 0, label %98 i32 1013, label %85 i32 12154, label %87 i32 22, label %90 i32 378, label %90 i32 602, label %90 i32 603, label %90 i32 604, label %90 i32 609, label %90 i32 1012, label %90 i32 1033, label %90 i32 1041, label %90 i32 1043, label %90 i32 1089, label %90 i32 1090, label %90 i32 1092, label %90 i32 3113, label %90 i32 3114, label %90 i32 3122, label %90 i32 3135, label %90 i32 12153, label %90 i32 27146, label %90 i32 28511, label %90 ] 85: ; preds = %83 %86 = call i32 (...) @zend_bailout() #4 br label %98 87: ; preds = %83 %88 = load ptr, ptr %21, align 8, !tbaa !20 %89 = call i32 @strcpy(ptr noundef %88, ptr noundef nonnull @.str.10) #4 br label %98 90: ; preds = %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83 %91 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1 store i32 1, ptr %91, align 8, !tbaa !22 %92 = getelementptr inbounds %struct.TYPE_11__, ptr %13, i64 0, i32 1 store i32 0, ptr %92, align 8, !tbaa !23 %93 = load ptr, ptr %21, align 8, !tbaa !20 %94 = call i32 @strcpy(ptr noundef %93, ptr noundef nonnull @.str.11) #4 br label %98 95: ; preds = %83 %96 = load ptr, ptr %21, align 8, !tbaa !20 %97 = call i32 @strcpy(ptr noundef %96, ptr noundef nonnull @.str) #4 br label %98 98: ; preds = %83, %85, %87, %90, %95 br i1 %14, label %118, label %99 99: ; preds = %98 %100 = load ptr, ptr %13, align 8, !tbaa !25 %101 = icmp eq ptr %100, null br i1 %101, label %106, label %102 102: ; preds = %99 %103 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %104 = load i32, ptr %103, align 8, !tbaa !16 %105 = call i32 @pefree(ptr noundef nonnull %100, i32 noundef %104) #4 br label %106 106: ; preds = %102, %99 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %20, i64 32, i1 false), !tbaa.struct !26 %107 = load ptr, ptr %20, align 8, !tbaa !14 %108 = icmp eq ptr %107, null br i1 %108, label %113, label %109 109: ; preds = %106 %110 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %111 = load i32, ptr %110, align 8, !tbaa !16 %112 = call ptr @pestrdup(ptr noundef nonnull %107, i32 noundef %111) #4 br label %113 113: ; preds = %106, %109 %114 = phi ptr [ %112, %109 ], [ null, %106 ] store ptr %114, ptr %13, align 8, !tbaa !25 %115 = load ptr, ptr %1, align 8, !tbaa !27 %116 = load ptr, ptr %2, align 8, !tbaa !28 %117 = call i32 @strcpy(ptr noundef %115, ptr noundef %116) #4 br label %118 118: ; preds = %98, %113, %33 %119 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 2 %120 = load i32, ptr %119, align 4, !tbaa !29 %121 = icmp eq i32 %120, 0 br i1 %121, label %122, label %128 122: ; preds = %118 %123 = call i32 (...) @php_pdo_get_exception() #4 %124 = load i32, ptr %29, align 8, !tbaa !17 %125 = load ptr, ptr %21, align 8, !tbaa !20 %126 = load ptr, ptr %20, align 8, !tbaa !14 %127 = call i32 @zend_throw_exception_ex(i32 noundef %123, i32 noundef %124, ptr noundef nonnull @.str.12, ptr noundef %125, ptr noundef %126) #4 br label %128 128: ; preds = %122, %118 %129 = load i32, ptr %29, align 8, !tbaa !17 call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %9) #4 ret i32 %129 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @pefree(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @slprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #3 declare ptr @pestrdup(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @OCIErrorGet(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @zend_bailout(...) local_unnamed_addr #3 declare i32 @zend_throw_exception_ex(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @php_pdo_get_exception(...) 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, !11, i64 24} !6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_8__", !7, i64 0, !11, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_10__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24} !16 = !{!6, !10, i64 16} !17 = !{!15, !10, i64 8} !18 = !{!15, !7, i64 16} !19 = !{!15, !10, i64 24} !20 = !{!7, !7, i64 0} !21 = !{!10, !10, i64 0} !22 = !{!6, !10, i64 8} !23 = !{!24, !10, i64 32} !24 = !{!"TYPE_11__", !15, i64 0, !10, i64 32} !25 = !{!24, !7, i64 0} !26 = !{i64 0, i64 8, !20, i64 8, i64 4, !21, i64 16, i64 8, !20, i64 24, i64 4, !21} !27 = !{!6, !7, i64 0} !28 = !{!13, !7, i64 0} !29 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/php-src/ext/pdo_oci/extr_oci_driver.c__oci_error.c' source_filename = "AnghaBench/php-src/ext/pdo_oci/extr_oci_driver.c__oci_error.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const._oci_error.errbuf = private unnamed_addr constant [1024 x i8] c"<<Unknown>>\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [6 x i8] c"HY000\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%s (%s:%d)\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"00000\00", align 1 @OCI_HTYPE_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"%s: %s (%s:%d)\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"%s: OCI_NEED_DATA (%s:%d)\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"%s: OCI_NO_DATA (%s:%d)\00", align 1 @.str.7 = private unnamed_addr constant [31 x i8] c"%s: OCI_INVALID_HANDLE (%s:%d)\00", align 1 @.str.8 = private unnamed_addr constant [32 x i8] c"%s: OCI_STILL_EXECUTING (%s:%d)\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"%s: OCI_CONTINUE (%s:%d)\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"42S02\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"01002\00", align 1 @.str.12 = private unnamed_addr constant [17 x i8] c"SQLSTATE[%s]: %s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @_oci_error(ptr noundef %0, ptr nocapture noundef %1, ptr noundef readonly %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7) local_unnamed_addr #0 { %9 = alloca [1024 x i8], align 1 %10 = alloca [2048 x i8], align 1 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %9) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %9, ptr noundef nonnull align 1 dereferenceable(1024) @__const._oci_error.errbuf, i64 1024, i1 false) call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #4 %11 = getelementptr inbounds i8, ptr %1, i64 24 %12 = load i64, ptr %11, align 8, !tbaa !6 %13 = inttoptr i64 %12 to ptr %14 = icmp eq ptr %2, null br i1 %14, label %19, label %15 15: ; preds = %8 %16 = getelementptr inbounds i8, ptr %2, i64 8 %17 = load i64, ptr %16, align 8, !tbaa !13 %18 = inttoptr i64 %17 to ptr br label %19 19: ; preds = %8, %15 %20 = phi ptr [ %18, %15 ], [ %13, %8 ] %21 = phi ptr [ %2, %15 ], [ %1, %8 ] %22 = load ptr, ptr %20, align 8, !tbaa !15 %23 = icmp eq ptr %22, null br i1 %23, label %28, label %24 24: ; preds = %19 %25 = getelementptr inbounds i8, ptr %1, i64 16 %26 = load i32, ptr %25, align 8, !tbaa !17 %27 = tail call i32 @pefree(ptr noundef nonnull %22, i32 noundef %26) #4 br label %28 28: ; preds = %24, %19 store ptr null, ptr %20, align 8, !tbaa !15 %29 = getelementptr inbounds i8, ptr %20, i64 8 store i32 0, ptr %29, align 8, !tbaa !18 %30 = getelementptr inbounds i8, ptr %20, i64 16 store ptr %6, ptr %30, align 8, !tbaa !19 %31 = getelementptr inbounds i8, ptr %20, i64 24 store i32 %7, ptr %31, align 8, !tbaa !20 %32 = icmp eq i32 %5, 0 br i1 %32, label %40, label %33 33: ; preds = %28 %34 = load ptr, ptr %21, align 8, !tbaa !21 %35 = tail call i32 @strcpy(ptr noundef %34, ptr noundef nonnull @.str) #4 %36 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.1, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %37 = getelementptr inbounds i8, ptr %1, i64 16 %38 = load i32, ptr %37, align 8, !tbaa !17 %39 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %38) #4 store ptr %39, ptr %20, align 8, !tbaa !15 br label %118 40: ; preds = %28 switch i32 %4, label %83 [ i32 129, label %41 i32 134, label %44 i32 128, label %51 i32 132, label %58 i32 131, label %63 i32 133, label %68 i32 130, label %73 i32 135, label %78 ] 41: ; preds = %40 %42 = load ptr, ptr %21, align 8, !tbaa !21 %43 = tail call i32 @strcpy(ptr noundef %42, ptr noundef nonnull @.str.2) #4 br label %83 44: ; preds = %40 %45 = load i32, ptr @OCI_HTYPE_ERROR, align 4, !tbaa !22 %46 = call i32 @OCIErrorGet(ptr noundef %0, i32 noundef 1, ptr noundef null, ptr noundef nonnull %29, ptr noundef nonnull %9, i32 noundef 1024, i32 noundef %45) #4 %47 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.3, ptr noundef %3, ptr noundef nonnull %9, ptr noundef %6, i32 noundef %7) #4 %48 = getelementptr inbounds i8, ptr %1, i64 16 %49 = load i32, ptr %48, align 8, !tbaa !17 %50 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %49) #4 store ptr %50, ptr %20, align 8, !tbaa !15 br label %83 51: ; preds = %40 %52 = load i32, ptr @OCI_HTYPE_ERROR, align 4, !tbaa !22 %53 = call i32 @OCIErrorGet(ptr noundef %0, i32 noundef 1, ptr noundef null, ptr noundef nonnull %29, ptr noundef nonnull %9, i32 noundef 1024, i32 noundef %52) #4 %54 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.4, ptr noundef %3, ptr noundef nonnull %9, ptr noundef %6, i32 noundef %7) #4 %55 = getelementptr inbounds i8, ptr %1, i64 16 %56 = load i32, ptr %55, align 8, !tbaa !17 %57 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %56) #4 store ptr %57, ptr %20, align 8, !tbaa !15 br label %83 58: ; preds = %40 %59 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.5, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %60 = getelementptr inbounds i8, ptr %1, i64 16 %61 = load i32, ptr %60, align 8, !tbaa !17 %62 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %61) #4 store ptr %62, ptr %20, align 8, !tbaa !15 br label %83 63: ; preds = %40 %64 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.6, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %65 = getelementptr inbounds i8, ptr %1, i64 16 %66 = load i32, ptr %65, align 8, !tbaa !17 %67 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %66) #4 store ptr %67, ptr %20, align 8, !tbaa !15 br label %83 68: ; preds = %40 %69 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.7, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %70 = getelementptr inbounds i8, ptr %1, i64 16 %71 = load i32, ptr %70, align 8, !tbaa !17 %72 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %71) #4 store ptr %72, ptr %20, align 8, !tbaa !15 br label %83 73: ; preds = %40 %74 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.8, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %75 = getelementptr inbounds i8, ptr %1, i64 16 %76 = load i32, ptr %75, align 8, !tbaa !17 %77 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %76) #4 store ptr %77, ptr %20, align 8, !tbaa !15 br label %83 78: ; preds = %40 %79 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @slprintf(ptr noundef nonnull %10, i32 noundef 2048, ptr noundef nonnull @.str.9, ptr noundef %3, ptr noundef %6, i32 noundef %7) #4 %80 = getelementptr inbounds i8, ptr %1, i64 16 %81 = load i32, ptr %80, align 8, !tbaa !17 %82 = call ptr @pestrdup(ptr noundef nonnull %10, i32 noundef %81) #4 store ptr %82, ptr %20, align 8, !tbaa !15 br label %83 83: ; preds = %40, %78, %73, %68, %63, %58, %51, %44, %41 %84 = load i32, ptr %29, align 8, !tbaa !18 switch i32 %84, label %95 [ i32 0, label %98 i32 1013, label %85 i32 12154, label %87 i32 22, label %90 i32 378, label %90 i32 602, label %90 i32 603, label %90 i32 604, label %90 i32 609, label %90 i32 1012, label %90 i32 1033, label %90 i32 1041, label %90 i32 1043, label %90 i32 1089, label %90 i32 1090, label %90 i32 1092, label %90 i32 3113, label %90 i32 3114, label %90 i32 3122, label %90 i32 3135, label %90 i32 12153, label %90 i32 27146, label %90 i32 28511, label %90 ] 85: ; preds = %83 %86 = call i32 @zend_bailout() #4 br label %98 87: ; preds = %83 %88 = load ptr, ptr %21, align 8, !tbaa !21 %89 = call i32 @strcpy(ptr noundef %88, ptr noundef nonnull @.str.10) #4 br label %98 90: ; preds = %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83, %83 %91 = getelementptr inbounds i8, ptr %1, i64 8 store i32 1, ptr %91, align 8, !tbaa !23 %92 = getelementptr inbounds i8, ptr %13, i64 32 store i32 0, ptr %92, align 8, !tbaa !24 %93 = load ptr, ptr %21, align 8, !tbaa !21 %94 = call i32 @strcpy(ptr noundef %93, ptr noundef nonnull @.str.11) #4 br label %98 95: ; preds = %83 %96 = load ptr, ptr %21, align 8, !tbaa !21 %97 = call i32 @strcpy(ptr noundef %96, ptr noundef nonnull @.str) #4 br label %98 98: ; preds = %83, %85, %87, %90, %95 br i1 %14, label %118, label %99 99: ; preds = %98 %100 = load ptr, ptr %13, align 8, !tbaa !26 %101 = icmp eq ptr %100, null br i1 %101, label %106, label %102 102: ; preds = %99 %103 = getelementptr inbounds i8, ptr %1, i64 16 %104 = load i32, ptr %103, align 8, !tbaa !17 %105 = call i32 @pefree(ptr noundef nonnull %100, i32 noundef %104) #4 br label %106 106: ; preds = %102, %99 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %20, i64 32, i1 false), !tbaa.struct !27 %107 = load ptr, ptr %20, align 8, !tbaa !15 %108 = icmp eq ptr %107, null br i1 %108, label %113, label %109 109: ; preds = %106 %110 = getelementptr inbounds i8, ptr %1, i64 16 %111 = load i32, ptr %110, align 8, !tbaa !17 %112 = call ptr @pestrdup(ptr noundef nonnull %107, i32 noundef %111) #4 br label %113 113: ; preds = %106, %109 %114 = phi ptr [ %112, %109 ], [ null, %106 ] store ptr %114, ptr %13, align 8, !tbaa !26 %115 = load ptr, ptr %1, align 8, !tbaa !28 %116 = load ptr, ptr %2, align 8, !tbaa !29 %117 = call i32 @strcpy(ptr noundef %115, ptr noundef %116) #4 br label %118 118: ; preds = %98, %113, %33 %119 = getelementptr inbounds i8, ptr %1, i64 12 %120 = load i32, ptr %119, align 4, !tbaa !30 %121 = icmp eq i32 %120, 0 br i1 %121, label %122, label %128 122: ; preds = %118 %123 = call i32 @php_pdo_get_exception() #4 %124 = load i32, ptr %29, align 8, !tbaa !18 %125 = load ptr, ptr %21, align 8, !tbaa !21 %126 = load ptr, ptr %20, align 8, !tbaa !15 %127 = call i32 @zend_throw_exception_ex(i32 noundef %123, i32 noundef %124, ptr noundef nonnull @.str.12, ptr noundef %125, ptr noundef %126) #4 br label %128 128: ; preds = %122, %118 %129 = load i32, ptr %29, align 8, !tbaa !18 call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %9) #4 ret i32 %129 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @pefree(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @slprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #3 declare ptr @pestrdup(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @OCIErrorGet(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @zend_bailout(...) local_unnamed_addr #3 declare i32 @zend_throw_exception_ex(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @php_pdo_get_exception(...) 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, !12, i64 24} !7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"TYPE_8__", !8, i64 0, !12, i64 8} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_10__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24} !17 = !{!7, !11, i64 16} !18 = !{!16, !11, i64 8} !19 = !{!16, !8, i64 16} !20 = !{!16, !11, i64 24} !21 = !{!8, !8, i64 0} !22 = !{!11, !11, i64 0} !23 = !{!7, !11, i64 8} !24 = !{!25, !11, i64 32} !25 = !{!"TYPE_11__", !16, i64 0, !11, i64 32} !26 = !{!25, !8, i64 0} !27 = !{i64 0, i64 8, !21, i64 8, i64 4, !22, i64 16, i64 8, !21, i64 24, i64 4, !22} !28 = !{!7, !8, i64 0} !29 = !{!14, !8, i64 0} !30 = !{!7, !11, i64 12}
php-src_ext_pdo_oci_extr_oci_driver.c__oci_error
; ModuleID = 'AnghaBench/openssl/crypto/dsa/extr_dsa_ameth.c_dsa_param_decode.c' source_filename = "AnghaBench/openssl/crypto/dsa/extr_dsa_ameth.c_dsa_param_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" @DSA_F_DSA_PARAM_DECODE = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_DSA_LIB = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dsa_param_decode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dsa_param_decode(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @d2i_DSAparams(ptr noundef null, ptr noundef %1, i32 noundef %2) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %3 %7 = load i32, ptr @DSA_F_DSA_PARAM_DECODE, align 4, !tbaa !5 %8 = load i32, ptr @ERR_R_DSA_LIB, align 4, !tbaa !5 %9 = tail call i32 @DSAerr(i32 noundef %7, i32 noundef %8) #2 br label %14 10: ; preds = %3 %11 = load i32, ptr %4, align 4, !tbaa !9 %12 = add nsw i32 %11, 1 store i32 %12, ptr %4, align 4, !tbaa !9 %13 = tail call i32 @EVP_PKEY_assign_DSA(ptr noundef %0, ptr noundef nonnull %4) #2 br label %14 14: ; preds = %10, %6 %15 = phi i32 [ 0, %6 ], [ 1, %10 ] ret i32 %15 } declare ptr @d2i_DSAparams(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DSAerr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EVP_PKEY_assign_DSA(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/dsa/extr_dsa_ameth.c_dsa_param_decode.c' source_filename = "AnghaBench/openssl/crypto/dsa/extr_dsa_ameth.c_dsa_param_decode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DSA_F_DSA_PARAM_DECODE = common local_unnamed_addr global i32 0, align 4 @ERR_R_DSA_LIB = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dsa_param_decode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @dsa_param_decode(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @d2i_DSAparams(ptr noundef null, ptr noundef %1, i32 noundef %2) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %3 %7 = load i32, ptr @DSA_F_DSA_PARAM_DECODE, align 4, !tbaa !6 %8 = load i32, ptr @ERR_R_DSA_LIB, align 4, !tbaa !6 %9 = tail call i32 @DSAerr(i32 noundef %7, i32 noundef %8) #2 br label %14 10: ; preds = %3 %11 = load i32, ptr %4, align 4, !tbaa !10 %12 = add nsw i32 %11, 1 store i32 %12, ptr %4, align 4, !tbaa !10 %13 = tail call i32 @EVP_PKEY_assign_DSA(ptr noundef %0, ptr noundef nonnull %4) #2 br label %14 14: ; preds = %10, %6 %15 = phi i32 [ 0, %6 ], [ 1, %10 ] ret i32 %15 } declare ptr @d2i_DSAparams(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DSAerr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EVP_PKEY_assign_DSA(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0}
openssl_crypto_dsa_extr_dsa_ameth.c_dsa_param_decode
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_0_XY_MIN.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_0_XY_MIN.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A5XX_TEX_SAMP_0_XY_MIN__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A5XX_TEX_SAMP_0_XY_MIN__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A5XX_TEX_SAMP_0_XY_MIN], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A5XX_TEX_SAMP_0_XY_MIN(i32 noundef %0) #0 { %2 = load i32, ptr @A5XX_TEX_SAMP_0_XY_MIN__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A5XX_TEX_SAMP_0_XY_MIN__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_a5xx.xml.h_A5XX_TEX_SAMP_0_XY_MIN.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_TEX_SAMP_0_XY_MIN.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A5XX_TEX_SAMP_0_XY_MIN__SHIFT = common local_unnamed_addr global i32 0, align 4 @A5XX_TEX_SAMP_0_XY_MIN__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A5XX_TEX_SAMP_0_XY_MIN], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A5XX_TEX_SAMP_0_XY_MIN(i32 noundef %0) #0 { %2 = load i32, ptr @A5XX_TEX_SAMP_0_XY_MIN__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A5XX_TEX_SAMP_0_XY_MIN__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_a5xx.xml.h_A5XX_TEX_SAMP_0_XY_MIN
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_power.c_iwl_mvm_power_uapsd_misbehav_ap_iterator.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_power.c_iwl_mvm_power_uapsd_misbehav_ap_iterator.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.iwl_mvm_vif = type { i64, i32 } @ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @iwl_mvm_power_uapsd_misbehav_ap_iterator], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @iwl_mvm_power_uapsd_misbehav_ap_iterator(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @iwl_mvm_vif_from_mac80211(ptr noundef %2) #2 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = load i64, ptr %0, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %14 8: ; preds = %3 %9 = getelementptr inbounds %struct.iwl_mvm_vif, ptr %4, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = load i32, ptr %2, align 4, !tbaa !13 %12 = load i32, ptr @ETH_ALEN, align 4, !tbaa !16 %13 = tail call i32 @memcpy(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 br label %14 14: ; preds = %8, %3 ret void } declare ptr @iwl_mvm_vif_from_mac80211(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"iwl_mvm_vif", !7, i64 0, !10, i64 8} !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, !10, i64 8} !13 = !{!14, !10, i64 0} !14 = !{!"ieee80211_vif", !15, i64 0} !15 = !{!"TYPE_2__", !10, i64 0} !16 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_power.c_iwl_mvm_power_uapsd_misbehav_ap_iterator.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_power.c_iwl_mvm_power_uapsd_misbehav_ap_iterator.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETH_ALEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @iwl_mvm_power_uapsd_misbehav_ap_iterator], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @iwl_mvm_power_uapsd_misbehav_ap_iterator(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @iwl_mvm_vif_from_mac80211(ptr noundef %2) #2 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = load i64, ptr %0, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %14 8: ; preds = %3 %9 = getelementptr inbounds i8, ptr %4, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = load i32, ptr %2, align 4, !tbaa !14 %12 = load i32, ptr @ETH_ALEN, align 4, !tbaa !17 %13 = tail call i32 @memcpy(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 br label %14 14: ; preds = %8, %3 ret void } declare ptr @iwl_mvm_vif_from_mac80211(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"iwl_mvm_vif", !8, i64 0, !11, i64 8} !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, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"ieee80211_vif", !16, i64 0} !16 = !{!"TYPE_2__", !11, i64 0} !17 = !{!11, !11, i64 0}
linux_drivers_net_wireless_intel_iwlwifi_mvm_extr_power.c_iwl_mvm_power_uapsd_misbehav_ap_iterator
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_phy_common.c__rtl92c_phy_txpwr_idx_to_dbm.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_phy_common.c__rtl92c_phy_txpwr_idx_to_dbm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @switch.table._rtl92c_phy_txpwr_idx_to_dbm = private unnamed_addr constant [3 x i64] [i64 -8, i64 -8, i64 -7], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local i64 @_rtl92c_phy_txpwr_idx_to_dbm(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = add i32 %1, -128 %5 = icmp ult i32 %4, 3 br i1 %5, label %6, label %10 6: ; preds = %3 %7 = zext nneg i32 %4 to i64 %8 = getelementptr inbounds [3 x i64], ptr @switch.table._rtl92c_phy_txpwr_idx_to_dbm, i64 0, i64 %7 %9 = load i64, ptr %8, align 8 br label %10 10: ; preds = %3, %6 %11 = phi i64 [ %9, %6 ], [ -8, %3 ] %12 = sdiv i32 %2, 2 %13 = sext i32 %12 to i64 %14 = add nsw i64 %11, %13 ret i64 %14 } 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/realtek/rtlwifi/rtl8192c/extr_phy_common.c__rtl92c_phy_txpwr_idx_to_dbm.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/extr_phy_common.c__rtl92c_phy_txpwr_idx_to_dbm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @switch.table._rtl92c_phy_txpwr_idx_to_dbm = private unnamed_addr constant [3 x i64] [i64 -8, i64 -8, i64 -7], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define range(i64 -1073741832, 1073741817) i64 @_rtl92c_phy_txpwr_idx_to_dbm(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = add i32 %1, -128 %5 = icmp ult i32 %4, 3 br i1 %5, label %6, label %10 6: ; preds = %3 %7 = zext nneg i32 %4 to i64 %8 = getelementptr inbounds [3 x i64], ptr @switch.table._rtl92c_phy_txpwr_idx_to_dbm, i64 0, i64 %7 %9 = load i64, ptr %8, align 8 br label %10 10: ; preds = %3, %6 %11 = phi i64 [ %9, %6 ], [ -8, %3 ] %12 = sdiv i32 %2, 2 %13 = sext i32 %12 to i64 %14 = add nsw i64 %11, %13 ret i64 %14 } 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_realtek_rtlwifi_rtl8192c_extr_phy_common.c__rtl92c_phy_txpwr_idx_to_dbm
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_phy_calibration.c_hal_get_dxx_reg.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_phy_calibration.c_hal_get_dxx_reg.c" target datalayout = "e-m:e-p270:32:32-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 @hal_get_dxx_reg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal zeroext i8 @hal_get_dxx_reg(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp slt i32 %1, 4096 %5 = add nsw i32 %1, 4096 %6 = select i1 %4, i32 %5, i32 %1 %7 = tail call zeroext i8 @Wb35Reg_ReadSync(ptr noundef %0, i32 noundef %6, ptr noundef %2) #2 ret i8 %7 } declare zeroext i8 @Wb35Reg_ReadSync(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_phy_calibration.c_hal_get_dxx_reg.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/winbond/extr_phy_calibration.c_hal_get_dxx_reg.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 @hal_get_dxx_reg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal zeroext i8 @hal_get_dxx_reg(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp slt i32 %1, 4096 %5 = add nsw i32 %1, 4096 %6 = select i1 %4, i32 %5, i32 %1 %7 = tail call zeroext i8 @Wb35Reg_ReadSync(ptr noundef %0, i32 noundef %6, ptr noundef %2) #2 ret i8 %7 } declare zeroext i8 @Wb35Reg_ReadSync(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_staging_winbond_extr_phy_calibration.c_hal_get_dxx_reg
; ModuleID = 'AnghaBench/linux/arch/powerpc/boot/extr_4xx.c_ibm440spe_fixup_memsize.c' source_filename = "AnghaBench/linux/arch/powerpc/boot/extr_4xx.c_ibm440spe_fixup_memsize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DCRN_MQ0_B0BAS = dso_local local_unnamed_addr global i32 0, align 4 @DCRN_MQ0_B1BAS = dso_local local_unnamed_addr global i32 0, align 4 @DCRN_MQ0_B2BAS = dso_local local_unnamed_addr global i32 0, align 4 @DCRN_MQ0_B3BAS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ibm440spe_fixup_memsize() local_unnamed_addr #0 { %1 = load i32, ptr @DCRN_MQ0_B0BAS, align 4, !tbaa !5 %2 = tail call i32 @mfdcr(i32 noundef %1) #3 %3 = tail call i64 @ibm440spe_decode_bas(i32 noundef %2) #3 %4 = load i32, ptr @DCRN_MQ0_B1BAS, align 4, !tbaa !5 %5 = tail call i32 @mfdcr(i32 noundef %4) #3 %6 = tail call i64 @ibm440spe_decode_bas(i32 noundef %5) #3 %7 = tail call i64 @llvm.smax.i64(i64 %3, i64 %6) %8 = load i32, ptr @DCRN_MQ0_B2BAS, align 4, !tbaa !5 %9 = tail call i32 @mfdcr(i32 noundef %8) #3 %10 = tail call i64 @ibm440spe_decode_bas(i32 noundef %9) #3 %11 = tail call i64 @llvm.smax.i64(i64 %7, i64 %10) %12 = load i32, ptr @DCRN_MQ0_B3BAS, align 4, !tbaa !5 %13 = tail call i32 @mfdcr(i32 noundef %12) #3 %14 = tail call i64 @ibm440spe_decode_bas(i32 noundef %13) #3 %15 = tail call i64 @llvm.smax.i64(i64 %11, i64 %14) %16 = tail call i64 @llvm.smax.i64(i64 %15, i64 0) %17 = tail call i32 @dt_fixup_memory(i32 noundef 0, i64 noundef %16) #3 ret void } declare i64 @ibm440spe_decode_bas(i32 noundef) local_unnamed_addr #1 declare i32 @mfdcr(i32 noundef) local_unnamed_addr #1 declare i32 @dt_fixup_memory(i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/boot/extr_4xx.c_ibm440spe_fixup_memsize.c' source_filename = "AnghaBench/linux/arch/powerpc/boot/extr_4xx.c_ibm440spe_fixup_memsize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DCRN_MQ0_B0BAS = common local_unnamed_addr global i32 0, align 4 @DCRN_MQ0_B1BAS = common local_unnamed_addr global i32 0, align 4 @DCRN_MQ0_B2BAS = common local_unnamed_addr global i32 0, align 4 @DCRN_MQ0_B3BAS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ibm440spe_fixup_memsize() local_unnamed_addr #0 { %1 = load i32, ptr @DCRN_MQ0_B0BAS, align 4, !tbaa !6 %2 = tail call i32 @mfdcr(i32 noundef %1) #3 %3 = tail call i64 @ibm440spe_decode_bas(i32 noundef %2) #3 %4 = load i32, ptr @DCRN_MQ0_B1BAS, align 4, !tbaa !6 %5 = tail call i32 @mfdcr(i32 noundef %4) #3 %6 = tail call i64 @ibm440spe_decode_bas(i32 noundef %5) #3 %7 = tail call i64 @llvm.smax.i64(i64 %3, i64 %6) %8 = load i32, ptr @DCRN_MQ0_B2BAS, align 4, !tbaa !6 %9 = tail call i32 @mfdcr(i32 noundef %8) #3 %10 = tail call i64 @ibm440spe_decode_bas(i32 noundef %9) #3 %11 = tail call i64 @llvm.smax.i64(i64 %7, i64 %10) %12 = load i32, ptr @DCRN_MQ0_B3BAS, align 4, !tbaa !6 %13 = tail call i32 @mfdcr(i32 noundef %12) #3 %14 = tail call i64 @ibm440spe_decode_bas(i32 noundef %13) #3 %15 = tail call i64 @llvm.smax.i64(i64 %11, i64 %14) %16 = tail call i64 @llvm.smax.i64(i64 %15, i64 0) %17 = tail call i32 @dt_fixup_memory(i32 noundef 0, i64 noundef %16) #3 ret void } declare i64 @ibm440spe_decode_bas(i32 noundef) local_unnamed_addr #1 declare i32 @mfdcr(i32 noundef) local_unnamed_addr #1 declare i32 @dt_fixup_memory(i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_powerpc_boot_extr_4xx.c_ibm440spe_fixup_memsize
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_free-space-cache.c_io_ctl_set_generation.c' source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_free-space-cache.c_io_ctl_set_generation.c" target datalayout = "e-m:e-p270:32:32-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.io_ctl = type { i32, i32, ptr, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @io_ctl_set_generation], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @io_ctl_set_generation(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @io_ctl_map_page(ptr noundef %0, i32 noundef 1) #2 %4 = getelementptr inbounds %struct.io_ctl, ptr %0, i64 0, i32 3 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %2 %8 = load i32, ptr %0, align 8, !tbaa !12 %9 = sext i32 %8 to i64 %10 = shl nsw i64 %9, 2 %11 = getelementptr inbounds %struct.io_ctl, ptr %0, i64 0, i32 2 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = getelementptr inbounds i32, ptr %12, i64 %10 store ptr %13, ptr %11, align 8, !tbaa !13 %14 = getelementptr inbounds %struct.io_ctl, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = shl i32 %8, 2 %17 = sub i32 %15, %16 %18 = add i32 %17, -4 store i32 %18, ptr %14, align 4, !tbaa !14 br label %26 19: ; preds = %2 %20 = getelementptr inbounds %struct.io_ctl, ptr %0, i64 0, i32 2 %21 = load ptr, ptr %20, align 8, !tbaa !13 %22 = getelementptr inbounds i32, ptr %21, i64 4 store ptr %22, ptr %20, align 8, !tbaa !13 %23 = getelementptr inbounds %struct.io_ctl, ptr %0, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !14 %25 = add i32 %24, -8 store i32 %25, ptr %23, align 4, !tbaa !14 br label %26 26: ; preds = %19, %7 %27 = phi ptr [ %22, %19 ], [ %13, %7 ] %28 = getelementptr inbounds %struct.io_ctl, ptr %0, i64 0, i32 2 %29 = tail call i32 @cpu_to_le64(i32 noundef %1) #2 store i32 %29, ptr %27, align 4, !tbaa !15 %30 = load ptr, ptr %28, align 8, !tbaa !13 %31 = getelementptr inbounds i32, ptr %30, i64 4 store ptr %31, ptr %28, align 8, !tbaa !13 ret void } declare i32 @io_ctl_map_page(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le64(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"io_ctl", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !7, i64 4} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_free-space-cache.c_io_ctl_set_generation.c' source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_free-space-cache.c_io_ctl_set_generation.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 @io_ctl_set_generation], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @io_ctl_set_generation(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @io_ctl_map_page(ptr noundef %0, i32 noundef 1) #2 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %2 %8 = load i32, ptr %0, align 8, !tbaa !13 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = shl nsw i64 %9, 4 %13 = getelementptr inbounds i8, ptr %11, i64 %12 store ptr %13, ptr %10, align 8, !tbaa !14 %14 = getelementptr inbounds i8, ptr %0, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = shl i32 %8, 2 %17 = sub i32 %15, %16 %18 = add i32 %17, -4 store i32 %18, ptr %14, align 4, !tbaa !15 br label %26 19: ; preds = %2 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !14 %22 = getelementptr inbounds i8, ptr %21, i64 16 store ptr %22, ptr %20, align 8, !tbaa !14 %23 = getelementptr inbounds i8, ptr %0, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !15 %25 = add i32 %24, -8 store i32 %25, ptr %23, align 4, !tbaa !15 br label %26 26: ; preds = %19, %7 %27 = phi ptr [ %22, %19 ], [ %13, %7 ] %28 = getelementptr inbounds i8, ptr %0, i64 8 %29 = tail call i32 @cpu_to_le64(i32 noundef %1) #2 store i32 %29, ptr %27, align 4, !tbaa !16 %30 = load ptr, ptr %28, align 8, !tbaa !14 %31 = getelementptr inbounds i8, ptr %30, i64 16 store ptr %31, ptr %28, align 8, !tbaa !14 ret void } declare i32 @io_ctl_map_page(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le64(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"io_ctl", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !8, i64 4} !16 = !{!8, !8, i64 0}
fastsocket_kernel_fs_btrfs_extr_free-space-cache.c_io_ctl_set_generation
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_timerdev.c_mISDN_timer_cleanup.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_timerdev.c_mISDN_timer_cleanup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mISDNtimer = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @mISDN_timer_cleanup() local_unnamed_addr #0 { %1 = tail call i32 @misc_deregister(ptr noundef nonnull @mISDNtimer) #2 ret void } declare i32 @misc_deregister(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/drivers/isdn/mISDN/extr_timerdev.c_mISDN_timer_cleanup.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_timerdev.c_mISDN_timer_cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mISDNtimer = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @mISDN_timer_cleanup() local_unnamed_addr #0 { %1 = tail call i32 @misc_deregister(ptr noundef nonnull @mISDNtimer) #2 ret void } declare i32 @misc_deregister(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_drivers_isdn_mISDN_extr_timerdev.c_mISDN_timer_cleanup
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress_ssl.c_bio_rwcount_new.c' source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress_ssl.c_bio_rwcount_new.c" target datalayout = "e-m:e-p270:32:32-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 @bio_rwcount_new], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bio_rwcount_new(ptr noundef %0) #0 { %2 = tail call i32 @BIO_set_init(ptr noundef %0, i32 noundef 0) #2 %3 = tail call i32 @BIO_set_data(ptr noundef %0, ptr noundef null) #2 ret i32 1 } declare i32 @BIO_set_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIO_set_data(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress_ssl.c_bio_rwcount_new.c' source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress_ssl.c_bio_rwcount_new.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 @bio_rwcount_new], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @bio_rwcount_new(ptr noundef %0) #0 { %2 = tail call i32 @BIO_set_init(ptr noundef %0, i32 noundef 0) #2 %3 = tail call i32 @BIO_set_data(ptr noundef %0, ptr noundef null) #2 ret i32 1 } declare i32 @BIO_set_init(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIO_set_data(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_libevent_test_extr_regress_ssl.c_bio_rwcount_new
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba6120.c_read_6120_creg.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba6120.c_read_6120_creg.c" target datalayout = "e-m:e-p270:32:32-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_devdata = type { i32, ptr } @QIB_PRESENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_6120_creg], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @read_6120_creg(ptr nocapture noundef readonly %0, i64 noundef %1) #0 { %3 = getelementptr inbounds %struct.qib_devdata, 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 = icmp eq ptr %5, null br i1 %6, label %15, label %7 7: ; preds = %2 %8 = load i32, ptr %0, align 8, !tbaa !13 %9 = load i32, ptr @QIB_PRESENT, align 4, !tbaa !14 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %7 %13 = getelementptr inbounds i32, ptr %5, i64 %1 %14 = tail call i32 @readq(ptr noundef nonnull %13) #2 br label %15 15: ; preds = %2, %7, %12 %16 = phi i32 [ %14, %12 ], [ 0, %7 ], [ 0, %2 ] ret i32 %16 } declare i32 @readq(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"qib_devdata", !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_2__", !10, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba6120.c_read_6120_creg.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_iba6120.c_read_6120_creg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @QIB_PRESENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_6120_creg], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @read_6120_creg(ptr nocapture noundef readonly %0, i64 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 = icmp eq ptr %5, null br i1 %6, label %15, label %7 7: ; preds = %2 %8 = load i32, ptr %0, align 8, !tbaa !14 %9 = load i32, ptr @QIB_PRESENT, align 4, !tbaa !15 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %7 %13 = getelementptr inbounds i32, ptr %5, i64 %1 %14 = tail call i32 @readq(ptr noundef nonnull %13) #2 br label %15 15: ; preds = %2, %7, %12 %16 = phi i32 [ %14, %12 ], [ 0, %7 ], [ 0, %2 ] ret i32 %16 } declare i32 @readq(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"qib_devdata", !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_2__", !11, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0}
linux_drivers_infiniband_hw_qib_extr_qib_iba6120.c_read_6120_creg
; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/opa_vnic/extr_opa_vnic_ethtool.c_vnic_get_sset_count.c' source_filename = "AnghaBench/linux/drivers/infiniband/ulp/opa_vnic/extr_opa_vnic_ethtool.c_vnic_get_sset_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" @ETH_SS_STATS = dso_local local_unnamed_addr global i32 0, align 4 @VNIC_STATS_LEN = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vnic_get_sset_count], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @vnic_get_sset_count(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = load i32, ptr @ETH_SS_STATS, align 4, !tbaa !5 %4 = icmp eq i32 %3, %1 %5 = load i32, ptr @VNIC_STATS_LEN, align 4 %6 = load i32, ptr @EOPNOTSUPP, align 4 %7 = sub nsw i32 0, %6 %8 = select i1 %4, i32 %5, i32 %7 ret i32 %8 } 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/infiniband/ulp/opa_vnic/extr_opa_vnic_ethtool.c_vnic_get_sset_count.c' source_filename = "AnghaBench/linux/drivers/infiniband/ulp/opa_vnic/extr_opa_vnic_ethtool.c_vnic_get_sset_count.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETH_SS_STATS = common local_unnamed_addr global i32 0, align 4 @VNIC_STATS_LEN = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vnic_get_sset_count], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @vnic_get_sset_count(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = load i32, ptr @ETH_SS_STATS, align 4, !tbaa !6 %4 = icmp eq i32 %3, %1 %5 = load i32, ptr @VNIC_STATS_LEN, align 4 %6 = load i32, ptr @EOPNOTSUPP, align 4 %7 = sub nsw i32 0, %6 %8 = select i1 %4, i32 %5, i32 %7 ret i32 %8 } 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_infiniband_ulp_opa_vnic_extr_opa_vnic_ethtool.c_vnic_get_sset_count
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tegra/extr_dpaux.c_tegra_dpaux_irq.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/tegra/extr_dpaux.c_tegra_dpaux_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tegra_dpaux = type { i32, i32 } @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_AUX = dso_local local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_PLUG_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_UNPLUG_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_IRQ_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_AUX_DONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tegra_dpaux_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tegra_dpaux_irq(i32 %0, ptr noundef %1) #0 { %3 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 %4 = load i32, ptr @DPAUX_INTR_AUX, align 4, !tbaa !5 %5 = tail call i32 @tegra_dpaux_readl(ptr noundef %1, i32 noundef %4) #2 %6 = load i32, ptr @DPAUX_INTR_AUX, align 4, !tbaa !5 %7 = tail call i32 @tegra_dpaux_writel(ptr noundef %1, i32 noundef %5, i32 noundef %6) #2 %8 = load i32, ptr @DPAUX_INTR_PLUG_EVENT, align 4, !tbaa !5 %9 = load i32, ptr @DPAUX_INTR_UNPLUG_EVENT, align 4, !tbaa !5 %10 = or i32 %9, %8 %11 = and i32 %10, %5 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = getelementptr inbounds %struct.tegra_dpaux, ptr %1, i64 0, i32 1 %15 = tail call i32 @schedule_work(ptr noundef nonnull %14) #2 br label %16 16: ; preds = %13, %2 %17 = load i32, ptr @DPAUX_INTR_AUX_DONE, align 4, !tbaa !5 %18 = and i32 %17, %5 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = tail call i32 @complete(ptr noundef %1) #2 br label %22 22: ; preds = %20, %16 ret i32 %3 } declare i32 @tegra_dpaux_readl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tegra_dpaux_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/tegra/extr_dpaux.c_tegra_dpaux_irq.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/tegra/extr_dpaux.c_tegra_dpaux_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_AUX = common local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_PLUG_EVENT = common local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_UNPLUG_EVENT = common local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_IRQ_EVENT = common local_unnamed_addr global i32 0, align 4 @DPAUX_INTR_AUX_DONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tegra_dpaux_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tegra_dpaux_irq(i32 %0, ptr noundef %1) #0 { %3 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 %4 = load i32, ptr @DPAUX_INTR_AUX, align 4, !tbaa !6 %5 = tail call i32 @tegra_dpaux_readl(ptr noundef %1, i32 noundef %4) #2 %6 = load i32, ptr @DPAUX_INTR_AUX, align 4, !tbaa !6 %7 = tail call i32 @tegra_dpaux_writel(ptr noundef %1, i32 noundef %5, i32 noundef %6) #2 %8 = load i32, ptr @DPAUX_INTR_PLUG_EVENT, align 4, !tbaa !6 %9 = load i32, ptr @DPAUX_INTR_UNPLUG_EVENT, align 4, !tbaa !6 %10 = or i32 %9, %8 %11 = and i32 %10, %5 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = getelementptr inbounds i8, ptr %1, i64 4 %15 = tail call i32 @schedule_work(ptr noundef nonnull %14) #2 br label %16 16: ; preds = %13, %2 %17 = load i32, ptr @DPAUX_INTR_AUX_DONE, align 4, !tbaa !6 %18 = and i32 %17, %5 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = tail call i32 @complete(ptr noundef %1) #2 br label %22 22: ; preds = %20, %16 ret i32 %3 } declare i32 @tegra_dpaux_readl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tegra_dpaux_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_tegra_extr_dpaux.c_tegra_dpaux_irq
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/extr_nmclan_cs.c_nmclan_probe.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/extr_nmclan_cs.c_nmclan_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.pcmcia_device = type { i32, i32, i32, ptr, ptr, i32 } %struct.TYPE_5__ = type { i32, i32, ptr } %struct.TYPE_4__ = type { i32, i32 } %struct.net_device = type { i32, ptr, ptr } @.str = private unnamed_addr constant [17 x i8] c"nmclan_attach()\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @IO_DATA_PATH_WIDTH_AUTO = dso_local local_unnamed_addr global i32 0, align 4 @CONF_ENABLE_IRQ = dso_local local_unnamed_addr global i32 0, align 4 @PRESENT_OPTION = dso_local local_unnamed_addr global i32 0, align 4 @AM2150_MAX_TX_FRAMES = dso_local local_unnamed_addr global i32 0, align 4 @mace_netdev_ops = dso_local global i32 0, align 4 @netdev_ethtool_ops = dso_local global i32 0, align 4 @TX_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nmclan_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nmclan_probe(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.pcmcia_device, ptr %0, i64 0, i32 5 %3 = tail call i32 @dev_dbg(ptr noundef nonnull %2, ptr noundef nonnull @.str) #2 %4 = tail call ptr @alloc_etherdev(i32 noundef 16) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %33 9: ; preds = %1 %10 = tail call ptr @netdev_priv(ptr noundef nonnull %4) #2 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i64 0, i32 2 store ptr %0, ptr %11, align 8, !tbaa !9 %12 = getelementptr inbounds %struct.pcmcia_device, ptr %0, i64 0, i32 4 store ptr %4, ptr %12, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i64 0, i32 1 %14 = tail call i32 @spin_lock_init(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds %struct.pcmcia_device, ptr %0, i64 0, i32 3 %16 = load ptr, ptr %15, align 8, !tbaa !14 %17 = load ptr, ptr %16, align 8, !tbaa !15 store i32 32, ptr %17, align 4, !tbaa !16 %18 = load i32, ptr @IO_DATA_PATH_WIDTH_AUTO, align 4, !tbaa !5 %19 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = or i32 %20, %18 store i32 %21, ptr %19, align 4, !tbaa !18 %22 = load i32, ptr @CONF_ENABLE_IRQ, align 4, !tbaa !5 %23 = getelementptr inbounds %struct.pcmcia_device, ptr %0, i64 0, i32 2 %24 = load i32, ptr %23, align 8, !tbaa !19 %25 = or i32 %24, %22 store i32 %25, ptr %23, align 8, !tbaa !19 store i32 1, ptr %0, align 8, !tbaa !20 %26 = load i32, ptr @PRESENT_OPTION, align 4, !tbaa !5 %27 = getelementptr inbounds %struct.pcmcia_device, ptr %0, i64 0, i32 1 store i32 %26, ptr %27, align 4, !tbaa !21 %28 = load i32, ptr @AM2150_MAX_TX_FRAMES, align 4, !tbaa !5 store i32 %28, ptr %10, align 8, !tbaa !22 %29 = getelementptr inbounds %struct.net_device, ptr %4, i64 0, i32 2 store ptr @mace_netdev_ops, ptr %29, align 8, !tbaa !23 %30 = getelementptr inbounds %struct.net_device, ptr %4, i64 0, i32 1 store ptr @netdev_ethtool_ops, ptr %30, align 8, !tbaa !25 %31 = load i32, ptr @TX_TIMEOUT, align 4, !tbaa !5 store i32 %31, ptr %4, align 8, !tbaa !26 %32 = tail call i32 @nmclan_config(ptr noundef nonnull %0) #2 br label %33 33: ; preds = %9, %6 %34 = phi i32 [ %32, %9 ], [ %8, %6 ] ret i32 %34 } declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @alloc_etherdev(i32 noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @nmclan_config(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_5__", !6, i64 0, !6, i64 4, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 24} !13 = !{!"pcmcia_device", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !11, i64 24, !6, i64 32} !14 = !{!13, !11, i64 16} !15 = !{!11, !11, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"TYPE_4__", !6, i64 0, !6, i64 4} !18 = !{!17, !6, i64 4} !19 = !{!13, !6, i64 8} !20 = !{!13, !6, i64 0} !21 = !{!13, !6, i64 4} !22 = !{!10, !6, i64 0} !23 = !{!24, !11, i64 16} !24 = !{!"net_device", !6, i64 0, !11, i64 8, !11, i64 16} !25 = !{!24, !11, i64 8} !26 = !{!24, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/extr_nmclan_cs.c_nmclan_probe.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/extr_nmclan_cs.c_nmclan_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [17 x i8] c"nmclan_attach()\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @IO_DATA_PATH_WIDTH_AUTO = common local_unnamed_addr global i32 0, align 4 @CONF_ENABLE_IRQ = common local_unnamed_addr global i32 0, align 4 @PRESENT_OPTION = common local_unnamed_addr global i32 0, align 4 @AM2150_MAX_TX_FRAMES = common local_unnamed_addr global i32 0, align 4 @mace_netdev_ops = common global i32 0, align 4 @netdev_ethtool_ops = common global i32 0, align 4 @TX_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nmclan_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nmclan_probe(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = tail call i32 @dev_dbg(ptr noundef nonnull %2, ptr noundef nonnull @.str) #2 %4 = tail call ptr @alloc_etherdev(i32 noundef 16) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %33 9: ; preds = %1 %10 = tail call ptr @netdev_priv(ptr noundef nonnull %4) #2 %11 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %0, ptr %11, align 8, !tbaa !10 %12 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %4, ptr %12, align 8, !tbaa !13 %13 = getelementptr inbounds i8, ptr %10, i64 4 %14 = tail call i32 @spin_lock_init(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = load ptr, ptr %16, align 8, !tbaa !16 store i32 32, ptr %17, align 4, !tbaa !17 %18 = load i32, ptr @IO_DATA_PATH_WIDTH_AUTO, align 4, !tbaa !6 %19 = getelementptr inbounds i8, ptr %17, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = or i32 %20, %18 store i32 %21, ptr %19, align 4, !tbaa !19 %22 = load i32, ptr @CONF_ENABLE_IRQ, align 4, !tbaa !6 %23 = getelementptr inbounds i8, ptr %0, i64 8 %24 = load i32, ptr %23, align 8, !tbaa !20 %25 = or i32 %24, %22 store i32 %25, ptr %23, align 8, !tbaa !20 store i32 1, ptr %0, align 8, !tbaa !21 %26 = load i32, ptr @PRESENT_OPTION, align 4, !tbaa !6 %27 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %26, ptr %27, align 4, !tbaa !22 %28 = load i32, ptr @AM2150_MAX_TX_FRAMES, align 4, !tbaa !6 store i32 %28, ptr %10, align 8, !tbaa !23 %29 = getelementptr inbounds i8, ptr %4, i64 16 store ptr @mace_netdev_ops, ptr %29, align 8, !tbaa !24 %30 = getelementptr inbounds i8, ptr %4, i64 8 store ptr @netdev_ethtool_ops, ptr %30, align 8, !tbaa !26 %31 = load i32, ptr @TX_TIMEOUT, align 4, !tbaa !6 store i32 %31, ptr %4, align 8, !tbaa !27 %32 = tail call i32 @nmclan_config(ptr noundef nonnull %0) #2 br label %33 33: ; preds = %9, %6 %34 = phi i32 [ %32, %9 ], [ %8, %6 ] ret i32 %34 } declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @alloc_etherdev(i32 noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @nmclan_config(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 24} !14 = !{!"pcmcia_device", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !12, i64 24, !7, i64 32} !15 = !{!14, !12, i64 16} !16 = !{!12, !12, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !19 = !{!18, !7, i64 4} !20 = !{!14, !7, i64 8} !21 = !{!14, !7, i64 0} !22 = !{!14, !7, i64 4} !23 = !{!11, !7, i64 0} !24 = !{!25, !12, i64 16} !25 = !{!"net_device", !7, i64 0, !12, i64 8, !12, i64 16} !26 = !{!25, !12, i64 8} !27 = !{!25, !7, i64 0}
linux_drivers_net_ethernet_amd_extr_nmclan_cs.c_nmclan_probe
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_nw_ioc_smem_read.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_nw_ioc_smem_read.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_nw_ioc_smem_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bfa_nw_ioc_smem_read(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @PSS_SMEM_PGNUM(i32 noundef %6, i32 noundef %2) #2 %8 = tail call i32 @PSS_SMEM_PGOFF(i32 noundef %2) #2 %9 = load i32, ptr %0, align 4, !tbaa !11 %10 = tail call i32 @bfa_nw_ioc_sem_get(i32 noundef %9) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %51, label %12 12: ; preds = %4 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = tail call i32 @writel(i32 noundef %7, i32 noundef %14) #2 %16 = ashr i32 %3, 2 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %42 18: ; preds = %12 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %20 = zext nneg i32 %16 to i64 br label %21 21: ; preds = %18, %38 %22 = phi i64 [ 0, %18 ], [ %40, %38 ] %23 = phi i32 [ %7, %18 ], [ %39, %38 ] %24 = phi i32 [ %8, %18 ], [ %32, %38 ] %25 = load i32, ptr %19, align 4, !tbaa !13 %26 = add nsw i32 %25, %24 %27 = tail call i32 @readl(i32 noundef %26) #2 %28 = tail call i32 @swab32(i32 noundef %27) #2 %29 = tail call i32 @be32_to_cpu(i32 noundef %28) #2 %30 = getelementptr inbounds i32, ptr %1, i64 %22 store i32 %29, ptr %30, align 4, !tbaa !14 %31 = add i32 %24, 4 %32 = tail call i32 @PSS_SMEM_PGOFF(i32 noundef %31) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %21 %35 = add nsw i32 %23, 1 %36 = load i32, ptr %13, align 4, !tbaa !12 %37 = tail call i32 @writel(i32 noundef %35, i32 noundef %36) #2 br label %38 38: ; preds = %21, %34 %39 = phi i32 [ %35, %34 ], [ %23, %21 ] %40 = add nuw nsw i64 %22, 1 %41 = icmp eq i64 %40, %20 br i1 %41, label %42, label %21, !llvm.loop !15 42: ; preds = %38, %12 %43 = load i32, ptr %5, align 4, !tbaa !5 %44 = tail call i32 @PSS_SMEM_PGNUM(i32 noundef %43, i32 noundef 0) #2 %45 = load i32, ptr %13, align 4, !tbaa !12 %46 = tail call i32 @writel(i32 noundef %44, i32 noundef %45) #2 %47 = load i32, ptr %0, align 4, !tbaa !11 %48 = tail call i32 @readl(i32 noundef %47) #2 %49 = load i32, ptr %0, align 4, !tbaa !11 %50 = tail call i32 @writel(i32 noundef 1, i32 noundef %49) #2 br label %51 51: ; preds = %4, %42 %52 = phi i32 [ 0, %42 ], [ 1, %4 ] ret i32 %52 } declare i32 @PSS_SMEM_PGNUM(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PSS_SMEM_PGOFF(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_nw_ioc_sem_get(i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @swab32(i32 noundef) local_unnamed_addr #1 declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 12} !6 = !{!"bfa_ioc", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!6, !8, i64 0} !12 = !{!6, !8, i64 4} !13 = !{!6, !8, i64 8} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_nw_ioc_smem_read.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_nw_ioc_smem_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @bfa_nw_ioc_smem_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @bfa_nw_ioc_smem_read(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 12 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @PSS_SMEM_PGNUM(i32 noundef %6, i32 noundef %2) #2 %8 = tail call i32 @PSS_SMEM_PGOFF(i32 noundef %2) #2 %9 = load i32, ptr %0, align 4, !tbaa !12 %10 = tail call i32 @bfa_nw_ioc_sem_get(i32 noundef %9) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %51, label %12 12: ; preds = %4 %13 = getelementptr inbounds i8, ptr %0, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = tail call i32 @writel(i32 noundef %7, i32 noundef %14) #2 %16 = ashr i32 %3, 2 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %42 18: ; preds = %12 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = zext nneg i32 %16 to i64 br label %21 21: ; preds = %18, %38 %22 = phi i64 [ 0, %18 ], [ %40, %38 ] %23 = phi i32 [ %7, %18 ], [ %39, %38 ] %24 = phi i32 [ %8, %18 ], [ %32, %38 ] %25 = load i32, ptr %19, align 4, !tbaa !14 %26 = add nsw i32 %25, %24 %27 = tail call i32 @readl(i32 noundef %26) #2 %28 = tail call i32 @swab32(i32 noundef %27) #2 %29 = tail call i32 @be32_to_cpu(i32 noundef %28) #2 %30 = getelementptr inbounds i32, ptr %1, i64 %22 store i32 %29, ptr %30, align 4, !tbaa !15 %31 = add i32 %24, 4 %32 = tail call i32 @PSS_SMEM_PGOFF(i32 noundef %31) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %21 %35 = add nsw i32 %23, 1 %36 = load i32, ptr %13, align 4, !tbaa !13 %37 = tail call i32 @writel(i32 noundef %35, i32 noundef %36) #2 br label %38 38: ; preds = %21, %34 %39 = phi i32 [ %35, %34 ], [ %23, %21 ] %40 = add nuw nsw i64 %22, 1 %41 = icmp eq i64 %40, %20 br i1 %41, label %42, label %21, !llvm.loop !16 42: ; preds = %38, %12 %43 = load i32, ptr %5, align 4, !tbaa !6 %44 = tail call i32 @PSS_SMEM_PGNUM(i32 noundef %43, i32 noundef 0) #2 %45 = load i32, ptr %13, align 4, !tbaa !13 %46 = tail call i32 @writel(i32 noundef %44, i32 noundef %45) #2 %47 = load i32, ptr %0, align 4, !tbaa !12 %48 = tail call i32 @readl(i32 noundef %47) #2 %49 = load i32, ptr %0, align 4, !tbaa !12 %50 = tail call i32 @writel(i32 noundef 1, i32 noundef %49) #2 br label %51 51: ; preds = %4, %42 %52 = phi i32 [ 0, %42 ], [ 1, %4 ] ret i32 %52 } declare i32 @PSS_SMEM_PGNUM(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PSS_SMEM_PGOFF(i32 noundef) local_unnamed_addr #1 declare i32 @bfa_nw_ioc_sem_get(i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @swab32(i32 noundef) local_unnamed_addr #1 declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 12} !7 = !{!"bfa_ioc", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!7, !9, i64 0} !13 = !{!7, !9, i64 4} !14 = !{!7, !9, i64 8} !15 = !{!9, !9, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_brocade_bna_extr_bfa_ioc.c_bfa_nw_ioc_smem_read
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_posix_sem.c_mac_posixsem_check_open.c' source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_posix_sem.c_mac_posixsem_check_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @posixsem_check_open = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mac_posixsem_check_open(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @posixsem_check_open, align 4, !tbaa !5 %4 = load i32, ptr %1, align 4, !tbaa !9 %5 = tail call i32 @MAC_POLICY_CHECK_NOSLEEP(i32 noundef %3, ptr noundef %0, ptr noundef nonnull %1, i32 noundef %4) #2 %6 = load i32, ptr @posixsem_check_open, align 4, !tbaa !5 %7 = tail call i32 @MAC_CHECK_PROBE2(i32 noundef %6, i32 noundef undef, ptr noundef %0, ptr noundef nonnull %1) #2 ret i32 undef } declare i32 @MAC_POLICY_CHECK_NOSLEEP(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MAC_CHECK_PROBE2(i32 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"} !9 = !{!10, !6, i64 0} !10 = !{!"ksem", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_posix_sem.c_mac_posixsem_check_open.c' source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_posix_sem.c_mac_posixsem_check_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @posixsem_check_open = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mac_posixsem_check_open(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @posixsem_check_open, align 4, !tbaa !6 %4 = load i32, ptr %1, align 4, !tbaa !10 %5 = tail call i32 @MAC_POLICY_CHECK_NOSLEEP(i32 noundef %3, ptr noundef %0, ptr noundef nonnull %1, i32 noundef %4) #2 %6 = load i32, ptr @posixsem_check_open, align 4, !tbaa !6 %7 = tail call i32 @MAC_CHECK_PROBE2(i32 noundef %6, i32 noundef undef, ptr noundef %0, ptr noundef nonnull %1) #2 ret i32 undef } declare i32 @MAC_POLICY_CHECK_NOSLEEP(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MAC_CHECK_PROBE2(i32 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"} !10 = !{!11, !7, i64 0} !11 = !{!"ksem", !7, i64 0}
freebsd_sys_security_mac_extr_mac_posix_sem.c_mac_posixsem_check_open
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/via/extr_via_dma.c_via_cmdbuffer.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/via/extr_via_dma.c_via_cmdbuffer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [17 x i8] c"buf %p size %lu\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @via_cmdbuffer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @via_cmdbuffer(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @LOCK_TEST_WITH_RETURN(ptr noundef %0, ptr noundef %2) #2 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load i32, ptr %1, align 4, !tbaa !10 %8 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %7) #2 %9 = tail call i32 @via_dispatch_cmdbuffer(ptr noundef %0, ptr noundef nonnull %1) #2 ret i32 %9 } declare i32 @LOCK_TEST_WITH_RETURN(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @via_dispatch_cmdbuffer(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 4} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/via/extr_via_dma.c_via_cmdbuffer.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/via/extr_via_dma.c_via_cmdbuffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [17 x i8] c"buf %p size %lu\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @via_cmdbuffer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @via_cmdbuffer(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @LOCK_TEST_WITH_RETURN(ptr noundef %0, ptr noundef %2) #2 %5 = getelementptr inbounds i8, ptr %1, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load i32, ptr %1, align 4, !tbaa !11 %8 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %7) #2 %9 = tail call i32 @via_dispatch_cmdbuffer(ptr noundef %0, ptr noundef nonnull %1) #2 ret i32 %9 } declare i32 @LOCK_TEST_WITH_RETURN(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @via_dispatch_cmdbuffer(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 4} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_via_extr_via_dma.c_via_cmdbuffer
; ModuleID = 'AnghaBench/php-src/ext/fileinfo/libmagic/extr_cdf.c_cdf_swap_class.c' source_filename = "AnghaBench/php-src/ext/fileinfo/libmagic/extr_cdf.c_cdf_swap_class.c" target datalayout = "e-m:e-p270:32:32-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, i32 } ; Function Attrs: nounwind uwtable define dso_local void @cdf_swap_class(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @CDF_TOLE4(i32 noundef %3) #2 store i32 %4, ptr %2, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call ptr @CDF_TOLE2(ptr noundef %6) #2 %8 = load ptr, ptr %0, align 8, !tbaa !11 store ptr %7, ptr %8, align 8, !tbaa !12 %9 = load ptr, ptr %0, align 8, !tbaa !11 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = tail call ptr @CDF_TOLE2(ptr noundef %11) #2 %13 = load ptr, ptr %0, align 8, !tbaa !11 %14 = getelementptr inbounds ptr, ptr %13, i64 1 store ptr %12, ptr %14, align 8, !tbaa !12 ret void } declare i32 @CDF_TOLE4(i32 noundef) local_unnamed_addr #1 declare ptr @CDF_TOLE2(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8} !7 = !{!"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 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/fileinfo/libmagic/extr_cdf.c_cdf_swap_class.c' source_filename = "AnghaBench/php-src/ext/fileinfo/libmagic/extr_cdf.c_cdf_swap_class.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 @cdf_swap_class(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @CDF_TOLE4(i32 noundef %3) #2 store i32 %4, ptr %2, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !12 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = tail call ptr @CDF_TOLE2(ptr noundef %6) #2 %8 = load ptr, ptr %0, align 8, !tbaa !12 store ptr %7, ptr %8, align 8, !tbaa !13 %9 = load ptr, ptr %0, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = tail call ptr @CDF_TOLE2(ptr noundef %11) #2 %13 = load ptr, ptr %0, align 8, !tbaa !12 %14 = getelementptr inbounds i8, ptr %13, i64 8 store ptr %12, ptr %14, align 8, !tbaa !13 ret void } declare i32 @CDF_TOLE4(i32 noundef) local_unnamed_addr #1 declare ptr @CDF_TOLE2(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !8 = !{!"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 0} !13 = !{!8, !8, i64 0}
php-src_ext_fileinfo_libmagic_extr_cdf.c_cdf_swap_class
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-region-hash.c_dm_rh_recovery_in_flight.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-region-hash.c_dm_rh_recovery_in_flight.c" target datalayout = "e-m:e-p270:32:32-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 @dm_rh_recovery_in_flight(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @atomic_read(ptr noundef %0) #2 ret i32 %2 } declare i32 @atomic_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/drivers/md/extr_dm-region-hash.c_dm_rh_recovery_in_flight.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-region-hash.c_dm_rh_recovery_in_flight.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 @dm_rh_recovery_in_flight(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @atomic_read(ptr noundef %0) #2 ret i32 %2 } declare i32 @atomic_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_drivers_md_extr_dm-region-hash.c_dm_rh_recovery_in_flight