IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/sys/dev/bge/extr_if_bge.c_bge_dma_swap_options.c' source_filename = "AnghaBench/freebsd/sys/dev/bge/extr_if_bge.c_bge_dma_swap_options.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BGE_MODECTL_WORDSWAP_NONFRAME = dso_local local_unnamed_addr global i32 0, align 4 @BGE_MODECTL_BYTESWAP_DATA = dso_local local_unnamed_addr global i32 0, align 4 @BGE_MODECTL_WORDSWAP_DATA = dso_local local_unnamed_addr global i32 0, align 4 @BGE_MODECTL_BYTESWAP_NONFRAME = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bge_dma_swap_options], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @bge_dma_swap_options(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @BGE_MODECTL_WORDSWAP_NONFRAME, align 4, !tbaa !5 %3 = load i32, ptr @BGE_MODECTL_BYTESWAP_DATA, align 4, !tbaa !5 %4 = or i32 %3, %2 %5 = load i32, ptr @BGE_MODECTL_WORDSWAP_DATA, align 4, !tbaa !5 %6 = or i32 %4, %5 %7 = load i32, ptr @BGE_MODECTL_BYTESWAP_NONFRAME, align 4, !tbaa !5 %8 = or i32 %6, %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/freebsd/sys/dev/bge/extr_if_bge.c_bge_dma_swap_options.c' source_filename = "AnghaBench/freebsd/sys/dev/bge/extr_if_bge.c_bge_dma_swap_options.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BGE_MODECTL_WORDSWAP_NONFRAME = common local_unnamed_addr global i32 0, align 4 @BGE_MODECTL_BYTESWAP_DATA = common local_unnamed_addr global i32 0, align 4 @BGE_MODECTL_WORDSWAP_DATA = common local_unnamed_addr global i32 0, align 4 @BGE_MODECTL_BYTESWAP_NONFRAME = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bge_dma_swap_options], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @bge_dma_swap_options(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @BGE_MODECTL_WORDSWAP_NONFRAME, align 4, !tbaa !6 %3 = load i32, ptr @BGE_MODECTL_BYTESWAP_DATA, align 4, !tbaa !6 %4 = or i32 %3, %2 %5 = load i32, ptr @BGE_MODECTL_WORDSWAP_DATA, align 4, !tbaa !6 %6 = or i32 %4, %5 %7 = load i32, ptr @BGE_MODECTL_BYTESWAP_NONFRAME, align 4, !tbaa !6 %8 = or i32 %6, %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"}
freebsd_sys_dev_bge_extr_if_bge.c_bge_dma_swap_options
; ModuleID = 'AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_alloc_scp.c' source_filename = "AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_alloc_scp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4 @M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @SC_DFLT_TERM = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c"*\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @alloc_scp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @alloc_scp(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @M_DEVBUF, align 4, !tbaa !5 %4 = load i32, ptr @M_WAITOK, align 4, !tbaa !5 %5 = tail call i64 @malloc(i32 noundef 4, i32 noundef %3, i32 noundef %4) #2 %6 = inttoptr i64 %5 to ptr %7 = tail call i32 @init_scp(ptr noundef %0, i32 noundef %1, ptr noundef %6) #2 %8 = load i32, ptr @TRUE, align 4, !tbaa !5 %9 = tail call i32 @sc_alloc_scr_buffer(ptr noundef %6, i32 noundef %8, i32 noundef %8) #2 %10 = load ptr, ptr @SC_DFLT_TERM, align 8, !tbaa !9 %11 = tail call i32 @sc_init_emulator(ptr noundef %6, ptr noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %2 %14 = tail call i32 @sc_init_emulator(ptr noundef %6, ptr noundef nonnull @.str) #2 br label %15 15: ; preds = %13, %2 %16 = load i32, ptr @TRUE, align 4, !tbaa !5 %17 = tail call i32 @sc_alloc_cut_buffer(ptr noundef %6, i32 noundef %16) #2 %18 = load i32, ptr @TRUE, align 4, !tbaa !5 %19 = tail call i32 @sc_alloc_history_buffer(ptr noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef %18) #2 ret ptr %6 } declare i64 @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_scp(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sc_alloc_scr_buffer(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sc_init_emulator(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sc_alloc_cut_buffer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sc_alloc_history_buffer(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_alloc_scp.c' source_filename = "AnghaBench/freebsd/sys/dev/syscons/extr_syscons.c_alloc_scp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_DEVBUF = common local_unnamed_addr global i32 0, align 4 @M_WAITOK = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @SC_DFLT_TERM = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c"*\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @alloc_scp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @alloc_scp(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @M_DEVBUF, align 4, !tbaa !6 %4 = load i32, ptr @M_WAITOK, align 4, !tbaa !6 %5 = tail call i64 @malloc(i32 noundef 4, i32 noundef %3, i32 noundef %4) #2 %6 = inttoptr i64 %5 to ptr %7 = tail call i32 @init_scp(ptr noundef %0, i32 noundef %1, ptr noundef %6) #2 %8 = load i32, ptr @TRUE, align 4, !tbaa !6 %9 = tail call i32 @sc_alloc_scr_buffer(ptr noundef %6, i32 noundef %8, i32 noundef %8) #2 %10 = load ptr, ptr @SC_DFLT_TERM, align 8, !tbaa !10 %11 = tail call i32 @sc_init_emulator(ptr noundef %6, ptr noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %2 %14 = tail call i32 @sc_init_emulator(ptr noundef %6, ptr noundef nonnull @.str) #2 br label %15 15: ; preds = %13, %2 %16 = load i32, ptr @TRUE, align 4, !tbaa !6 %17 = tail call i32 @sc_alloc_cut_buffer(ptr noundef %6, i32 noundef %16) #2 %18 = load i32, ptr @TRUE, align 4, !tbaa !6 %19 = tail call i32 @sc_alloc_history_buffer(ptr noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef %18) #2 ret ptr %6 } declare i64 @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_scp(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sc_alloc_scr_buffer(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sc_init_emulator(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sc_alloc_cut_buffer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sc_alloc_history_buffer(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
freebsd_sys_dev_syscons_extr_syscons.c_alloc_scp
; ModuleID = 'AnghaBench/linux/drivers/media/pci/meye/extr_meye.c_meye_vm_close.c' source_filename = "AnghaBench/linux/drivers/media/pci/meye/extr_meye.c_meye_vm_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr } @meye = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @meye_vm_close], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal void @meye_vm_close(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr @meye, align 8, !tbaa !10 %4 = getelementptr inbounds i32, ptr %3, i64 %2 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = add nsw i32 %5, -1 store i32 %6, ptr %4, align 4, !tbaa !13 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, !7, i64 0} !6 = !{!"vm_area_struct", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/meye/extr_meye.c_meye_vm_close.c' source_filename = "AnghaBench/linux/drivers/media/pci/meye/extr_meye.c_meye_vm_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { ptr } @meye = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @meye_vm_close], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @meye_vm_close(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr @meye, align 8, !tbaa !11 %4 = getelementptr inbounds i32, ptr %3, i64 %2 %5 = load i32, ptr %4, align 4, !tbaa !14 %6 = add nsw i32 %5, -1 store i32 %6, ptr %4, align 4, !tbaa !14 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, !8, i64 0} !7 = !{!"vm_area_struct", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0}
linux_drivers_media_pci_meye_extr_meye.c_meye_vm_close
; ModuleID = 'AnghaBench/postgres/contrib/postgres_fdw/extr_connection.c_pgfdw_report_error.c' source_filename = "AnghaBench/postgres/contrib/postgres_fdw/extr_connection.c_pgfdw_report_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" @PG_DIAG_SQLSTATE = dso_local local_unnamed_addr global i32 0, align 4 @PG_DIAG_MESSAGE_PRIMARY = dso_local local_unnamed_addr global i32 0, align 4 @PG_DIAG_MESSAGE_DETAIL = dso_local local_unnamed_addr global i32 0, align 4 @PG_DIAG_MESSAGE_HINT = dso_local local_unnamed_addr global i32 0, align 4 @PG_DIAG_CONTEXT = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_CONNECTION_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"could not obtain message string for remote error\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"remote SQL command: %s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @pgfdw_report_error(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 (...) @PG_TRY() #2 %7 = load i32, ptr @PG_DIAG_SQLSTATE, align 4, !tbaa !5 %8 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %7) #2 %9 = load i32, ptr @PG_DIAG_MESSAGE_PRIMARY, align 4, !tbaa !5 %10 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %9) #2 %11 = load i32, ptr @PG_DIAG_MESSAGE_DETAIL, align 4, !tbaa !5 %12 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %11) #2 %13 = load i32, ptr @PG_DIAG_MESSAGE_HINT, align 4, !tbaa !5 %14 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %13) #2 %15 = load i32, ptr @PG_DIAG_CONTEXT, align 4, !tbaa !5 %16 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %15) #2 %17 = icmp eq ptr %8, null br i1 %17, label %29, label %18 18: ; preds = %5 %19 = load i8, ptr %8, align 1, !tbaa !9 %20 = getelementptr inbounds i8, ptr %8, i64 1 %21 = load i8, ptr %20, align 1, !tbaa !9 %22 = getelementptr inbounds i8, ptr %8, i64 2 %23 = load i8, ptr %22, align 1, !tbaa !9 %24 = getelementptr inbounds i8, ptr %8, i64 3 %25 = load i8, ptr %24, align 1, !tbaa !9 %26 = getelementptr inbounds i8, ptr %8, i64 4 %27 = load i8, ptr %26, align 1, !tbaa !9 %28 = tail call i32 @MAKE_SQLSTATE(i8 noundef signext %19, i8 noundef signext %21, i8 noundef signext %23, i8 noundef signext %25, i8 noundef signext %27) #2 br label %31 29: ; preds = %5 %30 = load i32, ptr @ERRCODE_CONNECTION_FAILURE, align 4, !tbaa !5 br label %31 31: ; preds = %29, %18 %32 = phi i32 [ %28, %18 ], [ %30, %29 ] %33 = icmp eq ptr %10, null br i1 %33, label %36, label %34 34: ; preds = %31 %35 = tail call i32 @errcode(i32 noundef %32) #2 br label %41 36: ; preds = %31 %37 = tail call i32 @PQerrorMessage(ptr noundef %2) #2 %38 = tail call ptr @pchomp(i32 noundef %37) #2 %39 = tail call i32 @errcode(i32 noundef %32) #2 %40 = icmp eq ptr %38, null br i1 %40, label %44, label %41 41: ; preds = %34, %36 %42 = phi ptr [ %10, %34 ], [ %38, %36 ] %43 = tail call i32 @errmsg_internal(ptr noundef nonnull @.str, ptr noundef nonnull %42) #2 br label %46 44: ; preds = %36 %45 = tail call i32 @errmsg(ptr noundef nonnull @.str.1) #2 br label %46 46: ; preds = %44, %41 %47 = icmp eq ptr %12, null br i1 %47, label %50, label %48 48: ; preds = %46 %49 = tail call i32 @errdetail_internal(ptr noundef nonnull @.str, ptr noundef nonnull %12) #2 br label %50 50: ; preds = %46, %48 %51 = icmp eq ptr %14, null br i1 %51, label %54, label %52 52: ; preds = %50 %53 = tail call i32 @errhint(ptr noundef nonnull @.str, ptr noundef nonnull %14) #2 br label %54 54: ; preds = %50, %52 %55 = icmp eq ptr %16, null br i1 %55, label %58, label %56 56: ; preds = %54 %57 = tail call i32 @errcontext(ptr noundef nonnull @.str, ptr noundef nonnull %16) #2 br label %58 58: ; preds = %54, %56 %59 = icmp eq ptr %4, null br i1 %59, label %62, label %60 60: ; preds = %58 %61 = tail call i32 @errcontext(ptr noundef nonnull @.str.2, ptr noundef nonnull %4) #2 br label %62 62: ; preds = %58, %60 %63 = phi i32 [ %61, %60 ], [ 0, %58 ] %64 = tail call i32 @ereport(i32 noundef %0, i32 noundef %63) #2 %65 = tail call i32 (...) @PG_FINALLY() #2 %66 = icmp eq i32 %3, 0 br i1 %66, label %69, label %67 67: ; preds = %62 %68 = tail call i32 @PQclear(ptr noundef %1) #2 br label %69 69: ; preds = %67, %62 %70 = tail call i32 (...) @PG_END_TRY() #2 ret void } declare i32 @PG_TRY(...) local_unnamed_addr #1 declare ptr @PQresultErrorField(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MAKE_SQLSTATE(i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) local_unnamed_addr #1 declare ptr @pchomp(i32 noundef) local_unnamed_addr #1 declare i32 @PQerrorMessage(ptr 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_internal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef) local_unnamed_addr #1 declare i32 @errdetail_internal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @errhint(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @errcontext(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PG_FINALLY(...) local_unnamed_addr #1 declare i32 @PQclear(ptr noundef) local_unnamed_addr #1 declare i32 @PG_END_TRY(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/contrib/postgres_fdw/extr_connection.c_pgfdw_report_error.c' source_filename = "AnghaBench/postgres/contrib/postgres_fdw/extr_connection.c_pgfdw_report_error.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PG_DIAG_SQLSTATE = common local_unnamed_addr global i32 0, align 4 @PG_DIAG_MESSAGE_PRIMARY = common local_unnamed_addr global i32 0, align 4 @PG_DIAG_MESSAGE_DETAIL = common local_unnamed_addr global i32 0, align 4 @PG_DIAG_MESSAGE_HINT = common local_unnamed_addr global i32 0, align 4 @PG_DIAG_CONTEXT = common local_unnamed_addr global i32 0, align 4 @ERRCODE_CONNECTION_FAILURE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"could not obtain message string for remote error\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"remote SQL command: %s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @pgfdw_report_error(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @PG_TRY() #2 %7 = load i32, ptr @PG_DIAG_SQLSTATE, align 4, !tbaa !6 %8 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %7) #2 %9 = load i32, ptr @PG_DIAG_MESSAGE_PRIMARY, align 4, !tbaa !6 %10 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %9) #2 %11 = load i32, ptr @PG_DIAG_MESSAGE_DETAIL, align 4, !tbaa !6 %12 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %11) #2 %13 = load i32, ptr @PG_DIAG_MESSAGE_HINT, align 4, !tbaa !6 %14 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %13) #2 %15 = load i32, ptr @PG_DIAG_CONTEXT, align 4, !tbaa !6 %16 = tail call ptr @PQresultErrorField(ptr noundef %1, i32 noundef %15) #2 %17 = icmp eq ptr %8, null br i1 %17, label %29, label %18 18: ; preds = %5 %19 = load i8, ptr %8, align 1, !tbaa !10 %20 = getelementptr inbounds i8, ptr %8, i64 1 %21 = load i8, ptr %20, align 1, !tbaa !10 %22 = getelementptr inbounds i8, ptr %8, i64 2 %23 = load i8, ptr %22, align 1, !tbaa !10 %24 = getelementptr inbounds i8, ptr %8, i64 3 %25 = load i8, ptr %24, align 1, !tbaa !10 %26 = getelementptr inbounds i8, ptr %8, i64 4 %27 = load i8, ptr %26, align 1, !tbaa !10 %28 = tail call i32 @MAKE_SQLSTATE(i8 noundef signext %19, i8 noundef signext %21, i8 noundef signext %23, i8 noundef signext %25, i8 noundef signext %27) #2 br label %31 29: ; preds = %5 %30 = load i32, ptr @ERRCODE_CONNECTION_FAILURE, align 4, !tbaa !6 br label %31 31: ; preds = %29, %18 %32 = phi i32 [ %28, %18 ], [ %30, %29 ] %33 = icmp eq ptr %10, null br i1 %33, label %36, label %34 34: ; preds = %31 %35 = tail call i32 @errcode(i32 noundef %32) #2 br label %41 36: ; preds = %31 %37 = tail call i32 @PQerrorMessage(ptr noundef %2) #2 %38 = tail call ptr @pchomp(i32 noundef %37) #2 %39 = tail call i32 @errcode(i32 noundef %32) #2 %40 = icmp eq ptr %38, null br i1 %40, label %44, label %41 41: ; preds = %34, %36 %42 = phi ptr [ %10, %34 ], [ %38, %36 ] %43 = tail call i32 @errmsg_internal(ptr noundef nonnull @.str, ptr noundef nonnull %42) #2 br label %46 44: ; preds = %36 %45 = tail call i32 @errmsg(ptr noundef nonnull @.str.1) #2 br label %46 46: ; preds = %44, %41 %47 = icmp eq ptr %12, null br i1 %47, label %50, label %48 48: ; preds = %46 %49 = tail call i32 @errdetail_internal(ptr noundef nonnull @.str, ptr noundef nonnull %12) #2 br label %50 50: ; preds = %46, %48 %51 = icmp eq ptr %14, null br i1 %51, label %54, label %52 52: ; preds = %50 %53 = tail call i32 @errhint(ptr noundef nonnull @.str, ptr noundef nonnull %14) #2 br label %54 54: ; preds = %50, %52 %55 = icmp eq ptr %16, null br i1 %55, label %58, label %56 56: ; preds = %54 %57 = tail call i32 @errcontext(ptr noundef nonnull @.str, ptr noundef nonnull %16) #2 br label %58 58: ; preds = %54, %56 %59 = icmp eq ptr %4, null br i1 %59, label %62, label %60 60: ; preds = %58 %61 = tail call i32 @errcontext(ptr noundef nonnull @.str.2, ptr noundef nonnull %4) #2 br label %62 62: ; preds = %58, %60 %63 = phi i32 [ %61, %60 ], [ 0, %58 ] %64 = tail call i32 @ereport(i32 noundef %0, i32 noundef %63) #2 %65 = tail call i32 @PG_FINALLY() #2 %66 = icmp eq i32 %3, 0 br i1 %66, label %69, label %67 67: ; preds = %62 %68 = tail call i32 @PQclear(ptr noundef %1) #2 br label %69 69: ; preds = %67, %62 %70 = tail call i32 @PG_END_TRY() #2 ret void } declare i32 @PG_TRY(...) local_unnamed_addr #1 declare ptr @PQresultErrorField(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MAKE_SQLSTATE(i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext, i8 noundef signext) local_unnamed_addr #1 declare ptr @pchomp(i32 noundef) local_unnamed_addr #1 declare i32 @PQerrorMessage(ptr 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_internal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef) local_unnamed_addr #1 declare i32 @errdetail_internal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @errhint(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @errcontext(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PG_FINALLY(...) local_unnamed_addr #1 declare i32 @PQclear(ptr noundef) local_unnamed_addr #1 declare i32 @PG_END_TRY(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
postgres_contrib_postgres_fdw_extr_connection.c_pgfdw_report_error
; ModuleID = 'AnghaBench/linux/drivers/fsi/extr_fsi-master-ast-cf.c_fsi_master_acf_setup.c' source_filename = "AnghaBench/linux/drivers/fsi/extr_fsi-master-ast-cf.c_fsi_master_acf_setup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fsi_master_acf = type { i64, i64, i32, i32, i32, i64 } @SRAM_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @CF_STARTED = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [31 x i8] c"Coprocessor startup timeout !\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @SEND_DLY_REG = dso_local local_unnamed_addr global i64 0, align 8 @ECHO_DLY_REG = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @fsi_master_acf_setup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fsi_master_acf_setup(ptr noundef %0) #0 { %2 = tail call i32 @reset_cf(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.fsi_master_acf, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @SRAM_SIZE, align 4, !tbaa !11 %6 = tail call i32 @memset_io(i64 noundef %4, i32 noundef 0, i32 noundef %5) #2 %7 = tail call i32 @setup_gpios_for_copro(ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %124 9: ; preds = %1 %10 = tail call i32 @load_copro_firmware(ptr noundef nonnull %0) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %124 12: ; preds = %9 %13 = tail call i32 @check_firmware_image(ptr noundef nonnull %0) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %124 15: ; preds = %12 %16 = getelementptr inbounds %struct.fsi_master_acf, ptr %0, i64 0, i32 5 %17 = load i64, ptr %16, align 8, !tbaa !12 %18 = icmp eq i64 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %15 %20 = tail call i32 @setup_ast2500_cf_maps(ptr noundef nonnull %0) #2 %21 = tail call i32 @setup_ast2500_fw_config(ptr noundef nonnull %0) #2 br label %25 22: ; preds = %15 %23 = tail call i32 @setup_ast2400_cf_maps(ptr noundef nonnull %0) #2 %24 = tail call i32 @setup_ast2400_fw_config(ptr noundef nonnull %0) #2 br label %25 25: ; preds = %22, %19 %26 = tail call i32 @start_cf(ptr noundef nonnull %0) #2 %27 = load i64, ptr %3, align 8, !tbaa !5 %28 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %29 = add nsw i64 %28, %27 %30 = tail call i64 @ioread8(i64 noundef %29) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %102 32: ; preds = %25 %33 = tail call i32 @msleep(i32 noundef 1) #2 %34 = load i64, ptr %3, align 8, !tbaa !5 %35 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %36 = add nsw i64 %35, %34 %37 = tail call i64 @ioread8(i64 noundef %36) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %102 39: ; preds = %32 %40 = tail call i32 @msleep(i32 noundef 1) #2 %41 = load i64, ptr %3, align 8, !tbaa !5 %42 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %43 = add nsw i64 %42, %41 %44 = tail call i64 @ioread8(i64 noundef %43) #2 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %102 46: ; preds = %39 %47 = tail call i32 @msleep(i32 noundef 1) #2 %48 = load i64, ptr %3, align 8, !tbaa !5 %49 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %50 = add nsw i64 %49, %48 %51 = tail call i64 @ioread8(i64 noundef %50) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %102 53: ; preds = %46 %54 = tail call i32 @msleep(i32 noundef 1) #2 %55 = load i64, ptr %3, align 8, !tbaa !5 %56 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %57 = add nsw i64 %56, %55 %58 = tail call i64 @ioread8(i64 noundef %57) #2 %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %102 60: ; preds = %53 %61 = tail call i32 @msleep(i32 noundef 1) #2 %62 = load i64, ptr %3, align 8, !tbaa !5 %63 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %64 = add nsw i64 %63, %62 %65 = tail call i64 @ioread8(i64 noundef %64) #2 %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %102 67: ; preds = %60 %68 = tail call i32 @msleep(i32 noundef 1) #2 %69 = load i64, ptr %3, align 8, !tbaa !5 %70 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %71 = add nsw i64 %70, %69 %72 = tail call i64 @ioread8(i64 noundef %71) #2 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %102 74: ; preds = %67 %75 = tail call i32 @msleep(i32 noundef 1) #2 %76 = load i64, ptr %3, align 8, !tbaa !5 %77 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %78 = add nsw i64 %77, %76 %79 = tail call i64 @ioread8(i64 noundef %78) #2 %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %102 81: ; preds = %74 %82 = tail call i32 @msleep(i32 noundef 1) #2 %83 = load i64, ptr %3, align 8, !tbaa !5 %84 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %85 = add nsw i64 %84, %83 %86 = tail call i64 @ioread8(i64 noundef %85) #2 %87 = icmp eq i64 %86, 0 br i1 %87, label %88, label %102 88: ; preds = %81 %89 = tail call i32 @msleep(i32 noundef 1) #2 %90 = load i64, ptr %3, align 8, !tbaa !5 %91 = load i64, ptr @CF_STARTED, align 8, !tbaa !13 %92 = add nsw i64 %91, %90 %93 = tail call i64 @ioread8(i64 noundef %92) #2 %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %102 95: ; preds = %88 %96 = tail call i32 @msleep(i32 noundef 1) #2 %97 = getelementptr inbounds %struct.fsi_master_acf, ptr %0, i64 0, i32 4 %98 = load i32, ptr %97, align 8, !tbaa !14 %99 = tail call i32 @dev_err(i32 noundef %98, ptr noundef nonnull @.str) #2 %100 = load i32, ptr @ENODEV, align 4, !tbaa !11 %101 = sub nsw i32 0, %100 br label %120 102: ; preds = %88, %81, %74, %67, %60, %53, %46, %39, %32, %25 %103 = getelementptr inbounds %struct.fsi_master_acf, ptr %0, i64 0, i32 3 %104 = load i32, ptr %103, align 4, !tbaa !15 %105 = load i64, ptr %3, align 8, !tbaa !5 %106 = load i64, ptr @SEND_DLY_REG, align 8, !tbaa !13 %107 = add nsw i64 %106, %105 %108 = tail call i32 @iowrite8(i32 noundef %104, i64 noundef %107) #2 %109 = getelementptr inbounds %struct.fsi_master_acf, ptr %0, i64 0, i32 2 %110 = load i32, ptr %109, align 8, !tbaa !16 %111 = load i64, ptr %3, align 8, !tbaa !5 %112 = load i64, ptr @ECHO_DLY_REG, align 8, !tbaa !13 %113 = add nsw i64 %112, %111 %114 = tail call i32 @iowrite8(i32 noundef %110, i64 noundef %113) #2 %115 = load i64, ptr %0, align 8, !tbaa !17 %116 = icmp eq i64 %115, 0 br i1 %116, label %124, label %117 117: ; preds = %102 %118 = tail call i32 @copro_enable_sw_irq(ptr noundef nonnull %0) #2 %119 = icmp eq i32 %118, 0 br i1 %119, label %124, label %120 120: ; preds = %117, %95 %121 = phi i32 [ %118, %117 ], [ %101, %95 ] %122 = tail call i32 @reset_cf(ptr noundef nonnull %0) #2 %123 = tail call i32 @release_copro_gpios(ptr noundef nonnull %0) #2 br label %124 124: ; preds = %102, %117, %12, %9, %1, %120 %125 = phi i32 [ %121, %120 ], [ %7, %1 ], [ %10, %9 ], [ %13, %12 ], [ 0, %117 ], [ 0, %102 ] ret i32 %125 } declare i32 @reset_cf(ptr noundef) local_unnamed_addr #1 declare i32 @memset_io(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setup_gpios_for_copro(ptr noundef) local_unnamed_addr #1 declare i32 @load_copro_firmware(ptr noundef) local_unnamed_addr #1 declare i32 @check_firmware_image(ptr noundef) local_unnamed_addr #1 declare i32 @setup_ast2500_cf_maps(ptr noundef) local_unnamed_addr #1 declare i32 @setup_ast2500_fw_config(ptr noundef) local_unnamed_addr #1 declare i32 @setup_ast2400_cf_maps(ptr noundef) local_unnamed_addr #1 declare i32 @setup_ast2400_fw_config(ptr noundef) local_unnamed_addr #1 declare i32 @start_cf(ptr noundef) local_unnamed_addr #1 declare i64 @ioread8(i64 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iowrite8(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @copro_enable_sw_irq(ptr noundef) local_unnamed_addr #1 declare i32 @release_copro_gpios(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 = !{!"fsi_master_acf", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 32} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 24} !15 = !{!6, !10, i64 20} !16 = !{!6, !10, i64 16} !17 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/fsi/extr_fsi-master-ast-cf.c_fsi_master_acf_setup.c' source_filename = "AnghaBench/linux/drivers/fsi/extr_fsi-master-ast-cf.c_fsi_master_acf_setup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SRAM_SIZE = common local_unnamed_addr global i32 0, align 4 @CF_STARTED = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [31 x i8] c"Coprocessor startup timeout !\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @SEND_DLY_REG = common local_unnamed_addr global i64 0, align 8 @ECHO_DLY_REG = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @fsi_master_acf_setup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fsi_master_acf_setup(ptr noundef %0) #0 { %2 = tail call i32 @reset_cf(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @SRAM_SIZE, align 4, !tbaa !12 %6 = tail call i32 @memset_io(i64 noundef %4, i32 noundef 0, i32 noundef %5) #2 %7 = tail call i32 @setup_gpios_for_copro(ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %124 9: ; preds = %1 %10 = tail call i32 @load_copro_firmware(ptr noundef nonnull %0) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %124 12: ; preds = %9 %13 = tail call i32 @check_firmware_image(ptr noundef nonnull %0) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %124 15: ; preds = %12 %16 = getelementptr inbounds i8, ptr %0, i64 32 %17 = load i64, ptr %16, align 8, !tbaa !13 %18 = icmp eq i64 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %15 %20 = tail call i32 @setup_ast2500_cf_maps(ptr noundef nonnull %0) #2 %21 = tail call i32 @setup_ast2500_fw_config(ptr noundef nonnull %0) #2 br label %25 22: ; preds = %15 %23 = tail call i32 @setup_ast2400_cf_maps(ptr noundef nonnull %0) #2 %24 = tail call i32 @setup_ast2400_fw_config(ptr noundef nonnull %0) #2 br label %25 25: ; preds = %22, %19 %26 = tail call i32 @start_cf(ptr noundef nonnull %0) #2 %27 = load i64, ptr %3, align 8, !tbaa !6 %28 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %29 = add nsw i64 %28, %27 %30 = tail call i64 @ioread8(i64 noundef %29) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %102 32: ; preds = %25 %33 = tail call i32 @msleep(i32 noundef 1) #2 %34 = load i64, ptr %3, align 8, !tbaa !6 %35 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %36 = add nsw i64 %35, %34 %37 = tail call i64 @ioread8(i64 noundef %36) #2 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %102 39: ; preds = %32 %40 = tail call i32 @msleep(i32 noundef 1) #2 %41 = load i64, ptr %3, align 8, !tbaa !6 %42 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %43 = add nsw i64 %42, %41 %44 = tail call i64 @ioread8(i64 noundef %43) #2 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %102 46: ; preds = %39 %47 = tail call i32 @msleep(i32 noundef 1) #2 %48 = load i64, ptr %3, align 8, !tbaa !6 %49 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %50 = add nsw i64 %49, %48 %51 = tail call i64 @ioread8(i64 noundef %50) #2 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %102 53: ; preds = %46 %54 = tail call i32 @msleep(i32 noundef 1) #2 %55 = load i64, ptr %3, align 8, !tbaa !6 %56 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %57 = add nsw i64 %56, %55 %58 = tail call i64 @ioread8(i64 noundef %57) #2 %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %102 60: ; preds = %53 %61 = tail call i32 @msleep(i32 noundef 1) #2 %62 = load i64, ptr %3, align 8, !tbaa !6 %63 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %64 = add nsw i64 %63, %62 %65 = tail call i64 @ioread8(i64 noundef %64) #2 %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %102 67: ; preds = %60 %68 = tail call i32 @msleep(i32 noundef 1) #2 %69 = load i64, ptr %3, align 8, !tbaa !6 %70 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %71 = add nsw i64 %70, %69 %72 = tail call i64 @ioread8(i64 noundef %71) #2 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %102 74: ; preds = %67 %75 = tail call i32 @msleep(i32 noundef 1) #2 %76 = load i64, ptr %3, align 8, !tbaa !6 %77 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %78 = add nsw i64 %77, %76 %79 = tail call i64 @ioread8(i64 noundef %78) #2 %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %102 81: ; preds = %74 %82 = tail call i32 @msleep(i32 noundef 1) #2 %83 = load i64, ptr %3, align 8, !tbaa !6 %84 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %85 = add nsw i64 %84, %83 %86 = tail call i64 @ioread8(i64 noundef %85) #2 %87 = icmp eq i64 %86, 0 br i1 %87, label %88, label %102 88: ; preds = %81 %89 = tail call i32 @msleep(i32 noundef 1) #2 %90 = load i64, ptr %3, align 8, !tbaa !6 %91 = load i64, ptr @CF_STARTED, align 8, !tbaa !14 %92 = add nsw i64 %91, %90 %93 = tail call i64 @ioread8(i64 noundef %92) #2 %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %102 95: ; preds = %88 %96 = tail call i32 @msleep(i32 noundef 1) #2 %97 = getelementptr inbounds i8, ptr %0, i64 24 %98 = load i32, ptr %97, align 8, !tbaa !15 %99 = tail call i32 @dev_err(i32 noundef %98, ptr noundef nonnull @.str) #2 %100 = load i32, ptr @ENODEV, align 4, !tbaa !12 %101 = sub nsw i32 0, %100 br label %120 102: ; preds = %88, %81, %74, %67, %60, %53, %46, %39, %32, %25 %103 = getelementptr inbounds i8, ptr %0, i64 20 %104 = load i32, ptr %103, align 4, !tbaa !16 %105 = load i64, ptr %3, align 8, !tbaa !6 %106 = load i64, ptr @SEND_DLY_REG, align 8, !tbaa !14 %107 = add nsw i64 %106, %105 %108 = tail call i32 @iowrite8(i32 noundef %104, i64 noundef %107) #2 %109 = getelementptr inbounds i8, ptr %0, i64 16 %110 = load i32, ptr %109, align 8, !tbaa !17 %111 = load i64, ptr %3, align 8, !tbaa !6 %112 = load i64, ptr @ECHO_DLY_REG, align 8, !tbaa !14 %113 = add nsw i64 %112, %111 %114 = tail call i32 @iowrite8(i32 noundef %110, i64 noundef %113) #2 %115 = load i64, ptr %0, align 8, !tbaa !18 %116 = icmp eq i64 %115, 0 br i1 %116, label %124, label %117 117: ; preds = %102 %118 = tail call i32 @copro_enable_sw_irq(ptr noundef nonnull %0) #2 %119 = icmp eq i32 %118, 0 br i1 %119, label %124, label %120 120: ; preds = %117, %95 %121 = phi i32 [ %118, %117 ], [ %101, %95 ] %122 = tail call i32 @reset_cf(ptr noundef nonnull %0) #2 %123 = tail call i32 @release_copro_gpios(ptr noundef nonnull %0) #2 br label %124 124: ; preds = %102, %117, %12, %9, %1, %120 %125 = phi i32 [ %121, %120 ], [ %7, %1 ], [ %10, %9 ], [ %13, %12 ], [ 0, %117 ], [ 0, %102 ] ret i32 %125 } declare i32 @reset_cf(ptr noundef) local_unnamed_addr #1 declare i32 @memset_io(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setup_gpios_for_copro(ptr noundef) local_unnamed_addr #1 declare i32 @load_copro_firmware(ptr noundef) local_unnamed_addr #1 declare i32 @check_firmware_image(ptr noundef) local_unnamed_addr #1 declare i32 @setup_ast2500_cf_maps(ptr noundef) local_unnamed_addr #1 declare i32 @setup_ast2500_fw_config(ptr noundef) local_unnamed_addr #1 declare i32 @setup_ast2400_cf_maps(ptr noundef) local_unnamed_addr #1 declare i32 @setup_ast2400_fw_config(ptr noundef) local_unnamed_addr #1 declare i32 @start_cf(ptr noundef) local_unnamed_addr #1 declare i64 @ioread8(i64 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iowrite8(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @copro_enable_sw_irq(ptr noundef) local_unnamed_addr #1 declare i32 @release_copro_gpios(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 = !{!"fsi_master_acf", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !8, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 32} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 24} !16 = !{!7, !11, i64 20} !17 = !{!7, !11, i64 16} !18 = !{!7, !8, i64 0}
linux_drivers_fsi_extr_fsi-master-ast-cf.c_fsi_master_acf_setup
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_3990_erp.c_dasd_3990_erp_control_check.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_3990_erp.c_dasd_3990_erp_control_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dasd_ccw_req = type { ptr, ptr } @SCHN_STAT_INTF_CTRL_CHK = dso_local local_unnamed_addr global i32 0, align 4 @SCHN_STAT_CHN_CTRL_CHK = dso_local local_unnamed_addr global i32 0, align 4 @DBF_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"channel or interface control check\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dasd_3990_erp_control_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @dasd_3990_erp_control_check(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.dasd_ccw_req, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = tail call i32 @scsw_cstat(ptr noundef %4) #2 %6 = load i32, ptr @SCHN_STAT_INTF_CTRL_CHK, align 4, !tbaa !11 %7 = load i32, ptr @SCHN_STAT_CHN_CTRL_CHK, align 4, !tbaa !11 %8 = or i32 %7, %6 %9 = and i32 %8, %5 %10 = icmp eq i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %1 %12 = load i32, ptr @DBF_WARNING, align 4, !tbaa !11 %13 = tail call i32 @DBF_DEV_EVENT(i32 noundef %12, ptr noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 %14 = tail call ptr @dasd_3990_erp_action_4(ptr noundef nonnull %0, ptr noundef null) #2 br label %15 15: ; preds = %11, %1 %16 = phi ptr [ %14, %11 ], [ %0, %1 ] ret ptr %16 } declare i32 @scsw_cstat(ptr noundef) local_unnamed_addr #1 declare i32 @DBF_DEV_EVENT(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dasd_3990_erp_action_4(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 = !{!"dasd_ccw_req", !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} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_3990_erp.c_dasd_3990_erp_control_check.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_3990_erp.c_dasd_3990_erp_control_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SCHN_STAT_INTF_CTRL_CHK = common local_unnamed_addr global i32 0, align 4 @SCHN_STAT_CHN_CTRL_CHK = common local_unnamed_addr global i32 0, align 4 @DBF_WARNING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"channel or interface control check\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dasd_3990_erp_control_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @dasd_3990_erp_control_check(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !11 %5 = tail call i32 @scsw_cstat(ptr noundef %4) #2 %6 = load i32, ptr @SCHN_STAT_INTF_CTRL_CHK, align 4, !tbaa !12 %7 = load i32, ptr @SCHN_STAT_CHN_CTRL_CHK, align 4, !tbaa !12 %8 = or i32 %7, %6 %9 = and i32 %8, %5 %10 = icmp eq i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %1 %12 = load i32, ptr @DBF_WARNING, align 4, !tbaa !12 %13 = tail call i32 @DBF_DEV_EVENT(i32 noundef %12, ptr noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 %14 = tail call ptr @dasd_3990_erp_action_4(ptr noundef nonnull %0, ptr noundef null) #2 br label %15 15: ; preds = %11, %1 %16 = phi ptr [ %14, %11 ], [ %0, %1 ] ret ptr %16 } declare i32 @scsw_cstat(ptr noundef) local_unnamed_addr #1 declare i32 @DBF_DEV_EVENT(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dasd_3990_erp_action_4(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 = !{!"dasd_ccw_req", !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} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_s390_block_extr_dasd_3990_erp.c_dasd_3990_erp_control_check
; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_essetup.c_SetupGlobalExtensions.c' source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_essetup.c_SetupGlobalExtensions.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"btrt\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @SetupGlobalExtensions], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @SetupGlobalExtensions(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %14 5: ; preds = %2 %6 = tail call ptr @MP4_BoxGet(ptr noundef %1, ptr noundef nonnull @.str) #2 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %5 %9 = tail call ptr @BOXDATA(ptr noundef nonnull %6) #2 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %8 %12 = tail call ptr @BOXDATA(ptr noundef nonnull %6) #2 %13 = load i32, ptr %12, align 4, !tbaa !11 store i32 %13, ptr %0, align 4, !tbaa !5 br label %14 14: ; preds = %5, %8, %11, %2 ret void } declare ptr @MP4_BoxGet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @BOXDATA(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 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"TYPE_5__", !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 = !{!"TYPE_7__", !8, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/demux/mp4/extr_essetup.c_SetupGlobalExtensions.c' source_filename = "AnghaBench/vlc/modules/demux/mp4/extr_essetup.c_SetupGlobalExtensions.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [5 x i8] c"btrt\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @SetupGlobalExtensions], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @SetupGlobalExtensions(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %14 5: ; preds = %2 %6 = tail call ptr @MP4_BoxGet(ptr noundef %1, ptr noundef nonnull @.str) #2 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %5 %9 = tail call ptr @BOXDATA(ptr noundef nonnull %6) #2 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %8 %12 = tail call ptr @BOXDATA(ptr noundef nonnull %6) #2 %13 = load i32, ptr %12, align 4, !tbaa !12 store i32 %13, ptr %0, align 4, !tbaa !6 br label %14 14: ; preds = %5, %8, %11, %2 ret void } declare ptr @MP4_BoxGet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @BOXDATA(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 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 0} !13 = !{!"TYPE_7__", !9, i64 0}
vlc_modules_demux_mp4_extr_essetup.c_SetupGlobalExtensions
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_gdi_gfx.c_gdi_has_menu_frame.c' source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_gdi_gfx.c_gdi_has_menu_frame.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @gdi_menu_frame = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i32 @gdi_has_menu_frame() local_unnamed_addr #0 { %1 = load ptr, ptr @gdi_menu_frame, align 8, !tbaa !5 %2 = icmp ne ptr %1, null %3 = zext i1 %2 to i32 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_gdi_gfx.c_gdi_has_menu_frame.c' source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_gdi_gfx.c_gdi_has_menu_frame.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gdi_menu_frame = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define range(i32 0, 2) i32 @gdi_has_menu_frame() local_unnamed_addr #0 { %1 = load ptr, ptr @gdi_menu_frame, align 8, !tbaa !6 %2 = icmp ne ptr %1, null %3 = zext i1 %2 to i32 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_gfx_drivers_extr_gdi_gfx.c_gdi_has_menu_frame
; ModuleID = 'AnghaBench/freebsd/usr.sbin/pciconf/extr_err.c_list_errors.c' source_filename = "AnghaBench/freebsd/usr.sbin/pciconf/extr_err.c_list_errors.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PCIR_STATUS = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [11 x i8] c"PCI errors\00", align 1 @pci_status = dso_local local_unnamed_addr global i32 0, align 4 @PCI_ERRORS = dso_local local_unnamed_addr global i64 0, align 8 @PCIY_EXPRESS = dso_local local_unnamed_addr global i32 0, align 4 @PCIER_DEVICE_STA = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [13 x i8] c"PCI-e errors\00", align 1 @pcie_device_status = dso_local local_unnamed_addr global i32 0, align 4 @PCIE_ERRORS = dso_local local_unnamed_addr global i64 0, align 8 @PCIZ_AER = dso_local local_unnamed_addr global i32 0, align 4 @PCIR_AER_UC_STATUS = dso_local local_unnamed_addr global i64 0, align 8 @PCIR_AER_UC_SEVERITY = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [6 x i8] c"Fatal\00", align 1 @aer_uc = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [10 x i8] c"Non-fatal\00", align 1 @PCIR_AER_COR_STATUS = dso_local local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [10 x i8] c"Corrected\00", align 1 @aer_cor = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @list_errors(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @PCIR_STATUS, align 8, !tbaa !5 %4 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %3, i32 noundef 2) #2 %5 = load i32, ptr @pci_status, align 4, !tbaa !9 %6 = load i64, ptr @PCI_ERRORS, align 8, !tbaa !5 %7 = and i64 %6, %4 %8 = tail call i32 @print_bits(ptr noundef nonnull @.str, i32 noundef %5, i64 noundef %7) #2 %9 = load i32, ptr @PCIY_EXPRESS, align 4, !tbaa !9 %10 = tail call i64 @pci_find_cap(i32 noundef %0, ptr noundef %1, i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %42, label %12 12: ; preds = %2 %13 = load i64, ptr @PCIER_DEVICE_STA, align 8, !tbaa !5 %14 = add nsw i64 %13, %10 %15 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %14, i32 noundef 2) #2 %16 = load i32, ptr @pcie_device_status, align 4, !tbaa !9 %17 = load i64, ptr @PCIE_ERRORS, align 8, !tbaa !5 %18 = and i64 %17, %15 %19 = tail call i32 @print_bits(ptr noundef nonnull @.str.1, i32 noundef %16, i64 noundef %18) #2 %20 = load i32, ptr @PCIZ_AER, align 4, !tbaa !9 %21 = tail call i64 @pcie_find_cap(i32 noundef %0, ptr noundef %1, i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %42, label %23 23: ; preds = %12 %24 = load i64, ptr @PCIR_AER_UC_STATUS, align 8, !tbaa !5 %25 = add nsw i64 %24, %21 %26 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %25, i32 noundef 4) #2 %27 = load i64, ptr @PCIR_AER_UC_SEVERITY, align 8, !tbaa !5 %28 = add nsw i64 %27, %21 %29 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %28, i32 noundef 4) #2 %30 = load i32, ptr @aer_uc, align 4, !tbaa !9 %31 = and i64 %29, %26 %32 = tail call i32 @print_bits(ptr noundef nonnull @.str.2, i32 noundef %30, i64 noundef %31) #2 %33 = load i32, ptr @aer_uc, align 4, !tbaa !9 %34 = xor i64 %29, -1 %35 = and i64 %26, %34 %36 = tail call i32 @print_bits(ptr noundef nonnull @.str.3, i32 noundef %33, i64 noundef %35) #2 %37 = load i64, ptr @PCIR_AER_COR_STATUS, align 8, !tbaa !5 %38 = add nsw i64 %37, %21 %39 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %38, i32 noundef 4) #2 %40 = load i32, ptr @aer_cor, align 4, !tbaa !9 %41 = tail call i32 @print_bits(ptr noundef nonnull @.str.4, i32 noundef %40, i64 noundef %39) #2 br label %42 42: ; preds = %12, %2, %23 ret void } declare i64 @read_config(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_bits(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @pci_find_cap(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @pcie_find_cap(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/pciconf/extr_err.c_list_errors.c' source_filename = "AnghaBench/freebsd/usr.sbin/pciconf/extr_err.c_list_errors.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCIR_STATUS = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [11 x i8] c"PCI errors\00", align 1 @pci_status = common local_unnamed_addr global i32 0, align 4 @PCI_ERRORS = common local_unnamed_addr global i64 0, align 8 @PCIY_EXPRESS = common local_unnamed_addr global i32 0, align 4 @PCIER_DEVICE_STA = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [13 x i8] c"PCI-e errors\00", align 1 @pcie_device_status = common local_unnamed_addr global i32 0, align 4 @PCIE_ERRORS = common local_unnamed_addr global i64 0, align 8 @PCIZ_AER = common local_unnamed_addr global i32 0, align 4 @PCIR_AER_UC_STATUS = common local_unnamed_addr global i64 0, align 8 @PCIR_AER_UC_SEVERITY = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [6 x i8] c"Fatal\00", align 1 @aer_uc = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [10 x i8] c"Non-fatal\00", align 1 @PCIR_AER_COR_STATUS = common local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [10 x i8] c"Corrected\00", align 1 @aer_cor = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @list_errors(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @PCIR_STATUS, align 8, !tbaa !6 %4 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %3, i32 noundef 2) #2 %5 = load i32, ptr @pci_status, align 4, !tbaa !10 %6 = load i64, ptr @PCI_ERRORS, align 8, !tbaa !6 %7 = and i64 %6, %4 %8 = tail call i32 @print_bits(ptr noundef nonnull @.str, i32 noundef %5, i64 noundef %7) #2 %9 = load i32, ptr @PCIY_EXPRESS, align 4, !tbaa !10 %10 = tail call i64 @pci_find_cap(i32 noundef %0, ptr noundef %1, i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %42, label %12 12: ; preds = %2 %13 = load i64, ptr @PCIER_DEVICE_STA, align 8, !tbaa !6 %14 = add nsw i64 %13, %10 %15 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %14, i32 noundef 2) #2 %16 = load i32, ptr @pcie_device_status, align 4, !tbaa !10 %17 = load i64, ptr @PCIE_ERRORS, align 8, !tbaa !6 %18 = and i64 %17, %15 %19 = tail call i32 @print_bits(ptr noundef nonnull @.str.1, i32 noundef %16, i64 noundef %18) #2 %20 = load i32, ptr @PCIZ_AER, align 4, !tbaa !10 %21 = tail call i64 @pcie_find_cap(i32 noundef %0, ptr noundef %1, i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %42, label %23 23: ; preds = %12 %24 = load i64, ptr @PCIR_AER_UC_STATUS, align 8, !tbaa !6 %25 = add nsw i64 %24, %21 %26 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %25, i32 noundef 4) #2 %27 = load i64, ptr @PCIR_AER_UC_SEVERITY, align 8, !tbaa !6 %28 = add nsw i64 %27, %21 %29 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %28, i32 noundef 4) #2 %30 = load i32, ptr @aer_uc, align 4, !tbaa !10 %31 = and i64 %29, %26 %32 = tail call i32 @print_bits(ptr noundef nonnull @.str.2, i32 noundef %30, i64 noundef %31) #2 %33 = load i32, ptr @aer_uc, align 4, !tbaa !10 %34 = xor i64 %29, -1 %35 = and i64 %26, %34 %36 = tail call i32 @print_bits(ptr noundef nonnull @.str.3, i32 noundef %33, i64 noundef %35) #2 %37 = load i64, ptr @PCIR_AER_COR_STATUS, align 8, !tbaa !6 %38 = add nsw i64 %37, %21 %39 = tail call i64 @read_config(i32 noundef %0, ptr noundef %1, i64 noundef %38, i32 noundef 4) #2 %40 = load i32, ptr @aer_cor, align 4, !tbaa !10 %41 = tail call i32 @print_bits(ptr noundef nonnull @.str.4, i32 noundef %40, i64 noundef %39) #2 br label %42 42: ; preds = %12, %2, %23 ret void } declare i64 @read_config(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_bits(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @pci_find_cap(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @pcie_find_cap(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_usr.sbin_pciconf_extr_err.c_list_errors
; ModuleID = 'AnghaBench/esp-idf/components/esp32/extr_panic.c_panicHandler.c' source_filename = "AnghaBench/esp-idf/components/esp32/extr_panic.c_panicHandler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i32 } @.str = private unnamed_addr constant [15 x i8] c"Unknown reason\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Unhandled debug exception\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Double exception\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Unhandled kernel exception\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Coprocessor exception\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Interrupt wdt timeout on CPU0\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Interrupt wdt timeout on CPU1\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"Cache disabled but cached memory region accessed\00", align 1 @reltable.panicHandler = private unnamed_addr constant [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.panicHandler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.panicHandler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.panicHandler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.panicHandler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.panicHandler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.panicHandler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.panicHandler to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.panicHandler to i64)) to i32)], align 4 @PANIC_RSN_MAX = dso_local local_unnamed_addr global i64 0, align 8 @PANIC_RSN_INTWDT_CPU0 = dso_local local_unnamed_addr global i64 0, align 8 @PANIC_RSN_INTWDT_CPU1 = dso_local local_unnamed_addr global i64 0, align 8 @other_core_frame = dso_local local_unnamed_addr global ptr null, align 8 @PANIC_RSN_CACHEERR = dso_local local_unnamed_addr global i64 0, align 8 @ESP_RST_INT_WDT = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [29 x i8] c"Guru Meditation Error: Core \00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c" panic'ed (\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c")\0D\0A\00", align 1 @PANIC_RSN_DEBUGEXCEPTION = dso_local local_unnamed_addr global i64 0, align 8 @.str.11 = private unnamed_addr constant [25 x i8] c"Debug exception reason: \00", align 1 @XCHAL_DEBUGCAUSE_ICOUNT_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [12 x i8] c"SingleStep \00", align 1 @XCHAL_DEBUGCAUSE_IBREAK_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.13 = private unnamed_addr constant [14 x i8] c"HwBreakpoint \00", align 1 @XCHAL_DEBUGCAUSE_DBREAK_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.14 = private unnamed_addr constant [24 x i8] c"Watchpoint 1 triggered \00", align 1 @.str.15 = private unnamed_addr constant [24 x i8] c"Watchpoint 0 triggered \00", align 1 @XCHAL_DEBUGCAUSE_BREAK_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.16 = private unnamed_addr constant [13 x i8] c"BREAK instr \00", align 1 @XCHAL_DEBUGCAUSE_BREAKN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.17 = private unnamed_addr constant [14 x i8] c"BREAKN instr \00", align 1 @XCHAL_DEBUGCAUSE_DEBUGINT_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.18 = private unnamed_addr constant [11 x i8] c"DebugIntr \00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @TIMER_GROUP_1 = dso_local local_unnamed_addr global i32 0, align 4 @TIMER_INTR_WDT = dso_local local_unnamed_addr global i32 0, align 4 @APPTRACE_ONPANIC_HOST_FLUSH_TMO = dso_local local_unnamed_addr global i32 0, align 4 @CONFIG_ESP32_APPTRACE_POSTMORTEM_FLUSH_THRESH = dso_local local_unnamed_addr global i32 0, align 4 @ESP_APPTRACE_DEST_TRAX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @panicHandler(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @xPortGetCoreID() #3 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @PANIC_RSN_MAX, align 8, !tbaa !11 %5 = icmp ugt i64 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = shl i64 %3, 2 %8 = call ptr @llvm.load.relative.i64(ptr @reltable.panicHandler, i64 %7) br label %9 9: ; preds = %6, %1 %10 = phi ptr [ %8, %6 ], [ @.str, %1 ] %11 = load i64, ptr @PANIC_RSN_INTWDT_CPU0, align 8, !tbaa !11 %12 = icmp eq i64 %3, %11 %13 = icmp eq i32 %2, 1 %14 = select i1 %12, i1 %13, i1 false br i1 %14, label %20, label %15 15: ; preds = %9 %16 = load i64, ptr @PANIC_RSN_INTWDT_CPU1, align 8, !tbaa !11 %17 = icmp eq i64 %3, %16 %18 = icmp eq i32 %2, 0 %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %20, label %22 20: ; preds = %15, %9 store ptr %0, ptr @other_core_frame, align 8, !tbaa !12 br label %21 21: ; preds = %21, %20 br label %21 22: ; preds = %15 %23 = or i1 %12, %17 br i1 %23, label %24, label %27 24: ; preds = %22 %25 = tail call i32 @ets_delay_us(i32 noundef 1) #3 %26 = load i64, ptr %0, align 8, !tbaa !5 br label %27 27: ; preds = %22, %24 %28 = phi i64 [ %3, %22 ], [ %26, %24 ] %29 = load i64, ptr @PANIC_RSN_CACHEERR, align 8, !tbaa !11 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %37 31: ; preds = %27 %32 = tail call i32 (...) @esp_cache_err_get_cpuid() #3 %33 = icmp eq i32 %32, %2 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load i64, ptr %0, align 8, !tbaa !5 br label %37 36: ; preds = %31, %36 br label %36 37: ; preds = %34, %27 %38 = phi i64 [ %35, %34 ], [ %28, %27 ] %39 = load i64, ptr @PANIC_RSN_INTWDT_CPU0, align 8, !tbaa !11 %40 = icmp eq i64 %38, %39 %41 = load i64, ptr @PANIC_RSN_INTWDT_CPU1, align 8 %42 = icmp eq i64 %38, %41 %43 = select i1 %40, i1 true, i1 %42 br i1 %43, label %44, label %47 44: ; preds = %37 %45 = load i32, ptr @ESP_RST_INT_WDT, align 4, !tbaa !14 %46 = tail call i32 @esp_reset_reason_set_hint(i32 noundef %45) #3 br label %47 47: ; preds = %37, %44 %48 = tail call i32 (...) @haltOtherCore() #3 %49 = tail call i32 (...) @esp_dport_access_int_abort() #3 %50 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.8) #3 %51 = tail call i32 @panicPutDec(i32 noundef %2) #3 %52 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.9) #3 %53 = tail call i32 @panicPutStr(ptr noundef %10) #3 %54 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.10) #3 %55 = load i64, ptr %0, align 8, !tbaa !5 %56 = load i64, ptr @PANIC_RSN_DEBUGEXCEPTION, align 8, !tbaa !11 %57 = icmp eq i64 %55, %56 br i1 %57, label %58, label %101 58: ; preds = %47 %59 = tail call i32 asm "rsr.debugcause $0", "=r,~{dirflag},~{fpsr},~{flags}"() #4, !srcloc !15 %60 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.11) #3 %61 = load i32, ptr @XCHAL_DEBUGCAUSE_ICOUNT_MASK, align 4, !tbaa !14 %62 = and i32 %61, %59 %63 = icmp eq i32 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %58 %65 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.12) #3 br label %66 66: ; preds = %64, %58 %67 = load i32, ptr @XCHAL_DEBUGCAUSE_IBREAK_MASK, align 4, !tbaa !14 %68 = and i32 %67, %59 %69 = icmp eq i32 %68, 0 br i1 %69, label %72, label %70 70: ; preds = %66 %71 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.13) #3 br label %72 72: ; preds = %70, %66 %73 = load i32, ptr @XCHAL_DEBUGCAUSE_DBREAK_MASK, align 4, !tbaa !14 %74 = and i32 %73, %59 %75 = icmp eq i32 %74, 0 br i1 %75, label %81, label %76 76: ; preds = %72 %77 = and i32 %59, 256 %78 = icmp eq i32 %77, 0 %79 = select i1 %78, ptr @.str.15, ptr @.str.14 %80 = tail call i32 @panicPutStr(ptr noundef nonnull %79) #3 br label %81 81: ; preds = %76, %72 %82 = load i32, ptr @XCHAL_DEBUGCAUSE_BREAK_MASK, align 4, !tbaa !14 %83 = and i32 %82, %59 %84 = icmp eq i32 %83, 0 br i1 %84, label %87, label %85 85: ; preds = %81 %86 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.16) #3 br label %87 87: ; preds = %85, %81 %88 = load i32, ptr @XCHAL_DEBUGCAUSE_BREAKN_MASK, align 4, !tbaa !14 %89 = and i32 %88, %59 %90 = icmp eq i32 %89, 0 br i1 %90, label %93, label %91 91: ; preds = %87 %92 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.17) #3 br label %93 93: ; preds = %91, %87 %94 = load i32, ptr @XCHAL_DEBUGCAUSE_DEBUGINT_MASK, align 4, !tbaa !14 %95 = and i32 %94, %59 %96 = icmp eq i32 %95, 0 br i1 %96, label %99, label %97 97: ; preds = %93 %98 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.18) #3 br label %99 99: ; preds = %97, %93 %100 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.19) #3 br label %101 101: ; preds = %99, %47 %102 = tail call i64 (...) @esp_cpu_in_ocd_debug_mode() #3 %103 = icmp eq i64 %102, 0 br i1 %103, label %120, label %104 104: ; preds = %101 %105 = tail call i32 (...) @disableAllWdts() #3 %106 = load i64, ptr %0, align 8, !tbaa !5 %107 = load i64, ptr @PANIC_RSN_INTWDT_CPU0, align 8, !tbaa !11 %108 = icmp eq i64 %106, %107 %109 = load i64, ptr @PANIC_RSN_INTWDT_CPU1, align 8 %110 = icmp eq i64 %106, %109 %111 = select i1 %108, i1 true, i1 %110 br i1 %111, label %112, label %116 112: ; preds = %104 %113 = load i32, ptr @TIMER_GROUP_1, align 4, !tbaa !14 %114 = load i32, ptr @TIMER_INTR_WDT, align 4, !tbaa !14 %115 = tail call i32 @timer_group_clr_intr_sta_in_isr(i32 noundef %113, i32 noundef %114) #3 br label %116 116: ; preds = %104, %112 %117 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %118 = load i32, ptr %117, align 8, !tbaa !16 %119 = tail call i32 @setFirstBreakpoint(i32 noundef %118) #3 br label %122 120: ; preds = %101 %121 = tail call i32 @commonErrorHandler(ptr noundef nonnull %0) #3 br label %122 122: ; preds = %120, %116 ret void } declare i32 @xPortGetCoreID(...) local_unnamed_addr #1 declare i32 @ets_delay_us(i32 noundef) local_unnamed_addr #1 declare i32 @esp_cache_err_get_cpuid(...) local_unnamed_addr #1 declare i32 @esp_reset_reason_set_hint(i32 noundef) local_unnamed_addr #1 declare i32 @haltOtherCore(...) local_unnamed_addr #1 declare i32 @esp_dport_access_int_abort(...) local_unnamed_addr #1 declare i32 @panicPutStr(ptr noundef) local_unnamed_addr #1 declare i32 @panicPutDec(i32 noundef) local_unnamed_addr #1 declare i64 @esp_cpu_in_ocd_debug_mode(...) local_unnamed_addr #1 declare i32 @disableAllWdts(...) local_unnamed_addr #1 declare i32 @timer_group_clr_intr_sta_in_isr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setFirstBreakpoint(i32 noundef) local_unnamed_addr #1 declare i32 @commonErrorHandler(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read) declare ptr @llvm.load.relative.i64(ptr, 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 willreturn memory(argmem: read) } attributes #3 = { nounwind } attributes #4 = { nounwind memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !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 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!10, !10, i64 0} !15 = !{i64 4063} !16 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/esp-idf/components/esp32/extr_panic.c_panicHandler.c' source_filename = "AnghaBench/esp-idf/components/esp32/extr_panic.c_panicHandler.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 [15 x i8] c"Unknown reason\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Unhandled debug exception\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Double exception\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Unhandled kernel exception\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Coprocessor exception\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Interrupt wdt timeout on CPU0\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Interrupt wdt timeout on CPU1\00", align 1 @.str.7 = private unnamed_addr constant [49 x i8] c"Cache disabled but cached memory region accessed\00", align 1 @__const.panicHandler.reasons = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 8 @PANIC_RSN_MAX = common local_unnamed_addr global i64 0, align 8 @PANIC_RSN_INTWDT_CPU0 = common local_unnamed_addr global i64 0, align 8 @PANIC_RSN_INTWDT_CPU1 = common local_unnamed_addr global i64 0, align 8 @other_core_frame = common local_unnamed_addr global ptr null, align 8 @PANIC_RSN_CACHEERR = common local_unnamed_addr global i64 0, align 8 @ESP_RST_INT_WDT = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [29 x i8] c"Guru Meditation Error: Core \00", align 1 @.str.9 = private unnamed_addr constant [12 x i8] c" panic'ed (\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c")\0D\0A\00", align 1 @PANIC_RSN_DEBUGEXCEPTION = common local_unnamed_addr global i64 0, align 8 @.str.11 = private unnamed_addr constant [25 x i8] c"Debug exception reason: \00", align 1 @XCHAL_DEBUGCAUSE_ICOUNT_MASK = common local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [12 x i8] c"SingleStep \00", align 1 @XCHAL_DEBUGCAUSE_IBREAK_MASK = common local_unnamed_addr global i32 0, align 4 @.str.13 = private unnamed_addr constant [14 x i8] c"HwBreakpoint \00", align 1 @XCHAL_DEBUGCAUSE_DBREAK_MASK = common local_unnamed_addr global i32 0, align 4 @.str.14 = private unnamed_addr constant [24 x i8] c"Watchpoint 1 triggered \00", align 1 @.str.15 = private unnamed_addr constant [24 x i8] c"Watchpoint 0 triggered \00", align 1 @XCHAL_DEBUGCAUSE_BREAK_MASK = common local_unnamed_addr global i32 0, align 4 @.str.16 = private unnamed_addr constant [13 x i8] c"BREAK instr \00", align 1 @XCHAL_DEBUGCAUSE_BREAKN_MASK = common local_unnamed_addr global i32 0, align 4 @.str.17 = private unnamed_addr constant [14 x i8] c"BREAKN instr \00", align 1 @XCHAL_DEBUGCAUSE_DEBUGINT_MASK = common local_unnamed_addr global i32 0, align 4 @.str.18 = private unnamed_addr constant [11 x i8] c"DebugIntr \00", align 1 @.str.19 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 @TIMER_GROUP_1 = common local_unnamed_addr global i32 0, align 4 @TIMER_INTR_WDT = common local_unnamed_addr global i32 0, align 4 @APPTRACE_ONPANIC_HOST_FLUSH_TMO = common local_unnamed_addr global i32 0, align 4 @CONFIG_ESP32_APPTRACE_POSTMORTEM_FLUSH_THRESH = common local_unnamed_addr global i32 0, align 4 @ESP_APPTRACE_DEST_TRAX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @panicHandler(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @xPortGetCoreID() #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @PANIC_RSN_MAX, align 8, !tbaa !12 %5 = icmp ugt i64 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = getelementptr inbounds [8 x ptr], ptr @__const.panicHandler.reasons, i64 0, i64 %3 %8 = load ptr, ptr %7, align 8, !tbaa !13 br label %9 9: ; preds = %6, %1 %10 = phi ptr [ %8, %6 ], [ @.str, %1 ] %11 = load i64, ptr @PANIC_RSN_INTWDT_CPU0, align 8, !tbaa !12 %12 = icmp eq i64 %3, %11 %13 = icmp eq i32 %2, 1 %14 = select i1 %12, i1 %13, i1 false br i1 %14, label %20, label %15 15: ; preds = %9 %16 = load i64, ptr @PANIC_RSN_INTWDT_CPU1, align 8, !tbaa !12 %17 = icmp eq i64 %3, %16 %18 = icmp eq i32 %2, 0 %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %20, label %22 20: ; preds = %15, %9 store ptr %0, ptr @other_core_frame, align 8, !tbaa !13 br label %21 21: ; preds = %21, %20 br label %21 22: ; preds = %15 %23 = or i1 %12, %17 br i1 %23, label %24, label %27 24: ; preds = %22 %25 = tail call i32 @ets_delay_us(i32 noundef 1) #2 %26 = load i64, ptr %0, align 8, !tbaa !6 br label %27 27: ; preds = %22, %24 %28 = phi i64 [ %3, %22 ], [ %26, %24 ] %29 = load i64, ptr @PANIC_RSN_CACHEERR, align 8, !tbaa !12 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %37 31: ; preds = %27 %32 = tail call i32 @esp_cache_err_get_cpuid() #2 %33 = icmp eq i32 %32, %2 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load i64, ptr %0, align 8, !tbaa !6 br label %37 36: ; preds = %31, %36 br label %36 37: ; preds = %34, %27 %38 = phi i64 [ %35, %34 ], [ %28, %27 ] %39 = load i64, ptr @PANIC_RSN_INTWDT_CPU0, align 8, !tbaa !12 %40 = icmp eq i64 %38, %39 %41 = load i64, ptr @PANIC_RSN_INTWDT_CPU1, align 8 %42 = icmp eq i64 %38, %41 %43 = select i1 %40, i1 true, i1 %42 br i1 %43, label %44, label %47 44: ; preds = %37 %45 = load i32, ptr @ESP_RST_INT_WDT, align 4, !tbaa !15 %46 = tail call i32 @esp_reset_reason_set_hint(i32 noundef %45) #2 br label %47 47: ; preds = %37, %44 %48 = tail call i32 @haltOtherCore() #2 %49 = tail call i32 @esp_dport_access_int_abort() #2 %50 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.8) #2 %51 = tail call i32 @panicPutDec(i32 noundef %2) #2 %52 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.9) #2 %53 = tail call i32 @panicPutStr(ptr noundef %10) #2 %54 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.10) #2 %55 = load i64, ptr %0, align 8, !tbaa !6 %56 = load i64, ptr @PANIC_RSN_DEBUGEXCEPTION, align 8, !tbaa !12 %57 = icmp eq i64 %55, %56 br i1 %57, label %58, label %101 58: ; preds = %47 %59 = tail call i32 asm "rsr.debugcause $0", "=r"() #3, !srcloc !16 %60 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.11) #2 %61 = load i32, ptr @XCHAL_DEBUGCAUSE_ICOUNT_MASK, align 4, !tbaa !15 %62 = and i32 %61, %59 %63 = icmp eq i32 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %58 %65 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.12) #2 br label %66 66: ; preds = %64, %58 %67 = load i32, ptr @XCHAL_DEBUGCAUSE_IBREAK_MASK, align 4, !tbaa !15 %68 = and i32 %67, %59 %69 = icmp eq i32 %68, 0 br i1 %69, label %72, label %70 70: ; preds = %66 %71 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.13) #2 br label %72 72: ; preds = %70, %66 %73 = load i32, ptr @XCHAL_DEBUGCAUSE_DBREAK_MASK, align 4, !tbaa !15 %74 = and i32 %73, %59 %75 = icmp eq i32 %74, 0 br i1 %75, label %81, label %76 76: ; preds = %72 %77 = and i32 %59, 256 %78 = icmp eq i32 %77, 0 %79 = select i1 %78, ptr @.str.15, ptr @.str.14 %80 = tail call i32 @panicPutStr(ptr noundef nonnull %79) #2 br label %81 81: ; preds = %76, %72 %82 = load i32, ptr @XCHAL_DEBUGCAUSE_BREAK_MASK, align 4, !tbaa !15 %83 = and i32 %82, %59 %84 = icmp eq i32 %83, 0 br i1 %84, label %87, label %85 85: ; preds = %81 %86 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.16) #2 br label %87 87: ; preds = %85, %81 %88 = load i32, ptr @XCHAL_DEBUGCAUSE_BREAKN_MASK, align 4, !tbaa !15 %89 = and i32 %88, %59 %90 = icmp eq i32 %89, 0 br i1 %90, label %93, label %91 91: ; preds = %87 %92 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.17) #2 br label %93 93: ; preds = %91, %87 %94 = load i32, ptr @XCHAL_DEBUGCAUSE_DEBUGINT_MASK, align 4, !tbaa !15 %95 = and i32 %94, %59 %96 = icmp eq i32 %95, 0 br i1 %96, label %99, label %97 97: ; preds = %93 %98 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.18) #2 br label %99 99: ; preds = %97, %93 %100 = tail call i32 @panicPutStr(ptr noundef nonnull @.str.19) #2 br label %101 101: ; preds = %99, %47 %102 = tail call i64 @esp_cpu_in_ocd_debug_mode() #2 %103 = icmp eq i64 %102, 0 br i1 %103, label %120, label %104 104: ; preds = %101 %105 = tail call i32 @disableAllWdts() #2 %106 = load i64, ptr %0, align 8, !tbaa !6 %107 = load i64, ptr @PANIC_RSN_INTWDT_CPU0, align 8, !tbaa !12 %108 = icmp eq i64 %106, %107 %109 = load i64, ptr @PANIC_RSN_INTWDT_CPU1, align 8 %110 = icmp eq i64 %106, %109 %111 = select i1 %108, i1 true, i1 %110 br i1 %111, label %112, label %116 112: ; preds = %104 %113 = load i32, ptr @TIMER_GROUP_1, align 4, !tbaa !15 %114 = load i32, ptr @TIMER_INTR_WDT, align 4, !tbaa !15 %115 = tail call i32 @timer_group_clr_intr_sta_in_isr(i32 noundef %113, i32 noundef %114) #2 br label %116 116: ; preds = %104, %112 %117 = getelementptr inbounds i8, ptr %0, i64 8 %118 = load i32, ptr %117, align 8, !tbaa !17 %119 = tail call i32 @setFirstBreakpoint(i32 noundef %118) #2 br label %122 120: ; preds = %101 %121 = tail call i32 @commonErrorHandler(ptr noundef nonnull %0) #2 br label %122 122: ; preds = %120, %116 ret void } declare i32 @xPortGetCoreID(...) local_unnamed_addr #1 declare i32 @ets_delay_us(i32 noundef) local_unnamed_addr #1 declare i32 @esp_cache_err_get_cpuid(...) local_unnamed_addr #1 declare i32 @esp_reset_reason_set_hint(i32 noundef) local_unnamed_addr #1 declare i32 @haltOtherCore(...) local_unnamed_addr #1 declare i32 @esp_dport_access_int_abort(...) local_unnamed_addr #1 declare i32 @panicPutStr(ptr noundef) local_unnamed_addr #1 declare i32 @panicPutDec(i32 noundef) local_unnamed_addr #1 declare i64 @esp_cpu_in_ocd_debug_mode(...) local_unnamed_addr #1 declare i32 @disableAllWdts(...) local_unnamed_addr #1 declare i32 @timer_group_clr_intr_sta_in_isr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setFirstBreakpoint(i32 noundef) local_unnamed_addr #1 declare i32 @commonErrorHandler(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 } attributes #3 = { nounwind memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !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 = !{!14, !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!11, !11, i64 0} !16 = !{i64 4063} !17 = !{!7, !11, i64 8}
esp-idf_components_esp32_extr_panic.c_panicHandler
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress.gen.c_run_other_numbers_add.c' source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress.gen.c_run_other_numbers_add.c" target datalayout = "e-m:e-p270:32:32-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.run = type { i64, i64, i32, ptr } ; Function Attrs: nounwind uwtable define dso_local noundef ptr @run_other_numbers_add(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = add nsw i64 %3, 1 store i64 %4, ptr %0, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.run, ptr %0, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = icmp slt i64 %4, %6 br i1 %7, label %12, label %8 8: ; preds = %2 %9 = tail call i64 @run_other_numbers_expand_to_hold_more(ptr noundef nonnull %0) #2 %10 = icmp slt i64 %9, 0 %11 = load i64, ptr %0, align 8, !tbaa !5 br i1 %10, label %19, label %12 12: ; preds = %8, %2 %13 = phi i64 [ %11, %8 ], [ %4, %2 ] %14 = getelementptr inbounds %struct.run, ptr %0, i64 0, i32 3 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = getelementptr i32, ptr %15, i64 %13 %17 = getelementptr i32, ptr %16, i64 -1 store i32 %1, ptr %17, align 4, !tbaa !14 %18 = getelementptr inbounds %struct.run, ptr %0, i64 0, i32 2 store i32 1, ptr %18, align 8, !tbaa !15 br label %21 19: ; preds = %8 %20 = add nsw i64 %11, -1 store i64 %20, ptr %0, align 8, !tbaa !5 br label %21 21: ; preds = %19, %12 %22 = phi ptr [ null, %19 ], [ %17, %12 ] ret ptr %22 } declare i64 @run_other_numbers_expand_to_hold_more(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 = !{!"run", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !11, i64 24} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress.gen.c_run_other_numbers_add.c' source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress.gen.c_run_other_numbers_add.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @run_other_numbers_add(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = add nsw i64 %3, 1 store i64 %4, ptr %0, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !13 %7 = icmp slt i64 %4, %6 br i1 %7, label %12, label %8 8: ; preds = %2 %9 = tail call i64 @run_other_numbers_expand_to_hold_more(ptr noundef nonnull %0) #2 %10 = icmp slt i64 %9, 0 %11 = load i64, ptr %0, align 8, !tbaa !6 br i1 %10, label %19, label %12 12: ; preds = %8, %2 %13 = phi i64 [ %11, %8 ], [ %4, %2 ] %14 = getelementptr inbounds i8, ptr %0, i64 24 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = getelementptr i32, ptr %15, i64 %13 %17 = getelementptr i8, ptr %16, i64 -4 store i32 %1, ptr %17, align 4, !tbaa !15 %18 = getelementptr inbounds i8, ptr %0, i64 16 store i32 1, ptr %18, align 8, !tbaa !16 br label %21 19: ; preds = %8 %20 = add nsw i64 %11, -1 store i64 %20, ptr %0, align 8, !tbaa !6 br label %21 21: ; preds = %19, %12 %22 = phi ptr [ null, %19 ], [ %17, %12 ] ret ptr %22 } declare i64 @run_other_numbers_expand_to_hold_more(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 = !{!"run", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !12, i64 24} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 16}
freebsd_contrib_libevent_test_extr_regress.gen.c_run_other_numbers_add
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_cpuset.c_fmeter_update.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_cpuset.c_fmeter_update.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fmeter = type { i64, i32, i32 } @FM_MAXTICKS = dso_local local_unnamed_addr global i32 0, align 4 @FM_COEF = dso_local local_unnamed_addr global i32 0, align 4 @FM_SCALE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fmeter_update], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fmeter_update(ptr nocapture noundef %0) #0 { %2 = tail call i64 (...) @get_seconds() #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 br i1 %4, label %54, label %5 5: ; preds = %1 %6 = sub nsw i64 %2, %3 %7 = load i32, ptr @FM_MAXTICKS, align 4, !tbaa !11 %8 = tail call i64 @min(i32 noundef %7, i64 noundef %6) #2 %9 = icmp sgt i64 %8, 0 %10 = load i32, ptr @FM_SCALE, align 4, !tbaa !11 %11 = load i32, ptr @FM_COEF, align 4, !tbaa !11 %12 = getelementptr inbounds %struct.fmeter, ptr %0, i64 0, i32 1 %13 = load i32, ptr %12, align 8, !tbaa !12 br i1 %9, label %14, label %45 14: ; preds = %5 %15 = and i64 %8, 3 %16 = icmp eq i64 %15, 0 br i1 %16, label %26, label %17 17: ; preds = %14, %17 %18 = phi i32 [ %23, %17 ], [ %13, %14 ] %19 = phi i64 [ %21, %17 ], [ %8, %14 ] %20 = phi i64 [ %24, %17 ], [ 0, %14 ] %21 = add nsw i64 %19, -1 %22 = mul nsw i32 %18, %11 %23 = sdiv i32 %22, %10 %24 = add i64 %20, 1 %25 = icmp eq i64 %24, %15 br i1 %25, label %26, label %17, !llvm.loop !13 26: ; preds = %17, %14 %27 = phi i32 [ %13, %14 ], [ %23, %17 ] %28 = phi i64 [ %8, %14 ], [ %21, %17 ] %29 = phi i32 [ undef, %14 ], [ %23, %17 ] %30 = icmp ult i64 %8, 4 br i1 %30, label %45, label %31 31: ; preds = %26, %31 %32 = phi i32 [ %42, %31 ], [ %27, %26 ] %33 = phi i64 [ %40, %31 ], [ %28, %26 ] %34 = mul nsw i32 %32, %11 %35 = sdiv i32 %34, %10 %36 = mul nsw i32 %35, %11 %37 = sdiv i32 %36, %10 %38 = mul nsw i32 %37, %11 %39 = sdiv i32 %38, %10 %40 = add nsw i64 %33, -4 %41 = mul nsw i32 %39, %11 %42 = sdiv i32 %41, %10 %43 = add i64 %33, -5 %44 = icmp ult i64 %43, -2 br i1 %44, label %31, label %45, !llvm.loop !15 45: ; preds = %26, %31, %5 %46 = phi i32 [ %13, %5 ], [ %29, %26 ], [ %42, %31 ] store i64 %2, ptr %0, align 8, !tbaa !5 %47 = sub nsw i32 %10, %11 %48 = getelementptr inbounds %struct.fmeter, ptr %0, i64 0, i32 2 %49 = load i32, ptr %48, align 4, !tbaa !17 %50 = mul nsw i32 %47, %49 %51 = sdiv i32 %50, %10 %52 = getelementptr inbounds %struct.fmeter, ptr %0, i64 0, i32 1 %53 = add nsw i32 %46, %51 store i32 %53, ptr %52, align 8, !tbaa !12 store i32 0, ptr %48, align 4, !tbaa !17 br label %54 54: ; preds = %1, %45 ret void } declare i64 @get_seconds(...) local_unnamed_addr #1 declare i64 @min(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fmeter", !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 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.unroll.disable"} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_cpuset.c_fmeter_update.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_cpuset.c_fmeter_update.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FM_MAXTICKS = common local_unnamed_addr global i32 0, align 4 @FM_COEF = common local_unnamed_addr global i32 0, align 4 @FM_SCALE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fmeter_update], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fmeter_update(ptr nocapture noundef %0) #0 { %2 = tail call i64 @get_seconds() #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 br i1 %4, label %29, label %5 5: ; preds = %1 %6 = sub nsw i64 %2, %3 %7 = load i32, ptr @FM_MAXTICKS, align 4, !tbaa !12 %8 = tail call i64 @min(i32 noundef %7, i64 noundef %6) #2 %9 = icmp sgt i64 %8, 0 %10 = load i32, ptr @FM_SCALE, align 4, !tbaa !12 %11 = load i32, ptr @FM_COEF, align 4, !tbaa !12 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !13 br i1 %9, label %14, label %21 14: ; preds = %5, %14 %15 = phi i32 [ %19, %14 ], [ %13, %5 ] %16 = phi i64 [ %17, %14 ], [ %8, %5 ] %17 = add nsw i64 %16, -1 %18 = mul nsw i32 %15, %11 %19 = sdiv i32 %18, %10 %20 = icmp ugt i64 %16, 1 br i1 %20, label %14, label %21, !llvm.loop !14 21: ; preds = %14, %5 %22 = phi i32 [ %13, %5 ], [ %19, %14 ] store i64 %2, ptr %0, align 8, !tbaa !6 %23 = sub nsw i32 %10, %11 %24 = getelementptr inbounds i8, ptr %0, i64 12 %25 = load i32, ptr %24, align 4, !tbaa !16 %26 = mul nsw i32 %23, %25 %27 = sdiv i32 %26, %10 %28 = add nsw i32 %22, %27 store i32 %28, ptr %12, align 8, !tbaa !13 store i32 0, ptr %24, align 4, !tbaa !16 br label %29 29: ; preds = %1, %21 ret void } declare i64 @get_seconds(...) local_unnamed_addr #1 declare i64 @min(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fmeter", !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 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!7, !11, i64 12}
fastsocket_kernel_kernel_extr_cpuset.c_fmeter_update
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_..btcoexist..wifi.h_rtl_set_rfreg.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_..btcoexist..wifi.h_rtl_set_rfreg.c" target datalayout = "e-m:e-p270:32:32-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 @rtl_set_rfreg], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @rtl_set_rfreg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = tail call i32 %9(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #1 ret void } 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"ieee80211_hw", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"rtl_priv", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_..btcoexist..wifi.h_rtl_set_rfreg.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_..btcoexist..wifi.h_rtl_set_rfreg.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 @rtl_set_rfreg], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @rtl_set_rfreg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = tail call i32 %9(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #1 ret void } 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"ieee80211_hw", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"rtl_priv", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_4__", !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_3__", !8, i64 0}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8723ae_extr_..btcoexist..wifi.h_rtl_set_rfreg
; ModuleID = 'AnghaBench/postgres/src/backend/access/hash/extr_hashutil.c__hash_datum2hashkey_type.c' source_filename = "AnghaBench/postgres/src/backend/access/hash/extr_hashutil.c__hash_datum2hashkey_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.TYPE_4__ = type { ptr, ptr } @HASHSTANDARD_PROC = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"missing support function %d(%u,%u) for index \22%s\22\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @_hash_datum2hashkey_type(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = load i32, ptr @HASHSTANDARD_PROC, align 4, !tbaa !10 %8 = tail call i32 @get_opfamily_proc(i32 noundef %6, i32 noundef %2, i32 noundef %2, i32 noundef %7) #2 %9 = tail call i32 @RegProcedureIsValid(i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = load i32, ptr @ERROR, align 4, !tbaa !10 %13 = load i32, ptr @HASHSTANDARD_PROC, align 4, !tbaa !10 %14 = tail call i32 @RelationGetRelationName(ptr noundef nonnull %0) #2 %15 = tail call i32 @elog(i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %2, i32 noundef %2, i32 noundef %14) #2 br label %16 16: ; preds = %11, %3 %17 = load ptr, ptr %0, align 8, !tbaa !12 %18 = load i32, ptr %17, align 4, !tbaa !10 %19 = tail call i32 @OidFunctionCall1Coll(i32 noundef %8, i32 noundef %18, i32 noundef %1) #2 %20 = tail call i32 @DatumGetUInt32(i32 noundef %19) #2 ret i32 %20 } declare i32 @get_opfamily_proc(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RegProcedureIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RelationGetRelationName(ptr noundef) local_unnamed_addr #1 declare i32 @DatumGetUInt32(i32 noundef) local_unnamed_addr #1 declare i32 @OidFunctionCall1Coll(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_4__", !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, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/access/hash/extr_hashutil.c__hash_datum2hashkey_type.c' source_filename = "AnghaBench/postgres/src/backend/access/hash/extr_hashutil.c__hash_datum2hashkey_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HASHSTANDARD_PROC = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"missing support function %d(%u,%u) for index \22%s\22\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @_hash_datum2hashkey_type(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr @HASHSTANDARD_PROC, align 4, !tbaa !11 %8 = tail call i32 @get_opfamily_proc(i32 noundef %6, i32 noundef %2, i32 noundef %2, i32 noundef %7) #2 %9 = tail call i32 @RegProcedureIsValid(i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = load i32, ptr @ERROR, align 4, !tbaa !11 %13 = load i32, ptr @HASHSTANDARD_PROC, align 4, !tbaa !11 %14 = tail call i32 @RelationGetRelationName(ptr noundef nonnull %0) #2 %15 = tail call i32 @elog(i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %13, i32 noundef %2, i32 noundef %2, i32 noundef %14) #2 br label %16 16: ; preds = %11, %3 %17 = load ptr, ptr %0, align 8, !tbaa !13 %18 = load i32, ptr %17, align 4, !tbaa !11 %19 = tail call i32 @OidFunctionCall1Coll(i32 noundef %8, i32 noundef %18, i32 noundef %1) #2 %20 = tail call i32 @DatumGetUInt32(i32 noundef %19) #2 ret i32 %20 } declare i32 @get_opfamily_proc(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RegProcedureIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RelationGetRelationName(ptr noundef) local_unnamed_addr #1 declare i32 @DatumGetUInt32(i32 noundef) local_unnamed_addr #1 declare i32 @OidFunctionCall1Coll(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_4__", !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, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0}
postgres_src_backend_access_hash_extr_hashutil.c__hash_datum2hashkey_type
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_lex.c_isc_lex_getlasttokentext.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_lex.c_isc_lex_getlasttokentext.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i64, i32 } %struct.TYPE_12__ = type { ptr, i64 } @isc_tokentype_eof = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @isc_lex_getlasttokentext(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = tail call i32 @VALID_LEX(ptr noundef %0) #2 %5 = tail call i32 @REQUIRE(i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call ptr @HEAD(i32 noundef %6) #2 %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 %10 = tail call i32 @REQUIRE(i32 noundef %9) #2 %11 = icmp ne ptr %1, null %12 = zext i1 %11 to i32 %13 = tail call i32 @REQUIRE(i32 noundef %12) #2 %14 = getelementptr inbounds %struct.TYPE_14__, ptr %7, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !10 %16 = tail call i64 @isc_buffer_consumedlength(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %3 %19 = load i64, ptr %1, align 8, !tbaa !13 %20 = load i64, ptr @isc_tokentype_eof, align 8, !tbaa !15 %21 = icmp eq i64 %19, %20 %22 = zext i1 %21 to i32 br label %23 23: ; preds = %18, %3 %24 = phi i32 [ 1, %3 ], [ %22, %18 ] %25 = tail call i32 @REQUIRE(i32 noundef %24) #2 %26 = tail call i32 @UNUSED(ptr noundef %1) #2 %27 = load i64, ptr %7, align 8, !tbaa !16 %28 = load i32, ptr %14, align 8, !tbaa !10 %29 = tail call i64 @isc_buffer_consumedlength(i32 noundef %28) #2 %30 = icmp sle i64 %27, %29 %31 = zext i1 %30 to i32 %32 = tail call i32 @INSIST(i32 noundef %31) #2 %33 = load i32, ptr %14, align 8, !tbaa !10 %34 = tail call i64 @isc_buffer_base(i32 noundef %33) #2 %35 = inttoptr i64 %34 to ptr %36 = load i64, ptr %7, align 8, !tbaa !16 %37 = getelementptr inbounds i8, ptr %35, i64 %36 store ptr %37, ptr %2, align 8, !tbaa !17 %38 = load i32, ptr %14, align 8, !tbaa !10 %39 = tail call i64 @isc_buffer_consumedlength(i32 noundef %38) #2 %40 = load i64, ptr %7, align 8, !tbaa !16 %41 = sub nsw i64 %39, %40 %42 = getelementptr inbounds %struct.TYPE_12__, ptr %2, i64 0, i32 1 store i64 %41, ptr %42, align 8, !tbaa !20 ret void } declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1 declare i32 @VALID_LEX(ptr noundef) local_unnamed_addr #1 declare ptr @HEAD(i32 noundef) local_unnamed_addr #1 declare i64 @isc_buffer_consumedlength(i32 noundef) local_unnamed_addr #1 declare i32 @UNUSED(ptr noundef) local_unnamed_addr #1 declare i32 @INSIST(i32 noundef) local_unnamed_addr #1 declare i64 @isc_buffer_base(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_13__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_14__", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_11__", !12, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 0} !17 = !{!18, !19, i64 0} !18 = !{!"TYPE_12__", !19, i64 0, !12, i64 8} !19 = !{!"any pointer", !8, i64 0} !20 = !{!18, !12, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_lex.c_isc_lex_getlasttokentext.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_lex.c_isc_lex_getlasttokentext.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @isc_tokentype_eof = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @isc_lex_getlasttokentext(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = tail call i32 @VALID_LEX(ptr noundef %0) #2 %5 = tail call i32 @REQUIRE(i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call ptr @HEAD(i32 noundef %6) #2 %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 %10 = tail call i32 @REQUIRE(i32 noundef %9) #2 %11 = icmp ne ptr %1, null %12 = zext i1 %11 to i32 %13 = tail call i32 @REQUIRE(i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %7, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !11 %16 = tail call i64 @isc_buffer_consumedlength(i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %3 %19 = load i64, ptr %1, align 8, !tbaa !14 %20 = load i64, ptr @isc_tokentype_eof, align 8, !tbaa !16 %21 = icmp eq i64 %19, %20 %22 = zext i1 %21 to i32 br label %23 23: ; preds = %18, %3 %24 = phi i32 [ 1, %3 ], [ %22, %18 ] %25 = tail call i32 @REQUIRE(i32 noundef %24) #2 %26 = tail call i32 @UNUSED(ptr noundef %1) #2 %27 = load i64, ptr %7, align 8, !tbaa !17 %28 = load i32, ptr %14, align 8, !tbaa !11 %29 = tail call i64 @isc_buffer_consumedlength(i32 noundef %28) #2 %30 = icmp sle i64 %27, %29 %31 = zext i1 %30 to i32 %32 = tail call i32 @INSIST(i32 noundef %31) #2 %33 = load i32, ptr %14, align 8, !tbaa !11 %34 = tail call i64 @isc_buffer_base(i32 noundef %33) #2 %35 = inttoptr i64 %34 to ptr %36 = load i64, ptr %7, align 8, !tbaa !17 %37 = getelementptr inbounds i8, ptr %35, i64 %36 store ptr %37, ptr %2, align 8, !tbaa !18 %38 = load i32, ptr %14, align 8, !tbaa !11 %39 = tail call i64 @isc_buffer_consumedlength(i32 noundef %38) #2 %40 = load i64, ptr %7, align 8, !tbaa !17 %41 = sub nsw i64 %39, %40 %42 = getelementptr inbounds i8, ptr %2, i64 8 store i64 %41, ptr %42, align 8, !tbaa !21 ret void } declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1 declare i32 @VALID_LEX(ptr noundef) local_unnamed_addr #1 declare ptr @HEAD(i32 noundef) local_unnamed_addr #1 declare i64 @isc_buffer_consumedlength(i32 noundef) local_unnamed_addr #1 declare i32 @UNUSED(ptr noundef) local_unnamed_addr #1 declare i32 @INSIST(i32 noundef) local_unnamed_addr #1 declare i64 @isc_buffer_base(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_13__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"TYPE_14__", !13, i64 0, !8, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_11__", !13, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!12, !13, i64 0} !18 = !{!19, !20, i64 0} !19 = !{!"TYPE_12__", !20, i64 0, !13, i64 8} !20 = !{!"any pointer", !9, i64 0} !21 = !{!19, !13, i64 8}
freebsd_contrib_ntp_lib_isc_extr_lex.c_isc_lex_getlasttokentext
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_at_a2150.c_a2150_get_timing.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_at_a2150.c_a2150_get_timing.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.comedi_device = type { ptr, ptr } %struct.a2150_board = type { ptr, i32 } @CMDF_ROUND_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CLOCK_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @a2150_get_timing], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @a2150_get_timing(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.comedi_device, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %0, align 8, !tbaa !10 %7 = load ptr, ptr %5, align 8, !tbaa !11 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = shl nsw i32 %8, 3 %10 = getelementptr inbounds %struct.a2150_board, ptr %5, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !15 %12 = add nsw i32 %11, -1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %7, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = load i32, ptr %1, align 4, !tbaa !14 %17 = icmp ult i32 %16, %15 %18 = tail call i32 @llvm.umax.i32(i32 %16, i32 %15) %19 = icmp ugt i32 %18, %9 %20 = tail call i32 @llvm.umin.i32(i32 %18, i32 %9) %21 = or i1 %17, %19 br i1 %21, label %22, label %23 22: ; preds = %3 store i32 %20, ptr %1, align 4, !tbaa !14 br label %23 23: ; preds = %3, %22 %24 = load i32, ptr %10, align 8, !tbaa !15 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %198 26: ; preds = %23 %27 = zext nneg i32 %24 to i64 %28 = and i64 %27, 1 %29 = icmp eq i32 %24, 1 br i1 %29, label %74, label %30 30: ; preds = %26 %31 = and i64 %27, 2147483646 br label %32 32: ; preds = %32, %30 %33 = phi i64 [ 0, %30 ], [ %71, %32 ] %34 = phi i32 [ %12, %30 ], [ %70, %32 ] %35 = phi i32 [ 0, %30 ], [ %64, %32 ] %36 = phi i32 [ 3, %30 ], [ %63, %32 ] %37 = phi i32 [ %9, %30 ], [ %61, %32 ] %38 = phi i32 [ %15, %30 ], [ %69, %32 ] %39 = phi i64 [ 0, %30 ], [ %72, %32 ] %40 = getelementptr inbounds i32, ptr %7, i64 %33 %41 = load i32, ptr %40, align 4, !tbaa !14 %42 = icmp sge i32 %41, %37 %43 = icmp ult i32 %41, %20 %44 = or i1 %42, %43 %45 = trunc i64 %33 to i32 %46 = select i1 %44, i32 %37, i32 %41 %47 = select i1 %44, i32 %35, i32 %45 %48 = icmp sle i32 %41, %38 %49 = icmp ugt i32 %41, %20 %50 = or i1 %48, %49 %51 = trunc i64 %33 to i32 %52 = select i1 %50, i32 %38, i32 %41 %53 = select i1 %50, i32 %34, i32 %51 %54 = or disjoint i64 %33, 1 %55 = getelementptr inbounds i32, ptr %7, i64 %54 %56 = load i32, ptr %55, align 4, !tbaa !14 %57 = icmp sge i32 %56, %46 %58 = icmp ult i32 %56, %20 %59 = or i1 %57, %58 %60 = trunc i64 %54 to i32 %61 = select i1 %59, i32 %46, i32 %56 %62 = select i1 %59, i1 %44, i1 false %63 = select i1 %62, i32 %36, i32 0 %64 = select i1 %59, i32 %47, i32 %60 %65 = icmp sle i32 %56, %52 %66 = icmp ugt i32 %56, %20 %67 = or i1 %65, %66 %68 = trunc i64 %54 to i32 %69 = select i1 %67, i32 %52, i32 %56 %70 = select i1 %67, i32 %53, i32 %68 %71 = add nuw nsw i64 %33, 2 %72 = add i64 %39, 2 %73 = icmp eq i64 %72, %31 br i1 %73, label %74, label %32, !llvm.loop !16 74: ; preds = %32, %26 %75 = phi i32 [ undef, %26 ], [ %61, %32 ] %76 = phi i32 [ undef, %26 ], [ %63, %32 ] %77 = phi i32 [ undef, %26 ], [ %64, %32 ] %78 = phi i32 [ undef, %26 ], [ %69, %32 ] %79 = phi i32 [ undef, %26 ], [ %70, %32 ] %80 = phi i64 [ 0, %26 ], [ %71, %32 ] %81 = phi i32 [ %12, %26 ], [ %70, %32 ] %82 = phi i32 [ 0, %26 ], [ %64, %32 ] %83 = phi i32 [ 3, %26 ], [ %63, %32 ] %84 = phi i32 [ %9, %26 ], [ %61, %32 ] %85 = phi i32 [ %15, %26 ], [ %69, %32 ] %86 = icmp eq i64 %28, 0 br i1 %86, label %103, label %87 87: ; preds = %74 %88 = getelementptr inbounds i32, ptr %7, i64 %80 %89 = load i32, ptr %88, align 4, !tbaa !14 %90 = icmp sge i32 %89, %84 %91 = icmp ult i32 %89, %20 %92 = or i1 %90, %91 %93 = trunc i64 %80 to i32 %94 = select i1 %92, i32 %84, i32 %89 %95 = select i1 %92, i32 %83, i32 0 %96 = select i1 %92, i32 %82, i32 %93 %97 = icmp sle i32 %89, %85 %98 = icmp ugt i32 %89, %20 %99 = or i1 %97, %98 %100 = trunc i64 %80 to i32 %101 = select i1 %99, i32 %85, i32 %89 %102 = select i1 %99, i32 %81, i32 %100 br label %103 103: ; preds = %74, %87 %104 = phi i32 [ %75, %74 ], [ %94, %87 ] %105 = phi i32 [ %76, %74 ], [ %95, %87 ] %106 = phi i32 [ %77, %74 ], [ %96, %87 ] %107 = phi i32 [ %78, %74 ], [ %101, %87 ] %108 = phi i32 [ %79, %74 ], [ %102, %87 ] br i1 %25, label %109, label %198 109: ; preds = %103 %110 = zext nneg i32 %24 to i64 br label %111 111: ; preds = %111, %109 %112 = phi i64 [ 0, %109 ], [ %136, %111 ] %113 = phi i32 [ %108, %109 ], [ %135, %111 ] %114 = phi i32 [ 0, %109 ], [ %134, %111 ] %115 = phi i32 [ %106, %109 ], [ %128, %111 ] %116 = phi i32 [ %105, %109 ], [ %127, %111 ] %117 = phi i32 [ %104, %109 ], [ %126, %111 ] %118 = phi i32 [ %107, %109 ], [ %133, %111 ] %119 = getelementptr inbounds i32, ptr %7, i64 %112 %120 = load i32, ptr %119, align 4, !tbaa !14 %121 = shl nsw i32 %120, 1 %122 = icmp sge i32 %121, %117 %123 = icmp ult i32 %121, %20 %124 = or i1 %122, %123 %125 = trunc i64 %112 to i32 %126 = select i1 %124, i32 %117, i32 %121 %127 = select i1 %124, i32 %116, i32 1 %128 = select i1 %124, i32 %115, i32 %125 %129 = icmp sle i32 %121, %118 %130 = icmp ugt i32 %121, %20 %131 = or i1 %129, %130 %132 = trunc i64 %112 to i32 %133 = select i1 %131, i32 %118, i32 %121 %134 = select i1 %131, i32 %114, i32 1 %135 = select i1 %131, i32 %113, i32 %132 %136 = add nuw nsw i64 %112, 1 %137 = icmp eq i64 %136, %110 br i1 %137, label %138, label %111, !llvm.loop !16 138: ; preds = %111 br i1 %25, label %139, label %198 139: ; preds = %138 %140 = zext nneg i32 %24 to i64 br label %141 141: ; preds = %141, %139 %142 = phi i64 [ 0, %139 ], [ %166, %141 ] %143 = phi i32 [ %135, %139 ], [ %165, %141 ] %144 = phi i32 [ %134, %139 ], [ %164, %141 ] %145 = phi i32 [ %128, %139 ], [ %158, %141 ] %146 = phi i32 [ %127, %139 ], [ %157, %141 ] %147 = phi i32 [ %126, %139 ], [ %156, %141 ] %148 = phi i32 [ %133, %139 ], [ %163, %141 ] %149 = getelementptr inbounds i32, ptr %7, i64 %142 %150 = load i32, ptr %149, align 4, !tbaa !14 %151 = shl nsw i32 %150, 2 %152 = icmp sge i32 %151, %147 %153 = icmp ult i32 %151, %20 %154 = or i1 %152, %153 %155 = trunc i64 %142 to i32 %156 = select i1 %154, i32 %147, i32 %151 %157 = select i1 %154, i32 %146, i32 2 %158 = select i1 %154, i32 %145, i32 %155 %159 = icmp sle i32 %151, %148 %160 = icmp ugt i32 %151, %20 %161 = or i1 %159, %160 %162 = trunc i64 %142 to i32 %163 = select i1 %161, i32 %148, i32 %151 %164 = select i1 %161, i32 %144, i32 2 %165 = select i1 %161, i32 %143, i32 %162 %166 = add nuw nsw i64 %142, 1 %167 = icmp eq i64 %166, %140 br i1 %167, label %168, label %141, !llvm.loop !16 168: ; preds = %141 br i1 %25, label %169, label %198 169: ; preds = %168 %170 = zext nneg i32 %24 to i64 br label %171 171: ; preds = %171, %169 %172 = phi i64 [ 0, %169 ], [ %196, %171 ] %173 = phi i32 [ %165, %169 ], [ %195, %171 ] %174 = phi i32 [ %164, %169 ], [ %194, %171 ] %175 = phi i32 [ %158, %169 ], [ %188, %171 ] %176 = phi i32 [ %157, %169 ], [ %187, %171 ] %177 = phi i32 [ %156, %169 ], [ %186, %171 ] %178 = phi i32 [ %163, %169 ], [ %193, %171 ] %179 = getelementptr inbounds i32, ptr %7, i64 %172 %180 = load i32, ptr %179, align 4, !tbaa !14 %181 = shl nsw i32 %180, 3 %182 = icmp sge i32 %181, %177 %183 = icmp ult i32 %181, %20 %184 = or i1 %182, %183 %185 = trunc i64 %172 to i32 %186 = select i1 %184, i32 %177, i32 %181 %187 = select i1 %184, i32 %176, i32 3 %188 = select i1 %184, i32 %175, i32 %185 %189 = icmp sle i32 %181, %178 %190 = icmp ugt i32 %181, %20 %191 = or i1 %189, %190 %192 = trunc i64 %172 to i32 %193 = select i1 %191, i32 %178, i32 %181 %194 = select i1 %191, i32 %174, i32 3 %195 = select i1 %191, i32 %173, i32 %192 %196 = add nuw nsw i64 %172, 1 %197 = icmp eq i64 %196, %170 br i1 %197, label %198, label %171, !llvm.loop !16 198: ; preds = %171, %23, %103, %138, %168 %199 = phi i32 [ %163, %168 ], [ %133, %138 ], [ %107, %103 ], [ %15, %23 ], [ %193, %171 ] %200 = phi i32 [ %156, %168 ], [ %126, %138 ], [ %104, %103 ], [ %9, %23 ], [ %186, %171 ] %201 = phi i32 [ %157, %168 ], [ %127, %138 ], [ %105, %103 ], [ 3, %23 ], [ %187, %171 ] %202 = phi i32 [ %158, %168 ], [ %128, %138 ], [ %106, %103 ], [ 0, %23 ], [ %188, %171 ] %203 = phi i32 [ %164, %168 ], [ %134, %138 ], [ 0, %103 ], [ 0, %23 ], [ %194, %171 ] %204 = phi i32 [ %165, %168 ], [ %135, %138 ], [ %108, %103 ], [ %12, %23 ], [ %195, %171 ] %205 = load i32, ptr @CMDF_ROUND_MASK, align 4, !tbaa !14 %206 = and i32 %205, %2 switch i32 %206, label %207 [ i32 130, label %212 i32 128, label %213 ] 207: ; preds = %198 %208 = sub i32 %200, %20 %209 = sub i32 %20, %199 %210 = icmp ult i32 %208, %209 %211 = select i1 %210, i32 %200, i32 %199 br label %213 212: ; preds = %198 br label %213 213: ; preds = %198, %207, %212 %214 = phi i32 [ %199, %212 ], [ %211, %207 ], [ %200, %198 ] store i32 %214, ptr %1, align 4, !tbaa !14 %215 = load i32, ptr @CLOCK_MASK, align 4, !tbaa !14 %216 = xor i32 %215, -1 %217 = load i32, ptr %6, align 4, !tbaa !18 %218 = and i32 %217, %216 store i32 %218, ptr %6, align 4, !tbaa !18 %219 = load i32, ptr %1, align 4, !tbaa !14 %220 = icmp eq i32 %219, %200 %221 = select i1 %220, i32 %202, i32 %204 %222 = select i1 %220, i32 %201, i32 %203 %223 = tail call i32 @CLOCK_SELECT_BITS(i32 noundef %221) #3 %224 = tail call i32 @CLOCK_DIVISOR_BITS(i32 noundef %222) #3 %225 = or i32 %224, %223 %226 = load i32, ptr %6, align 4, !tbaa !18 %227 = or i32 %225, %226 store i32 %227, ptr %6, align 4, !tbaa !18 ret i32 0 } declare i32 @CLOCK_SELECT_BITS(i32 noundef) local_unnamed_addr #1 declare i32 @CLOCK_DIVISOR_BITS(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"comedi_device", !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} !11 = !{!12, !7, i64 0} !12 = !{!"a2150_board", !7, i64 0, !13, i64 8} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!19, !13, i64 0} !19 = !{!"a2150_private", !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_at_a2150.c_a2150_get_timing.c' source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_at_a2150.c_a2150_get_timing.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CMDF_ROUND_MASK = common local_unnamed_addr global i32 0, align 4 @CLOCK_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @a2150_get_timing], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @a2150_get_timing(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %0, align 8, !tbaa !11 %7 = load ptr, ptr %5, align 8, !tbaa !12 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = shl nsw i32 %8, 3 %10 = getelementptr inbounds i8, ptr %5, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !16 %12 = add nsw i32 %11, -1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %7, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = load i32, ptr %1, align 4, !tbaa !15 %17 = icmp ult i32 %16, %15 %18 = tail call i32 @llvm.umax.i32(i32 %16, i32 %15) %19 = icmp ugt i32 %18, %9 %20 = tail call i32 @llvm.umin.i32(i32 %18, i32 %9) %21 = or i1 %17, %19 br i1 %21, label %22, label %23 22: ; preds = %3 store i32 %20, ptr %1, align 4, !tbaa !15 br label %23 23: ; preds = %3, %22 %24 = load i32, ptr %10, align 8, !tbaa !16 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %129 26: ; preds = %23 %27 = zext nneg i32 %24 to i64 br label %28 28: ; preds = %26, %28 %29 = phi i64 [ 0, %26 ], [ %49, %28 ] %30 = phi i32 [ %12, %26 ], [ %48, %28 ] %31 = phi i32 [ 0, %26 ], [ %43, %28 ] %32 = phi i32 [ 3, %26 ], [ %42, %28 ] %33 = phi i32 [ %9, %26 ], [ %41, %28 ] %34 = phi i32 [ %15, %26 ], [ %47, %28 ] %35 = getelementptr inbounds i32, ptr %7, i64 %29 %36 = load i32, ptr %35, align 4, !tbaa !15 %37 = icmp sge i32 %36, %33 %38 = icmp ult i32 %36, %20 %39 = or i1 %37, %38 %40 = trunc nuw nsw i64 %29 to i32 %41 = select i1 %39, i32 %33, i32 %36 %42 = select i1 %39, i32 %32, i32 0 %43 = select i1 %39, i32 %31, i32 %40 %44 = icmp sle i32 %36, %34 %45 = icmp ugt i32 %36, %20 %46 = or i1 %44, %45 %47 = select i1 %46, i32 %34, i32 %36 %48 = select i1 %46, i32 %30, i32 %40 %49 = add nuw nsw i64 %29, 1 %50 = icmp eq i64 %49, %27 br i1 %50, label %51, label %28, !llvm.loop !17 51: ; preds = %28, %51 %52 = phi i64 [ %75, %51 ], [ 0, %28 ] %53 = phi i32 [ %74, %51 ], [ %48, %28 ] %54 = phi i32 [ %73, %51 ], [ 0, %28 ] %55 = phi i32 [ %68, %51 ], [ %43, %28 ] %56 = phi i32 [ %67, %51 ], [ %42, %28 ] %57 = phi i32 [ %66, %51 ], [ %41, %28 ] %58 = phi i32 [ %72, %51 ], [ %47, %28 ] %59 = getelementptr inbounds i32, ptr %7, i64 %52 %60 = load i32, ptr %59, align 4, !tbaa !15 %61 = shl nsw i32 %60, 1 %62 = icmp sge i32 %61, %57 %63 = icmp ult i32 %61, %20 %64 = or i1 %62, %63 %65 = trunc nuw nsw i64 %52 to i32 %66 = select i1 %64, i32 %57, i32 %61 %67 = select i1 %64, i32 %56, i32 1 %68 = select i1 %64, i32 %55, i32 %65 %69 = icmp sle i32 %61, %58 %70 = icmp ugt i32 %61, %20 %71 = or i1 %69, %70 %72 = select i1 %71, i32 %58, i32 %61 %73 = select i1 %71, i32 %54, i32 1 %74 = select i1 %71, i32 %53, i32 %65 %75 = add nuw nsw i64 %52, 1 %76 = icmp eq i64 %75, %27 br i1 %76, label %77, label %51, !llvm.loop !17 77: ; preds = %51, %77 %78 = phi i64 [ %101, %77 ], [ 0, %51 ] %79 = phi i32 [ %100, %77 ], [ %74, %51 ] %80 = phi i32 [ %99, %77 ], [ %73, %51 ] %81 = phi i32 [ %94, %77 ], [ %68, %51 ] %82 = phi i32 [ %93, %77 ], [ %67, %51 ] %83 = phi i32 [ %92, %77 ], [ %66, %51 ] %84 = phi i32 [ %98, %77 ], [ %72, %51 ] %85 = getelementptr inbounds i32, ptr %7, i64 %78 %86 = load i32, ptr %85, align 4, !tbaa !15 %87 = shl nsw i32 %86, 2 %88 = icmp sge i32 %87, %83 %89 = icmp ult i32 %87, %20 %90 = or i1 %88, %89 %91 = trunc nuw nsw i64 %78 to i32 %92 = select i1 %90, i32 %83, i32 %87 %93 = select i1 %90, i32 %82, i32 2 %94 = select i1 %90, i32 %81, i32 %91 %95 = icmp sle i32 %87, %84 %96 = icmp ugt i32 %87, %20 %97 = or i1 %95, %96 %98 = select i1 %97, i32 %84, i32 %87 %99 = select i1 %97, i32 %80, i32 2 %100 = select i1 %97, i32 %79, i32 %91 %101 = add nuw nsw i64 %78, 1 %102 = icmp eq i64 %101, %27 br i1 %102, label %103, label %77, !llvm.loop !17 103: ; preds = %77, %103 %104 = phi i64 [ %127, %103 ], [ 0, %77 ] %105 = phi i32 [ %126, %103 ], [ %100, %77 ] %106 = phi i32 [ %125, %103 ], [ %99, %77 ] %107 = phi i32 [ %120, %103 ], [ %94, %77 ] %108 = phi i32 [ %119, %103 ], [ %93, %77 ] %109 = phi i32 [ %118, %103 ], [ %92, %77 ] %110 = phi i32 [ %124, %103 ], [ %98, %77 ] %111 = getelementptr inbounds i32, ptr %7, i64 %104 %112 = load i32, ptr %111, align 4, !tbaa !15 %113 = shl nsw i32 %112, 3 %114 = icmp sge i32 %113, %109 %115 = icmp ult i32 %113, %20 %116 = or i1 %114, %115 %117 = trunc nuw nsw i64 %104 to i32 %118 = select i1 %116, i32 %109, i32 %113 %119 = select i1 %116, i32 %108, i32 3 %120 = select i1 %116, i32 %107, i32 %117 %121 = icmp sle i32 %113, %110 %122 = icmp ugt i32 %113, %20 %123 = or i1 %121, %122 %124 = select i1 %123, i32 %110, i32 %113 %125 = select i1 %123, i32 %106, i32 3 %126 = select i1 %123, i32 %105, i32 %117 %127 = add nuw nsw i64 %104, 1 %128 = icmp eq i64 %127, %27 br i1 %128, label %129, label %103, !llvm.loop !17 129: ; preds = %103, %23 %130 = phi i32 [ %15, %23 ], [ %124, %103 ] %131 = phi i32 [ %9, %23 ], [ %118, %103 ] %132 = phi i32 [ 3, %23 ], [ %119, %103 ] %133 = phi i32 [ 0, %23 ], [ %120, %103 ] %134 = phi i32 [ 0, %23 ], [ %125, %103 ] %135 = phi i32 [ %12, %23 ], [ %126, %103 ] %136 = load i32, ptr @CMDF_ROUND_MASK, align 4, !tbaa !15 %137 = and i32 %136, %2 switch i32 %137, label %138 [ i32 130, label %143 i32 128, label %144 ] 138: ; preds = %129 %139 = sub i32 %131, %20 %140 = sub i32 %20, %130 %141 = icmp ult i32 %139, %140 %142 = select i1 %141, i32 %131, i32 %130 br label %144 143: ; preds = %129 br label %144 144: ; preds = %129, %138, %143 %145 = phi i32 [ %130, %143 ], [ %142, %138 ], [ %131, %129 ] store i32 %145, ptr %1, align 4, !tbaa !15 %146 = load i32, ptr @CLOCK_MASK, align 4, !tbaa !15 %147 = xor i32 %146, -1 %148 = load i32, ptr %6, align 4, !tbaa !19 %149 = and i32 %148, %147 store i32 %149, ptr %6, align 4, !tbaa !19 %150 = load i32, ptr %1, align 4, !tbaa !15 %151 = icmp eq i32 %150, %131 %152 = select i1 %151, i32 %133, i32 %135 %153 = select i1 %151, i32 %132, i32 %134 %154 = tail call i32 @CLOCK_SELECT_BITS(i32 noundef %152) #3 %155 = tail call i32 @CLOCK_DIVISOR_BITS(i32 noundef %153) #3 %156 = or i32 %155, %154 %157 = load i32, ptr %6, align 4, !tbaa !19 %158 = or i32 %156, %157 store i32 %158, ptr %6, align 4, !tbaa !19 ret i32 0 } declare i32 @CLOCK_SELECT_BITS(i32 noundef) local_unnamed_addr #1 declare i32 @CLOCK_DIVISOR_BITS(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"comedi_device", !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} !12 = !{!13, !8, i64 0} !13 = !{!"a2150_board", !8, i64 0, !14, i64 8} !14 = !{!"int", !9, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!20, !14, i64 0} !20 = !{!"a2150_private", !14, i64 0}
linux_drivers_staging_comedi_drivers_extr_ni_at_a2150.c_a2150_get_timing
; ModuleID = 'AnghaBench/RetroArch/libretro-common/net/extr_net_socket_ssl.c_ssl_debug.c' source_filename = "AnghaBench/RetroArch/libretro-common/net/extr_net_socket_ssl.c_ssl_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 [12 x i8] c"%s:%04d: %s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ssl_debug], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ssl_debug(ptr noundef %0, i32 %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = tail call i32 @mbedtls_fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %3, ptr noundef %4) #3 %7 = tail call i32 @fflush(ptr noundef %0) ret void } declare i32 @mbedtls_fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @fflush(ptr nocapture 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/RetroArch/libretro-common/net/extr_net_socket_ssl.c_ssl_debug.c' source_filename = "AnghaBench/RetroArch/libretro-common/net/extr_net_socket_ssl.c_ssl_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 [12 x i8] c"%s:%04d: %s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ssl_debug], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ssl_debug(ptr noundef %0, i32 %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = tail call i32 @mbedtls_fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %3, ptr noundef %4) #3 %7 = tail call i32 @fflush(ptr noundef %0) ret void } declare i32 @mbedtls_fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @fflush(ptr nocapture 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
RetroArch_libretro-common_net_extr_net_socket_ssl.c_ssl_debug
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_pcidio.c_pci_6534_upload_firmware.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_pcidio.c_pci_6534_upload_firmware.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @COMEDI_DEVCONF_AUX_DATA_LENGTH = dso_local local_unnamed_addr global i64 0, align 8 @COMEDI_DEVCONF_AUX_DATA0_LENGTH = dso_local local_unnamed_addr global i64 0, align 8 @COMEDI_DEVCONF_AUX_DATA1_LENGTH = dso_local local_unnamed_addr global i64 0, align 8 @COMEDI_DEVCONF_AUX_DATA2_LENGTH = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @pci_6534_upload_firmware], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pci_6534_upload_firmware(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr @COMEDI_DEVCONF_AUX_DATA_LENGTH, align 8, !tbaa !5 %4 = getelementptr inbounds i32, ptr %1, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !9 %6 = icmp eq i32 %5, 0 br i1 %6, label %32, label %7 7: ; preds = %2 %8 = tail call i32 @pci_6534_reset_fpgas(ptr noundef %0) #3 %9 = icmp slt i32 %8, 0 br i1 %9, label %32, label %10 10: ; preds = %7 %11 = tail call ptr @comedi_aux_data(ptr noundef nonnull %1, i32 noundef 0) #3 %12 = load i64, ptr @COMEDI_DEVCONF_AUX_DATA0_LENGTH, align 8, !tbaa !5 %13 = getelementptr inbounds i32, ptr %1, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !9 %15 = tail call i32 @pci_6534_load_fpga(ptr noundef %0, i32 noundef 2, ptr noundef %11, i32 noundef %14) #3 %16 = icmp slt i32 %15, 0 br i1 %16, label %32, label %17 17: ; preds = %10 %18 = tail call i32 @pci_6534_init_main_fpga(ptr noundef %0) #3 %19 = tail call ptr @comedi_aux_data(ptr noundef nonnull %1, i32 noundef 1) #3 %20 = load i64, ptr @COMEDI_DEVCONF_AUX_DATA1_LENGTH, align 8, !tbaa !5 %21 = getelementptr inbounds i32, ptr %1, i64 %20 %22 = load i32, ptr %21, align 4, !tbaa !9 %23 = tail call i32 @pci_6534_load_fpga(ptr noundef %0, i32 noundef 0, ptr noundef %19, i32 noundef %22) #3 %24 = icmp slt i32 %23, 0 br i1 %24, label %32, label %25 25: ; preds = %17 %26 = tail call ptr @comedi_aux_data(ptr noundef nonnull %1, i32 noundef 2) #3 %27 = load i64, ptr @COMEDI_DEVCONF_AUX_DATA2_LENGTH, align 8, !tbaa !5 %28 = getelementptr inbounds i32, ptr %1, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !9 %30 = tail call i32 @pci_6534_load_fpga(ptr noundef %0, i32 noundef 1, ptr noundef %26, i32 noundef %29) #3 %31 = tail call i32 @llvm.smin.i32(i32 %30, i32 0) br label %32 32: ; preds = %25, %17, %10, %7, %2 %33 = phi i32 [ 0, %2 ], [ %8, %7 ], [ %15, %10 ], [ %23, %17 ], [ %31, %25 ] ret i32 %33 } declare i32 @pci_6534_reset_fpgas(ptr noundef) local_unnamed_addr #1 declare ptr @comedi_aux_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_6534_load_fpga(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_6534_init_main_fpga(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_pcidio.c_pci_6534_upload_firmware.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_pcidio.c_pci_6534_upload_firmware.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @COMEDI_DEVCONF_AUX_DATA_LENGTH = common local_unnamed_addr global i64 0, align 8 @COMEDI_DEVCONF_AUX_DATA0_LENGTH = common local_unnamed_addr global i64 0, align 8 @COMEDI_DEVCONF_AUX_DATA1_LENGTH = common local_unnamed_addr global i64 0, align 8 @COMEDI_DEVCONF_AUX_DATA2_LENGTH = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @pci_6534_upload_firmware], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @pci_6534_upload_firmware(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr @COMEDI_DEVCONF_AUX_DATA_LENGTH, align 8, !tbaa !6 %4 = getelementptr inbounds i32, ptr %1, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = icmp eq i32 %5, 0 br i1 %6, label %32, label %7 7: ; preds = %2 %8 = tail call i32 @pci_6534_reset_fpgas(ptr noundef %0) #3 %9 = icmp slt i32 %8, 0 br i1 %9, label %32, label %10 10: ; preds = %7 %11 = tail call ptr @comedi_aux_data(ptr noundef nonnull %1, i32 noundef 0) #3 %12 = load i64, ptr @COMEDI_DEVCONF_AUX_DATA0_LENGTH, align 8, !tbaa !6 %13 = getelementptr inbounds i32, ptr %1, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !10 %15 = tail call i32 @pci_6534_load_fpga(ptr noundef %0, i32 noundef 2, ptr noundef %11, i32 noundef %14) #3 %16 = icmp slt i32 %15, 0 br i1 %16, label %32, label %17 17: ; preds = %10 %18 = tail call i32 @pci_6534_init_main_fpga(ptr noundef %0) #3 %19 = tail call ptr @comedi_aux_data(ptr noundef nonnull %1, i32 noundef 1) #3 %20 = load i64, ptr @COMEDI_DEVCONF_AUX_DATA1_LENGTH, align 8, !tbaa !6 %21 = getelementptr inbounds i32, ptr %1, i64 %20 %22 = load i32, ptr %21, align 4, !tbaa !10 %23 = tail call i32 @pci_6534_load_fpga(ptr noundef %0, i32 noundef 0, ptr noundef %19, i32 noundef %22) #3 %24 = icmp slt i32 %23, 0 br i1 %24, label %32, label %25 25: ; preds = %17 %26 = tail call ptr @comedi_aux_data(ptr noundef nonnull %1, i32 noundef 2) #3 %27 = load i64, ptr @COMEDI_DEVCONF_AUX_DATA2_LENGTH, align 8, !tbaa !6 %28 = getelementptr inbounds i32, ptr %1, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !10 %30 = tail call i32 @pci_6534_load_fpga(ptr noundef %0, i32 noundef 1, ptr noundef %26, i32 noundef %29) #3 %31 = tail call i32 @llvm.smin.i32(i32 %30, i32 0) br label %32 32: ; preds = %25, %17, %10, %7, %2 %33 = phi i32 [ 0, %2 ], [ %8, %7 ], [ %15, %10 ], [ %23, %17 ], [ %31, %25 ] ret i32 %33 } declare i32 @pci_6534_reset_fpgas(ptr noundef) local_unnamed_addr #1 declare ptr @comedi_aux_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_6534_load_fpga(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_6534_init_main_fpga(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_ni_pcidio.c_pci_6534_upload_firmware
; ModuleID = 'AnghaBench/git/extr_graph.c_find_new_column_by_commit.c' source_filename = "AnghaBench/git/extr_graph.c_find_new_column_by_commit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.git_graph = type { i32, ptr } %struct.column = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @find_new_column_by_commit], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal ptr @find_new_column_by_commit(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %19 5: ; preds = %2 %6 = getelementptr inbounds %struct.git_graph, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = zext nneg i32 %3 to i64 br label %12 9: ; preds = %12 %10 = add nuw nsw i64 %13, 1 %11 = icmp eq i64 %10, %8 br i1 %11, label %19, label %12, !llvm.loop !12 12: ; preds = %5, %9 %13 = phi i64 [ 0, %5 ], [ %10, %9 ] %14 = getelementptr inbounds %struct.column, ptr %7, i64 %13 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = icmp eq ptr %15, %1 br i1 %16, label %17, label %9 17: ; preds = %12 %18 = getelementptr inbounds %struct.column, ptr %7, i64 %13 br label %19 19: ; preds = %9, %17, %2 %20 = phi ptr [ null, %2 ], [ %18, %17 ], [ null, %9 ] ret ptr %20 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"git_graph", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !10, i64 0} !15 = !{!"column", !10, i64 0}
; ModuleID = 'AnghaBench/git/extr_graph.c_find_new_column_by_commit.c' source_filename = "AnghaBench/git/extr_graph.c_find_new_column_by_commit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.column = type { ptr } @llvm.used = appending global [1 x ptr] [ptr @find_new_column_by_commit], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @find_new_column_by_commit(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %19 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = zext nneg i32 %3 to i64 br label %12 9: ; preds = %12 %10 = add nuw nsw i64 %13, 1 %11 = icmp eq i64 %10, %8 br i1 %11, label %19, label %12, !llvm.loop !13 12: ; preds = %5, %9 %13 = phi i64 [ 0, %5 ], [ %10, %9 ] %14 = getelementptr inbounds %struct.column, ptr %7, i64 %13 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = icmp eq ptr %15, %1 br i1 %16, label %17, label %9 17: ; preds = %12 %18 = getelementptr inbounds %struct.column, ptr %7, i64 %13 br label %19 19: ; preds = %17, %9, %2 %20 = phi ptr [ null, %2 ], [ %18, %17 ], [ null, %9 ] ret ptr %20 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"git_graph", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !11, i64 0} !16 = !{!"column", !11, i64 0}
git_extr_graph.c_find_new_column_by_commit
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tty3270.c_tty3270_ioctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tty3270.c_tty3270_ioctl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tty_struct = type { i32, ptr } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @TTY_IO_ERROR = 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 @tty3270_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tty3270_ioctl(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds %struct.tty_struct, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr @ENODEV, align 4, !tbaa !11 %10 = sub nsw i32 0, %9 br label %23 11: ; preds = %4 %12 = load i32, ptr %0, align 8, !tbaa !12 %13 = load i32, ptr @TTY_IO_ERROR, align 4, !tbaa !11 %14 = shl nuw i32 1, %13 %15 = and i32 %14, %12 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %11 %18 = load i32, ptr @EIO, align 4, !tbaa !11 %19 = sub nsw i32 0, %18 br label %23 20: ; preds = %11 %21 = load i32, ptr %6, align 4, !tbaa !13 %22 = tail call i32 @kbd_ioctl(i32 noundef %21, ptr noundef %1, i32 noundef %2, i64 noundef %3) #2 br label %23 23: ; preds = %20, %17, %8 %24 = phi i32 [ %19, %17 ], [ %22, %20 ], [ %10, %8 ] ret i32 %24 } declare i32 @kbd_ioctl(i32 noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"tty_struct", !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 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"tty3270", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tty3270.c_tty3270_ioctl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tty3270.c_tty3270_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @TTY_IO_ERROR = 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 @tty3270_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tty3270_ioctl(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i32, ptr @ENODEV, align 4, !tbaa !12 %10 = sub nsw i32 0, %9 br label %23 11: ; preds = %4 %12 = load i32, ptr %0, align 8, !tbaa !13 %13 = load i32, ptr @TTY_IO_ERROR, align 4, !tbaa !12 %14 = shl nuw i32 1, %13 %15 = and i32 %14, %12 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %11 %18 = load i32, ptr @EIO, align 4, !tbaa !12 %19 = sub nsw i32 0, %18 br label %23 20: ; preds = %11 %21 = load i32, ptr %6, align 4, !tbaa !14 %22 = tail call i32 @kbd_ioctl(i32 noundef %21, ptr noundef %1, i32 noundef %2, i64 noundef %3) #2 br label %23 23: ; preds = %20, %17, %8 %24 = phi i32 [ %19, %17 ], [ %22, %20 ], [ %10, %8 ] ret i32 %24 } declare i32 @kbd_ioctl(i32 noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"tty_struct", !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 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"tty3270", !8, i64 0}
fastsocket_kernel_drivers_s390_char_extr_tty3270.c_tty3270_ioctl
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_seek_handler_checksum.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_seek_handler_checksum.c" target datalayout = "e-m:e-p270:32:32-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.checksum_stream_baton = type { i32, i64, i64 } @SVN_ERR_STREAM_SEEK_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @seek_handler_checksum], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @seek_handler_checksum(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %7, label %4 4: ; preds = %2 %5 = load i32, ptr @SVN_ERR_STREAM_SEEK_NOT_SUPPORTED, align 4, !tbaa !5 %6 = tail call ptr @svn_error_create(i32 noundef %5, ptr noundef null, ptr noundef null) #2 br label %24 7: ; preds = %2 %8 = getelementptr inbounds %struct.checksum_stream_baton, ptr %0, i64 0, i32 2 %9 = load i64, ptr %8, align 8, !tbaa !9 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %7 %12 = tail call i32 @svn_checksum_ctx_reset(i64 noundef %9) #2 br label %13 13: ; preds = %11, %7 %14 = getelementptr inbounds %struct.checksum_stream_baton, ptr %0, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !12 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = tail call i32 @svn_checksum_ctx_reset(i64 noundef %15) #2 br label %19 19: ; preds = %17, %13 %20 = load i32, ptr %0, align 8, !tbaa !13 %21 = tail call i32 @svn_stream_reset(i32 noundef %20) #2 %22 = tail call i32 @SVN_ERR(i32 noundef %21) #2 %23 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !14 br label %24 24: ; preds = %19, %4 %25 = phi ptr [ %6, %4 ], [ %23, %19 ] ret ptr %25 } declare ptr @svn_error_create(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @svn_checksum_ctx_reset(i64 noundef) local_unnamed_addr #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @svn_stream_reset(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"checksum_stream_baton", !6, i64 0, !11, i64 8, !11, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!10, !6, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_seek_handler_checksum.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_stream.c_seek_handler_checksum.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SVN_ERR_STREAM_SEEK_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @seek_handler_checksum], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @seek_handler_checksum(ptr nocapture noundef readonly %0, ptr noundef readnone %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %7, label %4 4: ; preds = %2 %5 = load i32, ptr @SVN_ERR_STREAM_SEEK_NOT_SUPPORTED, align 4, !tbaa !6 %6 = tail call ptr @svn_error_create(i32 noundef %5, ptr noundef null, ptr noundef null) #2 br label %24 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load i64, ptr %8, align 8, !tbaa !10 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %7 %12 = tail call i32 @svn_checksum_ctx_reset(i64 noundef %9) #2 br label %13 13: ; preds = %11, %7 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %13 %18 = tail call i32 @svn_checksum_ctx_reset(i64 noundef %15) #2 br label %19 19: ; preds = %17, %13 %20 = load i32, ptr %0, align 8, !tbaa !14 %21 = tail call i32 @svn_stream_reset(i32 noundef %20) #2 %22 = tail call i32 @SVN_ERR(i32 noundef %21) #2 %23 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !15 br label %24 24: ; preds = %19, %4 %25 = phi ptr [ %6, %4 ], [ %23, %19 ] ret ptr %25 } declare ptr @svn_error_create(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @svn_checksum_ctx_reset(i64 noundef) local_unnamed_addr #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @svn_stream_reset(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"checksum_stream_baton", !7, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!11, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0}
freebsd_contrib_subversion_subversion_libsvn_subr_extr_stream.c_seek_handler_checksum
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_tiff_common.c_ff_tadd_string_metadata.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_tiff_common.c_ff_tadd_string_metadata.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @AV_DICT_DONT_STRDUP_VAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ff_tadd_string_metadata(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @bytestream2_get_bytes_left(ptr noundef %2) #2 %7 = icmp slt i32 %6, %0 %8 = icmp slt i32 %0, 0 %9 = or i1 %8, %7 br i1 %9, label %10, label %12 10: ; preds = %5 %11 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !5 br label %25 12: ; preds = %5 %13 = add nuw nsw i32 %0, 1 %14 = tail call ptr @av_malloc(i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %18 = tail call i32 @AVERROR(i32 noundef %17) #2 br label %25 19: ; preds = %12 %20 = tail call i32 @bytestream2_get_bufferu(ptr noundef %2, ptr noundef nonnull %14, i32 noundef %0) #2 %21 = zext nneg i32 %0 to i64 %22 = getelementptr inbounds i8, ptr %14, i64 %21 store i8 0, ptr %22, align 1, !tbaa !9 %23 = load i32, ptr @AV_DICT_DONT_STRDUP_VAL, align 4, !tbaa !5 %24 = tail call i32 @av_dict_set(ptr noundef %4, ptr noundef %1, ptr noundef nonnull %14, i32 noundef %23) #2 br label %25 25: ; preds = %19, %16, %10 %26 = phi i32 [ %11, %10 ], [ 0, %19 ], [ %18, %16 ] ret i32 %26 } declare i32 @bytestream2_get_bytes_left(ptr noundef) local_unnamed_addr #1 declare ptr @av_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1 declare i32 @bytestream2_get_bufferu(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_dict_set(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_tiff_common.c_ff_tadd_string_metadata.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_tiff_common.c_ff_tadd_string_metadata.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @AV_DICT_DONT_STRDUP_VAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ff_tadd_string_metadata(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @bytestream2_get_bytes_left(ptr noundef %2) #2 %7 = icmp slt i32 %6, %0 %8 = icmp slt i32 %0, 0 %9 = or i1 %8, %7 br i1 %9, label %10, label %12 10: ; preds = %5 %11 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !6 br label %25 12: ; preds = %5 %13 = add nuw nsw i32 %0, 1 %14 = tail call ptr @av_malloc(i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %18 = tail call i32 @AVERROR(i32 noundef %17) #2 br label %25 19: ; preds = %12 %20 = tail call i32 @bytestream2_get_bufferu(ptr noundef %2, ptr noundef nonnull %14, i32 noundef %0) #2 %21 = zext nneg i32 %0 to i64 %22 = getelementptr inbounds i8, ptr %14, i64 %21 store i8 0, ptr %22, align 1, !tbaa !10 %23 = load i32, ptr @AV_DICT_DONT_STRDUP_VAL, align 4, !tbaa !6 %24 = tail call i32 @av_dict_set(ptr noundef %4, ptr noundef %1, ptr noundef nonnull %14, i32 noundef %23) #2 br label %25 25: ; preds = %19, %16, %10 %26 = phi i32 [ %11, %10 ], [ 0, %19 ], [ %18, %16 ] ret i32 %26 } declare i32 @bytestream2_get_bytes_left(ptr noundef) local_unnamed_addr #1 declare ptr @av_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1 declare i32 @bytestream2_get_bufferu(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_dict_set(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
FFmpeg_libavcodec_extr_tiff_common.c_ff_tadd_string_metadata
; ModuleID = 'AnghaBench/linux/sound/pci/extr_intel8x0.c_snd_intel8x0_ich_chip_reset.c' source_filename = "AnghaBench/linux/sound/pci/extr_intel8x0.c_snd_intel8x0_ich_chip_reset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GLOB_CNT = dso_local local_unnamed_addr global i32 0, align 4 @ICH_ACLINK = dso_local local_unnamed_addr global i32 0, align 4 @ICH_PCM_246_MASK = dso_local local_unnamed_addr global i32 0, align 4 @ICH_AC97COLD = dso_local local_unnamed_addr global i32 0, align 4 @ICH_AC97WARM = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i32 0, align 4 @HZ = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"AC'97 warm reset still in progress? [0x%x]\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_intel8x0_ich_chip_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_intel8x0_ich_chip_reset(ptr noundef %0) #0 { %2 = load i32, ptr @GLOB_CNT, align 4, !tbaa !5 %3 = tail call i32 @ICHREG(i32 noundef %2) #2 %4 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %3) #2 %5 = load i32, ptr @ICH_ACLINK, align 4, !tbaa !5 %6 = load i32, ptr @ICH_PCM_246_MASK, align 4, !tbaa !5 %7 = or i32 %6, %5 %8 = xor i32 %7, -1 %9 = and i32 %4, %8 %10 = load i32, ptr @ICH_AC97COLD, align 4 %11 = and i32 %9, %10 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @ICH_AC97WARM, align 4 %14 = select i1 %12, i32 %10, i32 %13 %15 = or i32 %14, %9 %16 = load i32, ptr @GLOB_CNT, align 4, !tbaa !5 %17 = tail call i32 @ICHREG(i32 noundef %16) #2 %18 = tail call i32 @iputdword(ptr noundef %0, i32 noundef %17, i32 noundef %15) #2 %19 = load i32, ptr @jiffies, align 4, !tbaa !5 %20 = load i32, ptr @HZ, align 4, !tbaa !5 %21 = sdiv i32 %20, 4 %22 = add i32 %19, 1 %23 = add i32 %22, %21 %24 = sext i32 %23 to i64 br label %25 25: ; preds = %32, %1 %26 = load i32, ptr @GLOB_CNT, align 4, !tbaa !5 %27 = tail call i32 @ICHREG(i32 noundef %26) #2 %28 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %27) #2 %29 = load i32, ptr @ICH_AC97WARM, align 4, !tbaa !5 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %46, label %32 32: ; preds = %25 %33 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2 %34 = load i32, ptr @jiffies, align 4, !tbaa !5 %35 = tail call i64 @time_after_eq(i64 noundef %24, i32 noundef %34) #2 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %25, !llvm.loop !9 37: ; preds = %32 %38 = load ptr, ptr %0, align 8, !tbaa !11 %39 = load i32, ptr %38, align 4, !tbaa !14 %40 = load i32, ptr @GLOB_CNT, align 4, !tbaa !5 %41 = tail call i32 @ICHREG(i32 noundef %40) #2 %42 = tail call i32 @igetdword(ptr noundef nonnull %0, i32 noundef %41) #2 %43 = tail call i32 @dev_err(i32 noundef %39, ptr noundef nonnull @.str, i32 noundef %42) #2 %44 = load i32, ptr @EIO, align 4, !tbaa !5 %45 = sub nsw i32 0, %44 br label %46 46: ; preds = %25, %37 %47 = phi i32 [ %45, %37 ], [ 0, %25 ] ret i32 %47 } declare i32 @igetdword(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ICHREG(i32 noundef) local_unnamed_addr #1 declare i32 @iputdword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @schedule_timeout_uninterruptible(i32 noundef) local_unnamed_addr #1 declare i64 @time_after_eq(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !13, i64 0} !12 = !{!"intel8x0", !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_intel8x0.c_snd_intel8x0_ich_chip_reset.c' source_filename = "AnghaBench/linux/sound/pci/extr_intel8x0.c_snd_intel8x0_ich_chip_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GLOB_CNT = common local_unnamed_addr global i32 0, align 4 @ICH_ACLINK = common local_unnamed_addr global i32 0, align 4 @ICH_PCM_246_MASK = common local_unnamed_addr global i32 0, align 4 @ICH_AC97COLD = common local_unnamed_addr global i32 0, align 4 @ICH_AC97WARM = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i32 0, align 4 @HZ = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"AC'97 warm reset still in progress? [0x%x]\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_intel8x0_ich_chip_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @snd_intel8x0_ich_chip_reset(ptr noundef %0) #0 { %2 = load i32, ptr @GLOB_CNT, align 4, !tbaa !6 %3 = tail call i32 @ICHREG(i32 noundef %2) #2 %4 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %3) #2 %5 = load i32, ptr @ICH_ACLINK, align 4, !tbaa !6 %6 = load i32, ptr @ICH_PCM_246_MASK, align 4, !tbaa !6 %7 = or i32 %6, %5 %8 = xor i32 %7, -1 %9 = and i32 %4, %8 %10 = load i32, ptr @ICH_AC97COLD, align 4 %11 = and i32 %9, %10 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @ICH_AC97WARM, align 4 %14 = select i1 %12, i32 %10, i32 %13 %15 = or i32 %14, %9 %16 = load i32, ptr @GLOB_CNT, align 4, !tbaa !6 %17 = tail call i32 @ICHREG(i32 noundef %16) #2 %18 = tail call i32 @iputdword(ptr noundef %0, i32 noundef %17, i32 noundef %15) #2 %19 = load i32, ptr @jiffies, align 4, !tbaa !6 %20 = load i32, ptr @HZ, align 4, !tbaa !6 %21 = sdiv i32 %20, 4 %22 = add i32 %19, 1 %23 = add i32 %22, %21 %24 = sext i32 %23 to i64 br label %25 25: ; preds = %32, %1 %26 = load i32, ptr @GLOB_CNT, align 4, !tbaa !6 %27 = tail call i32 @ICHREG(i32 noundef %26) #2 %28 = tail call i32 @igetdword(ptr noundef %0, i32 noundef %27) #2 %29 = load i32, ptr @ICH_AC97WARM, align 4, !tbaa !6 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %46, label %32 32: ; preds = %25 %33 = tail call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #2 %34 = load i32, ptr @jiffies, align 4, !tbaa !6 %35 = tail call i64 @time_after_eq(i64 noundef %24, i32 noundef %34) #2 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %25, !llvm.loop !10 37: ; preds = %32 %38 = load ptr, ptr %0, align 8, !tbaa !12 %39 = load i32, ptr %38, align 4, !tbaa !15 %40 = load i32, ptr @GLOB_CNT, align 4, !tbaa !6 %41 = tail call i32 @ICHREG(i32 noundef %40) #2 %42 = tail call i32 @igetdword(ptr noundef nonnull %0, i32 noundef %41) #2 %43 = tail call i32 @dev_err(i32 noundef %39, ptr noundef nonnull @.str, i32 noundef %42) #2 %44 = load i32, ptr @EIO, align 4, !tbaa !6 %45 = sub nsw i32 0, %44 br label %46 46: ; preds = %25, %37 %47 = phi i32 [ %45, %37 ], [ 0, %25 ] ret i32 %47 } declare i32 @igetdword(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ICHREG(i32 noundef) local_unnamed_addr #1 declare i32 @iputdword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @schedule_timeout_uninterruptible(i32 noundef) local_unnamed_addr #1 declare i64 @time_after_eq(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !14, i64 0} !13 = !{!"intel8x0", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_2__", !7, i64 0}
linux_sound_pci_extr_intel8x0.c_snd_intel8x0_ich_chip_reset
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_record.c_create_temp_file.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_record.c_create_temp_file.c" target datalayout = "e-m:e-p270:32:32-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 [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"msitest\00", align 1 @GENERIC_READ = dso_local local_unnamed_addr global i32 0, align 4 @GENERIC_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @CREATE_ALWAYS = dso_local local_unnamed_addr global i32 0, align 4 @FILE_ATTRIBUTE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @INVALID_HANDLE_VALUE = dso_local local_unnamed_addr global i64 0, align 8 @FALSE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @create_temp_file], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @create_temp_file(ptr noundef %0) #0 { %2 = alloca [26 x i8], align 16 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 26, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i64 @GetTempFileNameA(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %0) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %23, label %6 6: ; preds = %1 %7 = load i32, ptr @GENERIC_READ, align 4, !tbaa !5 %8 = load i32, ptr @GENERIC_WRITE, align 4, !tbaa !5 %9 = or i32 %8, %7 %10 = load i32, ptr @CREATE_ALWAYS, align 4, !tbaa !5 %11 = load i32, ptr @FILE_ATTRIBUTE_NORMAL, align 4, !tbaa !5 %12 = tail call i64 @CreateFileA(ptr noundef %0, i32 noundef %9, i32 noundef 0, ptr noundef null, i32 noundef %10, i32 noundef %11, ptr noundef null) #3 %13 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !9 %14 = icmp eq i64 %12, %13 br i1 %14, label %21, label %15 15: ; preds = %6 store <16 x i8> <i8 97, i8 98, i8 99, i8 100, i8 101, i8 102, i8 103, i8 104, i8 105, i8 106, i8 107, i8 108, i8 109, i8 110, i8 111, i8 112>, ptr %2, align 16, !tbaa !11 %16 = getelementptr inbounds [26 x i8], ptr %2, i64 0, i64 16 store <8 x i8> <i8 113, i8 114, i8 115, i8 116, i8 117, i8 118, i8 119, i8 120>, ptr %16, align 16, !tbaa !11 %17 = getelementptr inbounds [26 x i8], ptr %2, i64 0, i64 24 store i8 121, ptr %17, align 8, !tbaa !11 %18 = getelementptr inbounds [26 x i8], ptr %2, i64 0, i64 25 store i8 122, ptr %18, align 1, !tbaa !11 %19 = call i64 @WriteFile(i64 noundef %12, ptr noundef nonnull %2, i32 noundef 26, ptr noundef nonnull %3, ptr noundef null) #3 %20 = call i32 @CloseHandle(i64 noundef %12) #3 br label %23 21: ; preds = %6 %22 = load i64, ptr @FALSE, align 8, !tbaa !9 br label %23 23: ; preds = %1, %15, %21 %24 = phi i64 [ %22, %21 ], [ %19, %15 ], [ 0, %1 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 26, ptr nonnull %2) #3 ret i64 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @GetTempFileNameA(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @CreateFileA(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @WriteFile(i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CloseHandle(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msi/extr_record.c_create_temp_file.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/msi/extr_record.c_create_temp_file.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 [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"msitest\00", align 1 @GENERIC_READ = common local_unnamed_addr global i32 0, align 4 @GENERIC_WRITE = common local_unnamed_addr global i32 0, align 4 @CREATE_ALWAYS = common local_unnamed_addr global i32 0, align 4 @FILE_ATTRIBUTE_NORMAL = common local_unnamed_addr global i32 0, align 4 @INVALID_HANDLE_VALUE = common local_unnamed_addr global i64 0, align 8 @FALSE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @create_temp_file], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @create_temp_file(ptr noundef %0) #0 { %2 = alloca [26 x i8], align 16 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 26, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i64 @GetTempFileNameA(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %0) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %23, label %6 6: ; preds = %1 %7 = load i32, ptr @GENERIC_READ, align 4, !tbaa !6 %8 = load i32, ptr @GENERIC_WRITE, align 4, !tbaa !6 %9 = or i32 %8, %7 %10 = load i32, ptr @CREATE_ALWAYS, align 4, !tbaa !6 %11 = load i32, ptr @FILE_ATTRIBUTE_NORMAL, align 4, !tbaa !6 %12 = tail call i64 @CreateFileA(ptr noundef %0, i32 noundef %9, i32 noundef 0, ptr noundef null, i32 noundef %10, i32 noundef %11, ptr noundef null) #3 %13 = load i64, ptr @INVALID_HANDLE_VALUE, align 8, !tbaa !10 %14 = icmp eq i64 %12, %13 br i1 %14, label %21, label %15 15: ; preds = %6 store <16 x i8> <i8 97, i8 98, i8 99, i8 100, i8 101, i8 102, i8 103, i8 104, i8 105, i8 106, i8 107, i8 108, i8 109, i8 110, i8 111, i8 112>, ptr %2, align 16, !tbaa !12 %16 = getelementptr inbounds i8, ptr %2, i64 16 store <8 x i8> <i8 113, i8 114, i8 115, i8 116, i8 117, i8 118, i8 119, i8 120>, ptr %16, align 16, !tbaa !12 %17 = getelementptr inbounds i8, ptr %2, i64 24 store i8 121, ptr %17, align 8, !tbaa !12 %18 = getelementptr inbounds i8, ptr %2, i64 25 store i8 122, ptr %18, align 1, !tbaa !12 %19 = call i64 @WriteFile(i64 noundef %12, ptr noundef nonnull %2, i32 noundef 26, ptr noundef nonnull %3, ptr noundef null) #3 %20 = call i32 @CloseHandle(i64 noundef %12) #3 br label %23 21: ; preds = %6 %22 = load i64, ptr @FALSE, align 8, !tbaa !10 br label %23 23: ; preds = %1, %15, %21 %24 = phi i64 [ %22, %21 ], [ %19, %15 ], [ 0, %1 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 26, ptr nonnull %2) #3 ret i64 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @GetTempFileNameA(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @CreateFileA(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @WriteFile(i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CloseHandle(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!8, !8, i64 0}
reactos_modules_rostests_winetests_msi_extr_record.c_create_temp_file
; ModuleID = 'AnghaBench/redis/deps/jemalloc/src/extr_pages.c_pages_dontdump.c' source_filename = "AnghaBench/redis/deps/jemalloc/src/extr_pages.c_pages_dontdump.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MADV_DONTDUMP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @pages_dontdump(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @PAGE_ADDR2BASE(ptr noundef %0) #2 %4 = icmp eq ptr %3, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = tail call i64 @PAGE_CEILING(i64 noundef %1) #2 %8 = icmp eq i64 %7, %1 %9 = zext i1 %8 to i32 %10 = tail call i32 @assert(i32 noundef %9) #2 ret i32 0 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @PAGE_ADDR2BASE(ptr noundef) local_unnamed_addr #1 declare i64 @PAGE_CEILING(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/redis/deps/jemalloc/src/extr_pages.c_pages_dontdump.c' source_filename = "AnghaBench/redis/deps/jemalloc/src/extr_pages.c_pages_dontdump.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MADV_DONTDUMP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @pages_dontdump(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @PAGE_ADDR2BASE(ptr noundef %0) #2 %4 = icmp eq ptr %3, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = tail call i64 @PAGE_CEILING(i64 noundef %1) #2 %8 = icmp eq i64 %7, %1 %9 = zext i1 %8 to i32 %10 = tail call i32 @assert(i32 noundef %9) #2 ret i32 0 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @PAGE_ADDR2BASE(ptr noundef) local_unnamed_addr #1 declare i64 @PAGE_CEILING(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)"}
redis_deps_jemalloc_src_extr_pages.c_pages_dontdump
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_NewToolRectT.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_NewToolRectT.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i64, i32 } %struct.TYPE_8__ = type { i32 } @TTTOOLINFOW_V1_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"nTool = %d, rect = %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @TOOLTIPS_NewToolRectT], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @TOOLTIPS_NewToolRectT(ptr noundef %0, ptr noundef %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %21, label %4 4: ; preds = %2 %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = load i64, ptr @TTTOOLINFOW_V1_SIZE, align 8, !tbaa !11 %7 = icmp slt i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = load i32, ptr @FALSE, align 4, !tbaa !12 br label %21 10: ; preds = %4 %11 = tail call i32 @TOOLTIPS_GetToolFromInfoT(ptr noundef %0, ptr noundef nonnull %1) #2 %12 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1 %13 = tail call i32 @wine_dbgstr_rect(ptr noundef nonnull %12) #2 %14 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %11, i32 noundef %13) #2 %15 = icmp eq i32 %11, -1 br i1 %15, label %21, label %16 16: ; preds = %10 %17 = load i32, ptr %12, align 8, !tbaa !13 %18 = load ptr, ptr %0, align 8, !tbaa !14 %19 = sext i32 %11 to i64 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 %19 store i32 %17, ptr %20, align 4, !tbaa !17 br label %21 21: ; preds = %10, %2, %16, %8 %22 = phi i32 [ %9, %8 ], [ 0, %16 ], [ 0, %2 ], [ 0, %10 ] ret i32 %22 } declare i32 @TOOLTIPS_GetToolFromInfoT(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wine_dbgstr_rect(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_9__", !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 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_10__", !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_8__", !10, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_NewToolRectT.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_NewToolRectT.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32 } @TTTOOLINFOW_V1_SIZE = common local_unnamed_addr global i64 0, align 8 @FALSE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"nTool = %d, rect = %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @TOOLTIPS_NewToolRectT], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @TOOLTIPS_NewToolRectT(ptr noundef %0, ptr noundef %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %21, label %4 4: ; preds = %2 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = load i64, ptr @TTTOOLINFOW_V1_SIZE, align 8, !tbaa !12 %7 = icmp slt i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = load i32, ptr @FALSE, align 4, !tbaa !13 br label %21 10: ; preds = %4 %11 = tail call i32 @TOOLTIPS_GetToolFromInfoT(ptr noundef %0, ptr noundef nonnull %1) #2 %12 = getelementptr inbounds i8, ptr %1, i64 8 %13 = tail call i32 @wine_dbgstr_rect(ptr noundef nonnull %12) #2 %14 = tail call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %11, i32 noundef %13) #2 %15 = icmp eq i32 %11, -1 br i1 %15, label %21, label %16 16: ; preds = %10 %17 = load i32, ptr %12, align 8, !tbaa !14 %18 = load ptr, ptr %0, align 8, !tbaa !15 %19 = sext i32 %11 to i64 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 %19 store i32 %17, ptr %20, align 4, !tbaa !18 br label %21 21: ; preds = %10, %2, %16, %8 %22 = phi i32 [ %9, %8 ], [ 0, %16 ], [ 0, %2 ], [ 0, %10 ] ret i32 %22 } declare i32 @TOOLTIPS_GetToolFromInfoT(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wine_dbgstr_rect(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_9__", !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 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_10__", !17, i64 0} !17 = !{!"any pointer", !9, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_8__", !11, i64 0}
reactos_dll_win32_comctl32_extr_tooltips.c_TOOLTIPS_NewToolRectT
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/minidox/keymaps/default/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/minidox/keymaps/default/extr_keymap.c_process_record_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @_QWERTY = dso_local local_unnamed_addr global i64 0, align 8 @_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @_RAISE = dso_local local_unnamed_addr global i32 0, align 4 @_ADJUST = dso_local local_unnamed_addr global i32 0, align 4 @tone_qwerty = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { switch i32 %0, label %50 [ i32 129, label %3 i32 130, label %10 i32 128, label %26 i32 131, label %42 ] 3: ; preds = %2 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %50, label %6 6: ; preds = %3 %7 = load i64, ptr @_QWERTY, align 8, !tbaa !11 %8 = shl nuw i64 1, %7 %9 = tail call i32 @persistant_default_layer_set(i64 noundef %8) #2 br label %50 10: ; preds = %2 %11 = load i32, ptr %1, align 4, !tbaa !5 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @_LOWER, align 4, !tbaa !13 br i1 %12, label %20, label %14 14: ; preds = %10 %15 = tail call i32 @layer_on(i32 noundef %13) #2 %16 = load i32, ptr @_LOWER, align 4, !tbaa !13 %17 = load i32, ptr @_RAISE, align 4, !tbaa !13 %18 = load i32, ptr @_ADJUST, align 4, !tbaa !13 %19 = tail call i32 @update_tri_layer(i32 noundef %16, i32 noundef %17, i32 noundef %18) #2 br label %50 20: ; preds = %10 %21 = tail call i32 @layer_off(i32 noundef %13) #2 %22 = load i32, ptr @_LOWER, align 4, !tbaa !13 %23 = load i32, ptr @_RAISE, align 4, !tbaa !13 %24 = load i32, ptr @_ADJUST, align 4, !tbaa !13 %25 = tail call i32 @update_tri_layer(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2 br label %50 26: ; preds = %2 %27 = load i32, ptr %1, align 4, !tbaa !5 %28 = icmp eq i32 %27, 0 %29 = load i32, ptr @_RAISE, align 4, !tbaa !13 br i1 %28, label %36, label %30 30: ; preds = %26 %31 = tail call i32 @layer_on(i32 noundef %29) #2 %32 = load i32, ptr @_LOWER, align 4, !tbaa !13 %33 = load i32, ptr @_RAISE, align 4, !tbaa !13 %34 = load i32, ptr @_ADJUST, align 4, !tbaa !13 %35 = tail call i32 @update_tri_layer(i32 noundef %32, i32 noundef %33, i32 noundef %34) #2 br label %50 36: ; preds = %26 %37 = tail call i32 @layer_off(i32 noundef %29) #2 %38 = load i32, ptr @_LOWER, align 4, !tbaa !13 %39 = load i32, ptr @_RAISE, align 4, !tbaa !13 %40 = load i32, ptr @_ADJUST, align 4, !tbaa !13 %41 = tail call i32 @update_tri_layer(i32 noundef %38, i32 noundef %39, i32 noundef %40) #2 br label %50 42: ; preds = %2 %43 = load i32, ptr %1, align 4, !tbaa !5 %44 = icmp eq i32 %43, 0 %45 = load i32, ptr @_ADJUST, align 4, !tbaa !13 br i1 %44, label %48, label %46 46: ; preds = %42 %47 = tail call i32 @layer_on(i32 noundef %45) #2 br label %50 48: ; preds = %42 %49 = tail call i32 @layer_off(i32 noundef %45) #2 br label %50 50: ; preds = %2, %46, %48, %30, %36, %14, %20, %3, %6 %51 = phi i32 [ 0, %6 ], [ 0, %3 ], [ 0, %20 ], [ 0, %14 ], [ 0, %36 ], [ 0, %30 ], [ 0, %48 ], [ 0, %46 ], [ 1, %2 ] ret i32 %51 } declare i32 @persistant_default_layer_set(i64 noundef) local_unnamed_addr #1 declare i32 @layer_on(i32 noundef) local_unnamed_addr #1 declare i32 @update_tri_layer(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @layer_off(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/minidox/keymaps/default/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/minidox/keymaps/default/extr_keymap.c_process_record_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_QWERTY = common local_unnamed_addr global i64 0, align 8 @_LOWER = common local_unnamed_addr global i32 0, align 4 @_RAISE = common local_unnamed_addr global i32 0, align 4 @_ADJUST = common local_unnamed_addr global i32 0, align 4 @tone_qwerty = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { switch i32 %0, label %50 [ i32 129, label %3 i32 130, label %10 i32 128, label %26 i32 131, label %42 ] 3: ; preds = %2 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %50, label %6 6: ; preds = %3 %7 = load i64, ptr @_QWERTY, align 8, !tbaa !12 %8 = shl nuw i64 1, %7 %9 = tail call i32 @persistant_default_layer_set(i64 noundef %8) #2 br label %50 10: ; preds = %2 %11 = load i32, ptr %1, align 4, !tbaa !6 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @_LOWER, align 4, !tbaa !14 br i1 %12, label %20, label %14 14: ; preds = %10 %15 = tail call i32 @layer_on(i32 noundef %13) #2 %16 = load i32, ptr @_LOWER, align 4, !tbaa !14 %17 = load i32, ptr @_RAISE, align 4, !tbaa !14 %18 = load i32, ptr @_ADJUST, align 4, !tbaa !14 %19 = tail call i32 @update_tri_layer(i32 noundef %16, i32 noundef %17, i32 noundef %18) #2 br label %50 20: ; preds = %10 %21 = tail call i32 @layer_off(i32 noundef %13) #2 %22 = load i32, ptr @_LOWER, align 4, !tbaa !14 %23 = load i32, ptr @_RAISE, align 4, !tbaa !14 %24 = load i32, ptr @_ADJUST, align 4, !tbaa !14 %25 = tail call i32 @update_tri_layer(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2 br label %50 26: ; preds = %2 %27 = load i32, ptr %1, align 4, !tbaa !6 %28 = icmp eq i32 %27, 0 %29 = load i32, ptr @_RAISE, align 4, !tbaa !14 br i1 %28, label %36, label %30 30: ; preds = %26 %31 = tail call i32 @layer_on(i32 noundef %29) #2 %32 = load i32, ptr @_LOWER, align 4, !tbaa !14 %33 = load i32, ptr @_RAISE, align 4, !tbaa !14 %34 = load i32, ptr @_ADJUST, align 4, !tbaa !14 %35 = tail call i32 @update_tri_layer(i32 noundef %32, i32 noundef %33, i32 noundef %34) #2 br label %50 36: ; preds = %26 %37 = tail call i32 @layer_off(i32 noundef %29) #2 %38 = load i32, ptr @_LOWER, align 4, !tbaa !14 %39 = load i32, ptr @_RAISE, align 4, !tbaa !14 %40 = load i32, ptr @_ADJUST, align 4, !tbaa !14 %41 = tail call i32 @update_tri_layer(i32 noundef %38, i32 noundef %39, i32 noundef %40) #2 br label %50 42: ; preds = %2 %43 = load i32, ptr %1, align 4, !tbaa !6 %44 = icmp eq i32 %43, 0 %45 = load i32, ptr @_ADJUST, align 4, !tbaa !14 br i1 %44, label %48, label %46 46: ; preds = %42 %47 = tail call i32 @layer_on(i32 noundef %45) #2 br label %50 48: ; preds = %42 %49 = tail call i32 @layer_off(i32 noundef %45) #2 br label %50 50: ; preds = %2, %46, %48, %30, %36, %14, %20, %3, %6 %51 = phi i32 [ 0, %6 ], [ 0, %3 ], [ 0, %20 ], [ 0, %14 ], [ 0, %36 ], [ 0, %30 ], [ 0, %48 ], [ 0, %46 ], [ 1, %2 ] ret i32 %51 } declare i32 @persistant_default_layer_set(i64 noundef) local_unnamed_addr #1 declare i32 @layer_on(i32 noundef) local_unnamed_addr #1 declare i32 @update_tri_layer(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @layer_off(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"long", !10, i64 0} !14 = !{!9, !9, i64 0}
qmk_firmware_keyboards_minidox_keymaps_default_extr_keymap.c_process_record_user
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_slirp_user.c_slirp_tramp.c' source_filename = "AnghaBench/linux/arch/um/drivers/extr_slirp_user.c_slirp_tramp.c" target datalayout = "e-m:e-p270:32:32-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.slirp_pre_exec_data = type { i32, i32 } @slirp_pre_exec = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @slirp_tramp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @slirp_tramp(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.slirp_pre_exec_data, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i32 %1, ptr %3, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.slirp_pre_exec_data, ptr %3, i64 0, i32 1 store i32 %1, ptr %4, align 4, !tbaa !10 %5 = load i32, ptr @slirp_pre_exec, align 4, !tbaa !11 %6 = call i32 @run_helper(i32 noundef %5, ptr noundef nonnull %3, ptr noundef %0) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @run_helper(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, !7, i64 0} !6 = !{!"slirp_pre_exec_data", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_slirp_user.c_slirp_tramp.c' source_filename = "AnghaBench/linux/arch/um/drivers/extr_slirp_user.c_slirp_tramp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.slirp_pre_exec_data = type { i32, i32 } @slirp_pre_exec = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @slirp_tramp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @slirp_tramp(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.slirp_pre_exec_data, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i32 %1, ptr %3, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %1, ptr %4, align 4, !tbaa !11 %5 = load i32, ptr @slirp_pre_exec, align 4, !tbaa !12 %6 = call i32 @run_helper(i32 noundef %5, ptr noundef nonnull %3, ptr noundef %0) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @run_helper(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, !8, i64 0} !7 = !{!"slirp_pre_exec_data", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0}
linux_arch_um_drivers_extr_slirp_user.c_slirp_tramp
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_config.c_perf_config_bool.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_config.c_perf_config_bool.c" target datalayout = "e-m:e-p270:32:32-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 @perf_config_bool(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call i32 @perf_config_bool_or_int(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3) #3 %5 = icmp ne i32 %4, 0 %6 = zext i1 %5 to i32 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @perf_config_bool_or_int(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)"}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_config.c_perf_config_bool.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_config.c_perf_config_bool.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @perf_config_bool(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call i32 @perf_config_bool_or_int(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3) #3 %5 = icmp ne i32 %4, 0 %6 = zext i1 %5 to i32 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @perf_config_bool_or_int(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)"}
linux_tools_perf_util_extr_config.c_perf_config_bool
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shellpath.c_testSHGetSpecialFolderLocation.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shellpath.c_testSHGetSpecialFolderLocation.c" target datalayout = "e-m:e-p270:32:32-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_OK = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [25 x i8] c"%s: ILFindLastID failed\0A\00", align 1 @pMalloc = 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 @testSHGetSpecialFolderLocation], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @testSHGetSpecialFolderLocation(i32 noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !5 %3 = call i64 @pSHGetSpecialFolderLocation(ptr noundef null, i32 noundef %0, ptr noundef nonnull %2) #3 %4 = load i64, ptr @S_OK, align 8, !tbaa !9 %5 = icmp eq i64 %3, %4 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null %8 = select i1 %5, i1 %7, i1 false br i1 %8, label %9, label %23 9: ; preds = %1 %10 = call ptr @pILFindLastID(ptr noundef nonnull %6) #3 %11 = icmp ne ptr %10, null %12 = zext i1 %11 to i32 %13 = call i32 @getFolderName(i32 noundef %0) #3 %14 = call i32 @ok(i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %13) #3 br i1 %11, label %15, label %18 15: ; preds = %9 %16 = load ptr, ptr %10, align 8, !tbaa !11 %17 = load i32, ptr %16, align 4, !tbaa !14 br label %18 18: ; preds = %15, %9 %19 = phi i32 [ %17, %15 ], [ 255, %9 ] %20 = load i32, ptr @pMalloc, align 4, !tbaa !14 %21 = load ptr, ptr %2, align 8, !tbaa !5 %22 = call i32 @IMalloc_Free(i32 noundef %20, ptr noundef %21) #3 br label %23 23: ; preds = %18, %1 %24 = phi i32 [ %19, %18 ], [ 255, %1 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @pSHGetSpecialFolderLocation(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @pILFindLastID(ptr noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @getFolderName(i32 noundef) local_unnamed_addr #2 declare i32 @IMalloc_Free(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 = !{!"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, !6, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"TYPE_7__", !6, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shellpath.c_testSHGetSpecialFolderLocation.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/shell32/extr_shellpath.c_testSHGetSpecialFolderLocation.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S_OK = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [25 x i8] c"%s: ILFindLastID failed\0A\00", align 1 @pMalloc = 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 @testSHGetSpecialFolderLocation], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @testSHGetSpecialFolderLocation(i32 noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !6 %3 = call i64 @pSHGetSpecialFolderLocation(ptr noundef null, i32 noundef %0, ptr noundef nonnull %2) #3 %4 = load i64, ptr @S_OK, align 8, !tbaa !10 %5 = icmp eq i64 %3, %4 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null %8 = select i1 %5, i1 %7, i1 false br i1 %8, label %9, label %23 9: ; preds = %1 %10 = call ptr @pILFindLastID(ptr noundef nonnull %6) #3 %11 = icmp ne ptr %10, null %12 = zext i1 %11 to i32 %13 = call i32 @getFolderName(i32 noundef %0) #3 %14 = call i32 @ok(i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %13) #3 br i1 %11, label %15, label %18 15: ; preds = %9 %16 = load ptr, ptr %10, align 8, !tbaa !12 %17 = load i32, ptr %16, align 4, !tbaa !15 br label %18 18: ; preds = %15, %9 %19 = phi i32 [ %17, %15 ], [ 255, %9 ] %20 = load i32, ptr @pMalloc, align 4, !tbaa !15 %21 = load ptr, ptr %2, align 8, !tbaa !6 %22 = call i32 @IMalloc_Free(i32 noundef %20, ptr noundef %21) #3 br label %23 23: ; preds = %18, %1 %24 = phi i32 [ %19, %18 ], [ 255, %1 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @pSHGetSpecialFolderLocation(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @pILFindLastID(ptr noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @getFolderName(i32 noundef) local_unnamed_addr #2 declare i32 @IMalloc_Free(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"TYPE_7__", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
reactos_modules_rostests_winetests_shell32_extr_shellpath.c_testSHGetSpecialFolderLocation
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-oxnas.c_oxnas_gpio_irq_startup.c' source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-oxnas.c_oxnas_gpio_irq_startup.c" target datalayout = "e-m:e-p270:32:32-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 @oxnas_gpio_irq_startup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @oxnas_gpio_irq_startup(ptr noundef %0) #0 { %2 = tail call ptr @irq_data_get_irq_chip_data(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @oxnas_gpio_direction_input(ptr noundef %2, i32 noundef %3) #2 %5 = tail call i32 @oxnas_gpio_irq_unmask(ptr noundef nonnull %0) #2 ret i32 0 } declare ptr @irq_data_get_irq_chip_data(ptr noundef) local_unnamed_addr #1 declare i32 @oxnas_gpio_direction_input(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @oxnas_gpio_irq_unmask(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 = !{!"irq_data", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-oxnas.c_oxnas_gpio_irq_startup.c' source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-oxnas.c_oxnas_gpio_irq_startup.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 @oxnas_gpio_irq_startup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @oxnas_gpio_irq_startup(ptr noundef %0) #0 { %2 = tail call ptr @irq_data_get_irq_chip_data(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @oxnas_gpio_direction_input(ptr noundef %2, i32 noundef %3) #2 %5 = tail call i32 @oxnas_gpio_irq_unmask(ptr noundef nonnull %0) #2 ret i32 0 } declare ptr @irq_data_get_irq_chip_data(ptr noundef) local_unnamed_addr #1 declare i32 @oxnas_gpio_direction_input(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @oxnas_gpio_irq_unmask(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 = !{!"irq_data", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_pinctrl_extr_pinctrl-oxnas.c_oxnas_gpio_irq_startup
; ModuleID = 'AnghaBench/obs-studio/plugins/obs-filters/extr_scroll-filter.c_scroll_filter_destroy.c' source_filename = "AnghaBench/obs-studio/plugins/obs-filters/extr_scroll-filter.c_scroll_filter_destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.scroll_filter_data = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @scroll_filter_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @scroll_filter_destroy(ptr noundef %0) #0 { %2 = tail call i32 (...) @obs_enter_graphics() #2 %3 = getelementptr inbounds %struct.scroll_filter_data, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @gs_effect_destroy(i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = tail call i32 @gs_samplerstate_destroy(i32 noundef %6) #2 %8 = tail call i32 (...) @obs_leave_graphics() #2 %9 = tail call i32 @bfree(ptr noundef nonnull %0) #2 ret void } declare i32 @obs_enter_graphics(...) local_unnamed_addr #1 declare i32 @gs_effect_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @gs_samplerstate_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @obs_leave_graphics(...) local_unnamed_addr #1 declare i32 @bfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"scroll_filter_data", !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/obs-studio/plugins/obs-filters/extr_scroll-filter.c_scroll_filter_destroy.c' source_filename = "AnghaBench/obs-studio/plugins/obs-filters/extr_scroll-filter.c_scroll_filter_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @scroll_filter_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @scroll_filter_destroy(ptr noundef %0) #0 { %2 = tail call i32 @obs_enter_graphics() #2 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @gs_effect_destroy(i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !11 %7 = tail call i32 @gs_samplerstate_destroy(i32 noundef %6) #2 %8 = tail call i32 @obs_leave_graphics() #2 %9 = tail call i32 @bfree(ptr noundef nonnull %0) #2 ret void } declare i32 @obs_enter_graphics(...) local_unnamed_addr #1 declare i32 @gs_effect_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @gs_samplerstate_destroy(i32 noundef) local_unnamed_addr #1 declare i32 @obs_leave_graphics(...) local_unnamed_addr #1 declare i32 @bfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"scroll_filter_data", !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}
obs-studio_plugins_obs-filters_extr_scroll-filter.c_scroll_filter_destroy
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_libsrp.c_srp_data_length.c' source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_libsrp.c_srp_data_length.c" target datalayout = "e-m:e-p270:32:32-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.srp_cmd = type { i32, i32, i32 } @DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"invalid data format %x\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @srp_data_length(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = and i32 %3, -4 %5 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !10 %6 = icmp eq i32 %5, %1 %7 = getelementptr inbounds %struct.srp_cmd, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !11 br i1 %6, label %9, label %11 9: ; preds = %2 %10 = ashr i32 %8, 4 br label %16 11: ; preds = %2 %12 = and i32 %8, 15 %13 = tail call i64 @data_out_desc_size(ptr noundef nonnull %0) #2 %14 = trunc i64 %13 to i32 %15 = add i32 %4, %14 br label %16 16: ; preds = %11, %9 %17 = phi i32 [ %4, %9 ], [ %15, %11 ] %18 = phi i32 [ %10, %9 ], [ %12, %11 ] switch i32 %18, label %35 [ i32 128, label %37 i32 130, label %19 i32 129, label %27 ] 19: ; preds = %16 %20 = getelementptr inbounds %struct.srp_cmd, ptr %0, i64 0, i32 2 %21 = load i32, ptr %20, align 4, !tbaa !12 %22 = add nsw i32 %21, %17 %23 = sext i32 %22 to i64 %24 = inttoptr i64 %23 to ptr %25 = load i32, ptr %24, align 4, !tbaa !13 %26 = tail call i32 @be32_to_cpu(i32 noundef %25) #2 br label %37 27: ; preds = %16 %28 = getelementptr inbounds %struct.srp_cmd, ptr %0, i64 0, i32 2 %29 = load i32, ptr %28, align 4, !tbaa !12 %30 = add nsw i32 %29, %17 %31 = sext i32 %30 to i64 %32 = inttoptr i64 %31 to ptr %33 = load i32, ptr %32, align 4, !tbaa !15 %34 = tail call i32 @be32_to_cpu(i32 noundef %33) #2 br label %37 35: ; preds = %16 %36 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %18) #2 br label %37 37: ; preds = %35, %27, %19, %16 %38 = phi i32 [ 0, %35 ], [ %34, %27 ], [ %26, %19 ], [ 0, %16 ] ret i32 %38 } declare i64 @data_out_desc_size(ptr noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"srp_cmd", !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 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 8} !13 = !{!14, !7, i64 0} !14 = !{!"srp_direct_buf", !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"srp_indirect_buf", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_libsrp.c_srp_data_length.c' source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_libsrp.c_srp_data_length.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"invalid data format %x\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @srp_data_length(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = and i32 %3, -4 %5 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !11 %6 = icmp eq i32 %5, %1 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !12 br i1 %6, label %9, label %11 9: ; preds = %2 %10 = ashr i32 %8, 4 br label %16 11: ; preds = %2 %12 = and i32 %8, 15 %13 = tail call i64 @data_out_desc_size(ptr noundef nonnull %0) #2 %14 = trunc i64 %13 to i32 %15 = add i32 %4, %14 br label %16 16: ; preds = %11, %9 %17 = phi i32 [ %4, %9 ], [ %15, %11 ] %18 = phi i32 [ %10, %9 ], [ %12, %11 ] switch i32 %18, label %35 [ i32 128, label %37 i32 130, label %19 i32 129, label %27 ] 19: ; preds = %16 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = add nsw i32 %21, %17 %23 = sext i32 %22 to i64 %24 = inttoptr i64 %23 to ptr %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = tail call i32 @be32_to_cpu(i32 noundef %25) #2 br label %37 27: ; preds = %16 %28 = getelementptr inbounds i8, ptr %0, i64 8 %29 = load i32, ptr %28, align 4, !tbaa !13 %30 = add nsw i32 %29, %17 %31 = sext i32 %30 to i64 %32 = inttoptr i64 %31 to ptr %33 = load i32, ptr %32, align 4, !tbaa !16 %34 = tail call i32 @be32_to_cpu(i32 noundef %33) #2 br label %37 35: ; preds = %16 %36 = tail call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %18) #2 br label %37 37: ; preds = %35, %27, %19, %16 %38 = phi i32 [ 0, %35 ], [ %34, %27 ], [ %26, %19 ], [ 0, %16 ] ret i32 %38 } declare i64 @data_out_desc_size(ptr noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"srp_cmd", !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 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 8} !14 = !{!15, !8, i64 0} !15 = !{!"srp_direct_buf", !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"srp_indirect_buf", !8, i64 0}
linux_drivers_scsi_ibmvscsi_tgt_extr_libsrp.c_srp_data_length
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Object.c_WaitEx.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Object.c_WaitEx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INFINITE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @WaitEx(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) store i32 0, ptr %4, align 4, !tbaa !5 %5 = icmp eq ptr %2, null %6 = select i1 %5, ptr %4, ptr %2 %7 = tail call i64 (...) @Tick64() #3 %8 = load i64, ptr @INFINITE, align 8, !tbaa !9 %9 = icmp eq i64 %8, %1 %10 = icmp eq i64 %1, 2147483647 %11 = or i1 %10, %9 %12 = add nsw i64 %7, %1 %13 = select i1 %11, i64 0, i64 %12 %14 = icmp eq i64 %13, 0 %15 = icmp eq ptr %0, null br label %16 16: ; preds = %34, %3 %17 = tail call i64 (...) @Tick64() #3 br i1 %14, label %18, label %20 18: ; preds = %16 %19 = load i64, ptr @INFINITE, align 8, !tbaa !9 br label %23 20: ; preds = %16 %21 = sub nsw i64 %13, %17 %22 = icmp slt i64 %17, %13 br i1 %22, label %23, label %35 23: ; preds = %20, %18 %24 = phi i64 [ %19, %18 ], [ %21, %20 ] %25 = tail call i64 @MIN(i64 noundef %24, i32 noundef 25) #3 %26 = load volatile i32, ptr %6, align 4, !tbaa !5 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %23 br i1 %15, label %32, label %29 29: ; preds = %28 %30 = tail call i64 @Wait(ptr noundef nonnull %0, i64 noundef %25) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %34, label %35 32: ; preds = %28 %33 = tail call i32 @SleepThread(i64 noundef %25) #3 br label %34 34: ; preds = %32, %29 br label %16 35: ; preds = %20, %23, %29 %36 = phi i32 [ 1, %29 ], [ 0, %23 ], [ 0, %20 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %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 declare i64 @Tick64(...) local_unnamed_addr #2 declare i64 @MIN(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @Wait(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @SleepThread(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Object.c_WaitEx.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Object.c_WaitEx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INFINITE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @WaitEx(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) store i32 0, ptr %4, align 4, !tbaa !6 %5 = icmp eq ptr %2, null %6 = select i1 %5, ptr %4, ptr %2 %7 = tail call i64 @Tick64() #3 %8 = load i64, ptr @INFINITE, align 8, !tbaa !10 %9 = icmp eq i64 %8, %1 %10 = icmp eq i64 %1, 2147483647 %11 = or i1 %10, %9 %12 = add nsw i64 %7, %1 %13 = select i1 %11, i64 0, i64 %12 %14 = icmp eq i64 %13, 0 %15 = icmp eq ptr %0, null br label %16 16: ; preds = %34, %3 %17 = tail call i64 @Tick64() #3 br i1 %14, label %18, label %20 18: ; preds = %16 %19 = load i64, ptr @INFINITE, align 8, !tbaa !10 br label %23 20: ; preds = %16 %21 = sub nsw i64 %13, %17 %22 = icmp slt i64 %17, %13 br i1 %22, label %23, label %35 23: ; preds = %20, %18 %24 = phi i64 [ %19, %18 ], [ %21, %20 ] %25 = tail call i64 @MIN(i64 noundef %24, i32 noundef 25) #3 %26 = load volatile i32, ptr %6, align 4, !tbaa !6 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %23 br i1 %15, label %32, label %29 29: ; preds = %28 %30 = tail call i64 @Wait(ptr noundef nonnull %0, i64 noundef %25) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %34, label %35 32: ; preds = %28 %33 = tail call i32 @SleepThread(i64 noundef %25) #3 br label %34 34: ; preds = %32, %29 br label %16 35: ; preds = %20, %23, %29 %36 = phi i32 [ 1, %29 ], [ 0, %23 ], [ 0, %20 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %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 declare i64 @Tick64(...) local_unnamed_addr #2 declare i64 @MIN(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @Wait(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @SleepThread(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
SoftEtherVPN_src_Mayaqua_extr_Object.c_WaitEx
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_ioctl.c_qlnx_get_trace.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_ioctl.c_qlnx_get_trace.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { ptr, i32, ptr, ptr } %struct.ecore_hwfn = type { i32 } @.str = private unnamed_addr constant [30 x i8] c"qlnx_zalloc [%d, 0x%x]failed\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"ecore_ptt_acquire [%d, 0x%x]failed\0A\00", align 1 @DBG_STATUS_OK = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"cmd = 0x%x failed [0x%x]\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qlnx_get_trace], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qlnx_get_trace(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !5 %5 = load ptr, ptr %2, align 8, !tbaa !9 %6 = sext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = tail call ptr @qlnx_zalloc(i32 noundef %8) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %3 %12 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1 %13 = load i32, ptr %12, align 8, !tbaa !12 %14 = tail call i32 @QL_DPRINT1(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %13) #3 %15 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %80 16: ; preds = %3 %17 = tail call i32 (...) @ecore_dbg_get_fw_func_ver() #3 %18 = tail call i32 @ecore_dbg_set_app_ver(i32 noundef %17) #3 %19 = load ptr, ptr %0, align 8, !tbaa !13 %20 = getelementptr inbounds %struct.ecore_hwfn, ptr %19, i64 %6 %21 = tail call ptr @ecore_ptt_acquire(ptr noundef %20) #3 %22 = icmp eq ptr %21, null %23 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1 %24 = load i32, ptr %23, align 8, !tbaa !12 br i1 %22, label %25, label %28 25: ; preds = %16 %26 = tail call i32 @QL_DPRINT1(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %24) #3 %27 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %80 28: ; preds = %16 switch i32 %24, label %59 [ i32 130, label %29 i32 128, label %35 i32 131, label %41 i32 129, label %47 i32 132, label %53 ] 29: ; preds = %28 %30 = load ptr, ptr %2, align 8, !tbaa !9 %31 = getelementptr inbounds i32, ptr %30, i64 %6 %32 = load i32, ptr %31, align 4, !tbaa !5 %33 = ashr i32 %32, 2 %34 = call i32 @ecore_dbg_mcp_trace_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %33, ptr noundef nonnull %4) #3 br label %59 35: ; preds = %28 %36 = load ptr, ptr %2, align 8, !tbaa !9 %37 = getelementptr inbounds i32, ptr %36, i64 %6 %38 = load i32, ptr %37, align 4, !tbaa !5 %39 = ashr i32 %38, 2 %40 = call i32 @ecore_dbg_reg_fifo_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %39, ptr noundef nonnull %4) #3 br label %59 41: ; preds = %28 %42 = load ptr, ptr %2, align 8, !tbaa !9 %43 = getelementptr inbounds i32, ptr %42, i64 %6 %44 = load i32, ptr %43, align 4, !tbaa !5 %45 = ashr i32 %44, 2 %46 = call i32 @ecore_dbg_igu_fifo_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %45, ptr noundef nonnull %4) #3 br label %59 47: ; preds = %28 %48 = load ptr, ptr %2, align 8, !tbaa !9 %49 = getelementptr inbounds i32, ptr %48, i64 %6 %50 = load i32, ptr %49, align 4, !tbaa !5 %51 = ashr i32 %50, 2 %52 = call i32 @ecore_dbg_protection_override_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %51, ptr noundef nonnull %4) #3 br label %59 53: ; preds = %28 %54 = load ptr, ptr %2, align 8, !tbaa !9 %55 = getelementptr inbounds i32, ptr %54, i64 %6 %56 = load i32, ptr %55, align 4, !tbaa !5 %57 = ashr i32 %56, 2 %58 = call i32 @ecore_dbg_fw_asserts_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %57, ptr noundef nonnull %4) #3 br label %59 59: ; preds = %28, %53, %47, %41, %35, %29 %60 = phi i32 [ -1, %28 ], [ %58, %53 ], [ %52, %47 ], [ %46, %41 ], [ %40, %35 ], [ %34, %29 ] %61 = load i32, ptr @DBG_STATUS_OK, align 4, !tbaa !5 %62 = icmp eq i32 %60, %61 br i1 %62, label %66, label %63 63: ; preds = %59 %64 = load i32, ptr %23, align 8, !tbaa !12 %65 = call i32 @QL_DPRINT1(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %64, i32 noundef %60) #3 store i32 0, ptr %4, align 4, !tbaa !5 br label %66 66: ; preds = %63, %59 %67 = call i32 @ecore_ptt_release(ptr noundef %20, ptr noundef nonnull %21) #3 %68 = load i32, ptr %4, align 4, !tbaa !5 %69 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 2 %70 = load ptr, ptr %69, align 8, !tbaa !16 %71 = getelementptr inbounds i32, ptr %70, i64 %6 store i32 %68, ptr %71, align 4, !tbaa !5 %72 = icmp eq i32 %68, 0 br i1 %72, label %80, label %73 73: ; preds = %66 %74 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 3 %75 = load ptr, ptr %74, align 8, !tbaa !17 %76 = getelementptr inbounds i32, ptr %75, i64 %6 %77 = load i32, ptr %76, align 4, !tbaa !5 %78 = shl i32 %68, 2 %79 = call i32 @copyout(ptr noundef nonnull %9, i32 noundef %77, i32 noundef %78) #3 br label %80 80: ; preds = %66, %73, %25, %11 %81 = phi i32 [ %15, %11 ], [ %27, %25 ], [ %79, %73 ], [ %60, %66 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %81 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @qlnx_zalloc(i32 noundef) local_unnamed_addr #2 declare i32 @QL_DPRINT1(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_set_app_ver(i32 noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_get_fw_func_ver(...) local_unnamed_addr #2 declare ptr @ecore_ptt_acquire(ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_mcp_trace_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_reg_fifo_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_igu_fifo_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_protection_override_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_fw_asserts_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_ptt_release(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @copyout(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, !11, i64 0} !10 = !{!"TYPE_8__", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_9__", !15, i64 0} !15 = !{!"TYPE_7__", !11, i64 0} !16 = !{!10, !11, i64 16} !17 = !{!10, !11, i64 24}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_ioctl.c_qlnx_get_trace.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_ioctl.c_qlnx_get_trace.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ecore_hwfn = type { i32 } @.str = private unnamed_addr constant [30 x i8] c"qlnx_zalloc [%d, 0x%x]failed\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"ecore_ptt_acquire [%d, 0x%x]failed\0A\00", align 1 @DBG_STATUS_OK = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"cmd = 0x%x failed [0x%x]\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qlnx_get_trace], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qlnx_get_trace(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !6 %5 = load ptr, ptr %2, align 8, !tbaa !10 %6 = sext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = tail call ptr @qlnx_zalloc(i32 noundef %8) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %3 %12 = getelementptr inbounds i8, ptr %2, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !13 %14 = tail call i32 @QL_DPRINT1(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %13) #3 %15 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %80 16: ; preds = %3 %17 = tail call i32 @ecore_dbg_get_fw_func_ver() #3 %18 = tail call i32 @ecore_dbg_set_app_ver(i32 noundef %17) #3 %19 = load ptr, ptr %0, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.ecore_hwfn, ptr %19, i64 %6 %21 = tail call ptr @ecore_ptt_acquire(ptr noundef %20) #3 %22 = icmp eq ptr %21, null %23 = getelementptr inbounds i8, ptr %2, i64 8 %24 = load i32, ptr %23, align 8, !tbaa !13 br i1 %22, label %25, label %28 25: ; preds = %16 %26 = tail call i32 @QL_DPRINT1(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %1, i32 noundef %24) #3 %27 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %80 28: ; preds = %16 switch i32 %24, label %59 [ i32 130, label %29 i32 128, label %35 i32 131, label %41 i32 129, label %47 i32 132, label %53 ] 29: ; preds = %28 %30 = load ptr, ptr %2, align 8, !tbaa !10 %31 = getelementptr inbounds i32, ptr %30, i64 %6 %32 = load i32, ptr %31, align 4, !tbaa !6 %33 = ashr i32 %32, 2 %34 = call i32 @ecore_dbg_mcp_trace_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %33, ptr noundef nonnull %4) #3 br label %59 35: ; preds = %28 %36 = load ptr, ptr %2, align 8, !tbaa !10 %37 = getelementptr inbounds i32, ptr %36, i64 %6 %38 = load i32, ptr %37, align 4, !tbaa !6 %39 = ashr i32 %38, 2 %40 = call i32 @ecore_dbg_reg_fifo_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %39, ptr noundef nonnull %4) #3 br label %59 41: ; preds = %28 %42 = load ptr, ptr %2, align 8, !tbaa !10 %43 = getelementptr inbounds i32, ptr %42, i64 %6 %44 = load i32, ptr %43, align 4, !tbaa !6 %45 = ashr i32 %44, 2 %46 = call i32 @ecore_dbg_igu_fifo_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %45, ptr noundef nonnull %4) #3 br label %59 47: ; preds = %28 %48 = load ptr, ptr %2, align 8, !tbaa !10 %49 = getelementptr inbounds i32, ptr %48, i64 %6 %50 = load i32, ptr %49, align 4, !tbaa !6 %51 = ashr i32 %50, 2 %52 = call i32 @ecore_dbg_protection_override_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %51, ptr noundef nonnull %4) #3 br label %59 53: ; preds = %28 %54 = load ptr, ptr %2, align 8, !tbaa !10 %55 = getelementptr inbounds i32, ptr %54, i64 %6 %56 = load i32, ptr %55, align 4, !tbaa !6 %57 = ashr i32 %56, 2 %58 = call i32 @ecore_dbg_fw_asserts_dump(ptr noundef %20, ptr noundef nonnull %21, ptr noundef nonnull %9, i32 noundef %57, ptr noundef nonnull %4) #3 br label %59 59: ; preds = %28, %53, %47, %41, %35, %29 %60 = phi i32 [ -1, %28 ], [ %58, %53 ], [ %52, %47 ], [ %46, %41 ], [ %40, %35 ], [ %34, %29 ] %61 = load i32, ptr @DBG_STATUS_OK, align 4, !tbaa !6 %62 = icmp eq i32 %60, %61 br i1 %62, label %66, label %63 63: ; preds = %59 %64 = load i32, ptr %23, align 8, !tbaa !13 %65 = call i32 @QL_DPRINT1(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %64, i32 noundef %60) #3 store i32 0, ptr %4, align 4, !tbaa !6 br label %66 66: ; preds = %63, %59 %67 = call i32 @ecore_ptt_release(ptr noundef %20, ptr noundef nonnull %21) #3 %68 = load i32, ptr %4, align 4, !tbaa !6 %69 = getelementptr inbounds i8, ptr %2, i64 16 %70 = load ptr, ptr %69, align 8, !tbaa !17 %71 = getelementptr inbounds i32, ptr %70, i64 %6 store i32 %68, ptr %71, align 4, !tbaa !6 %72 = icmp eq i32 %68, 0 br i1 %72, label %80, label %73 73: ; preds = %66 %74 = getelementptr inbounds i8, ptr %2, i64 24 %75 = load ptr, ptr %74, align 8, !tbaa !18 %76 = getelementptr inbounds i32, ptr %75, i64 %6 %77 = load i32, ptr %76, align 4, !tbaa !6 %78 = shl i32 %68, 2 %79 = call i32 @copyout(ptr noundef nonnull %9, i32 noundef %77, i32 noundef %78) #3 br label %80 80: ; preds = %66, %73, %25, %11 %81 = phi i32 [ %15, %11 ], [ %27, %25 ], [ %79, %73 ], [ %60, %66 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %81 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @qlnx_zalloc(i32 noundef) local_unnamed_addr #2 declare i32 @QL_DPRINT1(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_set_app_ver(i32 noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_get_fw_func_ver(...) local_unnamed_addr #2 declare ptr @ecore_ptt_acquire(ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_mcp_trace_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_reg_fifo_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_igu_fifo_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_protection_override_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_dbg_fw_asserts_dump(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ecore_ptt_release(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @copyout(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, !12, i64 0} !11 = !{!"TYPE_8__", !12, i64 0, !7, i64 8, !12, i64 16, !12, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_9__", !16, i64 0} !16 = !{!"TYPE_7__", !12, i64 0} !17 = !{!11, !12, i64 16} !18 = !{!11, !12, i64 24}
freebsd_sys_dev_qlnx_qlnxe_extr_qlnx_ioctl.c_qlnx_get_trace
; ModuleID = 'AnghaBench/git/builtin/extr_commit-tree.c_new_parent.c' source_filename = "AnghaBench/git/builtin/extr_commit-tree.c_new_parent.c" target datalayout = "e-m:e-p270:32:32-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.commit_list = type { ptr, ptr } @.str = private unnamed_addr constant [28 x i8] c"duplicate parent %s ignored\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @new_parent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @new_parent(ptr noundef %0, ptr noundef %1) #0 { br label %3 3: ; preds = %7, %2 %4 = phi ptr [ %1, %2 ], [ %5, %7 ] %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %15, label %7 7: ; preds = %3 %8 = getelementptr inbounds %struct.commit_list, ptr %5, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !9 %10 = icmp eq ptr %9, %0 br i1 %10, label %11, label %3, !llvm.loop !11 11: ; preds = %7 %12 = tail call i32 @_(ptr noundef nonnull @.str) #2 %13 = tail call i32 @oid_to_hex(ptr noundef %0) #2 %14 = tail call i32 @error(i32 noundef %12, i32 noundef %13) #2 br label %17 15: ; preds = %3 %16 = tail call i32 @commit_list_insert(ptr noundef %0, ptr noundef nonnull %4) #2 br label %17 17: ; preds = %15, %11 ret void } declare i32 @error(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @oid_to_hex(ptr noundef) local_unnamed_addr #1 declare i32 @commit_list_insert(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"commit_list", !6, i64 0, !6, i64 8} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/git/builtin/extr_commit-tree.c_new_parent.c' source_filename = "AnghaBench/git/builtin/extr_commit-tree.c_new_parent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [28 x i8] c"duplicate parent %s ignored\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @new_parent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @new_parent(ptr noundef %0, ptr noundef %1) #0 { br label %3 3: ; preds = %7, %2 %4 = phi ptr [ %1, %2 ], [ %5, %7 ] %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %15, label %7 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %5, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !10 %10 = icmp eq ptr %9, %0 br i1 %10, label %11, label %3, !llvm.loop !12 11: ; preds = %7 %12 = tail call i32 @_(ptr noundef nonnull @.str) #2 %13 = tail call i32 @oid_to_hex(ptr noundef %0) #2 %14 = tail call i32 @error(i32 noundef %12, i32 noundef %13) #2 br label %17 15: ; preds = %3 %16 = tail call i32 @commit_list_insert(ptr noundef %0, ptr noundef nonnull %4) #2 br label %17 17: ; preds = %15, %11 ret void } declare i32 @error(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @oid_to_hex(ptr noundef) local_unnamed_addr #1 declare i32 @commit_list_insert(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"commit_list", !7, i64 0, !7, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
git_builtin_extr_commit-tree.c_new_parent
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/smsc/extr_smc91x.c_smc_ethtool_geteeprom_len.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/smsc/extr_smc91x.c_smc_ethtool_geteeprom_len.c" target datalayout = "e-m:e-p270:32:32-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 @smc_ethtool_geteeprom_len], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @smc_ethtool_geteeprom_len(ptr nocapture readnone %0) #0 { ret i32 70 } 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/ethernet/smsc/extr_smc91x.c_smc_ethtool_geteeprom_len.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/smsc/extr_smc91x.c_smc_ethtool_geteeprom_len.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 @smc_ethtool_geteeprom_len], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @smc_ethtool_geteeprom_len(ptr nocapture readnone %0) #0 { ret i32 70 } 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_ethernet_smsc_extr_smc91x.c_smc_ethtool_geteeprom_len
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_secy.c_FM_MACSEC_SECY_ConfigProtectFrames.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_secy.c_FM_MACSEC_SECY_ConfigProtectFrames.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, ptr } @E_INVALID_HANDLE = dso_local local_unnamed_addr global i32 0, align 4 @E_INVALID_STATE = dso_local local_unnamed_addr global i32 0, align 4 @E_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @FM_MACSEC_SECY_ConfigProtectFrames(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !5 %5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !9 %8 = load i32, ptr @E_INVALID_STATE, align 4, !tbaa !5 %9 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %7, i32 noundef %8) #2 store i32 %1, ptr %3, align 8, !tbaa !12 %10 = load i32, ptr @E_OK, align 4, !tbaa !5 ret i32 %10 } declare i32 @SANITY_CHECK_RETURN_ERROR(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 = !{!"TYPE_3__", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_secy.c_FM_MACSEC_SECY_ConfigProtectFrames.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/extr_fm_macsec_secy.c_FM_MACSEC_SECY_ConfigProtectFrames.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E_INVALID_HANDLE = common local_unnamed_addr global i32 0, align 4 @E_INVALID_STATE = common local_unnamed_addr global i32 0, align 4 @E_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @FM_MACSEC_SECY_ConfigProtectFrames(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !6 %5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %3, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load i32, ptr @E_INVALID_STATE, align 4, !tbaa !6 %9 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %7, i32 noundef %8) #2 store i32 %1, ptr %3, align 8, !tbaa !13 %10 = load i32, ptr @E_OK, align 4, !tbaa !6 ret i32 %10 } declare i32 @SANITY_CHECK_RETURN_ERROR(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 = !{!"TYPE_3__", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 0}
freebsd_sys_contrib_ncsw_Peripherals_FM_MACSEC_extr_fm_macsec_secy.c_FM_MACSEC_SECY_ConfigProtectFrames
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_main.c_b43_set_pretbtt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_main.c_b43_set_pretbtt.c" target datalayout = "e-m:e-p270:32:32-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.b43_wldev = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i64 } @NL80211_IFTYPE_ADHOC = dso_local local_unnamed_addr global i32 0, align 4 @B43_PHYTYPE_A = dso_local local_unnamed_addr global i64 0, align 8 @B43_SHM_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @B43_SHM_SH_PRETBTT = dso_local local_unnamed_addr global i32 0, align 4 @B43_MMIO_TSF_CFP_PRETBTT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @b43_set_pretbtt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @b43_set_pretbtt(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @NL80211_IFTYPE_ADHOC, align 4, !tbaa !12 %5 = tail call i64 @b43_is_mode(i32 noundef %3, i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i64, ptr %0, align 8, !tbaa !13 %9 = load i64, ptr @B43_PHYTYPE_A, align 8, !tbaa !14 %10 = icmp eq i64 %8, %9 %11 = select i1 %10, i32 120, i32 250 br label %12 12: ; preds = %7, %1 %13 = phi i32 [ 2, %1 ], [ %11, %7 ] %14 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !12 %15 = load i32, ptr @B43_SHM_SH_PRETBTT, align 4, !tbaa !12 %16 = tail call i32 @b43_shm_write16(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %15, i32 noundef %13) #2 %17 = load i32, ptr @B43_MMIO_TSF_CFP_PRETBTT, align 4, !tbaa !12 %18 = tail call i32 @b43_write16(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %13) #2 ret void } declare i64 @b43_is_mode(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_shm_write16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_write16(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, !11, i64 8} !6 = !{!"b43_wldev", !7, i64 0, !11, i64 8} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !8, i64 0} !14 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_main.c_b43_set_pretbtt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_main.c_b43_set_pretbtt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NL80211_IFTYPE_ADHOC = common local_unnamed_addr global i32 0, align 4 @B43_PHYTYPE_A = common local_unnamed_addr global i64 0, align 8 @B43_SHM_SHARED = common local_unnamed_addr global i32 0, align 4 @B43_SHM_SH_PRETBTT = common local_unnamed_addr global i32 0, align 4 @B43_MMIO_TSF_CFP_PRETBTT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @b43_set_pretbtt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @b43_set_pretbtt(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @NL80211_IFTYPE_ADHOC, align 4, !tbaa !13 %5 = tail call i64 @b43_is_mode(i32 noundef %3, i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i64, ptr %0, align 8, !tbaa !14 %9 = load i64, ptr @B43_PHYTYPE_A, align 8, !tbaa !15 %10 = icmp eq i64 %8, %9 %11 = select i1 %10, i32 120, i32 250 br label %12 12: ; preds = %7, %1 %13 = phi i32 [ 2, %1 ], [ %11, %7 ] %14 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !13 %15 = load i32, ptr @B43_SHM_SH_PRETBTT, align 4, !tbaa !13 %16 = tail call i32 @b43_shm_write16(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %15, i32 noundef %13) #2 %17 = load i32, ptr @B43_MMIO_TSF_CFP_PRETBTT, align 4, !tbaa !13 %18 = tail call i32 @b43_write16(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %13) #2 ret void } declare i64 @b43_is_mode(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_shm_write16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_write16(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, !12, i64 8} !7 = !{!"b43_wldev", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !9, i64 0} !15 = !{!9, !9, i64 0}
fastsocket_kernel_drivers_net_wireless_b43_extr_main.c_b43_set_pretbtt
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InRpcCrl.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InRpcCrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { ptr, i32, i32 } %struct.TYPE_12__ = type { i32, i32 } %struct.TYPE_9__ = type { i32, i32, ptr, i32 } %struct.TYPE_11__ = type { ptr, ptr, ptr, ptr, ptr, ptr } @MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"HubName\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Key\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Serial\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"CommonName\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"Organization\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"Unit\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Country\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"State\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"Local\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"DigestMD5\00", align 1 @MD5_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [11 x i8] c"DigestSHA1\00", align 1 @SHA1_SIZE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @InRpcCrl(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @MAX_SIZE, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i32, i64 %4, align 16 %6 = icmp eq ptr %0, null %7 = icmp eq ptr %1, null %8 = or i1 %6, %7 br i1 %8, label %83, label %9 9: ; preds = %2 %10 = tail call i32 @Zero(ptr noundef nonnull %0, i32 noundef 16) #2 %11 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !9 %13 = tail call i32 @PackGetStr(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef 4) #2 %14 = tail call i32 @PackGetInt(ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #2 %15 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 store i32 %14, ptr %15, align 8, !tbaa !12 %16 = tail call ptr @PackGetBuf(ptr noundef nonnull %1, ptr noundef nonnull @.str.2) #2 %17 = tail call ptr @ZeroMalloc(i32 noundef 4) #2 store ptr %17, ptr %0, align 8, !tbaa !13 %18 = icmp eq ptr %16, null br i1 %18, label %27, label %19 19: ; preds = %9 %20 = getelementptr inbounds %struct.TYPE_12__, ptr %16, i64 0, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !14 %22 = load i32, ptr %16, align 4, !tbaa !16 %23 = tail call i32 @NewXSerial(i32 noundef %21, i32 noundef %22) #2 %24 = load ptr, ptr %0, align 8, !tbaa !13 %25 = getelementptr inbounds %struct.TYPE_9__, ptr %24, i64 0, i32 3 store i32 %23, ptr %25, align 8, !tbaa !17 %26 = tail call i32 @FreeBuf(ptr noundef nonnull %16) #2 br label %27 27: ; preds = %19, %9 %28 = tail call ptr @ZeroMalloc(i32 noundef 48) #2 %29 = load ptr, ptr %0, align 8, !tbaa !13 %30 = getelementptr inbounds %struct.TYPE_9__, ptr %29, i64 0, i32 2 store ptr %28, ptr %30, align 8, !tbaa !19 %31 = shl i32 %3, 2 %32 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.3, ptr noundef nonnull %5, i32 noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %37, label %34 34: ; preds = %27 %35 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %36 = getelementptr inbounds %struct.TYPE_11__, ptr %28, i64 0, i32 5 store ptr %35, ptr %36, align 8, !tbaa !20 br label %37 37: ; preds = %34, %27 %38 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.4, ptr noundef nonnull %5, i32 noundef %31) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %37 %41 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %42 = getelementptr inbounds %struct.TYPE_11__, ptr %28, i64 0, i32 4 store ptr %41, ptr %42, align 8, !tbaa !22 br label %43 43: ; preds = %40, %37 %44 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.5, ptr noundef nonnull %5, i32 noundef %31) #2 %45 = icmp eq i64 %44, 0 br i1 %45, label %49, label %46 46: ; preds = %43 %47 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %48 = getelementptr inbounds %struct.TYPE_11__, ptr %28, i64 0, i32 3 store ptr %47, ptr %48, align 8, !tbaa !23 br label %49 49: ; preds = %46, %43 %50 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.6, ptr noundef nonnull %5, i32 noundef %31) #2 %51 = icmp eq i64 %50, 0 br i1 %51, label %55, label %52 52: ; preds = %49 %53 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %54 = getelementptr inbounds %struct.TYPE_11__, ptr %28, i64 0, i32 2 store ptr %53, ptr %54, align 8, !tbaa !24 br label %55 55: ; preds = %52, %49 %56 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, ptr noundef nonnull %5, i32 noundef %31) #2 %57 = icmp eq i64 %56, 0 br i1 %57, label %61, label %58 58: ; preds = %55 %59 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %60 = getelementptr inbounds %struct.TYPE_11__, ptr %28, i64 0, i32 1 store ptr %59, ptr %60, align 8, !tbaa !25 br label %61 61: ; preds = %58, %55 %62 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.8, ptr noundef nonnull %5, i32 noundef %31) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %61 %65 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 store ptr %65, ptr %28, align 8, !tbaa !26 br label %66 66: ; preds = %64, %61 %67 = call i64 @PackGetDataSize(ptr noundef nonnull %1, ptr noundef nonnull @.str.9) #2 %68 = load i64, ptr @MD5_SIZE, align 8, !tbaa !27 %69 = icmp eq i64 %67, %68 br i1 %69, label %70, label %75 70: ; preds = %66 %71 = load ptr, ptr %0, align 8, !tbaa !13 %72 = getelementptr inbounds %struct.TYPE_9__, ptr %71, i64 0, i32 1 %73 = load i32, ptr %72, align 4, !tbaa !29 %74 = call i32 @PackGetData(ptr noundef nonnull %1, ptr noundef nonnull @.str.9, i32 noundef %73) #2 br label %75 75: ; preds = %70, %66 %76 = call i64 @PackGetDataSize(ptr noundef nonnull %1, ptr noundef nonnull @.str.10) #2 %77 = load i64, ptr @SHA1_SIZE, align 8, !tbaa !27 %78 = icmp eq i64 %76, %77 br i1 %78, label %79, label %83 79: ; preds = %75 %80 = load ptr, ptr %0, align 8, !tbaa !13 %81 = load i32, ptr %80, align 8, !tbaa !30 %82 = call i32 @PackGetData(ptr noundef nonnull %1, ptr noundef nonnull @.str.10, i32 noundef %81) #2 br label %83 83: ; preds = %75, %79, %2 ret void } declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PackGetStr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PackGetInt(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @PackGetBuf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ZeroMalloc(i32 noundef) local_unnamed_addr #1 declare i32 @NewXSerial(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FreeBuf(ptr noundef) local_unnamed_addr #1 declare i64 @PackGetUniStr(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @CopyUniStr(ptr noundef) local_unnamed_addr #1 declare i64 @PackGetDataSize(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PackGetData(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"TYPE_10__", !11, i64 0, !6, i64 8, !6, i64 12} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!10, !11, i64 0} !14 = !{!15, !6, i64 4} !15 = !{!"TYPE_12__", !6, i64 0, !6, i64 4} !16 = !{!15, !6, i64 0} !17 = !{!18, !6, i64 16} !18 = !{!"TYPE_9__", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16} !19 = !{!18, !11, i64 8} !20 = !{!21, !11, i64 40} !21 = !{!"TYPE_11__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40} !22 = !{!21, !11, i64 32} !23 = !{!21, !11, i64 24} !24 = !{!21, !11, i64 16} !25 = !{!21, !11, i64 8} !26 = !{!21, !11, i64 0} !27 = !{!28, !28, i64 0} !28 = !{!"long", !7, i64 0} !29 = !{!18, !6, i64 4} !30 = !{!18, !6, i64 0}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InRpcCrl.c' source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InRpcCrl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"HubName\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"Key\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Serial\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"CommonName\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"Organization\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"Unit\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Country\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"State\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"Local\00", align 1 @.str.9 = private unnamed_addr constant [10 x i8] c"DigestMD5\00", align 1 @MD5_SIZE = common local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [11 x i8] c"DigestSHA1\00", align 1 @SHA1_SIZE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @InRpcCrl(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @MAX_SIZE, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i32, i64 %4, align 4 %6 = icmp eq ptr %0, null %7 = icmp eq ptr %1, null %8 = or i1 %6, %7 br i1 %8, label %83, label %9 9: ; preds = %2 %10 = tail call i32 @Zero(ptr noundef nonnull %0, i32 noundef 16) #2 %11 = getelementptr inbounds i8, ptr %0, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = tail call i32 @PackGetStr(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef 4) #2 %14 = tail call i32 @PackGetInt(ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #2 %15 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %14, ptr %15, align 8, !tbaa !13 %16 = tail call ptr @PackGetBuf(ptr noundef nonnull %1, ptr noundef nonnull @.str.2) #2 %17 = tail call ptr @ZeroMalloc(i32 noundef 4) #2 store ptr %17, ptr %0, align 8, !tbaa !14 %18 = icmp eq ptr %16, null br i1 %18, label %27, label %19 19: ; preds = %9 %20 = getelementptr inbounds i8, ptr %16, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !15 %22 = load i32, ptr %16, align 4, !tbaa !17 %23 = tail call i32 @NewXSerial(i32 noundef %21, i32 noundef %22) #2 %24 = load ptr, ptr %0, align 8, !tbaa !14 %25 = getelementptr inbounds i8, ptr %24, i64 16 store i32 %23, ptr %25, align 8, !tbaa !18 %26 = tail call i32 @FreeBuf(ptr noundef nonnull %16) #2 br label %27 27: ; preds = %19, %9 %28 = tail call ptr @ZeroMalloc(i32 noundef 48) #2 %29 = load ptr, ptr %0, align 8, !tbaa !14 %30 = getelementptr inbounds i8, ptr %29, i64 8 store ptr %28, ptr %30, align 8, !tbaa !20 %31 = shl i32 %3, 2 %32 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.3, ptr noundef nonnull %5, i32 noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %37, label %34 34: ; preds = %27 %35 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %36 = getelementptr inbounds i8, ptr %28, i64 40 store ptr %35, ptr %36, align 8, !tbaa !21 br label %37 37: ; preds = %34, %27 %38 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.4, ptr noundef nonnull %5, i32 noundef %31) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %37 %41 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %42 = getelementptr inbounds i8, ptr %28, i64 32 store ptr %41, ptr %42, align 8, !tbaa !23 br label %43 43: ; preds = %40, %37 %44 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.5, ptr noundef nonnull %5, i32 noundef %31) #2 %45 = icmp eq i64 %44, 0 br i1 %45, label %49, label %46 46: ; preds = %43 %47 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %48 = getelementptr inbounds i8, ptr %28, i64 24 store ptr %47, ptr %48, align 8, !tbaa !24 br label %49 49: ; preds = %46, %43 %50 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.6, ptr noundef nonnull %5, i32 noundef %31) #2 %51 = icmp eq i64 %50, 0 br i1 %51, label %55, label %52 52: ; preds = %49 %53 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %54 = getelementptr inbounds i8, ptr %28, i64 16 store ptr %53, ptr %54, align 8, !tbaa !25 br label %55 55: ; preds = %52, %49 %56 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, ptr noundef nonnull %5, i32 noundef %31) #2 %57 = icmp eq i64 %56, 0 br i1 %57, label %61, label %58 58: ; preds = %55 %59 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 %60 = getelementptr inbounds i8, ptr %28, i64 8 store ptr %59, ptr %60, align 8, !tbaa !26 br label %61 61: ; preds = %58, %55 %62 = call i64 @PackGetUniStr(ptr noundef nonnull %1, ptr noundef nonnull @.str.8, ptr noundef nonnull %5, i32 noundef %31) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %61 %65 = call ptr @CopyUniStr(ptr noundef nonnull %5) #2 store ptr %65, ptr %28, align 8, !tbaa !27 br label %66 66: ; preds = %64, %61 %67 = call i64 @PackGetDataSize(ptr noundef nonnull %1, ptr noundef nonnull @.str.9) #2 %68 = load i64, ptr @MD5_SIZE, align 8, !tbaa !28 %69 = icmp eq i64 %67, %68 br i1 %69, label %70, label %75 70: ; preds = %66 %71 = load ptr, ptr %0, align 8, !tbaa !14 %72 = getelementptr inbounds i8, ptr %71, i64 4 %73 = load i32, ptr %72, align 4, !tbaa !30 %74 = call i32 @PackGetData(ptr noundef nonnull %1, ptr noundef nonnull @.str.9, i32 noundef %73) #2 br label %75 75: ; preds = %70, %66 %76 = call i64 @PackGetDataSize(ptr noundef nonnull %1, ptr noundef nonnull @.str.10) #2 %77 = load i64, ptr @SHA1_SIZE, align 8, !tbaa !28 %78 = icmp eq i64 %76, %77 br i1 %78, label %79, label %83 79: ; preds = %75 %80 = load ptr, ptr %0, align 8, !tbaa !14 %81 = load i32, ptr %80, align 8, !tbaa !31 %82 = call i32 @PackGetData(ptr noundef nonnull %1, ptr noundef nonnull @.str.10, i32 noundef %81) #2 br label %83 83: ; preds = %75, %79, %2 ret void } declare i32 @Zero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PackGetStr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PackGetInt(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @PackGetBuf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ZeroMalloc(i32 noundef) local_unnamed_addr #1 declare i32 @NewXSerial(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FreeBuf(ptr noundef) local_unnamed_addr #1 declare i64 @PackGetUniStr(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @CopyUniStr(ptr noundef) local_unnamed_addr #1 declare i64 @PackGetDataSize(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PackGetData(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"TYPE_10__", !12, i64 0, !7, i64 8, !7, i64 12} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!11, !12, i64 0} !15 = !{!16, !7, i64 4} !16 = !{!"TYPE_12__", !7, i64 0, !7, i64 4} !17 = !{!16, !7, i64 0} !18 = !{!19, !7, i64 16} !19 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16} !20 = !{!19, !12, i64 8} !21 = !{!22, !12, i64 40} !22 = !{!"TYPE_11__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40} !23 = !{!22, !12, i64 32} !24 = !{!22, !12, i64 24} !25 = !{!22, !12, i64 16} !26 = !{!22, !12, i64 8} !27 = !{!22, !12, i64 0} !28 = !{!29, !29, i64 0} !29 = !{!"long", !8, i64 0} !30 = !{!19, !7, i64 4} !31 = !{!19, !7, i64 0}
SoftEtherVPN_src_Cedar_extr_Admin.c_InRpcCrl
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/extr_base.c_nvkm_clk_dstate.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/extr_base.c_nvkm_clk_dstate.c" target datalayout = "e-m:e-p270:32:32-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.nvkm_clk = type { i32, i64 } ; Function Attrs: nounwind uwtable define dso_local i32 @nvkm_clk_dstate(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %8, label %5 5: ; preds = %3 %6 = load i32, ptr %0, align 8, !tbaa !5 %7 = add nsw i32 %6, %2 br label %8 8: ; preds = %3, %5 %9 = phi i32 [ %7, %5 ], [ %1, %3 ] store i32 %9, ptr %0, align 8, !tbaa !5 %10 = getelementptr inbounds %struct.nvkm_clk, ptr %0, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = add nsw i64 %11, -1 %13 = tail call i32 @min(i32 noundef %9, i64 noundef %12) #2 store i32 %13, ptr %0, align 8, !tbaa !5 %14 = tail call i32 @max(i32 noundef %13, i32 noundef 0) #2 store i32 %14, ptr %0, align 8, !tbaa !5 %15 = tail call i32 @nvkm_pstate_calc(ptr noundef nonnull %0, i32 noundef 1) #2 ret i32 %15 } declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_pstate_calc(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nvkm_clk", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/extr_base.c_nvkm_clk_dstate.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/extr_base.c_nvkm_clk_dstate.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 @nvkm_clk_dstate(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %8, label %5 5: ; preds = %3 %6 = load i32, ptr %0, align 8, !tbaa !6 %7 = add nsw i32 %6, %2 br label %8 8: ; preds = %3, %5 %9 = phi i32 [ %7, %5 ], [ %1, %3 ] store i32 %9, ptr %0, align 8, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = add nsw i64 %11, -1 %13 = tail call i32 @min(i32 noundef %9, i64 noundef %12) #2 store i32 %13, ptr %0, align 8, !tbaa !6 %14 = tail call i32 @max(i32 noundef %13, i32 noundef 0) #2 store i32 %14, ptr %0, align 8, !tbaa !6 %15 = tail call i32 @nvkm_pstate_calc(ptr noundef nonnull %0, i32 noundef 1) #2 ret i32 %15 } declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_pstate_calc(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nvkm_clk", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8}
linux_drivers_gpu_drm_nouveau_nvkm_subdev_clk_extr_base.c_nvkm_clk_dstate
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_twl4030-power.c_twl4030_config_wakeup3_sequence.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_twl4030-power.c_twl4030_config_wakeup3_sequence.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TWL_MODULE_PM_MASTER = dso_local local_unnamed_addr global i32 0, align 4 @R_SEQ_ADD_S2A3 = dso_local local_unnamed_addr global i32 0, align 4 @R_P3_SW_EVENTS = dso_local local_unnamed_addr global i32 0, align 4 @PWR_LVL_WAKEUP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"TWL4030 wakeup sequence for P3 config error\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @twl4030_config_wakeup3_sequence], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @twl4030_config_wakeup3_sequence(i32 noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @TWL_MODULE_PM_MASTER, align 4, !tbaa !5 %4 = load i32, ptr @R_SEQ_ADD_S2A3, align 4, !tbaa !5 %5 = tail call i32 @twl_i2c_write_u8(i32 noundef %3, i32 noundef %0, i32 noundef %4) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %20 7: ; preds = %1 %8 = load i32, ptr @TWL_MODULE_PM_MASTER, align 4, !tbaa !5 %9 = load i32, ptr @R_P3_SW_EVENTS, align 4, !tbaa !5 %10 = call i32 @twl_i2c_read_u8(i32 noundef %8, ptr noundef nonnull %2, i32 noundef %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %7 %13 = load i32, ptr @PWR_LVL_WAKEUP, align 4, !tbaa !5 %14 = load i32, ptr %2, align 4, !tbaa !5 %15 = or i32 %14, %13 store i32 %15, ptr %2, align 4, !tbaa !5 %16 = load i32, ptr @TWL_MODULE_PM_MASTER, align 4, !tbaa !5 %17 = load i32, ptr @R_P3_SW_EVENTS, align 4, !tbaa !5 %18 = call i32 @twl_i2c_write_u8(i32 noundef %16, i32 noundef %15, i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %7, %1, %12 %21 = phi i32 [ %18, %12 ], [ %10, %7 ], [ %5, %1 ] %22 = call i32 @pr_err(ptr noundef nonnull @.str) #3 br label %23 23: ; preds = %20, %12 %24 = phi i32 [ %21, %20 ], [ 0, %12 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @twl_i2c_write_u8(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @twl_i2c_read_u8(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pr_err(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"}
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_twl4030-power.c_twl4030_config_wakeup3_sequence.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_twl4030-power.c_twl4030_config_wakeup3_sequence.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TWL_MODULE_PM_MASTER = common local_unnamed_addr global i32 0, align 4 @R_SEQ_ADD_S2A3 = common local_unnamed_addr global i32 0, align 4 @R_P3_SW_EVENTS = common local_unnamed_addr global i32 0, align 4 @PWR_LVL_WAKEUP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"TWL4030 wakeup sequence for P3 config error\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @twl4030_config_wakeup3_sequence], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @twl4030_config_wakeup3_sequence(i32 noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @TWL_MODULE_PM_MASTER, align 4, !tbaa !6 %4 = load i32, ptr @R_SEQ_ADD_S2A3, align 4, !tbaa !6 %5 = tail call i32 @twl_i2c_write_u8(i32 noundef %3, i32 noundef %0, i32 noundef %4) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %20 7: ; preds = %1 %8 = load i32, ptr @TWL_MODULE_PM_MASTER, align 4, !tbaa !6 %9 = load i32, ptr @R_P3_SW_EVENTS, align 4, !tbaa !6 %10 = call i32 @twl_i2c_read_u8(i32 noundef %8, ptr noundef nonnull %2, i32 noundef %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %7 %13 = load i32, ptr @PWR_LVL_WAKEUP, align 4, !tbaa !6 %14 = load i32, ptr %2, align 4, !tbaa !6 %15 = or i32 %14, %13 store i32 %15, ptr %2, align 4, !tbaa !6 %16 = load i32, ptr @TWL_MODULE_PM_MASTER, align 4, !tbaa !6 %17 = load i32, ptr @R_P3_SW_EVENTS, align 4, !tbaa !6 %18 = call i32 @twl_i2c_write_u8(i32 noundef %16, i32 noundef %15, i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %7, %1, %12 %21 = phi i32 [ %18, %12 ], [ %10, %7 ], [ %5, %1 ] %22 = call i32 @pr_err(ptr noundef nonnull @.str) #3 br label %23 23: ; preds = %20, %12 %24 = phi i32 [ %21, %20 ], [ 0, %12 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @twl_i2c_write_u8(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @twl_i2c_read_u8(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pr_err(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"}
linux_drivers_mfd_extr_twl4030-power.c_twl4030_config_wakeup3_sequence
; ModuleID = 'AnghaBench/darwin-xnu/bsd/miscfs/devfs/extr_devfs_fdesc_support.c_fdesc_reclaim.c' source_filename = "AnghaBench/darwin-xnu/bsd/miscfs/devfs/extr_devfs_fdesc_support.c_fdesc_reclaim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @fd_hash = dso_local local_unnamed_addr global i32 0, align 4 @M_TEMP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @fdesc_reclaim(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call ptr @VTOFDESC(ptr noundef %2) #2 %4 = tail call i32 (...) @fdesc_lock() #2 %5 = load i32, ptr @fd_hash, align 4, !tbaa !10 %6 = tail call i32 @LIST_REMOVE(ptr noundef %3, i32 noundef %5) #2 %7 = load ptr, ptr %2, align 8, !tbaa !12 %8 = load i32, ptr @M_TEMP, align 4, !tbaa !10 %9 = tail call i32 @FREE(ptr noundef %7, i32 noundef %8) #2 store ptr null, ptr %2, align 8, !tbaa !12 %10 = tail call i32 (...) @fdesc_unlock() #2 ret i32 0 } declare ptr @VTOFDESC(ptr noundef) local_unnamed_addr #1 declare i32 @fdesc_lock(...) local_unnamed_addr #1 declare i32 @LIST_REMOVE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FREE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fdesc_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"vnop_reclaim_args", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"vnode", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/miscfs/devfs/extr_devfs_fdesc_support.c_fdesc_reclaim.c' source_filename = "AnghaBench/darwin-xnu/bsd/miscfs/devfs/extr_devfs_fdesc_support.c_fdesc_reclaim.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fd_hash = common local_unnamed_addr global i32 0, align 4 @M_TEMP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @fdesc_reclaim(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call ptr @VTOFDESC(ptr noundef %2) #2 %4 = tail call i32 @fdesc_lock() #2 %5 = load i32, ptr @fd_hash, align 4, !tbaa !11 %6 = tail call i32 @LIST_REMOVE(ptr noundef %3, i32 noundef %5) #2 %7 = load ptr, ptr %2, align 8, !tbaa !13 %8 = load i32, ptr @M_TEMP, align 4, !tbaa !11 %9 = tail call i32 @FREE(ptr noundef %7, i32 noundef %8) #2 store ptr null, ptr %2, align 8, !tbaa !13 %10 = tail call i32 @fdesc_unlock() #2 ret i32 0 } declare ptr @VTOFDESC(ptr noundef) local_unnamed_addr #1 declare i32 @fdesc_lock(...) local_unnamed_addr #1 declare i32 @LIST_REMOVE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FREE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fdesc_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"vnop_reclaim_args", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"vnode", !8, i64 0}
darwin-xnu_bsd_miscfs_devfs_extr_devfs_fdesc_support.c_fdesc_reclaim
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_fcntl.c_kill_fasync.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_fcntl.c_kill_fasync.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @fasync_lock = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @kill_fasync(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %11, label %6 6: ; preds = %3 %7 = tail call i32 @read_lock(ptr noundef nonnull @fasync_lock) #2 %8 = load ptr, ptr %0, align 8, !tbaa !5 %9 = tail call i32 @__kill_fasync(ptr noundef %8, i32 noundef %1, i32 noundef %2) #2 %10 = tail call i32 @read_unlock(ptr noundef nonnull @fasync_lock) #2 br label %11 11: ; preds = %6, %3 ret void } declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare i32 @__kill_fasync(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_fcntl.c_kill_fasync.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_fcntl.c_kill_fasync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fasync_lock = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @kill_fasync(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %11, label %6 6: ; preds = %3 %7 = tail call i32 @read_lock(ptr noundef nonnull @fasync_lock) #2 %8 = load ptr, ptr %0, align 8, !tbaa !6 %9 = tail call i32 @__kill_fasync(ptr noundef %8, i32 noundef %1, i32 noundef %2) #2 %10 = tail call i32 @read_unlock(ptr noundef nonnull @fasync_lock) #2 br label %11 11: ; preds = %6, %3 ret void } declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare i32 @__kill_fasync(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_extr_fcntl.c_kill_fasync
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_ring.c_radeon_ring_undo.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_ring.c_radeon_ring_undo.c" target datalayout = "e-m:e-p270:32:32-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.radeon_ring = type { i32, i32 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define dso_local void @radeon_ring_undo(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.radeon_ring, ptr %0, i64 0, i32 1 store i32 %2, ptr %3, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"radeon_ring", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_ring.c_radeon_ring_undo.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_ring.c_radeon_ring_undo.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: readwrite) uwtable(sync) define void @radeon_ring_undo(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %2, ptr %3, align 4, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"radeon_ring", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4}
linux_drivers_gpu_drm_radeon_extr_radeon_ring.c_radeon_ring_undo
; ModuleID = 'AnghaBench/freebsd/sys/dev/iicbus/extr_sy8106a.c_sy8106a_regdev_map.c' source_filename = "AnghaBench/freebsd/sys/dev/iicbus/extr_sy8106a.c_sy8106a_regdev_map.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sy8106a_regdev_map], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sy8106a_regdev_map(i32 noundef %0, i64 noundef %1, i32 %2, ptr nocapture readnone %3, ptr nocapture noundef writeonly %4) #0 { %6 = tail call ptr @device_get_softc(i32 noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i64, ptr %7, align 8, !tbaa !10 %9 = icmp eq i64 %8, %1 br i1 %9, label %12, label %10 10: ; preds = %5 %11 = load i32, ptr @ENXIO, align 4, !tbaa !13 br label %13 12: ; preds = %5 store i64 0, ptr %4, align 8, !tbaa !15 br label %13 13: ; preds = %12, %10 %14 = phi i32 [ %11, %10 ], [ 0, %12 ] ret i32 %14 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sy8106a_softc", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/iicbus/extr_sy8106a.c_sy8106a_regdev_map.c' source_filename = "AnghaBench/freebsd/sys/dev/iicbus/extr_sy8106a.c_sy8106a_regdev_map.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENXIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sy8106a_regdev_map], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sy8106a_regdev_map(i32 noundef %0, i64 noundef %1, i32 %2, ptr nocapture readnone %3, ptr nocapture noundef writeonly %4) #0 { %6 = tail call ptr @device_get_softc(i32 noundef %0) #2 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = icmp eq i64 %8, %1 br i1 %9, label %12, label %10 10: ; preds = %5 %11 = load i32, ptr @ENXIO, align 4, !tbaa !14 br label %13 12: ; preds = %5 store i64 0, ptr %4, align 8, !tbaa !16 br label %13 13: ; preds = %12, %10 %14 = phi i32 [ %11, %10 ], [ 0, %12 ] ret i32 %14 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sy8106a_softc", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!13, !13, i64 0}
freebsd_sys_dev_iicbus_extr_sy8106a.c_sy8106a_regdev_map
; ModuleID = 'AnghaBench/linux/drivers/ssb/extr_driver_chipcommon.c_ssb_chipco_gpio_out.c' source_filename = "AnghaBench/linux/drivers/ssb/extr_driver_chipcommon.c_ssb_chipco_gpio_out.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SSB_CHIPCO_GPIOOUT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ssb_chipco_gpio_out(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %5 = load i32, ptr @SSB_CHIPCO_GPIOOUT, align 4, !tbaa !5 %6 = tail call i32 @chipco_write32_masked(ptr noundef %0, i32 noundef %5, i32 noundef %1, i32 noundef %2) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret i32 %6 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @chipco_write32_masked(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/ssb/extr_driver_chipcommon.c_ssb_chipco_gpio_out.c' source_filename = "AnghaBench/linux/drivers/ssb/extr_driver_chipcommon.c_ssb_chipco_gpio_out.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SSB_CHIPCO_GPIOOUT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ssb_chipco_gpio_out(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %5 = load i32, ptr @SSB_CHIPCO_GPIOOUT, align 4, !tbaa !6 %6 = tail call i32 @chipco_write32_masked(ptr noundef %0, i32 noundef %5, i32 noundef %1, i32 noundef %2) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret i32 %6 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @chipco_write32_masked(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_ssb_extr_driver_chipcommon.c_ssb_chipco_gpio_out
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_create_new_inode_locks.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_create_new_inode_locks.c" target datalayout = "e-m:e-p270:32:32-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, i64 } @.str = private unnamed_addr constant [12 x i8] c"Inode %llu\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ocfs2_create_new_inode_locks(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call ptr @OCFS2_SB(i32 noundef %2) #2 %4 = tail call i32 @ocfs2_inode_is_new(ptr noundef nonnull %0) #2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @BUG_ON(i32 noundef %6) #2 %8 = tail call ptr @OCFS2_I(ptr noundef nonnull %0) #2 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 3 %10 = load i64, ptr %9, align 8, !tbaa !10 %11 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %10) #2 %12 = tail call ptr @OCFS2_I(ptr noundef nonnull %0) #2 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 0, i32 2 %14 = tail call i32 @ocfs2_create_new_lock(ptr noundef %3, ptr noundef nonnull %13, i32 noundef 1, i32 noundef 1) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %1 %17 = tail call ptr @OCFS2_I(ptr noundef nonnull %0) #2 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 0, i32 1 %19 = tail call i32 @ocfs2_create_new_lock(ptr noundef %3, ptr noundef nonnull %18, i32 noundef 1, i32 noundef 0) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = tail call ptr @OCFS2_I(ptr noundef nonnull %0) #2 %23 = tail call i32 @ocfs2_create_new_lock(ptr noundef %3, ptr noundef %22, i32 noundef 0, i32 noundef 0) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %21, %16, %1 %26 = phi i32 [ %14, %1 ], [ %19, %16 ], [ %23, %21 ] %27 = tail call i32 @mlog_errno(i32 noundef %26) #2 br label %28 28: ; preds = %25, %21 %29 = phi i32 [ 0, %21 ], [ %26, %25 ] ret i32 %29 } declare ptr @OCFS2_SB(i32 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_inode_is_new(ptr noundef) local_unnamed_addr #1 declare i32 @mlog(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @OCFS2_I(ptr noundef) local_unnamed_addr #1 declare i32 @ocfs2_create_new_lock(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlog_errno(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 = !{!"inode", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_create_new_inode_locks.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_create_new_inode_locks.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 [12 x i8] c"Inode %llu\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @ocfs2_create_new_inode_locks(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call ptr @OCFS2_SB(i32 noundef %2) #2 %4 = tail call i32 @ocfs2_inode_is_new(ptr noundef nonnull %0) #2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @BUG_ON(i32 noundef %6) #2 %8 = tail call ptr @OCFS2_I(ptr noundef nonnull %0) #2 %9 = getelementptr inbounds i8, ptr %8, i64 16 %10 = load i64, ptr %9, align 8, !tbaa !11 %11 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %10) #2 %12 = tail call ptr @OCFS2_I(ptr noundef nonnull %0) #2 %13 = getelementptr inbounds i8, ptr %12, i64 8 %14 = tail call i32 @ocfs2_create_new_lock(ptr noundef %3, ptr noundef nonnull %13, i32 noundef 1, i32 noundef 1) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %1 %17 = tail call ptr @OCFS2_I(ptr noundef nonnull %0) #2 %18 = getelementptr inbounds i8, ptr %17, i64 4 %19 = tail call i32 @ocfs2_create_new_lock(ptr noundef %3, ptr noundef nonnull %18, i32 noundef 1, i32 noundef 0) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = tail call ptr @OCFS2_I(ptr noundef nonnull %0) #2 %23 = tail call i32 @ocfs2_create_new_lock(ptr noundef %3, ptr noundef %22, i32 noundef 0, i32 noundef 0) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %21, %16, %1 %26 = phi i32 [ %14, %1 ], [ %19, %16 ], [ %23, %21 ] %27 = tail call i32 @mlog_errno(i32 noundef %26) #2 br label %28 28: ; preds = %25, %21 %29 = phi i32 [ 0, %21 ], [ %26, %25 ] ret i32 %29 } declare ptr @OCFS2_SB(i32 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_inode_is_new(ptr noundef) local_unnamed_addr #1 declare i32 @mlog(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @OCFS2_I(ptr noundef) local_unnamed_addr #1 declare i32 @ocfs2_create_new_lock(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlog_errno(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 = !{!"inode", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 16} !12 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8, !13, i64 16} !13 = !{!"long", !9, i64 0}
linux_fs_ocfs2_extr_dlmglue.c_ocfs2_create_new_inode_locks
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_xen-acpi-cpuhotplug.c_acpi_processor_uninstall_hotplug_notify.c' source_filename = "AnghaBench/linux/drivers/xen/extr_xen-acpi-cpuhotplug.c_acpi_processor_uninstall_hotplug_notify.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @UNINSTALL_NOTIFY_HANDLER = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_TYPE_ANY = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_ROOT_OBJECT = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_UINT32_MAX = dso_local local_unnamed_addr global i32 0, align 4 @processor_walk_namespace_cb = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @acpi_processor_uninstall_hotplug_notify], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @acpi_processor_uninstall_hotplug_notify() #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = load i32, ptr @UNINSTALL_NOTIFY_HANDLER, align 4, !tbaa !5 store i32 %2, ptr %1, align 4, !tbaa !5 %3 = load i32, ptr @ACPI_TYPE_ANY, align 4, !tbaa !5 %4 = load i32, ptr @ACPI_ROOT_OBJECT, align 4, !tbaa !5 %5 = load i32, ptr @ACPI_UINT32_MAX, align 4, !tbaa !5 %6 = load i32, ptr @processor_walk_namespace_cb, align 4, !tbaa !5 %7 = call i32 @acpi_walk_namespace(i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef null, ptr noundef nonnull %1, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @acpi_walk_namespace(i32 noundef, i32 noundef, i32 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_xen-acpi-cpuhotplug.c_acpi_processor_uninstall_hotplug_notify.c' source_filename = "AnghaBench/linux/drivers/xen/extr_xen-acpi-cpuhotplug.c_acpi_processor_uninstall_hotplug_notify.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UNINSTALL_NOTIFY_HANDLER = common local_unnamed_addr global i32 0, align 4 @ACPI_TYPE_ANY = common local_unnamed_addr global i32 0, align 4 @ACPI_ROOT_OBJECT = common local_unnamed_addr global i32 0, align 4 @ACPI_UINT32_MAX = common local_unnamed_addr global i32 0, align 4 @processor_walk_namespace_cb = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @acpi_processor_uninstall_hotplug_notify], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @acpi_processor_uninstall_hotplug_notify() #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = load i32, ptr @UNINSTALL_NOTIFY_HANDLER, align 4, !tbaa !6 store i32 %2, ptr %1, align 4, !tbaa !6 %3 = load i32, ptr @ACPI_TYPE_ANY, align 4, !tbaa !6 %4 = load i32, ptr @ACPI_ROOT_OBJECT, align 4, !tbaa !6 %5 = load i32, ptr @ACPI_UINT32_MAX, align 4, !tbaa !6 %6 = load i32, ptr @processor_walk_namespace_cb, align 4, !tbaa !6 %7 = call i32 @acpi_walk_namespace(i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef null, ptr noundef nonnull %1, ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @acpi_walk_namespace(i32 noundef, i32 noundef, i32 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_xen_extr_xen-acpi-cpuhotplug.c_acpi_processor_uninstall_hotplug_notify
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_power5-pmu.c_find_alternative.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_power5-pmu.c_find_alternative.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @event_alternatives = dso_local local_unnamed_addr global ptr null, align 8 @MAX_ALT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_alternative], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @find_alternative(i64 noundef %0) #0 { %2 = load ptr, ptr @event_alternatives, align 8, !tbaa !5 %3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %34 5: ; preds = %1, %27 %6 = phi i64 [ %28, %27 ], [ 0, %1 ] %7 = load ptr, ptr @event_alternatives, align 8, !tbaa !5 %8 = getelementptr inbounds ptr, ptr %7, i64 %6 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = load i64, ptr %9, align 8, !tbaa !9 %11 = icmp sgt i64 %10, %0 br i1 %11, label %34, label %12 12: ; preds = %5 %13 = load i32, ptr @MAX_ALT, align 4, !tbaa !11 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %27 15: ; preds = %12 %16 = zext nneg i32 %13 to i64 br label %20 17: ; preds = %25 %18 = add nuw nsw i64 %21, 1 %19 = icmp eq i64 %18, %16 br i1 %19, label %27, label %20, !llvm.loop !13 20: ; preds = %15, %17 %21 = phi i64 [ 0, %15 ], [ %18, %17 ] %22 = getelementptr inbounds i64, ptr %9, i64 %21 %23 = load i64, ptr %22, align 8, !tbaa !9 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %20 %26 = icmp eq i64 %23, %0 br i1 %26, label %32, label %17 27: ; preds = %17, %20, %12 %28 = add nuw nsw i64 %6, 1 %29 = tail call i32 @ARRAY_SIZE(ptr noundef %7) #2 %30 = sext i32 %29 to i64 %31 = icmp slt i64 %28, %30 br i1 %31, label %5, label %34, !llvm.loop !15 32: ; preds = %25 %33 = trunc i64 %6 to i32 br label %34 34: ; preds = %5, %27, %32, %1 %35 = phi i32 [ -1, %1 ], [ %33, %32 ], [ -1, %27 ], [ -1, %5 ] ret i32 %35 } declare i32 @ARRAY_SIZE(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 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_power5-pmu.c_find_alternative.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_power5-pmu.c_find_alternative.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @event_alternatives = common local_unnamed_addr global ptr null, align 8 @MAX_ALT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @find_alternative], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @find_alternative(i64 noundef %0) #0 { %2 = load ptr, ptr @event_alternatives, align 8, !tbaa !6 %3 = tail call i32 @ARRAY_SIZE(ptr noundef %2) #2 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %34 5: ; preds = %1, %27 %6 = phi i64 [ %28, %27 ], [ 0, %1 ] %7 = load ptr, ptr @event_alternatives, align 8, !tbaa !6 %8 = getelementptr inbounds ptr, ptr %7, i64 %6 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = load i64, ptr %9, align 8, !tbaa !10 %11 = icmp sgt i64 %10, %0 br i1 %11, label %34, label %12 12: ; preds = %5 %13 = load i32, ptr @MAX_ALT, align 4, !tbaa !12 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %27 15: ; preds = %12 %16 = zext nneg i32 %13 to i64 br label %20 17: ; preds = %25 %18 = add nuw nsw i64 %21, 1 %19 = icmp eq i64 %18, %16 br i1 %19, label %27, label %20, !llvm.loop !14 20: ; preds = %15, %17 %21 = phi i64 [ 0, %15 ], [ %18, %17 ] %22 = getelementptr inbounds i64, ptr %9, i64 %21 %23 = load i64, ptr %22, align 8, !tbaa !10 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %20 %26 = icmp eq i64 %23, %0 br i1 %26, label %32, label %17 27: ; preds = %17, %20, %12 %28 = add nuw nsw i64 %6, 1 %29 = tail call i32 @ARRAY_SIZE(ptr noundef %7) #2 %30 = sext i32 %29 to i64 %31 = icmp slt i64 %28, %30 br i1 %31, label %5, label %34, !llvm.loop !16 32: ; preds = %25 %33 = trunc nuw nsw i64 %6 to i32 br label %34 34: ; preds = %5, %27, %32, %1 %35 = phi i32 [ -1, %1 ], [ %33, %32 ], [ -1, %27 ], [ -1, %5 ] ret i32 %35 } declare i32 @ARRAY_SIZE(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 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
fastsocket_kernel_arch_powerpc_kernel_extr_power5-pmu.c_find_alternative
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_ll2.c_ecore_ll2_establish_connection_rx.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_ll2.c_ecore_ll2_establish_connection_rx.c" target datalayout = "e-m:e-p270:32:32-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.ecore_ll2_info = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i32, i32 } %struct.TYPE_3__ = type { i32 } @ECORE_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @CORE_RX_ACTION_ON_ERROR_PACKET_TOO_BIG = dso_local local_unnamed_addr global i32 0, align 4 @CORE_RX_ACTION_ON_ERROR_NO_BUFF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ecore_ll2_establish_connection_rx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ecore_ll2_establish_connection_rx(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @ECORE_LL2_RX_REGISTERED(ptr noundef %1) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = load i32, ptr @ECORE_SUCCESS, align 4, !tbaa !5 br label %21 7: ; preds = %2 %8 = getelementptr inbounds %struct.ecore_ll2_info, ptr %1, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !9 %10 = tail call i32 @DIRECT_REG_WR(ptr noundef %0, i32 noundef %9, i32 noundef 0) #2 %11 = load i32, ptr %1, align 4, !tbaa !13 %12 = tail call i32 @ecore_ll2_get_error_choice(i32 noundef %11) #2 %13 = load i32, ptr @CORE_RX_ACTION_ON_ERROR_PACKET_TOO_BIG, align 4, !tbaa !5 %14 = tail call i32 @SET_FIELD(i32 noundef 0, i32 noundef %13, i32 noundef %12) #2 %15 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = tail call i32 @ecore_ll2_get_error_choice(i32 noundef %16) #2 %18 = load i32, ptr @CORE_RX_ACTION_ON_ERROR_NO_BUFF, align 4, !tbaa !5 %19 = tail call i32 @SET_FIELD(i32 noundef 0, i32 noundef %18, i32 noundef %17) #2 %20 = tail call i32 @ecore_sp_ll2_rx_queue_start(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 0) #2 br label %21 21: ; preds = %7, %5 %22 = phi i32 [ %20, %7 ], [ %6, %5 ] ret i32 %22 } declare i32 @ECORE_LL2_RX_REGISTERED(ptr noundef) local_unnamed_addr #1 declare i32 @DIRECT_REG_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ecore_ll2_get_error_choice(i32 noundef) local_unnamed_addr #1 declare i32 @SET_FIELD(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ecore_sp_ll2_rx_queue_start(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, !6, i64 8} !10 = !{!"ecore_ll2_info", !11, i64 0, !12, i64 8} !11 = !{!"TYPE_4__", !6, i64 0, !6, i64 4} !12 = !{!"TYPE_3__", !6, i64 0} !13 = !{!10, !6, i64 0} !14 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_ll2.c_ecore_ll2_establish_connection_rx.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_ll2.c_ecore_ll2_establish_connection_rx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ECORE_SUCCESS = common local_unnamed_addr global i32 0, align 4 @CORE_RX_ACTION_ON_ERROR_PACKET_TOO_BIG = common local_unnamed_addr global i32 0, align 4 @CORE_RX_ACTION_ON_ERROR_NO_BUFF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ecore_ll2_establish_connection_rx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ecore_ll2_establish_connection_rx(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @ECORE_LL2_RX_REGISTERED(ptr noundef %1) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = load i32, ptr @ECORE_SUCCESS, align 4, !tbaa !6 br label %21 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %1, i64 8 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = tail call i32 @DIRECT_REG_WR(ptr noundef %0, i32 noundef %9, i32 noundef 0) #2 %11 = load i32, ptr %1, align 4, !tbaa !14 %12 = tail call i32 @ecore_ll2_get_error_choice(i32 noundef %11) #2 %13 = load i32, ptr @CORE_RX_ACTION_ON_ERROR_PACKET_TOO_BIG, align 4, !tbaa !6 %14 = tail call i32 @SET_FIELD(i32 noundef 0, i32 noundef %13, i32 noundef %12) #2 %15 = getelementptr inbounds i8, ptr %1, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = tail call i32 @ecore_ll2_get_error_choice(i32 noundef %16) #2 %18 = load i32, ptr @CORE_RX_ACTION_ON_ERROR_NO_BUFF, align 4, !tbaa !6 %19 = tail call i32 @SET_FIELD(i32 noundef 0, i32 noundef %18, i32 noundef %17) #2 %20 = tail call i32 @ecore_sp_ll2_rx_queue_start(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 0) #2 br label %21 21: ; preds = %7, %5 %22 = phi i32 [ %20, %7 ], [ %6, %5 ] ret i32 %22 } declare i32 @ECORE_LL2_RX_REGISTERED(ptr noundef) local_unnamed_addr #1 declare i32 @DIRECT_REG_WR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ecore_ll2_get_error_choice(i32 noundef) local_unnamed_addr #1 declare i32 @SET_FIELD(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ecore_sp_ll2_rx_queue_start(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, !7, i64 8} !11 = !{!"ecore_ll2_info", !12, i64 0, !13, i64 8} !12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !13 = !{!"TYPE_3__", !7, i64 0} !14 = !{!11, !7, i64 0} !15 = !{!11, !7, i64 4}
freebsd_sys_dev_qlnx_qlnxe_extr_ecore_ll2.c_ecore_ll2_establish_connection_rx
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dispc.c_dispc_ovl_set_output_size.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dispc.c_dispc_ovl_set_output_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OMAP_DSS_GFX = dso_local local_unnamed_addr global i32 0, align 4 @OMAP_DSS_WB = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dispc_ovl_set_output_size], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dispc_ovl_set_output_size(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @OMAP_DSS_GFX, align 4, !tbaa !5 %6 = icmp eq i32 %5, %1 %7 = zext i1 %6 to i32 %8 = tail call i32 @BUG_ON(i32 noundef %7) #2 %9 = add nsw i32 %3, -1 %10 = tail call i32 @FLD_VAL(i32 noundef %9, i32 noundef 26, i32 noundef 16) #2 %11 = add nsw i32 %2, -1 %12 = tail call i32 @FLD_VAL(i32 noundef %11, i32 noundef 10, i32 noundef 0) #2 %13 = load i32, ptr @OMAP_DSS_WB, align 4, !tbaa !5 %14 = icmp eq i32 %13, %1 br i1 %14, label %15, label %17 15: ; preds = %4 %16 = tail call i32 @DISPC_OVL_PICTURE_SIZE(i32 noundef %1) #2 br label %19 17: ; preds = %4 %18 = tail call i32 @DISPC_OVL_SIZE(i32 noundef %1) #2 br label %19 19: ; preds = %17, %15 %20 = phi i32 [ %18, %17 ], [ %16, %15 ] %21 = or i32 %12, %10 %22 = tail call i32 @dispc_write_reg(ptr noundef %0, i32 noundef %20, i32 noundef %21) #2 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @FLD_VAL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dispc_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DISPC_OVL_PICTURE_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @DISPC_OVL_SIZE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dispc.c_dispc_ovl_set_output_size.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_dispc.c_dispc_ovl_set_output_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OMAP_DSS_GFX = common local_unnamed_addr global i32 0, align 4 @OMAP_DSS_WB = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dispc_ovl_set_output_size], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dispc_ovl_set_output_size(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @OMAP_DSS_GFX, align 4, !tbaa !6 %6 = icmp eq i32 %5, %1 %7 = zext i1 %6 to i32 %8 = tail call i32 @BUG_ON(i32 noundef %7) #2 %9 = add nsw i32 %3, -1 %10 = tail call i32 @FLD_VAL(i32 noundef %9, i32 noundef 26, i32 noundef 16) #2 %11 = add nsw i32 %2, -1 %12 = tail call i32 @FLD_VAL(i32 noundef %11, i32 noundef 10, i32 noundef 0) #2 %13 = load i32, ptr @OMAP_DSS_WB, align 4, !tbaa !6 %14 = icmp eq i32 %13, %1 br i1 %14, label %15, label %17 15: ; preds = %4 %16 = tail call i32 @DISPC_OVL_PICTURE_SIZE(i32 noundef %1) #2 br label %19 17: ; preds = %4 %18 = tail call i32 @DISPC_OVL_SIZE(i32 noundef %1) #2 br label %19 19: ; preds = %17, %15 %20 = phi i32 [ %18, %17 ], [ %16, %15 ] %21 = or i32 %12, %10 %22 = tail call i32 @dispc_write_reg(ptr noundef %0, i32 noundef %20, i32 noundef %21) #2 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @FLD_VAL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dispc_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DISPC_OVL_PICTURE_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @DISPC_OVL_SIZE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_omapdrm_dss_extr_dispc.c_dispc_ovl_set_output_size
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_range.c_clean_sort_range.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_range.c_clean_sort_range.c" target datalayout = "e-m:e-p270:32:32-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.range = type { i64, i64 } @cmp_range = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @clean_sort_range(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp sgt i32 %1, 1 br i1 %3, label %4, label %42 4: ; preds = %2 %5 = add nsw i32 %1, -1 br label %6 6: ; preds = %4, %37 %7 = phi i64 [ 0, %4 ], [ %39, %37 ] %8 = phi i32 [ %5, %4 ], [ %38, %37 ] %9 = getelementptr inbounds %struct.range, ptr %0, i64 %7 %10 = load i64, ptr %9, align 8, !tbaa !5 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %37 12: ; preds = %6 %13 = sext i32 %8 to i64 %14 = icmp slt i64 %7, %13 br i1 %14, label %15, label %27 15: ; preds = %12 %16 = trunc i64 %7 to i32 br label %17 17: ; preds = %15, %22 %18 = phi i64 [ %13, %15 ], [ %23, %22 ] %19 = getelementptr inbounds %struct.range, ptr %0, i64 %18 %20 = load i64, ptr %19, align 8, !tbaa !5 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = add nsw i64 %18, -1 %24 = icmp sgt i64 %23, %7 br i1 %24, label %17, label %27, !llvm.loop !10 25: ; preds = %17 %26 = trunc i64 %18 to i32 br label %27 27: ; preds = %22, %25, %12 %28 = phi i32 [ %8, %12 ], [ %26, %25 ], [ %16, %22 ] %29 = phi i32 [ %8, %12 ], [ %26, %25 ], [ %8, %22 ] %30 = zext i32 %28 to i64 %31 = icmp eq i64 %7, %30 br i1 %31, label %42, label %32 32: ; preds = %27 %33 = sext i32 %29 to i64 %34 = getelementptr inbounds %struct.range, ptr %0, i64 %33 %35 = load <2 x i64>, ptr %34, align 8, !tbaa !12 store <2 x i64> %35, ptr %9, align 8, !tbaa !12 %36 = add nsw i32 %29, -1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %34, i8 0, i64 16, i1 false) br label %37 37: ; preds = %6, %32 %38 = phi i32 [ %8, %6 ], [ %36, %32 ] %39 = add nuw nsw i64 %7, 1 %40 = sext i32 %38 to i64 %41 = icmp slt i64 %39, %40 br i1 %41, label %6, label %42, !llvm.loop !13 42: ; preds = %37, %27, %2 %43 = icmp sgt i32 %1, 0 br i1 %43, label %44, label %56 44: ; preds = %42 %45 = zext nneg i32 %1 to i64 br label %46 46: ; preds = %44, %51 %47 = phi i64 [ 0, %44 ], [ %52, %51 ] %48 = getelementptr inbounds %struct.range, ptr %0, i64 %47 %49 = load i64, ptr %48, align 8, !tbaa !5 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %46 %52 = add nuw nsw i64 %47, 1 %53 = icmp eq i64 %52, %45 br i1 %53, label %56, label %46, !llvm.loop !14 54: ; preds = %46 %55 = trunc i64 %47 to i32 br label %56 56: ; preds = %51, %54, %42 %57 = phi i32 [ 0, %42 ], [ %55, %54 ], [ 0, %51 ] %58 = load i32, ptr @cmp_range, align 4, !tbaa !15 %59 = tail call i32 @sort(ptr noundef %0, i32 noundef %57, i32 noundef 16, i32 noundef %58, ptr noundef null) #3 ret i32 %57 } declare i32 @sort(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"range", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !11} !14 = distinct !{!14, !11} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_range.c_clean_sort_range.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_range.c_clean_sort_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.range = type { i64, i64 } @cmp_range = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @clean_sort_range(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp sgt i32 %1, 1 br i1 %3, label %4, label %42 4: ; preds = %2 %5 = add nsw i32 %1, -1 br label %6 6: ; preds = %4, %37 %7 = phi i64 [ 0, %4 ], [ %39, %37 ] %8 = phi i32 [ %5, %4 ], [ %38, %37 ] %9 = getelementptr inbounds %struct.range, ptr %0, i64 %7 %10 = load i64, ptr %9, align 8, !tbaa !6 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %37 12: ; preds = %6 %13 = sext i32 %8 to i64 %14 = icmp slt i64 %7, %13 br i1 %14, label %15, label %27 15: ; preds = %12 %16 = trunc nuw nsw i64 %7 to i32 br label %17 17: ; preds = %15, %22 %18 = phi i64 [ %13, %15 ], [ %23, %22 ] %19 = getelementptr inbounds %struct.range, ptr %0, i64 %18 %20 = load i64, ptr %19, align 8, !tbaa !6 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = add nsw i64 %18, -1 %24 = icmp sgt i64 %23, %7 br i1 %24, label %17, label %27, !llvm.loop !11 25: ; preds = %17 %26 = trunc nuw nsw i64 %18 to i32 br label %27 27: ; preds = %22, %25, %12 %28 = phi i32 [ %8, %12 ], [ %26, %25 ], [ %16, %22 ] %29 = phi i32 [ %8, %12 ], [ %26, %25 ], [ %8, %22 ] %30 = zext i32 %28 to i64 %31 = icmp eq i64 %7, %30 br i1 %31, label %42, label %32 32: ; preds = %27 %33 = sext i32 %29 to i64 %34 = getelementptr inbounds %struct.range, ptr %0, i64 %33 %35 = load <2 x i64>, ptr %34, align 8, !tbaa !13 store <2 x i64> %35, ptr %9, align 8, !tbaa !13 %36 = add nsw i32 %29, -1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %34, i8 0, i64 16, i1 false) br label %37 37: ; preds = %6, %32 %38 = phi i32 [ %8, %6 ], [ %36, %32 ] %39 = add nuw nsw i64 %7, 1 %40 = sext i32 %38 to i64 %41 = icmp slt i64 %39, %40 br i1 %41, label %6, label %42, !llvm.loop !14 42: ; preds = %37, %27, %2 %43 = icmp sgt i32 %1, 0 br i1 %43, label %44, label %56 44: ; preds = %42 %45 = zext nneg i32 %1 to i64 br label %46 46: ; preds = %44, %51 %47 = phi i64 [ 0, %44 ], [ %52, %51 ] %48 = getelementptr inbounds %struct.range, ptr %0, i64 %47 %49 = load i64, ptr %48, align 8, !tbaa !6 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %46 %52 = add nuw nsw i64 %47, 1 %53 = icmp eq i64 %52, %45 br i1 %53, label %56, label %46, !llvm.loop !15 54: ; preds = %46 %55 = trunc nuw nsw i64 %47 to i32 br label %56 56: ; preds = %51, %54, %42 %57 = phi i32 [ 0, %42 ], [ %55, %54 ], [ 0, %51 ] %58 = load i32, ptr @cmp_range, align 4, !tbaa !16 %59 = tail call i32 @sort(ptr noundef %0, i32 noundef %57, i32 noundef 16, i32 noundef %58, ptr noundef null) #3 ret i32 %57 } declare i32 @sort(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"range", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !12} !15 = distinct !{!15, !12} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0}
fastsocket_kernel_kernel_extr_range.c_clean_sort_range
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_tv.c_intel_tv_get_hw_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_tv.c_intel_tv_get_hw_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TV_CTL = dso_local local_unnamed_addr global i32 0, align 4 @TV_ENC_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_tv_get_hw_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @intel_tv_get_hw_state(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @TV_CTL, align 4, !tbaa !5 %4 = tail call i32 @I915_READ(i32 noundef %3) #2 %5 = load i32, ptr @TV_ENC_ENABLE, align 4, !tbaa !5 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @PORT_TO_PIPE(i32 noundef %4) #2 store i32 %9, ptr %1, align 4, !tbaa !5 br label %10 10: ; preds = %2, %8 %11 = phi i32 [ 1, %8 ], [ 0, %2 ] ret i32 %11 } declare i32 @I915_READ(i32 noundef) local_unnamed_addr #1 declare i32 @PORT_TO_PIPE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_tv.c_intel_tv_get_hw_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_tv.c_intel_tv_get_hw_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TV_CTL = common local_unnamed_addr global i32 0, align 4 @TV_ENC_ENABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @intel_tv_get_hw_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @intel_tv_get_hw_state(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @TV_CTL, align 4, !tbaa !6 %4 = tail call i32 @I915_READ(i32 noundef %3) #2 %5 = load i32, ptr @TV_ENC_ENABLE, align 4, !tbaa !6 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @PORT_TO_PIPE(i32 noundef %4) #2 store i32 %9, ptr %1, align 4, !tbaa !6 br label %10 10: ; preds = %2, %8 %11 = phi i32 [ 1, %8 ], [ 0, %2 ] ret i32 %11 } declare i32 @I915_READ(i32 noundef) local_unnamed_addr #1 declare i32 @PORT_TO_PIPE(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_gpu_drm_i915_extr_intel_tv.c_intel_tv_get_hw_state
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/spi/extr_amba-pl022.c_set_up_next_transfer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/spi/extr_amba-pl022.c_set_up_next_transfer.c" target datalayout = "e-m:e-p270:32:32-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.pl022 = type { ptr, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr } %struct.spi_transfer = type { i64, i64 } %struct.TYPE_6__ = type { i32, i32, i32 } @.str = private unnamed_addr constant [88 x i8] c"message of %u bytes to transmit but the current chip bus has a data width of %u bytes!\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"skipping this message\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @WRITING_NULL = dso_local local_unnamed_addr global i32 0, align 4 @READING_NULL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_up_next_transfer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @set_up_next_transfer(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.pl022, ptr %0, i64 0, i32 5 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = load ptr, ptr %0, align 8, !tbaa !13 %7 = load i32, ptr %6, align 4, !tbaa !14 %8 = srem i32 %5, %7 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i64 @unlikely(i32 noundef %10) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %25, label %13 13: ; preds = %2 %14 = getelementptr inbounds %struct.pl022, ptr %0, i64 0, i32 8 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = load ptr, ptr %3, align 8, !tbaa !5 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = load ptr, ptr %0, align 8, !tbaa !13 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %15, ptr noundef nonnull @.str, i32 noundef %17, i32 noundef %19) #2 %21 = load ptr, ptr %14, align 8, !tbaa !16 %22 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %21, ptr noundef nonnull @.str.1) #2 %23 = load i32, ptr @EIO, align 4, !tbaa !17 %24 = sub nsw i32 0, %23 br label %56 25: ; preds = %2 %26 = getelementptr inbounds %struct.spi_transfer, ptr %1, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !18 %28 = inttoptr i64 %27 to ptr %29 = getelementptr inbounds %struct.pl022, ptr %0, i64 0, i32 3 store ptr %28, ptr %29, align 8, !tbaa !21 %30 = load ptr, ptr %3, align 8, !tbaa !5 %31 = load i32, ptr %30, align 4, !tbaa !11 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %28, i64 %32 %34 = getelementptr inbounds %struct.pl022, ptr %0, i64 0, i32 7 store ptr %33, ptr %34, align 8, !tbaa !22 %35 = load i64, ptr %1, align 8, !tbaa !23 %36 = inttoptr i64 %35 to ptr %37 = getelementptr inbounds %struct.pl022, ptr %0, i64 0, i32 1 store ptr %36, ptr %37, align 8, !tbaa !24 %38 = getelementptr inbounds i8, ptr %36, i64 %32 %39 = getelementptr inbounds %struct.pl022, ptr %0, i64 0, i32 6 store ptr %38, ptr %39, align 8, !tbaa !25 %40 = icmp eq i64 %27, 0 br i1 %40, label %44, label %41 41: ; preds = %25 %42 = load ptr, ptr %0, align 8, !tbaa !13 %43 = getelementptr inbounds %struct.TYPE_6__, ptr %42, i64 0, i32 2 br label %44 44: ; preds = %25, %41 %45 = phi ptr [ %43, %41 ], [ @WRITING_NULL, %25 ] %46 = load i32, ptr %45, align 4, !tbaa !17 %47 = getelementptr inbounds %struct.pl022, ptr %0, i64 0, i32 4 store i32 %46, ptr %47, align 8, !tbaa !26 %48 = icmp eq i64 %35, 0 br i1 %48, label %52, label %49 49: ; preds = %44 %50 = load ptr, ptr %0, align 8, !tbaa !13 %51 = getelementptr inbounds %struct.TYPE_6__, ptr %50, i64 0, i32 1 br label %52 52: ; preds = %44, %49 %53 = phi ptr [ %51, %49 ], [ @READING_NULL, %44 ] %54 = load i32, ptr %53, align 4, !tbaa !17 %55 = getelementptr inbounds %struct.pl022, ptr %0, i64 0, i32 2 store i32 %54, ptr %55, align 8, !tbaa !27 br label %56 56: ; preds = %52, %13 %57 = phi i32 [ %24, %13 ], [ 0, %52 ] ret i32 %57 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(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 40} !6 = !{!"pl022", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_5__", !10, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"TYPE_6__", !10, i64 0, !10, i64 4, !10, i64 8} !16 = !{!6, !7, i64 64} !17 = !{!10, !10, i64 0} !18 = !{!19, !20, i64 8} !19 = !{!"spi_transfer", !20, i64 0, !20, i64 8} !20 = !{!"long", !8, i64 0} !21 = !{!6, !7, i64 24} !22 = !{!6, !7, i64 56} !23 = !{!19, !20, i64 0} !24 = !{!6, !7, i64 8} !25 = !{!6, !7, i64 48} !26 = !{!6, !10, i64 32} !27 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/spi/extr_amba-pl022.c_set_up_next_transfer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/spi/extr_amba-pl022.c_set_up_next_transfer.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 [88 x i8] c"message of %u bytes to transmit but the current chip bus has a data width of %u bytes!\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"skipping this message\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @WRITING_NULL = common local_unnamed_addr global i32 0, align 4 @READING_NULL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_up_next_transfer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @set_up_next_transfer(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 40 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load ptr, ptr %0, align 8, !tbaa !14 %7 = load i32, ptr %6, align 4, !tbaa !15 %8 = srem i32 %5, %7 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i64 @unlikely(i32 noundef %10) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %25, label %13 13: ; preds = %2 %14 = getelementptr inbounds i8, ptr %0, i64 64 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = load ptr, ptr %3, align 8, !tbaa !6 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = load ptr, ptr %0, align 8, !tbaa !14 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %15, ptr noundef nonnull @.str, i32 noundef %17, i32 noundef %19) #2 %21 = load ptr, ptr %14, align 8, !tbaa !17 %22 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef %21, ptr noundef nonnull @.str.1) #2 %23 = load i32, ptr @EIO, align 4, !tbaa !18 %24 = sub nsw i32 0, %23 br label %56 25: ; preds = %2 %26 = getelementptr inbounds i8, ptr %1, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !19 %28 = inttoptr i64 %27 to ptr %29 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %28, ptr %29, align 8, !tbaa !22 %30 = load ptr, ptr %3, align 8, !tbaa !6 %31 = load i32, ptr %30, align 4, !tbaa !12 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %28, i64 %32 %34 = getelementptr inbounds i8, ptr %0, i64 56 store ptr %33, ptr %34, align 8, !tbaa !23 %35 = load i64, ptr %1, align 8, !tbaa !24 %36 = inttoptr i64 %35 to ptr %37 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %36, ptr %37, align 8, !tbaa !25 %38 = getelementptr inbounds i8, ptr %36, i64 %32 %39 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %38, ptr %39, align 8, !tbaa !26 %40 = icmp eq i64 %27, 0 br i1 %40, label %44, label %41 41: ; preds = %25 %42 = load ptr, ptr %0, align 8, !tbaa !14 %43 = getelementptr inbounds i8, ptr %42, i64 8 br label %44 44: ; preds = %25, %41 %45 = phi ptr [ %43, %41 ], [ @WRITING_NULL, %25 ] %46 = load i32, ptr %45, align 4, !tbaa !18 %47 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %46, ptr %47, align 8, !tbaa !27 %48 = icmp eq i64 %35, 0 br i1 %48, label %52, label %49 49: ; preds = %44 %50 = load ptr, ptr %0, align 8, !tbaa !14 %51 = getelementptr inbounds i8, ptr %50, i64 4 br label %52 52: ; preds = %44, %49 %53 = phi ptr [ %51, %49 ], [ @READING_NULL, %44 ] %54 = load i32, ptr %53, align 4, !tbaa !18 %55 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %54, ptr %55, align 8, !tbaa !28 br label %56 56: ; preds = %52, %13 %57 = phi i32 [ %24, %13 ], [ 0, %52 ] ret i32 %57 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(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 40} !7 = !{!"pl022", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_5__", !11, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_6__", !11, i64 0, !11, i64 4, !11, i64 8} !17 = !{!7, !8, i64 64} !18 = !{!11, !11, i64 0} !19 = !{!20, !21, i64 8} !20 = !{!"spi_transfer", !21, i64 0, !21, i64 8} !21 = !{!"long", !9, i64 0} !22 = !{!7, !8, i64 24} !23 = !{!7, !8, i64 56} !24 = !{!20, !21, i64 0} !25 = !{!7, !8, i64 8} !26 = !{!7, !8, i64 48} !27 = !{!7, !11, i64 32} !28 = !{!7, !11, i64 16}
fastsocket_kernel_drivers_spi_extr_amba-pl022.c_set_up_next_transfer
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_tmscsim.c_dc390_MsgInPhase.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_tmscsim.c_dc390_MsgInPhase.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ScsiCmd = dso_local local_unnamed_addr global i32 0, align 4 @CLEAR_FIFO_CMD = dso_local local_unnamed_addr global i32 0, align 4 @SRB_MSGIN = dso_local local_unnamed_addr global i32 0, align 4 @SRB_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4 @INFO_XFER_CMD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dc390_MsgInPhase], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dc390_MsgInPhase(ptr nocapture readnone %0, ptr nocapture noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr @ScsiCmd, align 4, !tbaa !5 %5 = load i32, ptr @CLEAR_FIFO_CMD, align 4, !tbaa !5 %6 = tail call i32 @DC390_write8(i32 noundef %4, i32 noundef %5) #2 %7 = load i32, ptr %1, align 4, !tbaa !9 %8 = load i32, ptr @SRB_MSGIN, align 4, !tbaa !5 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load i32, ptr @SRB_DISCONNECT, align 4, !tbaa !5 %13 = xor i32 %12, -1 %14 = and i32 %7, %13 store i32 %14, ptr %1, align 4, !tbaa !9 %15 = load i32, ptr @SRB_MSGIN, align 4, !tbaa !5 %16 = or i32 %15, %14 store i32 %16, ptr %1, align 4, !tbaa !9 br label %17 17: ; preds = %11, %3 %18 = load i32, ptr @ScsiCmd, align 4, !tbaa !5 %19 = load i32, ptr @INFO_XFER_CMD, align 4, !tbaa !5 %20 = tail call i32 @DC390_write8(i32 noundef %18, i32 noundef %19) #2 ret void } declare i32 @DC390_write8(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"dc390_srb", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_tmscsim.c_dc390_MsgInPhase.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_tmscsim.c_dc390_MsgInPhase.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ScsiCmd = common local_unnamed_addr global i32 0, align 4 @CLEAR_FIFO_CMD = common local_unnamed_addr global i32 0, align 4 @SRB_MSGIN = common local_unnamed_addr global i32 0, align 4 @SRB_DISCONNECT = common local_unnamed_addr global i32 0, align 4 @INFO_XFER_CMD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dc390_MsgInPhase], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dc390_MsgInPhase(ptr nocapture readnone %0, ptr nocapture noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr @ScsiCmd, align 4, !tbaa !6 %5 = load i32, ptr @CLEAR_FIFO_CMD, align 4, !tbaa !6 %6 = tail call i32 @DC390_write8(i32 noundef %4, i32 noundef %5) #2 %7 = load i32, ptr %1, align 4, !tbaa !10 %8 = load i32, ptr @SRB_MSGIN, align 4, !tbaa !6 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load i32, ptr @SRB_DISCONNECT, align 4, !tbaa !6 %13 = xor i32 %12, -1 %14 = and i32 %7, %13 store i32 %14, ptr %1, align 4, !tbaa !10 %15 = load i32, ptr @SRB_MSGIN, align 4, !tbaa !6 %16 = or i32 %15, %14 store i32 %16, ptr %1, align 4, !tbaa !10 br label %17 17: ; preds = %11, %3 %18 = load i32, ptr @ScsiCmd, align 4, !tbaa !6 %19 = load i32, ptr @INFO_XFER_CMD, align 4, !tbaa !6 %20 = tail call i32 @DC390_write8(i32 noundef %18, i32 noundef %19) #2 ret void } declare i32 @DC390_write8(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"dc390_srb", !7, i64 0}
fastsocket_kernel_drivers_scsi_extr_tmscsim.c_dc390_MsgInPhase
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_ac97_read.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_ac97_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" @AC97_CMD = dso_local local_unnamed_addr global i32 0, align 4 @ICE1712_AC97_WRITE = dso_local local_unnamed_addr global i8 0, align 1 @ICE1712_AC97_READ = dso_local local_unnamed_addr global i8 0, align 1 @ICE1712_AC97_READY = dso_local local_unnamed_addr global i8 0, align 1 @AC97_INDEX = dso_local local_unnamed_addr global i32 0, align 4 @AC97_DATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ice1712_ac97_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal zeroext i16 @snd_ice1712_ac97_read(ptr nocapture noundef readonly %0, i16 noundef zeroext %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 br label %4 4: ; preds = %22, %2 %5 = phi i32 [ 0, %2 ], [ %23, %22 ] %6 = load i32, ptr @AC97_CMD, align 4, !tbaa !10 %7 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %6) #2 %8 = tail call zeroext i8 @inb(i32 noundef %7) #2 %9 = load i8, ptr @ICE1712_AC97_WRITE, align 1, !tbaa !12 %10 = load i8, ptr @ICE1712_AC97_READ, align 1, !tbaa !12 %11 = or i8 %10, %9 %12 = and i8 %11, %8 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %20 14: ; preds = %4 %15 = load i8, ptr @ICE1712_AC97_READY, align 1, !tbaa !12 %16 = and i8 %15, %8 %17 = icmp eq i8 %16, 0 %18 = icmp ult i32 %5, 65535 %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %22, label %24 20: ; preds = %4 %21 = icmp ult i32 %5, 65535 br i1 %21, label %22, label %24 22: ; preds = %20, %14 %23 = add nuw nsw i32 %5, 1 br label %4, !llvm.loop !13 24: ; preds = %14, %20 %25 = trunc i16 %1 to i8 %26 = load i32, ptr @AC97_INDEX, align 4, !tbaa !10 %27 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %26) #2 %28 = tail call i32 @outb(i8 noundef zeroext %25, i32 noundef %27) #2 %29 = load i8, ptr @ICE1712_AC97_READ, align 1, !tbaa !12 %30 = or i8 %29, %8 %31 = load i32, ptr @AC97_CMD, align 4, !tbaa !10 %32 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %31) #2 %33 = tail call i32 @outb(i8 noundef zeroext %30, i32 noundef %32) #2 br label %37 34: ; preds = %37 %35 = add nuw nsw i32 %38, 1 %36 = icmp eq i32 %35, 65536 br i1 %36, label %49, label %37, !llvm.loop !15 37: ; preds = %24, %34 %38 = phi i32 [ 0, %24 ], [ %35, %34 ] %39 = load i32, ptr @AC97_CMD, align 4, !tbaa !10 %40 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %39) #2 %41 = tail call zeroext i8 @inb(i32 noundef %40) #2 %42 = load i8, ptr @ICE1712_AC97_READ, align 1, !tbaa !12 %43 = and i8 %42, %41 %44 = icmp eq i8 %43, 0 br i1 %44, label %45, label %34 45: ; preds = %37 %46 = load i32, ptr @AC97_DATA, align 4, !tbaa !10 %47 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %46) #2 %48 = tail call zeroext i16 @inw(i32 noundef %47) #2 br label %49 49: ; preds = %34, %45 %50 = phi i16 [ %48, %45 ], [ -1, %34 ] ret i16 %50 } declare zeroext i8 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @ICEREG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outb(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1 declare zeroext i16 @inw(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 = !{!"snd_ac97", !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 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_ac97_read.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_ac97_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AC97_CMD = common local_unnamed_addr global i32 0, align 4 @ICE1712_AC97_WRITE = common local_unnamed_addr global i8 0, align 1 @ICE1712_AC97_READ = common local_unnamed_addr global i8 0, align 1 @ICE1712_AC97_READY = common local_unnamed_addr global i8 0, align 1 @AC97_INDEX = common local_unnamed_addr global i32 0, align 4 @AC97_DATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_ice1712_ac97_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal zeroext i16 @snd_ice1712_ac97_read(ptr nocapture noundef readonly %0, i16 noundef zeroext %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 br label %4 4: ; preds = %22, %2 %5 = phi i32 [ 0, %2 ], [ %23, %22 ] %6 = load i32, ptr @AC97_CMD, align 4, !tbaa !11 %7 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %6) #2 %8 = tail call zeroext i8 @inb(i32 noundef %7) #2 %9 = load i8, ptr @ICE1712_AC97_WRITE, align 1, !tbaa !13 %10 = load i8, ptr @ICE1712_AC97_READ, align 1, !tbaa !13 %11 = or i8 %10, %9 %12 = and i8 %11, %8 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %20 14: ; preds = %4 %15 = load i8, ptr @ICE1712_AC97_READY, align 1, !tbaa !13 %16 = and i8 %15, %8 %17 = icmp eq i8 %16, 0 %18 = icmp ult i32 %5, 65535 %19 = select i1 %17, i1 %18, i1 false br i1 %19, label %22, label %24 20: ; preds = %4 %21 = icmp ult i32 %5, 65535 br i1 %21, label %22, label %24 22: ; preds = %20, %14 %23 = add nuw nsw i32 %5, 1 br label %4, !llvm.loop !14 24: ; preds = %14, %20 %25 = trunc i16 %1 to i8 %26 = load i32, ptr @AC97_INDEX, align 4, !tbaa !11 %27 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %26) #2 %28 = tail call i32 @outb(i8 noundef zeroext %25, i32 noundef %27) #2 %29 = load i8, ptr @ICE1712_AC97_READ, align 1, !tbaa !13 %30 = or i8 %29, %8 %31 = load i32, ptr @AC97_CMD, align 4, !tbaa !11 %32 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %31) #2 %33 = tail call i32 @outb(i8 noundef zeroext %30, i32 noundef %32) #2 br label %37 34: ; preds = %37 %35 = add nuw nsw i32 %38, 1 %36 = icmp eq i32 %35, 65536 br i1 %36, label %49, label %37, !llvm.loop !16 37: ; preds = %24, %34 %38 = phi i32 [ 0, %24 ], [ %35, %34 ] %39 = load i32, ptr @AC97_CMD, align 4, !tbaa !11 %40 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %39) #2 %41 = tail call zeroext i8 @inb(i32 noundef %40) #2 %42 = load i8, ptr @ICE1712_AC97_READ, align 1, !tbaa !13 %43 = and i8 %42, %41 %44 = icmp eq i8 %43, 0 br i1 %44, label %45, label %34 45: ; preds = %37 %46 = load i32, ptr @AC97_DATA, align 4, !tbaa !11 %47 = tail call i32 @ICEREG(ptr noundef %3, i32 noundef %46) #2 %48 = tail call zeroext i16 @inw(i32 noundef %47) #2 br label %49 49: ; preds = %34, %45 %50 = phi i16 [ %48, %45 ], [ -1, %34 ] ret i16 %50 } declare zeroext i8 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @ICEREG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outb(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1 declare zeroext i16 @inw(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 = !{!"snd_ac97", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!9, !9, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
fastsocket_kernel_sound_pci_ice1712_extr_ice1712.c_snd_ice1712_ac97_read
; ModuleID = 'AnghaBench/freebsd/sys/ufs/ffs/extr_ffs_subr.c_ffs_clrblock.c' source_filename = "AnghaBench/freebsd/sys/ufs/ffs/extr_ffs_subr.c_ffs_clrblock.c" target datalayout = "e-m:e-p270:32:32-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: readwrite) uwtable define dso_local void @ffs_clrblock(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = trunc i64 %4 to i32 switch i32 %5, label %37 [ i32 8, label %6 i32 4, label %8 i32 2, label %18 i32 1, label %28 ] 6: ; preds = %3 %7 = getelementptr inbounds i32, ptr %1, i64 %2 store i32 0, ptr %7, align 4, !tbaa !10 br label %37 8: ; preds = %3 %9 = trunc i64 %2 to i32 %10 = shl i32 %9, 2 %11 = and i32 %10, 4 %12 = shl nuw nsw i32 15, %11 %13 = xor i32 %12, -1 %14 = lshr i64 %2, 1 %15 = getelementptr inbounds i32, ptr %1, i64 %14 %16 = load i32, ptr %15, align 4, !tbaa !10 %17 = and i32 %16, %13 store i32 %17, ptr %15, align 4, !tbaa !10 br label %37 18: ; preds = %3 %19 = trunc i64 %2 to i32 %20 = shl i32 %19, 1 %21 = and i32 %20, 6 %22 = shl nuw nsw i32 3, %21 %23 = xor i32 %22, -1 %24 = lshr i64 %2, 2 %25 = getelementptr inbounds i32, ptr %1, i64 %24 %26 = load i32, ptr %25, align 4, !tbaa !10 %27 = and i32 %26, %23 store i32 %27, ptr %25, align 4, !tbaa !10 br label %37 28: ; preds = %3 %29 = trunc i64 %2 to i32 %30 = and i32 %29, 7 %31 = shl nuw nsw i32 1, %30 %32 = xor i32 %31, -1 %33 = lshr i64 %2, 3 %34 = getelementptr inbounds i32, ptr %1, i64 %33 %35 = load i32, ptr %34, align 4, !tbaa !10 %36 = and i32 %35, %32 store i32 %36, ptr %34, align 4, !tbaa !10 br label %37 37: ; preds = %3, %6, %8, %18, %28 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fs", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/ufs/ffs/extr_ffs_subr.c_ffs_clrblock.c' source_filename = "AnghaBench/freebsd/sys/ufs/ffs/extr_ffs_subr.c_ffs_clrblock.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: readwrite) uwtable(sync) define void @ffs_clrblock(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = trunc i64 %4 to i32 switch i32 %5, label %37 [ i32 8, label %6 i32 4, label %8 i32 2, label %18 i32 1, label %28 ] 6: ; preds = %3 %7 = getelementptr inbounds i32, ptr %1, i64 %2 store i32 0, ptr %7, align 4, !tbaa !11 br label %37 8: ; preds = %3 %9 = trunc i64 %2 to i32 %10 = shl i32 %9, 2 %11 = and i32 %10, 4 %12 = shl nuw nsw i32 15, %11 %13 = xor i32 %12, -1 %14 = lshr i64 %2, 1 %15 = getelementptr inbounds i32, ptr %1, i64 %14 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = and i32 %16, %13 store i32 %17, ptr %15, align 4, !tbaa !11 br label %37 18: ; preds = %3 %19 = trunc i64 %2 to i32 %20 = shl i32 %19, 1 %21 = and i32 %20, 6 %22 = shl nuw nsw i32 3, %21 %23 = xor i32 %22, -1 %24 = lshr i64 %2, 2 %25 = getelementptr inbounds i32, ptr %1, i64 %24 %26 = load i32, ptr %25, align 4, !tbaa !11 %27 = and i32 %26, %23 store i32 %27, ptr %25, align 4, !tbaa !11 br label %37 28: ; preds = %3 %29 = trunc i64 %2 to i32 %30 = and i32 %29, 7 %31 = shl nuw nsw i32 1, %30 %32 = xor i32 %31, -1 %33 = lshr i64 %2, 3 %34 = getelementptr inbounds i32, ptr %1, i64 %33 %35 = load i32, ptr %34, align 4, !tbaa !11 %36 = and i32 %35, %32 store i32 %36, ptr %34, align 4, !tbaa !11 br label %37 37: ; preds = %3, %6, %8, %18, %28 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fs", !8, i64 0} !8 = !{!"long", !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_sys_ufs_ffs_extr_ffs_subr.c_ffs_clrblock
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_defsena_admin_defs.h_set_ena_admin_feature_rss_ind_table_one_entry_update.c' source_filename = "AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_defsena_admin_defs.h_set_ena_admin_feature_rss_ind_table_one_entry_update.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENA_ADMIN_FEATURE_RSS_IND_TABLE_ONE_ENTRY_UPDATE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_ena_admin_feature_rss_ind_table_one_entry_update], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @set_ena_admin_feature_rss_ind_table_one_entry_update(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ENA_ADMIN_FEATURE_RSS_IND_TABLE_ONE_ENTRY_UPDATE_MASK, align 4, !tbaa !5 %4 = and i32 %3, %1 %5 = load i32, ptr %0, align 4, !tbaa !9 %6 = or i32 %5, %4 store i32 %6, ptr %0, align 4, !tbaa !9 ret void } attributes #0 = { inlinehint 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 = !{!"ena_admin_feature_rss_ind_table", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_defsena_admin_defs.h_set_ena_admin_feature_rss_ind_table_one_entry_update.c' source_filename = "AnghaBench/freebsd/sys/contrib/ena-com/extr_ena_defsena_admin_defs.h_set_ena_admin_feature_rss_ind_table_one_entry_update.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENA_ADMIN_FEATURE_RSS_IND_TABLE_ONE_ENTRY_UPDATE_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_ena_admin_feature_rss_ind_table_one_entry_update], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @set_ena_admin_feature_rss_ind_table_one_entry_update(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ENA_ADMIN_FEATURE_RSS_IND_TABLE_ONE_ENTRY_UPDATE_MASK, align 4, !tbaa !6 %4 = and i32 %3, %1 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = or i32 %5, %4 store i32 %6, ptr %0, align 4, !tbaa !10 ret void } attributes #0 = { inlinehint 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 = !{!"ena_admin_feature_rss_ind_table", !7, i64 0}
freebsd_sys_contrib_ena-com_extr_ena_defsena_admin_defs.h_set_ena_admin_feature_rss_ind_table_one_entry_update
; ModuleID = 'AnghaBench/linux/crypto/extr_gcm.c_gcm_enc_copy_hash.c' source_filename = "AnghaBench/linux/crypto/extr_gcm.c_gcm_enc_copy_hash.c" target datalayout = "e-m:e-p270:32:32-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.crypto_gcm_req_priv_ctx = type { i32, ptr } %struct.aead_request = type { i64, i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @gcm_enc_copy_hash], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @gcm_enc_copy_hash(ptr noundef %0, i32 %1) #0 { %3 = tail call ptr @crypto_gcm_reqctx(ptr noundef %0) #2 %4 = tail call ptr @crypto_aead_reqtfm(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.crypto_gcm_req_priv_ctx, ptr %3, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = load i32, ptr %3, align 8, !tbaa !11 %8 = tail call i32 @crypto_xor(ptr noundef %6, i32 noundef %7, i32 noundef 16) #2 %9 = getelementptr inbounds %struct.aead_request, ptr %0, i64 0, i32 2 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.aead_request, ptr %0, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !15 %13 = load i64, ptr %0, align 8, !tbaa !16 %14 = add nsw i64 %13, %12 %15 = tail call i32 @crypto_aead_authsize(ptr noundef %4) #2 %16 = tail call i32 @scatterwalk_map_and_copy(ptr noundef %6, i32 noundef %10, i64 noundef %14, i32 noundef %15, i32 noundef 1) #2 ret i32 0 } declare ptr @crypto_gcm_reqctx(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_aead_reqtfm(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_xor(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @scatterwalk_map_and_copy(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_aead_authsize(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 = !{!"crypto_gcm_req_priv_ctx", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !7, i64 16} !13 = !{!"aead_request", !14, i64 0, !14, i64 8, !7, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!13, !14, i64 8} !16 = !{!13, !14, i64 0}
; ModuleID = 'AnghaBench/linux/crypto/extr_gcm.c_gcm_enc_copy_hash.c' source_filename = "AnghaBench/linux/crypto/extr_gcm.c_gcm_enc_copy_hash.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 @gcm_enc_copy_hash], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @gcm_enc_copy_hash(ptr noundef %0, i32 %1) #0 { %3 = tail call ptr @crypto_gcm_reqctx(ptr noundef %0) #2 %4 = tail call ptr @crypto_aead_reqtfm(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = load i32, ptr %3, align 8, !tbaa !12 %8 = tail call i32 @crypto_xor(ptr noundef %6, i32 noundef %7, i32 noundef 16) #2 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !16 %13 = load i64, ptr %0, align 8, !tbaa !17 %14 = add nsw i64 %13, %12 %15 = tail call i32 @crypto_aead_authsize(ptr noundef %4) #2 %16 = tail call i32 @scatterwalk_map_and_copy(ptr noundef %6, i32 noundef %10, i64 noundef %14, i32 noundef %15, i32 noundef 1) #2 ret i32 0 } declare ptr @crypto_gcm_reqctx(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_aead_reqtfm(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_xor(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @scatterwalk_map_and_copy(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_aead_authsize(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 = !{!"crypto_gcm_req_priv_ctx", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !8, i64 16} !14 = !{!"aead_request", !15, i64 0, !15, i64 8, !8, i64 16} !15 = !{!"long", !9, i64 0} !16 = !{!14, !15, i64 8} !17 = !{!14, !15, i64 0}
linux_crypto_extr_gcm.c_gcm_enc_copy_hash
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hpeldsp_msa.c_ff_avg_pixels4_xy2_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hpeldsp_msa.c_ff_avg_pixels4_xy2_msa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @ff_avg_pixels4_xy2_msa(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @common_hv_bil_and_aver_dst_4w_msa(ptr noundef %1, i32 noundef %2, ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @common_hv_bil_and_aver_dst_4w_msa(ptr noundef, 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)"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hpeldsp_msa.c_ff_avg_pixels4_xy2_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hpeldsp_msa.c_ff_avg_pixels4_xy2_msa.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 @ff_avg_pixels4_xy2_msa(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @common_hv_bil_and_aver_dst_4w_msa(ptr noundef %1, i32 noundef %2, ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @common_hv_bil_and_aver_dst_4w_msa(ptr noundef, 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)"}
FFmpeg_libavcodec_mips_extr_hpeldsp_msa.c_ff_avg_pixels4_xy2_msa
; ModuleID = 'AnghaBench/linux/drivers/char/ipmi/extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_enable_channel.c' source_filename = "AnghaBench/linux/drivers/char/ipmi/extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_enable_channel.c" target datalayout = "e-m:e-p270:32:32-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.npcm7xx_kcs_bmc = type { ptr, i32 } %struct.TYPE_2__ = type { i32, i32 } @KCS_CTL_IBFIE = dso_local local_unnamed_addr global i32 0, align 4 @KCS_IE_IRQE = dso_local local_unnamed_addr global i32 0, align 4 @KCS_IE_HIRQE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @npcm7xx_kcs_enable_channel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @npcm7xx_kcs_enable_channel(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @kcs_bmc_priv(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.npcm7xx_kcs_bmc, ptr %3, i64 0, i32 1 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %3, align 8, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = load i32, ptr @KCS_CTL_IBFIE, align 4 %10 = icmp eq i32 %1, 0 %11 = select i1 %10, i32 0, i32 %9 %12 = tail call i32 @regmap_update_bits(i32 noundef %5, i32 noundef %8, i32 noundef %9, i32 noundef %11) #2 %13 = load i32, ptr %4, align 8, !tbaa !5 %14 = load ptr, ptr %3, align 8, !tbaa !11 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = load i32, ptr @KCS_IE_IRQE, align 4 %17 = load i32, ptr @KCS_IE_HIRQE, align 4 %18 = or i32 %17, %16 %19 = select i1 %10, i32 0, i32 %18 %20 = tail call i32 @regmap_update_bits(i32 noundef %13, i32 noundef %15, i32 noundef %18, i32 noundef %19) #2 ret void } declare ptr @kcs_bmc_priv(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"npcm7xx_kcs_bmc", !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 = !{!13, !10, i64 4} !13 = !{!"TYPE_2__", !10, i64 0, !10, i64 4} !14 = !{!13, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/char/ipmi/extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_enable_channel.c' source_filename = "AnghaBench/linux/drivers/char/ipmi/extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_enable_channel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KCS_CTL_IBFIE = common local_unnamed_addr global i32 0, align 4 @KCS_IE_IRQE = common local_unnamed_addr global i32 0, align 4 @KCS_IE_HIRQE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @npcm7xx_kcs_enable_channel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @npcm7xx_kcs_enable_channel(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @kcs_bmc_priv(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %3, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %6, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = load i32, ptr @KCS_CTL_IBFIE, align 4 %10 = icmp eq i32 %1, 0 %11 = select i1 %10, i32 0, i32 %9 %12 = tail call i32 @regmap_update_bits(i32 noundef %5, i32 noundef %8, i32 noundef %9, i32 noundef %11) #2 %13 = load i32, ptr %4, align 8, !tbaa !6 %14 = load ptr, ptr %3, align 8, !tbaa !12 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = load i32, ptr @KCS_IE_IRQE, align 4 %17 = load i32, ptr @KCS_IE_HIRQE, align 4 %18 = or i32 %17, %16 %19 = select i1 %10, i32 0, i32 %18 %20 = tail call i32 @regmap_update_bits(i32 noundef %13, i32 noundef %15, i32 noundef %18, i32 noundef %19) #2 ret void } declare ptr @kcs_bmc_priv(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"npcm7xx_kcs_bmc", !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 = !{!14, !11, i64 4} !14 = !{!"TYPE_2__", !11, i64 0, !11, i64 4} !15 = !{!14, !11, i64 0}
linux_drivers_char_ipmi_extr_kcs_bmc_npcm7xx.c_npcm7xx_kcs_enable_channel
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_os.c_qla83xx_iospace_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_os.c_qla83xx_iospace_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.qla_hw_data = type { i32, i32, i32, i32, ptr, ptr, ptr, i32 } @QLA2XXX_DRIVER_NAME = dso_local local_unnamed_addr global i32 0, align 4 @ql_log_fatal = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"Failed to reserve PIO/MMIO regions (%s), aborting.\0A\00", align 1 @IORESOURCE_MEM = dso_local local_unnamed_addr global i32 0, align 4 @ql_log_warn = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"Invalid pci I/O region size (%s).\0A\00", align 1 @MIN_IOBASE_LEN = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [44 x i8] c"Invalid PCI mem region size (%s), aborting\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Cannot remap MMIO (%s), aborting.\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"BAR2/region4 not enabled\0A\00", align 1 @QLA_83XX_PCI_MSIX_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @ql2xmultique_tag = dso_local local_unnamed_addr global i64 0, align 8 @ql2xmaxqueues = dso_local local_unnamed_addr global i32 0, align 4 @QLA_MQ_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @ql_dbg_multiq = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [44 x i8] c"QoS mode set, max no of request queues:%d.\0A\00", align 1 @ql_dbg_init = dso_local local_unnamed_addr global i32 0, align 4 @ql_log_info = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [25 x i8] c"MSI-X vector count: %d.\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"BAR 1 not enabled.\0A\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"MSIX Count:%d.\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qla83xx_iospace_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qla83xx_iospace_config(ptr nocapture noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %3 = getelementptr inbounds %struct.qla_hw_data, ptr %0, i64 0, i32 3 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.qla_hw_data, ptr %0, i64 0, i32 7 %6 = load i32, ptr %5, align 8, !tbaa !11 %7 = load i32, ptr @QLA2XXX_DRIVER_NAME, align 4, !tbaa !12 %8 = tail call i64 @pci_request_selected_regions(i32 noundef %4, i32 noundef %6, i32 noundef %7) #4 %9 = icmp eq i64 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %1 %11 = load i32, ptr @ql_log_fatal, align 4, !tbaa !12 %12 = load i32, ptr %3, align 4, !tbaa !5 %13 = tail call i32 @pci_name(i32 noundef %12) #4 %14 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %11, i32 noundef %12, i32 noundef 279, ptr noundef nonnull @.str, i32 noundef %13) #4 br label %113 15: ; preds = %1 %16 = load i32, ptr %3, align 4, !tbaa !5 %17 = tail call i32 @pci_resource_flags(i32 noundef %16, i32 noundef 0) #4 %18 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !12 %19 = and i32 %18, %17 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %15 %22 = load i32, ptr @ql_log_warn, align 4, !tbaa !12 %23 = load i32, ptr %3, align 4, !tbaa !5 %24 = tail call i32 @pci_name(i32 noundef %23) #4 %25 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %22, i32 noundef %23, i32 noundef 280, ptr noundef nonnull @.str.1, i32 noundef %24) #4 br label %113 26: ; preds = %15 %27 = load i32, ptr %3, align 4, !tbaa !5 %28 = tail call i64 @pci_resource_len(i32 noundef %27, i32 noundef 0) #4 %29 = load i64, ptr @MIN_IOBASE_LEN, align 8, !tbaa !13 %30 = icmp slt i64 %28, %29 br i1 %30, label %31, label %36 31: ; preds = %26 %32 = load i32, ptr @ql_log_warn, align 4, !tbaa !12 %33 = load i32, ptr %3, align 4, !tbaa !5 %34 = tail call i32 @pci_name(i32 noundef %33) #4 %35 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %32, i32 noundef %33, i32 noundef 281, ptr noundef nonnull @.str.2, i32 noundef %34) #4 br label %113 36: ; preds = %26 %37 = load i32, ptr %3, align 4, !tbaa !5 %38 = tail call i32 @pci_resource_start(i32 noundef %37, i32 noundef 0) #4 %39 = load i64, ptr @MIN_IOBASE_LEN, align 8, !tbaa !13 %40 = tail call ptr @ioremap(i32 noundef %38, i64 noundef %39) #4 %41 = getelementptr inbounds %struct.qla_hw_data, ptr %0, i64 0, i32 6 store ptr %40, ptr %41, align 8, !tbaa !15 %42 = icmp eq ptr %40, null br i1 %42, label %43, label %48 43: ; preds = %36 %44 = load i32, ptr @ql_log_fatal, align 4, !tbaa !12 %45 = load i32, ptr %3, align 4, !tbaa !5 %46 = tail call i32 @pci_name(i32 noundef %45) #4 %47 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %44, i32 noundef %45, i32 noundef 282, ptr noundef nonnull @.str.3, i32 noundef %46) #4 br label %113 48: ; preds = %36 %49 = getelementptr inbounds %struct.qla_hw_data, ptr %0, i64 0, i32 1 store i32 1, ptr %49, align 4, !tbaa !16 store i32 1, ptr %0, align 8, !tbaa !17 %50 = load i32, ptr %3, align 4, !tbaa !5 %51 = tail call i32 @pci_resource_start(i32 noundef %50, i32 noundef 4) #4 %52 = load i32, ptr %3, align 4, !tbaa !5 %53 = tail call i64 @pci_resource_len(i32 noundef %52, i32 noundef 4) #4 %54 = tail call ptr @ioremap(i32 noundef %51, i64 noundef %53) #4 %55 = getelementptr inbounds %struct.qla_hw_data, ptr %0, i64 0, i32 5 store ptr %54, ptr %55, align 8, !tbaa !18 %56 = icmp eq ptr %54, null br i1 %56, label %57, label %61 57: ; preds = %48 %58 = load i32, ptr @ql_log_fatal, align 4, !tbaa !12 %59 = load i32, ptr %3, align 4, !tbaa !5 %60 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %58, i32 noundef %59, i32 noundef 285, ptr noundef nonnull @.str.4) #4 br label %106 61: ; preds = %48 %62 = load i32, ptr %3, align 4, !tbaa !5 %63 = tail call i32 @pci_resource_start(i32 noundef %62, i32 noundef 2) #4 %64 = load i32, ptr %3, align 4, !tbaa !5 %65 = tail call i64 @pci_resource_len(i32 noundef %64, i32 noundef 2) #4 %66 = tail call ptr @ioremap(i32 noundef %63, i64 noundef %65) #4 %67 = getelementptr inbounds %struct.qla_hw_data, ptr %0, i64 0, i32 4 store ptr %66, ptr %67, align 8, !tbaa !19 %68 = icmp eq ptr %66, null br i1 %68, label %102, label %69 69: ; preds = %61 %70 = load i32, ptr %3, align 4, !tbaa !5 %71 = load i32, ptr @QLA_83XX_PCI_MSIX_CONTROL, align 4, !tbaa !12 %72 = call i32 @pci_read_config_word(i32 noundef %70, i32 noundef %71, ptr noundef nonnull %2) #4 %73 = load i32, ptr %2, align 4, !tbaa !12 %74 = getelementptr inbounds %struct.qla_hw_data, ptr %0, i64 0, i32 2 store i32 %73, ptr %74, align 8, !tbaa !20 %75 = load i64, ptr @ql2xmultique_tag, align 8, !tbaa !13 %76 = icmp eq i64 %75, 0 br i1 %76, label %84, label %77 77: ; preds = %69 %78 = call i32 (...) @num_online_cpus() #4 %79 = load i32, ptr %74, align 8, !tbaa !20 %80 = add nsw i32 %79, -1 %81 = icmp sgt i32 %80, %78 %82 = add nsw i32 %78, 1 %83 = select i1 %81, i32 %82, i32 %80 store i32 %83, ptr %49, align 4, !tbaa !16 store i32 2, ptr %0, align 8, !tbaa !17 br label %97 84: ; preds = %69 %85 = load i32, ptr @ql2xmaxqueues, align 4 %86 = icmp sgt i32 %85, 1 br i1 %86, label %87, label %97 87: ; preds = %84 %88 = load i32, ptr @QLA_MQ_SIZE, align 4 %89 = call i32 @llvm.smin.i32(i32 %85, i32 %88) store i32 %89, ptr %0, align 8, !tbaa !17 %90 = load i32, ptr @ql_dbg_multiq, align 4, !tbaa !12 %91 = load i32, ptr %3, align 4, !tbaa !5 %92 = call i32 @ql_dbg_pci(i32 noundef %90, i32 noundef %91, i32 noundef 49164, ptr noundef nonnull @.str.5, i32 noundef %89) #4 %93 = load i32, ptr @ql_dbg_init, align 4, !tbaa !12 %94 = load i32, ptr %3, align 4, !tbaa !5 %95 = load i32, ptr %0, align 8, !tbaa !17 %96 = call i32 @ql_dbg_pci(i32 noundef %93, i32 noundef %94, i32 noundef 283, ptr noundef nonnull @.str.5, i32 noundef %95) #4 br label %97 97: ; preds = %84, %87, %77 %98 = load i32, ptr @ql_log_info, align 4, !tbaa !12 %99 = load i32, ptr %3, align 4, !tbaa !5 %100 = load i32, ptr %2, align 4, !tbaa !12 %101 = call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %98, i32 noundef %99, i32 noundef 284, ptr noundef nonnull @.str.6, i32 noundef %100) #4 br label %106 102: ; preds = %61 %103 = load i32, ptr @ql_log_info, align 4, !tbaa !12 %104 = load i32, ptr %3, align 4, !tbaa !5 %105 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %103, i32 noundef %104, i32 noundef 286, ptr noundef nonnull @.str.7) #4 br label %106 106: ; preds = %97, %102, %57 %107 = load i32, ptr %49, align 4, !tbaa !16 %108 = add nsw i32 %107, 1 %109 = getelementptr inbounds %struct.qla_hw_data, ptr %0, i64 0, i32 2 store i32 %108, ptr %109, align 8, !tbaa !20 %110 = load i32, ptr @ql_dbg_init, align 4, !tbaa !12 %111 = load i32, ptr %3, align 4, !tbaa !5 %112 = call i32 @ql_dbg_pci(i32 noundef %110, i32 noundef %111, i32 noundef 287, ptr noundef nonnull @.str.8, i32 noundef %108) #4 br label %116 113: ; preds = %43, %31, %21, %10 %114 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %115 = sub nsw i32 0, %114 br label %116 116: ; preds = %113, %106 %117 = phi i32 [ %115, %113 ], [ 0, %106 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %117 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @pci_request_selected_regions(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ql_log_pci(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @pci_name(i32 noundef) local_unnamed_addr #2 declare i32 @pci_resource_flags(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pci_resource_len(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ioremap(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @pci_resource_start(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pci_read_config_word(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @num_online_cpus(...) local_unnamed_addr #2 declare i32 @ql_dbg_pci(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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 12} !6 = !{!"qla_hw_data", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 40} !12 = !{!7, !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!6, !10, i64 32} !16 = !{!6, !7, i64 4} !17 = !{!6, !7, i64 0} !18 = !{!6, !10, i64 24} !19 = !{!6, !10, i64 16} !20 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_os.c_qla83xx_iospace_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla2xxx/extr_qla_os.c_qla83xx_iospace_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @QLA2XXX_DRIVER_NAME = common local_unnamed_addr global i32 0, align 4 @ql_log_fatal = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"Failed to reserve PIO/MMIO regions (%s), aborting.\0A\00", align 1 @IORESOURCE_MEM = common local_unnamed_addr global i32 0, align 4 @ql_log_warn = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"Invalid pci I/O region size (%s).\0A\00", align 1 @MIN_IOBASE_LEN = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [44 x i8] c"Invalid PCI mem region size (%s), aborting\0A\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Cannot remap MMIO (%s), aborting.\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"BAR2/region4 not enabled\0A\00", align 1 @QLA_83XX_PCI_MSIX_CONTROL = common local_unnamed_addr global i32 0, align 4 @ql2xmultique_tag = common local_unnamed_addr global i64 0, align 8 @ql2xmaxqueues = common local_unnamed_addr global i32 0, align 4 @QLA_MQ_SIZE = common local_unnamed_addr global i32 0, align 4 @ql_dbg_multiq = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [44 x i8] c"QoS mode set, max no of request queues:%d.\0A\00", align 1 @ql_dbg_init = common local_unnamed_addr global i32 0, align 4 @ql_log_info = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [25 x i8] c"MSI-X vector count: %d.\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"BAR 1 not enabled.\0A\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"MSIX Count:%d.\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qla83xx_iospace_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @qla83xx_iospace_config(ptr nocapture noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %3 = getelementptr inbounds i8, ptr %0, i64 12 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 40 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = load i32, ptr @QLA2XXX_DRIVER_NAME, align 4, !tbaa !13 %8 = tail call i64 @pci_request_selected_regions(i32 noundef %4, i32 noundef %6, i32 noundef %7) #4 %9 = icmp eq i64 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %1 %11 = load i32, ptr @ql_log_fatal, align 4, !tbaa !13 %12 = load i32, ptr %3, align 4, !tbaa !6 %13 = tail call i32 @pci_name(i32 noundef %12) #4 %14 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %11, i32 noundef %12, i32 noundef 279, ptr noundef nonnull @.str, i32 noundef %13) #4 br label %113 15: ; preds = %1 %16 = load i32, ptr %3, align 4, !tbaa !6 %17 = tail call i32 @pci_resource_flags(i32 noundef %16, i32 noundef 0) #4 %18 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !13 %19 = and i32 %18, %17 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %15 %22 = load i32, ptr @ql_log_warn, align 4, !tbaa !13 %23 = load i32, ptr %3, align 4, !tbaa !6 %24 = tail call i32 @pci_name(i32 noundef %23) #4 %25 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %22, i32 noundef %23, i32 noundef 280, ptr noundef nonnull @.str.1, i32 noundef %24) #4 br label %113 26: ; preds = %15 %27 = load i32, ptr %3, align 4, !tbaa !6 %28 = tail call i64 @pci_resource_len(i32 noundef %27, i32 noundef 0) #4 %29 = load i64, ptr @MIN_IOBASE_LEN, align 8, !tbaa !14 %30 = icmp slt i64 %28, %29 br i1 %30, label %31, label %36 31: ; preds = %26 %32 = load i32, ptr @ql_log_warn, align 4, !tbaa !13 %33 = load i32, ptr %3, align 4, !tbaa !6 %34 = tail call i32 @pci_name(i32 noundef %33) #4 %35 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %32, i32 noundef %33, i32 noundef 281, ptr noundef nonnull @.str.2, i32 noundef %34) #4 br label %113 36: ; preds = %26 %37 = load i32, ptr %3, align 4, !tbaa !6 %38 = tail call i32 @pci_resource_start(i32 noundef %37, i32 noundef 0) #4 %39 = load i64, ptr @MIN_IOBASE_LEN, align 8, !tbaa !14 %40 = tail call ptr @ioremap(i32 noundef %38, i64 noundef %39) #4 %41 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %40, ptr %41, align 8, !tbaa !16 %42 = icmp eq ptr %40, null br i1 %42, label %43, label %48 43: ; preds = %36 %44 = load i32, ptr @ql_log_fatal, align 4, !tbaa !13 %45 = load i32, ptr %3, align 4, !tbaa !6 %46 = tail call i32 @pci_name(i32 noundef %45) #4 %47 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %44, i32 noundef %45, i32 noundef 282, ptr noundef nonnull @.str.3, i32 noundef %46) #4 br label %113 48: ; preds = %36 %49 = getelementptr inbounds i8, ptr %0, i64 4 store <2 x i32> <i32 1, i32 1>, ptr %0, align 8, !tbaa !13 %50 = load i32, ptr %3, align 4, !tbaa !6 %51 = tail call i32 @pci_resource_start(i32 noundef %50, i32 noundef 4) #4 %52 = load i32, ptr %3, align 4, !tbaa !6 %53 = tail call i64 @pci_resource_len(i32 noundef %52, i32 noundef 4) #4 %54 = tail call ptr @ioremap(i32 noundef %51, i64 noundef %53) #4 %55 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %54, ptr %55, align 8, !tbaa !17 %56 = icmp eq ptr %54, null br i1 %56, label %57, label %61 57: ; preds = %48 %58 = load i32, ptr @ql_log_fatal, align 4, !tbaa !13 %59 = load i32, ptr %3, align 4, !tbaa !6 %60 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %58, i32 noundef %59, i32 noundef 285, ptr noundef nonnull @.str.4) #4 br label %106 61: ; preds = %48 %62 = load i32, ptr %3, align 4, !tbaa !6 %63 = tail call i32 @pci_resource_start(i32 noundef %62, i32 noundef 2) #4 %64 = load i32, ptr %3, align 4, !tbaa !6 %65 = tail call i64 @pci_resource_len(i32 noundef %64, i32 noundef 2) #4 %66 = tail call ptr @ioremap(i32 noundef %63, i64 noundef %65) #4 %67 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %66, ptr %67, align 8, !tbaa !18 %68 = icmp eq ptr %66, null br i1 %68, label %102, label %69 69: ; preds = %61 %70 = load i32, ptr %3, align 4, !tbaa !6 %71 = load i32, ptr @QLA_83XX_PCI_MSIX_CONTROL, align 4, !tbaa !13 %72 = call i32 @pci_read_config_word(i32 noundef %70, i32 noundef %71, ptr noundef nonnull %2) #4 %73 = load i32, ptr %2, align 4, !tbaa !13 %74 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %73, ptr %74, align 8, !tbaa !19 %75 = load i64, ptr @ql2xmultique_tag, align 8, !tbaa !14 %76 = icmp eq i64 %75, 0 br i1 %76, label %84, label %77 77: ; preds = %69 %78 = call i32 @num_online_cpus() #4 %79 = load i32, ptr %74, align 8, !tbaa !19 %80 = add nsw i32 %79, -1 %81 = icmp sgt i32 %80, %78 %82 = add nsw i32 %78, 1 %83 = select i1 %81, i32 %82, i32 %80 store i32 %83, ptr %49, align 4, !tbaa !20 store i32 2, ptr %0, align 8, !tbaa !21 br label %97 84: ; preds = %69 %85 = load i32, ptr @ql2xmaxqueues, align 4 %86 = icmp sgt i32 %85, 1 br i1 %86, label %87, label %97 87: ; preds = %84 %88 = load i32, ptr @QLA_MQ_SIZE, align 4 %89 = call i32 @llvm.smin.i32(i32 %85, i32 %88) store i32 %89, ptr %0, align 8, !tbaa !21 %90 = load i32, ptr @ql_dbg_multiq, align 4, !tbaa !13 %91 = load i32, ptr %3, align 4, !tbaa !6 %92 = call i32 @ql_dbg_pci(i32 noundef %90, i32 noundef %91, i32 noundef 49164, ptr noundef nonnull @.str.5, i32 noundef %89) #4 %93 = load i32, ptr @ql_dbg_init, align 4, !tbaa !13 %94 = load i32, ptr %3, align 4, !tbaa !6 %95 = load i32, ptr %0, align 8, !tbaa !21 %96 = call i32 @ql_dbg_pci(i32 noundef %93, i32 noundef %94, i32 noundef 283, ptr noundef nonnull @.str.5, i32 noundef %95) #4 br label %97 97: ; preds = %84, %87, %77 %98 = load i32, ptr @ql_log_info, align 4, !tbaa !13 %99 = load i32, ptr %3, align 4, !tbaa !6 %100 = load i32, ptr %2, align 4, !tbaa !13 %101 = call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %98, i32 noundef %99, i32 noundef 284, ptr noundef nonnull @.str.6, i32 noundef %100) #4 br label %106 102: ; preds = %61 %103 = load i32, ptr @ql_log_info, align 4, !tbaa !13 %104 = load i32, ptr %3, align 4, !tbaa !6 %105 = tail call i32 (i32, i32, i32, ptr, ...) @ql_log_pci(i32 noundef %103, i32 noundef %104, i32 noundef 286, ptr noundef nonnull @.str.7) #4 br label %106 106: ; preds = %97, %102, %57 %107 = load i32, ptr %49, align 4, !tbaa !20 %108 = add nsw i32 %107, 1 %109 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %108, ptr %109, align 8, !tbaa !19 %110 = load i32, ptr @ql_dbg_init, align 4, !tbaa !13 %111 = load i32, ptr %3, align 4, !tbaa !6 %112 = call i32 @ql_dbg_pci(i32 noundef %110, i32 noundef %111, i32 noundef 287, ptr noundef nonnull @.str.8, i32 noundef %108) #4 br label %116 113: ; preds = %43, %31, %21, %10 %114 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %115 = sub nsw i32 0, %114 br label %116 116: ; preds = %113, %106 %117 = phi i32 [ %115, %113 ], [ 0, %106 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %117 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @pci_request_selected_regions(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ql_log_pci(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @pci_name(i32 noundef) local_unnamed_addr #2 declare i32 @pci_resource_flags(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @pci_resource_len(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ioremap(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @pci_resource_start(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pci_read_config_word(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @num_online_cpus(...) local_unnamed_addr #2 declare i32 @ql_dbg_pci(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree 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, !8, i64 12} !7 = !{!"qla_hw_data", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !8, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 40} !13 = !{!8, !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!7, !11, i64 32} !17 = !{!7, !11, i64 24} !18 = !{!7, !11, i64 16} !19 = !{!7, !8, i64 8} !20 = !{!7, !8, i64 4} !21 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_scsi_qla2xxx_extr_qla_os.c_qla83xx_iospace_config
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_powerpc.c_kvm_arch_vcpu_destroy.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_powerpc.c_kvm_arch_vcpu_destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @kvm_arch_vcpu_destroy(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @kvm_arch_vcpu_free(ptr noundef %0) #2 ret void } declare i32 @kvm_arch_vcpu_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_powerpc.c_kvm_arch_vcpu_destroy.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_powerpc.c_kvm_arch_vcpu_destroy.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 @kvm_arch_vcpu_destroy(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @kvm_arch_vcpu_free(ptr noundef %0) #2 ret void } declare i32 @kvm_arch_vcpu_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_powerpc_kvm_extr_powerpc.c_kvm_arch_vcpu_destroy
; ModuleID = 'AnghaBench/linux/sound/pci/extr_cmipci.c_snd_cmipci_read.c' source_filename = "AnghaBench/linux/sound/pci/extr_cmipci.c_snd_cmipci_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_cmipci_read], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @snd_cmipci_read(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = zext i32 %1 to i64 %5 = add nsw i64 %3, %4 %6 = tail call i32 @inl(i64 noundef %5) #2 ret i32 %6 } declare i32 @inl(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 = !{!"cmipci", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_cmipci.c_snd_cmipci_read.c' source_filename = "AnghaBench/linux/sound/pci/extr_cmipci.c_snd_cmipci_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 @snd_cmipci_read], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @snd_cmipci_read(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = zext i32 %1 to i64 %5 = add nsw i64 %3, %4 %6 = tail call i32 @inl(i64 noundef %5) #2 ret i32 %6 } declare i32 @inl(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 = !{!"cmipci", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_sound_pci_extr_cmipci.c_snd_cmipci_read
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_sun4m_irq.c_sun4m_clear_profile_irq.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_sun4m_irq.c_sun4m_clear_profile_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" @timers_percpu = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @sun4m_clear_profile_irq(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @timers_percpu, align 8, !tbaa !5 %3 = sext i32 %0 to i64 %4 = getelementptr inbounds ptr, ptr %2, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @sbus_readl(ptr noundef %5) #2 ret void } declare i32 @sbus_readl(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_sun4m_irq.c_sun4m_clear_profile_irq.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_sun4m_irq.c_sun4m_clear_profile_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @timers_percpu = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @sun4m_clear_profile_irq(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @timers_percpu, align 8, !tbaa !6 %3 = sext i32 %0 to i64 %4 = getelementptr inbounds ptr, ptr %2, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @sbus_readl(ptr noundef %5) #2 ret void } declare i32 @sbus_readl(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"}
fastsocket_kernel_arch_sparc_kernel_extr_sun4m_irq.c_sun4m_clear_profile_irq
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_probe.h_trace_kprobe_error_injectable.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace_probe.h_trace_kprobe_error_injectable.c" target datalayout = "e-m:e-p270:32:32-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 @trace_kprobe_error_injectable], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @trace_kprobe_error_injectable(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_probe.h_trace_kprobe_error_injectable.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace_probe.h_trace_kprobe_error_injectable.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 @trace_kprobe_error_injectable], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @trace_kprobe_error_injectable(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_kernel_trace_extr_trace_probe.h_trace_kprobe_error_injectable
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aacdec_template.c_decode_drc_channel_exclusions.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aacdec_template.c_decode_drc_channel_exclusions.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAX_CHANNELS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @decode_drc_channel_exclusions], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @decode_drc_channel_exclusions(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { br label %3 3: ; preds = %39, %2 %4 = phi i64 [ 0, %2 ], [ %32, %39 ] %5 = shl i64 %4, 32 %6 = ashr exact i64 %5, 32 %7 = tail call i64 @get_bits1(ptr noundef %1) #2 %8 = load ptr, ptr %0, align 8, !tbaa !5 %9 = getelementptr inbounds i64, ptr %8, i64 %6 store i64 %7, ptr %9, align 8, !tbaa !10 %10 = tail call i64 @get_bits1(ptr noundef %1) #2 %11 = load ptr, ptr %0, align 8, !tbaa !5 %12 = getelementptr i64, ptr %11, i64 %6 %13 = getelementptr i64, ptr %12, i64 1 store i64 %10, ptr %13, align 8, !tbaa !10 %14 = tail call i64 @get_bits1(ptr noundef %1) #2 %15 = load ptr, ptr %0, align 8, !tbaa !5 %16 = getelementptr i64, ptr %15, i64 %6 %17 = getelementptr i64, ptr %16, i64 2 store i64 %14, ptr %17, align 8, !tbaa !10 %18 = tail call i64 @get_bits1(ptr noundef %1) #2 %19 = load ptr, ptr %0, align 8, !tbaa !5 %20 = getelementptr i64, ptr %19, i64 %6 %21 = getelementptr i64, ptr %20, i64 3 store i64 %18, ptr %21, align 8, !tbaa !10 %22 = tail call i64 @get_bits1(ptr noundef %1) #2 %23 = load ptr, ptr %0, align 8, !tbaa !5 %24 = getelementptr i64, ptr %23, i64 %6 %25 = getelementptr i64, ptr %24, i64 4 store i64 %22, ptr %25, align 8, !tbaa !10 %26 = tail call i64 @get_bits1(ptr noundef %1) #2 %27 = load ptr, ptr %0, align 8, !tbaa !5 %28 = getelementptr i64, ptr %27, i64 %6 %29 = getelementptr i64, ptr %28, i64 5 store i64 %26, ptr %29, align 8, !tbaa !10 %30 = tail call i64 @get_bits1(ptr noundef %1) #2 %31 = load ptr, ptr %0, align 8, !tbaa !5 %32 = add nsw i64 %6, 7 %33 = getelementptr i64, ptr %31, i64 %6 %34 = getelementptr i64, ptr %33, i64 6 store i64 %30, ptr %34, align 8, !tbaa !10 %35 = trunc i64 %32 to i32 %36 = load i32, ptr @MAX_CHANNELS, align 4, !tbaa !12 %37 = add nsw i32 %36, -7 %38 = icmp sgt i32 %37, %35 br i1 %38, label %39, label %42 39: ; preds = %3 %40 = tail call i64 @get_bits1(ptr noundef %1) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %3, !llvm.loop !14 42: ; preds = %3, %39 %43 = sdiv i32 %35, 7 ret i32 %43 } declare i64 @get_bits1(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_3__", !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, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aacdec_template.c_decode_drc_channel_exclusions.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aacdec_template.c_decode_drc_channel_exclusions.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_CHANNELS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @decode_drc_channel_exclusions], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -306783378, 306783379) i32 @decode_drc_channel_exclusions(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { br label %3 3: ; preds = %39, %2 %4 = phi i64 [ 0, %2 ], [ %32, %39 ] %5 = shl i64 %4, 32 %6 = ashr exact i64 %5, 32 %7 = tail call i64 @get_bits1(ptr noundef %1) #2 %8 = load ptr, ptr %0, align 8, !tbaa !6 %9 = getelementptr inbounds i64, ptr %8, i64 %6 store i64 %7, ptr %9, align 8, !tbaa !11 %10 = tail call i64 @get_bits1(ptr noundef %1) #2 %11 = load ptr, ptr %0, align 8, !tbaa !6 %12 = getelementptr i64, ptr %11, i64 %6 %13 = getelementptr i8, ptr %12, i64 8 store i64 %10, ptr %13, align 8, !tbaa !11 %14 = tail call i64 @get_bits1(ptr noundef %1) #2 %15 = load ptr, ptr %0, align 8, !tbaa !6 %16 = getelementptr i64, ptr %15, i64 %6 %17 = getelementptr i8, ptr %16, i64 16 store i64 %14, ptr %17, align 8, !tbaa !11 %18 = tail call i64 @get_bits1(ptr noundef %1) #2 %19 = load ptr, ptr %0, align 8, !tbaa !6 %20 = getelementptr i64, ptr %19, i64 %6 %21 = getelementptr i8, ptr %20, i64 24 store i64 %18, ptr %21, align 8, !tbaa !11 %22 = tail call i64 @get_bits1(ptr noundef %1) #2 %23 = load ptr, ptr %0, align 8, !tbaa !6 %24 = getelementptr i64, ptr %23, i64 %6 %25 = getelementptr i8, ptr %24, i64 32 store i64 %22, ptr %25, align 8, !tbaa !11 %26 = tail call i64 @get_bits1(ptr noundef %1) #2 %27 = load ptr, ptr %0, align 8, !tbaa !6 %28 = getelementptr i64, ptr %27, i64 %6 %29 = getelementptr i8, ptr %28, i64 40 store i64 %26, ptr %29, align 8, !tbaa !11 %30 = tail call i64 @get_bits1(ptr noundef %1) #2 %31 = load ptr, ptr %0, align 8, !tbaa !6 %32 = add nsw i64 %6, 7 %33 = getelementptr i64, ptr %31, i64 %6 %34 = getelementptr i8, ptr %33, i64 48 store i64 %30, ptr %34, align 8, !tbaa !11 %35 = trunc nsw i64 %32 to i32 %36 = load i32, ptr @MAX_CHANNELS, align 4, !tbaa !13 %37 = add nsw i32 %36, -7 %38 = icmp sgt i32 %37, %35 br i1 %38, label %39, label %42 39: ; preds = %3 %40 = tail call i64 @get_bits1(ptr noundef %1) #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %3, !llvm.loop !15 42: ; preds = %3, %39 %43 = sdiv i32 %35, 7 ret i32 %43 } declare i64 @get_bits1(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_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavcodec_extr_aacdec_template.c_decode_drc_channel_exclusions
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_drm_g2d.c_g2d_open.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_drm_g2d.c_g2d_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.drm_exynos_file_private = type { i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @g2d_open(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.drm_exynos_file_private, ptr %3, i64 0, i32 2 %5 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %4) #2 %6 = getelementptr inbounds %struct.drm_exynos_file_private, ptr %3, i64 0, i32 1 %7 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %6) #2 %8 = tail call i32 @INIT_LIST_HEAD(ptr noundef %3) #2 ret i32 0 } declare i32 @INIT_LIST_HEAD(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 = !{!"drm_file", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_drm_g2d.c_g2d_open.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos_drm_g2d.c_g2d_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @g2d_open(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %4) #2 %6 = getelementptr inbounds i8, ptr %3, i64 4 %7 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %6) #2 %8 = tail call i32 @INIT_LIST_HEAD(ptr noundef %3) #2 ret i32 0 } declare i32 @INIT_LIST_HEAD(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 = !{!"drm_file", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_exynos_extr_exynos_drm_g2d.c_g2d_open
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv730_dpm.c_rv730_populate_mclk_value.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv730_dpm.c_rv730_populate_mclk_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.atom_clock_dividers = type { i32, i32, i32, i64, i64 } %struct.radeon_atom_ss = type { i32, i32 } %struct.rv7xx_power_info = type { i64, %struct.TYPE_9__ } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_12__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } @COMPUTE_MEMORY_PLL_PARAM = dso_local local_unnamed_addr global i32 0, align 4 @MPLL_DIVEN = dso_local local_unnamed_addr global i32 0, align 4 @MPLL_REF_DIV_MASK = dso_local local_unnamed_addr global i32 0, align 4 @MPLL_HILEN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @MPLL_LOLEN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @MPLL_FB_DIV_MASK = dso_local local_unnamed_addr global i32 0, align 4 @MPLL_DITHEN = dso_local local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_MEMORY_SS = dso_local local_unnamed_addr global i32 0, align 4 @CLK_S_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SSEN = dso_local local_unnamed_addr global i32 0, align 4 @CLK_V_MASK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @rv730_populate_mclk_value(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca %struct.atom_clock_dividers, align 8 %6 = alloca %struct.radeon_atom_ss, align 4 %7 = tail call ptr @rv770_get_pi(ptr noundef %0) #3 %8 = getelementptr inbounds %struct.rv7xx_power_info, ptr %7, i64 0, i32 1 %9 = load i32, ptr %8, align 8, !tbaa !5 %10 = getelementptr inbounds %struct.rv7xx_power_info, ptr %7, i64 0, i32 1, i32 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = getelementptr inbounds %struct.rv7xx_power_info, ptr %7, i64 0, i32 1, i32 0, i32 2 %13 = load i32, ptr %12, align 8, !tbaa !14 %14 = getelementptr inbounds %struct.rv7xx_power_info, ptr %7, i64 0, i32 1, i32 0, i32 3 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = getelementptr inbounds %struct.rv7xx_power_info, ptr %7, i64 0, i32 1, i32 0, i32 4 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = getelementptr inbounds %struct.rv7xx_power_info, ptr %7, i64 0, i32 1, i32 0, i32 5 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = getelementptr inbounds %struct.rv7xx_power_info, ptr %7, i64 0, i32 1, i32 0, i32 6 %21 = load i32, ptr %20, align 8, !tbaa !18 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 %22 = load i32, ptr @COMPUTE_MEMORY_PLL_PARAM, align 4, !tbaa !19 %23 = call i32 @radeon_atom_get_clock_dividers(ptr noundef %0, i32 noundef %22, i32 noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %134 25: ; preds = %4 %26 = load i32, ptr %5, align 8, !tbaa !20 %27 = add nsw i32 %26, 1 %28 = getelementptr inbounds %struct.atom_clock_dividers, ptr %5, i64 0, i32 4 %29 = load i64, ptr %28, align 8, !tbaa !22 %30 = icmp eq i64 %29, 0 br i1 %30, label %41, label %31 31: ; preds = %25 %32 = getelementptr inbounds %struct.atom_clock_dividers, ptr %5, i64 0, i32 1 %33 = load i32, ptr %32, align 4, !tbaa !23 %34 = lshr i32 %33, 4 %35 = and i32 %34, 15 %36 = and i32 %33, 15 %37 = add nuw nsw i32 %36, 2 %38 = add nuw nsw i32 %37, %35 %39 = load i32, ptr @MPLL_DIVEN, align 4, !tbaa !19 %40 = or i32 %39, %13 br label %45 41: ; preds = %25 %42 = load i32, ptr @MPLL_DIVEN, align 4, !tbaa !19 %43 = xor i32 %42, -1 %44 = and i32 %13, %43 br label %45 45: ; preds = %41, %31 %46 = phi i32 [ %38, %31 ], [ 1, %41 ] %47 = phi i32 [ %40, %31 ], [ %44, %41 ] %48 = load i32, ptr @MPLL_REF_DIV_MASK, align 4, !tbaa !19 %49 = load i32, ptr @MPLL_HILEN_MASK, align 4, !tbaa !19 %50 = or i32 %49, %48 %51 = load i32, ptr @MPLL_LOLEN_MASK, align 4, !tbaa !19 %52 = or i32 %50, %51 %53 = xor i32 %52, -1 %54 = and i32 %47, %53 %55 = call i32 @MPLL_REF_DIV(i32 noundef %26) #3 %56 = or i32 %54, %55 %57 = getelementptr inbounds %struct.atom_clock_dividers, ptr %5, i64 0, i32 1 %58 = load i32, ptr %57, align 4, !tbaa !23 %59 = lshr i32 %58, 4 %60 = and i32 %59, 15 %61 = call i32 @MPLL_HILEN(i32 noundef %60) #3 %62 = or i32 %56, %61 %63 = load i32, ptr %57, align 4, !tbaa !23 %64 = and i32 %63, 15 %65 = call i32 @MPLL_LOLEN(i32 noundef %64) #3 %66 = or i32 %62, %65 %67 = load i32, ptr @MPLL_FB_DIV_MASK, align 4, !tbaa !19 %68 = xor i32 %67, -1 %69 = and i32 %17, %68 %70 = getelementptr inbounds %struct.atom_clock_dividers, ptr %5, i64 0, i32 2 %71 = load i32, ptr %70, align 8, !tbaa !24 %72 = call i32 @MPLL_FB_DIV(i32 noundef %71) #3 %73 = or i32 %72, %69 %74 = getelementptr inbounds %struct.atom_clock_dividers, ptr %5, i64 0, i32 3 %75 = load i64, ptr %74, align 8, !tbaa !25 %76 = icmp eq i64 %75, 0 %77 = load i32, ptr @MPLL_DITHEN, align 4, !tbaa !19 %78 = or i32 %77, %73 %79 = xor i32 %77, -1 %80 = and i32 %73, %79 %81 = select i1 %76, i32 %80, i32 %78 %82 = load i64, ptr %7, align 8, !tbaa !26 %83 = icmp eq i64 %82, 0 br i1 %83, label %116, label %84 84: ; preds = %45 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %85 = mul nsw i32 %46, %2 %86 = load i32, ptr @ASIC_INTERNAL_MEMORY_SS, align 4, !tbaa !19 %87 = call i64 @radeon_atombios_get_asic_ss_info(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %86, i32 noundef %85) #3 %88 = icmp eq i64 %87, 0 br i1 %88, label %113, label %89 89: ; preds = %84 %90 = load i32, ptr %0, align 4, !tbaa !27 %91 = mul nsw i32 %90, 5 %92 = load i32, ptr %6, align 4, !tbaa !31 %93 = mul nsw i32 %92, %27 %94 = sdiv i32 %91, %93 %95 = getelementptr inbounds %struct.radeon_atom_ss, ptr %6, i64 0, i32 1 %96 = load i32, ptr %95, align 4, !tbaa !33 %97 = load i32, ptr %70, align 8, !tbaa !24 %98 = mul nsw i32 %97, %96 %99 = mul nsw i32 %94, 10000 %100 = sdiv i32 %98, %99 %101 = load i32, ptr @CLK_S_MASK, align 4, !tbaa !19 %102 = xor i32 %101, -1 %103 = and i32 %19, %102 %104 = call i32 @CLK_S(i32 noundef %94) #3 %105 = or i32 %103, %104 %106 = load i32, ptr @SSEN, align 4, !tbaa !19 %107 = or i32 %105, %106 %108 = load i32, ptr @CLK_V_MASK, align 4, !tbaa !19 %109 = xor i32 %108, -1 %110 = and i32 %21, %109 %111 = call i32 @CLK_V(i32 noundef %100) #3 %112 = or i32 %107, %111 br label %113 113: ; preds = %89, %84 %114 = phi i32 [ %110, %89 ], [ %21, %84 ] %115 = phi i32 [ %112, %89 ], [ %19, %84 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 br label %116 116: ; preds = %113, %45 %117 = phi i32 [ %114, %113 ], [ %21, %45 ] %118 = phi i32 [ %115, %113 ], [ %19, %45 ] %119 = call ptr @cpu_to_be32(i32 noundef %9) #3 %120 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 7 store ptr %119, ptr %120, align 8, !tbaa !34 %121 = call ptr @cpu_to_be32(i32 noundef %11) #3 %122 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 6 store ptr %121, ptr %122, align 8, !tbaa !38 %123 = call ptr @cpu_to_be32(i32 noundef %2) #3 %124 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 5 store ptr %123, ptr %124, align 8, !tbaa !39 %125 = call ptr @cpu_to_be32(i32 noundef %66) #3 %126 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 4 store ptr %125, ptr %126, align 8, !tbaa !40 %127 = call ptr @cpu_to_be32(i32 noundef %15) #3 %128 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 3 store ptr %127, ptr %128, align 8, !tbaa !41 %129 = call ptr @cpu_to_be32(i32 noundef %81) #3 %130 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 2 store ptr %129, ptr %130, align 8, !tbaa !42 %131 = call ptr @cpu_to_be32(i32 noundef %118) #3 %132 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 1 store ptr %131, ptr %132, align 8, !tbaa !43 %133 = call ptr @cpu_to_be32(i32 noundef %117) #3 store ptr %133, ptr %3, align 8, !tbaa !44 br label %134 134: ; preds = %4, %116 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @rv770_get_pi(ptr noundef) local_unnamed_addr #2 declare i32 @radeon_atom_get_clock_dividers(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @MPLL_REF_DIV(i32 noundef) local_unnamed_addr #2 declare i32 @MPLL_HILEN(i32 noundef) local_unnamed_addr #2 declare i32 @MPLL_LOLEN(i32 noundef) local_unnamed_addr #2 declare i32 @MPLL_FB_DIV(i32 noundef) local_unnamed_addr #2 declare i64 @radeon_atombios_get_asic_ss_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CLK_S(i32 noundef) local_unnamed_addr #2 declare i32 @CLK_V(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 8} !6 = !{!"rv7xx_power_info", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_9__", !11, i64 0} !11 = !{!"TYPE_8__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24} !12 = !{!"int", !8, i64 0} !13 = !{!6, !12, i64 12} !14 = !{!6, !12, i64 16} !15 = !{!6, !12, i64 20} !16 = !{!6, !12, i64 24} !17 = !{!6, !12, i64 28} !18 = !{!6, !12, i64 32} !19 = !{!12, !12, i64 0} !20 = !{!21, !12, i64 0} !21 = !{!"atom_clock_dividers", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 16, !7, i64 24} !22 = !{!21, !7, i64 24} !23 = !{!21, !12, i64 4} !24 = !{!21, !12, i64 8} !25 = !{!21, !7, i64 16} !26 = !{!6, !7, i64 0} !27 = !{!28, !12, i64 0} !28 = !{!"radeon_device", !29, i64 0} !29 = !{!"TYPE_11__", !30, i64 0} !30 = !{!"TYPE_10__", !12, i64 0} !31 = !{!32, !12, i64 0} !32 = !{!"radeon_atom_ss", !12, i64 0, !12, i64 4} !33 = !{!32, !12, i64 4} !34 = !{!35, !37, i64 56} !35 = !{!"TYPE_13__", !36, i64 0} !36 = !{!"TYPE_12__", !37, i64 0, !37, i64 8, !37, i64 16, !37, i64 24, !37, i64 32, !37, i64 40, !37, i64 48, !37, i64 56} !37 = !{!"any pointer", !8, i64 0} !38 = !{!35, !37, i64 48} !39 = !{!35, !37, i64 40} !40 = !{!35, !37, i64 32} !41 = !{!35, !37, i64 24} !42 = !{!35, !37, i64 16} !43 = !{!35, !37, i64 8} !44 = !{!35, !37, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv730_dpm.c_rv730_populate_mclk_value.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_rv730_dpm.c_rv730_populate_mclk_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.atom_clock_dividers = type { i32, i32, i32, i64, i64 } %struct.radeon_atom_ss = type { i32, i32 } @COMPUTE_MEMORY_PLL_PARAM = common local_unnamed_addr global i32 0, align 4 @MPLL_DIVEN = common local_unnamed_addr global i32 0, align 4 @MPLL_REF_DIV_MASK = common local_unnamed_addr global i32 0, align 4 @MPLL_HILEN_MASK = common local_unnamed_addr global i32 0, align 4 @MPLL_LOLEN_MASK = common local_unnamed_addr global i32 0, align 4 @MPLL_FB_DIV_MASK = common local_unnamed_addr global i32 0, align 4 @MPLL_DITHEN = common local_unnamed_addr global i32 0, align 4 @ASIC_INTERNAL_MEMORY_SS = common local_unnamed_addr global i32 0, align 4 @CLK_S_MASK = common local_unnamed_addr global i32 0, align 4 @SSEN = common local_unnamed_addr global i32 0, align 4 @CLK_V_MASK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @rv730_populate_mclk_value(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca %struct.atom_clock_dividers, align 8 %6 = alloca %struct.radeon_atom_ss, align 4 %7 = tail call ptr @rv770_get_pi(ptr noundef %0) #3 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i32, ptr %8, align 8, !tbaa !6 %10 = getelementptr inbounds i8, ptr %7, i64 12 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = getelementptr inbounds i8, ptr %7, i64 16 %13 = load i32, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds i8, ptr %7, i64 20 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = getelementptr inbounds i8, ptr %7, i64 24 %17 = load i32, ptr %16, align 8, !tbaa !17 %18 = getelementptr inbounds i8, ptr %7, i64 28 %19 = load i32, ptr %18, align 4, !tbaa !18 %20 = getelementptr inbounds i8, ptr %7, i64 32 %21 = load i32, ptr %20, align 8, !tbaa !19 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 %22 = load i32, ptr @COMPUTE_MEMORY_PLL_PARAM, align 4, !tbaa !20 %23 = call i32 @radeon_atom_get_clock_dividers(ptr noundef %0, i32 noundef %22, i32 noundef %2, i32 noundef 0, ptr noundef nonnull %5) #3 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %134 25: ; preds = %4 %26 = load i32, ptr %5, align 8, !tbaa !21 %27 = add nsw i32 %26, 1 %28 = getelementptr inbounds i8, ptr %5, i64 24 %29 = load i64, ptr %28, align 8, !tbaa !23 %30 = icmp eq i64 %29, 0 br i1 %30, label %41, label %31 31: ; preds = %25 %32 = getelementptr inbounds i8, ptr %5, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !24 %34 = lshr i32 %33, 4 %35 = and i32 %34, 15 %36 = and i32 %33, 15 %37 = add nuw nsw i32 %36, 2 %38 = add nuw nsw i32 %37, %35 %39 = load i32, ptr @MPLL_DIVEN, align 4, !tbaa !20 %40 = or i32 %39, %13 br label %45 41: ; preds = %25 %42 = load i32, ptr @MPLL_DIVEN, align 4, !tbaa !20 %43 = xor i32 %42, -1 %44 = and i32 %13, %43 br label %45 45: ; preds = %41, %31 %46 = phi i32 [ %38, %31 ], [ 1, %41 ] %47 = phi i32 [ %40, %31 ], [ %44, %41 ] %48 = load i32, ptr @MPLL_REF_DIV_MASK, align 4, !tbaa !20 %49 = load i32, ptr @MPLL_HILEN_MASK, align 4, !tbaa !20 %50 = or i32 %49, %48 %51 = load i32, ptr @MPLL_LOLEN_MASK, align 4, !tbaa !20 %52 = or i32 %50, %51 %53 = xor i32 %52, -1 %54 = and i32 %47, %53 %55 = call i32 @MPLL_REF_DIV(i32 noundef %26) #3 %56 = or i32 %54, %55 %57 = getelementptr inbounds i8, ptr %5, i64 4 %58 = load i32, ptr %57, align 4, !tbaa !24 %59 = lshr i32 %58, 4 %60 = and i32 %59, 15 %61 = call i32 @MPLL_HILEN(i32 noundef %60) #3 %62 = or i32 %56, %61 %63 = load i32, ptr %57, align 4, !tbaa !24 %64 = and i32 %63, 15 %65 = call i32 @MPLL_LOLEN(i32 noundef %64) #3 %66 = or i32 %62, %65 %67 = load i32, ptr @MPLL_FB_DIV_MASK, align 4, !tbaa !20 %68 = xor i32 %67, -1 %69 = and i32 %17, %68 %70 = getelementptr inbounds i8, ptr %5, i64 8 %71 = load i32, ptr %70, align 8, !tbaa !25 %72 = call i32 @MPLL_FB_DIV(i32 noundef %71) #3 %73 = or i32 %72, %69 %74 = getelementptr inbounds i8, ptr %5, i64 16 %75 = load i64, ptr %74, align 8, !tbaa !26 %76 = icmp eq i64 %75, 0 %77 = load i32, ptr @MPLL_DITHEN, align 4, !tbaa !20 %78 = or i32 %77, %73 %79 = xor i32 %77, -1 %80 = and i32 %73, %79 %81 = select i1 %76, i32 %80, i32 %78 %82 = load i64, ptr %7, align 8, !tbaa !27 %83 = icmp eq i64 %82, 0 br i1 %83, label %116, label %84 84: ; preds = %45 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %85 = mul nsw i32 %46, %2 %86 = load i32, ptr @ASIC_INTERNAL_MEMORY_SS, align 4, !tbaa !20 %87 = call i64 @radeon_atombios_get_asic_ss_info(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %86, i32 noundef %85) #3 %88 = icmp eq i64 %87, 0 br i1 %88, label %113, label %89 89: ; preds = %84 %90 = load i32, ptr %0, align 4, !tbaa !28 %91 = mul nsw i32 %90, 5 %92 = load i32, ptr %6, align 4, !tbaa !32 %93 = mul nsw i32 %92, %27 %94 = sdiv i32 %91, %93 %95 = getelementptr inbounds i8, ptr %6, i64 4 %96 = load i32, ptr %95, align 4, !tbaa !34 %97 = load i32, ptr %70, align 8, !tbaa !25 %98 = mul nsw i32 %97, %96 %99 = mul nsw i32 %94, 10000 %100 = sdiv i32 %98, %99 %101 = load i32, ptr @CLK_S_MASK, align 4, !tbaa !20 %102 = xor i32 %101, -1 %103 = and i32 %19, %102 %104 = call i32 @CLK_S(i32 noundef %94) #3 %105 = or i32 %103, %104 %106 = load i32, ptr @SSEN, align 4, !tbaa !20 %107 = or i32 %105, %106 %108 = load i32, ptr @CLK_V_MASK, align 4, !tbaa !20 %109 = xor i32 %108, -1 %110 = and i32 %21, %109 %111 = call i32 @CLK_V(i32 noundef %100) #3 %112 = or i32 %107, %111 br label %113 113: ; preds = %89, %84 %114 = phi i32 [ %110, %89 ], [ %21, %84 ] %115 = phi i32 [ %112, %89 ], [ %19, %84 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 br label %116 116: ; preds = %113, %45 %117 = phi i32 [ %114, %113 ], [ %21, %45 ] %118 = phi i32 [ %115, %113 ], [ %19, %45 ] %119 = call ptr @cpu_to_be32(i32 noundef %9) #3 %120 = getelementptr inbounds i8, ptr %3, i64 56 store ptr %119, ptr %120, align 8, !tbaa !35 %121 = call ptr @cpu_to_be32(i32 noundef %11) #3 %122 = getelementptr inbounds i8, ptr %3, i64 48 store ptr %121, ptr %122, align 8, !tbaa !39 %123 = call ptr @cpu_to_be32(i32 noundef %2) #3 %124 = getelementptr inbounds i8, ptr %3, i64 40 store ptr %123, ptr %124, align 8, !tbaa !40 %125 = call ptr @cpu_to_be32(i32 noundef %66) #3 %126 = getelementptr inbounds i8, ptr %3, i64 32 store ptr %125, ptr %126, align 8, !tbaa !41 %127 = call ptr @cpu_to_be32(i32 noundef %15) #3 %128 = getelementptr inbounds i8, ptr %3, i64 24 store ptr %127, ptr %128, align 8, !tbaa !42 %129 = call ptr @cpu_to_be32(i32 noundef %81) #3 %130 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %129, ptr %130, align 8, !tbaa !43 %131 = call ptr @cpu_to_be32(i32 noundef %118) #3 %132 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %131, ptr %132, align 8, !tbaa !44 %133 = call ptr @cpu_to_be32(i32 noundef %117) #3 store ptr %133, ptr %3, align 8, !tbaa !45 br label %134 134: ; preds = %4, %116 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @rv770_get_pi(ptr noundef) local_unnamed_addr #2 declare i32 @radeon_atom_get_clock_dividers(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @MPLL_REF_DIV(i32 noundef) local_unnamed_addr #2 declare i32 @MPLL_HILEN(i32 noundef) local_unnamed_addr #2 declare i32 @MPLL_LOLEN(i32 noundef) local_unnamed_addr #2 declare i32 @MPLL_FB_DIV(i32 noundef) local_unnamed_addr #2 declare i64 @radeon_atombios_get_asic_ss_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CLK_S(i32 noundef) local_unnamed_addr #2 declare i32 @CLK_V(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 8} !7 = !{!"rv7xx_power_info", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"TYPE_8__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24} !13 = !{!"int", !9, i64 0} !14 = !{!7, !13, i64 12} !15 = !{!7, !13, i64 16} !16 = !{!7, !13, i64 20} !17 = !{!7, !13, i64 24} !18 = !{!7, !13, i64 28} !19 = !{!7, !13, i64 32} !20 = !{!13, !13, i64 0} !21 = !{!22, !13, i64 0} !22 = !{!"atom_clock_dividers", !13, i64 0, !13, i64 4, !13, i64 8, !8, i64 16, !8, i64 24} !23 = !{!22, !8, i64 24} !24 = !{!22, !13, i64 4} !25 = !{!22, !13, i64 8} !26 = !{!22, !8, i64 16} !27 = !{!7, !8, i64 0} !28 = !{!29, !13, i64 0} !29 = !{!"radeon_device", !30, i64 0} !30 = !{!"TYPE_11__", !31, i64 0} !31 = !{!"TYPE_10__", !13, i64 0} !32 = !{!33, !13, i64 0} !33 = !{!"radeon_atom_ss", !13, i64 0, !13, i64 4} !34 = !{!33, !13, i64 4} !35 = !{!36, !38, i64 56} !36 = !{!"TYPE_13__", !37, i64 0} !37 = !{!"TYPE_12__", !38, i64 0, !38, i64 8, !38, i64 16, !38, i64 24, !38, i64 32, !38, i64 40, !38, i64 48, !38, i64 56} !38 = !{!"any pointer", !9, i64 0} !39 = !{!36, !38, i64 48} !40 = !{!36, !38, i64 40} !41 = !{!36, !38, i64 32} !42 = !{!36, !38, i64 24} !43 = !{!36, !38, i64 16} !44 = !{!36, !38, i64 8} !45 = !{!36, !38, i64 0}
linux_drivers_gpu_drm_radeon_extr_rv730_dpm.c_rv730_populate_mclk_value
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_node.c_truncate_dnode.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_node.c_truncate_dnode.c" target datalayout = "e-m:e-p270:32:32-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.dnode_of_data = type { i64, i64, ptr, i32 } @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @truncate_dnode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @truncate_dnode(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %28, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.dnode_of_data, ptr %0, i64 0, i32 3 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = tail call i32 @F2FS_I_SB(i32 noundef %6) #3 %8 = load i64, ptr %0, align 8, !tbaa !5 %9 = tail call ptr @f2fs_get_node_page(i32 noundef %7, i64 noundef %8) #3 %10 = tail call i64 @IS_ERR(ptr noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %4 %13 = tail call i32 @PTR_ERR(ptr noundef %9) #3 %14 = load i32, ptr @ENOENT, align 4, !tbaa !13 %15 = sub nsw i32 0, %14 %16 = icmp eq i32 %13, %15 br i1 %16, label %28, label %17 17: ; preds = %12, %4 %18 = tail call i64 @IS_ERR(ptr noundef %9) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %17 %21 = tail call i32 @PTR_ERR(ptr noundef %9) #3 br label %28 22: ; preds = %17 %23 = getelementptr inbounds %struct.dnode_of_data, ptr %0, i64 0, i32 2 store ptr %9, ptr %23, align 8, !tbaa !14 %24 = getelementptr inbounds %struct.dnode_of_data, ptr %0, i64 0, i32 1 store i64 0, ptr %24, align 8, !tbaa !15 %25 = tail call i32 @f2fs_truncate_data_blocks(ptr noundef nonnull %0) #3 %26 = tail call i32 @truncate_node(ptr noundef nonnull %0) #3 %27 = tail call i32 @llvm.umax.i32(i32 %26, i32 1) br label %28 28: ; preds = %22, %12, %1, %20 %29 = phi i32 [ %21, %20 ], [ 1, %1 ], [ 1, %12 ], [ %27, %22 ] ret i32 %29 } declare ptr @f2fs_get_node_page(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @F2FS_I_SB(i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @f2fs_truncate_data_blocks(ptr noundef) local_unnamed_addr #1 declare i32 @truncate_node(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dnode_of_data", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24} !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, !11, i64 24} !13 = !{!11, !11, i64 0} !14 = !{!6, !10, i64 16} !15 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_node.c_truncate_dnode.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_node.c_truncate_dnode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @truncate_dnode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @truncate_dnode(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %28, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 24 %6 = load i32, ptr %5, align 8, !tbaa !13 %7 = tail call i32 @F2FS_I_SB(i32 noundef %6) #3 %8 = load i64, ptr %0, align 8, !tbaa !6 %9 = tail call ptr @f2fs_get_node_page(i32 noundef %7, i64 noundef %8) #3 %10 = tail call i64 @IS_ERR(ptr noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %4 %13 = tail call i32 @PTR_ERR(ptr noundef %9) #3 %14 = load i32, ptr @ENOENT, align 4, !tbaa !14 %15 = sub nsw i32 0, %14 %16 = icmp eq i32 %13, %15 br i1 %16, label %28, label %17 17: ; preds = %12, %4 %18 = tail call i64 @IS_ERR(ptr noundef %9) #3 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %17 %21 = tail call i32 @PTR_ERR(ptr noundef %9) #3 br label %28 22: ; preds = %17 %23 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %9, ptr %23, align 8, !tbaa !15 %24 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %24, align 8, !tbaa !16 %25 = tail call i32 @f2fs_truncate_data_blocks(ptr noundef nonnull %0) #3 %26 = tail call i32 @truncate_node(ptr noundef nonnull %0) #3 %27 = tail call i32 @llvm.umax.i32(i32 %26, i32 1) br label %28 28: ; preds = %22, %12, %1, %20 %29 = phi i32 [ %21, %20 ], [ 1, %1 ], [ 1, %12 ], [ %27, %22 ] ret i32 %29 } declare ptr @f2fs_get_node_page(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @F2FS_I_SB(i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @f2fs_truncate_data_blocks(ptr noundef) local_unnamed_addr #1 declare i32 @truncate_node(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umax.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dnode_of_data", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24} !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, !12, i64 24} !14 = !{!12, !12, i64 0} !15 = !{!7, !11, i64 16} !16 = !{!7, !8, i64 8}
linux_fs_f2fs_extr_node.c_truncate_dnode
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_set_bio.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_set_bio.c" target datalayout = "e-m:e-p270:32:32-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 @SSL_set_bio(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @SSL_get_rbio(ptr noundef %0) #2 %5 = icmp eq ptr %4, %1 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = tail call ptr @SSL_get_wbio(ptr noundef %0) #2 %8 = icmp eq ptr %7, %2 br i1 %8, label %32, label %9 9: ; preds = %6, %3 %10 = icmp ne ptr %1, null %11 = icmp eq ptr %1, %2 %12 = and i1 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = tail call i32 @BIO_up_ref(ptr noundef nonnull %1) #2 br label %15 15: ; preds = %13, %9 %16 = tail call ptr @SSL_get_rbio(ptr noundef %0) #2 %17 = icmp eq ptr %16, %1 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = tail call i32 @SSL_set0_wbio(ptr noundef %0, ptr noundef %2) #2 br label %32 20: ; preds = %15 %21 = tail call ptr @SSL_get_wbio(ptr noundef %0) #2 %22 = icmp eq ptr %21, %2 br i1 %22, label %23, label %29 23: ; preds = %20 %24 = tail call ptr @SSL_get_rbio(ptr noundef %0) #2 %25 = tail call ptr @SSL_get_wbio(ptr noundef %0) #2 %26 = icmp eq ptr %24, %25 br i1 %26, label %29, label %27 27: ; preds = %23 %28 = tail call i32 @SSL_set0_rbio(ptr noundef %0, ptr noundef %1) #2 br label %32 29: ; preds = %23, %20 %30 = tail call i32 @SSL_set0_rbio(ptr noundef %0, ptr noundef %1) #2 %31 = tail call i32 @SSL_set0_wbio(ptr noundef %0, ptr noundef %2) #2 br label %32 32: ; preds = %6, %29, %27, %18 ret void } declare ptr @SSL_get_rbio(ptr noundef) local_unnamed_addr #1 declare ptr @SSL_get_wbio(ptr noundef) local_unnamed_addr #1 declare i32 @BIO_up_ref(ptr noundef) local_unnamed_addr #1 declare i32 @SSL_set0_wbio(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SSL_set0_rbio(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/openssl/ssl/extr_ssl_lib.c_SSL_set_bio.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_set_bio.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 @SSL_set_bio(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @SSL_get_rbio(ptr noundef %0) #2 %5 = icmp eq ptr %4, %1 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = tail call ptr @SSL_get_wbio(ptr noundef %0) #2 %8 = icmp eq ptr %7, %2 br i1 %8, label %32, label %9 9: ; preds = %6, %3 %10 = icmp ne ptr %1, null %11 = icmp eq ptr %1, %2 %12 = and i1 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = tail call i32 @BIO_up_ref(ptr noundef nonnull %1) #2 br label %15 15: ; preds = %13, %9 %16 = tail call ptr @SSL_get_rbio(ptr noundef %0) #2 %17 = icmp eq ptr %16, %1 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = tail call i32 @SSL_set0_wbio(ptr noundef %0, ptr noundef %2) #2 br label %32 20: ; preds = %15 %21 = tail call ptr @SSL_get_wbio(ptr noundef %0) #2 %22 = icmp eq ptr %21, %2 br i1 %22, label %23, label %29 23: ; preds = %20 %24 = tail call ptr @SSL_get_rbio(ptr noundef %0) #2 %25 = tail call ptr @SSL_get_wbio(ptr noundef %0) #2 %26 = icmp eq ptr %24, %25 br i1 %26, label %29, label %27 27: ; preds = %23 %28 = tail call i32 @SSL_set0_rbio(ptr noundef %0, ptr noundef %1) #2 br label %32 29: ; preds = %23, %20 %30 = tail call i32 @SSL_set0_rbio(ptr noundef %0, ptr noundef %1) #2 %31 = tail call i32 @SSL_set0_wbio(ptr noundef %0, ptr noundef %2) #2 br label %32 32: ; preds = %6, %29, %27, %18 ret void } declare ptr @SSL_get_rbio(ptr noundef) local_unnamed_addr #1 declare ptr @SSL_get_wbio(ptr noundef) local_unnamed_addr #1 declare i32 @BIO_up_ref(ptr noundef) local_unnamed_addr #1 declare i32 @SSL_set0_wbio(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SSL_set0_rbio(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)"}
openssl_ssl_extr_ssl_lib.c_SSL_set_bio
; ModuleID = 'AnghaBench/linux/kernel/rcu/extr_rcutorture.c_rcu_torture_boost.c' source_filename = "AnghaBench/linux/kernel/rcu/extr_rcutorture.c_rcu_torture_boost.c" target datalayout = "e-m:e-p270:32:32-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.rcu_boost_inflight = type { i32, i32 } %struct.sched_param = type { i32 } @.str = private unnamed_addr constant [26 x i8] c"rcu_torture_boost started\00", align 1 @current = dso_local local_unnamed_addr global i32 0, align 4 @SCHED_FIFO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"rcu_torture_boost RT prio failed!\00", align 1 @n_rcu_torture_boost_rterror = dso_local local_unnamed_addr global i32 0, align 4 @boost_mutex = dso_local global i32 0, align 4 @n_rcu_torture_boosts = dso_local local_unnamed_addr global i32 0, align 4 @boost_starttime = dso_local local_unnamed_addr global i64 0, align 8 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [18 x i8] c"rcu_torture_boost\00", align 1 @test_boost_duration = dso_local local_unnamed_addr global i64 0, align 8 @HZ = dso_local local_unnamed_addr global i64 0, align 8 @rcu_torture_boost_cb = dso_local local_unnamed_addr global i32 0, align 4 @test_boost_interval = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @rcu_torture_boost], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rcu_torture_boost(ptr nocapture readnone %0) #0 { %2 = alloca %struct.rcu_boost_inflight, align 8 %3 = alloca %struct.sched_param, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 0, ptr %2, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i32 @VERBOSE_TOROUT_STRING(ptr noundef nonnull @.str) #3 store i32 1, ptr %3, align 4, !tbaa !5 %5 = load i32, ptr @current, align 4, !tbaa !10 %6 = load i32, ptr @SCHED_FIFO, align 4, !tbaa !10 %7 = call i64 @sched_setscheduler(i32 noundef %5, i32 noundef %6, ptr noundef nonnull %3) #3 %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = call i32 @VERBOSE_TOROUT_STRING(ptr noundef nonnull @.str.1) #3 %11 = load i32, ptr @n_rcu_torture_boost_rterror, align 4, !tbaa !10 %12 = add nsw i32 %11, 1 store i32 %12, ptr @n_rcu_torture_boost_rterror, align 4, !tbaa !10 br label %13 13: ; preds = %9, %1 %14 = call i32 @init_rcu_head_on_stack(ptr noundef nonnull %2) #3 %15 = getelementptr inbounds %struct.rcu_boost_inflight, ptr %2, i64 0, i32 1 br label %16 16: ; preds = %108, %13 %17 = call i64 (...) @kthread_should_stop() #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %30 19: ; preds = %16, %26 %20 = call i64 @mutex_trylock(ptr noundef nonnull @boost_mutex) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %19 %23 = load i32, ptr @n_rcu_torture_boosts, align 4, !tbaa !10 %24 = add nsw i32 %23, 1 store i32 %24, ptr @n_rcu_torture_boosts, align 4, !tbaa !10 %25 = call i32 @mutex_unlock(ptr noundef nonnull @boost_mutex) #3 br label %30 26: ; preds = %19 %27 = call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #3 %28 = call i64 (...) @kthread_should_stop() #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %19, label %30, !llvm.loop !11 30: ; preds = %26, %16, %22 %31 = call i64 (...) @kthread_should_stop() #3 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %108 33: ; preds = %30 %34 = load i64, ptr @boost_starttime, align 8, !tbaa !13 br label %35 35: ; preds = %39, %33 %36 = load i64, ptr @jiffies, align 8, !tbaa !13 %37 = call i64 @ULONG_CMP_LT(i64 noundef %36, i64 noundef %34) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %46, label %39 39: ; preds = %35 %40 = load i64, ptr @jiffies, align 8, !tbaa !13 %41 = sub i64 %34, %40 %42 = call i32 @schedule_timeout_interruptible(i64 noundef %41) #3 %43 = call i32 @stutter_wait(ptr noundef nonnull @.str.2) #3 %44 = call i64 (...) @torture_must_stop() #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %35, label %108, !llvm.loop !15 46: ; preds = %35 %47 = load i64, ptr @test_boost_duration, align 8, !tbaa !13 %48 = load i64, ptr @HZ, align 8, !tbaa !13 %49 = mul i64 %48, %47 %50 = add i64 %49, %34 %51 = load i64, ptr @jiffies, align 8, !tbaa !13 br label %52 52: ; preds = %74, %46 %53 = phi i64 [ %51, %46 ], [ %75, %74 ] %54 = phi i32 [ 0, %46 ], [ %76, %74 ] %55 = load i64, ptr @jiffies, align 8, !tbaa !13 %56 = call i64 @ULONG_CMP_LT(i64 noundef %55, i64 noundef %50) #3 %57 = icmp eq i64 %56, 0 br i1 %57, label %80, label %58 58: ; preds = %52 %59 = call i64 @smp_load_acquire(ptr noundef nonnull %15) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %74 61: ; preds = %58 %62 = call i32 @smp_store_release(ptr noundef nonnull %15, i32 noundef 1) #3 %63 = load i32, ptr @rcu_torture_boost_cb, align 4, !tbaa !10 %64 = call i32 @call_rcu(ptr noundef nonnull %2, i32 noundef %63) #3 %65 = icmp eq i32 %54, 0 br i1 %65, label %66, label %70 66: ; preds = %61 %67 = load i64, ptr @jiffies, align 8, !tbaa !13 %68 = call i64 @rcu_torture_boost_failed(i64 noundef %53, i64 noundef %67) #3 %69 = icmp ne i64 %68, 0 br label %70 70: ; preds = %66, %61 %71 = phi i1 [ true, %61 ], [ %69, %66 ] %72 = zext i1 %71 to i32 %73 = load i64, ptr @jiffies, align 8, !tbaa !13 br label %74 74: ; preds = %70, %58 %75 = phi i64 [ %53, %58 ], [ %73, %70 ] %76 = phi i32 [ %54, %58 ], [ %72, %70 ] %77 = call i32 @stutter_wait(ptr noundef nonnull @.str.2) #3 %78 = call i64 (...) @torture_must_stop() #3 %79 = icmp eq i64 %78, 0 br i1 %79, label %52, label %108, !llvm.loop !16 80: ; preds = %52 %81 = icmp eq i32 %54, 0 br i1 %81, label %82, label %88 82: ; preds = %80 %83 = call i64 @smp_load_acquire(ptr noundef nonnull %15) #3 %84 = icmp eq i64 %83, 0 br i1 %84, label %88, label %85 85: ; preds = %82 %86 = load i64, ptr @jiffies, align 8, !tbaa !13 %87 = call i64 @rcu_torture_boost_failed(i64 noundef %53, i64 noundef %86) #3 br label %88 88: ; preds = %85, %82, %80 %89 = load i64, ptr @boost_starttime, align 8, !tbaa !13 %90 = icmp eq i64 %34, %89 br i1 %90, label %91, label %108 91: ; preds = %88, %104 %92 = call i64 (...) @kthread_should_stop() #3 %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %108 94: ; preds = %91 %95 = call i64 @mutex_trylock(ptr noundef nonnull @boost_mutex) #3 %96 = icmp eq i64 %95, 0 br i1 %96, label %104, label %97 97: ; preds = %94 %98 = load i64, ptr @jiffies, align 8, !tbaa !13 %99 = load i64, ptr @test_boost_interval, align 8, !tbaa !13 %100 = load i64, ptr @HZ, align 8, !tbaa !13 %101 = mul i64 %100, %99 %102 = add i64 %101, %98 store i64 %102, ptr @boost_starttime, align 8, !tbaa !13 %103 = call i32 @mutex_unlock(ptr noundef nonnull @boost_mutex) #3 br label %108 104: ; preds = %94 %105 = call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #3 %106 = load i64, ptr @boost_starttime, align 8, !tbaa !13 %107 = icmp eq i64 %34, %106 br i1 %107, label %91, label %108, !llvm.loop !17 108: ; preds = %39, %74, %104, %91, %88, %97, %30 %109 = call i32 @stutter_wait(ptr noundef nonnull @.str.2) #3 %110 = call i64 (...) @torture_must_stop() #3 %111 = icmp eq i64 %110, 0 br i1 %111, label %16, label %112, !llvm.loop !18 112: ; preds = %108, %118 %113 = call i64 (...) @kthread_should_stop() #3 %114 = icmp eq i64 %113, 0 br i1 %114, label %118, label %115 115: ; preds = %112 %116 = call i64 @smp_load_acquire(ptr noundef nonnull %15) #3 %117 = icmp eq i64 %116, 0 br i1 %117, label %121, label %118 118: ; preds = %112, %115 %119 = call i32 @torture_shutdown_absorb(ptr noundef nonnull @.str.2) #3 %120 = call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #3 br label %112, !llvm.loop !19 121: ; preds = %115 %122 = call i32 @destroy_rcu_head_on_stack(ptr noundef nonnull %2) #3 %123 = call i32 @torture_kthread_stopping(ptr noundef nonnull @.str.2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @VERBOSE_TOROUT_STRING(ptr noundef) local_unnamed_addr #2 declare i64 @sched_setscheduler(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @init_rcu_head_on_stack(ptr noundef) local_unnamed_addr #2 declare i64 @kthread_should_stop(...) local_unnamed_addr #2 declare i64 @mutex_trylock(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @schedule_timeout_uninterruptible(i32 noundef) local_unnamed_addr #2 declare i64 @ULONG_CMP_LT(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @schedule_timeout_interruptible(i64 noundef) local_unnamed_addr #2 declare i32 @stutter_wait(ptr noundef) local_unnamed_addr #2 declare i64 @torture_must_stop(...) local_unnamed_addr #2 declare i64 @smp_load_acquire(ptr noundef) local_unnamed_addr #2 declare i32 @smp_store_release(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @call_rcu(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @rcu_torture_boost_failed(i64 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @torture_shutdown_absorb(ptr noundef) local_unnamed_addr #2 declare i32 @destroy_rcu_head_on_stack(ptr noundef) local_unnamed_addr #2 declare i32 @torture_kthread_stopping(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sched_param", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = distinct !{!15, !12} !16 = distinct !{!16, !12} !17 = distinct !{!17, !12} !18 = distinct !{!18, !12} !19 = distinct !{!19, !12}
; ModuleID = 'AnghaBench/linux/kernel/rcu/extr_rcutorture.c_rcu_torture_boost.c' source_filename = "AnghaBench/linux/kernel/rcu/extr_rcutorture.c_rcu_torture_boost.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.rcu_boost_inflight = type { i32, i32 } %struct.sched_param = type { i32 } @.str = private unnamed_addr constant [26 x i8] c"rcu_torture_boost started\00", align 1 @current = common local_unnamed_addr global i32 0, align 4 @SCHED_FIFO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"rcu_torture_boost RT prio failed!\00", align 1 @n_rcu_torture_boost_rterror = common local_unnamed_addr global i32 0, align 4 @boost_mutex = common global i32 0, align 4 @n_rcu_torture_boosts = common local_unnamed_addr global i32 0, align 4 @boost_starttime = common local_unnamed_addr global i64 0, align 8 @jiffies = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [18 x i8] c"rcu_torture_boost\00", align 1 @test_boost_duration = common local_unnamed_addr global i64 0, align 8 @HZ = common local_unnamed_addr global i64 0, align 8 @rcu_torture_boost_cb = common local_unnamed_addr global i32 0, align 4 @test_boost_interval = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @rcu_torture_boost], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @rcu_torture_boost(ptr nocapture readnone %0) #0 { %2 = alloca %struct.rcu_boost_inflight, align 8 %3 = alloca %struct.sched_param, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 0, ptr %2, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i32 @VERBOSE_TOROUT_STRING(ptr noundef nonnull @.str) #3 store i32 1, ptr %3, align 4, !tbaa !6 %5 = load i32, ptr @current, align 4, !tbaa !11 %6 = load i32, ptr @SCHED_FIFO, align 4, !tbaa !11 %7 = call i64 @sched_setscheduler(i32 noundef %5, i32 noundef %6, ptr noundef nonnull %3) #3 %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = call i32 @VERBOSE_TOROUT_STRING(ptr noundef nonnull @.str.1) #3 %11 = load i32, ptr @n_rcu_torture_boost_rterror, align 4, !tbaa !11 %12 = add nsw i32 %11, 1 store i32 %12, ptr @n_rcu_torture_boost_rterror, align 4, !tbaa !11 br label %13 13: ; preds = %9, %1 %14 = call i32 @init_rcu_head_on_stack(ptr noundef nonnull %2) #3 %15 = getelementptr inbounds i8, ptr %2, i64 4 br label %16 16: ; preds = %108, %13 %17 = call i64 @kthread_should_stop() #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %30 19: ; preds = %16, %26 %20 = call i64 @mutex_trylock(ptr noundef nonnull @boost_mutex) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %19 %23 = load i32, ptr @n_rcu_torture_boosts, align 4, !tbaa !11 %24 = add nsw i32 %23, 1 store i32 %24, ptr @n_rcu_torture_boosts, align 4, !tbaa !11 %25 = call i32 @mutex_unlock(ptr noundef nonnull @boost_mutex) #3 br label %30 26: ; preds = %19 %27 = call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #3 %28 = call i64 @kthread_should_stop() #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %19, label %30, !llvm.loop !12 30: ; preds = %26, %16, %22 %31 = call i64 @kthread_should_stop() #3 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %108 33: ; preds = %30 %34 = load i64, ptr @boost_starttime, align 8, !tbaa !14 br label %35 35: ; preds = %39, %33 %36 = load i64, ptr @jiffies, align 8, !tbaa !14 %37 = call i64 @ULONG_CMP_LT(i64 noundef %36, i64 noundef %34) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %46, label %39 39: ; preds = %35 %40 = load i64, ptr @jiffies, align 8, !tbaa !14 %41 = sub i64 %34, %40 %42 = call i32 @schedule_timeout_interruptible(i64 noundef %41) #3 %43 = call i32 @stutter_wait(ptr noundef nonnull @.str.2) #3 %44 = call i64 @torture_must_stop() #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %35, label %108, !llvm.loop !16 46: ; preds = %35 %47 = load i64, ptr @test_boost_duration, align 8, !tbaa !14 %48 = load i64, ptr @HZ, align 8, !tbaa !14 %49 = mul i64 %48, %47 %50 = add i64 %49, %34 %51 = load i64, ptr @jiffies, align 8, !tbaa !14 br label %52 52: ; preds = %74, %46 %53 = phi i64 [ %51, %46 ], [ %75, %74 ] %54 = phi i32 [ 0, %46 ], [ %76, %74 ] %55 = load i64, ptr @jiffies, align 8, !tbaa !14 %56 = call i64 @ULONG_CMP_LT(i64 noundef %55, i64 noundef %50) #3 %57 = icmp eq i64 %56, 0 br i1 %57, label %80, label %58 58: ; preds = %52 %59 = call i64 @smp_load_acquire(ptr noundef nonnull %15) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %74 61: ; preds = %58 %62 = call i32 @smp_store_release(ptr noundef nonnull %15, i32 noundef 1) #3 %63 = load i32, ptr @rcu_torture_boost_cb, align 4, !tbaa !11 %64 = call i32 @call_rcu(ptr noundef nonnull %2, i32 noundef %63) #3 %65 = icmp eq i32 %54, 0 br i1 %65, label %66, label %70 66: ; preds = %61 %67 = load i64, ptr @jiffies, align 8, !tbaa !14 %68 = call i64 @rcu_torture_boost_failed(i64 noundef %53, i64 noundef %67) #3 %69 = icmp ne i64 %68, 0 br label %70 70: ; preds = %66, %61 %71 = phi i1 [ true, %61 ], [ %69, %66 ] %72 = zext i1 %71 to i32 %73 = load i64, ptr @jiffies, align 8, !tbaa !14 br label %74 74: ; preds = %70, %58 %75 = phi i64 [ %53, %58 ], [ %73, %70 ] %76 = phi i32 [ %54, %58 ], [ %72, %70 ] %77 = call i32 @stutter_wait(ptr noundef nonnull @.str.2) #3 %78 = call i64 @torture_must_stop() #3 %79 = icmp eq i64 %78, 0 br i1 %79, label %52, label %108, !llvm.loop !17 80: ; preds = %52 %81 = icmp eq i32 %54, 0 br i1 %81, label %82, label %88 82: ; preds = %80 %83 = call i64 @smp_load_acquire(ptr noundef nonnull %15) #3 %84 = icmp eq i64 %83, 0 br i1 %84, label %88, label %85 85: ; preds = %82 %86 = load i64, ptr @jiffies, align 8, !tbaa !14 %87 = call i64 @rcu_torture_boost_failed(i64 noundef %53, i64 noundef %86) #3 br label %88 88: ; preds = %85, %82, %80 %89 = load i64, ptr @boost_starttime, align 8, !tbaa !14 %90 = icmp eq i64 %34, %89 br i1 %90, label %91, label %108 91: ; preds = %88, %104 %92 = call i64 @kthread_should_stop() #3 %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %108 94: ; preds = %91 %95 = call i64 @mutex_trylock(ptr noundef nonnull @boost_mutex) #3 %96 = icmp eq i64 %95, 0 br i1 %96, label %104, label %97 97: ; preds = %94 %98 = load i64, ptr @jiffies, align 8, !tbaa !14 %99 = load i64, ptr @test_boost_interval, align 8, !tbaa !14 %100 = load i64, ptr @HZ, align 8, !tbaa !14 %101 = mul i64 %100, %99 %102 = add i64 %101, %98 store i64 %102, ptr @boost_starttime, align 8, !tbaa !14 %103 = call i32 @mutex_unlock(ptr noundef nonnull @boost_mutex) #3 br label %108 104: ; preds = %94 %105 = call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #3 %106 = load i64, ptr @boost_starttime, align 8, !tbaa !14 %107 = icmp eq i64 %34, %106 br i1 %107, label %91, label %108, !llvm.loop !18 108: ; preds = %39, %74, %104, %91, %88, %97, %30 %109 = call i32 @stutter_wait(ptr noundef nonnull @.str.2) #3 %110 = call i64 @torture_must_stop() #3 %111 = icmp eq i64 %110, 0 br i1 %111, label %16, label %112, !llvm.loop !19 112: ; preds = %108, %118 %113 = call i64 @kthread_should_stop() #3 %114 = icmp eq i64 %113, 0 br i1 %114, label %118, label %115 115: ; preds = %112 %116 = call i64 @smp_load_acquire(ptr noundef nonnull %15) #3 %117 = icmp eq i64 %116, 0 br i1 %117, label %121, label %118 118: ; preds = %112, %115 %119 = call i32 @torture_shutdown_absorb(ptr noundef nonnull @.str.2) #3 %120 = call i32 @schedule_timeout_uninterruptible(i32 noundef 1) #3 br label %112, !llvm.loop !20 121: ; preds = %115 %122 = call i32 @destroy_rcu_head_on_stack(ptr noundef nonnull %2) #3 %123 = call i32 @torture_kthread_stopping(ptr noundef nonnull @.str.2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @VERBOSE_TOROUT_STRING(ptr noundef) local_unnamed_addr #2 declare i64 @sched_setscheduler(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @init_rcu_head_on_stack(ptr noundef) local_unnamed_addr #2 declare i64 @kthread_should_stop(...) local_unnamed_addr #2 declare i64 @mutex_trylock(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @schedule_timeout_uninterruptible(i32 noundef) local_unnamed_addr #2 declare i64 @ULONG_CMP_LT(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @schedule_timeout_interruptible(i64 noundef) local_unnamed_addr #2 declare i32 @stutter_wait(ptr noundef) local_unnamed_addr #2 declare i64 @torture_must_stop(...) local_unnamed_addr #2 declare i64 @smp_load_acquire(ptr noundef) local_unnamed_addr #2 declare i32 @smp_store_release(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @call_rcu(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @rcu_torture_boost_failed(i64 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @torture_shutdown_absorb(ptr noundef) local_unnamed_addr #2 declare i32 @destroy_rcu_head_on_stack(ptr noundef) local_unnamed_addr #2 declare i32 @torture_kthread_stopping(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sched_param", !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = distinct !{!16, !13} !17 = distinct !{!17, !13} !18 = distinct !{!18, !13} !19 = distinct !{!19, !13} !20 = distinct !{!20, !13}
linux_kernel_rcu_extr_rcutorture.c_rcu_torture_boost
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/win32nt/ntuser/extr_NtUserSystemParametersInfo.c_Test_SPI_SETACCESSTIMEOUT.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/win32nt/ntuser/extr_NtUserSystemParametersInfo.c_Test_SPI_SETACCESSTIMEOUT.c" target datalayout = "e-m:e-p270:32:32-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 } @SPI_GETACCESSTIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @SPI_SETACCESSTIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @Test_SPI_SETACCESSTIMEOUT() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_3__, align 4 %2 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 4, ptr %1, align 4, !tbaa !5 %3 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %4 = call i32 @NtUserSystemParametersInfo(i32 noundef %3, i32 noundef 0, ptr noundef nonnull %1, i32 noundef 0) #3 %5 = icmp eq i32 %4, 1 %6 = zext i1 %5 to i32 %7 = call i32 @ASSERT(i32 noundef %6) #3 store i32 3, ptr %2, align 4, !tbaa !5 %8 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %9 = call i32 @NtUserSystemParametersInfo(i32 noundef %8, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 %12 = call i32 @TEST(i32 noundef %11) #3 store i32 5, ptr %2, align 4, !tbaa !5 %13 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %14 = call i32 @NtUserSystemParametersInfo(i32 noundef %13, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3 %15 = icmp eq i32 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @TEST(i32 noundef %16) #3 store i32 4, ptr %2, align 4, !tbaa !5 %18 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %19 = call i32 @NtUserSystemParametersInfo(i32 noundef %18, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3 %20 = icmp eq i32 %19, 1 %21 = zext i1 %20 to i32 %22 = call i32 @TEST(i32 noundef %21) #3 store i32 4, ptr %2, align 4, !tbaa !5 %23 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %24 = call i32 @NtUserSystemParametersInfo(i32 noundef %23, i32 noundef 1, ptr noundef nonnull %2, i32 noundef 0) #3 %25 = icmp eq i32 %24, 0 %26 = zext i1 %25 to i32 %27 = call i32 @TEST(i32 noundef %26) #3 store i32 4, ptr %2, align 4, !tbaa !5 %28 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %29 = call i32 @NtUserSystemParametersInfo(i32 noundef %28, i32 noundef -1, ptr noundef nonnull %2, i32 noundef 0) #3 %30 = icmp eq i32 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @TEST(i32 noundef %31) #3 store i32 4, ptr %2, align 4, !tbaa !5 %33 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %34 = call i32 @NtUserSystemParametersInfo(i32 noundef %33, i32 noundef 4, ptr noundef nonnull %2, i32 noundef 0) #3 %35 = icmp eq i32 %34, 1 %36 = zext i1 %35 to i32 %37 = call i32 @TEST(i32 noundef %36) #3 store i32 4, ptr %2, align 4, !tbaa !5 %38 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %39 = call i32 @NtUserSystemParametersInfo(i32 noundef %38, i32 noundef 3, ptr noundef nonnull %2, i32 noundef 0) #3 %40 = icmp eq i32 %39, 0 %41 = zext i1 %40 to i32 %42 = call i32 @TEST(i32 noundef %41) #3 store i32 4, ptr %2, align 4, !tbaa !5 %43 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !10 %44 = call i32 @NtUserSystemParametersInfo(i32 noundef %43, i32 noundef 5, ptr noundef nonnull %2, i32 noundef 0) #3 %45 = icmp eq i32 %44, 0 %46 = zext i1 %45 to i32 %47 = call i32 @TEST(i32 noundef %46) #3 %48 = load i32, ptr @SPI_SETACCESSTIMEOUT, align 4, !tbaa !10 %49 = call i32 @NtUserSystemParametersInfo(i32 noundef %48, i32 noundef 4, ptr noundef nonnull %1, i32 noundef 0) #3 %50 = icmp eq i32 %49, 1 %51 = zext i1 %50 to i32 %52 = call i32 @ASSERT(i32 noundef %51) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @NtUserSystemParametersInfo(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @TEST(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !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/reactos/modules/rostests/apitests/win32nt/ntuser/extr_NtUserSystemParametersInfo.c_Test_SPI_SETACCESSTIMEOUT.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/win32nt/ntuser/extr_NtUserSystemParametersInfo.c_Test_SPI_SETACCESSTIMEOUT.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 } @SPI_GETACCESSTIMEOUT = common local_unnamed_addr global i32 0, align 4 @SPI_SETACCESSTIMEOUT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @Test_SPI_SETACCESSTIMEOUT() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_3__, align 4 %2 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 4, ptr %1, align 4, !tbaa !6 %3 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %4 = call i32 @NtUserSystemParametersInfo(i32 noundef %3, i32 noundef 0, ptr noundef nonnull %1, i32 noundef 0) #3 %5 = icmp eq i32 %4, 1 %6 = zext i1 %5 to i32 %7 = call i32 @ASSERT(i32 noundef %6) #3 store i32 3, ptr %2, align 4, !tbaa !6 %8 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %9 = call i32 @NtUserSystemParametersInfo(i32 noundef %8, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 %12 = call i32 @TEST(i32 noundef %11) #3 store i32 5, ptr %2, align 4, !tbaa !6 %13 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %14 = call i32 @NtUserSystemParametersInfo(i32 noundef %13, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3 %15 = icmp eq i32 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @TEST(i32 noundef %16) #3 store i32 4, ptr %2, align 4, !tbaa !6 %18 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %19 = call i32 @NtUserSystemParametersInfo(i32 noundef %18, i32 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #3 %20 = icmp eq i32 %19, 1 %21 = zext i1 %20 to i32 %22 = call i32 @TEST(i32 noundef %21) #3 store i32 4, ptr %2, align 4, !tbaa !6 %23 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %24 = call i32 @NtUserSystemParametersInfo(i32 noundef %23, i32 noundef 1, ptr noundef nonnull %2, i32 noundef 0) #3 %25 = icmp eq i32 %24, 0 %26 = zext i1 %25 to i32 %27 = call i32 @TEST(i32 noundef %26) #3 store i32 4, ptr %2, align 4, !tbaa !6 %28 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %29 = call i32 @NtUserSystemParametersInfo(i32 noundef %28, i32 noundef -1, ptr noundef nonnull %2, i32 noundef 0) #3 %30 = icmp eq i32 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @TEST(i32 noundef %31) #3 store i32 4, ptr %2, align 4, !tbaa !6 %33 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %34 = call i32 @NtUserSystemParametersInfo(i32 noundef %33, i32 noundef 4, ptr noundef nonnull %2, i32 noundef 0) #3 %35 = icmp eq i32 %34, 1 %36 = zext i1 %35 to i32 %37 = call i32 @TEST(i32 noundef %36) #3 store i32 4, ptr %2, align 4, !tbaa !6 %38 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %39 = call i32 @NtUserSystemParametersInfo(i32 noundef %38, i32 noundef 3, ptr noundef nonnull %2, i32 noundef 0) #3 %40 = icmp eq i32 %39, 0 %41 = zext i1 %40 to i32 %42 = call i32 @TEST(i32 noundef %41) #3 store i32 4, ptr %2, align 4, !tbaa !6 %43 = load i32, ptr @SPI_GETACCESSTIMEOUT, align 4, !tbaa !11 %44 = call i32 @NtUserSystemParametersInfo(i32 noundef %43, i32 noundef 5, ptr noundef nonnull %2, i32 noundef 0) #3 %45 = icmp eq i32 %44, 0 %46 = zext i1 %45 to i32 %47 = call i32 @TEST(i32 noundef %46) #3 %48 = load i32, ptr @SPI_SETACCESSTIMEOUT, align 4, !tbaa !11 %49 = call i32 @NtUserSystemParametersInfo(i32 noundef %48, i32 noundef 4, ptr noundef nonnull %1, i32 noundef 0) #3 %50 = icmp eq i32 %49, 1 %51 = zext i1 %50 to i32 %52 = call i32 @ASSERT(i32 noundef %51) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @NtUserSystemParametersInfo(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @TEST(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
reactos_modules_rostests_apitests_win32nt_ntuser_extr_NtUserSystemParametersInfo.c_Test_SPI_SETACCESSTIMEOUT
; ModuleID = 'AnghaBench/libgit2/tests/checkout/extr_tree.c_test_checkout_tree__baseline_is_empty_when_no_index.c' source_filename = "AnghaBench/libgit2/tests/checkout/extr_tree.c_test_checkout_tree__baseline_is_empty_when_no_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, i32, i32, i32 } @GIT_CHECKOUT_OPTIONS_INIT = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @g_repo = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"master\00", align 1 @GIT_OBJECT_COMMIT = dso_local local_unnamed_addr global i32 0, align 4 @GIT_RESET_HARD = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"testrepo/.git/index\00", align 1 @GIT_CHECKOUT_FORCE = dso_local local_unnamed_addr global i32 0, align 4 @GIT_CHECKOUT_NOTIFY_CONFLICT = dso_local local_unnamed_addr global i32 0, align 4 @checkout_conflict_count_cb = dso_local local_unnamed_addr global i32 0, align 4 @GIT_ECONFLICT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_checkout_tree__baseline_is_empty_when_no_index() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_4__, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) @GIT_CHECKOUT_OPTIONS_INIT, i64 24, i1 false), !tbaa.struct !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 store i64 0, ptr %4, align 8, !tbaa !12 %5 = load i32, ptr @g_repo, align 4, !tbaa !10 %6 = tail call i32 @assert_on_branch(i32 noundef %5, ptr noundef nonnull @.str) #4 %7 = load i32, ptr @g_repo, align 4, !tbaa !10 %8 = call i32 @git_repository_head(ptr noundef nonnull %2, i32 noundef %7) #4 %9 = call i32 @cl_git_pass(i32 noundef %8) #4 %10 = load ptr, ptr %2, align 8, !tbaa !6 %11 = load i32, ptr @GIT_OBJECT_COMMIT, align 4, !tbaa !10 %12 = call i32 @git_reference_peel(ptr noundef nonnull %3, ptr noundef %10, i32 noundef %11) #4 %13 = call i32 @cl_git_pass(i32 noundef %12) #4 %14 = load i32, ptr @g_repo, align 4, !tbaa !10 %15 = load ptr, ptr %3, align 8, !tbaa !6 %16 = load i32, ptr @GIT_RESET_HARD, align 4, !tbaa !10 %17 = call i32 @git_reset(i32 noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef null) #4 %18 = call i32 @cl_git_pass(i32 noundef %17) #4 %19 = call i32 @p_unlink(ptr noundef nonnull @.str.1) #4 %20 = call i32 @cl_must_pass(i32 noundef %19) #4 %21 = load i32, ptr @GIT_CHECKOUT_FORCE, align 4, !tbaa !10 %22 = xor i32 %21, -1 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %24 = load i32, ptr %23, align 8, !tbaa !14 %25 = and i32 %24, %22 store i32 %25, ptr %23, align 8, !tbaa !14 %26 = load i32, ptr @GIT_CHECKOUT_NOTIFY_CONFLICT, align 4, !tbaa !10 %27 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 store i32 %26, ptr %27, align 8, !tbaa !16 %28 = load i32, ptr @checkout_conflict_count_cb, align 4, !tbaa !10 %29 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 store i32 %28, ptr %29, align 4, !tbaa !17 store ptr %4, ptr %1, align 8, !tbaa !18 %30 = load i32, ptr @GIT_ECONFLICT, align 4, !tbaa !10 %31 = load i32, ptr @g_repo, align 4, !tbaa !10 %32 = load ptr, ptr %3, align 8, !tbaa !6 %33 = call i32 @git_checkout_tree(i32 noundef %31, ptr noundef %32, ptr noundef nonnull %1) #4 %34 = call i32 @cl_git_fail_with(i32 noundef %30, i32 noundef %33) #4 %35 = load i64, ptr %4, align 8, !tbaa !12 %36 = call i32 @cl_assert_equal_i(i32 noundef 4, i64 noundef %35) #4 %37 = load i32, ptr @GIT_CHECKOUT_FORCE, align 4, !tbaa !10 %38 = load i32, ptr %23, align 8, !tbaa !14 %39 = or i32 %38, %37 store i32 %39, ptr %23, align 8, !tbaa !14 %40 = load i32, ptr @g_repo, align 4, !tbaa !10 %41 = load ptr, ptr %3, align 8, !tbaa !6 %42 = call i32 @git_checkout_tree(i32 noundef %40, ptr noundef %41, ptr noundef nonnull %1) #4 %43 = call i32 @cl_git_pass(i32 noundef %42) #4 %44 = load i32, ptr @g_repo, align 4, !tbaa !10 %45 = call i32 @assert_status_entrycount(i32 noundef %44, i32 noundef 0) #4 %46 = load ptr, ptr %3, align 8, !tbaa !6 %47 = call i32 @git_object_free(ptr noundef %46) #4 %48 = load ptr, ptr %2, align 8, !tbaa !6 %49 = call i32 @git_reference_free(ptr noundef %48) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @assert_on_branch(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #3 declare i32 @git_repository_head(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_reference_peel(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_reset(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @cl_must_pass(i32 noundef) local_unnamed_addr #3 declare i32 @p_unlink(ptr noundef) local_unnamed_addr #3 declare i32 @cl_git_fail_with(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_checkout_tree(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @cl_assert_equal_i(i32 noundef, i64 noundef) local_unnamed_addr #3 declare i32 @assert_status_entrycount(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_object_free(ptr noundef) local_unnamed_addr #3 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{i64 0, i64 8, !6, i64 8, i64 4, !10, i64 12, i64 4, !10, i64 16, i64 4, !10} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"TYPE_4__", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16} !16 = !{!15, !11, i64 16} !17 = !{!15, !11, i64 12} !18 = !{!15, !7, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/checkout/extr_tree.c_test_checkout_tree__baseline_is_empty_when_no_index.c' source_filename = "AnghaBench/libgit2/tests/checkout/extr_tree.c_test_checkout_tree__baseline_is_empty_when_no_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr, i32, i32, i32 } @GIT_CHECKOUT_OPTIONS_INIT = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @g_repo = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"master\00", align 1 @GIT_OBJECT_COMMIT = common local_unnamed_addr global i32 0, align 4 @GIT_RESET_HARD = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"testrepo/.git/index\00", align 1 @GIT_CHECKOUT_FORCE = common local_unnamed_addr global i32 0, align 4 @GIT_CHECKOUT_NOTIFY_CONFLICT = common local_unnamed_addr global i32 0, align 4 @checkout_conflict_count_cb = common local_unnamed_addr global i32 0, align 4 @GIT_ECONFLICT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_checkout_tree__baseline_is_empty_when_no_index() local_unnamed_addr #0 { %1 = alloca %struct.TYPE_4__, align 8 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) @GIT_CHECKOUT_OPTIONS_INIT, i64 24, i1 false), !tbaa.struct !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 store i64 0, ptr %4, align 8, !tbaa !13 %5 = load i32, ptr @g_repo, align 4, !tbaa !11 %6 = tail call i32 @assert_on_branch(i32 noundef %5, ptr noundef nonnull @.str) #4 %7 = load i32, ptr @g_repo, align 4, !tbaa !11 %8 = call i32 @git_repository_head(ptr noundef nonnull %2, i32 noundef %7) #4 %9 = call i32 @cl_git_pass(i32 noundef %8) #4 %10 = load ptr, ptr %2, align 8, !tbaa !7 %11 = load i32, ptr @GIT_OBJECT_COMMIT, align 4, !tbaa !11 %12 = call i32 @git_reference_peel(ptr noundef nonnull %3, ptr noundef %10, i32 noundef %11) #4 %13 = call i32 @cl_git_pass(i32 noundef %12) #4 %14 = load i32, ptr @g_repo, align 4, !tbaa !11 %15 = load ptr, ptr %3, align 8, !tbaa !7 %16 = load i32, ptr @GIT_RESET_HARD, align 4, !tbaa !11 %17 = call i32 @git_reset(i32 noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef null) #4 %18 = call i32 @cl_git_pass(i32 noundef %17) #4 %19 = call i32 @p_unlink(ptr noundef nonnull @.str.1) #4 %20 = call i32 @cl_must_pass(i32 noundef %19) #4 %21 = load i32, ptr @GIT_CHECKOUT_FORCE, align 4, !tbaa !11 %22 = xor i32 %21, -1 %23 = getelementptr inbounds i8, ptr %1, i64 8 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = and i32 %24, %22 store i32 %25, ptr %23, align 8, !tbaa !15 %26 = load i32, ptr @GIT_CHECKOUT_NOTIFY_CONFLICT, align 4, !tbaa !11 %27 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %26, ptr %27, align 8, !tbaa !17 %28 = load i32, ptr @checkout_conflict_count_cb, align 4, !tbaa !11 %29 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %28, ptr %29, align 4, !tbaa !18 store ptr %4, ptr %1, align 8, !tbaa !19 %30 = load i32, ptr @GIT_ECONFLICT, align 4, !tbaa !11 %31 = load i32, ptr @g_repo, align 4, !tbaa !11 %32 = load ptr, ptr %3, align 8, !tbaa !7 %33 = call i32 @git_checkout_tree(i32 noundef %31, ptr noundef %32, ptr noundef nonnull %1) #4 %34 = call i32 @cl_git_fail_with(i32 noundef %30, i32 noundef %33) #4 %35 = load i64, ptr %4, align 8, !tbaa !13 %36 = call i32 @cl_assert_equal_i(i32 noundef 4, i64 noundef %35) #4 %37 = load i32, ptr @GIT_CHECKOUT_FORCE, align 4, !tbaa !11 %38 = load i32, ptr %23, align 8, !tbaa !15 %39 = or i32 %38, %37 store i32 %39, ptr %23, align 8, !tbaa !15 %40 = load i32, ptr @g_repo, align 4, !tbaa !11 %41 = load ptr, ptr %3, align 8, !tbaa !7 %42 = call i32 @git_checkout_tree(i32 noundef %40, ptr noundef %41, ptr noundef nonnull %1) #4 %43 = call i32 @cl_git_pass(i32 noundef %42) #4 %44 = load i32, ptr @g_repo, align 4, !tbaa !11 %45 = call i32 @assert_status_entrycount(i32 noundef %44, i32 noundef 0) #4 %46 = load ptr, ptr %3, align 8, !tbaa !7 %47 = call i32 @git_object_free(ptr noundef %46) #4 %48 = load ptr, ptr %2, align 8, !tbaa !7 %49 = call i32 @git_reference_free(ptr noundef %48) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @assert_on_branch(i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #3 declare i32 @git_repository_head(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_reference_peel(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_reset(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @cl_must_pass(i32 noundef) local_unnamed_addr #3 declare i32 @p_unlink(ptr noundef) local_unnamed_addr #3 declare i32 @cl_git_fail_with(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_checkout_tree(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @cl_assert_equal_i(i32 noundef, i64 noundef) local_unnamed_addr #3 declare i32 @assert_status_entrycount(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @git_object_free(ptr noundef) local_unnamed_addr #3 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{i64 0, i64 8, !7, i64 8, i64 4, !11, i64 12, i64 4, !11, i64 16, i64 4, !11} !7 = !{!8, !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"TYPE_4__", !8, i64 0, !12, i64 8, !12, i64 12, !12, i64 16} !17 = !{!16, !12, i64 16} !18 = !{!16, !12, i64 12} !19 = !{!16, !8, i64 0}
libgit2_tests_checkout_extr_tree.c_test_checkout_tree__baseline_is_empty_when_no_index
; ModuleID = 'AnghaBench/reactos/dll/win32/uxtheme/extr_system.c_UXTHEME_BackupSystemMetrics.c' source_filename = "AnghaBench/reactos/dll/win32/uxtheme/extr_system.c_UXTHEME_BackupSystemMetrics.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.BackupSysParam = type { i64, i32 } @backupSysParams = dso_local local_unnamed_addr global ptr null, align 8 @HKEY_CURRENT_USER = dso_local local_unnamed_addr global i32 0, align 4 @szThemeManager = dso_local local_unnamed_addr global i32 0, align 4 @KEY_ALL_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @REG_DWORD = dso_local local_unnamed_addr global i32 0, align 4 @SPI_GETNONCLIENTMETRICS = dso_local local_unnamed_addr global i64 0, align 8 @keyNonClientMetrics = dso_local local_unnamed_addr global i32 0, align 4 @REG_BINARY = dso_local local_unnamed_addr global i32 0, align 4 @SPI_GETICONTITLELOGFONT = dso_local local_unnamed_addr global i64 0, align 8 @keyIconTitleFont = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @UXTHEME_BackupSystemMetrics], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @UXTHEME_BackupSystemMetrics() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.TYPE_6__, align 4 %3 = alloca %struct.TYPE_6__, align 4 %4 = alloca %struct.TYPE_6__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %5 = load ptr, ptr @backupSysParams, align 8, !tbaa !5 %6 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !9 %7 = load i32, ptr @szThemeManager, align 4, !tbaa !9 %8 = load i32, ptr @KEY_ALL_ACCESS, align 4, !tbaa !9 %9 = call i64 @RegCreateKeyExW(i32 noundef %6, i32 noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %8, i32 noundef 0, ptr noundef nonnull %1, i32 noundef 0) #3 %10 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %53 12: ; preds = %0 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %13 = load i32, ptr %1, align 4, !tbaa !9 %14 = call i32 @save_sys_colors(i32 noundef %13) #3 %15 = load i64, ptr %5, align 8, !tbaa !13 %16 = icmp sgt i64 %15, -1 br i1 %16, label %17, label %32 17: ; preds = %12 %18 = ptrtoint ptr %4 to i64 %19 = trunc i64 %18 to i32 br label %20 20: ; preds = %17, %20 %21 = phi i64 [ %15, %17 ], [ %30, %20 ] %22 = phi ptr [ %5, %17 ], [ %29, %20 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %23 = call i32 @SystemParametersInfoW(i64 noundef %21, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 0) #3 %24 = load i32, ptr %1, align 4, !tbaa !9 %25 = getelementptr inbounds %struct.BackupSysParam, ptr %22, i64 0, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !15 %27 = load i32, ptr @REG_DWORD, align 4, !tbaa !9 %28 = call i32 @RegSetValueExW(i32 noundef %24, i32 noundef %26, i32 noundef 0, i32 noundef %27, i32 noundef %19, i32 noundef 4) #3 %29 = getelementptr inbounds %struct.BackupSysParam, ptr %22, i64 1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %30 = load i64, ptr %29, align 8, !tbaa !13 %31 = icmp sgt i64 %30, -1 br i1 %31, label %20, label %32, !llvm.loop !16 32: ; preds = %20, %12 %33 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 4) #3 store i32 4, ptr %2, align 4, !tbaa !18 %34 = load i64, ptr @SPI_GETNONCLIENTMETRICS, align 8, !tbaa !11 %35 = call i32 @SystemParametersInfoW(i64 noundef %34, i32 noundef 4, ptr noundef nonnull %2, i32 noundef 0) #3 %36 = load i32, ptr %1, align 4, !tbaa !9 %37 = load i32, ptr @keyNonClientMetrics, align 4, !tbaa !9 %38 = load i32, ptr @REG_BINARY, align 4, !tbaa !9 %39 = ptrtoint ptr %2 to i64 %40 = trunc i64 %39 to i32 %41 = call i32 @RegSetValueExW(i32 noundef %36, i32 noundef %37, i32 noundef 0, i32 noundef %38, i32 noundef %40, i32 noundef 4) #3 %42 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #3 %43 = load i64, ptr @SPI_GETICONTITLELOGFONT, align 8, !tbaa !11 %44 = call i32 @SystemParametersInfoW(i64 noundef %43, i32 noundef 4, ptr noundef nonnull %3, i32 noundef 0) #3 %45 = load i32, ptr %1, align 4, !tbaa !9 %46 = load i32, ptr @keyIconTitleFont, align 4, !tbaa !9 %47 = load i32, ptr @REG_BINARY, align 4, !tbaa !9 %48 = ptrtoint ptr %3 to i64 %49 = trunc i64 %48 to i32 %50 = call i32 @RegSetValueExW(i32 noundef %45, i32 noundef %46, i32 noundef 0, i32 noundef %47, i32 noundef %49, i32 noundef 4) #3 %51 = load i32, ptr %1, align 4, !tbaa !9 %52 = call i32 @RegCloseKey(i32 noundef %51) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 br label %53 53: ; preds = %32, %0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @RegCreateKeyExW(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @save_sys_colors(i32 noundef) local_unnamed_addr #2 declare i32 @SystemParametersInfoW(i64 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @RegSetValueExW(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"BackupSysParam", !12, i64 0, !10, i64 8} !15 = !{!14, !10, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!19, !10, i64 0} !19 = !{!"TYPE_6__", !10, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/uxtheme/extr_system.c_UXTHEME_BackupSystemMetrics.c' source_filename = "AnghaBench/reactos/dll/win32/uxtheme/extr_system.c_UXTHEME_BackupSystemMetrics.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i32 } @backupSysParams = common local_unnamed_addr global ptr null, align 8 @HKEY_CURRENT_USER = common local_unnamed_addr global i32 0, align 4 @szThemeManager = common local_unnamed_addr global i32 0, align 4 @KEY_ALL_ACCESS = common local_unnamed_addr global i32 0, align 4 @ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8 @REG_DWORD = common local_unnamed_addr global i32 0, align 4 @SPI_GETNONCLIENTMETRICS = common local_unnamed_addr global i64 0, align 8 @keyNonClientMetrics = common local_unnamed_addr global i32 0, align 4 @REG_BINARY = common local_unnamed_addr global i32 0, align 4 @SPI_GETICONTITLELOGFONT = common local_unnamed_addr global i64 0, align 8 @keyIconTitleFont = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @UXTHEME_BackupSystemMetrics], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @UXTHEME_BackupSystemMetrics() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.TYPE_6__, align 4 %3 = alloca %struct.TYPE_6__, align 4 %4 = alloca %struct.TYPE_6__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %5 = load ptr, ptr @backupSysParams, align 8, !tbaa !6 %6 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !10 %7 = load i32, ptr @szThemeManager, align 4, !tbaa !10 %8 = load i32, ptr @KEY_ALL_ACCESS, align 4, !tbaa !10 %9 = call i64 @RegCreateKeyExW(i32 noundef %6, i32 noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %8, i32 noundef 0, ptr noundef nonnull %1, i32 noundef 0) #3 %10 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %53 12: ; preds = %0 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %13 = load i32, ptr %1, align 4, !tbaa !10 %14 = call i32 @save_sys_colors(i32 noundef %13) #3 %15 = load i64, ptr %5, align 8, !tbaa !14 %16 = icmp sgt i64 %15, -1 br i1 %16, label %17, label %32 17: ; preds = %12 %18 = ptrtoint ptr %4 to i64 %19 = trunc i64 %18 to i32 br label %20 20: ; preds = %17, %20 %21 = phi i64 [ %15, %17 ], [ %30, %20 ] %22 = phi ptr [ %5, %17 ], [ %29, %20 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %23 = call i32 @SystemParametersInfoW(i64 noundef %21, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 0) #3 %24 = load i32, ptr %1, align 4, !tbaa !10 %25 = getelementptr inbounds i8, ptr %22, i64 8 %26 = load i32, ptr %25, align 8, !tbaa !16 %27 = load i32, ptr @REG_DWORD, align 4, !tbaa !10 %28 = call i32 @RegSetValueExW(i32 noundef %24, i32 noundef %26, i32 noundef 0, i32 noundef %27, i32 noundef %19, i32 noundef 4) #3 %29 = getelementptr inbounds i8, ptr %22, i64 16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %30 = load i64, ptr %29, align 8, !tbaa !14 %31 = icmp sgt i64 %30, -1 br i1 %31, label %20, label %32, !llvm.loop !17 32: ; preds = %20, %12 %33 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 4) #3 store i32 4, ptr %2, align 4, !tbaa !19 %34 = load i64, ptr @SPI_GETNONCLIENTMETRICS, align 8, !tbaa !12 %35 = call i32 @SystemParametersInfoW(i64 noundef %34, i32 noundef 4, ptr noundef nonnull %2, i32 noundef 0) #3 %36 = load i32, ptr %1, align 4, !tbaa !10 %37 = load i32, ptr @keyNonClientMetrics, align 4, !tbaa !10 %38 = load i32, ptr @REG_BINARY, align 4, !tbaa !10 %39 = ptrtoint ptr %2 to i64 %40 = trunc i64 %39 to i32 %41 = call i32 @RegSetValueExW(i32 noundef %36, i32 noundef %37, i32 noundef 0, i32 noundef %38, i32 noundef %40, i32 noundef 4) #3 %42 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #3 %43 = load i64, ptr @SPI_GETICONTITLELOGFONT, align 8, !tbaa !12 %44 = call i32 @SystemParametersInfoW(i64 noundef %43, i32 noundef 4, ptr noundef nonnull %3, i32 noundef 0) #3 %45 = load i32, ptr %1, align 4, !tbaa !10 %46 = load i32, ptr @keyIconTitleFont, align 4, !tbaa !10 %47 = load i32, ptr @REG_BINARY, align 4, !tbaa !10 %48 = ptrtoint ptr %3 to i64 %49 = trunc i64 %48 to i32 %50 = call i32 @RegSetValueExW(i32 noundef %45, i32 noundef %46, i32 noundef 0, i32 noundef %47, i32 noundef %49, i32 noundef 4) #3 %51 = load i32, ptr %1, align 4, !tbaa !10 %52 = call i32 @RegCloseKey(i32 noundef %51) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 br label %53 53: ; preds = %32, %0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @RegCreateKeyExW(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @save_sys_colors(i32 noundef) local_unnamed_addr #2 declare i32 @SystemParametersInfoW(i64 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @RegSetValueExW(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"BackupSysParam", !13, i64 0, !11, i64 8} !16 = !{!15, !11, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_6__", !11, i64 0}
reactos_dll_win32_uxtheme_extr_system.c_UXTHEME_BackupSystemMetrics
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_sata_highbank.c___combo_phy_reg_read.c' source_filename = "AnghaBench/linux/drivers/ata/extr_sata_highbank.c___combo_phy_reg_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 { i64, i64 } @port_data = dso_local local_unnamed_addr global ptr null, align 8 @cphy_lock = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__combo_phy_reg_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__combo_phy_reg_read(i64 noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr @port_data, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %0 %5 = load i64, ptr %4, align 8, !tbaa !9 %6 = tail call i32 @spin_lock(ptr noundef nonnull @cphy_lock) #2 %7 = tail call i32 @CPHY_MAP(i64 noundef %5, i32 noundef %1) #2 %8 = load ptr, ptr @port_data, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = add nsw i64 %10, 2048 %12 = tail call i32 @writel(i32 noundef %7, i64 noundef %11) #2 %13 = load ptr, ptr @port_data, align 8, !tbaa !5 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !12 %16 = tail call i64 @CPHY_ADDR(i32 noundef %1) #2 %17 = add nsw i64 %16, %15 %18 = tail call i32 @readl(i64 noundef %17) #2 %19 = tail call i32 @spin_unlock(ptr noundef nonnull @cphy_lock) #2 ret i32 %18 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @CPHY_MAP(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl(i64 noundef) local_unnamed_addr #1 declare i64 @CPHY_ADDR(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_sata_highbank.c___combo_phy_reg_read.c' source_filename = "AnghaBench/linux/drivers/ata/extr_sata_highbank.c___combo_phy_reg_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i64 } @port_data = common local_unnamed_addr global ptr null, align 8 @cphy_lock = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__combo_phy_reg_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__combo_phy_reg_read(i64 noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr @port_data, align 8, !tbaa !6 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %0 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = tail call i32 @spin_lock(ptr noundef nonnull @cphy_lock) #2 %7 = tail call i32 @CPHY_MAP(i64 noundef %5, i32 noundef %1) #2 %8 = load ptr, ptr @port_data, align 8, !tbaa !6 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = add nsw i64 %10, 2048 %12 = tail call i32 @writel(i32 noundef %7, i64 noundef %11) #2 %13 = load ptr, ptr @port_data, align 8, !tbaa !6 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = tail call i64 @CPHY_ADDR(i32 noundef %1) #2 %17 = add nsw i64 %16, %15 %18 = tail call i32 @readl(i64 noundef %17) #2 %19 = tail call i32 @spin_unlock(ptr noundef nonnull @cphy_lock) #2 ret i32 %18 } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @CPHY_MAP(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl(i64 noundef) local_unnamed_addr #1 declare i64 @CPHY_ADDR(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8}
linux_drivers_ata_extr_sata_highbank.c___combo_phy_reg_read
; ModuleID = 'AnghaBench/timescaledb/src/extr_chunk_index.c_ts_chunk_index_delete_by_chunk_id.c' source_filename = "AnghaBench/timescaledb/src/extr_chunk_index.c_ts_chunk_index_delete_by_chunk_id.c" target datalayout = "e-m:e-p270:32:32-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 } @Anum_chunk_index_chunk_id_index_name_idx_chunk_id = dso_local local_unnamed_addr global i32 0, align 4 @BTEqualStrategyNumber = dso_local local_unnamed_addr global i32 0, align 4 @F_INT4EQ = dso_local local_unnamed_addr global i32 0, align 4 @CHUNK_INDEX_CHUNK_ID_INDEX_NAME_IDX = dso_local local_unnamed_addr global i32 0, align 4 @chunk_index_tuple_delete = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ts_chunk_index_delete_by_chunk_id(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca [1 x i32], align 4 %4 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 %1, ptr %4, align 4, !tbaa !5 %5 = load i32, ptr @Anum_chunk_index_chunk_id_index_name_idx_chunk_id, align 4, !tbaa !10 %6 = load i32, ptr @BTEqualStrategyNumber, align 4, !tbaa !10 %7 = load i32, ptr @F_INT4EQ, align 4, !tbaa !10 %8 = tail call i32 @Int32GetDatum(i32 noundef %0) #3 %9 = call i32 @ScanKeyInit(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #3 %10 = load i32, ptr @CHUNK_INDEX_CHUNK_ID_INDEX_NAME_IDX, align 4, !tbaa !10 %11 = load i32, ptr @chunk_index_tuple_delete, align 4, !tbaa !10 %12 = call i32 @chunk_index_scan_update(i32 noundef %10, ptr noundef nonnull %3, i32 noundef 1, i32 noundef %11, ptr noundef null, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ScanKeyInit(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Int32GetDatum(i32 noundef) local_unnamed_addr #2 declare i32 @chunk_index_scan_update(i32 noundef, ptr noundef, i32 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, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/timescaledb/src/extr_chunk_index.c_ts_chunk_index_delete_by_chunk_id.c' source_filename = "AnghaBench/timescaledb/src/extr_chunk_index.c_ts_chunk_index_delete_by_chunk_id.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 } @Anum_chunk_index_chunk_id_index_name_idx_chunk_id = common local_unnamed_addr global i32 0, align 4 @BTEqualStrategyNumber = common local_unnamed_addr global i32 0, align 4 @F_INT4EQ = common local_unnamed_addr global i32 0, align 4 @CHUNK_INDEX_CHUNK_ID_INDEX_NAME_IDX = common local_unnamed_addr global i32 0, align 4 @chunk_index_tuple_delete = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ts_chunk_index_delete_by_chunk_id(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca [1 x i32], align 4 %4 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 %1, ptr %4, align 4, !tbaa !6 %5 = load i32, ptr @Anum_chunk_index_chunk_id_index_name_idx_chunk_id, align 4, !tbaa !11 %6 = load i32, ptr @BTEqualStrategyNumber, align 4, !tbaa !11 %7 = load i32, ptr @F_INT4EQ, align 4, !tbaa !11 %8 = tail call i32 @Int32GetDatum(i32 noundef %0) #3 %9 = call i32 @ScanKeyInit(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #3 %10 = load i32, ptr @CHUNK_INDEX_CHUNK_ID_INDEX_NAME_IDX, align 4, !tbaa !11 %11 = load i32, ptr @chunk_index_tuple_delete, align 4, !tbaa !11 %12 = call i32 @chunk_index_scan_update(i32 noundef %10, ptr noundef nonnull %3, i32 noundef 1, i32 noundef %11, ptr noundef null, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ScanKeyInit(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Int32GetDatum(i32 noundef) local_unnamed_addr #2 declare i32 @chunk_index_scan_update(i32 noundef, ptr noundef, i32 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, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
timescaledb_src_extr_chunk_index.c_ts_chunk_index_delete_by_chunk_id
; ModuleID = 'AnghaBench/obs-studio/libobs/audio-monitoring/win32/extr_....graphicsvec3.h_vec3_divf.c' source_filename = "AnghaBench/obs-studio/libobs/audio-monitoring/win32/extr_....graphicsvec3.h_vec3_divf.c" target datalayout = "e-m:e-p270:32:32-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.vec3 = type { float, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @vec3_divf], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @vec3_divf(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, float noundef %2) #0 { %4 = getelementptr inbounds %struct.vec3, ptr %1, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @_mm_set1_ps(float noundef %2) #2 %7 = tail call i32 @_mm_div_ps(i32 noundef %5, i32 noundef %6) #2 %8 = getelementptr inbounds %struct.vec3, ptr %0, i64 0, i32 1 store i32 %7, ptr %8, align 4, !tbaa !5 store float 0.000000e+00, ptr %0, align 4, !tbaa !11 ret void } declare i32 @_mm_div_ps(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_mm_set1_ps(float 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 4} !6 = !{!"vec3", !7, i64 0, !10, i64 4} !7 = !{!"float", !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/obs-studio/libobs/audio-monitoring/win32/extr_....graphicsvec3.h_vec3_divf.c' source_filename = "AnghaBench/obs-studio/libobs/audio-monitoring/win32/extr_....graphicsvec3.h_vec3_divf.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 @vec3_divf], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @vec3_divf(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, float noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %1, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @_mm_set1_ps(float noundef %2) #2 %7 = tail call i32 @_mm_div_ps(i32 noundef %5, i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %7, ptr %8, align 4, !tbaa !6 store float 0.000000e+00, ptr %0, align 4, !tbaa !12 ret void } declare i32 @_mm_div_ps(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_mm_set1_ps(float 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 4} !7 = !{!"vec3", !8, i64 0, !11, i64 4} !8 = !{!"float", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0}
obs-studio_libobs_audio-monitoring_win32_extr_....graphicsvec3.h_vec3_divf
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_ov519.c_sd_stopN.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_ov519.c_sd_stopN.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @sd_stopN], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sd_stopN(ptr noundef %0) #0 { %2 = tail call i32 @ov51x_stop(ptr noundef %0) #2 %3 = tail call i32 @ov51x_led_control(ptr noundef %0, i32 noundef 0) #2 ret void } declare i32 @ov51x_stop(ptr noundef) local_unnamed_addr #1 declare i32 @ov51x_led_control(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_ov519.c_sd_stopN.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_ov519.c_sd_stopN.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @sd_stopN], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sd_stopN(ptr noundef %0) #0 { %2 = tail call i32 @ov51x_stop(ptr noundef %0) #2 %3 = tail call i32 @ov51x_led_control(ptr noundef %0, i32 noundef 0) #2 ret void } declare i32 @ov51x_stop(ptr noundef) local_unnamed_addr #1 declare i32 @ov51x_led_control(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_media_usb_gspca_extr_ov519.c_sd_stopN
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/elfdump/extr_elfdump.c_d_tags.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/elfdump/extr_elfdump.c_d_tags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @d_tags.unknown_buf = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [8 x i8] c"DT_NULL\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"DT_NEEDED\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"DT_PLTRELSZ\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"DT_PLTGOT\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"DT_HASH\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"DT_STRTAB\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"DT_SYMTAB\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"DT_RELA\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"DT_RELASZ\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"DT_RELAENT\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"DT_STRSZ\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"DT_SYMENT\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"DT_INIT\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"DT_FINI\00", align 1 @.str.14 = private unnamed_addr constant [10 x i8] c"DT_SONAME\00", align 1 @.str.15 = private unnamed_addr constant [9 x i8] c"DT_RPATH\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c"DT_SYMBOLIC\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"DT_REL\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"DT_RELSZ\00", align 1 @.str.19 = private unnamed_addr constant [10 x i8] c"DT_RELENT\00", align 1 @.str.20 = private unnamed_addr constant [10 x i8] c"DT_PLTREL\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"DT_DEBUG\00", align 1 @.str.22 = private unnamed_addr constant [11 x i8] c"DT_TEXTREL\00", align 1 @.str.23 = private unnamed_addr constant [10 x i8] c"DT_JMPREL\00", align 1 @.str.24 = private unnamed_addr constant [12 x i8] c"DT_BIND_NOW\00", align 1 @.str.25 = private unnamed_addr constant [14 x i8] c"DT_INIT_ARRAY\00", align 1 @.str.26 = private unnamed_addr constant [14 x i8] c"DT_FINI_ARRAY\00", align 1 @.str.27 = private unnamed_addr constant [16 x i8] c"DT_INIT_ARRAYSZ\00", align 1 @.str.28 = private unnamed_addr constant [16 x i8] c"DT_FINI_ARRAYSZ\00", align 1 @.str.29 = private unnamed_addr constant [11 x i8] c"DT_RUNPATH\00", align 1 @.str.30 = private unnamed_addr constant [9 x i8] c"DT_FLAGS\00", align 1 @.str.31 = private unnamed_addr constant [17 x i8] c"DT_PREINIT_ARRAY\00", align 1 @.str.32 = private unnamed_addr constant [19 x i8] c"DT_PREINIT_ARRAYSZ\00", align 1 @.str.33 = private unnamed_addr constant [17 x i8] c"DT_GNU_PRELINKED\00", align 1 @.str.34 = private unnamed_addr constant [18 x i8] c"DT_GNU_CONFLICTSZ\00", align 1 @.str.35 = private unnamed_addr constant [17 x i8] c"DT_GNU_LIBLISTSZ\00", align 1 @.str.36 = private unnamed_addr constant [17 x i8] c"DT_SUNW_CHECKSUM\00", align 1 @.str.37 = private unnamed_addr constant [12 x i8] c"DT_PLTPADSZ\00", align 1 @.str.38 = private unnamed_addr constant [11 x i8] c"DT_MOVEENT\00", align 1 @.str.39 = private unnamed_addr constant [10 x i8] c"DT_MOVESZ\00", align 1 @.str.40 = private unnamed_addr constant [11 x i8] c"DT_FEATURE\00", align 1 @.str.41 = private unnamed_addr constant [13 x i8] c"DT_POSFLAG_1\00", align 1 @.str.42 = private unnamed_addr constant [11 x i8] c"DT_SYMINSZ\00", align 1 @.str.43 = private unnamed_addr constant [26 x i8] c"DT_SYMINENT (DT_VALRNGHI)\00", align 1 @.str.44 = private unnamed_addr constant [13 x i8] c"DT_ADDRRNGLO\00", align 1 @.str.45 = private unnamed_addr constant [12 x i8] c"DT_GNU_HASH\00", align 1 @.str.46 = private unnamed_addr constant [16 x i8] c"DT_GNU_CONFLICT\00", align 1 @.str.47 = private unnamed_addr constant [15 x i8] c"DT_GNU_LIBLIST\00", align 1 @.str.48 = private unnamed_addr constant [10 x i8] c"DT_CONFIG\00", align 1 @.str.49 = private unnamed_addr constant [12 x i8] c"DT_DEPAUDIT\00", align 1 @.str.50 = private unnamed_addr constant [9 x i8] c"DT_AUDIT\00", align 1 @.str.51 = private unnamed_addr constant [10 x i8] c"DT_PLTPAD\00", align 1 @.str.52 = private unnamed_addr constant [11 x i8] c"DT_MOVETAB\00", align 1 @.str.53 = private unnamed_addr constant [26 x i8] c"DT_SYMINFO (DT_ADDRRNGHI)\00", align 1 @.str.54 = private unnamed_addr constant [13 x i8] c"DT_RELACOUNT\00", align 1 @.str.55 = private unnamed_addr constant [12 x i8] c"DT_RELCOUNT\00", align 1 @.str.56 = private unnamed_addr constant [11 x i8] c"DT_FLAGS_1\00", align 1 @.str.57 = private unnamed_addr constant [10 x i8] c"DT_VERDEF\00", align 1 @.str.58 = private unnamed_addr constant [13 x i8] c"DT_VERDEFNUM\00", align 1 @.str.59 = private unnamed_addr constant [11 x i8] c"DT_VERNEED\00", align 1 @.str.60 = private unnamed_addr constant [14 x i8] c"DT_VERNEEDNUM\00", align 1 @.str.61 = private unnamed_addr constant [14 x i8] c"DT_GNU_VERSYM\00", align 1 @.str.62 = private unnamed_addr constant [21 x i8] c"DT_IA_64_PLT_RESERVE\00", align 1 @.str.63 = private unnamed_addr constant [13 x i8] c"DT_AUXILIARY\00", align 1 @.str.64 = private unnamed_addr constant [8 x i8] c"DT_USED\00", align 1 @.str.65 = private unnamed_addr constant [10 x i8] c"DT_FILTER\00", align 1 @.str.66 = private unnamed_addr constant [17 x i8] c"<unknown: %#llx>\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @d_tags], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef nonnull ptr @d_tags(i64 noundef %0) #0 { switch i64 %0, label %67 [ i64 160, label %69 i64 161, label %2 i64 156, label %3 i64 159, label %4 i64 168, label %5 i64 140, label %6 i64 134, label %7 i64 151, label %8 i64 148, label %9 i64 149, label %10 i64 141, label %11 i64 138, label %12 i64 167, label %13 i64 174, label %14 i64 142, label %15 i64 144, label %16 i64 139, label %17 i64 152, label %18 i64 145, label %19 i64 146, label %20 i64 157, label %21 i64 176, label %22 i64 133, label %23 i64 164, label %24 i64 177, label %25 i64 166, label %26 i64 173, label %27 i64 165, label %28 i64 172, label %29 i64 143, label %30 i64 171, label %31 i64 154, label %32 i64 153, label %33 i64 1879047669, label %34 i64 1879047670, label %35 i64 1879047671, label %36 i64 1879047672, label %37 i64 158, label %38 i64 163, label %39 i64 162, label %40 i64 1879047676, label %41 i64 155, label %42 i64 135, label %43 i64 137, label %44 i64 179, label %45 i64 169, label %46 i64 1879047928, label %47 i64 1879047929, label %48 i64 1879047930, label %49 i64 1879047931, label %50 i64 1879047932, label %51 i64 1879047933, label %52 i64 1879047934, label %53 i64 136, label %54 i64 150, label %55 i64 147, label %56 i64 170, label %57 i64 131, label %58 i64 130, label %59 i64 129, label %60 i64 128, label %61 i64 1879048176, label %62 i64 1879048192, label %63 i64 178, label %64 i64 132, label %65 i64 175, label %66 ] 2: ; preds = %1 br label %69 3: ; preds = %1 br label %69 4: ; preds = %1 br label %69 5: ; preds = %1 br label %69 6: ; preds = %1 br label %69 7: ; preds = %1 br label %69 8: ; preds = %1 br label %69 9: ; preds = %1 br label %69 10: ; preds = %1 br label %69 11: ; preds = %1 br label %69 12: ; preds = %1 br label %69 13: ; preds = %1 br label %69 14: ; preds = %1 br label %69 15: ; preds = %1 br label %69 16: ; preds = %1 br label %69 17: ; preds = %1 br label %69 18: ; preds = %1 br label %69 19: ; preds = %1 br label %69 20: ; preds = %1 br label %69 21: ; preds = %1 br label %69 22: ; preds = %1 br label %69 23: ; preds = %1 br label %69 24: ; preds = %1 br label %69 25: ; preds = %1 br label %69 26: ; preds = %1 br label %69 27: ; preds = %1 br label %69 28: ; preds = %1 br label %69 29: ; preds = %1 br label %69 30: ; preds = %1 br label %69 31: ; preds = %1 br label %69 32: ; preds = %1 br label %69 33: ; preds = %1 br label %69 34: ; preds = %1 br label %69 35: ; preds = %1 br label %69 36: ; preds = %1 br label %69 37: ; preds = %1 br label %69 38: ; preds = %1 br label %69 39: ; preds = %1 br label %69 40: ; preds = %1 br label %69 41: ; preds = %1 br label %69 42: ; preds = %1 br label %69 43: ; preds = %1 br label %69 44: ; preds = %1 br label %69 45: ; preds = %1 br label %69 46: ; preds = %1 br label %69 47: ; preds = %1 br label %69 48: ; preds = %1 br label %69 49: ; preds = %1 br label %69 50: ; preds = %1 br label %69 51: ; preds = %1 br label %69 52: ; preds = %1 br label %69 53: ; preds = %1 br label %69 54: ; preds = %1 br label %69 55: ; preds = %1 br label %69 56: ; preds = %1 br label %69 57: ; preds = %1 br label %69 58: ; preds = %1 br label %69 59: ; preds = %1 br label %69 60: ; preds = %1 br label %69 61: ; preds = %1 br label %69 62: ; preds = %1 br label %69 63: ; preds = %1 br label %69 64: ; preds = %1 br label %69 65: ; preds = %1 br label %69 66: ; preds = %1 br label %69 67: ; preds = %1 %68 = tail call i32 @snprintf(ptr noundef nonnull @d_tags.unknown_buf, i32 noundef 64, ptr noundef nonnull @.str.66, i64 noundef %0) #2 br label %69 69: ; preds = %1, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2 %70 = phi ptr [ @d_tags.unknown_buf, %67 ], [ @.str.65, %66 ], [ @.str.64, %65 ], [ @.str.63, %64 ], [ @.str.62, %63 ], [ @.str.61, %62 ], [ @.str.60, %61 ], [ @.str.59, %60 ], [ @.str.58, %59 ], [ @.str.57, %58 ], [ @.str.56, %57 ], [ @.str.55, %56 ], [ @.str.54, %55 ], [ @.str.53, %54 ], [ @.str.52, %53 ], [ @.str.51, %52 ], [ @.str.50, %51 ], [ @.str.49, %50 ], [ @.str.48, %49 ], [ @.str.47, %48 ], [ @.str.46, %47 ], [ @.str.45, %46 ], [ @.str.44, %45 ], [ @.str.43, %44 ], [ @.str.42, %43 ], [ @.str.41, %42 ], [ @.str.40, %41 ], [ @.str.39, %40 ], [ @.str.38, %39 ], [ @.str.37, %38 ], [ @.str.36, %37 ], [ @.str.35, %36 ], [ @.str.34, %35 ], [ @.str.33, %34 ], [ @.str.32, %33 ], [ @.str.31, %32 ], [ @.str.30, %31 ], [ @.str.29, %30 ], [ @.str.28, %29 ], [ @.str.27, %28 ], [ @.str.26, %27 ], [ @.str.25, %26 ], [ @.str.24, %25 ], [ @.str.23, %24 ], [ @.str.22, %23 ], [ @.str.21, %22 ], [ @.str.20, %21 ], [ @.str.19, %20 ], [ @.str.18, %19 ], [ @.str.17, %18 ], [ @.str.16, %17 ], [ @.str.15, %16 ], [ @.str.14, %15 ], [ @.str.13, %14 ], [ @.str.12, %13 ], [ @.str.11, %12 ], [ @.str.10, %11 ], [ @.str.9, %10 ], [ @.str.8, %9 ], [ @.str.7, %8 ], [ @.str.6, %7 ], [ @.str.5, %6 ], [ @.str.4, %5 ], [ @.str.3, %4 ], [ @.str.2, %3 ], [ @.str.1, %2 ], [ @.str, %1 ] ret ptr %70 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/elfdump/extr_elfdump.c_d_tags.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/elfdump/extr_elfdump.c_d_tags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @d_tags.unknown_buf = internal global [64 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [8 x i8] c"DT_NULL\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"DT_NEEDED\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"DT_PLTRELSZ\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"DT_PLTGOT\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"DT_HASH\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"DT_STRTAB\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"DT_SYMTAB\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"DT_RELA\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"DT_RELASZ\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"DT_RELAENT\00", align 1 @.str.10 = private unnamed_addr constant [9 x i8] c"DT_STRSZ\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"DT_SYMENT\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"DT_INIT\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"DT_FINI\00", align 1 @.str.14 = private unnamed_addr constant [10 x i8] c"DT_SONAME\00", align 1 @.str.15 = private unnamed_addr constant [9 x i8] c"DT_RPATH\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c"DT_SYMBOLIC\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"DT_REL\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"DT_RELSZ\00", align 1 @.str.19 = private unnamed_addr constant [10 x i8] c"DT_RELENT\00", align 1 @.str.20 = private unnamed_addr constant [10 x i8] c"DT_PLTREL\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"DT_DEBUG\00", align 1 @.str.22 = private unnamed_addr constant [11 x i8] c"DT_TEXTREL\00", align 1 @.str.23 = private unnamed_addr constant [10 x i8] c"DT_JMPREL\00", align 1 @.str.24 = private unnamed_addr constant [12 x i8] c"DT_BIND_NOW\00", align 1 @.str.25 = private unnamed_addr constant [14 x i8] c"DT_INIT_ARRAY\00", align 1 @.str.26 = private unnamed_addr constant [14 x i8] c"DT_FINI_ARRAY\00", align 1 @.str.27 = private unnamed_addr constant [16 x i8] c"DT_INIT_ARRAYSZ\00", align 1 @.str.28 = private unnamed_addr constant [16 x i8] c"DT_FINI_ARRAYSZ\00", align 1 @.str.29 = private unnamed_addr constant [11 x i8] c"DT_RUNPATH\00", align 1 @.str.30 = private unnamed_addr constant [9 x i8] c"DT_FLAGS\00", align 1 @.str.31 = private unnamed_addr constant [17 x i8] c"DT_PREINIT_ARRAY\00", align 1 @.str.32 = private unnamed_addr constant [19 x i8] c"DT_PREINIT_ARRAYSZ\00", align 1 @.str.33 = private unnamed_addr constant [17 x i8] c"DT_GNU_PRELINKED\00", align 1 @.str.34 = private unnamed_addr constant [18 x i8] c"DT_GNU_CONFLICTSZ\00", align 1 @.str.35 = private unnamed_addr constant [17 x i8] c"DT_GNU_LIBLISTSZ\00", align 1 @.str.36 = private unnamed_addr constant [17 x i8] c"DT_SUNW_CHECKSUM\00", align 1 @.str.37 = private unnamed_addr constant [12 x i8] c"DT_PLTPADSZ\00", align 1 @.str.38 = private unnamed_addr constant [11 x i8] c"DT_MOVEENT\00", align 1 @.str.39 = private unnamed_addr constant [10 x i8] c"DT_MOVESZ\00", align 1 @.str.40 = private unnamed_addr constant [11 x i8] c"DT_FEATURE\00", align 1 @.str.41 = private unnamed_addr constant [13 x i8] c"DT_POSFLAG_1\00", align 1 @.str.42 = private unnamed_addr constant [11 x i8] c"DT_SYMINSZ\00", align 1 @.str.43 = private unnamed_addr constant [26 x i8] c"DT_SYMINENT (DT_VALRNGHI)\00", align 1 @.str.44 = private unnamed_addr constant [13 x i8] c"DT_ADDRRNGLO\00", align 1 @.str.45 = private unnamed_addr constant [12 x i8] c"DT_GNU_HASH\00", align 1 @.str.46 = private unnamed_addr constant [16 x i8] c"DT_GNU_CONFLICT\00", align 1 @.str.47 = private unnamed_addr constant [15 x i8] c"DT_GNU_LIBLIST\00", align 1 @.str.48 = private unnamed_addr constant [10 x i8] c"DT_CONFIG\00", align 1 @.str.49 = private unnamed_addr constant [12 x i8] c"DT_DEPAUDIT\00", align 1 @.str.50 = private unnamed_addr constant [9 x i8] c"DT_AUDIT\00", align 1 @.str.51 = private unnamed_addr constant [10 x i8] c"DT_PLTPAD\00", align 1 @.str.52 = private unnamed_addr constant [11 x i8] c"DT_MOVETAB\00", align 1 @.str.53 = private unnamed_addr constant [26 x i8] c"DT_SYMINFO (DT_ADDRRNGHI)\00", align 1 @.str.54 = private unnamed_addr constant [13 x i8] c"DT_RELACOUNT\00", align 1 @.str.55 = private unnamed_addr constant [12 x i8] c"DT_RELCOUNT\00", align 1 @.str.56 = private unnamed_addr constant [11 x i8] c"DT_FLAGS_1\00", align 1 @.str.57 = private unnamed_addr constant [10 x i8] c"DT_VERDEF\00", align 1 @.str.58 = private unnamed_addr constant [13 x i8] c"DT_VERDEFNUM\00", align 1 @.str.59 = private unnamed_addr constant [11 x i8] c"DT_VERNEED\00", align 1 @.str.60 = private unnamed_addr constant [14 x i8] c"DT_VERNEEDNUM\00", align 1 @.str.61 = private unnamed_addr constant [14 x i8] c"DT_GNU_VERSYM\00", align 1 @.str.62 = private unnamed_addr constant [21 x i8] c"DT_IA_64_PLT_RESERVE\00", align 1 @.str.63 = private unnamed_addr constant [13 x i8] c"DT_AUXILIARY\00", align 1 @.str.64 = private unnamed_addr constant [8 x i8] c"DT_USED\00", align 1 @.str.65 = private unnamed_addr constant [10 x i8] c"DT_FILTER\00", align 1 @.str.66 = private unnamed_addr constant [17 x i8] c"<unknown: %#llx>\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @d_tags], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef nonnull ptr @d_tags(i64 noundef %0) #0 { switch i64 %0, label %67 [ i64 160, label %69 i64 161, label %2 i64 156, label %3 i64 159, label %4 i64 168, label %5 i64 140, label %6 i64 134, label %7 i64 151, label %8 i64 148, label %9 i64 149, label %10 i64 141, label %11 i64 138, label %12 i64 167, label %13 i64 174, label %14 i64 142, label %15 i64 144, label %16 i64 139, label %17 i64 152, label %18 i64 145, label %19 i64 146, label %20 i64 157, label %21 i64 176, label %22 i64 133, label %23 i64 164, label %24 i64 177, label %25 i64 166, label %26 i64 173, label %27 i64 165, label %28 i64 172, label %29 i64 143, label %30 i64 171, label %31 i64 154, label %32 i64 153, label %33 i64 1879047669, label %34 i64 1879047670, label %35 i64 1879047671, label %36 i64 1879047672, label %37 i64 158, label %38 i64 163, label %39 i64 162, label %40 i64 1879047676, label %41 i64 155, label %42 i64 135, label %43 i64 137, label %44 i64 179, label %45 i64 169, label %46 i64 1879047928, label %47 i64 1879047929, label %48 i64 1879047930, label %49 i64 1879047931, label %50 i64 1879047932, label %51 i64 1879047933, label %52 i64 1879047934, label %53 i64 136, label %54 i64 150, label %55 i64 147, label %56 i64 170, label %57 i64 131, label %58 i64 130, label %59 i64 129, label %60 i64 128, label %61 i64 1879048176, label %62 i64 1879048192, label %63 i64 178, label %64 i64 132, label %65 i64 175, label %66 ] 2: ; preds = %1 br label %69 3: ; preds = %1 br label %69 4: ; preds = %1 br label %69 5: ; preds = %1 br label %69 6: ; preds = %1 br label %69 7: ; preds = %1 br label %69 8: ; preds = %1 br label %69 9: ; preds = %1 br label %69 10: ; preds = %1 br label %69 11: ; preds = %1 br label %69 12: ; preds = %1 br label %69 13: ; preds = %1 br label %69 14: ; preds = %1 br label %69 15: ; preds = %1 br label %69 16: ; preds = %1 br label %69 17: ; preds = %1 br label %69 18: ; preds = %1 br label %69 19: ; preds = %1 br label %69 20: ; preds = %1 br label %69 21: ; preds = %1 br label %69 22: ; preds = %1 br label %69 23: ; preds = %1 br label %69 24: ; preds = %1 br label %69 25: ; preds = %1 br label %69 26: ; preds = %1 br label %69 27: ; preds = %1 br label %69 28: ; preds = %1 br label %69 29: ; preds = %1 br label %69 30: ; preds = %1 br label %69 31: ; preds = %1 br label %69 32: ; preds = %1 br label %69 33: ; preds = %1 br label %69 34: ; preds = %1 br label %69 35: ; preds = %1 br label %69 36: ; preds = %1 br label %69 37: ; preds = %1 br label %69 38: ; preds = %1 br label %69 39: ; preds = %1 br label %69 40: ; preds = %1 br label %69 41: ; preds = %1 br label %69 42: ; preds = %1 br label %69 43: ; preds = %1 br label %69 44: ; preds = %1 br label %69 45: ; preds = %1 br label %69 46: ; preds = %1 br label %69 47: ; preds = %1 br label %69 48: ; preds = %1 br label %69 49: ; preds = %1 br label %69 50: ; preds = %1 br label %69 51: ; preds = %1 br label %69 52: ; preds = %1 br label %69 53: ; preds = %1 br label %69 54: ; preds = %1 br label %69 55: ; preds = %1 br label %69 56: ; preds = %1 br label %69 57: ; preds = %1 br label %69 58: ; preds = %1 br label %69 59: ; preds = %1 br label %69 60: ; preds = %1 br label %69 61: ; preds = %1 br label %69 62: ; preds = %1 br label %69 63: ; preds = %1 br label %69 64: ; preds = %1 br label %69 65: ; preds = %1 br label %69 66: ; preds = %1 br label %69 67: ; preds = %1 %68 = tail call i32 @snprintf(ptr noundef nonnull @d_tags.unknown_buf, i32 noundef 64, ptr noundef nonnull @.str.66, i64 noundef %0) #2 br label %69 69: ; preds = %1, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2 %70 = phi ptr [ @d_tags.unknown_buf, %67 ], [ @.str.65, %66 ], [ @.str.64, %65 ], [ @.str.63, %64 ], [ @.str.62, %63 ], [ @.str.61, %62 ], [ @.str.60, %61 ], [ @.str.59, %60 ], [ @.str.58, %59 ], [ @.str.57, %58 ], [ @.str.56, %57 ], [ @.str.55, %56 ], [ @.str.54, %55 ], [ @.str.53, %54 ], [ @.str.52, %53 ], [ @.str.51, %52 ], [ @.str.50, %51 ], [ @.str.49, %50 ], [ @.str.48, %49 ], [ @.str.47, %48 ], [ @.str.46, %47 ], [ @.str.45, %46 ], [ @.str.44, %45 ], [ @.str.43, %44 ], [ @.str.42, %43 ], [ @.str.41, %42 ], [ @.str.40, %41 ], [ @.str.39, %40 ], [ @.str.38, %39 ], [ @.str.37, %38 ], [ @.str.36, %37 ], [ @.str.35, %36 ], [ @.str.34, %35 ], [ @.str.33, %34 ], [ @.str.32, %33 ], [ @.str.31, %32 ], [ @.str.30, %31 ], [ @.str.29, %30 ], [ @.str.28, %29 ], [ @.str.27, %28 ], [ @.str.26, %27 ], [ @.str.25, %26 ], [ @.str.24, %25 ], [ @.str.23, %24 ], [ @.str.22, %23 ], [ @.str.21, %22 ], [ @.str.20, %21 ], [ @.str.19, %20 ], [ @.str.18, %19 ], [ @.str.17, %18 ], [ @.str.16, %17 ], [ @.str.15, %16 ], [ @.str.14, %15 ], [ @.str.13, %14 ], [ @.str.12, %13 ], [ @.str.11, %12 ], [ @.str.10, %11 ], [ @.str.9, %10 ], [ @.str.8, %9 ], [ @.str.7, %8 ], [ @.str.6, %7 ], [ @.str.5, %6 ], [ @.str.4, %5 ], [ @.str.3, %4 ], [ @.str.2, %3 ], [ @.str.1, %2 ], [ @.str, %1 ] ret ptr %70 } declare i32 @snprintf(ptr noundef, i32 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)"}
freebsd_contrib_elftoolchain_elfdump_extr_elfdump.c_d_tags
; ModuleID = 'AnghaBench/timescaledb/src/extr_hypertable.c_hypertable_tuple_match_name.c' source_filename = "AnghaBench/timescaledb/src/extr_hypertable.c_hypertable_tuple_match_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_8__ = type { i32, ptr, ptr } @SCAN_CONTINUE = dso_local local_unnamed_addr global i32 0, align 4 @nameeq = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hypertable_tuple_match_name], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hypertable_tuple_match_name(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = alloca %struct.TYPE_7__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = call i32 @hypertable_formdata_fill(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %6) #3 %8 = getelementptr inbounds %struct.TYPE_7__, ptr %3, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = call i32 @NameStr(i32 noundef %9) #3 %11 = call i32 @get_namespace_oid(i32 noundef %10, i32 noundef 1) #3 %12 = call i32 @OidIsValid(i32 noundef %11) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %45, label %14 14: ; preds = %2 %15 = load i32, ptr %3, align 4, !tbaa !13 %16 = call i32 @NameStr(i32 noundef %15) #3 %17 = call i32 @get_relname_relid(i32 noundef %16, i32 noundef %11) #3 %18 = call i32 @OidIsValid(i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %45, label %20 20: ; preds = %14 %21 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2 %22 = load ptr, ptr %21, align 8, !tbaa !14 %23 = icmp eq ptr %22, null br i1 %23, label %31, label %24 24: ; preds = %20 %25 = load i32, ptr @nameeq, align 4, !tbaa !17 %26 = call i32 @NameGetDatum(ptr noundef nonnull %22) #3 %27 = call i32 @NameGetDatum(ptr noundef nonnull %8) #3 %28 = call i32 @DirectFunctionCall2(i32 noundef %25, i32 noundef %26, i32 noundef %27) #3 %29 = call i64 @DatumGetBool(i32 noundef %28) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %45, label %31 31: ; preds = %24, %20 %32 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 %33 = load ptr, ptr %32, align 8, !tbaa !18 %34 = icmp eq ptr %33, null br i1 %34, label %42, label %35 35: ; preds = %31 %36 = load i32, ptr @nameeq, align 4, !tbaa !17 %37 = call i32 @NameGetDatum(ptr noundef nonnull %33) #3 %38 = call i32 @NameGetDatum(ptr noundef nonnull %3) #3 %39 = call i32 @DirectFunctionCall2(i32 noundef %36, i32 noundef %37, i32 noundef %38) #3 %40 = call i64 @DatumGetBool(i32 noundef %39) #3 %41 = icmp eq i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %35, %31 %43 = load i32, ptr %1, align 8, !tbaa !19 %44 = call i32 @lappend_oid(i32 noundef %43, i32 noundef %17) #3 store i32 %44, ptr %1, align 8, !tbaa !19 br label %45 45: ; preds = %24, %35, %42, %14, %2 %46 = load i32, ptr @SCAN_CONTINUE, align 4, !tbaa !17 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hypertable_formdata_fill(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_namespace_oid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NameStr(i32 noundef) local_unnamed_addr #2 declare i32 @OidIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @get_relname_relid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @DatumGetBool(i32 noundef) local_unnamed_addr #2 declare i32 @DirectFunctionCall2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NameGetDatum(ptr noundef) local_unnamed_addr #2 declare i32 @lappend_oid(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_6__", !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 = !{!12, !7, i64 4} !12 = !{!"TYPE_7__", !7, i64 0, !7, i64 4} !13 = !{!12, !7, i64 0} !14 = !{!15, !16, i64 16} !15 = !{!"TYPE_8__", !7, i64 0, !16, i64 8, !16, i64 16} !16 = !{!"any pointer", !8, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!15, !16, i64 8} !19 = !{!15, !7, i64 0}
; ModuleID = 'AnghaBench/timescaledb/src/extr_hypertable.c_hypertable_tuple_match_name.c' source_filename = "AnghaBench/timescaledb/src/extr_hypertable.c_hypertable_tuple_match_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { i32, i32 } @SCAN_CONTINUE = common local_unnamed_addr global i32 0, align 4 @nameeq = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hypertable_tuple_match_name], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hypertable_tuple_match_name(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = alloca %struct.TYPE_7__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = load i32, ptr %0, align 4, !tbaa !11 %7 = call i32 @hypertable_formdata_fill(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %6) #3 %8 = getelementptr inbounds i8, ptr %3, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = call i32 @NameStr(i32 noundef %9) #3 %11 = call i32 @get_namespace_oid(i32 noundef %10, i32 noundef 1) #3 %12 = call i32 @OidIsValid(i32 noundef %11) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %45, label %14 14: ; preds = %2 %15 = load i32, ptr %3, align 4, !tbaa !14 %16 = call i32 @NameStr(i32 noundef %15) #3 %17 = call i32 @get_relname_relid(i32 noundef %16, i32 noundef %11) #3 %18 = call i32 @OidIsValid(i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %45, label %20 20: ; preds = %14 %21 = getelementptr inbounds i8, ptr %1, i64 16 %22 = load ptr, ptr %21, align 8, !tbaa !15 %23 = icmp eq ptr %22, null br i1 %23, label %31, label %24 24: ; preds = %20 %25 = load i32, ptr @nameeq, align 4, !tbaa !18 %26 = call i32 @NameGetDatum(ptr noundef nonnull %22) #3 %27 = call i32 @NameGetDatum(ptr noundef nonnull %8) #3 %28 = call i32 @DirectFunctionCall2(i32 noundef %25, i32 noundef %26, i32 noundef %27) #3 %29 = call i64 @DatumGetBool(i32 noundef %28) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %45, label %31 31: ; preds = %24, %20 %32 = getelementptr inbounds i8, ptr %1, i64 8 %33 = load ptr, ptr %32, align 8, !tbaa !19 %34 = icmp eq ptr %33, null br i1 %34, label %42, label %35 35: ; preds = %31 %36 = load i32, ptr @nameeq, align 4, !tbaa !18 %37 = call i32 @NameGetDatum(ptr noundef nonnull %33) #3 %38 = call i32 @NameGetDatum(ptr noundef nonnull %3) #3 %39 = call i32 @DirectFunctionCall2(i32 noundef %36, i32 noundef %37, i32 noundef %38) #3 %40 = call i64 @DatumGetBool(i32 noundef %39) #3 %41 = icmp eq i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %35, %31 %43 = load i32, ptr %1, align 8, !tbaa !20 %44 = call i32 @lappend_oid(i32 noundef %43, i32 noundef %17) #3 store i32 %44, ptr %1, align 8, !tbaa !20 br label %45 45: ; preds = %24, %35, %42, %14, %2 %46 = load i32, ptr @SCAN_CONTINUE, align 4, !tbaa !18 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hypertable_formdata_fill(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_namespace_oid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NameStr(i32 noundef) local_unnamed_addr #2 declare i32 @OidIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @get_relname_relid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @DatumGetBool(i32 noundef) local_unnamed_addr #2 declare i32 @DirectFunctionCall2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NameGetDatum(ptr noundef) local_unnamed_addr #2 declare i32 @lappend_oid(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_6__", !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 = !{!13, !8, i64 4} !13 = !{!"TYPE_7__", !8, i64 0, !8, i64 4} !14 = !{!13, !8, i64 0} !15 = !{!16, !17, i64 16} !16 = !{!"TYPE_8__", !8, i64 0, !17, i64 8, !17, i64 16} !17 = !{!"any pointer", !9, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!16, !17, i64 8} !20 = !{!16, !8, i64 0}
timescaledb_src_extr_hypertable.c_hypertable_tuple_match_name
; ModuleID = 'AnghaBench/RetroArch/input/connect/extr_connect_ps4.c_hidpad_ps4_deinit.c' source_filename = "AnghaBench/RetroArch/input/connect/extr_connect_ps4.c_hidpad_ps4_deinit.c" target datalayout = "e-m:e-p270:32:32-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 @hidpad_ps4_deinit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hidpad_ps4_deinit(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = tail call i32 @free(ptr noundef nonnull %0) #2 br label %5 5: ; preds = %3, %1 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/RetroArch/input/connect/extr_connect_ps4.c_hidpad_ps4_deinit.c' source_filename = "AnghaBench/RetroArch/input/connect/extr_connect_ps4.c_hidpad_ps4_deinit.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 @hidpad_ps4_deinit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hidpad_ps4_deinit(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = tail call i32 @free(ptr noundef nonnull %0) #2 br label %5 5: ; preds = %3, %1 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
RetroArch_input_connect_extr_connect_ps4.c_hidpad_ps4_deinit
; ModuleID = 'AnghaBench/libui/unix/extr_progressbar.c_uiProgressBarValue.c' source_filename = "AnghaBench/libui/unix/extr_progressbar.c_uiProgressBarValue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i64 } ; Function Attrs: nounwind uwtable define dso_local i32 @uiProgressBarValue(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load i32, ptr %0, align 8, !tbaa !11 %7 = tail call i32 @gtk_progress_bar_get_fraction(i32 noundef %6) #2 %8 = mul nsw i32 %7, 100 br label %9 9: ; preds = %1, %5 %10 = phi i32 [ %8, %5 ], [ -1, %1 ] ret i32 %10 } declare i32 @gtk_progress_bar_get_fraction(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_3__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/libui/unix/extr_progressbar.c_uiProgressBarValue.c' source_filename = "AnghaBench/libui/unix/extr_progressbar.c_uiProgressBarValue.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 @uiProgressBarValue(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = tail call i32 @gtk_progress_bar_get_fraction(i32 noundef %6) #2 %8 = mul nsw i32 %7, 100 br label %9 9: ; preds = %1, %5 %10 = phi i32 [ %8, %5 ], [ -1, %1 ] ret i32 %10 } declare i32 @gtk_progress_bar_get_fraction(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_3__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0}
libui_unix_extr_progressbar.c_uiProgressBarValue
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_readelf.c_main.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_readelf.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PACKAGE = dso_local local_unnamed_addr global i32 0, align 4 @LOCALEDIR = dso_local local_unnamed_addr global i32 0, align 4 @num_dump_sects = dso_local local_unnamed_addr global i64 0, align 8 @cmdline_dump_sects = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [46 x i8] c"Out of memory allocating dump request table.\0A\00", align 1 @dump_sects = dso_local local_unnamed_addr global ptr null, align 8 @num_cmdline_dump_sects = dso_local local_unnamed_addr global i64 0, align 8 @optind = dso_local local_unnamed_addr global i32 0, align 4 @show_name = dso_local local_unnamed_addr global i32 0, align 4 @LC_CTYPE = dso_local local_unnamed_addr global i32 0, align 4 @LC_MESSAGES = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4, !tbaa !5 store ptr %1, ptr %4, align 8, !tbaa !9 %5 = load i32, ptr @PACKAGE, align 4, !tbaa !5 %6 = load i32, ptr @LOCALEDIR, align 4, !tbaa !5 %7 = tail call i32 @bindtextdomain(i32 noundef %5, i32 noundef %6) #3 %8 = load i32, ptr @PACKAGE, align 4, !tbaa !5 %9 = tail call i32 @textdomain(i32 noundef %8) #3 %10 = call i32 @expandargv(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %11 = load i32, ptr %3, align 4, !tbaa !5 %12 = load ptr, ptr %4, align 8, !tbaa !9 %13 = call i32 @parse_args(i32 noundef %11, ptr noundef %12) #3 %14 = load i64, ptr @num_dump_sects, align 8, !tbaa !11 %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %26 16: ; preds = %2 %17 = call ptr @malloc(i64 noundef %14) store ptr %17, ptr @cmdline_dump_sects, align 8, !tbaa !9 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %16 %20 = call i32 @_(ptr noundef nonnull @.str) #3 %21 = call i32 @error(i32 noundef %20) #3 br label %26 22: ; preds = %16 %23 = load ptr, ptr @dump_sects, align 8, !tbaa !9 %24 = call i32 @memcpy(ptr noundef nonnull %17, ptr noundef %23, i64 noundef %14) #3 %25 = load i64, ptr @num_dump_sects, align 8, !tbaa !11 store i64 %25, ptr @num_cmdline_dump_sects, align 8, !tbaa !11 br label %26 26: ; preds = %19, %22, %2 %27 = load i32, ptr @optind, align 4, !tbaa !5 %28 = load i32, ptr %3, align 4, !tbaa !5 %29 = add nsw i32 %28, -1 %30 = icmp slt i32 %27, %29 br i1 %30, label %31, label %32 31: ; preds = %26 store i32 1, ptr @show_name, align 4, !tbaa !5 br label %32 32: ; preds = %31, %26 %33 = icmp slt i32 %27, %28 br i1 %33, label %34, label %47 34: ; preds = %32, %34 %35 = phi i32 [ %44, %34 ], [ %27, %32 ] %36 = phi i32 [ %43, %34 ], [ 0, %32 ] %37 = load ptr, ptr %4, align 8, !tbaa !9 %38 = add nsw i32 %35, 1 store i32 %38, ptr @optind, align 4, !tbaa !5 %39 = sext i32 %35 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8, !tbaa !9 %42 = call i32 @process_file(ptr noundef %41) #3 %43 = or i32 %42, %36 %44 = load i32, ptr @optind, align 4, !tbaa !5 %45 = load i32, ptr %3, align 4, !tbaa !5 %46 = icmp slt i32 %44, %45 br i1 %46, label %34, label %47, !llvm.loop !13 47: ; preds = %34, %32 %48 = phi i32 [ 0, %32 ], [ %43, %34 ] %49 = load ptr, ptr @dump_sects, align 8, !tbaa !9 %50 = icmp eq ptr %49, null br i1 %50, label %53, label %51 51: ; preds = %47 %52 = call i32 @free(ptr noundef nonnull %49) #3 br label %53 53: ; preds = %51, %47 %54 = load ptr, ptr @cmdline_dump_sects, align 8, !tbaa !9 %55 = icmp eq ptr %54, null br i1 %55, label %58, label %56 56: ; preds = %53 %57 = call i32 @free(ptr noundef nonnull %54) #3 br label %58 58: ; preds = %56, %53 ret i32 %48 } declare i32 @bindtextdomain(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @textdomain(i32 noundef) local_unnamed_addr #1 declare i32 @expandargv(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @parse_args(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2 declare i32 @error(i32 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @process_file(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_readelf.c_main.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_readelf.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PACKAGE = common local_unnamed_addr global i32 0, align 4 @LOCALEDIR = common local_unnamed_addr global i32 0, align 4 @num_dump_sects = common local_unnamed_addr global i64 0, align 8 @cmdline_dump_sects = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [46 x i8] c"Out of memory allocating dump request table.\0A\00", align 1 @dump_sects = common local_unnamed_addr global ptr null, align 8 @num_cmdline_dump_sects = common local_unnamed_addr global i64 0, align 8 @optind = common local_unnamed_addr global i32 0, align 4 @show_name = common local_unnamed_addr global i32 0, align 4 @LC_CTYPE = common local_unnamed_addr global i32 0, align 4 @LC_MESSAGES = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4, !tbaa !6 store ptr %1, ptr %4, align 8, !tbaa !10 %5 = load i32, ptr @PACKAGE, align 4, !tbaa !6 %6 = load i32, ptr @LOCALEDIR, align 4, !tbaa !6 %7 = tail call i32 @bindtextdomain(i32 noundef %5, i32 noundef %6) #3 %8 = load i32, ptr @PACKAGE, align 4, !tbaa !6 %9 = tail call i32 @textdomain(i32 noundef %8) #3 %10 = call i32 @expandargv(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %11 = load i32, ptr %3, align 4, !tbaa !6 %12 = load ptr, ptr %4, align 8, !tbaa !10 %13 = call i32 @parse_args(i32 noundef %11, ptr noundef %12) #3 %14 = load i64, ptr @num_dump_sects, align 8, !tbaa !12 %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %26 16: ; preds = %2 %17 = call ptr @malloc(i64 noundef %14) store ptr %17, ptr @cmdline_dump_sects, align 8, !tbaa !10 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %16 %20 = call i32 @_(ptr noundef nonnull @.str) #3 %21 = call i32 @error(i32 noundef %20) #3 br label %26 22: ; preds = %16 %23 = load ptr, ptr @dump_sects, align 8, !tbaa !10 %24 = call i32 @memcpy(ptr noundef nonnull %17, ptr noundef %23, i64 noundef %14) #3 %25 = load i64, ptr @num_dump_sects, align 8, !tbaa !12 store i64 %25, ptr @num_cmdline_dump_sects, align 8, !tbaa !12 br label %26 26: ; preds = %19, %22, %2 %27 = load i32, ptr @optind, align 4, !tbaa !6 %28 = load i32, ptr %3, align 4, !tbaa !6 %29 = add nsw i32 %28, -1 %30 = icmp slt i32 %27, %29 br i1 %30, label %31, label %32 31: ; preds = %26 store i32 1, ptr @show_name, align 4, !tbaa !6 br label %32 32: ; preds = %31, %26 %33 = icmp slt i32 %27, %28 br i1 %33, label %34, label %47 34: ; preds = %32, %34 %35 = phi i32 [ %44, %34 ], [ %27, %32 ] %36 = phi i32 [ %43, %34 ], [ 0, %32 ] %37 = load ptr, ptr %4, align 8, !tbaa !10 %38 = add nsw i32 %35, 1 store i32 %38, ptr @optind, align 4, !tbaa !6 %39 = sext i32 %35 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8, !tbaa !10 %42 = call i32 @process_file(ptr noundef %41) #3 %43 = or i32 %42, %36 %44 = load i32, ptr @optind, align 4, !tbaa !6 %45 = load i32, ptr %3, align 4, !tbaa !6 %46 = icmp slt i32 %44, %45 br i1 %46, label %34, label %47, !llvm.loop !14 47: ; preds = %34, %32 %48 = phi i32 [ 0, %32 ], [ %43, %34 ] %49 = load ptr, ptr @dump_sects, align 8, !tbaa !10 %50 = icmp eq ptr %49, null br i1 %50, label %53, label %51 51: ; preds = %47 %52 = call i32 @free(ptr noundef nonnull %49) #3 br label %53 53: ; preds = %51, %47 %54 = load ptr, ptr @cmdline_dump_sects, align 8, !tbaa !10 %55 = icmp eq ptr %54, null br i1 %55, label %58, label %56 56: ; preds = %53 %57 = call i32 @free(ptr noundef nonnull %54) #3 br label %58 58: ; preds = %56, %53 ret i32 %48 } declare i32 @bindtextdomain(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @textdomain(i32 noundef) local_unnamed_addr #1 declare i32 @expandargv(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @parse_args(i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2 declare i32 @error(i32 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @process_file(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_binutils_binutils_extr_readelf.c_main
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_segment.c_nilfs_segctor_thread_construct.c' source_filename = "AnghaBench/linux/fs/nilfs2/extr_segment.c_nilfs_segctor_thread_construct.c" target datalayout = "e-m:e-p270:32:32-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.nilfs_transaction_info = type { i32 } %struct.nilfs_sc_info = type { i32, i32 } @NILFS_SC_UNCLOSED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nilfs_segctor_thread_construct], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nilfs_segctor_thread_construct(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.nilfs_transaction_info, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = call i32 @nilfs_transaction_lock(i32 noundef %4, ptr noundef nonnull %3, i32 noundef 0) #3 %6 = call i32 @nilfs_segctor_construct(ptr noundef nonnull %0, i32 noundef %1) #3 %7 = load i32, ptr @NILFS_SC_UNCLOSED, align 4, !tbaa !10 %8 = getelementptr inbounds %struct.nilfs_sc_info, ptr %0, i64 0, i32 1 %9 = call i64 @test_bit(i32 noundef %7, ptr noundef nonnull %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %2 %12 = call i32 @nilfs_segctor_start_timer(ptr noundef nonnull %0) #3 br label %13 13: ; preds = %11, %2 %14 = load i32, ptr %0, align 4, !tbaa !5 %15 = call i32 @nilfs_transaction_unlock(i32 noundef %14) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nilfs_transaction_lock(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nilfs_segctor_construct(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nilfs_segctor_start_timer(ptr noundef) local_unnamed_addr #2 declare i32 @nilfs_transaction_unlock(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nilfs_sc_info", !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}
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_segment.c_nilfs_segctor_thread_construct.c' source_filename = "AnghaBench/linux/fs/nilfs2/extr_segment.c_nilfs_segctor_thread_construct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nilfs_transaction_info = type { i32 } @NILFS_SC_UNCLOSED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nilfs_segctor_thread_construct], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nilfs_segctor_thread_construct(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.nilfs_transaction_info, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = call i32 @nilfs_transaction_lock(i32 noundef %4, ptr noundef nonnull %3, i32 noundef 0) #3 %6 = call i32 @nilfs_segctor_construct(ptr noundef nonnull %0, i32 noundef %1) #3 %7 = load i32, ptr @NILFS_SC_UNCLOSED, align 4, !tbaa !11 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = call i64 @test_bit(i32 noundef %7, ptr noundef nonnull %8) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %2 %12 = call i32 @nilfs_segctor_start_timer(ptr noundef nonnull %0) #3 br label %13 13: ; preds = %11, %2 %14 = load i32, ptr %0, align 4, !tbaa !6 %15 = call i32 @nilfs_transaction_unlock(i32 noundef %14) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nilfs_transaction_lock(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nilfs_segctor_construct(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nilfs_segctor_start_timer(ptr noundef) local_unnamed_addr #2 declare i32 @nilfs_transaction_unlock(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nilfs_sc_info", !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}
linux_fs_nilfs2_extr_segment.c_nilfs_segctor_thread_construct
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpas_glue.c_wpa_supplicant_ctrl_req_from_string.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpas_glue.c_wpa_supplicant_ctrl_req_from_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"IDENTITY\00", align 1 @WPA_CTRL_REQ_EAP_IDENTITY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"PASSWORD\00", align 1 @WPA_CTRL_REQ_EAP_PASSWORD = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"NEW_PASSWORD\00", align 1 @WPA_CTRL_REQ_EAP_NEW_PASSWORD = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"PIN\00", align 1 @WPA_CTRL_REQ_EAP_PIN = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"OTP\00", align 1 @WPA_CTRL_REQ_EAP_OTP = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [11 x i8] c"PASSPHRASE\00", align 1 @WPA_CTRL_REQ_EAP_PASSPHRASE = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [4 x i8] c"SIM\00", align 1 @WPA_CTRL_REQ_SIM = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [15 x i8] c"PSK_PASSPHRASE\00", align 1 @WPA_CTRL_REQ_PSK_PASSPHRASE = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [15 x i8] c"EXT_CERT_CHECK\00", align 1 @WPA_CTRL_REQ_EXT_CERT_CHECK = dso_local local_unnamed_addr global i32 0, align 4 @WPA_CTRL_REQ_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @wpa_supplicant_ctrl_req_from_string(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %29, label %4 4: ; preds = %1 %5 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %29, label %7 7: ; preds = %4 %8 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %29, label %10 10: ; preds = %7 %11 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.3) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %29, label %13 13: ; preds = %10 %14 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.4) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %29, label %16 16: ; preds = %13 %17 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.5) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %29, label %19 19: ; preds = %16 %20 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.6) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %29, label %22 22: ; preds = %19 %23 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.7) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %22 %26 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.8) #2 %27 = icmp eq i64 %26, 0 %28 = select i1 %27, ptr @WPA_CTRL_REQ_EXT_CERT_CHECK, ptr @WPA_CTRL_REQ_UNKNOWN br label %29 29: ; preds = %25, %22, %19, %16, %13, %10, %7, %4, %1 %30 = phi ptr [ @WPA_CTRL_REQ_EAP_IDENTITY, %1 ], [ @WPA_CTRL_REQ_EAP_PASSWORD, %4 ], [ @WPA_CTRL_REQ_EAP_NEW_PASSWORD, %7 ], [ @WPA_CTRL_REQ_EAP_PIN, %10 ], [ @WPA_CTRL_REQ_EAP_OTP, %13 ], [ @WPA_CTRL_REQ_EAP_PASSPHRASE, %16 ], [ @WPA_CTRL_REQ_SIM, %19 ], [ @WPA_CTRL_REQ_PSK_PASSPHRASE, %22 ], [ %28, %25 ] %31 = load i32, ptr %30, align 4, !tbaa !5 ret i32 %31 } declare i64 @os_strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpas_glue.c_wpa_supplicant_ctrl_req_from_string.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpas_glue.c_wpa_supplicant_ctrl_req_from_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"IDENTITY\00", align 1 @WPA_CTRL_REQ_EAP_IDENTITY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"PASSWORD\00", align 1 @WPA_CTRL_REQ_EAP_PASSWORD = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"NEW_PASSWORD\00", align 1 @WPA_CTRL_REQ_EAP_NEW_PASSWORD = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"PIN\00", align 1 @WPA_CTRL_REQ_EAP_PIN = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"OTP\00", align 1 @WPA_CTRL_REQ_EAP_OTP = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [11 x i8] c"PASSPHRASE\00", align 1 @WPA_CTRL_REQ_EAP_PASSPHRASE = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [4 x i8] c"SIM\00", align 1 @WPA_CTRL_REQ_SIM = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [15 x i8] c"PSK_PASSPHRASE\00", align 1 @WPA_CTRL_REQ_PSK_PASSPHRASE = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [15 x i8] c"EXT_CERT_CHECK\00", align 1 @WPA_CTRL_REQ_EXT_CERT_CHECK = common local_unnamed_addr global i32 0, align 4 @WPA_CTRL_REQ_UNKNOWN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @wpa_supplicant_ctrl_req_from_string(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %29, label %4 4: ; preds = %1 %5 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %29, label %7 7: ; preds = %4 %8 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %29, label %10 10: ; preds = %7 %11 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.3) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %29, label %13 13: ; preds = %10 %14 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.4) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %29, label %16 16: ; preds = %13 %17 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.5) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %29, label %19 19: ; preds = %16 %20 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.6) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %29, label %22 22: ; preds = %19 %23 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.7) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %22 %26 = tail call i64 @os_strcmp(ptr noundef %0, ptr noundef nonnull @.str.8) #2 %27 = icmp eq i64 %26, 0 %28 = select i1 %27, ptr @WPA_CTRL_REQ_EXT_CERT_CHECK, ptr @WPA_CTRL_REQ_UNKNOWN br label %29 29: ; preds = %25, %22, %19, %16, %13, %10, %7, %4, %1 %30 = phi ptr [ @WPA_CTRL_REQ_EAP_IDENTITY, %1 ], [ @WPA_CTRL_REQ_EAP_PASSWORD, %4 ], [ @WPA_CTRL_REQ_EAP_NEW_PASSWORD, %7 ], [ @WPA_CTRL_REQ_EAP_PIN, %10 ], [ @WPA_CTRL_REQ_EAP_OTP, %13 ], [ @WPA_CTRL_REQ_EAP_PASSPHRASE, %16 ], [ @WPA_CTRL_REQ_SIM, %19 ], [ @WPA_CTRL_REQ_PSK_PASSPHRASE, %22 ], [ %28, %25 ] %31 = load i32, ptr %30, align 4, !tbaa !6 ret i32 %31 } declare i64 @os_strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_wpa_wpa_supplicant_extr_wpas_glue.c_wpa_supplicant_ctrl_req_from_string
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_sh-sci.c_sci_type.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_sh-sci.c_sci_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" @.str = private unnamed_addr constant [5 x i8] c"irda\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"sci\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"scif\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"scifa\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sci_type], section "llvm.metadata" @reltable.sci_type = private unnamed_addr constant [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.sci_type to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.sci_type to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.sci_type to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.sci_type to i64)) to i32)], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal noundef ptr @sci_type(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = add i32 %2, -128 %4 = icmp ult i32 %3, 4 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = zext nneg i32 %3 to i64 %7 = shl i64 %6, 2 %8 = call ptr @llvm.load.relative.i64(ptr @reltable.sci_type, i64 %7) br label %9 9: ; preds = %1, %5 %10 = phi ptr [ %8, %5 ], [ null, %1 ] ret ptr %10 } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read) declare ptr @llvm.load.relative.i64(ptr, i64) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(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" } attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"uart_port", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_sh-sci.c_sci_type.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_sh-sci.c_sci_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [5 x i8] c"irda\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"sci\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"scif\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"scifa\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sci_type], section "llvm.metadata" @switch.table.sci_type = private unnamed_addr constant [4 x ptr] [ptr @.str.3, ptr @.str.2, ptr @.str.1, ptr @.str], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal noundef ptr @sci_type(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = add i32 %2, -128 %4 = icmp ult i32 %3, 4 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = zext nneg i32 %3 to i64 %7 = getelementptr inbounds [4 x ptr], ptr @switch.table.sci_type, i64 0, i64 %6 %8 = load ptr, ptr %7, align 8 br label %9 9: ; preds = %1, %5 %10 = phi ptr [ %8, %5 ], [ null, %1 ] ret ptr %10 } 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 = !{!"uart_port", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_serial_extr_sh-sci.c_sci_type
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_REG_MDP5_INTF_ACTIVE_VEND_F1.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_REG_MDP5_INTF_ACTIVE_VEND_F1.c" target datalayout = "e-m:e-p270:32:32-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 @REG_MDP5_INTF_ACTIVE_VEND_F1], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @REG_MDP5_INTF_ACTIVE_VEND_F1(i64 noundef %0) #0 { %2 = tail call i64 @__offset_INTF(i64 noundef %0) #2 %3 = add nsw i64 %2, 56 ret i64 %3 } declare i64 @__offset_INTF(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)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_REG_MDP5_INTF_ACTIVE_VEND_F1.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_REG_MDP5_INTF_ACTIVE_VEND_F1.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 @REG_MDP5_INTF_ACTIVE_VEND_F1], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i64 -9223372036854775752, -9223372036854775808) i64 @REG_MDP5_INTF_ACTIVE_VEND_F1(i64 noundef %0) #0 { %2 = tail call i64 @__offset_INTF(i64 noundef %0) #2 %3 = add nsw i64 %2, 56 ret i64 %3 } declare i64 @__offset_INTF(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)"}
linux_drivers_gpu_drm_msm_disp_mdp5_extr_mdp5.xml.h_REG_MDP5_INTF_ACTIVE_VEND_F1
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_dbusdbus_new.h_wpas_dbus_register_peer.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_dbusdbus_new.h_wpas_dbus_register_peer.c" target datalayout = "e-m:e-p270:32:32-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 @wpas_dbus_register_peer], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @wpas_dbus_register_peer(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_dbusdbus_new.h_wpas_dbus_register_peer.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_dbusdbus_new.h_wpas_dbus_register_peer.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 @wpas_dbus_register_peer], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @wpas_dbus_register_peer(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_wpa_wpa_supplicant_extr_dbusdbus_new.h_wpas_dbus_register_peer
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_prot.c_sys_setlogin.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_prot.c_sys_setlogin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXLOGNAME = dso_local local_unnamed_addr global i32 0, align 4 @PRIV_PROC_SETLOGIN = dso_local local_unnamed_addr global i32 0, align 4 @ENAMETOOLONG = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sys_setlogin(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @MAXLOGNAME, align 4, !tbaa !10 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 16 %7 = icmp ult i32 %4, 5 %8 = zext i1 %7 to i32 %9 = tail call i32 @CTASSERT(i32 noundef %8) #2 %10 = load i32, ptr @PRIV_PROC_SETLOGIN, align 4, !tbaa !10 %11 = tail call i32 @priv_check(ptr noundef nonnull %0, i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %33 13: ; preds = %2 %14 = load i32, ptr %1, align 4, !tbaa !12 %15 = call i32 @copyinstr(i32 noundef %14, ptr noundef nonnull %6, i32 noundef %4, ptr noundef null) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %13 %18 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !10 %19 = icmp eq i32 %15, %18 %20 = load i32, ptr @EINVAL, align 4 %21 = select i1 %19, i32 %20, i32 %15 br label %33 22: ; preds = %13 %23 = call i32 @AUDIT_ARG_LOGIN(ptr noundef nonnull %6) #2 %24 = call i32 @PROC_LOCK(ptr noundef %3) #2 %25 = load ptr, ptr %3, align 8, !tbaa !14 %26 = call i32 @SESS_LOCK(ptr noundef %25) #2 %27 = load ptr, ptr %3, align 8, !tbaa !14 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = call i32 @strcpy(i32 noundef %28, ptr noundef nonnull %6) #2 %30 = load ptr, ptr %3, align 8, !tbaa !14 %31 = call i32 @SESS_UNLOCK(ptr noundef %30) #2 %32 = call i32 @PROC_UNLOCK(ptr noundef nonnull %3) #2 br label %33 33: ; preds = %2, %22, %17 %34 = phi i32 [ %21, %17 ], [ 0, %22 ], [ %11, %2 ] ret i32 %34 } declare i32 @CTASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @priv_check(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @copyinstr(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AUDIT_ARG_LOGIN(ptr noundef) local_unnamed_addr #1 declare i32 @PROC_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @SESS_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SESS_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"thread", !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 = !{!"setlogin_args", !11, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"proc", !7, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_3__", !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_prot.c_sys_setlogin.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_prot.c_sys_setlogin.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXLOGNAME = common local_unnamed_addr global i32 0, align 4 @PRIV_PROC_SETLOGIN = common local_unnamed_addr global i32 0, align 4 @ENAMETOOLONG = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sys_setlogin(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @MAXLOGNAME, align 4, !tbaa !11 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 1 %7 = icmp ult i32 %4, 5 %8 = zext i1 %7 to i32 %9 = tail call i32 @CTASSERT(i32 noundef %8) #2 %10 = load i32, ptr @PRIV_PROC_SETLOGIN, align 4, !tbaa !11 %11 = tail call i32 @priv_check(ptr noundef nonnull %0, i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %33 13: ; preds = %2 %14 = load i32, ptr %1, align 4, !tbaa !13 %15 = call i32 @copyinstr(i32 noundef %14, ptr noundef nonnull %6, i32 noundef %4, ptr noundef null) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %22, label %17 17: ; preds = %13 %18 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !11 %19 = icmp eq i32 %15, %18 %20 = load i32, ptr @EINVAL, align 4 %21 = select i1 %19, i32 %20, i32 %15 br label %33 22: ; preds = %13 %23 = call i32 @AUDIT_ARG_LOGIN(ptr noundef nonnull %6) #2 %24 = call i32 @PROC_LOCK(ptr noundef %3) #2 %25 = load ptr, ptr %3, align 8, !tbaa !15 %26 = call i32 @SESS_LOCK(ptr noundef %25) #2 %27 = load ptr, ptr %3, align 8, !tbaa !15 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = call i32 @strcpy(i32 noundef %28, ptr noundef nonnull %6) #2 %30 = load ptr, ptr %3, align 8, !tbaa !15 %31 = call i32 @SESS_UNLOCK(ptr noundef %30) #2 %32 = call i32 @PROC_UNLOCK(ptr noundef nonnull %3) #2 br label %33 33: ; preds = %2, %22, %17 %34 = phi i32 [ %21, %17 ], [ 0, %22 ], [ %11, %2 ] ret i32 %34 } declare i32 @CTASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @priv_check(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @copyinstr(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AUDIT_ARG_LOGIN(ptr noundef) local_unnamed_addr #1 declare i32 @PROC_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @SESS_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SESS_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"thread", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"setlogin_args", !12, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"proc", !8, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_3__", !12, i64 0}
freebsd_sys_kern_extr_kern_prot.c_sys_setlogin
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_peget4.c' source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_peget4.c" target datalayout = "e-m:e-p270:32:32-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 @peget4(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_peget4.c' source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_peget4.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define i32 @peget4(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_sdk_lib_rossym_extr_pe.c_peget4
; ModuleID = 'AnghaBench/freebsd/lib/libvgl/extr_simple.c_VGLSavePalette.c' source_filename = "AnghaBench/freebsd/lib/libvgl/extr_simple.c_VGLSavePalette.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64 } @VGLModeInfo = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @V_INFO_MM_DIRECT = dso_local local_unnamed_addr global i64 0, align 8 @VGLSavePaletteRed = dso_local local_unnamed_addr global ptr null, align 8 @VGLSavePaletteGreen = dso_local local_unnamed_addr global ptr null, align 8 @VGLSavePaletteBlue = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @VGLSavePalette() local_unnamed_addr #0 { %1 = load i64, ptr @VGLModeInfo, align 8, !tbaa !5 %2 = load i64, ptr @V_INFO_MM_DIRECT, align 8, !tbaa !10 %3 = icmp eq i64 %1, %2 br i1 %3, label %27, label %4 4: ; preds = %0 %5 = tail call i32 @outb(i32 noundef 966, i32 noundef 255) #2 %6 = tail call ptr @inb(i32 noundef 986) #2 %7 = tail call i32 @outb(i32 noundef 967, i32 noundef 0) #2 br label %8 8: ; preds = %4, %8 %9 = phi i64 [ 0, %4 ], [ %22, %8 ] %10 = tail call ptr @inb(i32 noundef 969) #2 %11 = load ptr, ptr @VGLSavePaletteRed, align 8, !tbaa !11 %12 = getelementptr inbounds ptr, ptr %11, i64 %9 store ptr %10, ptr %12, align 8, !tbaa !11 %13 = tail call ptr @inb(i32 noundef 132) #2 %14 = tail call ptr @inb(i32 noundef 969) #2 %15 = load ptr, ptr @VGLSavePaletteGreen, align 8, !tbaa !11 %16 = getelementptr inbounds ptr, ptr %15, i64 %9 store ptr %14, ptr %16, align 8, !tbaa !11 %17 = tail call ptr @inb(i32 noundef 132) #2 %18 = tail call ptr @inb(i32 noundef 969) #2 %19 = load ptr, ptr @VGLSavePaletteBlue, align 8, !tbaa !11 %20 = getelementptr inbounds ptr, ptr %19, i64 %9 store ptr %18, ptr %20, align 8, !tbaa !11 %21 = tail call ptr @inb(i32 noundef 132) #2 %22 = add nuw nsw i64 %9, 1 %23 = icmp eq i64 %22, 256 br i1 %23, label %24, label %8, !llvm.loop !13 24: ; preds = %8 %25 = tail call ptr @inb(i32 noundef 986) #2 %26 = tail call i32 @outb(i32 noundef 960, i32 noundef 32) #2 br label %27 27: ; preds = %0, %24 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @inb(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/lib/libvgl/extr_simple.c_VGLSavePalette.c' source_filename = "AnghaBench/freebsd/lib/libvgl/extr_simple.c_VGLSavePalette.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64 } @VGLModeInfo = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @V_INFO_MM_DIRECT = common local_unnamed_addr global i64 0, align 8 @VGLSavePaletteRed = common local_unnamed_addr global ptr null, align 8 @VGLSavePaletteGreen = common local_unnamed_addr global ptr null, align 8 @VGLSavePaletteBlue = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @VGLSavePalette() local_unnamed_addr #0 { %1 = load i64, ptr @VGLModeInfo, align 8, !tbaa !6 %2 = load i64, ptr @V_INFO_MM_DIRECT, align 8, !tbaa !11 %3 = icmp eq i64 %1, %2 br i1 %3, label %27, label %4 4: ; preds = %0 %5 = tail call i32 @outb(i32 noundef 966, i32 noundef 255) #2 %6 = tail call ptr @inb(i32 noundef 986) #2 %7 = tail call i32 @outb(i32 noundef 967, i32 noundef 0) #2 br label %8 8: ; preds = %4, %8 %9 = phi i64 [ 0, %4 ], [ %22, %8 ] %10 = tail call ptr @inb(i32 noundef 969) #2 %11 = load ptr, ptr @VGLSavePaletteRed, align 8, !tbaa !12 %12 = getelementptr inbounds ptr, ptr %11, i64 %9 store ptr %10, ptr %12, align 8, !tbaa !12 %13 = tail call ptr @inb(i32 noundef 132) #2 %14 = tail call ptr @inb(i32 noundef 969) #2 %15 = load ptr, ptr @VGLSavePaletteGreen, align 8, !tbaa !12 %16 = getelementptr inbounds ptr, ptr %15, i64 %9 store ptr %14, ptr %16, align 8, !tbaa !12 %17 = tail call ptr @inb(i32 noundef 132) #2 %18 = tail call ptr @inb(i32 noundef 969) #2 %19 = load ptr, ptr @VGLSavePaletteBlue, align 8, !tbaa !12 %20 = getelementptr inbounds ptr, ptr %19, i64 %9 store ptr %18, ptr %20, align 8, !tbaa !12 %21 = tail call ptr @inb(i32 noundef 132) #2 %22 = add nuw nsw i64 %9, 1 %23 = icmp eq i64 %22, 256 br i1 %23, label %24, label %8, !llvm.loop !14 24: ; preds = %8 %25 = tail call ptr @inb(i32 noundef 986) #2 %26 = tail call i32 @outb(i32 noundef 960, i32 noundef 32) #2 br label %27 27: ; preds = %0, %24 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @inb(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_lib_libvgl_extr_simple.c_VGLSavePalette
; ModuleID = 'AnghaBench/redis/src/extr_bitops.c_getObjectReadOnlyString.c' source_filename = "AnghaBench/redis/src/extr_bitops.c_getObjectReadOnlyString.c" target datalayout = "e-m:e-p270:32:32-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, i64 } @OBJ_STRING = dso_local local_unnamed_addr global i64 0, align 8 @OBJ_ENCODING_INT = dso_local local_unnamed_addr global i64 0, align 8 @LONG_STR_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @getObjectReadOnlyString(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr @OBJ_STRING, align 8, !tbaa !10 %6 = icmp eq i64 %4, %5 %7 = zext i1 %6 to i32 %8 = tail call i32 @serverAssert(i32 noundef %7) #2 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !11 %11 = load i64, ptr @OBJ_ENCODING_INT, align 8, !tbaa !10 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %20 13: ; preds = %3 %14 = icmp eq ptr %1, null br i1 %14, label %30, label %15 15: ; preds = %13 %16 = load i32, ptr @LONG_STR_SIZE, align 4, !tbaa !12 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %18 = load i64, ptr %17, align 8, !tbaa !14 %19 = tail call i64 @ll2string(ptr noundef %2, i32 noundef %16, i64 noundef %18) #2 br label %27 20: ; preds = %3 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %22 = load i64, ptr %21, align 8, !tbaa !14 %23 = inttoptr i64 %22 to ptr %24 = icmp eq ptr %1, null br i1 %24, label %30, label %25 25: ; preds = %20 %26 = tail call i64 @sdslen(i64 noundef %22) #2 br label %27 27: ; preds = %15, %25 %28 = phi i64 [ %26, %25 ], [ %19, %15 ] %29 = phi ptr [ %23, %25 ], [ %2, %15 ] store i64 %28, ptr %1, align 8, !tbaa !10 br label %30 30: ; preds = %27, %20, %13 %31 = phi ptr [ %2, %13 ], [ %23, %20 ], [ %29, %27 ] ret ptr %31 } declare i32 @serverAssert(i32 noundef) local_unnamed_addr #1 declare i64 @ll2string(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @sdslen(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !7, i64 16} !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} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/redis/src/extr_bitops.c_getObjectReadOnlyString.c' source_filename = "AnghaBench/redis/src/extr_bitops.c_getObjectReadOnlyString.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OBJ_STRING = common local_unnamed_addr global i64 0, align 8 @OBJ_ENCODING_INT = common local_unnamed_addr global i64 0, align 8 @LONG_STR_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @getObjectReadOnlyString(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr @OBJ_STRING, align 8, !tbaa !11 %6 = icmp eq i64 %4, %5 %7 = zext i1 %6 to i32 %8 = tail call i32 @serverAssert(i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = load i64, ptr @OBJ_ENCODING_INT, align 8, !tbaa !11 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %20 13: ; preds = %3 %14 = icmp eq ptr %1, null br i1 %14, label %30, label %15 15: ; preds = %13 %16 = load i32, ptr @LONG_STR_SIZE, align 4, !tbaa !13 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load i64, ptr %17, align 8, !tbaa !15 %19 = tail call i64 @ll2string(ptr noundef %2, i32 noundef %16, i64 noundef %18) #2 br label %27 20: ; preds = %3 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load i64, ptr %21, align 8, !tbaa !15 %23 = inttoptr i64 %22 to ptr %24 = icmp eq ptr %1, null br i1 %24, label %30, label %25 25: ; preds = %20 %26 = tail call i64 @sdslen(i64 noundef %22) #2 br label %27 27: ; preds = %15, %25 %28 = phi i64 [ %26, %25 ], [ %19, %15 ] %29 = phi ptr [ %23, %25 ], [ %2, %15 ] store i64 %28, ptr %1, align 8, !tbaa !11 br label %30 30: ; preds = %27, %20, %13 %31 = phi ptr [ %2, %13 ], [ %23, %20 ], [ %29, %27 ] ret ptr %31 } declare i32 @serverAssert(i32 noundef) local_unnamed_addr #1 declare i64 @ll2string(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @sdslen(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !8, i64 16} !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} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!7, !8, i64 16}
redis_src_extr_bitops.c_getObjectReadOnlyString
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_set_txpreamble.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_set_txpreamble.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RT2860_AUTO_RSP_CFG = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_F_SHPREAMBLE = dso_local local_unnamed_addr global i32 0, align 4 @RT2860_CCK_SHORT_EN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @run_set_txpreamble], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @run_set_txpreamble(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @RT2860_AUTO_RSP_CFG, align 4, !tbaa !5 %4 = call i32 @run_read(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3 %5 = load i32, ptr %0, align 4, !tbaa !9 %6 = load i32, ptr @IEEE80211_F_SHPREAMBLE, align 4, !tbaa !5 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = load i32, ptr @RT2860_CCK_SHORT_EN, align 4, !tbaa !5 br i1 %8, label %13, label %10 10: ; preds = %1 %11 = load i32, ptr %2, align 4, !tbaa !5 %12 = or i32 %11, %9 br label %17 13: ; preds = %1 %14 = xor i32 %9, -1 %15 = load i32, ptr %2, align 4, !tbaa !5 %16 = and i32 %15, %14 br label %17 17: ; preds = %13, %10 %18 = phi i32 [ %16, %13 ], [ %12, %10 ] store i32 %18, ptr %2, align 4, !tbaa !5 %19 = load i32, ptr @RT2860_AUTO_RSP_CFG, align 4, !tbaa !5 %20 = call i32 @run_write(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %18) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @run_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @run_write(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 0} !10 = !{!"ieee80211com", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_set_txpreamble.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_run.c_run_set_txpreamble.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RT2860_AUTO_RSP_CFG = common local_unnamed_addr global i32 0, align 4 @IEEE80211_F_SHPREAMBLE = common local_unnamed_addr global i32 0, align 4 @RT2860_CCK_SHORT_EN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @run_set_txpreamble], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @run_set_txpreamble(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @RT2860_AUTO_RSP_CFG, align 4, !tbaa !6 %4 = call i32 @run_read(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3 %5 = load i32, ptr %0, align 4, !tbaa !10 %6 = load i32, ptr @IEEE80211_F_SHPREAMBLE, align 4, !tbaa !6 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = load i32, ptr @RT2860_CCK_SHORT_EN, align 4, !tbaa !6 br i1 %8, label %13, label %10 10: ; preds = %1 %11 = load i32, ptr %2, align 4, !tbaa !6 %12 = or i32 %11, %9 br label %17 13: ; preds = %1 %14 = xor i32 %9, -1 %15 = load i32, ptr %2, align 4, !tbaa !6 %16 = and i32 %15, %14 br label %17 17: ; preds = %13, %10 %18 = phi i32 [ %16, %13 ], [ %12, %10 ] store i32 %18, ptr %2, align 4, !tbaa !6 %19 = load i32, ptr @RT2860_AUTO_RSP_CFG, align 4, !tbaa !6 %20 = call i32 @run_write(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %18) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @run_read(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @run_write(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 0} !11 = !{!"ieee80211com", !7, i64 0}
freebsd_sys_dev_usb_wlan_extr_if_run.c_run_set_txpreamble
; ModuleID = 'AnghaBench/kphp-kdb/lists/extr_lists-binlog.c_dump_int_list.c' source_filename = "AnghaBench/kphp-kdb/lists/extr_lists-binlog.c_dump_int_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @dump_int_list(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %18 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 %7 = load i32, ptr %1, align 4, !tbaa !5 %8 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7) #2 %9 = icmp eq i32 %2, 1 br i1 %9, label %18, label %10 10: ; preds = %5, %10 %11 = phi i64 [ %16, %10 ], [ 1, %5 ] %12 = tail call i32 @fputc(i8 noundef signext 58, ptr noundef %0) #2 %13 = getelementptr inbounds i32, ptr %1, i64 %11 %14 = load i32, ptr %13, align 4, !tbaa !5 %15 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %14) #2 %16 = add nuw nsw i64 %11, 1 %17 = icmp eq i64 %16, %6 br i1 %17, label %18, label %10, !llvm.loop !9 18: ; preds = %10, %5, %3 ret void } declare i32 @fputc(i8 noundef signext, ptr noundef) local_unnamed_addr #1 declare i32 @fprintf(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 = distinct !{!9, !10, !11} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.peeled.count", i32 1}
; ModuleID = 'AnghaBench/kphp-kdb/lists/extr_lists-binlog.c_dump_int_list.c' source_filename = "AnghaBench/kphp-kdb/lists/extr_lists-binlog.c_dump_int_list.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"%d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @dump_int_list(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %18 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 %7 = load i32, ptr %1, align 4, !tbaa !6 %8 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7) #2 %9 = icmp eq i32 %2, 1 br i1 %9, label %18, label %10 10: ; preds = %5, %10 %11 = phi i64 [ %16, %10 ], [ 1, %5 ] %12 = tail call i32 @fputc(i8 noundef signext 58, ptr noundef %0) #2 %13 = getelementptr inbounds i32, ptr %1, i64 %11 %14 = load i32, ptr %13, align 4, !tbaa !6 %15 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %14) #2 %16 = add nuw nsw i64 %11, 1 %17 = icmp eq i64 %16, %6 br i1 %17, label %18, label %10, !llvm.loop !10 18: ; preds = %10, %5, %3 ret void } declare i32 @fputc(i8 noundef signext, ptr noundef) local_unnamed_addr #1 declare i32 @fprintf(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 = distinct !{!10, !11, !12} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!"llvm.loop.peeled.count", i32 1}
kphp-kdb_lists_extr_lists-binlog.c_dump_int_list
; ModuleID = 'AnghaBench/curl/tests/libtest/extr_lib653.c_test.c' source_filename = "AnghaBench/curl/tests/libtest/extr_lib653.c_test.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CURL_GLOBAL_ALL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"name\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"short value\00", align 1 @CURL_ZERO_TERMINATED = dso_local local_unnamed_addr global i32 0, align 4 @CURLOPT_URL = dso_local local_unnamed_addr global i32 0, align 4 @CURLOPT_HEADER = dso_local local_unnamed_addr global i32 0, align 4 @CURLOPT_VERBOSE = dso_local local_unnamed_addr global i32 0, align 4 @CURLOPT_MIMEPOST = dso_local local_unnamed_addr global i32 0, align 4 @CURLOPT_NOPROGRESS = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"long value for length change\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @test(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @CURL_GLOBAL_ALL, align 4, !tbaa !5 %3 = tail call i32 @global_init(i32 noundef %2) #2 %4 = tail call i32 @easy_init(ptr noundef null) #2 %5 = tail call ptr @curl_mime_init(ptr noundef null) #2 %6 = tail call ptr @curl_mime_addpart(ptr noundef %5) #2 %7 = tail call i32 @curl_mime_name(ptr noundef %6, ptr noundef nonnull @.str) #2 %8 = load i32, ptr @CURL_ZERO_TERMINATED, align 4, !tbaa !5 %9 = tail call i32 @curl_mime_data(ptr noundef %6, ptr noundef nonnull @.str.1, i32 noundef %8) #2 %10 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !5 %11 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %10, ptr noundef %0) #2 %12 = load i32, ptr @CURLOPT_HEADER, align 4, !tbaa !5 %13 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %12, i64 noundef 1) #2 %14 = load i32, ptr @CURLOPT_VERBOSE, align 4, !tbaa !5 %15 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %14, i64 noundef 1) #2 %16 = load i32, ptr @CURLOPT_MIMEPOST, align 4, !tbaa !5 %17 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %16, ptr noundef %5) #2 %18 = load i32, ptr @CURLOPT_NOPROGRESS, align 4, !tbaa !5 %19 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %18, i64 noundef 1) #2 %20 = tail call i32 @curl_easy_perform(ptr noundef null) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %1 %23 = load i32, ptr @CURL_ZERO_TERMINATED, align 4, !tbaa !5 %24 = tail call i32 @curl_mime_data(ptr noundef %6, ptr noundef nonnull @.str.2, i32 noundef %23) #2 %25 = tail call i32 @curl_easy_perform(ptr noundef null) #2 br label %26 26: ; preds = %1, %22 %27 = phi i32 [ %20, %1 ], [ %25, %22 ] %28 = tail call i32 @curl_mime_free(ptr noundef %5) #2 %29 = tail call i32 @curl_easy_cleanup(ptr noundef null) #2 %30 = tail call i32 (...) @curl_global_cleanup() #2 ret i32 %27 } declare i32 @global_init(i32 noundef) local_unnamed_addr #1 declare i32 @easy_init(ptr noundef) local_unnamed_addr #1 declare ptr @curl_mime_init(ptr noundef) local_unnamed_addr #1 declare ptr @curl_mime_addpart(ptr noundef) local_unnamed_addr #1 declare i32 @curl_mime_name(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @curl_mime_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @easy_setopt(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @curl_easy_perform(ptr noundef) local_unnamed_addr #1 declare i32 @curl_mime_free(ptr noundef) local_unnamed_addr #1 declare i32 @curl_easy_cleanup(ptr noundef) local_unnamed_addr #1 declare i32 @curl_global_cleanup(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/curl/tests/libtest/extr_lib653.c_test.c' source_filename = "AnghaBench/curl/tests/libtest/extr_lib653.c_test.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CURL_GLOBAL_ALL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"name\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"short value\00", align 1 @CURL_ZERO_TERMINATED = common local_unnamed_addr global i32 0, align 4 @CURLOPT_URL = common local_unnamed_addr global i32 0, align 4 @CURLOPT_HEADER = common local_unnamed_addr global i32 0, align 4 @CURLOPT_VERBOSE = common local_unnamed_addr global i32 0, align 4 @CURLOPT_MIMEPOST = common local_unnamed_addr global i32 0, align 4 @CURLOPT_NOPROGRESS = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"long value for length change\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @test(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @CURL_GLOBAL_ALL, align 4, !tbaa !6 %3 = tail call i32 @global_init(i32 noundef %2) #2 %4 = tail call i32 @easy_init(ptr noundef null) #2 %5 = tail call ptr @curl_mime_init(ptr noundef null) #2 %6 = tail call ptr @curl_mime_addpart(ptr noundef %5) #2 %7 = tail call i32 @curl_mime_name(ptr noundef %6, ptr noundef nonnull @.str) #2 %8 = load i32, ptr @CURL_ZERO_TERMINATED, align 4, !tbaa !6 %9 = tail call i32 @curl_mime_data(ptr noundef %6, ptr noundef nonnull @.str.1, i32 noundef %8) #2 %10 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !6 %11 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %10, ptr noundef %0) #2 %12 = load i32, ptr @CURLOPT_HEADER, align 4, !tbaa !6 %13 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %12, i64 noundef 1) #2 %14 = load i32, ptr @CURLOPT_VERBOSE, align 4, !tbaa !6 %15 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %14, i64 noundef 1) #2 %16 = load i32, ptr @CURLOPT_MIMEPOST, align 4, !tbaa !6 %17 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %16, ptr noundef %5) #2 %18 = load i32, ptr @CURLOPT_NOPROGRESS, align 4, !tbaa !6 %19 = tail call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %18, i64 noundef 1) #2 %20 = tail call i32 @curl_easy_perform(ptr noundef null) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %1 %23 = load i32, ptr @CURL_ZERO_TERMINATED, align 4, !tbaa !6 %24 = tail call i32 @curl_mime_data(ptr noundef %6, ptr noundef nonnull @.str.2, i32 noundef %23) #2 %25 = tail call i32 @curl_easy_perform(ptr noundef null) #2 br label %26 26: ; preds = %1, %22 %27 = phi i32 [ %20, %1 ], [ %25, %22 ] %28 = tail call i32 @curl_mime_free(ptr noundef %5) #2 %29 = tail call i32 @curl_easy_cleanup(ptr noundef null) #2 %30 = tail call i32 @curl_global_cleanup() #2 ret i32 %27 } declare i32 @global_init(i32 noundef) local_unnamed_addr #1 declare i32 @easy_init(ptr noundef) local_unnamed_addr #1 declare ptr @curl_mime_init(ptr noundef) local_unnamed_addr #1 declare ptr @curl_mime_addpart(ptr noundef) local_unnamed_addr #1 declare i32 @curl_mime_name(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @curl_mime_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @easy_setopt(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @curl_easy_perform(ptr noundef) local_unnamed_addr #1 declare i32 @curl_mime_free(ptr noundef) local_unnamed_addr #1 declare i32 @curl_easy_cleanup(ptr noundef) local_unnamed_addr #1 declare i32 @curl_global_cleanup(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
curl_tests_libtest_extr_lib653.c_test
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_380.c_shell.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_380.c_shell.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BS = dso_local local_unnamed_addr global i32 0, align 4 @SHELL_PORT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"got a shell\0A\0A\00", align 1 @STDIN_FILENO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"select\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\0A - Connection closed by user\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"write\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"\0A - Connection terminated.\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"\0A - Read failure\0A\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local void @shell(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = load i32, ptr @BS, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %6 = load i32, ptr @SHELL_PORT, align 4, !tbaa !5 %7 = tail call i32 @htons(i32 noundef %6) #3 store i32 %7, ptr %0, align 4, !tbaa !9 %8 = tail call i32 @conn(ptr noundef nonnull %0) #3 %9 = tail call i32 @printf(ptr noundef nonnull @.str) #3 %10 = call i32 @FD_ZERO(ptr noundef nonnull %2) #3 %11 = add nsw i32 %8, 1 br label %12 12: ; preds = %49, %1 %13 = load i32, ptr @STDIN_FILENO, align 4, !tbaa !5 %14 = call i32 @FD_SET(i32 noundef %13, ptr noundef nonnull %2) #3 %15 = call i32 @FD_SET(i32 noundef %8, ptr noundef nonnull %2) #3 %16 = call i32 @select(i32 noundef %11, ptr noundef nonnull %2, ptr noundef null, ptr noundef null, ptr noundef null) #3 %17 = icmp slt i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = call i32 @die(ptr noundef nonnull @.str.1) #3 br label %20 20: ; preds = %18, %12 %21 = load i32, ptr @STDIN_FILENO, align 4, !tbaa !5 %22 = call i64 @FD_ISSET(i32 noundef %21, ptr noundef nonnull %2) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %35, label %24 24: ; preds = %20 %25 = load i32, ptr @BS, align 4, !tbaa !5 %26 = call i32 @read(i32 noundef 0, ptr noundef nonnull %5, i32 noundef %25) #3 %27 = icmp slt i32 %26, 1 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @die(ptr noundef nonnull @.str.2) #3 br label %30 30: ; preds = %28, %24 %31 = call i32 @write(i32 noundef %8, ptr noundef nonnull %5, i32 noundef %26) #3 %32 = icmp slt i32 %31, 1 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 @die(ptr noundef nonnull @.str.3) #3 br label %35 35: ; preds = %30, %33, %20 %36 = call i64 @FD_ISSET(i32 noundef %8, ptr noundef nonnull %2) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %49, label %38 38: ; preds = %35 %39 = call i32 @read(i32 noundef %8, ptr noundef nonnull %5, i32 noundef %3) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %38 %42 = icmp slt i32 %39, 0 br i1 %42, label %43, label %46 43: ; preds = %41, %38 %44 = phi ptr [ @.str.4, %38 ], [ @.str.5, %41 ] %45 = call i32 @die(ptr noundef nonnull %44) #3 br label %46 46: ; preds = %43, %41 %47 = call i32 @write(i32 noundef 1, ptr noundef nonnull %5, i32 noundef %39) #3 %48 = icmp slt i32 %47, 1 br i1 %48, label %50, label %49 49: ; preds = %46, %50, %35 br label %12 50: ; preds = %46 %51 = call i32 @die(ptr noundef nonnull @.str.3) #3 br label %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i32 @conn(ptr noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef) local_unnamed_addr #2 declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2 declare i32 @FD_SET(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @die(ptr noundef) local_unnamed_addr #2 declare i64 @FD_ISSET(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = !{!"sockaddr_in", !6, i64 0}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_380.c_shell.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_380.c_shell.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BS = common local_unnamed_addr global i32 0, align 4 @SHELL_PORT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"got a shell\0A\0A\00", align 1 @STDIN_FILENO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"select\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\0A - Connection closed by user\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"write\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"\0A - Connection terminated.\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"\0A - Read failure\0A\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @shell(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = load i32, ptr @BS, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %6 = load i32, ptr @SHELL_PORT, align 4, !tbaa !6 %7 = tail call i32 @htons(i32 noundef %6) #3 store i32 %7, ptr %0, align 4, !tbaa !10 %8 = tail call i32 @conn(ptr noundef nonnull %0) #3 %9 = tail call i32 @printf(ptr noundef nonnull @.str) #3 %10 = call i32 @FD_ZERO(ptr noundef nonnull %2) #3 %11 = add nsw i32 %8, 1 br label %12 12: ; preds = %49, %1 %13 = load i32, ptr @STDIN_FILENO, align 4, !tbaa !6 %14 = call i32 @FD_SET(i32 noundef %13, ptr noundef nonnull %2) #3 %15 = call i32 @FD_SET(i32 noundef %8, ptr noundef nonnull %2) #3 %16 = call i32 @select(i32 noundef %11, ptr noundef nonnull %2, ptr noundef null, ptr noundef null, ptr noundef null) #3 %17 = icmp slt i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = call i32 @die(ptr noundef nonnull @.str.1) #3 br label %20 20: ; preds = %18, %12 %21 = load i32, ptr @STDIN_FILENO, align 4, !tbaa !6 %22 = call i64 @FD_ISSET(i32 noundef %21, ptr noundef nonnull %2) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %35, label %24 24: ; preds = %20 %25 = load i32, ptr @BS, align 4, !tbaa !6 %26 = call i32 @read(i32 noundef 0, ptr noundef nonnull %5, i32 noundef %25) #3 %27 = icmp slt i32 %26, 1 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @die(ptr noundef nonnull @.str.2) #3 br label %30 30: ; preds = %28, %24 %31 = call i32 @write(i32 noundef %8, ptr noundef nonnull %5, i32 noundef %26) #3 %32 = icmp slt i32 %31, 1 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 @die(ptr noundef nonnull @.str.3) #3 br label %35 35: ; preds = %30, %33, %20 %36 = call i64 @FD_ISSET(i32 noundef %8, ptr noundef nonnull %2) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %49, label %38 38: ; preds = %35 %39 = call i32 @read(i32 noundef %8, ptr noundef nonnull %5, i32 noundef %3) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %38 %42 = icmp slt i32 %39, 0 br i1 %42, label %43, label %46 43: ; preds = %41, %38 %44 = phi ptr [ @.str.4, %38 ], [ @.str.5, %41 ] %45 = call i32 @die(ptr noundef nonnull %44) #3 br label %46 46: ; preds = %43, %41 %47 = call i32 @write(i32 noundef 1, ptr noundef nonnull %5, i32 noundef %39) #3 %48 = icmp slt i32 %47, 1 br i1 %48, label %50, label %49 49: ; preds = %46, %50, %35 br label %12 50: ; preds = %46 %51 = call i32 @die(ptr noundef nonnull @.str.3) #3 br label %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i32 @conn(ptr noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef) local_unnamed_addr #2 declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2 declare i32 @FD_SET(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @die(ptr noundef) local_unnamed_addr #2 declare i64 @FD_ISSET(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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 = !{!"sockaddr_in", !7, i64 0}
exploitdb_exploits_linux_remote_extr_380.c_shell
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_..utilbmem.h_bzalloc.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_..utilbmem.h_bzalloc.c" target datalayout = "e-m:e-p270:32:32-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 @bzalloc], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @bzalloc(i64 noundef %0) #0 { %2 = tail call ptr @bmalloc(i64 noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i64 noundef %0) #2 br label %6 6: ; preds = %4, %1 ret ptr %2 } declare ptr @bmalloc(i64 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 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)"}
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_..utilbmem.h_bzalloc.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_..utilbmem.h_bzalloc.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 @bzalloc], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @bzalloc(i64 noundef %0) #0 { %2 = tail call ptr @bmalloc(i64 noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i64 noundef %0) #2 br label %6 6: ; preds = %4, %1 ret ptr %2 } declare ptr @bmalloc(i64 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 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)"}
obs-studio_libobs_graphics_extr_..utilbmem.h_bzalloc
; ModuleID = 'AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_kext.c_kxld_kext_set_linked_object_size.c' source_filename = "AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_kext.c_kxld_kext_set_linked_object_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @kxld_kext_set_linked_object_size(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @kxld_object_set_linked_object_size(i32 noundef %3, i32 noundef %1) #2 ret void } declare i32 @kxld_object_set_linked_object_size(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_kext.c_kxld_kext_set_linked_object_size.c' source_filename = "AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_kext.c_kxld_kext_set_linked_object_size.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 @kxld_kext_set_linked_object_size(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @kxld_object_set_linked_object_size(i32 noundef %3, i32 noundef %1) #2 ret void } declare i32 @kxld_object_set_linked_object_size(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
darwin-xnu_libkern_kxld_extr_kxld_kext.c_kxld_kext_set_linked_object_size