IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_igb_main.c_is_fqtss_enabled.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_igb_main.c_is_fqtss_enabled.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IGB_FLAG_FQTSS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_fqtss_enabled], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @is_fqtss_enabled(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @IGB_FLAG_FQTSS, align 4, !tbaa !10 %4 = and i32 %3, %2 %5 = icmp ne i32 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"igb_adapter", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_igb_main.c_is_fqtss_enabled.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_igb_main.c_is_fqtss_enabled.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IGB_FLAG_FQTSS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_fqtss_enabled], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @is_fqtss_enabled(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @IGB_FLAG_FQTSS, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp ne i32 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"igb_adapter", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_ethernet_intel_igb_extr_igb_main.c_is_fqtss_enabled
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_optc.c_optc1_disable_stereo.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_optc.c_optc1_disable_stereo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OTG_STEREO_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @OTG_STEREO_EN = dso_local local_unnamed_addr global i32 0, align 4 @OTG_3D_STRUCTURE_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @OTG_3D_STRUCTURE_EN = dso_local local_unnamed_addr global i32 0, align 4 @OTG_3D_STRUCTURE_STEREO_SEL_OVR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @optc1_disable_stereo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @optc1_disable_stereo(ptr noundef %0) #0 { %2 = tail call ptr @DCN10TG_FROM_TG(ptr noundef %0) #2 %3 = load i32, ptr @OTG_STEREO_CONTROL, align 4, !tbaa !5 %4 = load i32, ptr @OTG_STEREO_EN, align 4, !tbaa !5 %5 = tail call i32 @REG_SET(i32 noundef %3, i32 noundef 0, i32 noundef %4, i32 noundef 0) #2 %6 = load i32, ptr @OTG_3D_STRUCTURE_CONTROL, align 4, !tbaa !5 %7 = load i32, ptr @OTG_3D_STRUCTURE_EN, align 4, !tbaa !5 %8 = load i32, ptr @OTG_3D_STRUCTURE_STEREO_SEL_OVR, align 4, !tbaa !5 %9 = tail call i32 @REG_SET_2(i32 noundef %6, i32 noundef 0, i32 noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef 0) #2 ret void } declare ptr @DCN10TG_FROM_TG(ptr noundef) local_unnamed_addr #1 declare i32 @REG_SET(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_SET_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/amd/display/dc/dcn10/extr_dcn10_optc.c_optc1_disable_stereo.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn10/extr_dcn10_optc.c_optc1_disable_stereo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OTG_STEREO_CONTROL = common local_unnamed_addr global i32 0, align 4 @OTG_STEREO_EN = common local_unnamed_addr global i32 0, align 4 @OTG_3D_STRUCTURE_CONTROL = common local_unnamed_addr global i32 0, align 4 @OTG_3D_STRUCTURE_EN = common local_unnamed_addr global i32 0, align 4 @OTG_3D_STRUCTURE_STEREO_SEL_OVR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @optc1_disable_stereo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @optc1_disable_stereo(ptr noundef %0) #0 { %2 = tail call ptr @DCN10TG_FROM_TG(ptr noundef %0) #2 %3 = load i32, ptr @OTG_STEREO_CONTROL, align 4, !tbaa !6 %4 = load i32, ptr @OTG_STEREO_EN, align 4, !tbaa !6 %5 = tail call i32 @REG_SET(i32 noundef %3, i32 noundef 0, i32 noundef %4, i32 noundef 0) #2 %6 = load i32, ptr @OTG_3D_STRUCTURE_CONTROL, align 4, !tbaa !6 %7 = load i32, ptr @OTG_3D_STRUCTURE_EN, align 4, !tbaa !6 %8 = load i32, ptr @OTG_3D_STRUCTURE_STEREO_SEL_OVR, align 4, !tbaa !6 %9 = tail call i32 @REG_SET_2(i32 noundef %6, i32 noundef 0, i32 noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef 0) #2 ret void } declare ptr @DCN10TG_FROM_TG(ptr noundef) local_unnamed_addr #1 declare i32 @REG_SET(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_SET_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_amd_display_dc_dcn10_extr_dcn10_optc.c_optc1_disable_stereo
; ModuleID = 'AnghaBench/freebsd/sys/dev/ppbus/extr_ppbconf.c_ppbus_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/ppbus/extr_ppbconf.c_ppbus_detach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ppbus_detach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ppbus_detach(i32 noundef %0) #0 { %2 = tail call i32 @bus_generic_detach(i32 noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @device_delete_children(i32 noundef %0) #2 br label %6 6: ; preds = %1, %4 ret i32 %2 } declare i32 @bus_generic_detach(i32 noundef) local_unnamed_addr #1 declare i32 @device_delete_children(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ppbus/extr_ppbconf.c_ppbus_detach.c' source_filename = "AnghaBench/freebsd/sys/dev/ppbus/extr_ppbconf.c_ppbus_detach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ppbus_detach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ppbus_detach(i32 noundef %0) #0 { %2 = tail call i32 @bus_generic_detach(i32 noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @device_delete_children(i32 noundef %0) #2 br label %6 6: ; preds = %1, %4 ret i32 %2 } declare i32 @bus_generic_detach(i32 noundef) local_unnamed_addr #1 declare i32 @device_delete_children(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_ppbus_extr_ppbconf.c_ppbus_detach
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-si5351.c_si5351_dt_parse.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-si5351.c_si5351_dt_parse.c" target datalayout = "e-m:e-p270:32:32-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 @si5351_dt_parse], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @si5351_dt_parse(ptr nocapture readnone %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-si5351.c_si5351_dt_parse.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-si5351.c_si5351_dt_parse.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 @si5351_dt_parse], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @si5351_dt_parse(ptr nocapture readnone %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_clk_extr_clk-si5351.c_si5351_dt_parse
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_encode.c_EVP_ENCODE_CTX_num.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_encode.c_EVP_ENCODE_CTX_num.c" target datalayout = "e-m:e-p270:32:32-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 @EVP_ENCODE_CTX_num(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, !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/freebsd/crypto/openssl/crypto/evp/extr_encode.c_EVP_ENCODE_CTX_num.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/evp/extr_encode.c_EVP_ENCODE_CTX_num.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 @EVP_ENCODE_CTX_num(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, !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"}
freebsd_crypto_openssl_crypto_evp_extr_encode.c_EVP_ENCODE_CTX_num
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_varobj.c_variable_editable.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_varobj.c_variable_editable.c" target datalayout = "e-m:e-p270:32:32-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 @variable_editable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @variable_editable(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = tail call i32 %4(ptr noundef nonnull %0) #1 ret i32 %5 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"varobj", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_varobj.c_variable_editable.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_varobj.c_variable_editable.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 @variable_editable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @variable_editable(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load ptr, ptr %3, align 8, !tbaa !13 %5 = tail call i32 %4(ptr noundef nonnull %0) #1 ret i32 %5 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"varobj", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_3__", !8, i64 0}
freebsd_contrib_gdb_gdb_extr_varobj.c_variable_editable
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/aeboards/ext65/keymaps/default/extr_keymap.c_layer_state_set_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/aeboards/ext65/keymaps/default/extr_keymap.c_layer_state_set_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" @D1 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @layer_state_set_user(i32 noundef returned %0) local_unnamed_addr #0 { %2 = tail call i32 @biton32(i32 noundef %0) #2 %3 = icmp eq i32 %2, 1 %4 = load i32, ptr @D1, align 4, !tbaa !5 br i1 %3, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @writePinHigh(i32 noundef %4) #2 br label %9 7: ; preds = %1 %8 = tail call i32 @writePinLow(i32 noundef %4) #2 br label %9 9: ; preds = %7, %5 ret i32 %0 } declare i32 @biton32(i32 noundef) local_unnamed_addr #1 declare i32 @writePinHigh(i32 noundef) local_unnamed_addr #1 declare i32 @writePinLow(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/aeboards/ext65/keymaps/default/extr_keymap.c_layer_state_set_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/aeboards/ext65/keymaps/default/extr_keymap.c_layer_state_set_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @D1 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @layer_state_set_user(i32 noundef returned %0) local_unnamed_addr #0 { %2 = tail call i32 @biton32(i32 noundef %0) #2 %3 = icmp eq i32 %2, 1 %4 = load i32, ptr @D1, align 4, !tbaa !6 br i1 %3, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @writePinHigh(i32 noundef %4) #2 br label %9 7: ; preds = %1 %8 = tail call i32 @writePinLow(i32 noundef %4) #2 br label %9 9: ; preds = %7, %5 ret i32 %0 } declare i32 @biton32(i32 noundef) local_unnamed_addr #1 declare i32 @writePinHigh(i32 noundef) local_unnamed_addr #1 declare i32 @writePinLow(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
qmk_firmware_keyboards_aeboards_ext65_keymaps_default_extr_keymap.c_layer_state_set_user
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_core.c_rsxx_error_detected.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_core.c_rsxx_error_detected.c" target datalayout = "e-m:e-p270:32:32-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.pci_dev = type { i64, i32 } @RSXX_EEH_SUPPORT = dso_local local_unnamed_addr global i64 0, align 8 @PCI_ERS_RESULT_NONE = dso_local local_unnamed_addr global i32 0, align 4 @pci_channel_io_perm_failure = dso_local local_unnamed_addr global i32 0, align 4 @PCI_ERS_RESULT_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Slot reset setup failed\0A\00", align 1 @PCI_ERS_RESULT_NEED_RESET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rsxx_error_detected], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rsxx_error_detected(ptr noundef %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @RSXX_EEH_SUPPORT, align 8, !tbaa !11 %5 = icmp slt i64 %3, %4 br i1 %5, label %17, label %6 6: ; preds = %2 %7 = load i32, ptr @pci_channel_io_perm_failure, align 4, !tbaa !12 %8 = icmp eq i32 %7, %1 br i1 %8, label %15, label %9 9: ; preds = %6 %10 = tail call i32 @rsxx_eeh_frozen(ptr noundef nonnull %0) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %9 %13 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1 %14 = tail call i32 @dev_err(ptr noundef nonnull %13, ptr noundef nonnull @.str) #2 br label %15 15: ; preds = %6, %12 %16 = tail call i32 @rsxx_eeh_failure(ptr noundef nonnull %0) #2 br label %17 17: ; preds = %15, %9, %2 %18 = phi ptr [ @PCI_ERS_RESULT_NONE, %2 ], [ @PCI_ERS_RESULT_NEED_RESET, %9 ], [ @PCI_ERS_RESULT_DISCONNECT, %15 ] %19 = load i32, ptr %18, align 4, !tbaa !12 ret i32 %19 } declare i32 @rsxx_eeh_failure(ptr noundef) local_unnamed_addr #1 declare i32 @rsxx_eeh_frozen(ptr 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 0} !6 = !{!"pci_dev", !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}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_core.c_rsxx_error_detected.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/rsxx/extr_core.c_rsxx_error_detected.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RSXX_EEH_SUPPORT = common local_unnamed_addr global i64 0, align 8 @PCI_ERS_RESULT_NONE = common local_unnamed_addr global i32 0, align 4 @pci_channel_io_perm_failure = common local_unnamed_addr global i32 0, align 4 @PCI_ERS_RESULT_DISCONNECT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Slot reset setup failed\0A\00", align 1 @PCI_ERS_RESULT_NEED_RESET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rsxx_error_detected], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rsxx_error_detected(ptr noundef %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @RSXX_EEH_SUPPORT, align 8, !tbaa !12 %5 = icmp slt i64 %3, %4 br i1 %5, label %17, label %6 6: ; preds = %2 %7 = load i32, ptr @pci_channel_io_perm_failure, align 4, !tbaa !13 %8 = icmp eq i32 %7, %1 br i1 %8, label %15, label %9 9: ; preds = %6 %10 = tail call i32 @rsxx_eeh_frozen(ptr noundef nonnull %0) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = tail call i32 @dev_err(ptr noundef nonnull %13, ptr noundef nonnull @.str) #2 br label %15 15: ; preds = %6, %12 %16 = tail call i32 @rsxx_eeh_failure(ptr noundef nonnull %0) #2 br label %17 17: ; preds = %15, %9, %2 %18 = phi ptr [ @PCI_ERS_RESULT_NONE, %2 ], [ @PCI_ERS_RESULT_NEED_RESET, %9 ], [ @PCI_ERS_RESULT_DISCONNECT, %15 ] %19 = load i32, ptr %18, align 4, !tbaa !13 ret i32 %19 } declare i32 @rsxx_eeh_failure(ptr noundef) local_unnamed_addr #1 declare i32 @rsxx_eeh_frozen(ptr 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 0} !7 = !{!"pci_dev", !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}
fastsocket_kernel_drivers_block_rsxx_extr_core.c_rsxx_error_detected
; ModuleID = 'AnghaBench/php-src/ext/date/lib/extr_tm2unixtime.c_inc_month.c' source_filename = "AnghaBench/php-src/ext/date/lib/extr_tm2unixtime.c_inc_month.c" target datalayout = "e-m:e-p270:32:32-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 @inc_month], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @inc_month(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = add nsw i32 %3, 1 store i32 %4, ptr %1, align 4, !tbaa !5 %5 = icmp sgt i32 %3, 11 br i1 %5, label %6, label %10 6: ; preds = %2 %7 = add nsw i32 %3, -11 store i32 %7, ptr %1, align 4, !tbaa !5 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = add nsw i32 %8, 1 store i32 %9, ptr %0, align 4, !tbaa !5 br label %10 10: ; preds = %6, %2 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/php-src/ext/date/lib/extr_tm2unixtime.c_inc_month.c' source_filename = "AnghaBench/php-src/ext/date/lib/extr_tm2unixtime.c_inc_month.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 @inc_month], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @inc_month(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = add nsw i32 %3, 1 store i32 %4, ptr %1, align 4, !tbaa !6 %5 = icmp sgt i32 %3, 11 br i1 %5, label %6, label %10 6: ; preds = %2 %7 = add nsw i32 %3, -11 store i32 %7, ptr %1, align 4, !tbaa !6 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = add nsw i32 %8, 1 store i32 %9, ptr %0, align 4, !tbaa !6 br label %10 10: ; preds = %6, %2 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
php-src_ext_date_lib_extr_tm2unixtime.c_inc_month
; ModuleID = 'AnghaBench/reactos/base/applications/cmdutils/sort/extr_sort.c_cmpr.c' source_filename = "AnghaBench/reactos/base/applications/cmdutils/sort/extr_sort.c_cmpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @sortcol = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @rev = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @cmpr(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load i64, ptr @sortcol, align 8, !tbaa !9 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %16 7: ; preds = %2 %8 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) %9 = icmp sgt i64 %8, %5 %10 = getelementptr inbounds i8, ptr %3, i64 %5 %11 = select i1 %9, ptr %10, ptr @.str %12 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %4) %13 = icmp sgt i64 %12, %5 %14 = getelementptr inbounds i8, ptr %4, i64 %5 %15 = select i1 %13, ptr %14, ptr @.str br label %16 16: ; preds = %7, %2 %17 = phi ptr [ %3, %2 ], [ %11, %7 ] %18 = phi ptr [ %4, %2 ], [ %15, %7 ] %19 = load i32, ptr @rev, align 4, !tbaa !11 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %17, ptr noundef nonnull dereferenceable(1) %18) br label %25 23: ; preds = %16 %24 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) %17) br label %25 25: ; preds = %23, %21 %26 = phi i32 [ %24, %23 ], [ %22, %21 ] ret i32 %26 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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}
; ModuleID = 'AnghaBench/reactos/base/applications/cmdutils/sort/extr_sort.c_cmpr.c' source_filename = "AnghaBench/reactos/base/applications/cmdutils/sort/extr_sort.c_cmpr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sortcol = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @rev = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @cmpr(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load i64, ptr @sortcol, align 8, !tbaa !10 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %16 7: ; preds = %2 %8 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) %9 = icmp sgt i64 %8, %5 %10 = getelementptr inbounds i8, ptr %3, i64 %5 %11 = select i1 %9, ptr %10, ptr @.str %12 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %4) %13 = icmp sgt i64 %12, %5 %14 = getelementptr inbounds i8, ptr %4, i64 %5 %15 = select i1 %13, ptr %14, ptr @.str br label %16 16: ; preds = %7, %2 %17 = phi ptr [ %3, %2 ], [ %11, %7 ] %18 = phi ptr [ %4, %2 ], [ %15, %7 ] %19 = load i32, ptr @rev, align 4, !tbaa !12 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %17, ptr noundef nonnull dereferenceable(1) %18) br label %25 23: ; preds = %16 %24 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) %17) br label %25 25: ; preds = %23, %21 %26 = phi i32 [ %24, %23 ], [ %22, %21 ] ret i32 %26 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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}
reactos_base_applications_cmdutils_sort_extr_sort.c_cmpr
; ModuleID = 'AnghaBench/vlc/src/clock/extr_clock.c_vlc_clock_slave_update.c' source_filename = "AnghaBench/vlc/src/clock/extr_clock.c_vlc_clock_slave_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.TYPE_6__ = type { ptr, ptr } @INT64_MAX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @vlc_clock_slave_update], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @vlc_clock_slave_update(ptr noundef %0, i64 noundef %1, i64 noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = tail call i32 @vlc_mutex_lock(ptr noundef %8) #2 %10 = load i64, ptr @INT64_MAX, align 8, !tbaa !10 %11 = icmp eq i64 %10, %1 br i1 %11, label %15, label %12 12: ; preds = %6 %13 = load ptr, ptr %0, align 8, !tbaa !12 %14 = tail call i64 %13(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2, double noundef %3) #2 br label %15 15: ; preds = %6, %12 %16 = phi i64 [ %14, %12 ], [ %1, %6 ] %17 = tail call i32 @vlc_mutex_unlock(ptr noundef %8) #2 %18 = tail call i32 @vlc_clock_on_update(ptr noundef nonnull %0, i64 noundef %16, i64 noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5) #2 %19 = load i64, ptr @INT64_MAX, align 8 %20 = icmp eq i64 %16, %19 %21 = sub nsw i64 %16, %1 %22 = select i1 %20, i64 %19, i64 %21 ret i64 %22 } declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_clock_on_update(ptr noundef, i64 noundef, i64 noundef, double 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_6__", !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 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/vlc/src/clock/extr_clock.c_vlc_clock_slave_update.c' source_filename = "AnghaBench/vlc/src/clock/extr_clock.c_vlc_clock_slave_update.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INT64_MAX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @vlc_clock_slave_update], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @vlc_clock_slave_update(ptr noundef %0, i64 noundef %1, i64 noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = tail call i32 @vlc_mutex_lock(ptr noundef %8) #2 %10 = load i64, ptr @INT64_MAX, align 8, !tbaa !11 %11 = icmp eq i64 %10, %1 br i1 %11, label %15, label %12 12: ; preds = %6 %13 = load ptr, ptr %0, align 8, !tbaa !13 %14 = tail call i64 %13(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2, double noundef %3) #2 br label %15 15: ; preds = %6, %12 %16 = phi i64 [ %14, %12 ], [ %1, %6 ] %17 = tail call i32 @vlc_mutex_unlock(ptr noundef %8) #2 %18 = tail call i32 @vlc_clock_on_update(ptr noundef nonnull %0, i64 noundef %16, i64 noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5) #2 %19 = load i64, ptr @INT64_MAX, align 8 %20 = icmp eq i64 %16, %19 %21 = sub nsw i64 %16, %1 %22 = select i1 %20, i64 %19, i64 %21 ret i64 %22 } declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_clock_on_update(ptr noundef, i64 noundef, i64 noundef, double 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_6__", !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 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 0}
vlc_src_clock_extr_clock.c_vlc_clock_slave_update
; ModuleID = 'AnghaBench/Cinder/src/oggvorbis/ogg/extr_framing.c_ogg_stream_pageout.c' source_filename = "AnghaBench/Cinder/src/oggvorbis/ogg/extr_framing.c_ogg_stream_pageout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i64, i64 } ; Function Attrs: nounwind uwtable define dso_local i32 @ogg_stream_pageout(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @ogg_stream_check(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %21 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !11 %11 = icmp eq i64 %10, 0 br i1 %8, label %13, label %12 12: ; preds = %5 br i1 %11, label %18, label %17 13: ; preds = %5 br i1 %11, label %18, label %14 14: ; preds = %13 %15 = load i32, ptr %0, align 8, !tbaa !12 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14, %12 br label %18 18: ; preds = %12, %17, %14, %13 %19 = phi i32 [ 1, %17 ], [ 0, %14 ], [ 0, %13 ], [ 0, %12 ] %20 = tail call i32 @ogg_stream_flush_i(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %19, i32 noundef 4096) #2 br label %21 21: ; preds = %2, %18 %22 = phi i32 [ %20, %18 ], [ 0, %2 ] ret i32 %22 } declare i64 @ogg_stream_check(ptr noundef) local_unnamed_addr #1 declare i32 @ogg_stream_flush_i(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/Cinder/src/oggvorbis/ogg/extr_framing.c_ogg_stream_pageout.c' source_filename = "AnghaBench/Cinder/src/oggvorbis/ogg/extr_framing.c_ogg_stream_pageout.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 @ogg_stream_pageout(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @ogg_stream_check(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %21 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = icmp eq i64 %10, 0 br i1 %8, label %13, label %12 12: ; preds = %5 br i1 %11, label %18, label %17 13: ; preds = %5 br i1 %11, label %18, label %14 14: ; preds = %13 %15 = load i32, ptr %0, align 8, !tbaa !13 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14, %12 br label %18 18: ; preds = %12, %17, %14, %13 %19 = phi i32 [ 1, %17 ], [ 0, %14 ], [ 0, %13 ], [ 0, %12 ] %20 = tail call i32 @ogg_stream_flush_i(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %19, i32 noundef 4096) #2 br label %21 21: ; preds = %2, %18 %22 = phi i32 [ %20, %18 ], [ 0, %2 ] ret i32 %22 } declare i64 @ogg_stream_check(ptr noundef) local_unnamed_addr #1 declare i32 @ogg_stream_flush_i(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 0}
Cinder_src_oggvorbis_ogg_extr_framing.c_ogg_stream_pageout
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/x86/extr_sysret_rip.c_test_sigreturn_to.c' source_filename = "AnghaBench/linux/tools/testing/selftests/x86/extr_sysret_rip.c_test_sigreturn_to.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @rip = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [26 x i8] c"[RUN]\09sigreturn to 0x%lx\0A\00", align 1 @SIGUSR1 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_sigreturn_to], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_sigreturn_to(i64 noundef %0) #0 { store i64 %0, ptr @rip, align 8, !tbaa !5 %2 = tail call i32 @printf(ptr noundef nonnull @.str, i64 noundef %0) #2 %3 = load i32, ptr @SIGUSR1, align 4, !tbaa !9 %4 = tail call i32 @raise(i32 noundef %3) #2 ret void } declare i32 @printf(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @raise(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/linux/tools/testing/selftests/x86/extr_sysret_rip.c_test_sigreturn_to.c' source_filename = "AnghaBench/linux/tools/testing/selftests/x86/extr_sysret_rip.c_test_sigreturn_to.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @rip = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [26 x i8] c"[RUN]\09sigreturn to 0x%lx\0A\00", align 1 @SIGUSR1 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @test_sigreturn_to], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_sigreturn_to(i64 noundef %0) #0 { store i64 %0, ptr @rip, align 8, !tbaa !6 %2 = tail call i32 @printf(ptr noundef nonnull @.str, i64 noundef %0) #2 %3 = load i32, ptr @SIGUSR1, align 4, !tbaa !10 %4 = tail call i32 @raise(i32 noundef %3) #2 ret void } declare i32 @printf(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @raise(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}
linux_tools_testing_selftests_x86_extr_sysret_rip.c_test_sigreturn_to
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/hotplug/extr_shpchp_hpc.c_hpc_set_attention_status.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/hotplug/extr_shpchp_hpc.c_hpc_set_attention_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SET_ATTN_OFF = dso_local local_unnamed_addr global i32 0, align 4 @SET_ATTN_ON = dso_local local_unnamed_addr global i32 0, align 4 @SET_ATTN_BLINK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hpc_set_attention_status], section "llvm.metadata" @switch.table.hpc_set_attention_status = private unnamed_addr constant [3 x ptr] [ptr @SET_ATTN_OFF, ptr @SET_ATTN_ON, ptr @SET_ATTN_BLINK], align 8 ; Function Attrs: nounwind uwtable define internal i32 @hpc_set_attention_status(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp ult i32 %1, 3 br i1 %3, label %4, label %11 4: ; preds = %2 %5 = zext nneg i32 %1 to i64 %6 = getelementptr inbounds [3 x ptr], ptr @switch.table.hpc_set_attention_status, i64 0, i64 %5 %7 = load ptr, ptr %6, align 8 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = load i32, ptr %0, align 4, !tbaa !9 %10 = tail call i32 @shpc_write_cmd(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %8) #2 br label %11 11: ; preds = %2, %4 %12 = phi i32 [ %10, %4 ], [ -1, %2 ] ret i32 %12 } declare i32 @shpc_write_cmd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"slot", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/hotplug/extr_shpchp_hpc.c_hpc_set_attention_status.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/hotplug/extr_shpchp_hpc.c_hpc_set_attention_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SET_ATTN_OFF = common local_unnamed_addr global i32 0, align 4 @SET_ATTN_ON = common local_unnamed_addr global i32 0, align 4 @SET_ATTN_BLINK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hpc_set_attention_status], section "llvm.metadata" @switch.table.hpc_set_attention_status = private unnamed_addr constant [3 x ptr] [ptr @SET_ATTN_OFF, ptr @SET_ATTN_ON, ptr @SET_ATTN_BLINK], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hpc_set_attention_status(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp ult i32 %1, 3 br i1 %3, label %4, label %11 4: ; preds = %2 %5 = zext nneg i32 %1 to i64 %6 = getelementptr inbounds [3 x ptr], ptr @switch.table.hpc_set_attention_status, i64 0, i64 %5 %7 = load ptr, ptr %6, align 8 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = load i32, ptr %0, align 4, !tbaa !10 %10 = tail call i32 @shpc_write_cmd(ptr noundef nonnull %0, i32 noundef %9, i32 noundef %8) #2 br label %11 11: ; preds = %2, %4 %12 = phi i32 [ %10, %4 ], [ -1, %2 ] ret i32 %12 } declare i32 @shpc_write_cmd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"slot", !7, i64 0}
fastsocket_kernel_drivers_pci_hotplug_extr_shpchp_hpc.c_hpc_set_attention_status
; ModuleID = 'AnghaBench/openwrt/package/network/services/ead/src/tinysrp/extr_bn_add.c_BN_usub.c' source_filename = "AnghaBench/openwrt/package/network/services/ead/src/tinysrp/extr_bn_add.c_BN_usub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, ptr } @BN_MASK2 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @BN_usub(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @bn_check_top(ptr noundef %1) #3 %5 = tail call i32 @bn_check_top(ptr noundef %2) #3 %6 = load i32, ptr %1, align 8, !tbaa !5 %7 = load i32, ptr %2, align 8, !tbaa !5 %8 = icmp slt i32 %6, %7 br i1 %8, label %105, label %9 9: ; preds = %3 %10 = tail call ptr @bn_wexpand(ptr noundef %0, i32 noundef %6) #3 %11 = icmp eq ptr %10, null br i1 %11, label %105, label %12 12: ; preds = %9 %13 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !11 %15 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !11 %17 = icmp sgt i32 %7, 0 br i1 %17, label %18, label %69 18: ; preds = %12 %19 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1 %20 = load ptr, ptr %19, align 8, !tbaa !11 br label %21 21: ; preds = %18, %43 %22 = phi i32 [ %47, %43 ], [ 0, %18 ] %23 = phi i32 [ %50, %43 ], [ 0, %18 ] %24 = phi ptr [ %49, %43 ], [ %16, %18 ] %25 = phi ptr [ %29, %43 ], [ %20, %18 ] %26 = phi ptr [ %27, %43 ], [ %14, %18 ] %27 = getelementptr inbounds i32, ptr %26, i64 1 %28 = load i32, ptr %26, align 4, !tbaa !12 %29 = getelementptr inbounds i32, ptr %25, i64 1 %30 = load i32, ptr %25, align 4, !tbaa !12 %31 = icmp eq i32 %22, 0 br i1 %31, label %38, label %32 32: ; preds = %21 %33 = icmp sle i32 %28, %30 %34 = xor i32 %30, -1 %35 = add i32 %28, %34 %36 = load i32, ptr @BN_MASK2, align 4, !tbaa !12 %37 = and i32 %36, %35 br label %43 38: ; preds = %21 %39 = icmp slt i32 %28, %30 %40 = sub nsw i32 %28, %30 %41 = load i32, ptr @BN_MASK2, align 4, !tbaa !12 %42 = and i32 %41, %40 br label %43 43: ; preds = %38, %32 %44 = phi i32 [ %36, %32 ], [ %41, %38 ] %45 = phi i32 [ %37, %32 ], [ %42, %38 ] %46 = phi i1 [ %33, %32 ], [ %39, %38 ] %47 = zext i1 %46 to i32 %48 = and i32 %44, %45 %49 = getelementptr inbounds i32, ptr %24, i64 1 store i32 %48, ptr %24, align 4, !tbaa !12 %50 = add nuw nsw i32 %23, 1 %51 = icmp eq i32 %50, %7 br i1 %51, label %52, label %21, !llvm.loop !13 52: ; preds = %43 br i1 %46, label %53, label %69 53: ; preds = %52 %54 = tail call i32 @llvm.smax.i32(i32 %7, i32 %6) br label %55 55: ; preds = %53, %60 %56 = phi ptr [ %62, %60 ], [ %27, %53 ] %57 = phi ptr [ %67, %60 ], [ %49, %53 ] %58 = phi i32 [ %61, %60 ], [ %7, %53 ] %59 = icmp slt i32 %58, %6 br i1 %59, label %60, label %69 60: ; preds = %55 %61 = add nuw nsw i32 %58, 1 %62 = getelementptr inbounds i32, ptr %56, i64 1 %63 = load i32, ptr %56, align 4, !tbaa !12 %64 = add nsw i32 %63, -1 %65 = load i32, ptr @BN_MASK2, align 4, !tbaa !12 %66 = and i32 %64, %65 %67 = getelementptr inbounds i32, ptr %57, i64 1 store i32 %66, ptr %57, align 4, !tbaa !12 %68 = icmp sgt i32 %63, %66 br i1 %68, label %69, label %55, !llvm.loop !15 69: ; preds = %55, %60, %12, %52 %70 = phi ptr [ %27, %52 ], [ %14, %12 ], [ %56, %55 ], [ %62, %60 ] %71 = phi ptr [ %49, %52 ], [ %16, %12 ], [ %57, %55 ], [ %67, %60 ] %72 = phi i32 [ %7, %52 ], [ 0, %12 ], [ %54, %55 ], [ %61, %60 ] %73 = icmp ne ptr %71, %70 %74 = icmp slt i32 %72, %6 %75 = select i1 %73, i1 %74, i1 false br i1 %75, label %76, label %103 76: ; preds = %69, %95 %77 = phi i32 [ %96, %95 ], [ %72, %69 ] %78 = phi ptr [ %100, %95 ], [ %71, %69 ] %79 = phi ptr [ %101, %95 ], [ %70, %69 ] %80 = add nsw i32 %77, 1 %81 = load i32, ptr %79, align 4, !tbaa !12 store i32 %81, ptr %78, align 4, !tbaa !12 %82 = icmp slt i32 %80, %6 br i1 %82, label %83, label %103 83: ; preds = %76 %84 = add nsw i32 %77, 2 %85 = getelementptr inbounds i32, ptr %79, i64 1 %86 = load i32, ptr %85, align 4, !tbaa !12 %87 = getelementptr inbounds i32, ptr %78, i64 1 store i32 %86, ptr %87, align 4, !tbaa !12 %88 = icmp slt i32 %84, %6 br i1 %88, label %89, label %103 89: ; preds = %83 %90 = add nsw i32 %77, 3 %91 = getelementptr inbounds i32, ptr %79, i64 2 %92 = load i32, ptr %91, align 4, !tbaa !12 %93 = getelementptr inbounds i32, ptr %78, i64 2 store i32 %92, ptr %93, align 4, !tbaa !12 %94 = icmp slt i32 %90, %6 br i1 %94, label %95, label %103 95: ; preds = %89 %96 = add nsw i32 %77, 4 %97 = getelementptr inbounds i32, ptr %79, i64 3 %98 = load i32, ptr %97, align 4, !tbaa !12 %99 = getelementptr inbounds i32, ptr %78, i64 3 store i32 %98, ptr %99, align 4, !tbaa !12 %100 = getelementptr inbounds i32, ptr %78, i64 4 %101 = getelementptr inbounds i32, ptr %79, i64 4 %102 = icmp slt i32 %96, %6 br i1 %102, label %76, label %103 103: ; preds = %89, %83, %76, %95, %69 store i32 %6, ptr %0, align 8, !tbaa !5 %104 = tail call i32 @bn_fix_top(ptr noundef nonnull %0) #3 br label %105 105: ; preds = %9, %3, %103 %106 = phi i32 [ 1, %103 ], [ 0, %3 ], [ 0, %9 ] ret i32 %106 } declare i32 @bn_check_top(ptr noundef) local_unnamed_addr #1 declare ptr @bn_wexpand(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bn_fix_top(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !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 = !{!7, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14}
; ModuleID = 'AnghaBench/openwrt/package/network/services/ead/src/tinysrp/extr_bn_add.c_BN_usub.c' source_filename = "AnghaBench/openwrt/package/network/services/ead/src/tinysrp/extr_bn_add.c_BN_usub.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BN_MASK2 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @BN_usub(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @bn_check_top(ptr noundef %1) #2 %5 = tail call i32 @bn_check_top(ptr noundef %2) #2 %6 = load i32, ptr %1, align 8, !tbaa !6 %7 = load i32, ptr %2, align 8, !tbaa !6 %8 = icmp slt i32 %6, %7 br i1 %8, label %99, label %9 9: ; preds = %3 %10 = tail call ptr @bn_wexpand(ptr noundef %0, i32 noundef %6) #2 %11 = icmp eq ptr %10, null br i1 %11, label %99, label %12 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %1, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !12 %17 = icmp sgt i32 %7, 0 br i1 %17, label %18, label %63 18: ; preds = %12 %19 = getelementptr inbounds i8, ptr %2, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !12 br label %21 21: ; preds = %18, %39 %22 = phi i32 [ %44, %39 ], [ 0, %18 ] %23 = phi i32 [ %46, %39 ], [ 0, %18 ] %24 = phi ptr [ %45, %39 ], [ %16, %18 ] %25 = phi ptr [ %29, %39 ], [ %20, %18 ] %26 = phi ptr [ %27, %39 ], [ %14, %18 ] %27 = getelementptr inbounds i8, ptr %26, i64 4 %28 = load i32, ptr %26, align 4, !tbaa !13 %29 = getelementptr inbounds i8, ptr %25, i64 4 %30 = load i32, ptr %25, align 4, !tbaa !13 %31 = icmp eq i32 %22, 0 br i1 %31, label %36, label %32 32: ; preds = %21 %33 = icmp sle i32 %28, %30 %34 = xor i32 %30, -1 %35 = add i32 %28, %34 br label %39 36: ; preds = %21 %37 = icmp slt i32 %28, %30 %38 = sub nsw i32 %28, %30 br label %39 39: ; preds = %36, %32 %40 = phi i32 [ %38, %36 ], [ %35, %32 ] %41 = phi i1 [ %37, %36 ], [ %33, %32 ] %42 = load i32, ptr @BN_MASK2, align 4, !tbaa !13 %43 = and i32 %42, %40 %44 = zext i1 %41 to i32 %45 = getelementptr inbounds i8, ptr %24, i64 4 store i32 %43, ptr %24, align 4, !tbaa !13 %46 = add nuw nsw i32 %23, 1 %47 = icmp eq i32 %46, %7 br i1 %47, label %48, label %21, !llvm.loop !14 48: ; preds = %39 br i1 %41, label %49, label %63 49: ; preds = %48, %54 %50 = phi ptr [ %56, %54 ], [ %27, %48 ] %51 = phi ptr [ %61, %54 ], [ %45, %48 ] %52 = phi i32 [ %55, %54 ], [ %7, %48 ] %53 = icmp slt i32 %52, %6 br i1 %53, label %54, label %97 54: ; preds = %49 %55 = add nuw nsw i32 %52, 1 %56 = getelementptr inbounds i8, ptr %50, i64 4 %57 = load i32, ptr %50, align 4, !tbaa !13 %58 = add nsw i32 %57, -1 %59 = load i32, ptr @BN_MASK2, align 4, !tbaa !13 %60 = and i32 %58, %59 %61 = getelementptr inbounds i8, ptr %51, i64 4 store i32 %60, ptr %51, align 4, !tbaa !13 %62 = icmp sgt i32 %57, %60 br i1 %62, label %63, label %49, !llvm.loop !16 63: ; preds = %54, %12, %48 %64 = phi ptr [ %27, %48 ], [ %14, %12 ], [ %56, %54 ] %65 = phi ptr [ %45, %48 ], [ %16, %12 ], [ %61, %54 ] %66 = phi i32 [ %7, %48 ], [ 0, %12 ], [ %55, %54 ] %67 = icmp ne ptr %65, %64 %68 = icmp slt i32 %66, %6 %69 = select i1 %67, i1 %68, i1 false br i1 %69, label %70, label %97 70: ; preds = %63, %89 %71 = phi i32 [ %90, %89 ], [ %66, %63 ] %72 = phi ptr [ %94, %89 ], [ %65, %63 ] %73 = phi ptr [ %95, %89 ], [ %64, %63 ] %74 = add nsw i32 %71, 1 %75 = load i32, ptr %73, align 4, !tbaa !13 store i32 %75, ptr %72, align 4, !tbaa !13 %76 = icmp slt i32 %74, %6 br i1 %76, label %77, label %97 77: ; preds = %70 %78 = add nsw i32 %71, 2 %79 = getelementptr inbounds i8, ptr %73, i64 4 %80 = load i32, ptr %79, align 4, !tbaa !13 %81 = getelementptr inbounds i8, ptr %72, i64 4 store i32 %80, ptr %81, align 4, !tbaa !13 %82 = icmp slt i32 %78, %6 br i1 %82, label %83, label %97 83: ; preds = %77 %84 = add nsw i32 %71, 3 %85 = getelementptr inbounds i8, ptr %73, i64 8 %86 = load i32, ptr %85, align 4, !tbaa !13 %87 = getelementptr inbounds i8, ptr %72, i64 8 store i32 %86, ptr %87, align 4, !tbaa !13 %88 = icmp slt i32 %84, %6 br i1 %88, label %89, label %97 89: ; preds = %83 %90 = add nsw i32 %71, 4 %91 = getelementptr inbounds i8, ptr %73, i64 12 %92 = load i32, ptr %91, align 4, !tbaa !13 %93 = getelementptr inbounds i8, ptr %72, i64 12 store i32 %92, ptr %93, align 4, !tbaa !13 %94 = getelementptr inbounds i8, ptr %72, i64 16 %95 = getelementptr inbounds i8, ptr %73, i64 16 %96 = icmp slt i32 %90, %6 br i1 %96, label %70, label %97 97: ; preds = %49, %83, %77, %70, %89, %63 store i32 %6, ptr %0, align 8, !tbaa !6 %98 = tail call i32 @bn_fix_top(ptr noundef nonnull %0) #2 br label %99 99: ; preds = %9, %3, %97 %100 = phi i32 [ 1, %97 ], [ 0, %3 ], [ 0, %9 ] ret i32 %100 } declare i32 @bn_check_top(ptr noundef) local_unnamed_addr #1 declare ptr @bn_wexpand(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bn_fix_top(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8} !8 = !{!"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 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
openwrt_package_network_services_ead_src_tinysrp_extr_bn_add.c_BN_usub
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_sys_socket.c_soo_write.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_sys_socket.c_soo_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EPIPE = dso_local local_unnamed_addr global i32 0, align 4 @SO_NOSIGPIPE = dso_local local_unnamed_addr global i32 0, align 4 @SIGPIPE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @soo_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @soo_write(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2, i32 %3, ptr nocapture readnone %4) #0 { %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load ptr, ptr %1, align 8, !tbaa !10 %8 = tail call i32 @sosend(ptr noundef %6, i32 noundef 0, ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef %7) #2 %9 = load i32, ptr @EPIPE, align 4, !tbaa !12 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %26 11: ; preds = %5 %12 = load i32, ptr %6, align 4, !tbaa !14 %13 = load i32, ptr @SO_NOSIGPIPE, align 4, !tbaa !12 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %26 16: ; preds = %11 %17 = load ptr, ptr %1, align 8, !tbaa !10 %18 = load i32, ptr %17, align 4, !tbaa !16 %19 = tail call i32 @PROC_LOCK(i32 noundef %18) #2 %20 = load ptr, ptr %1, align 8, !tbaa !10 %21 = load i32, ptr @SIGPIPE, align 4, !tbaa !12 %22 = tail call i32 @tdsignal(ptr noundef %20, i32 noundef %21) #2 %23 = load ptr, ptr %1, align 8, !tbaa !10 %24 = load i32, ptr %23, align 4, !tbaa !16 %25 = tail call i32 @PROC_UNLOCK(i32 noundef %24) #2 br label %26 26: ; preds = %16, %11, %5 ret i32 %8 } declare i32 @sosend(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PROC_LOCK(i32 noundef) local_unnamed_addr #1 declare i32 @tdsignal(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PROC_UNLOCK(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 = !{!"file", !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 = !{!"uio", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"socket", !13, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"TYPE_3__", !13, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_sys_socket.c_soo_write.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_sys_socket.c_soo_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EPIPE = common local_unnamed_addr global i32 0, align 4 @SO_NOSIGPIPE = common local_unnamed_addr global i32 0, align 4 @SIGPIPE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @soo_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @soo_write(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture readnone %2, i32 %3, ptr nocapture readnone %4) #0 { %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load ptr, ptr %1, align 8, !tbaa !11 %8 = tail call i32 @sosend(ptr noundef %6, i32 noundef 0, ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef %7) #2 %9 = load i32, ptr @EPIPE, align 4, !tbaa !13 %10 = icmp eq i32 %8, %9 br i1 %10, label %11, label %26 11: ; preds = %5 %12 = load i32, ptr %6, align 4, !tbaa !15 %13 = load i32, ptr @SO_NOSIGPIPE, align 4, !tbaa !13 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %26 16: ; preds = %11 %17 = load ptr, ptr %1, align 8, !tbaa !11 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = tail call i32 @PROC_LOCK(i32 noundef %18) #2 %20 = load ptr, ptr %1, align 8, !tbaa !11 %21 = load i32, ptr @SIGPIPE, align 4, !tbaa !13 %22 = tail call i32 @tdsignal(ptr noundef %20, i32 noundef %21) #2 %23 = load ptr, ptr %1, align 8, !tbaa !11 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = tail call i32 @PROC_UNLOCK(i32 noundef %24) #2 br label %26 26: ; preds = %16, %11, %5 ret i32 %8 } declare i32 @sosend(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @PROC_LOCK(i32 noundef) local_unnamed_addr #1 declare i32 @tdsignal(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PROC_UNLOCK(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 = !{!"file", !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 = !{!"uio", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"socket", !14, i64 0} !17 = !{!18, !14, i64 0} !18 = !{!"TYPE_3__", !14, i64 0}
freebsd_sys_kern_extr_sys_socket.c_soo_write
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_parse_mpdudensity.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_parse_mpdudensity.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @switch.table.ath9k_parse_mpdudensity = private unnamed_addr constant [7 x i32] [i32 1, i32 1, i32 1, i32 2, i32 4, i32 8, i32 16], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @ath9k_parse_mpdudensity(i32 noundef %0) local_unnamed_addr #0 { %2 = add i32 %0, -1 %3 = icmp ult i32 %2, 7 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [7 x i32], ptr @switch.table.ath9k_parse_mpdudensity, i64 0, i64 %5 %7 = load i32, ptr %6, align 4 br label %8 8: ; preds = %4, %1 %9 = phi i32 [ 0, %1 ], [ %7, %4 ] ret i32 %9 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_parse_mpdudensity.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_main.c_ath9k_parse_mpdudensity.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @switch.table.ath9k_parse_mpdudensity = private unnamed_addr constant [7 x i32] [i32 1, i32 1, i32 1, i32 2, i32 4, i32 8, i32 16], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define range(i32 0, 17) i32 @ath9k_parse_mpdudensity(i32 noundef %0) local_unnamed_addr #0 { %2 = add i32 %0, -1 %3 = icmp ult i32 %2, 7 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [7 x i32], ptr @switch.table.ath9k_parse_mpdudensity, i64 0, i64 %5 %7 = load i32, ptr %6, align 4 br label %8 8: ; preds = %4, %1 %9 = phi i32 [ 0, %1 ], [ %7, %4 ] ret i32 %9 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_wireless_ath_ath9k_extr_main.c_ath9k_parse_mpdudensity
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_set_other_error.c' source_filename = "AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_set_other_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" @AARCH64_OPDE_OTHER_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_other_error], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @set_other_error(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %8, label %5 5: ; preds = %3 %6 = load i32, ptr @AARCH64_OPDE_OTHER_ERROR, align 4, !tbaa !5 %7 = tail call i32 @set_error(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %1, ptr noundef %2) #2 br label %8 8: ; preds = %3, %5 ret void } declare i32 @set_error(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_set_other_error.c' source_filename = "AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-opc.c_set_other_error.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AARCH64_OPDE_OTHER_ERROR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_other_error], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @set_other_error(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %8, label %5 5: ; preds = %3 %6 = load i32, ptr @AARCH64_OPDE_OTHER_ERROR, align 4, !tbaa !6 %7 = tail call i32 @set_error(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %1, ptr noundef %2) #2 br label %8 8: ; preds = %3, %5 ret void } declare i32 @set_error(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
radare2_libr_asm_arch_arm_aarch64_extr_aarch64-opc.c_set_other_error
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_fabric_lib.c_transport_asciihex_to_binaryhex.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_fabric_lib.c_transport_asciihex_to_binaryhex.c" target datalayout = "e-m:e-p270:32:32-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 @transport_asciihex_to_binaryhex], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal zeroext i8 @transport_asciihex_to_binaryhex(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = add i8 %2, -97 %4 = icmp ult i8 %3, 6 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = shl i8 %2, 4 %7 = add nuw nsw i8 %6, -112 br label %14 8: ; preds = %1 %9 = add i8 %2, -65 %10 = icmp ult i8 %9, 6 %11 = shl i8 %2, 4 %12 = add nuw nsw i8 %11, -112 %13 = select i1 %10, i8 %12, i8 %11 br label %14 14: ; preds = %8, %5 %15 = phi i8 [ %7, %5 ], [ %13, %8 ] %16 = getelementptr inbounds i8, ptr %0, i64 1 %17 = load i8, ptr %16, align 1, !tbaa !5 %18 = add i8 %17, -97 %19 = icmp ult i8 %18, 6 br i1 %19, label %20, label %22 20: ; preds = %14 %21 = add nuw nsw i8 %17, 9 br label %27 22: ; preds = %14 %23 = add i8 %17, -65 %24 = icmp ult i8 %23, 6 %25 = add nuw nsw i8 %17, 9 %26 = select i1 %24, i8 %25, i8 %17 br label %27 27: ; preds = %22, %20 %28 = phi i8 [ %21, %20 ], [ %26, %22 ] %29 = and i8 %28, 15 %30 = or i8 %29, %15 ret i8 %30 } 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_fabric_lib.c_transport_asciihex_to_binaryhex.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_fabric_lib.c_transport_asciihex_to_binaryhex.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 @transport_asciihex_to_binaryhex], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal zeroext i8 @transport_asciihex_to_binaryhex(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = add i8 %2, -97 %4 = icmp ult i8 %3, 6 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = shl i8 %2, 4 %7 = add nuw nsw i8 %6, -112 br label %14 8: ; preds = %1 %9 = add i8 %2, -65 %10 = icmp ult i8 %9, 6 %11 = shl i8 %2, 4 %12 = add nuw nsw i8 %11, -112 %13 = select i1 %10, i8 %12, i8 %11 br label %14 14: ; preds = %8, %5 %15 = phi i8 [ %7, %5 ], [ %13, %8 ] %16 = getelementptr inbounds i8, ptr %0, i64 1 %17 = load i8, ptr %16, align 1, !tbaa !6 %18 = add i8 %17, -97 %19 = icmp ult i8 %18, 6 br i1 %19, label %20, label %22 20: ; preds = %14 %21 = add nuw nsw i8 %17, 9 br label %27 22: ; preds = %14 %23 = add i8 %17, -65 %24 = icmp ult i8 %23, 6 %25 = add nuw nsw i8 %17, 9 %26 = select i1 %24, i8 %25, i8 %17 br label %27 27: ; preds = %22, %20 %28 = phi i8 [ %21, %20 ], [ %26, %22 ] %29 = and i8 %28, 15 %30 = or i8 %29, %15 ret i8 %30 } 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_target_extr_target_core_fabric_lib.c_transport_asciihex_to_binaryhex
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_clock.c__dpll_test_fint.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_clock.c__dpll_test_fint.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.clk = type { ptr, ptr } %struct.dpll_data = type { i32, i32 } @DPLL_FINT_BAND1_MIN = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [58 x i8] c"rejecting n=%d due to Fint failure, lowering max_divider\0A\00", align 1 @DPLL_FINT_UNDERFLOW = dso_local local_unnamed_addr global i32 0, align 4 @DPLL_FINT_BAND1_MAX = dso_local local_unnamed_addr global i64 0, align 8 @DPLL_FINT_BAND2_MIN = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [36 x i8] c"rejecting n=%d due to Fint failure\0A\00", align 1 @DPLL_FINT_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @DPLL_FINT_BAND2_MAX = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [58 x i8] c"rejecting n=%d due to Fint failure, boosting min_divider\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @_dpll_test_fint], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_dpll_test_fint(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.clk, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = add nsw i32 %1, 1 %8 = sdiv i32 %6, %7 %9 = sext i32 %8 to i64 %10 = load i64, ptr @DPLL_FINT_BAND1_MIN, align 8, !tbaa !14 %11 = icmp sgt i64 %10, %9 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %1) #2 store i32 %1, ptr %4, align 4, !tbaa !16 %14 = load i32, ptr @DPLL_FINT_UNDERFLOW, align 4, !tbaa !18 br label %31 15: ; preds = %2 %16 = load i64, ptr @DPLL_FINT_BAND1_MAX, align 8, !tbaa !14 %17 = icmp slt i64 %16, %9 %18 = load i64, ptr @DPLL_FINT_BAND2_MIN, align 8 %19 = icmp sgt i64 %18, %9 %20 = select i1 %17, i1 %19, i1 false br i1 %20, label %21, label %24 21: ; preds = %15 %22 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %1) #2 %23 = load i32, ptr @DPLL_FINT_INVALID, align 4, !tbaa !18 br label %31 24: ; preds = %15 %25 = load i64, ptr @DPLL_FINT_BAND2_MAX, align 8, !tbaa !14 %26 = icmp slt i64 %25, %9 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = tail call i32 @pr_debug(ptr noundef nonnull @.str.2, i32 noundef %1) #2 %29 = getelementptr inbounds %struct.dpll_data, ptr %4, i64 0, i32 1 store i32 %1, ptr %29, align 4, !tbaa !19 %30 = load i32, ptr @DPLL_FINT_INVALID, align 4, !tbaa !18 br label %31 31: ; preds = %21, %27, %24, %12 %32 = phi i32 [ %14, %12 ], [ %23, %21 ], [ %30, %27 ], [ 0, %24 ] ret i32 %32 } declare i32 @pr_debug(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 8} !6 = !{!"clk", !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, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"dpll_data", !13, i64 0, !13, i64 4} !18 = !{!13, !13, i64 0} !19 = !{!17, !13, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_clock.c__dpll_test_fint.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_clock.c__dpll_test_fint.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DPLL_FINT_BAND1_MIN = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [58 x i8] c"rejecting n=%d due to Fint failure, lowering max_divider\0A\00", align 1 @DPLL_FINT_UNDERFLOW = common local_unnamed_addr global i32 0, align 4 @DPLL_FINT_BAND1_MAX = common local_unnamed_addr global i64 0, align 8 @DPLL_FINT_BAND2_MIN = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [36 x i8] c"rejecting n=%d due to Fint failure\0A\00", align 1 @DPLL_FINT_INVALID = common local_unnamed_addr global i32 0, align 4 @DPLL_FINT_BAND2_MAX = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [58 x i8] c"rejecting n=%d due to Fint failure, boosting min_divider\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @_dpll_test_fint], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @_dpll_test_fint(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = add nsw i32 %1, 1 %8 = sdiv i32 %6, %7 %9 = sext i32 %8 to i64 %10 = load i64, ptr @DPLL_FINT_BAND1_MIN, align 8, !tbaa !15 %11 = icmp sgt i64 %10, %9 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i32 noundef %1) #2 store i32 %1, ptr %4, align 4, !tbaa !17 %14 = load i32, ptr @DPLL_FINT_UNDERFLOW, align 4, !tbaa !19 br label %31 15: ; preds = %2 %16 = load i64, ptr @DPLL_FINT_BAND1_MAX, align 8, !tbaa !15 %17 = icmp slt i64 %16, %9 %18 = load i64, ptr @DPLL_FINT_BAND2_MIN, align 8 %19 = icmp sgt i64 %18, %9 %20 = select i1 %17, i1 %19, i1 false br i1 %20, label %21, label %24 21: ; preds = %15 %22 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, i32 noundef %1) #2 %23 = load i32, ptr @DPLL_FINT_INVALID, align 4, !tbaa !19 br label %31 24: ; preds = %15 %25 = load i64, ptr @DPLL_FINT_BAND2_MAX, align 8, !tbaa !15 %26 = icmp slt i64 %25, %9 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = tail call i32 @pr_debug(ptr noundef nonnull @.str.2, i32 noundef %1) #2 %29 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %1, ptr %29, align 4, !tbaa !20 %30 = load i32, ptr @DPLL_FINT_INVALID, align 4, !tbaa !19 br label %31 31: ; preds = %21, %27, %24, %12 %32 = phi i32 [ %14, %12 ], [ %23, %21 ], [ %30, %27 ], [ 0, %24 ] ret i32 %32 } declare i32 @pr_debug(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 8} !7 = !{!"clk", !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, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!18, !14, i64 0} !18 = !{!"dpll_data", !14, i64 0, !14, i64 4} !19 = !{!14, !14, i64 0} !20 = !{!18, !14, i64 4}
fastsocket_kernel_arch_arm_mach-omap2_extr_clock.c__dpll_test_fint
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_mac_intr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_mac_intr.c" target datalayout = "e-m:e-p270:32:32-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 } @GMAC_IRQ_SRC = dso_local local_unnamed_addr global i32 0, align 4 @intr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"mac interrupt status 0x%x\0A\00", align 1 @GM_IS_RX_CO_OV = dso_local local_unnamed_addr global i32 0, align 4 @GM_RX_IRQ_SRC = dso_local local_unnamed_addr global i32 0, align 4 @GM_IS_TX_CO_OV = dso_local local_unnamed_addr global i32 0, align 4 @GM_TX_IRQ_SRC = dso_local local_unnamed_addr global i32 0, align 4 @GM_IS_RX_FF_OR = dso_local local_unnamed_addr global i32 0, align 4 @RX_GMF_CTRL_T = dso_local local_unnamed_addr global i32 0, align 4 @GMF_CLI_RX_FO = dso_local local_unnamed_addr global i32 0, align 4 @GM_IS_TX_FF_UR = dso_local local_unnamed_addr global i32 0, align 4 @TX_GMF_CTRL_T = dso_local local_unnamed_addr global i32 0, align 4 @GMF_CLI_TX_FU = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sky2_mac_intr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sky2_mac_intr(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = zext i32 %1 to i64 %5 = getelementptr inbounds ptr, ptr %3, i64 %4 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = tail call ptr @netdev_priv(ptr noundef %6) #2 %8 = load i32, ptr @GMAC_IRQ_SRC, align 4, !tbaa !11 %9 = tail call i32 @SK_REG(i32 noundef %1, i32 noundef %8) #2 %10 = tail call i32 @sky2_read8(ptr noundef nonnull %0, i32 noundef %9) #2 %11 = load i32, ptr @intr, align 4, !tbaa !11 %12 = tail call i32 @netif_info(ptr noundef %7, i32 noundef %11, ptr noundef %6, ptr noundef nonnull @.str, i32 noundef %10) #2 %13 = load i32, ptr @GM_IS_RX_CO_OV, align 4, !tbaa !11 %14 = and i32 %13, %10 %15 = icmp eq i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %2 %17 = load i32, ptr @GM_RX_IRQ_SRC, align 4, !tbaa !11 %18 = tail call i32 @gma_read16(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %17) #2 br label %19 19: ; preds = %16, %2 %20 = load i32, ptr @GM_IS_TX_CO_OV, align 4, !tbaa !11 %21 = and i32 %20, %10 %22 = icmp eq i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load i32, ptr @GM_TX_IRQ_SRC, align 4, !tbaa !11 %25 = tail call i32 @gma_read16(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %24) #2 br label %26 26: ; preds = %23, %19 %27 = load i32, ptr @GM_IS_RX_FF_OR, align 4, !tbaa !11 %28 = and i32 %27, %10 %29 = icmp eq i32 %28, 0 br i1 %29, label %38, label %30 30: ; preds = %26 %31 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !13 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4, !tbaa !13 %34 = load i32, ptr @RX_GMF_CTRL_T, align 4, !tbaa !11 %35 = tail call i32 @SK_REG(i32 noundef %1, i32 noundef %34) #2 %36 = load i32, ptr @GMF_CLI_RX_FO, align 4, !tbaa !11 %37 = tail call i32 @sky2_write8(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36) #2 br label %38 38: ; preds = %30, %26 %39 = load i32, ptr @GM_IS_TX_FF_UR, align 4, !tbaa !11 %40 = and i32 %39, %10 %41 = icmp eq i32 %40, 0 br i1 %41, label %49, label %42 42: ; preds = %38 %43 = load i32, ptr %6, align 4, !tbaa !16 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4, !tbaa !16 %45 = load i32, ptr @TX_GMF_CTRL_T, align 4, !tbaa !11 %46 = tail call i32 @SK_REG(i32 noundef %1, i32 noundef %45) #2 %47 = load i32, ptr @GMF_CLI_TX_FU, align 4, !tbaa !11 %48 = tail call i32 @sky2_write8(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %47) #2 br label %49 49: ; preds = %42, %38 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @sky2_read8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SK_REG(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_info(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gma_read16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sky2_write8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sky2_hw", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 4} !14 = !{!"net_device", !15, i64 0} !15 = !{!"TYPE_2__", !12, i64 0, !12, i64 4} !16 = !{!14, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_mac_intr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/extr_sky2.c_sky2_mac_intr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GMAC_IRQ_SRC = common local_unnamed_addr global i32 0, align 4 @intr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"mac interrupt status 0x%x\0A\00", align 1 @GM_IS_RX_CO_OV = common local_unnamed_addr global i32 0, align 4 @GM_RX_IRQ_SRC = common local_unnamed_addr global i32 0, align 4 @GM_IS_TX_CO_OV = common local_unnamed_addr global i32 0, align 4 @GM_TX_IRQ_SRC = common local_unnamed_addr global i32 0, align 4 @GM_IS_RX_FF_OR = common local_unnamed_addr global i32 0, align 4 @RX_GMF_CTRL_T = common local_unnamed_addr global i32 0, align 4 @GMF_CLI_RX_FO = common local_unnamed_addr global i32 0, align 4 @GM_IS_TX_FF_UR = common local_unnamed_addr global i32 0, align 4 @TX_GMF_CTRL_T = common local_unnamed_addr global i32 0, align 4 @GMF_CLI_TX_FU = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sky2_mac_intr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sky2_mac_intr(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = zext i32 %1 to i64 %5 = getelementptr inbounds ptr, ptr %3, i64 %4 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = tail call ptr @netdev_priv(ptr noundef %6) #2 %8 = load i32, ptr @GMAC_IRQ_SRC, align 4, !tbaa !12 %9 = tail call i32 @SK_REG(i32 noundef %1, i32 noundef %8) #2 %10 = tail call i32 @sky2_read8(ptr noundef nonnull %0, i32 noundef %9) #2 %11 = load i32, ptr @intr, align 4, !tbaa !12 %12 = tail call i32 @netif_info(ptr noundef %7, i32 noundef %11, ptr noundef %6, ptr noundef nonnull @.str, i32 noundef %10) #2 %13 = load i32, ptr @GM_IS_RX_CO_OV, align 4, !tbaa !12 %14 = and i32 %13, %10 %15 = icmp eq i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %2 %17 = load i32, ptr @GM_RX_IRQ_SRC, align 4, !tbaa !12 %18 = tail call i32 @gma_read16(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %17) #2 br label %19 19: ; preds = %16, %2 %20 = load i32, ptr @GM_IS_TX_CO_OV, align 4, !tbaa !12 %21 = and i32 %20, %10 %22 = icmp eq i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load i32, ptr @GM_TX_IRQ_SRC, align 4, !tbaa !12 %25 = tail call i32 @gma_read16(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %24) #2 br label %26 26: ; preds = %23, %19 %27 = load i32, ptr @GM_IS_RX_FF_OR, align 4, !tbaa !12 %28 = and i32 %27, %10 %29 = icmp eq i32 %28, 0 br i1 %29, label %38, label %30 30: ; preds = %26 %31 = getelementptr inbounds i8, ptr %6, i64 4 %32 = load i32, ptr %31, align 4, !tbaa !14 %33 = add nsw i32 %32, 1 store i32 %33, ptr %31, align 4, !tbaa !14 %34 = load i32, ptr @RX_GMF_CTRL_T, align 4, !tbaa !12 %35 = tail call i32 @SK_REG(i32 noundef %1, i32 noundef %34) #2 %36 = load i32, ptr @GMF_CLI_RX_FO, align 4, !tbaa !12 %37 = tail call i32 @sky2_write8(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36) #2 br label %38 38: ; preds = %30, %26 %39 = load i32, ptr @GM_IS_TX_FF_UR, align 4, !tbaa !12 %40 = and i32 %39, %10 %41 = icmp eq i32 %40, 0 br i1 %41, label %49, label %42 42: ; preds = %38 %43 = load i32, ptr %6, align 4, !tbaa !17 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4, !tbaa !17 %45 = load i32, ptr @TX_GMF_CTRL_T, align 4, !tbaa !12 %46 = tail call i32 @SK_REG(i32 noundef %1, i32 noundef %45) #2 %47 = load i32, ptr @GMF_CLI_TX_FU, align 4, !tbaa !12 %48 = tail call i32 @sky2_write8(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %47) #2 br label %49 49: ; preds = %42, %38 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @sky2_read8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SK_REG(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_info(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gma_read16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sky2_write8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sky2_hw", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 4} !15 = !{!"net_device", !16, i64 0} !16 = !{!"TYPE_2__", !13, i64 0, !13, i64 4} !17 = !{!15, !13, i64 0}
linux_drivers_net_ethernet_marvell_extr_sky2.c_sky2_mac_intr
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arm.c_do_vfp_reg2_from_sp2.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arm.c_do_vfp_reg2_from_sp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, ptr } %struct.TYPE_3__ = type { i32, i32 } @inst = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @.str = private unnamed_addr constant [51 x i8] c"only two consecutive VFP SP registers allowed here\00", align 1 @VFP_REG_Sm = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_vfp_reg2_from_sp2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_vfp_reg2_from_sp2() #0 { %1 = load ptr, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @inst, i64 0, i32 1), align 8, !tbaa !5 %2 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 2 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = icmp ne i32 %3, 2 %5 = zext i1 %4 to i32 %6 = tail call i32 @_(ptr noundef nonnull @.str) #2 %7 = tail call i32 @constraint(i32 noundef %5, i32 noundef %6) #2 %8 = load ptr, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @inst, i64 0, i32 1), align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = shl i32 %10, 12 %12 = load i32, ptr @inst, align 8, !tbaa !14 %13 = or i32 %12, %11 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 1, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = shl i32 %15, 16 %17 = or i32 %16, %13 store i32 %17, ptr @inst, align 8, !tbaa !14 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 2, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !13 %20 = load i32, ptr @VFP_REG_Sm, align 4, !tbaa !15 %21 = tail call i32 @encode_arm_vfp_reg(i32 noundef %19, i32 noundef %20) #2 ret void } declare i32 @constraint(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @encode_arm_vfp_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !13 = !{!12, !7, i64 4} !14 = !{!6, !7, i64 0} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arm.c_do_vfp_reg2_from_sp2.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arm.c_do_vfp_reg2_from_sp2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, ptr } @inst = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @.str = private unnamed_addr constant [51 x i8] c"only two consecutive VFP SP registers allowed here\00", align 1 @VFP_REG_Sm = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_vfp_reg2_from_sp2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_vfp_reg2_from_sp2() #0 { %1 = load ptr, ptr getelementptr inbounds (i8, ptr @inst, i64 8), align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %1, i64 16 %3 = load i32, ptr %2, align 4, !tbaa !12 %4 = icmp ne i32 %3, 2 %5 = zext i1 %4 to i32 %6 = tail call i32 @_(ptr noundef nonnull @.str) #2 %7 = tail call i32 @constraint(i32 noundef %5, i32 noundef %6) #2 %8 = load ptr, ptr getelementptr inbounds (i8, ptr @inst, i64 8), align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %8, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = shl i32 %10, 12 %12 = load i32, ptr @inst, align 8, !tbaa !15 %13 = or i32 %12, %11 %14 = getelementptr inbounds i8, ptr %8, i64 12 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = shl i32 %15, 16 %17 = or i32 %16, %13 store i32 %17, ptr @inst, align 8, !tbaa !15 %18 = getelementptr inbounds i8, ptr %8, i64 20 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = load i32, ptr @VFP_REG_Sm, align 4, !tbaa !16 %21 = tail call i32 @encode_arm_vfp_reg(i32 noundef %19, i32 noundef %20) #2 ret void } declare i32 @constraint(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_(ptr noundef) local_unnamed_addr #1 declare i32 @encode_arm_vfp_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !14 = !{!13, !8, i64 4} !15 = !{!7, !8, i64 0} !16 = !{!8, !8, i64 0}
freebsd_contrib_binutils_gas_config_extr_tc-arm.c_do_vfp_reg2_from_sp2
; ModuleID = 'AnghaBench/linux/drivers/firmware/efi/extr_capsule.c_sg_pages_num.c' source_filename = "AnghaBench/linux/drivers/firmware/efi/extr_capsule.c_sg_pages_num.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SGLIST_PER_PAGE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sg_pages_num], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @sg_pages_num(i32 noundef %0) #0 { %2 = load i32, ptr @SGLIST_PER_PAGE, align 4, !tbaa !5 %3 = tail call i32 @DIV_ROUND_UP(i32 noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @DIV_ROUND_UP(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/firmware/efi/extr_capsule.c_sg_pages_num.c' source_filename = "AnghaBench/linux/drivers/firmware/efi/extr_capsule.c_sg_pages_num.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SGLIST_PER_PAGE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sg_pages_num], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @sg_pages_num(i32 noundef %0) #0 { %2 = load i32, ptr @SGLIST_PER_PAGE, align 4, !tbaa !6 %3 = tail call i32 @DIV_ROUND_UP(i32 noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @DIV_ROUND_UP(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_firmware_efi_extr_capsule.c_sg_pages_num
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/abm/extr_..nfp_app.h_nfp_app_repr_clean.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/abm/extr_..nfp_app.h_nfp_app_repr_clean.c" target datalayout = "e-m:e-p270:32:32-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 @nfp_app_repr_clean], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @nfp_app_repr_clean(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 %4(ptr noundef nonnull %0, ptr noundef %1) #1 br label %8 8: ; preds = %6, %2 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 = !{!"nfp_app", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/abm/extr_..nfp_app.h_nfp_app_repr_clean.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/abm/extr_..nfp_app.h_nfp_app_repr_clean.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 @nfp_app_repr_clean], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @nfp_app_repr_clean(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 %4(ptr noundef nonnull %0, ptr noundef %1) #1 br label %8 8: ; preds = %6, %2 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 = !{!"nfp_app", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0}
linux_drivers_net_ethernet_netronome_nfp_abm_extr_..nfp_app.h_nfp_app_repr_clean
; ModuleID = 'AnghaBench/zfs/lib/libshare/extr_libshare.c_sa_errorstr.c' source_filename = "AnghaBench/zfs/lib/libshare/extr_libshare.c_sa_errorstr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @sa_errorstr.errstr = internal global [32 x i8] zeroinitializer, align 16 @TEXT_DOMAIN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"ok\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"path doesn't exist\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"no memory\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"name in use\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"bad path\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"no such group\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"configuration error\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"system error\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"syntax error\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"no permission\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"busy\00", align 1 @.str.11 = private unnamed_addr constant [17 x i8] c"no such property\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"invalid name\00", align 1 @.str.13 = private unnamed_addr constant [17 x i8] c"invalid protocol\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"operation not allowed\00", align 1 @.str.15 = private unnamed_addr constant [19 x i8] c"bad property value\00", align 1 @.str.16 = private unnamed_addr constant [22 x i8] c"invalid security type\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"security type not found\00", align 1 @.str.18 = private unnamed_addr constant [24 x i8] c"property value conflict\00", align 1 @.str.19 = private unnamed_addr constant [16 x i8] c"not implemented\00", align 1 @.str.20 = private unnamed_addr constant [13 x i8] c"invalid path\00", align 1 @.str.21 = private unnamed_addr constant [24 x i8] c"operation not supported\00", align 1 @.str.22 = private unnamed_addr constant [29 x i8] c"property not valid for group\00", align 1 @.str.23 = private unnamed_addr constant [11 x i8] c"not shared\00", align 1 @.str.24 = private unnamed_addr constant [17 x i8] c"no such resource\00", align 1 @.str.25 = private unnamed_addr constant [23 x i8] c"resource name required\00", align 1 @.str.26 = private unnamed_addr constant [31 x i8] c"errors from multiple protocols\00", align 1 @.str.27 = private unnamed_addr constant [27 x i8] c"path is a subpath of share\00", align 1 @.str.28 = private unnamed_addr constant [26 x i8] c"path is parent of a share\00", align 1 @.str.29 = private unnamed_addr constant [28 x i8] c"protocol requires a section\00", align 1 @.str.30 = private unnamed_addr constant [21 x i8] c"properties not found\00", align 1 @.str.31 = private unnamed_addr constant [18 x i8] c"section not found\00", align 1 @.str.32 = private unnamed_addr constant [28 x i8] c"passwords must be encrypted\00", align 1 @.str.33 = private unnamed_addr constant [31 x i8] c"path or file is already shared\00", align 1 @.str.34 = private unnamed_addr constant [11 x i8] c"unknown %d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @sa_errorstr(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !5 switch i32 %0, label %71 [ i32 137, label %3 i32 142, label %5 i32 147, label %7 i32 157, label %9 i32 161, label %11 i32 143, label %13 i32 158, label %15 i32 129, label %17 i32 130, label %19 i32 146, label %21 i32 159, label %23 i32 141, label %25 i32 156, label %27 i32 154, label %29 i32 151, label %31 i32 160, label %33 i32 153, label %35 i32 138, label %37 i32 128, label %39 i32 150, label %41 i32 155, label %43 i32 148, label %45 i32 133, label %47 i32 149, label %49 i32 140, label %51 i32 132, label %53 i32 152, label %55 i32 134, label %57 i32 135, label %59 i32 144, label %61 i32 145, label %63 i32 139, label %65 i32 136, label %67 i32 131, label %69 ] 3: ; preds = %1 %4 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str) #2 br label %74 5: ; preds = %1 %6 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.1) #2 br label %74 7: ; preds = %1 %8 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.2) #2 br label %74 9: ; preds = %1 %10 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.3) #2 br label %74 11: ; preds = %1 %12 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.4) #2 br label %74 13: ; preds = %1 %14 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.5) #2 br label %74 15: ; preds = %1 %16 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.6) #2 br label %74 17: ; preds = %1 %18 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.7) #2 br label %74 19: ; preds = %1 %20 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.8) #2 br label %74 21: ; preds = %1 %22 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.9) #2 br label %74 23: ; preds = %1 %24 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.10) #2 br label %74 25: ; preds = %1 %26 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.11) #2 br label %74 27: ; preds = %1 %28 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.12) #2 br label %74 29: ; preds = %1 %30 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.13) #2 br label %74 31: ; preds = %1 %32 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.14) #2 br label %74 33: ; preds = %1 %34 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.15) #2 br label %74 35: ; preds = %1 %36 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.16) #2 br label %74 37: ; preds = %1 %38 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.17) #2 br label %74 39: ; preds = %1 %40 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.18) #2 br label %74 41: ; preds = %1 %42 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.19) #2 br label %74 43: ; preds = %1 %44 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.20) #2 br label %74 45: ; preds = %1 %46 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.21) #2 br label %74 47: ; preds = %1 %48 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.22) #2 br label %74 49: ; preds = %1 %50 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.23) #2 br label %74 51: ; preds = %1 %52 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.24) #2 br label %74 53: ; preds = %1 %54 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.25) #2 br label %74 55: ; preds = %1 %56 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.26) #2 br label %74 57: ; preds = %1 %58 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.27) #2 br label %74 59: ; preds = %1 %60 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.28) #2 br label %74 61: ; preds = %1 %62 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.29) #2 br label %74 63: ; preds = %1 %64 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.30) #2 br label %74 65: ; preds = %1 %66 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.31) #2 br label %74 67: ; preds = %1 %68 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.32) #2 br label %74 69: ; preds = %1 %70 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.33) #2 br label %74 71: ; preds = %1 %72 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.34) #2 %73 = tail call i32 @snprintf(ptr noundef nonnull @sa_errorstr.errstr, i32 noundef 32, ptr noundef %72, i32 noundef %0) #2 br label %74 74: ; preds = %71, %69, %67, %65, %63, %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5, %3 %75 = phi ptr [ @sa_errorstr.errstr, %71 ], [ %70, %69 ], [ %68, %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 ] ret ptr %75 } declare ptr @dgettext(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/zfs/lib/libshare/extr_libshare.c_sa_errorstr.c' source_filename = "AnghaBench/zfs/lib/libshare/extr_libshare.c_sa_errorstr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sa_errorstr.errstr = internal global [32 x i8] zeroinitializer, align 1 @TEXT_DOMAIN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"ok\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"path doesn't exist\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"no memory\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"name in use\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"bad path\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"no such group\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"configuration error\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"system error\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"syntax error\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"no permission\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"busy\00", align 1 @.str.11 = private unnamed_addr constant [17 x i8] c"no such property\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"invalid name\00", align 1 @.str.13 = private unnamed_addr constant [17 x i8] c"invalid protocol\00", align 1 @.str.14 = private unnamed_addr constant [22 x i8] c"operation not allowed\00", align 1 @.str.15 = private unnamed_addr constant [19 x i8] c"bad property value\00", align 1 @.str.16 = private unnamed_addr constant [22 x i8] c"invalid security type\00", align 1 @.str.17 = private unnamed_addr constant [24 x i8] c"security type not found\00", align 1 @.str.18 = private unnamed_addr constant [24 x i8] c"property value conflict\00", align 1 @.str.19 = private unnamed_addr constant [16 x i8] c"not implemented\00", align 1 @.str.20 = private unnamed_addr constant [13 x i8] c"invalid path\00", align 1 @.str.21 = private unnamed_addr constant [24 x i8] c"operation not supported\00", align 1 @.str.22 = private unnamed_addr constant [29 x i8] c"property not valid for group\00", align 1 @.str.23 = private unnamed_addr constant [11 x i8] c"not shared\00", align 1 @.str.24 = private unnamed_addr constant [17 x i8] c"no such resource\00", align 1 @.str.25 = private unnamed_addr constant [23 x i8] c"resource name required\00", align 1 @.str.26 = private unnamed_addr constant [31 x i8] c"errors from multiple protocols\00", align 1 @.str.27 = private unnamed_addr constant [27 x i8] c"path is a subpath of share\00", align 1 @.str.28 = private unnamed_addr constant [26 x i8] c"path is parent of a share\00", align 1 @.str.29 = private unnamed_addr constant [28 x i8] c"protocol requires a section\00", align 1 @.str.30 = private unnamed_addr constant [21 x i8] c"properties not found\00", align 1 @.str.31 = private unnamed_addr constant [18 x i8] c"section not found\00", align 1 @.str.32 = private unnamed_addr constant [28 x i8] c"passwords must be encrypted\00", align 1 @.str.33 = private unnamed_addr constant [31 x i8] c"path or file is already shared\00", align 1 @.str.34 = private unnamed_addr constant [11 x i8] c"unknown %d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @sa_errorstr(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @TEXT_DOMAIN, align 4, !tbaa !6 switch i32 %0, label %71 [ i32 137, label %3 i32 142, label %5 i32 147, label %7 i32 157, label %9 i32 161, label %11 i32 143, label %13 i32 158, label %15 i32 129, label %17 i32 130, label %19 i32 146, label %21 i32 159, label %23 i32 141, label %25 i32 156, label %27 i32 154, label %29 i32 151, label %31 i32 160, label %33 i32 153, label %35 i32 138, label %37 i32 128, label %39 i32 150, label %41 i32 155, label %43 i32 148, label %45 i32 133, label %47 i32 149, label %49 i32 140, label %51 i32 132, label %53 i32 152, label %55 i32 134, label %57 i32 135, label %59 i32 144, label %61 i32 145, label %63 i32 139, label %65 i32 136, label %67 i32 131, label %69 ] 3: ; preds = %1 %4 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str) #2 br label %74 5: ; preds = %1 %6 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.1) #2 br label %74 7: ; preds = %1 %8 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.2) #2 br label %74 9: ; preds = %1 %10 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.3) #2 br label %74 11: ; preds = %1 %12 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.4) #2 br label %74 13: ; preds = %1 %14 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.5) #2 br label %74 15: ; preds = %1 %16 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.6) #2 br label %74 17: ; preds = %1 %18 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.7) #2 br label %74 19: ; preds = %1 %20 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.8) #2 br label %74 21: ; preds = %1 %22 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.9) #2 br label %74 23: ; preds = %1 %24 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.10) #2 br label %74 25: ; preds = %1 %26 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.11) #2 br label %74 27: ; preds = %1 %28 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.12) #2 br label %74 29: ; preds = %1 %30 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.13) #2 br label %74 31: ; preds = %1 %32 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.14) #2 br label %74 33: ; preds = %1 %34 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.15) #2 br label %74 35: ; preds = %1 %36 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.16) #2 br label %74 37: ; preds = %1 %38 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.17) #2 br label %74 39: ; preds = %1 %40 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.18) #2 br label %74 41: ; preds = %1 %42 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.19) #2 br label %74 43: ; preds = %1 %44 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.20) #2 br label %74 45: ; preds = %1 %46 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.21) #2 br label %74 47: ; preds = %1 %48 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.22) #2 br label %74 49: ; preds = %1 %50 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.23) #2 br label %74 51: ; preds = %1 %52 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.24) #2 br label %74 53: ; preds = %1 %54 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.25) #2 br label %74 55: ; preds = %1 %56 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.26) #2 br label %74 57: ; preds = %1 %58 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.27) #2 br label %74 59: ; preds = %1 %60 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.28) #2 br label %74 61: ; preds = %1 %62 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.29) #2 br label %74 63: ; preds = %1 %64 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.30) #2 br label %74 65: ; preds = %1 %66 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.31) #2 br label %74 67: ; preds = %1 %68 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.32) #2 br label %74 69: ; preds = %1 %70 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.33) #2 br label %74 71: ; preds = %1 %72 = tail call ptr @dgettext(i32 noundef %2, ptr noundef nonnull @.str.34) #2 %73 = tail call i32 @snprintf(ptr noundef nonnull @sa_errorstr.errstr, i32 noundef 32, ptr noundef %72, i32 noundef %0) #2 br label %74 74: ; preds = %71, %69, %67, %65, %63, %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5, %3 %75 = phi ptr [ @sa_errorstr.errstr, %71 ], [ %70, %69 ], [ %68, %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 ] ret ptr %75 } declare ptr @dgettext(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
zfs_lib_libshare_extr_libshare.c_sa_errorstr
; ModuleID = 'AnghaBench/freebsd/sys/mips/mediatek/extr_mtk_pcie.c_mtk_pci_attach.c' source_filename = "AnghaBench/freebsd/sys/mips/mediatek/extr_mtk_pcie.c_mtk_pci_attach.c" target datalayout = "e-m:e-p270:32:32-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.mtk_pci_range = type { i64, i64 } %struct.mtk_pci_softc = type { i32, i64, i32, ptr, %struct.TYPE_4__, %struct.TYPE_4__, %struct.TYPE_4__, ptr, i64, i64, i64, i64, i64, i64, i32 } %struct.TYPE_4__ = type { ptr, ptr } @mt_sc = dso_local local_unnamed_addr global ptr null, align 8 @SYS_RES_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @RF_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"could not allocate memory resource\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @MTK_SOC_MT7621 = dso_local local_unnamed_addr global i64 0, align 8 @SYS_RES_IRQ = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"could not allocate interrupt resource %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"could not retrieve 'ranges' data\0A\00", align 1 @MTK_PCIE0_IRQ = dso_local local_unnamed_addr global i64 0, align 8 @MTK_PCIE2_IRQ = dso_local local_unnamed_addr global i64 0, align 8 @RMAN_ARRAY = dso_local local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [23 x i8] c"mtk pcie memory window\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"failed to setup memory rman\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"mtk pcie io window\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"failed to setup io rman\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"mtk pcie irqs\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"failed to setup irq rman\0A\00", align 1 @.str.9 = private unnamed_addr constant [22 x i8] c"pcie phy init failed\0A\00", align 1 @.str.10 = private unnamed_addr constant [24 x i8] c"could not register PIC\0A\00", align 1 @INTR_TYPE_MISC = dso_local local_unnamed_addr global i32 0, align 4 @mtk_pci_intr = dso_local local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [33 x i8] c"could not setup intr handler %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"pci\00", align 1 @.str.13 = private unnamed_addr constant [26 x i8] c"could not attach pci bus\0A\00", align 1 @.str.14 = private unnamed_addr constant [25 x i8] c"could not attach to bus\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mtk_pci_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mtk_pci_attach(i32 noundef %0) #0 { %2 = alloca %struct.mtk_pci_range, align 16 %3 = alloca %struct.mtk_pci_range, align 16 %4 = alloca i32, align 4 %5 = tail call ptr @device_get_softc(i32 noundef %0) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 14 store i32 %0, ptr %6, align 8, !tbaa !5 store ptr %5, ptr @mt_sc, align 8, !tbaa !13 store i32 -1, ptr %5, align 8, !tbaa !14 store i32 0, ptr %4, align 4, !tbaa !15 %7 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !15 %8 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !15 %9 = call ptr @bus_alloc_resource_any(i32 noundef %0, i32 noundef %7, ptr noundef nonnull %4, i32 noundef %8) #3 %10 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 3 %11 = load ptr, ptr %10, align 8, !tbaa !16 store ptr %9, ptr %11, align 8, !tbaa !13 %12 = load ptr, ptr %10, align 8, !tbaa !16 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %1 %16 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str) #3 %17 = load i32, ptr @ENXIO, align 4, !tbaa !15 br label %227 18: ; preds = %1 %19 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !17 %21 = load i64, ptr @MTK_SOC_MT7621, align 8, !tbaa !18 %22 = icmp eq i64 %20, %21 br i1 %22, label %32, label %23 23: ; preds = %18 %24 = getelementptr inbounds ptr, ptr %12, i64 3 store ptr null, ptr %24, align 8, !tbaa !13 %25 = load ptr, ptr %10, align 8, !tbaa !16 %26 = getelementptr inbounds ptr, ptr %25, i64 2 store ptr null, ptr %26, align 8, !tbaa !13 %27 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 7 %28 = load ptr, ptr %27, align 8, !tbaa !19 %29 = getelementptr inbounds ptr, ptr %28, i64 2 store ptr null, ptr %29, align 8, !tbaa !13 %30 = load ptr, ptr %27, align 8, !tbaa !19 %31 = getelementptr inbounds ptr, ptr %30, i64 1 store ptr null, ptr %31, align 8, !tbaa !13 br label %32 32: ; preds = %23, %18 %33 = phi i32 [ 1, %23 ], [ 3, %18 ] %34 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 2 store i32 %33, ptr %34, align 8 br label %40 35: ; preds = %40 %36 = add nuw nsw i64 %41, 1 %37 = load i32, ptr %34, align 8, !tbaa !20 %38 = sext i32 %37 to i64 %39 = icmp slt i64 %41, %38 br i1 %39, label %40, label %56, !llvm.loop !21 40: ; preds = %32, %35 %41 = phi i64 [ 1, %32 ], [ %36, %35 ] %42 = trunc i64 %41 to i32 %43 = add i32 %42, -1 store i32 %43, ptr %4, align 4, !tbaa !15 %44 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !15 %45 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !15 %46 = call ptr @bus_alloc_resource_any(i32 noundef %0, i32 noundef %44, ptr noundef nonnull %4, i32 noundef %45) #3 %47 = load ptr, ptr %10, align 8, !tbaa !16 %48 = getelementptr inbounds ptr, ptr %47, i64 %41 store ptr %46, ptr %48, align 8, !tbaa !13 %49 = load ptr, ptr %10, align 8, !tbaa !16 %50 = getelementptr inbounds ptr, ptr %49, i64 %41 %51 = load ptr, ptr %50, align 8, !tbaa !13 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %35 53: ; preds = %40 %54 = load i32, ptr %4, align 4, !tbaa !15 %55 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1, i32 noundef %54) #3 br label %191 56: ; preds = %35 %57 = call i32 @ofw_bus_get_node(i32 noundef %0) #3 %58 = call i64 @OF_xref_from_node(i32 noundef %57) #3 %59 = call i64 @mtk_pci_ranges(i32 noundef %57, ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %63, label %61 61: ; preds = %56 %62 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.2) #3 br label %191 63: ; preds = %56 %64 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 11 %65 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 10 %66 = load <2 x i64>, ptr %2, align 16, !tbaa !18 store <2 x i64> %66, ptr %65, align 8, !tbaa !18 %67 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 12 %68 = load <2 x i64>, ptr %3, align 16, !tbaa !18 store <2 x i64> %68, ptr %67, align 8, !tbaa !18 %69 = load i64, ptr @MTK_PCIE0_IRQ, align 8, !tbaa !18 %70 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 9 store i64 %69, ptr %70, align 8, !tbaa !23 %71 = load i64, ptr @MTK_PCIE2_IRQ, align 8, !tbaa !18 %72 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 8 store i64 %71, ptr %72, align 8, !tbaa !24 %73 = load ptr, ptr @RMAN_ARRAY, align 8, !tbaa !13 %74 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 4 %75 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 4, i32 1 store ptr %73, ptr %75, align 8, !tbaa !25 store ptr @.str.3, ptr %74, align 8, !tbaa !26 %76 = call i64 @rman_init(ptr noundef nonnull %74) #3 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %86 78: ; preds = %63 %79 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 13 %80 = load i64, ptr %79, align 8, !tbaa !27 %81 = load i64, ptr %67, align 8, !tbaa !28 %82 = add i64 %80, -1 %83 = add i64 %82, %81 %84 = call i64 @rman_manage_region(ptr noundef nonnull %74, i64 noundef %80, i64 noundef %83) #3 %85 = icmp eq i64 %84, 0 br i1 %85, label %88, label %86 86: ; preds = %78, %63 %87 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.4) #3 br label %191 88: ; preds = %78 %89 = load ptr, ptr @RMAN_ARRAY, align 8, !tbaa !13 %90 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 5 %91 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 5, i32 1 store ptr %89, ptr %91, align 8, !tbaa !29 store ptr @.str.5, ptr %90, align 8, !tbaa !30 %92 = call i64 @rman_init(ptr noundef nonnull %90) #3 %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %101 94: ; preds = %88 %95 = load i64, ptr %64, align 8, !tbaa !31 %96 = load i64, ptr %65, align 8, !tbaa !32 %97 = add i64 %95, -1 %98 = add i64 %97, %96 %99 = call i64 @rman_manage_region(ptr noundef nonnull %90, i64 noundef %95, i64 noundef %98) #3 %100 = icmp eq i64 %99, 0 br i1 %100, label %103, label %101 101: ; preds = %94, %88 %102 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.6) #3 br label %191 103: ; preds = %94 %104 = load ptr, ptr @RMAN_ARRAY, align 8, !tbaa !13 %105 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 6 %106 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 6, i32 1 store ptr %104, ptr %106, align 8, !tbaa !33 store ptr @.str.7, ptr %105, align 8, !tbaa !34 %107 = call i64 @rman_init(ptr noundef nonnull %105) #3 %108 = icmp eq i64 %107, 0 br i1 %108, label %109, label %114 109: ; preds = %103 %110 = load i64, ptr %70, align 8, !tbaa !23 %111 = load i64, ptr %72, align 8, !tbaa !24 %112 = call i64 @rman_manage_region(ptr noundef nonnull %105, i64 noundef %110, i64 noundef %111) #3 %113 = icmp eq i64 %112, 0 br i1 %113, label %116, label %114 114: ; preds = %109, %103 %115 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.8) #3 br label %191 116: ; preds = %109 %117 = call i64 @mtk_pcie_phy_init(i32 noundef %0) #3 %118 = icmp eq i64 %117, 0 br i1 %118, label %119, label %183 119: ; preds = %116 %120 = call ptr @intr_pic_register(i32 noundef %0, i64 noundef %58) #3 %121 = icmp eq ptr %120, null br i1 %121, label %183, label %122 122: ; preds = %119 %123 = load i32, ptr %34, align 8, !tbaa !20 %124 = icmp slt i32 %123, 1 br i1 %124, label %149, label %125 125: ; preds = %122 %126 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 7 br label %127 127: ; preds = %125, %144 %128 = phi i64 [ 1, %125 ], [ %145, %144 ] %129 = load ptr, ptr %126, align 8, !tbaa !19 %130 = add nsw i64 %128, -1 %131 = getelementptr inbounds ptr, ptr %129, i64 %130 store ptr null, ptr %131, align 8, !tbaa !13 %132 = load ptr, ptr %10, align 8, !tbaa !16 %133 = getelementptr inbounds ptr, ptr %132, i64 %128 %134 = load ptr, ptr %133, align 8, !tbaa !13 %135 = load i32, ptr @INTR_TYPE_MISC, align 4, !tbaa !15 %136 = load i32, ptr @mtk_pci_intr, align 4, !tbaa !15 %137 = load ptr, ptr %126, align 8, !tbaa !19 %138 = getelementptr inbounds ptr, ptr %137, i64 %130 %139 = call i64 @bus_setup_intr(i32 noundef %0, ptr noundef %134, i32 noundef %135, i32 noundef %136, ptr noundef null, ptr noundef nonnull %5, ptr noundef %138) #3 %140 = icmp eq i64 %139, 0 br i1 %140, label %144, label %141 141: ; preds = %127 %142 = trunc i64 %128 to i32 %143 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.11, i32 noundef %142) #3 br label %159 144: ; preds = %127 %145 = add nuw nsw i64 %128, 1 %146 = load i32, ptr %34, align 8, !tbaa !20 %147 = sext i32 %146 to i64 %148 = icmp slt i64 %128, %147 br i1 %148, label %127, label %149, !llvm.loop !35 149: ; preds = %144, %122 %150 = call ptr @device_add_child(i32 noundef %0, ptr noundef nonnull @.str.12, i32 noundef -1) #3 %151 = icmp eq ptr %150, null br i1 %151, label %152, label %154 152: ; preds = %149 %153 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.13) #3 br label %159 154: ; preds = %149 %155 = call i64 @bus_generic_attach(i32 noundef %0) #3 %156 = icmp eq i64 %155, 0 br i1 %156, label %227, label %157 157: ; preds = %154 %158 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.14) #3 br label %159 159: ; preds = %157, %152, %141 %160 = load i32, ptr %34, align 8, !tbaa !20 %161 = icmp slt i32 %160, 1 br i1 %161, label %186, label %162 162: ; preds = %159 %163 = getelementptr inbounds %struct.mtk_pci_softc, ptr %5, i64 0, i32 7 br label %164 164: ; preds = %162, %178 %165 = phi i32 [ %160, %162 ], [ %179, %178 ] %166 = phi i64 [ 1, %162 ], [ %180, %178 ] %167 = load ptr, ptr %163, align 8, !tbaa !19 %168 = getelementptr ptr, ptr %167, i64 %166 %169 = getelementptr ptr, ptr %168, i64 -1 %170 = load ptr, ptr %169, align 8, !tbaa !13 %171 = icmp eq ptr %170, null br i1 %171, label %178, label %172 172: ; preds = %164 %173 = load ptr, ptr %10, align 8, !tbaa !16 %174 = getelementptr inbounds ptr, ptr %173, i64 %166 %175 = load ptr, ptr %174, align 8, !tbaa !13 %176 = call i32 @bus_teardown_intr(i32 noundef %0, ptr noundef %175, ptr noundef nonnull %170) #3 %177 = load i32, ptr %34, align 8, !tbaa !20 br label %178 178: ; preds = %164, %172 %179 = phi i32 [ %165, %164 ], [ %177, %172 ] %180 = add nuw nsw i64 %166, 1 %181 = sext i32 %179 to i64 %182 = icmp slt i64 %166, %181 br i1 %182, label %164, label %186, !llvm.loop !36 183: ; preds = %119, %116 %184 = phi ptr [ @.str.9, %116 ], [ @.str.10, %119 ] %185 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull %184) #3 br label %186 186: ; preds = %178, %183, %159 %187 = call i32 @mtk_pcie_phy_stop(i32 noundef %0) #3 %188 = call i32 @rman_fini(ptr noundef nonnull %105) #3 %189 = call i32 @rman_fini(ptr noundef nonnull %90) #3 %190 = call i32 @rman_fini(ptr noundef nonnull %74) #3 br label %191 191: ; preds = %186, %114, %101, %86, %61, %53 store ptr null, ptr @mt_sc, align 8, !tbaa !13 %192 = load ptr, ptr %10, align 8, !tbaa !16 %193 = load ptr, ptr %192, align 8, !tbaa !13 %194 = icmp eq ptr %193, null br i1 %194, label %199, label %195 195: ; preds = %191 %196 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !15 %197 = call i32 @bus_release_resource(i32 noundef %0, i32 noundef %196, i32 noundef 0, ptr noundef nonnull %193) #3 %198 = load ptr, ptr %10, align 8, !tbaa !16 br label %199 199: ; preds = %195, %191 %200 = phi ptr [ %198, %195 ], [ %192, %191 ] %201 = getelementptr inbounds ptr, ptr %200, i64 1 %202 = load ptr, ptr %201, align 8, !tbaa !13 %203 = icmp eq ptr %202, null br i1 %203, label %208, label %204 204: ; preds = %199 %205 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !15 %206 = call i32 @bus_release_resource(i32 noundef %0, i32 noundef %205, i32 noundef 0, ptr noundef nonnull %202) #3 %207 = load ptr, ptr %10, align 8, !tbaa !16 br label %208 208: ; preds = %204, %199 %209 = phi ptr [ %207, %204 ], [ %200, %199 ] %210 = getelementptr inbounds ptr, ptr %209, i64 2 %211 = load ptr, ptr %210, align 8, !tbaa !13 %212 = icmp eq ptr %211, null br i1 %212, label %217, label %213 213: ; preds = %208 %214 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !15 %215 = call i32 @bus_release_resource(i32 noundef %0, i32 noundef %214, i32 noundef 1, ptr noundef nonnull %211) #3 %216 = load ptr, ptr %10, align 8, !tbaa !16 br label %217 217: ; preds = %213, %208 %218 = phi ptr [ %216, %213 ], [ %209, %208 ] %219 = getelementptr inbounds ptr, ptr %218, i64 3 %220 = load ptr, ptr %219, align 8, !tbaa !13 %221 = icmp eq ptr %220, null br i1 %221, label %225, label %222 222: ; preds = %217 %223 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !15 %224 = call i32 @bus_release_resource(i32 noundef %0, i32 noundef %223, i32 noundef 2, ptr noundef nonnull %220) #3 br label %225 225: ; preds = %222, %217 %226 = load i32, ptr @ENXIO, align 4, !tbaa !15 br label %227 227: ; preds = %154, %225, %15 %228 = phi i32 [ %17, %15 ], [ %226, %225 ], [ 0, %154 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %228 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2 declare ptr @bus_alloc_resource_any(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #2 declare i64 @OF_xref_from_node(i32 noundef) local_unnamed_addr #2 declare i64 @mtk_pci_ranges(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @rman_init(ptr noundef) local_unnamed_addr #2 declare i64 @rman_manage_region(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @mtk_pcie_phy_init(i32 noundef) local_unnamed_addr #2 declare ptr @intr_pic_register(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @bus_setup_intr(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @device_add_child(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @bus_generic_attach(i32 noundef) local_unnamed_addr #2 declare i32 @bus_teardown_intr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtk_pcie_phy_stop(i32 noundef) local_unnamed_addr #2 declare i32 @rman_fini(ptr noundef) local_unnamed_addr #2 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 136} !6 = !{!"mtk_pci_softc", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !12, i64 32, !12, i64 48, !12, i64 64, !11, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !7, i64 136} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_4__", !11, i64 0, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!6, !11, i64 24} !17 = !{!6, !10, i64 8} !18 = !{!10, !10, i64 0} !19 = !{!6, !11, i64 80} !20 = !{!6, !7, i64 16} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!6, !10, i64 96} !24 = !{!6, !10, i64 88} !25 = !{!6, !11, i64 40} !26 = !{!6, !11, i64 32} !27 = !{!6, !10, i64 128} !28 = !{!6, !10, i64 120} !29 = !{!6, !11, i64 56} !30 = !{!6, !11, i64 48} !31 = !{!6, !10, i64 112} !32 = !{!6, !10, i64 104} !33 = !{!6, !11, i64 72} !34 = !{!6, !11, i64 64} !35 = distinct !{!35, !22} !36 = distinct !{!36, !22}
; ModuleID = 'AnghaBench/freebsd/sys/mips/mediatek/extr_mtk_pcie.c_mtk_pci_attach.c' source_filename = "AnghaBench/freebsd/sys/mips/mediatek/extr_mtk_pcie.c_mtk_pci_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mtk_pci_range = type { i64, i64 } @mt_sc = common local_unnamed_addr global ptr null, align 8 @SYS_RES_MEMORY = common local_unnamed_addr global i32 0, align 4 @RF_ACTIVE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"could not allocate memory resource\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @MTK_SOC_MT7621 = common local_unnamed_addr global i64 0, align 8 @SYS_RES_IRQ = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"could not allocate interrupt resource %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"could not retrieve 'ranges' data\0A\00", align 1 @MTK_PCIE0_IRQ = common local_unnamed_addr global i64 0, align 8 @MTK_PCIE2_IRQ = common local_unnamed_addr global i64 0, align 8 @RMAN_ARRAY = common local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [23 x i8] c"mtk pcie memory window\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"failed to setup memory rman\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"mtk pcie io window\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"failed to setup io rman\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"mtk pcie irqs\00", align 1 @.str.8 = private unnamed_addr constant [26 x i8] c"failed to setup irq rman\0A\00", align 1 @.str.9 = private unnamed_addr constant [22 x i8] c"pcie phy init failed\0A\00", align 1 @.str.10 = private unnamed_addr constant [24 x i8] c"could not register PIC\0A\00", align 1 @INTR_TYPE_MISC = common local_unnamed_addr global i32 0, align 4 @mtk_pci_intr = common local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [33 x i8] c"could not setup intr handler %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"pci\00", align 1 @.str.13 = private unnamed_addr constant [26 x i8] c"could not attach pci bus\0A\00", align 1 @.str.14 = private unnamed_addr constant [25 x i8] c"could not attach to bus\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mtk_pci_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mtk_pci_attach(i32 noundef %0) #0 { %2 = alloca %struct.mtk_pci_range, align 16 %3 = alloca %struct.mtk_pci_range, align 16 %4 = alloca i32, align 4 %5 = tail call ptr @device_get_softc(i32 noundef %0) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = getelementptr inbounds i8, ptr %5, i64 136 store i32 %0, ptr %6, align 8, !tbaa !6 store ptr %5, ptr @mt_sc, align 8, !tbaa !14 store i32 -1, ptr %5, align 8, !tbaa !15 store i32 0, ptr %4, align 4, !tbaa !16 %7 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !16 %8 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !16 %9 = call ptr @bus_alloc_resource_any(i32 noundef %0, i32 noundef %7, ptr noundef nonnull %4, i32 noundef %8) #3 %10 = getelementptr inbounds i8, ptr %5, i64 24 %11 = load ptr, ptr %10, align 8, !tbaa !17 store ptr %9, ptr %11, align 8, !tbaa !14 %12 = load ptr, ptr %10, align 8, !tbaa !17 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %1 %16 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str) #3 %17 = load i32, ptr @ENXIO, align 4, !tbaa !16 br label %227 18: ; preds = %1 %19 = getelementptr inbounds i8, ptr %5, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !18 %21 = load i64, ptr @MTK_SOC_MT7621, align 8, !tbaa !19 %22 = icmp eq i64 %20, %21 br i1 %22, label %32, label %23 23: ; preds = %18 %24 = getelementptr inbounds i8, ptr %12, i64 24 store ptr null, ptr %24, align 8, !tbaa !14 %25 = load ptr, ptr %10, align 8, !tbaa !17 %26 = getelementptr inbounds i8, ptr %25, i64 16 store ptr null, ptr %26, align 8, !tbaa !14 %27 = getelementptr inbounds i8, ptr %5, i64 80 %28 = load ptr, ptr %27, align 8, !tbaa !20 %29 = getelementptr inbounds i8, ptr %28, i64 16 store ptr null, ptr %29, align 8, !tbaa !14 %30 = load ptr, ptr %27, align 8, !tbaa !20 %31 = getelementptr inbounds i8, ptr %30, i64 8 store ptr null, ptr %31, align 8, !tbaa !14 br label %32 32: ; preds = %23, %18 %33 = phi i32 [ 1, %23 ], [ 3, %18 ] %34 = getelementptr inbounds i8, ptr %5, i64 16 store i32 %33, ptr %34, align 8 br label %40 35: ; preds = %40 %36 = add nuw nsw i64 %41, 1 %37 = load i32, ptr %34, align 8, !tbaa !21 %38 = sext i32 %37 to i64 %39 = icmp slt i64 %41, %38 br i1 %39, label %40, label %56, !llvm.loop !22 40: ; preds = %32, %35 %41 = phi i64 [ 1, %32 ], [ %36, %35 ] %42 = trunc i64 %41 to i32 %43 = add i32 %42, -1 store i32 %43, ptr %4, align 4, !tbaa !16 %44 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !16 %45 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !16 %46 = call ptr @bus_alloc_resource_any(i32 noundef %0, i32 noundef %44, ptr noundef nonnull %4, i32 noundef %45) #3 %47 = load ptr, ptr %10, align 8, !tbaa !17 %48 = getelementptr inbounds ptr, ptr %47, i64 %41 store ptr %46, ptr %48, align 8, !tbaa !14 %49 = load ptr, ptr %10, align 8, !tbaa !17 %50 = getelementptr inbounds ptr, ptr %49, i64 %41 %51 = load ptr, ptr %50, align 8, !tbaa !14 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %35 53: ; preds = %40 %54 = load i32, ptr %4, align 4, !tbaa !16 %55 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1, i32 noundef %54) #3 br label %191 56: ; preds = %35 %57 = call i32 @ofw_bus_get_node(i32 noundef %0) #3 %58 = call i64 @OF_xref_from_node(i32 noundef %57) #3 %59 = call i64 @mtk_pci_ranges(i32 noundef %57, ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %63, label %61 61: ; preds = %56 %62 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.2) #3 br label %191 63: ; preds = %56 %64 = getelementptr inbounds i8, ptr %5, i64 112 %65 = getelementptr inbounds i8, ptr %5, i64 104 %66 = load <2 x i64>, ptr %2, align 16, !tbaa !19 store <2 x i64> %66, ptr %65, align 8, !tbaa !19 %67 = getelementptr inbounds i8, ptr %5, i64 120 %68 = load <2 x i64>, ptr %3, align 16, !tbaa !19 store <2 x i64> %68, ptr %67, align 8, !tbaa !19 %69 = load i64, ptr @MTK_PCIE0_IRQ, align 8, !tbaa !19 %70 = getelementptr inbounds i8, ptr %5, i64 96 store i64 %69, ptr %70, align 8, !tbaa !24 %71 = load i64, ptr @MTK_PCIE2_IRQ, align 8, !tbaa !19 %72 = getelementptr inbounds i8, ptr %5, i64 88 store i64 %71, ptr %72, align 8, !tbaa !25 %73 = load ptr, ptr @RMAN_ARRAY, align 8, !tbaa !14 %74 = getelementptr inbounds i8, ptr %5, i64 32 %75 = getelementptr inbounds i8, ptr %5, i64 40 store ptr %73, ptr %75, align 8, !tbaa !26 store ptr @.str.3, ptr %74, align 8, !tbaa !27 %76 = call i64 @rman_init(ptr noundef nonnull %74) #3 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %86 78: ; preds = %63 %79 = getelementptr inbounds i8, ptr %5, i64 128 %80 = load i64, ptr %79, align 8, !tbaa !28 %81 = load i64, ptr %67, align 8, !tbaa !29 %82 = add i64 %80, -1 %83 = add i64 %82, %81 %84 = call i64 @rman_manage_region(ptr noundef nonnull %74, i64 noundef %80, i64 noundef %83) #3 %85 = icmp eq i64 %84, 0 br i1 %85, label %88, label %86 86: ; preds = %78, %63 %87 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.4) #3 br label %191 88: ; preds = %78 %89 = load ptr, ptr @RMAN_ARRAY, align 8, !tbaa !14 %90 = getelementptr inbounds i8, ptr %5, i64 48 %91 = getelementptr inbounds i8, ptr %5, i64 56 store ptr %89, ptr %91, align 8, !tbaa !30 store ptr @.str.5, ptr %90, align 8, !tbaa !31 %92 = call i64 @rman_init(ptr noundef nonnull %90) #3 %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %101 94: ; preds = %88 %95 = load i64, ptr %64, align 8, !tbaa !32 %96 = load i64, ptr %65, align 8, !tbaa !33 %97 = add i64 %95, -1 %98 = add i64 %97, %96 %99 = call i64 @rman_manage_region(ptr noundef nonnull %90, i64 noundef %95, i64 noundef %98) #3 %100 = icmp eq i64 %99, 0 br i1 %100, label %103, label %101 101: ; preds = %94, %88 %102 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.6) #3 br label %191 103: ; preds = %94 %104 = load ptr, ptr @RMAN_ARRAY, align 8, !tbaa !14 %105 = getelementptr inbounds i8, ptr %5, i64 64 %106 = getelementptr inbounds i8, ptr %5, i64 72 store ptr %104, ptr %106, align 8, !tbaa !34 store ptr @.str.7, ptr %105, align 8, !tbaa !35 %107 = call i64 @rman_init(ptr noundef nonnull %105) #3 %108 = icmp eq i64 %107, 0 br i1 %108, label %109, label %114 109: ; preds = %103 %110 = load i64, ptr %70, align 8, !tbaa !24 %111 = load i64, ptr %72, align 8, !tbaa !25 %112 = call i64 @rman_manage_region(ptr noundef nonnull %105, i64 noundef %110, i64 noundef %111) #3 %113 = icmp eq i64 %112, 0 br i1 %113, label %116, label %114 114: ; preds = %109, %103 %115 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.8) #3 br label %191 116: ; preds = %109 %117 = call i64 @mtk_pcie_phy_init(i32 noundef %0) #3 %118 = icmp eq i64 %117, 0 br i1 %118, label %119, label %183 119: ; preds = %116 %120 = call ptr @intr_pic_register(i32 noundef %0, i64 noundef %58) #3 %121 = icmp eq ptr %120, null br i1 %121, label %183, label %122 122: ; preds = %119 %123 = load i32, ptr %34, align 8, !tbaa !21 %124 = icmp slt i32 %123, 1 br i1 %124, label %149, label %125 125: ; preds = %122 %126 = getelementptr inbounds i8, ptr %5, i64 80 br label %127 127: ; preds = %125, %144 %128 = phi i64 [ 1, %125 ], [ %145, %144 ] %129 = load ptr, ptr %126, align 8, !tbaa !20 %130 = add nsw i64 %128, -1 %131 = getelementptr inbounds ptr, ptr %129, i64 %130 store ptr null, ptr %131, align 8, !tbaa !14 %132 = load ptr, ptr %10, align 8, !tbaa !17 %133 = getelementptr inbounds ptr, ptr %132, i64 %128 %134 = load ptr, ptr %133, align 8, !tbaa !14 %135 = load i32, ptr @INTR_TYPE_MISC, align 4, !tbaa !16 %136 = load i32, ptr @mtk_pci_intr, align 4, !tbaa !16 %137 = load ptr, ptr %126, align 8, !tbaa !20 %138 = getelementptr inbounds ptr, ptr %137, i64 %130 %139 = call i64 @bus_setup_intr(i32 noundef %0, ptr noundef %134, i32 noundef %135, i32 noundef %136, ptr noundef null, ptr noundef nonnull %5, ptr noundef %138) #3 %140 = icmp eq i64 %139, 0 br i1 %140, label %144, label %141 141: ; preds = %127 %142 = trunc nuw nsw i64 %128 to i32 %143 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.11, i32 noundef %142) #3 br label %159 144: ; preds = %127 %145 = add nuw nsw i64 %128, 1 %146 = load i32, ptr %34, align 8, !tbaa !21 %147 = sext i32 %146 to i64 %148 = icmp slt i64 %128, %147 br i1 %148, label %127, label %149, !llvm.loop !36 149: ; preds = %144, %122 %150 = call ptr @device_add_child(i32 noundef %0, ptr noundef nonnull @.str.12, i32 noundef -1) #3 %151 = icmp eq ptr %150, null br i1 %151, label %152, label %154 152: ; preds = %149 %153 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.13) #3 br label %159 154: ; preds = %149 %155 = call i64 @bus_generic_attach(i32 noundef %0) #3 %156 = icmp eq i64 %155, 0 br i1 %156, label %227, label %157 157: ; preds = %154 %158 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.14) #3 br label %159 159: ; preds = %157, %152, %141 %160 = load i32, ptr %34, align 8, !tbaa !21 %161 = icmp slt i32 %160, 1 br i1 %161, label %186, label %162 162: ; preds = %159 %163 = getelementptr inbounds i8, ptr %5, i64 80 br label %164 164: ; preds = %162, %178 %165 = phi i32 [ %160, %162 ], [ %179, %178 ] %166 = phi i64 [ 1, %162 ], [ %180, %178 ] %167 = load ptr, ptr %163, align 8, !tbaa !20 %168 = getelementptr ptr, ptr %167, i64 %166 %169 = getelementptr i8, ptr %168, i64 -8 %170 = load ptr, ptr %169, align 8, !tbaa !14 %171 = icmp eq ptr %170, null br i1 %171, label %178, label %172 172: ; preds = %164 %173 = load ptr, ptr %10, align 8, !tbaa !17 %174 = getelementptr inbounds ptr, ptr %173, i64 %166 %175 = load ptr, ptr %174, align 8, !tbaa !14 %176 = call i32 @bus_teardown_intr(i32 noundef %0, ptr noundef %175, ptr noundef nonnull %170) #3 %177 = load i32, ptr %34, align 8, !tbaa !21 br label %178 178: ; preds = %164, %172 %179 = phi i32 [ %165, %164 ], [ %177, %172 ] %180 = add nuw nsw i64 %166, 1 %181 = sext i32 %179 to i64 %182 = icmp slt i64 %166, %181 br i1 %182, label %164, label %186, !llvm.loop !37 183: ; preds = %119, %116 %184 = phi ptr [ @.str.9, %116 ], [ @.str.10, %119 ] %185 = call i32 (i32, ptr, ...) @device_printf(i32 noundef %0, ptr noundef nonnull %184) #3 br label %186 186: ; preds = %178, %183, %159 %187 = call i32 @mtk_pcie_phy_stop(i32 noundef %0) #3 %188 = call i32 @rman_fini(ptr noundef nonnull %105) #3 %189 = call i32 @rman_fini(ptr noundef nonnull %90) #3 %190 = call i32 @rman_fini(ptr noundef nonnull %74) #3 br label %191 191: ; preds = %186, %114, %101, %86, %61, %53 store ptr null, ptr @mt_sc, align 8, !tbaa !14 %192 = load ptr, ptr %10, align 8, !tbaa !17 %193 = load ptr, ptr %192, align 8, !tbaa !14 %194 = icmp eq ptr %193, null br i1 %194, label %199, label %195 195: ; preds = %191 %196 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !16 %197 = call i32 @bus_release_resource(i32 noundef %0, i32 noundef %196, i32 noundef 0, ptr noundef nonnull %193) #3 %198 = load ptr, ptr %10, align 8, !tbaa !17 br label %199 199: ; preds = %195, %191 %200 = phi ptr [ %198, %195 ], [ %192, %191 ] %201 = getelementptr inbounds i8, ptr %200, i64 8 %202 = load ptr, ptr %201, align 8, !tbaa !14 %203 = icmp eq ptr %202, null br i1 %203, label %208, label %204 204: ; preds = %199 %205 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !16 %206 = call i32 @bus_release_resource(i32 noundef %0, i32 noundef %205, i32 noundef 0, ptr noundef nonnull %202) #3 %207 = load ptr, ptr %10, align 8, !tbaa !17 br label %208 208: ; preds = %204, %199 %209 = phi ptr [ %207, %204 ], [ %200, %199 ] %210 = getelementptr inbounds i8, ptr %209, i64 16 %211 = load ptr, ptr %210, align 8, !tbaa !14 %212 = icmp eq ptr %211, null br i1 %212, label %217, label %213 213: ; preds = %208 %214 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !16 %215 = call i32 @bus_release_resource(i32 noundef %0, i32 noundef %214, i32 noundef 1, ptr noundef nonnull %211) #3 %216 = load ptr, ptr %10, align 8, !tbaa !17 br label %217 217: ; preds = %213, %208 %218 = phi ptr [ %216, %213 ], [ %209, %208 ] %219 = getelementptr inbounds i8, ptr %218, i64 24 %220 = load ptr, ptr %219, align 8, !tbaa !14 %221 = icmp eq ptr %220, null br i1 %221, label %225, label %222 222: ; preds = %217 %223 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !16 %224 = call i32 @bus_release_resource(i32 noundef %0, i32 noundef %223, i32 noundef 2, ptr noundef nonnull %220) #3 br label %225 225: ; preds = %222, %217 %226 = load i32, ptr @ENXIO, align 4, !tbaa !16 br label %227 227: ; preds = %154, %225, %15 %228 = phi i32 [ %17, %15 ], [ %226, %225 ], [ 0, %154 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret i32 %228 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2 declare ptr @bus_alloc_resource_any(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @device_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #2 declare i64 @OF_xref_from_node(i32 noundef) local_unnamed_addr #2 declare i64 @mtk_pci_ranges(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @rman_init(ptr noundef) local_unnamed_addr #2 declare i64 @rman_manage_region(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @mtk_pcie_phy_init(i32 noundef) local_unnamed_addr #2 declare ptr @intr_pic_register(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @bus_setup_intr(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @device_add_child(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @bus_generic_attach(i32 noundef) local_unnamed_addr #2 declare i32 @bus_teardown_intr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtk_pcie_phy_stop(i32 noundef) local_unnamed_addr #2 declare i32 @rman_fini(ptr noundef) local_unnamed_addr #2 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 136} !7 = !{!"mtk_pci_softc", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !13, i64 32, !13, i64 48, !13, i64 64, !12, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !8, i64 136} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_4__", !12, i64 0, !12, i64 8} !14 = !{!12, !12, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !12, i64 24} !18 = !{!7, !11, i64 8} !19 = !{!11, !11, i64 0} !20 = !{!7, !12, i64 80} !21 = !{!7, !8, i64 16} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!7, !11, i64 96} !25 = !{!7, !11, i64 88} !26 = !{!7, !12, i64 40} !27 = !{!7, !12, i64 32} !28 = !{!7, !11, i64 128} !29 = !{!7, !11, i64 120} !30 = !{!7, !12, i64 56} !31 = !{!7, !12, i64 48} !32 = !{!7, !11, i64 112} !33 = !{!7, !11, i64 104} !34 = !{!7, !12, i64 72} !35 = !{!7, !12, i64 64} !36 = distinct !{!36, !23} !37 = distinct !{!37, !23}
freebsd_sys_mips_mediatek_extr_mtk_pcie.c_mtk_pci_attach
; ModuleID = 'AnghaBench/git/compat/extr_mingw.c_mingw_accept.c' source_filename = "AnghaBench/git/compat/extr_mingw.c_mingw_accept.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @O_RDWR = dso_local local_unnamed_addr global i32 0, align 4 @O_BINARY = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"unable to make a socket file descriptor: %s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @mingw_accept(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @_get_osfhandle(i32 noundef %0) #2 %5 = tail call i32 @accept(i32 noundef %4, ptr noundef %1, ptr noundef %2) #2 %6 = load i32, ptr @O_RDWR, align 4, !tbaa !5 %7 = load i32, ptr @O_BINARY, align 4, !tbaa !5 %8 = or i32 %7, %6 %9 = tail call i32 @_open_osfhandle(i32 noundef %5, i32 noundef %8) #2 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = load i32, ptr @errno, align 4, !tbaa !5 %13 = tail call i32 @closesocket(i32 noundef %5) #2 %14 = tail call i32 @strerror(i32 noundef %12) #2 %15 = tail call i32 @error(ptr noundef nonnull @.str, i32 noundef %14) #2 br label %16 16: ; preds = %3, %11 %17 = phi i32 [ %15, %11 ], [ %9, %3 ] ret i32 %17 } declare i32 @_get_osfhandle(i32 noundef) local_unnamed_addr #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_open_osfhandle(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @closesocket(i32 noundef) local_unnamed_addr #1 declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strerror(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/git/compat/extr_mingw.c_mingw_accept.c' source_filename = "AnghaBench/git/compat/extr_mingw.c_mingw_accept.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @O_RDWR = common local_unnamed_addr global i32 0, align 4 @O_BINARY = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"unable to make a socket file descriptor: %s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mingw_accept(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @_get_osfhandle(i32 noundef %0) #2 %5 = tail call i32 @accept(i32 noundef %4, ptr noundef %1, ptr noundef %2) #2 %6 = load i32, ptr @O_RDWR, align 4, !tbaa !6 %7 = load i32, ptr @O_BINARY, align 4, !tbaa !6 %8 = or i32 %7, %6 %9 = tail call i32 @_open_osfhandle(i32 noundef %5, i32 noundef %8) #2 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = load i32, ptr @errno, align 4, !tbaa !6 %13 = tail call i32 @closesocket(i32 noundef %5) #2 %14 = tail call i32 @strerror(i32 noundef %12) #2 %15 = tail call i32 @error(ptr noundef nonnull @.str, i32 noundef %14) #2 br label %16 16: ; preds = %3, %11 %17 = phi i32 [ %15, %11 ], [ %9, %3 ] ret i32 %17 } declare i32 @_get_osfhandle(i32 noundef) local_unnamed_addr #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @_open_osfhandle(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @closesocket(i32 noundef) local_unnamed_addr #1 declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strerror(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"}
git_compat_extr_mingw.c_mingw_accept
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/extr_sriov.c_efx_sriov_set_vf_mac.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/extr_sriov.c_efx_sriov_set_vf_mac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @efx_sriov_set_vf_mac(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @netdev_priv(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %3 %9 = tail call i32 %6(ptr noundef nonnull %4, i32 noundef %1, ptr noundef %2) #2 br label %13 10: ; preds = %3 %11 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12 %12 = sub nsw i32 0, %11 br label %13 13: ; preds = %10, %8 %14 = phi i32 [ %9, %8 ], [ %12, %10 ] ret i32 %14 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"efx_nic", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/sfc/extr_sriov.c_efx_sriov_set_vf_mac.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/sfc/extr_sriov.c_efx_sriov_set_vf_mac.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @efx_sriov_set_vf_mac(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @netdev_priv(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %3 %9 = tail call i32 %6(ptr noundef nonnull %4, i32 noundef %1, ptr noundef %2) #2 br label %13 10: ; preds = %3 %11 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13 %12 = sub nsw i32 0, %11 br label %13 13: ; preds = %10, %8 %14 = phi i32 [ %9, %8 ], [ %12, %10 ] ret i32 %14 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"efx_nic", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
linux_drivers_net_ethernet_sfc_extr_sriov.c_efx_sriov_set_vf_mac
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_rport.c_bfa_fcs_rpf_sm_rpsc_retry.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_rport.c_bfa_fcs_rpf_sm_rpsc_retry.c" target datalayout = "e-m:e-p270:32:32-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.bfa_fcs_rpf_s = type { i32, i32, ptr } %struct.bfa_fcs_rport_s = type { i32, i32 } @bfa_fcs_rpf_sm_rpsc_sending = dso_local local_unnamed_addr global i32 0, align 4 @bfa_fcs_rpf_sm_offline = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_fcs_rpf_sm_rpsc_retry], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bfa_fcs_rpf_sm_rpsc_retry(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.bfa_fcs_rpf_s, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.bfa_fcs_rport_s, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr %4, align 4, !tbaa !13 %8 = tail call i32 @bfa_trc(i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr %5, align 4, !tbaa !11 %10 = tail call i32 @bfa_trc(i32 noundef %9, i32 noundef %1) #2 switch i32 %1, label %20 [ i32 128, label %11 i32 129, label %15 ] 11: ; preds = %2 %12 = load i32, ptr @bfa_fcs_rpf_sm_rpsc_sending, align 4, !tbaa !14 %13 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %12) #2 %14 = tail call i32 @bfa_fcs_rpf_send_rpsc2(ptr noundef nonnull %0, ptr noundef null) #2 br label %23 15: ; preds = %2 %16 = getelementptr inbounds %struct.bfa_fcs_rpf_s, ptr %0, i64 0, i32 1 %17 = tail call i32 @bfa_timer_stop(ptr noundef nonnull %16) #2 %18 = load i32, ptr @bfa_fcs_rpf_sm_offline, align 4, !tbaa !14 %19 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %18) #2 store i32 0, ptr %0, align 8, !tbaa !15 br label %23 20: ; preds = %2 %21 = load i32, ptr %5, align 4, !tbaa !11 %22 = tail call i32 @bfa_sm_fault(i32 noundef %21, i32 noundef %1) #2 br label %23 23: ; preds = %20, %15, %11 ret void } declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_sm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_fcs_rpf_send_rpsc2(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bfa_timer_stop(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_fault(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 = !{!"bfa_fcs_rpf_s", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 4} !12 = !{!"bfa_fcs_rport_s", !7, i64 0, !7, i64 4} !13 = !{!12, !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_rport.c_bfa_fcs_rpf_sm_rpsc_retry.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_rport.c_bfa_fcs_rpf_sm_rpsc_retry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bfa_fcs_rpf_sm_rpsc_sending = common local_unnamed_addr global i32 0, align 4 @bfa_fcs_rpf_sm_offline = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bfa_fcs_rpf_sm_rpsc_retry], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bfa_fcs_rpf_sm_rpsc_retry(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = load i32, ptr %4, align 4, !tbaa !14 %8 = tail call i32 @bfa_trc(i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr %5, align 4, !tbaa !12 %10 = tail call i32 @bfa_trc(i32 noundef %9, i32 noundef %1) #2 switch i32 %1, label %20 [ i32 128, label %11 i32 129, label %15 ] 11: ; preds = %2 %12 = load i32, ptr @bfa_fcs_rpf_sm_rpsc_sending, align 4, !tbaa !15 %13 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %12) #2 %14 = tail call i32 @bfa_fcs_rpf_send_rpsc2(ptr noundef nonnull %0, ptr noundef null) #2 br label %23 15: ; preds = %2 %16 = getelementptr inbounds i8, ptr %0, i64 4 %17 = tail call i32 @bfa_timer_stop(ptr noundef nonnull %16) #2 %18 = load i32, ptr @bfa_fcs_rpf_sm_offline, align 4, !tbaa !15 %19 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %18) #2 store i32 0, ptr %0, align 8, !tbaa !16 br label %23 20: ; preds = %2 %21 = load i32, ptr %5, align 4, !tbaa !12 %22 = tail call i32 @bfa_sm_fault(i32 noundef %21, i32 noundef %1) #2 br label %23 23: ; preds = %20, %15, %11 ret void } declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_sm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_fcs_rpf_send_rpsc2(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bfa_timer_stop(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_fault(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 = !{!"bfa_fcs_rpf_s", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 4} !13 = !{!"bfa_fcs_rport_s", !8, i64 0, !8, i64 4} !14 = !{!13, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_scsi_bfa_extr_bfa_fcs_rport.c_bfa_fcs_rpf_sm_rpsc_retry
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_lcd.c_am335x_lcd_fb_getinfo.c' source_filename = "AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_lcd.c_am335x_lcd_fb_getinfo.c" target datalayout = "e-m:e-p270:32:32-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 @am335x_lcd_fb_getinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @am335x_lcd_fb_getinfo(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 ret ptr %2 } 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)"}
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_lcd.c_am335x_lcd_fb_getinfo.c' source_filename = "AnghaBench/freebsd/sys/arm/ti/am335x/extr_am335x_lcd.c_am335x_lcd_fb_getinfo.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 @am335x_lcd_fb_getinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @am335x_lcd_fb_getinfo(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 ret ptr %2 } 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)"}
freebsd_sys_arm_ti_am335x_extr_am335x_lcd.c_am335x_lcd_fb_getinfo
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_physical.c_physical_RemoveFromSet.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_physical.c_physical_RemoveFromSet.c" target datalayout = "e-m:e-p270:32:32-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.physical = type { i64, %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { i32 } @LogTIMER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"%s: fdunset(r) %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"%s: fdunset(e) %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"%s: fdunset(w) %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @physical_RemoveFromSet(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds %struct.physical, ptr %0, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %4 %9 = load ptr, ptr %6, align 8, !tbaa !13 %10 = icmp eq ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 %9(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 br label %61 13: ; preds = %8, %4 %14 = load i64, ptr %0, align 8, !tbaa !15 %15 = icmp sgt i64 %14, -1 br i1 %15, label %16, label %61 16: ; preds = %13 %17 = icmp eq ptr %1, null br i1 %17, label %29, label %18 18: ; preds = %16 %19 = tail call i64 @FD_ISSET(i64 noundef %14, ptr noundef nonnull %1) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %29, label %21 21: ; preds = %18 %22 = load i64, ptr %0, align 8, !tbaa !15 %23 = tail call i32 @FD_CLR(i64 noundef %22, ptr noundef nonnull %1) #2 %24 = load i32, ptr @LogTIMER, align 4, !tbaa !16 %25 = getelementptr inbounds %struct.physical, ptr %0, i64 0, i32 1 %26 = load i32, ptr %25, align 8, !tbaa !17 %27 = load i64, ptr %0, align 8, !tbaa !15 %28 = tail call i32 @log_Printf(i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %26, i64 noundef %27) #2 br label %29 29: ; preds = %21, %18, %16 %30 = phi i32 [ 1, %21 ], [ 0, %18 ], [ 0, %16 ] %31 = icmp eq ptr %3, null br i1 %31, label %45, label %32 32: ; preds = %29 %33 = load i64, ptr %0, align 8, !tbaa !15 %34 = tail call i64 @FD_ISSET(i64 noundef %33, ptr noundef nonnull %3) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %45, label %36 36: ; preds = %32 %37 = load i64, ptr %0, align 8, !tbaa !15 %38 = tail call i32 @FD_CLR(i64 noundef %37, ptr noundef nonnull %3) #2 %39 = load i32, ptr @LogTIMER, align 4, !tbaa !16 %40 = getelementptr inbounds %struct.physical, ptr %0, i64 0, i32 1 %41 = load i32, ptr %40, align 8, !tbaa !17 %42 = load i64, ptr %0, align 8, !tbaa !15 %43 = tail call i32 @log_Printf(i32 noundef %39, ptr noundef nonnull @.str.1, i32 noundef %41, i64 noundef %42) #2 %44 = add nuw nsw i32 %30, 1 br label %45 45: ; preds = %36, %32, %29 %46 = phi i32 [ %44, %36 ], [ %30, %32 ], [ %30, %29 ] %47 = icmp eq ptr %2, null br i1 %47, label %61, label %48 48: ; preds = %45 %49 = load i64, ptr %0, align 8, !tbaa !15 %50 = tail call i64 @FD_ISSET(i64 noundef %49, ptr noundef nonnull %2) #2 %51 = icmp eq i64 %50, 0 br i1 %51, label %61, label %52 52: ; preds = %48 %53 = load i64, ptr %0, align 8, !tbaa !15 %54 = tail call i32 @FD_CLR(i64 noundef %53, ptr noundef nonnull %2) #2 %55 = load i32, ptr @LogTIMER, align 4, !tbaa !16 %56 = getelementptr inbounds %struct.physical, ptr %0, i64 0, i32 1 %57 = load i32, ptr %56, align 8, !tbaa !17 %58 = load i64, ptr %0, align 8, !tbaa !15 %59 = tail call i32 @log_Printf(i32 noundef %55, ptr noundef nonnull @.str.2, i32 noundef %57, i64 noundef %58) #2 %60 = add nuw nsw i32 %46, 1 br label %61 61: ; preds = %13, %52, %48, %45, %11 %62 = phi i32 [ %12, %11 ], [ %60, %52 ], [ %46, %48 ], [ %46, %45 ], [ 0, %13 ] ret i32 %62 } declare i64 @FD_ISSET(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FD_CLR(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @log_Printf(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, !12, i64 16} !6 = !{!"physical", !7, i64 0, !10, i64 8, !12, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!6, !11, i64 8}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_physical.c_physical_RemoveFromSet.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_physical.c_physical_RemoveFromSet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LogTIMER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"%s: fdunset(r) %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"%s: fdunset(e) %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"%s: fdunset(w) %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @physical_RemoveFromSet(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %4 %9 = load ptr, ptr %6, align 8, !tbaa !14 %10 = icmp eq ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 %9(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 br label %61 13: ; preds = %8, %4 %14 = load i64, ptr %0, align 8, !tbaa !16 %15 = icmp sgt i64 %14, -1 br i1 %15, label %16, label %61 16: ; preds = %13 %17 = icmp eq ptr %1, null br i1 %17, label %29, label %18 18: ; preds = %16 %19 = tail call i64 @FD_ISSET(i64 noundef %14, ptr noundef nonnull %1) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %29, label %21 21: ; preds = %18 %22 = load i64, ptr %0, align 8, !tbaa !16 %23 = tail call i32 @FD_CLR(i64 noundef %22, ptr noundef nonnull %1) #2 %24 = load i32, ptr @LogTIMER, align 4, !tbaa !17 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load i32, ptr %25, align 8, !tbaa !18 %27 = load i64, ptr %0, align 8, !tbaa !16 %28 = tail call i32 @log_Printf(i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %26, i64 noundef %27) #2 br label %29 29: ; preds = %21, %18, %16 %30 = phi i32 [ 1, %21 ], [ 0, %18 ], [ 0, %16 ] %31 = icmp eq ptr %3, null br i1 %31, label %45, label %32 32: ; preds = %29 %33 = load i64, ptr %0, align 8, !tbaa !16 %34 = tail call i64 @FD_ISSET(i64 noundef %33, ptr noundef nonnull %3) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %45, label %36 36: ; preds = %32 %37 = load i64, ptr %0, align 8, !tbaa !16 %38 = tail call i32 @FD_CLR(i64 noundef %37, ptr noundef nonnull %3) #2 %39 = load i32, ptr @LogTIMER, align 4, !tbaa !17 %40 = getelementptr inbounds i8, ptr %0, i64 8 %41 = load i32, ptr %40, align 8, !tbaa !18 %42 = load i64, ptr %0, align 8, !tbaa !16 %43 = tail call i32 @log_Printf(i32 noundef %39, ptr noundef nonnull @.str.1, i32 noundef %41, i64 noundef %42) #2 %44 = add nuw nsw i32 %30, 1 br label %45 45: ; preds = %36, %32, %29 %46 = phi i32 [ %44, %36 ], [ %30, %32 ], [ %30, %29 ] %47 = icmp eq ptr %2, null br i1 %47, label %61, label %48 48: ; preds = %45 %49 = load i64, ptr %0, align 8, !tbaa !16 %50 = tail call i64 @FD_ISSET(i64 noundef %49, ptr noundef nonnull %2) #2 %51 = icmp eq i64 %50, 0 br i1 %51, label %61, label %52 52: ; preds = %48 %53 = load i64, ptr %0, align 8, !tbaa !16 %54 = tail call i32 @FD_CLR(i64 noundef %53, ptr noundef nonnull %2) #2 %55 = load i32, ptr @LogTIMER, align 4, !tbaa !17 %56 = getelementptr inbounds i8, ptr %0, i64 8 %57 = load i32, ptr %56, align 8, !tbaa !18 %58 = load i64, ptr %0, align 8, !tbaa !16 %59 = tail call i32 @log_Printf(i32 noundef %55, ptr noundef nonnull @.str.2, i32 noundef %57, i64 noundef %58) #2 %60 = add nuw nsw i32 %46, 1 br label %61 61: ; preds = %13, %52, %48, %45, %11 %62 = phi i32 [ %12, %11 ], [ %60, %52 ], [ %46, %48 ], [ %46, %45 ], [ 0, %13 ] ret i32 %62 } declare i64 @FD_ISSET(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FD_CLR(i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @log_Printf(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, !13, i64 16} !7 = !{!"physical", !8, i64 0, !11, i64 8, !13, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_3__", !13, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!12, !12, i64 0} !18 = !{!7, !12, i64 8}
freebsd_usr.sbin_ppp_extr_physical.c_physical_RemoveFromSet
; ModuleID = 'AnghaBench/openwrt/package/system/mtd/src/extr_jffs2.c_add_dirent.c' source_filename = "AnghaBench/openwrt/package/system/mtd/src/extr_jffs2.c_add_dirent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.jffs2_raw_dirent = type { i8, i32, i32, i64, i32, ptr, i64, i64, ptr, i64, ptr, i32, i32 } @ofs = dso_local local_unnamed_addr global i64 0, align 8 @erasesize = dso_local local_unnamed_addr global i64 0, align 8 @last_ino = dso_local local_unnamed_addr global i32 0, align 4 @buf = dso_local local_unnamed_addr global i64 0, align 8 @JFFS2_MAGIC_BITMASK = dso_local local_unnamed_addr global i32 0, align 4 @JFFS2_NODETYPE_DIRENT = dso_local local_unnamed_addr global i32 0, align 4 @last_version = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_dirent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @add_dirent(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 { %4 = load i64, ptr @ofs, align 8, !tbaa !5 %5 = load i64, ptr @erasesize, align 8, !tbaa !5 %6 = sub nsw i64 %4, %5 %7 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %8 = add i64 %7, 88 %9 = icmp ult i64 %6, %8 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = trunc i64 %5 to i32 %12 = tail call i32 @pad(i32 noundef %11) #3 br label %13 13: ; preds = %10, %3 %14 = tail call i32 (...) @prep_eraseblock() #3 %15 = load i32, ptr @last_ino, align 4, !tbaa !9 %16 = add nsw i32 %15, 1 store i32 %16, ptr @last_ino, align 4, !tbaa !9 %17 = load i64, ptr @buf, align 8, !tbaa !5 %18 = load i64, ptr @ofs, align 8, !tbaa !5 %19 = add nsw i64 %18, %17 %20 = tail call i32 @memset(i64 noundef %19, i32 noundef 0, i32 noundef 88) #3 %21 = load i64, ptr @buf, align 8, !tbaa !5 %22 = load i64, ptr @ofs, align 8, !tbaa !5 %23 = add nsw i64 %22, %21 %24 = inttoptr i64 %23 to ptr %25 = load i32, ptr @JFFS2_MAGIC_BITMASK, align 4, !tbaa !9 %26 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 12 store i32 %25, ptr %26, align 4, !tbaa !11 %27 = load i32, ptr @JFFS2_NODETYPE_DIRENT, align 4, !tbaa !9 %28 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 11 store i32 %27, ptr %28, align 8, !tbaa !14 store i8 %1, ptr %24, align 8, !tbaa !15 %29 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %30 = trunc i64 %29 to i32 %31 = tail call ptr @crc32(i32 noundef 0, ptr noundef %0, i32 noundef %30) #3 %32 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 10 store ptr %31, ptr %32, align 8, !tbaa !16 %33 = load i32, ptr @last_ino, align 4, !tbaa !9 %34 = add nsw i32 %33, 1 store i32 %34, ptr @last_ino, align 4, !tbaa !9 %35 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 1 store i32 %33, ptr %35, align 4, !tbaa !17 %36 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 2 store i32 %2, ptr %36, align 8, !tbaa !18 %37 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %38 = add i64 %37, 88 %39 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 9 store i64 %38, ptr %39, align 8, !tbaa !19 %40 = tail call ptr @crc32(i32 noundef 0, ptr noundef nonnull %24, i32 noundef 0) #3 %41 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 8 store ptr %40, ptr %41, align 8, !tbaa !20 %42 = load i32, ptr @last_version, align 4, !tbaa !9 %43 = add nsw i32 %42, 1 store i32 %43, ptr @last_version, align 4, !tbaa !9 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 7 store i64 %44, ptr %45, align 8, !tbaa !21 %46 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 6 store i64 0, ptr %46, align 8, !tbaa !22 %47 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %48 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 3 store i64 %47, ptr %48, align 8, !tbaa !23 %49 = tail call ptr @crc32(i32 noundef 0, ptr noundef nonnull %24, i32 noundef 80) #3 %50 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 5 store ptr %49, ptr %50, align 8, !tbaa !24 %51 = getelementptr inbounds %struct.jffs2_raw_dirent, ptr %24, i64 0, i32 4 %52 = load i32, ptr %51, align 8, !tbaa !25 %53 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %54 = tail call i32 @memcpy(i32 noundef %52, ptr noundef %0, i64 noundef %53) #3 %55 = load i64, ptr %48, align 8, !tbaa !23 %56 = add i64 %55, 88 %57 = load i64, ptr @ofs, align 8, !tbaa !5 %58 = add i64 %56, %57 store i64 %58, ptr @ofs, align 8, !tbaa !5 %59 = tail call i32 @pad(i32 noundef 4) #3 %60 = load i32, ptr %35, align 4, !tbaa !17 ret i32 %60 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i32 @pad(i32 noundef) local_unnamed_addr #2 declare i32 @prep_eraseblock(...) local_unnamed_addr #2 declare i32 @memset(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @crc32(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 84} !12 = !{!"jffs2_raw_dirent", !7, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !10, i64 24, !13, i64 32, !6, i64 40, !6, i64 48, !13, i64 56, !6, i64 64, !13, i64 72, !10, i64 80, !10, i64 84} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !10, i64 80} !15 = !{!12, !7, i64 0} !16 = !{!12, !13, i64 72} !17 = !{!12, !10, i64 4} !18 = !{!12, !10, i64 8} !19 = !{!12, !6, i64 64} !20 = !{!12, !13, i64 56} !21 = !{!12, !6, i64 48} !22 = !{!12, !6, i64 40} !23 = !{!12, !6, i64 16} !24 = !{!12, !13, i64 32} !25 = !{!12, !10, i64 24}
; ModuleID = 'AnghaBench/openwrt/package/system/mtd/src/extr_jffs2.c_add_dirent.c' source_filename = "AnghaBench/openwrt/package/system/mtd/src/extr_jffs2.c_add_dirent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ofs = common local_unnamed_addr global i64 0, align 8 @erasesize = common local_unnamed_addr global i64 0, align 8 @last_ino = common local_unnamed_addr global i32 0, align 4 @buf = common local_unnamed_addr global i64 0, align 8 @JFFS2_MAGIC_BITMASK = common local_unnamed_addr global i32 0, align 4 @JFFS2_NODETYPE_DIRENT = common local_unnamed_addr global i32 0, align 4 @last_version = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @add_dirent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @add_dirent(ptr noundef %0, i8 noundef signext %1, i32 noundef %2) #0 { %4 = load i64, ptr @ofs, align 8, !tbaa !6 %5 = load i64, ptr @erasesize, align 8, !tbaa !6 %6 = sub nsw i64 %4, %5 %7 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %8 = add i64 %7, 88 %9 = icmp ult i64 %6, %8 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = trunc i64 %5 to i32 %12 = tail call i32 @pad(i32 noundef %11) #3 br label %13 13: ; preds = %10, %3 %14 = tail call i32 @prep_eraseblock() #3 %15 = load i32, ptr @last_ino, align 4, !tbaa !10 %16 = add nsw i32 %15, 1 store i32 %16, ptr @last_ino, align 4, !tbaa !10 %17 = load i64, ptr @buf, align 8, !tbaa !6 %18 = load i64, ptr @ofs, align 8, !tbaa !6 %19 = add nsw i64 %18, %17 %20 = tail call i32 @memset(i64 noundef %19, i32 noundef 0, i32 noundef 88) #3 %21 = load i64, ptr @buf, align 8, !tbaa !6 %22 = load i64, ptr @ofs, align 8, !tbaa !6 %23 = add nsw i64 %22, %21 %24 = inttoptr i64 %23 to ptr %25 = load i32, ptr @JFFS2_MAGIC_BITMASK, align 4, !tbaa !10 %26 = getelementptr inbounds i8, ptr %24, i64 84 store i32 %25, ptr %26, align 4, !tbaa !12 %27 = load i32, ptr @JFFS2_NODETYPE_DIRENT, align 4, !tbaa !10 %28 = getelementptr inbounds i8, ptr %24, i64 80 store i32 %27, ptr %28, align 8, !tbaa !15 store i8 %1, ptr %24, align 8, !tbaa !16 %29 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %30 = trunc i64 %29 to i32 %31 = tail call ptr @crc32(i32 noundef 0, ptr noundef %0, i32 noundef %30) #3 %32 = getelementptr inbounds i8, ptr %24, i64 72 store ptr %31, ptr %32, align 8, !tbaa !17 %33 = load i32, ptr @last_ino, align 4, !tbaa !10 %34 = add nsw i32 %33, 1 store i32 %34, ptr @last_ino, align 4, !tbaa !10 %35 = getelementptr inbounds i8, ptr %24, i64 4 store i32 %33, ptr %35, align 4, !tbaa !18 %36 = getelementptr inbounds i8, ptr %24, i64 8 store i32 %2, ptr %36, align 8, !tbaa !19 %37 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %38 = add i64 %37, 88 %39 = getelementptr inbounds i8, ptr %24, i64 64 store i64 %38, ptr %39, align 8, !tbaa !20 %40 = tail call ptr @crc32(i32 noundef 0, ptr noundef nonnull %24, i32 noundef 0) #3 %41 = getelementptr inbounds i8, ptr %24, i64 56 store ptr %40, ptr %41, align 8, !tbaa !21 %42 = load i32, ptr @last_version, align 4, !tbaa !10 %43 = add nsw i32 %42, 1 store i32 %43, ptr @last_version, align 4, !tbaa !10 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i8, ptr %24, i64 48 store i64 %44, ptr %45, align 8, !tbaa !22 %46 = getelementptr inbounds i8, ptr %24, i64 40 store i64 0, ptr %46, align 8, !tbaa !23 %47 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %48 = getelementptr inbounds i8, ptr %24, i64 16 store i64 %47, ptr %48, align 8, !tbaa !24 %49 = tail call ptr @crc32(i32 noundef 0, ptr noundef nonnull %24, i32 noundef 80) #3 %50 = getelementptr inbounds i8, ptr %24, i64 32 store ptr %49, ptr %50, align 8, !tbaa !25 %51 = getelementptr inbounds i8, ptr %24, i64 24 %52 = load i32, ptr %51, align 8, !tbaa !26 %53 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %54 = tail call i32 @memcpy(i32 noundef %52, ptr noundef %0, i64 noundef %53) #3 %55 = load i64, ptr %48, align 8, !tbaa !24 %56 = add i64 %55, 88 %57 = load i64, ptr @ofs, align 8, !tbaa !6 %58 = add i64 %56, %57 store i64 %58, ptr @ofs, align 8, !tbaa !6 %59 = tail call i32 @pad(i32 noundef 4) #3 %60 = load i32, ptr %35, align 4, !tbaa !18 ret i32 %60 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i32 @pad(i32 noundef) local_unnamed_addr #2 declare i32 @prep_eraseblock(...) local_unnamed_addr #2 declare i32 @memset(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @crc32(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 84} !13 = !{!"jffs2_raw_dirent", !8, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !11, i64 24, !14, i64 32, !7, i64 40, !7, i64 48, !14, i64 56, !7, i64 64, !14, i64 72, !11, i64 80, !11, i64 84} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !11, i64 80} !16 = !{!13, !8, i64 0} !17 = !{!13, !14, i64 72} !18 = !{!13, !11, i64 4} !19 = !{!13, !11, i64 8} !20 = !{!13, !7, i64 64} !21 = !{!13, !14, i64 56} !22 = !{!13, !7, i64 48} !23 = !{!13, !7, i64 40} !24 = !{!13, !7, i64 16} !25 = !{!13, !14, i64 32} !26 = !{!13, !11, i64 24}
openwrt_package_system_mtd_src_extr_jffs2.c_add_dirent
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-script.c_set_maps.c' source_filename = "AnghaBench/linux/tools/perf/extr_builtin-script.c_set_maps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.perf_script = type { i32, i32, i32, ptr } @.str = private unnamed_addr constant [25 x i8] c"stats double allocation\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_maps], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @set_maps(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.perf_script, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.perf_script, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 8, !tbaa !13 %7 = icmp eq i32 %6, 0 br i1 %7, label %29, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.perf_script, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = icmp eq i32 %10, 0 br i1 %11, label %29, label %12 12: ; preds = %8 %13 = load i32, ptr %0, align 8, !tbaa !15 %14 = tail call i64 @WARN_ONCE(i32 noundef %13, ptr noundef nonnull @.str) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %12 %17 = load i32, ptr @EINVAL, align 4, !tbaa !16 %18 = sub nsw i32 0, %17 br label %29 19: ; preds = %12 %20 = load i32, ptr %5, align 8, !tbaa !13 %21 = load i32, ptr %9, align 4, !tbaa !14 %22 = tail call i32 @perf_evlist__set_maps(ptr noundef %4, i32 noundef %20, i32 noundef %21) #2 %23 = tail call i64 @perf_evlist__alloc_stats(ptr noundef %4, i32 noundef 1) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %19 %26 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %27 = sub nsw i32 0, %26 br label %29 28: ; preds = %19 store i32 1, ptr %0, align 8, !tbaa !15 br label %29 29: ; preds = %1, %8, %28, %25, %16 %30 = phi i32 [ %18, %16 ], [ %27, %25 ], [ 0, %28 ], [ 0, %8 ], [ 0, %1 ] ret i32 %30 } declare i64 @WARN_ONCE(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @perf_evlist__set_maps(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @perf_evlist__alloc_stats(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"perf_script", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_2__", !10, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!6, !7, i64 4} !15 = !{!6, !7, i64 0} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-script.c_set_maps.c' source_filename = "AnghaBench/linux/tools/perf/extr_builtin-script.c_set_maps.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 [25 x i8] c"stats double allocation\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_maps], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @set_maps(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !14 %7 = icmp eq i32 %6, 0 br i1 %7, label %29, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = icmp eq i32 %10, 0 br i1 %11, label %29, label %12 12: ; preds = %8 %13 = load i32, ptr %0, align 8, !tbaa !16 %14 = tail call i64 @WARN_ONCE(i32 noundef %13, ptr noundef nonnull @.str) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %12 %17 = load i32, ptr @EINVAL, align 4, !tbaa !17 %18 = sub nsw i32 0, %17 br label %29 19: ; preds = %12 %20 = load i32, ptr %5, align 8, !tbaa !14 %21 = load i32, ptr %9, align 4, !tbaa !15 %22 = tail call i32 @perf_evlist__set_maps(ptr noundef %4, i32 noundef %20, i32 noundef %21) #2 %23 = tail call i64 @perf_evlist__alloc_stats(ptr noundef %4, i32 noundef 1) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %19 %26 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %27 = sub nsw i32 0, %26 br label %29 28: ; preds = %19 store i32 1, ptr %0, align 8, !tbaa !16 br label %29 29: ; preds = %1, %8, %28, %25, %16 %30 = phi i32 [ %18, %16 ], [ %27, %25 ], [ 0, %28 ], [ 0, %8 ], [ 0, %1 ] ret i32 %30 } declare i64 @WARN_ONCE(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @perf_evlist__set_maps(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @perf_evlist__alloc_stats(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"perf_script", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!7, !8, i64 4} !16 = !{!7, !8, i64 0} !17 = !{!8, !8, i64 0}
linux_tools_perf_extr_builtin-script.c_set_maps
; ModuleID = 'AnghaBench/linux/arch/s390/kernel/extr_ipl.c___reipl_run.c' source_filename = "AnghaBench/linux/arch/s390/kernel/extr_ipl.c___reipl_run.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @reipl_type = dso_local local_unnamed_addr global i32 0, align 4 @DIAG308_SET = dso_local local_unnamed_addr global i32 0, align 4 @reipl_block_ccw = dso_local local_unnamed_addr global ptr null, align 8 @DIAG308_LOAD_CLEAR = dso_local local_unnamed_addr global i32 0, align 4 @reipl_block_fcp = dso_local local_unnamed_addr global ptr null, align 8 @reipl_block_nss = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @__reipl_run], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__reipl_run(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @reipl_type, align 4, !tbaa !5 switch i32 %2, label %13 [ i32 132, label %5 i32 131, label %3 i32 129, label %4 i32 128, label %10 ] 3: ; preds = %1 br label %5 4: ; preds = %1 br label %5 5: ; preds = %1, %4, %3 %6 = phi ptr [ @reipl_block_fcp, %3 ], [ @reipl_block_nss, %4 ], [ @reipl_block_ccw, %1 ] %7 = load i32, ptr @DIAG308_SET, align 4, !tbaa !5 %8 = load ptr, ptr %6, align 8, !tbaa !9 %9 = tail call i32 @diag308(i32 noundef %7, ptr noundef %8) #2 br label %10 10: ; preds = %5, %1 %11 = load i32, ptr @DIAG308_LOAD_CLEAR, align 4, !tbaa !5 %12 = tail call i32 @diag308(i32 noundef %11, ptr noundef null) #2 br label %13 13: ; preds = %10, %1 %14 = tail call i32 (...) @disabled_wait() #2 ret void } declare i32 @diag308(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @disabled_wait(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/linux/arch/s390/kernel/extr_ipl.c___reipl_run.c' source_filename = "AnghaBench/linux/arch/s390/kernel/extr_ipl.c___reipl_run.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @reipl_type = common local_unnamed_addr global i32 0, align 4 @DIAG308_SET = common local_unnamed_addr global i32 0, align 4 @reipl_block_ccw = common local_unnamed_addr global ptr null, align 8 @DIAG308_LOAD_CLEAR = common local_unnamed_addr global i32 0, align 4 @reipl_block_fcp = common local_unnamed_addr global ptr null, align 8 @reipl_block_nss = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @__reipl_run], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__reipl_run(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @reipl_type, align 4, !tbaa !6 switch i32 %2, label %13 [ i32 132, label %5 i32 131, label %3 i32 129, label %4 i32 128, label %10 ] 3: ; preds = %1 br label %5 4: ; preds = %1 br label %5 5: ; preds = %1, %4, %3 %6 = phi ptr [ @reipl_block_fcp, %3 ], [ @reipl_block_nss, %4 ], [ @reipl_block_ccw, %1 ] %7 = load i32, ptr @DIAG308_SET, align 4, !tbaa !6 %8 = load ptr, ptr %6, align 8, !tbaa !10 %9 = tail call i32 @diag308(i32 noundef %7, ptr noundef %8) #2 br label %10 10: ; preds = %5, %1 %11 = load i32, ptr @DIAG308_LOAD_CLEAR, align 4, !tbaa !6 %12 = tail call i32 @diag308(i32 noundef %11, ptr noundef null) #2 br label %13 13: ; preds = %10, %1 %14 = tail call i32 @disabled_wait() #2 ret void } declare i32 @diag308(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @disabled_wait(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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}
linux_arch_s390_kernel_extr_ipl.c___reipl_run
; ModuleID = 'AnghaBench/vlc/modules/video_chroma/extr_chain.c_get_allowed_chromas.c' source_filename = "AnghaBench/vlc/modules/video_chroma/extr_chain.c_get_allowed_chromas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pi_allowed_chromas_yuv10 = dso_local local_unnamed_addr global ptr null, align 8 @pi_allowed_chromas_yuv = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_allowed_chromas], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal ptr @get_allowed_chromas(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, 7 %5 = load ptr, ptr @pi_allowed_chromas_yuv10, align 8 %6 = load ptr, ptr @pi_allowed_chromas_yuv, align 8 %7 = select i1 %4, ptr %5, ptr %6 ret ptr %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !9, i64 0} !6 = !{!"TYPE_7__", !7, 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"}
; ModuleID = 'AnghaBench/vlc/modules/video_chroma/extr_chain.c_get_allowed_chromas.c' source_filename = "AnghaBench/vlc/modules/video_chroma/extr_chain.c_get_allowed_chromas.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pi_allowed_chromas_yuv10 = common local_unnamed_addr global ptr null, align 8 @pi_allowed_chromas_yuv = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @get_allowed_chromas], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @get_allowed_chromas(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, 7 %5 = load ptr, ptr @pi_allowed_chromas_yuv10, align 8 %6 = load ptr, ptr @pi_allowed_chromas_yuv, align 8 %7 = select i1 %4, ptr %5, ptr %6 ret ptr %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !10, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"TYPE_5__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"}
vlc_modules_video_chroma_extr_chain.c_get_allowed_chromas
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/crypto/extr_des_s390.c_des3_128_encrypt.c' source_filename = "AnghaBench/fastsocket/kernel/arch/s390/crypto/extr_des_s390.c_des3_128_encrypt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @KM_TDEA_128_ENCRYPT = dso_local local_unnamed_addr global i32 0, align 4 @DES3_128_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @des3_128_encrypt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @des3_128_encrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @crypto_tfm_ctx(ptr noundef %0) #2 %5 = load i32, ptr @KM_TDEA_128_ENCRYPT, align 4, !tbaa !5 %6 = load i32, ptr %4, align 4, !tbaa !9 %7 = load i32, ptr @DES3_128_BLOCK_SIZE, align 4, !tbaa !5 %8 = tail call i32 @crypt_s390_km(i32 noundef %5, i32 noundef %6, ptr noundef %1, ptr noundef %2, i32 noundef %7) #2 ret void } declare ptr @crypto_tfm_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @crypt_s390_km(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"crypt_s390_des3_128_ctx", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/crypto/extr_des_s390.c_des3_128_encrypt.c' source_filename = "AnghaBench/fastsocket/kernel/arch/s390/crypto/extr_des_s390.c_des3_128_encrypt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KM_TDEA_128_ENCRYPT = common local_unnamed_addr global i32 0, align 4 @DES3_128_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @des3_128_encrypt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @des3_128_encrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @crypto_tfm_ctx(ptr noundef %0) #2 %5 = load i32, ptr @KM_TDEA_128_ENCRYPT, align 4, !tbaa !6 %6 = load i32, ptr %4, align 4, !tbaa !10 %7 = load i32, ptr @DES3_128_BLOCK_SIZE, align 4, !tbaa !6 %8 = tail call i32 @crypt_s390_km(i32 noundef %5, i32 noundef %6, ptr noundef %1, ptr noundef %2, i32 noundef %7) #2 ret void } declare ptr @crypto_tfm_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @crypt_s390_km(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"crypt_s390_des3_128_ctx", !7, i64 0}
fastsocket_kernel_arch_s390_crypto_extr_des_s390.c_des3_128_encrypt
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/vga/extr_vga_switcheroo.c_set_audio_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/vga/extr_vga_switcheroo.c_set_audio_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" %struct.TYPE_4__ = type { i32 } %struct.vga_switcheroo_client = type { i32, i32, ptr } @vgasr_priv = dso_local global %struct.TYPE_4__ zeroinitializer, align 4 @ID_BIT_AUDIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_audio_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @set_audio_state(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ID_BIT_AUDIO, align 4, !tbaa !5 %4 = or i32 %3, %0 %5 = tail call ptr @find_client_from_id(ptr noundef nonnull @vgasr_priv, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %17, label %7 7: ; preds = %2 %8 = load i32, ptr %5, align 8, !tbaa !9 %9 = icmp eq i32 %8, %1 br i1 %9, label %17, label %10 10: ; preds = %7 %11 = getelementptr inbounds %struct.vga_switcheroo_client, ptr %5, i64 0, i32 2 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = getelementptr inbounds %struct.vga_switcheroo_client, ptr %5, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = tail call i32 %13(i32 noundef %15, i32 noundef %1) #2 store i32 %1, ptr %5, align 8, !tbaa !9 br label %17 17: ; preds = %10, %7, %2 ret void } declare ptr @find_client_from_id(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 0} !10 = !{!"vga_switcheroo_client", !6, i64 0, !6, i64 4, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_3__", !11, i64 0} !15 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/vga/extr_vga_switcheroo.c_set_audio_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/vga/extr_vga_switcheroo.c_set_audio_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32 } @vgasr_priv = common global %struct.TYPE_4__ zeroinitializer, align 4 @ID_BIT_AUDIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_audio_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @set_audio_state(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @ID_BIT_AUDIO, align 4, !tbaa !6 %4 = or i32 %3, %0 %5 = tail call ptr @find_client_from_id(ptr noundef nonnull @vgasr_priv, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %17, label %7 7: ; preds = %2 %8 = load i32, ptr %5, align 8, !tbaa !10 %9 = icmp eq i32 %8, %1 br i1 %9, label %17, label %10 10: ; preds = %7 %11 = getelementptr inbounds i8, ptr %5, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = getelementptr inbounds i8, ptr %5, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = tail call i32 %13(i32 noundef %15, i32 noundef %1) #2 store i32 %1, ptr %5, align 8, !tbaa !10 br label %17 17: ; preds = %10, %7, %2 ret void } declare ptr @find_client_from_id(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 0} !11 = !{!"vga_switcheroo_client", !7, i64 0, !7, i64 4, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_3__", !12, i64 0} !16 = !{!11, !7, i64 4}
fastsocket_kernel_drivers_gpu_vga_extr_vga_switcheroo.c_set_audio_state
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_smu_v11_0_i2c.c_smu_v11_0_i2c_configure.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_smu_v11_0_i2c.c_smu_v11_0_i2c_configure.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CKSVII2C_IC_CON = dso_local local_unnamed_addr global i32 0, align 4 @IC_SLAVE_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @IC_RESTART_EN = dso_local local_unnamed_addr global i32 0, align 4 @IC_10BITADDR_MASTER = dso_local local_unnamed_addr global i32 0, align 4 @IC_10BITADDR_SLAVE = dso_local local_unnamed_addr global i32 0, align 4 @IC_MAX_SPEED_MODE = dso_local local_unnamed_addr global i32 0, align 4 @IC_MASTER_MODE = dso_local local_unnamed_addr global i32 0, align 4 @SMUIO = dso_local local_unnamed_addr global i32 0, align 4 @mmCKSVII2C_IC_CON = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @smu_v11_0_i2c_configure], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @smu_v11_0_i2c_configure(ptr noundef %0) #0 { %2 = tail call ptr @to_amdgpu_device(ptr noundef %0) #2 %3 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !5 %4 = load i32, ptr @IC_SLAVE_DISABLE, align 4, !tbaa !5 %5 = tail call i32 @REG_SET_FIELD(i32 noundef 0, i32 noundef %3, i32 noundef %4, i32 noundef 1) #2 %6 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !5 %7 = load i32, ptr @IC_RESTART_EN, align 4, !tbaa !5 %8 = tail call i32 @REG_SET_FIELD(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef 1) #2 %9 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !5 %10 = load i32, ptr @IC_10BITADDR_MASTER, align 4, !tbaa !5 %11 = tail call i32 @REG_SET_FIELD(i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef 0) #2 %12 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !5 %13 = load i32, ptr @IC_10BITADDR_SLAVE, align 4, !tbaa !5 %14 = tail call i32 @REG_SET_FIELD(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef 0) #2 %15 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !5 %16 = load i32, ptr @IC_MAX_SPEED_MODE, align 4, !tbaa !5 %17 = tail call i32 @REG_SET_FIELD(i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef 2) #2 %18 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !5 %19 = load i32, ptr @IC_MASTER_MODE, align 4, !tbaa !5 %20 = tail call i32 @REG_SET_FIELD(i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 1) #2 %21 = load i32, ptr @SMUIO, align 4, !tbaa !5 %22 = load i32, ptr @mmCKSVII2C_IC_CON, align 4, !tbaa !5 %23 = tail call i32 @WREG32_SOC15(i32 noundef %21, i32 noundef 0, i32 noundef %22, i32 noundef %20) #2 ret void } declare ptr @to_amdgpu_device(ptr noundef) local_unnamed_addr #1 declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WREG32_SOC15(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, !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/amd/amdgpu/extr_smu_v11_0_i2c.c_smu_v11_0_i2c_configure.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_smu_v11_0_i2c.c_smu_v11_0_i2c_configure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CKSVII2C_IC_CON = common local_unnamed_addr global i32 0, align 4 @IC_SLAVE_DISABLE = common local_unnamed_addr global i32 0, align 4 @IC_RESTART_EN = common local_unnamed_addr global i32 0, align 4 @IC_10BITADDR_MASTER = common local_unnamed_addr global i32 0, align 4 @IC_10BITADDR_SLAVE = common local_unnamed_addr global i32 0, align 4 @IC_MAX_SPEED_MODE = common local_unnamed_addr global i32 0, align 4 @IC_MASTER_MODE = common local_unnamed_addr global i32 0, align 4 @SMUIO = common local_unnamed_addr global i32 0, align 4 @mmCKSVII2C_IC_CON = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @smu_v11_0_i2c_configure], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @smu_v11_0_i2c_configure(ptr noundef %0) #0 { %2 = tail call ptr @to_amdgpu_device(ptr noundef %0) #2 %3 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !6 %4 = load i32, ptr @IC_SLAVE_DISABLE, align 4, !tbaa !6 %5 = tail call i32 @REG_SET_FIELD(i32 noundef 0, i32 noundef %3, i32 noundef %4, i32 noundef 1) #2 %6 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !6 %7 = load i32, ptr @IC_RESTART_EN, align 4, !tbaa !6 %8 = tail call i32 @REG_SET_FIELD(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef 1) #2 %9 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !6 %10 = load i32, ptr @IC_10BITADDR_MASTER, align 4, !tbaa !6 %11 = tail call i32 @REG_SET_FIELD(i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef 0) #2 %12 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !6 %13 = load i32, ptr @IC_10BITADDR_SLAVE, align 4, !tbaa !6 %14 = tail call i32 @REG_SET_FIELD(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef 0) #2 %15 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !6 %16 = load i32, ptr @IC_MAX_SPEED_MODE, align 4, !tbaa !6 %17 = tail call i32 @REG_SET_FIELD(i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef 2) #2 %18 = load i32, ptr @CKSVII2C_IC_CON, align 4, !tbaa !6 %19 = load i32, ptr @IC_MASTER_MODE, align 4, !tbaa !6 %20 = tail call i32 @REG_SET_FIELD(i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef 1) #2 %21 = load i32, ptr @SMUIO, align 4, !tbaa !6 %22 = load i32, ptr @mmCKSVII2C_IC_CON, align 4, !tbaa !6 %23 = tail call i32 @WREG32_SOC15(i32 noundef %21, i32 noundef 0, i32 noundef %22, i32 noundef %20) #2 ret void } declare ptr @to_amdgpu_device(ptr noundef) local_unnamed_addr #1 declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WREG32_SOC15(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_amd_amdgpu_extr_smu_v11_0_i2c.c_smu_v11_0_i2c_configure
; ModuleID = 'AnghaBench/freebsd/contrib/mandoc/extr_mdoc_macro.c_find_pending.c' source_filename = "AnghaBench/freebsd/contrib/mandoc/extr_mdoc_macro.c_find_pending.c" target datalayout = "e-m:e-p270:32:32-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.roff_node = type { i32, i64, i64, ptr } @NODE_VALID = dso_local local_unnamed_addr global i32 0, align 4 @NODE_ENDED = dso_local local_unnamed_addr global i32 0, align 4 @ROFFT_BLOCK = dso_local local_unnamed_addr global i64 0, align 8 @MDOC_EXPLICIT = dso_local local_unnamed_addr global i32 0, align 4 @ROFFT_HEAD = dso_local local_unnamed_addr global i64 0, align 8 @MANDOCERR_BLK_NEST = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"%s breaks %s\00", align 1 @roff_name = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_pending], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @find_pending(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = load i32, ptr %4, align 8, !tbaa !5 %7 = load i32, ptr @NODE_VALID, align 4, !tbaa !12 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %70 10: ; preds = %5 %11 = load ptr, ptr %0, align 8, !tbaa !13 %12 = icmp ne ptr %11, null %13 = icmp ne ptr %11, %4 %14 = and i1 %12, %13 br i1 %14, label %15, label %70 15: ; preds = %10 %16 = getelementptr inbounds %struct.roff_node, ptr %4, i64 0, i32 1 %17 = zext i32 %1 to i64 br label %18 18: ; preds = %15, %63 %19 = phi ptr [ %11, %15 ], [ %66, %63 ] %20 = phi i32 [ 0, %15 ], [ %64, %63 ] %21 = load i32, ptr %19, align 8, !tbaa !5 %22 = load i32, ptr @NODE_ENDED, align 4, !tbaa !12 %23 = and i32 %22, %21 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %63 25: ; preds = %18 %26 = getelementptr inbounds %struct.roff_node, ptr %19, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !14 %28 = load i64, ptr @ROFFT_BLOCK, align 8, !tbaa !15 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %63 30: ; preds = %25 %31 = getelementptr inbounds %struct.roff_node, ptr %19, i64 0, i32 2 %32 = load i64, ptr %31, align 8, !tbaa !16 %33 = tail call ptr @mdoc_macro(i64 noundef %32) #2 %34 = load i32, ptr %33, align 4, !tbaa !17 %35 = load i32, ptr @MDOC_EXPLICIT, align 4, !tbaa !12 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %63, label %38 38: ; preds = %30 %39 = load ptr, ptr %0, align 8, !tbaa !19 %40 = tail call i32 @break_intermediate(ptr noundef %39, ptr noundef nonnull %4) #2 %41 = load i64, ptr %16, align 8, !tbaa !14 %42 = load i64, ptr @ROFFT_HEAD, align 8, !tbaa !15 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %48 44: ; preds = %38 %45 = load i32, ptr @NODE_ENDED, align 4, !tbaa !12 %46 = load i32, ptr %4, align 8, !tbaa !5 %47 = or i32 %46, %45 store i32 %47, ptr %4, align 8, !tbaa !5 br label %63 48: ; preds = %38 %49 = load i32, ptr %4, align 8, !tbaa !5 %50 = load i32, ptr @NODE_ENDED, align 4, !tbaa !12 %51 = and i32 %50, %49 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %63 53: ; preds = %48 %54 = load i32, ptr @MANDOCERR_BLK_NEST, align 4, !tbaa !12 %55 = load ptr, ptr @roff_name, align 8, !tbaa !13 %56 = getelementptr inbounds i32, ptr %55, i64 %17 %57 = load i32, ptr %56, align 4, !tbaa !12 %58 = load i64, ptr %31, align 8, !tbaa !16 %59 = getelementptr inbounds i32, ptr %55, i64 %58 %60 = load i32, ptr %59, align 4, !tbaa !12 %61 = tail call i32 @mandoc_msg(i32 noundef %54, i32 noundef %2, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %57, i32 noundef %60) #2 %62 = tail call i32 @mdoc_endbody_alloc(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %1, ptr noundef nonnull %4) #2 br label %63 63: ; preds = %25, %30, %48, %53, %44, %18 %64 = phi i32 [ %20, %18 ], [ 1, %44 ], [ 1, %48 ], [ 1, %53 ], [ %20, %30 ], [ %20, %25 ] %65 = getelementptr inbounds %struct.roff_node, ptr %19, i64 0, i32 3 %66 = load ptr, ptr %65, align 8, !tbaa !13 %67 = icmp ne ptr %66, null %68 = icmp ne ptr %66, %4 %69 = and i1 %67, %68 br i1 %69, label %18, label %70, !llvm.loop !21 70: ; preds = %63, %10, %5 %71 = phi i32 [ 0, %5 ], [ 0, %10 ], [ %64, %63 ] ret i32 %71 } declare ptr @mdoc_macro(i64 noundef) local_unnamed_addr #1 declare i32 @break_intermediate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mandoc_msg(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mdoc_endbody_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"roff_node", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!10, !10, i64 0} !16 = !{!6, !10, i64 16} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_2__", !7, i64 0} !19 = !{!20, !11, i64 0} !20 = !{!"roff_man", !11, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/mandoc/extr_mdoc_macro.c_find_pending.c' source_filename = "AnghaBench/freebsd/contrib/mandoc/extr_mdoc_macro.c_find_pending.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NODE_VALID = common local_unnamed_addr global i32 0, align 4 @NODE_ENDED = common local_unnamed_addr global i32 0, align 4 @ROFFT_BLOCK = common local_unnamed_addr global i64 0, align 8 @MDOC_EXPLICIT = common local_unnamed_addr global i32 0, align 4 @ROFFT_HEAD = common local_unnamed_addr global i64 0, align 8 @MANDOCERR_BLK_NEST = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"%s breaks %s\00", align 1 @roff_name = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @find_pending], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @find_pending(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = load i32, ptr %4, align 8, !tbaa !6 %7 = load i32, ptr @NODE_VALID, align 4, !tbaa !13 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %70 10: ; preds = %5 %11 = load ptr, ptr %0, align 8, !tbaa !14 %12 = icmp ne ptr %11, null %13 = icmp ne ptr %11, %4 %14 = and i1 %12, %13 br i1 %14, label %15, label %70 15: ; preds = %10 %16 = getelementptr inbounds i8, ptr %4, i64 8 %17 = zext i32 %1 to i64 br label %18 18: ; preds = %15, %63 %19 = phi ptr [ %11, %15 ], [ %66, %63 ] %20 = phi i32 [ 0, %15 ], [ %64, %63 ] %21 = load i32, ptr %19, align 8, !tbaa !6 %22 = load i32, ptr @NODE_ENDED, align 4, !tbaa !13 %23 = and i32 %22, %21 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %63 25: ; preds = %18 %26 = getelementptr inbounds i8, ptr %19, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !15 %28 = load i64, ptr @ROFFT_BLOCK, align 8, !tbaa !16 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %63 30: ; preds = %25 %31 = getelementptr inbounds i8, ptr %19, i64 16 %32 = load i64, ptr %31, align 8, !tbaa !17 %33 = tail call ptr @mdoc_macro(i64 noundef %32) #2 %34 = load i32, ptr %33, align 4, !tbaa !18 %35 = load i32, ptr @MDOC_EXPLICIT, align 4, !tbaa !13 %36 = and i32 %35, %34 %37 = icmp eq i32 %36, 0 br i1 %37, label %63, label %38 38: ; preds = %30 %39 = load ptr, ptr %0, align 8, !tbaa !20 %40 = tail call i32 @break_intermediate(ptr noundef %39, ptr noundef nonnull %4) #2 %41 = load i64, ptr %16, align 8, !tbaa !15 %42 = load i64, ptr @ROFFT_HEAD, align 8, !tbaa !16 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %48 44: ; preds = %38 %45 = load i32, ptr @NODE_ENDED, align 4, !tbaa !13 %46 = load i32, ptr %4, align 8, !tbaa !6 %47 = or i32 %46, %45 store i32 %47, ptr %4, align 8, !tbaa !6 br label %63 48: ; preds = %38 %49 = load i32, ptr %4, align 8, !tbaa !6 %50 = load i32, ptr @NODE_ENDED, align 4, !tbaa !13 %51 = and i32 %50, %49 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %63 53: ; preds = %48 %54 = load i32, ptr @MANDOCERR_BLK_NEST, align 4, !tbaa !13 %55 = load ptr, ptr @roff_name, align 8, !tbaa !14 %56 = getelementptr inbounds i32, ptr %55, i64 %17 %57 = load i32, ptr %56, align 4, !tbaa !13 %58 = load i64, ptr %31, align 8, !tbaa !17 %59 = getelementptr inbounds i32, ptr %55, i64 %58 %60 = load i32, ptr %59, align 4, !tbaa !13 %61 = tail call i32 @mandoc_msg(i32 noundef %54, i32 noundef %2, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %57, i32 noundef %60) #2 %62 = tail call i32 @mdoc_endbody_alloc(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3, i32 noundef %1, ptr noundef nonnull %4) #2 br label %63 63: ; preds = %25, %30, %48, %53, %44, %18 %64 = phi i32 [ %20, %18 ], [ 1, %44 ], [ 1, %48 ], [ 1, %53 ], [ %20, %30 ], [ %20, %25 ] %65 = getelementptr inbounds i8, ptr %19, i64 24 %66 = load ptr, ptr %65, align 8, !tbaa !14 %67 = icmp ne ptr %66, null %68 = icmp ne ptr %66, %4 %69 = and i1 %67, %68 br i1 %69, label %18, label %70, !llvm.loop !22 70: ; preds = %63, %10, %5 %71 = phi i32 [ 0, %5 ], [ 0, %10 ], [ %64, %63 ] ret i32 %71 } declare ptr @mdoc_macro(i64 noundef) local_unnamed_addr #1 declare i32 @break_intermediate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mandoc_msg(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mdoc_endbody_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"roff_node", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!11, !11, i64 0} !17 = !{!7, !11, i64 16} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_2__", !8, i64 0} !20 = !{!21, !12, i64 0} !21 = !{!"roff_man", !12, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_mandoc_extr_mdoc_macro.c_find_pending
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_sock-dummy.c_YabSockIsReadSet.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_sock-dummy.c_YabSockIsReadSet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @YabSockIsReadSet(i32 noundef %0) local_unnamed_addr #0 { ret i32 -1 } 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/Provenance/Cores/Yabause/yabause/src/extr_sock-dummy.c_YabSockIsReadSet.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_sock-dummy.c_YabSockIsReadSet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @YabSockIsReadSet(i32 noundef %0) local_unnamed_addr #0 { ret i32 -1 } 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)"}
Provenance_Cores_Yabause_yabause_src_extr_sock-dummy.c_YabSockIsReadSet
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_it8712f_wdt.c_superio_exit.c' source_filename = "AnghaBench/linux/drivers/watchdog/extr_it8712f_wdt.c_superio_exit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REG = dso_local local_unnamed_addr global i32 0, align 4 @VAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @superio_exit], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @superio_exit() #0 { %1 = load i32, ptr @REG, align 4, !tbaa !5 %2 = tail call i32 @outb(i32 noundef 2, i32 noundef %1) #2 %3 = load i32, ptr @VAL, align 4, !tbaa !5 %4 = tail call i32 @outb(i32 noundef 2, i32 noundef %3) #2 %5 = load i32, ptr @REG, align 4, !tbaa !5 %6 = tail call i32 @release_region(i32 noundef %5, i32 noundef 2) #2 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @release_region(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_it8712f_wdt.c_superio_exit.c' source_filename = "AnghaBench/linux/drivers/watchdog/extr_it8712f_wdt.c_superio_exit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG = common local_unnamed_addr global i32 0, align 4 @VAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @superio_exit], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @superio_exit() #0 { %1 = load i32, ptr @REG, align 4, !tbaa !6 %2 = tail call i32 @outb(i32 noundef 2, i32 noundef %1) #2 %3 = load i32, ptr @VAL, align 4, !tbaa !6 %4 = tail call i32 @outb(i32 noundef 2, i32 noundef %3) #2 %5 = load i32, ptr @REG, align 4, !tbaa !6 %6 = tail call i32 @release_region(i32 noundef %5, i32 noundef 2) #2 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @release_region(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_watchdog_extr_it8712f_wdt.c_superio_exit
; ModuleID = 'AnghaBench/citus/src/backend/distributed/master/extr_master_metadata_utility.c_EnsureSchemaOwner.c' source_filename = "AnghaBench/citus/src/backend/distributed/master/extr_master_metadata_utility.c_EnsureSchemaOwner.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ACLCHECK_NOT_OWNER = dso_local local_unnamed_addr global i32 0, align 4 @OBJECT_SCHEMA = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @EnsureSchemaOwner(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @GetUserId() #2 %3 = tail call i32 @pg_namespace_ownercheck(i32 noundef %0, i32 noundef %2) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load i32, ptr @ACLCHECK_NOT_OWNER, align 4, !tbaa !5 %7 = load i32, ptr @OBJECT_SCHEMA, align 4, !tbaa !5 %8 = tail call i32 @get_namespace_name(i32 noundef %0) #2 %9 = tail call i32 @aclcheck_error(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 br label %10 10: ; preds = %5, %1 ret void } declare i32 @pg_namespace_ownercheck(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetUserId(...) local_unnamed_addr #1 declare i32 @aclcheck_error(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_namespace_name(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/citus/src/backend/distributed/master/extr_master_metadata_utility.c_EnsureSchemaOwner.c' source_filename = "AnghaBench/citus/src/backend/distributed/master/extr_master_metadata_utility.c_EnsureSchemaOwner.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ACLCHECK_NOT_OWNER = common local_unnamed_addr global i32 0, align 4 @OBJECT_SCHEMA = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @EnsureSchemaOwner(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @GetUserId() #2 %3 = tail call i32 @pg_namespace_ownercheck(i32 noundef %0, i32 noundef %2) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load i32, ptr @ACLCHECK_NOT_OWNER, align 4, !tbaa !6 %7 = load i32, ptr @OBJECT_SCHEMA, align 4, !tbaa !6 %8 = tail call i32 @get_namespace_name(i32 noundef %0) #2 %9 = tail call i32 @aclcheck_error(i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 br label %10 10: ; preds = %5, %1 ret void } declare i32 @pg_namespace_ownercheck(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GetUserId(...) local_unnamed_addr #1 declare i32 @aclcheck_error(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_namespace_name(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"}
citus_src_backend_distributed_master_extr_master_metadata_utility.c_EnsureSchemaOwner
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_kaweth.c_kaweth_control.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_kaweth.c_kaweth_control.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.kaweth_device = type { i32, i32 } %struct.usb_ctrlrequest = type { ptr, ptr, ptr, ptr, ptr } @.str = private unnamed_addr constant [16 x i8] c"in_interrupt()\0A\00", align 1 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @kaweth_control], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @kaweth_control(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = tail call i64 (...) @in_interrupt() #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %18, label %12 12: ; preds = %9 %13 = getelementptr inbounds %struct.kaweth_device, ptr %0, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !5 %15 = tail call i32 @netdev_dbg(i32 noundef %14, ptr noundef nonnull @.str) #2 %16 = load i32, ptr @EBUSY, align 4, !tbaa !10 %17 = sub nsw i32 0, %16 br label %36 18: ; preds = %9 %19 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !10 %20 = tail call ptr @kmalloc(i32 noundef 40, i32 noundef %19) #2 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %24 = sub nsw i32 0, %23 br label %36 25: ; preds = %18 %26 = getelementptr inbounds %struct.usb_ctrlrequest, ptr %20, i64 0, i32 4 store ptr %3, ptr %26, align 8, !tbaa !11 %27 = getelementptr inbounds %struct.usb_ctrlrequest, ptr %20, i64 0, i32 3 store ptr %2, ptr %27, align 8, !tbaa !14 %28 = tail call ptr @cpu_to_le16(i32 noundef %4) #2 %29 = getelementptr inbounds %struct.usb_ctrlrequest, ptr %20, i64 0, i32 2 store ptr %28, ptr %29, align 8, !tbaa !15 %30 = tail call ptr @cpu_to_le16(i32 noundef %5) #2 %31 = getelementptr inbounds %struct.usb_ctrlrequest, ptr %20, i64 0, i32 1 store ptr %30, ptr %31, align 8, !tbaa !16 %32 = tail call ptr @cpu_to_le16(i32 noundef %7) #2 store ptr %32, ptr %20, align 8, !tbaa !17 %33 = load i32, ptr %0, align 4, !tbaa !18 %34 = tail call i32 @kaweth_internal_control_msg(i32 noundef %33, i32 noundef %1, ptr noundef nonnull %20, ptr noundef %6, i32 noundef %7, i32 noundef %8) #2 %35 = tail call i32 @kfree(ptr noundef nonnull %20) #2 br label %36 36: ; preds = %25, %22, %12 %37 = phi i32 [ %17, %12 ], [ %34, %25 ], [ %24, %22 ] ret i32 %37 } declare i64 @in_interrupt(...) local_unnamed_addr #1 declare i32 @netdev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1 declare i32 @kaweth_internal_control_msg(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"kaweth_device", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !13, i64 32} !12 = !{!"usb_ctrlrequest", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32} !13 = !{!"any pointer", !8, i64 0} !14 = !{!12, !13, i64 24} !15 = !{!12, !13, i64 16} !16 = !{!12, !13, i64 8} !17 = !{!12, !13, i64 0} !18 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_kaweth.c_kaweth_control.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_kaweth.c_kaweth_control.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 [16 x i8] c"in_interrupt()\0A\00", align 1 @EBUSY = common local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @kaweth_control], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @kaweth_control(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = tail call i64 @in_interrupt() #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %18, label %12 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %0, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !6 %15 = tail call i32 @netdev_dbg(i32 noundef %14, ptr noundef nonnull @.str) #2 %16 = load i32, ptr @EBUSY, align 4, !tbaa !11 %17 = sub nsw i32 0, %16 br label %36 18: ; preds = %9 %19 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !11 %20 = tail call ptr @kmalloc(i32 noundef 40, i32 noundef %19) #2 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %24 = sub nsw i32 0, %23 br label %36 25: ; preds = %18 %26 = getelementptr inbounds i8, ptr %20, i64 32 store ptr %3, ptr %26, align 8, !tbaa !12 %27 = getelementptr inbounds i8, ptr %20, i64 24 store ptr %2, ptr %27, align 8, !tbaa !15 %28 = tail call ptr @cpu_to_le16(i32 noundef %4) #2 %29 = getelementptr inbounds i8, ptr %20, i64 16 store ptr %28, ptr %29, align 8, !tbaa !16 %30 = tail call ptr @cpu_to_le16(i32 noundef %5) #2 %31 = getelementptr inbounds i8, ptr %20, i64 8 store ptr %30, ptr %31, align 8, !tbaa !17 %32 = tail call ptr @cpu_to_le16(i32 noundef %7) #2 store ptr %32, ptr %20, align 8, !tbaa !18 %33 = load i32, ptr %0, align 4, !tbaa !19 %34 = tail call i32 @kaweth_internal_control_msg(i32 noundef %33, i32 noundef %1, ptr noundef nonnull %20, ptr noundef %6, i32 noundef %7, i32 noundef %8) #2 %35 = tail call i32 @kfree(ptr noundef nonnull %20) #2 br label %36 36: ; preds = %25, %22, %12 %37 = phi i32 [ %17, %12 ], [ %34, %25 ], [ %24, %22 ] ret i32 %37 } declare i64 @in_interrupt(...) local_unnamed_addr #1 declare i32 @netdev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1 declare i32 @kaweth_internal_control_msg(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"kaweth_device", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !14, i64 32} !13 = !{!"usb_ctrlrequest", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32} !14 = !{!"any pointer", !9, i64 0} !15 = !{!13, !14, i64 24} !16 = !{!13, !14, i64 16} !17 = !{!13, !14, i64 8} !18 = !{!13, !14, i64 0} !19 = !{!7, !8, i64 0}
linux_drivers_net_usb_extr_kaweth.c_kaweth_control
; ModuleID = 'AnghaBench/esp-idf/components/bt/common/osi/extr_hash_functions.c_hash_function_string.c' source_filename = "AnghaBench/esp-idf/components/bt/common/osi/extr_hash_functions.c_hash_function_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" ; Function Attrs: nofree nounwind memory(argmem: read) uwtable define dso_local i32 @hash_function_string(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %3 = icmp eq i64 %2, 0 br i1 %3, label %26, label %4 4: ; preds = %1 %5 = and i64 %2, 3 %6 = icmp ult i64 %2, 4 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = and i64 %2, -4 br label %28 9: ; preds = %28, %4 %10 = phi i32 [ undef, %4 ], [ %54, %28 ] %11 = phi i64 [ 0, %4 ], [ %55, %28 ] %12 = phi i32 [ 5381, %4 ], [ %54, %28 ] %13 = icmp eq i64 %5, 0 br i1 %13, label %26, label %14 14: ; preds = %9, %14 %15 = phi i64 [ %23, %14 ], [ %11, %9 ] %16 = phi i32 [ %22, %14 ], [ %12, %9 ] %17 = phi i64 [ %24, %14 ], [ 0, %9 ] %18 = mul i32 %16, 33 %19 = getelementptr inbounds i8, ptr %0, i64 %15 %20 = load i8, ptr %19, align 1, !tbaa !5 %21 = sext i8 %20 to i32 %22 = add nsw i32 %18, %21 %23 = add nuw i64 %15, 1 %24 = add i64 %17, 1 %25 = icmp eq i64 %24, %5 br i1 %25, label %26, label %14, !llvm.loop !8 26: ; preds = %9, %14, %1 %27 = phi i32 [ 5381, %1 ], [ %10, %9 ], [ %22, %14 ] ret i32 %27 28: ; preds = %28, %7 %29 = phi i64 [ 0, %7 ], [ %55, %28 ] %30 = phi i32 [ 5381, %7 ], [ %54, %28 ] %31 = phi i64 [ 0, %7 ], [ %56, %28 ] %32 = mul i32 %30, 33 %33 = getelementptr inbounds i8, ptr %0, i64 %29 %34 = load i8, ptr %33, align 1, !tbaa !5 %35 = sext i8 %34 to i32 %36 = add nsw i32 %32, %35 %37 = or disjoint i64 %29, 1 %38 = mul i32 %36, 33 %39 = getelementptr inbounds i8, ptr %0, i64 %37 %40 = load i8, ptr %39, align 1, !tbaa !5 %41 = sext i8 %40 to i32 %42 = add nsw i32 %38, %41 %43 = or disjoint i64 %29, 2 %44 = mul i32 %42, 33 %45 = getelementptr inbounds i8, ptr %0, i64 %43 %46 = load i8, ptr %45, align 1, !tbaa !5 %47 = sext i8 %46 to i32 %48 = add nsw i32 %44, %47 %49 = or disjoint i64 %29, 3 %50 = mul i32 %48, 33 %51 = getelementptr inbounds i8, ptr %0, i64 %49 %52 = load i8, ptr %51, align 1, !tbaa !5 %53 = sext i8 %52 to i32 %54 = add nsw i32 %50, %53 %55 = add nuw i64 %29, 4 %56 = add i64 %31, 4 %57 = icmp eq i64 %56, %8 br i1 %57, label %9, label %28, !llvm.loop !10 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.unroll.disable"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/esp-idf/components/bt/common/osi/extr_hash_functions.c_hash_function_string.c' source_filename = "AnghaBench/esp-idf/components/bt/common/osi/extr_hash_functions.c_hash_function_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree nounwind ssp memory(argmem: read) uwtable(sync) define i32 @hash_function_string(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %6, %1 %5 = phi i32 [ 5381, %1 ], [ %13, %6 ] ret i32 %5 6: ; preds = %1, %6 %7 = phi i64 [ %14, %6 ], [ 0, %1 ] %8 = phi i32 [ %13, %6 ], [ 5381, %1 ] %9 = mul i32 %8, 33 %10 = getelementptr inbounds i8, ptr %0, i64 %7 %11 = load i8, ptr %10, align 1, !tbaa !6 %12 = sext i8 %11 to i32 %13 = add nsw i32 %9, %12 %14 = add nuw i64 %7, 1 %15 = icmp eq i64 %14, %2 br i1 %15, label %4, label %6, !llvm.loop !9 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind ssp 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" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
esp-idf_components_bt_common_osi_extr_hash_functions.c_hash_function_string
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_xattr_acl.c_reiserfs_get_acl.c' source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_xattr_acl.c_reiserfs_get_acl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ACL_NOT_CACHED = dso_local local_unnamed_addr global ptr null, align 8 @POSIX_ACL_XATTR_ACCESS = dso_local local_unnamed_addr global ptr null, align 8 @POSIX_ACL_XATTR_DEFAULT = dso_local local_unnamed_addr global ptr null, align 8 @ENODATA = dso_local local_unnamed_addr global i32 0, align 4 @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 @GFP_NOFS = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @reiserfs_get_acl(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @get_cached_acl(ptr noundef %0, i32 noundef %1) #2 %4 = load ptr, ptr @ACL_NOT_CACHED, align 8, !tbaa !5 %5 = icmp eq ptr %3, %4 br i1 %5, label %6, label %60 6: ; preds = %2 switch i32 %1, label %11 [ i32 129, label %7 i32 128, label %9 ] 7: ; preds = %6 %8 = load ptr, ptr @POSIX_ACL_XATTR_ACCESS, align 8, !tbaa !5 br label %13 9: ; preds = %6 %10 = load ptr, ptr @POSIX_ACL_XATTR_DEFAULT, align 8, !tbaa !5 br label %13 11: ; preds = %6 %12 = tail call i32 (...) @BUG() #2 br label %13 13: ; preds = %11, %9, %7 %14 = phi ptr [ undef, %11 ], [ %10, %9 ], [ %8, %7 ] %15 = tail call i32 @reiserfs_xattr_get(ptr noundef %0, ptr noundef %14, ptr noundef null, i32 noundef 0) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %29 17: ; preds = %13 %18 = load i32, ptr @ENODATA, align 4, !tbaa !9 %19 = sub nsw i32 0, %18 %20 = icmp eq i32 %15, %19 br i1 %20, label %25, label %21 21: ; preds = %17 %22 = load i32, ptr @ENOSYS, align 4, !tbaa !9 %23 = sub nsw i32 0, %22 %24 = icmp eq i32 %15, %23 br i1 %24, label %25, label %27 25: ; preds = %21, %17 %26 = tail call i32 @set_cached_acl(ptr noundef %0, i32 noundef %1, ptr noundef null) #2 br label %60 27: ; preds = %21 %28 = tail call ptr @ERR_PTR(i32 noundef %15) #2 br label %60 29: ; preds = %13 %30 = load i32, ptr @GFP_NOFS, align 4, !tbaa !9 %31 = tail call ptr @kmalloc(i32 noundef %15, i32 noundef %30) #2 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %29 %34 = load i32, ptr @ENOMEM, align 4, !tbaa !9 %35 = sub nsw i32 0, %34 %36 = tail call ptr @ERR_PTR(i32 noundef %35) #2 br label %60 37: ; preds = %29 %38 = tail call i32 @reiserfs_xattr_get(ptr noundef %0, ptr noundef %14, ptr noundef nonnull %31, i32 noundef %15) #2 %39 = load i32, ptr @ENODATA, align 4, !tbaa !9 %40 = sub nsw i32 0, %39 %41 = icmp eq i32 %38, %40 br i1 %41, label %52, label %42 42: ; preds = %37 %43 = load i32, ptr @ENOSYS, align 4, !tbaa !9 %44 = sub nsw i32 0, %43 %45 = icmp eq i32 %38, %44 br i1 %45, label %52, label %46 46: ; preds = %42 %47 = icmp slt i32 %38, 0 br i1 %47, label %48, label %50 48: ; preds = %46 %49 = tail call ptr @ERR_PTR(i32 noundef %38) #2 br label %52 50: ; preds = %46 %51 = tail call ptr @posix_acl_from_disk(ptr noundef nonnull %31, i32 noundef %38) #2 br label %52 52: ; preds = %37, %42, %48, %50 %53 = phi ptr [ %49, %48 ], [ %51, %50 ], [ null, %42 ], [ null, %37 ] %54 = tail call i32 @IS_ERR(ptr noundef %53) #2 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %52 %57 = tail call i32 @set_cached_acl(ptr noundef %0, i32 noundef %1, ptr noundef %53) #2 br label %58 58: ; preds = %56, %52 %59 = tail call i32 @kfree(ptr noundef nonnull %31) #2 br label %60 60: ; preds = %2, %58, %33, %27, %25 %61 = phi ptr [ null, %25 ], [ %28, %27 ], [ %53, %58 ], [ %36, %33 ], [ %3, %2 ] ret ptr %61 } declare ptr @get_cached_acl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 declare i32 @reiserfs_xattr_get(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_cached_acl(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @posix_acl_from_disk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_xattr_acl.c_reiserfs_get_acl.c' source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_xattr_acl.c_reiserfs_get_acl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ACL_NOT_CACHED = common local_unnamed_addr global ptr null, align 8 @POSIX_ACL_XATTR_ACCESS = common local_unnamed_addr global ptr null, align 8 @POSIX_ACL_XATTR_DEFAULT = common local_unnamed_addr global ptr null, align 8 @ENODATA = common local_unnamed_addr global i32 0, align 4 @ENOSYS = common local_unnamed_addr global i32 0, align 4 @GFP_NOFS = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @reiserfs_get_acl(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @get_cached_acl(ptr noundef %0, i32 noundef %1) #2 %4 = load ptr, ptr @ACL_NOT_CACHED, align 8, !tbaa !6 %5 = icmp eq ptr %3, %4 br i1 %5, label %6, label %60 6: ; preds = %2 switch i32 %1, label %11 [ i32 129, label %7 i32 128, label %9 ] 7: ; preds = %6 %8 = load ptr, ptr @POSIX_ACL_XATTR_ACCESS, align 8, !tbaa !6 br label %13 9: ; preds = %6 %10 = load ptr, ptr @POSIX_ACL_XATTR_DEFAULT, align 8, !tbaa !6 br label %13 11: ; preds = %6 %12 = tail call i32 @BUG() #2 br label %13 13: ; preds = %11, %9, %7 %14 = phi ptr [ undef, %11 ], [ %10, %9 ], [ %8, %7 ] %15 = tail call i32 @reiserfs_xattr_get(ptr noundef %0, ptr noundef %14, ptr noundef null, i32 noundef 0) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %29 17: ; preds = %13 %18 = load i32, ptr @ENODATA, align 4, !tbaa !10 %19 = sub nsw i32 0, %18 %20 = icmp eq i32 %15, %19 br i1 %20, label %25, label %21 21: ; preds = %17 %22 = load i32, ptr @ENOSYS, align 4, !tbaa !10 %23 = sub nsw i32 0, %22 %24 = icmp eq i32 %15, %23 br i1 %24, label %25, label %27 25: ; preds = %21, %17 %26 = tail call i32 @set_cached_acl(ptr noundef %0, i32 noundef %1, ptr noundef null) #2 br label %60 27: ; preds = %21 %28 = tail call ptr @ERR_PTR(i32 noundef %15) #2 br label %60 29: ; preds = %13 %30 = load i32, ptr @GFP_NOFS, align 4, !tbaa !10 %31 = tail call ptr @kmalloc(i32 noundef %15, i32 noundef %30) #2 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %29 %34 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %35 = sub nsw i32 0, %34 %36 = tail call ptr @ERR_PTR(i32 noundef %35) #2 br label %60 37: ; preds = %29 %38 = tail call i32 @reiserfs_xattr_get(ptr noundef %0, ptr noundef %14, ptr noundef nonnull %31, i32 noundef %15) #2 %39 = load i32, ptr @ENODATA, align 4, !tbaa !10 %40 = sub nsw i32 0, %39 %41 = icmp eq i32 %38, %40 br i1 %41, label %52, label %42 42: ; preds = %37 %43 = load i32, ptr @ENOSYS, align 4, !tbaa !10 %44 = sub nsw i32 0, %43 %45 = icmp eq i32 %38, %44 br i1 %45, label %52, label %46 46: ; preds = %42 %47 = icmp slt i32 %38, 0 br i1 %47, label %48, label %50 48: ; preds = %46 %49 = tail call ptr @ERR_PTR(i32 noundef %38) #2 br label %52 50: ; preds = %46 %51 = tail call ptr @posix_acl_from_disk(ptr noundef nonnull %31, i32 noundef %38) #2 br label %52 52: ; preds = %37, %42, %48, %50 %53 = phi ptr [ %49, %48 ], [ %51, %50 ], [ null, %42 ], [ null, %37 ] %54 = tail call i32 @IS_ERR(ptr noundef %53) #2 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %52 %57 = tail call i32 @set_cached_acl(ptr noundef %0, i32 noundef %1, ptr noundef %53) #2 br label %58 58: ; preds = %56, %52 %59 = tail call i32 @kfree(ptr noundef nonnull %31) #2 br label %60 60: ; preds = %2, %58, %33, %27, %25 %61 = phi ptr [ null, %25 ], [ %28, %27 ], [ %53, %58 ], [ %36, %33 ], [ %3, %2 ] ret ptr %61 } declare ptr @get_cached_acl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BUG(...) local_unnamed_addr #1 declare i32 @reiserfs_xattr_get(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_cached_acl(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @posix_acl_from_disk(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
fastsocket_kernel_fs_reiserfs_extr_xattr_acl.c_reiserfs_get_acl
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_REG_MDP5_PIPE_SRC2_ADDR.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_REG_MDP5_PIPE_SRC2_ADDR.c" target datalayout = "e-m:e-p270:32:32-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_PIPE_SRC2_ADDR], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @REG_MDP5_PIPE_SRC2_ADDR(i32 noundef %0) #0 { %2 = tail call i64 @__offset_PIPE(i32 noundef %0) #2 %3 = add nsw i64 %2, 28 ret i64 %3 } declare i64 @__offset_PIPE(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_REG_MDP5_PIPE_SRC2_ADDR.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_REG_MDP5_PIPE_SRC2_ADDR.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_PIPE_SRC2_ADDR], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i64 -9223372036854775780, -9223372036854775808) i64 @REG_MDP5_PIPE_SRC2_ADDR(i32 noundef %0) #0 { %2 = tail call i64 @__offset_PIPE(i32 noundef %0) #2 %3 = add nsw i64 %2, 28 ret i64 %3 } declare i64 @__offset_PIPE(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_msm_disp_mdp5_extr_mdp5.xml.h_REG_MDP5_PIPE_SRC2_ADDR
; ModuleID = 'AnghaBench/reactos/dll/win32/winmm/extr_mci.c_MCI_GetString.c' source_filename = "AnghaBench/reactos/dll/win32/winmm/extr_mci.c_MCI_GetString.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MCIERR_NO_CLOSING_QUOTE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Ooops: un-escaped \22\0A\00", align 1 @MCIERR_EXTRA_CHARACTERS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @MCI_GetString], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @MCI_GetString(ptr nocapture noundef writeonly %0, ptr nocapture noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = load i8, ptr %3, align 1, !tbaa !9 %5 = icmp eq i8 %4, 34 br i1 %5, label %6, label %23 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %3, i64 1 store ptr %7, ptr %0, align 8, !tbaa !5 %8 = tail call ptr @strchrW(ptr noundef nonnull %7, i8 noundef signext 34) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %6 %11 = load i32, ptr @MCIERR_NO_CLOSING_QUOTE, align 4, !tbaa !10 br label %38 12: ; preds = %6 %13 = getelementptr inbounds i8, ptr %8, i64 -1 %14 = load i8, ptr %13, align 1, !tbaa !9 %15 = icmp eq i8 %14, 92 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = tail call i32 @TRACE(ptr noundef nonnull @.str) #2 br label %18 18: ; preds = %16, %12 %19 = getelementptr inbounds i8, ptr %8, i64 1 store i8 0, ptr %8, align 1, !tbaa !9 %20 = load i8, ptr %19, align 1, !tbaa !9 switch i8 %20, label %21 [ i8 32, label %36 i8 0, label %36 ] 21: ; preds = %18 %22 = load i32, ptr @MCIERR_EXTRA_CHARACTERS, align 4, !tbaa !10 br label %38 23: ; preds = %2 %24 = tail call ptr @strchrW(ptr noundef nonnull %3, i8 noundef signext 32) #2 %25 = icmp eq ptr %24, null br i1 %25, label %28, label %26 26: ; preds = %23 %27 = getelementptr inbounds i8, ptr %24, i64 1 store i8 0, ptr %24, align 1, !tbaa !9 br label %33 28: ; preds = %23 %29 = load ptr, ptr %1, align 8, !tbaa !5 %30 = tail call i32 @strlenW(ptr noundef %29) #2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 br label %33 33: ; preds = %28, %26 %34 = phi ptr [ %27, %26 ], [ %32, %28 ] %35 = load ptr, ptr %1, align 8, !tbaa !5 store ptr %35, ptr %0, align 8, !tbaa !5 br label %36 36: ; preds = %18, %18, %33 %37 = phi ptr [ %19, %18 ], [ %34, %33 ], [ %19, %18 ] store ptr %37, ptr %1, align 8, !tbaa !5 br label %38 38: ; preds = %36, %21, %10 %39 = phi i32 [ %22, %21 ], [ 0, %36 ], [ %11, %10 ] ret i32 %39 } declare ptr @strchrW(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef) local_unnamed_addr #1 declare i32 @strlenW(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 = !{!7, !7, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/winmm/extr_mci.c_MCI_GetString.c' source_filename = "AnghaBench/reactos/dll/win32/winmm/extr_mci.c_MCI_GetString.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MCIERR_NO_CLOSING_QUOTE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Ooops: un-escaped \22\0A\00", align 1 @MCIERR_EXTRA_CHARACTERS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @MCI_GetString], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @MCI_GetString(ptr nocapture noundef writeonly %0, ptr nocapture noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = load i8, ptr %3, align 1, !tbaa !10 %5 = icmp eq i8 %4, 34 br i1 %5, label %6, label %23 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %3, i64 1 store ptr %7, ptr %0, align 8, !tbaa !6 %8 = tail call ptr @strchrW(ptr noundef nonnull %7, i8 noundef signext 34) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %6 %11 = load i32, ptr @MCIERR_NO_CLOSING_QUOTE, align 4, !tbaa !11 br label %38 12: ; preds = %6 %13 = getelementptr inbounds i8, ptr %8, i64 -1 %14 = load i8, ptr %13, align 1, !tbaa !10 %15 = icmp eq i8 %14, 92 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = tail call i32 @TRACE(ptr noundef nonnull @.str) #2 br label %18 18: ; preds = %16, %12 %19 = getelementptr inbounds i8, ptr %8, i64 1 store i8 0, ptr %8, align 1, !tbaa !10 %20 = load i8, ptr %19, align 1, !tbaa !10 switch i8 %20, label %21 [ i8 32, label %36 i8 0, label %36 ] 21: ; preds = %18 %22 = load i32, ptr @MCIERR_EXTRA_CHARACTERS, align 4, !tbaa !11 br label %38 23: ; preds = %2 %24 = tail call ptr @strchrW(ptr noundef nonnull %3, i8 noundef signext 32) #2 %25 = icmp eq ptr %24, null br i1 %25, label %28, label %26 26: ; preds = %23 %27 = getelementptr inbounds i8, ptr %24, i64 1 store i8 0, ptr %24, align 1, !tbaa !10 br label %33 28: ; preds = %23 %29 = load ptr, ptr %1, align 8, !tbaa !6 %30 = tail call i32 @strlenW(ptr noundef %29) #2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 br label %33 33: ; preds = %28, %26 %34 = phi ptr [ %27, %26 ], [ %32, %28 ] %35 = load ptr, ptr %1, align 8, !tbaa !6 store ptr %35, ptr %0, align 8, !tbaa !6 br label %36 36: ; preds = %18, %18, %33 %37 = phi ptr [ %19, %18 ], [ %34, %33 ], [ %19, %18 ] store ptr %37, ptr %1, align 8, !tbaa !6 br label %38 38: ; preds = %36, %21, %10 %39 = phi i32 [ %22, %21 ], [ 0, %36 ], [ %11, %10 ] ret i32 %39 } declare ptr @strchrW(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @TRACE(ptr noundef) local_unnamed_addr #1 declare i32 @strlenW(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 = !{!8, !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
reactos_dll_win32_winmm_extr_mci.c_MCI_GetString
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_drm_remove.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_drm_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @nouveau_drm_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nouveau_drm_remove(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @nouveau_drm_device_remove(ptr noundef %2) #2 ret void } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @nouveau_drm_device_remove(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_drm_remove.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_drm.c_nouveau_drm_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @nouveau_drm_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nouveau_drm_remove(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = tail call i32 @nouveau_drm_device_remove(ptr noundef %2) #2 ret void } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @nouveau_drm_device_remove(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_nouveau_extr_nouveau_drm.c_nouveau_drm_remove
; ModuleID = 'AnghaBench/linux/net/dccp/extr_feat.c_dccp_feat_entry_destructor.c' source_filename = "AnghaBench/linux/net/dccp/extr_feat.c_dccp_feat_entry_destructor.c" target datalayout = "e-m:e-p270:32:32-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.dccp_feat_entry = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @dccp_feat_entry_destructor], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dccp_feat_entry_destructor(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.dccp_feat_entry, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @dccp_feat_val_destructor(i32 noundef %5, ptr noundef nonnull %0) #2 %7 = tail call i32 @kfree(ptr noundef nonnull %0) #2 br label %8 8: ; preds = %3, %1 ret void } declare i32 @dccp_feat_val_destructor(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"dccp_feat_entry", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/dccp/extr_feat.c_dccp_feat_entry_destructor.c' source_filename = "AnghaBench/linux/net/dccp/extr_feat.c_dccp_feat_entry_destructor.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 @dccp_feat_entry_destructor], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dccp_feat_entry_destructor(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @dccp_feat_val_destructor(i32 noundef %5, ptr noundef nonnull %0) #2 %7 = tail call i32 @kfree(ptr noundef nonnull %0) #2 br label %8 8: ; preds = %3, %1 ret void } declare i32 @dccp_feat_val_destructor(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"dccp_feat_entry", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_net_dccp_extr_feat.c_dccp_feat_entry_destructor
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_hw.c__rtl8723be_gen_refresh_led_state.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_hw.c__rtl8723be_gen_refresh_led_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" %struct.rtl_priv = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i64 } %struct.TYPE_3__ = type { %struct.rtl_led } %struct.rtl_led = type { i32 } @RF_CHANGE_BY_IPS = dso_local local_unnamed_addr global i64 0, align 8 @RF_CHANGE_BY_INIT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @_rtl8723be_gen_refresh_led_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @_rtl8723be_gen_refresh_led_state(ptr noundef %0) #0 { %2 = tail call ptr @rtl_priv(ptr noundef %0) #2 %3 = tail call ptr @rtl_priv(ptr noundef %0) #2 %4 = tail call ptr @rtl_psc(ptr noundef %3) #2 %5 = getelementptr inbounds %struct.rtl_priv, ptr %2, i64 0, i32 1 %6 = load i64, ptr %2, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %1 %9 = load i64, ptr %4, align 8, !tbaa !14 %10 = load i64, ptr @RF_CHANGE_BY_IPS, align 8, !tbaa !16 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = tail call i32 @rtl8723be_sw_led_on(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 14: ; preds = %8 %15 = load i64, ptr @RF_CHANGE_BY_INIT, align 8, !tbaa !16 %16 = icmp eq i64 %9, %15 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = tail call i32 @rtl8723be_sw_led_on(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 19: ; preds = %14 %20 = tail call i32 @rtl8723be_sw_led_off(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 21: ; preds = %12, %19, %17, %1 ret void } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare ptr @rtl_psc(ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723be_sw_led_on(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723be_sw_led_off(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, !8, i64 0} !6 = !{!"rtl_priv", !7, i64 0, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"rtl_led", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"rtl_ps_ctl", !8, i64 0} !16 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_hw.c__rtl8723be_gen_refresh_led_state.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_hw.c__rtl8723be_gen_refresh_led_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RF_CHANGE_BY_IPS = common local_unnamed_addr global i64 0, align 8 @RF_CHANGE_BY_INIT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @_rtl8723be_gen_refresh_led_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @_rtl8723be_gen_refresh_led_state(ptr noundef %0) #0 { %2 = tail call ptr @rtl_priv(ptr noundef %0) #2 %3 = tail call ptr @rtl_priv(ptr noundef %0) #2 %4 = tail call ptr @rtl_psc(ptr noundef %3) #2 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = load i64, ptr %2, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %1 %9 = load i64, ptr %4, align 8, !tbaa !15 %10 = load i64, ptr @RF_CHANGE_BY_IPS, align 8, !tbaa !17 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = tail call i32 @rtl8723be_sw_led_on(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 14: ; preds = %8 %15 = load i64, ptr @RF_CHANGE_BY_INIT, align 8, !tbaa !17 %16 = icmp eq i64 %9, %15 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = tail call i32 @rtl8723be_sw_led_on(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 19: ; preds = %14 %20 = tail call i32 @rtl8723be_sw_led_off(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 21: ; preds = %12, %19, %17, %1 ret void } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare ptr @rtl_psc(ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723be_sw_led_on(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723be_sw_led_off(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, !9, i64 0} !7 = !{!"rtl_priv", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"rtl_led", !14, i64 0} !14 = !{!"int", !10, i64 0} !15 = !{!16, !9, i64 0} !16 = !{!"rtl_ps_ctl", !9, i64 0} !17 = !{!9, !9, i64 0}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8723be_extr_hw.c__rtl8723be_gen_refresh_led_state
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/math-emu/extr_fp_trig.c_fp_fsincos2.c' source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/math-emu/extr_fp_trig.c_fp_fsincos2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"fsincos2\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @fp_fsincos2(ptr noundef readnone returned %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = tail call i32 @uprint(ptr noundef nonnull @.str) #2 ret ptr %0 } declare i32 @uprint(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/math-emu/extr_fp_trig.c_fp_fsincos2.c' source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/math-emu/extr_fp_trig.c_fp_fsincos2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [10 x i8] c"fsincos2\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @fp_fsincos2(ptr noundef readnone returned %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = tail call i32 @uprint(ptr noundef nonnull @.str) #2 ret ptr %0 } declare i32 @uprint(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_m68k_math-emu_extr_fp_trig.c_fp_fsincos2
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_ioctl.c_nvkm_ioctl_nop.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_ioctl.c_nvkm_ioctl_nop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"nop size %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"nop vers %lld\0A\00", align 1 @NVIF_VERSION_LATEST = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nvkm_ioctl_nop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nvkm_ioctl_nop(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %2, ptr %5, align 8, !tbaa !5 store i32 %3, ptr %6, align 4, !tbaa !9 %7 = load i32, ptr @ENOSYS, align 4, !tbaa !9 %8 = sub nsw i32 0, %7 %9 = tail call i32 @nvif_ioctl(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %3) #2 %10 = load i32, ptr %2, align 4 %11 = call i32 @nvif_unpack(i32 noundef %8, ptr noundef nonnull %5, ptr noundef nonnull %6, i32 %10, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %4 %14 = load i32, ptr %2, align 4, !tbaa !11 %15 = call i32 @nvif_ioctl(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %14) #2 %16 = load i32, ptr @NVIF_VERSION_LATEST, align 4, !tbaa !9 store i32 %16, ptr %2, align 4, !tbaa !11 br label %17 17: ; preds = %13, %4 ret i32 %11 } declare i32 @nvif_ioctl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvif_unpack(i32 noundef, ptr noundef, ptr noundef, i32, 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 = !{!"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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_ioctl.c_nvkm_ioctl_nop.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_ioctl.c_nvkm_ioctl_nop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSYS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"nop size %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"nop vers %lld\0A\00", align 1 @NVIF_VERSION_LATEST = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nvkm_ioctl_nop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nvkm_ioctl_nop(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %2, ptr %5, align 8, !tbaa !6 store i32 %3, ptr %6, align 4, !tbaa !10 %7 = load i32, ptr @ENOSYS, align 4, !tbaa !10 %8 = sub nsw i32 0, %7 %9 = tail call i32 @nvif_ioctl(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %3) #2 %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = call i32 @nvif_unpack(i32 noundef %8, ptr noundef nonnull %5, ptr noundef nonnull %6, i64 %11, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %4 %15 = load i32, ptr %2, align 4, !tbaa !12 %16 = call i32 @nvif_ioctl(ptr noundef %1, ptr noundef nonnull @.str.1, i32 noundef %15) #2 %17 = load i32, ptr @NVIF_VERSION_LATEST, align 4, !tbaa !10 store i32 %17, ptr %2, align 4, !tbaa !12 br label %18 18: ; preds = %14, %4 ret i32 %12 } declare i32 @nvif_ioctl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvif_unpack(i32 noundef, ptr noundef, ptr noundef, i64, 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 = !{!"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}
linux_drivers_gpu_drm_nouveau_nvkm_core_extr_ioctl.c_nvkm_ioctl_nop
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2500pci.c_rt2500pci_init_bbp.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2500pci.c_rt2500pci_init_bbp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EACCES = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_BBP_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_BBP_START = dso_local local_unnamed_addr global i64 0, align 8 @EEPROM_BBP_REG_ID = dso_local local_unnamed_addr global i32 0, align 4 @EEPROM_BBP_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2500pci_init_bbp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rt2500pci_init_bbp(ptr noundef %0) #0 { %2 = tail call i32 @rt2500pci_wait_bbp_ready(ptr noundef %0) #2 %3 = tail call i64 @unlikely(i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @EACCES, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %57 8: ; preds = %1 %9 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 3, i32 noundef 2) #2 %10 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 4, i32 noundef 25) #2 %11 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 14, i32 noundef 28) #2 %12 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 15, i32 noundef 48) #2 %13 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 16, i32 noundef 172) #2 %14 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 18, i32 noundef 24) #2 %15 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 19, i32 noundef 255) #2 %16 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 20, i32 noundef 30) #2 %17 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 21, i32 noundef 8) #2 %18 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 22, i32 noundef 8) #2 %19 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 23, i32 noundef 8) #2 %20 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 24, i32 noundef 112) #2 %21 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 25, i32 noundef 64) #2 %22 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 26, i32 noundef 8) #2 %23 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 27, i32 noundef 35) #2 %24 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 30, i32 noundef 16) #2 %25 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 31, i32 noundef 43) #2 %26 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 32, i32 noundef 185) #2 %27 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 34, i32 noundef 18) #2 %28 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 35, i32 noundef 80) #2 %29 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 39, i32 noundef 196) #2 %30 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 40, i32 noundef 2) #2 %31 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 41, i32 noundef 96) #2 %32 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 53, i32 noundef 16) #2 %33 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 54, i32 noundef 24) #2 %34 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 56, i32 noundef 8) #2 %35 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 57, i32 noundef 16) #2 %36 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 58, i32 noundef 8) #2 %37 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 61, i32 noundef 109) #2 %38 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 62, i32 noundef 16) #2 %39 = load i32, ptr @EEPROM_BBP_SIZE, align 4, !tbaa !5 %40 = icmp eq i32 %39, 0 br i1 %40, label %57, label %41 41: ; preds = %8, %52 %42 = phi i64 [ %53, %52 ], [ 0, %8 ] %43 = load i64, ptr @EEPROM_BBP_START, align 8, !tbaa !9 %44 = add nsw i64 %43, %42 %45 = tail call i32 @rt2x00_eeprom_read(ptr noundef %0, i64 noundef %44) #2 switch i32 %45, label %46 [ i32 65535, label %52 i32 0, label %52 ] 46: ; preds = %41 %47 = load i32, ptr @EEPROM_BBP_REG_ID, align 4, !tbaa !5 %48 = tail call i32 @rt2x00_get_field16(i32 noundef %45, i32 noundef %47) #2 %49 = load i32, ptr @EEPROM_BBP_VALUE, align 4, !tbaa !5 %50 = tail call i32 @rt2x00_get_field16(i32 noundef %45, i32 noundef %49) #2 %51 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef %48, i32 noundef %50) #2 br label %52 52: ; preds = %41, %41, %46 %53 = add nuw nsw i64 %42, 1 %54 = load i32, ptr @EEPROM_BBP_SIZE, align 4, !tbaa !5 %55 = zext i32 %54 to i64 %56 = icmp ult i64 %53, %55 br i1 %56, label %41, label %57, !llvm.loop !11 57: ; preds = %52, %8, %5 %58 = phi i32 [ %7, %5 ], [ 0, %8 ], [ 0, %52 ] ret i32 %58 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @rt2500pci_wait_bbp_ready(ptr noundef) local_unnamed_addr #1 declare i32 @rt2500pci_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rt2x00_eeprom_read(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rt2x00_get_field16(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 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2500pci.c_rt2500pci_init_bbp.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2500pci.c_rt2500pci_init_bbp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EACCES = common local_unnamed_addr global i32 0, align 4 @EEPROM_BBP_SIZE = common local_unnamed_addr global i32 0, align 4 @EEPROM_BBP_START = common local_unnamed_addr global i64 0, align 8 @EEPROM_BBP_REG_ID = common local_unnamed_addr global i32 0, align 4 @EEPROM_BBP_VALUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rt2500pci_init_bbp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @rt2500pci_init_bbp(ptr noundef %0) #0 { %2 = tail call i32 @rt2500pci_wait_bbp_ready(ptr noundef %0) #2 %3 = tail call i64 @unlikely(i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @EACCES, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %57 8: ; preds = %1 %9 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 3, i32 noundef 2) #2 %10 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 4, i32 noundef 25) #2 %11 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 14, i32 noundef 28) #2 %12 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 15, i32 noundef 48) #2 %13 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 16, i32 noundef 172) #2 %14 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 18, i32 noundef 24) #2 %15 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 19, i32 noundef 255) #2 %16 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 20, i32 noundef 30) #2 %17 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 21, i32 noundef 8) #2 %18 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 22, i32 noundef 8) #2 %19 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 23, i32 noundef 8) #2 %20 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 24, i32 noundef 112) #2 %21 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 25, i32 noundef 64) #2 %22 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 26, i32 noundef 8) #2 %23 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 27, i32 noundef 35) #2 %24 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 30, i32 noundef 16) #2 %25 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 31, i32 noundef 43) #2 %26 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 32, i32 noundef 185) #2 %27 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 34, i32 noundef 18) #2 %28 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 35, i32 noundef 80) #2 %29 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 39, i32 noundef 196) #2 %30 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 40, i32 noundef 2) #2 %31 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 41, i32 noundef 96) #2 %32 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 53, i32 noundef 16) #2 %33 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 54, i32 noundef 24) #2 %34 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 56, i32 noundef 8) #2 %35 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 57, i32 noundef 16) #2 %36 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 58, i32 noundef 8) #2 %37 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 61, i32 noundef 109) #2 %38 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef 62, i32 noundef 16) #2 %39 = load i32, ptr @EEPROM_BBP_SIZE, align 4, !tbaa !6 %40 = icmp eq i32 %39, 0 br i1 %40, label %57, label %41 41: ; preds = %8, %52 %42 = phi i64 [ %53, %52 ], [ 0, %8 ] %43 = load i64, ptr @EEPROM_BBP_START, align 8, !tbaa !10 %44 = add nsw i64 %43, %42 %45 = tail call i32 @rt2x00_eeprom_read(ptr noundef %0, i64 noundef %44) #2 switch i32 %45, label %46 [ i32 65535, label %52 i32 0, label %52 ] 46: ; preds = %41 %47 = load i32, ptr @EEPROM_BBP_REG_ID, align 4, !tbaa !6 %48 = tail call i32 @rt2x00_get_field16(i32 noundef %45, i32 noundef %47) #2 %49 = load i32, ptr @EEPROM_BBP_VALUE, align 4, !tbaa !6 %50 = tail call i32 @rt2x00_get_field16(i32 noundef %45, i32 noundef %49) #2 %51 = tail call i32 @rt2500pci_bbp_write(ptr noundef %0, i32 noundef %48, i32 noundef %50) #2 br label %52 52: ; preds = %41, %41, %46 %53 = add nuw nsw i64 %42, 1 %54 = load i32, ptr @EEPROM_BBP_SIZE, align 4, !tbaa !6 %55 = zext i32 %54 to i64 %56 = icmp ult i64 %53, %55 br i1 %56, label %41, label %57, !llvm.loop !12 57: ; preds = %52, %8, %5 %58 = phi i32 [ %7, %5 ], [ 0, %8 ], [ 0, %52 ] ret i32 %58 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @rt2500pci_wait_bbp_ready(ptr noundef) local_unnamed_addr #1 declare i32 @rt2500pci_bbp_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rt2x00_eeprom_read(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rt2x00_get_field16(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 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_wireless_ralink_rt2x00_extr_rt2500pci.c_rt2500pci_init_bbp
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_swap.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_swap.c" target datalayout = "e-m:e-p270:32:32-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 [2 x i8] c"\0A\00", align 1 @R128_NR_SAREA_CLIPRECTS = dso_local local_unnamed_addr global i64 0, align 8 @R128_UPLOAD_CONTEXT = dso_local local_unnamed_addr global i32 0, align 4 @R128_UPLOAD_MASKS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @r128_cce_swap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @r128_cce_swap(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #2 %7 = tail call i32 @LOCK_TEST_WITH_RETURN(ptr noundef nonnull %0, ptr noundef %2) #2 %8 = tail call i32 @DEV_INIT_TEST_WITH_RETURN(ptr noundef nonnull %4) #2 %9 = tail call i32 @RING_SPACE_TEST_WITH_RETURN(ptr noundef nonnull %4) #2 %10 = load i64, ptr %5, align 8, !tbaa !12 %11 = load i64, ptr @R128_NR_SAREA_CLIPRECTS, align 8, !tbaa !16 %12 = icmp sgt i64 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %3 store i64 %11, ptr %5, align 8, !tbaa !12 br label %14 14: ; preds = %13, %3 %15 = tail call i32 @r128_cce_dispatch_swap(ptr noundef nonnull %0) #2 %16 = load i32, ptr @R128_UPLOAD_CONTEXT, align 4, !tbaa !17 %17 = load i32, ptr @R128_UPLOAD_MASKS, align 4, !tbaa !17 %18 = or i32 %17, %16 %19 = load ptr, ptr %4, align 8, !tbaa !10 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i64 0, i32 1 %21 = load i32, ptr %20, align 8, !tbaa !18 %22 = or i32 %18, %21 store i32 %22, ptr %20, align 8, !tbaa !18 %23 = tail call i32 (...) @COMMIT_RING() #2 ret i32 0 } declare i32 @DRM_DEBUG(ptr noundef) local_unnamed_addr #1 declare i32 @LOCK_TEST_WITH_RETURN(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DEV_INIT_TEST_WITH_RETURN(ptr noundef) local_unnamed_addr #1 declare i32 @RING_SPACE_TEST_WITH_RETURN(ptr noundef) local_unnamed_addr #1 declare i32 @r128_cce_dispatch_swap(ptr noundef) local_unnamed_addr #1 declare i32 @COMMIT_RING(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_6__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_5__", !14, i64 0, !15, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!15, !15, i64 0} !18 = !{!13, !15, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_swap.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/r128/extr_r128_state.c_r128_cce_swap.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"\0A\00", align 1 @R128_NR_SAREA_CLIPRECTS = common local_unnamed_addr global i64 0, align 8 @R128_UPLOAD_CONTEXT = common local_unnamed_addr global i32 0, align 4 @R128_UPLOAD_MASKS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @r128_cce_swap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @r128_cce_swap(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #2 %7 = tail call i32 @LOCK_TEST_WITH_RETURN(ptr noundef nonnull %0, ptr noundef %2) #2 %8 = tail call i32 @DEV_INIT_TEST_WITH_RETURN(ptr noundef nonnull %4) #2 %9 = tail call i32 @RING_SPACE_TEST_WITH_RETURN(ptr noundef nonnull %4) #2 %10 = load i64, ptr %5, align 8, !tbaa !13 %11 = load i64, ptr @R128_NR_SAREA_CLIPRECTS, align 8, !tbaa !17 %12 = icmp sgt i64 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %3 store i64 %11, ptr %5, align 8, !tbaa !13 br label %14 14: ; preds = %13, %3 %15 = tail call i32 @r128_cce_dispatch_swap(ptr noundef nonnull %0) #2 %16 = load i32, ptr @R128_UPLOAD_CONTEXT, align 4, !tbaa !18 %17 = load i32, ptr @R128_UPLOAD_MASKS, align 4, !tbaa !18 %18 = or i32 %17, %16 %19 = load ptr, ptr %4, align 8, !tbaa !11 %20 = getelementptr inbounds i8, ptr %19, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !19 %22 = or i32 %18, %21 store i32 %22, ptr %20, align 8, !tbaa !19 %23 = tail call i32 @COMMIT_RING() #2 ret i32 0 } declare i32 @DRM_DEBUG(ptr noundef) local_unnamed_addr #1 declare i32 @LOCK_TEST_WITH_RETURN(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @DEV_INIT_TEST_WITH_RETURN(ptr noundef) local_unnamed_addr #1 declare i32 @RING_SPACE_TEST_WITH_RETURN(ptr noundef) local_unnamed_addr #1 declare i32 @r128_cce_dispatch_swap(ptr noundef) local_unnamed_addr #1 declare i32 @COMMIT_RING(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_6__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_5__", !15, i64 0, !16, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!15, !15, i64 0} !18 = !{!16, !16, i64 0} !19 = !{!14, !16, i64 8}
linux_drivers_gpu_drm_r128_extr_r128_state.c_r128_cce_swap
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_manage.c_do_poweroff.c' source_filename = "AnghaBench/linux/drivers/xen/extr_manage.c_do_poweroff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @system_state = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Ignoring Xen toolstack shutdown.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_poweroff], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_poweroff() #0 { %1 = load i32, ptr @system_state, align 4, !tbaa !5 switch i32 %1, label %6 [ i32 130, label %2 i32 128, label %2 i32 129, label %4 ] 2: ; preds = %0, %0 %3 = tail call i32 @orderly_poweroff(i32 noundef 1) #2 br label %8 4: ; preds = %0 %5 = tail call i32 @orderly_poweroff(i32 noundef 0) #2 br label %8 6: ; preds = %0 %7 = tail call i32 @pr_info(ptr noundef nonnull @.str) #2 br label %8 8: ; preds = %6, %4, %2 ret void } declare i32 @orderly_poweroff(i32 noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_manage.c_do_poweroff.c' source_filename = "AnghaBench/linux/drivers/xen/extr_manage.c_do_poweroff.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @system_state = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Ignoring Xen toolstack shutdown.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @do_poweroff], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_poweroff() #0 { %1 = load i32, ptr @system_state, align 4, !tbaa !6 switch i32 %1, label %6 [ i32 130, label %2 i32 128, label %2 i32 129, label %4 ] 2: ; preds = %0, %0 %3 = tail call i32 @orderly_poweroff(i32 noundef 1) #2 br label %8 4: ; preds = %0 %5 = tail call i32 @orderly_poweroff(i32 noundef 0) #2 br label %8 6: ; preds = %0 %7 = tail call i32 @pr_info(ptr noundef nonnull @.str) #2 br label %8 8: ; preds = %6, %4, %2 ret void } declare i32 @orderly_poweroff(i32 noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_xen_extr_manage.c_do_poweroff
; ModuleID = 'AnghaBench/freebsd/sys/dev/ath/extr_if_ath_btcoex_mci.c_ath_btcoex_mci_send_gpm.c' source_filename = "AnghaBench/freebsd/sys/dev/ath/extr_if_ath_btcoex_mci.c_ath_btcoex_mci_send_gpm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MCI_GPM = dso_local local_unnamed_addr global i32 0, align 4 @AH_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @AH_TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ath_btcoex_mci_send_gpm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ath_btcoex_mci_send_gpm(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @MCI_GPM, align 4, !tbaa !10 %5 = load i32, ptr @AH_FALSE, align 4, !tbaa !10 %6 = load i32, ptr @AH_TRUE, align 4, !tbaa !10 %7 = tail call i32 @ath_hal_btcoex_mci_send_message(i32 noundef %3, i32 noundef %4, i32 noundef 0, ptr noundef %1, i32 noundef 16, i32 noundef %5, i32 noundef %6) #2 ret void } declare i32 @ath_hal_btcoex_mci_send_message(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ath_softc", !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/freebsd/sys/dev/ath/extr_if_ath_btcoex_mci.c_ath_btcoex_mci_send_gpm.c' source_filename = "AnghaBench/freebsd/sys/dev/ath/extr_if_ath_btcoex_mci.c_ath_btcoex_mci_send_gpm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MCI_GPM = common local_unnamed_addr global i32 0, align 4 @AH_FALSE = common local_unnamed_addr global i32 0, align 4 @AH_TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ath_btcoex_mci_send_gpm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ath_btcoex_mci_send_gpm(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @MCI_GPM, align 4, !tbaa !11 %5 = load i32, ptr @AH_FALSE, align 4, !tbaa !11 %6 = load i32, ptr @AH_TRUE, align 4, !tbaa !11 %7 = tail call i32 @ath_hal_btcoex_mci_send_message(i32 noundef %3, i32 noundef %4, i32 noundef 0, ptr noundef %1, i32 noundef 16, i32 noundef %5, i32 noundef %6) #2 ret void } declare i32 @ath_hal_btcoex_mci_send_message(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ath_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_dev_ath_extr_if_ath_btcoex_mci.c_ath_btcoex_mci_send_gpm
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_device.c_amdgpu_device_ip_suspend_phase1.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_device.c_amdgpu_device_ip_suspend_phase1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.amdgpu_device = type { i32, ptr } %struct.TYPE_8__ = type { %struct.TYPE_7__, ptr } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { i64, ptr } %struct.TYPE_5__ = type { ptr, i32 } @AMD_PG_STATE_UNGATE = dso_local local_unnamed_addr global i32 0, align 4 @AMD_CG_STATE_UNGATE = dso_local local_unnamed_addr global i32 0, align 4 @AMD_IP_BLOCK_TYPE_DCE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [36 x i8] c"suspend of IP block <%s> failed %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @amdgpu_device_ip_suspend_phase1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @amdgpu_device_ip_suspend_phase1(ptr noundef %0) #0 { %2 = load i32, ptr @AMD_PG_STATE_UNGATE, align 4, !tbaa !5 %3 = tail call i32 @amdgpu_device_set_pg_state(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @AMD_CG_STATE_UNGATE, align 4, !tbaa !5 %5 = tail call i32 @amdgpu_device_set_cg_state(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr %0, align 8, !tbaa !9 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %45 8: ; preds = %1 %9 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1 %10 = zext nneg i32 %6 to i64 %11 = load ptr, ptr %9, align 8, !tbaa !12 br label %12 12: ; preds = %8, %42 %13 = phi ptr [ %11, %8 ], [ %43, %42 ] %14 = phi i64 [ %10, %8 ], [ %15, %42 ] %15 = add nsw i64 %14, -1 %16 = getelementptr inbounds %struct.TYPE_8__, ptr %13, i64 %15, i32 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = icmp eq i32 %17, 0 br i1 %18, label %42, label %19 19: ; preds = %12 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %13, i64 %15, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = load i64, ptr @AMD_IP_BLOCK_TYPE_DCE, align 8, !tbaa !20 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %42 25: ; preds = %19 %26 = getelementptr inbounds %struct.TYPE_6__, ptr %21, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !21 %28 = load ptr, ptr %27, align 8, !tbaa !22 %29 = tail call i32 %28(ptr noundef nonnull %0) #2 %30 = icmp eq i32 %29, 0 %31 = load ptr, ptr %9, align 8, !tbaa !12 br i1 %30, label %40, label %32 32: ; preds = %25 %33 = getelementptr inbounds %struct.TYPE_8__, ptr %31, i64 %15, i32 1 %34 = load ptr, ptr %33, align 8, !tbaa !16 %35 = getelementptr inbounds %struct.TYPE_6__, ptr %34, i64 0, i32 1 %36 = load ptr, ptr %35, align 8, !tbaa !21 %37 = getelementptr inbounds %struct.TYPE_5__, ptr %36, i64 0, i32 1 %38 = load i32, ptr %37, align 8, !tbaa !24 %39 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %38, i32 noundef %29) #2 br label %45 40: ; preds = %25 %41 = getelementptr inbounds %struct.TYPE_8__, ptr %31, i64 %15 store i32 0, ptr %41, align 8, !tbaa !25 br label %42 42: ; preds = %19, %40, %12 %43 = phi ptr [ %13, %19 ], [ %31, %40 ], [ %13, %12 ] %44 = icmp ugt i64 %14, 1 br i1 %44, label %12, label %45, !llvm.loop !26 45: ; preds = %42, %1, %32 %46 = phi i32 [ %29, %32 ], [ 0, %1 ], [ 0, %42 ] ret i32 %46 } declare i32 @amdgpu_device_set_pg_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @amdgpu_device_set_cg_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"amdgpu_device", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !6, i64 4} !14 = !{!"TYPE_8__", !15, i64 0, !11, i64 8} !15 = !{!"TYPE_7__", !6, i64 0, !6, i64 4} !16 = !{!14, !11, i64 8} !17 = !{!18, !19, i64 0} !18 = !{!"TYPE_6__", !19, i64 0, !11, i64 8} !19 = !{!"long", !7, i64 0} !20 = !{!19, !19, i64 0} !21 = !{!18, !11, i64 8} !22 = !{!23, !11, i64 0} !23 = !{!"TYPE_5__", !11, i64 0, !6, i64 8} !24 = !{!23, !6, i64 8} !25 = !{!14, !6, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_device.c_amdgpu_device_ip_suspend_phase1.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_device.c_amdgpu_device_ip_suspend_phase1.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 { %struct.TYPE_7__, ptr } %struct.TYPE_7__ = type { i32, i32 } @AMD_PG_STATE_UNGATE = common local_unnamed_addr global i32 0, align 4 @AMD_CG_STATE_UNGATE = common local_unnamed_addr global i32 0, align 4 @AMD_IP_BLOCK_TYPE_DCE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [36 x i8] c"suspend of IP block <%s> failed %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @amdgpu_device_ip_suspend_phase1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @amdgpu_device_ip_suspend_phase1(ptr noundef %0) #0 { %2 = load i32, ptr @AMD_PG_STATE_UNGATE, align 4, !tbaa !6 %3 = tail call i32 @amdgpu_device_set_pg_state(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @AMD_CG_STATE_UNGATE, align 4, !tbaa !6 %5 = tail call i32 @amdgpu_device_set_cg_state(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr %0, align 8, !tbaa !10 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %46 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = zext nneg i32 %6 to i64 %11 = load ptr, ptr %9, align 8, !tbaa !13 br label %12 12: ; preds = %8, %43 %13 = phi ptr [ %11, %8 ], [ %44, %43 ] %14 = phi i64 [ %10, %8 ], [ %15, %43 ] %15 = add nsw i64 %14, -1 %16 = getelementptr inbounds %struct.TYPE_8__, ptr %13, i64 %15 %17 = getelementptr inbounds i8, ptr %16, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = icmp eq i32 %18, 0 br i1 %19, label %43, label %20 20: ; preds = %12 %21 = getelementptr inbounds i8, ptr %16, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !17 %23 = load i64, ptr %22, align 8, !tbaa !18 %24 = load i64, ptr @AMD_IP_BLOCK_TYPE_DCE, align 8, !tbaa !21 %25 = icmp eq i64 %23, %24 br i1 %25, label %26, label %43 26: ; preds = %20 %27 = getelementptr inbounds i8, ptr %22, i64 8 %28 = load ptr, ptr %27, align 8, !tbaa !22 %29 = load ptr, ptr %28, align 8, !tbaa !23 %30 = tail call i32 %29(ptr noundef nonnull %0) #2 %31 = icmp eq i32 %30, 0 %32 = load ptr, ptr %9, align 8, !tbaa !13 br i1 %31, label %41, label %33 33: ; preds = %26 %34 = getelementptr inbounds %struct.TYPE_8__, ptr %32, i64 %15, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !17 %36 = getelementptr inbounds i8, ptr %35, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !22 %38 = getelementptr inbounds i8, ptr %37, i64 8 %39 = load i32, ptr %38, align 8, !tbaa !25 %40 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %39, i32 noundef %30) #2 br label %46 41: ; preds = %26 %42 = getelementptr inbounds %struct.TYPE_8__, ptr %32, i64 %15 store i32 0, ptr %42, align 8, !tbaa !26 br label %43 43: ; preds = %20, %41, %12 %44 = phi ptr [ %13, %20 ], [ %32, %41 ], [ %13, %12 ] %45 = icmp ugt i64 %14, 1 br i1 %45, label %12, label %46, !llvm.loop !27 46: ; preds = %43, %1, %33 %47 = phi i32 [ %30, %33 ], [ 0, %1 ], [ 0, %43 ] ret i32 %47 } declare i32 @amdgpu_device_set_pg_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @amdgpu_device_set_cg_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"amdgpu_device", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !7, i64 4} !15 = !{!"TYPE_8__", !16, i64 0, !12, i64 8} !16 = !{!"TYPE_7__", !7, i64 0, !7, i64 4} !17 = !{!15, !12, i64 8} !18 = !{!19, !20, i64 0} !19 = !{!"TYPE_6__", !20, i64 0, !12, i64 8} !20 = !{!"long", !8, i64 0} !21 = !{!20, !20, i64 0} !22 = !{!19, !12, i64 8} !23 = !{!24, !12, i64 0} !24 = !{!"TYPE_5__", !12, i64 0, !7, i64 8} !25 = !{!24, !7, i64 8} !26 = !{!15, !7, i64 0} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_device.c_amdgpu_device_ip_suspend_phase1
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_print_mcp_trace_results.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_print_mcp_trace_results.c" target datalayout = "e-m:e-p270:32:32-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 @qed_print_mcp_trace_results(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = call i32 @qed_parse_mcp_trace_dump(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef nonnull %5, i32 noundef 1) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #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 @qed_parse_mcp_trace_dump(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_print_mcp_trace_results.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_print_mcp_trace_results.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 @qed_print_mcp_trace_results(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = call i32 @qed_parse_mcp_trace_dump(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef nonnull %5, i32 noundef 1) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #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 @qed_parse_mcp_trace_dump(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_ethernet_qlogic_qed_extr_qed_debug.c_qed_print_mcp_trace_results
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/ss/extr_ebitmap.h_ebitmap_next_positive.c' source_filename = "AnghaBench/fastsocket/kernel/security/selinux/ss/extr_ebitmap.h_ebitmap_next_positive.c" target datalayout = "e-m:e-p270:32:32-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.ebitmap_node = type { i32, i32, ptr } @EBITMAP_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ebitmap_next_positive], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @ebitmap_next_positive(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.ebitmap_node, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = load i32, ptr @EBITMAP_SIZE, align 4, !tbaa !12 %8 = load i32, ptr %4, align 8, !tbaa !13 %9 = add i32 %2, 1 %10 = sub i32 %9, %8 %11 = tail call i32 @find_next_bit(i32 noundef %6, i32 noundef %7, i32 noundef %10) #2 %12 = load i32, ptr @EBITMAP_SIZE, align 4, !tbaa !12 %13 = icmp ult i32 %11, %12 br i1 %13, label %14, label %18 14: ; preds = %3 %15 = load ptr, ptr %1, align 8, !tbaa !5 %16 = load i32, ptr %15, align 8, !tbaa !13 %17 = add i32 %16, %11 br label %36 18: ; preds = %3, %24 %19 = phi i32 [ %28, %24 ], [ %12, %3 ] %20 = load ptr, ptr %1, align 8, !tbaa !5 %21 = getelementptr inbounds %struct.ebitmap_node, ptr %20, i64 0, i32 2 %22 = load ptr, ptr %21, align 8, !tbaa !14 store ptr %22, ptr %1, align 8, !tbaa !5 %23 = icmp eq ptr %22, null br i1 %23, label %34, label %24 24: ; preds = %18 %25 = getelementptr inbounds %struct.ebitmap_node, ptr %22, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !9 %27 = tail call i32 @find_first_bit(i32 noundef %26, i32 noundef %19) #2 %28 = load i32, ptr @EBITMAP_SIZE, align 4, !tbaa !12 %29 = icmp ult i32 %27, %28 br i1 %29, label %30, label %18, !llvm.loop !15 30: ; preds = %24 %31 = load ptr, ptr %1, align 8, !tbaa !5 %32 = load i32, ptr %31, align 8, !tbaa !13 %33 = add i32 %32, %27 br label %36 34: ; preds = %18 %35 = tail call i32 @ebitmap_length(ptr noundef %0) #2 br label %36 36: ; preds = %34, %30, %14 %37 = phi i32 [ %17, %14 ], [ %33, %30 ], [ %35, %34 ] ret i32 %37 } declare i32 @find_next_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @find_first_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ebitmap_length(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 4} !10 = !{!"ebitmap_node", !11, i64 0, !11, i64 4, !6, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !11, i64 0} !14 = !{!10, !6, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/ss/extr_ebitmap.h_ebitmap_next_positive.c' source_filename = "AnghaBench/fastsocket/kernel/security/selinux/ss/extr_ebitmap.h_ebitmap_next_positive.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBITMAP_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ebitmap_next_positive], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @ebitmap_next_positive(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = load i32, ptr @EBITMAP_SIZE, align 4, !tbaa !13 %8 = load i32, ptr %4, align 8, !tbaa !14 %9 = add i32 %2, 1 %10 = sub i32 %9, %8 %11 = tail call i32 @find_next_bit(i32 noundef %6, i32 noundef %7, i32 noundef %10) #2 %12 = load i32, ptr @EBITMAP_SIZE, align 4, !tbaa !13 %13 = icmp ult i32 %11, %12 br i1 %13, label %14, label %18 14: ; preds = %3 %15 = load ptr, ptr %1, align 8, !tbaa !6 %16 = load i32, ptr %15, align 8, !tbaa !14 %17 = add i32 %16, %11 br label %36 18: ; preds = %3, %24 %19 = phi i32 [ %28, %24 ], [ %12, %3 ] %20 = load ptr, ptr %1, align 8, !tbaa !6 %21 = getelementptr inbounds i8, ptr %20, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !15 store ptr %22, ptr %1, align 8, !tbaa !6 %23 = icmp eq ptr %22, null br i1 %23, label %34, label %24 24: ; preds = %18 %25 = getelementptr inbounds i8, ptr %22, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !10 %27 = tail call i32 @find_first_bit(i32 noundef %26, i32 noundef %19) #2 %28 = load i32, ptr @EBITMAP_SIZE, align 4, !tbaa !13 %29 = icmp ult i32 %27, %28 br i1 %29, label %30, label %18, !llvm.loop !16 30: ; preds = %24 %31 = load ptr, ptr %1, align 8, !tbaa !6 %32 = load i32, ptr %31, align 8, !tbaa !14 %33 = add i32 %32, %27 br label %36 34: ; preds = %18 %35 = tail call i32 @ebitmap_length(ptr noundef %0) #2 br label %36 36: ; preds = %34, %30, %14 %37 = phi i32 [ %17, %14 ], [ %33, %30 ], [ %35, %34 ] ret i32 %37 } declare i32 @find_next_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @find_first_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ebitmap_length(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"ebitmap_node", !12, i64 0, !12, i64 4, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!11, !7, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_security_selinux_ss_extr_ebitmap.h_ebitmap_next_positive
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/ntdll/extr_RtlDetermineDosPathNameType.c_MakeReadOnly.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/ntdll/extr_RtlDetermineDosPathNameType.c_MakeReadOnly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MEM_COMMIT = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_READWRITE = dso_local local_unnamed_addr global i32 0, align 4 @MEM_RELEASE = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [14 x i8] c"Status = %lx\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @MakeReadOnly], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @MakeReadOnly(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %5 = tail call i64 @PAGE_ROUND_UP(i64 noundef %1) #3 store i64 %5, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %6 = tail call i32 @PAGE_ROUND_DOWN(i64 noundef %0) #3 %7 = sext i32 %6 to i64 store i64 %7, ptr %4, align 8, !tbaa !5 %8 = icmp eq i64 %5, 0 br i1 %8, label %24, label %9 9: ; preds = %2 %10 = tail call i32 (...) @NtCurrentProcess() #3 %11 = load i32, ptr @MEM_COMMIT, align 4, !tbaa !9 %12 = load i32, ptr @PAGE_READWRITE, align 4, !tbaa !9 %13 = call i64 @NtAllocateVirtualMemory(i32 noundef %10, ptr noundef nonnull %4, i32 noundef 0, ptr noundef nonnull %3, i32 noundef %11, i32 noundef %12) #3 %14 = call i32 @NT_SUCCESS(i64 noundef %13) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %9 store i64 0, ptr %3, align 8, !tbaa !5 %17 = call i32 (...) @NtCurrentProcess() #3 %18 = load i32, ptr @MEM_RELEASE, align 4, !tbaa !9 %19 = call i64 @NtFreeVirtualMemory(i32 noundef %17, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %18) #3 %20 = load i64, ptr @STATUS_SUCCESS, align 8, !tbaa !5 %21 = icmp eq i64 %19, %20 %22 = zext i1 %21 to i32 %23 = call i32 @ok(i32 noundef %22, ptr noundef nonnull @.str, i64 noundef %19) #3 br label %24 24: ; preds = %9, %16, %2 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 undef } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @PAGE_ROUND_UP(i64 noundef) local_unnamed_addr #2 declare i32 @PAGE_ROUND_DOWN(i64 noundef) local_unnamed_addr #2 declare i64 @NtAllocateVirtualMemory(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NtCurrentProcess(...) local_unnamed_addr #2 declare i32 @NT_SUCCESS(i64 noundef) local_unnamed_addr #2 declare i64 @NtFreeVirtualMemory(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/ntdll/extr_RtlDetermineDosPathNameType.c_MakeReadOnly.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/ntdll/extr_RtlDetermineDosPathNameType.c_MakeReadOnly.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MEM_COMMIT = common local_unnamed_addr global i32 0, align 4 @PAGE_READWRITE = common local_unnamed_addr global i32 0, align 4 @MEM_RELEASE = common local_unnamed_addr global i32 0, align 4 @STATUS_SUCCESS = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [14 x i8] c"Status = %lx\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @MakeReadOnly], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @MakeReadOnly(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %5 = tail call i64 @PAGE_ROUND_UP(i64 noundef %1) #3 store i64 %5, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %6 = tail call i32 @PAGE_ROUND_DOWN(i64 noundef %0) #3 %7 = sext i32 %6 to i64 store i64 %7, ptr %4, align 8, !tbaa !6 %8 = icmp eq i64 %5, 0 br i1 %8, label %24, label %9 9: ; preds = %2 %10 = tail call i32 @NtCurrentProcess() #3 %11 = load i32, ptr @MEM_COMMIT, align 4, !tbaa !10 %12 = load i32, ptr @PAGE_READWRITE, align 4, !tbaa !10 %13 = call i64 @NtAllocateVirtualMemory(i32 noundef %10, ptr noundef nonnull %4, i32 noundef 0, ptr noundef nonnull %3, i32 noundef %11, i32 noundef %12) #3 %14 = call i32 @NT_SUCCESS(i64 noundef %13) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %9 store i64 0, ptr %3, align 8, !tbaa !6 %17 = call i32 @NtCurrentProcess() #3 %18 = load i32, ptr @MEM_RELEASE, align 4, !tbaa !10 %19 = call i64 @NtFreeVirtualMemory(i32 noundef %17, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %18) #3 %20 = load i64, ptr @STATUS_SUCCESS, align 8, !tbaa !6 %21 = icmp eq i64 %19, %20 %22 = zext i1 %21 to i32 %23 = call i32 @ok(i32 noundef %22, ptr noundef nonnull @.str, i64 noundef %19) #3 br label %24 24: ; preds = %9, %16, %2 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 undef } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @PAGE_ROUND_UP(i64 noundef) local_unnamed_addr #2 declare i32 @PAGE_ROUND_DOWN(i64 noundef) local_unnamed_addr #2 declare i64 @NtAllocateVirtualMemory(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @NtCurrentProcess(...) local_unnamed_addr #2 declare i32 @NT_SUCCESS(i64 noundef) local_unnamed_addr #2 declare i64 @NtFreeVirtualMemory(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
reactos_modules_rostests_apitests_ntdll_extr_RtlDetermineDosPathNameType.c_MakeReadOnly
; ModuleID = 'AnghaBench/freebsd/contrib/ncurses/progs/extr_infocmp.c_useeq.c' source_filename = "AnghaBench/freebsd/contrib/ncurses/progs/extr_infocmp.c_useeq.c" target datalayout = "e-m:e-p270:32:32-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, ptr } %struct.TYPE_5__ = type { i32 } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @useeq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @useeq(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %1, align 8, !tbaa !5 %5 = icmp eq i32 %3, %4 br i1 %5, label %6, label %41 6: ; preds = %2 %7 = icmp eq i32 %3, 0 br i1 %7, label %41, label %8 8: ; preds = %6 %9 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 br label %16 11: ; preds = %38 %12 = add nuw nsw i64 %17, 1 %13 = load i32, ptr %0, align 8, !tbaa !5 %14 = zext i32 %13 to i64 %15 = icmp ult i64 %12, %14 br i1 %15, label %16, label %41, !llvm.loop !11 16: ; preds = %8, %11 %17 = phi i64 [ 0, %8 ], [ %12, %11 ] %18 = load i32, ptr @FALSE, align 4, !tbaa !13 %19 = load i32, ptr %1, align 8, !tbaa !5 %20 = icmp eq i32 %19, 0 br i1 %20, label %38, label %26 21: ; preds = %26 %22 = add nuw nsw i64 %27, 1 %23 = load i32, ptr %1, align 8, !tbaa !5 %24 = zext i32 %23 to i64 %25 = icmp ult i64 %22, %24 br i1 %25, label %26, label %38, !llvm.loop !14 26: ; preds = %16, %21 %27 = phi i64 [ %22, %21 ], [ 0, %16 ] %28 = load ptr, ptr %9, align 8, !tbaa !15 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %28, i64 %17 %30 = load i32, ptr %29, align 4, !tbaa !16 %31 = load ptr, ptr %10, align 8, !tbaa !15 %32 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i64 %27 %33 = load i32, ptr %32, align 4, !tbaa !16 %34 = tail call i32 @strcmp(i32 noundef %30, i32 noundef %33) #2 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %21 36: ; preds = %26 %37 = load i32, ptr @TRUE, align 4, !tbaa !13 br label %38 38: ; preds = %21, %16, %36 %39 = phi i32 [ %37, %36 ], [ %18, %16 ], [ %18, %21 ] %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %11 41: ; preds = %38, %11, %6, %2 %42 = phi ptr [ @FALSE, %2 ], [ @TRUE, %6 ], [ @FALSE, %38 ], [ @TRUE, %11 ] %43 = load i32, ptr %42, align 4 ret i32 %43 } declare i32 @strcmp(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_6__", !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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !12} !15 = !{!6, !10, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ncurses/progs/extr_infocmp.c_useeq.c' source_filename = "AnghaBench/freebsd/contrib/ncurses/progs/extr_infocmp.c_useeq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32 } @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @useeq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @useeq(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %1, align 8, !tbaa !6 %5 = icmp eq i32 %3, %4 br i1 %5, label %6, label %41 6: ; preds = %2 %7 = icmp eq i32 %3, 0 br i1 %7, label %41, label %8 8: ; preds = %6 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = getelementptr inbounds i8, ptr %1, i64 8 br label %16 11: ; preds = %38 %12 = add nuw nsw i64 %17, 1 %13 = load i32, ptr %0, align 8, !tbaa !6 %14 = zext i32 %13 to i64 %15 = icmp ult i64 %12, %14 br i1 %15, label %16, label %41, !llvm.loop !12 16: ; preds = %8, %11 %17 = phi i64 [ 0, %8 ], [ %12, %11 ] %18 = load i32, ptr @FALSE, align 4, !tbaa !14 %19 = load i32, ptr %1, align 8, !tbaa !6 %20 = icmp eq i32 %19, 0 br i1 %20, label %38, label %26 21: ; preds = %26 %22 = add nuw nsw i64 %27, 1 %23 = load i32, ptr %1, align 8, !tbaa !6 %24 = zext i32 %23 to i64 %25 = icmp ult i64 %22, %24 br i1 %25, label %26, label %38, !llvm.loop !15 26: ; preds = %16, %21 %27 = phi i64 [ %22, %21 ], [ 0, %16 ] %28 = load ptr, ptr %9, align 8, !tbaa !16 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %28, i64 %17 %30 = load i32, ptr %29, align 4, !tbaa !17 %31 = load ptr, ptr %10, align 8, !tbaa !16 %32 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i64 %27 %33 = load i32, ptr %32, align 4, !tbaa !17 %34 = tail call i32 @strcmp(i32 noundef %30, i32 noundef %33) #2 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %21 36: ; preds = %26 %37 = load i32, ptr @TRUE, align 4, !tbaa !14 br label %38 38: ; preds = %21, %16, %36 %39 = phi i32 [ %37, %36 ], [ %18, %16 ], [ %18, %21 ] %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %11 41: ; preds = %38, %11, %6, %2 %42 = phi ptr [ @FALSE, %2 ], [ @TRUE, %6 ], [ @FALSE, %38 ], [ @TRUE, %11 ] %43 = load i32, ptr %42, align 4 ret i32 %43 } declare i32 @strcmp(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_6__", !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !13} !16 = !{!7, !11, i64 8} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_5__", !8, i64 0}
freebsd_contrib_ncurses_progs_extr_infocmp.c_useeq
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_kxsd9.c_kxsd9_buffer_preenable.c' source_filename = "AnghaBench/linux/drivers/iio/accel/extr_kxsd9.c_kxsd9_buffer_preenable.c" target datalayout = "e-m:e-p270:32:32-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 @kxsd9_buffer_preenable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @kxsd9_buffer_preenable(ptr noundef %0) #0 { %2 = tail call ptr @iio_priv(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @pm_runtime_get_sync(i32 noundef %3) #2 ret i32 0 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(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 = !{!"kxsd9_state", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_kxsd9.c_kxsd9_buffer_preenable.c' source_filename = "AnghaBench/linux/drivers/iio/accel/extr_kxsd9.c_kxsd9_buffer_preenable.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 @kxsd9_buffer_preenable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @kxsd9_buffer_preenable(ptr noundef %0) #0 { %2 = tail call ptr @iio_priv(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @pm_runtime_get_sync(i32 noundef %3) #2 ret i32 0 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(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 = !{!"kxsd9_state", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_iio_accel_extr_kxsd9.c_kxsd9_buffer_preenable
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_get_wc.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_get_wc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_wc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_wc(ptr noundef %0) #0 { %2 = load i32, ptr @WC, align 4, !tbaa !5 %3 = tail call i32 @hw_read_20kx(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @hw_read_20kx(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_get_wc.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_get_wc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_wc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_wc(ptr noundef %0) #0 { %2 = load i32, ptr @WC, align 4, !tbaa !6 %3 = tail call i32 @hw_read_20kx(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @hw_read_20kx(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_sound_pci_ctxfi_extr_cthw20k2.c_get_wc
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/dsi/pll/extr_dsi_pll_28nm_8960.c_clk_bytediv_recalc_rate.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/dsi/pll/extr_dsi_pll_28nm_8960.c_clk_bytediv_recalc_rate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @clk_bytediv_recalc_rate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @clk_bytediv_recalc_rate(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call ptr @to_clk_bytediv(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @pll_read(i32 noundef %4) #2 %6 = and i32 %5, 255 %7 = add nuw nsw i32 %6, 1 %8 = zext nneg i32 %7 to i64 %9 = udiv i64 %1, %8 ret i64 %9 } declare ptr @to_clk_bytediv(ptr noundef) local_unnamed_addr #1 declare i32 @pll_read(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 = !{!"clk_bytediv", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/dsi/pll/extr_dsi_pll_28nm_8960.c_clk_bytediv_recalc_rate.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/dsi/pll/extr_dsi_pll_28nm_8960.c_clk_bytediv_recalc_rate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @clk_bytediv_recalc_rate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @clk_bytediv_recalc_rate(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call ptr @to_clk_bytediv(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @pll_read(i32 noundef %4) #2 %6 = and i32 %5, 255 %7 = add nuw nsw i32 %6, 1 %8 = zext nneg i32 %7 to i64 %9 = udiv i64 %1, %8 ret i64 %9 } declare ptr @to_clk_bytediv(ptr noundef) local_unnamed_addr #1 declare i32 @pll_read(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 = !{!"clk_bytediv", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_dsi_pll_extr_dsi_pll_28nm_8960.c_clk_bytediv_recalc_rate
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE(i32 noundef %0) #0 { %2 = load i32, ptr @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__SHIFT = common local_unnamed_addr global i32 0, align 4 @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE(i32 noundef %0) #0 { %2 = load i32, ptr @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_adreno_extr_a6xx.xml.h_A6XX_RB_MRT_BUF_INFO_COLOR_TILE_MODE
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent.c_bufferevent_generic_write_timeout_cb.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent.c_bufferevent_generic_write_timeout_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EV_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @BEV_EVENT_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @BEV_EVENT_WRITING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bufferevent_generic_write_timeout_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bufferevent_generic_write_timeout_cb(i32 %0, i16 signext %1, ptr noundef %2) #0 { %4 = tail call i32 @bufferevent_incref_and_lock_(ptr noundef %2) #2 %5 = load i32, ptr @EV_WRITE, align 4, !tbaa !5 %6 = tail call i32 @bufferevent_disable(ptr noundef %2, i32 noundef %5) #2 %7 = load i32, ptr @BEV_EVENT_TIMEOUT, align 4, !tbaa !5 %8 = load i32, ptr @BEV_EVENT_WRITING, align 4, !tbaa !5 %9 = or i32 %8, %7 %10 = tail call i32 @bufferevent_run_eventcb_(ptr noundef %2, i32 noundef %9, i32 noundef 0) #2 %11 = tail call i32 @bufferevent_decref_and_unlock_(ptr noundef %2) #2 ret void } declare i32 @bufferevent_incref_and_lock_(ptr noundef) local_unnamed_addr #1 declare i32 @bufferevent_disable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bufferevent_run_eventcb_(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bufferevent_decref_and_unlock_(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent.c_bufferevent_generic_write_timeout_cb.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent.c_bufferevent_generic_write_timeout_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EV_WRITE = common local_unnamed_addr global i32 0, align 4 @BEV_EVENT_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @BEV_EVENT_WRITING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bufferevent_generic_write_timeout_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bufferevent_generic_write_timeout_cb(i32 %0, i16 signext %1, ptr noundef %2) #0 { %4 = tail call i32 @bufferevent_incref_and_lock_(ptr noundef %2) #2 %5 = load i32, ptr @EV_WRITE, align 4, !tbaa !6 %6 = tail call i32 @bufferevent_disable(ptr noundef %2, i32 noundef %5) #2 %7 = load i32, ptr @BEV_EVENT_TIMEOUT, align 4, !tbaa !6 %8 = load i32, ptr @BEV_EVENT_WRITING, align 4, !tbaa !6 %9 = or i32 %8, %7 %10 = tail call i32 @bufferevent_run_eventcb_(ptr noundef %2, i32 noundef %9, i32 noundef 0) #2 %11 = tail call i32 @bufferevent_decref_and_unlock_(ptr noundef %2) #2 ret void } declare i32 @bufferevent_incref_and_lock_(ptr noundef) local_unnamed_addr #1 declare i32 @bufferevent_disable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bufferevent_run_eventcb_(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bufferevent_decref_and_unlock_(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ntp_sntp_libevent_extr_bufferevent.c_bufferevent_generic_write_timeout_cb
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_pnfs.h_pnfs_parse_lgopen.c' source_filename = "AnghaBench/linux/fs/nfs/extr_pnfs.h_pnfs_parse_lgopen.c" target datalayout = "e-m:e-p270:32:32-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 @pnfs_parse_lgopen], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @pnfs_parse_lgopen(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { ret void } 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/fs/nfs/extr_pnfs.h_pnfs_parse_lgopen.c' source_filename = "AnghaBench/linux/fs/nfs/extr_pnfs.h_pnfs_parse_lgopen.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 @pnfs_parse_lgopen], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @pnfs_parse_lgopen(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { ret void } 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_fs_nfs_extr_pnfs.h_pnfs_parse_lgopen
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/com_err/extr_lex.c_getstring.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/com_err/extr_lex.c_getstring.c" target datalayout = "e-m:e-p270:32:32-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 } @EOF = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"unterminated string\00", align 1 @lineno = dso_local local_unnamed_addr global i32 0, align 4 @yylval = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 @STRING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @getstring], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @getstring() #0 { %1 = alloca [128 x i8], align 16 call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %1) #4 br label %2 2: ; preds = %0, %10 %3 = phi i64 [ 0, %0 ], [ %13, %10 ] br label %4 4: ; preds = %2, %15 %5 = phi i1 [ false, %15 ], [ true, %2 ] %6 = tail call i32 (...) @input() #4 %7 = load i32, ptr @EOF, align 4, !tbaa !5 %8 = icmp eq i32 %6, %7 br i1 %8, label %20, label %9 9: ; preds = %4 br i1 %5, label %15, label %10 10: ; preds = %9, %15 %11 = trunc i32 %6 to i8 %12 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %3 store i8 %11, ptr %12, align 1, !tbaa !9 %13 = add nuw nsw i64 %3, 1 %14 = icmp eq i64 %13, 127 br i1 %14, label %20, label %2, !llvm.loop !10 15: ; preds = %9 switch i32 %6, label %10 [ i32 10, label %16 i32 92, label %4 i32 34, label %20 ] 16: ; preds = %15 %17 = tail call i32 @_lex_error_message(ptr noundef nonnull @.str) #4 %18 = load i32, ptr @lineno, align 4, !tbaa !5 %19 = add nsw i32 %18, 1 store i32 %19, ptr @lineno, align 4, !tbaa !5 br label %20 20: ; preds = %10, %4, %15, %16 %21 = phi i64 [ %3, %16 ], [ %3, %15 ], [ %3, %4 ], [ %13, %10 ] %22 = and i64 %21, 4294967295 %23 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %22 store i8 0, ptr %23, align 1, !tbaa !9 %24 = call ptr @strdup(ptr noundef nonnull %1) store ptr %24, ptr @yylval, align 8, !tbaa !12 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %20 %27 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.1) #4 br label %28 28: ; preds = %26, %20 %29 = load i32, ptr @STRING, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %1) #4 ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @input(...) local_unnamed_addr #2 declare i32 @_lex_error_message(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/com_err/extr_lex.c_getstring.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/com_err/extr_lex.c_getstring.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 } @EOF = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"unterminated string\00", align 1 @lineno = common local_unnamed_addr global i32 0, align 4 @yylval = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 @STRING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @getstring], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @getstring() #0 { %1 = alloca [128 x i8], align 1 call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %1) #4 br label %2 2: ; preds = %0, %10 %3 = phi i64 [ 0, %0 ], [ %13, %10 ] br label %4 4: ; preds = %2, %15 %5 = phi i1 [ false, %15 ], [ true, %2 ] %6 = tail call i32 @input() #4 %7 = load i32, ptr @EOF, align 4, !tbaa !6 %8 = icmp eq i32 %6, %7 br i1 %8, label %20, label %9 9: ; preds = %4 br i1 %5, label %15, label %10 10: ; preds = %9, %15 %11 = trunc i32 %6 to i8 %12 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %3 store i8 %11, ptr %12, align 1, !tbaa !10 %13 = add nuw nsw i64 %3, 1 %14 = icmp eq i64 %13, 127 br i1 %14, label %20, label %2, !llvm.loop !11 15: ; preds = %9 switch i32 %6, label %10 [ i32 10, label %16 i32 92, label %4 i32 34, label %20 ] 16: ; preds = %15 %17 = tail call i32 @_lex_error_message(ptr noundef nonnull @.str) #4 %18 = load i32, ptr @lineno, align 4, !tbaa !6 %19 = add nsw i32 %18, 1 store i32 %19, ptr @lineno, align 4, !tbaa !6 br label %20 20: ; preds = %10, %4, %15, %16 %21 = phi i64 [ %3, %16 ], [ %3, %15 ], [ %3, %4 ], [ %13, %10 ] %22 = and i64 %21, 4294967295 %23 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %22 store i8 0, ptr %23, align 1, !tbaa !10 %24 = call ptr @strdup(ptr noundef nonnull %1) store ptr %24, ptr @yylval, align 8, !tbaa !13 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %20 %27 = tail call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.1) #4 br label %28 28: ; preds = %26, %20 %29 = load i32, ptr @STRING, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %1) #4 ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @input(...) local_unnamed_addr #2 declare i32 @_lex_error_message(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"any pointer", !8, i64 0}
freebsd_crypto_heimdal_lib_com_err_extr_lex.c_getstring
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_oxu210hp-hcd.c_qh_unlink_periodic.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_oxu210hp-hcd.c_qh_unlink_periodic.c" target datalayout = "e-m:e-p270:32:32-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.ehci_qh = type { i32, i32, i32, i32, %struct.TYPE_7__, i32, i32, ptr } %struct.TYPE_7__ = type { ptr } %struct.oxu_hcd = type { i32, i32 } @.str = private unnamed_addr constant [41 x i8] c"unlink qh%d-%04x/%p start %d [%d/%d us]\0A\00", align 1 @QH_CMASK = dso_local local_unnamed_addr global i32 0, align 4 @QH_SMASK = dso_local local_unnamed_addr global i32 0, align 4 @QH_STATE_UNLINK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qh_unlink_periodic], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qh_unlink_periodic(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = tail call i32 @llvm.umax.i32(i32 %3, i32 1) %5 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = load i32, ptr %0, align 4, !tbaa !13 %8 = icmp ult i32 %6, %7 br i1 %8, label %9, label %17 9: ; preds = %2, %9 %10 = phi i32 [ %12, %9 ], [ %6, %2 ] %11 = tail call i32 @periodic_unlink(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull %1) #3 %12 = add i32 %10, %4 %13 = load i32, ptr %0, align 4, !tbaa !13 %14 = icmp ult i32 %12, %13 br i1 %14, label %9, label %15, !llvm.loop !15 15: ; preds = %9 %16 = load i32, ptr %1, align 8, !tbaa !5 br label %17 17: ; preds = %15, %2 %18 = phi i32 [ %16, %15 ], [ %3, %2 ] %19 = icmp eq i32 %18, 0 %20 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 2 %21 = load i32, ptr %20, align 8, !tbaa !17 br i1 %19, label %27, label %22 22: ; preds = %17 %23 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 3 %24 = load i32, ptr %23, align 4, !tbaa !18 %25 = add nsw i32 %24, %21 %26 = udiv i32 %25, %18 br label %29 27: ; preds = %17 %28 = shl nsw i32 %21, 3 br label %29 29: ; preds = %27, %22 %30 = phi i32 [ %26, %22 ], [ %28, %27 ] %31 = tail call ptr @oxu_to_hcd(ptr noundef nonnull %0) #3 %32 = load i32, ptr %31, align 4, !tbaa !19 %33 = sub i32 %32, %30 store i32 %33, ptr %31, align 4, !tbaa !19 %34 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 7 %35 = load ptr, ptr %34, align 8, !tbaa !22 %36 = load i32, ptr %1, align 8, !tbaa !5 %37 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 6 %38 = tail call i32 @le32_to_cpup(ptr noundef nonnull %37) #3 %39 = load i32, ptr @QH_CMASK, align 4, !tbaa !23 %40 = load i32, ptr @QH_SMASK, align 4, !tbaa !23 %41 = or i32 %40, %39 %42 = and i32 %41, %38 %43 = load i32, ptr %5, align 4, !tbaa !12 %44 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 2 %45 = load i32, ptr %44, align 8, !tbaa !17 %46 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 3 %47 = load i32, ptr %46, align 4, !tbaa !18 %48 = tail call i32 @dev_dbg(ptr noundef %35, ptr noundef nonnull @.str, i32 noundef %36, i32 noundef %42, ptr noundef nonnull %1, i32 noundef %43, i32 noundef %45, i32 noundef %47) #3 %49 = load i32, ptr @QH_STATE_UNLINK, align 4, !tbaa !23 %50 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 5 store i32 %49, ptr %50, align 8, !tbaa !24 %51 = getelementptr inbounds %struct.ehci_qh, ptr %1, i64 0, i32 4 store ptr null, ptr %51, align 8, !tbaa !25 %52 = tail call i32 @qh_put(ptr noundef nonnull %1) #3 %53 = getelementptr inbounds %struct.oxu_hcd, ptr %0, i64 0, i32 1 %54 = load i32, ptr %53, align 4, !tbaa !26 %55 = add nsw i32 %54, -1 store i32 %55, ptr %53, align 4, !tbaa !26 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %59 57: ; preds = %29 %58 = tail call i32 @disable_periodic(ptr noundef nonnull %0) #3 br label %59 59: ; preds = %57, %29 ret void } declare i32 @periodic_unlink(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @oxu_to_hcd(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le32_to_cpup(ptr noundef) local_unnamed_addr #1 declare i32 @qh_put(ptr noundef) local_unnamed_addr #1 declare i32 @disable_periodic(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 = !{!"ehci_qh", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !7, i64 24, !7, i64 28, !11, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_7__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!14, !7, i64 0} !14 = !{!"oxu_hcd", !7, i64 0, !7, i64 4} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!6, !7, i64 8} !18 = !{!6, !7, i64 12} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_8__", !21, i64 0} !21 = !{!"TYPE_5__", !7, i64 0} !22 = !{!6, !11, i64 32} !23 = !{!7, !7, i64 0} !24 = !{!6, !7, i64 24} !25 = !{!6, !11, i64 16} !26 = !{!14, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_oxu210hp-hcd.c_qh_unlink_periodic.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_oxu210hp-hcd.c_qh_unlink_periodic.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 [41 x i8] c"unlink qh%d-%04x/%p start %d [%d/%d us]\0A\00", align 1 @QH_CMASK = common local_unnamed_addr global i32 0, align 4 @QH_SMASK = common local_unnamed_addr global i32 0, align 4 @QH_STATE_UNLINK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qh_unlink_periodic], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qh_unlink_periodic(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = tail call i32 @llvm.umax.i32(i32 %3, i32 1) %5 = getelementptr inbounds i8, ptr %1, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = load i32, ptr %0, align 4, !tbaa !14 %8 = icmp ult i32 %6, %7 br i1 %8, label %9, label %17 9: ; preds = %2, %9 %10 = phi i32 [ %12, %9 ], [ %6, %2 ] %11 = tail call i32 @periodic_unlink(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull %1) #3 %12 = add i32 %10, %4 %13 = load i32, ptr %0, align 4, !tbaa !14 %14 = icmp ult i32 %12, %13 br i1 %14, label %9, label %15, !llvm.loop !16 15: ; preds = %9 %16 = load i32, ptr %1, align 8, !tbaa !6 br label %17 17: ; preds = %15, %2 %18 = phi i32 [ %16, %15 ], [ %3, %2 ] %19 = icmp eq i32 %18, 0 %20 = getelementptr inbounds i8, ptr %1, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !18 br i1 %19, label %27, label %22 22: ; preds = %17 %23 = getelementptr inbounds i8, ptr %1, i64 12 %24 = load i32, ptr %23, align 4, !tbaa !19 %25 = add nsw i32 %24, %21 %26 = udiv i32 %25, %18 br label %29 27: ; preds = %17 %28 = shl nsw i32 %21, 3 br label %29 29: ; preds = %27, %22 %30 = phi i32 [ %26, %22 ], [ %28, %27 ] %31 = tail call ptr @oxu_to_hcd(ptr noundef nonnull %0) #3 %32 = load i32, ptr %31, align 4, !tbaa !20 %33 = sub i32 %32, %30 store i32 %33, ptr %31, align 4, !tbaa !20 %34 = getelementptr inbounds i8, ptr %1, i64 32 %35 = load ptr, ptr %34, align 8, !tbaa !23 %36 = load i32, ptr %1, align 8, !tbaa !6 %37 = getelementptr inbounds i8, ptr %1, i64 28 %38 = tail call i32 @le32_to_cpup(ptr noundef nonnull %37) #3 %39 = load i32, ptr @QH_CMASK, align 4, !tbaa !24 %40 = load i32, ptr @QH_SMASK, align 4, !tbaa !24 %41 = or i32 %40, %39 %42 = and i32 %41, %38 %43 = load i32, ptr %5, align 4, !tbaa !13 %44 = load i32, ptr %20, align 8, !tbaa !18 %45 = getelementptr inbounds i8, ptr %1, i64 12 %46 = load i32, ptr %45, align 4, !tbaa !19 %47 = tail call i32 @dev_dbg(ptr noundef %35, ptr noundef nonnull @.str, i32 noundef %36, i32 noundef %42, ptr noundef nonnull %1, i32 noundef %43, i32 noundef %44, i32 noundef %46) #3 %48 = load i32, ptr @QH_STATE_UNLINK, align 4, !tbaa !24 %49 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %48, ptr %49, align 8, !tbaa !25 %50 = getelementptr inbounds i8, ptr %1, i64 16 store ptr null, ptr %50, align 8, !tbaa !26 %51 = tail call i32 @qh_put(ptr noundef nonnull %1) #3 %52 = getelementptr inbounds i8, ptr %0, i64 4 %53 = load i32, ptr %52, align 4, !tbaa !27 %54 = add nsw i32 %53, -1 store i32 %54, ptr %52, align 4, !tbaa !27 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %29 %57 = tail call i32 @disable_periodic(ptr noundef nonnull %0) #3 br label %58 58: ; preds = %56, %29 ret void } declare i32 @periodic_unlink(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @oxu_to_hcd(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @le32_to_cpup(ptr noundef) local_unnamed_addr #1 declare i32 @qh_put(ptr noundef) local_unnamed_addr #1 declare i32 @disable_periodic(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 = !{!"ehci_qh", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !8, i64 24, !8, i64 28, !12, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!15, !8, i64 0} !15 = !{!"oxu_hcd", !8, i64 0, !8, i64 4} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!7, !8, i64 8} !19 = !{!7, !8, i64 12} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_8__", !22, i64 0} !22 = !{!"TYPE_5__", !8, i64 0} !23 = !{!7, !12, i64 32} !24 = !{!8, !8, i64 0} !25 = !{!7, !8, i64 24} !26 = !{!7, !12, i64 16} !27 = !{!15, !8, i64 4}
linux_drivers_usb_host_extr_oxu210hp-hcd.c_qh_unlink_periodic
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lua.c_dostring.c' source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lua.c_dostring.c" target datalayout = "e-m:e-p270:32:32-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 @dostring], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dostring(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @strlen(ptr noundef %1) #2 %5 = tail call i64 @luaL_loadbuffer(ptr noundef %0, ptr noundef %1, i32 noundef %4, ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = tail call i64 @docall(ptr noundef %0, i32 noundef 0, i32 noundef 1) #2 %9 = icmp ne i64 %8, 0 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %7, %3 %12 = phi i32 [ 1, %3 ], [ %10, %7 ] %13 = tail call i32 @report(ptr noundef %0, i32 noundef %12) #2 ret i32 %13 } declare i64 @luaL_loadbuffer(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i64 @docall(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @report(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/Provenance/Cores/FCEU/FCEU/lua/src/extr_lua.c_dostring.c' source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lua.c_dostring.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 @dostring], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dostring(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @strlen(ptr noundef %1) #2 %5 = tail call i64 @luaL_loadbuffer(ptr noundef %0, ptr noundef %1, i32 noundef %4, ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = tail call i64 @docall(ptr noundef %0, i32 noundef 0, i32 noundef 1) #2 %9 = icmp ne i64 %8, 0 %10 = zext i1 %9 to i32 br label %11 11: ; preds = %7, %3 %12 = phi i32 [ 1, %3 ], [ %10, %7 ] %13 = tail call i32 @report(ptr noundef %0, i32 noundef %12) #2 ret i32 %13 } declare i64 @luaL_loadbuffer(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i64 @docall(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @report(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)"}
Provenance_Cores_FCEU_FCEU_lua_src_extr_lua.c_dostring
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson04/2/bl4ckout31/src/extr_printf.c_ui2a.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson04/2/bl4ckout31/src/extr_printf.c_ui2a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ui2a], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable define internal void @ui2a(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = icmp ult i32 %0, %1 br i1 %5, label %6, label %10 6: ; preds = %10, %4 %7 = phi i32 [ 1, %4 ], [ %12, %10 ] %8 = icmp eq i32 %2, 0 %9 = select i1 %8, i32 87, i32 55 br label %15 10: ; preds = %4, %10 %11 = phi i32 [ %12, %10 ], [ 1, %4 ] %12 = mul i32 %11, %1 %13 = udiv i32 %0, %12 %14 = icmp ult i32 %13, %1 br i1 %14, label %6, label %10, !llvm.loop !5 15: ; preds = %6, %35 %16 = phi i32 [ %0, %6 ], [ %21, %35 ] %17 = phi i32 [ %7, %6 ], [ %22, %35 ] %18 = phi i32 [ 0, %6 ], [ %37, %35 ] %19 = phi ptr [ %3, %6 ], [ %36, %35 ] %20 = udiv i32 %16, %17 %21 = urem i32 %16, %17 %22 = udiv i32 %17, %1 %23 = icmp ne i32 %18, 0 %24 = icmp sgt i32 %20, 0 %25 = select i1 %23, i1 true, i1 %24 %26 = icmp ult i32 %17, %1 %27 = or i1 %26, %25 br i1 %27, label %28, label %35 28: ; preds = %15 %29 = icmp slt i32 %20, 10 %30 = select i1 %29, i32 48, i32 %9 %31 = add nsw i32 %30, %20 %32 = trunc i32 %31 to i8 %33 = getelementptr inbounds i8, ptr %19, i64 1 store i8 %32, ptr %19, align 1, !tbaa !7 %34 = add nsw i32 %18, 1 br label %35 35: ; preds = %15, %28 %36 = phi ptr [ %33, %28 ], [ %19, %15 ] %37 = phi i32 [ %34, %28 ], [ 0, %15 ] br i1 %26, label %38, label %15, !llvm.loop !10 38: ; preds = %35 store i8 0, ptr %36, align 1, !tbaa !7 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !6}
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson04/2/bl4ckout31/src/extr_printf.c_ui2a.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson04/2/bl4ckout31/src/extr_printf.c_ui2a.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ui2a], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(write, inaccessiblemem: none) uwtable(sync) define internal void @ui2a(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = icmp ult i32 %0, %1 br i1 %5, label %6, label %10 6: ; preds = %10, %4 %7 = phi i32 [ 1, %4 ], [ %12, %10 ] %8 = icmp eq i32 %2, 0 %9 = select i1 %8, i32 87, i32 55 br label %15 10: ; preds = %4, %10 %11 = phi i32 [ %12, %10 ], [ 1, %4 ] %12 = mul i32 %11, %1 %13 = udiv i32 %0, %12 %14 = icmp ult i32 %13, %1 br i1 %14, label %6, label %10, !llvm.loop !6 15: ; preds = %6, %38 %16 = phi i32 [ %0, %6 ], [ %24, %38 ] %17 = phi i32 [ %7, %6 ], [ %25, %38 ] %18 = phi i32 [ 0, %6 ], [ %40, %38 ] %19 = phi ptr [ %3, %6 ], [ %39, %38 ] %20 = freeze i32 %16 %21 = freeze i32 %17 %22 = udiv i32 %20, %21 %23 = mul i32 %22, %21 %24 = sub i32 %20, %23 %25 = udiv i32 %17, %1 %26 = icmp ne i32 %18, 0 %27 = icmp sgt i32 %22, 0 %28 = select i1 %26, i1 true, i1 %27 %29 = icmp ult i32 %17, %1 %30 = or i1 %29, %28 br i1 %30, label %31, label %38 31: ; preds = %15 %32 = icmp slt i32 %22, 10 %33 = select i1 %32, i32 48, i32 %9 %34 = add nsw i32 %33, %22 %35 = trunc i32 %34 to i8 %36 = getelementptr inbounds i8, ptr %19, i64 1 store i8 %35, ptr %19, align 1, !tbaa !8 %37 = add nsw i32 %18, 1 br label %38 38: ; preds = %15, %31 %39 = phi ptr [ %36, %31 ], [ %19, %15 ] %40 = phi i32 [ %37, %31 ], [ 0, %15 ] br i1 %29, label %41, label %15, !llvm.loop !11 41: ; preds = %38 store i8 0, ptr %39, align 1, !tbaa !8 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !7}
raspberry-pi-os_exercises_lesson04_2_bl4ckout31_src_extr_printf.c_ui2a
; ModuleID = 'AnghaBench/esp-idf/tools/kconfig/extr_gconf.c_on_introduction1_activate.c' source_filename = "AnghaBench/esp-idf/tools/kconfig/extr_gconf.c_on_introduction1_activate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [740 x i8] c"Welcome to gkc, the GTK+ graphical configuration tool\0AFor each option, a blank box indicates the feature is disabled, a\0Acheck indicates it is enabled, and a dot indicates that it is to\0Abe compiled as a module. Clicking on the box will cycle through the three states.\0A\0AIf you do not see an option (e.g., a device driver) that you\0Abelieve should be present, try turning on Show All Options\0Aunder the Options menu.\0AAlthough there is no cross reference yet to help you figure out\0Awhat other options must be enabled to support the option you\0Aare interested in, you can still view the help of a grayed-out\0Aoption.\0A\0AToggling Show Debug Info under the Options menu will show \0Athe dependencies, which you can then match by examining other options.\00", align 1 @main_wnd = dso_local local_unnamed_addr global i32 0, align 4 @GTK_DIALOG_DESTROY_WITH_PARENT = dso_local local_unnamed_addr global i32 0, align 4 @GTK_MESSAGE_INFO = dso_local local_unnamed_addr global i32 0, align 4 @GTK_BUTTONS_CLOSE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"response\00", align 1 @gtk_widget_destroy = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @on_introduction1_activate(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @_(ptr noundef nonnull @.str) #2 %4 = load i32, ptr @main_wnd, align 4, !tbaa !5 %5 = tail call i32 @GTK_WINDOW(i32 noundef %4) #2 %6 = load i32, ptr @GTK_DIALOG_DESTROY_WITH_PARENT, align 4, !tbaa !5 %7 = load i32, ptr @GTK_MESSAGE_INFO, align 4, !tbaa !5 %8 = load i32, ptr @GTK_BUTTONS_CLOSE, align 4, !tbaa !5 %9 = tail call ptr @gtk_message_dialog_new(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef nonnull @.str.1, ptr noundef %3) #2 %10 = tail call i32 @GTK_OBJECT(ptr noundef %9) #2 %11 = load i32, ptr @gtk_widget_destroy, align 4, !tbaa !5 %12 = tail call i32 @G_CALLBACK(i32 noundef %11) #2 %13 = tail call i32 @GTK_OBJECT(ptr noundef %9) #2 %14 = tail call i32 @g_signal_connect_swapped(i32 noundef %10, ptr noundef nonnull @.str.2, i32 noundef %12, i32 noundef %13) #2 %15 = tail call i32 @gtk_widget_show_all(ptr noundef %9) #2 ret void } declare ptr @_(ptr noundef) local_unnamed_addr #1 declare ptr @gtk_message_dialog_new(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GTK_WINDOW(i32 noundef) local_unnamed_addr #1 declare i32 @g_signal_connect_swapped(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GTK_OBJECT(ptr noundef) local_unnamed_addr #1 declare i32 @G_CALLBACK(i32 noundef) local_unnamed_addr #1 declare i32 @gtk_widget_show_all(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/esp-idf/tools/kconfig/extr_gconf.c_on_introduction1_activate.c' source_filename = "AnghaBench/esp-idf/tools/kconfig/extr_gconf.c_on_introduction1_activate.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 [740 x i8] c"Welcome to gkc, the GTK+ graphical configuration tool\0AFor each option, a blank box indicates the feature is disabled, a\0Acheck indicates it is enabled, and a dot indicates that it is to\0Abe compiled as a module. Clicking on the box will cycle through the three states.\0A\0AIf you do not see an option (e.g., a device driver) that you\0Abelieve should be present, try turning on Show All Options\0Aunder the Options menu.\0AAlthough there is no cross reference yet to help you figure out\0Awhat other options must be enabled to support the option you\0Aare interested in, you can still view the help of a grayed-out\0Aoption.\0A\0AToggling Show Debug Info under the Options menu will show \0Athe dependencies, which you can then match by examining other options.\00", align 1 @main_wnd = common local_unnamed_addr global i32 0, align 4 @GTK_DIALOG_DESTROY_WITH_PARENT = common local_unnamed_addr global i32 0, align 4 @GTK_MESSAGE_INFO = common local_unnamed_addr global i32 0, align 4 @GTK_BUTTONS_CLOSE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"response\00", align 1 @gtk_widget_destroy = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @on_introduction1_activate(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @_(ptr noundef nonnull @.str) #2 %4 = load i32, ptr @main_wnd, align 4, !tbaa !6 %5 = tail call i32 @GTK_WINDOW(i32 noundef %4) #2 %6 = load i32, ptr @GTK_DIALOG_DESTROY_WITH_PARENT, align 4, !tbaa !6 %7 = load i32, ptr @GTK_MESSAGE_INFO, align 4, !tbaa !6 %8 = load i32, ptr @GTK_BUTTONS_CLOSE, align 4, !tbaa !6 %9 = tail call ptr @gtk_message_dialog_new(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef nonnull @.str.1, ptr noundef %3) #2 %10 = tail call i32 @GTK_OBJECT(ptr noundef %9) #2 %11 = load i32, ptr @gtk_widget_destroy, align 4, !tbaa !6 %12 = tail call i32 @G_CALLBACK(i32 noundef %11) #2 %13 = tail call i32 @GTK_OBJECT(ptr noundef %9) #2 %14 = tail call i32 @g_signal_connect_swapped(i32 noundef %10, ptr noundef nonnull @.str.2, i32 noundef %12, i32 noundef %13) #2 %15 = tail call i32 @gtk_widget_show_all(ptr noundef %9) #2 ret void } declare ptr @_(ptr noundef) local_unnamed_addr #1 declare ptr @gtk_message_dialog_new(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GTK_WINDOW(i32 noundef) local_unnamed_addr #1 declare i32 @g_signal_connect_swapped(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GTK_OBJECT(ptr noundef) local_unnamed_addr #1 declare i32 @G_CALLBACK(i32 noundef) local_unnamed_addr #1 declare i32 @gtk_widget_show_all(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"}
esp-idf_tools_kconfig_extr_gconf.c_on_introduction1_activate
; ModuleID = 'AnghaBench/seafile/daemon/extr_seaf-daemon.c_start_searpc_server.c' source_filename = "AnghaBench/seafile/daemon/extr_seaf-daemon.c_start_searpc_server.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, i32 } @seaf = dso_local local_unnamed_addr global ptr null, align 8 @SEAFILE_SOCKET_NAME = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Failed to create named pipe server.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @start_searpc_server], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @start_searpc_server() #0 { %1 = tail call i32 (...) @register_rpc_service() #2 %2 = load ptr, ptr @seaf, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !9 %5 = load i32, ptr @SEAFILE_SOCKET_NAME, align 4, !tbaa !12 %6 = tail call ptr @g_build_filename(i32 noundef %4, i32 noundef %5, ptr noundef null) #2 %7 = tail call ptr @searpc_create_named_pipe_server(ptr noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = tail call i32 (ptr, ...) @seaf_warning(ptr noundef nonnull @.str) #2 %11 = tail call i32 @g_free(ptr noundef %6) #2 br label %15 12: ; preds = %0 %13 = load ptr, ptr @seaf, align 8, !tbaa !5 store ptr %6, ptr %13, align 8, !tbaa !13 %14 = tail call i32 @searpc_named_pipe_server_start(ptr noundef nonnull %7) #2 br label %15 15: ; preds = %12, %9 %16 = phi i32 [ %14, %12 ], [ -1, %9 ] ret i32 %16 } declare i32 @register_rpc_service(...) local_unnamed_addr #1 declare ptr @g_build_filename(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @searpc_create_named_pipe_server(ptr noundef) local_unnamed_addr #1 declare i32 @seaf_warning(ptr noundef, ...) local_unnamed_addr #1 declare i32 @g_free(ptr noundef) local_unnamed_addr #1 declare i32 @searpc_named_pipe_server_start(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 8} !10 = !{!"TYPE_2__", !6, i64 0, !11, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/seafile/daemon/extr_seaf-daemon.c_start_searpc_server.c' source_filename = "AnghaBench/seafile/daemon/extr_seaf-daemon.c_start_searpc_server.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @seaf = common local_unnamed_addr global ptr null, align 8 @SEAFILE_SOCKET_NAME = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Failed to create named pipe server.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @start_searpc_server], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @start_searpc_server() #0 { %1 = tail call i32 @register_rpc_service() #2 %2 = load ptr, ptr @seaf, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !10 %5 = load i32, ptr @SEAFILE_SOCKET_NAME, align 4, !tbaa !13 %6 = tail call ptr @g_build_filename(i32 noundef %4, i32 noundef %5, ptr noundef null) #2 %7 = tail call ptr @searpc_create_named_pipe_server(ptr noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = tail call i32 (ptr, ...) @seaf_warning(ptr noundef nonnull @.str) #2 %11 = tail call i32 @g_free(ptr noundef %6) #2 br label %15 12: ; preds = %0 %13 = load ptr, ptr @seaf, align 8, !tbaa !6 store ptr %6, ptr %13, align 8, !tbaa !14 %14 = tail call i32 @searpc_named_pipe_server_start(ptr noundef nonnull %7) #2 br label %15 15: ; preds = %12, %9 %16 = phi i32 [ %14, %12 ], [ -1, %9 ] ret i32 %16 } declare i32 @register_rpc_service(...) local_unnamed_addr #1 declare ptr @g_build_filename(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @searpc_create_named_pipe_server(ptr noundef) local_unnamed_addr #1 declare i32 @seaf_warning(ptr noundef, ...) local_unnamed_addr #1 declare i32 @g_free(ptr noundef) local_unnamed_addr #1 declare i32 @searpc_named_pipe_server_start(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 8} !11 = !{!"TYPE_2__", !7, i64 0, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 0}
seafile_daemon_extr_seaf-daemon.c_start_searpc_server
; ModuleID = 'AnghaBench/kphp-kdb/common/extr_aho-kmp.c_aho_prepare.c' source_filename = "AnghaBench/kphp-kdb/common/extr_aho-kmp.c_aho_prepare.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AHO_MAX_N = dso_local local_unnamed_addr global i32 0, align 4 @L = dso_local local_unnamed_addr global ptr null, align 8 @AHO_MAX_L = dso_local local_unnamed_addr global i32 0, align 4 @AHO_MAX_S = dso_local local_unnamed_addr global i32 0, align 4 @S = dso_local local_unnamed_addr global ptr null, align 8 @KN = dso_local local_unnamed_addr global i32 0, align 4 @KL = dso_local local_unnamed_addr global i32 0, align 4 @KS = dso_local local_unnamed_addr global ptr null, align 8 @C = dso_local local_unnamed_addr global ptr null, align 8 @KA = dso_local local_unnamed_addr global ptr null, align 8 @KB = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @aho_prepare(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = icmp slt i32 %0, 1 %4 = load i32, ptr @AHO_MAX_N, align 4 %5 = icmp slt i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %307, label %7 7: ; preds = %2 %8 = zext nneg i32 %0 to i64 br label %9 9: ; preds = %7, %21 %10 = phi i64 [ 0, %7 ], [ %24, %21 ] %11 = phi i32 [ 0, %7 ], [ %23, %21 ] %12 = getelementptr inbounds ptr, ptr %1, i64 %10 %13 = load ptr, ptr %12, align 8, !tbaa !5 %14 = tail call i32 @strlen(ptr noundef %13) #4 %15 = load ptr, ptr @L, align 8, !tbaa !5 %16 = getelementptr inbounds i32, ptr %15, i64 %10 store i32 %14, ptr %16, align 4, !tbaa !9 %17 = icmp slt i32 %14, 1 %18 = load i32, ptr @AHO_MAX_L, align 4 %19 = icmp sgt i32 %14, %18 %20 = select i1 %17, i1 true, i1 %19 br i1 %20, label %307, label %21 21: ; preds = %9 %22 = add nuw i32 %11, 1 %23 = add nuw i32 %22, %14 %24 = add nuw nsw i64 %10, 1 %25 = icmp eq i64 %24, %8 br i1 %25, label %26, label %9, !llvm.loop !11 26: ; preds = %21 %27 = load i32, ptr @AHO_MAX_S, align 4, !tbaa !9 %28 = icmp slt i32 %23, %27 br i1 %28, label %29, label %307 29: ; preds = %26 %30 = icmp sgt i32 %0, 0 br i1 %30, label %34, label %147 31: ; preds = %123 br i1 %30, label %32, label %147 32: ; preds = %31 %33 = load ptr, ptr @L, align 8, !tbaa !5 br label %126 34: ; preds = %29, %123 %35 = phi i64 [ %124, %123 ], [ 0, %29 ] %36 = load ptr, ptr @L, align 8, !tbaa !5 %37 = getelementptr inbounds i32, ptr %36, i64 %35 %38 = load i32, ptr %37, align 4, !tbaa !9 %39 = getelementptr inbounds ptr, ptr %1, i64 %35 %40 = load ptr, ptr %39, align 8, !tbaa !5 %41 = add nsw i32 %38, 1 %42 = zext i32 %41 to i64 %43 = tail call ptr @llvm.stacksave.p0() %44 = alloca i32, i64 %42, align 16 store i32 -1, ptr %44, align 16, !tbaa !9 %45 = getelementptr inbounds i32, ptr %44, i64 1 store i32 0, ptr %45, align 4, !tbaa !9 %46 = icmp sgt i32 %38, 1 br i1 %46, label %47, label %49 47: ; preds = %34 %48 = zext nneg i32 %38 to i64 br label %52 49: ; preds = %69, %34 %50 = phi i32 [ 0, %34 ], [ %71, %69 ] %51 = load ptr, ptr @L, align 8 br label %75 52: ; preds = %47, %69 %53 = phi i64 [ 1, %47 ], [ %72, %69 ] %54 = phi i32 [ 0, %47 ], [ %71, %69 ] %55 = icmp sgt i32 %54, -1 br i1 %55, label %56, label %69 56: ; preds = %52 %57 = getelementptr inbounds i8, ptr %40, i64 %53 %58 = load i8, ptr %57, align 1, !tbaa !13 br label %59 59: ; preds = %56, %65 %60 = phi i32 [ %54, %56 ], [ %67, %65 ] %61 = zext nneg i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %40, i64 %61 %63 = load i8, ptr %62, align 1, !tbaa !13 %64 = icmp eq i8 %58, %63 br i1 %64, label %69, label %65 65: ; preds = %59 %66 = getelementptr inbounds i32, ptr %44, i64 %61 %67 = load i32, ptr %66, align 4, !tbaa !9 %68 = icmp sgt i32 %67, -1 br i1 %68, label %59, label %69, !llvm.loop !14 69: ; preds = %59, %65, %52 %70 = phi i32 [ %54, %52 ], [ %67, %65 ], [ %60, %59 ] %71 = add nsw i32 %70, 1 %72 = add nuw nsw i64 %53, 1 %73 = getelementptr inbounds i32, ptr %44, i64 %72 store i32 %71, ptr %73, align 4, !tbaa !9 %74 = icmp eq i64 %72, %48 br i1 %74, label %49, label %52, !llvm.loop !15 75: ; preds = %49, %114 %76 = phi i64 [ 0, %49 ], [ %116, %114 ] %77 = phi i32 [ %50, %49 ], [ %115, %114 ] %78 = icmp eq i64 %35, %76 br i1 %78, label %114, label %79 79: ; preds = %75 %80 = getelementptr inbounds i32, ptr %51, i64 %76 %81 = load i32, ptr %80, align 4, !tbaa !9 %82 = icmp slt i32 %81, %38 br i1 %82, label %114, label %83 83: ; preds = %79 %84 = getelementptr inbounds ptr, ptr %1, i64 %76 %85 = load ptr, ptr %84, align 8, !tbaa !5 %86 = load i8, ptr %85, align 1, !tbaa !13 %87 = icmp eq i8 %86, 0 br i1 %87, label %111, label %92 88: ; preds = %107 %89 = getelementptr inbounds i8, ptr %94, i64 1 %90 = load i8, ptr %89, align 1, !tbaa !13 %91 = icmp eq i8 %90, 0 br i1 %91, label %111, label %92, !llvm.loop !16 92: ; preds = %83, %88 %93 = phi i8 [ %90, %88 ], [ %86, %83 ] %94 = phi ptr [ %89, %88 ], [ %85, %83 ] %95 = phi i32 [ %109, %88 ], [ 0, %83 ] %96 = icmp sgt i32 %95, -1 br i1 %96, label %97, label %107 97: ; preds = %92, %103 %98 = phi i32 [ %105, %103 ], [ %95, %92 ] %99 = zext nneg i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %40, i64 %99 %101 = load i8, ptr %100, align 1, !tbaa !13 %102 = icmp eq i8 %93, %101 br i1 %102, label %107, label %103 103: ; preds = %97 %104 = getelementptr inbounds i32, ptr %44, i64 %99 %105 = load i32, ptr %104, align 4, !tbaa !9 %106 = icmp sgt i32 %105, -1 br i1 %106, label %97, label %107, !llvm.loop !17 107: ; preds = %97, %103, %92 %108 = phi i32 [ %95, %92 ], [ %105, %103 ], [ %98, %97 ] %109 = add nsw i32 %108, 1 %110 = icmp eq i32 %109, %38 br i1 %110, label %120, label %88 111: ; preds = %88, %83 %112 = phi i32 [ 0, %83 ], [ %109, %88 ] %113 = icmp eq i32 %112, %38 br i1 %113, label %120, label %114 114: ; preds = %111, %75, %79 %115 = phi i32 [ %77, %75 ], [ %77, %79 ], [ %112, %111 ] %116 = add nuw nsw i64 %76, 1 %117 = icmp eq i64 %116, %8 br i1 %117, label %118, label %75, !llvm.loop !18 118: ; preds = %114 %119 = icmp eq i32 %115, %38 br i1 %119, label %120, label %123 120: ; preds = %111, %107, %118 %121 = load ptr, ptr @L, align 8, !tbaa !5 %122 = getelementptr inbounds i32, ptr %121, i64 %35 store i32 0, ptr %122, align 4, !tbaa !9 br label %123 123: ; preds = %120, %118 tail call void @llvm.stackrestore.p0(ptr %43) %124 = add nuw nsw i64 %35, 1 %125 = icmp eq i64 %124, %8 br i1 %125, label %31, label %34, !llvm.loop !19 126: ; preds = %32, %142 %127 = phi ptr [ %33, %32 ], [ %143, %142 ] %128 = phi i64 [ 0, %32 ], [ %145, %142 ] %129 = phi i32 [ 0, %32 ], [ %144, %142 ] %130 = getelementptr inbounds i32, ptr %127, i64 %128 %131 = load i32, ptr %130, align 4, !tbaa !9 %132 = icmp sgt i32 %131, 0 br i1 %132, label %133, label %142 133: ; preds = %126 %134 = sext i32 %129 to i64 %135 = getelementptr inbounds i32, ptr %127, i64 %134 store i32 %131, ptr %135, align 4, !tbaa !9 %136 = getelementptr inbounds ptr, ptr %1, i64 %128 %137 = load ptr, ptr %136, align 8, !tbaa !5 %138 = load ptr, ptr @S, align 8, !tbaa !5 %139 = add nsw i32 %129, 1 %140 = getelementptr inbounds ptr, ptr %138, i64 %134 store ptr %137, ptr %140, align 8, !tbaa !5 %141 = load ptr, ptr @L, align 8, !tbaa !5 br label %142 142: ; preds = %126, %133 %143 = phi ptr [ %141, %133 ], [ %127, %126 ] %144 = phi i32 [ %139, %133 ], [ %129, %126 ] %145 = add nuw nsw i64 %128, 1 %146 = icmp eq i64 %145, %8 br i1 %146, label %147, label %126, !llvm.loop !20 147: ; preds = %142, %29, %31 %148 = phi i32 [ 0, %31 ], [ 0, %29 ], [ %144, %142 ] store i32 %148, ptr @KN, align 4, !tbaa !9 %149 = add nsw i32 %148, -1 %150 = tail call i32 @sort_str(i32 noundef 0, i32 noundef %149) #4 store i32 1, ptr @KL, align 4, !tbaa !9 %151 = load i32, ptr @KN, align 4, !tbaa !9 %152 = icmp sgt i32 %151, 0 br i1 %152, label %153, label %193 153: ; preds = %147 %154 = load ptr, ptr @L, align 8, !tbaa !5 br label %155 155: ; preds = %153, %155 %156 = phi ptr [ %154, %153 ], [ %178, %155 ] %157 = phi i32 [ 1, %153 ], [ %183, %155 ] %158 = phi i64 [ 0, %153 ], [ %186, %155 ] %159 = phi i32 [ 0, %153 ], [ %185, %155 ] %160 = load ptr, ptr @KS, align 8, !tbaa !5 %161 = sext i32 %157 to i64 %162 = getelementptr inbounds i32, ptr %160, i64 %161 %163 = load ptr, ptr @S, align 8, !tbaa !5 %164 = getelementptr inbounds ptr, ptr %163, i64 %158 %165 = load ptr, ptr %164, align 8, !tbaa !5 %166 = getelementptr inbounds i32, ptr %156, i64 %158 %167 = load i32, ptr %166, align 4, !tbaa !9 %168 = add nsw i32 %167, 1 %169 = tail call i32 @memcpy(ptr noundef %162, ptr noundef %165, i32 noundef %168) #4 %170 = load ptr, ptr @KS, align 8, !tbaa !5 %171 = load i32, ptr @KL, align 4, !tbaa !9 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i32, ptr %170, i64 %172 %174 = load ptr, ptr @S, align 8, !tbaa !5 %175 = getelementptr inbounds ptr, ptr %174, i64 %158 store ptr %173, ptr %175, align 8, !tbaa !5 %176 = load ptr, ptr @C, align 8, !tbaa !5 %177 = getelementptr inbounds i32, ptr %176, i64 %158 store i32 0, ptr %177, align 4, !tbaa !9 %178 = load ptr, ptr @L, align 8, !tbaa !5 %179 = getelementptr inbounds i32, ptr %178, i64 %158 %180 = load i32, ptr %179, align 4, !tbaa !9 %181 = add nsw i32 %180, 1 %182 = load i32, ptr @KL, align 4, !tbaa !9 %183 = add nsw i32 %181, %182 store i32 %183, ptr @KL, align 4, !tbaa !9 %184 = load i32, ptr %179, align 4, !tbaa !9 %185 = tail call i32 @llvm.smax.i32(i32 %184, i32 %159) %186 = add nuw nsw i64 %158, 1 %187 = load i32, ptr @KN, align 4, !tbaa !9 %188 = sext i32 %187 to i64 %189 = icmp slt i64 %186, %188 br i1 %189, label %155, label %190, !llvm.loop !21 190: ; preds = %155 %191 = add nuw i32 %185, 1 %192 = zext i32 %191 to i64 br label %193 193: ; preds = %147, %190 %194 = phi i32 [ 1, %147 ], [ %183, %190 ] %195 = phi i64 [ 1, %147 ], [ %192, %190 ] %196 = load i32, ptr @AHO_MAX_S, align 4, !tbaa !9 %197 = icmp sle i32 %194, %196 %198 = zext i1 %197 to i32 %199 = tail call i32 @assert(i32 noundef %198) #4 %200 = load ptr, ptr @KA, align 8, !tbaa !5 store i32 -1, ptr %200, align 4, !tbaa !9 %201 = load ptr, ptr @L, align 8 %202 = load i32, ptr @KN, align 4, !tbaa !9 br label %203 203: ; preds = %193, %300 %204 = phi i32 [ %202, %193 ], [ %301, %300 ] %205 = phi i32 [ %202, %193 ], [ %302, %300 ] %206 = phi i64 [ 0, %193 ], [ %303, %300 ] %207 = icmp sgt i32 %205, 0 br i1 %207, label %208, label %300 208: ; preds = %203 %209 = load ptr, ptr @S, align 8 %210 = load ptr, ptr @KS, align 8 %211 = ptrtoint ptr %210 to i64 %212 = load ptr, ptr @KB, align 8 %213 = load ptr, ptr @C, align 8 br label %214 214: ; preds = %208, %291 %215 = phi i32 [ %204, %208 ], [ %292, %291 ] %216 = phi i64 [ 0, %208 ], [ %297, %291 ] %217 = phi i32 [ -1, %208 ], [ %296, %291 ] %218 = phi i32 [ -1, %208 ], [ %295, %291 ] %219 = phi i32 [ -256, %208 ], [ %294, %291 ] %220 = phi i32 [ -1, %208 ], [ %293, %291 ] %221 = getelementptr inbounds i32, ptr %201, i64 %216 %222 = load i32, ptr %221, align 4, !tbaa !9 %223 = sext i32 %222 to i64 %224 = icmp sgt i64 %206, %223 br i1 %224, label %291, label %225 225: ; preds = %214 %226 = getelementptr inbounds ptr, ptr %209, i64 %216 %227 = load ptr, ptr %226, align 8, !tbaa !5 %228 = getelementptr i32, ptr %227, i64 %206 %229 = ptrtoint ptr %228 to i64 %230 = sub i64 %229, %211 %231 = lshr exact i64 %230, 2 %232 = trunc i64 %231 to i32 %233 = zext i32 %222 to i64 %234 = icmp eq i64 %206, %233 br i1 %234, label %235, label %241 235: ; preds = %225 %236 = trunc i64 %216 to i32 %237 = shl nuw i32 1, %236 %238 = shl i64 %230, 30 %239 = ashr i64 %238, 32 %240 = getelementptr inbounds i32, ptr %212, i64 %239 store i32 %237, ptr %240, align 4, !tbaa !9 br label %246 241: ; preds = %225 %242 = shl i64 %230, 30 %243 = ashr i64 %242, 32 %244 = getelementptr inbounds i32, ptr %212, i64 %243 store i32 0, ptr %244, align 4, !tbaa !9 %245 = trunc i64 %216 to i32 br label %246 246: ; preds = %241, %235 %247 = phi i32 [ %245, %241 ], [ %236, %235 ] %248 = getelementptr inbounds i32, ptr %213, i64 %216 %249 = load i32, ptr %248, align 4, !tbaa !9 %250 = icmp eq i32 %220, %249 br i1 %250, label %272, label %251 251: ; preds = %246 %252 = shl i64 %230, 30 %253 = add i64 %252, -4294967296 %254 = ashr i64 %253, 32 %255 = getelementptr i32, ptr %228, i64 -1 br label %256 256: ; preds = %261, %251 %257 = phi i64 [ %254, %251 ], [ %263, %261 ] %258 = getelementptr inbounds i32, ptr %200, i64 %257 %259 = load i32, ptr %258, align 4, !tbaa !9 %260 = icmp sgt i32 %259, 0 br i1 %260, label %261, label %267 261: ; preds = %256 %262 = load i32, ptr %255, align 4, !tbaa !9 %263 = zext nneg i32 %259 to i64 %264 = getelementptr inbounds i32, ptr %210, i64 %263 %265 = load i32, ptr %264, align 4, !tbaa !9 %266 = icmp eq i32 %262, %265 br i1 %266, label %267, label %256, !llvm.loop !22 267: ; preds = %256, %261 %268 = add nsw i32 %259, 1 %269 = ashr i64 %252, 32 %270 = getelementptr inbounds i32, ptr %200, i64 %269 store i32 %268, ptr %270, align 4, !tbaa !9 %271 = load i32, ptr %248, align 4, !tbaa !9 br label %282 272: ; preds = %246 %273 = load i32, ptr %228, align 4, !tbaa !9 %274 = icmp eq i32 %219, %273 br i1 %274, label %285, label %275 275: ; preds = %272 %276 = sext i32 %217 to i64 %277 = getelementptr inbounds i32, ptr %200, i64 %276 %278 = load i32, ptr %277, align 4, !tbaa !9 %279 = shl i64 %230, 30 %280 = ashr i64 %279, 32 %281 = getelementptr inbounds i32, ptr %200, i64 %280 store i32 %278, ptr %281, align 4, !tbaa !9 store i32 %232, ptr %277, align 4, !tbaa !9 br label %282 282: ; preds = %267, %275 %283 = phi i32 [ %220, %275 ], [ %271, %267 ] %284 = load i32, ptr %228, align 4, !tbaa !9 br label %285 285: ; preds = %282, %272 %286 = phi i32 [ %220, %272 ], [ %283, %282 ] %287 = phi i32 [ %219, %272 ], [ %284, %282 ] %288 = phi i32 [ %218, %272 ], [ %247, %282 ] %289 = phi i32 [ %217, %272 ], [ %232, %282 ] store i32 %288, ptr %248, align 4, !tbaa !9 %290 = load i32, ptr @KN, align 4, !tbaa !9 br label %291 291: ; preds = %214, %285 %292 = phi i32 [ %215, %214 ], [ %290, %285 ] %293 = phi i32 [ %220, %214 ], [ %286, %285 ] %294 = phi i32 [ %219, %214 ], [ %287, %285 ] %295 = phi i32 [ %218, %214 ], [ %288, %285 ] %296 = phi i32 [ %217, %214 ], [ %289, %285 ] %297 = add nuw nsw i64 %216, 1 %298 = sext i32 %292 to i64 %299 = icmp slt i64 %297, %298 br i1 %299, label %214, label %300, !llvm.loop !23 300: ; preds = %291, %203 %301 = phi i32 [ %204, %203 ], [ %292, %291 ] %302 = phi i32 [ %205, %203 ], [ %292, %291 ] %303 = add nuw nsw i64 %206, 1 %304 = icmp eq i64 %303, %195 br i1 %304, label %305, label %203, !llvm.loop !24 305: ; preds = %300 %306 = load i32, ptr @KL, align 4, !tbaa !9 br label %307 307: ; preds = %9, %305, %26, %2 %308 = phi i32 [ -1, %2 ], [ %306, %305 ], [ -1, %26 ], [ -1, %9 ] ret i32 %308 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 declare i32 @sort_str(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn } 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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !12} !15 = distinct !{!15, !12} !16 = distinct !{!16, !12} !17 = distinct !{!17, !12} !18 = distinct !{!18, !12} !19 = distinct !{!19, !12} !20 = distinct !{!20, !12} !21 = distinct !{!21, !12} !22 = distinct !{!22, !12} !23 = distinct !{!23, !12} !24 = distinct !{!24, !12}
; ModuleID = 'AnghaBench/kphp-kdb/common/extr_aho-kmp.c_aho_prepare.c' source_filename = "AnghaBench/kphp-kdb/common/extr_aho-kmp.c_aho_prepare.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AHO_MAX_N = common local_unnamed_addr global i32 0, align 4 @L = common local_unnamed_addr global ptr null, align 8 @AHO_MAX_L = common local_unnamed_addr global i32 0, align 4 @AHO_MAX_S = common local_unnamed_addr global i32 0, align 4 @S = common local_unnamed_addr global ptr null, align 8 @KN = common local_unnamed_addr global i32 0, align 4 @KL = common local_unnamed_addr global i32 0, align 4 @KS = common local_unnamed_addr global ptr null, align 8 @C = common local_unnamed_addr global ptr null, align 8 @KA = common local_unnamed_addr global ptr null, align 8 @KB = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @aho_prepare(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = icmp slt i32 %0, 1 %4 = load i32, ptr @AHO_MAX_N, align 4 %5 = icmp slt i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %302, label %7 7: ; preds = %2 %8 = zext nneg i32 %0 to i64 br label %9 9: ; preds = %7, %21 %10 = phi i64 [ 0, %7 ], [ %24, %21 ] %11 = phi i32 [ 0, %7 ], [ %23, %21 ] %12 = getelementptr inbounds ptr, ptr %1, i64 %10 %13 = load ptr, ptr %12, align 8, !tbaa !6 %14 = tail call i32 @strlen(ptr noundef %13) #4 %15 = load ptr, ptr @L, align 8, !tbaa !6 %16 = getelementptr inbounds i32, ptr %15, i64 %10 store i32 %14, ptr %16, align 4, !tbaa !10 %17 = icmp slt i32 %14, 1 %18 = load i32, ptr @AHO_MAX_L, align 4 %19 = icmp sgt i32 %14, %18 %20 = select i1 %17, i1 true, i1 %19 br i1 %20, label %302, label %21 21: ; preds = %9 %22 = add nuw nsw i32 %11, 1 %23 = add nuw nsw i32 %22, %14 %24 = add nuw nsw i64 %10, 1 %25 = icmp eq i64 %24, %8 br i1 %25, label %26, label %9, !llvm.loop !12 26: ; preds = %21 %27 = load i32, ptr @AHO_MAX_S, align 4, !tbaa !10 %28 = icmp slt i32 %23, %27 br i1 %28, label %31, label %302 29: ; preds = %119 %30 = load ptr, ptr @L, align 8, !tbaa !6 br label %122 31: ; preds = %26, %119 %32 = phi i64 [ %120, %119 ], [ 0, %26 ] %33 = load ptr, ptr @L, align 8, !tbaa !6 %34 = getelementptr inbounds i32, ptr %33, i64 %32 %35 = load i32, ptr %34, align 4, !tbaa !10 %36 = getelementptr inbounds ptr, ptr %1, i64 %32 %37 = load ptr, ptr %36, align 8, !tbaa !6 %38 = add nsw i32 %35, 1 %39 = zext i32 %38 to i64 %40 = tail call ptr @llvm.stacksave.p0() %41 = alloca i32, i64 %39, align 8 store <2 x i32> <i32 -1, i32 0>, ptr %41, align 8, !tbaa !10 %42 = icmp sgt i32 %35, 1 br i1 %42, label %43, label %45 43: ; preds = %31 %44 = zext nneg i32 %35 to i64 br label %48 45: ; preds = %65, %31 %46 = phi i32 [ 0, %31 ], [ %67, %65 ] %47 = load ptr, ptr @L, align 8 br label %71 48: ; preds = %43, %65 %49 = phi i64 [ 1, %43 ], [ %68, %65 ] %50 = phi i32 [ 0, %43 ], [ %67, %65 ] %51 = icmp sgt i32 %50, -1 br i1 %51, label %52, label %65 52: ; preds = %48 %53 = getelementptr inbounds i8, ptr %37, i64 %49 %54 = load i8, ptr %53, align 1, !tbaa !14 br label %55 55: ; preds = %52, %61 %56 = phi i32 [ %50, %52 ], [ %63, %61 ] %57 = zext nneg i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %37, i64 %57 %59 = load i8, ptr %58, align 1, !tbaa !14 %60 = icmp eq i8 %54, %59 br i1 %60, label %65, label %61 61: ; preds = %55 %62 = getelementptr inbounds i32, ptr %41, i64 %57 %63 = load i32, ptr %62, align 4, !tbaa !10 %64 = icmp sgt i32 %63, -1 br i1 %64, label %55, label %65, !llvm.loop !15 65: ; preds = %55, %61, %48 %66 = phi i32 [ %50, %48 ], [ %63, %61 ], [ %56, %55 ] %67 = add nsw i32 %66, 1 %68 = add nuw nsw i64 %49, 1 %69 = getelementptr inbounds i32, ptr %41, i64 %68 store i32 %67, ptr %69, align 4, !tbaa !10 %70 = icmp eq i64 %68, %44 br i1 %70, label %45, label %48, !llvm.loop !16 71: ; preds = %45, %110 %72 = phi i64 [ 0, %45 ], [ %112, %110 ] %73 = phi i32 [ %46, %45 ], [ %111, %110 ] %74 = icmp eq i64 %32, %72 br i1 %74, label %110, label %75 75: ; preds = %71 %76 = getelementptr inbounds i32, ptr %47, i64 %72 %77 = load i32, ptr %76, align 4, !tbaa !10 %78 = icmp slt i32 %77, %35 br i1 %78, label %110, label %79 79: ; preds = %75 %80 = getelementptr inbounds ptr, ptr %1, i64 %72 %81 = load ptr, ptr %80, align 8, !tbaa !6 %82 = load i8, ptr %81, align 1, !tbaa !14 %83 = icmp eq i8 %82, 0 br i1 %83, label %107, label %88 84: ; preds = %103 %85 = getelementptr inbounds i8, ptr %90, i64 1 %86 = load i8, ptr %85, align 1, !tbaa !14 %87 = icmp eq i8 %86, 0 br i1 %87, label %107, label %88, !llvm.loop !17 88: ; preds = %79, %84 %89 = phi i8 [ %86, %84 ], [ %82, %79 ] %90 = phi ptr [ %85, %84 ], [ %81, %79 ] %91 = phi i32 [ %105, %84 ], [ 0, %79 ] %92 = icmp sgt i32 %91, -1 br i1 %92, label %93, label %103 93: ; preds = %88, %99 %94 = phi i32 [ %101, %99 ], [ %91, %88 ] %95 = zext nneg i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %37, i64 %95 %97 = load i8, ptr %96, align 1, !tbaa !14 %98 = icmp eq i8 %89, %97 br i1 %98, label %103, label %99 99: ; preds = %93 %100 = getelementptr inbounds i32, ptr %41, i64 %95 %101 = load i32, ptr %100, align 4, !tbaa !10 %102 = icmp sgt i32 %101, -1 br i1 %102, label %93, label %103, !llvm.loop !18 103: ; preds = %93, %99, %88 %104 = phi i32 [ %91, %88 ], [ %101, %99 ], [ %94, %93 ] %105 = add nsw i32 %104, 1 %106 = icmp eq i32 %105, %35 br i1 %106, label %116, label %84 107: ; preds = %84, %79 %108 = phi i32 [ 0, %79 ], [ %105, %84 ] %109 = icmp eq i32 %108, %35 br i1 %109, label %116, label %110 110: ; preds = %107, %71, %75 %111 = phi i32 [ %73, %71 ], [ %73, %75 ], [ %108, %107 ] %112 = add nuw nsw i64 %72, 1 %113 = icmp eq i64 %112, %8 br i1 %113, label %114, label %71, !llvm.loop !19 114: ; preds = %110 %115 = icmp eq i32 %111, %35 br i1 %115, label %116, label %119 116: ; preds = %107, %103, %114 %117 = load ptr, ptr @L, align 8, !tbaa !6 %118 = getelementptr inbounds i32, ptr %117, i64 %32 store i32 0, ptr %118, align 4, !tbaa !10 br label %119 119: ; preds = %116, %114 tail call void @llvm.stackrestore.p0(ptr %40) %120 = add nuw nsw i64 %32, 1 %121 = icmp eq i64 %120, %8 br i1 %121, label %29, label %31, !llvm.loop !20 122: ; preds = %29, %138 %123 = phi ptr [ %30, %29 ], [ %139, %138 ] %124 = phi i64 [ 0, %29 ], [ %141, %138 ] %125 = phi i32 [ 0, %29 ], [ %140, %138 ] %126 = getelementptr inbounds i32, ptr %123, i64 %124 %127 = load i32, ptr %126, align 4, !tbaa !10 %128 = icmp sgt i32 %127, 0 br i1 %128, label %129, label %138 129: ; preds = %122 %130 = sext i32 %125 to i64 %131 = getelementptr inbounds i32, ptr %123, i64 %130 store i32 %127, ptr %131, align 4, !tbaa !10 %132 = getelementptr inbounds ptr, ptr %1, i64 %124 %133 = load ptr, ptr %132, align 8, !tbaa !6 %134 = load ptr, ptr @S, align 8, !tbaa !6 %135 = add nsw i32 %125, 1 %136 = getelementptr inbounds ptr, ptr %134, i64 %130 store ptr %133, ptr %136, align 8, !tbaa !6 %137 = load ptr, ptr @L, align 8, !tbaa !6 br label %138 138: ; preds = %122, %129 %139 = phi ptr [ %137, %129 ], [ %123, %122 ] %140 = phi i32 [ %135, %129 ], [ %125, %122 ] %141 = add nuw nsw i64 %124, 1 %142 = icmp eq i64 %141, %8 br i1 %142, label %143, label %122, !llvm.loop !21 143: ; preds = %138 store i32 %140, ptr @KN, align 4, !tbaa !10 %144 = add nsw i32 %140, -1 %145 = tail call i32 @sort_str(i32 noundef 0, i32 noundef %144) #4 store i32 1, ptr @KL, align 4, !tbaa !10 %146 = load i32, ptr @KN, align 4, !tbaa !10 %147 = icmp sgt i32 %146, 0 br i1 %147, label %148, label %188 148: ; preds = %143 %149 = load ptr, ptr @L, align 8, !tbaa !6 br label %150 150: ; preds = %148, %150 %151 = phi ptr [ %149, %148 ], [ %173, %150 ] %152 = phi i32 [ 1, %148 ], [ %178, %150 ] %153 = phi i64 [ 0, %148 ], [ %181, %150 ] %154 = phi i32 [ 0, %148 ], [ %180, %150 ] %155 = load ptr, ptr @KS, align 8, !tbaa !6 %156 = sext i32 %152 to i64 %157 = getelementptr inbounds i32, ptr %155, i64 %156 %158 = load ptr, ptr @S, align 8, !tbaa !6 %159 = getelementptr inbounds ptr, ptr %158, i64 %153 %160 = load ptr, ptr %159, align 8, !tbaa !6 %161 = getelementptr inbounds i32, ptr %151, i64 %153 %162 = load i32, ptr %161, align 4, !tbaa !10 %163 = add nsw i32 %162, 1 %164 = tail call i32 @memcpy(ptr noundef %157, ptr noundef %160, i32 noundef %163) #4 %165 = load ptr, ptr @KS, align 8, !tbaa !6 %166 = load i32, ptr @KL, align 4, !tbaa !10 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i32, ptr %165, i64 %167 %169 = load ptr, ptr @S, align 8, !tbaa !6 %170 = getelementptr inbounds ptr, ptr %169, i64 %153 store ptr %168, ptr %170, align 8, !tbaa !6 %171 = load ptr, ptr @C, align 8, !tbaa !6 %172 = getelementptr inbounds i32, ptr %171, i64 %153 store i32 0, ptr %172, align 4, !tbaa !10 %173 = load ptr, ptr @L, align 8, !tbaa !6 %174 = getelementptr inbounds i32, ptr %173, i64 %153 %175 = load i32, ptr %174, align 4, !tbaa !10 %176 = add nsw i32 %175, 1 %177 = load i32, ptr @KL, align 4, !tbaa !10 %178 = add nsw i32 %176, %177 store i32 %178, ptr @KL, align 4, !tbaa !10 %179 = load i32, ptr %174, align 4, !tbaa !10 %180 = tail call i32 @llvm.smax.i32(i32 %179, i32 %154) %181 = add nuw nsw i64 %153, 1 %182 = load i32, ptr @KN, align 4, !tbaa !10 %183 = sext i32 %182 to i64 %184 = icmp slt i64 %181, %183 br i1 %184, label %150, label %185, !llvm.loop !22 185: ; preds = %150 %186 = add nuw i32 %180, 1 %187 = zext i32 %186 to i64 br label %188 188: ; preds = %143, %185 %189 = phi i32 [ 1, %143 ], [ %178, %185 ] %190 = phi i64 [ 1, %143 ], [ %187, %185 ] %191 = load i32, ptr @AHO_MAX_S, align 4, !tbaa !10 %192 = icmp sle i32 %189, %191 %193 = zext i1 %192 to i32 %194 = tail call i32 @assert(i32 noundef %193) #4 %195 = load ptr, ptr @KA, align 8, !tbaa !6 store i32 -1, ptr %195, align 4, !tbaa !10 %196 = load ptr, ptr @L, align 8 %197 = load i32, ptr @KN, align 4, !tbaa !10 br label %198 198: ; preds = %188, %295 %199 = phi i32 [ %197, %188 ], [ %296, %295 ] %200 = phi i32 [ %197, %188 ], [ %297, %295 ] %201 = phi i64 [ 0, %188 ], [ %298, %295 ] %202 = icmp sgt i32 %200, 0 br i1 %202, label %203, label %295 203: ; preds = %198 %204 = load ptr, ptr @S, align 8 %205 = load ptr, ptr @KS, align 8 %206 = ptrtoint ptr %205 to i64 %207 = load ptr, ptr @KB, align 8 %208 = load ptr, ptr @C, align 8 br label %209 209: ; preds = %203, %286 %210 = phi i32 [ %199, %203 ], [ %287, %286 ] %211 = phi i64 [ 0, %203 ], [ %292, %286 ] %212 = phi i32 [ -1, %203 ], [ %291, %286 ] %213 = phi i32 [ -1, %203 ], [ %290, %286 ] %214 = phi i32 [ -256, %203 ], [ %289, %286 ] %215 = phi i32 [ -1, %203 ], [ %288, %286 ] %216 = getelementptr inbounds i32, ptr %196, i64 %211 %217 = load i32, ptr %216, align 4, !tbaa !10 %218 = sext i32 %217 to i64 %219 = icmp sgt i64 %201, %218 br i1 %219, label %286, label %220 220: ; preds = %209 %221 = getelementptr inbounds ptr, ptr %204, i64 %211 %222 = load ptr, ptr %221, align 8, !tbaa !6 %223 = getelementptr i32, ptr %222, i64 %201 %224 = ptrtoint ptr %223 to i64 %225 = sub i64 %224, %206 %226 = lshr exact i64 %225, 2 %227 = trunc i64 %226 to i32 %228 = zext i32 %217 to i64 %229 = icmp eq i64 %201, %228 br i1 %229, label %230, label %236 230: ; preds = %220 %231 = trunc nuw nsw i64 %211 to i32 %232 = shl nuw i32 1, %231 %233 = shl i64 %225, 30 %234 = ashr i64 %233, 32 %235 = getelementptr inbounds i32, ptr %207, i64 %234 store i32 %232, ptr %235, align 4, !tbaa !10 br label %241 236: ; preds = %220 %237 = shl i64 %225, 30 %238 = ashr i64 %237, 32 %239 = getelementptr inbounds i32, ptr %207, i64 %238 store i32 0, ptr %239, align 4, !tbaa !10 %240 = trunc nuw nsw i64 %211 to i32 br label %241 241: ; preds = %236, %230 %242 = phi i32 [ %240, %236 ], [ %231, %230 ] %243 = getelementptr inbounds i32, ptr %208, i64 %211 %244 = load i32, ptr %243, align 4, !tbaa !10 %245 = icmp eq i32 %215, %244 br i1 %245, label %267, label %246 246: ; preds = %241 %247 = shl i64 %225, 30 %248 = add i64 %247, -4294967296 %249 = ashr i64 %248, 32 %250 = getelementptr i8, ptr %223, i64 -4 br label %251 251: ; preds = %256, %246 %252 = phi i64 [ %249, %246 ], [ %258, %256 ] %253 = getelementptr inbounds i32, ptr %195, i64 %252 %254 = load i32, ptr %253, align 4, !tbaa !10 %255 = icmp sgt i32 %254, 0 br i1 %255, label %256, label %262 256: ; preds = %251 %257 = load i32, ptr %250, align 4, !tbaa !10 %258 = zext nneg i32 %254 to i64 %259 = getelementptr inbounds i32, ptr %205, i64 %258 %260 = load i32, ptr %259, align 4, !tbaa !10 %261 = icmp eq i32 %257, %260 br i1 %261, label %262, label %251, !llvm.loop !23 262: ; preds = %251, %256 %263 = add nsw i32 %254, 1 %264 = ashr i64 %247, 32 %265 = getelementptr inbounds i32, ptr %195, i64 %264 store i32 %263, ptr %265, align 4, !tbaa !10 %266 = load i32, ptr %243, align 4, !tbaa !10 br label %277 267: ; preds = %241 %268 = load i32, ptr %223, align 4, !tbaa !10 %269 = icmp eq i32 %214, %268 br i1 %269, label %280, label %270 270: ; preds = %267 %271 = sext i32 %212 to i64 %272 = getelementptr inbounds i32, ptr %195, i64 %271 %273 = load i32, ptr %272, align 4, !tbaa !10 %274 = shl i64 %225, 30 %275 = ashr i64 %274, 32 %276 = getelementptr inbounds i32, ptr %195, i64 %275 store i32 %273, ptr %276, align 4, !tbaa !10 store i32 %227, ptr %272, align 4, !tbaa !10 br label %277 277: ; preds = %262, %270 %278 = phi i32 [ %215, %270 ], [ %266, %262 ] %279 = load i32, ptr %223, align 4, !tbaa !10 br label %280 280: ; preds = %277, %267 %281 = phi i32 [ %215, %267 ], [ %278, %277 ] %282 = phi i32 [ %214, %267 ], [ %279, %277 ] %283 = phi i32 [ %213, %267 ], [ %242, %277 ] %284 = phi i32 [ %212, %267 ], [ %227, %277 ] store i32 %283, ptr %243, align 4, !tbaa !10 %285 = load i32, ptr @KN, align 4, !tbaa !10 br label %286 286: ; preds = %209, %280 %287 = phi i32 [ %210, %209 ], [ %285, %280 ] %288 = phi i32 [ %215, %209 ], [ %281, %280 ] %289 = phi i32 [ %214, %209 ], [ %282, %280 ] %290 = phi i32 [ %213, %209 ], [ %283, %280 ] %291 = phi i32 [ %212, %209 ], [ %284, %280 ] %292 = add nuw nsw i64 %211, 1 %293 = sext i32 %287 to i64 %294 = icmp slt i64 %292, %293 br i1 %294, label %209, label %295, !llvm.loop !24 295: ; preds = %286, %198 %296 = phi i32 [ %199, %198 ], [ %287, %286 ] %297 = phi i32 [ %200, %198 ], [ %287, %286 ] %298 = add nuw nsw i64 %201, 1 %299 = icmp eq i64 %298, %190 br i1 %299, label %300, label %198, !llvm.loop !25 300: ; preds = %295 %301 = load i32, ptr @KL, align 4, !tbaa !10 br label %302 302: ; preds = %9, %300, %26, %2 %303 = phi i32 [ -1, %2 ], [ %301, %300 ], [ -1, %26 ], [ -1, %9 ] ret i32 %303 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 declare i32 @sort_str(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !13} !16 = distinct !{!16, !13} !17 = distinct !{!17, !13} !18 = distinct !{!18, !13} !19 = distinct !{!19, !13} !20 = distinct !{!20, !13} !21 = distinct !{!21, !13} !22 = distinct !{!22, !13} !23 = distinct !{!23, !13} !24 = distinct !{!24, !13} !25 = distinct !{!25, !13}
kphp-kdb_common_extr_aho-kmp.c_aho_prepare
; ModuleID = 'AnghaBench/freebsd/sbin/dump/extr_traverse.c_blockest.c' source_filename = "AnghaBench/freebsd/sbin/dump/extr_traverse.c_blockest.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @di_flags = dso_local local_unnamed_addr global i32 0, align 4 @SF_SNAPSHOT = dso_local local_unnamed_addr global i64 0, align 8 @di_blocks = dso_local local_unnamed_addr global i32 0, align 4 @TP_BSIZE = dso_local local_unnamed_addr global i64 0, align 8 @di_size = dso_local local_unnamed_addr global i32 0, align 4 @sblock = dso_local local_unnamed_addr global ptr null, align 8 @UFS_NDADDR = dso_local local_unnamed_addr global i64 0, align 8 @TP_NINDIR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @blockest], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @blockest(ptr noundef %0) #0 { %2 = load i32, ptr @di_flags, align 4, !tbaa !5 %3 = tail call i64 @DIP(ptr noundef %0, i32 noundef %2) #3 %4 = load i64, ptr @SF_SNAPSHOT, align 8, !tbaa !9 %5 = and i64 %4, %3 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %35 7: ; preds = %1 %8 = load i32, ptr @di_blocks, align 4, !tbaa !5 %9 = tail call i64 @DIP(ptr noundef %0, i32 noundef %8) #3 %10 = tail call i64 @dbtob(i64 noundef %9) #3 %11 = load i64, ptr @TP_BSIZE, align 8, !tbaa !9 %12 = tail call i64 @howmany(i64 noundef %10, i64 noundef %11) #3 %13 = load i32, ptr @di_size, align 4, !tbaa !5 %14 = tail call i64 @DIP(ptr noundef %0, i32 noundef %13) #3 %15 = load i64, ptr @TP_BSIZE, align 8, !tbaa !9 %16 = tail call i64 @howmany(i64 noundef %14, i64 noundef %15) #3 %17 = tail call i64 @llvm.smin.i64(i64 %12, i64 %16) %18 = load i32, ptr @di_size, align 4, !tbaa !5 %19 = tail call i64 @DIP(ptr noundef %0, i32 noundef %18) #3 %20 = load ptr, ptr @sblock, align 8, !tbaa !11 %21 = load i64, ptr %20, align 8, !tbaa !13 %22 = load i64, ptr @UFS_NDADDR, align 8, !tbaa !9 %23 = mul nsw i64 %22, %21 %24 = icmp sgt i64 %19, %23 br i1 %24, label %25, label %32 25: ; preds = %7 %26 = load i64, ptr @TP_BSIZE, align 8, !tbaa !9 %27 = sdiv i64 %23, %26 %28 = sub nsw i64 %16, %27 %29 = load i64, ptr @TP_NINDIR, align 8, !tbaa !9 %30 = tail call i64 @howmany(i64 noundef %28, i64 noundef %29) #3 %31 = add nsw i64 %30, %17 br label %32 32: ; preds = %25, %7 %33 = phi i64 [ %31, %25 ], [ %17, %7 ] %34 = add nsw i64 %33, 1 br label %35 35: ; preds = %1, %32 %36 = phi i64 [ %34, %32 ], [ 1, %1 ] ret i64 %36 } declare i64 @DIP(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @howmany(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @dbtob(i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sbin/dump/extr_traverse.c_blockest.c' source_filename = "AnghaBench/freebsd/sbin/dump/extr_traverse.c_blockest.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @di_flags = common local_unnamed_addr global i32 0, align 4 @SF_SNAPSHOT = common local_unnamed_addr global i64 0, align 8 @di_blocks = common local_unnamed_addr global i32 0, align 4 @TP_BSIZE = common local_unnamed_addr global i64 0, align 8 @di_size = common local_unnamed_addr global i32 0, align 4 @sblock = common local_unnamed_addr global ptr null, align 8 @UFS_NDADDR = common local_unnamed_addr global i64 0, align 8 @TP_NINDIR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @blockest], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i64 -9223372036854775807, -9223372036854775808) i64 @blockest(ptr noundef %0) #0 { %2 = load i32, ptr @di_flags, align 4, !tbaa !6 %3 = tail call i64 @DIP(ptr noundef %0, i32 noundef %2) #3 %4 = load i64, ptr @SF_SNAPSHOT, align 8, !tbaa !10 %5 = and i64 %4, %3 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %35 7: ; preds = %1 %8 = load i32, ptr @di_blocks, align 4, !tbaa !6 %9 = tail call i64 @DIP(ptr noundef %0, i32 noundef %8) #3 %10 = tail call i64 @dbtob(i64 noundef %9) #3 %11 = load i64, ptr @TP_BSIZE, align 8, !tbaa !10 %12 = tail call i64 @howmany(i64 noundef %10, i64 noundef %11) #3 %13 = load i32, ptr @di_size, align 4, !tbaa !6 %14 = tail call i64 @DIP(ptr noundef %0, i32 noundef %13) #3 %15 = load i64, ptr @TP_BSIZE, align 8, !tbaa !10 %16 = tail call i64 @howmany(i64 noundef %14, i64 noundef %15) #3 %17 = tail call i64 @llvm.smin.i64(i64 %12, i64 %16) %18 = load i32, ptr @di_size, align 4, !tbaa !6 %19 = tail call i64 @DIP(ptr noundef %0, i32 noundef %18) #3 %20 = load ptr, ptr @sblock, align 8, !tbaa !12 %21 = load i64, ptr %20, align 8, !tbaa !14 %22 = load i64, ptr @UFS_NDADDR, align 8, !tbaa !10 %23 = mul nsw i64 %22, %21 %24 = icmp sgt i64 %19, %23 br i1 %24, label %25, label %32 25: ; preds = %7 %26 = load i64, ptr @TP_BSIZE, align 8, !tbaa !10 %27 = sdiv i64 %23, %26 %28 = sub nsw i64 %16, %27 %29 = load i64, ptr @TP_NINDIR, align 8, !tbaa !10 %30 = tail call i64 @howmany(i64 noundef %28, i64 noundef %29) #3 %31 = add nsw i64 %30, %17 br label %32 32: ; preds = %25, %7 %33 = phi i64 [ %31, %25 ], [ %17, %7 ] %34 = add nsw i64 %33, 1 br label %35 35: ; preds = %1, %32 %36 = phi i64 [ %34, %32 ], [ 1, %1 ] ret i64 %36 } declare i64 @DIP(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @howmany(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @dbtob(i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_2__", !11, i64 0}
freebsd_sbin_dump_extr_traverse.c_blockest
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_at_hdmac.c_atc_alloc_chan_resources.c' source_filename = "AnghaBench/linux/drivers/dma/extr_at_hdmac.c_atc_alloc_chan_resources.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dma_chan = type { ptr, i32 } %struct.at_dma_slave = type { i64, i64 } %struct.at_dma_chan = type { i32, i32, i32 } @tmp_list = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"alloc_chan_resources\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"DMA channel not idle ?\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @ATC_DEFAULT_CFG = dso_local local_unnamed_addr global i64 0, align 8 @init_nr_desc_per_channel = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"Only %d initial descriptors\0A\00", align 1 @CFG = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"alloc_chan_resources: allocated %d descriptors\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @atc_alloc_chan_resources], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @atc_alloc_chan_resources(ptr noundef %0) #0 { %2 = tail call ptr @to_at_dma_chan(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.dma_chan, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call ptr @to_at_dma(i32 noundef %4) #2 %6 = load i32, ptr @tmp_list, align 4, !tbaa !11 %7 = tail call i32 @LIST_HEAD(i32 noundef %6) #2 %8 = tail call i32 @chan2dev(ptr noundef %0) #2 %9 = tail call i32 @dev_vdbg(i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = tail call i64 @atc_chan_is_enabled(ptr noundef %2) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %1 %13 = tail call i32 @chan2dev(ptr noundef nonnull %0) #2 %14 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %13, ptr noundef nonnull @.str.1) #2 %15 = load i32, ptr @EIO, align 4, !tbaa !11 %16 = sub nsw i32 0, %15 br label %71 17: ; preds = %1 %18 = load i64, ptr @ATC_DEFAULT_CFG, align 8, !tbaa !12 %19 = load ptr, ptr %0, align 8, !tbaa !14 %20 = icmp eq ptr %19, null br i1 %20, label %35, label %21 21: ; preds = %17 %22 = load i64, ptr %19, align 8, !tbaa !15 %23 = icmp eq i64 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %21 %25 = load i64, ptr %5, align 8, !tbaa !17 %26 = icmp ne i64 %22, %25 %27 = zext i1 %26 to i32 br label %28 28: ; preds = %24, %21 %29 = phi i32 [ 1, %21 ], [ %27, %24 ] %30 = tail call i32 @BUG_ON(i32 noundef %29) #2 %31 = getelementptr inbounds %struct.at_dma_slave, ptr %19, i64 0, i32 1 %32 = load i64, ptr %31, align 8, !tbaa !20 %33 = icmp eq i64 %32, 0 %34 = select i1 %33, i64 %18, i64 %32 br label %35 35: ; preds = %28, %17 %36 = phi i64 [ %18, %17 ], [ %34, %28 ] %37 = getelementptr inbounds %struct.at_dma_chan, ptr %2, i64 0, i32 2 %38 = tail call i32 @list_empty(ptr noundef nonnull %37) #2 %39 = icmp eq i32 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %35 %41 = load i32, ptr @init_nr_desc_per_channel, align 4, !tbaa !11 %42 = icmp sgt i32 %41, 0 br i1 %42, label %45, label %58 43: ; preds = %35 %44 = load i32, ptr %2, align 4, !tbaa !21 br label %71 45: ; preds = %40, %53 %46 = phi i32 [ %55, %53 ], [ 0, %40 ] %47 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %48 = tail call ptr @atc_alloc_descriptor(ptr noundef nonnull %0, i32 noundef %47) #2 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %53 50: ; preds = %45 %51 = load i64, ptr %5, align 8, !tbaa !17 %52 = tail call i32 @dev_err(i64 noundef %51, ptr noundef nonnull @.str.2, i32 noundef %46) #2 br label %58 53: ; preds = %45 %54 = tail call i32 @list_add_tail(ptr noundef nonnull %48, ptr noundef nonnull @tmp_list) #2 %55 = add nuw nsw i32 %46, 1 %56 = load i32, ptr @init_nr_desc_per_channel, align 4, !tbaa !11 %57 = icmp slt i32 %55, %56 br i1 %57, label %45, label %58, !llvm.loop !23 58: ; preds = %53, %40, %50 %59 = phi i32 [ %46, %50 ], [ 0, %40 ], [ %55, %53 ] %60 = getelementptr inbounds %struct.at_dma_chan, ptr %2, i64 0, i32 1 %61 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %60, i64 noundef undef) #2 store i32 %59, ptr %2, align 4, !tbaa !21 %62 = tail call i32 @list_splice(ptr noundef nonnull @tmp_list, ptr noundef nonnull %37) #2 %63 = tail call i32 @dma_cookie_init(ptr noundef nonnull %0) #2 %64 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %60, i64 noundef undef) #2 %65 = load i32, ptr @CFG, align 4, !tbaa !11 %66 = tail call i32 @channel_writel(ptr noundef nonnull %2, i32 noundef %65, i64 noundef %36) #2 %67 = tail call i32 @chan2dev(ptr noundef nonnull %0) #2 %68 = load i32, ptr %2, align 4, !tbaa !21 %69 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %67, ptr noundef nonnull @.str.3, i32 noundef %68) #2 %70 = load i32, ptr %2, align 4, !tbaa !21 br label %71 71: ; preds = %58, %43, %12 %72 = phi i32 [ %16, %12 ], [ %70, %58 ], [ %44, %43 ] ret i32 %72 } declare ptr @to_at_dma_chan(ptr noundef) local_unnamed_addr #1 declare ptr @to_at_dma(i32 noundef) local_unnamed_addr #1 declare i32 @LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i32 @dev_vdbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @chan2dev(ptr noundef) local_unnamed_addr #1 declare i64 @atc_chan_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare ptr @atc_alloc_descriptor(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @list_splice(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dma_cookie_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @channel_writel(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 = !{!"dma_chan", !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 = !{!10, !10, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"at_dma_slave", !13, i64 0, !13, i64 8} !17 = !{!18, !13, i64 0} !18 = !{!"at_dma", !19, i64 0} !19 = !{!"TYPE_2__", !13, i64 0} !20 = !{!16, !13, i64 8} !21 = !{!22, !10, i64 0} !22 = !{!"at_dma_chan", !10, i64 0, !10, i64 4, !10, i64 8} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_at_hdmac.c_atc_alloc_chan_resources.c' source_filename = "AnghaBench/linux/drivers/dma/extr_at_hdmac.c_atc_alloc_chan_resources.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @tmp_list = common global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"alloc_chan_resources\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"DMA channel not idle ?\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @ATC_DEFAULT_CFG = common local_unnamed_addr global i64 0, align 8 @init_nr_desc_per_channel = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"Only %d initial descriptors\0A\00", align 1 @CFG = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"alloc_chan_resources: allocated %d descriptors\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @atc_alloc_chan_resources], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @atc_alloc_chan_resources(ptr noundef %0) #0 { %2 = tail call ptr @to_at_dma_chan(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call ptr @to_at_dma(i32 noundef %4) #2 %6 = load i32, ptr @tmp_list, align 4, !tbaa !12 %7 = tail call i32 @LIST_HEAD(i32 noundef %6) #2 %8 = tail call i32 @chan2dev(ptr noundef %0) #2 %9 = tail call i32 @dev_vdbg(i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = tail call i64 @atc_chan_is_enabled(ptr noundef %2) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %1 %13 = tail call i32 @chan2dev(ptr noundef nonnull %0) #2 %14 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %13, ptr noundef nonnull @.str.1) #2 %15 = load i32, ptr @EIO, align 4, !tbaa !12 %16 = sub nsw i32 0, %15 br label %71 17: ; preds = %1 %18 = load i64, ptr @ATC_DEFAULT_CFG, align 8, !tbaa !13 %19 = load ptr, ptr %0, align 8, !tbaa !15 %20 = icmp eq ptr %19, null br i1 %20, label %35, label %21 21: ; preds = %17 %22 = load i64, ptr %19, align 8, !tbaa !16 %23 = icmp eq i64 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %21 %25 = load i64, ptr %5, align 8, !tbaa !18 %26 = icmp ne i64 %22, %25 %27 = zext i1 %26 to i32 br label %28 28: ; preds = %24, %21 %29 = phi i32 [ 1, %21 ], [ %27, %24 ] %30 = tail call i32 @BUG_ON(i32 noundef %29) #2 %31 = getelementptr inbounds i8, ptr %19, i64 8 %32 = load i64, ptr %31, align 8, !tbaa !21 %33 = icmp eq i64 %32, 0 %34 = select i1 %33, i64 %18, i64 %32 br label %35 35: ; preds = %28, %17 %36 = phi i64 [ %18, %17 ], [ %34, %28 ] %37 = getelementptr inbounds i8, ptr %2, i64 8 %38 = tail call i32 @list_empty(ptr noundef nonnull %37) #2 %39 = icmp eq i32 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %35 %41 = load i32, ptr @init_nr_desc_per_channel, align 4, !tbaa !12 %42 = icmp sgt i32 %41, 0 br i1 %42, label %45, label %58 43: ; preds = %35 %44 = load i32, ptr %2, align 4, !tbaa !22 br label %71 45: ; preds = %40, %53 %46 = phi i32 [ %55, %53 ], [ 0, %40 ] %47 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %48 = tail call ptr @atc_alloc_descriptor(ptr noundef nonnull %0, i32 noundef %47) #2 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %53 50: ; preds = %45 %51 = load i64, ptr %5, align 8, !tbaa !18 %52 = tail call i32 @dev_err(i64 noundef %51, ptr noundef nonnull @.str.2, i32 noundef %46) #2 br label %58 53: ; preds = %45 %54 = tail call i32 @list_add_tail(ptr noundef nonnull %48, ptr noundef nonnull @tmp_list) #2 %55 = add nuw nsw i32 %46, 1 %56 = load i32, ptr @init_nr_desc_per_channel, align 4, !tbaa !12 %57 = icmp slt i32 %55, %56 br i1 %57, label %45, label %58, !llvm.loop !24 58: ; preds = %53, %40, %50 %59 = phi i32 [ %46, %50 ], [ 0, %40 ], [ %55, %53 ] %60 = getelementptr inbounds i8, ptr %2, i64 4 %61 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %60, i64 noundef undef) #2 store i32 %59, ptr %2, align 4, !tbaa !22 %62 = tail call i32 @list_splice(ptr noundef nonnull @tmp_list, ptr noundef nonnull %37) #2 %63 = tail call i32 @dma_cookie_init(ptr noundef nonnull %0) #2 %64 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %60, i64 noundef undef) #2 %65 = load i32, ptr @CFG, align 4, !tbaa !12 %66 = tail call i32 @channel_writel(ptr noundef nonnull %2, i32 noundef %65, i64 noundef %36) #2 %67 = tail call i32 @chan2dev(ptr noundef nonnull %0) #2 %68 = load i32, ptr %2, align 4, !tbaa !22 %69 = tail call i32 (i32, ptr, ...) @dev_dbg(i32 noundef %67, ptr noundef nonnull @.str.3, i32 noundef %68) #2 %70 = load i32, ptr %2, align 4, !tbaa !22 br label %71 71: ; preds = %58, %43, %12 %72 = phi i32 [ %16, %12 ], [ %70, %58 ], [ %44, %43 ] ret i32 %72 } declare ptr @to_at_dma_chan(ptr noundef) local_unnamed_addr #1 declare ptr @to_at_dma(i32 noundef) local_unnamed_addr #1 declare i32 @LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i32 @dev_vdbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @chan2dev(ptr noundef) local_unnamed_addr #1 declare i64 @atc_chan_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare ptr @atc_alloc_descriptor(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @list_splice(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dma_cookie_init(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @channel_writel(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 = !{!"dma_chan", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"at_dma_slave", !14, i64 0, !14, i64 8} !18 = !{!19, !14, i64 0} !19 = !{!"at_dma", !20, i64 0} !20 = !{!"TYPE_2__", !14, i64 0} !21 = !{!17, !14, i64 8} !22 = !{!23, !11, i64 0} !23 = !{!"at_dma_chan", !11, i64 0, !11, i64 4, !11, i64 8} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
linux_drivers_dma_extr_at_hdmac.c_atc_alloc_chan_resources
; ModuleID = 'AnghaBench/linux/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet4_do_data_match.c' source_filename = "AnghaBench/linux/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet4_do_data_match.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOTEMPTY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hash_ipportnet4_do_data_match], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @hash_ipportnet4_do_data_match(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 %4 = load i32, ptr @ENOTEMPTY, align 4 %5 = sub nsw i32 0, %4 %6 = select i1 %3, i32 1, i32 %5 ret i32 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hash_ipportnet4_elem", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet4_do_data_match.c' source_filename = "AnghaBench/linux/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet4_do_data_match.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOTEMPTY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hash_ipportnet4_do_data_match], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @hash_ipportnet4_do_data_match(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 %4 = load i32, ptr @ENOTEMPTY, align 4 %5 = sub nsw i32 0, %4 %6 = select i1 %3, i32 1, i32 %5 ret i32 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hash_ipportnet4_elem", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_net_netfilter_ipset_extr_ip_set_hash_ipportnet.c_hash_ipportnet4_do_data_match
; ModuleID = 'AnghaBench/freebsd/sys/dev/bwi/extr_bwirf.c_bwi_rf_calc_txpower.c' source_filename = "AnghaBench/freebsd/sys/dev/bwi/extr_bwirf.c_bwi_rf_calc_txpower.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ITER_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bwi_rf_calc_txpower], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bwi_rf_calc_txpower(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !5 %5 = shl nsw i32 %4, 4 %6 = getelementptr inbounds i32, ptr %2, i64 1 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = mul nsw i32 %7, %1 %9 = add nsw i32 %8, %5 %10 = tail call i32 @_bwi_adjust_devide(i32 noundef %9, i32 noundef 32) #4 %11 = getelementptr inbounds i32, ptr %2, i64 2 %12 = load i32, ptr %11, align 4, !tbaa !5 %13 = mul nsw i32 %12, %1 %14 = add nsw i32 %13, 32768 %15 = tail call i32 @_bwi_adjust_devide(i32 noundef %14, i32 noundef 256) #4 %16 = tail call i32 @imax(i32 noundef %15, i32 noundef 1) #4 br label %17 17: ; preds = %3, %28 %18 = phi i32 [ 256, %3 ], [ %24, %28 ] %19 = phi i32 [ 0, %3 ], [ %29, %28 ] %20 = mul nsw i32 %18, %16 %21 = tail call i32 @_bwi_adjust_devide(i32 noundef %20, i32 noundef 16) #4 %22 = sub i32 4096, %21 %23 = mul i32 %22, %18 %24 = tail call i32 @_bwi_adjust_devide(i32 noundef %23, i32 noundef 2048) #4 %25 = sub nsw i32 %24, %18 %26 = tail call i32 @llvm.abs.i32(i32 %25, i1 true) %27 = icmp ult i32 %26, 2 br i1 %27, label %33, label %28 28: ; preds = %17 %29 = add nuw nsw i32 %19, 1 %30 = icmp eq i32 %29, 16 br i1 %30, label %31, label %17, !llvm.loop !9 31: ; preds = %28 %32 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %38 33: ; preds = %17 %34 = mul nsw i32 %24, %10 %35 = tail call i32 @_bwi_adjust_devide(i32 noundef %34, i32 noundef 8192) #4 %36 = tail call i32 @llvm.smin.i32(i32 %35, i32 128) %37 = tail call i32 @llvm.smax.i32(i32 %36, i32 -127) store i32 %37, ptr %0, align 4, !tbaa !5 br label %38 38: ; preds = %33, %31 %39 = phi i32 [ %32, %31 ], [ 0, %33 ] ret i32 %39 } declare i32 @_bwi_adjust_devide(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @imax(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/bwi/extr_bwirf.c_bwi_rf_calc_txpower.c' source_filename = "AnghaBench/freebsd/sys/dev/bwi/extr_bwirf.c_bwi_rf_calc_txpower.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @ITER_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bwi_rf_calc_txpower], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bwi_rf_calc_txpower(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !6 %5 = shl nsw i32 %4, 4 %6 = getelementptr inbounds i8, ptr %2, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = mul nsw i32 %7, %1 %9 = add nsw i32 %8, %5 %10 = tail call i32 @_bwi_adjust_devide(i32 noundef %9, i32 noundef 32) #4 %11 = getelementptr inbounds i8, ptr %2, i64 8 %12 = load i32, ptr %11, align 4, !tbaa !6 %13 = mul nsw i32 %12, %1 %14 = add nsw i32 %13, 32768 %15 = tail call i32 @_bwi_adjust_devide(i32 noundef %14, i32 noundef 256) #4 %16 = tail call i32 @imax(i32 noundef %15, i32 noundef 1) #4 br label %17 17: ; preds = %3, %28 %18 = phi i32 [ 256, %3 ], [ %24, %28 ] %19 = phi i32 [ 0, %3 ], [ %29, %28 ] %20 = mul nsw i32 %18, %16 %21 = tail call i32 @_bwi_adjust_devide(i32 noundef %20, i32 noundef 16) #4 %22 = sub i32 4096, %21 %23 = mul i32 %22, %18 %24 = tail call i32 @_bwi_adjust_devide(i32 noundef %23, i32 noundef 2048) #4 %25 = sub nsw i32 %24, %18 %26 = tail call i32 @llvm.abs.i32(i32 %25, i1 true) %27 = icmp ult i32 %26, 2 br i1 %27, label %33, label %28 28: ; preds = %17 %29 = add nuw nsw i32 %19, 1 %30 = icmp eq i32 %29, 16 br i1 %30, label %31, label %17, !llvm.loop !10 31: ; preds = %28 %32 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %38 33: ; preds = %17 %34 = mul nsw i32 %24, %10 %35 = tail call i32 @_bwi_adjust_devide(i32 noundef %34, i32 noundef 8192) #4 %36 = tail call i32 @llvm.smin.i32(i32 %35, i32 128) %37 = tail call i32 @llvm.smax.i32(i32 %36, i32 -127) store i32 %37, ptr %0, align 4, !tbaa !6 br label %38 38: ; preds = %33, %31 %39 = phi i32 [ %32, %31 ], [ 0, %33 ] ret i32 %39 } declare i32 @_bwi_adjust_devide(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @imax(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smin.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_bwi_extr_bwirf.c_bwi_rf_calc_txpower
; ModuleID = 'AnghaBench/linux/scripts/dtc/extr_livetree.c_build_root_node.c' source_filename = "AnghaBench/linux/scripts/dtc/extr_livetree.c_build_root_node.c" target datalayout = "e-m:e-p270:32:32-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 [31 x i8] c"Could not build root node /%s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @build_root_node], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @build_root_node(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @get_subnode(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %2 %6 = tail call ptr @build_and_name_child_node(ptr noundef %0, ptr noundef %1) #2 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %5 %9 = tail call i32 @die(ptr noundef nonnull @.str, ptr noundef %1) #2 br label %10 10: ; preds = %2, %8, %5 %11 = phi ptr [ null, %8 ], [ %6, %5 ], [ %3, %2 ] ret ptr %11 } declare ptr @get_subnode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @build_and_name_child_node(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @die(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/linux/scripts/dtc/extr_livetree.c_build_root_node.c' source_filename = "AnghaBench/linux/scripts/dtc/extr_livetree.c_build_root_node.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 [31 x i8] c"Could not build root node /%s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @build_root_node], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @build_root_node(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @get_subnode(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %2 %6 = tail call ptr @build_and_name_child_node(ptr noundef %0, ptr noundef %1) #2 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %5 %9 = tail call i32 @die(ptr noundef nonnull @.str, ptr noundef %1) #2 br label %10 10: ; preds = %2, %8, %5 %11 = phi ptr [ null, %8 ], [ %6, %5 ], [ %3, %2 ] ret ptr %11 } declare ptr @get_subnode(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @build_and_name_child_node(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @die(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)"}
linux_scripts_dtc_extr_livetree.c_build_root_node
; ModuleID = 'AnghaBench/freebsd/usr.bin/gzip/extr_unlz.c_lz_rd_decode.c' source_filename = "AnghaBench/freebsd/usr.bin/gzip/extr_unlz.c_lz_rd_decode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.lz_range_decoder = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @lz_rd_decode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lz_rd_decode(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %4, label %8 4: ; preds = %2 %5 = getelementptr inbounds %struct.lz_range_decoder, ptr %0, i64 0, i32 1 %6 = getelementptr inbounds %struct.lz_range_decoder, ptr %0, i64 0, i32 2 %7 = load i32, ptr %5, align 4, !tbaa !5 br label %10 8: ; preds = %32, %2 %9 = phi i32 [ 0, %2 ], [ %23, %32 ] ret i32 %9 10: ; preds = %4, %32 %11 = phi i32 [ %7, %4 ], [ %33, %32 ] %12 = phi i32 [ %1, %4 ], [ %34, %32 ] %13 = phi i32 [ 0, %4 ], [ %23, %32 ] %14 = load i32, ptr %0, align 4, !tbaa !10 %15 = ashr i32 %14, 1 store i32 %15, ptr %0, align 4, !tbaa !10 %16 = shl i32 %13, 1 %17 = icmp slt i32 %11, %15 br i1 %17, label %21, label %18 18: ; preds = %10 %19 = sub nsw i32 %11, %15 store i32 %19, ptr %5, align 4, !tbaa !5 %20 = or disjoint i32 %16, 1 br label %21 21: ; preds = %18, %10 %22 = phi i32 [ %19, %18 ], [ %11, %10 ] %23 = phi i32 [ %20, %18 ], [ %16, %10 ] %24 = icmp ult i32 %15, 16777216 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = shl nuw i32 %15, 8 store i32 %26, ptr %0, align 4, !tbaa !10 %27 = shl i32 %22, 8 %28 = load i32, ptr %6, align 4, !tbaa !11 %29 = tail call i64 @getc(i32 noundef %28) #2 %30 = trunc i64 %29 to i32 %31 = or i32 %27, %30 store i32 %31, ptr %5, align 4, !tbaa !5 br label %32 32: ; preds = %21, %25 %33 = phi i32 [ %22, %21 ], [ %31, %25 ] %34 = add nsw i32 %12, -1 %35 = icmp sgt i32 %12, 1 br i1 %35, label %10, label %8, !llvm.loop !12 } declare i64 @getc(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"lz_range_decoder", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!6, !7, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/usr.bin/gzip/extr_unlz.c_lz_rd_decode.c' source_filename = "AnghaBench/freebsd/usr.bin/gzip/extr_unlz.c_lz_rd_decode.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 @lz_rd_decode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lz_rd_decode(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %4, label %8 4: ; preds = %2 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %5, align 4, !tbaa !6 br label %10 8: ; preds = %32, %2 %9 = phi i32 [ 0, %2 ], [ %23, %32 ] ret i32 %9 10: ; preds = %4, %32 %11 = phi i32 [ %7, %4 ], [ %33, %32 ] %12 = phi i32 [ %1, %4 ], [ %34, %32 ] %13 = phi i32 [ 0, %4 ], [ %23, %32 ] %14 = load i32, ptr %0, align 4, !tbaa !11 %15 = ashr i32 %14, 1 store i32 %15, ptr %0, align 4, !tbaa !11 %16 = shl i32 %13, 1 %17 = icmp slt i32 %11, %15 br i1 %17, label %21, label %18 18: ; preds = %10 %19 = sub nsw i32 %11, %15 store i32 %19, ptr %5, align 4, !tbaa !6 %20 = or disjoint i32 %16, 1 br label %21 21: ; preds = %18, %10 %22 = phi i32 [ %19, %18 ], [ %11, %10 ] %23 = phi i32 [ %20, %18 ], [ %16, %10 ] %24 = icmp ult i32 %15, 16777216 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = shl nuw i32 %15, 8 store i32 %26, ptr %0, align 4, !tbaa !11 %27 = shl i32 %22, 8 %28 = load i32, ptr %6, align 4, !tbaa !12 %29 = tail call i64 @getc(i32 noundef %28) #2 %30 = trunc i64 %29 to i32 %31 = or i32 %27, %30 store i32 %31, ptr %5, align 4, !tbaa !6 br label %32 32: ; preds = %21, %25 %33 = phi i32 [ %22, %21 ], [ %31, %25 ] %34 = add nsw i32 %12, -1 %35 = icmp sgt i32 %12, 1 br i1 %35, label %10, label %8, !llvm.loop !13 } declare i64 @getc(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"lz_range_decoder", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!7, !8, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
freebsd_usr.bin_gzip_extr_unlz.c_lz_rd_decode
; ModuleID = 'AnghaBench/freebsd/sys/dev/nge/extr_if_nge.c_nge_ioctl.c' source_filename = "AnghaBench/freebsd/sys/dev/nge/extr_if_nge.c_nge_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.ifnet = type { i32, i32, i32, i32, i32, i32, ptr } %struct.nge_softc = type { i32, i32, i32 } %struct.ifreq = type { i32, i32 } @ETHERMIN = dso_local local_unnamed_addr global i32 0, align 4 @NGE_JUMBO_MTU = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_TXCSUM = dso_local local_unnamed_addr global i32 0, align 4 @NGE_CSUM_FEATURES = dso_local local_unnamed_addr global i32 0, align 4 @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 @IFF_DRV_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @IFF_PROMISC = dso_local local_unnamed_addr global i32 0, align 4 @IFF_ALLMULTI = dso_local local_unnamed_addr global i32 0, align 4 @NGE_FLAG_DETACH = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_RXCSUM = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_WOL = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_WOL_UCAST = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_WOL_MCAST = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_WOL_MAGIC = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWCSUM = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWTAGGING = dso_local local_unnamed_addr global i32 0, align 4 @NGE_VLAN_IP_RXCTL = dso_local local_unnamed_addr global i32 0, align 4 @NGE_VIPRXCTL_TAG_STRIP_ENB = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_POLLING = dso_local local_unnamed_addr global i32 0, align 4 @NGE_IER = dso_local local_unnamed_addr global i32 0, align 4 @nge_poll = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nge_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nge_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 6 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = inttoptr i64 %2 to ptr switch i32 %1, label %225 [ i32 128, label %7 i32 130, label %42 i32 134, label %79 i32 133, label %79 i32 132, label %90 i32 129, label %90 i32 131, label %95 ] 7: ; preds = %3 %8 = load i32, ptr %6, align 4, !tbaa !11 %9 = load i32, ptr @ETHERMIN, align 4, !tbaa !13 %10 = icmp slt i32 %8, %9 %11 = load i32, ptr @NGE_JUMBO_MTU, align 4 %12 = icmp sgt i32 %8, %11 %13 = select i1 %10, i1 true, i1 %12 br i1 %13, label %14, label %16 14: ; preds = %7 %15 = load i32, ptr @EINVAL, align 4, !tbaa !13 br label %227 16: ; preds = %7 %17 = tail call i32 @NGE_LOCK(ptr noundef %5) #2 %18 = load i32, ptr %6, align 4, !tbaa !11 store i32 %18, ptr %0, align 8, !tbaa !14 %19 = icmp sgt i32 %18, 8151 %20 = load i32, ptr @IFCAP_TXCSUM, align 4, !tbaa !13 br i1 %19, label %21, label %31 21: ; preds = %16 %22 = xor i32 %20, -1 %23 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !15 %25 = and i32 %24, %22 store i32 %25, ptr %23, align 4, !tbaa !15 %26 = load i32, ptr @NGE_CSUM_FEATURES, align 4, !tbaa !13 %27 = xor i32 %26, -1 %28 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 5 %29 = load i32, ptr %28, align 4, !tbaa !16 %30 = and i32 %29, %27 store i32 %30, ptr %28, align 4, !tbaa !16 br label %39 31: ; preds = %16 %32 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 1 %33 = load i32, ptr %32, align 4, !tbaa !15 %34 = or i32 %33, %20 store i32 %34, ptr %32, align 4, !tbaa !15 %35 = load i32, ptr @NGE_CSUM_FEATURES, align 4, !tbaa !13 %36 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 5 %37 = load i32, ptr %36, align 4, !tbaa !16 %38 = or i32 %37, %35 store i32 %38, ptr %36, align 4, !tbaa !16 br label %39 39: ; preds = %31, %21 %40 = tail call i32 @NGE_UNLOCK(ptr noundef %5) #2 %41 = tail call i32 @VLAN_CAPABILITIES(ptr noundef nonnull %0) #2 br label %227 42: ; preds = %3 %43 = tail call i32 @NGE_LOCK(ptr noundef %5) #2 %44 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 2 %45 = load i32, ptr %44, align 8, !tbaa !17 %46 = load i32, ptr @IFF_UP, align 4, !tbaa !13 %47 = and i32 %46, %45 %48 = icmp eq i32 %47, 0 %49 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 3 %50 = load i32, ptr %49, align 4, !tbaa !18 %51 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !13 %52 = and i32 %51, %50 %53 = icmp eq i32 %52, 0 br i1 %48, label %73, label %54 54: ; preds = %42 br i1 %53, label %65, label %55 55: ; preds = %54 %56 = load i32, ptr %5, align 4, !tbaa !19 %57 = xor i32 %56, %45 %58 = load i32, ptr @IFF_PROMISC, align 4, !tbaa !13 %59 = load i32, ptr @IFF_ALLMULTI, align 4, !tbaa !13 %60 = or i32 %59, %58 %61 = and i32 %60, %57 %62 = icmp eq i32 %61, 0 br i1 %62, label %76, label %63 63: ; preds = %55 %64 = tail call i32 @nge_rxfilter(ptr noundef nonnull %5) #2 br label %76 65: ; preds = %54 %66 = getelementptr inbounds %struct.nge_softc, ptr %5, i64 0, i32 1 %67 = load i32, ptr %66, align 4, !tbaa !21 %68 = load i32, ptr @NGE_FLAG_DETACH, align 4, !tbaa !13 %69 = and i32 %68, %67 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %76 71: ; preds = %65 %72 = tail call i32 @nge_init_locked(ptr noundef nonnull %5) #2 br label %76 73: ; preds = %42 br i1 %53, label %76, label %74 74: ; preds = %73 %75 = tail call i32 @nge_stop(ptr noundef %5) #2 br label %76 76: ; preds = %73, %74, %63, %55, %71, %65 %77 = load i32, ptr %44, align 8, !tbaa !17 store i32 %77, ptr %5, align 4, !tbaa !19 %78 = tail call i32 @NGE_UNLOCK(ptr noundef nonnull %5) #2 br label %227 79: ; preds = %3, %3 %80 = tail call i32 @NGE_LOCK(ptr noundef %5) #2 %81 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 3 %82 = load i32, ptr %81, align 4, !tbaa !18 %83 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !13 %84 = and i32 %83, %82 %85 = icmp eq i32 %84, 0 br i1 %85, label %88, label %86 86: ; preds = %79 %87 = tail call i32 @nge_rxfilter(ptr noundef %5) #2 br label %88 88: ; preds = %86, %79 %89 = tail call i32 @NGE_UNLOCK(ptr noundef %5) #2 br label %227 90: ; preds = %3, %3 %91 = getelementptr inbounds %struct.nge_softc, ptr %5, i64 0, i32 2 %92 = load i32, ptr %91, align 4, !tbaa !22 %93 = tail call ptr @device_get_softc(i32 noundef %92) #2 %94 = tail call i32 @ifmedia_ioctl(ptr noundef nonnull %0, ptr noundef %6, ptr noundef %93, i32 noundef %1) #2 br label %227 95: ; preds = %3 %96 = tail call i32 @NGE_LOCK(ptr noundef %5) #2 %97 = getelementptr inbounds %struct.ifreq, ptr %6, i64 0, i32 1 %98 = load i32, ptr %97, align 4, !tbaa !23 %99 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 1 %100 = load i32, ptr %99, align 4, !tbaa !15 %101 = xor i32 %100, %98 %102 = load i32, ptr @IFCAP_TXCSUM, align 4, !tbaa !13 %103 = and i32 %101, %102 %104 = icmp eq i32 %103, 0 br i1 %104, label %124, label %105 105: ; preds = %95 %106 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 4 %107 = load i32, ptr %106, align 8, !tbaa !24 %108 = and i32 %107, %102 %109 = icmp eq i32 %108, 0 br i1 %109, label %124, label %110 110: ; preds = %105 %111 = xor i32 %102, %100 store i32 %111, ptr %99, align 4, !tbaa !15 %112 = and i32 %111, %102 %113 = icmp eq i32 %112, 0 %114 = load i32, ptr @NGE_CSUM_FEATURES, align 4, !tbaa !13 br i1 %113, label %119, label %115 115: ; preds = %110 %116 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 5 %117 = load i32, ptr %116, align 4, !tbaa !16 %118 = or i32 %117, %114 store i32 %118, ptr %116, align 4, !tbaa !16 br label %124 119: ; preds = %110 %120 = xor i32 %114, -1 %121 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 5 %122 = load i32, ptr %121, align 4, !tbaa !16 %123 = and i32 %122, %120 store i32 %123, ptr %121, align 4, !tbaa !16 br label %124 124: ; preds = %115, %119, %105, %95 %125 = phi i32 [ %111, %115 ], [ %111, %119 ], [ %100, %105 ], [ %100, %95 ] %126 = load i32, ptr @IFCAP_RXCSUM, align 4, !tbaa !13 %127 = and i32 %126, %101 %128 = icmp eq i32 %127, 0 br i1 %128, label %136, label %129 129: ; preds = %124 %130 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 4 %131 = load i32, ptr %130, align 8, !tbaa !24 %132 = and i32 %131, %126 %133 = icmp eq i32 %132, 0 br i1 %133, label %136, label %134 134: ; preds = %129 %135 = xor i32 %125, %126 store i32 %135, ptr %99, align 4, !tbaa !15 br label %136 136: ; preds = %134, %129, %124 %137 = phi i32 [ %135, %134 ], [ %125, %129 ], [ %125, %124 ] %138 = load i32, ptr @IFCAP_WOL, align 4, !tbaa !13 %139 = and i32 %138, %101 %140 = icmp eq i32 %139, 0 br i1 %140, label %166, label %141 141: ; preds = %136 %142 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 4 %143 = load i32, ptr %142, align 8, !tbaa !24 %144 = and i32 %143, %138 %145 = icmp eq i32 %144, 0 br i1 %145, label %166, label %146 146: ; preds = %141 %147 = load i32, ptr @IFCAP_WOL_UCAST, align 4, !tbaa !13 %148 = and i32 %147, %101 %149 = icmp eq i32 %148, 0 br i1 %149, label %152, label %150 150: ; preds = %146 %151 = xor i32 %137, %147 store i32 %151, ptr %99, align 4, !tbaa !15 br label %152 152: ; preds = %150, %146 %153 = phi i32 [ %151, %150 ], [ %137, %146 ] %154 = load i32, ptr @IFCAP_WOL_MCAST, align 4, !tbaa !13 %155 = and i32 %154, %101 %156 = icmp eq i32 %155, 0 br i1 %156, label %159, label %157 157: ; preds = %152 %158 = xor i32 %153, %154 store i32 %158, ptr %99, align 4, !tbaa !15 br label %159 159: ; preds = %157, %152 %160 = phi i32 [ %158, %157 ], [ %153, %152 ] %161 = load i32, ptr @IFCAP_WOL_MAGIC, align 4, !tbaa !13 %162 = and i32 %161, %101 %163 = icmp eq i32 %162, 0 br i1 %163, label %166, label %164 164: ; preds = %159 %165 = xor i32 %160, %161 store i32 %165, ptr %99, align 4, !tbaa !15 br label %166 166: ; preds = %159, %164, %141, %136 %167 = phi i32 [ %160, %159 ], [ %165, %164 ], [ %137, %141 ], [ %137, %136 ] %168 = load i32, ptr @IFCAP_VLAN_HWCSUM, align 4, !tbaa !13 %169 = and i32 %168, %101 %170 = icmp eq i32 %169, 0 br i1 %170, label %178, label %171 171: ; preds = %166 %172 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 4 %173 = load i32, ptr %172, align 8, !tbaa !24 %174 = and i32 %173, %168 %175 = icmp eq i32 %174, 0 br i1 %175, label %178, label %176 176: ; preds = %171 %177 = xor i32 %167, %168 store i32 %177, ptr %99, align 4, !tbaa !15 br label %178 178: ; preds = %176, %171, %166 %179 = phi i32 [ %177, %176 ], [ %167, %171 ], [ %167, %166 ] %180 = load i32, ptr @IFCAP_VLAN_HWTAGGING, align 4, !tbaa !13 %181 = and i32 %180, %101 %182 = icmp eq i32 %181, 0 br i1 %182, label %204, label %183 183: ; preds = %178 %184 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 4 %185 = load i32, ptr %184, align 8, !tbaa !24 %186 = and i32 %185, %180 %187 = icmp eq i32 %186, 0 br i1 %187, label %204, label %188 188: ; preds = %183 %189 = xor i32 %179, %180 store i32 %189, ptr %99, align 4, !tbaa !15 %190 = getelementptr inbounds %struct.ifnet, ptr %0, i64 0, i32 3 %191 = load i32, ptr %190, align 4, !tbaa !18 %192 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !13 %193 = and i32 %192, %191 %194 = icmp eq i32 %193, 0 br i1 %194, label %204, label %195 195: ; preds = %188 %196 = and i32 %189, %180 %197 = icmp eq i32 %196, 0 %198 = load i32, ptr @NGE_VLAN_IP_RXCTL, align 4, !tbaa !13 %199 = load i32, ptr @NGE_VIPRXCTL_TAG_STRIP_ENB, align 4, !tbaa !13 br i1 %197, label %202, label %200 200: ; preds = %195 %201 = tail call i32 @NGE_SETBIT(ptr noundef %5, i32 noundef %198, i32 noundef %199) #2 br label %204 202: ; preds = %195 %203 = tail call i32 @NGE_CLRBIT(ptr noundef %5, i32 noundef %198, i32 noundef %199) #2 br label %204 204: ; preds = %188, %202, %200, %183, %178 %205 = load i32, ptr %99, align 4, !tbaa !15 %206 = load i32, ptr @IFCAP_TXCSUM, align 4, !tbaa !13 %207 = and i32 %206, %205 %208 = icmp eq i32 %207, 0 br i1 %208, label %209, label %213 209: ; preds = %204 %210 = load i32, ptr @IFCAP_VLAN_HWCSUM, align 4, !tbaa !13 %211 = xor i32 %210, -1 %212 = and i32 %205, %211 store i32 %212, ptr %99, align 4, !tbaa !15 br label %213 213: ; preds = %209, %204 %214 = phi i32 [ %212, %209 ], [ %205, %204 ] %215 = load i32, ptr @IFCAP_VLAN_HWTAGGING, align 4, !tbaa !13 %216 = and i32 %215, %214 %217 = icmp eq i32 %216, 0 br i1 %217, label %218, label %222 218: ; preds = %213 %219 = load i32, ptr @IFCAP_VLAN_HWCSUM, align 4, !tbaa !13 %220 = xor i32 %219, -1 %221 = and i32 %214, %220 store i32 %221, ptr %99, align 4, !tbaa !15 br label %222 222: ; preds = %218, %213 %223 = tail call i32 @NGE_UNLOCK(ptr noundef %5) #2 %224 = tail call i32 @VLAN_CAPABILITIES(ptr noundef nonnull %0) #2 br label %227 225: ; preds = %3 %226 = tail call i32 @ether_ioctl(ptr noundef nonnull %0, i32 noundef %1, i64 noundef %2) #2 br label %227 227: ; preds = %14, %39, %225, %222, %90, %88, %76 %228 = phi i32 [ %226, %225 ], [ 0, %222 ], [ %94, %90 ], [ 0, %88 ], [ 0, %76 ], [ %15, %14 ], [ 0, %39 ] ret i32 %228 } declare i32 @NGE_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @NGE_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @VLAN_CAPABILITIES(ptr noundef) local_unnamed_addr #1 declare i32 @nge_rxfilter(ptr noundef) local_unnamed_addr #1 declare i32 @nge_init_locked(ptr noundef) local_unnamed_addr #1 declare i32 @nge_stop(ptr noundef) local_unnamed_addr #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @ifmedia_ioctl(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NGE_SETBIT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NGE_CLRBIT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ether_ioctl(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 24} !6 = !{!"ifnet", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"ifreq", !7, i64 0, !7, i64 4} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 20} !17 = !{!6, !7, i64 8} !18 = !{!6, !7, i64 12} !19 = !{!20, !7, i64 0} !20 = !{!"nge_softc", !7, i64 0, !7, i64 4, !7, i64 8} !21 = !{!20, !7, i64 4} !22 = !{!20, !7, i64 8} !23 = !{!12, !7, i64 4} !24 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/freebsd/sys/dev/nge/extr_if_nge.c_nge_ioctl.c' source_filename = "AnghaBench/freebsd/sys/dev/nge/extr_if_nge.c_nge_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETHERMIN = common local_unnamed_addr global i32 0, align 4 @NGE_JUMBO_MTU = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @IFCAP_TXCSUM = common local_unnamed_addr global i32 0, align 4 @NGE_CSUM_FEATURES = common local_unnamed_addr global i32 0, align 4 @IFF_UP = common local_unnamed_addr global i32 0, align 4 @IFF_DRV_RUNNING = common local_unnamed_addr global i32 0, align 4 @IFF_PROMISC = common local_unnamed_addr global i32 0, align 4 @IFF_ALLMULTI = common local_unnamed_addr global i32 0, align 4 @NGE_FLAG_DETACH = common local_unnamed_addr global i32 0, align 4 @IFCAP_RXCSUM = common local_unnamed_addr global i32 0, align 4 @IFCAP_WOL = common local_unnamed_addr global i32 0, align 4 @IFCAP_WOL_UCAST = common local_unnamed_addr global i32 0, align 4 @IFCAP_WOL_MCAST = common local_unnamed_addr global i32 0, align 4 @IFCAP_WOL_MAGIC = common local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWCSUM = common local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWTAGGING = common local_unnamed_addr global i32 0, align 4 @NGE_VLAN_IP_RXCTL = common local_unnamed_addr global i32 0, align 4 @NGE_VIPRXCTL_TAG_STRIP_ENB = common local_unnamed_addr global i32 0, align 4 @IFCAP_POLLING = common local_unnamed_addr global i32 0, align 4 @NGE_IER = common local_unnamed_addr global i32 0, align 4 @nge_poll = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nge_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nge_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = inttoptr i64 %2 to ptr switch i32 %1, label %225 [ i32 128, label %7 i32 130, label %42 i32 134, label %79 i32 133, label %79 i32 132, label %90 i32 129, label %90 i32 131, label %95 ] 7: ; preds = %3 %8 = load i32, ptr %6, align 4, !tbaa !12 %9 = load i32, ptr @ETHERMIN, align 4, !tbaa !14 %10 = icmp slt i32 %8, %9 %11 = load i32, ptr @NGE_JUMBO_MTU, align 4 %12 = icmp sgt i32 %8, %11 %13 = select i1 %10, i1 true, i1 %12 br i1 %13, label %14, label %16 14: ; preds = %7 %15 = load i32, ptr @EINVAL, align 4, !tbaa !14 br label %227 16: ; preds = %7 %17 = tail call i32 @NGE_LOCK(ptr noundef %5) #2 %18 = load i32, ptr %6, align 4, !tbaa !12 store i32 %18, ptr %0, align 8, !tbaa !15 %19 = icmp sgt i32 %18, 8151 %20 = load i32, ptr @IFCAP_TXCSUM, align 4, !tbaa !14 br i1 %19, label %21, label %31 21: ; preds = %16 %22 = xor i32 %20, -1 %23 = getelementptr inbounds i8, ptr %0, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !16 %25 = and i32 %24, %22 store i32 %25, ptr %23, align 4, !tbaa !16 %26 = load i32, ptr @NGE_CSUM_FEATURES, align 4, !tbaa !14 %27 = xor i32 %26, -1 %28 = getelementptr inbounds i8, ptr %0, i64 20 %29 = load i32, ptr %28, align 4, !tbaa !17 %30 = and i32 %29, %27 store i32 %30, ptr %28, align 4, !tbaa !17 br label %39 31: ; preds = %16 %32 = getelementptr inbounds i8, ptr %0, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !16 %34 = or i32 %33, %20 store i32 %34, ptr %32, align 4, !tbaa !16 %35 = load i32, ptr @NGE_CSUM_FEATURES, align 4, !tbaa !14 %36 = getelementptr inbounds i8, ptr %0, i64 20 %37 = load i32, ptr %36, align 4, !tbaa !17 %38 = or i32 %37, %35 store i32 %38, ptr %36, align 4, !tbaa !17 br label %39 39: ; preds = %31, %21 %40 = tail call i32 @NGE_UNLOCK(ptr noundef %5) #2 %41 = tail call i32 @VLAN_CAPABILITIES(ptr noundef nonnull %0) #2 br label %227 42: ; preds = %3 %43 = tail call i32 @NGE_LOCK(ptr noundef %5) #2 %44 = getelementptr inbounds i8, ptr %0, i64 8 %45 = load i32, ptr %44, align 8, !tbaa !18 %46 = load i32, ptr @IFF_UP, align 4, !tbaa !14 %47 = and i32 %46, %45 %48 = icmp eq i32 %47, 0 %49 = getelementptr inbounds i8, ptr %0, i64 12 %50 = load i32, ptr %49, align 4, !tbaa !19 %51 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !14 %52 = and i32 %51, %50 %53 = icmp eq i32 %52, 0 br i1 %48, label %73, label %54 54: ; preds = %42 br i1 %53, label %65, label %55 55: ; preds = %54 %56 = load i32, ptr %5, align 4, !tbaa !20 %57 = xor i32 %56, %45 %58 = load i32, ptr @IFF_PROMISC, align 4, !tbaa !14 %59 = load i32, ptr @IFF_ALLMULTI, align 4, !tbaa !14 %60 = or i32 %59, %58 %61 = and i32 %60, %57 %62 = icmp eq i32 %61, 0 br i1 %62, label %76, label %63 63: ; preds = %55 %64 = tail call i32 @nge_rxfilter(ptr noundef nonnull %5) #2 br label %76 65: ; preds = %54 %66 = getelementptr inbounds i8, ptr %5, i64 4 %67 = load i32, ptr %66, align 4, !tbaa !22 %68 = load i32, ptr @NGE_FLAG_DETACH, align 4, !tbaa !14 %69 = and i32 %68, %67 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %76 71: ; preds = %65 %72 = tail call i32 @nge_init_locked(ptr noundef nonnull %5) #2 br label %76 73: ; preds = %42 br i1 %53, label %76, label %74 74: ; preds = %73 %75 = tail call i32 @nge_stop(ptr noundef %5) #2 br label %76 76: ; preds = %73, %74, %63, %55, %71, %65 %77 = load i32, ptr %44, align 8, !tbaa !18 store i32 %77, ptr %5, align 4, !tbaa !20 %78 = tail call i32 @NGE_UNLOCK(ptr noundef nonnull %5) #2 br label %227 79: ; preds = %3, %3 %80 = tail call i32 @NGE_LOCK(ptr noundef %5) #2 %81 = getelementptr inbounds i8, ptr %0, i64 12 %82 = load i32, ptr %81, align 4, !tbaa !19 %83 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !14 %84 = and i32 %83, %82 %85 = icmp eq i32 %84, 0 br i1 %85, label %88, label %86 86: ; preds = %79 %87 = tail call i32 @nge_rxfilter(ptr noundef %5) #2 br label %88 88: ; preds = %86, %79 %89 = tail call i32 @NGE_UNLOCK(ptr noundef %5) #2 br label %227 90: ; preds = %3, %3 %91 = getelementptr inbounds i8, ptr %5, i64 8 %92 = load i32, ptr %91, align 4, !tbaa !23 %93 = tail call ptr @device_get_softc(i32 noundef %92) #2 %94 = tail call i32 @ifmedia_ioctl(ptr noundef nonnull %0, ptr noundef %6, ptr noundef %93, i32 noundef %1) #2 br label %227 95: ; preds = %3 %96 = tail call i32 @NGE_LOCK(ptr noundef %5) #2 %97 = getelementptr inbounds i8, ptr %6, i64 4 %98 = load i32, ptr %97, align 4, !tbaa !24 %99 = getelementptr inbounds i8, ptr %0, i64 4 %100 = load i32, ptr %99, align 4, !tbaa !16 %101 = xor i32 %100, %98 %102 = load i32, ptr @IFCAP_TXCSUM, align 4, !tbaa !14 %103 = and i32 %101, %102 %104 = icmp eq i32 %103, 0 br i1 %104, label %124, label %105 105: ; preds = %95 %106 = getelementptr inbounds i8, ptr %0, i64 16 %107 = load i32, ptr %106, align 8, !tbaa !25 %108 = and i32 %107, %102 %109 = icmp eq i32 %108, 0 br i1 %109, label %124, label %110 110: ; preds = %105 %111 = xor i32 %102, %100 store i32 %111, ptr %99, align 4, !tbaa !16 %112 = and i32 %111, %102 %113 = icmp eq i32 %112, 0 %114 = load i32, ptr @NGE_CSUM_FEATURES, align 4, !tbaa !14 br i1 %113, label %119, label %115 115: ; preds = %110 %116 = getelementptr inbounds i8, ptr %0, i64 20 %117 = load i32, ptr %116, align 4, !tbaa !17 %118 = or i32 %117, %114 store i32 %118, ptr %116, align 4, !tbaa !17 br label %124 119: ; preds = %110 %120 = xor i32 %114, -1 %121 = getelementptr inbounds i8, ptr %0, i64 20 %122 = load i32, ptr %121, align 4, !tbaa !17 %123 = and i32 %122, %120 store i32 %123, ptr %121, align 4, !tbaa !17 br label %124 124: ; preds = %115, %119, %105, %95 %125 = phi i32 [ %111, %115 ], [ %111, %119 ], [ %100, %105 ], [ %100, %95 ] %126 = load i32, ptr @IFCAP_RXCSUM, align 4, !tbaa !14 %127 = and i32 %126, %101 %128 = icmp eq i32 %127, 0 br i1 %128, label %136, label %129 129: ; preds = %124 %130 = getelementptr inbounds i8, ptr %0, i64 16 %131 = load i32, ptr %130, align 8, !tbaa !25 %132 = and i32 %131, %126 %133 = icmp eq i32 %132, 0 br i1 %133, label %136, label %134 134: ; preds = %129 %135 = xor i32 %125, %126 store i32 %135, ptr %99, align 4, !tbaa !16 br label %136 136: ; preds = %134, %129, %124 %137 = phi i32 [ %135, %134 ], [ %125, %129 ], [ %125, %124 ] %138 = load i32, ptr @IFCAP_WOL, align 4, !tbaa !14 %139 = and i32 %138, %101 %140 = icmp eq i32 %139, 0 br i1 %140, label %166, label %141 141: ; preds = %136 %142 = getelementptr inbounds i8, ptr %0, i64 16 %143 = load i32, ptr %142, align 8, !tbaa !25 %144 = and i32 %143, %138 %145 = icmp eq i32 %144, 0 br i1 %145, label %166, label %146 146: ; preds = %141 %147 = load i32, ptr @IFCAP_WOL_UCAST, align 4, !tbaa !14 %148 = and i32 %147, %101 %149 = icmp eq i32 %148, 0 br i1 %149, label %152, label %150 150: ; preds = %146 %151 = xor i32 %137, %147 store i32 %151, ptr %99, align 4, !tbaa !16 br label %152 152: ; preds = %150, %146 %153 = phi i32 [ %151, %150 ], [ %137, %146 ] %154 = load i32, ptr @IFCAP_WOL_MCAST, align 4, !tbaa !14 %155 = and i32 %154, %101 %156 = icmp eq i32 %155, 0 br i1 %156, label %159, label %157 157: ; preds = %152 %158 = xor i32 %153, %154 store i32 %158, ptr %99, align 4, !tbaa !16 br label %159 159: ; preds = %157, %152 %160 = phi i32 [ %158, %157 ], [ %153, %152 ] %161 = load i32, ptr @IFCAP_WOL_MAGIC, align 4, !tbaa !14 %162 = and i32 %161, %101 %163 = icmp eq i32 %162, 0 br i1 %163, label %166, label %164 164: ; preds = %159 %165 = xor i32 %160, %161 store i32 %165, ptr %99, align 4, !tbaa !16 br label %166 166: ; preds = %159, %164, %141, %136 %167 = phi i32 [ %160, %159 ], [ %165, %164 ], [ %137, %141 ], [ %137, %136 ] %168 = load i32, ptr @IFCAP_VLAN_HWCSUM, align 4, !tbaa !14 %169 = and i32 %168, %101 %170 = icmp eq i32 %169, 0 br i1 %170, label %178, label %171 171: ; preds = %166 %172 = getelementptr inbounds i8, ptr %0, i64 16 %173 = load i32, ptr %172, align 8, !tbaa !25 %174 = and i32 %173, %168 %175 = icmp eq i32 %174, 0 br i1 %175, label %178, label %176 176: ; preds = %171 %177 = xor i32 %167, %168 store i32 %177, ptr %99, align 4, !tbaa !16 br label %178 178: ; preds = %176, %171, %166 %179 = phi i32 [ %177, %176 ], [ %167, %171 ], [ %167, %166 ] %180 = load i32, ptr @IFCAP_VLAN_HWTAGGING, align 4, !tbaa !14 %181 = and i32 %180, %101 %182 = icmp eq i32 %181, 0 br i1 %182, label %204, label %183 183: ; preds = %178 %184 = getelementptr inbounds i8, ptr %0, i64 16 %185 = load i32, ptr %184, align 8, !tbaa !25 %186 = and i32 %185, %180 %187 = icmp eq i32 %186, 0 br i1 %187, label %204, label %188 188: ; preds = %183 %189 = xor i32 %179, %180 store i32 %189, ptr %99, align 4, !tbaa !16 %190 = getelementptr inbounds i8, ptr %0, i64 12 %191 = load i32, ptr %190, align 4, !tbaa !19 %192 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !14 %193 = and i32 %192, %191 %194 = icmp eq i32 %193, 0 br i1 %194, label %204, label %195 195: ; preds = %188 %196 = and i32 %189, %180 %197 = icmp eq i32 %196, 0 %198 = load i32, ptr @NGE_VLAN_IP_RXCTL, align 4, !tbaa !14 %199 = load i32, ptr @NGE_VIPRXCTL_TAG_STRIP_ENB, align 4, !tbaa !14 br i1 %197, label %202, label %200 200: ; preds = %195 %201 = tail call i32 @NGE_SETBIT(ptr noundef %5, i32 noundef %198, i32 noundef %199) #2 br label %204 202: ; preds = %195 %203 = tail call i32 @NGE_CLRBIT(ptr noundef %5, i32 noundef %198, i32 noundef %199) #2 br label %204 204: ; preds = %188, %202, %200, %183, %178 %205 = load i32, ptr %99, align 4, !tbaa !16 %206 = load i32, ptr @IFCAP_TXCSUM, align 4, !tbaa !14 %207 = and i32 %206, %205 %208 = icmp eq i32 %207, 0 br i1 %208, label %209, label %213 209: ; preds = %204 %210 = load i32, ptr @IFCAP_VLAN_HWCSUM, align 4, !tbaa !14 %211 = xor i32 %210, -1 %212 = and i32 %205, %211 store i32 %212, ptr %99, align 4, !tbaa !16 br label %213 213: ; preds = %209, %204 %214 = phi i32 [ %212, %209 ], [ %205, %204 ] %215 = load i32, ptr @IFCAP_VLAN_HWTAGGING, align 4, !tbaa !14 %216 = and i32 %215, %214 %217 = icmp eq i32 %216, 0 br i1 %217, label %218, label %222 218: ; preds = %213 %219 = load i32, ptr @IFCAP_VLAN_HWCSUM, align 4, !tbaa !14 %220 = xor i32 %219, -1 %221 = and i32 %214, %220 store i32 %221, ptr %99, align 4, !tbaa !16 br label %222 222: ; preds = %218, %213 %223 = tail call i32 @NGE_UNLOCK(ptr noundef %5) #2 %224 = tail call i32 @VLAN_CAPABILITIES(ptr noundef nonnull %0) #2 br label %227 225: ; preds = %3 %226 = tail call i32 @ether_ioctl(ptr noundef nonnull %0, i32 noundef %1, i64 noundef %2) #2 br label %227 227: ; preds = %14, %39, %225, %222, %90, %88, %76 %228 = phi i32 [ %226, %225 ], [ 0, %222 ], [ %94, %90 ], [ 0, %88 ], [ 0, %76 ], [ %15, %14 ], [ 0, %39 ] ret i32 %228 } declare i32 @NGE_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @NGE_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @VLAN_CAPABILITIES(ptr noundef) local_unnamed_addr #1 declare i32 @nge_rxfilter(ptr noundef) local_unnamed_addr #1 declare i32 @nge_init_locked(ptr noundef) local_unnamed_addr #1 declare i32 @nge_stop(ptr noundef) local_unnamed_addr #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @ifmedia_ioctl(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NGE_SETBIT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NGE_CLRBIT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ether_ioctl(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 24} !7 = !{!"ifnet", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"ifreq", !8, i64 0, !8, i64 4} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!7, !8, i64 4} !17 = !{!7, !8, i64 20} !18 = !{!7, !8, i64 8} !19 = !{!7, !8, i64 12} !20 = !{!21, !8, i64 0} !21 = !{!"nge_softc", !8, i64 0, !8, i64 4, !8, i64 8} !22 = !{!21, !8, i64 4} !23 = !{!21, !8, i64 8} !24 = !{!13, !8, i64 4} !25 = !{!7, !8, i64 16}
freebsd_sys_dev_nge_extr_if_nge.c_nge_ioctl
; ModuleID = 'AnghaBench/openssl/crypto/ocsp/extr_ocsp_ht.c_OCSP_REQ_CTX_new.c' source_filename = "AnghaBench/openssl/crypto/ocsp/extr_ocsp_ht.c_OCSP_REQ_CTX_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, ptr, ptr, ptr, i32, i32 } @OHS_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @OCSP_MAX_RESP_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @OCSP_MAX_LINE_LEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @OCSP_REQ_CTX_new(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @OPENSSL_zalloc(i32 noundef 40) #2 %4 = icmp eq ptr %3, null br i1 %4, label %25, label %5 5: ; preds = %2 %6 = load i32, ptr @OHS_ERROR, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 5 store i32 %6, ptr %7, align 4, !tbaa !9 %8 = load i32, ptr @OCSP_MAX_RESP_LENGTH, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 4 store i32 %8, ptr %9, align 8, !tbaa !12 %10 = tail call i32 (...) @BIO_s_mem() #2 %11 = tail call ptr @BIO_new(i32 noundef %10) #2 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 1 store ptr %11, ptr %12, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 3 store ptr %0, ptr %13, align 8, !tbaa !14 %14 = icmp sgt i32 %1, 0 %15 = load i32, ptr @OCSP_MAX_LINE_LEN, align 4 %16 = select i1 %14, i32 %1, i32 %15 store i32 %16, ptr %3, align 8, !tbaa !15 %17 = tail call ptr @OPENSSL_malloc(i32 noundef %16) #2 %18 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 2 store ptr %17, ptr %18, align 8, !tbaa !16 %19 = icmp eq ptr %17, null br i1 %19, label %23, label %20 20: ; preds = %5 %21 = load ptr, ptr %12, align 8, !tbaa !13 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %20, %5 %24 = tail call i32 @OCSP_REQ_CTX_free(ptr noundef nonnull %3) #2 br label %25 25: ; preds = %20, %2, %23 %26 = phi ptr [ null, %23 ], [ null, %2 ], [ %3, %20 ] ret ptr %26 } declare ptr @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare ptr @BIO_new(i32 noundef) local_unnamed_addr #1 declare i32 @BIO_s_mem(...) local_unnamed_addr #1 declare ptr @OPENSSL_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @OCSP_REQ_CTX_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 36} !10 = !{!"TYPE_5__", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 36} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 32} !13 = !{!10, !11, i64 8} !14 = !{!10, !11, i64 24} !15 = !{!10, !6, i64 0} !16 = !{!10, !11, i64 16}
; ModuleID = 'AnghaBench/openssl/crypto/ocsp/extr_ocsp_ht.c_OCSP_REQ_CTX_new.c' source_filename = "AnghaBench/openssl/crypto/ocsp/extr_ocsp_ht.c_OCSP_REQ_CTX_new.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OHS_ERROR = common local_unnamed_addr global i32 0, align 4 @OCSP_MAX_RESP_LENGTH = common local_unnamed_addr global i32 0, align 4 @OCSP_MAX_LINE_LEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @OCSP_REQ_CTX_new(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @OPENSSL_zalloc(i32 noundef 40) #2 %4 = icmp eq ptr %3, null br i1 %4, label %25, label %5 5: ; preds = %2 %6 = load i32, ptr @OHS_ERROR, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %3, i64 36 store i32 %6, ptr %7, align 4, !tbaa !10 %8 = load i32, ptr @OCSP_MAX_RESP_LENGTH, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %3, i64 32 store i32 %8, ptr %9, align 8, !tbaa !13 %10 = tail call i32 @BIO_s_mem() #2 %11 = tail call ptr @BIO_new(i32 noundef %10) #2 %12 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %11, ptr %12, align 8, !tbaa !14 %13 = getelementptr inbounds i8, ptr %3, i64 24 store ptr %0, ptr %13, align 8, !tbaa !15 %14 = icmp sgt i32 %1, 0 %15 = load i32, ptr @OCSP_MAX_LINE_LEN, align 4 %16 = select i1 %14, i32 %1, i32 %15 store i32 %16, ptr %3, align 8, !tbaa !16 %17 = tail call ptr @OPENSSL_malloc(i32 noundef %16) #2 %18 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %17, ptr %18, align 8, !tbaa !17 %19 = icmp eq ptr %17, null br i1 %19, label %23, label %20 20: ; preds = %5 %21 = load ptr, ptr %12, align 8, !tbaa !14 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %25 23: ; preds = %20, %5 %24 = tail call i32 @OCSP_REQ_CTX_free(ptr noundef nonnull %3) #2 br label %25 25: ; preds = %20, %2, %23 %26 = phi ptr [ null, %23 ], [ null, %2 ], [ %3, %20 ] ret ptr %26 } declare ptr @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare ptr @BIO_new(i32 noundef) local_unnamed_addr #1 declare i32 @BIO_s_mem(...) local_unnamed_addr #1 declare ptr @OPENSSL_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @OCSP_REQ_CTX_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 36} !11 = !{!"TYPE_5__", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !7, i64 32, !7, i64 36} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 32} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 24} !16 = !{!11, !7, i64 0} !17 = !{!11, !12, i64 16}
openssl_crypto_ocsp_extr_ocsp_ht.c_OCSP_REQ_CTX_new
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_earlymode_len3.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_earlymode_len3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @set_earlymode_len3], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @set_earlymode_len3(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i32, ptr %0, i64 1 %4 = tail call i32 @GENMASK(i32 noundef 31, i32 noundef 17) #2 %5 = tail call i32 @le32p_replace_bits(ptr noundef nonnull %3, i32 noundef %1, i32 noundef %4) #2 ret void } declare i32 @le32p_replace_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GENMASK(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_earlymode_len3.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_earlymode_len3.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @set_earlymode_len3], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @set_earlymode_len3(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call i32 @GENMASK(i32 noundef 31, i32 noundef 17) #2 %5 = tail call i32 @le32p_replace_bits(ptr noundef nonnull %3, i32 noundef %1, i32 noundef %4) #2 ret void } declare i32 @le32p_replace_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GENMASK(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8192ee_extr_trx.h_set_earlymode_len3
; ModuleID = 'AnghaBench/php-src/ext/opcache/Optimizer/extr_zend_ssa.c_pi_not_type_mask.c' source_filename = "AnghaBench/php-src/ext/opcache/Optimizer/extr_zend_ssa.c_pi_not_type_mask.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAY_BE_ANY = dso_local local_unnamed_addr global i32 0, align 4 @MAY_BE_ARRAY_KEY_ANY = dso_local local_unnamed_addr global i32 0, align 4 @MAY_BE_ARRAY_OF_ANY = dso_local local_unnamed_addr global i32 0, align 4 @MAY_BE_ARRAY_OF_REF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pi_not_type_mask], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @pi_not_type_mask(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @MAY_BE_ANY, align 4, !tbaa !5 %4 = load i32, ptr @MAY_BE_ARRAY_KEY_ANY, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = load i32, ptr @MAY_BE_ARRAY_OF_ANY, align 4, !tbaa !5 %7 = or i32 %5, %6 %8 = load i32, ptr @MAY_BE_ARRAY_OF_REF, align 4, !tbaa !5 %9 = or i32 %7, %8 %10 = xor i32 %1, -1 %11 = and i32 %9, %10 %12 = tail call i32 @pi_type_mask(ptr noundef %0, i32 noundef %11) #2 ret void } declare i32 @pi_type_mask(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/php-src/ext/opcache/Optimizer/extr_zend_ssa.c_pi_not_type_mask.c' source_filename = "AnghaBench/php-src/ext/opcache/Optimizer/extr_zend_ssa.c_pi_not_type_mask.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAY_BE_ANY = common local_unnamed_addr global i32 0, align 4 @MAY_BE_ARRAY_KEY_ANY = common local_unnamed_addr global i32 0, align 4 @MAY_BE_ARRAY_OF_ANY = common local_unnamed_addr global i32 0, align 4 @MAY_BE_ARRAY_OF_REF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pi_not_type_mask], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @pi_not_type_mask(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @MAY_BE_ANY, align 4, !tbaa !6 %4 = load i32, ptr @MAY_BE_ARRAY_KEY_ANY, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = load i32, ptr @MAY_BE_ARRAY_OF_ANY, align 4, !tbaa !6 %7 = or i32 %5, %6 %8 = load i32, ptr @MAY_BE_ARRAY_OF_REF, align 4, !tbaa !6 %9 = or i32 %7, %8 %10 = xor i32 %1, -1 %11 = and i32 %9, %10 %12 = tail call i32 @pi_type_mask(ptr noundef %0, i32 noundef %11) #2 ret void } declare i32 @pi_type_mask(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
php-src_ext_opcache_Optimizer_extr_zend_ssa.c_pi_not_type_mask
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_cfg.c_ieee80211_tdls_mgmt.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_cfg.c_ieee80211_tdls_mgmt.c" target datalayout = "e-m:e-p270:32:32-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.ieee80211_sub_if_data = type { %struct.TYPE_8__, %struct.TYPE_6__, ptr } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { i64, ptr } @WIPHY_FLAG_SUPPORTS_TDLS = dso_local local_unnamed_addr global i32 0, align 4 @ENOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @NL80211_IFTYPE_STATION = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"TDLS mgmt action %d peer %pM\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_AC_BK = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_AC_VI = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ieee80211_tdls_mgmt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ieee80211_tdls_mgmt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i64 noundef %7) #0 { %9 = tail call ptr @IEEE80211_DEV_TO_SUB_IF(ptr noundef %1) #2 %10 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %9, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !5 %12 = load i32, ptr %0, align 4, !tbaa !15 %13 = load i32, ptr @WIPHY_FLAG_SUPPORTS_TDLS, align 4, !tbaa !17 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr @ENOTSUPP, align 4, !tbaa !17 %18 = sub nsw i32 0, %17 br label %93 19: ; preds = %8 %20 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %9, i64 0, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !18 %22 = load i64, ptr @NL80211_IFTYPE_STATION, align 8, !tbaa !19 %23 = icmp eq i64 %21, %22 br i1 %23, label %24, label %28 24: ; preds = %19 %25 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !20 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %24, %19 %29 = load i32, ptr @EINVAL, align 4, !tbaa !17 %30 = sub nsw i32 0, %29 br label %93 31: ; preds = %24 %32 = tail call i32 @tdls_dbg(ptr noundef nonnull %9, ptr noundef nonnull @.str, i32 noundef %3, ptr noundef %2) #2 %33 = load i64, ptr %11, align 8, !tbaa !21 %34 = tail call i64 @max(i32 noundef 4, i32 noundef 4) #2 %35 = add i64 %7, 61 %36 = add i64 %35, %33 %37 = add i64 %36, %34 %38 = tail call ptr @dev_alloc_skb(i64 noundef %37) #2 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %43 40: ; preds = %31 %41 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %42 = sub nsw i32 0, %41 br label %93 43: ; preds = %31 %44 = load i64, ptr %11, align 8, !tbaa !21 %45 = tail call i32 @skb_reserve(ptr noundef nonnull %38, i64 noundef %44) #2 switch i32 %3, label %50 [ i32 130, label %46 i32 129, label %46 i32 131, label %46 i32 128, label %46 i32 132, label %46 i32 133, label %48 ] 46: ; preds = %43, %43, %43, %43, %43 %47 = tail call i32 @ieee80211_prep_tdls_encap_data(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %38) #2 br label %53 48: ; preds = %43 %49 = tail call i32 @ieee80211_prep_tdls_direct(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef 133, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %38) #2 br label %53 50: ; preds = %43 %51 = load i32, ptr @ENOTSUPP, align 4, !tbaa !17 %52 = sub nsw i32 0, %51 br label %53 53: ; preds = %50, %48, %46 %54 = phi i1 [ undef, %50 ], [ false, %48 ], [ true, %46 ] %55 = phi i32 [ %52, %50 ], [ %49, %48 ], [ %47, %46 ] %56 = icmp slt i32 %55, 0 br i1 %56, label %90, label %57 57: ; preds = %53 %58 = icmp eq i64 %7, 0 br i1 %58, label %62, label %59 59: ; preds = %57 %60 = tail call i32 @skb_put(ptr noundef nonnull %38, i64 noundef %7) #2 %61 = tail call i32 @memcpy(i32 noundef %60, ptr noundef %6, i64 noundef %7) #2 br label %62 62: ; preds = %59, %57 switch i32 %3, label %69 [ i32 130, label %63 i32 131, label %63 i32 128, label %63 i32 132, label %63 i32 129, label %66 i32 133, label %66 ] 63: ; preds = %62, %62, %62, %62 %64 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %9, i64 0, i32 1, i32 1 %65 = load ptr, ptr %64, align 8, !tbaa !24 br label %72 66: ; preds = %62, %62 %67 = getelementptr inbounds %struct.ieee80211_sub_if_data, ptr %9, i64 0, i32 1, i32 1 %68 = load ptr, ptr %67, align 8, !tbaa !24 br label %72 69: ; preds = %62 %70 = load i32, ptr @ENOTSUPP, align 4, !tbaa !17 %71 = sub nsw i32 0, %70 br label %90 72: ; preds = %66, %63 %73 = phi ptr [ %68, %66 ], [ %2, %63 ] %74 = phi ptr [ %2, %66 ], [ %65, %63 ] %75 = load i32, ptr %9, align 8, !tbaa !25 %76 = tail call i32 @ieee80211_tdls_add_link_ie(ptr noundef nonnull %38, ptr noundef %74, ptr noundef %73, i32 noundef %75) #2 br i1 %54, label %79, label %77 77: ; preds = %72 %78 = tail call i32 @ieee80211_tx_skb(ptr noundef nonnull %9, ptr noundef nonnull %38) #2 br label %93 79: ; preds = %72 %80 = add nsw i32 %3, -129 %81 = icmp ult i32 %80, 2 %82 = select i1 %81, i32 2, i32 5 %83 = load i32, ptr @IEEE80211_AC_BK, align 4 %84 = load i32, ptr @IEEE80211_AC_VI, align 4 %85 = select i1 %81, i32 %83, i32 %84 %86 = tail call i32 @skb_set_queue_mapping(ptr noundef nonnull %38, i32 noundef %85) #2 store i32 %82, ptr %38, align 4, !tbaa !26 %87 = tail call i32 (...) @local_bh_disable() #2 %88 = tail call i32 @ieee80211_subif_start_xmit(ptr noundef nonnull %38, ptr noundef %1) #2 %89 = tail call i32 (...) @local_bh_enable() #2 br label %93 90: ; preds = %53, %69 %91 = phi i32 [ %55, %53 ], [ %71, %69 ] %92 = tail call i32 @dev_kfree_skb(ptr noundef nonnull %38) #2 br label %93 93: ; preds = %90, %79, %77, %40, %28, %16 %94 = phi i32 [ %30, %28 ], [ %91, %90 ], [ 0, %77 ], [ %88, %79 ], [ %42, %40 ], [ %18, %16 ] ret i32 %94 } declare ptr @IEEE80211_DEV_TO_SUB_IF(ptr noundef) local_unnamed_addr #1 declare i32 @tdls_dbg(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dev_alloc_skb(i64 noundef) local_unnamed_addr #1 declare i64 @max(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ieee80211_prep_tdls_encap_data(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ieee80211_prep_tdls_direct(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ieee80211_tdls_add_link_ie(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_tx_skb(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @skb_set_queue_mapping(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @local_bh_disable(...) local_unnamed_addr #1 declare i32 @ieee80211_subif_start_xmit(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @local_bh_enable(...) local_unnamed_addr #1 declare i32 @dev_kfree_skb(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, !14, i64 24} !6 = !{!"ieee80211_sub_if_data", !7, i64 0, !12, i64 8, !14, i64 24} !7 = !{!"TYPE_8__", !8, i64 0} !8 = !{!"TYPE_7__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_6__", !13, i64 0, !14, i64 8} !13 = !{!"long", !10, i64 0} !14 = !{!"any pointer", !10, i64 0} !15 = !{!16, !9, i64 0} !16 = !{!"wiphy", !9, i64 0} !17 = !{!9, !9, i64 0} !18 = !{!6, !13, i64 8} !19 = !{!13, !13, i64 0} !20 = !{!6, !9, i64 4} !21 = !{!22, !13, i64 0} !22 = !{!"ieee80211_local", !23, i64 0} !23 = !{!"TYPE_5__", !13, i64 0} !24 = !{!6, !14, i64 16} !25 = !{!6, !9, i64 0} !26 = !{!27, !9, i64 0} !27 = !{!"sk_buff", !9, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_cfg.c_ieee80211_tdls_mgmt.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_cfg.c_ieee80211_tdls_mgmt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WIPHY_FLAG_SUPPORTS_TDLS = common local_unnamed_addr global i32 0, align 4 @ENOTSUPP = common local_unnamed_addr global i32 0, align 4 @NL80211_IFTYPE_STATION = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"TDLS mgmt action %d peer %pM\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @IEEE80211_AC_BK = common local_unnamed_addr global i32 0, align 4 @IEEE80211_AC_VI = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ieee80211_tdls_mgmt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ieee80211_tdls_mgmt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i64 noundef %7) #0 { %9 = tail call ptr @IEEE80211_DEV_TO_SUB_IF(ptr noundef %1) #2 %10 = getelementptr inbounds i8, ptr %9, i64 24 %11 = load ptr, ptr %10, align 8, !tbaa !6 %12 = load i32, ptr %0, align 4, !tbaa !16 %13 = load i32, ptr @WIPHY_FLAG_SUPPORTS_TDLS, align 4, !tbaa !18 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr @ENOTSUPP, align 4, !tbaa !18 %18 = sub nsw i32 0, %17 br label %93 19: ; preds = %8 %20 = getelementptr inbounds i8, ptr %9, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !19 %22 = load i64, ptr @NL80211_IFTYPE_STATION, align 8, !tbaa !20 %23 = icmp eq i64 %21, %22 br i1 %23, label %24, label %28 24: ; preds = %19 %25 = getelementptr inbounds i8, ptr %9, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !21 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %24, %19 %29 = load i32, ptr @EINVAL, align 4, !tbaa !18 %30 = sub nsw i32 0, %29 br label %93 31: ; preds = %24 %32 = tail call i32 @tdls_dbg(ptr noundef nonnull %9, ptr noundef nonnull @.str, i32 noundef %3, ptr noundef %2) #2 %33 = load i64, ptr %11, align 8, !tbaa !22 %34 = tail call i64 @max(i32 noundef 4, i32 noundef 4) #2 %35 = add i64 %7, 61 %36 = add i64 %35, %33 %37 = add i64 %36, %34 %38 = tail call ptr @dev_alloc_skb(i64 noundef %37) #2 %39 = icmp eq ptr %38, null br i1 %39, label %40, label %43 40: ; preds = %31 %41 = load i32, ptr @ENOMEM, align 4, !tbaa !18 %42 = sub nsw i32 0, %41 br label %93 43: ; preds = %31 %44 = load i64, ptr %11, align 8, !tbaa !22 %45 = tail call i32 @skb_reserve(ptr noundef nonnull %38, i64 noundef %44) #2 switch i32 %3, label %50 [ i32 130, label %46 i32 129, label %46 i32 131, label %46 i32 128, label %46 i32 132, label %46 i32 133, label %48 ] 46: ; preds = %43, %43, %43, %43, %43 %47 = tail call i32 @ieee80211_prep_tdls_encap_data(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %38) #2 br label %53 48: ; preds = %43 %49 = tail call i32 @ieee80211_prep_tdls_direct(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef 133, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %38) #2 br label %53 50: ; preds = %43 %51 = load i32, ptr @ENOTSUPP, align 4, !tbaa !18 %52 = sub nsw i32 0, %51 br label %53 53: ; preds = %50, %48, %46 %54 = phi i1 [ undef, %50 ], [ false, %48 ], [ true, %46 ] %55 = phi i32 [ %52, %50 ], [ %49, %48 ], [ %47, %46 ] %56 = icmp slt i32 %55, 0 br i1 %56, label %90, label %57 57: ; preds = %53 %58 = icmp eq i64 %7, 0 br i1 %58, label %62, label %59 59: ; preds = %57 %60 = tail call i32 @skb_put(ptr noundef nonnull %38, i64 noundef %7) #2 %61 = tail call i32 @memcpy(i32 noundef %60, ptr noundef %6, i64 noundef %7) #2 br label %62 62: ; preds = %59, %57 switch i32 %3, label %73 [ i32 130, label %63 i32 131, label %63 i32 128, label %63 i32 132, label %63 i32 129, label %68 i32 133, label %68 ] 63: ; preds = %62, %62, %62, %62 %64 = getelementptr inbounds i8, ptr %9, i64 16 %65 = load ptr, ptr %64, align 8, !tbaa !25 %66 = load i32, ptr %9, align 8, !tbaa !26 %67 = tail call i32 @ieee80211_tdls_add_link_ie(ptr noundef nonnull %38, ptr noundef %65, ptr noundef %2, i32 noundef %66) #2 br label %76 68: ; preds = %62, %62 %69 = getelementptr inbounds i8, ptr %9, i64 16 %70 = load ptr, ptr %69, align 8, !tbaa !25 %71 = load i32, ptr %9, align 8, !tbaa !26 %72 = tail call i32 @ieee80211_tdls_add_link_ie(ptr noundef nonnull %38, ptr noundef %2, ptr noundef %70, i32 noundef %71) #2 br label %76 73: ; preds = %62 %74 = load i32, ptr @ENOTSUPP, align 4, !tbaa !18 %75 = sub nsw i32 0, %74 br label %90 76: ; preds = %68, %63 br i1 %54, label %79, label %77 77: ; preds = %76 %78 = tail call i32 @ieee80211_tx_skb(ptr noundef nonnull %9, ptr noundef nonnull %38) #2 br label %93 79: ; preds = %76 %80 = add nsw i32 %3, -129 %81 = icmp ult i32 %80, 2 %82 = select i1 %81, i32 2, i32 5 %83 = load i32, ptr @IEEE80211_AC_BK, align 4 %84 = load i32, ptr @IEEE80211_AC_VI, align 4 %85 = select i1 %81, i32 %83, i32 %84 %86 = tail call i32 @skb_set_queue_mapping(ptr noundef nonnull %38, i32 noundef %85) #2 store i32 %82, ptr %38, align 4, !tbaa !27 %87 = tail call i32 @local_bh_disable() #2 %88 = tail call i32 @ieee80211_subif_start_xmit(ptr noundef nonnull %38, ptr noundef %1) #2 %89 = tail call i32 @local_bh_enable() #2 br label %93 90: ; preds = %53, %73 %91 = phi i32 [ %55, %53 ], [ %75, %73 ] %92 = tail call i32 @dev_kfree_skb(ptr noundef nonnull %38) #2 br label %93 93: ; preds = %90, %79, %77, %40, %28, %16 %94 = phi i32 [ %30, %28 ], [ %91, %90 ], [ 0, %77 ], [ %88, %79 ], [ %42, %40 ], [ %18, %16 ] ret i32 %94 } declare ptr @IEEE80211_DEV_TO_SUB_IF(ptr noundef) local_unnamed_addr #1 declare i32 @tdls_dbg(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dev_alloc_skb(i64 noundef) local_unnamed_addr #1 declare i64 @max(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ieee80211_prep_tdls_encap_data(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ieee80211_prep_tdls_direct(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ieee80211_tdls_add_link_ie(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_tx_skb(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @skb_set_queue_mapping(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @local_bh_disable(...) local_unnamed_addr #1 declare i32 @ieee80211_subif_start_xmit(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @local_bh_enable(...) local_unnamed_addr #1 declare i32 @dev_kfree_skb(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, !15, i64 24} !7 = !{!"ieee80211_sub_if_data", !8, i64 0, !13, i64 8, !15, i64 24} !8 = !{!"TYPE_8__", !9, i64 0} !9 = !{!"TYPE_7__", !10, i64 0, !10, i64 4} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"TYPE_6__", !14, i64 0, !15, i64 8} !14 = !{!"long", !11, i64 0} !15 = !{!"any pointer", !11, i64 0} !16 = !{!17, !10, i64 0} !17 = !{!"wiphy", !10, i64 0} !18 = !{!10, !10, i64 0} !19 = !{!7, !14, i64 8} !20 = !{!14, !14, i64 0} !21 = !{!7, !10, i64 4} !22 = !{!23, !14, i64 0} !23 = !{!"ieee80211_local", !24, i64 0} !24 = !{!"TYPE_5__", !14, i64 0} !25 = !{!7, !15, i64 16} !26 = !{!7, !10, i64 0} !27 = !{!28, !10, i64 0} !28 = !{!"sk_buff", !10, i64 0}
fastsocket_kernel_net_mac80211_extr_cfg.c_ieee80211_tdls_mgmt
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_s3c2410.c_s3c2412_nand_calculate_ecc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_s3c2410.c_s3c2412_nand_calculate_ecc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @S3C2412_NFMECC0 = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [45 x i8] c"calculate_ecc: returning ecc %02x,%02x,%02x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @s3c2412_nand_calculate_ecc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @s3c2412_nand_calculate_ecc(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @s3c2410_nand_mtd_toinfo(ptr noundef %0) #2 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = load i64, ptr @S3C2412_NFMECC0, align 8, !tbaa !10 %7 = add nsw i64 %6, %5 %8 = tail call i64 @readl(i64 noundef %7) #2 store i64 %8, ptr %2, align 8, !tbaa !10 %9 = lshr i64 %8, 8 %10 = getelementptr inbounds i64, ptr %2, i64 1 store i64 %9, ptr %10, align 8, !tbaa !10 %11 = lshr i64 %8, 16 %12 = getelementptr inbounds i64, ptr %2, i64 2 store i64 %11, ptr %12, align 8, !tbaa !10 %13 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i64 noundef %8, i64 noundef %9, i64 noundef %11) #2 ret i32 0 } declare ptr @s3c2410_nand_mtd_toinfo(ptr noundef) local_unnamed_addr #1 declare i64 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @pr_debug(ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"s3c2410_nand_info", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_s3c2410.c_s3c2412_nand_calculate_ecc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_s3c2410.c_s3c2412_nand_calculate_ecc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S3C2412_NFMECC0 = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [45 x i8] c"calculate_ecc: returning ecc %02x,%02x,%02x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @s3c2412_nand_calculate_ecc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @s3c2412_nand_calculate_ecc(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @s3c2410_nand_mtd_toinfo(ptr noundef %0) #2 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = load i64, ptr @S3C2412_NFMECC0, align 8, !tbaa !11 %7 = add nsw i64 %6, %5 %8 = tail call i64 @readl(i64 noundef %7) #2 store i64 %8, ptr %2, align 8, !tbaa !11 %9 = lshr i64 %8, 8 %10 = getelementptr inbounds i8, ptr %2, i64 8 store i64 %9, ptr %10, align 8, !tbaa !11 %11 = lshr i64 %8, 16 %12 = getelementptr inbounds i8, ptr %2, i64 16 store i64 %11, ptr %12, align 8, !tbaa !11 %13 = tail call i32 @pr_debug(ptr noundef nonnull @.str, i64 noundef %8, i64 noundef %9, i64 noundef %11) #2 ret i32 0 } declare ptr @s3c2410_nand_mtd_toinfo(ptr noundef) local_unnamed_addr #1 declare i64 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @pr_debug(ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"s3c2410_nand_info", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_mtd_nand_extr_s3c2410.c_s3c2412_nand_calculate_ecc
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qualcomm/extr_qca_debug.c_qcaspi_get_regs.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qualcomm/extr_qca_debug.c_qcaspi_get_regs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @QCASPI_MAX_REGS = dso_local local_unnamed_addr global i32 0, align 4 @qcaspi_spi_regs = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @qcaspi_get_regs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qcaspi_get_regs(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = tail call ptr @netdev_priv(ptr noundef %0) #3 store i32 1, ptr %1, align 4, !tbaa !5 %6 = load i32, ptr @QCASPI_MAX_REGS, align 4, !tbaa !10 %7 = shl i32 %6, 3 %8 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef %7) #3 %9 = load ptr, ptr @qcaspi_spi_regs, align 8, !tbaa !11 %10 = tail call i32 @ARRAY_SIZE(ptr noundef %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %29, label %12 12: ; preds = %3, %12 %13 = phi i64 [ %25, %12 ], [ 0, %3 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %14 = load ptr, ptr @qcaspi_spi_regs, align 8, !tbaa !11 %15 = getelementptr inbounds i32, ptr %14, i64 %13 %16 = load i32, ptr %15, align 4, !tbaa !10 %17 = call i32 @qcaspi_read_register(ptr noundef %5, i32 noundef %16, ptr noundef nonnull %4) #3 %18 = load ptr, ptr @qcaspi_spi_regs, align 8, !tbaa !11 %19 = getelementptr inbounds i32, ptr %18, i64 %13 %20 = load i32, ptr %19, align 4, !tbaa !10 %21 = ashr i32 %20, 8 %22 = sext i32 %21 to i64 %23 = load i64, ptr %4, align 8, !tbaa !13 %24 = getelementptr inbounds i64, ptr %2, i64 %22 store i64 %23, ptr %24, align 8, !tbaa !13 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 %25 = add nuw nsw i64 %13, 1 %26 = call i32 @ARRAY_SIZE(ptr noundef %18) #3 %27 = zext i32 %26 to i64 %28 = icmp ult i64 %25, %27 br i1 %28, label %12, label %29, !llvm.loop !15 29: ; preds = %12, %3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 declare i32 @qcaspi_read_register(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ethtool_regs", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qualcomm/extr_qca_debug.c_qcaspi_get_regs.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qualcomm/extr_qca_debug.c_qcaspi_get_regs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @QCASPI_MAX_REGS = common local_unnamed_addr global i32 0, align 4 @qcaspi_spi_regs = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @qcaspi_get_regs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qcaspi_get_regs(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 { %4 = alloca i64, align 8 %5 = tail call ptr @netdev_priv(ptr noundef %0) #3 store i32 1, ptr %1, align 4, !tbaa !6 %6 = load i32, ptr @QCASPI_MAX_REGS, align 4, !tbaa !11 %7 = shl i32 %6, 3 %8 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef %7) #3 %9 = load ptr, ptr @qcaspi_spi_regs, align 8, !tbaa !12 %10 = tail call i32 @ARRAY_SIZE(ptr noundef %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %29, label %12 12: ; preds = %3, %12 %13 = phi i64 [ %25, %12 ], [ 0, %3 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %14 = load ptr, ptr @qcaspi_spi_regs, align 8, !tbaa !12 %15 = getelementptr inbounds i32, ptr %14, i64 %13 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = call i32 @qcaspi_read_register(ptr noundef %5, i32 noundef %16, ptr noundef nonnull %4) #3 %18 = load ptr, ptr @qcaspi_spi_regs, align 8, !tbaa !12 %19 = getelementptr inbounds i32, ptr %18, i64 %13 %20 = load i32, ptr %19, align 4, !tbaa !11 %21 = ashr i32 %20, 8 %22 = sext i32 %21 to i64 %23 = load i64, ptr %4, align 8, !tbaa !14 %24 = getelementptr inbounds i64, ptr %2, i64 %22 store i64 %23, ptr %24, align 8, !tbaa !14 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 %25 = add nuw nsw i64 %13, 1 %26 = call i32 @ARRAY_SIZE(ptr noundef %18) #3 %27 = zext i32 %26 to i64 %28 = icmp ult i64 %25, %27 br i1 %28, label %12, label %29, !llvm.loop !16 29: ; preds = %12, %3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 declare i32 @qcaspi_read_register(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ethtool_regs", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_qualcomm_extr_qca_debug.c_qcaspi_get_regs
; ModuleID = 'AnghaBench/libuv/samples/socks5-proxy/extr_s5.c_s5_parse.c' source_filename = "AnghaBench/libuv/samples/socks5-proxy/extr_s5.c_s5_parse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32, i32, ptr, i32, ptr, ptr, i32, i32, i32, i32 } @s5_bad_version = dso_local local_unnamed_addr global i32 0, align 4 @S5_AUTH_NONE = dso_local local_unnamed_addr global i32 0, align 4 @S5_AUTH_GSSAPI = dso_local local_unnamed_addr global i32 0, align 4 @S5_AUTH_PASSWD = dso_local local_unnamed_addr global i32 0, align 4 @s5_auth_select = dso_local local_unnamed_addr global i32 0, align 4 @s5_auth_verify = dso_local local_unnamed_addr global i32 0, align 4 @s5_cmd_tcp_connect = dso_local local_unnamed_addr global i32 0, align 4 @s5_cmd_udp_assoc = dso_local local_unnamed_addr global i32 0, align 4 @s5_bad_cmd = dso_local local_unnamed_addr global i32 0, align 4 @s5_atyp_ipv4 = dso_local local_unnamed_addr global i32 0, align 4 @s5_atyp_host = dso_local local_unnamed_addr global i32 0, align 4 @s5_atyp_ipv6 = dso_local local_unnamed_addr global i32 0, align 4 @s5_bad_atyp = dso_local local_unnamed_addr global i32 0, align 4 @s5_exec_cmd = dso_local local_unnamed_addr global i32 0, align 4 @s5_ok = dso_local local_unnamed_addr global i32 0, align 4 @switch.table.s5_parse = private unnamed_addr constant [3 x ptr] [ptr @S5_AUTH_NONE, ptr @S5_AUTH_GSSAPI, ptr @S5_AUTH_PASSWD], align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @s5_parse(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load i64, ptr %2, align 8, !tbaa !9 %6 = icmp eq i64 %5, 0 br i1 %6, label %138, label %7 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 8 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 7 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 9 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 10 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 11 br label %19 19: ; preds = %7, %133 %20 = phi i64 [ 0, %7 ], [ %23, %133 ] %21 = getelementptr inbounds i32, ptr %4, i64 %20 %22 = load i32, ptr %21, align 4, !tbaa !11 %23 = add nuw i64 %20, 1 %24 = load i32, ptr %0, align 8, !tbaa !13 switch i32 %24, label %131 [ i32 128, label %25 i32 137, label %28 i32 138, label %29 i32 140, label %47 i32 142, label %50 i32 141, label %51 i32 144, label %70 i32 143, label %71 i32 129, label %90 i32 134, label %93 i32 130, label %98 i32 136, label %99 i32 135, label %106 i32 133, label %107 i32 132, label %126 i32 131, label %128 i32 139, label %133 ] 25: ; preds = %19 %26 = icmp eq i32 %22, 5 br i1 %26, label %27, label %138 27: ; preds = %25 store i32 137, ptr %0, align 8, !tbaa !13 br label %133 28: ; preds = %19 store i32 0, ptr %9, align 4, !tbaa !15 store i32 %22, ptr %10, align 8, !tbaa !16 store i32 138, ptr %0, align 8, !tbaa !13 br label %133 29: ; preds = %19 %30 = load i32, ptr %9, align 4, !tbaa !15 %31 = load i32, ptr %10, align 8, !tbaa !16 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %44 33: ; preds = %29 %34 = icmp ult i32 %22, 3 br i1 %34, label %35, label %42 35: ; preds = %33 %36 = zext nneg i32 %22 to i64 %37 = getelementptr inbounds [3 x ptr], ptr @switch.table.s5_parse, i64 0, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %38, align 4, !tbaa !11 %40 = load i32, ptr %18, align 4, !tbaa !17 %41 = or i32 %40, %39 store i32 %41, ptr %18, align 4, !tbaa !17 br label %42 42: ; preds = %33, %35 %43 = add nsw i32 %30, 1 store i32 %43, ptr %9, align 4, !tbaa !15 br label %44 44: ; preds = %42, %29 %45 = phi i32 [ %43, %42 ], [ %30, %29 ] %46 = icmp eq i32 %45, %31 br i1 %46, label %138, label %133 47: ; preds = %19 %48 = icmp eq i32 %22, 1 br i1 %48, label %49, label %138 49: ; preds = %47 store i32 142, ptr %0, align 8, !tbaa !13 br label %133 50: ; preds = %19 store i32 0, ptr %9, align 4, !tbaa !15 store i32 %22, ptr %16, align 4, !tbaa !18 store i32 141, ptr %0, align 8, !tbaa !13 br label %133 51: ; preds = %19 %52 = load i32, ptr %9, align 4, !tbaa !15 %53 = load i32, ptr %16, align 4, !tbaa !18 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %62 55: ; preds = %51 %56 = load ptr, ptr %17, align 8, !tbaa !19 %57 = sext i32 %52 to i64 %58 = getelementptr inbounds i32, ptr %56, i64 %57 store i32 %22, ptr %58, align 4, !tbaa !11 %59 = load i32, ptr %9, align 4, !tbaa !15 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4, !tbaa !15 %61 = load i32, ptr %16, align 4, !tbaa !18 br label %62 62: ; preds = %55, %51 %63 = phi i32 [ %61, %55 ], [ %53, %51 ] %64 = phi i32 [ %60, %55 ], [ %52, %51 ] %65 = icmp eq i32 %64, %63 br i1 %65, label %66, label %133 66: ; preds = %62 %67 = load ptr, ptr %17, align 8, !tbaa !19 %68 = sext i32 %63 to i64 %69 = getelementptr inbounds i32, ptr %67, i64 %68 store i32 0, ptr %69, align 4, !tbaa !11 store i32 144, ptr %0, align 8, !tbaa !13 br label %133 70: ; preds = %19 store i32 0, ptr %9, align 4, !tbaa !15 store i32 %22, ptr %14, align 8, !tbaa !20 store i32 143, ptr %0, align 8, !tbaa !13 br label %133 71: ; preds = %19 %72 = load i32, ptr %9, align 4, !tbaa !15 %73 = load i32, ptr %14, align 8, !tbaa !20 %74 = icmp slt i32 %72, %73 br i1 %74, label %75, label %82 75: ; preds = %71 %76 = load ptr, ptr %15, align 8, !tbaa !21 %77 = sext i32 %72 to i64 %78 = getelementptr inbounds i32, ptr %76, i64 %77 store i32 %22, ptr %78, align 4, !tbaa !11 %79 = load i32, ptr %9, align 4, !tbaa !15 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4, !tbaa !15 %81 = load i32, ptr %14, align 8, !tbaa !20 br label %82 82: ; preds = %75, %71 %83 = phi i32 [ %81, %75 ], [ %73, %71 ] %84 = phi i32 [ %80, %75 ], [ %72, %71 ] %85 = icmp eq i32 %84, %83 br i1 %85, label %86, label %133 86: ; preds = %82 %87 = load ptr, ptr %15, align 8, !tbaa !21 %88 = sext i32 %83 to i64 %89 = getelementptr inbounds i32, ptr %87, i64 %88 store i32 0, ptr %89, align 4, !tbaa !11 br label %135 90: ; preds = %19 %91 = icmp eq i32 %22, 5 br i1 %91, label %92, label %138 92: ; preds = %90 store i32 134, ptr %0, align 8, !tbaa !13 br label %133 93: ; preds = %19 switch i32 %22, label %138 [ i32 1, label %95 i32 3, label %94 ] 94: ; preds = %93 br label %95 95: ; preds = %93, %94 %96 = phi ptr [ @s5_cmd_udp_assoc, %94 ], [ @s5_cmd_tcp_connect, %93 ] %97 = load i32, ptr %96, align 4, !tbaa !11 store i32 %97, ptr %13, align 8, !tbaa !22 store i32 130, ptr %0, align 8, !tbaa !13 br label %133 98: ; preds = %19 store i32 136, ptr %0, align 8, !tbaa !13 br label %133 99: ; preds = %19 store i32 0, ptr %9, align 4, !tbaa !15 switch i32 %22, label %138 [ i32 1, label %100 i32 3, label %102 i32 4, label %104 ] 100: ; preds = %99 store i32 133, ptr %0, align 8, !tbaa !13 %101 = load i32, ptr @s5_atyp_ipv4, align 4, !tbaa !11 store i32 %101, ptr %12, align 4, !tbaa !23 store i32 4, ptr %10, align 8, !tbaa !16 br label %133 102: ; preds = %99 store i32 135, ptr %0, align 8, !tbaa !13 %103 = load i32, ptr @s5_atyp_host, align 4, !tbaa !11 store i32 %103, ptr %12, align 4, !tbaa !23 store i32 0, ptr %10, align 8, !tbaa !16 br label %133 104: ; preds = %99 store i32 133, ptr %0, align 8, !tbaa !13 %105 = load i32, ptr @s5_atyp_ipv6, align 4, !tbaa !11 store i32 %105, ptr %12, align 4, !tbaa !23 store i32 16, ptr %10, align 8, !tbaa !16 br label %133 106: ; preds = %19 store i32 %22, ptr %10, align 8, !tbaa !16 store i32 133, ptr %0, align 8, !tbaa !13 br label %133 107: ; preds = %19 %108 = load i32, ptr %9, align 4, !tbaa !15 %109 = load i32, ptr %10, align 8, !tbaa !16 %110 = icmp slt i32 %108, %109 br i1 %110, label %111, label %118 111: ; preds = %107 %112 = load ptr, ptr %11, align 8, !tbaa !24 %113 = sext i32 %108 to i64 %114 = getelementptr inbounds i32, ptr %112, i64 %113 store i32 %22, ptr %114, align 4, !tbaa !11 %115 = load i32, ptr %9, align 4, !tbaa !15 %116 = add nsw i32 %115, 1 store i32 %116, ptr %9, align 4, !tbaa !15 %117 = load i32, ptr %10, align 8, !tbaa !16 br label %118 118: ; preds = %111, %107 %119 = phi i32 [ %117, %111 ], [ %109, %107 ] %120 = phi i32 [ %116, %111 ], [ %108, %107 ] %121 = icmp eq i32 %120, %119 br i1 %121, label %122, label %133 122: ; preds = %118 %123 = load ptr, ptr %11, align 8, !tbaa !24 %124 = sext i32 %119 to i64 %125 = getelementptr inbounds i32, ptr %123, i64 %124 store i32 0, ptr %125, align 4, !tbaa !11 store i32 132, ptr %0, align 8, !tbaa !13 br label %133 126: ; preds = %19 %127 = shl i32 %22, 8 store i32 %127, ptr %8, align 8, !tbaa !25 store i32 131, ptr %0, align 8, !tbaa !13 br label %133 128: ; preds = %19 %129 = load i32, ptr %8, align 8, !tbaa !25 %130 = or i32 %129, %22 store i32 %130, ptr %8, align 8, !tbaa !25 br label %135 131: ; preds = %19 %132 = tail call i32 (...) @abort() #2 unreachable 133: ; preds = %118, %122, %100, %102, %104, %82, %62, %66, %44, %19, %126, %106, %98, %95, %92, %70, %50, %49, %28, %27 %134 = icmp eq i64 %23, %5 br i1 %134, label %138, label %19, !llvm.loop !26 135: ; preds = %86, %128 %136 = phi i32 [ 139, %128 ], [ 129, %86 ] %137 = phi ptr [ @s5_exec_cmd, %128 ], [ @s5_auth_verify, %86 ] store i32 %136, ptr %0, align 8, !tbaa !13 br label %138 138: ; preds = %25, %44, %47, %90, %93, %99, %133, %135, %3 %139 = phi i64 [ 0, %3 ], [ %23, %135 ], [ %23, %25 ], [ %23, %44 ], [ %23, %47 ], [ %23, %90 ], [ %23, %93 ], [ %23, %99 ], [ %5, %133 ] %140 = phi ptr [ @s5_ok, %3 ], [ %137, %135 ], [ @s5_bad_version, %25 ], [ @s5_auth_select, %44 ], [ @s5_bad_version, %47 ], [ @s5_bad_version, %90 ], [ @s5_bad_cmd, %93 ], [ @s5_bad_atyp, %99 ], [ @s5_ok, %133 ] %141 = load i32, ptr %140, align 4, !tbaa !11 %142 = getelementptr inbounds i32, ptr %4, i64 %139 store ptr %142, ptr %1, align 8, !tbaa !5 %143 = sub i64 %5, %139 store i64 %143, ptr %2, align 8, !tbaa !9 ret i32 %141 } ; Function Attrs: noreturn declare i32 @abort(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !6, i64 16, !12, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60} !15 = !{!14, !12, i64 4} !16 = !{!14, !12, i64 8} !17 = !{!14, !12, i64 60} !18 = !{!14, !12, i64 12} !19 = !{!14, !6, i64 16} !20 = !{!14, !12, i64 24} !21 = !{!14, !6, i64 32} !22 = !{!14, !12, i64 56} !23 = !{!14, !12, i64 52} !24 = !{!14, !6, i64 40} !25 = !{!14, !12, i64 48} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/libuv/samples/socks5-proxy/extr_s5.c_s5_parse.c' source_filename = "AnghaBench/libuv/samples/socks5-proxy/extr_s5.c_s5_parse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @s5_bad_version = common local_unnamed_addr global i32 0, align 4 @S5_AUTH_NONE = common local_unnamed_addr global i32 0, align 4 @S5_AUTH_GSSAPI = common local_unnamed_addr global i32 0, align 4 @S5_AUTH_PASSWD = common local_unnamed_addr global i32 0, align 4 @s5_auth_select = common local_unnamed_addr global i32 0, align 4 @s5_auth_verify = common local_unnamed_addr global i32 0, align 4 @s5_cmd_tcp_connect = common local_unnamed_addr global i32 0, align 4 @s5_cmd_udp_assoc = common local_unnamed_addr global i32 0, align 4 @s5_bad_cmd = common local_unnamed_addr global i32 0, align 4 @s5_atyp_ipv4 = common local_unnamed_addr global i32 0, align 4 @s5_atyp_host = common local_unnamed_addr global i32 0, align 4 @s5_atyp_ipv6 = common local_unnamed_addr global i32 0, align 4 @s5_bad_atyp = common local_unnamed_addr global i32 0, align 4 @s5_exec_cmd = common local_unnamed_addr global i32 0, align 4 @s5_ok = common local_unnamed_addr global i32 0, align 4 @switch.table.s5_parse = private unnamed_addr constant [3 x ptr] [ptr @S5_AUTH_NONE, ptr @S5_AUTH_GSSAPI, ptr @S5_AUTH_PASSWD], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @s5_parse(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load i64, ptr %2, align 8, !tbaa !10 %6 = icmp eq i64 %5, 0 br i1 %6, label %138, label %7 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 48 %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = getelementptr inbounds i8, ptr %0, i64 40 %12 = getelementptr inbounds i8, ptr %0, i64 52 %13 = getelementptr inbounds i8, ptr %0, i64 56 %14 = getelementptr inbounds i8, ptr %0, i64 24 %15 = getelementptr inbounds i8, ptr %0, i64 32 %16 = getelementptr inbounds i8, ptr %0, i64 12 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = getelementptr inbounds i8, ptr %0, i64 60 br label %19 19: ; preds = %7, %133 %20 = phi i64 [ 0, %7 ], [ %23, %133 ] %21 = getelementptr inbounds i32, ptr %4, i64 %20 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = add nuw i64 %20, 1 %24 = load i32, ptr %0, align 8, !tbaa !14 switch i32 %24, label %131 [ i32 128, label %25 i32 137, label %28 i32 138, label %29 i32 140, label %47 i32 142, label %50 i32 141, label %51 i32 144, label %70 i32 143, label %71 i32 129, label %90 i32 134, label %93 i32 130, label %98 i32 136, label %99 i32 135, label %106 i32 133, label %107 i32 132, label %126 i32 131, label %128 i32 139, label %133 ] 25: ; preds = %19 %26 = icmp eq i32 %22, 5 br i1 %26, label %27, label %138 27: ; preds = %25 store i32 137, ptr %0, align 8, !tbaa !14 br label %133 28: ; preds = %19 store i32 %22, ptr %10, align 8, !tbaa !16 store <2 x i32> <i32 138, i32 0>, ptr %0, align 8, !tbaa !12 br label %133 29: ; preds = %19 %30 = load i32, ptr %9, align 4, !tbaa !17 %31 = load i32, ptr %10, align 8, !tbaa !16 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %44 33: ; preds = %29 %34 = icmp ult i32 %22, 3 br i1 %34, label %35, label %42 35: ; preds = %33 %36 = zext nneg i32 %22 to i64 %37 = getelementptr inbounds [3 x ptr], ptr @switch.table.s5_parse, i64 0, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %38, align 4, !tbaa !12 %40 = load i32, ptr %18, align 4, !tbaa !18 %41 = or i32 %40, %39 store i32 %41, ptr %18, align 4, !tbaa !18 br label %42 42: ; preds = %33, %35 %43 = add nsw i32 %30, 1 store i32 %43, ptr %9, align 4, !tbaa !17 br label %44 44: ; preds = %42, %29 %45 = phi i32 [ %43, %42 ], [ %30, %29 ] %46 = icmp eq i32 %45, %31 br i1 %46, label %138, label %133 47: ; preds = %19 %48 = icmp eq i32 %22, 1 br i1 %48, label %49, label %138 49: ; preds = %47 store i32 142, ptr %0, align 8, !tbaa !14 br label %133 50: ; preds = %19 store i32 %22, ptr %16, align 4, !tbaa !19 store <2 x i32> <i32 141, i32 0>, ptr %0, align 8, !tbaa !12 br label %133 51: ; preds = %19 %52 = load i32, ptr %9, align 4, !tbaa !17 %53 = load i32, ptr %16, align 4, !tbaa !19 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %62 55: ; preds = %51 %56 = load ptr, ptr %17, align 8, !tbaa !20 %57 = sext i32 %52 to i64 %58 = getelementptr inbounds i32, ptr %56, i64 %57 store i32 %22, ptr %58, align 4, !tbaa !12 %59 = load i32, ptr %9, align 4, !tbaa !17 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4, !tbaa !17 %61 = load i32, ptr %16, align 4, !tbaa !19 br label %62 62: ; preds = %55, %51 %63 = phi i32 [ %61, %55 ], [ %53, %51 ] %64 = phi i32 [ %60, %55 ], [ %52, %51 ] %65 = icmp eq i32 %64, %63 br i1 %65, label %66, label %133 66: ; preds = %62 %67 = load ptr, ptr %17, align 8, !tbaa !20 %68 = sext i32 %63 to i64 %69 = getelementptr inbounds i32, ptr %67, i64 %68 store i32 0, ptr %69, align 4, !tbaa !12 store i32 144, ptr %0, align 8, !tbaa !14 br label %133 70: ; preds = %19 store i32 %22, ptr %14, align 8, !tbaa !21 store <2 x i32> <i32 143, i32 0>, ptr %0, align 8, !tbaa !12 br label %133 71: ; preds = %19 %72 = load i32, ptr %9, align 4, !tbaa !17 %73 = load i32, ptr %14, align 8, !tbaa !21 %74 = icmp slt i32 %72, %73 br i1 %74, label %75, label %82 75: ; preds = %71 %76 = load ptr, ptr %15, align 8, !tbaa !22 %77 = sext i32 %72 to i64 %78 = getelementptr inbounds i32, ptr %76, i64 %77 store i32 %22, ptr %78, align 4, !tbaa !12 %79 = load i32, ptr %9, align 4, !tbaa !17 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4, !tbaa !17 %81 = load i32, ptr %14, align 8, !tbaa !21 br label %82 82: ; preds = %75, %71 %83 = phi i32 [ %81, %75 ], [ %73, %71 ] %84 = phi i32 [ %80, %75 ], [ %72, %71 ] %85 = icmp eq i32 %84, %83 br i1 %85, label %86, label %133 86: ; preds = %82 %87 = load ptr, ptr %15, align 8, !tbaa !22 %88 = sext i32 %83 to i64 %89 = getelementptr inbounds i32, ptr %87, i64 %88 store i32 0, ptr %89, align 4, !tbaa !12 br label %135 90: ; preds = %19 %91 = icmp eq i32 %22, 5 br i1 %91, label %92, label %138 92: ; preds = %90 store i32 134, ptr %0, align 8, !tbaa !14 br label %133 93: ; preds = %19 switch i32 %22, label %138 [ i32 1, label %95 i32 3, label %94 ] 94: ; preds = %93 br label %95 95: ; preds = %93, %94 %96 = phi ptr [ @s5_cmd_udp_assoc, %94 ], [ @s5_cmd_tcp_connect, %93 ] %97 = load i32, ptr %96, align 4, !tbaa !12 store i32 %97, ptr %13, align 8, !tbaa !23 store i32 130, ptr %0, align 8, !tbaa !14 br label %133 98: ; preds = %19 store i32 136, ptr %0, align 8, !tbaa !14 br label %133 99: ; preds = %19 store i32 0, ptr %9, align 4, !tbaa !17 switch i32 %22, label %138 [ i32 1, label %100 i32 3, label %102 i32 4, label %104 ] 100: ; preds = %99 store i32 133, ptr %0, align 8, !tbaa !14 %101 = load i32, ptr @s5_atyp_ipv4, align 4, !tbaa !12 store i32 %101, ptr %12, align 4, !tbaa !24 store i32 4, ptr %10, align 8, !tbaa !16 br label %133 102: ; preds = %99 store i32 135, ptr %0, align 8, !tbaa !14 %103 = load i32, ptr @s5_atyp_host, align 4, !tbaa !12 store i32 %103, ptr %12, align 4, !tbaa !24 store i32 0, ptr %10, align 8, !tbaa !16 br label %133 104: ; preds = %99 store i32 133, ptr %0, align 8, !tbaa !14 %105 = load i32, ptr @s5_atyp_ipv6, align 4, !tbaa !12 store i32 %105, ptr %12, align 4, !tbaa !24 store i32 16, ptr %10, align 8, !tbaa !16 br label %133 106: ; preds = %19 store i32 %22, ptr %10, align 8, !tbaa !16 store i32 133, ptr %0, align 8, !tbaa !14 br label %133 107: ; preds = %19 %108 = load i32, ptr %9, align 4, !tbaa !17 %109 = load i32, ptr %10, align 8, !tbaa !16 %110 = icmp slt i32 %108, %109 br i1 %110, label %111, label %118 111: ; preds = %107 %112 = load ptr, ptr %11, align 8, !tbaa !25 %113 = sext i32 %108 to i64 %114 = getelementptr inbounds i32, ptr %112, i64 %113 store i32 %22, ptr %114, align 4, !tbaa !12 %115 = load i32, ptr %9, align 4, !tbaa !17 %116 = add nsw i32 %115, 1 store i32 %116, ptr %9, align 4, !tbaa !17 %117 = load i32, ptr %10, align 8, !tbaa !16 br label %118 118: ; preds = %111, %107 %119 = phi i32 [ %117, %111 ], [ %109, %107 ] %120 = phi i32 [ %116, %111 ], [ %108, %107 ] %121 = icmp eq i32 %120, %119 br i1 %121, label %122, label %133 122: ; preds = %118 %123 = load ptr, ptr %11, align 8, !tbaa !25 %124 = sext i32 %119 to i64 %125 = getelementptr inbounds i32, ptr %123, i64 %124 store i32 0, ptr %125, align 4, !tbaa !12 store i32 132, ptr %0, align 8, !tbaa !14 br label %133 126: ; preds = %19 %127 = shl i32 %22, 8 store i32 %127, ptr %8, align 8, !tbaa !26 store i32 131, ptr %0, align 8, !tbaa !14 br label %133 128: ; preds = %19 %129 = load i32, ptr %8, align 8, !tbaa !26 %130 = or i32 %129, %22 store i32 %130, ptr %8, align 8, !tbaa !26 br label %135 131: ; preds = %19 %132 = tail call i32 @abort() #2 unreachable 133: ; preds = %118, %122, %100, %102, %104, %82, %62, %66, %44, %19, %126, %106, %98, %95, %92, %70, %50, %49, %28, %27 %134 = icmp eq i64 %23, %5 br i1 %134, label %138, label %19, !llvm.loop !27 135: ; preds = %86, %128 %136 = phi i32 [ 139, %128 ], [ 129, %86 ] %137 = phi ptr [ @s5_exec_cmd, %128 ], [ @s5_auth_verify, %86 ] store i32 %136, ptr %0, align 8, !tbaa !14 br label %138 138: ; preds = %25, %44, %47, %90, %93, %99, %133, %135, %3 %139 = phi i64 [ 0, %3 ], [ %23, %135 ], [ %23, %25 ], [ %23, %44 ], [ %23, %47 ], [ %23, %90 ], [ %23, %93 ], [ %23, %99 ], [ %5, %133 ] %140 = phi ptr [ @s5_ok, %3 ], [ %137, %135 ], [ @s5_bad_version, %25 ], [ @s5_auth_select, %44 ], [ @s5_bad_version, %47 ], [ @s5_bad_version, %90 ], [ @s5_bad_cmd, %93 ], [ @s5_bad_atyp, %99 ], [ @s5_ok, %133 ] %141 = load i32, ptr %140, align 4, !tbaa !12 %142 = getelementptr inbounds i32, ptr %4, i64 %139 store ptr %142, ptr %1, align 8, !tbaa !6 %143 = sub i64 %5, %139 store i64 %143, ptr %2, align 8, !tbaa !10 ret i32 %141 } ; Function Attrs: noreturn declare i32 @abort(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_3__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !7, i64 16, !13, i64 24, !7, i64 32, !7, i64 40, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60} !16 = !{!15, !13, i64 8} !17 = !{!15, !13, i64 4} !18 = !{!15, !13, i64 60} !19 = !{!15, !13, i64 12} !20 = !{!15, !7, i64 16} !21 = !{!15, !13, i64 24} !22 = !{!15, !7, i64 32} !23 = !{!15, !13, i64 56} !24 = !{!15, !13, i64 52} !25 = !{!15, !7, i64 40} !26 = !{!15, !13, i64 48} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
libuv_samples_socks5-proxy_extr_s5.c_s5_parse
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme_ext.c_issue_probereq.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme_ext.c_issue_probereq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme_ext.c_issue_probereq.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/core/extr_rtw_mlme_ext.c_issue_probereq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_staging_rtl8723bs_core_extr_rtw_mlme_ext.c_issue_probereq
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_cb.c_bfa_ioc_cb_get_cur_ioc_fwstate.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_cb.c_bfa_ioc_cb_get_cur_ioc_fwstate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BFA_IOC_CB_FWSTATE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_ioc_cb_get_cur_ioc_fwstate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bfa_ioc_cb_get_cur_ioc_fwstate(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @readl(i32 noundef %2) #2 %4 = load i32, ptr @BFA_IOC_CB_FWSTATE_MASK, align 4, !tbaa !11 %5 = and i32 %4, %3 ret i32 %5 } declare i32 @readl(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 = !{!"bfa_ioc_s", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_cb.c_bfa_ioc_cb_get_cur_ioc_fwstate.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc_cb.c_bfa_ioc_cb_get_cur_ioc_fwstate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFA_IOC_CB_FWSTATE_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bfa_ioc_cb_get_cur_ioc_fwstate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bfa_ioc_cb_get_cur_ioc_fwstate(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @readl(i32 noundef %2) #2 %4 = load i32, ptr @BFA_IOC_CB_FWSTATE_MASK, align 4, !tbaa !12 %5 = and i32 %4, %3 ret i32 %5 } declare i32 @readl(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 = !{!"bfa_ioc_s", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
linux_drivers_scsi_bfa_extr_bfa_ioc_cb.c_bfa_ioc_cb_get_cur_ioc_fwstate
; ModuleID = 'AnghaBench/linux/net/atm/extr_lec.c_lec_atm_close.c' source_filename = "AnghaBench/linux/net/atm/extr_lec.c_lec_atm_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" @.str = private unnamed_addr constant [34 x i8] c"%s closing with messages pending\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"%s: Shut down!\0A\00", align 1 @THIS_MODULE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lec_atm_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @lec_atm_close(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = inttoptr i64 %2 to ptr %4 = tail call ptr @netdev_priv(ptr noundef %3) #2 store ptr null, ptr %4, align 8, !tbaa !10 %5 = tail call i32 @netif_stop_queue(ptr noundef %3) #2 %6 = tail call i32 @lec_arp_destroy(ptr noundef nonnull %4) #2 %7 = tail call ptr @sk_atm(ptr noundef nonnull %0) #2 %8 = tail call i64 @skb_peek(ptr noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %1 %11 = load i32, ptr %3, align 4, !tbaa !13 %12 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %11) #2 br label %13 13: ; preds = %10, %1 %14 = tail call ptr @sk_atm(ptr noundef nonnull %0) #2 %15 = tail call ptr @skb_dequeue(ptr noundef %14) #2 %16 = icmp eq ptr %15, null br i1 %16, label %25, label %17 17: ; preds = %13, %17 %18 = phi ptr [ %23, %17 ], [ %15, %13 ] %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = tail call i32 @atm_return(ptr noundef nonnull %0, i32 noundef %19) #2 %21 = tail call i32 @dev_kfree_skb(ptr noundef nonnull %18) #2 %22 = tail call ptr @sk_atm(ptr noundef nonnull %0) #2 %23 = tail call ptr @skb_dequeue(ptr noundef %22) #2 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %17, !llvm.loop !18 25: ; preds = %17, %13 %26 = load i32, ptr %3, align 4, !tbaa !13 %27 = tail call i32 @pr_info(ptr noundef nonnull @.str.1, i32 noundef %26) #2 %28 = load i32, ptr @THIS_MODULE, align 4, !tbaa !20 %29 = tail call i32 @module_put(i32 noundef %28) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @lec_arp_destroy(ptr noundef) local_unnamed_addr #1 declare i64 @skb_peek(ptr noundef) local_unnamed_addr #1 declare ptr @sk_atm(ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @skb_dequeue(ptr noundef) local_unnamed_addr #1 declare i32 @atm_return(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @module_put(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 = !{!"atm_vcc", !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 = !{!"lec_priv", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"net_device", !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"sk_buff", !15, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!15, !15, i64 0}
; ModuleID = 'AnghaBench/linux/net/atm/extr_lec.c_lec_atm_close.c' source_filename = "AnghaBench/linux/net/atm/extr_lec.c_lec_atm_close.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 [34 x i8] c"%s closing with messages pending\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"%s: Shut down!\0A\00", align 1 @THIS_MODULE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lec_atm_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @lec_atm_close(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = inttoptr i64 %2 to ptr %4 = tail call ptr @netdev_priv(ptr noundef %3) #2 store ptr null, ptr %4, align 8, !tbaa !11 %5 = tail call i32 @netif_stop_queue(ptr noundef %3) #2 %6 = tail call i32 @lec_arp_destroy(ptr noundef nonnull %4) #2 %7 = tail call ptr @sk_atm(ptr noundef nonnull %0) #2 %8 = tail call i64 @skb_peek(ptr noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %1 %11 = load i32, ptr %3, align 4, !tbaa !14 %12 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %11) #2 br label %13 13: ; preds = %10, %1 %14 = tail call ptr @sk_atm(ptr noundef nonnull %0) #2 %15 = tail call ptr @skb_dequeue(ptr noundef %14) #2 %16 = icmp eq ptr %15, null br i1 %16, label %25, label %17 17: ; preds = %13, %17 %18 = phi ptr [ %23, %17 ], [ %15, %13 ] %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = tail call i32 @atm_return(ptr noundef nonnull %0, i32 noundef %19) #2 %21 = tail call i32 @dev_kfree_skb(ptr noundef nonnull %18) #2 %22 = tail call ptr @sk_atm(ptr noundef nonnull %0) #2 %23 = tail call ptr @skb_dequeue(ptr noundef %22) #2 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %17, !llvm.loop !19 25: ; preds = %17, %13 %26 = load i32, ptr %3, align 4, !tbaa !14 %27 = tail call i32 @pr_info(ptr noundef nonnull @.str.1, i32 noundef %26) #2 %28 = load i32, ptr @THIS_MODULE, align 4, !tbaa !21 %29 = tail call i32 @module_put(i32 noundef %28) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 declare i32 @lec_arp_destroy(ptr noundef) local_unnamed_addr #1 declare i64 @skb_peek(ptr noundef) local_unnamed_addr #1 declare ptr @sk_atm(ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @skb_dequeue(ptr noundef) local_unnamed_addr #1 declare i32 @atm_return(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @module_put(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 = !{!"atm_vcc", !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 = !{!"lec_priv", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"net_device", !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"sk_buff", !16, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!16, !16, i64 0}
linux_net_atm_extr_lec.c_lec_atm_close
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_driver.c_qib_rcv_hdrerr.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_driver.c_qib_rcv_hdrerr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.qib_pportdata = type { i32, i32, ptr, %struct.qib_ibport } %struct.qib_ibport = type { %struct.TYPE_12__ } %struct.TYPE_12__ = type { i32, i32 } %struct.ib_header = type { %struct.TYPE_10__, ptr } %struct.TYPE_10__ = type { %struct.TYPE_9__, %struct.ib_other_headers } %struct.TYPE_9__ = type { %struct.TYPE_8__, %struct.ib_other_headers } %struct.TYPE_8__ = type { i64, i32 } %struct.ib_other_headers = type { ptr } %struct.rvt_qp = type { i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_11__ } %struct.TYPE_11__ = type { i32 } @QLOGIC_IB_RHF_H_ICRCERR = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_RHF_H_VCRCERR = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_RHF_H_TIDERR = dso_local local_unnamed_addr global i32 0, align 4 @IB_MULTICAST_LID_BASE = dso_local local_unnamed_addr global i32 0, align 4 @QIB_LRH_BTH = dso_local local_unnamed_addr global i32 0, align 4 @QIB_LRH_GRH = dso_local local_unnamed_addr global i32 0, align 4 @IB_GRH_NEXT_HDR = dso_local local_unnamed_addr global i64 0, align 8 @IB_GRH_VERSION_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @IB_GRH_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @RVT_QPN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @QIB_MULTICAST_QPN = dso_local local_unnamed_addr global i32 0, align 4 @ib_rvt_state_ops = dso_local local_unnamed_addr global ptr null, align 8 @RVT_PROCESS_RECV_OK = dso_local local_unnamed_addr global i32 0, align 4 @IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST = dso_local local_unnamed_addr global i32 0, align 4 @IB_NAK_PSN_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @RVT_R_RSP_NAK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qib_rcv_hdrerr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @qib_rcv_hdrerr(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, i32 %4, i32 %5, ptr noundef %6, ptr noundef %7) #0 { %9 = load i32, ptr @QLOGIC_IB_RHF_H_ICRCERR, align 4, !tbaa !5 %10 = load i32, ptr @QLOGIC_IB_RHF_H_VCRCERR, align 4, !tbaa !5 %11 = or i32 %10, %9 %12 = and i32 %11, %3 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %148 14: ; preds = %8 %15 = load i32, ptr @QLOGIC_IB_RHF_H_TIDERR, align 4, !tbaa !5 %16 = icmp eq i32 %15, %3 br i1 %16, label %17, label %148 17: ; preds = %14 %18 = getelementptr inbounds %struct.qib_pportdata, ptr %1, i64 0, i32 3 %19 = getelementptr inbounds %struct.qib_pportdata, ptr %1, i64 0, i32 2 %20 = load ptr, ptr %19, align 8, !tbaa !9 %21 = tail call i32 @qib_hdrget_length_in_bytes(ptr noundef %6) #2 %22 = getelementptr inbounds %struct.ib_header, ptr %7, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = getelementptr inbounds i32, ptr %23, i64 1 %25 = load i32, ptr %24, align 4, !tbaa !5 %26 = tail call i32 @be16_to_cpu(i32 noundef %25) #2 %27 = load ptr, ptr %22, align 8, !tbaa !14 %28 = load i32, ptr %27, align 4, !tbaa !5 %29 = tail call i32 @be16_to_cpu(i32 noundef %28) #2 %30 = and i32 %29, 3 %31 = icmp slt i32 %21, 24 br i1 %31, label %148, label %32 32: ; preds = %17 %33 = load i32, ptr @IB_MULTICAST_LID_BASE, align 4, !tbaa !5 %34 = tail call i32 @be16_to_cpu(i32 noundef %33) #2 %35 = icmp slt i32 %26, %34 br i1 %35, label %36, label %46 36: ; preds = %32 %37 = load i32, ptr %1, align 8, !tbaa !21 %38 = shl nsw i32 -1, %37 %39 = and i32 %38, %26 %40 = getelementptr inbounds %struct.qib_pportdata, ptr %1, i64 0, i32 1 %41 = load i32, ptr %40, align 4, !tbaa !22 %42 = icmp ne i32 %39, %41 %43 = zext i1 %42 to i32 %44 = tail call i64 @unlikely(i32 noundef %43) #2 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %148 46: ; preds = %36, %32 %47 = load i32, ptr @QIB_LRH_BTH, align 4, !tbaa !5 %48 = icmp eq i32 %30, %47 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = getelementptr inbounds %struct.TYPE_10__, ptr %7, i64 0, i32 1 br label %67 51: ; preds = %46 %52 = load i32, ptr @QIB_LRH_GRH, align 4, !tbaa !5 %53 = icmp eq i32 %30, %52 br i1 %53, label %54, label %148 54: ; preds = %51 %55 = load i64, ptr %7, align 8, !tbaa !23 %56 = load i64, ptr @IB_GRH_NEXT_HDR, align 8, !tbaa !24 %57 = icmp eq i64 %55, %56 br i1 %57, label %58, label %148 58: ; preds = %54 %59 = getelementptr inbounds %struct.TYPE_9__, ptr %7, i64 0, i32 1 %60 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 1 %61 = load i32, ptr %60, align 8, !tbaa !25 %62 = tail call i32 @be32_to_cpu(i32 noundef %61) #2 %63 = load i32, ptr @IB_GRH_VERSION_SHIFT, align 4, !tbaa !5 %64 = ashr i32 %62, %63 %65 = load i32, ptr @IB_GRH_VERSION, align 4, !tbaa !5 %66 = icmp eq i32 %64, %65 br i1 %66, label %67, label %148 67: ; preds = %58, %49 %68 = phi ptr [ %50, %49 ], [ %59, %58 ] %69 = load ptr, ptr %68, align 8, !tbaa !26 %70 = load i32, ptr %69, align 4, !tbaa !5 %71 = tail call i32 @be32_to_cpu(i32 noundef %70) #2 %72 = ashr i32 %71, 24 %73 = load ptr, ptr %68, align 8, !tbaa !26 %74 = getelementptr inbounds i32, ptr %73, i64 2 %75 = load i32, ptr %74, align 4, !tbaa !5 %76 = tail call i32 @be32_to_cpu(i32 noundef %75) #2 %77 = load ptr, ptr %68, align 8, !tbaa !26 %78 = getelementptr inbounds i32, ptr %77, i64 1 %79 = load i32, ptr %78, align 4, !tbaa !5 %80 = tail call i32 @be32_to_cpu(i32 noundef %79) #2 %81 = load i32, ptr @RVT_QPN_MASK, align 4, !tbaa !5 %82 = and i32 %81, %80 %83 = load i32, ptr @QIB_MULTICAST_QPN, align 4, !tbaa !5 %84 = icmp eq i32 %82, %83 br i1 %84, label %148, label %85 85: ; preds = %67 %86 = tail call i32 (...) @rcu_read_lock() #2 %87 = tail call ptr @rvt_lookup_qpn(ptr noundef %20, ptr noundef nonnull %18, i32 noundef %82) #2 %88 = icmp eq ptr %87, null br i1 %88, label %146, label %89 89: ; preds = %85 %90 = getelementptr inbounds %struct.rvt_qp, ptr %87, i64 0, i32 1 %91 = tail call i32 @spin_lock(ptr noundef nonnull %90) #2 %92 = load ptr, ptr @ib_rvt_state_ops, align 8, !tbaa !27 %93 = load i64, ptr %87, align 8, !tbaa !28 %94 = getelementptr inbounds i32, ptr %92, i64 %93 %95 = load i32, ptr %94, align 4, !tbaa !5 %96 = load i32, ptr @RVT_PROCESS_RECV_OK, align 4, !tbaa !5 %97 = and i32 %96, %95 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %103 99: ; preds = %89 %100 = getelementptr inbounds %struct.qib_pportdata, ptr %1, i64 0, i32 3, i32 0, i32 1 %101 = load i32, ptr %100, align 4, !tbaa !31 %102 = add nsw i32 %101, 1 store i32 %102, ptr %100, align 4, !tbaa !31 br label %144 103: ; preds = %89 %104 = getelementptr inbounds %struct.rvt_qp, ptr %87, i64 0, i32 7 %105 = load i32, ptr %104, align 8, !tbaa !32 %106 = icmp eq i32 %105, 131 br i1 %106, label %107, label %144 107: ; preds = %103 %108 = load i32, ptr @QIB_LRH_GRH, align 4, !tbaa !5 %109 = icmp eq i32 %30, %108 %110 = zext i1 %109 to i32 %111 = load ptr, ptr %68, align 8, !tbaa !26 %112 = load i32, ptr %111, align 4, !tbaa !5 %113 = tail call i32 @be32_to_cpu(i32 noundef %112) #2 %114 = tail call i32 @qib_ruc_check_hdr(ptr noundef nonnull %18, ptr noundef nonnull %7, i32 noundef %110, ptr noundef nonnull %87, i32 noundef %113) #2 %115 = icmp eq i32 %114, 0 %116 = load i32, ptr @IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST, align 4 %117 = icmp slt i32 %72, %116 %118 = select i1 %115, i1 %117, i1 false br i1 %118, label %119, label %144 119: ; preds = %107 %120 = getelementptr inbounds %struct.rvt_qp, ptr %87, i64 0, i32 4 %121 = load i32, ptr %120, align 4, !tbaa !33 %122 = tail call i32 @qib_cmp24(i32 noundef %76, i32 noundef %121) #2 %123 = getelementptr inbounds %struct.rvt_qp, ptr %87, i64 0, i32 6 %124 = load i32, ptr %123, align 4, !tbaa !34 %125 = icmp eq i32 %124, 0 %126 = icmp sgt i32 %122, -1 %127 = select i1 %125, i1 %126, i1 false br i1 %127, label %128, label %144 128: ; preds = %119 %129 = load i32, ptr %18, align 4, !tbaa !35 %130 = add nsw i32 %129, 1 store i32 %130, ptr %18, align 4, !tbaa !35 %131 = load i32, ptr @IB_NAK_PSN_ERROR, align 4, !tbaa !5 store i32 %131, ptr %123, align 4, !tbaa !34 %132 = load i32, ptr %120, align 4, !tbaa !33 %133 = getelementptr inbounds %struct.rvt_qp, ptr %87, i64 0, i32 5 store i32 %132, ptr %133, align 8, !tbaa !36 %134 = getelementptr inbounds %struct.rvt_qp, ptr %87, i64 0, i32 2 %135 = tail call i32 @list_empty(ptr noundef nonnull %134) #2 %136 = icmp eq i32 %135, 0 br i1 %136, label %144, label %137 137: ; preds = %128 %138 = load i32, ptr @RVT_R_RSP_NAK, align 4, !tbaa !5 %139 = getelementptr inbounds %struct.rvt_qp, ptr %87, i64 0, i32 3 %140 = load i32, ptr %139, align 8, !tbaa !37 %141 = or i32 %140, %138 store i32 %141, ptr %139, align 8, !tbaa !37 %142 = tail call i32 @rvt_get_qp(ptr noundef nonnull %87) #2 %143 = tail call i32 @list_add_tail(ptr noundef nonnull %134, ptr noundef %0) #2 br label %144 144: ; preds = %103, %119, %137, %128, %107, %99 %145 = tail call i32 @spin_unlock(ptr noundef nonnull %90) #2 br label %146 146: ; preds = %85, %144 %147 = tail call i32 (...) @rcu_read_unlock() #2 br label %148 148: ; preds = %146, %54, %67, %58, %17, %36, %51, %14, %8 %149 = phi i32 [ 0, %14 ], [ 1, %8 ], [ 0, %51 ], [ 0, %36 ], [ 0, %17 ], [ 0, %58 ], [ 0, %67 ], [ 0, %54 ], [ 0, %146 ] ret i32 %149 } declare i32 @qib_hdrget_length_in_bytes(ptr noundef) local_unnamed_addr #1 declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @rvt_lookup_qpn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @qib_ruc_check_hdr(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qib_cmp24(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @rvt_get_qp(ptr noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"qib_pportdata", !6, i64 0, !6, i64 4, !11, i64 8, !12, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"qib_ibport", !13, i64 0} !13 = !{!"TYPE_12__", !6, i64 0, !6, i64 4} !14 = !{!15, !11, i64 32} !15 = !{!"ib_header", !16, i64 0, !11, i64 32} !16 = !{!"TYPE_10__", !17, i64 0, !20, i64 24} !17 = !{!"TYPE_9__", !18, i64 0, !20, i64 16} !18 = !{!"TYPE_8__", !19, i64 0, !6, i64 8} !19 = !{!"long", !7, i64 0} !20 = !{!"ib_other_headers", !11, i64 0} !21 = !{!10, !6, i64 0} !22 = !{!10, !6, i64 4} !23 = !{!15, !19, i64 0} !24 = !{!19, !19, i64 0} !25 = !{!15, !6, i64 8} !26 = !{!20, !11, i64 0} !27 = !{!11, !11, i64 0} !28 = !{!29, !19, i64 0} !29 = !{!"rvt_qp", !19, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !30, i64 32} !30 = !{!"TYPE_11__", !6, i64 0} !31 = !{!12, !6, i64 4} !32 = !{!29, !6, i64 32} !33 = !{!29, !6, i64 20} !34 = !{!29, !6, i64 28} !35 = !{!12, !6, i64 0} !36 = !{!29, !6, i64 24} !37 = !{!29, !6, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_driver.c_qib_rcv_hdrerr.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/qib/extr_qib_driver.c_qib_rcv_hdrerr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @QLOGIC_IB_RHF_H_ICRCERR = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_RHF_H_VCRCERR = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_RHF_H_TIDERR = common local_unnamed_addr global i32 0, align 4 @IB_MULTICAST_LID_BASE = common local_unnamed_addr global i32 0, align 4 @QIB_LRH_BTH = common local_unnamed_addr global i32 0, align 4 @QIB_LRH_GRH = common local_unnamed_addr global i32 0, align 4 @IB_GRH_NEXT_HDR = common local_unnamed_addr global i64 0, align 8 @IB_GRH_VERSION_SHIFT = common local_unnamed_addr global i32 0, align 4 @IB_GRH_VERSION = common local_unnamed_addr global i32 0, align 4 @RVT_QPN_MASK = common local_unnamed_addr global i32 0, align 4 @QIB_MULTICAST_QPN = common local_unnamed_addr global i32 0, align 4 @ib_rvt_state_ops = common local_unnamed_addr global ptr null, align 8 @RVT_PROCESS_RECV_OK = common local_unnamed_addr global i32 0, align 4 @IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST = common local_unnamed_addr global i32 0, align 4 @IB_NAK_PSN_ERROR = common local_unnamed_addr global i32 0, align 4 @RVT_R_RSP_NAK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qib_rcv_hdrerr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @qib_rcv_hdrerr(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef %3, i32 %4, i32 %5, ptr noundef %6, ptr noundef %7) #0 { %9 = load i32, ptr @QLOGIC_IB_RHF_H_ICRCERR, align 4, !tbaa !6 %10 = load i32, ptr @QLOGIC_IB_RHF_H_VCRCERR, align 4, !tbaa !6 %11 = or i32 %10, %9 %12 = and i32 %11, %3 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %148 14: ; preds = %8 %15 = load i32, ptr @QLOGIC_IB_RHF_H_TIDERR, align 4, !tbaa !6 %16 = icmp eq i32 %15, %3 br i1 %16, label %17, label %148 17: ; preds = %14 %18 = getelementptr inbounds i8, ptr %1, i64 16 %19 = getelementptr inbounds i8, ptr %1, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !10 %21 = tail call i32 @qib_hdrget_length_in_bytes(ptr noundef %6) #2 %22 = getelementptr inbounds i8, ptr %7, i64 32 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = getelementptr inbounds i8, ptr %23, i64 4 %25 = load i32, ptr %24, align 4, !tbaa !6 %26 = tail call i32 @be16_to_cpu(i32 noundef %25) #2 %27 = load ptr, ptr %22, align 8, !tbaa !15 %28 = load i32, ptr %27, align 4, !tbaa !6 %29 = tail call i32 @be16_to_cpu(i32 noundef %28) #2 %30 = and i32 %29, 3 %31 = icmp slt i32 %21, 24 br i1 %31, label %148, label %32 32: ; preds = %17 %33 = load i32, ptr @IB_MULTICAST_LID_BASE, align 4, !tbaa !6 %34 = tail call i32 @be16_to_cpu(i32 noundef %33) #2 %35 = icmp slt i32 %26, %34 br i1 %35, label %36, label %46 36: ; preds = %32 %37 = load i32, ptr %1, align 8, !tbaa !22 %38 = shl nsw i32 -1, %37 %39 = and i32 %38, %26 %40 = getelementptr inbounds i8, ptr %1, i64 4 %41 = load i32, ptr %40, align 4, !tbaa !23 %42 = icmp ne i32 %39, %41 %43 = zext i1 %42 to i32 %44 = tail call i64 @unlikely(i32 noundef %43) #2 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %148 46: ; preds = %36, %32 %47 = load i32, ptr @QIB_LRH_BTH, align 4, !tbaa !6 %48 = icmp eq i32 %30, %47 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = getelementptr inbounds i8, ptr %7, i64 24 br label %67 51: ; preds = %46 %52 = load i32, ptr @QIB_LRH_GRH, align 4, !tbaa !6 %53 = icmp eq i32 %30, %52 br i1 %53, label %54, label %148 54: ; preds = %51 %55 = load i64, ptr %7, align 8, !tbaa !24 %56 = load i64, ptr @IB_GRH_NEXT_HDR, align 8, !tbaa !25 %57 = icmp eq i64 %55, %56 br i1 %57, label %58, label %148 58: ; preds = %54 %59 = getelementptr inbounds i8, ptr %7, i64 16 %60 = getelementptr inbounds i8, ptr %7, i64 8 %61 = load i32, ptr %60, align 8, !tbaa !26 %62 = tail call i32 @be32_to_cpu(i32 noundef %61) #2 %63 = load i32, ptr @IB_GRH_VERSION_SHIFT, align 4, !tbaa !6 %64 = ashr i32 %62, %63 %65 = load i32, ptr @IB_GRH_VERSION, align 4, !tbaa !6 %66 = icmp eq i32 %64, %65 br i1 %66, label %67, label %148 67: ; preds = %58, %49 %68 = phi ptr [ %50, %49 ], [ %59, %58 ] %69 = load ptr, ptr %68, align 8, !tbaa !27 %70 = load i32, ptr %69, align 4, !tbaa !6 %71 = tail call i32 @be32_to_cpu(i32 noundef %70) #2 %72 = ashr i32 %71, 24 %73 = load ptr, ptr %68, align 8, !tbaa !27 %74 = getelementptr inbounds i8, ptr %73, i64 8 %75 = load i32, ptr %74, align 4, !tbaa !6 %76 = tail call i32 @be32_to_cpu(i32 noundef %75) #2 %77 = load ptr, ptr %68, align 8, !tbaa !27 %78 = getelementptr inbounds i8, ptr %77, i64 4 %79 = load i32, ptr %78, align 4, !tbaa !6 %80 = tail call i32 @be32_to_cpu(i32 noundef %79) #2 %81 = load i32, ptr @RVT_QPN_MASK, align 4, !tbaa !6 %82 = and i32 %81, %80 %83 = load i32, ptr @QIB_MULTICAST_QPN, align 4, !tbaa !6 %84 = icmp eq i32 %82, %83 br i1 %84, label %148, label %85 85: ; preds = %67 %86 = tail call i32 @rcu_read_lock() #2 %87 = tail call ptr @rvt_lookup_qpn(ptr noundef %20, ptr noundef nonnull %18, i32 noundef %82) #2 %88 = icmp eq ptr %87, null br i1 %88, label %146, label %89 89: ; preds = %85 %90 = getelementptr inbounds i8, ptr %87, i64 8 %91 = tail call i32 @spin_lock(ptr noundef nonnull %90) #2 %92 = load ptr, ptr @ib_rvt_state_ops, align 8, !tbaa !28 %93 = load i64, ptr %87, align 8, !tbaa !29 %94 = getelementptr inbounds i32, ptr %92, i64 %93 %95 = load i32, ptr %94, align 4, !tbaa !6 %96 = load i32, ptr @RVT_PROCESS_RECV_OK, align 4, !tbaa !6 %97 = and i32 %96, %95 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %103 99: ; preds = %89 %100 = getelementptr inbounds i8, ptr %1, i64 20 %101 = load i32, ptr %100, align 4, !tbaa !32 %102 = add nsw i32 %101, 1 store i32 %102, ptr %100, align 4, !tbaa !32 br label %144 103: ; preds = %89 %104 = getelementptr inbounds i8, ptr %87, i64 32 %105 = load i32, ptr %104, align 8, !tbaa !33 %106 = icmp eq i32 %105, 131 br i1 %106, label %107, label %144 107: ; preds = %103 %108 = load i32, ptr @QIB_LRH_GRH, align 4, !tbaa !6 %109 = icmp eq i32 %30, %108 %110 = zext i1 %109 to i32 %111 = load ptr, ptr %68, align 8, !tbaa !27 %112 = load i32, ptr %111, align 4, !tbaa !6 %113 = tail call i32 @be32_to_cpu(i32 noundef %112) #2 %114 = tail call i32 @qib_ruc_check_hdr(ptr noundef nonnull %18, ptr noundef nonnull %7, i32 noundef %110, ptr noundef nonnull %87, i32 noundef %113) #2 %115 = icmp eq i32 %114, 0 %116 = load i32, ptr @IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST, align 4 %117 = icmp slt i32 %72, %116 %118 = select i1 %115, i1 %117, i1 false br i1 %118, label %119, label %144 119: ; preds = %107 %120 = getelementptr inbounds i8, ptr %87, i64 20 %121 = load i32, ptr %120, align 4, !tbaa !34 %122 = tail call i32 @qib_cmp24(i32 noundef %76, i32 noundef %121) #2 %123 = getelementptr inbounds i8, ptr %87, i64 28 %124 = load i32, ptr %123, align 4, !tbaa !35 %125 = icmp eq i32 %124, 0 %126 = icmp sgt i32 %122, -1 %127 = select i1 %125, i1 %126, i1 false br i1 %127, label %128, label %144 128: ; preds = %119 %129 = load i32, ptr %18, align 4, !tbaa !36 %130 = add nsw i32 %129, 1 store i32 %130, ptr %18, align 4, !tbaa !36 %131 = load i32, ptr @IB_NAK_PSN_ERROR, align 4, !tbaa !6 store i32 %131, ptr %123, align 4, !tbaa !35 %132 = load i32, ptr %120, align 4, !tbaa !34 %133 = getelementptr inbounds i8, ptr %87, i64 24 store i32 %132, ptr %133, align 8, !tbaa !37 %134 = getelementptr inbounds i8, ptr %87, i64 12 %135 = tail call i32 @list_empty(ptr noundef nonnull %134) #2 %136 = icmp eq i32 %135, 0 br i1 %136, label %144, label %137 137: ; preds = %128 %138 = load i32, ptr @RVT_R_RSP_NAK, align 4, !tbaa !6 %139 = getelementptr inbounds i8, ptr %87, i64 16 %140 = load i32, ptr %139, align 8, !tbaa !38 %141 = or i32 %140, %138 store i32 %141, ptr %139, align 8, !tbaa !38 %142 = tail call i32 @rvt_get_qp(ptr noundef nonnull %87) #2 %143 = tail call i32 @list_add_tail(ptr noundef nonnull %134, ptr noundef %0) #2 br label %144 144: ; preds = %103, %119, %137, %128, %107, %99 %145 = tail call i32 @spin_unlock(ptr noundef nonnull %90) #2 br label %146 146: ; preds = %85, %144 %147 = tail call i32 @rcu_read_unlock() #2 br label %148 148: ; preds = %146, %54, %67, %58, %17, %36, %51, %14, %8 %149 = phi i32 [ 0, %14 ], [ 1, %8 ], [ 0, %51 ], [ 0, %36 ], [ 0, %17 ], [ 0, %58 ], [ 0, %67 ], [ 0, %54 ], [ 0, %146 ] ret i32 %149 } declare i32 @qib_hdrget_length_in_bytes(ptr noundef) local_unnamed_addr #1 declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @rvt_lookup_qpn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @qib_ruc_check_hdr(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qib_cmp24(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_empty(ptr noundef) local_unnamed_addr #1 declare i32 @rvt_get_qp(ptr noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"qib_pportdata", !7, i64 0, !7, i64 4, !12, i64 8, !13, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"qib_ibport", !14, i64 0} !14 = !{!"TYPE_12__", !7, i64 0, !7, i64 4} !15 = !{!16, !12, i64 32} !16 = !{!"ib_header", !17, i64 0, !12, i64 32} !17 = !{!"TYPE_10__", !18, i64 0, !21, i64 24} !18 = !{!"TYPE_9__", !19, i64 0, !21, i64 16} !19 = !{!"TYPE_8__", !20, i64 0, !7, i64 8} !20 = !{!"long", !8, i64 0} !21 = !{!"ib_other_headers", !12, i64 0} !22 = !{!11, !7, i64 0} !23 = !{!11, !7, i64 4} !24 = !{!16, !20, i64 0} !25 = !{!20, !20, i64 0} !26 = !{!16, !7, i64 8} !27 = !{!21, !12, i64 0} !28 = !{!12, !12, i64 0} !29 = !{!30, !20, i64 0} !30 = !{!"rvt_qp", !20, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !31, i64 32} !31 = !{!"TYPE_11__", !7, i64 0} !32 = !{!13, !7, i64 4} !33 = !{!30, !7, i64 32} !34 = !{!30, !7, i64 20} !35 = !{!30, !7, i64 28} !36 = !{!13, !7, i64 0} !37 = !{!30, !7, i64 24} !38 = !{!30, !7, i64 16}
linux_drivers_infiniband_hw_qib_extr_qib_driver.c_qib_rcv_hdrerr
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv04/extr_hw.h_nv_heads_tied.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv04/extr_hw.h_nv_heads_tied.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_4__, %struct.nvif_object } %struct.TYPE_4__ = type { i32 } %struct.nvif_object = type { i32 } @NV_PBUS_DEBUG_1 = dso_local local_unnamed_addr global i32 0, align 4 @NV_CIO_CRE_44 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nv_heads_tied], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @nv_heads_tied(ptr noundef %0) #0 { %2 = tail call ptr @nouveau_drm(ptr noundef %0) #2 %3 = tail call ptr @nouveau_drm(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = icmp eq i32 %4, 17 br i1 %5, label %6, label %12 6: ; preds = %1 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1 %8 = load i32, ptr @NV_PBUS_DEBUG_1, align 4, !tbaa !14 %9 = tail call i32 @nvif_rd32(ptr noundef nonnull %7, i32 noundef %8) #2 %10 = lshr i32 %9, 28 %11 = and i32 %10, 1 br label %16 12: ; preds = %1 %13 = load i32, ptr @NV_CIO_CRE_44, align 4, !tbaa !14 %14 = tail call i32 @NVReadVgaCrtc(ptr noundef %0, i32 noundef 0, i32 noundef %13) #2 %15 = and i32 %14, 4 br label %16 16: ; preds = %12, %6 %17 = phi i32 [ %11, %6 ], [ %15, %12 ] ret i32 %17 } declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1 declare i32 @nvif_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NVReadVgaCrtc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 0} !6 = !{!"nouveau_drm", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0, !13, i64 4} !9 = !{!"TYPE_4__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"nvif_object", !10, i64 0} !14 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv04/extr_hw.h_nv_heads_tied.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/dispnv04/extr_hw.h_nv_heads_tied.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NV_PBUS_DEBUG_1 = common local_unnamed_addr global i32 0, align 4 @NV_CIO_CRE_44 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nv_heads_tied], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 5) i32 @nv_heads_tied(ptr noundef %0) #0 { %2 = tail call ptr @nouveau_drm(ptr noundef %0) #2 %3 = tail call ptr @nouveau_drm(ptr noundef %0) #2 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = icmp eq i32 %4, 17 br i1 %5, label %6, label %12 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %2, i64 4 %8 = load i32, ptr @NV_PBUS_DEBUG_1, align 4, !tbaa !15 %9 = tail call i32 @nvif_rd32(ptr noundef nonnull %7, i32 noundef %8) #2 %10 = lshr i32 %9, 28 %11 = and i32 %10, 1 br label %16 12: ; preds = %1 %13 = load i32, ptr @NV_CIO_CRE_44, align 4, !tbaa !15 %14 = tail call i32 @NVReadVgaCrtc(ptr noundef %0, i32 noundef 0, i32 noundef %13) #2 %15 = and i32 %14, 4 br label %16 16: ; preds = %12, %6 %17 = phi i32 [ %11, %6 ], [ %15, %12 ] ret i32 %17 } declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1 declare i32 @nvif_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @NVReadVgaCrtc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 0} !7 = !{!"nouveau_drm", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"TYPE_5__", !10, i64 0, !14, i64 4} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"int", !12, i64 0} !12 = !{!"omnipotent char", !13, i64 0} !13 = !{!"Simple C/C++ TBAA"} !14 = !{!"nvif_object", !11, i64 0} !15 = !{!11, !11, i64 0}
linux_drivers_gpu_drm_nouveau_dispnv04_extr_hw.h_nv_heads_tied
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_sge.c_rspq_next.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_sge.c_rspq_next.c" target datalayout = "e-m:e-p270:32:32-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.sge_rspq = type { i32, i64, i64, i32, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @rspq_next], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @rspq_next(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.sge_rspq, ptr %0, i64 0, i32 5 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %0, align 8, !tbaa !12 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds i8, ptr %3, i64 %5 store ptr %6, ptr %2, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.sge_rspq, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = add nsw i64 %8, 1 store i64 %9, ptr %7, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.sge_rspq, ptr %0, i64 0, i32 2 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %9, %11 %13 = zext i1 %12 to i32 %14 = tail call i64 @unlikely(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %22, label %16 16: ; preds = %1 store i64 0, ptr %7, align 8, !tbaa !13 %17 = getelementptr inbounds %struct.sge_rspq, ptr %0, i64 0, i32 3 %18 = load i32, ptr %17, align 8, !tbaa !15 %19 = xor i32 %18, 1 store i32 %19, ptr %17, align 8, !tbaa !15 %20 = getelementptr inbounds %struct.sge_rspq, ptr %0, i64 0, i32 4 %21 = load ptr, ptr %20, align 8, !tbaa !16 store ptr %21, ptr %2, align 8, !tbaa !5 br label %22 22: ; preds = %16, %1 ret void } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 40} !6 = !{!"sge_rspq", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !11, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !10, i64 16} !15 = !{!6, !7, i64 24} !16 = !{!6, !11, i64 32}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_sge.c_rspq_next.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_sge.c_rspq_next.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 @rspq_next], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @rspq_next(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 40 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %0, align 8, !tbaa !13 %5 = sext i32 %4 to i64 %6 = getelementptr inbounds i8, ptr %3, i64 %5 store ptr %6, ptr %2, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = add nsw i64 %8, 1 store i64 %9, ptr %7, align 8, !tbaa !14 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = icmp eq i64 %9, %11 %13 = zext i1 %12 to i32 %14 = tail call i64 @unlikely(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %22, label %16 16: ; preds = %1 store i64 0, ptr %7, align 8, !tbaa !14 %17 = getelementptr inbounds i8, ptr %0, i64 24 %18 = load i32, ptr %17, align 8, !tbaa !16 %19 = xor i32 %18, 1 store i32 %19, ptr %17, align 8, !tbaa !16 %20 = getelementptr inbounds i8, ptr %0, i64 32 %21 = load ptr, ptr %20, align 8, !tbaa !17 store ptr %21, ptr %2, align 8, !tbaa !6 br label %22 22: ; preds = %16, %1 ret void } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 40} !7 = !{!"sge_rspq", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !12, i64 32, !12, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !11, i64 16} !16 = !{!7, !8, i64 24} !17 = !{!7, !12, i64 32}
fastsocket_kernel_drivers_net_cxgb4_extr_sge.c_rspq_next
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/armada/extr_armada_debugfs.c_armada_debugfs_crtc_reg_open.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/armada/extr_armada_debugfs.c_armada_debugfs_crtc_reg_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" @armada_debugfs_crtc_reg_show = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @armada_debugfs_crtc_reg_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @armada_debugfs_crtc_reg_open(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr @armada_debugfs_crtc_reg_show, align 4, !tbaa !5 %4 = load i32, ptr %0, align 4, !tbaa !9 %5 = tail call i32 @single_open(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @single_open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"inode", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/armada/extr_armada_debugfs.c_armada_debugfs_crtc_reg_open.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/armada/extr_armada_debugfs.c_armada_debugfs_crtc_reg_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @armada_debugfs_crtc_reg_show = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @armada_debugfs_crtc_reg_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @armada_debugfs_crtc_reg_open(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr @armada_debugfs_crtc_reg_show, align 4, !tbaa !6 %4 = load i32, ptr %0, align 4, !tbaa !10 %5 = tail call i32 @single_open(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2 ret i32 %5 } declare i32 @single_open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"inode", !7, i64 0}
linux_drivers_gpu_drm_armada_extr_armada_debugfs.c_armada_debugfs_crtc_reg_open
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_advansys.c_advansys_biosparam.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_advansys.c_advansys_biosparam.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_5__, %struct.TYPE_4__ } %struct.TYPE_5__ = type { i32 } %struct.TYPE_4__ = type { i32 } @.str = private unnamed_addr constant [7 x i8] c"begin\0A\00", align 1 @biosparam = dso_local local_unnamed_addr global i32 0, align 4 @ASC_CNTL_BIOS_GT_1GB = dso_local local_unnamed_addr global i32 0, align 4 @BIOS_CTRL_EXTENDED_XLAT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @advansys_biosparam], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @advansys_biosparam(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call ptr @shost_priv(i32 noundef %5) #2 %7 = tail call i32 @ASC_DBG(i32 noundef 1, ptr noundef nonnull @.str) #2 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = load i32, ptr @biosparam, align 4, !tbaa !10 %10 = tail call i32 @ASC_STATS(i32 noundef %8, i32 noundef %9) #2 %11 = tail call i64 @ASC_NARROW_BOARD(ptr noundef %6) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %24, label %13 13: ; preds = %4 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !11 %16 = load i32, ptr @ASC_CNTL_BIOS_GT_1GB, align 4, !tbaa !10 %17 = and i32 %16, %15 %18 = icmp ne i32 %17, 0 %19 = icmp sgt i32 %2, 2097152 %20 = and i1 %19, %18 %21 = getelementptr inbounds i32, ptr %3, i64 1 br i1 %20, label %22, label %23 22: ; preds = %13 store i32 255, ptr %3, align 4, !tbaa !10 store i32 63, ptr %21, align 4, !tbaa !10 br label %34 23: ; preds = %13 store i32 64, ptr %3, align 4, !tbaa !10 store i32 32, ptr %21, align 4, !tbaa !10 br label %34 24: ; preds = %4 %25 = load i32, ptr %6, align 4, !tbaa !16 %26 = load i32, ptr @BIOS_CTRL_EXTENDED_XLAT, align 4, !tbaa !10 %27 = and i32 %26, %25 %28 = icmp ne i32 %27, 0 %29 = icmp sgt i32 %2, 2097152 %30 = and i1 %29, %28 %31 = getelementptr inbounds i32, ptr %3, i64 1 br i1 %30, label %32, label %33 32: ; preds = %24 store i32 255, ptr %3, align 4, !tbaa !10 store i32 63, ptr %31, align 4, !tbaa !10 br label %34 33: ; preds = %24 store i32 64, ptr %3, align 4, !tbaa !10 store i32 32, ptr %31, align 4, !tbaa !10 br label %34 34: ; preds = %32, %33, %22, %23 %35 = phi i64 [ 63, %32 ], [ 32, %33 ], [ 63, %22 ], [ 32, %23 ] %36 = phi i64 [ 255, %32 ], [ 64, %33 ], [ 255, %22 ], [ 64, %23 ] %37 = sext i32 %2 to i64 %38 = mul nuw nsw i64 %35, %36 %39 = udiv i64 %37, %38 %40 = trunc i64 %39 to i32 %41 = getelementptr inbounds i32, ptr %3, i64 2 store i32 %40, ptr %41, align 4, !tbaa !10 %42 = tail call i32 @ASC_DBG(i32 noundef 1, ptr noundef nonnull @.str.1) #2 ret i32 0 } declare ptr @shost_priv(i32 noundef) local_unnamed_addr #1 declare i32 @ASC_DBG(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ASC_STATS(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ASC_NARROW_BOARD(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"scsi_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 4} !12 = !{!"asc_board", !13, i64 0} !13 = !{!"TYPE_6__", !14, i64 0, !15, i64 4} !14 = !{!"TYPE_5__", !7, i64 0} !15 = !{!"TYPE_4__", !7, i64 0} !16 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_advansys.c_advansys_biosparam.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_advansys.c_advansys_biosparam.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 [7 x i8] c"begin\0A\00", align 1 @biosparam = common local_unnamed_addr global i32 0, align 4 @ASC_CNTL_BIOS_GT_1GB = common local_unnamed_addr global i32 0, align 4 @BIOS_CTRL_EXTENDED_XLAT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @advansys_biosparam], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @advansys_biosparam(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 { %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call ptr @shost_priv(i32 noundef %5) #2 %7 = tail call i32 @ASC_DBG(i32 noundef 1, ptr noundef nonnull @.str) #2 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = load i32, ptr @biosparam, align 4, !tbaa !11 %10 = tail call i32 @ASC_STATS(i32 noundef %8, i32 noundef %9) #2 %11 = tail call i64 @ASC_NARROW_BOARD(ptr noundef %6) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %23, label %13 13: ; preds = %4 %14 = getelementptr inbounds i8, ptr %6, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !12 %16 = load i32, ptr @ASC_CNTL_BIOS_GT_1GB, align 4, !tbaa !11 %17 = and i32 %16, %15 %18 = icmp ne i32 %17, 0 %19 = icmp sgt i32 %2, 2097152 %20 = and i1 %19, %18 br i1 %20, label %21, label %22 21: ; preds = %13 store <2 x i32> <i32 255, i32 63>, ptr %3, align 4, !tbaa !11 br label %32 22: ; preds = %13 store <2 x i32> <i32 64, i32 32>, ptr %3, align 4, !tbaa !11 br label %32 23: ; preds = %4 %24 = load i32, ptr %6, align 4, !tbaa !17 %25 = load i32, ptr @BIOS_CTRL_EXTENDED_XLAT, align 4, !tbaa !11 %26 = and i32 %25, %24 %27 = icmp ne i32 %26, 0 %28 = icmp sgt i32 %2, 2097152 %29 = and i1 %28, %27 br i1 %29, label %30, label %31 30: ; preds = %23 store <2 x i32> <i32 255, i32 63>, ptr %3, align 4, !tbaa !11 br label %32 31: ; preds = %23 store <2 x i32> <i32 64, i32 32>, ptr %3, align 4, !tbaa !11 br label %32 32: ; preds = %30, %31, %21, %22 %33 = phi i64 [ 63, %30 ], [ 32, %31 ], [ 63, %21 ], [ 32, %22 ] %34 = phi i64 [ 255, %30 ], [ 64, %31 ], [ 255, %21 ], [ 64, %22 ] %35 = sext i32 %2 to i64 %36 = mul nuw nsw i64 %33, %34 %37 = udiv i64 %35, %36 %38 = trunc i64 %37 to i32 %39 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %38, ptr %39, align 4, !tbaa !11 %40 = tail call i32 @ASC_DBG(i32 noundef 1, ptr noundef nonnull @.str.1) #2 ret i32 0 } declare ptr @shost_priv(i32 noundef) local_unnamed_addr #1 declare i32 @ASC_DBG(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ASC_STATS(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ASC_NARROW_BOARD(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"scsi_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 4} !13 = !{!"asc_board", !14, i64 0} !14 = !{!"TYPE_6__", !15, i64 0, !16, i64 4} !15 = !{!"TYPE_5__", !8, i64 0} !16 = !{!"TYPE_4__", !8, i64 0} !17 = !{!13, !8, i64 0}
linux_drivers_scsi_extr_advansys.c_advansys_biosparam
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_sched.c_set_user_nice.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_sched.c_set_user_nice.c" target datalayout = "e-m:e-p270:32:32-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.task_struct = type { i32, ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } ; Function Attrs: nounwind uwtable define dso_local void @set_user_nice(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = tail call i64 @TASK_NICE(ptr noundef %0) #3 %5 = icmp eq i64 %4, %1 %6 = add i64 %1, -20 %7 = icmp ult i64 %6, -40 %8 = or i1 %7, %5 br i1 %8, label %41, label %9 9: ; preds = %2 %10 = call ptr @task_rq_lock(ptr noundef %0, ptr noundef nonnull %3) #3 %11 = call i64 @task_has_rt_policy(ptr noundef %0) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = call ptr @NICE_TO_PRIO(i64 noundef %1) #3 %15 = getelementptr inbounds %struct.task_struct, ptr %0, i64 0, i32 1 store ptr %14, ptr %15, align 8, !tbaa !5 br label %39 16: ; preds = %9 %17 = getelementptr inbounds %struct.task_struct, ptr %0, i64 0, i32 2 %18 = load i32, ptr %17, align 8, !tbaa !12 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = call i32 @dequeue_task(ptr noundef %10, ptr noundef nonnull %0, i32 noundef 0) #3 br label %22 22: ; preds = %20, %16 %23 = call ptr @NICE_TO_PRIO(i64 noundef %1) #3 %24 = getelementptr inbounds %struct.task_struct, ptr %0, i64 0, i32 1 store ptr %23, ptr %24, align 8, !tbaa !5 %25 = call i32 @set_load_weight(ptr noundef nonnull %0) #3 %26 = load i32, ptr %0, align 8, !tbaa !13 %27 = call i32 @effective_prio(ptr noundef nonnull %0) #3 store i32 %27, ptr %0, align 8, !tbaa !13 br i1 %19, label %39, label %28 28: ; preds = %22 %29 = call i32 @enqueue_task(ptr noundef %10, ptr noundef nonnull %0, i32 noundef 0) #3 %30 = icmp slt i32 %27, %26 br i1 %30, label %36, label %31 31: ; preds = %28 %32 = icmp eq i32 %27, %26 br i1 %32, label %39, label %33 33: ; preds = %31 %34 = call i64 @task_running(ptr noundef %10, ptr noundef nonnull %0) #3 %35 = icmp eq i64 %34, 0 br i1 %35, label %39, label %36 36: ; preds = %33, %28 %37 = load i32, ptr %10, align 4, !tbaa !14 %38 = call i32 @resched_task(i32 noundef %37) #3 br label %39 39: ; preds = %22, %36, %33, %31, %13 %40 = call i32 @task_rq_unlock(ptr noundef %10, ptr noundef nonnull %3) #3 br label %41 41: ; preds = %2, %39 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @TASK_NICE(ptr noundef) local_unnamed_addr #2 declare ptr @task_rq_lock(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @task_has_rt_policy(ptr noundef) local_unnamed_addr #2 declare ptr @NICE_TO_PRIO(i64 noundef) local_unnamed_addr #2 declare i32 @dequeue_task(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_load_weight(ptr noundef) local_unnamed_addr #2 declare i32 @effective_prio(ptr noundef) local_unnamed_addr #2 declare i32 @enqueue_task(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @task_running(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @resched_task(i32 noundef) local_unnamed_addr #2 declare i32 @task_rq_unlock(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"task_struct", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!6, !7, i64 16} !13 = !{!6, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"rq", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_sched.c_set_user_nice.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_sched.c_set_user_nice.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 @set_user_nice(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = tail call i64 @TASK_NICE(ptr noundef %0) #3 %5 = icmp eq i64 %4, %1 %6 = add i64 %1, -20 %7 = icmp ult i64 %6, -40 %8 = or i1 %7, %5 br i1 %8, label %41, label %9 9: ; preds = %2 %10 = call ptr @task_rq_lock(ptr noundef %0, ptr noundef nonnull %3) #3 %11 = call i64 @task_has_rt_policy(ptr noundef %0) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = call ptr @NICE_TO_PRIO(i64 noundef %1) #3 %15 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %14, ptr %15, align 8, !tbaa !6 br label %39 16: ; preds = %9 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load i32, ptr %17, align 8, !tbaa !13 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = call i32 @dequeue_task(ptr noundef %10, ptr noundef nonnull %0, i32 noundef 0) #3 br label %22 22: ; preds = %20, %16 %23 = call ptr @NICE_TO_PRIO(i64 noundef %1) #3 %24 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %23, ptr %24, align 8, !tbaa !6 %25 = call i32 @set_load_weight(ptr noundef nonnull %0) #3 %26 = load i32, ptr %0, align 8, !tbaa !14 %27 = call i32 @effective_prio(ptr noundef nonnull %0) #3 store i32 %27, ptr %0, align 8, !tbaa !14 br i1 %19, label %39, label %28 28: ; preds = %22 %29 = call i32 @enqueue_task(ptr noundef %10, ptr noundef nonnull %0, i32 noundef 0) #3 %30 = icmp slt i32 %27, %26 br i1 %30, label %36, label %31 31: ; preds = %28 %32 = icmp eq i32 %27, %26 br i1 %32, label %39, label %33 33: ; preds = %31 %34 = call i64 @task_running(ptr noundef %10, ptr noundef nonnull %0) #3 %35 = icmp eq i64 %34, 0 br i1 %35, label %39, label %36 36: ; preds = %33, %28 %37 = load i32, ptr %10, align 4, !tbaa !15 %38 = call i32 @resched_task(i32 noundef %37) #3 br label %39 39: ; preds = %22, %36, %33, %31, %13 %40 = call i32 @task_rq_unlock(ptr noundef %10, ptr noundef nonnull %3) #3 br label %41 41: ; preds = %2, %39 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @TASK_NICE(ptr noundef) local_unnamed_addr #2 declare ptr @task_rq_lock(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @task_has_rt_policy(ptr noundef) local_unnamed_addr #2 declare ptr @NICE_TO_PRIO(i64 noundef) local_unnamed_addr #2 declare i32 @dequeue_task(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_load_weight(ptr noundef) local_unnamed_addr #2 declare i32 @effective_prio(ptr noundef) local_unnamed_addr #2 declare i32 @enqueue_task(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @task_running(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @resched_task(i32 noundef) local_unnamed_addr #2 declare i32 @task_rq_unlock(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"task_struct", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!7, !8, i64 16} !14 = !{!7, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"rq", !8, i64 0}
fastsocket_kernel_kernel_extr_sched.c_set_user_nice
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zfs_acl.c_zfs_ace_walk.c' source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zfs_acl.c_zfs_ace_walk.c" target datalayout = "e-m:e-p270:32:32-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 @zfs_ace_walk], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @zfs_ace_walk(ptr noundef %0, i64 noundef %1, i32 %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i64, align 8 %8 = inttoptr i64 %1 to ptr call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %9 = call ptr @zfs_acl_next_ace(ptr noundef %0, ptr noundef %8, ptr noundef nonnull %7, ptr noundef %5, ptr noundef %3, ptr noundef %4) #3 %10 = ptrtoint ptr %9 to i64 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i64 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @zfs_acl_next_ace(ptr noundef, ptr noundef, ptr 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)"}
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zfs_acl.c_zfs_ace_walk.c' source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zfs_acl.c_zfs_ace_walk.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 @zfs_ace_walk], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @zfs_ace_walk(ptr noundef %0, i64 noundef %1, i32 %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i64, align 8 %8 = inttoptr i64 %1 to ptr call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %9 = call ptr @zfs_acl_next_ace(ptr noundef %0, ptr noundef %8, ptr noundef nonnull %7, ptr noundef %5, ptr noundef %3, ptr noundef %4) #3 %10 = ptrtoint ptr %9 to i64 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i64 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @zfs_acl_next_ace(ptr noundef, ptr noundef, ptr 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)"}
zfs_module_os_linux_zfs_extr_zfs_acl.c_zfs_ace_walk
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_cp-gimplify.c_gimplify_while_stmt.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_cp-gimplify.c_gimplify_while_stmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NULL_TREE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gimplify_while_stmt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gimplify_while_stmt(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @WHILE_COND(i32 noundef %2) #2 %4 = tail call i32 @WHILE_BODY(i32 noundef %2) #2 %5 = load i32, ptr @NULL_TREE, align 4, !tbaa !5 %6 = tail call i32 @WHILE_ATTRIBUTES(i32 noundef %2) #2 %7 = load i32, ptr @NULL_TREE, align 4, !tbaa !5 %8 = tail call i32 @gimplify_cp_loop(i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 1, i32 noundef %7) #2 store i32 %8, ptr %0, align 4, !tbaa !5 ret void } declare i32 @gimplify_cp_loop(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WHILE_COND(i32 noundef) local_unnamed_addr #1 declare i32 @WHILE_BODY(i32 noundef) local_unnamed_addr #1 declare i32 @WHILE_ATTRIBUTES(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/freebsd/contrib/gcc/cp/extr_cp-gimplify.c_gimplify_while_stmt.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_cp-gimplify.c_gimplify_while_stmt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NULL_TREE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gimplify_while_stmt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gimplify_while_stmt(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @WHILE_COND(i32 noundef %2) #2 %4 = tail call i32 @WHILE_BODY(i32 noundef %2) #2 %5 = load i32, ptr @NULL_TREE, align 4, !tbaa !6 %6 = tail call i32 @WHILE_ATTRIBUTES(i32 noundef %2) #2 %7 = load i32, ptr @NULL_TREE, align 4, !tbaa !6 %8 = tail call i32 @gimplify_cp_loop(i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 1, i32 noundef %7) #2 store i32 %8, ptr %0, align 4, !tbaa !6 ret void } declare i32 @gimplify_cp_loop(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WHILE_COND(i32 noundef) local_unnamed_addr #1 declare i32 @WHILE_BODY(i32 noundef) local_unnamed_addr #1 declare i32 @WHILE_ATTRIBUTES(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"}
freebsd_contrib_gcc_cp_extr_cp-gimplify.c_gimplify_while_stmt
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-js.c_pdf_enable_js.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-js.c_pdf_enable_js.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @pdf_enable_js(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-js.c_pdf_enable_js.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-js.c_pdf_enable_js.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @pdf_enable_js(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
sumatrapdf_mupdf_source_pdf_extr_pdf-js.c_pdf_enable_js