Dataset Viewer
Auto-converted to Parquet Duplicate
IR_x86
stringlengths
97
189k
IR_arm
stringlengths
544
93.4k
filename
stringlengths
19
186
; ModuleID = 'obs-studio_libobs_graphics_extr_..utillexer.h_strref_copy.so' source_filename = "obs-studio_libobs_graphics_extr_..utillexer.h_strref_copy.so" define dso_local i64 @strref_copy(i64 %arg1, i64 %arg2) { entry: %0 = inttoptr i64 %arg2 to ptr %memload = load i64, ptr %0, align 1 %1 = inttoptr i64 %arg1 to ptr store i64 %memload, ptr %1, align 1 ret i64 %memload }
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_..utillexer.h_strref_copy.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_..utillexer.h_strref_copy.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 @strref_copy], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @strref_copy(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load <2 x i32>, ptr %1, align 4, !tbaa !6 store <2 x i32> %3, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
obs-studio_libobs_graphics_extr_..utillexer.h_strref_copy
; ModuleID = 'fastsocket_kernel_drivers_net_extr_au1000_eth.c_GetFreeDB.so' source_filename = "fastsocket_kernel_drivers_net_extr_au1000_eth.c_GetFreeDB.so" define dso_local i64 @GetFreeDB(i64 %arg1) { entry: %0 = inttoptr i64 %arg1 to ptr %memload = load i64, ptr %0, align 1 %1 = and i64 %memload, %memload %highbit = and i64 -9223372036854775808, %1 %SF = icmp ne i64 %highbit, 0 %ZF = icmp eq i64 %1, 0 %2 = and i64 %1, 255 %3 = call i64 @llvm.ctpop.i64(i64 %2) %4 = and i64 %3, 1 %PF = icmp eq i64 %4, 0 %CmpZF_JE = icmp eq i1 %ZF, true br i1 %CmpZF_JE, label %bb.2, label %bb.1 bb.1: ; preds = %entry %5 = inttoptr i64 %memload to ptr %memload1 = load i64, ptr %5, align 1 %6 = inttoptr i64 %arg1 to ptr store i64 %memload1, ptr %6, align 1 br label %bb.2 bb.2: ; preds = %bb.1, %entry ret i64 %memload } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_au1000_eth.c_GetFreeDB.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_au1000_eth.c_GetFreeDB.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 @GetFreeDB], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal ptr @GetFreeDB(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %1 %5 = load ptr, ptr %2, align 8, !tbaa !11 store ptr %5, ptr %0, align 8, !tbaa !6 br label %6 6: ; preds = %4, %1 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"au1000_private", !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_3__", !8, i64 0}
fastsocket_kernel_drivers_net_extr_au1000_eth.c_GetFreeDB
; ModuleID = 'linux_drivers_hv_extr_vmbus_drv.c_vmbus_exists.so' source_filename = "linux_drivers_hv_extr_vmbus_drv.c_vmbus_exists.so" @hv_acpi_dev = common dso_local global i64 0, align 8 @ENODEV = common dso_local global i32 0, align 4 define dso_local i32 @vmbus_exists() { entry: %0 = load i32, ptr @ENODEV, align 4 %EAX = sub i32 0, %0 %1 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 0, i32 %0) %CF = extractvalue { i32, i1 } %1, 1 %ZF = icmp eq i32 %EAX, 0 %highbit = and i32 -2147483648, %EAX %SF = icmp ne i32 %highbit, 0 %2 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 0, i32 %0) %OF = extractvalue { i32, i1 } %2, 1 %3 = and i32 %EAX, 255 %4 = call i32 @llvm.ctpop.i32(i32 %3) %5 = and i32 %4, 1 %PF = icmp eq i32 %5, 0 %6 = load i64, ptr @hv_acpi_dev, align 8 %7 = sub i64 %6, 0 %8 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %6, i64 0) %CF1 = extractvalue { i64, i1 } %8, 1 %ZF2 = icmp eq i64 %7, 0 %highbit3 = and i64 -9223372036854775808, %7 %SF4 = icmp ne i64 %highbit3, 0 %9 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %6, i64 0) %OF5 = extractvalue { i64, i1 } %9, 1 %10 = and i64 %7, 255 %11 = call i64 @llvm.ctpop.i64(i64 %10) %12 = and i64 %11, 1 %PF6 = icmp eq i64 %12, 0 %Cond_CMOVNE = icmp eq i1 %ZF2, false %CMOV = select i1 %Cond_CMOVNE, i32 0, i32 %EAX ret i32 %CMOV } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.usub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.ssub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_vmbus_exists.c' source_filename = "AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_vmbus_exists.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @hv_acpi_dev = common local_unnamed_addr global ptr null, align 8 @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vmbus_exists], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @vmbus_exists() #0 { %1 = load ptr, ptr @hv_acpi_dev, align 8, !tbaa !6 %2 = icmp eq ptr %1, null %3 = load i32, ptr @ENODEV, align 4 %4 = sub nsw i32 0, %3 %5 = select i1 %2, i32 %4, i32 0 ret i32 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_hv_extr_vmbus_drv.c_vmbus_exists
; ModuleID = 'openssl_crypto_bio_extr_bss_dgram.c_BIO_s_datagram_sctp.so' source_filename = "openssl_crypto_bio_extr_bss_dgram.c_BIO_s_datagram_sctp.so" @methods_dgramp_sctp = dso_local global i32 0, align 4 define dso_local i64 @BIO_s_datagram_sctp() { entry: %0 = ptrtoint ptr @methods_dgramp_sctp to i64 ret i64 %0 }
; ModuleID = 'AnghaBench/openssl/crypto/bio/extr_bss_dgram.c_BIO_s_datagram_sctp.c' source_filename = "AnghaBench/openssl/crypto/bio/extr_bss_dgram.c_BIO_s_datagram_sctp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @methods_dgramp_sctp = common global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef nonnull ptr @BIO_s_datagram_sctp() local_unnamed_addr #0 { ret ptr @methods_dgramp_sctp } 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)"}
openssl_crypto_bio_extr_bss_dgram.c_BIO_s_datagram_sctp
; ModuleID = 'freebsd_sys_x86_x86_extr_identcpu.c_cpu_getmaxphyaddr.so' source_filename = "freebsd_sys_x86_x86_extr_identcpu.c_cpu_getmaxphyaddr.so" @cpu_maxphyaddr = common dso_local global i64 0, align 8 define dso_local i32 @cpu_getmaxphyaddr() { entry: %memload = load i32, ptr @cpu_maxphyaddr, align 1 %0 = trunc i32 %memload to i8 %ECX = zext i8 %0 to i32 %RAX = sext i32 -1 to i64 %1 = trunc i32 %ECX to i8 %2 = zext i8 %1 to i64 %shift-cnt-msk = and i64 %2, 31 %RAX1 = shl i64 %RAX, %shift-cnt-msk %shrd_cf_count_cmp = icmp sgt i64 %shift-cnt-msk, 0 %3 = sub i64 64, %shift-cnt-msk %shld_cf_count_shift = shl i64 1, %3 %shld_cf_count_and = and i64 %RAX, %shld_cf_count_shift %shld_cf_count_shft_out = icmp sgt i64 %shld_cf_count_and, 0 %shld_cf_update = select i1 %shrd_cf_count_cmp, i1 %shld_cf_count_shft_out, i1 false %ZF = icmp eq i64 %RAX1, 0 %highbit = and i64 -9223372036854775808, %RAX1 %SF = icmp ne i64 %highbit, 0 %4 = trunc i64 %RAX1 to i32 %EAX = xor i32 %4, -1 ret i32 %EAX }
; ModuleID = 'AnghaBench/freebsd/sys/x86/x86/extr_identcpu.c_cpu_getmaxphyaddr.c' source_filename = "AnghaBench/freebsd/sys/x86/x86/extr_identcpu.c_cpu_getmaxphyaddr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cpu_maxphyaddr = common local_unnamed_addr global i64 0, align 8 @pae_mode = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i32 @cpu_getmaxphyaddr() local_unnamed_addr #0 { %1 = load i64, ptr @cpu_maxphyaddr, align 8, !tbaa !6 %2 = shl nsw i64 -1, %1 %3 = trunc i64 %2 to i32 %4 = xor i32 %3, -1 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_x86_x86_extr_identcpu.c_cpu_getmaxphyaddr
; ModuleID = 'xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_libsize.so' source_filename = "xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_libsize.so" define dso_local i64 @libsize(i64 %arg1) { entry: %RAX-SKT-LOC = alloca i64, align 8 %0 = inttoptr i64 %arg1 to ptr %1 = load i64, ptr %0, align 1 %2 = sub i64 %1, 0 %3 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %1, i64 0) %CF = extractvalue { i64, i1 } %3, 1 %ZF = icmp eq i64 %2, 0 %highbit = and i64 -9223372036854775808, %2 %SF = icmp ne i64 %highbit, 0 %4 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %1, i64 0) %OF = extractvalue { i64, i1 } %4, 1 %5 = and i64 %2, 255 %6 = call i64 @llvm.ctpop.i64(i64 %5) %7 = and i64 %6, 1 %PF = icmp eq i64 %7, 0 %CmpZF_JE = icmp eq i1 %ZF, true br i1 %CmpZF_JE, label %bb.4, label %bb.1 bb.1: ; preds = %entry %8 = zext i32 0 to i64 store i64 %8, ptr %RAX-SKT-LOC, align 1 br label %bb.2 bb.2: ; preds = %bb.1, %bb.2 %RAX = load i64, ptr %RAX-SKT-LOC, align 1 %memref-idxreg = mul i64 8, %RAX %memref-basereg = add i64 %arg1, %memref-idxreg %memref-disp = add i64 %memref-basereg, 8 %9 = inttoptr i64 %memref-disp to ptr %10 = load i64, ptr %9, align 1 %11 = sub i64 %10, 0 %12 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %10, i64 0) %CF1 = extractvalue { i64, i1 } %12, 1 %ZF2 = icmp eq i64 %11, 0 %highbit3 = and i64 -9223372036854775808, %11 %SF4 = icmp ne i64 %highbit3, 0 %13 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %10, i64 0) %OF5 = extractvalue { i64, i1 } %13, 1 %14 = and i64 %11, 255 %15 = call i64 @llvm.ctpop.i64(i64 %14) %16 = and i64 %15, 1 %PF6 = icmp eq i64 %16, 0 %memref-disp7 = add i64 %RAX, 1 %CmpZF_JNE = icmp eq i1 %ZF2, false store i64 %memref-disp7, ptr %RAX-SKT-LOC, align 1 br i1 %CmpZF_JNE, label %bb.2, label %bb.3 bb.3: ; preds = %bb.2 %ld-stk-prom = load i64, ptr %RAX-SKT-LOC, align 8 br label %UnifiedReturnBlock bb.4: ; preds = %entry %17 = zext i32 0 to i64 br label %UnifiedReturnBlock UnifiedReturnBlock: ; preds = %bb.4, %bb.3 %UnifiedRetVal = phi i64 [ %ld-stk-prom, %bb.3 ], [ %17, %bb.4 ] ret i64 %UnifiedRetVal } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_libsize.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_libsize.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 @libsize], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @libsize(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %11, label %4 4: ; preds = %1, %4 %5 = phi i32 [ %7, %4 ], [ 0, %1 ] %6 = phi ptr [ %8, %4 ], [ %0, %1 ] %7 = add nuw nsw i32 %5, 1 %8 = getelementptr inbounds i8, ptr %6, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !6 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %4, !llvm.loop !11 11: ; preds = %4, %1 %12 = phi i32 [ 0, %1 ], [ %7, %4 ] ret i32 %12 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_libsize
; ModuleID = 'sqlcipher_src_extr_test_onefile.c_fsDeviceCharacteristics.so' source_filename = "sqlcipher_src_extr_test_onefile.c_fsDeviceCharacteristics.so" define dso_local i32 @fsDeviceCharacteristics() { entry: ret i32 0 }
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_onefile.c_fsDeviceCharacteristics.c' source_filename = "AnghaBench/sqlcipher/src/extr_test_onefile.c_fsDeviceCharacteristics.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 @fsDeviceCharacteristics], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @fsDeviceCharacteristics(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
sqlcipher_src_extr_test_onefile.c_fsDeviceCharacteristics
; ModuleID = 'exploitdb_exploits_windows_local_extr_19585.c_search_mem.so' source_filename = "exploitdb_exploits_windows_local_extr_19585.c_search_mem.so" define dso_local i32 @search_mem(i64 %arg1, i64 %arg2, i64 %arg3, i8 %arg4, i8 %arg5) { entry: %EAX-SKT-LOC = alloca i32, align 4 %RSI-SKT-LOC = alloca i64, align 8 %SIL-SKT-LOC = alloca i64, align 8 %R9-SKT-LOC = alloca i64, align 8 %0 = sub i64 %arg2, %arg3 %1 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %arg2, i64 %arg3) %CF = extractvalue { i64, i1 } %1, 1 %ZF = icmp eq i64 %0, 0 %highbit = and i64 -9223372036854775808, %0 %SF = icmp ne i64 %highbit, 0 %2 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %arg2, i64 %arg3) %OF = extractvalue { i64, i1 } %2, 1 %3 = and i64 %0, 255 %4 = call i64 @llvm.ctpop.i64(i64 %3) %5 = and i64 %4, 1 %PF = icmp eq i64 %5, 0 store i64 %arg2, ptr %SIL-SKT-LOC, align 1 store i64 %arg2, ptr %RSI-SKT-LOC, align 1 store i32 0, ptr %EAX-SKT-LOC, align 1 %CFCmp_JAE = icmp eq i1 %CF, false br i1 %CFCmp_JAE, label %bb.11, label %bb.1 bb.1: ; preds = %entry %R9 = add i64 %arg2, 1 %6 = and i64 %R9, 255 %7 = call i64 @llvm.ctpop.i64(i64 %6) %8 = and i64 %7, 1 %PF1 = icmp eq i64 %8, 0 %ZF2 = icmp eq i64 %R9, 0 %highbit3 = and i64 -9223372036854775808, %R9 %SF4 = icmp ne i64 %highbit3, 0 store i64 %R9, ptr %R9-SKT-LOC, align 1 br label %bb.4 bb.4: ; preds = %bb.3, %bb.1 %R95 = load i64, ptr %R9-SKT-LOC, align 1 %memref-disp = add i64 %R95, -1 %9 = inttoptr i64 %memref-disp to ptr %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i64 %12 = zext i8 %arg4 to i64 %13 = sub i64 %11, %12 %14 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %11, i64 %12) %CF6 = extractvalue { i64, i1 } %14, 1 %ZF7 = icmp eq i64 %13, 0 %highbit8 = and i64 -9223372036854775808, %13 %SF9 = icmp ne i64 %highbit8, 0 %15 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %11, i64 %12) %OF10 = extractvalue { i64, i1 } %15, 1 %16 = and i64 %13, 255 %17 = call i64 @llvm.ctpop.i64(i64 %16) %18 = and i64 %17, 1 %PF11 = icmp eq i64 %18, 0 %CmpZF_JNE = icmp eq i1 %ZF7, false br i1 %CmpZF_JNE, label %bb.3, label %bb.5 bb.5: ; preds = %bb.4 %19 = inttoptr i64 %R95 to ptr %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i64 %22 = zext i8 %arg5 to i64 %23 = sub i64 %21, %22 %24 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %21, i64 %22) %CF12 = extractvalue { i64, i1 } %24, 1 %ZF13 = icmp eq i64 %23, 0 %highbit14 = and i64 -9223372036854775808, %23 %SF15 = icmp ne i64 %highbit14, 0 %25 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %21, i64 %22) %OF16 = extractvalue { i64, i1 } %25, 1 %26 = and i64 %23, 255 %27 = call i64 @llvm.ctpop.i64(i64 %26) %28 = and i64 %27, 1 %PF17 = icmp eq i64 %28, 0 %CmpZF_JNE56 = icmp eq i1 %ZF13, false br i1 %CmpZF_JNE56, label %bb.3, label %bb.6 bb.6: ; preds = %bb.5 %29 = load i64, ptr %SIL-SKT-LOC, align 1 %SIL = trunc i64 %29 to i8 %30 = and i8 %SIL, %SIL %highbit18 = and i8 -128, %30 %SF19 = icmp ne i8 %highbit18, 0 %ZF20 = icmp eq i8 %30, 0 %31 = call i8 @llvm.ctpop.i8(i8 %30) %32 = and i8 %31, 1 %PF21 = icmp eq i8 %32, 0 %33 = zext i8 %SIL to i64 store i64 %33, ptr %RSI-SKT-LOC, align 1 %CmpZF_JE = icmp eq i1 %ZF20, true br i1 %CmpZF_JE, label %bb.3, label %bb.7 bb.7: ; preds = %bb.6 %EDI = zext i8 %SIL to i32 %EDI26 = and i32 %EDI, 65280 %34 = and i32 %EDI26, 255 %35 = call i32 @llvm.ctpop.i32(i32 %34) %36 = and i32 %35, 1 %PF22 = icmp eq i32 %36, 0 %ZF23 = icmp eq i32 %EDI26, 0 %highbit24 = and i32 -2147483648, %EDI26 %SF25 = icmp ne i32 %highbit24, 0 %CmpZF_JE57 = icmp eq i1 %ZF23, true br i1 %CmpZF_JE57, label %bb.3, label %bb.8 bb.8: ; preds = %bb.7 %EDI27 = zext i8 %SIL to i32 %EDI32 = and i32 %EDI27, 16711680 %37 = and i32 %EDI32, 255 %38 = call i32 @llvm.ctpop.i32(i32 %37) %39 = and i32 %38, 1 %PF28 = icmp eq i32 %39, 0 %ZF29 = icmp eq i32 %EDI32, 0 %highbit30 = and i32 -2147483648, %EDI32 %SF31 = icmp ne i32 %highbit30, 0 %CmpZF_JE58 = icmp eq i1 %ZF29, true br i1 %CmpZF_JE58, label %bb.3, label %bb.9 bb.9: ; preds = %bb.8 %40 = zext i8 %SIL to i32 %41 = zext i8 -1 to i32 %42 = sub i32 %40, %41 %43 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %40, i32 %41) %CF33 = extractvalue { i32, i1 } %43, 1 %ZF34 = icmp eq i32 %42, 0 %highbit35 = and i32 -2147483648, %42 %SF36 = icmp ne i32 %highbit35, 0 %44 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %40, i32 %41) %OF37 = extractvalue { i32, i1 } %44, 1 %45 = and i32 %42, 255 %46 = call i32 @llvm.ctpop.i32(i32 %45) %47 = and i32 %46, 1 %PF38 = icmp eq i32 %47, 0 %CFCmp_JBE = icmp eq i1 %CF33, true %ZFCmp_JBE = icmp eq i1 %ZF34, true %CFAndZF_JBE = or i1 %ZFCmp_JBE, %CFCmp_JBE br i1 %CFAndZF_JBE, label %bb.3, label %bb.10 bb.10: ; preds = %bb.9 %EAX = zext i8 %SIL to i32 store i32 %EAX, ptr %EAX-SKT-LOC, align 1 br label %bb.11 bb.3: ; preds = %bb.9, %bb.8, %bb.7, %bb.6, %bb.5, %bb.4 %RSI = load i64, ptr %RSI-SKT-LOC, align 1 %RSI43 = add i64 %RSI, 1 %48 = and i64 %RSI43, 255 %49 = call i64 @llvm.ctpop.i64(i64 %48) %50 = and i64 %49, 1 %PF39 = icmp eq i64 %50, 0 %ZF40 = icmp eq i64 %RSI43, 0 %highbit41 = and i64 -9223372036854775808, %RSI43 %SF42 = icmp ne i64 %highbit41, 0 %R948 = add i64 %R95, 1 %51 = and i64 %R948, 255 %52 = call i64 @llvm.ctpop.i64(i64 %51) %53 = and i64 %52, 1 %PF44 = icmp eq i64 %53, 0 %ZF45 = icmp eq i64 %R948, 0 %highbit46 = and i64 -9223372036854775808, %R948 %SF47 = icmp ne i64 %highbit46, 0 %54 = sub i64 %arg3, %RSI43 %55 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %arg3, i64 %RSI43) %CF49 = extractvalue { i64, i1 } %55, 1 %ZF50 = icmp eq i64 %54, 0 %highbit51 = and i64 -9223372036854775808, %54 %SF52 = icmp ne i64 %highbit51, 0 %56 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %arg3, i64 %RSI43) %OF53 = extractvalue { i64, i1 } %56, 1 %57 = and i64 %54, 255 %58 = call i64 @llvm.ctpop.i64(i64 %57) %59 = and i64 %58, 1 %PF54 = icmp eq i64 %59, 0 %CmpZF_JE59 = icmp eq i1 %ZF50, true store i64 %RSI43, ptr %RSI-SKT-LOC, align 1 store i64 %RSI43, ptr %SIL-SKT-LOC, align 1 store i64 %R948, ptr %R9-SKT-LOC, align 1 br i1 %CmpZF_JE59, label %bb.11, label %bb.4 bb.11: ; preds = %bb.10, %bb.3, %entry %EAX55 = load i32, ptr %EAX-SKT-LOC, align 1 ret i32 %EAX55 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i8 @llvm.ctpop.i8(i8) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.usub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.ssub.with.overflow.i32(i32, i32) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_19585.c_search_mem.c' source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_19585.c_search_mem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define noundef i32 @search_mem(ptr nocapture noundef readnone %0, ptr noundef %1, ptr noundef readnone %2, i8 noundef zeroext %3, i8 noundef zeroext %4) local_unnamed_addr #0 { %6 = icmp ult ptr %1, %2 br i1 %6, label %7, label %31 7: ; preds = %5, %28 %8 = phi ptr [ %29, %28 ], [ %1, %5 ] %9 = load i8, ptr %8, align 1, !tbaa !6 %10 = icmp eq i8 %9, %3 br i1 %10, label %11, label %28 11: ; preds = %7 %12 = getelementptr inbounds i8, ptr %8, i64 1 %13 = load i8, ptr %12, align 1, !tbaa !6 %14 = icmp eq i8 %13, %4 br i1 %14, label %15, label %28 15: ; preds = %11 %16 = ptrtoint ptr %8 to i64 %17 = trunc i64 %16 to i32 %18 = and i32 %17, 255 %19 = icmp eq i32 %18, 0 %20 = and i32 %17, 65280 %21 = icmp eq i32 %20, 0 %22 = or i1 %19, %21 %23 = and i32 %17, 16711680 %24 = icmp eq i32 %23, 0 %25 = or i1 %24, %22 %26 = icmp ult i32 %17, 16777216 %27 = or i1 %26, %25 br i1 %27, label %28, label %31 28: ; preds = %7, %11, %15 %29 = getelementptr inbounds i8, ptr %8, i64 1 %30 = icmp eq ptr %29, %2 br i1 %30, label %31, label %7, !llvm.loop !9 31: ; preds = %15, %28, %5 %32 = phi i32 [ 0, %5 ], [ 0, %28 ], [ %17, %15 ] ret i32 %32 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
exploitdb_exploits_windows_local_extr_19585.c_search_mem
; ModuleID = 'radare2_libr_asm_arch_arm_extr_armass64.c_isMask.so' source_filename = "radare2_libr_asm_arch_arm_extr_armass64.c_isMask.so" define dso_local i32 @isMask(i64 %arg1) { entry: %0 = trunc i64 %arg1 to i32 %1 = trunc i64 %arg1 to i32 %2 = and i32 %0, %1 %highbit = and i32 -2147483648, %2 %SF = icmp ne i32 %highbit, 0 %ZF = icmp eq i32 %2, 0 %3 = and i32 %2, 255 %4 = call i32 @llvm.ctpop.i32(i32 %3) %5 = and i32 %4, 1 %PF = icmp eq i32 %5, 0 %AL = icmp eq i1 %ZF, false %memref-disp = add i64 %arg1, 1 %ECX = trunc i64 %memref-disp to i32 %6 = trunc i64 %arg1 to i32 %7 = and i32 %ECX, %6 %highbit1 = and i32 -2147483648, %7 %SF2 = icmp ne i32 %highbit1, 0 %ZF3 = icmp eq i32 %7, 0 %8 = and i32 %7, 255 %9 = call i32 @llvm.ctpop.i32(i32 %8) %10 = and i32 %9, 1 %PF4 = icmp eq i32 %10, 0 %CL = icmp eq i1 %ZF3, true %11 = zext i1 %CL to i8 %12 = zext i1 %AL to i8 %CL9 = and i8 %11, %12 %highbit5 = and i8 -128, %CL9 %SF6 = icmp ne i8 %highbit5, 0 %ZF7 = icmp eq i8 %CL9, 0 %13 = call i8 @llvm.ctpop.i8(i8 %CL9) %14 = and i8 %13, 1 %PF8 = icmp eq i8 %14, 0 %EAX = zext i8 %CL9 to i32 ret i32 %EAX } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i8 @llvm.ctpop.i8(i8) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arm/extr_armass64.c_isMask.c' source_filename = "AnghaBench/radare2/libr/asm/arch/arm/extr_armass64.c_isMask.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 @isMask], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, 2) i32 @isMask(i32 noundef %0) #0 { %2 = icmp ne i32 %0, 0 %3 = add nsw i32 %0, 1 %4 = and i32 %3, %0 %5 = icmp eq i32 %4, 0 %6 = select i1 %2, i1 %5, i1 false %7 = zext i1 %6 to i32 ret i32 %7 } 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)"}
radare2_libr_asm_arch_arm_extr_armass64.c_isMask
; ModuleID = 'linux_drivers_mmc_host_extr_s3cmci.c_dbg_dumpregs.so' source_filename = "linux_drivers_mmc_host_extr_s3cmci.c_dbg_dumpregs.so" define dso_local void @dbg_dumpregs() { entry: ret void }
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_s3cmci.c_dbg_dumpregs.c' source_filename = "AnghaBench/linux/drivers/mmc/host/extr_s3cmci.c_dbg_dumpregs.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 @dbg_dumpregs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @dbg_dumpregs(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_mmc_host_extr_s3cmci.c_dbg_dumpregs
; ModuleID = 'redis_src_extr_module.c_zsetKeyReset.so' source_filename = "redis_src_extr_module.c_zsetKeyReset.so" @REDISMODULE_ZSET_RANGE_NONE = common dso_local global i32 0, align 4 define dso_local i32 @zsetKeyReset(i64 %arg1) { entry: %memload = load i32, ptr @REDISMODULE_ZSET_RANGE_NONE, align 1 %memref-disp = add i64 %arg1, 16 %0 = inttoptr i64 %memref-disp to ptr store i32 %memload, ptr %0, align 1 %memref-disp1 = add i64 %arg1, 8 %1 = inttoptr i64 %memref-disp1 to ptr %2 = sext i32 0 to i64 store i64 %2, ptr %1, align 1 %3 = inttoptr i64 %arg1 to ptr store i32 1, ptr %3, align 1 ret i32 %memload }
; ModuleID = 'AnghaBench/redis/src/extr_module.c_zsetKeyReset.c' source_filename = "AnghaBench/redis/src/extr_module.c_zsetKeyReset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REDISMODULE_ZSET_RANGE_NONE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define void @zsetKeyReset(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @REDISMODULE_ZSET_RANGE_NONE, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %2, ptr %3, align 8, !tbaa !10 %4 = getelementptr inbounds i8, ptr %0, i64 8 store ptr null, ptr %4, align 8, !tbaa !13 store i32 1, ptr %0, align 8, !tbaa !14 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_3__", !7, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!11, !7, i64 0}
redis_src_extr_module.c_zsetKeyReset
; ModuleID = 'freebsd_contrib_gdb_gdb_extr_remote-rdp.c_remote_rdp_attach.so' source_filename = "freebsd_contrib_gdb_gdb_extr_remote-rdp.c_remote_rdp_attach.so" define dso_local void @remote_rdp_attach() { entry: ret void }
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-rdp.c_remote_rdp_attach.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-rdp.c_remote_rdp_attach.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 @remote_rdp_attach], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @remote_rdp_attach(ptr nocapture readnone %0, i32 %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gdb_gdb_extr_remote-rdp.c_remote_rdp_attach
; ModuleID = 'RetroArch_wii_libogc_libdb_uIP_extr_uip_netif.c_uip_netif_setup.so' source_filename = "RetroArch_wii_libogc_libdb_uIP_extr_uip_netif.c_uip_netif_setup.so" @UIP_NETIF_FLAG_UP = common dso_local global i32 0, align 4 define dso_local i32 @uip_netif_setup(i64 %arg1) { entry: %memload = load i32, ptr @UIP_NETIF_FLAG_UP, align 1 %0 = inttoptr i64 %arg1 to ptr %1 = load i32, ptr %0, align 1 %2 = or i32 %1, %memload %3 = and i32 %2, 255 %4 = call i32 @llvm.ctpop.i32(i32 %3) %5 = and i32 %4, 1 %PF = icmp eq i32 %5, 0 store i32 %2, ptr %0, align 1 ret i32 %memload } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libdb/uIP/extr_uip_netif.c_uip_netif_setup.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libdb/uIP/extr_uip_netif.c_uip_netif_setup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UIP_NETIF_FLAG_UP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @uip_netif_setup(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @UIP_NETIF_FLAG_UP, align 4, !tbaa !6 %3 = load i32, ptr %0, align 4, !tbaa !10 %4 = or i32 %3, %2 store i32 %4, ptr %0, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"uip_netif", !7, i64 0}
RetroArch_wii_libogc_libdb_uIP_extr_uip_netif.c_uip_netif_setup
; ModuleID = 'freebsd_contrib_wpa_src_p2p_extr_p2p.c_p2p_set_dev_persistent.so' source_filename = "freebsd_contrib_wpa_src_p2p_extr_p2p.c_p2p_set_dev_persistent.so" @P2P_DEV_PREFER_PERSISTENT_GROUP = common dso_local global i32 0, align 4 @P2P_DEV_PREFER_PERSISTENT_RECONN = common dso_local global i32 0, align 4 define dso_local void @p2p_set_dev_persistent(i64 %arg1, i32 %arg2) { entry: %EAX-SKT-LOC = alloca i32, align 4 %0 = sub i32 %arg2, 2 %1 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %arg2, i32 2) %CF = extractvalue { i32, i1 } %1, 1 %ZF = icmp eq i32 %0, 0 %highbit = and i32 -2147483648, %0 %SF = icmp ne i32 %highbit, 0 %2 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %arg2, i32 2) %OF = extractvalue { i32, i1 } %2, 1 %3 = and i32 %0, 255 %4 = call i32 @llvm.ctpop.i32(i32 %3) %5 = and i32 %4, 1 %PF = icmp eq i32 %5, 0 %CmpZF_JE = icmp eq i1 %ZF, true br i1 %CmpZF_JE, label %bb.4, label %bb.1 bb.1: ; preds = %entry %6 = sub i32 %arg2, 1 %7 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %arg2, i32 1) %CF1 = extractvalue { i32, i1 } %7, 1 %ZF2 = icmp eq i32 %6, 0 %highbit3 = and i32 -2147483648, %6 %SF4 = icmp ne i32 %highbit3, 0 %8 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %arg2, i32 1) %OF5 = extractvalue { i32, i1 } %8, 1 %9 = and i32 %6, 255 %10 = call i32 @llvm.ctpop.i32(i32 %9) %11 = and i32 %10, 1 %PF6 = icmp eq i32 %11, 0 %CmpZF_JE1 = icmp eq i1 %ZF2, true br i1 %CmpZF_JE1, label %bb.5, label %bb.2 bb.2: ; preds = %bb.1 %12 = and i32 %arg2, %arg2 %highbit7 = and i32 -2147483648, %12 %SF8 = icmp ne i32 %highbit7, 0 %ZF9 = icmp eq i32 %12, 0 %13 = and i32 %12, 255 %14 = call i32 @llvm.ctpop.i32(i32 %13) %15 = and i32 %14, 1 %PF10 = icmp eq i32 %15, 0 %CmpZF_JNE = icmp eq i1 %ZF9, false br i1 %CmpZF_JNE, label %bb.7, label %bb.3 bb.3: ; preds = %bb.2 %memload = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_RECONN, align 1 %memload11 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_GROUP, align 1 %EAX = or i32 %memload, %memload11 %16 = and i32 %EAX, 255 %17 = call i32 @llvm.ctpop.i32(i32 %16) %18 = and i32 %17, 1 %PF12 = icmp eq i32 %18, 0 %EAX13 = xor i32 %EAX, -1 %19 = inttoptr i64 %arg1 to ptr %memload14 = load i32, ptr %19, align 1 %EAX16 = and i32 %EAX13, %memload14 %20 = and i32 %EAX16, 255 %21 = call i32 @llvm.ctpop.i32(i32 %20) %22 = and i32 %21, 1 %PF15 = icmp eq i32 %22, 0 store i32 %EAX16, ptr %EAX-SKT-LOC, align 1 br label %bb.6 bb.5: ; preds = %bb.1 %23 = inttoptr i64 %arg1 to ptr %memload17 = load i32, ptr %23, align 1 %memload18 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_GROUP, align 1 %ECX = or i32 %memload17, %memload18 %24 = and i32 %ECX, 255 %25 = call i32 @llvm.ctpop.i32(i32 %24) %26 = and i32 %25, 1 %PF19 = icmp eq i32 %26, 0 %27 = inttoptr i64 %arg1 to ptr store i32 %ECX, ptr %27, align 1 %memload20 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_RECONN, align 1 %EAX21 = xor i32 %memload20, -1 %EAX26 = and i32 %EAX21, %ECX %highbit22 = and i32 -2147483648, %EAX26 %SF23 = icmp ne i32 %highbit22, 0 %ZF24 = icmp eq i32 %EAX26, 0 %28 = and i32 %EAX26, 255 %29 = call i32 @llvm.ctpop.i32(i32 %28) %30 = and i32 %29, 1 %PF25 = icmp eq i32 %30, 0 store i32 %EAX26, ptr %EAX-SKT-LOC, align 1 br label %bb.6 bb.4: ; preds = %entry %memload27 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_RECONN, align 1 %memload28 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_GROUP, align 1 %EAX30 = or i32 %memload27, %memload28 %31 = and i32 %EAX30, 255 %32 = call i32 @llvm.ctpop.i32(i32 %31) %33 = and i32 %32, 1 %PF29 = icmp eq i32 %33, 0 %34 = inttoptr i64 %arg1 to ptr %memload31 = load i32, ptr %34, align 1 %EAX33 = or i32 %EAX30, %memload31 %35 = and i32 %EAX33, 255 %36 = call i32 @llvm.ctpop.i32(i32 %35) %37 = and i32 %36, 1 %PF32 = icmp eq i32 %37, 0 store i32 %EAX33, ptr %EAX-SKT-LOC, align 1 br label %bb.6 bb.6: ; preds = %bb.5, %bb.4, %bb.3 %EAX34 = load i32, ptr %EAX-SKT-LOC, align 1 %38 = inttoptr i64 %arg1 to ptr store i32 %EAX34, ptr %38, align 1 br label %bb.7 bb.7: ; preds = %bb.6, %bb.2 ret void } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.usub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.ssub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_set_dev_persistent.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p.c_p2p_set_dev_persistent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @P2P_DEV_PREFER_PERSISTENT_GROUP = common local_unnamed_addr global i32 0, align 4 @P2P_DEV_PREFER_PERSISTENT_RECONN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @p2p_set_dev_persistent], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @p2p_set_dev_persistent(ptr nocapture noundef %0, i32 noundef %1) #0 { switch i32 %1, label %25 [ i32 0, label %3 i32 1, label %10 i32 2, label %17 ] 3: ; preds = %2 %4 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_GROUP, align 4, !tbaa !6 %5 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_RECONN, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = xor i32 %6, -1 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = and i32 %8, %7 br label %23 10: ; preds = %2 %11 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_GROUP, align 4, !tbaa !6 %12 = load i32, ptr %0, align 4, !tbaa !10 %13 = or i32 %12, %11 store i32 %13, ptr %0, align 4, !tbaa !10 %14 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_RECONN, align 4, !tbaa !6 %15 = xor i32 %14, -1 %16 = and i32 %13, %15 br label %23 17: ; preds = %2 %18 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_GROUP, align 4, !tbaa !6 %19 = load i32, ptr @P2P_DEV_PREFER_PERSISTENT_RECONN, align 4, !tbaa !6 %20 = or i32 %19, %18 %21 = load i32, ptr %0, align 4, !tbaa !10 %22 = or i32 %20, %21 br label %23 23: ; preds = %3, %10, %17 %24 = phi i32 [ %22, %17 ], [ %16, %10 ], [ %9, %3 ] store i32 %24, ptr %0, align 4, !tbaa !10 br label %25 25: ; preds = %23, %2 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"p2p_device", !7, i64 0}
freebsd_contrib_wpa_src_p2p_extr_p2p.c_p2p_set_dev_persistent
; ModuleID = 'linux_kernel_sched_extr_loadavg.c_calc_global_nohz.so' source_filename = "linux_kernel_sched_extr_loadavg.c_calc_global_nohz.so" define dso_local void @calc_global_nohz() { entry: ret void }
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_loadavg.c_calc_global_nohz.c' source_filename = "AnghaBench/linux/kernel/sched/extr_loadavg.c_calc_global_nohz.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 @calc_global_nohz], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @calc_global_nohz() #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_kernel_sched_extr_loadavg.c_calc_global_nohz
; ModuleID = 'freebsd_sys_dev_nvme_extr_nvme.c_nvme_unregister_consumer.so' source_filename = "freebsd_sys_dev_nvme_extr_nvme.c_nvme_unregister_consumer.so" @INVALID_CONSUMER_ID = common dso_local global i32 0, align 4 define dso_local i32 @nvme_unregister_consumer(i64 %arg1) { entry: %memload = load i32, ptr @INVALID_CONSUMER_ID, align 1 %0 = inttoptr i64 %arg1 to ptr store i32 %memload, ptr %0, align 1 ret i32 %memload }
; ModuleID = 'AnghaBench/freebsd/sys/dev/nvme/extr_nvme.c_nvme_unregister_consumer.c' source_filename = "AnghaBench/freebsd/sys/dev/nvme/extr_nvme.c_nvme_unregister_consumer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INVALID_CONSUMER_ID = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define void @nvme_unregister_consumer(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @INVALID_CONSUMER_ID, align 4, !tbaa !6 store i32 %2, ptr %0, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"nvme_consumer", !7, i64 0}
freebsd_sys_dev_nvme_extr_nvme.c_nvme_unregister_consumer
; ModuleID = 'freebsd_sys_dev_usb_extr_usb_transfer.c_usbd_xfer_maxp_was_clamped.so' source_filename = "freebsd_sys_dev_usb_extr_usb_transfer.c_usbd_xfer_maxp_was_clamped.so" define dso_local i32 @usbd_xfer_maxp_was_clamped(i64 %arg1) { entry: %0 = inttoptr i64 %arg1 to ptr %memload = load i32, ptr %0, align 1 ret i32 %memload }
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/extr_usb_transfer.c_usbd_xfer_maxp_was_clamped.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/extr_usb_transfer.c_usbd_xfer_maxp_was_clamped.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 @usbd_xfer_maxp_was_clamped(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"usb_xfer", !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"}
freebsd_sys_dev_usb_extr_usb_transfer.c_usbd_xfer_maxp_was_clamped
; ModuleID = 'ish_emu_extr_float80.c_f80_neg.so' source_filename = "ish_emu_extr_float80.c_f80_neg.so" define dso_local i32 @f80_neg(i32 %arg1) { entry: %EAX = xor i32 %arg1, -1 ret i32 %EAX }
; ModuleID = 'AnghaBench/ish/emu/extr_float80.c_f80_neg.c' source_filename = "AnghaBench/ish/emu/extr_float80.c_f80_neg.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 i32 @f80_neg(i64 %0) local_unnamed_addr #0 { %2 = trunc i64 %0 to i32 %3 = xor i32 %2, -1 ret i32 %3 } 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)"}
ish_emu_extr_float80.c_f80_neg
; ModuleID = 'fastsocket_kernel_arch_arm_plat-omap_extr_mailbox.c_find_mboxes.so' source_filename = "fastsocket_kernel_arch_arm_plat-omap_extr_mailbox.c_find_mboxes.so" @mboxes = common dso_local global i64 0, align 8 declare dso_local i32 @strcmp(ptr, ptr) define dso_local i64 @find_mboxes(i64 %arg1) { entry: %RBX-SKT-LOC17 = alloca i64, align 8 %RBX-SKT-LOC = alloca i64, align 8 %RAX-SKT-LOC = alloca i64, align 8 %stktop_8 = alloca i8, i32 8, align 1 %tos = ptrtoint ptr %stktop_8 to i64 store i64 3735928559, ptr %stktop_8, align 8 store i64 3735928559, ptr %stktop_8, align 8 store i64 3735928559, ptr %stktop_8, align 8 %memload = load i64, ptr @mboxes, align 1 %0 = and i64 %memload, %memload %highbit = and i64 -9223372036854775808, %0 %SF = icmp ne i64 %highbit, 0 %ZF = icmp eq i64 %0, 0 %1 = and i64 %0, 255 %2 = call i64 @llvm.ctpop.i64(i64 %1) %3 = and i64 %2, 1 %PF = icmp eq i64 %3, 0 store i64 %memload, ptr %RAX-SKT-LOC, align 1 %4 = ptrtoint ptr @mboxes to i64 store i64 %4, ptr %RBX-SKT-LOC17, align 1 %CmpZF_JE = icmp eq i1 %ZF, true br i1 %CmpZF_JE, label %bb.4, label %bb.1 bb.1: ; preds = %entry %5 = ptrtoint ptr @mboxes to i64 store i64 %5, ptr %RBX-SKT-LOC, align 1 %6 = ptrtoint ptr @mboxes to i64 store i64 %6, ptr %RBX-SKT-LOC17, align 1 br label %bb.2 bb.2: ; preds = %bb.1, %bb.3 %RAX = load i64, ptr %RAX-SKT-LOC, align 1 %7 = inttoptr i64 %RAX to ptr %memload1 = load i32, ptr %7, align 1 %8 = inttoptr i32 %memload1 to ptr %9 = inttoptr i64 %arg1 to ptr %EAX = call i32 @strcmp(ptr %8, ptr %9) %10 = zext i32 %EAX to i64 %11 = zext i32 %EAX to i64 %12 = and i64 %10, %11 %highbit2 = and i64 -9223372036854775808, %12 %SF3 = icmp ne i64 %highbit2, 0 %ZF4 = icmp eq i64 %12, 0 %13 = and i64 %12, 255 %14 = call i64 @llvm.ctpop.i64(i64 %13) %15 = and i64 %14, 1 %PF5 = icmp eq i64 %15, 0 %CmpZF_JE19 = icmp eq i1 %ZF4, true br i1 %CmpZF_JE19, label %bb.4, label %bb.3 bb.3: ; preds = %bb.2 %RBX = load i64, ptr %RBX-SKT-LOC, align 1 %16 = inttoptr i64 %RBX to ptr %memload6 = load i64, ptr %16, align 1 %memref-disp = add i64 %memload6, 8 %17 = inttoptr i64 %memref-disp to ptr %memload7 = load i64, ptr %17, align 1 %RBX12 = add i64 %memload6, 8 %18 = call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %memload6, i64 8) %CF = extractvalue { i64, i1 } %18, 1 %19 = and i64 %RBX12, 255 %20 = call i64 @llvm.ctpop.i64(i64 %19) %21 = and i64 %20, 1 %PF8 = icmp eq i64 %21, 0 %ZF9 = icmp eq i64 %RBX12, 0 %highbit10 = and i64 -9223372036854775808, %RBX12 %SF11 = icmp ne i64 %highbit10, 0 %22 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %memload6, i64 8) %OF = extractvalue { i64, i1 } %22, 1 %23 = and i64 %memload7, %memload7 %highbit13 = and i64 -9223372036854775808, %23 %SF14 = icmp ne i64 %highbit13, 0 %ZF15 = icmp eq i64 %23, 0 %24 = and i64 %23, 255 %25 = call i64 @llvm.ctpop.i64(i64 %24) %26 = and i64 %25, 1 %PF16 = icmp eq i64 %26, 0 store i64 %RBX12, ptr %RBX-SKT-LOC17, align 1 %CmpZF_JNE = icmp eq i1 %ZF15, false store i64 %memload7, ptr %RAX-SKT-LOC, align 1 store i64 %RBX12, ptr %RBX-SKT-LOC, align 1 br i1 %CmpZF_JNE, label %bb.2, label %bb.4 bb.4: ; preds = %bb.3, %bb.2, %entry %RBX18 = load i64, ptr %RBX-SKT-LOC17, align 1 ret i64 %RBX18 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.sadd.with.overflow.i64(i64, i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_mailbox.c_find_mboxes.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_mailbox.c_find_mboxes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mboxes = common global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @find_mboxes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef nonnull ptr @find_mboxes(ptr noundef %0) #0 { %2 = load ptr, ptr @mboxes, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %15, label %4 4: ; preds = %1, %10 %5 = phi ptr [ %13, %10 ], [ %2, %1 ] %6 = phi ptr [ %12, %10 ], [ @mboxes, %1 ] %7 = load i32, ptr %5, align 8, !tbaa !10 %8 = tail call i64 @strcmp(i32 noundef %7, ptr noundef %0) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %4 %11 = load ptr, ptr %6, align 8, !tbaa !6 %12 = getelementptr inbounds i8, ptr %11, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !6 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %4, !llvm.loop !13 15: ; preds = %10, %4, %1 %16 = phi ptr [ @mboxes, %1 ], [ %6, %4 ], [ %12, %10 ] ret ptr %16 } declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"omap_mbox", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_arch_arm_plat-omap_extr_mailbox.c_find_mboxes
; ModuleID = 'timescaledb_src_extr_dimension.c_interval_to_usec.so' source_filename = "timescaledb_src_extr_dimension.c_interval_to_usec.so" @DAYS_PER_MONTH = common dso_local global i32 0, align 4 @USECS_PER_DAY = common dso_local global i32 0, align 4 define dso_local i64 @interval_to_usec(i64 %arg1) { entry: %memload = load i32, ptr @DAYS_PER_MONTH, align 1 %0 = inttoptr i64 %arg1 to ptr %memload1 = load i32, ptr %0, align 1 %EAX = mul i32 %memload, %memload1 %memref-disp = add i64 %arg1, 4 %1 = inttoptr i64 %memref-disp to ptr %memload2 = load i32, ptr %1, align 1 %EAX3 = add i32 %EAX, %memload2 %2 = and i32 %EAX3, 255 %3 = call i32 @llvm.ctpop.i32(i32 %2) %4 = and i32 %3, 1 %PF = icmp eq i32 %4, 0 %memload4 = load i32, ptr @USECS_PER_DAY, align 1 %EAX5 = mul i32 %EAX3, %memload4 %RAX = sext i32 %EAX5 to i64 %memref-disp6 = add i64 %arg1, 8 %5 = inttoptr i64 %memref-disp6 to ptr %memload7 = load i64, ptr %5, align 1 %RAX9 = add i64 %RAX, %memload7 %6 = and i64 %RAX9, 255 %7 = call i64 @llvm.ctpop.i64(i64 %6) %8 = and i64 %7, 1 %PF8 = icmp eq i64 %8, 0 ret i64 %RAX9 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/timescaledb/src/extr_dimension.c_interval_to_usec.c' source_filename = "AnghaBench/timescaledb/src/extr_dimension.c_interval_to_usec.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DAYS_PER_MONTH = common local_unnamed_addr global i32 0, align 4 @USECS_PER_DAY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @interval_to_usec], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i64 @interval_to_usec(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @DAYS_PER_MONTH, align 4, !tbaa !12 %4 = mul nsw i32 %3, %2 %5 = load i32, ptr @USECS_PER_DAY, align 4, !tbaa !12 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = add i32 %7, %4 %9 = mul i32 %8, %5 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !14 %13 = add nsw i64 %12, %10 ret i64 %13 } 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 = !{!"TYPE_3__", !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 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!7, !11, i64 8}
timescaledb_src_extr_dimension.c_interval_to_usec
; ModuleID = 'linux_drivers_media_usb_gspca_extr_se401.c_sd_init.so' source_filename = "linux_drivers_media_usb_gspca_extr_se401.c_sd_init.so" define dso_local i32 @sd_init() { entry: ret i32 0 }
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_se401.c_sd_init.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_se401.c_sd_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @sd_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @sd_init(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_media_usb_gspca_extr_se401.c_sd_init
; ModuleID = 'fastsocket_kernel_sound_pci_ac97_extr_ac97_codec.c_snd_ac97_info_enum_double.so' source_filename = "fastsocket_kernel_sound_pci_ac97_extr_ac97_codec.c_snd_ac97_info_enum_double.so" @SNDRV_CTL_ELEM_TYPE_ENUMERATED = common dso_local global i32 0, align 4 declare dso_local ptr @strcpy(ptr, ptr) define dso_local i32 @snd_ac97_info_enum_double(i64 %arg1, i64 %arg2) { entry: %EDX-SKT-LOC = alloca i32, align 4 %stktop_8 = alloca i8, i32 8, align 1 %tos = ptrtoint ptr %stktop_8 to i64 store i64 3735928559, ptr %stktop_8, align 8 %0 = inttoptr i64 %arg1 to ptr %memload = load i64, ptr %0, align 1 %memload1 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_ENUMERATED, align 1 %memref-disp = add i64 %arg2, 16 %1 = inttoptr i64 %memref-disp to ptr store i32 %memload1, ptr %1, align 1 %2 = inttoptr i64 %memload to ptr %memload2 = load i64, ptr %2, align 1 %memref-disp3 = add i64 %memload, 8 %3 = inttoptr i64 %memref-disp3 to ptr %4 = load i64, ptr %3, align 1 %5 = sub i64 %memload2, %4 %6 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %memload2, i64 %4) %CF = extractvalue { i64, i1 } %6, 1 %ZF = icmp eq i64 %5, 0 %highbit = and i64 -9223372036854775808, %5 %SF = icmp ne i64 %highbit, 0 %7 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %memload2, i64 %4) %OF = extractvalue { i64, i1 } %7, 1 %8 = and i64 %5, 255 %9 = call i64 @llvm.ctpop.i64(i64 %8) %10 = and i64 %9, 1 %PF = icmp eq i64 %10, 0 %DL = icmp eq i1 %ZF, true %11 = zext i1 %DL to i32 %ECX = sub i32 2, %11 %12 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 2, i32 %11) %CF4 = extractvalue { i32, i1 } %12, 1 %ZF5 = icmp eq i32 %ECX, 0 %highbit6 = and i32 -2147483648, %ECX %SF7 = icmp ne i32 %highbit6, 0 %13 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 2, i32 %11) %OF8 = extractvalue { i32, i1 } %13, 1 %14 = and i32 %ECX, 255 %15 = call i32 @llvm.ctpop.i32(i32 %14) %16 = and i32 %15, 1 %PF9 = icmp eq i32 %16, 0 %17 = inttoptr i64 %arg2 to ptr store i32 %ECX, ptr %17, align 1 %memref-disp10 = add i64 %memload, 16 %18 = inttoptr i64 %memref-disp10 to ptr %memload11 = load i32, ptr %18, align 1 %memref-disp12 = add i64 %arg2, 4 %19 = inttoptr i64 %memref-disp12 to ptr store i32 %memload11, ptr %19, align 1 %memref-disp13 = add i64 %arg2, 8 %20 = inttoptr i64 %memref-disp13 to ptr %memload14 = load i32, ptr %20, align 1 %21 = sub i32 %memload14, %memload11 %22 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %memload14, i32 %memload11) %CF15 = extractvalue { i32, i1 } %22, 1 %ZF16 = icmp eq i32 %21, 0 %highbit17 = and i32 -2147483648, %21 %SF18 = icmp ne i32 %highbit17, 0 %23 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %memload14, i32 %memload11) %OF19 = extractvalue { i32, i1 } %23, 1 %24 = and i32 %21, 255 %25 = call i32 @llvm.ctpop.i32(i32 %24) %26 = and i32 %25, 1 %PF20 = icmp eq i32 %26, 0 store i32 %memload14, ptr %EDX-SKT-LOC, align 1 %SFAndOF_JL = icmp ne i1 %SF18, %OF19 br i1 %SFAndOF_JL, label %bb.2, label %bb.1 bb.1: ; preds = %entry %ECX25 = sub i32 %memload11, 1 %27 = and i32 %ECX25, 255 %28 = call i32 @llvm.ctpop.i32(i32 %27) %29 = and i32 %28, 1 %PF21 = icmp eq i32 %29, 0 %ZF22 = icmp eq i32 %ECX25, 0 %highbit23 = and i32 -2147483648, %ECX25 %SF24 = icmp ne i32 %highbit23, 0 %memref-disp26 = add i64 %arg2, 8 %30 = inttoptr i64 %memref-disp26 to ptr store i32 %ECX25, ptr %30, align 1 store i32 %ECX25, ptr %EDX-SKT-LOC, align 1 br label %bb.2 bb.2: ; preds = %bb.1, %entry %memref-disp27 = add i64 %arg2, 12 %31 = inttoptr i64 %memref-disp27 to ptr %memload28 = load i32, ptr %31, align 1 %memref-disp29 = add i64 %memload, 24 %32 = inttoptr i64 %memref-disp29 to ptr %memload30 = load i64, ptr %32, align 1 %EDX = load i32, ptr %EDX-SKT-LOC, align 1 %RCX = sext i32 %EDX to i64 %memref-idxreg = mul i64 4, %RCX %memref-basereg = add i64 %memload30, %memref-idxreg %33 = inttoptr i64 %memref-basereg to ptr %memload31 = load i32, ptr %33, align 1 %34 = inttoptr i32 %memload28 to ptr %35 = inttoptr i32 %memload31 to ptr %36 = call ptr @strcpy(ptr %34, ptr %35) %RAX = ptrtoint ptr %36 to i64 ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.usub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.ssub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_codec.c_snd_ac97_info_enum_double.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_codec.c_snd_ac97_info_enum_double.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SNDRV_CTL_ELEM_TYPE_ENUMERATED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_ac97_info_enum_double], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @snd_ac97_info_enum_double(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr @SNDRV_CTL_ELEM_TYPE_ENUMERATED, align 4, !tbaa !11 %6 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %5, ptr %6, align 4, !tbaa !13 %7 = load i64, ptr %4, align 8, !tbaa !17 %8 = getelementptr inbounds i8, ptr %4, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !20 %10 = icmp eq i64 %7, %9 %11 = select i1 %10, i32 1, i32 2 store i32 %11, ptr %1, align 4, !tbaa !21 %12 = getelementptr inbounds i8, ptr %4, i64 16 %13 = load i32, ptr %12, align 8, !tbaa !22 %14 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %13, ptr %14, align 4, !tbaa !23 %15 = getelementptr inbounds i8, ptr %1, i64 8 %16 = load i32, ptr %15, align 4, !tbaa !24 %17 = icmp slt i32 %16, %13 br i1 %17, label %20, label %18 18: ; preds = %2 %19 = add nsw i32 %13, -1 store i32 %19, ptr %15, align 4, !tbaa !24 br label %20 20: ; preds = %18, %2 %21 = phi i32 [ %19, %18 ], [ %16, %2 ] %22 = getelementptr inbounds i8, ptr %1, i64 12 %23 = load i32, ptr %22, align 4, !tbaa !25 %24 = getelementptr inbounds i8, ptr %4, i64 24 %25 = load ptr, ptr %24, align 8, !tbaa !26 %26 = sext i32 %21 to i64 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !11 %29 = tail call i32 @strcpy(i32 noundef %23, i32 noundef %28) #2 ret i32 0 } declare i32 @strcpy(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 = !{!"snd_kcontrol", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 16} !14 = !{!"snd_ctl_elem_info", !12, i64 0, !15, i64 4, !12, i64 16} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"TYPE_3__", !12, i64 0, !12, i64 4, !12, i64 8} !17 = !{!18, !8, i64 0} !18 = !{!"ac97_enum", !8, i64 0, !8, i64 8, !12, i64 16, !19, i64 24} !19 = !{!"any pointer", !9, i64 0} !20 = !{!18, !8, i64 8} !21 = !{!14, !12, i64 0} !22 = !{!18, !12, i64 16} !23 = !{!14, !12, i64 4} !24 = !{!14, !12, i64 8} !25 = !{!14, !12, i64 12} !26 = !{!18, !19, i64 24}
fastsocket_kernel_sound_pci_ac97_extr_ac97_codec.c_snd_ac97_info_enum_double
; ModuleID = 'linux_arch_arm_mach-pxa_extr_gumstix.c_am300_init.so' source_filename = "linux_arch_arm_mach-pxa_extr_gumstix.c_am300_init.so" define dso_local i32 @am300_init() { entry: ret i32 0 }
; ModuleID = 'AnghaBench/linux/arch/arm/mach-pxa/extr_gumstix.c_am300_init.c' source_filename = "AnghaBench/linux/arch/arm/mach-pxa/extr_gumstix.c_am300_init.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 weak i32 @am300_init() local_unnamed_addr #0 { ret i32 0 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_arm_mach-pxa_extr_gumstix.c_am300_init
; ModuleID = 'fastsocket_kernel_net_rds_extr_ib_rdma.c_rds_ib_get_mr_info.so' source_filename = "fastsocket_kernel_net_rds_extr_ib_rdma.c_rds_ib_get_mr_info.so" define dso_local i64 @rds_ib_get_mr_info(i64 %arg1, i64 %arg2) { entry: %0 = inttoptr i64 %arg1 to ptr %memload = load i64, ptr %0, align 1 %1 = inttoptr i64 %memload to ptr %memload1 = load i64, ptr %1, align 1 %2 = inttoptr i64 %arg2 to ptr store i64 %memload1, ptr %2, align 1 ret i64 %memload1 }
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rds/extr_ib_rdma.c_rds_ib_get_mr_info.c' source_filename = "AnghaBench/fastsocket/kernel/net/rds/extr_ib_rdma.c_rds_ib_get_mr_info.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(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @rds_ib_get_mr_info(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load <2 x i32>, ptr %3, align 4, !tbaa !11 store <2 x i32> %4, ptr %1, align 4, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rds_ib_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
fastsocket_kernel_net_rds_extr_ib_rdma.c_rds_ib_get_mr_info
; ModuleID = 'linux_drivers_scsi_device_handler_extr_scsi_dh_emc.c_clariion_check_sense.so' source_filename = "linux_drivers_scsi_device_handler_extr_scsi_dh_emc.c_clariion_check_sense.so" @SUCCESS = common dso_local global i32 0, align 4 @ADD_TO_MLQUEUE = common dso_local global i32 0, align 4 @SCSI_RETURN_NOT_HANDLED = common dso_local global i32 0, align 4 define dso_local i32 @clariion_check_sense(i64 %arg1, i64 %arg2) { entry: %0 = inttoptr i64 %arg2 to ptr %memload = load i32, ptr %0, align 1 %1 = sub i32 %memload, 128 %2 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %memload, i32 128) %CF = extractvalue { i32, i1 } %2, 1 %ZF = icmp eq i32 %1, 0 %highbit = and i32 -2147483648, %1 %SF = icmp ne i32 %highbit, 0 %3 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %memload, i32 128) %OF = extractvalue { i32, i1 } %3, 1 %4 = and i32 %1, 255 %5 = call i32 @llvm.ctpop.i32(i32 %4) %6 = and i32 %5, 1 %PF = icmp eq i32 %6, 0 %CmpZF_JE = icmp eq i1 %ZF, true br i1 %CmpZF_JE, label %bb.6, label %bb.1 bb.1: ; preds = %entry %7 = sub i32 %memload, 130 %8 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %memload, i32 130) %CF1 = extractvalue { i32, i1 } %8, 1 %ZF2 = icmp eq i32 %7, 0 %highbit3 = and i32 -2147483648, %7 %SF4 = icmp ne i32 %highbit3, 0 %9 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %memload, i32 130) %OF5 = extractvalue { i32, i1 } %9, 1 %10 = and i32 %7, 255 %11 = call i32 @llvm.ctpop.i32(i32 %10) %12 = and i32 %11, 1 %PF6 = icmp eq i32 %12, 0 %CmpZF_JE57 = icmp eq i1 %ZF2, true br i1 %CmpZF_JE57, label %bb.9, label %bb.2 bb.2: ; preds = %bb.1 %13 = sub i32 %memload, 129 %14 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %memload, i32 129) %CF7 = extractvalue { i32, i1 } %14, 1 %ZF8 = icmp eq i32 %13, 0 %highbit9 = and i32 -2147483648, %13 %SF10 = icmp ne i32 %highbit9, 0 %15 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %memload, i32 129) %OF11 = extractvalue { i32, i1 } %15, 1 %16 = and i32 %13, 255 %17 = call i32 @llvm.ctpop.i32(i32 %16) %18 = and i32 %17, 1 %PF12 = icmp eq i32 %18, 0 %CmpZF_JNE = icmp eq i1 %ZF8, false br i1 %CmpZF_JNE, label %bb.12, label %bb.3 bb.3: ; preds = %bb.2 %memref-disp = add i64 %arg2, 4 %19 = inttoptr i64 %memref-disp to ptr %20 = load i32, ptr %19, align 1 %21 = zext i32 %20 to i64 %22 = zext i32 4 to i64 %23 = sub i64 %21, %22 %24 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %21, i64 %22) %CF13 = extractvalue { i64, i1 } %24, 1 %ZF14 = icmp eq i64 %23, 0 %highbit15 = and i64 -9223372036854775808, %23 %SF16 = icmp ne i64 %highbit15, 0 %25 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %21, i64 %22) %OF17 = extractvalue { i64, i1 } %25, 1 %26 = and i64 %23, 255 %27 = call i64 @llvm.ctpop.i64(i64 %26) %28 = and i64 %27, 1 %PF18 = icmp eq i64 %28, 0 %CmpZF_JNE58 = icmp eq i1 %ZF14, false br i1 %CmpZF_JNE58, label %bb.12, label %bb.4 bb.4: ; preds = %bb.3 %memref-disp19 = add i64 %arg2, 8 %29 = inttoptr i64 %memref-disp19 to ptr %30 = load i32, ptr %29, align 1 %31 = zext i32 %30 to i64 %32 = zext i32 3 to i64 %33 = sub i64 %31, %32 %34 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %31, i64 %32) %CF20 = extractvalue { i64, i1 } %34, 1 %ZF21 = icmp eq i64 %33, 0 %highbit22 = and i64 -9223372036854775808, %33 %SF23 = icmp ne i64 %highbit22, 0 %35 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %31, i64 %32) %OF24 = extractvalue { i64, i1 } %35, 1 %36 = and i64 %33, 255 %37 = call i64 @llvm.ctpop.i64(i64 %36) %38 = and i64 %37, 1 %PF25 = icmp eq i64 %38, 0 %CmpZF_JNE59 = icmp eq i1 %ZF21, false br i1 %CmpZF_JNE59, label %bb.12, label %bb.5 bb.5: ; preds = %bb.4 br label %bb.11 bb.9: ; preds = %bb.1 %memref-disp26 = add i64 %arg2, 4 %39 = inttoptr i64 %memref-disp26 to ptr %40 = load i32, ptr %39, align 1 %41 = zext i32 %40 to i64 %42 = zext i32 37 to i64 %43 = sub i64 %41, %42 %44 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %41, i64 %42) %CF27 = extractvalue { i64, i1 } %44, 1 %ZF28 = icmp eq i64 %43, 0 %highbit29 = and i64 -9223372036854775808, %43 %SF30 = icmp ne i64 %highbit29, 0 %45 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %41, i64 %42) %OF31 = extractvalue { i64, i1 } %45, 1 %46 = and i64 %43, 255 %47 = call i64 @llvm.ctpop.i64(i64 %46) %48 = and i64 %47, 1 %PF32 = icmp eq i64 %48, 0 %CmpZF_JNE60 = icmp eq i1 %ZF28, false br i1 %CmpZF_JNE60, label %bb.12, label %bb.10 bb.10: ; preds = %bb.9 %memref-disp33 = add i64 %arg2, 8 %49 = inttoptr i64 %memref-disp33 to ptr %50 = load i32, ptr %49, align 1 %51 = zext i32 %50 to i64 %52 = zext i32 1 to i64 %53 = sub i64 %51, %52 %54 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %51, i64 %52) %CF34 = extractvalue { i64, i1 } %54, 1 %ZF35 = icmp eq i64 %53, 0 %highbit36 = and i64 -9223372036854775808, %53 %SF37 = icmp ne i64 %highbit36, 0 %55 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %51, i64 %52) %OF38 = extractvalue { i64, i1 } %55, 1 %56 = and i64 %53, 255 %57 = call i64 @llvm.ctpop.i64(i64 %56) %58 = and i64 %57, 1 %PF39 = icmp eq i64 %58, 0 %CmpZF_JNE61 = icmp eq i1 %ZF35, false br i1 %CmpZF_JNE61, label %bb.12, label %bb.11 bb.11: ; preds = %bb.10, %bb.5 %memload40 = load i32, ptr @SUCCESS, align 1 br label %UnifiedReturnBlock bb.6: ; preds = %entry %memref-disp41 = add i64 %arg2, 4 %59 = inttoptr i64 %memref-disp41 to ptr %60 = load i32, ptr %59, align 1 %61 = zext i32 %60 to i64 %62 = zext i32 41 to i64 %63 = sub i64 %61, %62 %64 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %61, i64 %62) %CF42 = extractvalue { i64, i1 } %64, 1 %ZF43 = icmp eq i64 %63, 0 %highbit44 = and i64 -9223372036854775808, %63 %SF45 = icmp ne i64 %highbit44, 0 %65 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %61, i64 %62) %OF46 = extractvalue { i64, i1 } %65, 1 %66 = and i64 %63, 255 %67 = call i64 @llvm.ctpop.i64(i64 %66) %68 = and i64 %67, 1 %PF47 = icmp eq i64 %68, 0 %CmpZF_JNE62 = icmp eq i1 %ZF43, false br i1 %CmpZF_JNE62, label %bb.12, label %bb.7 bb.7: ; preds = %bb.6 %memref-disp48 = add i64 %arg2, 8 %69 = inttoptr i64 %memref-disp48 to ptr %70 = load i32, ptr %69, align 1 %71 = zext i32 %70 to i64 %72 = zext i32 0 to i64 %73 = sub i64 %71, %72 %74 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %71, i64 %72) %CF49 = extractvalue { i64, i1 } %74, 1 %ZF50 = icmp eq i64 %73, 0 %highbit51 = and i64 -9223372036854775808, %73 %SF52 = icmp ne i64 %highbit51, 0 %75 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %71, i64 %72) %OF53 = extractvalue { i64, i1 } %75, 1 %76 = and i64 %73, 255 %77 = call i64 @llvm.ctpop.i64(i64 %76) %78 = and i64 %77, 1 %PF54 = icmp eq i64 %78, 0 %CmpZF_JNE63 = icmp eq i1 %ZF50, false br i1 %CmpZF_JNE63, label %bb.12, label %bb.8 bb.8: ; preds = %bb.7 %memload55 = load i32, ptr @ADD_TO_MLQUEUE, align 1 br label %UnifiedReturnBlock bb.12: ; preds = %bb.7, %bb.6, %bb.10, %bb.9, %bb.4, %bb.3, %bb.2 %memload56 = load i32, ptr @SCSI_RETURN_NOT_HANDLED, align 1 br label %UnifiedReturnBlock UnifiedReturnBlock: ; preds = %bb.12, %bb.8, %bb.11 %UnifiedRetVal = phi i32 [ %memload40, %bb.11 ], [ %memload55, %bb.8 ], [ %memload56, %bb.12 ] ret i32 %UnifiedRetVal } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.usub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.ssub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/linux/drivers/scsi/device_handler/extr_scsi_dh_emc.c_clariion_check_sense.c' source_filename = "AnghaBench/linux/drivers/scsi/device_handler/extr_scsi_dh_emc.c_clariion_check_sense.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SUCCESS = common local_unnamed_addr global i32 0, align 4 @ADD_TO_MLQUEUE = common local_unnamed_addr global i32 0, align 4 @SCSI_RETURN_NOT_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @clariion_check_sense], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @clariion_check_sense(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 switch i32 %3, label %28 [ i32 129, label %4 i32 130, label %12 i32 128, label %20 ] 4: ; preds = %2 %5 = getelementptr inbounds i8, ptr %1, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = icmp eq i32 %6, 4 br i1 %7, label %8, label %28 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = icmp eq i32 %10, 3 br i1 %11, label %29, label %28 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %1, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = icmp eq i32 %14, 37 br i1 %15, label %16, label %28 16: ; preds = %12 %17 = getelementptr inbounds i8, ptr %1, i64 8 %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = icmp eq i32 %18, 1 br i1 %19, label %29, label %28 20: ; preds = %2 %21 = getelementptr inbounds i8, ptr %1, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !11 %23 = icmp eq i32 %22, 41 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = getelementptr inbounds i8, ptr %1, i64 8 %26 = load i32, ptr %25, align 4, !tbaa !12 %27 = icmp eq i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %20, %24, %12, %16, %4, %8, %2 br label %29 29: ; preds = %24, %16, %8, %28 %30 = phi ptr [ @SCSI_RETURN_NOT_HANDLED, %28 ], [ @SUCCESS, %8 ], [ @SUCCESS, %16 ], [ @ADD_TO_MLQUEUE, %24 ] %31 = load i32, ptr %30, align 4, !tbaa !13 ret i32 %31 } 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 = !{!"scsi_sense_hdr", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!7, !8, i64 8} !13 = !{!8, !8, i64 0}
linux_drivers_scsi_device_handler_extr_scsi_dh_emc.c_clariion_check_sense
; ModuleID = 'freebsd_contrib_binutils_libiberty_extr_cp-demangle.c_d_print_saw_error.so' source_filename = "freebsd_contrib_binutils_libiberty_extr_cp-demangle.c_d_print_saw_error.so" define dso_local i8 @d_print_saw_error(i64 %arg1) { entry: %0 = inttoptr i64 %arg1 to ptr %1 = load i64, ptr %0, align 1 %2 = sub i64 %1, 0 %3 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %1, i64 0) %CF = extractvalue { i64, i1 } %3, 1 %ZF = icmp eq i64 %2, 0 %highbit = and i64 -9223372036854775808, %2 %SF = icmp ne i64 %highbit, 0 %4 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %1, i64 0) %OF = extractvalue { i64, i1 } %4, 1 %5 = and i64 %2, 255 %6 = call i64 @llvm.ctpop.i64(i64 %5) %7 = and i64 %6, 1 %PF = icmp eq i64 %7, 0 %AL = icmp eq i1 %ZF, false %8 = zext i1 %AL to i8 ret i8 %8 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/libiberty/extr_cp-demangle.c_d_print_saw_error.c' source_filename = "AnghaBench/freebsd/contrib/binutils/libiberty/extr_cp-demangle.c_d_print_saw_error.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 @d_print_saw_error], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @d_print_saw_error(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp ne i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"d_print_info", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_binutils_libiberty_extr_cp-demangle.c_d_print_saw_error
; ModuleID = 'radare2_libr_asm_p_extr_asm_xtensa.c_xtensa_buffer_read_memory.so' source_filename = "radare2_libr_asm_p_extr_asm_xtensa.c_xtensa_buffer_read_memory.so" @INSN_BUFFER_SIZE = common dso_local global i64 0, align 8 @bytes = common dso_local global i32 0, align 4 declare dso_local ptr @memcpy(ptr, ptr, i64) define dso_local i32 @xtensa_buffer_read_memory(i64 %arg1, i64 %arg2, i64 %arg3) { entry: %RSP_P.0 = alloca i64, align 1 store i64 3735928559, ptr %RSP_P.0, align 8 %memload = load i64, ptr @INSN_BUFFER_SIZE, align 1 %0 = sub i64 %memload, %arg3 %1 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %memload, i64 %arg3) %CF = extractvalue { i64, i1 } %1, 1 %ZF = icmp eq i64 %0, 0 %highbit = and i64 -9223372036854775808, %0 %SF = icmp ne i64 %highbit, 0 %2 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %memload, i64 %arg3) %OF = extractvalue { i64, i1 } %2, 1 %3 = and i64 %0, 255 %4 = call i64 @llvm.ctpop.i64(i64 %3) %5 = and i64 %4, 1 %PF = icmp eq i64 %5, 0 %Cond_CMOVL = icmp ne i1 %SF, %OF %CMOV = select i1 %Cond_CMOVL, i64 %memload, i64 %arg3 %memload1 = load i32, ptr @bytes, align 1 %6 = inttoptr i64 %arg2 to ptr %7 = inttoptr i32 %memload1 to ptr %8 = call ptr @memcpy(ptr %6, ptr %7, i64 %CMOV) %RAX = ptrtoint ptr %8 to i64 ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_xtensa.c_xtensa_buffer_read_memory.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_xtensa.c_xtensa_buffer_read_memory.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INSN_BUFFER_SIZE = common local_unnamed_addr global i64 0, align 8 @bytes = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xtensa_buffer_read_memory], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @xtensa_buffer_read_memory(i32 %0, ptr noundef %1, i64 noundef %2, ptr nocapture readnone %3) #0 { %5 = load i64, ptr @INSN_BUFFER_SIZE, align 8, !tbaa !6 %6 = tail call i64 @llvm.smin.i64(i64 %5, i64 %2) %7 = load i32, ptr @bytes, align 4, !tbaa !10 %8 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %7, i64 noundef %6) #3 ret i32 0 } declare i32 @memcpy(ptr noundef, i32 noundef, 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 = !{!"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}
radare2_libr_asm_p_extr_asm_xtensa.c_xtensa_buffer_read_memory
; ModuleID = 'linux_drivers_infiniband_core_extr_cm_msgs.h_cm_req_get_alt_local_ack_timeout.so' source_filename = "linux_drivers_infiniband_core_extr_cm_msgs.h_cm_req_get_alt_local_ack_timeout.so" define dso_local i32 @cm_req_get_alt_local_ack_timeout(i64 %arg1) { entry: %0 = inttoptr i64 %arg1 to ptr %memload = load i32, ptr %0, align 1 %EAX = lshr i32 %memload, 3 %ZF = icmp eq i32 %EAX, 0 %highbit = and i32 -2147483648, %EAX %SF = icmp ne i32 %highbit, 0 ret i32 %EAX }
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_cm_msgs.h_cm_req_get_alt_local_ack_timeout.c' source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_cm_msgs.h_cm_req_get_alt_local_ack_timeout.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 @cm_req_get_alt_local_ack_timeout], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 -268435456, 268435456) i32 @cm_req_get_alt_local_ack_timeout(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = ashr i32 %2, 3 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"cm_req_msg", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_infiniband_core_extr_cm_msgs.h_cm_req_get_alt_local_ack_timeout
; ModuleID = 'freebsd_tools_test_testfloat_extr_testfloat.c_catchSIGINT.so' source_filename = "freebsd_tools_test_testfloat_extr_testfloat.c_catchSIGINT.so" @stop = common dso_local global i64 0, align 8 @TRUE = common dso_local global i64 0, align 8 @EXIT_FAILURE = common dso_local global i32 0, align 4 declare dso_local void @exit(i32) define dso_local i64 @catchSIGINT() { entry: %RSP_P.0 = alloca i64, align 1 store i64 3735928559, ptr %RSP_P.0, align 8 %0 = load i64, ptr @stop, align 8 %1 = sub i64 %0, 0 %2 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %0, i64 0) %CF = extractvalue { i64, i1 } %2, 1 %ZF = icmp eq i64 %1, 0 %highbit = and i64 -9223372036854775808, %1 %SF = icmp ne i64 %highbit, 0 %3 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %0, i64 0) %OF = extractvalue { i64, i1 } %3, 1 %4 = and i64 %1, 255 %5 = call i64 @llvm.ctpop.i64(i64 %4) %6 = and i64 %5, 1 %PF = icmp eq i64 %6, 0 %CmpZF_JNE = icmp eq i1 %ZF, false br i1 %CmpZF_JNE, label %bb.2, label %bb.1 bb.1: ; preds = %entry %memload = load i64, ptr @TRUE, align 1 store i64 %memload, ptr @stop, align 1 %7 = ptrtoint ptr @stop to i64 ret i64 %7 bb.2: ; preds = %entry %memload1 = load i32, ptr @EXIT_FAILURE, align 1 tail call void @exit(i32 %memload1) unreachable } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/freebsd/tools/test/testfloat/extr_testfloat.c_catchSIGINT.c' source_filename = "AnghaBench/freebsd/tools/test/testfloat/extr_testfloat.c_catchSIGINT.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stop = common local_unnamed_addr global i64 0, align 8 @EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @catchSIGINT], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @catchSIGINT(i32 %0) #0 { %2 = load i64, ptr @stop, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !10 %6 = tail call i32 @exit(i32 noundef %5) #2 unreachable 7: ; preds = %1 %8 = load i64, ptr @TRUE, align 8, !tbaa !6 store i64 %8, ptr @stop, align 8, !tbaa !6 ret void } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_tools_test_testfloat_extr_testfloat.c_catchSIGINT
; ModuleID = 'radare2_libr_asm_p_extr_asm_nios2.c_nios2_buffer_read_memory.so' source_filename = "radare2_libr_asm_p_extr_asm_nios2.c_nios2_buffer_read_memory.so" @bytes = common dso_local global i32 0, align 4 declare dso_local ptr @memcpy(ptr, ptr, i64) define dso_local i32 @nios2_buffer_read_memory(i64 %arg1, i64 %arg2, i64 %arg3) { entry: %RSP_P.0 = alloca i64, align 1 store i64 3735928559, ptr %RSP_P.0, align 8 %memload = load i32, ptr @bytes, align 1 %0 = inttoptr i64 %arg2 to ptr %1 = inttoptr i32 %memload to ptr %2 = call ptr @memcpy(ptr %0, ptr %1, i64 %arg3) %RAX = ptrtoint ptr %2 to i64 ret i32 0 }
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_nios2.c_nios2_buffer_read_memory.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_nios2.c_nios2_buffer_read_memory.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bytes = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nios2_buffer_read_memory], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @nios2_buffer_read_memory(i32 %0, ptr noundef %1, i32 noundef %2, ptr nocapture readnone %3) #0 { %5 = load i32, ptr @bytes, align 4, !tbaa !6 %6 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %5, i32 noundef %2) #2 ret i32 0 } declare i32 @memcpy(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"}
radare2_libr_asm_p_extr_asm_nios2.c_nios2_buffer_read_memory
; ModuleID = 'postgres_src_bin_pg_dump_extr_pg_backup_utils.c_exit_nicely.so' source_filename = "postgres_src_bin_pg_dump_extr_pg_backup_utils.c_exit_nicely.so" @on_exit_nicely_index = common dso_local global i32 0, align 4 @on_exit_nicely_list = common dso_local global i64 0, align 8 declare dso_local void @exit(i32) define dso_local void @exit_nicely(i32 %arg1) { entry: %RBX-SKT-LOC = alloca i64, align 8 %stktop_8 = alloca i8, i32 8, align 1 %tos = ptrtoint ptr %stktop_8 to i64 store i64 3735928559, ptr %stktop_8, align 8 store i64 3735928559, ptr %stktop_8, align 8 store i64 3735928559, ptr %stktop_8, align 8 %memload = load i32, ptr @on_exit_nicely_index, align 1 %0 = and i32 %memload, %memload %highbit = and i32 -2147483648, %0 %SF = icmp ne i32 %highbit, 0 %ZF = icmp eq i32 %0, 0 %1 = and i32 %0, 255 %2 = call i32 @llvm.ctpop.i32(i32 %1) %3 = and i32 %2, 1 %PF = icmp eq i32 %3, 0 %CmpZF_JLE = icmp eq i1 %ZF, true %CmpOF_JLE = icmp ne i1 %SF, false %ZFOrSF_JLE = or i1 %CmpZF_JLE, %CmpOF_JLE br i1 %ZFOrSF_JLE, label %bb.3, label %bb.1 bb.1: ; preds = %entry %4 = zext i32 %memload to i64 %RBX = add i64 %4, 1 %5 = and i64 %RBX, 255 %6 = call i64 @llvm.ctpop.i64(i64 %5) %7 = and i64 %6, 1 %PF1 = icmp eq i64 %7, 0 %ZF2 = icmp eq i64 %RBX, 0 %highbit3 = and i64 -9223372036854775808, %RBX %SF4 = icmp ne i64 %highbit3, 0 store i64 %RBX, ptr %RBX-SKT-LOC, align 1 br label %bb.2 bb.2: ; preds = %bb.1, %bb.2 %RBX5 = load i64, ptr %RBX-SKT-LOC, align 1 %memref-disp = add i64 %RBX5, -2 %EAX = trunc i64 %memref-disp to i32 %memload6 = load i64, ptr @on_exit_nicely_list, align 1 %8 = zext i32 %EAX to i64 %RAX = shl i64 %8, 4 %ZF7 = icmp eq i64 %RAX, 0 %highbit8 = and i64 -9223372036854775808, %RAX %SF9 = icmp ne i64 %highbit8, 0 %memref-basereg = add i64 %memload6, %RAX %9 = inttoptr i64 %memref-basereg to ptr %memload10 = load i32, ptr %9, align 1 %memref-basereg11 = add i64 %memload6, %RAX %memref-disp12 = add i64 %memref-basereg11, 8 %10 = inttoptr i64 %memref-disp12 to ptr %memload13 = load i64, ptr %10, align 1 %11 = inttoptr i64 %memload13 to ptr call void %11(i32 %arg1, i32 %memload10) %RBX18 = sub i64 %RBX5, 1 %12 = and i64 %RBX18, 255 %13 = call i64 @llvm.ctpop.i64(i64 %12) %14 = and i64 %13, 1 %PF14 = icmp eq i64 %14, 0 %ZF15 = icmp eq i64 %RBX18, 0 %highbit16 = and i64 -9223372036854775808, %RBX18 %SF17 = icmp ne i64 %highbit16, 0 %15 = sub i64 %RBX18, 1 %16 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %RBX18, i64 1) %CF = extractvalue { i64, i1 } %16, 1 %ZF19 = icmp eq i64 %15, 0 %highbit20 = and i64 -9223372036854775808, %15 %SF21 = icmp ne i64 %highbit20, 0 %17 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %RBX18, i64 1) %OF = extractvalue { i64, i1 } %17, 1 %18 = and i64 %15, 255 %19 = call i64 @llvm.ctpop.i64(i64 %18) %20 = and i64 %19, 1 %PF22 = icmp eq i64 %20, 0 %CFCmp_JA = icmp eq i1 %CF, false %ZFCmp_JA = icmp eq i1 %ZF19, false %CFAndZF_JA = and i1 %ZFCmp_JA, %CFCmp_JA store i64 %RBX18, ptr %RBX-SKT-LOC, align 1 br i1 %CFAndZF_JA, label %bb.2, label %bb.3 bb.3: ; preds = %bb.2, %entry tail call void @exit(i32 %arg1) unreachable } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/postgres/src/bin/pg_dump/extr_pg_backup_utils.c_exit_nicely.c' source_filename = "AnghaBench/postgres/src/bin/pg_dump/extr_pg_backup_utils.c_exit_nicely.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, ptr } @on_exit_nicely_index = common local_unnamed_addr global i32 0, align 4 @on_exit_nicely_list = common local_unnamed_addr global ptr null, align 8 @mainThreadId = common local_unnamed_addr global i64 0, align 8 @parallel_init_done = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @exit_nicely(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @on_exit_nicely_index, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %16 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ %5, %4 ], [ %8, %6 ] %8 = add nsw i64 %7, -1 %9 = load ptr, ptr @on_exit_nicely_list, align 8, !tbaa !10 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %8 %11 = getelementptr inbounds i8, ptr %10, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = load i32, ptr %10, align 8, !tbaa !14 %14 = tail call i32 %12(i32 noundef %0, i32 noundef %13) #2 %15 = icmp ugt i64 %7, 1 br i1 %15, label %6, label %16, !llvm.loop !15 16: ; preds = %6, %1 %17 = tail call i32 @exit(i32 noundef %0) #3 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #1 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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 = { nounwind } attributes #3 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_2__", !7, i64 0, !11, i64 8} !14 = !{!13, !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
postgres_src_bin_pg_dump_extr_pg_backup_utils.c_exit_nicely
; ModuleID = 'Quake-III-Arena_code_game_extr_g_items.c_Pickup_Holdable.so' source_filename = "Quake-III-Arena_code_game_extr_g_items.c_Pickup_Holdable.so" @bg_itemlist = common dso_local global i32 0, align 4 @STAT_HOLDABLE_ITEM = common dso_local global i64 0, align 8 @HI_KAMIKAZE = common dso_local global i64 0, align 8 @EF_KAMIKAZE = common dso_local global i32 0, align 4 @RESPAWN_HOLDABLE = common dso_local global i32 0, align 4 define dso_local i32 @Pickup_Holdable(i64 %arg1, i64 %arg2) { entry: %memref-disp = add i64 %arg1, 8 %0 = inttoptr i64 %memref-disp to ptr %memload = load i64, ptr %0, align 1 %memload1 = load i64, ptr @bg_itemlist, align 1 %1 = trunc i64 %memload1 to i32 %RCX = sext i32 %1 to i64 %RCX2 = shl i64 %RCX, 3 %ZF = icmp eq i64 %RCX2, 0 %highbit = and i64 -9223372036854775808, %RCX2 %SF = icmp ne i64 %highbit, 0 %RAX = sub i64 %memload, %RCX2 %2 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %memload, i64 %RCX2) %CF = extractvalue { i64, i1 } %2, 1 %ZF3 = icmp eq i64 %RAX, 0 %highbit4 = and i64 -9223372036854775808, %RAX %SF5 = icmp ne i64 %highbit4, 0 %3 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %memload, i64 %RCX2) %OF = extractvalue { i64, i1 } %3, 1 %4 = and i64 %RAX, 255 %5 = call i64 @llvm.ctpop.i64(i64 %4) %6 = and i64 %5, 1 %PF = icmp eq i64 %6, 0 %7 = inttoptr i64 %arg2 to ptr %memload6 = load i64, ptr %7, align 1 %memref-disp7 = add i64 %memload6, 8 %8 = inttoptr i64 %memref-disp7 to ptr %memload8 = load i64, ptr %8, align 1 %memload9 = load i64, ptr @STAT_HOLDABLE_ITEM, align 1 %memref-idxreg = mul i64 8, %memload9 %memref-basereg = add i64 %memload8, %memref-idxreg %9 = inttoptr i64 %memref-basereg to ptr store i64 %RAX, ptr %9, align 1 %memref-disp10 = add i64 %arg1, 8 %10 = inttoptr i64 %memref-disp10 to ptr %memload11 = load i64, ptr %10, align 1 %11 = inttoptr i64 %memload11 to ptr %memload12 = load i64, ptr %11, align 1 %12 = load i64, ptr @HI_KAMIKAZE, align 8 %13 = sub i64 %memload12, %12 %14 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %memload12, i64 %12) %CF13 = extractvalue { i64, i1 } %14, 1 %ZF14 = icmp eq i64 %13, 0 %highbit15 = and i64 -9223372036854775808, %13 %SF16 = icmp ne i64 %highbit15, 0 %15 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %memload12, i64 %12) %OF17 = extractvalue { i64, i1 } %15, 1 %16 = and i64 %13, 255 %17 = call i64 @llvm.ctpop.i64(i64 %16) %18 = and i64 %17, 1 %PF18 = icmp eq i64 %18, 0 %CmpZF_JNE = icmp eq i1 %ZF14, false br i1 %CmpZF_JNE, label %bb.2, label %bb.1 bb.1: ; preds = %entry %memload19 = load i32, ptr @EF_KAMIKAZE, align 1 %19 = inttoptr i64 %arg2 to ptr %memload20 = load i64, ptr %19, align 1 %20 = inttoptr i64 %memload20 to ptr %21 = load i32, ptr %20, align 1 %22 = or i32 %21, %memload19 %23 = and i32 %22, 255 %24 = call i32 @llvm.ctpop.i32(i32 %23) %25 = and i32 %24, 1 %PF21 = icmp eq i32 %25, 0 store i32 %22, ptr %20, align 1 br label %bb.2 bb.2: ; preds = %bb.1, %entry %memload22 = load i32, ptr @RESPAWN_HOLDABLE, align 1 ret i32 %memload22 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_g_items.c_Pickup_Holdable.c' source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_g_items.c_Pickup_Holdable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { i64 } @bg_itemlist = common local_unnamed_addr global i32 0, align 4 @STAT_HOLDABLE_ITEM = common local_unnamed_addr global i64 0, align 8 @HI_KAMIKAZE = common local_unnamed_addr global i64 0, align 8 @EF_KAMIKAZE = common local_unnamed_addr global i32 0, align 4 @RESPAWN_HOLDABLE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define i32 @Pickup_Holdable(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @bg_itemlist, align 4, !tbaa !11 %6 = sext i32 %5 to i64 %7 = sub nsw i64 0, %6 %8 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 %7 %9 = load ptr, ptr %1, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = load i64, ptr @STAT_HOLDABLE_ITEM, align 8, !tbaa !17 %13 = getelementptr inbounds ptr, ptr %11, i64 %12 store ptr %8, ptr %13, align 8, !tbaa !19 %14 = load ptr, ptr %3, align 8, !tbaa !6 %15 = load i64, ptr %14, align 8, !tbaa !20 %16 = load i64, ptr @HI_KAMIKAZE, align 8, !tbaa !17 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %23 18: ; preds = %2 %19 = load i32, ptr @EF_KAMIKAZE, align 4, !tbaa !11 %20 = load ptr, ptr %1, align 8, !tbaa !13 %21 = load i32, ptr %20, align 8, !tbaa !22 %22 = or i32 %21, %19 store i32 %22, ptr %20, align 8, !tbaa !22 br label %23 23: ; preds = %18, %2 %24 = load i32, ptr @RESPAWN_HOLDABLE, align 4, !tbaa !11 ret i32 %24 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_10__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !8, i64 8} !15 = !{!"TYPE_9__", !16, i64 0} !16 = !{!"TYPE_8__", !12, i64 0, !8, i64 8} !17 = !{!18, !18, i64 0} !18 = !{!"long", !9, i64 0} !19 = !{!8, !8, i64 0} !20 = !{!21, !18, i64 0} !21 = !{!"TYPE_7__", !18, i64 0} !22 = !{!15, !12, i64 0}
Quake-III-Arena_code_game_extr_g_items.c_Pickup_Holdable
; ModuleID = 'freebsd_crypto_openssl_crypto_engine_extr_eng_lib.c_ENGINE_get_id.so' source_filename = "freebsd_crypto_openssl_crypto_engine_extr_eng_lib.c_ENGINE_get_id.so" define dso_local i64 @ENGINE_get_id(i64 %arg1) { entry: %0 = inttoptr i64 %arg1 to ptr %memload = load i64, ptr %0, align 1 ret i64 %memload }
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_lib.c_ENGINE_get_id.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/engine/extr_eng_lib.c_ENGINE_get_id.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 ptr @ENGINE_get_id(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %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 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_openssl_crypto_engine_extr_eng_lib.c_ENGINE_get_id
; ModuleID = 'qmk_firmware_keyboards_40percentclub_6lit_keymaps_macro_extr_keymap.c_process_record_user.so' source_filename = "qmk_firmware_keyboards_40percentclub_6lit_keymaps_macro_extr_keymap.c_process_record_user.so" define dso_local i32 @process_record_user() { entry: ret i32 1 }
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/40percentclub/6lit/keymaps/macro/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/40percentclub/6lit/keymaps/macro/extr_keymap.c_process_record_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readnone %1) 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)"}
qmk_firmware_keyboards_40percentclub_6lit_keymaps_macro_extr_keymap.c_process_record_user
; ModuleID = 'linux_drivers_scsi_csiostor_extr_csio_defs.h_csio_get_state.so' source_filename = "linux_drivers_scsi_csiostor_extr_csio_defs.h_csio_get_state.so" define dso_local i32 @csio_get_state(i64 %arg1) { entry: %0 = inttoptr i64 %arg1 to ptr %memload = load i32, ptr %0, align 1 ret i32 %memload }
; ModuleID = 'AnghaBench/linux/drivers/scsi/csiostor/extr_csio_defs.h_csio_get_state.c' source_filename = "AnghaBench/linux/drivers/scsi/csiostor/extr_csio_defs.h_csio_get_state.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 @csio_get_state], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @csio_get_state(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"csio_sm", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_csiostor_extr_csio_defs.h_csio_get_state
; ModuleID = 'radare2_shlr_grub_kern_extr_env.c_grub_env_hashval.so' source_filename = "radare2_shlr_grub_kern_extr_env.c_grub_env_hashval.so" @HASHSZ = common dso_local global i32 0, align 4 define dso_local i32 @grub_env_hashval(i64 %arg1) { entry: %EAX-SKT-LOC24 = alloca i32, align 4 %RDI-SKT-LOC = alloca i64, align 8 %EAX-SKT-LOC = alloca i64, align 8 %CL-SKT-LOC = alloca i64, align 8 %0 = inttoptr i64 %arg1 to ptr %memload = load i32, ptr %0, align 1 %1 = trunc i32 %memload to i8 %ECX = zext i8 %1 to i32 %2 = trunc i32 %ECX to i8 %3 = trunc i32 %ECX to i8 %4 = and i8 %2, %3 %highbit = and i8 -128, %4 %SF = icmp ne i8 %highbit, 0 %ZF = icmp eq i8 %4, 0 %5 = call i8 @llvm.ctpop.i8(i8 %4) %6 = and i8 %5, 1 %PF = icmp eq i8 %6, 0 %7 = zext i32 %ECX to i64 store i64 %7, ptr %CL-SKT-LOC, align 1 %CmpZF_JE = icmp eq i1 %ZF, true br i1 %CmpZF_JE, label %bb.4, label %bb.1 bb.1: ; preds = %entry %RDI = add i64 %arg1, 1 %8 = and i64 %RDI, 255 %9 = call i64 @llvm.ctpop.i64(i64 %8) %10 = and i64 %9, 1 %PF1 = icmp eq i64 %10, 0 %ZF2 = icmp eq i64 %RDI, 0 %highbit3 = and i64 -9223372036854775808, %RDI %SF4 = icmp ne i64 %highbit3, 0 %11 = zext i32 0 to i64 store i64 %11, ptr %EAX-SKT-LOC, align 1 store i64 %RDI, ptr %RDI-SKT-LOC, align 1 br label %bb.2 bb.2: ; preds = %bb.1, %bb.2 %12 = load i64, ptr %CL-SKT-LOC, align 1 %CL = trunc i64 %12 to i8 %ECX5 = sext i8 %CL to i32 %13 = zext i32 %ECX5 to i64 %memref-idxreg = mul i64 4, %13 %14 = zext i32 %ECX5 to i64 %memref-basereg = add i64 %14, %memref-idxreg %ECX6 = trunc i64 %memref-basereg to i32 %15 = load i64, ptr %EAX-SKT-LOC, align 1 %EAX = trunc i64 %15 to i32 %EAX10 = add nsw i32 %EAX, %ECX6 %highbit7 = and i32 -2147483648, %EAX10 %SF8 = icmp ne i32 %highbit7, 0 %ZF9 = icmp eq i32 %EAX10, 0 %RDI11 = load i64, ptr %RDI-SKT-LOC, align 1 %16 = inttoptr i64 %RDI11 to ptr %memload12 = load i32, ptr %16, align 1 %17 = trunc i32 %memload12 to i8 %ECX13 = zext i8 %17 to i32 %RDI18 = add i64 %RDI11, 1 %18 = and i64 %RDI18, 255 %19 = call i64 @llvm.ctpop.i64(i64 %18) %20 = and i64 %19, 1 %PF14 = icmp eq i64 %20, 0 %ZF15 = icmp eq i64 %RDI18, 0 %highbit16 = and i64 -9223372036854775808, %RDI18 %SF17 = icmp ne i64 %highbit16, 0 %21 = trunc i32 %ECX13 to i8 %22 = trunc i32 %ECX13 to i8 %23 = and i8 %21, %22 %highbit19 = and i8 -128, %23 %SF20 = icmp ne i8 %highbit19, 0 %ZF21 = icmp eq i8 %23, 0 %24 = call i8 @llvm.ctpop.i8(i8 %23) %25 = and i8 %24, 1 %PF22 = icmp eq i8 %25, 0 store i32 %EAX10, ptr %EAX-SKT-LOC24, align 1 %CmpZF_JNE = icmp eq i1 %ZF21, false %26 = zext i32 %ECX13 to i64 store i64 %26, ptr %CL-SKT-LOC, align 1 %27 = zext i32 %EAX10 to i64 store i64 %27, ptr %EAX-SKT-LOC, align 1 store i64 %RDI18, ptr %RDI-SKT-LOC, align 1 br i1 %CmpZF_JNE, label %bb.2, label %bb.3 bb.3: ; preds = %bb.2 br label %bb.5 bb.4: ; preds = %entry store i32 0, ptr %EAX-SKT-LOC24, align 1 br label %bb.5 bb.5: ; preds = %bb.4, %bb.3 %memload23 = load i32, ptr @HASHSZ, align 1 %EAX25 = load i32, ptr %EAX-SKT-LOC24, align 1 %28 = zext i32 %EAX25 to i64 %29 = zext i32 0 to i64 %div_hb_ls = shl nuw i64 %29, 32 %dividend = or i64 %div_hb_ls, %28 %30 = zext i32 %memload23 to i64 %div_q = udiv i64 %dividend, %30 %EAX26 = trunc i64 %div_q to i32 %div_r = urem i64 %dividend, %30 %EDX = trunc i64 %div_r to i32 ret i32 %EDX } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i8 @llvm.ctpop.i8(i8) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/radare2/shlr/grub/kern/extr_env.c_grub_env_hashval.c' source_filename = "AnghaBench/radare2/shlr/grub/kern/extr_env.c_grub_env_hashval.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HASHSZ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @grub_env_hashval], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @grub_env_hashval(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = icmp eq i8 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %12, %4 ], [ %2, %1 ] %6 = phi i32 [ %11, %4 ], [ 0, %1 ] %7 = phi ptr [ %8, %4 ], [ %0, %1 ] %8 = getelementptr inbounds i8, ptr %7, i64 1 %9 = sext i8 %5 to i32 %10 = mul nsw i32 %9, 5 %11 = add i32 %10, %6 %12 = load i8, ptr %8, align 1, !tbaa !6 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %4, !llvm.loop !9 14: ; preds = %4, %1 %15 = phi i32 [ 0, %1 ], [ %11, %4 ] %16 = load i32, ptr @HASHSZ, align 4, !tbaa !11 %17 = urem i32 %15, %16 ret i32 %17 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
radare2_shlr_grub_kern_extr_env.c_grub_env_hashval
; ModuleID = 'linux_drivers_net_wireless_ath_ath9k_extr_dfs_debug.h_ath9k_dfs_init_debug.so' source_filename = "linux_drivers_net_wireless_ath_ath9k_extr_dfs_debug.h_ath9k_dfs_init_debug.so" define dso_local void @ath9k_dfs_init_debug() { entry: ret void }
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_dfs_debug.h_ath9k_dfs_init_debug.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_dfs_debug.h_ath9k_dfs_init_debug.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 @ath9k_dfs_init_debug], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @ath9k_dfs_init_debug(ptr nocapture readnone %0) #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_drivers_net_wireless_ath_ath9k_extr_dfs_debug.h_ath9k_dfs_init_debug
; ModuleID = 'fastsocket_kernel_scripts_mod_extr_modpost.c_is_vmlinux.so' source_filename = "fastsocket_kernel_scripts_mod_extr_modpost.c_is_vmlinux.so" @0 = private unnamed_addr constant [18 x i8] c"vmlinux\00vmlinux.o\00", align 1, !ROData_SecInfo !0 declare dso_local ptr @strrchr(ptr, i32) declare dso_local i32 @strcmp(ptr, ptr) define dso_local i8 @is_vmlinux(i64 %arg1) { entry: %AL-SKT-LOC = alloca i32, align 4 %stktop_8 = alloca i8, i32 16, align 1 %tos = ptrtoint ptr %stktop_8 to i64 %0 = add i64 %tos, 8 %RSPAdj_P.8 = inttoptr i64 %0 to ptr store i64 3735928559, ptr %stktop_8, align 8 store i64 3735928559, ptr %stktop_8, align 8 store i64 3735928559, ptr %stktop_8, align 8 %1 = inttoptr i64 %arg1 to ptr %2 = call ptr @strrchr(ptr %1, i32 47) %RAX = ptrtoint ptr %2 to i64 %memref-disp = add i64 %RAX, 1 %3 = and i64 %RAX, %RAX %highbit = and i64 -9223372036854775808, %3 %SF = icmp ne i64 %highbit, 0 %ZF = icmp eq i64 %3, 0 %4 = and i64 %3, 255 %5 = call i64 @llvm.ctpop.i64(i64 %4) %6 = and i64 %5, 1 %PF = icmp eq i64 %6, 0 %Cond_CMOVE = icmp eq i1 %ZF, true %CMOV = select i1 %Cond_CMOVE, i64 %arg1, i64 %memref-disp %7 = inttoptr i64 %CMOV to ptr %EAX = call i32 @strcmp(ptr %7, ptr @0) %8 = zext i32 %EAX to i64 %9 = zext i32 %EAX to i64 %10 = and i64 %8, %9 %highbit1 = and i64 -9223372036854775808, %10 %SF2 = icmp ne i64 %highbit1, 0 %ZF3 = icmp eq i64 %10, 0 %11 = and i64 %10, 255 %12 = call i64 @llvm.ctpop.i64(i64 %11) %13 = and i64 %12, 1 %PF4 = icmp eq i64 %13, 0 %CmpZF_JE = icmp eq i1 %ZF3, true br i1 %CmpZF_JE, label %bb.2, label %bb.1 bb.1: ; preds = %entry %14 = inttoptr i64 %CMOV to ptr %EAX6 = call i32 @strcmp(ptr %14, ptr getelementptr inbounds ([18 x i8], ptr @0, i32 0, i32 8)) %RCX = zext i32 %EAX6 to i64 %15 = and i64 %RCX, %RCX %highbit7 = and i64 -9223372036854775808, %15 %SF8 = icmp ne i64 %highbit7, 0 %ZF9 = icmp eq i64 %15, 0 %16 = and i64 %15, 255 %17 = call i64 @llvm.ctpop.i64(i64 %16) %18 = and i64 %17, 1 %PF10 = icmp eq i64 %18, 0 %AL = icmp eq i1 %ZF9, true %19 = zext i1 %AL to i32 store i32 %19, ptr %AL-SKT-LOC, align 1 br label %bb.3 bb.2: ; preds = %entry store i32 1, ptr %AL-SKT-LOC, align 1 br label %bb.3 bb.3: ; preds = %bb.2, %bb.1 %20 = load i32, ptr %AL-SKT-LOC, align 1 %AL11 = trunc i32 %20 to i8 ret i8 %AL11 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn } !0 = !{i64 8192}
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/mod/extr_modpost.c_is_vmlinux.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/mod/extr_modpost.c_is_vmlinux.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"vmlinux\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"vmlinux.o\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @is_vmlinux], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @is_vmlinux(ptr noundef %0) #0 { %2 = tail call ptr @strrchr(ptr noundef %0, i8 noundef signext 47) #2 %3 = icmp eq ptr %2, null %4 = getelementptr inbounds i8, ptr %2, i64 1 %5 = select i1 %3, ptr %0, ptr %4 %6 = tail call i64 @strcmp(ptr noundef %5, ptr noundef nonnull @.str) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %12, label %8 8: ; preds = %1 %9 = tail call i64 @strcmp(ptr noundef %5, ptr noundef nonnull @.str.1) #2 %10 = icmp eq i64 %9, 0 %11 = zext i1 %10 to i32 br label %12 12: ; preds = %8, %1 %13 = phi i32 [ 1, %1 ], [ %11, %8 ] ret i32 %13 } declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_scripts_mod_extr_modpost.c_is_vmlinux
; ModuleID = 'freebsd_contrib_ofed_infiniband-diags_src_extr_ibccconfig.c_parselonglongint.so' source_filename = "freebsd_contrib_ofed_infiniband-diags_src_extr_ibccconfig.c_parselonglongint.so" @errno = common dso_local global i64 0, align 8 @ERANGE = common dso_local global i64 0, align 8 @rodata_13 = private unnamed_addr constant [41 x i8] c"value out of range\00invalid integer input\00", align 1, !ROData_SecInfo !0 declare dso_local i64 @strtoull(ptr, ptr, i32) define dso_local i32 @parselonglongint(i64 %arg1, i64 %arg2) { entry: %EAX-SKT-LOC = alloca i64, align 8 %RAX-SKT-LOC = alloca i64, align 8 %0 = alloca i8, i32 8, align 1 %tos = ptrtoint ptr %0 to i64 store i64 3735928559, ptr %0, align 8 store i64 3735928559, ptr %0, align 8 store i64 3735928559, ptr %0, align 8 %1 = sext i32 0 to i64 store i64 %1, ptr %0, align 1 %2 = sext i32 0 to i64 store i64 %2, ptr @errno, align 1 %3 = inttoptr i64 %arg1 to ptr %RAX = call i64 @strtoull(ptr %3, ptr %0, i32 0) %4 = trunc i64 %RAX to i32 %5 = inttoptr i64 %arg2 to ptr store i32 %4, ptr %5, align 1 %memload = load i64, ptr %0, align 1 %6 = and i64 %memload, %memload %highbit = and i64 -9223372036854775808, %6 %SF = icmp ne i64 %highbit, 0 %ZF = icmp eq i64 %6, 0 %7 = and i64 %6, 255 %8 = call i64 @llvm.ctpop.i64(i64 %7) %9 = and i64 %8, 1 %PF = icmp eq i64 %9, 0 %CmpZF_JE = icmp eq i1 %ZF, true br i1 %CmpZF_JE, label %bb.4, label %bb.1 bb.1: ; preds = %entry %10 = inttoptr i64 %memload to ptr %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i64 %13 = zext i8 0 to i64 %14 = sub i64 %12, %13 %15 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %12, i64 %13) %CF = extractvalue { i64, i1 } %15, 1 %ZF1 = icmp eq i64 %14, 0 %highbit2 = and i64 -9223372036854775808, %14 %SF3 = icmp ne i64 %highbit2, 0 %16 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %12, i64 %13) %OF = extractvalue { i64, i1 } %16, 1 %17 = and i64 %14, 255 %18 = call i64 @llvm.ctpop.i64(i64 %17) %19 = and i64 %18, 1 %PF4 = icmp eq i64 %19, 0 %memload5 = load i64, ptr @errno, align 1 store i64 %memload5, ptr %RAX-SKT-LOC, align 1 %CmpZF_JNE = icmp eq i1 %ZF1, false br i1 %CmpZF_JNE, label %bb.5, label %bb.2 bb.2: ; preds = %bb.1 %20 = and i64 %memload5, %memload5 %highbit6 = and i64 -9223372036854775808, %20 %SF7 = icmp ne i64 %highbit6, 0 %ZF8 = icmp eq i64 %20, 0 %21 = and i64 %20, 255 %22 = call i64 @llvm.ctpop.i64(i64 %21) %23 = and i64 %22, 1 %PF9 = icmp eq i64 %23, 0 %CmpZF_JNE23 = icmp eq i1 %ZF8, false br i1 %CmpZF_JNE23, label %bb.5, label %bb.3 bb.4: ; preds = %entry %memload10 = load i64, ptr @errno, align 1 %24 = and i64 %memload10, %memload10 %highbit11 = and i64 -9223372036854775808, %24 %SF12 = icmp ne i64 %highbit11, 0 %ZF13 = icmp eq i64 %24, 0 %25 = and i64 %24, 255 %26 = call i64 @llvm.ctpop.i64(i64 %25) %27 = and i64 %26, 1 %PF14 = icmp eq i64 %27, 0 store i64 %memload10, ptr %RAX-SKT-LOC, align 1 %CmpZF_JE24 = icmp eq i1 %ZF13, true br i1 %CmpZF_JE24, label %bb.3, label %bb.5 bb.5: ; preds = %bb.4, %bb.2, %bb.1 %28 = load i64, ptr @ERANGE, align 8 %RAX15 = load i64, ptr %RAX-SKT-LOC, align 1 %29 = sub i64 %RAX15, %28 %30 = call { i64, i1 } @llvm.usub.with.overflow.i64(i64 %RAX15, i64 %28) %CF16 = extractvalue { i64, i1 } %30, 1 %ZF17 = icmp eq i64 %29, 0 %highbit18 = and i64 -9223372036854775808, %29 %SF19 = icmp ne i64 %highbit18, 0 %31 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %RAX15, i64 %28) %OF20 = extractvalue { i64, i1 } %31, 1 %32 = and i64 %29, 255 %33 = call i64 @llvm.ctpop.i64(i64 %32) %34 = and i64 %33, 1 %PF21 = icmp eq i64 %34, 0 %RCX = ptrtoint ptr @rodata_13 to i64 %RAX22 = ptrtoint ptr getelementptr inbounds ([41 x i8], ptr @rodata_13, i32 0, i32 19) to i64, !ROData_Index !1 %Cond_CMOVE = icmp eq i1 %ZF17, true %CMOV = select i1 %Cond_CMOVE, i64 %RCX, i64 %RAX22 store i64 %CMOV, ptr %EAX-SKT-LOC, align 1 br label %bb.6 bb.3: ; preds = %bb.4, %bb.2 %35 = zext i32 0 to i64 store i64 %35, ptr %EAX-SKT-LOC, align 1 br label %bb.6 bb.6: ; preds = %bb.5, %bb.3 %36 = load i64, ptr %EAX-SKT-LOC, align 1 %EAX = trunc i64 %36 to i32 ret i32 %EAX } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i64 @llvm.ctpop.i64(i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn } !0 = !{i64 8192} !1 = !{ptr getelementptr inbounds ([41 x i8], ptr @rodata_13, i32 0, i32 19)}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_ibccconfig.c_parselonglongint.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_ibccconfig.c_parselonglongint.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @errno = common local_unnamed_addr global i64 0, align 8 @ERANGE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [19 x i8] c"value out of range\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"invalid integer input\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @parselonglongint], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @parselonglongint(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 store i64 0, ptr @errno, align 8, !tbaa !10 %4 = call i32 @strtoull(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 0) #3 store i32 %4, ptr %1, align 4, !tbaa !12 %5 = load ptr, ptr %3, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %13, label %7 7: ; preds = %2 %8 = load i8, ptr %5, align 1, !tbaa !14 %9 = icmp ne i8 %8, 0 %10 = load i64, ptr @errno, align 8 %11 = icmp ne i64 %10, 0 %12 = select i1 %9, i1 true, i1 %11 br i1 %12, label %16, label %21 13: ; preds = %2 %14 = load i64, ptr @errno, align 8, !tbaa !10 %15 = icmp eq i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %13, %7 %17 = phi i64 [ %14, %13 ], [ %10, %7 ] %18 = load i64, ptr @ERANGE, align 8, !tbaa !10 %19 = icmp eq i64 %17, %18 %20 = select i1 %19, ptr @.str, ptr @.str.1 br label %21 21: ; preds = %13, %7, %16 %22 = phi ptr [ %20, %16 ], [ null, %7 ], [ null, %13 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @strtoull(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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 = !{!8, !8, i64 0}
freebsd_contrib_ofed_infiniband-diags_src_extr_ibccconfig.c_parselonglongint
; ModuleID = 'ccv_lib_extr_ccv_util.c_ccv_array_clear.so' source_filename = "ccv_lib_extr_ccv_util.c_ccv_array_clear.so" define dso_local void @ccv_array_clear(i64 %arg1) { entry: %0 = inttoptr i64 %arg1 to ptr %1 = sext i32 0 to i64 store i64 %1, ptr %0, align 1 ret void }
; ModuleID = 'AnghaBench/ccv/lib/extr_ccv_util.c_ccv_array_clear.c' source_filename = "AnghaBench/ccv/lib/extr_ccv_util.c_ccv_array_clear.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define void @ccv_array_clear(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { store i64 0, ptr %0, align 8, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
ccv_lib_extr_ccv_util.c_ccv_array_clear
; ModuleID = 'linux_net_ipv6_extr_..bridgebr_private.h_br_sysfs_delbr.so' source_filename = "linux_net_ipv6_extr_..bridgebr_private.h_br_sysfs_delbr.so" define dso_local void @br_sysfs_delbr() { entry: ret void }
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_..bridgebr_private.h_br_sysfs_delbr.c' source_filename = "AnghaBench/linux/net/ipv6/extr_..bridgebr_private.h_br_sysfs_delbr.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 @br_sysfs_delbr], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @br_sysfs_delbr(ptr nocapture readnone %0) #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_net_ipv6_extr_..bridgebr_private.h_br_sysfs_delbr
; ModuleID = 'DOOM_linuxdoom-1.10_extr_am_map.c_AM_drawCrosshair.so' source_filename = "DOOM_linuxdoom-1.10_extr_am_map.c_AM_drawCrosshair.so" @fb = common dso_local global i64 0, align 8 @f_w = common dso_local global i32 0, align 4 @f_h = common dso_local global i32 0, align 4 define dso_local i64 @AM_drawCrosshair(i32 %arg1) { entry: %memload = load i64, ptr @fb, align 1 %memload1 = load i32, ptr @f_h, align 1 %EDX = add i32 %memload1, 1 %0 = and i32 %EDX, 255 %1 = call i32 @llvm.ctpop.i32(i32 %0) %2 = and i32 %1, 1 %PF = icmp eq i32 %2, 0 %ZF = icmp eq i32 %EDX, 0 %highbit = and i32 -2147483648, %EDX %SF = icmp ne i32 %highbit, 0 %memload2 = load i32, ptr @f_w, align 1 %EDX3 = mul i32 %EDX, %memload2 %ECX = lshr i32 %EDX3, 31 %ZF4 = icmp eq i32 %ECX, 0 %highbit5 = and i32 -2147483648, %ECX %SF6 = icmp ne i32 %highbit5, 0 %ECX10 = add nsw i32 %ECX, %EDX3 %highbit7 = and i32 -2147483648, %ECX10 %SF8 = icmp ne i32 %highbit7, 0 %ZF9 = icmp eq i32 %ECX10, 0 %ECX14 = lshr i32 %ECX10, 1 %ZF11 = icmp eq i32 %ECX14, 0 %highbit12 = and i32 -2147483648, %ECX14 %SF13 = icmp ne i32 %highbit12, 0 %RCX = sext i32 %ECX14 to i64 %memref-idxreg = mul i64 4, %RCX %memref-basereg = add i64 %memload, %memref-idxreg %3 = inttoptr i64 %memref-basereg to ptr store i32 %arg1, ptr %3, align 1 ret i64 %memload } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/DOOM/linuxdoom-1.10/extr_am_map.c_AM_drawCrosshair.c' source_filename = "AnghaBench/DOOM/linuxdoom-1.10/extr_am_map.c_AM_drawCrosshair.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fb = common local_unnamed_addr global ptr null, align 8 @f_w = common local_unnamed_addr global i32 0, align 4 @f_h = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) define void @AM_drawCrosshair(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @fb, align 8, !tbaa !6 %3 = load i32, ptr @f_w, align 4, !tbaa !10 %4 = load i32, ptr @f_h, align 4, !tbaa !10 %5 = add nsw i32 %4, 1 %6 = mul nsw i32 %5, %3 %7 = sdiv i32 %6, 2 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i32, ptr %2, i64 %8 store i32 %0, ptr %9, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
DOOM_linuxdoom-1.10_extr_am_map.c_AM_drawCrosshair
; ModuleID = 'kphp-kdb_vkext_extr_vkext_schema_memcache.c_tls_pop.so' source_filename = "kphp-kdb_vkext_extr_vkext_schema_memcache.c_tls_pop.so" define dso_local void @tls_pop() { entry: ret void }
; ModuleID = 'AnghaBench/kphp-kdb/vkext/extr_vkext_schema_memcache.c_tls_pop.c' source_filename = "AnghaBench/kphp-kdb/vkext/extr_vkext_schema_memcache.c_tls_pop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TLUNI_NEXT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noalias ptr @tls_pop(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 { ret ptr undef } 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)"}
kphp-kdb_vkext_extr_vkext_schema_memcache.c_tls_pop
; ModuleID = 'linux_fs_ubifs_extr_lpt.c_calc_pnode_num_from_parent.so' source_filename = "linux_fs_ubifs_extr_lpt.c_calc_pnode_num_from_parent.so" @UBIFS_LPT_FANOUT_SHIFT = common dso_local global i32 0, align 4 @UBIFS_LPT_FANOUT = common dso_local global i32 0, align 4 define dso_local i32 @calc_pnode_num_from_parent(i64 %arg1, i64 %arg2, i32 %arg3) { entry: %CL-SKT-LOC = alloca i32, align 4 %EAX-SKT-LOC193 = alloca i32, align 4 %R9D-SKT-LOC = alloca i64, align 8 %ESI-SKT-LOC164 = alloca i64, align 8 %EAX-SKT-LOC152 = alloca i64, align 8 %R10D-SKT-LOC = alloca i64, align 8 %ESI-SKT-LOC = alloca i64, align 8 %EAX-SKT-LOC = alloca i64, align 8 %0 = inttoptr i64 %arg1 to ptr %memload = load i32, ptr %0, align 1 %1 = sub i32 %memload, 1 %2 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %memload, i32 1) %CF = extractvalue { i32, i1 } %2, 1 %ZF = icmp eq i32 %1, 0 %highbit = and i32 -2147483648, %1 %SF = icmp ne i32 %highbit, 0 %3 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %memload, i32 1) %OF = extractvalue { i32, i1 } %3, 1 %4 = and i32 %1, 255 %5 = call i32 @llvm.ctpop.i32(i32 %4) %6 = and i32 %5, 1 %PF = icmp eq i32 %6, 0 %CmpZF_JLE = icmp eq i1 %ZF, true %CmpOF_JLE = icmp ne i1 %SF, %OF %ZFOrSF_JLE = or i1 %CmpZF_JLE, %CmpOF_JLE br i1 %ZFOrSF_JLE, label %bb.3, label %bb.1 bb.1: ; preds = %entry %7 = inttoptr i64 %arg2 to ptr %memload1 = load i32, ptr %7, align 1 %memload2 = load i32, ptr @UBIFS_LPT_FANOUT_SHIFT, align 1 %memload3 = load i32, ptr @UBIFS_LPT_FANOUT, align 1 %R8D = sub i32 %memload3, 1 %8 = and i32 %R8D, 255 %9 = call i32 @llvm.ctpop.i32(i32 %8) %10 = and i32 %9, 1 %PF4 = icmp eq i32 %10, 0 %ZF5 = icmp eq i32 %R8D, 0 %highbit6 = and i32 -2147483648, %R8D %SF7 = icmp ne i32 %highbit6, 0 %memref-disp = add i32 %memload, -2 %R10D = sub i32 %memload, 1 %11 = and i32 %R10D, 255 %12 = call i32 @llvm.ctpop.i32(i32 %11) %13 = and i32 %12, 1 %PF8 = icmp eq i32 %13, 0 %ZF9 = icmp eq i32 %R10D, 0 %highbit10 = and i32 -2147483648, %R10D %SF11 = icmp ne i32 %highbit10, 0 %R9D = and i32 %R10D, 3 %14 = and i32 %R9D, 255 %15 = call i32 @llvm.ctpop.i32(i32 %14) %16 = and i32 %15, 1 %PF12 = icmp eq i32 %16, 0 %ZF13 = icmp eq i32 %R9D, 0 %highbit14 = and i32 -2147483648, %R9D %SF15 = icmp ne i32 %highbit14, 0 %17 = sub i32 %memref-disp, 3 %18 = call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %memref-disp, i32 3) %CF16 = extractvalue { i32, i1 } %18, 1 %ZF17 = icmp eq i32 %17, 0 %highbit18 = and i32 -2147483648, %17 %SF19 = icmp ne i32 %highbit18, 0 %19 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %memref-disp, i32 3) %OF20 = extractvalue { i32, i1 } %19, 1 %20 = and i32 %17, 255 %21 = call i32 @llvm.ctpop.i32(i32 %20) %22 = and i32 %21, 1 %PF21 = icmp eq i32 %22, 0 %23 = zext i32 %memload1 to i64 store i64 %23, ptr %ESI-SKT-LOC, align 1 %24 = zext i32 %memload1 to i64 store i64 %24, ptr %ESI-SKT-LOC164, align 1 %25 = zext i32 %R9D to i64 store i64 %25, ptr %R9D-SKT-LOC, align 1 store i32 %memload2, ptr %CL-SKT-LOC, align 1 %CFCmp_JAE = icmp eq i1 %CF16, false br i1 %CFCmp_JAE, label %bb.4, label %bb.2 bb.2: ; preds = %bb.1 %26 = zext i32 0 to i64 store i64 %26, ptr %EAX-SKT-LOC152, align 1 store i32 0, ptr %EAX-SKT-LOC193, align 1 br label %bb.6 bb.4: ; preds = %bb.1 %R10D26 = and i32 %R10D, -4 %27 = and i32 %R10D26, 255 %28 = call i32 @llvm.ctpop.i32(i32 %27) %29 = and i32 %28, 1 %PF22 = icmp eq i32 %29, 0 %ZF23 = icmp eq i32 %R10D26, 0 %highbit24 = and i32 -2147483648, %R10D26 %SF25 = icmp ne i32 %highbit24, 0 %30 = zext i32 0 to i64 store i64 %30, ptr %EAX-SKT-LOC, align 1 %31 = zext i32 %R10D26 to i64 store i64 %31, ptr %R10D-SKT-LOC, align 1 br label %bb.5 bb.5: ; preds = %bb.4, %bb.5 %32 = load i64, ptr %EAX-SKT-LOC, align 1 %EAX = trunc i64 %32 to i32 %33 = trunc i32 %memload2 to i8 %34 = zext i8 %33 to i32 %shift-cnt-msk = and i32 %34, 63 %EAX30 = shl i32 %EAX, %shift-cnt-msk %shrd_cf_count_cmp = icmp sgt i32 %shift-cnt-msk, 0 %35 = sub i32 32, %shift-cnt-msk %shld_cf_count_shift = shl i32 1, %35 %shld_cf_count_and = and i32 %EAX, %shld_cf_count_shift %shld_cf_count_shft_out = icmp sgt i32 %shld_cf_count_and, 0 %shld_cf_update = select i1 %shrd_cf_count_cmp, i1 %shld_cf_count_shft_out, i1 false %ZF27 = icmp eq i32 %EAX30, 0 %highbit28 = and i32 -2147483648, %EAX30 %SF29 = icmp ne i32 %highbit28, 0 %36 = load i64, ptr %ESI-SKT-LOC, align 1 %ESI = trunc i64 %36 to i32 %EDI = and i32 %R8D, %ESI %highbit31 = and i32 -2147483648, %EDI %SF32 = icmp ne i32 %highbit31, 0 %ZF33 = icmp eq i32 %EDI, 0 %37 = and i32 %EDI, 255 %38 = call i32 @llvm.ctpop.i32(i32 %37) %39 = and i32 %38, 1 %PF34 = icmp eq i32 %39, 0 %EDI39 = or i32 %EDI, %EAX30 %highbit35 = and i32 -2147483648, %EDI39 %SF36 = icmp ne i32 %highbit35, 0 %ZF37 = icmp eq i32 %EDI39, 0 %40 = and i32 %EDI39, 255 %41 = call i32 @llvm.ctpop.i32(i32 %40) %42 = and i32 %41, 1 %PF38 = icmp eq i32 %42, 0 %43 = trunc i32 %memload2 to i8 %44 = zext i8 %43 to i32 %shift-cnt-msk40 = and i32 %44, 63 %ESI49 = ashr i32 %ESI, %shift-cnt-msk40 %shrd_cf_count_cmp41 = icmp sgt i32 %shift-cnt-msk40, 0 %45 = sub i32 32, %shift-cnt-msk40 %shld_cf_count_shift42 = shl i32 1, %45 %shld_cf_count_and43 = and i32 %ESI, %shld_cf_count_shift42 %shld_cf_count_shft_out44 = icmp sgt i32 %shld_cf_count_and43, 0 %shld_cf_update45 = select i1 %shrd_cf_count_cmp41, i1 %shld_cf_count_shft_out44, i1 false %ZF46 = icmp eq i32 %ESI49, 0 %highbit47 = and i32 -2147483648, %ESI49 %SF48 = icmp ne i32 %highbit47, 0 %46 = trunc i32 %memload2 to i8 %47 = zext i8 %46 to i32 %shift-cnt-msk50 = and i32 %47, 63 %EDI59 = shl i32 %EDI39, %shift-cnt-msk50 %shrd_cf_count_cmp51 = icmp sgt i32 %shift-cnt-msk50, 0 %48 = sub i32 32, %shift-cnt-msk50 %shld_cf_count_shift52 = shl i32 1, %48 %shld_cf_count_and53 = and i32 %EDI39, %shld_cf_count_shift52 %shld_cf_count_shft_out54 = icmp sgt i32 %shld_cf_count_and53, 0 %shld_cf_update55 = select i1 %shrd_cf_count_cmp51, i1 %shld_cf_count_shft_out54, i1 %shld_cf_update45 %ZF56 = icmp eq i32 %EDI59, 0 %highbit57 = and i32 -2147483648, %EDI59 %SF58 = icmp ne i32 %highbit57, 0 %EAX64 = and i32 %R8D, %ESI49 %highbit60 = and i32 -2147483648, %EAX64 %SF61 = icmp ne i32 %highbit60, 0 %ZF62 = icmp eq i32 %EAX64, 0 %49 = and i32 %EAX64, 255 %50 = call i32 @llvm.ctpop.i32(i32 %49) %51 = and i32 %50, 1 %PF63 = icmp eq i32 %51, 0 %EAX69 = or i32 %EAX64, %EDI59 %highbit65 = and i32 -2147483648, %EAX69 %SF66 = icmp ne i32 %highbit65, 0 %ZF67 = icmp eq i32 %EAX69, 0 %52 = and i32 %EAX69, 255 %53 = call i32 @llvm.ctpop.i32(i32 %52) %54 = and i32 %53, 1 %PF68 = icmp eq i32 %54, 0 %55 = trunc i32 %memload2 to i8 %56 = zext i8 %55 to i32 %shift-cnt-msk70 = and i32 %56, 63 %ESI79 = ashr i32 %ESI49, %shift-cnt-msk70 %shrd_cf_count_cmp71 = icmp sgt i32 %shift-cnt-msk70, 0 %57 = sub i32 32, %shift-cnt-msk70 %shld_cf_count_shift72 = shl i32 1, %57 %shld_cf_count_and73 = and i32 %ESI49, %shld_cf_count_shift72 %shld_cf_count_shft_out74 = icmp sgt i32 %shld_cf_count_and73, 0 %shld_cf_update75 = select i1 %shrd_cf_count_cmp71, i1 %shld_cf_count_shft_out74, i1 false %ZF76 = icmp eq i32 %ESI79, 0 %highbit77 = and i32 -2147483648, %ESI79 %SF78 = icmp ne i32 %highbit77, 0 %58 = trunc i32 %memload2 to i8 %59 = zext i8 %58 to i32 %shift-cnt-msk80 = and i32 %59, 63 %EAX89 = shl i32 %EAX69, %shift-cnt-msk80 %shrd_cf_count_cmp81 = icmp sgt i32 %shift-cnt-msk80, 0 %60 = sub i32 32, %shift-cnt-msk80 %shld_cf_count_shift82 = shl i32 1, %60 %shld_cf_count_and83 = and i32 %EAX69, %shld_cf_count_shift82 %shld_cf_count_shft_out84 = icmp sgt i32 %shld_cf_count_and83, 0 %shld_cf_update85 = select i1 %shrd_cf_count_cmp81, i1 %shld_cf_count_shft_out84, i1 %shld_cf_update75 %ZF86 = icmp eq i32 %EAX89, 0 %highbit87 = and i32 -2147483648, %EAX89 %SF88 = icmp ne i32 %highbit87, 0 %EDI94 = and i32 %R8D, %ESI79 %highbit90 = and i32 -2147483648, %EDI94 %SF91 = icmp ne i32 %highbit90, 0 %ZF92 = icmp eq i32 %EDI94, 0 %61 = and i32 %EDI94, 255 %62 = call i32 @llvm.ctpop.i32(i32 %61) %63 = and i32 %62, 1 %PF93 = icmp eq i32 %63, 0 %EDI99 = or i32 %EDI94, %EAX89 %highbit95 = and i32 -2147483648, %EDI99 %SF96 = icmp ne i32 %highbit95, 0 %ZF97 = icmp eq i32 %EDI99, 0 %64 = and i32 %EDI99, 255 %65 = call i32 @llvm.ctpop.i32(i32 %64) %66 = and i32 %65, 1 %PF98 = icmp eq i32 %66, 0 %67 = trunc i32 %memload2 to i8 %68 = zext i8 %67 to i32 %shift-cnt-msk100 = and i32 %68, 63 %ESI109 = ashr i32 %ESI79, %shift-cnt-msk100 %shrd_cf_count_cmp101 = icmp sgt i32 %shift-cnt-msk100, 0 %69 = sub i32 32, %shift-cnt-msk100 %shld_cf_count_shift102 = shl i32 1, %69 %shld_cf_count_and103 = and i32 %ESI79, %shld_cf_count_shift102 %shld_cf_count_shft_out104 = icmp sgt i32 %shld_cf_count_and103, 0 %shld_cf_update105 = select i1 %shrd_cf_count_cmp101, i1 %shld_cf_count_shft_out104, i1 false %ZF106 = icmp eq i32 %ESI109, 0 %highbit107 = and i32 -2147483648, %ESI109 %SF108 = icmp ne i32 %highbit107, 0 %70 = trunc i32 %memload2 to i8 %71 = zext i8 %70 to i32 %shift-cnt-msk110 = and i32 %71, 63 %EDI119 = shl i32 %EDI99, %shift-cnt-msk110 %shrd_cf_count_cmp111 = icmp sgt i32 %shift-cnt-msk110, 0 %72 = sub i32 32, %shift-cnt-msk110 %shld_cf_count_shift112 = shl i32 1, %72 %shld_cf_count_and113 = and i32 %EDI99, %shld_cf_count_shift112 %shld_cf_count_shft_out114 = icmp sgt i32 %shld_cf_count_and113, 0 %shld_cf_update115 = select i1 %shrd_cf_count_cmp111, i1 %shld_cf_count_shft_out114, i1 %shld_cf_update105 %ZF116 = icmp eq i32 %EDI119, 0 %highbit117 = and i32 -2147483648, %EDI119 %SF118 = icmp ne i32 %highbit117, 0 %EAX124 = and i32 %R8D, %ESI109 %highbit120 = and i32 -2147483648, %EAX124 %SF121 = icmp ne i32 %highbit120, 0 %ZF122 = icmp eq i32 %EAX124, 0 %73 = and i32 %EAX124, 255 %74 = call i32 @llvm.ctpop.i32(i32 %73) %75 = and i32 %74, 1 %PF123 = icmp eq i32 %75, 0 %EAX129 = or i32 %EAX124, %EDI119 %highbit125 = and i32 -2147483648, %EAX129 %SF126 = icmp ne i32 %highbit125, 0 %ZF127 = icmp eq i32 %EAX129, 0 %76 = and i32 %EAX129, 255 %77 = call i32 @llvm.ctpop.i32(i32 %76) %78 = and i32 %77, 1 %PF128 = icmp eq i32 %78, 0 %79 = trunc i32 %memload2 to i8 %80 = zext i8 %79 to i32 %shift-cnt-msk130 = and i32 %80, 63 %ESI139 = ashr i32 %ESI109, %shift-cnt-msk130 %shrd_cf_count_cmp131 = icmp sgt i32 %shift-cnt-msk130, 0 %81 = sub i32 32, %shift-cnt-msk130 %shld_cf_count_shift132 = shl i32 1, %81 %shld_cf_count_and133 = and i32 %ESI109, %shld_cf_count_shift132 %shld_cf_count_shft_out134 = icmp sgt i32 %shld_cf_count_and133, 0 %shld_cf_update135 = select i1 %shrd_cf_count_cmp131, i1 %shld_cf_count_shft_out134, i1 false %ZF136 = icmp eq i32 %ESI139, 0 %highbit137 = and i32 -2147483648, %ESI139 %SF138 = icmp ne i32 %highbit137, 0 %82 = load i64, ptr %R10D-SKT-LOC, align 1 %R10D140 = trunc i64 %82 to i32 %R10D147 = add i32 %R10D140, -4 %83 = call { i32, i1 } @llvm.uadd.with.overflow.i32(i32 %R10D140, i32 -4) %CF141 = extractvalue { i32, i1 } %83, 1 %84 = and i32 %R10D147, 255 %85 = call i32 @llvm.ctpop.i32(i32 %84) %86 = and i32 %85, 1 %PF142 = icmp eq i32 %86, 0 %ZF143 = icmp eq i32 %R10D147, 0 %highbit144 = and i32 -2147483648, %R10D147 %SF145 = icmp ne i32 %highbit144, 0 %87 = call { i32, i1 } @llvm.sadd.with.overflow.i32(i32 %R10D140, i32 -4) %OF146 = extractvalue { i32, i1 } %87, 1 %88 = zext i32 %EAX129 to i64 store i64 %88, ptr %EAX-SKT-LOC152, align 1 %89 = zext i32 %ESI139 to i64 store i64 %89, ptr %ESI-SKT-LOC164, align 1 store i32 %EAX129, ptr %EAX-SKT-LOC193, align 1 %CmpZF_JNE = icmp eq i1 %ZF143, false %90 = zext i32 %EAX129 to i64 store i64 %90, ptr %EAX-SKT-LOC, align 1 %91 = zext i32 %ESI139 to i64 store i64 %91, ptr %ESI-SKT-LOC, align 1 %92 = zext i32 %R10D147 to i64 store i64 %92, ptr %R10D-SKT-LOC, align 1 br i1 %CmpZF_JNE, label %bb.5, label %bb.6 bb.6: ; preds = %bb.5, %bb.2 %93 = and i32 %R9D, %R9D %highbit148 = and i32 -2147483648, %93 %SF149 = icmp ne i32 %highbit148, 0 %ZF150 = icmp eq i32 %93, 0 %94 = and i32 %93, 255 %95 = call i32 @llvm.ctpop.i32(i32 %94) %96 = and i32 %95, 1 %PF151 = icmp eq i32 %96, 0 %CmpZF_JE = icmp eq i1 %ZF150, true br i1 %CmpZF_JE, label %bb.9, label %bb.8 bb.8: ; preds = %bb.8, %bb.6 %97 = load i64, ptr %EAX-SKT-LOC152, align 1 %EAX153 = trunc i64 %97 to i32 %98 = trunc i32 %memload2 to i8 %99 = zext i8 %98 to i32 %shift-cnt-msk154 = and i32 %99, 63 %EDI163 = shl i32 %EAX153, %shift-cnt-msk154 %shrd_cf_count_cmp155 = icmp sgt i32 %shift-cnt-msk154, 0 %100 = sub i32 32, %shift-cnt-msk154 %shld_cf_count_shift156 = shl i32 1, %100 %shld_cf_count_and157 = and i32 %EAX153, %shld_cf_count_shift156 %shld_cf_count_shft_out158 = icmp sgt i32 %shld_cf_count_and157, 0 %shld_cf_update159 = select i1 %shrd_cf_count_cmp155, i1 %shld_cf_count_shft_out158, i1 false %ZF160 = icmp eq i32 %EDI163, 0 %highbit161 = and i32 -2147483648, %EDI163 %SF162 = icmp ne i32 %highbit161, 0 %101 = load i64, ptr %ESI-SKT-LOC164, align 1 %ESI165 = trunc i64 %101 to i32 %EAX170 = and i32 %R8D, %ESI165 %highbit166 = and i32 -2147483648, %EAX170 %SF167 = icmp ne i32 %highbit166, 0 %ZF168 = icmp eq i32 %EAX170, 0 %102 = and i32 %EAX170, 255 %103 = call i32 @llvm.ctpop.i32(i32 %102) %104 = and i32 %103, 1 %PF169 = icmp eq i32 %104, 0 %EAX175 = or i32 %EAX170, %EDI163 %highbit171 = and i32 -2147483648, %EAX175 %SF172 = icmp ne i32 %highbit171, 0 %ZF173 = icmp eq i32 %EAX175, 0 %105 = and i32 %EAX175, 255 %106 = call i32 @llvm.ctpop.i32(i32 %105) %107 = and i32 %106, 1 %PF174 = icmp eq i32 %107, 0 %108 = trunc i32 %memload2 to i8 %109 = zext i8 %108 to i32 %shift-cnt-msk176 = and i32 %109, 63 %ESI185 = ashr i32 %ESI165, %shift-cnt-msk176 %shrd_cf_count_cmp177 = icmp sgt i32 %shift-cnt-msk176, 0 %110 = sub i32 32, %shift-cnt-msk176 %shld_cf_count_shift178 = shl i32 1, %110 %shld_cf_count_and179 = and i32 %ESI165, %shld_cf_count_shift178 %shld_cf_count_shft_out180 = icmp sgt i32 %shld_cf_count_and179, 0 %shld_cf_update181 = select i1 %shrd_cf_count_cmp177, i1 %shld_cf_count_shft_out180, i1 false %ZF182 = icmp eq i32 %ESI185, 0 %highbit183 = and i32 -2147483648, %ESI185 %SF184 = icmp ne i32 %highbit183, 0 %111 = load i64, ptr %R9D-SKT-LOC, align 1 %R9D186 = trunc i64 %111 to i32 %R9D191 = sub i32 %R9D186, 1 %112 = and i32 %R9D191, 255 %113 = call i32 @llvm.ctpop.i32(i32 %112) %114 = and i32 %113, 1 %PF187 = icmp eq i32 %114, 0 %ZF188 = icmp eq i32 %R9D191, 0 %highbit189 = and i32 -2147483648, %R9D191 %SF190 = icmp ne i32 %highbit189, 0 store i32 %EAX175, ptr %EAX-SKT-LOC193, align 1 %CmpZF_JNE210 = icmp eq i1 %ZF188, false %115 = zext i32 %EAX175 to i64 store i64 %115, ptr %EAX-SKT-LOC152, align 1 %116 = zext i32 %ESI185 to i64 store i64 %116, ptr %ESI-SKT-LOC164, align 1 %117 = zext i32 %R9D191 to i64 store i64 %117, ptr %R9D-SKT-LOC, align 1 br i1 %CmpZF_JNE210, label %bb.8, label %bb.9 bb.3: ; preds = %entry %memload192 = load i32, ptr @UBIFS_LPT_FANOUT_SHIFT, align 1 store i32 0, ptr %EAX-SKT-LOC193, align 1 store i32 %memload192, ptr %CL-SKT-LOC, align 1 br label %bb.9 bb.9: ; preds = %bb.3, %bb.8, %bb.6 %EAX194 = load i32, ptr %EAX-SKT-LOC193, align 1 %118 = load i32, ptr %CL-SKT-LOC, align 1 %CL = trunc i32 %118 to i8 %119 = zext i8 %CL to i32 %shift-cnt-msk195 = and i32 %119, 63 %EAX204 = shl i32 %EAX194, %shift-cnt-msk195 %shrd_cf_count_cmp196 = icmp sgt i32 %shift-cnt-msk195, 0 %120 = sub i32 32, %shift-cnt-msk195 %shld_cf_count_shift197 = shl i32 1, %120 %shld_cf_count_and198 = and i32 %EAX194, %shld_cf_count_shift197 %shld_cf_count_shft_out199 = icmp sgt i32 %shld_cf_count_and198, 0 %shld_cf_update200 = select i1 %shrd_cf_count_cmp196, i1 %shld_cf_count_shft_out199, i1 false %ZF201 = icmp eq i32 %EAX204, 0 %highbit202 = and i32 -2147483648, %EAX204 %SF203 = icmp ne i32 %highbit202, 0 %EAX209 = or i32 %EAX204, %arg3 %highbit205 = and i32 -2147483648, %EAX209 %SF206 = icmp ne i32 %highbit205, 0 %ZF207 = icmp eq i32 %EAX209, 0 %121 = and i32 %EAX209, 255 %122 = call i32 @llvm.ctpop.i32(i32 %121) %123 = and i32 %122, 1 %PF208 = icmp eq i32 %123, 0 ret i32 %EAX209 } ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.usub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.ssub.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.ctpop.i32(i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.uadd.with.overflow.i32(i32, i32) #0 ; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn declare { i32, i1 } @llvm.sadd.with.overflow.i32(i32, i32) #0 attributes #0 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_lpt.c_calc_pnode_num_from_parent.c' source_filename = "AnghaBench/linux/fs/ubifs/extr_lpt.c_calc_pnode_num_from_parent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UBIFS_LPT_FANOUT_SHIFT = common local_unnamed_addr global i32 0, align 4 @UBIFS_LPT_FANOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @calc_pnode_num_from_parent], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @calc_pnode_num_from_parent(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 1 %6 = load i32, ptr @UBIFS_LPT_FANOUT_SHIFT, align 4, !tbaa !11 br i1 %5, label %7, label %22 7: ; preds = %3 %8 = load i32, ptr %1, align 4, !tbaa !12 %9 = load i32, ptr @UBIFS_LPT_FANOUT, align 4, !tbaa !11 %10 = add nsw i32 %9, -1 %11 = add nsw i32 %4, -2 br label %12 12: ; preds = %7, %12 %13 = phi i32 [ 0, %7 ], [ %18, %12 ] %14 = phi i32 [ %8, %7 ], [ %19, %12 ] %15 = phi i32 [ 0, %7 ], [ %20, %12 ] %16 = shl i32 %13, %6 %17 = and i32 %10, %14 %18 = or i32 %17, %16 %19 = ashr i32 %14, %6 %20 = add nuw nsw i32 %15, 1 %21 = icmp eq i32 %15, %11 br i1 %21, label %22, label %12, !llvm.loop !14 22: ; preds = %12, %3 %23 = phi i32 [ 0, %3 ], [ %18, %12 ] %24 = shl i32 %23, %6 %25 = or i32 %24, %2 ret i32 %25 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ubifs_info", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"ubifs_nnode", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_fs_ubifs_extr_lpt.c_calc_pnode_num_from_parent
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
23

Collection including validname/Angha_IRMctollx86-Armv8IR_allO2