IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/ebc/extr_ebc_disas.c_decode_mov.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/ebc/extr_ebc_disas.c_decode_mov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EBC_INSTR_MAXLEN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@instr_names = dso_local local_unnamed_addr global ptr null, align 8
@EBC_OPCODE_MASK = dso_local local_unnamed_addr constant i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @decode_mov], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @decode_mov(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = load i32, ptr @EBC_INSTR_MAXLEN, align 4, !tbaa !10
%5 = load ptr, ptr @instr_names, align 8, !tbaa !11
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @snprintf(i32 noundef %3, i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %6) #2
%8 = tail call i32 @decode_mov_args(ptr noundef %0, ptr noundef nonnull %1) #2
ret i32 %8
}
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @decode_mov_args(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/ebc/extr_ebc_disas.c_decode_mov.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/ebc/extr_ebc_disas.c_decode_mov.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBC_INSTR_MAXLEN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@instr_names = common local_unnamed_addr global ptr null, align 8
@EBC_OPCODE_MASK = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @decode_mov], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @decode_mov(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = load i32, ptr @EBC_INSTR_MAXLEN, align 4, !tbaa !11
%5 = load ptr, ptr @instr_names, align 8, !tbaa !12
%6 = load i64, ptr %0, align 8, !tbaa !14
%7 = load i64, ptr @EBC_OPCODE_MASK, align 8, !tbaa !14
%8 = and i64 %7, %6
%9 = getelementptr inbounds ptr, ptr %5, i64 %8
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = tail call i32 @snprintf(i32 noundef %3, i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %10) #2
%12 = tail call i32 @decode_mov_args(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
ret i32 %12
}
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @decode_mov_args(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
| radare2_libr_asm_arch_ebc_extr_ebc_disas.c_decode_mov |
; ModuleID = 'AnghaBench/Mirai-Source-Code/mirai/bot/extr_util.c_util_strcmp.c'
source_filename = "AnghaBench/Mirai-Source-Code/mirai/bot/extr_util.c_util_strcmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @util_strcmp(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @util_strlen(ptr noundef %0) #2
%4 = tail call i32 @util_strlen(ptr noundef %1) #2
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %18
6: ; preds = %2, %11
%7 = phi ptr [ %13, %11 ], [ %0, %2 ]
%8 = phi ptr [ %15, %11 ], [ %1, %2 ]
%9 = phi i32 [ %12, %11 ], [ %3, %2 ]
%10 = icmp eq i32 %9, 0
br i1 %10, label %18, label %11
11: ; preds = %6
%12 = add nsw i32 %9, -1
%13 = getelementptr inbounds i8, ptr %7, i64 1
%14 = load i8, ptr %7, align 1, !tbaa !5
%15 = getelementptr inbounds i8, ptr %8, i64 1
%16 = load i8, ptr %8, align 1, !tbaa !5
%17 = icmp eq i8 %14, %16
br i1 %17, label %6, label %18, !llvm.loop !8
18: ; preds = %6, %11, %2
%19 = phi ptr [ @FALSE, %2 ], [ @TRUE, %6 ], [ @FALSE, %11 ]
%20 = load i32, ptr %19, align 4, !tbaa !10
ret i32 %20
}
declare i32 @util_strlen(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/Mirai-Source-Code/mirai/bot/extr_util.c_util_strcmp.c'
source_filename = "AnghaBench/Mirai-Source-Code/mirai/bot/extr_util.c_util_strcmp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @util_strcmp(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @util_strlen(ptr noundef %0) #2
%4 = tail call i32 @util_strlen(ptr noundef %1) #2
%5 = icmp eq i32 %3, %4
br i1 %5, label %6, label %18
6: ; preds = %2, %11
%7 = phi ptr [ %13, %11 ], [ %0, %2 ]
%8 = phi ptr [ %15, %11 ], [ %1, %2 ]
%9 = phi i32 [ %12, %11 ], [ %3, %2 ]
%10 = icmp eq i32 %9, 0
br i1 %10, label %18, label %11
11: ; preds = %6
%12 = add nsw i32 %9, -1
%13 = getelementptr inbounds i8, ptr %7, i64 1
%14 = load i8, ptr %7, align 1, !tbaa !6
%15 = getelementptr inbounds i8, ptr %8, i64 1
%16 = load i8, ptr %8, align 1, !tbaa !6
%17 = icmp eq i8 %14, %16
br i1 %17, label %6, label %18, !llvm.loop !9
18: ; preds = %6, %11, %2
%19 = phi ptr [ @FALSE, %2 ], [ @TRUE, %6 ], [ @FALSE, %11 ]
%20 = load i32, ptr %19, align 4, !tbaa !11
ret i32 %20
}
declare i32 @util_strlen(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 = !{!"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}
| Mirai-Source-Code_mirai_bot_extr_util.c_util_strcmp |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_erp.c_zfcp_erp_adapter_failed.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_erp.c_zfcp_erp_adapter_failed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ZFCP_STATUS_COMMON_ERP_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@ZFCP_SET = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @zfcp_erp_adapter_failed(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @ZFCP_STATUS_COMMON_ERP_FAILED, align 4, !tbaa !5
%5 = load i32, ptr @ZFCP_SET, align 4, !tbaa !5
%6 = tail call i32 @zfcp_erp_modify_adapter_status(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @zfcp_erp_modify_adapter_status(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_erp.c_zfcp_erp_adapter_failed.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_erp.c_zfcp_erp_adapter_failed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZFCP_STATUS_COMMON_ERP_FAILED = common local_unnamed_addr global i32 0, align 4
@ZFCP_SET = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @zfcp_erp_adapter_failed(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @ZFCP_STATUS_COMMON_ERP_FAILED, align 4, !tbaa !6
%5 = load i32, ptr @ZFCP_SET, align 4, !tbaa !6
%6 = tail call i32 @zfcp_erp_modify_adapter_status(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @zfcp_erp_modify_adapter_status(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_s390_scsi_extr_zfcp_erp.c_zfcp_erp_adapter_failed |
; ModuleID = 'AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_writer_zip_cd.c'
source_filename = "AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_writer_zip_cd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i64, i32, i32, i64, i32, i32, i32, i32 }
%struct.TYPE_6__ = type { ptr, i32, i32 }
@MZ_OK = dso_local local_unnamed_addr global i64 0, align 8
@MZ_SEEK_END = dso_local local_unnamed_addr global i32 0, align 4
@MZ_SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4
@MZ_ZIP_CD_FILENAME = dso_local local_unnamed_addr global i32 0, align 4
@MZ_VERSION_MADEBY = dso_local local_unnamed_addr global i32 0, align 4
@MZ_ZIP_FLAG_UTF8 = dso_local local_unnamed_addr global i32 0, align 4
@MZ_ZIP_FLAG_ENCRYPTED = dso_local local_unnamed_addr global i32 0, align 4
@MZ_OPEN_MODE_CREATE = dso_local local_unnamed_addr global i32 0, align 4
@MZ_ZIP_EXTENSION_CDCD = dso_local local_unnamed_addr global i32 0, align 4
@mz_zip_writer_entry_write = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @mz_zip_writer_zip_cd(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_7__, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store i64 0, ptr %4, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !11
%7 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 40) #3
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = call i32 @mz_zip_get_number_entry(i32 noundef %9, ptr noundef nonnull %3) #3
%11 = load i32, ptr %8, align 4, !tbaa !13
%12 = call i32 @mz_zip_get_cd_mem_stream(i32 noundef %11, ptr noundef nonnull %6) #3
%13 = load ptr, ptr %6, align 8, !tbaa !11
%14 = load i32, ptr @MZ_SEEK_END, align 4, !tbaa !5
%15 = call i32 @mz_stream_seek(ptr noundef %13, i32 noundef 0, i32 noundef %14) #3
%16 = load ptr, ptr %6, align 8, !tbaa !11
%17 = call i64 @mz_stream_tell(ptr noundef %16) #3
%18 = load ptr, ptr %6, align 8, !tbaa !11
%19 = load i32, ptr @MZ_SEEK_SET, align 4, !tbaa !5
%20 = call i32 @mz_stream_seek(ptr noundef %18, i32 noundef 0, i32 noundef %19) #3
%21 = load i32, ptr @MZ_ZIP_CD_FILENAME, align 4, !tbaa !5
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 7
store i32 %21, ptr %22, align 4, !tbaa !15
%23 = call i32 @time(ptr noundef null) #3
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 6
store i32 %23, ptr %24, align 8, !tbaa !17
%25 = load i32, ptr @MZ_VERSION_MADEBY, align 4, !tbaa !5
%26 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 5
store i32 %25, ptr %26, align 4, !tbaa !18
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%28 = load i32, ptr %27, align 8, !tbaa !19
%29 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 4
store i32 %28, ptr %29, align 8, !tbaa !20
%30 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 3
store i64 %17, ptr %30, align 8, !tbaa !21
%31 = load i32, ptr @MZ_ZIP_FLAG_UTF8, align 4, !tbaa !5
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 2
store i32 %31, ptr %32, align 4, !tbaa !22
%33 = load ptr, ptr %0, align 8, !tbaa !23
%34 = icmp eq ptr %33, null
br i1 %34, label %38, label %35
35: ; preds = %1
%36 = load i32, ptr @MZ_ZIP_FLAG_ENCRYPTED, align 4, !tbaa !5
%37 = or i32 %36, %31
store i32 %37, ptr %32, align 4, !tbaa !22
br label %38
38: ; preds = %35, %1
%39 = call i32 @mz_stream_mem_create(ptr noundef nonnull %5) #3
%40 = load ptr, ptr %5, align 8, !tbaa !11
%41 = load i32, ptr @MZ_OPEN_MODE_CREATE, align 4, !tbaa !5
%42 = call i32 @mz_stream_mem_open(ptr noundef %40, ptr noundef null, i32 noundef %41) #3
%43 = load ptr, ptr %5, align 8, !tbaa !11
%44 = load i32, ptr @MZ_ZIP_EXTENSION_CDCD, align 4, !tbaa !5
%45 = call i32 @mz_zip_extrafield_write(ptr noundef %43, i32 noundef %44, i32 noundef 8) #3
%46 = load ptr, ptr %5, align 8, !tbaa !11
%47 = load i32, ptr %3, align 4, !tbaa !5
%48 = call i32 @mz_stream_write_uint64(ptr noundef %46, i32 noundef %47) #3
%49 = load ptr, ptr %5, align 8, !tbaa !11
%50 = getelementptr inbounds %struct.TYPE_7__, ptr %2, i64 0, i32 1
%51 = call i32 @mz_stream_mem_get_buffer(ptr noundef %49, ptr noundef nonnull %50) #3
%52 = load ptr, ptr %5, align 8, !tbaa !11
%53 = call i32 @mz_stream_mem_get_buffer_length(ptr noundef %52, ptr noundef nonnull %4) #3
%54 = load i64, ptr %4, align 8, !tbaa !9
store i64 %54, ptr %2, align 8, !tbaa !24
%55 = call i64 @mz_zip_writer_entry_open(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%56 = load i64, ptr @MZ_OK, align 8, !tbaa !9
%57 = icmp eq i64 %55, %56
br i1 %57, label %58, label %68
58: ; preds = %38
%59 = load i32, ptr @mz_zip_writer_entry_write, align 4, !tbaa !5
%60 = load ptr, ptr %6, align 8, !tbaa !11
%61 = call i32 @mz_stream_copy_stream(ptr noundef nonnull %0, i32 noundef %59, ptr noundef %60, ptr noundef null, i64 noundef %17) #3
%62 = load ptr, ptr %6, align 8, !tbaa !11
%63 = load i32, ptr @MZ_SEEK_SET, align 4, !tbaa !5
%64 = call i32 @mz_stream_seek(ptr noundef %62, i32 noundef 0, i32 noundef %63) #3
%65 = load ptr, ptr %6, align 8, !tbaa !11
%66 = call i32 @mz_stream_mem_set_buffer_limit(ptr noundef %65, i32 noundef 0) #3
%67 = call i64 @mz_zip_writer_entry_close(ptr noundef nonnull %0) #3
br label %68
68: ; preds = %58, %38
%69 = phi i64 [ %67, %58 ], [ %55, %38 ]
%70 = call i32 @mz_stream_mem_delete(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #3
ret i64 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mz_zip_get_number_entry(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mz_zip_get_cd_mem_stream(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mz_stream_tell(ptr noundef) local_unnamed_addr #2
declare i32 @time(ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_create(ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_open(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mz_zip_extrafield_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mz_stream_write_uint64(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_get_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_get_buffer_length(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @mz_zip_writer_entry_open(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_copy_stream(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_set_buffer_limit(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mz_zip_writer_entry_close(ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_delete(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 12}
!14 = !{!"TYPE_6__", !12, i64 0, !6, i64 8, !6, i64 12}
!15 = !{!16, !6, i64 36}
!16 = !{!"TYPE_7__", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36}
!17 = !{!16, !6, i64 32}
!18 = !{!16, !6, i64 28}
!19 = !{!14, !6, i64 8}
!20 = !{!16, !6, i64 24}
!21 = !{!16, !10, i64 16}
!22 = !{!16, !6, i64 12}
!23 = !{!14, !12, i64 0}
!24 = !{!16, !10, i64 0}
| ; ModuleID = 'AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_writer_zip_cd.c'
source_filename = "AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_writer_zip_cd.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, i32, i32, i64, i32, i32, i32, i32 }
@MZ_OK = common local_unnamed_addr global i64 0, align 8
@MZ_SEEK_END = common local_unnamed_addr global i32 0, align 4
@MZ_SEEK_SET = common local_unnamed_addr global i32 0, align 4
@MZ_ZIP_CD_FILENAME = common local_unnamed_addr global i32 0, align 4
@MZ_VERSION_MADEBY = common local_unnamed_addr global i32 0, align 4
@MZ_ZIP_FLAG_UTF8 = common local_unnamed_addr global i32 0, align 4
@MZ_ZIP_FLAG_ENCRYPTED = common local_unnamed_addr global i32 0, align 4
@MZ_OPEN_MODE_CREATE = common local_unnamed_addr global i32 0, align 4
@MZ_ZIP_EXTENSION_CDCD = common local_unnamed_addr global i32 0, align 4
@mz_zip_writer_entry_write = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @mz_zip_writer_zip_cd(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_7__, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store i64 0, ptr %4, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
store ptr null, ptr %5, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store ptr null, ptr %6, align 8, !tbaa !12
%7 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 40) #3
%8 = getelementptr inbounds i8, ptr %0, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = call i32 @mz_zip_get_number_entry(i32 noundef %9, ptr noundef nonnull %3) #3
%11 = load i32, ptr %8, align 4, !tbaa !14
%12 = call i32 @mz_zip_get_cd_mem_stream(i32 noundef %11, ptr noundef nonnull %6) #3
%13 = load ptr, ptr %6, align 8, !tbaa !12
%14 = load i32, ptr @MZ_SEEK_END, align 4, !tbaa !6
%15 = call i32 @mz_stream_seek(ptr noundef %13, i32 noundef 0, i32 noundef %14) #3
%16 = load ptr, ptr %6, align 8, !tbaa !12
%17 = call i64 @mz_stream_tell(ptr noundef %16) #3
%18 = load ptr, ptr %6, align 8, !tbaa !12
%19 = load i32, ptr @MZ_SEEK_SET, align 4, !tbaa !6
%20 = call i32 @mz_stream_seek(ptr noundef %18, i32 noundef 0, i32 noundef %19) #3
%21 = load i32, ptr @MZ_ZIP_CD_FILENAME, align 4, !tbaa !6
%22 = getelementptr inbounds i8, ptr %2, i64 36
store i32 %21, ptr %22, align 4, !tbaa !16
%23 = call i32 @time(ptr noundef null) #3
%24 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %23, ptr %24, align 8, !tbaa !18
%25 = load i32, ptr @MZ_VERSION_MADEBY, align 4, !tbaa !6
%26 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %25, ptr %26, align 4, !tbaa !19
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load i32, ptr %27, align 8, !tbaa !20
%29 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %28, ptr %29, align 8, !tbaa !21
%30 = getelementptr inbounds i8, ptr %2, i64 16
store i64 %17, ptr %30, align 8, !tbaa !22
%31 = load i32, ptr @MZ_ZIP_FLAG_UTF8, align 4, !tbaa !6
%32 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %31, ptr %32, align 4, !tbaa !23
%33 = load ptr, ptr %0, align 8, !tbaa !24
%34 = icmp eq ptr %33, null
br i1 %34, label %38, label %35
35: ; preds = %1
%36 = load i32, ptr @MZ_ZIP_FLAG_ENCRYPTED, align 4, !tbaa !6
%37 = or i32 %36, %31
store i32 %37, ptr %32, align 4, !tbaa !23
br label %38
38: ; preds = %35, %1
%39 = call i32 @mz_stream_mem_create(ptr noundef nonnull %5) #3
%40 = load ptr, ptr %5, align 8, !tbaa !12
%41 = load i32, ptr @MZ_OPEN_MODE_CREATE, align 4, !tbaa !6
%42 = call i32 @mz_stream_mem_open(ptr noundef %40, ptr noundef null, i32 noundef %41) #3
%43 = load ptr, ptr %5, align 8, !tbaa !12
%44 = load i32, ptr @MZ_ZIP_EXTENSION_CDCD, align 4, !tbaa !6
%45 = call i32 @mz_zip_extrafield_write(ptr noundef %43, i32 noundef %44, i32 noundef 8) #3
%46 = load ptr, ptr %5, align 8, !tbaa !12
%47 = load i32, ptr %3, align 4, !tbaa !6
%48 = call i32 @mz_stream_write_uint64(ptr noundef %46, i32 noundef %47) #3
%49 = load ptr, ptr %5, align 8, !tbaa !12
%50 = getelementptr inbounds i8, ptr %2, i64 8
%51 = call i32 @mz_stream_mem_get_buffer(ptr noundef %49, ptr noundef nonnull %50) #3
%52 = load ptr, ptr %5, align 8, !tbaa !12
%53 = call i32 @mz_stream_mem_get_buffer_length(ptr noundef %52, ptr noundef nonnull %4) #3
%54 = load i64, ptr %4, align 8, !tbaa !10
store i64 %54, ptr %2, align 8, !tbaa !25
%55 = call i64 @mz_zip_writer_entry_open(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%56 = load i64, ptr @MZ_OK, align 8, !tbaa !10
%57 = icmp eq i64 %55, %56
br i1 %57, label %58, label %68
58: ; preds = %38
%59 = load i32, ptr @mz_zip_writer_entry_write, align 4, !tbaa !6
%60 = load ptr, ptr %6, align 8, !tbaa !12
%61 = call i32 @mz_stream_copy_stream(ptr noundef nonnull %0, i32 noundef %59, ptr noundef %60, ptr noundef null, i64 noundef %17) #3
%62 = load ptr, ptr %6, align 8, !tbaa !12
%63 = load i32, ptr @MZ_SEEK_SET, align 4, !tbaa !6
%64 = call i32 @mz_stream_seek(ptr noundef %62, i32 noundef 0, i32 noundef %63) #3
%65 = load ptr, ptr %6, align 8, !tbaa !12
%66 = call i32 @mz_stream_mem_set_buffer_limit(ptr noundef %65, i32 noundef 0) #3
%67 = call i64 @mz_zip_writer_entry_close(ptr noundef nonnull %0) #3
br label %68
68: ; preds = %58, %38
%69 = phi i64 [ %67, %58 ], [ %55, %38 ]
%70 = call i32 @mz_stream_mem_delete(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #3
ret i64 %69
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mz_zip_get_number_entry(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mz_zip_get_cd_mem_stream(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mz_stream_tell(ptr noundef) local_unnamed_addr #2
declare i32 @time(ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_create(ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_open(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mz_zip_extrafield_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mz_stream_write_uint64(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_get_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_get_buffer_length(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @mz_zip_writer_entry_open(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_copy_stream(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_set_buffer_limit(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @mz_zip_writer_entry_close(ptr noundef) local_unnamed_addr #2
declare i32 @mz_stream_mem_delete(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 12}
!15 = !{!"TYPE_6__", !13, i64 0, !7, i64 8, !7, i64 12}
!16 = !{!17, !7, i64 36}
!17 = !{!"TYPE_7__", !11, i64 0, !7, i64 8, !7, i64 12, !11, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!18 = !{!17, !7, i64 32}
!19 = !{!17, !7, i64 28}
!20 = !{!15, !7, i64 8}
!21 = !{!17, !7, i64 24}
!22 = !{!17, !11, i64 16}
!23 = !{!17, !7, i64 12}
!24 = !{!15, !13, i64 0}
!25 = !{!17, !11, i64 0}
| ZipArchive_SSZipArchive_minizip_extr_mz_zip_rw.c_mz_zip_writer_zip_cd |
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_buffer.c_evbuffer_search_range.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/extr_buffer.c_evbuffer_search_range.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.evbuffer_ptr = type { i64, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, ptr }
%struct.evbuffer_chain = type { ptr, i32, i64, ptr }
@EV_SSIZE_MAX = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @evbuffer_search_range(ptr dead_on_unwind noalias writable sret(%struct.evbuffer_ptr) align 8 %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef readonly %5) local_unnamed_addr #0 {
%7 = tail call i32 @EVBUFFER_LOCK(ptr noundef %1) #2
%8 = icmp eq ptr %4, null
br i1 %8, label %13, label %9
9: ; preds = %6
%10 = tail call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 24) #2
%11 = getelementptr inbounds %struct.evbuffer_ptr, ptr %0, i64 0, i32 1, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !5
br label %17
13: ; preds = %6
store i64 0, ptr %0, align 8, !tbaa !13
%14 = load ptr, ptr %1, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.evbuffer_ptr, ptr %0, i64 0, i32 1
%16 = getelementptr inbounds %struct.evbuffer_ptr, ptr %0, i64 0, i32 1, i32 1
store ptr %14, ptr %16, align 8, !tbaa !5
store i32 0, ptr %15, align 8, !tbaa !16
br label %17
17: ; preds = %13, %9
%18 = phi ptr [ %12, %9 ], [ %14, %13 ]
%19 = icmp eq ptr %5, null
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = getelementptr inbounds %struct.evbuffer_ptr, ptr %5, i64 0, i32 1, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !5
br label %23
23: ; preds = %20, %17
%24 = phi ptr [ %22, %20 ], [ null, %17 ]
%25 = load i64, ptr @EV_SSIZE_MAX, align 8
%26 = freeze i64 %25
%27 = add i64 %3, -1
%28 = icmp ult i64 %27, %26
br i1 %28, label %29, label %94
29: ; preds = %23
%30 = load i8, ptr %2, align 1, !tbaa !17
%31 = icmp eq ptr %18, null
br i1 %31, label %92, label %32
32: ; preds = %29
%33 = getelementptr inbounds %struct.evbuffer_ptr, ptr %0, i64 0, i32 1
%34 = getelementptr inbounds %struct.evbuffer_ptr, ptr %0, i64 0, i32 1, i32 1
%35 = load i32, ptr %33, align 8, !tbaa !16
br label %36
36: ; preds = %32, %88
%37 = phi i32 [ %35, %32 ], [ %89, %88 ]
%38 = phi ptr [ %18, %32 ], [ %90, %88 ]
%39 = load ptr, ptr %38, align 8, !tbaa !18
%40 = getelementptr inbounds %struct.evbuffer_chain, ptr %38, i64 0, i32 1
%41 = load i32, ptr %40, align 8, !tbaa !20
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = sext i32 %37 to i64
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = getelementptr inbounds %struct.evbuffer_chain, ptr %38, i64 0, i32 2
%47 = load i64, ptr %46, align 8, !tbaa !21
%48 = sub nsw i64 %47, %44
%49 = tail call ptr @memchr(ptr noundef %45, i8 noundef signext %30, i64 noundef %48) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %76, label %51
51: ; preds = %36
%52 = ptrtoint ptr %49 to i64
%53 = ptrtoint ptr %45 to i64
%54 = sub i64 %52, %53
%55 = load i64, ptr %0, align 8, !tbaa !13
%56 = add nsw i64 %55, %54
store i64 %56, ptr %0, align 8, !tbaa !13
%57 = load i32, ptr %33, align 8, !tbaa !16
%58 = trunc i64 %54 to i32
%59 = add i32 %57, %58
store i32 %59, ptr %33, align 8, !tbaa !16
%60 = tail call i32 @evbuffer_ptr_memcmp(ptr noundef %1, ptr noundef nonnull %0, ptr noundef nonnull %2, i64 noundef %3) #2
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %68
62: ; preds = %51
br i1 %19, label %94, label %63
63: ; preds = %62
%64 = load i64, ptr %0, align 8, !tbaa !13
%65 = add nsw i64 %64, %3
%66 = load i64, ptr %5, align 8, !tbaa !13
%67 = icmp sgt i64 %65, %66
br i1 %67, label %92, label %94
68: ; preds = %51
%69 = load i64, ptr %0, align 8, !tbaa !13
%70 = add nsw i64 %69, 1
store i64 %70, ptr %0, align 8, !tbaa !13
%71 = load i32, ptr %33, align 8, !tbaa !16
%72 = add nsw i32 %71, 1
store i32 %72, ptr %33, align 8, !tbaa !16
%73 = sext i32 %72 to i64
%74 = load i64, ptr %46, align 8, !tbaa !21
%75 = icmp eq i64 %74, %73
br i1 %75, label %85, label %88
76: ; preds = %36
%77 = icmp eq ptr %38, %24
br i1 %77, label %92, label %78
78: ; preds = %76
%79 = load i64, ptr %46, align 8, !tbaa !21
%80 = load i32, ptr %33, align 8, !tbaa !16
%81 = sext i32 %80 to i64
%82 = sub i64 %79, %81
%83 = load i64, ptr %0, align 8, !tbaa !13
%84 = add nsw i64 %82, %83
store i64 %84, ptr %0, align 8, !tbaa !13
br label %85
85: ; preds = %68, %78
%86 = getelementptr inbounds %struct.evbuffer_chain, ptr %38, i64 0, i32 3
%87 = load ptr, ptr %86, align 8, !tbaa !22
store ptr %87, ptr %34, align 8, !tbaa !5
store i32 0, ptr %33, align 8, !tbaa !16
br label %88
88: ; preds = %85, %68
%89 = phi i32 [ %72, %68 ], [ 0, %85 ]
%90 = phi ptr [ %38, %68 ], [ %87, %85 ]
%91 = icmp eq ptr %90, null
br i1 %91, label %92, label %36
92: ; preds = %88, %76, %29, %63
%93 = tail call i32 @PTR_NOT_FOUND(ptr noundef nonnull %0) #2
br label %94
94: ; preds = %63, %62, %92, %23
%95 = tail call i32 @EVBUFFER_UNLOCK(ptr noundef %1) #2
ret void
}
declare i32 @EVBUFFER_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @memchr(ptr noundef, i8 noundef signext, i64 noundef) local_unnamed_addr #1
declare i32 @evbuffer_ptr_memcmp(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @PTR_NOT_FOUND(ptr noundef) local_unnamed_addr #1
declare i32 @EVBUFFER_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !12, i64 16}
!6 = !{!"evbuffer_ptr", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !11, i64 0, !12, i64 8}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"evbuffer", !12, i64 0}
!16 = !{!6, !11, i64 8}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"evbuffer_chain", !12, i64 0, !11, i64 8, !7, i64 16, !12, i64 24}
!20 = !{!19, !11, i64 8}
!21 = !{!19, !7, i64 16}
!22 = !{!19, !12, i64 24}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_buffer.c_evbuffer_search_range.c'
source_filename = "AnghaBench/freebsd/contrib/libevent/extr_buffer.c_evbuffer_search_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.evbuffer_ptr = type { i64, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, ptr }
@EV_SSIZE_MAX = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @evbuffer_search_range(ptr dead_on_unwind noalias writable sret(%struct.evbuffer_ptr) align 8 %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef readonly %5) local_unnamed_addr #0 {
%7 = tail call i32 @EVBUFFER_LOCK(ptr noundef %1) #2
%8 = icmp eq ptr %4, null
br i1 %8, label %13, label %9
9: ; preds = %6
%10 = tail call i32 @memcpy(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 24) #2
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !6
br label %17
13: ; preds = %6
store i64 0, ptr %0, align 8, !tbaa !14
%14 = load ptr, ptr %1, align 8, !tbaa !15
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %14, ptr %16, align 8, !tbaa !6
store i32 0, ptr %15, align 8, !tbaa !17
br label %17
17: ; preds = %13, %9
%18 = phi ptr [ %12, %9 ], [ %14, %13 ]
%19 = icmp eq ptr %5, null
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = getelementptr inbounds i8, ptr %5, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !6
br label %23
23: ; preds = %20, %17
%24 = phi ptr [ %22, %20 ], [ null, %17 ]
%25 = load i64, ptr @EV_SSIZE_MAX, align 8
%26 = freeze i64 %25
%27 = add i64 %3, -1
%28 = icmp ult i64 %27, %26
br i1 %28, label %29, label %94
29: ; preds = %23
%30 = load i8, ptr %2, align 1, !tbaa !18
%31 = icmp eq ptr %18, null
br i1 %31, label %92, label %32
32: ; preds = %29
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = getelementptr inbounds i8, ptr %0, i64 16
%35 = load i32, ptr %33, align 8, !tbaa !17
br label %36
36: ; preds = %32, %88
%37 = phi i32 [ %35, %32 ], [ %89, %88 ]
%38 = phi ptr [ %18, %32 ], [ %90, %88 ]
%39 = load ptr, ptr %38, align 8, !tbaa !19
%40 = getelementptr inbounds i8, ptr %38, i64 8
%41 = load i32, ptr %40, align 8, !tbaa !21
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = sext i32 %37 to i64
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = getelementptr inbounds i8, ptr %38, i64 16
%47 = load i64, ptr %46, align 8, !tbaa !22
%48 = sub nsw i64 %47, %44
%49 = tail call ptr @memchr(ptr noundef %45, i8 noundef signext %30, i64 noundef %48) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %76, label %51
51: ; preds = %36
%52 = ptrtoint ptr %49 to i64
%53 = ptrtoint ptr %45 to i64
%54 = sub i64 %52, %53
%55 = load i64, ptr %0, align 8, !tbaa !14
%56 = add nsw i64 %55, %54
store i64 %56, ptr %0, align 8, !tbaa !14
%57 = load i32, ptr %33, align 8, !tbaa !17
%58 = trunc i64 %54 to i32
%59 = add i32 %57, %58
store i32 %59, ptr %33, align 8, !tbaa !17
%60 = tail call i32 @evbuffer_ptr_memcmp(ptr noundef %1, ptr noundef nonnull %0, ptr noundef nonnull %2, i64 noundef %3) #2
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %68
62: ; preds = %51
br i1 %19, label %94, label %63
63: ; preds = %62
%64 = load i64, ptr %0, align 8, !tbaa !14
%65 = add nsw i64 %64, %3
%66 = load i64, ptr %5, align 8, !tbaa !14
%67 = icmp sgt i64 %65, %66
br i1 %67, label %92, label %94
68: ; preds = %51
%69 = load i64, ptr %0, align 8, !tbaa !14
%70 = add nsw i64 %69, 1
store i64 %70, ptr %0, align 8, !tbaa !14
%71 = load i32, ptr %33, align 8, !tbaa !17
%72 = add nsw i32 %71, 1
store i32 %72, ptr %33, align 8, !tbaa !17
%73 = sext i32 %72 to i64
%74 = load i64, ptr %46, align 8, !tbaa !22
%75 = icmp eq i64 %74, %73
br i1 %75, label %85, label %88
76: ; preds = %36
%77 = icmp eq ptr %38, %24
br i1 %77, label %92, label %78
78: ; preds = %76
%79 = load i64, ptr %46, align 8, !tbaa !22
%80 = load i32, ptr %33, align 8, !tbaa !17
%81 = sext i32 %80 to i64
%82 = sub i64 %79, %81
%83 = load i64, ptr %0, align 8, !tbaa !14
%84 = add nsw i64 %82, %83
store i64 %84, ptr %0, align 8, !tbaa !14
br label %85
85: ; preds = %68, %78
%86 = getelementptr inbounds i8, ptr %38, i64 24
%87 = load ptr, ptr %86, align 8, !tbaa !23
store ptr %87, ptr %34, align 8, !tbaa !6
store i32 0, ptr %33, align 8, !tbaa !17
br label %88
88: ; preds = %85, %68
%89 = phi i32 [ %72, %68 ], [ 0, %85 ]
%90 = phi ptr [ %38, %68 ], [ %87, %85 ]
%91 = icmp eq ptr %90, null
br i1 %91, label %92, label %36
92: ; preds = %88, %76, %29, %63
%93 = tail call i32 @PTR_NOT_FOUND(ptr noundef nonnull %0) #2
br label %94
94: ; preds = %63, %62, %92, %23
%95 = tail call i32 @EVBUFFER_UNLOCK(ptr noundef %1) #2
ret void
}
declare i32 @EVBUFFER_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @memchr(ptr noundef, i8 noundef signext, i64 noundef) local_unnamed_addr #1
declare i32 @evbuffer_ptr_memcmp(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @PTR_NOT_FOUND(ptr noundef) local_unnamed_addr #1
declare i32 @EVBUFFER_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !13, i64 16}
!7 = !{!"evbuffer_ptr", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8}
!12 = !{!"int", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"evbuffer", !13, i64 0}
!17 = !{!7, !12, i64 8}
!18 = !{!9, !9, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"evbuffer_chain", !13, i64 0, !12, i64 8, !8, i64 16, !13, i64 24}
!21 = !{!20, !12, i64 8}
!22 = !{!20, !8, i64 16}
!23 = !{!20, !13, i64 24}
| freebsd_contrib_libevent_extr_buffer.c_evbuffer_search_range |
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_intel-iommu-debugfs.c_ctx_tbl_walk.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_intel-iommu-debugfs.c_ctx_tbl_walk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tbl_walk = type { i32, i32, ptr, ptr, i32 }
%struct.intel_iommu = type { i64, ptr }
@DMAR_RTADDR_REG = dso_local local_unnamed_addr global i64 0, align 8
@DMA_RTADDR_SMT = dso_local local_unnamed_addr global i32 0, align 4
@VTD_PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ctx_tbl_walk], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ctx_tbl_walk(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.tbl_walk, align 8
%5 = getelementptr inbounds %struct.tbl_walk, ptr %4, i64 0, i32 1
%6 = getelementptr inbounds %struct.intel_iommu, ptr %1, i64 0, i32 1
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds %struct.tbl_walk, ptr %4, i64 0, i32 3
%9 = getelementptr inbounds %struct.tbl_walk, ptr %4, i64 0, i32 2
br label %10
10: ; preds = %3, %36
%11 = phi i32 [ 0, %3 ], [ %37, %36 ]
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 0, i64 32, i1 false)
%12 = call ptr @iommu_context_addr(ptr noundef %1, i32 noundef %2, i32 noundef %11, i32 noundef 0) #4
%13 = icmp eq ptr %12, null
br i1 %13, label %35, label %14
14: ; preds = %10
%15 = call i32 @context_present(ptr noundef nonnull %12) #4
%16 = icmp eq i32 %15, 0
br i1 %16, label %36, label %17
17: ; preds = %14
store i32 %2, ptr %4, align 8, !tbaa !5
store i32 %11, ptr %5, align 4, !tbaa !11
%18 = load ptr, ptr %6, align 8, !tbaa !12
%19 = getelementptr inbounds i32, ptr %18, i64 %7
store ptr %19, ptr %8, align 8, !tbaa !15
store ptr %12, ptr %9, align 8, !tbaa !16
store ptr %4, ptr %0, align 8, !tbaa !17
%20 = load i64, ptr %1, align 8, !tbaa !19
%21 = load i64, ptr @DMAR_RTADDR_REG, align 8, !tbaa !20
%22 = add nsw i64 %21, %20
%23 = call i32 @dmar_readq(i64 noundef %22) #4
%24 = load i32, ptr @DMA_RTADDR_SMT, align 4, !tbaa !21
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %33, label %27
27: ; preds = %17
%28 = load i32, ptr %12, align 4, !tbaa !22
%29 = load i32, ptr @VTD_PAGE_MASK, align 4, !tbaa !21
%30 = and i32 %29, %28
%31 = call i32 @get_pasid_dir_size(ptr noundef nonnull %12) #4
%32 = call i32 @pasid_dir_walk(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31) #4
br label %36
33: ; preds = %17
%34 = call i32 @print_tbl_walk(ptr noundef nonnull %0) #4
br label %36
35: ; preds = %10
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
br label %39
36: ; preds = %27, %33, %14
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
%37 = add nuw nsw i32 %11, 1
%38 = icmp eq i32 %37, 256
br i1 %38, label %39, label %10, !llvm.loop !24
39: ; preds = %36, %35
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @iommu_context_addr(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @context_present(ptr noundef) local_unnamed_addr #3
declare i32 @dmar_readq(i64 noundef) local_unnamed_addr #3
declare i32 @get_pasid_dir_size(ptr noundef) local_unnamed_addr #3
declare i32 @pasid_dir_walk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @print_tbl_walk(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tbl_walk", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!13, !10, i64 8}
!13 = !{!"intel_iommu", !14, i64 0, !10, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !10, i64 8}
!17 = !{!18, !10, i64 0}
!18 = !{!"seq_file", !10, i64 0}
!19 = !{!13, !14, i64 0}
!20 = !{!14, !14, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !7, i64 0}
!23 = !{!"context_entry", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_intel-iommu-debugfs.c_ctx_tbl_walk.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_intel-iommu-debugfs.c_ctx_tbl_walk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.tbl_walk = type { i32, i32, ptr, ptr, i32 }
@DMAR_RTADDR_REG = common local_unnamed_addr global i64 0, align 8
@DMA_RTADDR_SMT = common local_unnamed_addr global i32 0, align 4
@VTD_PAGE_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ctx_tbl_walk], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ctx_tbl_walk(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.tbl_walk, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 4
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 16
%9 = getelementptr inbounds i8, ptr %4, i64 8
br label %10
10: ; preds = %3, %36
%11 = phi i32 [ 0, %3 ], [ %37, %36 ]
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 0, i64 32, i1 false)
%12 = call ptr @iommu_context_addr(ptr noundef %1, i32 noundef %2, i32 noundef %11, i32 noundef 0) #4
%13 = icmp eq ptr %12, null
br i1 %13, label %35, label %14
14: ; preds = %10
%15 = call i32 @context_present(ptr noundef nonnull %12) #4
%16 = icmp eq i32 %15, 0
br i1 %16, label %36, label %17
17: ; preds = %14
store i32 %2, ptr %4, align 8, !tbaa !6
store i32 %11, ptr %5, align 4, !tbaa !12
%18 = load ptr, ptr %6, align 8, !tbaa !13
%19 = getelementptr inbounds i32, ptr %18, i64 %7
store ptr %19, ptr %8, align 8, !tbaa !16
store ptr %12, ptr %9, align 8, !tbaa !17
store ptr %4, ptr %0, align 8, !tbaa !18
%20 = load i64, ptr %1, align 8, !tbaa !20
%21 = load i64, ptr @DMAR_RTADDR_REG, align 8, !tbaa !21
%22 = add nsw i64 %21, %20
%23 = call i32 @dmar_readq(i64 noundef %22) #4
%24 = load i32, ptr @DMA_RTADDR_SMT, align 4, !tbaa !22
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %33, label %27
27: ; preds = %17
%28 = load i32, ptr %12, align 4, !tbaa !23
%29 = load i32, ptr @VTD_PAGE_MASK, align 4, !tbaa !22
%30 = and i32 %29, %28
%31 = call i32 @get_pasid_dir_size(ptr noundef nonnull %12) #4
%32 = call i32 @pasid_dir_walk(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31) #4
br label %36
33: ; preds = %17
%34 = call i32 @print_tbl_walk(ptr noundef nonnull %0) #4
br label %36
35: ; preds = %10
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
br label %39
36: ; preds = %27, %33, %14
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
%37 = add nuw nsw i32 %11, 1
%38 = icmp eq i32 %37, 256
br i1 %38, label %39, label %10, !llvm.loop !25
39: ; preds = %36, %35
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @iommu_context_addr(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @context_present(ptr noundef) local_unnamed_addr #3
declare i32 @dmar_readq(i64 noundef) local_unnamed_addr #3
declare i32 @get_pasid_dir_size(ptr noundef) local_unnamed_addr #3
declare i32 @pasid_dir_walk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @print_tbl_walk(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tbl_walk", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!14, !11, i64 8}
!14 = !{!"intel_iommu", !15, i64 0, !11, i64 8}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !11, i64 16}
!17 = !{!7, !11, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"seq_file", !11, i64 0}
!20 = !{!14, !15, i64 0}
!21 = !{!15, !15, i64 0}
!22 = !{!8, !8, i64 0}
!23 = !{!24, !8, i64 0}
!24 = !{!"context_entry", !8, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
| linux_drivers_iommu_extr_intel-iommu-debugfs.c_ctx_tbl_walk |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_mr.c_hw_index_to_key.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_mr.c_hw_index_to_key.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @hw_index_to_key], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @hw_index_to_key(i32 noundef %0) #0 {
%2 = ashr i32 %0, 24
%3 = shl i32 %0, 8
%4 = or i32 %2, %3
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_mr.c_hw_index_to_key.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_mr.c_hw_index_to_key.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 @hw_index_to_key], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @hw_index_to_key(i32 noundef %0) #0 {
%2 = ashr i32 %0, 24
%3 = shl i32 %0, 8
%4 = or i32 %2, %3
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_net_mlx4_extr_mr.c_hw_index_to_key |
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_irq_64.c_sun4u_compute_tid.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_irq_64.c_sun4u_compute_tid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@this_is_starfire = dso_local local_unnamed_addr global i64 0, align 8
@IMAP_TID_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@IMAP_TID_UPA = dso_local local_unnamed_addr global i32 0, align 4
@tlb_type = dso_local local_unnamed_addr global i64 0, align 8
@cheetah = dso_local local_unnamed_addr global i64 0, align 8
@cheetah_plus = dso_local local_unnamed_addr global i64 0, align 8
@__JALAPENO_ID = dso_local local_unnamed_addr global i64 0, align 8
@__SERRANO_ID = dso_local local_unnamed_addr global i64 0, align 8
@IMAP_TID_JBUS = dso_local local_unnamed_addr global i32 0, align 4
@IMAP_AID_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@IMAP_NID_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@IMAP_AID_SAFARI = dso_local local_unnamed_addr global i32 0, align 4
@IMAP_NID_SAFARI = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sun4u_compute_tid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sun4u_compute_tid(i64 noundef %0, i64 noundef %1) #0 {
%3 = load i64, ptr @this_is_starfire, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = tail call i32 @starfire_translate(i64 noundef %0, i64 noundef %1) #2
%7 = load i32, ptr @IMAP_TID_SHIFT, align 4, !tbaa !9
%8 = shl i32 %6, %7
%9 = load i32, ptr @IMAP_TID_UPA, align 4, !tbaa !9
%10 = and i32 %8, %9
br label %54
11: ; preds = %2
%12 = load i64, ptr @tlb_type, align 8, !tbaa !5
%13 = load i64, ptr @cheetah, align 8, !tbaa !5
%14 = icmp eq i64 %12, %13
%15 = load i64, ptr @cheetah_plus, align 8
%16 = icmp eq i64 %12, %15
%17 = select i1 %14, i1 true, i1 %16
br i1 %17, label %18, label %47
18: ; preds = %11
%19 = tail call i64 asm "rdpr %ver, $0", "=r,~{dirflag},~{fpsr},~{flags}"() #3, !srcloc !11
%20 = lshr i64 %19, 32
%21 = load i64, ptr @__JALAPENO_ID, align 8, !tbaa !5
%22 = icmp eq i64 %20, %21
%23 = load i64, ptr @__SERRANO_ID, align 8
%24 = icmp eq i64 %20, %23
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %33
26: ; preds = %18
%27 = load i32, ptr @IMAP_TID_SHIFT, align 4, !tbaa !9
%28 = zext nneg i32 %27 to i64
%29 = shl i64 %1, %28
%30 = trunc i64 %29 to i32
%31 = load i32, ptr @IMAP_TID_JBUS, align 4, !tbaa !9
%32 = and i32 %31, %30
br label %54
33: ; preds = %18
%34 = trunc i64 %1 to i32
%35 = and i32 %34, 31
%36 = lshr i32 %34, 5
%37 = and i32 %36, 31
%38 = load i32, ptr @IMAP_AID_SHIFT, align 4, !tbaa !9
%39 = shl i32 %35, %38
%40 = load i32, ptr @IMAP_NID_SHIFT, align 4, !tbaa !9
%41 = shl i32 %37, %40
%42 = or i32 %41, %39
%43 = load i32, ptr @IMAP_AID_SAFARI, align 4, !tbaa !9
%44 = load i32, ptr @IMAP_NID_SAFARI, align 4, !tbaa !9
%45 = or i32 %44, %43
%46 = and i32 %45, %42
br label %54
47: ; preds = %11
%48 = load i32, ptr @IMAP_TID_SHIFT, align 4, !tbaa !9
%49 = zext nneg i32 %48 to i64
%50 = shl i64 %1, %49
%51 = trunc i64 %50 to i32
%52 = load i32, ptr @IMAP_TID_UPA, align 4, !tbaa !9
%53 = and i32 %52, %51
br label %54
54: ; preds = %26, %33, %47, %5
%55 = phi i32 [ %10, %5 ], [ %53, %47 ], [ %32, %26 ], [ %46, %33 ]
ret i32 %55
}
declare i32 @starfire_translate(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
attributes #3 = { nounwind memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 1192}
| ; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_irq_64.c_sun4u_compute_tid.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_irq_64.c_sun4u_compute_tid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@this_is_starfire = common local_unnamed_addr global i64 0, align 8
@IMAP_TID_SHIFT = common local_unnamed_addr global i32 0, align 4
@IMAP_TID_UPA = common local_unnamed_addr global i32 0, align 4
@tlb_type = common local_unnamed_addr global i64 0, align 8
@cheetah = common local_unnamed_addr global i64 0, align 8
@cheetah_plus = common local_unnamed_addr global i64 0, align 8
@__JALAPENO_ID = common local_unnamed_addr global i64 0, align 8
@__SERRANO_ID = common local_unnamed_addr global i64 0, align 8
@IMAP_TID_JBUS = common local_unnamed_addr global i32 0, align 4
@IMAP_AID_SHIFT = common local_unnamed_addr global i32 0, align 4
@IMAP_NID_SHIFT = common local_unnamed_addr global i32 0, align 4
@IMAP_AID_SAFARI = common local_unnamed_addr global i32 0, align 4
@IMAP_NID_SAFARI = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sun4u_compute_tid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sun4u_compute_tid(i64 noundef %0, i64 noundef %1) #0 {
%3 = load i64, ptr @this_is_starfire, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = tail call i32 @starfire_translate(i64 noundef %0, i64 noundef %1) #2
%7 = load i32, ptr @IMAP_TID_SHIFT, align 4, !tbaa !10
%8 = shl i32 %6, %7
%9 = load i32, ptr @IMAP_TID_UPA, align 4, !tbaa !10
%10 = and i32 %8, %9
br label %54
11: ; preds = %2
%12 = load i64, ptr @tlb_type, align 8, !tbaa !6
%13 = load i64, ptr @cheetah, align 8, !tbaa !6
%14 = icmp eq i64 %12, %13
%15 = load i64, ptr @cheetah_plus, align 8
%16 = icmp eq i64 %12, %15
%17 = select i1 %14, i1 true, i1 %16
br i1 %17, label %18, label %47
18: ; preds = %11
%19 = tail call i64 asm "rdpr %ver, $0", "=r"() #3, !srcloc !12
%20 = lshr i64 %19, 32
%21 = load i64, ptr @__JALAPENO_ID, align 8, !tbaa !6
%22 = icmp eq i64 %20, %21
%23 = load i64, ptr @__SERRANO_ID, align 8
%24 = icmp eq i64 %20, %23
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %33
26: ; preds = %18
%27 = load i32, ptr @IMAP_TID_SHIFT, align 4, !tbaa !10
%28 = zext nneg i32 %27 to i64
%29 = shl i64 %1, %28
%30 = trunc i64 %29 to i32
%31 = load i32, ptr @IMAP_TID_JBUS, align 4, !tbaa !10
%32 = and i32 %31, %30
br label %54
33: ; preds = %18
%34 = trunc i64 %1 to i32
%35 = and i32 %34, 31
%36 = lshr i32 %34, 5
%37 = and i32 %36, 31
%38 = load i32, ptr @IMAP_AID_SHIFT, align 4, !tbaa !10
%39 = shl i32 %35, %38
%40 = load i32, ptr @IMAP_NID_SHIFT, align 4, !tbaa !10
%41 = shl i32 %37, %40
%42 = or i32 %41, %39
%43 = load i32, ptr @IMAP_AID_SAFARI, align 4, !tbaa !10
%44 = load i32, ptr @IMAP_NID_SAFARI, align 4, !tbaa !10
%45 = or i32 %44, %43
%46 = and i32 %45, %42
br label %54
47: ; preds = %11
%48 = load i32, ptr @IMAP_TID_SHIFT, align 4, !tbaa !10
%49 = zext nneg i32 %48 to i64
%50 = shl i64 %1, %49
%51 = trunc i64 %50 to i32
%52 = load i32, ptr @IMAP_TID_UPA, align 4, !tbaa !10
%53 = and i32 %52, %51
br label %54
54: ; preds = %26, %33, %47, %5
%55 = phi i32 [ %10, %5 ], [ %53, %47 ], [ %32, %26 ], [ %46, %33 ]
ret i32 %55
}
declare i32 @starfire_translate(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
attributes #3 = { nounwind memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{i64 1192}
| linux_arch_sparc_kernel_extr_irq_64.c_sun4u_compute_tid |
; ModuleID = 'AnghaBench/lab/third_party/md/extr_md4c.c_Decode.c'
source_filename = "AnghaBench/lab/third_party/md/extr_md4c.c_Decode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @Decode], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define internal void @Decode(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %38, label %5
5: ; preds = %3
%6 = add i32 %2, -1
%7 = lshr i32 %6, 2
%8 = add nuw nsw i32 %7, 1
%9 = zext nneg i32 %8 to i64
br label %10
10: ; preds = %5, %10
%11 = phi i64 [ 0, %5 ], [ %35, %10 ]
%12 = phi i64 [ 0, %5 ], [ %36, %10 ]
%13 = getelementptr inbounds i8, ptr %1, i64 %12
%14 = load i8, ptr %13, align 1, !tbaa !5
%15 = zext i8 %14 to i32
%16 = or disjoint i64 %12, 1
%17 = getelementptr inbounds i8, ptr %1, i64 %16
%18 = load i8, ptr %17, align 1, !tbaa !5
%19 = zext i8 %18 to i32
%20 = shl nuw nsw i32 %19, 8
%21 = or disjoint i32 %20, %15
%22 = or disjoint i64 %12, 2
%23 = getelementptr inbounds i8, ptr %1, i64 %22
%24 = load i8, ptr %23, align 1, !tbaa !5
%25 = zext i8 %24 to i32
%26 = shl nuw nsw i32 %25, 16
%27 = or disjoint i32 %21, %26
%28 = or disjoint i64 %12, 3
%29 = getelementptr inbounds i8, ptr %1, i64 %28
%30 = load i8, ptr %29, align 1, !tbaa !5
%31 = zext i8 %30 to i32
%32 = shl nuw i32 %31, 24
%33 = or disjoint i32 %27, %32
%34 = getelementptr inbounds i32, ptr %0, i64 %11
store i32 %33, ptr %34, align 4, !tbaa !8
%35 = add nuw nsw i64 %11, 1
%36 = add nuw nsw i64 %12, 4
%37 = icmp eq i64 %35, %9
br i1 %37, label %38, label %10, !llvm.loop !10
38: ; preds = %10, %3
ret void
}
attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/lab/third_party/md/extr_md4c.c_Decode.c'
source_filename = "AnghaBench/lab/third_party/md/extr_md4c.c_Decode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @Decode], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync)
define internal void @Decode(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %111, label %5
5: ; preds = %3
%6 = add i32 %2, -1
%7 = lshr i32 %6, 2
%8 = add nuw nsw i32 %7, 1
%9 = zext nneg i32 %8 to i64
%10 = icmp ult i32 %2, 29
br i1 %10, label %80, label %11
11: ; preds = %5
%12 = and i32 %6, -4
%13 = zext i32 %12 to i64
%14 = add nuw nsw i64 %13, 4
%15 = getelementptr i8, ptr %0, i64 %14
%16 = getelementptr i8, ptr %1, i64 %14
%17 = icmp ugt ptr %16, %0
%18 = icmp ugt ptr %15, %1
%19 = and i1 %17, %18
br i1 %19, label %80, label %20
20: ; preds = %11
%21 = icmp ult i32 %2, 61
br i1 %21, label %52, label %22
22: ; preds = %20
%23 = and i64 %9, 2147483632
br label %24
24: ; preds = %24, %22
%25 = phi i64 [ 0, %22 ], [ %44, %24 ]
%26 = shl i64 %25, 2
%27 = getelementptr inbounds i8, ptr %1, i64 %26
%28 = load <64 x i8>, ptr %27, align 1, !tbaa !6
%29 = shufflevector <64 x i8> %28, <64 x i8> poison, <16 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60>
%30 = shufflevector <64 x i8> %28, <64 x i8> poison, <16 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61>
%31 = shufflevector <64 x i8> %28, <64 x i8> poison, <16 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62>
%32 = shufflevector <64 x i8> %28, <64 x i8> poison, <16 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63>
%33 = zext <16 x i8> %29 to <16 x i32>
%34 = zext <16 x i8> %30 to <16 x i32>
%35 = shl nuw nsw <16 x i32> %34, <i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8>
%36 = or disjoint <16 x i32> %35, %33
%37 = zext <16 x i8> %31 to <16 x i32>
%38 = shl nuw nsw <16 x i32> %37, <i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16>
%39 = or disjoint <16 x i32> %36, %38
%40 = zext <16 x i8> %32 to <16 x i32>
%41 = shl nuw <16 x i32> %40, <i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24>
%42 = or disjoint <16 x i32> %39, %41
%43 = getelementptr inbounds i32, ptr %0, i64 %25
store <16 x i32> %42, ptr %43, align 4, !tbaa !9, !alias.scope !11, !noalias !14
%44 = add nuw i64 %25, 16
%45 = icmp eq i64 %44, %23
br i1 %45, label %46, label %24, !llvm.loop !16
46: ; preds = %24
%47 = icmp eq i64 %23, %9
br i1 %47, label %111, label %48
48: ; preds = %46
%49 = shl nuw nsw i64 %23, 2
%50 = and i64 %9, 8
%51 = icmp eq i64 %50, 0
br i1 %51, label %80, label %52
52: ; preds = %20, %48
%53 = phi i64 [ %23, %48 ], [ 0, %20 ]
%54 = and i64 %9, 2147483640
%55 = shl nuw nsw i64 %54, 2
br label %56
56: ; preds = %56, %52
%57 = phi i64 [ %53, %52 ], [ %76, %56 ]
%58 = shl i64 %57, 2
%59 = getelementptr inbounds i8, ptr %1, i64 %58
%60 = load <32 x i8>, ptr %59, align 1, !tbaa !6
%61 = shufflevector <32 x i8> %60, <32 x i8> poison, <8 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28>
%62 = shufflevector <32 x i8> %60, <32 x i8> poison, <8 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29>
%63 = shufflevector <32 x i8> %60, <32 x i8> poison, <8 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30>
%64 = shufflevector <32 x i8> %60, <32 x i8> poison, <8 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31>
%65 = zext <8 x i8> %61 to <8 x i32>
%66 = zext <8 x i8> %62 to <8 x i32>
%67 = shl nuw nsw <8 x i32> %66, <i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8>
%68 = or disjoint <8 x i32> %67, %65
%69 = zext <8 x i8> %63 to <8 x i32>
%70 = shl nuw nsw <8 x i32> %69, <i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16>
%71 = or disjoint <8 x i32> %68, %70
%72 = zext <8 x i8> %64 to <8 x i32>
%73 = shl nuw <8 x i32> %72, <i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24, i32 24>
%74 = or disjoint <8 x i32> %71, %73
%75 = getelementptr inbounds i32, ptr %0, i64 %57
store <8 x i32> %74, ptr %75, align 4, !tbaa !9, !alias.scope !20, !noalias !23
%76 = add nuw i64 %57, 8
%77 = icmp eq i64 %76, %54
br i1 %77, label %78, label %56, !llvm.loop !25
78: ; preds = %56
%79 = icmp eq i64 %54, %9
br i1 %79, label %111, label %80
80: ; preds = %78, %11, %5, %48
%81 = phi i64 [ 0, %5 ], [ 0, %11 ], [ %23, %48 ], [ %54, %78 ]
%82 = phi i64 [ 0, %5 ], [ 0, %11 ], [ %49, %48 ], [ %55, %78 ]
br label %83
83: ; preds = %80, %83
%84 = phi i64 [ %108, %83 ], [ %81, %80 ]
%85 = phi i64 [ %109, %83 ], [ %82, %80 ]
%86 = getelementptr inbounds i8, ptr %1, i64 %85
%87 = load i8, ptr %86, align 1, !tbaa !6
%88 = zext i8 %87 to i32
%89 = or disjoint i64 %85, 1
%90 = getelementptr inbounds i8, ptr %1, i64 %89
%91 = load i8, ptr %90, align 1, !tbaa !6
%92 = zext i8 %91 to i32
%93 = shl nuw nsw i32 %92, 8
%94 = or disjoint i32 %93, %88
%95 = or disjoint i64 %85, 2
%96 = getelementptr inbounds i8, ptr %1, i64 %95
%97 = load i8, ptr %96, align 1, !tbaa !6
%98 = zext i8 %97 to i32
%99 = shl nuw nsw i32 %98, 16
%100 = or disjoint i32 %94, %99
%101 = or disjoint i64 %85, 3
%102 = getelementptr inbounds i8, ptr %1, i64 %101
%103 = load i8, ptr %102, align 1, !tbaa !6
%104 = zext i8 %103 to i32
%105 = shl nuw i32 %104, 24
%106 = or disjoint i32 %100, %105
%107 = getelementptr inbounds i32, ptr %0, i64 %84
store i32 %106, ptr %107, align 4, !tbaa !9
%108 = add nuw nsw i64 %84, 1
%109 = add nuw nsw i64 %85, 4
%110 = icmp eq i64 %108, %9
br i1 %110, label %111, label %83, !llvm.loop !26
111: ; preds = %83, %46, %78, %3
ret void
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12}
!12 = distinct !{!12, !13}
!13 = distinct !{!13, !"LVerDomain"}
!14 = !{!15}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = !{!21}
!21 = distinct !{!21, !22}
!22 = distinct !{!22, !"LVerDomain"}
!23 = !{!24}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !17, !18, !19}
!26 = distinct !{!26, !17, !18}
| lab_third_party_md_extr_md4c.c_Decode |
; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_inode_free_security.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_inode_free_security.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @selinux_inode_free_security], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @selinux_inode_free_security(ptr noundef %0) #0 {
%2 = tail call i32 @inode_free_security(ptr noundef %0) #2
ret void
}
declare i32 @inode_free_security(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_inode_free_security.c'
source_filename = "AnghaBench/fastsocket/kernel/security/selinux/extr_hooks.c_selinux_inode_free_security.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 @selinux_inode_free_security], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @selinux_inode_free_security(ptr noundef %0) #0 {
%2 = tail call i32 @inode_free_security(ptr noundef %0) #2
ret void
}
declare i32 @inode_free_security(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_security_selinux_extr_hooks.c_selinux_inode_free_security |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/lily58/rev1/extr_matrix.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/lily58/rev1/extr_matrix.c_matrix_scan_kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define weak dso_local void @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 (...) @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/lily58/rev1/extr_matrix.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/lily58/rev1/extr_matrix.c_matrix_scan_kb.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 void @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) 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)"}
| qmk_firmware_keyboards_lily58_rev1_extr_matrix.c_matrix_scan_kb |
; ModuleID = 'AnghaBench/openssl/crypto/ts/extr_ts_rsp_utils.c_TS_TST_INFO_delete_ext.c'
source_filename = "AnghaBench/openssl/crypto/ts/extr_ts_rsp_utils.c_TS_TST_INFO_delete_ext.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @TS_TST_INFO_delete_ext(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call ptr @X509v3_delete_ext(i32 noundef %3, i32 noundef %1) #2
ret ptr %4
}
declare ptr @X509v3_delete_ext(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/openssl/crypto/ts/extr_ts_rsp_utils.c_TS_TST_INFO_delete_ext.c'
source_filename = "AnghaBench/openssl/crypto/ts/extr_ts_rsp_utils.c_TS_TST_INFO_delete_ext.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @TS_TST_INFO_delete_ext(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @X509v3_delete_ext(i32 noundef %3, i32 noundef %1) #2
ret ptr %4
}
declare ptr @X509v3_delete_ext(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| openssl_crypto_ts_extr_ts_rsp_utils.c_TS_TST_INFO_delete_ext |
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_ltc2941-battery-gauge.c_ltc294x_get_temperature.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_ltc2941-battery-gauge.c_ltc294x_get_temperature.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ltc294x_info = type { i64, i32 }
@LTC2942_ID = dso_local local_unnamed_addr global i64 0, align 8
@LTC2942_REG_TEMPERATURE_MSB = dso_local local_unnamed_addr global i32 0, align 4
@LTC2943_REG_TEMPERATURE_MSB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ltc294x_get_temperature], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ltc294x_get_temperature(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @LTC2942_ID, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
%7 = select i1 %6, i32 6000, i32 5100
%8 = load i32, ptr @LTC2942_REG_TEMPERATURE_MSB, align 4
%9 = load i32, ptr @LTC2943_REG_TEMPERATURE_MSB, align 4
%10 = select i1 %6, i32 %8, i32 %9
%11 = getelementptr inbounds %struct.ltc294x_info, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !12
%13 = call i32 @ltc294x_read_regs(i32 noundef %12, i32 noundef %10, ptr noundef nonnull %3, i32 noundef 2) #3
%14 = load i32, ptr %3, align 4, !tbaa !13
%15 = shl i32 %14, 8
%16 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = or i32 %15, %17
%19 = mul nsw i32 %18, %7
%20 = sdiv i32 %19, 65535
%21 = add nsw i32 %20, -2722
store i32 %21, ptr %1, align 4, !tbaa !13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ltc294x_read_regs(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ltc294x_info", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_ltc2941-battery-gauge.c_ltc294x_get_temperature.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_ltc2941-battery-gauge.c_ltc294x_get_temperature.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LTC2942_ID = common local_unnamed_addr global i64 0, align 8
@LTC2942_REG_TEMPERATURE_MSB = common local_unnamed_addr global i32 0, align 4
@LTC2943_REG_TEMPERATURE_MSB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ltc294x_get_temperature], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ltc294x_get_temperature(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca [2 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @LTC2942_ID, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
%7 = select i1 %6, i32 6000, i32 5100
%8 = load i32, ptr @LTC2942_REG_TEMPERATURE_MSB, align 4
%9 = load i32, ptr @LTC2943_REG_TEMPERATURE_MSB, align 4
%10 = select i1 %6, i32 %8, i32 %9
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = call i32 @ltc294x_read_regs(i32 noundef %12, i32 noundef %10, ptr noundef nonnull %3, i32 noundef 2) #3
%14 = load i32, ptr %3, align 4, !tbaa !14
%15 = shl i32 %14, 8
%16 = getelementptr inbounds i8, ptr %3, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = or i32 %15, %17
%19 = mul nsw i32 %18, %7
%20 = sdiv i32 %19, 65535
%21 = add nsw i32 %20, -2722
store i32 %21, ptr %1, align 4, !tbaa !14
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ltc294x_read_regs(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ltc294x_info", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
| linux_drivers_power_supply_extr_ltc2941-battery-gauge.c_ltc294x_get_temperature |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_pseudo_lock_dev_mmap.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_pseudo_lock_dev_mmap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vm_area_struct = type { i64, i64, i64, i32, ptr, i32 }
%struct.pseudo_lock_region = type { i64, i64, ptr }
@PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@rdtgroup_mutex = dso_local global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@current = dso_local local_unnamed_addr global ptr null, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@ENOSPC = dso_local local_unnamed_addr global i32 0, align 4
@VM_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@pseudo_mmap_ops = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pseudo_lock_dev_mmap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pseudo_lock_dev_mmap(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = sub i64 %3, %5
%7 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !14
%10 = shl i64 %8, %9
%11 = tail call i32 @mutex_lock(ptr noundef nonnull @rdtgroup_mutex) #2
%12 = load ptr, ptr %0, align 8, !tbaa !15
%13 = icmp eq ptr %12, null
%14 = zext i1 %13 to i32
%15 = tail call i32 @WARN_ON(i32 noundef %14) #2
br i1 %13, label %16, label %20
16: ; preds = %2
%17 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%18 = load i32, ptr @ENODEV, align 4, !tbaa !17
%19 = sub nsw i32 0, %18
br label %85
20: ; preds = %2
%21 = load ptr, ptr %12, align 8, !tbaa !18
%22 = getelementptr inbounds %struct.pseudo_lock_region, ptr %21, i64 0, i32 2
%23 = load ptr, ptr %22, align 8, !tbaa !20
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %29
25: ; preds = %20
%26 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%27 = load i32, ptr @ENODEV, align 4, !tbaa !17
%28 = sub nsw i32 0, %27
br label %85
29: ; preds = %20
%30 = load ptr, ptr @current, align 8, !tbaa !22
%31 = load i32, ptr %30, align 4, !tbaa !23
%32 = tail call i32 @cpumask_subset(i32 noundef %31, ptr noundef nonnull %23) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %29
%35 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%36 = load i32, ptr @EINVAL, align 4, !tbaa !17
%37 = sub nsw i32 0, %36
br label %85
38: ; preds = %29
%39 = getelementptr inbounds %struct.pseudo_lock_region, ptr %21, i64 0, i32 1
%40 = load i64, ptr %39, align 8, !tbaa !25
%41 = tail call i64 @__pa(i64 noundef %40) #2
%42 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !14
%43 = lshr i64 %41, %42
%44 = load i64, ptr %21, align 8, !tbaa !26
%45 = sub i64 %44, %10
%46 = icmp ugt i64 %10, %44
br i1 %46, label %47, label %51
47: ; preds = %38
%48 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%49 = load i32, ptr @ENOSPC, align 4, !tbaa !17
%50 = sub nsw i32 0, %49
br label %85
51: ; preds = %38
%52 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 3
%53 = load i32, ptr %52, align 8, !tbaa !27
%54 = load i32, ptr @VM_SHARED, align 4, !tbaa !17
%55 = and i32 %54, %53
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %51
%58 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%59 = load i32, ptr @EINVAL, align 4, !tbaa !17
%60 = sub nsw i32 0, %59
br label %85
61: ; preds = %51
%62 = icmp ugt i64 %6, %45
br i1 %62, label %63, label %67
63: ; preds = %61
%64 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%65 = load i32, ptr @ENOSPC, align 4, !tbaa !17
%66 = sub nsw i32 0, %65
br label %85
67: ; preds = %61
%68 = load i64, ptr %39, align 8, !tbaa !25
%69 = add i64 %68, %10
%70 = tail call i32 @memset(i64 noundef %69, i32 noundef 0, i64 noundef %6) #2
%71 = load i64, ptr %4, align 8, !tbaa !12
%72 = load i64, ptr %7, align 8, !tbaa !13
%73 = add i64 %72, %43
%74 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 5
%75 = load i32, ptr %74, align 8, !tbaa !28
%76 = tail call i64 @remap_pfn_range(ptr noundef nonnull %1, i64 noundef %71, i64 noundef %73, i64 noundef %6, i32 noundef %75) #2
%77 = icmp eq i64 %76, 0
br i1 %77, label %82, label %78
78: ; preds = %67
%79 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%80 = load i32, ptr @EAGAIN, align 4, !tbaa !17
%81 = sub nsw i32 0, %80
br label %85
82: ; preds = %67
%83 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 4
store ptr @pseudo_mmap_ops, ptr %83, align 8, !tbaa !29
%84 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
br label %85
85: ; preds = %82, %78, %63, %57, %47, %34, %25, %16
%86 = phi i32 [ %50, %47 ], [ %66, %63 ], [ %81, %78 ], [ 0, %82 ], [ %60, %57 ], [ %37, %34 ], [ %28, %25 ], [ %19, %16 ]
ret i32 %86
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @cpumask_subset(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @__pa(i64 noundef) local_unnamed_addr #1
declare i32 @memset(i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @remap_pfn_range(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vm_area_struct", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !10, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"file", !11, i64 0}
!17 = !{!10, !10, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"rdtgroup", !11, i64 0}
!20 = !{!21, !11, i64 16}
!21 = !{!"pseudo_lock_region", !7, i64 0, !7, i64 8, !11, i64 16}
!22 = !{!11, !11, i64 0}
!23 = !{!24, !10, i64 0}
!24 = !{!"TYPE_4__", !10, i64 0}
!25 = !{!21, !7, i64 8}
!26 = !{!21, !7, i64 0}
!27 = !{!6, !10, i64 24}
!28 = !{!6, !10, i64 40}
!29 = !{!6, !11, i64 32}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_pseudo_lock_dev_mmap.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_pseudo_lock.c_pseudo_lock_dev_mmap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8
@rdtgroup_mutex = common global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@current = common local_unnamed_addr global ptr null, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@ENOSPC = common local_unnamed_addr global i32 0, align 4
@VM_SHARED = common local_unnamed_addr global i32 0, align 4
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@pseudo_mmap_ops = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pseudo_lock_dev_mmap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @pseudo_lock_dev_mmap(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = sub i64 %3, %5
%7 = getelementptr inbounds i8, ptr %1, i64 16
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !15
%10 = shl i64 %8, %9
%11 = tail call i32 @mutex_lock(ptr noundef nonnull @rdtgroup_mutex) #2
%12 = load ptr, ptr %0, align 8, !tbaa !16
%13 = icmp eq ptr %12, null
%14 = zext i1 %13 to i32
%15 = tail call i32 @WARN_ON(i32 noundef %14) #2
br i1 %13, label %16, label %20
16: ; preds = %2
%17 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%18 = load i32, ptr @ENODEV, align 4, !tbaa !18
%19 = sub nsw i32 0, %18
br label %85
20: ; preds = %2
%21 = load ptr, ptr %12, align 8, !tbaa !19
%22 = getelementptr inbounds i8, ptr %21, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !21
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %29
25: ; preds = %20
%26 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%27 = load i32, ptr @ENODEV, align 4, !tbaa !18
%28 = sub nsw i32 0, %27
br label %85
29: ; preds = %20
%30 = load ptr, ptr @current, align 8, !tbaa !23
%31 = load i32, ptr %30, align 4, !tbaa !24
%32 = tail call i32 @cpumask_subset(i32 noundef %31, ptr noundef nonnull %23) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %29
%35 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%36 = load i32, ptr @EINVAL, align 4, !tbaa !18
%37 = sub nsw i32 0, %36
br label %85
38: ; preds = %29
%39 = getelementptr inbounds i8, ptr %21, i64 8
%40 = load i64, ptr %39, align 8, !tbaa !26
%41 = tail call i64 @__pa(i64 noundef %40) #2
%42 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !15
%43 = lshr i64 %41, %42
%44 = load i64, ptr %21, align 8, !tbaa !27
%45 = sub i64 %44, %10
%46 = icmp ugt i64 %10, %44
br i1 %46, label %47, label %51
47: ; preds = %38
%48 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%49 = load i32, ptr @ENOSPC, align 4, !tbaa !18
%50 = sub nsw i32 0, %49
br label %85
51: ; preds = %38
%52 = getelementptr inbounds i8, ptr %1, i64 24
%53 = load i32, ptr %52, align 8, !tbaa !28
%54 = load i32, ptr @VM_SHARED, align 4, !tbaa !18
%55 = and i32 %54, %53
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %51
%58 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%59 = load i32, ptr @EINVAL, align 4, !tbaa !18
%60 = sub nsw i32 0, %59
br label %85
61: ; preds = %51
%62 = icmp ugt i64 %6, %45
br i1 %62, label %63, label %67
63: ; preds = %61
%64 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%65 = load i32, ptr @ENOSPC, align 4, !tbaa !18
%66 = sub nsw i32 0, %65
br label %85
67: ; preds = %61
%68 = load i64, ptr %39, align 8, !tbaa !26
%69 = add i64 %68, %10
%70 = tail call i32 @memset(i64 noundef %69, i32 noundef 0, i64 noundef %6) #2
%71 = load i64, ptr %4, align 8, !tbaa !13
%72 = load i64, ptr %7, align 8, !tbaa !14
%73 = add i64 %72, %43
%74 = getelementptr inbounds i8, ptr %1, i64 40
%75 = load i32, ptr %74, align 8, !tbaa !29
%76 = tail call i64 @remap_pfn_range(ptr noundef nonnull %1, i64 noundef %71, i64 noundef %73, i64 noundef %6, i32 noundef %75) #2
%77 = icmp eq i64 %76, 0
br i1 %77, label %82, label %78
78: ; preds = %67
%79 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
%80 = load i32, ptr @EAGAIN, align 4, !tbaa !18
%81 = sub nsw i32 0, %80
br label %85
82: ; preds = %67
%83 = getelementptr inbounds i8, ptr %1, i64 32
store ptr @pseudo_mmap_ops, ptr %83, align 8, !tbaa !30
%84 = tail call i32 @mutex_unlock(ptr noundef nonnull @rdtgroup_mutex) #2
br label %85
85: ; preds = %82, %78, %63, %57, %47, %34, %25, %16
%86 = phi i32 [ %50, %47 ], [ %66, %63 ], [ %81, %78 ], [ 0, %82 ], [ %60, %57 ], [ %37, %34 ], [ %28, %25 ], [ %19, %16 ]
ret i32 %86
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @cpumask_subset(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @__pa(i64 noundef) local_unnamed_addr #1
declare i32 @memset(i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @remap_pfn_range(ptr noundef, i64 noundef, i64 noundef, i64 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 = !{!"vm_area_struct", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !12, i64 32, !11, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 16}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"file", !12, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!20, !12, i64 0}
!20 = !{!"rdtgroup", !12, i64 0}
!21 = !{!22, !12, i64 16}
!22 = !{!"pseudo_lock_region", !8, i64 0, !8, i64 8, !12, i64 16}
!23 = !{!12, !12, i64 0}
!24 = !{!25, !11, i64 0}
!25 = !{!"TYPE_4__", !11, i64 0}
!26 = !{!22, !8, i64 8}
!27 = !{!22, !8, i64 0}
!28 = !{!7, !11, i64 24}
!29 = !{!7, !11, i64 40}
!30 = !{!7, !12, i64 32}
| linux_arch_x86_kernel_cpu_resctrl_extr_pseudo_lock.c_pseudo_lock_dev_mmap |
; ModuleID = 'AnghaBench/freebsd/bin/ed/extr_re.c_parse_char_class.c'
source_filename = "AnghaBench/freebsd/bin/ed/extr_re.c_parse_char_class.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local noundef ptr @parse_char_class(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = load i8, ptr %0, align 1, !tbaa !5
%3 = icmp eq i8 %2, 94
%4 = zext i1 %3 to i64
%5 = getelementptr inbounds i8, ptr %0, i64 %4
%6 = load i8, ptr %5, align 1, !tbaa !5
%7 = icmp eq i8 %6, 93
%8 = zext i1 %7 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
br label %10
10: ; preds = %29, %1
%11 = phi ptr [ %9, %1 ], [ %31, %29 ]
%12 = load i8, ptr %11, align 1, !tbaa !5
switch i8 %12, label %29 [
i8 93, label %32
i8 10, label %32
i8 91, label %13
]
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %11, i64 1
%15 = load i8, ptr %14, align 1, !tbaa !5
switch i8 %15, label %29 [
i8 61, label %16
i8 58, label %16
i8 46, label %16
]
16: ; preds = %13, %13, %13
%17 = getelementptr inbounds i8, ptr %11, i64 2
%18 = load i8, ptr %17, align 1, !tbaa !5
br label %19
19: ; preds = %16, %23
%20 = phi ptr [ %24, %23 ], [ %17, %16 ]
%21 = phi i8 [ %25, %23 ], [ %18, %16 ]
%22 = icmp eq i8 %21, 10
br i1 %22, label %35, label %23
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %20, i64 1
%25 = load i8, ptr %24, align 1, !tbaa !5
%26 = icmp ne i8 %25, 93
%27 = icmp ne i8 %21, %15
%28 = or i1 %26, %27
br i1 %28, label %19, label %29, !llvm.loop !8
29: ; preds = %23, %13, %10
%30 = phi ptr [ %11, %13 ], [ %11, %10 ], [ %24, %23 ]
%31 = getelementptr inbounds i8, ptr %30, i64 1
br label %10, !llvm.loop !10
32: ; preds = %10, %10
%33 = icmp eq i8 %12, 93
%34 = select i1 %33, ptr %11, ptr null
br label %35
35: ; preds = %19, %32
%36 = phi ptr [ %34, %32 ], [ null, %19 ]
ret ptr %36
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
| ; ModuleID = 'AnghaBench/freebsd/bin/ed/extr_re.c_parse_char_class.c'
source_filename = "AnghaBench/freebsd/bin/ed/extr_re.c_parse_char_class.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 ptr @parse_char_class(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = load i8, ptr %0, align 1, !tbaa !6
%3 = icmp eq i8 %2, 94
%4 = zext i1 %3 to i64
%5 = getelementptr inbounds i8, ptr %0, i64 %4
%6 = load i8, ptr %5, align 1, !tbaa !6
%7 = icmp eq i8 %6, 93
%8 = zext i1 %7 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
br label %10
10: ; preds = %29, %1
%11 = phi ptr [ %9, %1 ], [ %31, %29 ]
%12 = load i8, ptr %11, align 1, !tbaa !6
switch i8 %12, label %29 [
i8 93, label %32
i8 10, label %32
i8 91, label %13
]
13: ; preds = %10
%14 = getelementptr inbounds i8, ptr %11, i64 1
%15 = load i8, ptr %14, align 1, !tbaa !6
switch i8 %15, label %29 [
i8 61, label %16
i8 58, label %16
i8 46, label %16
]
16: ; preds = %13, %13, %13
%17 = getelementptr inbounds i8, ptr %11, i64 2
%18 = load i8, ptr %17, align 1, !tbaa !6
br label %19
19: ; preds = %16, %23
%20 = phi ptr [ %24, %23 ], [ %17, %16 ]
%21 = phi i8 [ %25, %23 ], [ %18, %16 ]
%22 = icmp eq i8 %21, 10
br i1 %22, label %35, label %23
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %20, i64 1
%25 = load i8, ptr %24, align 1, !tbaa !6
%26 = icmp ne i8 %25, 93
%27 = icmp ne i8 %21, %15
%28 = or i1 %26, %27
br i1 %28, label %19, label %29, !llvm.loop !9
29: ; preds = %23, %13, %10
%30 = phi ptr [ %11, %13 ], [ %11, %10 ], [ %24, %23 ]
%31 = getelementptr inbounds i8, ptr %30, i64 1
br label %10, !llvm.loop !11
32: ; preds = %10, %10
%33 = icmp eq i8 %12, 93
%34 = select i1 %33, ptr %11, ptr null
br label %35
35: ; preds = %19, %32
%36 = phi ptr [ %34, %32 ], [ null, %19 ]
ret ptr %36
}
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 = distinct !{!11, !10}
| freebsd_bin_ed_extr_re.c_parse_char_class |
; ModuleID = 'AnghaBench/tg/extr_interface.c_do_set_profile_name.c'
source_filename = "AnghaBench/tg/extr_interface.c_do_set_profile_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TLS = dso_local local_unnamed_addr global i32 0, align 4
@print_user_gw = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @do_set_profile_name(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readnone %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp eq i32 %1, 2
%6 = zext i1 %5 to i32
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = icmp eq ptr %3, null
br i1 %8, label %12, label %9
9: ; preds = %4
%10 = load i32, ptr %3, align 4, !tbaa !5
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4, !tbaa !5
br label %12
12: ; preds = %9, %4
%13 = load i32, ptr @TLS, align 4, !tbaa !10
%14 = tail call i32 @ARG2STR(i32 noundef 0) #2
%15 = tail call i32 @ARG2STR(i32 noundef 1) #2
%16 = load i32, ptr @print_user_gw, align 4, !tbaa !10
%17 = tail call i32 @tgl_do_set_profile_name(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %3) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @tgl_do_set_profile_name(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ARG2STR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"in_ev", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/tg/extr_interface.c_do_set_profile_name.c'
source_filename = "AnghaBench/tg/extr_interface.c_do_set_profile_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TLS = common local_unnamed_addr global i32 0, align 4
@print_user_gw = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @do_set_profile_name(ptr nocapture noundef readnone %0, i32 noundef %1, ptr nocapture noundef readnone %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp eq i32 %1, 2
%6 = zext i1 %5 to i32
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = icmp eq ptr %3, null
br i1 %8, label %12, label %9
9: ; preds = %4
%10 = load i32, ptr %3, align 4, !tbaa !6
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4, !tbaa !6
br label %12
12: ; preds = %9, %4
%13 = load i32, ptr @TLS, align 4, !tbaa !11
%14 = tail call i32 @ARG2STR(i32 noundef 0) #2
%15 = tail call i32 @ARG2STR(i32 noundef 1) #2
%16 = load i32, ptr @print_user_gw, align 4, !tbaa !11
%17 = tail call i32 @tgl_do_set_profile_name(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, ptr noundef %3) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @tgl_do_set_profile_name(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ARG2STR(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 = !{!"in_ev", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| tg_extr_interface.c_do_set_profile_name |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl8192_usb_disconnect.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl8192_usb_disconnect.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@COMP_DOWN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"=============>wlan driver to be removed\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"wlan driver removed\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8192_usb_disconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rtl8192_usb_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @usb_get_intfdata(ptr noundef %0) #2
%3 = tail call ptr @ieee80211_priv(ptr noundef %2) #2
%4 = tail call i32 @unregister_netdev(ptr noundef %2) #2
%5 = load i32, ptr @COMP_DOWN, align 4, !tbaa !5
%6 = tail call i32 @RT_TRACE(i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = tail call i32 @rtl8192_proc_remove_one(ptr noundef %2) #2
%8 = tail call i32 @rtl8192_down(ptr noundef %2) #2
%9 = load ptr, ptr %3, align 8, !tbaa !9
%10 = tail call i32 @kfree(ptr noundef %9) #2
store ptr null, ptr %3, align 8, !tbaa !9
%11 = tail call i32 @rtl8192_usb_deleteendpoints(ptr noundef %2) #2
%12 = tail call i32 @usleep_range(i32 noundef 10000, i32 noundef 11000) #2
%13 = tail call i32 @free_ieee80211(ptr noundef %2) #2
%14 = load i32, ptr @COMP_DOWN, align 4, !tbaa !5
%15 = tail call i32 @RT_TRACE(i32 noundef %14, ptr noundef nonnull @.str.1) #2
ret void
}
declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1
declare ptr @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1
declare i32 @RT_TRACE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rtl8192_proc_remove_one(ptr noundef) local_unnamed_addr #1
declare i32 @rtl8192_down(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @rtl8192_usb_deleteendpoints(ptr noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_ieee80211(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"r8192_priv", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl8192_usb_disconnect.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl8192_usb_disconnect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@COMP_DOWN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"=============>wlan driver to be removed\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"wlan driver removed\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rtl8192_usb_disconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rtl8192_usb_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @usb_get_intfdata(ptr noundef %0) #2
%3 = tail call ptr @ieee80211_priv(ptr noundef %2) #2
%4 = tail call i32 @unregister_netdev(ptr noundef %2) #2
%5 = load i32, ptr @COMP_DOWN, align 4, !tbaa !6
%6 = tail call i32 @RT_TRACE(i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = tail call i32 @rtl8192_proc_remove_one(ptr noundef %2) #2
%8 = tail call i32 @rtl8192_down(ptr noundef %2) #2
%9 = load ptr, ptr %3, align 8, !tbaa !10
%10 = tail call i32 @kfree(ptr noundef %9) #2
store ptr null, ptr %3, align 8, !tbaa !10
%11 = tail call i32 @rtl8192_usb_deleteendpoints(ptr noundef %2) #2
%12 = tail call i32 @usleep_range(i32 noundef 10000, i32 noundef 11000) #2
%13 = tail call i32 @free_ieee80211(ptr noundef %2) #2
%14 = load i32, ptr @COMP_DOWN, align 4, !tbaa !6
%15 = tail call i32 @RT_TRACE(i32 noundef %14, ptr noundef nonnull @.str.1) #2
ret void
}
declare ptr @usb_get_intfdata(ptr noundef) local_unnamed_addr #1
declare ptr @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1
declare i32 @RT_TRACE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rtl8192_proc_remove_one(ptr noundef) local_unnamed_addr #1
declare i32 @rtl8192_down(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @rtl8192_usb_deleteendpoints(ptr noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_ieee80211(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"r8192_priv", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| linux_drivers_staging_rtl8192u_extr_r8192U_core.c_rtl8192_usb_disconnect |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_rx_queue_space.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_rx_queue_space.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ipw_rx_queue = type { i32, i32 }
@RX_QUEUE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipw_rx_queue_space], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @ipw_rx_queue_space(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.ipw_rx_queue, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = sub nsw i32 %2, %4
%6 = load i64, ptr @RX_QUEUE_SIZE, align 8
%7 = trunc i64 %6 to i32
%8 = icmp sgt i32 %5, 0
%9 = select i1 %8, i32 0, i32 %7
%10 = add i32 %9, %5
%11 = tail call i32 @llvm.smax.i32(i32 %10, i32 2)
%12 = add nsw i32 %11, -2
ret i32 %12
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ipw_rx_queue", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_rx_queue_space.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_rx_queue_space.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RX_QUEUE_SIZE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ipw_rx_queue_space], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483648, 2147483646) i32 @ipw_rx_queue_space(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = sub nsw i32 %2, %4
%6 = load i64, ptr @RX_QUEUE_SIZE, align 8
%7 = trunc i64 %6 to i32
%8 = icmp sgt i32 %5, 0
%9 = select i1 %8, i32 0, i32 %7
%10 = add i32 %9, %5
%11 = tail call i32 @llvm.smax.i32(i32 %10, i32 2)
%12 = add nsw i32 %11, -2
ret i32 %12
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #1
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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ipw_rx_queue", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| linux_drivers_net_wireless_intel_ipw2x00_extr_ipw2200.c_ipw_rx_queue_space |
; ModuleID = 'AnghaBench/freebsd/sys/dev/gpio/extr_ofw_gpiobus.c_gpio_pin_get_by_ofw_property.c'
source_filename = "AnghaBench/freebsd/sys/dev/gpio/extr_ofw_gpiobus.c_gpio_pin_get_by_ofw_property.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @gpio_pin_get_by_ofw_property(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @gpio_pin_get_by_ofw_propidx(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef 0, ptr noundef %3) #2
ret i32 %5
}
declare i32 @gpio_pin_get_by_ofw_propidx(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/gpio/extr_ofw_gpiobus.c_gpio_pin_get_by_ofw_property.c'
source_filename = "AnghaBench/freebsd/sys/dev/gpio/extr_ofw_gpiobus.c_gpio_pin_get_by_ofw_property.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @gpio_pin_get_by_ofw_property(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @gpio_pin_get_by_ofw_propidx(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef 0, ptr noundef %3) #2
ret i32 %5
}
declare i32 @gpio_pin_get_by_ofw_propidx(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_gpio_extr_ofw_gpiobus.c_gpio_pin_get_by_ofw_property |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_snmp_output_keys.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_snmp_output_keys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr, i64, ptr, i64, ptr }
@SNMP_AUTH_KEY_SIZ = dso_local local_unnamed_addr global i32 0, align 4
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Localized keys for %s\0A\00", align 1
@snmp_client = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@SNMP_AUTH_HMAC_MD5 = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"MD5 : 0x\00", align 1
@SNMP_AUTH_HMACMD5_KEY_SIZ = dso_local local_unnamed_addr global i64 0, align 8
@SNMP_AUTH_HMAC_SHA = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c"SHA : 0x\00", align 1
@SNMP_AUTH_HMACSHA_KEY_SIZ = dso_local local_unnamed_addr global i64 0, align 8
@SNMP_AUTH_NOAUTH = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [5 x i8] c"%.2x\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@SNMP_PRIV_DES = dso_local local_unnamed_addr global i64 0, align 8
@.str.5 = private unnamed_addr constant [9 x i8] c"DES : 0x\00", align 1
@SNMP_PRIV_DES_KEY_SIZ = dso_local local_unnamed_addr global i64 0, align 8
@SNMP_PRIV_AES = dso_local local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [9 x i8] c"AES : 0x\00", align 1
@SNMP_PRIV_AES_KEY_SIZ = dso_local local_unnamed_addr global i64 0, align 8
@SNMP_PRIV_NOPRIV = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @snmp_output_keys() local_unnamed_addr #0 {
%1 = load i32, ptr @SNMP_AUTH_KEY_SIZ, align 4, !tbaa !5
%2 = shl nsw i32 %1, 1
%3 = add nsw i32 %2, 2
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 16
%6 = load i32, ptr @stdout, align 4, !tbaa !5
%7 = load ptr, ptr @snmp_client, align 8, !tbaa !9
%8 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %7) #2
%9 = load i64, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @snmp_client, i64 0, i32 0, i32 1), align 8, !tbaa !14
%10 = load i64, ptr @SNMP_AUTH_HMAC_MD5, align 8, !tbaa !15
%11 = icmp eq i64 %9, %10
br i1 %11, label %15, label %12
12: ; preds = %0
%13 = load i64, ptr @SNMP_AUTH_HMAC_SHA, align 8, !tbaa !15
%14 = icmp eq i64 %9, %13
br i1 %14, label %15, label %24
15: ; preds = %12, %0
%16 = phi ptr [ @.str.1, %0 ], [ @.str.2, %12 ]
%17 = phi ptr [ @SNMP_AUTH_HMACMD5_KEY_SIZ, %0 ], [ @SNMP_AUTH_HMACSHA_KEY_SIZ, %12 ]
%18 = load i32, ptr @stdout, align 4, !tbaa !5
%19 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef nonnull %16) #2
%20 = load i64, ptr %17, align 8, !tbaa !15
%21 = load i64, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @snmp_client, i64 0, i32 0, i32 1), align 8, !tbaa !14
%22 = load i64, ptr @SNMP_AUTH_NOAUTH, align 8, !tbaa !15
%23 = icmp eq i64 %21, %22
br i1 %23, label %46, label %28
24: ; preds = %12
%25 = load i64, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @snmp_client, i64 0, i32 0, i32 1), align 8, !tbaa !14
%26 = load i64, ptr @SNMP_AUTH_NOAUTH, align 8, !tbaa !15
%27 = icmp eq i64 %25, %26
br i1 %27, label %46, label %41
28: ; preds = %15
%29 = icmp eq i64 %20, 0
br i1 %29, label %41, label %30
30: ; preds = %28, %30
%31 = phi i64 [ %39, %30 ], [ 0, %28 ]
%32 = phi ptr [ %38, %30 ], [ %5, %28 ]
%33 = load ptr, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @snmp_client, i64 0, i32 0, i32 2), align 8, !tbaa !16
%34 = getelementptr inbounds i32, ptr %33, i64 %31
%35 = load i32, ptr %34, align 4, !tbaa !5
%36 = call i32 @sprintf(ptr noundef %32, ptr noundef nonnull @.str.3, i32 noundef %35) #2
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %32, i64 %37
%39 = add nuw i64 %31, 1
%40 = icmp eq i64 %39, %20
br i1 %40, label %41, label %30, !llvm.loop !17
41: ; preds = %30, %24, %28
%42 = phi i64 [ 0, %28 ], [ 0, %24 ], [ %20, %30 ]
%43 = phi ptr [ %5, %28 ], [ %5, %24 ], [ %38, %30 ]
store i8 0, ptr %43, align 1, !tbaa !19
%44 = load i32, ptr @stdout, align 4, !tbaa !5
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef nonnull @.str.4, ptr noundef nonnull %5) #2
br label %46
46: ; preds = %24, %41, %15
%47 = phi i64 [ 0, %24 ], [ %42, %41 ], [ %20, %15 ]
%48 = load i64, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @snmp_client, i64 0, i32 0, i32 3), align 8, !tbaa !20
%49 = load i64, ptr @SNMP_PRIV_DES, align 8, !tbaa !15
%50 = icmp eq i64 %48, %49
br i1 %50, label %54, label %51
51: ; preds = %46
%52 = load i64, ptr @SNMP_PRIV_AES, align 8, !tbaa !15
%53 = icmp eq i64 %48, %52
br i1 %53, label %54, label %60
54: ; preds = %51, %46
%55 = phi ptr [ @.str.5, %46 ], [ @.str.6, %51 ]
%56 = phi ptr [ @SNMP_PRIV_DES_KEY_SIZ, %46 ], [ @SNMP_PRIV_AES_KEY_SIZ, %51 ]
%57 = load i32, ptr @stdout, align 4, !tbaa !5
%58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef nonnull %55) #2
%59 = load i64, ptr %56, align 8, !tbaa !15
br label %60
60: ; preds = %54, %51
%61 = phi i64 [ %47, %51 ], [ %59, %54 ]
%62 = load i64, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @snmp_client, i64 0, i32 0, i32 3), align 8, !tbaa !20
%63 = load i64, ptr @SNMP_PRIV_NOPRIV, align 8, !tbaa !15
%64 = icmp eq i64 %62, %63
br i1 %64, label %82, label %65
65: ; preds = %60
%66 = icmp eq i64 %61, 0
br i1 %66, label %78, label %67
67: ; preds = %65, %67
%68 = phi i64 [ %76, %67 ], [ 0, %65 ]
%69 = phi ptr [ %75, %67 ], [ %5, %65 ]
%70 = load ptr, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @snmp_client, i64 0, i32 0, i32 4), align 8, !tbaa !21
%71 = getelementptr inbounds i32, ptr %70, i64 %68
%72 = load i32, ptr %71, align 4, !tbaa !5
%73 = call i32 @sprintf(ptr noundef %69, ptr noundef nonnull @.str.3, i32 noundef %72) #2
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %69, i64 %74
%76 = add nuw i64 %68, 1
%77 = icmp eq i64 %76, %61
br i1 %77, label %78, label %67, !llvm.loop !22
78: ; preds = %67, %65
%79 = phi ptr [ %5, %65 ], [ %75, %67 ]
store i8 0, ptr %79, align 1, !tbaa !19
%80 = load i32, ptr @stdout, align 4, !tbaa !5
%81 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %80, ptr noundef nonnull @.str.4, ptr noundef nonnull %5) #2
br label %82
82: ; preds = %78, %60
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0, !13, i64 8, !12, i64 16, !13, i64 24, !12, i64 32}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !13, i64 8}
!15 = !{!13, !13, i64 0}
!16 = !{!10, !12, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !7, i64 0}
!20 = !{!10, !13, i64 24}
!21 = !{!10, !12, i64 32}
!22 = distinct !{!22, !18}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_snmp_output_keys.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_snmp_output_keys.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr, i64, ptr, i64, ptr }
@SNMP_AUTH_KEY_SIZ = common local_unnamed_addr global i32 0, align 4
@stdout = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Localized keys for %s\0A\00", align 1
@snmp_client = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@SNMP_AUTH_HMAC_MD5 = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [9 x i8] c"MD5 : 0x\00", align 1
@SNMP_AUTH_HMACMD5_KEY_SIZ = common local_unnamed_addr global i64 0, align 8
@SNMP_AUTH_HMAC_SHA = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [9 x i8] c"SHA : 0x\00", align 1
@SNMP_AUTH_HMACSHA_KEY_SIZ = common local_unnamed_addr global i64 0, align 8
@SNMP_AUTH_NOAUTH = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [5 x i8] c"%.2x\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@SNMP_PRIV_DES = common local_unnamed_addr global i64 0, align 8
@.str.5 = private unnamed_addr constant [9 x i8] c"DES : 0x\00", align 1
@SNMP_PRIV_DES_KEY_SIZ = common local_unnamed_addr global i64 0, align 8
@SNMP_PRIV_AES = common local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [9 x i8] c"AES : 0x\00", align 1
@SNMP_PRIV_AES_KEY_SIZ = common local_unnamed_addr global i64 0, align 8
@SNMP_PRIV_NOPRIV = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @snmp_output_keys() local_unnamed_addr #0 {
%1 = load i32, ptr @SNMP_AUTH_KEY_SIZ, align 4, !tbaa !6
%2 = shl nsw i32 %1, 1
%3 = add nsw i32 %2, 2
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 1
%6 = load i32, ptr @stdout, align 4, !tbaa !6
%7 = load ptr, ptr @snmp_client, align 8, !tbaa !10
%8 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %7) #2
%9 = load i64, ptr getelementptr inbounds (i8, ptr @snmp_client, i64 8), align 8, !tbaa !15
%10 = load i64, ptr @SNMP_AUTH_HMAC_MD5, align 8, !tbaa !16
%11 = icmp eq i64 %9, %10
br i1 %11, label %15, label %12
12: ; preds = %0
%13 = load i64, ptr @SNMP_AUTH_HMAC_SHA, align 8, !tbaa !16
%14 = icmp eq i64 %9, %13
br i1 %14, label %15, label %24
15: ; preds = %12, %0
%16 = phi ptr [ @.str.1, %0 ], [ @.str.2, %12 ]
%17 = phi ptr [ @SNMP_AUTH_HMACMD5_KEY_SIZ, %0 ], [ @SNMP_AUTH_HMACSHA_KEY_SIZ, %12 ]
%18 = load i32, ptr @stdout, align 4, !tbaa !6
%19 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef nonnull %16) #2
%20 = load i64, ptr %17, align 8, !tbaa !16
%21 = load i64, ptr getelementptr inbounds (i8, ptr @snmp_client, i64 8), align 8, !tbaa !15
%22 = load i64, ptr @SNMP_AUTH_NOAUTH, align 8, !tbaa !16
%23 = icmp eq i64 %21, %22
br i1 %23, label %45, label %27
24: ; preds = %12
%25 = load i64, ptr @SNMP_AUTH_NOAUTH, align 8, !tbaa !16
%26 = icmp eq i64 %9, %25
br i1 %26, label %45, label %40
27: ; preds = %15
%28 = icmp eq i64 %20, 0
br i1 %28, label %40, label %29
29: ; preds = %27, %29
%30 = phi i64 [ %38, %29 ], [ 0, %27 ]
%31 = phi ptr [ %37, %29 ], [ %5, %27 ]
%32 = load ptr, ptr getelementptr inbounds (i8, ptr @snmp_client, i64 16), align 8, !tbaa !17
%33 = getelementptr inbounds i32, ptr %32, i64 %30
%34 = load i32, ptr %33, align 4, !tbaa !6
%35 = call i32 @sprintf(ptr noundef %31, ptr noundef nonnull @.str.3, i32 noundef %34) #2
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %31, i64 %36
%38 = add nuw i64 %30, 1
%39 = icmp eq i64 %38, %20
br i1 %39, label %40, label %29, !llvm.loop !18
40: ; preds = %29, %24, %27
%41 = phi i64 [ 0, %27 ], [ 0, %24 ], [ %20, %29 ]
%42 = phi ptr [ %5, %27 ], [ %5, %24 ], [ %37, %29 ]
store i8 0, ptr %42, align 1, !tbaa !20
%43 = load i32, ptr @stdout, align 4, !tbaa !6
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef nonnull @.str.4, ptr noundef nonnull %5) #2
br label %45
45: ; preds = %24, %40, %15
%46 = phi i64 [ 0, %24 ], [ %41, %40 ], [ %20, %15 ]
%47 = load i64, ptr getelementptr inbounds (i8, ptr @snmp_client, i64 24), align 8, !tbaa !21
%48 = load i64, ptr @SNMP_PRIV_DES, align 8, !tbaa !16
%49 = icmp eq i64 %47, %48
br i1 %49, label %53, label %50
50: ; preds = %45
%51 = load i64, ptr @SNMP_PRIV_AES, align 8, !tbaa !16
%52 = icmp eq i64 %47, %51
br i1 %52, label %53, label %59
53: ; preds = %50, %45
%54 = phi ptr [ @.str.5, %45 ], [ @.str.6, %50 ]
%55 = phi ptr [ @SNMP_PRIV_DES_KEY_SIZ, %45 ], [ @SNMP_PRIV_AES_KEY_SIZ, %50 ]
%56 = load i32, ptr @stdout, align 4, !tbaa !6
%57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef nonnull %54) #2
%58 = load i64, ptr %55, align 8, !tbaa !16
br label %59
59: ; preds = %53, %50
%60 = phi i64 [ %46, %50 ], [ %58, %53 ]
%61 = load i64, ptr getelementptr inbounds (i8, ptr @snmp_client, i64 24), align 8, !tbaa !21
%62 = load i64, ptr @SNMP_PRIV_NOPRIV, align 8, !tbaa !16
%63 = icmp eq i64 %61, %62
br i1 %63, label %81, label %64
64: ; preds = %59
%65 = icmp eq i64 %60, 0
br i1 %65, label %77, label %66
66: ; preds = %64, %66
%67 = phi i64 [ %75, %66 ], [ 0, %64 ]
%68 = phi ptr [ %74, %66 ], [ %5, %64 ]
%69 = load ptr, ptr getelementptr inbounds (i8, ptr @snmp_client, i64 32), align 8, !tbaa !22
%70 = getelementptr inbounds i32, ptr %69, i64 %67
%71 = load i32, ptr %70, align 4, !tbaa !6
%72 = call i32 @sprintf(ptr noundef %68, ptr noundef nonnull @.str.3, i32 noundef %71) #2
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %68, i64 %73
%75 = add nuw i64 %67, 1
%76 = icmp eq i64 %75, %60
br i1 %76, label %77, label %66, !llvm.loop !23
77: ; preds = %66, %64
%78 = phi ptr [ %5, %64 ], [ %74, %66 ]
store i8 0, ptr %78, align 1, !tbaa !20
%79 = load i32, ptr @stdout, align 4, !tbaa !6
%80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef nonnull @.str.4, ptr noundef nonnull %5) #2
br label %81
81: ; preds = %77, %59
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0, !14, i64 8, !13, i64 16, !14, i64 24, !13, i64 32}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !14, i64 8}
!16 = !{!14, !14, i64 0}
!17 = !{!11, !13, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!8, !8, i64 0}
!21 = !{!11, !14, i64 24}
!22 = !{!11, !13, i64 32}
!23 = distinct !{!23, !19}
| freebsd_usr.sbin_bsnmpd_tools_libbsnmptools_extr_bsnmptools.c_snmp_output_keys |
; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_machdep.c_set_fpcontext.c'
source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_machdep.c_set_fpcontext.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i64, i32 }
@_MC_FPFMT_NODEV = dso_local local_unnamed_addr global i64 0, align 8
@_MC_FPFMT_XMM = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@_MC_FPOWNED_NONE = dso_local local_unnamed_addr global i64 0, align 8
@_MC_FPOWNED_FPU = dso_local local_unnamed_addr global i64 0, align 8
@_MC_FPOWNED_PCB = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_fpcontext], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @set_fpcontext(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = load i64, ptr %1, align 8, !tbaa !5
%6 = load i64, ptr @_MC_FPFMT_NODEV, align 8, !tbaa !11
%7 = icmp eq i64 %5, %6
br i1 %7, label %31, label %8
8: ; preds = %4
%9 = load i64, ptr @_MC_FPFMT_XMM, align 8, !tbaa !11
%10 = icmp eq i64 %5, %9
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %31
13: ; preds = %8
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = load i64, ptr @_MC_FPOWNED_NONE, align 8, !tbaa !11
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = tail call i32 @fpstate_drop(ptr noundef %0) #2
br label %31
20: ; preds = %13
%21 = load i64, ptr @_MC_FPOWNED_FPU, align 8, !tbaa !11
%22 = icmp eq i64 %15, %21
%23 = load i64, ptr @_MC_FPOWNED_PCB, align 8
%24 = icmp eq i64 %15, %23
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2
%28 = tail call i32 @fpusetregs(ptr noundef %0, ptr noundef nonnull %27, ptr noundef %2, i64 noundef %3) #2
br label %31
29: ; preds = %20
%30 = load i32, ptr @EINVAL, align 4, !tbaa !12
br label %31
31: ; preds = %18, %26, %4, %29, %11
%32 = phi i32 [ %12, %11 ], [ %30, %29 ], [ 0, %4 ], [ 0, %18 ], [ %28, %26 ]
ret i32 %32
}
declare i32 @fpstate_drop(ptr noundef) local_unnamed_addr #1
declare i32 @fpusetregs(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_machdep.c_set_fpcontext.c'
source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_machdep.c_set_fpcontext.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_MC_FPFMT_NODEV = common local_unnamed_addr global i64 0, align 8
@_MC_FPFMT_XMM = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@_MC_FPOWNED_NONE = common local_unnamed_addr global i64 0, align 8
@_MC_FPOWNED_FPU = common local_unnamed_addr global i64 0, align 8
@_MC_FPOWNED_PCB = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @set_fpcontext], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @set_fpcontext(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = load i64, ptr %1, align 8, !tbaa !6
%6 = load i64, ptr @_MC_FPFMT_NODEV, align 8, !tbaa !12
%7 = icmp eq i64 %5, %6
br i1 %7, label %31, label %8
8: ; preds = %4
%9 = load i64, ptr @_MC_FPFMT_XMM, align 8, !tbaa !12
%10 = icmp eq i64 %5, %9
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %31
13: ; preds = %8
%14 = getelementptr inbounds i8, ptr %1, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = load i64, ptr @_MC_FPOWNED_NONE, align 8, !tbaa !12
%17 = icmp eq i64 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = tail call i32 @fpstate_drop(ptr noundef %0) #2
br label %31
20: ; preds = %13
%21 = load i64, ptr @_MC_FPOWNED_FPU, align 8, !tbaa !12
%22 = icmp eq i64 %15, %21
%23 = load i64, ptr @_MC_FPOWNED_PCB, align 8
%24 = icmp eq i64 %15, %23
%25 = select i1 %22, i1 true, i1 %24
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = getelementptr inbounds i8, ptr %1, i64 16
%28 = tail call i32 @fpusetregs(ptr noundef %0, ptr noundef nonnull %27, ptr noundef %2, i64 noundef %3) #2
br label %31
29: ; preds = %20
%30 = load i32, ptr @EINVAL, align 4, !tbaa !13
br label %31
31: ; preds = %18, %26, %4, %29, %11
%32 = phi i32 [ %12, %11 ], [ %30, %29 ], [ 0, %4 ], [ 0, %18 ], [ %28, %26 ]
ret i32 %32
}
declare i32 @fpstate_drop(ptr noundef) local_unnamed_addr #1
declare i32 @fpusetregs(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 8}
| freebsd_sys_amd64_amd64_extr_machdep.c_set_fpcontext |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_mckey.c_post_sends.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_mckey.c_post_sends.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ibv_send_wr = type { i32, i32, i64, %struct.TYPE_7__, i32, i32, ptr, ptr }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32, i32, i32 }
%struct.ibv_sge = type { i64, i32, i32 }
%struct.cmatest_node = type { ptr, i64, ptr, i32, i32, i32, i32 }
@message_count = dso_local local_unnamed_addr global i32 0, align 4
@IBV_WR_SEND_WITH_IMM = dso_local local_unnamed_addr global i32 0, align 4
@message_size = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"failed to post sends: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @post_sends], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @post_sends(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.ibv_send_wr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.ibv_sge, align 8
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
%6 = getelementptr inbounds %struct.cmatest_node, ptr %0, i64 0, i32 6
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = icmp ne i32 %7, 0
%9 = load i32, ptr @message_count, align 4
%10 = icmp ne i32 %9, 0
%11 = select i1 %8, i1 %10, i1 false
br i1 %11, label %12, label %54
12: ; preds = %2
%13 = getelementptr inbounds %struct.ibv_send_wr, ptr %3, i64 0, i32 7
store ptr null, ptr %13, align 8, !tbaa !12
%14 = getelementptr inbounds %struct.ibv_send_wr, ptr %3, i64 0, i32 6
store ptr %5, ptr %14, align 8, !tbaa !16
store i32 1, ptr %3, align 8, !tbaa !17
%15 = load i32, ptr @IBV_WR_SEND_WITH_IMM, align 4, !tbaa !18
%16 = getelementptr inbounds %struct.ibv_send_wr, ptr %3, i64 0, i32 5
store i32 %15, ptr %16, align 8, !tbaa !19
%17 = getelementptr inbounds %struct.ibv_send_wr, ptr %3, i64 0, i32 1
store i32 %1, ptr %17, align 4, !tbaa !20
%18 = ptrtoint ptr %0 to i64
%19 = getelementptr inbounds %struct.ibv_send_wr, ptr %3, i64 0, i32 2
store i64 %18, ptr %19, align 8, !tbaa !21
%20 = load ptr, ptr %0, align 8, !tbaa !22
%21 = load ptr, ptr %20, align 8, !tbaa !23
%22 = load i32, ptr %21, align 4, !tbaa !25
%23 = call i32 @htobe32(i32 noundef %22) #3
%24 = getelementptr inbounds %struct.ibv_send_wr, ptr %3, i64 0, i32 4
store i32 %23, ptr %24, align 4, !tbaa !27
%25 = getelementptr inbounds %struct.cmatest_node, ptr %0, i64 0, i32 5
%26 = load i32, ptr %25, align 8, !tbaa !28
%27 = getelementptr inbounds %struct.ibv_send_wr, ptr %3, i64 0, i32 3
%28 = getelementptr inbounds %struct.ibv_send_wr, ptr %3, i64 0, i32 3, i32 0, i32 2
store i32 %26, ptr %28, align 8, !tbaa !29
%29 = getelementptr inbounds %struct.cmatest_node, ptr %0, i64 0, i32 3
%30 = load <2 x i32>, ptr %29, align 8, !tbaa !18
store <2 x i32> %30, ptr %27, align 8, !tbaa !18
%31 = load i32, ptr @message_size, align 4, !tbaa !18
%32 = getelementptr inbounds %struct.ibv_sge, ptr %5, i64 0, i32 2
store i32 %31, ptr %32, align 4, !tbaa !30
%33 = getelementptr inbounds %struct.cmatest_node, ptr %0, i64 0, i32 2
%34 = load ptr, ptr %33, align 8, !tbaa !32
%35 = load i32, ptr %34, align 4, !tbaa !33
%36 = getelementptr inbounds %struct.ibv_sge, ptr %5, i64 0, i32 1
store i32 %35, ptr %36, align 8, !tbaa !35
%37 = getelementptr inbounds %struct.cmatest_node, ptr %0, i64 0, i32 1
%38 = load i64, ptr %37, align 8, !tbaa !36
store i64 %38, ptr %5, align 8, !tbaa !37
%39 = load i32, ptr @message_count, align 4, !tbaa !18
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %54
41: ; preds = %12, %49
%42 = phi i32 [ %50, %49 ], [ 0, %12 ]
%43 = load ptr, ptr %0, align 8, !tbaa !22
%44 = load ptr, ptr %43, align 8, !tbaa !23
%45 = call i32 @ibv_post_send(ptr noundef %44, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %41
%48 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %45) #3
br label %54
49: ; preds = %41
%50 = add nuw nsw i32 %42, 1
%51 = load i32, ptr @message_count, align 4, !tbaa !18
%52 = icmp slt i32 %50, %51
%53 = and i1 %46, %52
br i1 %53, label %41, label %54, !llvm.loop !38
54: ; preds = %49, %47, %12, %2
%55 = phi i32 [ 0, %2 ], [ 0, %12 ], [ %45, %47 ], [ 0, %49 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #3
ret i32 %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @htobe32(i32 noundef) local_unnamed_addr #2
declare i32 @ibv_post_send(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 36}
!6 = !{!"cmatest_node", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 48}
!13 = !{!"ibv_send_wr", !11, i64 0, !11, i64 4, !10, i64 8, !14, i64 16, !11, i64 28, !11, i64 32, !7, i64 40, !7, i64 48}
!14 = !{!"TYPE_7__", !15, i64 0}
!15 = !{!"TYPE_6__", !11, i64 0, !11, i64 4, !11, i64 8}
!16 = !{!13, !7, i64 40}
!17 = !{!13, !11, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!13, !11, i64 32}
!20 = !{!13, !11, i64 4}
!21 = !{!13, !10, i64 8}
!22 = !{!6, !7, i64 0}
!23 = !{!24, !7, i64 0}
!24 = !{!"TYPE_9__", !7, i64 0}
!25 = !{!26, !11, i64 0}
!26 = !{!"TYPE_10__", !11, i64 0}
!27 = !{!13, !11, i64 28}
!28 = !{!6, !11, i64 32}
!29 = !{!13, !11, i64 24}
!30 = !{!31, !11, i64 12}
!31 = !{!"ibv_sge", !10, i64 0, !11, i64 8, !11, i64 12}
!32 = !{!6, !7, i64 16}
!33 = !{!34, !11, i64 0}
!34 = !{!"TYPE_8__", !11, i64 0}
!35 = !{!31, !11, i64 8}
!36 = !{!6, !10, i64 8}
!37 = !{!31, !10, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_mckey.c_post_sends.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/examples/extr_mckey.c_post_sends.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ibv_send_wr = type { i32, i32, i64, %struct.TYPE_7__, i32, i32, ptr, ptr }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32, i32, i32 }
%struct.ibv_sge = type { i64, i32, i32 }
@message_count = common local_unnamed_addr global i32 0, align 4
@IBV_WR_SEND_WITH_IMM = common local_unnamed_addr global i32 0, align 4
@message_size = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"failed to post sends: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @post_sends], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @post_sends(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca %struct.ibv_send_wr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.ibv_sge, align 8
call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
%6 = getelementptr inbounds i8, ptr %0, i64 36
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = icmp ne i32 %7, 0
%9 = load i32, ptr @message_count, align 4
%10 = icmp ne i32 %9, 0
%11 = select i1 %8, i1 %10, i1 false
br i1 %11, label %12, label %53
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %3, i64 48
store ptr null, ptr %13, align 8, !tbaa !13
%14 = getelementptr inbounds i8, ptr %3, i64 40
store ptr %5, ptr %14, align 8, !tbaa !17
store i32 1, ptr %3, align 8, !tbaa !18
%15 = load i32, ptr @IBV_WR_SEND_WITH_IMM, align 4, !tbaa !19
%16 = getelementptr inbounds i8, ptr %3, i64 32
store i32 %15, ptr %16, align 8, !tbaa !20
%17 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %1, ptr %17, align 4, !tbaa !21
%18 = ptrtoint ptr %0 to i64
%19 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %18, ptr %19, align 8, !tbaa !22
%20 = load ptr, ptr %0, align 8, !tbaa !23
%21 = load ptr, ptr %20, align 8, !tbaa !24
%22 = load i32, ptr %21, align 4, !tbaa !26
%23 = call i32 @htobe32(i32 noundef %22) #3
%24 = getelementptr inbounds i8, ptr %3, i64 28
store i32 %23, ptr %24, align 4, !tbaa !28
%25 = getelementptr inbounds i8, ptr %0, i64 32
%26 = load i32, ptr %25, align 8, !tbaa !29
%27 = getelementptr inbounds i8, ptr %3, i64 16
%28 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %26, ptr %28, align 8, !tbaa !30
%29 = getelementptr inbounds i8, ptr %0, i64 24
%30 = load <2 x i32>, ptr %29, align 8, !tbaa !19
store <2 x i32> %30, ptr %27, align 8, !tbaa !19
%31 = load i32, ptr @message_size, align 4, !tbaa !19
%32 = getelementptr inbounds i8, ptr %5, i64 12
store i32 %31, ptr %32, align 4, !tbaa !31
%33 = getelementptr inbounds i8, ptr %0, i64 16
%34 = load ptr, ptr %33, align 8, !tbaa !33
%35 = load i32, ptr %34, align 4, !tbaa !34
%36 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %35, ptr %36, align 8, !tbaa !36
%37 = getelementptr inbounds i8, ptr %0, i64 8
%38 = load i64, ptr %37, align 8, !tbaa !37
store i64 %38, ptr %5, align 8, !tbaa !38
%39 = load i32, ptr @message_count, align 4, !tbaa !19
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %53
41: ; preds = %12, %49
%42 = phi i32 [ %50, %49 ], [ 0, %12 ]
%43 = load ptr, ptr %0, align 8, !tbaa !23
%44 = load ptr, ptr %43, align 8, !tbaa !24
%45 = call i32 @ibv_post_send(ptr noundef %44, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %41
%48 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %45) #3
br label %53
49: ; preds = %41
%50 = add nuw nsw i32 %42, 1
%51 = load i32, ptr @message_count, align 4, !tbaa !19
%52 = icmp slt i32 %50, %51
br i1 %52, label %41, label %53, !llvm.loop !39
53: ; preds = %49, %47, %12, %2
%54 = phi i32 [ 0, %2 ], [ 0, %12 ], [ %45, %47 ], [ 0, %49 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #3
ret i32 %54
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @htobe32(i32 noundef) local_unnamed_addr #2
declare i32 @ibv_post_send(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(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, !12, i64 36}
!7 = !{!"cmatest_node", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 48}
!14 = !{!"ibv_send_wr", !12, i64 0, !12, i64 4, !11, i64 8, !15, i64 16, !12, i64 28, !12, i64 32, !8, i64 40, !8, i64 48}
!15 = !{!"TYPE_7__", !16, i64 0}
!16 = !{!"TYPE_6__", !12, i64 0, !12, i64 4, !12, i64 8}
!17 = !{!14, !8, i64 40}
!18 = !{!14, !12, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!14, !12, i64 32}
!21 = !{!14, !12, i64 4}
!22 = !{!14, !11, i64 8}
!23 = !{!7, !8, i64 0}
!24 = !{!25, !8, i64 0}
!25 = !{!"TYPE_9__", !8, i64 0}
!26 = !{!27, !12, i64 0}
!27 = !{!"TYPE_10__", !12, i64 0}
!28 = !{!14, !12, i64 28}
!29 = !{!7, !12, i64 32}
!30 = !{!14, !12, i64 24}
!31 = !{!32, !12, i64 12}
!32 = !{!"ibv_sge", !11, i64 0, !12, i64 8, !12, i64 12}
!33 = !{!7, !8, i64 16}
!34 = !{!35, !12, i64 0}
!35 = !{!"TYPE_8__", !12, i64 0}
!36 = !{!32, !12, i64 8}
!37 = !{!7, !11, i64 8}
!38 = !{!32, !11, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_ofed_librdmacm_examples_extr_mckey.c_post_sends |
; ModuleID = 'AnghaBench/freebsd/contrib/llvm/lib/Support/extr_regcomp.c_p_str.c'
source_filename = "AnghaBench/freebsd/contrib/llvm/lib/Support/extr_regcomp.c_p_str.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@REG_EMPTY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @p_str], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @p_str(ptr noundef %0) #0 {
%2 = tail call i64 (...) @MORE() #2
%3 = load i32, ptr @REG_EMPTY, align 4, !tbaa !5
%4 = tail call i32 @REQUIRE(i64 noundef %2, i32 noundef %3) #2
%5 = tail call i64 (...) @MORE() #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %1, %7
%8 = tail call i32 (...) @GETNEXT() #2
%9 = tail call i32 @ordinary(ptr noundef %0, i32 noundef %8) #2
%10 = tail call i64 (...) @MORE() #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %7, !llvm.loop !9
12: ; preds = %7, %1
ret void
}
declare i32 @REQUIRE(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @MORE(...) local_unnamed_addr #1
declare i32 @ordinary(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GETNEXT(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/llvm/lib/Support/extr_regcomp.c_p_str.c'
source_filename = "AnghaBench/freebsd/contrib/llvm/lib/Support/extr_regcomp.c_p_str.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_EMPTY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @p_str], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @p_str(ptr noundef %0) #0 {
%2 = tail call i64 @MORE() #2
%3 = load i32, ptr @REG_EMPTY, align 4, !tbaa !6
%4 = tail call i32 @REQUIRE(i64 noundef %2, i32 noundef %3) #2
%5 = tail call i64 @MORE() #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %12, label %7
7: ; preds = %1, %7
%8 = tail call i32 @GETNEXT() #2
%9 = tail call i32 @ordinary(ptr noundef %0, i32 noundef %8) #2
%10 = tail call i64 @MORE() #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %7, !llvm.loop !10
12: ; preds = %7, %1
ret void
}
declare i32 @REQUIRE(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @MORE(...) local_unnamed_addr #1
declare i32 @ordinary(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GETNEXT(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_llvm_lib_Support_extr_regcomp.c_p_str |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_disp_color.c_mtk_disp_color_unbind.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_disp_color.c_mtk_disp_color_unbind.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mtk_disp_color_unbind], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mtk_disp_color_unbind(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = tail call i32 @mtk_ddp_comp_unregister(ptr noundef %2, ptr noundef %4) #2
ret void
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mtk_ddp_comp_unregister(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_disp_color.c_mtk_disp_color_unbind.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_disp_color.c_mtk_disp_color_unbind.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 @mtk_disp_color_unbind], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mtk_disp_color_unbind(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = tail call i32 @mtk_ddp_comp_unregister(ptr noundef %2, ptr noundef %4) #2
ret void
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mtk_ddp_comp_unregister(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_mediatek_extr_mtk_disp_color.c_mtk_disp_color_unbind |
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_rpcb_clnt.c_rpcb_enc_getaddr.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_rpcb_clnt.c_rpcb_enc_getaddr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { ptr }
%struct.rpcbind_args = type { i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [53 x i8] c"RPC: %5u encoding RPCB_%s call (%u, %u, '%s', '%s')\0A\00", align 1
@RPCB_program_sz = dso_local local_unnamed_addr global i32 0, align 4
@RPCB_version_sz = dso_local local_unnamed_addr global i32 0, align 4
@RPCBIND_MAXNETIDLEN = dso_local local_unnamed_addr global i32 0, align 4
@RPCBIND_MAXUADDRLEN = dso_local local_unnamed_addr global i32 0, align 4
@RPCB_MAXOWNERLEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rpcb_enc_getaddr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rpcb_enc_getaddr(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !10
%7 = load ptr, ptr %4, align 8, !tbaa !14
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = getelementptr inbounds %struct.rpcbind_args, ptr %2, i64 0, i32 4
%10 = load i32, ptr %9, align 4, !tbaa !17
%11 = getelementptr inbounds %struct.rpcbind_args, ptr %2, i64 0, i32 3
%12 = load i32, ptr %11, align 4, !tbaa !19
%13 = getelementptr inbounds %struct.rpcbind_args, ptr %2, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !20
%15 = getelementptr inbounds %struct.rpcbind_args, ptr %2, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !21
%17 = tail call i32 @dprintk(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16) #2
%18 = load i32, ptr @RPCB_program_sz, align 4, !tbaa !22
%19 = load i32, ptr @RPCB_version_sz, align 4, !tbaa !22
%20 = add nsw i32 %19, %18
%21 = shl i32 %20, 2
%22 = tail call ptr @xdr_reserve_space(ptr noundef %1, i32 noundef %21) #2
%23 = load i32, ptr %9, align 4, !tbaa !17
%24 = tail call ptr @cpu_to_be32(i32 noundef %23) #2
%25 = getelementptr inbounds ptr, ptr %22, i64 1
store ptr %24, ptr %22, align 8, !tbaa !23
%26 = load i32, ptr %11, align 4, !tbaa !19
%27 = tail call ptr @cpu_to_be32(i32 noundef %26) #2
store ptr %27, ptr %25, align 8, !tbaa !23
%28 = load i32, ptr %13, align 4, !tbaa !20
%29 = load i32, ptr @RPCBIND_MAXNETIDLEN, align 4, !tbaa !22
%30 = tail call i32 @encode_rpcb_string(ptr noundef %1, i32 noundef %28, i32 noundef %29) #2
%31 = load i32, ptr %15, align 4, !tbaa !21
%32 = load i32, ptr @RPCBIND_MAXUADDRLEN, align 4, !tbaa !22
%33 = tail call i32 @encode_rpcb_string(ptr noundef %1, i32 noundef %31, i32 noundef %32) #2
%34 = load i32, ptr %2, align 4, !tbaa !24
%35 = load i32, ptr @RPCB_MAXOWNERLEN, align 4, !tbaa !22
%36 = tail call i32 @encode_rpcb_string(ptr noundef %1, i32 noundef %34, i32 noundef %35) #2
ret void
}
declare i32 @dprintk(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xdr_reserve_space(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #1
declare i32 @encode_rpcb_string(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"rpc_rqst", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"TYPE_6__", !12, i64 0, !13, i64 8}
!12 = !{!"TYPE_5__", !7, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !7, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_4__", !13, i64 0}
!17 = !{!18, !13, i64 16}
!18 = !{!"rpcbind_args", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16}
!19 = !{!18, !13, i64 12}
!20 = !{!18, !13, i64 8}
!21 = !{!18, !13, i64 4}
!22 = !{!13, !13, i64 0}
!23 = !{!7, !7, i64 0}
!24 = !{!18, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_rpcb_clnt.c_rpcb_enc_getaddr.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_rpcb_clnt.c_rpcb_enc_getaddr.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 [53 x i8] c"RPC: %5u encoding RPCB_%s call (%u, %u, '%s', '%s')\0A\00", align 1
@RPCB_program_sz = common local_unnamed_addr global i32 0, align 4
@RPCB_version_sz = common local_unnamed_addr global i32 0, align 4
@RPCBIND_MAXNETIDLEN = common local_unnamed_addr global i32 0, align 4
@RPCBIND_MAXUADDRLEN = common local_unnamed_addr global i32 0, align 4
@RPCB_MAXOWNERLEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rpcb_enc_getaddr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rpcb_enc_getaddr(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !11
%7 = load ptr, ptr %4, align 8, !tbaa !15
%8 = load i32, ptr %7, align 4, !tbaa !16
%9 = getelementptr inbounds i8, ptr %2, i64 16
%10 = load i32, ptr %9, align 4, !tbaa !18
%11 = getelementptr inbounds i8, ptr %2, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !20
%13 = getelementptr inbounds i8, ptr %2, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !21
%15 = getelementptr inbounds i8, ptr %2, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !22
%17 = tail call i32 @dprintk(ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16) #2
%18 = load i32, ptr @RPCB_program_sz, align 4, !tbaa !23
%19 = load i32, ptr @RPCB_version_sz, align 4, !tbaa !23
%20 = add nsw i32 %19, %18
%21 = shl i32 %20, 2
%22 = tail call ptr @xdr_reserve_space(ptr noundef %1, i32 noundef %21) #2
%23 = load i32, ptr %9, align 4, !tbaa !18
%24 = tail call ptr @cpu_to_be32(i32 noundef %23) #2
%25 = getelementptr inbounds i8, ptr %22, i64 8
store ptr %24, ptr %22, align 8, !tbaa !24
%26 = load i32, ptr %11, align 4, !tbaa !20
%27 = tail call ptr @cpu_to_be32(i32 noundef %26) #2
store ptr %27, ptr %25, align 8, !tbaa !24
%28 = load i32, ptr %13, align 4, !tbaa !21
%29 = load i32, ptr @RPCBIND_MAXNETIDLEN, align 4, !tbaa !23
%30 = tail call i32 @encode_rpcb_string(ptr noundef %1, i32 noundef %28, i32 noundef %29) #2
%31 = load i32, ptr %15, align 4, !tbaa !22
%32 = load i32, ptr @RPCBIND_MAXUADDRLEN, align 4, !tbaa !23
%33 = tail call i32 @encode_rpcb_string(ptr noundef %1, i32 noundef %31, i32 noundef %32) #2
%34 = load i32, ptr %2, align 4, !tbaa !25
%35 = load i32, ptr @RPCB_MAXOWNERLEN, align 4, !tbaa !23
%36 = tail call i32 @encode_rpcb_string(ptr noundef %1, i32 noundef %34, i32 noundef %35) #2
ret void
}
declare i32 @dprintk(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xdr_reserve_space(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_be32(i32 noundef) local_unnamed_addr #1
declare i32 @encode_rpcb_string(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"rpc_rqst", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 8}
!12 = !{!"TYPE_6__", !13, i64 0, !14, i64 8}
!13 = !{!"TYPE_5__", !8, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!12, !8, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_4__", !14, i64 0}
!18 = !{!19, !14, i64 16}
!19 = !{!"rpcbind_args", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16}
!20 = !{!19, !14, i64 12}
!21 = !{!19, !14, i64 8}
!22 = !{!19, !14, i64 4}
!23 = !{!14, !14, i64 0}
!24 = !{!8, !8, i64 0}
!25 = !{!19, !14, i64 0}
| linux_net_sunrpc_extr_rpcb_clnt.c_rpcb_enc_getaddr |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_fb.c_udl_fbdev_cleanup.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_fb.c_udl_fbdev_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @udl_fbdev_cleanup(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @to_udl(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = tail call i32 @udl_fbdev_destroy(ptr noundef %0, ptr noundef nonnull %3) #2
%7 = load ptr, ptr %2, align 8, !tbaa !5
%8 = tail call i32 @kfree(ptr noundef %7) #2
store ptr null, ptr %2, align 8, !tbaa !5
br label %9
9: ; preds = %1, %5
ret void
}
declare ptr @to_udl(ptr noundef) local_unnamed_addr #1
declare i32 @udl_fbdev_destroy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"udl_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_fb.c_udl_fbdev_cleanup.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_fb.c_udl_fbdev_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @udl_fbdev_cleanup(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @to_udl(ptr noundef %0) #2
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = tail call i32 @udl_fbdev_destroy(ptr noundef %0, ptr noundef nonnull %3) #2
%7 = load ptr, ptr %2, align 8, !tbaa !6
%8 = tail call i32 @kfree(ptr noundef %7) #2
store ptr null, ptr %2, align 8, !tbaa !6
br label %9
9: ; preds = %1, %5
ret void
}
declare ptr @to_udl(ptr noundef) local_unnamed_addr #1
declare i32 @udl_fbdev_destroy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"udl_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_udl_extr_udl_fb.c_udl_fbdev_cleanup |
; ModuleID = 'AnghaBench/linux/net/hsr/extr_hsr_forward.c_hsr_fill_tag.c'
source_filename = "AnghaBench/linux/net/hsr/extr_hsr_forward.c_hsr_fill_tag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hsr_frame_info = type { i32, i64 }
%struct.hsr_ethhdr = type { %struct.TYPE_4__, %struct.TYPE_5__ }
%struct.TYPE_4__ = type { ptr }
%struct.TYPE_5__ = type { ptr, ptr }
@HSR_PT_SLAVE_A = dso_local local_unnamed_addr global i64 0, align 8
@ETH_P_HSR = dso_local local_unnamed_addr global i32 0, align 4
@ETH_P_PRP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hsr_fill_tag], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @hsr_fill_tag(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3) #0 {
%5 = load i64, ptr %2, align 8, !tbaa !5
%6 = load i64, ptr @HSR_PT_SLAVE_A, align 8, !tbaa !10
%7 = icmp ne i64 %5, %6
%8 = zext i1 %7 to i32
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = getelementptr inbounds %struct.hsr_frame_info, ptr %1, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = icmp eq i64 %11, 0
%13 = select i1 %12, i32 -14, i32 -18
%14 = add nsw i32 %13, %9
%15 = tail call i64 @skb_mac_header(ptr noundef nonnull %0) #2
%16 = inttoptr i64 %15 to ptr
%17 = getelementptr inbounds %struct.hsr_ethhdr, ptr %16, i64 0, i32 1
%18 = tail call i32 @set_hsr_tag_path(ptr noundef nonnull %17, i32 noundef %8) #2
%19 = tail call i32 @set_hsr_tag_LSDU_size(ptr noundef nonnull %17, i32 noundef %14) #2
%20 = load i32, ptr %1, align 8, !tbaa !16
%21 = tail call ptr @htons(i32 noundef %20) #2
%22 = getelementptr inbounds %struct.hsr_ethhdr, ptr %16, i64 0, i32 1, i32 1
store ptr %21, ptr %22, align 8, !tbaa !17
%23 = load ptr, ptr %16, align 8, !tbaa !22
store ptr %23, ptr %17, align 8, !tbaa !23
%24 = icmp eq i64 %3, 0
%25 = load i32, ptr @ETH_P_HSR, align 4
%26 = load i32, ptr @ETH_P_PRP, align 4
%27 = select i1 %24, i32 %26, i32 %25
%28 = tail call ptr @htons(i32 noundef %27) #2
store ptr %28, ptr %16, align 8, !tbaa !22
ret void
}
declare i64 @skb_mac_header(ptr noundef) local_unnamed_addr #1
declare i32 @set_hsr_tag_path(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_hsr_tag_LSDU_size(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @htons(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"hsr_port", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"sk_buff", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"hsr_frame_info", !13, i64 0, !7, i64 8}
!16 = !{!15, !13, i64 0}
!17 = !{!18, !20, i64 16}
!18 = !{!"hsr_ethhdr", !19, i64 0, !21, i64 8}
!19 = !{!"TYPE_4__", !20, i64 0}
!20 = !{!"any pointer", !8, i64 0}
!21 = !{!"TYPE_5__", !20, i64 0, !20, i64 8}
!22 = !{!18, !20, i64 0}
!23 = !{!18, !20, i64 8}
| ; ModuleID = 'AnghaBench/linux/net/hsr/extr_hsr_forward.c_hsr_fill_tag.c'
source_filename = "AnghaBench/linux/net/hsr/extr_hsr_forward.c_hsr_fill_tag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HSR_PT_SLAVE_A = common local_unnamed_addr global i64 0, align 8
@ETH_P_HSR = common local_unnamed_addr global i32 0, align 4
@ETH_P_PRP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hsr_fill_tag], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @hsr_fill_tag(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3) #0 {
%5 = load i64, ptr %2, align 8, !tbaa !6
%6 = load i64, ptr @HSR_PT_SLAVE_A, align 8, !tbaa !11
%7 = icmp ne i64 %5, %6
%8 = zext i1 %7 to i32
%9 = load i32, ptr %0, align 4, !tbaa !12
%10 = getelementptr inbounds i8, ptr %1, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !15
%12 = icmp eq i64 %11, 0
%13 = select i1 %12, i32 -14, i32 -18
%14 = add nsw i32 %13, %9
%15 = tail call i64 @skb_mac_header(ptr noundef nonnull %0) #2
%16 = inttoptr i64 %15 to ptr
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = tail call i32 @set_hsr_tag_path(ptr noundef nonnull %17, i32 noundef %8) #2
%19 = tail call i32 @set_hsr_tag_LSDU_size(ptr noundef nonnull %17, i32 noundef %14) #2
%20 = load i32, ptr %1, align 8, !tbaa !17
%21 = tail call ptr @htons(i32 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %16, i64 16
store ptr %21, ptr %22, align 8, !tbaa !18
%23 = load ptr, ptr %16, align 8, !tbaa !23
store ptr %23, ptr %17, align 8, !tbaa !24
%24 = icmp eq i64 %3, 0
%25 = load i32, ptr @ETH_P_HSR, align 4
%26 = load i32, ptr @ETH_P_PRP, align 4
%27 = select i1 %24, i32 %26, i32 %25
%28 = tail call ptr @htons(i32 noundef %27) #2
store ptr %28, ptr %16, align 8, !tbaa !23
ret void
}
declare i64 @skb_mac_header(ptr noundef) local_unnamed_addr #1
declare i32 @set_hsr_tag_path(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_hsr_tag_LSDU_size(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @htons(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 = !{!"hsr_port", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"sk_buff", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !8, i64 8}
!16 = !{!"hsr_frame_info", !14, i64 0, !8, i64 8}
!17 = !{!16, !14, i64 0}
!18 = !{!19, !21, i64 16}
!19 = !{!"hsr_ethhdr", !20, i64 0, !22, i64 8}
!20 = !{!"TYPE_4__", !21, i64 0}
!21 = !{!"any pointer", !9, i64 0}
!22 = !{!"TYPE_5__", !21, i64 0, !21, i64 8}
!23 = !{!19, !21, i64 0}
!24 = !{!19, !21, i64 8}
| linux_net_hsr_extr_hsr_forward.c_hsr_fill_tag |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/i2c/extr_anx9805.c_anx9805_xfer.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/i2c/extr_anx9805.c_anx9805_xfer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.anx9805_i2c_port = type { i32, i32 }
%struct.i2c_msg = type { i32, i32, i32, ptr }
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@I2C_M_RD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @anx9805_xfer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @anx9805_xfer(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call ptr @nv_object(ptr noundef %4) #2
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !13
%9 = sub nsw i32 0, %8
%10 = getelementptr inbounds %struct.anx9805_i2c_port, ptr %4, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = tail call i32 @nv_rdi2cr(ptr noundef %7, i32 noundef %11, i32 noundef 7) #2
%13 = and i32 %12, -17
%14 = load i32, ptr %10, align 4, !tbaa !15
%15 = or i32 %12, 16
%16 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %14, i32 noundef 7, i32 noundef %15) #2
%17 = load i32, ptr %10, align 4, !tbaa !15
%18 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %17, i32 noundef 7, i32 noundef %13) #2
%19 = load i32, ptr %4, align 4, !tbaa !17
%20 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %19, i32 noundef 67, i32 noundef 5) #2
%21 = tail call i32 @mdelay(i32 noundef 5) #2
%22 = icmp eq i32 %2, 0
br i1 %22, label %99, label %23
23: ; preds = %3, %94
%24 = phi i32 [ %28, %94 ], [ %2, %3 ]
%25 = phi ptr [ %97, %94 ], [ %1, %3 ]
%26 = phi i32 [ %96, %94 ], [ 0, %3 ]
%27 = phi i32 [ %95, %94 ], [ 0, %3 ]
%28 = add nsw i32 %24, -1
%29 = load i32, ptr %25, align 8, !tbaa !18
%30 = load i32, ptr @I2C_M_RD, align 4, !tbaa !13
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
%33 = getelementptr inbounds %struct.i2c_msg, ptr %25, i64 0, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !20
br i1 %32, label %77, label %35
35: ; preds = %23
%36 = icmp eq i32 %34, 80
br i1 %36, label %37, label %99
37: ; preds = %35
%38 = load i32, ptr %4, align 4, !tbaa !17
%39 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %38, i32 noundef 64, i32 noundef 160) #2
%40 = load i32, ptr %4, align 4, !tbaa !17
%41 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %40, i32 noundef 65, i32 noundef %27) #2
%42 = load i32, ptr %4, align 4, !tbaa !17
%43 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %42, i32 noundef 66, i32 noundef %26) #2
%44 = load i32, ptr %4, align 4, !tbaa !17
%45 = getelementptr inbounds %struct.i2c_msg, ptr %25, i64 0, i32 2
%46 = load i32, ptr %45, align 8, !tbaa !21
%47 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %44, i32 noundef 68, i32 noundef %46) #2
%48 = load i32, ptr %4, align 4, !tbaa !17
%49 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %48, i32 noundef 69, i32 noundef 0) #2
%50 = load i32, ptr %4, align 4, !tbaa !17
%51 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %50, i32 noundef 67, i32 noundef 1) #2
%52 = load i32, ptr %45, align 8, !tbaa !21
%53 = icmp sgt i32 %52, 0
br i1 %53, label %54, label %94
54: ; preds = %37
%55 = getelementptr inbounds %struct.i2c_msg, ptr %25, i64 0, i32 3
br label %56
56: ; preds = %54, %68
%57 = phi i64 [ 0, %54 ], [ %73, %68 ]
br label %58
58: ; preds = %56, %64
%59 = phi i32 [ %66, %64 ], [ 0, %56 ]
%60 = load i32, ptr %4, align 4, !tbaa !17
%61 = tail call i32 @nv_rdi2cr(ptr noundef %7, i32 noundef %60, i32 noundef 70) #2
%62 = and i32 %61, 16
%63 = icmp eq i32 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %58
%65 = tail call i32 @mdelay(i32 noundef 5) #2
%66 = add nuw nsw i32 %59, 1
%67 = icmp eq i32 %59, 32
br i1 %67, label %99, label %58, !llvm.loop !22
68: ; preds = %58
%69 = load i32, ptr %4, align 4, !tbaa !17
%70 = tail call i32 @nv_rdi2cr(ptr noundef %7, i32 noundef %69, i32 noundef 71) #2
%71 = load ptr, ptr %55, align 8, !tbaa !24
%72 = getelementptr inbounds i32, ptr %71, i64 %57
store i32 %70, ptr %72, align 4, !tbaa !13
%73 = add nuw nsw i64 %57, 1
%74 = load i32, ptr %45, align 8, !tbaa !21
%75 = sext i32 %74 to i64
%76 = icmp slt i64 %73, %75
br i1 %76, label %56, label %94, !llvm.loop !25
77: ; preds = %23
switch i32 %34, label %99 [
i32 80, label %78
i32 48, label %86
]
78: ; preds = %77
%79 = getelementptr inbounds %struct.i2c_msg, ptr %25, i64 0, i32 2
%80 = load i32, ptr %79, align 8, !tbaa !21
%81 = icmp eq i32 %80, 1
br i1 %81, label %82, label %99
82: ; preds = %78
%83 = getelementptr inbounds %struct.i2c_msg, ptr %25, i64 0, i32 3
%84 = load ptr, ptr %83, align 8, !tbaa !24
%85 = load i32, ptr %84, align 4, !tbaa !13
br label %94
86: ; preds = %77
%87 = getelementptr inbounds %struct.i2c_msg, ptr %25, i64 0, i32 2
%88 = load i32, ptr %87, align 8, !tbaa !21
%89 = icmp eq i32 %88, 1
br i1 %89, label %90, label %99
90: ; preds = %86
%91 = getelementptr inbounds %struct.i2c_msg, ptr %25, i64 0, i32 3
%92 = load ptr, ptr %91, align 8, !tbaa !24
%93 = load i32, ptr %92, align 4, !tbaa !13
br label %94
94: ; preds = %68, %37, %90, %82
%95 = phi i32 [ %27, %82 ], [ %93, %90 ], [ %27, %37 ], [ %27, %68 ]
%96 = phi i32 [ %85, %82 ], [ %26, %90 ], [ %26, %37 ], [ %26, %68 ]
%97 = getelementptr inbounds %struct.i2c_msg, ptr %25, i64 1
%98 = icmp eq i32 %28, 0
br i1 %98, label %99, label %23, !llvm.loop !26
99: ; preds = %86, %94, %35, %78, %77, %64, %3
%100 = phi i32 [ 0, %3 ], [ %9, %64 ], [ %9, %86 ], [ %2, %94 ], [ %9, %35 ], [ %9, %78 ], [ %9, %77 ]
%101 = load i32, ptr %4, align 4, !tbaa !17
%102 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %101, i32 noundef 67, i32 noundef 0) #2
ret i32 %100
}
declare ptr @nv_object(ptr noundef) local_unnamed_addr #1
declare i32 @nv_rdi2cr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nv_wri2cr(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mdelay(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"i2c_adapter", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !14, i64 4}
!16 = !{!"anx9805_i2c_port", !14, i64 0, !14, i64 4}
!17 = !{!16, !14, i64 0}
!18 = !{!19, !14, i64 0}
!19 = !{!"i2c_msg", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 16}
!20 = !{!19, !14, i64 4}
!21 = !{!19, !14, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!19, !7, i64 16}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/i2c/extr_anx9805.c_anx9805_xfer.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/i2c/extr_anx9805.c_anx9805_xfer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@I2C_M_RD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @anx9805_xfer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @anx9805_xfer(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call ptr @nv_object(ptr noundef %4) #2
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = inttoptr i64 %6 to ptr
%8 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !14
%9 = sub nsw i32 0, %8
%10 = getelementptr inbounds i8, ptr %4, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = tail call i32 @nv_rdi2cr(ptr noundef %7, i32 noundef %11, i32 noundef 7) #2
%13 = and i32 %12, -17
%14 = load i32, ptr %10, align 4, !tbaa !16
%15 = or i32 %12, 16
%16 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %14, i32 noundef 7, i32 noundef %15) #2
%17 = load i32, ptr %10, align 4, !tbaa !16
%18 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %17, i32 noundef 7, i32 noundef %13) #2
%19 = load i32, ptr %4, align 4, !tbaa !18
%20 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %19, i32 noundef 67, i32 noundef 5) #2
%21 = tail call i32 @mdelay(i32 noundef 5) #2
%22 = icmp eq i32 %2, 0
br i1 %22, label %99, label %23
23: ; preds = %3, %94
%24 = phi i32 [ %28, %94 ], [ %2, %3 ]
%25 = phi ptr [ %97, %94 ], [ %1, %3 ]
%26 = phi i32 [ %96, %94 ], [ 0, %3 ]
%27 = phi i32 [ %95, %94 ], [ 0, %3 ]
%28 = add nsw i32 %24, -1
%29 = load i32, ptr %25, align 8, !tbaa !19
%30 = load i32, ptr @I2C_M_RD, align 4, !tbaa !14
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
%33 = getelementptr inbounds i8, ptr %25, i64 4
%34 = load i32, ptr %33, align 4, !tbaa !21
br i1 %32, label %77, label %35
35: ; preds = %23
%36 = icmp eq i32 %34, 80
br i1 %36, label %37, label %99
37: ; preds = %35
%38 = load i32, ptr %4, align 4, !tbaa !18
%39 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %38, i32 noundef 64, i32 noundef 160) #2
%40 = load i32, ptr %4, align 4, !tbaa !18
%41 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %40, i32 noundef 65, i32 noundef %27) #2
%42 = load i32, ptr %4, align 4, !tbaa !18
%43 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %42, i32 noundef 66, i32 noundef %26) #2
%44 = load i32, ptr %4, align 4, !tbaa !18
%45 = getelementptr inbounds i8, ptr %25, i64 8
%46 = load i32, ptr %45, align 8, !tbaa !22
%47 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %44, i32 noundef 68, i32 noundef %46) #2
%48 = load i32, ptr %4, align 4, !tbaa !18
%49 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %48, i32 noundef 69, i32 noundef 0) #2
%50 = load i32, ptr %4, align 4, !tbaa !18
%51 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %50, i32 noundef 67, i32 noundef 1) #2
%52 = load i32, ptr %45, align 8, !tbaa !22
%53 = icmp sgt i32 %52, 0
br i1 %53, label %54, label %94
54: ; preds = %37
%55 = getelementptr inbounds i8, ptr %25, i64 16
br label %56
56: ; preds = %54, %68
%57 = phi i64 [ 0, %54 ], [ %73, %68 ]
br label %58
58: ; preds = %56, %64
%59 = phi i32 [ %66, %64 ], [ 0, %56 ]
%60 = load i32, ptr %4, align 4, !tbaa !18
%61 = tail call i32 @nv_rdi2cr(ptr noundef %7, i32 noundef %60, i32 noundef 70) #2
%62 = and i32 %61, 16
%63 = icmp eq i32 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %58
%65 = tail call i32 @mdelay(i32 noundef 5) #2
%66 = add nuw nsw i32 %59, 1
%67 = icmp eq i32 %59, 32
br i1 %67, label %99, label %58, !llvm.loop !23
68: ; preds = %58
%69 = load i32, ptr %4, align 4, !tbaa !18
%70 = tail call i32 @nv_rdi2cr(ptr noundef %7, i32 noundef %69, i32 noundef 71) #2
%71 = load ptr, ptr %55, align 8, !tbaa !25
%72 = getelementptr inbounds i32, ptr %71, i64 %57
store i32 %70, ptr %72, align 4, !tbaa !14
%73 = add nuw nsw i64 %57, 1
%74 = load i32, ptr %45, align 8, !tbaa !22
%75 = sext i32 %74 to i64
%76 = icmp slt i64 %73, %75
br i1 %76, label %56, label %94, !llvm.loop !26
77: ; preds = %23
switch i32 %34, label %99 [
i32 80, label %78
i32 48, label %86
]
78: ; preds = %77
%79 = getelementptr inbounds i8, ptr %25, i64 8
%80 = load i32, ptr %79, align 8, !tbaa !22
%81 = icmp eq i32 %80, 1
br i1 %81, label %82, label %99
82: ; preds = %78
%83 = getelementptr inbounds i8, ptr %25, i64 16
%84 = load ptr, ptr %83, align 8, !tbaa !25
%85 = load i32, ptr %84, align 4, !tbaa !14
br label %94
86: ; preds = %77
%87 = getelementptr inbounds i8, ptr %25, i64 8
%88 = load i32, ptr %87, align 8, !tbaa !22
%89 = icmp eq i32 %88, 1
br i1 %89, label %90, label %99
90: ; preds = %86
%91 = getelementptr inbounds i8, ptr %25, i64 16
%92 = load ptr, ptr %91, align 8, !tbaa !25
%93 = load i32, ptr %92, align 4, !tbaa !14
br label %94
94: ; preds = %68, %37, %90, %82
%95 = phi i32 [ %27, %82 ], [ %93, %90 ], [ %27, %37 ], [ %27, %68 ]
%96 = phi i32 [ %85, %82 ], [ %26, %90 ], [ %26, %37 ], [ %26, %68 ]
%97 = getelementptr inbounds i8, ptr %25, i64 24
%98 = icmp eq i32 %28, 0
br i1 %98, label %99, label %23, !llvm.loop !27
99: ; preds = %86, %94, %35, %78, %77, %64, %3
%100 = phi i32 [ 0, %3 ], [ %9, %64 ], [ %9, %86 ], [ %2, %94 ], [ %9, %35 ], [ %9, %78 ], [ %9, %77 ]
%101 = load i32, ptr %4, align 4, !tbaa !18
%102 = tail call i32 @nv_wri2cr(ptr noundef %7, i32 noundef %101, i32 noundef 67, i32 noundef 0) #2
ret i32 %100
}
declare ptr @nv_object(ptr noundef) local_unnamed_addr #1
declare i32 @nv_rdi2cr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nv_wri2cr(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mdelay(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 = !{!"i2c_adapter", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!17, !15, i64 4}
!17 = !{!"anx9805_i2c_port", !15, i64 0, !15, i64 4}
!18 = !{!17, !15, i64 0}
!19 = !{!20, !15, i64 0}
!20 = !{!"i2c_msg", !15, i64 0, !15, i64 4, !15, i64 8, !8, i64 16}
!21 = !{!20, !15, i64 4}
!22 = !{!20, !15, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!20, !8, i64 16}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24}
| fastsocket_kernel_drivers_gpu_drm_nouveau_core_subdev_i2c_extr_anx9805.c_anx9805_xfer |
; ModuleID = 'AnghaBench/lab/engine/code/deepmind/extr_dm_local.c_dmlab_finditem.c'
source_filename = "AnghaBench/lab/engine/code/deepmind/extr_dm_local.c_dmlab_finditem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DEEPMIND_FIND_ITEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dmlab_finditem(i8* noundef %0, i32* noundef %1) local_unnamed_addr #0 {
%3 = load i32, i32* @DEEPMIND_FIND_ITEM, align 4, !tbaa !5
%4 = ptrtoint i8* %0 to i64
%5 = ptrtoint i32* %1 to i64
%6 = tail call i32 @trap_DeepmindCallback(i32 noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
ret i32 %6
}
declare i32 @trap_DeepmindCallback(i32 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/lab/engine/code/deepmind/extr_dm_local.c_dmlab_finditem.c'
source_filename = "AnghaBench/lab/engine/code/deepmind/extr_dm_local.c_dmlab_finditem.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DEEPMIND_FIND_ITEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dmlab_finditem(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @DEEPMIND_FIND_ITEM, align 4, !tbaa !6
%4 = ptrtoint ptr %0 to i64
%5 = ptrtoint ptr %1 to i64
%6 = tail call i32 @trap_DeepmindCallback(i32 noundef %3, i64 noundef %4, i64 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
ret i32 %6
}
declare i32 @trap_DeepmindCallback(i32 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| lab_engine_code_deepmind_extr_dm_local.c_dmlab_finditem |
; ModuleID = 'AnghaBench/linux/fs/xfs/scrub/extr_bmap.c_xchk_bmap_data.c'
source_filename = "AnghaBench/linux/fs/xfs/scrub/extr_bmap.c_xchk_bmap_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@XFS_DATA_FORK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @xchk_bmap_data(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @XFS_DATA_FORK, align 4, !tbaa !5
%3 = tail call i32 @xchk_bmap(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @xchk_bmap(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/xfs/scrub/extr_bmap.c_xchk_bmap_data.c'
source_filename = "AnghaBench/linux/fs/xfs/scrub/extr_bmap.c_xchk_bmap_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XFS_DATA_FORK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @xchk_bmap_data(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @XFS_DATA_FORK, align 4, !tbaa !6
%3 = tail call i32 @xchk_bmap(ptr noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @xchk_bmap(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_fs_xfs_scrub_extr_bmap.c_xchk_bmap_data |
; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_daqboard2000.c_db2k_wait_cpld_init.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_daqboard2000.c_db2k_wait_cpld_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@DB2K_REG_CPLD_STATUS = dso_local local_unnamed_addr global i64 0, align 8
@DB2K_CPLD_STATUS_INIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @db2k_wait_cpld_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @db2k_wait_cpld_init(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !5
%3 = sub nsw i32 0, %2
br label %4
4: ; preds = %1, %13
%5 = phi i32 [ 0, %1 ], [ %15, %13 ]
%6 = load i64, ptr %0, align 8, !tbaa !9
%7 = load i64, ptr @DB2K_REG_CPLD_STATUS, align 8, !tbaa !12
%8 = add nsw i64 %7, %6
%9 = tail call i32 @readw(i64 noundef %8) #2
%10 = load i32, ptr @DB2K_CPLD_STATUS_INIT, align 4, !tbaa !5
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %4
%14 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 1000) #2
%15 = add nuw nsw i32 %5, 1
%16 = icmp eq i32 %15, 50
br i1 %16, label %17, label %4, !llvm.loop !13
17: ; preds = %4, %13
%18 = phi i32 [ %3, %13 ], [ 0, %4 ]
%19 = tail call i32 @udelay(i32 noundef 5) #2
ret i32 %18
}
declare i32 @readw(i64 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"comedi_device", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/comedi/drivers/extr_daqboard2000.c_db2k_wait_cpld_init.c'
source_filename = "AnghaBench/linux/drivers/staging/comedi/drivers/extr_daqboard2000.c_db2k_wait_cpld_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@DB2K_REG_CPLD_STATUS = common local_unnamed_addr global i64 0, align 8
@DB2K_CPLD_STATUS_INIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @db2k_wait_cpld_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @db2k_wait_cpld_init(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !6
%3 = sub nsw i32 0, %2
br label %4
4: ; preds = %1, %13
%5 = phi i32 [ 0, %1 ], [ %15, %13 ]
%6 = load i64, ptr %0, align 8, !tbaa !10
%7 = load i64, ptr @DB2K_REG_CPLD_STATUS, align 8, !tbaa !13
%8 = add nsw i64 %7, %6
%9 = tail call i32 @readw(i64 noundef %8) #2
%10 = load i32, ptr @DB2K_CPLD_STATUS_INIT, align 4, !tbaa !6
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %4
%14 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 1000) #2
%15 = add nuw nsw i32 %5, 1
%16 = icmp eq i32 %15, 50
br i1 %16, label %17, label %4, !llvm.loop !14
17: ; preds = %4, %13
%18 = phi i32 [ %3, %13 ], [ 0, %4 ]
%19 = tail call i32 @udelay(i32 noundef 5) #2
ret i32 %18
}
declare i32 @readw(i64 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"comedi_device", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| linux_drivers_staging_comedi_drivers_extr_daqboard2000.c_db2k_wait_cpld_init |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cfgrtl.c_init_rtl_bb_info.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cfgrtl.c_init_rtl_bb_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @init_rtl_bb_info(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @gcc_assert(i32 noundef %4) #2
%6 = tail call i64 @ggc_alloc_cleared(i32 noundef 4) #2
store i64 %6, ptr %0, align 8, !tbaa !5
ret void
}
declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1
declare i64 @ggc_alloc_cleared(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cfgrtl.c_init_rtl_bb_info.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cfgrtl.c_init_rtl_bb_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @init_rtl_bb_info(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @gcc_assert(i32 noundef %4) #2
%6 = tail call i64 @ggc_alloc_cleared(i32 noundef 4) #2
store i64 %6, ptr %0, align 8, !tbaa !6
ret void
}
declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1
declare i64 @ggc_alloc_cleared(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gcc_extr_cfgrtl.c_init_rtl_bb_info |
; ModuleID = 'AnghaBench/reactos/base/setup/lib/utils/extr_inicache.c_IniCacheFreeKey.c'
source_filename = "AnghaBench/reactos/base/setup/lib/utils/extr_inicache.c_IniCacheFreeKey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { ptr, ptr, ptr }
@ProcessHeap = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @IniCacheFreeKey], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @IniCacheFreeKey(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %21, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = icmp eq ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = load i32, ptr @ProcessHeap, align 4, !tbaa !11
%11 = tail call i32 @RtlFreeHeap(i32 noundef %10, i32 noundef 0, ptr noundef nonnull %7) #2
store ptr null, ptr %6, align 8, !tbaa !10
br label %12
12: ; preds = %9, %3
%13 = load ptr, ptr %0, align 8, !tbaa !13
%14 = icmp eq ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr @ProcessHeap, align 4, !tbaa !11
%17 = tail call i32 @RtlFreeHeap(i32 noundef %16, i32 noundef 0, ptr noundef nonnull %13) #2
store ptr null, ptr %0, align 8, !tbaa !13
br label %18
18: ; preds = %15, %12
%19 = load i32, ptr @ProcessHeap, align 4, !tbaa !11
%20 = tail call i32 @RtlFreeHeap(i32 noundef %19, i32 noundef 0, ptr noundef nonnull %0) #2
br label %21
21: ; preds = %1, %18
%22 = phi ptr [ %5, %18 ], [ null, %1 ]
ret ptr %22
}
declare i32 @RtlFreeHeap(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/base/setup/lib/utils/extr_inicache.c_IniCacheFreeKey.c'
source_filename = "AnghaBench/reactos/base/setup/lib/utils/extr_inicache.c_IniCacheFreeKey.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ProcessHeap = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @IniCacheFreeKey], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @IniCacheFreeKey(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %21, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = load i32, ptr @ProcessHeap, align 4, !tbaa !12
%11 = tail call i32 @RtlFreeHeap(i32 noundef %10, i32 noundef 0, ptr noundef nonnull %7) #2
store ptr null, ptr %6, align 8, !tbaa !11
br label %12
12: ; preds = %9, %3
%13 = load ptr, ptr %0, align 8, !tbaa !14
%14 = icmp eq ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr @ProcessHeap, align 4, !tbaa !12
%17 = tail call i32 @RtlFreeHeap(i32 noundef %16, i32 noundef 0, ptr noundef nonnull %13) #2
store ptr null, ptr %0, align 8, !tbaa !14
br label %18
18: ; preds = %15, %12
%19 = load i32, ptr @ProcessHeap, align 4, !tbaa !12
%20 = tail call i32 @RtlFreeHeap(i32 noundef %19, i32 noundef 0, ptr noundef nonnull %0) #2
br label %21
21: ; preds = %1, %18
%22 = phi ptr [ %5, %18 ], [ null, %1 ]
ret ptr %22
}
declare i32 @RtlFreeHeap(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 0}
| reactos_base_setup_lib_utils_extr_inicache.c_IniCacheFreeKey |
; ModuleID = 'AnghaBench/linux/drivers/misc/cxl/extr_guest.c_free_adapter.c'
source_filename = "AnghaBench/linux/drivers/misc/cxl/extr_guest.c_free_adapter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.cxl = type { i32, ptr, ptr, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @free_adapter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @free_adapter(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.cxl, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %39, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.cxl, ptr %3, i64 0, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %32, label %9
9: ; preds = %5
%10 = load i32, ptr %3, align 8, !tbaa !12
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %28
12: ; preds = %9, %12
%13 = phi i64 [ %20, %12 ], [ 0, %9 ]
%14 = phi ptr [ %21, %12 ], [ %3, %9 ]
%15 = getelementptr inbounds %struct.cxl, ptr %14, i64 0, i32 3
%16 = load ptr, ptr %15, align 8, !tbaa !11
%17 = getelementptr inbounds %struct.cxl, ptr %16, i64 %13, i32 4
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = tail call i32 @kfree(ptr noundef %18) #2
%20 = add nuw nsw i64 %13, 1
%21 = load ptr, ptr %2, align 8, !tbaa !5
%22 = load i32, ptr %21, align 8, !tbaa !12
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %20, %23
br i1 %24, label %12, label %25, !llvm.loop !15
25: ; preds = %12
%26 = getelementptr inbounds %struct.cxl, ptr %21, i64 0, i32 3
%27 = load ptr, ptr %26, align 8, !tbaa !11
br label %28
28: ; preds = %25, %9
%29 = phi ptr [ %7, %9 ], [ %27, %25 ]
%30 = tail call i32 @kfree(ptr noundef %29) #2
%31 = load ptr, ptr %2, align 8, !tbaa !5
br label %32
32: ; preds = %28, %5
%33 = phi ptr [ %31, %28 ], [ %3, %5 ]
%34 = getelementptr inbounds %struct.cxl, ptr %33, i64 0, i32 2
%35 = load ptr, ptr %34, align 8, !tbaa !17
%36 = tail call i32 @kfree(ptr noundef %35) #2
%37 = load ptr, ptr %2, align 8, !tbaa !5
%38 = tail call i32 @kfree(ptr noundef %37) #2
br label %39
39: ; preds = %32, %1
%40 = tail call i32 @cxl_remove_adapter_nr(ptr noundef nonnull %0) #2
%41 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @cxl_remove_adapter_nr(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"cxl", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 24}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !10, i64 32}
!14 = !{!"irq_avail", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/cxl/extr_guest.c_free_adapter.c'
source_filename = "AnghaBench/linux/drivers/misc/cxl/extr_guest.c_free_adapter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.cxl = type { i32, ptr, ptr, ptr, ptr }
@llvm.used = appending global [1 x ptr] [ptr @free_adapter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @free_adapter(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %39, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = icmp eq ptr %7, null
br i1 %8, label %32, label %9
9: ; preds = %5
%10 = load i32, ptr %3, align 8, !tbaa !13
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %28
12: ; preds = %9, %12
%13 = phi i64 [ %20, %12 ], [ 0, %9 ]
%14 = phi ptr [ %21, %12 ], [ %3, %9 ]
%15 = getelementptr inbounds i8, ptr %14, i64 24
%16 = load ptr, ptr %15, align 8, !tbaa !12
%17 = getelementptr inbounds %struct.cxl, ptr %16, i64 %13, i32 4
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = tail call i32 @kfree(ptr noundef %18) #2
%20 = add nuw nsw i64 %13, 1
%21 = load ptr, ptr %2, align 8, !tbaa !6
%22 = load i32, ptr %21, align 8, !tbaa !13
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %20, %23
br i1 %24, label %12, label %25, !llvm.loop !16
25: ; preds = %12
%26 = getelementptr inbounds i8, ptr %21, i64 24
%27 = load ptr, ptr %26, align 8, !tbaa !12
br label %28
28: ; preds = %25, %9
%29 = phi ptr [ %7, %9 ], [ %27, %25 ]
%30 = tail call i32 @kfree(ptr noundef %29) #2
%31 = load ptr, ptr %2, align 8, !tbaa !6
br label %32
32: ; preds = %28, %5
%33 = phi ptr [ %31, %28 ], [ %3, %5 ]
%34 = getelementptr inbounds i8, ptr %33, i64 16
%35 = load ptr, ptr %34, align 8, !tbaa !18
%36 = tail call i32 @kfree(ptr noundef %35) #2
%37 = load ptr, ptr %2, align 8, !tbaa !6
%38 = tail call i32 @kfree(ptr noundef %37) #2
br label %39
39: ; preds = %32, %1
%40 = tail call i32 @cxl_remove_adapter_nr(ptr noundef nonnull %0) #2
%41 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @cxl_remove_adapter_nr(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"cxl", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 24}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !11, i64 32}
!15 = !{!"irq_avail", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!7, !11, i64 16}
| linux_drivers_misc_cxl_extr_guest.c_free_adapter |
; ModuleID = 'AnghaBench/linux/drivers/fpga/extr_altera-ps-spi.c_altera_ps_state.c'
source_filename = "AnghaBench/linux/drivers/fpga/extr_altera-ps-spi.c_altera_ps_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FPGA_MGR_STATE_RESET = dso_local local_unnamed_addr global i32 0, align 4
@FPGA_MGR_STATE_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @altera_ps_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @altera_ps_state(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = tail call i64 @gpiod_get_value_cansleep(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @FPGA_MGR_STATE_UNKNOWN, align 4
%7 = load i32, ptr @FPGA_MGR_STATE_RESET, align 4
%8 = select i1 %5, i32 %6, i32 %7
ret i32 %8
}
declare i64 @gpiod_get_value_cansleep(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fpga_manager", !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 = !{!"altera_ps_conf", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/fpga/extr_altera-ps-spi.c_altera_ps_state.c'
source_filename = "AnghaBench/linux/drivers/fpga/extr_altera-ps-spi.c_altera_ps_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FPGA_MGR_STATE_RESET = common local_unnamed_addr global i32 0, align 4
@FPGA_MGR_STATE_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @altera_ps_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @altera_ps_state(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = tail call i64 @gpiod_get_value_cansleep(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @FPGA_MGR_STATE_UNKNOWN, align 4
%7 = load i32, ptr @FPGA_MGR_STATE_RESET, align 4
%8 = select i1 %5, i32 %6, i32 %7
ret i32 %8
}
declare i64 @gpiod_get_value_cansleep(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 = !{!"fpga_manager", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"altera_ps_conf", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_fpga_extr_altera-ps-spi.c_altera_ps_state |
; ModuleID = 'AnghaBench/linux/drivers/base/regmap/extr_regmap.c_regmap_lock_mutex.c'
source_filename = "AnghaBench/linux/drivers/base/regmap/extr_regmap.c_regmap_lock_mutex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @regmap_lock_mutex], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @regmap_lock_mutex(ptr noundef %0) #0 {
%2 = tail call i32 @mutex_lock(ptr noundef %0) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/base/regmap/extr_regmap.c_regmap_lock_mutex.c'
source_filename = "AnghaBench/linux/drivers/base/regmap/extr_regmap.c_regmap_lock_mutex.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 @regmap_lock_mutex], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @regmap_lock_mutex(ptr noundef %0) #0 {
%2 = tail call i32 @mutex_lock(ptr noundef %0) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_base_regmap_extr_regmap.c_regmap_lock_mutex |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/pxa/extr_poodle.c_poodle_amp_event.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/soc/pxa/extr_poodle.c_poodle_amp_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@poodle_locomo_device = dso_local global %struct.TYPE_2__ zeroinitializer, align 4
@POODLE_LOCOMO_GPIO_AMP_ON = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @poodle_amp_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @poodle_amp_event(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = tail call i64 @SND_SOC_DAPM_EVENT_ON(i32 noundef %2) #2
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @POODLE_LOCOMO_GPIO_AMP_ON, align 4, !tbaa !5
%7 = zext i1 %5 to i32
%8 = tail call i32 @locomo_gpio_write(ptr noundef nonnull @poodle_locomo_device, i32 noundef %6, i32 noundef %7) #2
ret i32 0
}
declare i64 @SND_SOC_DAPM_EVENT_ON(i32 noundef) local_unnamed_addr #1
declare i32 @locomo_gpio_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/pxa/extr_poodle.c_poodle_amp_event.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/soc/pxa/extr_poodle.c_poodle_amp_event.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 }
@poodle_locomo_device = common global %struct.TYPE_2__ zeroinitializer, align 4
@POODLE_LOCOMO_GPIO_AMP_ON = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @poodle_amp_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @poodle_amp_event(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = tail call i64 @SND_SOC_DAPM_EVENT_ON(i32 noundef %2) #2
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @POODLE_LOCOMO_GPIO_AMP_ON, align 4, !tbaa !6
%7 = zext i1 %5 to i32
%8 = tail call i32 @locomo_gpio_write(ptr noundef nonnull @poodle_locomo_device, i32 noundef %6, i32 noundef %7) #2
ret i32 0
}
declare i64 @SND_SOC_DAPM_EVENT_ON(i32 noundef) local_unnamed_addr #1
declare i32 @locomo_gpio_write(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"}
| fastsocket_kernel_sound_soc_pxa_extr_poodle.c_poodle_amp_event |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_pktcdvd.c_pkt_sysfs_cleanup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_pktcdvd.c_pkt_sysfs_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@class_pktcdvd = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @pkt_sysfs_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pkt_sysfs_cleanup() #0 {
%1 = load ptr, ptr @class_pktcdvd, align 8, !tbaa !5
%2 = icmp eq ptr %1, null
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @class_destroy(ptr noundef nonnull %1) #2
br label %5
5: ; preds = %3, %0
store ptr null, ptr @class_pktcdvd, align 8, !tbaa !5
ret void
}
declare i32 @class_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_pktcdvd.c_pkt_sysfs_cleanup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_pktcdvd.c_pkt_sysfs_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@class_pktcdvd = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @pkt_sysfs_cleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pkt_sysfs_cleanup() #0 {
%1 = load ptr, ptr @class_pktcdvd, align 8, !tbaa !6
%2 = icmp eq ptr %1, null
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @class_destroy(ptr noundef nonnull %1) #2
br label %5
5: ; preds = %3, %0
store ptr null, ptr @class_pktcdvd, align 8, !tbaa !6
ret void
}
declare i32 @class_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_block_extr_pktcdvd.c_pkt_sysfs_cleanup |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_srcu.c_synchronize_srcu.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_srcu.c_synchronize_srcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@synchronize_sched = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @synchronize_srcu(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @synchronize_sched, align 4, !tbaa !5
%3 = tail call i32 @__synchronize_srcu(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @__synchronize_srcu(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_srcu.c_synchronize_srcu.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_srcu.c_synchronize_srcu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@synchronize_sched = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @synchronize_srcu(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @synchronize_sched, align 4, !tbaa !6
%3 = tail call i32 @__synchronize_srcu(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @__synchronize_srcu(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_kernel_extr_srcu.c_synchronize_srcu |
; ModuleID = 'AnghaBench/linux/fs/hpfs/extr_inode.c_hpfs_evict_inode.c'
source_filename = "AnghaBench/linux/fs/hpfs/extr_inode.c_hpfs_evict_inode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.inode = type { i32, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @hpfs_evict_inode(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 3
%3 = tail call i32 @truncate_inode_pages_final(ptr noundef nonnull %2) #2
%4 = tail call i32 @clear_inode(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 2
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %1
%9 = load i32, ptr %0, align 4, !tbaa !10
%10 = tail call i32 @hpfs_lock(i32 noundef %9) #2
%11 = load i32, ptr %0, align 4, !tbaa !10
%12 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = tail call i32 @hpfs_remove_fnode(i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr %0, align 4, !tbaa !10
%16 = tail call i32 @hpfs_unlock(i32 noundef %15) #2
br label %17
17: ; preds = %8, %1
ret void
}
declare i32 @truncate_inode_pages_final(ptr noundef) local_unnamed_addr #1
declare i32 @clear_inode(ptr noundef) local_unnamed_addr #1
declare i32 @hpfs_lock(i32 noundef) local_unnamed_addr #1
declare i32 @hpfs_remove_fnode(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hpfs_unlock(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"inode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/fs/hpfs/extr_inode.c_hpfs_evict_inode.c'
source_filename = "AnghaBench/linux/fs/hpfs/extr_inode.c_hpfs_evict_inode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @hpfs_evict_inode(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 12
%3 = tail call i32 @truncate_inode_pages_final(ptr noundef nonnull %2) #2
%4 = tail call i32 @clear_inode(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %17
8: ; preds = %1
%9 = load i32, ptr %0, align 4, !tbaa !11
%10 = tail call i32 @hpfs_lock(i32 noundef %9) #2
%11 = load i32, ptr %0, align 4, !tbaa !11
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = tail call i32 @hpfs_remove_fnode(i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr %0, align 4, !tbaa !11
%16 = tail call i32 @hpfs_unlock(i32 noundef %15) #2
br label %17
17: ; preds = %8, %1
ret void
}
declare i32 @truncate_inode_pages_final(ptr noundef) local_unnamed_addr #1
declare i32 @clear_inode(ptr noundef) local_unnamed_addr #1
declare i32 @hpfs_lock(i32 noundef) local_unnamed_addr #1
declare i32 @hpfs_remove_fnode(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hpfs_unlock(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"inode", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!7, !8, i64 4}
| linux_fs_hpfs_extr_inode.c_hpfs_evict_inode |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_sr.c_gatt_sr_enqueue_cmd.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_sr.c_gatt_sr_enqueue_cmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64, i64, i32, i32 }
@GATT_HANDLE_VALUE_CONF = dso_local local_unnamed_addr global i64 0, align 8
@GATT_CMD_WRITE = dso_local local_unnamed_addr global i64 0, align 8
@GATT_SIGN_CMD_WRITE = dso_local local_unnamed_addr global i64 0, align 8
@GATT_REQ_MTU = dso_local local_unnamed_addr global i64 0, align 8
@GATT_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4
@GATT_TRANS_ID_MAX = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local i64 @gatt_sr_enqueue_cmd(ptr nocapture noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
%7 = load i64, ptr @GATT_HANDLE_VALUE_CONF, align 8
%8 = icmp eq i64 %7, %1
%9 = select i1 %6, i1 true, i1 %8
br i1 %9, label %10, label %29
10: ; preds = %3
%11 = load i64, ptr @GATT_CMD_WRITE, align 8, !tbaa !11
%12 = icmp eq i64 %11, %1
%13 = load i64, ptr @GATT_SIGN_CMD_WRITE, align 8
%14 = icmp eq i64 %13, %1
%15 = select i1 %12, i1 true, i1 %14
%16 = load i64, ptr @GATT_REQ_MTU, align 8
%17 = icmp eq i64 %16, %1
%18 = select i1 %15, i1 true, i1 %17
%19 = select i1 %18, i1 true, i1 %8
%20 = load i64, ptr %0, align 8, !tbaa !12
%21 = add nsw i64 %20, 1
store i64 %21, ptr %0, align 8, !tbaa !12
br i1 %19, label %29, label %22
22: ; preds = %10
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1, i32 1
store i64 %21, ptr %23, align 8, !tbaa !14
store i64 %1, ptr %4, align 8, !tbaa !5
%24 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1, i32 3
store i32 %2, ptr %24, align 4, !tbaa !15
%25 = load i32, ptr @GATT_NOT_FOUND, align 4, !tbaa !16
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1, i32 2
store i32 %25, ptr %26, align 8, !tbaa !17
%27 = load i64, ptr @GATT_TRANS_ID_MAX, align 8, !tbaa !11
%28 = srem i64 %21, %27
store i64 %28, ptr %0, align 8, !tbaa !12
br label %29
29: ; preds = %10, %3, %22
%30 = phi i64 [ %21, %22 ], [ 0, %3 ], [ %21, %10 ]
ret i64 %30
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0, !6, i64 8}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !10, i64 20}
!16 = !{!10, !10, i64 0}
!17 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_sr.c_gatt_sr_enqueue_cmd.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_sr.c_gatt_sr_enqueue_cmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GATT_HANDLE_VALUE_CONF = common local_unnamed_addr global i64 0, align 8
@GATT_CMD_WRITE = common local_unnamed_addr global i64 0, align 8
@GATT_SIGN_CMD_WRITE = common local_unnamed_addr global i64 0, align 8
@GATT_REQ_MTU = common local_unnamed_addr global i64 0, align 8
@GATT_NOT_FOUND = common local_unnamed_addr global i32 0, align 4
@GATT_TRANS_ID_MAX = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define i64 @gatt_sr_enqueue_cmd(ptr nocapture noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
%7 = load i64, ptr @GATT_HANDLE_VALUE_CONF, align 8
%8 = icmp eq i64 %7, %1
%9 = select i1 %6, i1 true, i1 %8
br i1 %9, label %10, label %29
10: ; preds = %3
%11 = load i64, ptr @GATT_CMD_WRITE, align 8, !tbaa !12
%12 = icmp eq i64 %11, %1
%13 = load i64, ptr @GATT_SIGN_CMD_WRITE, align 8
%14 = icmp eq i64 %13, %1
%15 = select i1 %12, i1 true, i1 %14
%16 = load i64, ptr @GATT_REQ_MTU, align 8
%17 = icmp eq i64 %16, %1
%18 = select i1 %15, i1 true, i1 %17
%19 = select i1 %18, i1 true, i1 %8
%20 = load i64, ptr %0, align 8, !tbaa !13
%21 = add nsw i64 %20, 1
store i64 %21, ptr %0, align 8, !tbaa !13
br i1 %19, label %29, label %22
22: ; preds = %10
%23 = getelementptr inbounds i8, ptr %0, i64 16
store i64 %21, ptr %23, align 8, !tbaa !15
store i64 %1, ptr %4, align 8, !tbaa !6
%24 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %2, ptr %24, align 4, !tbaa !16
%25 = load i32, ptr @GATT_NOT_FOUND, align 4, !tbaa !17
%26 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %25, ptr %26, align 8, !tbaa !18
%27 = load i64, ptr @GATT_TRANS_ID_MAX, align 8, !tbaa !12
%28 = srem i64 %21, %27
store i64 %28, ptr %0, align 8, !tbaa !13
br label %29
29: ; preds = %10, %3, %22
%30 = phi i64 [ %21, %22 ], [ 0, %3 ], [ %21, %10 ]
ret i64 %30
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0, !7, i64 8}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !11, i64 20}
!17 = !{!11, !11, i64 0}
!18 = !{!7, !11, i64 16}
| esp-idf_components_bt_host_bluedroid_stack_gatt_extr_gatt_sr.c_gatt_sr_enqueue_cmd |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_sys_pipe.c_pipe_stat.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_sys_pipe.c_pipe_stat.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr }
%struct.file = type { ptr, ptr }
%struct.stat = type { i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.pipe = type { i32, i32, i32, i32, i32, %struct.TYPE_6__, %struct.TYPE_5__, i32 }
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { i64 }
@PIPE_NAMED = dso_local local_unnamed_addr global i32 0, align 4
@vnops = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@S_IFIFO = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@pipedev_ino = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pipe_stat], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pipe_stat(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = getelementptr inbounds %struct.file, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @PIPE_LOCK(ptr noundef %6) #2
%8 = load i32, ptr %6, align 8, !tbaa !10
%9 = load i32, ptr @PIPE_NAMED, align 4, !tbaa !16
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
%12 = tail call i32 @PIPE_UNLOCK(ptr noundef nonnull %6) #2
br i1 %11, label %16, label %13
13: ; preds = %4
%14 = load ptr, ptr @vnops, align 8, !tbaa !17
%15 = tail call i32 %14(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
br label %46
16: ; preds = %4
%17 = tail call i32 @bzero(ptr noundef %1, i32 noundef 48) #2
%18 = load i32, ptr @S_IFIFO, align 4, !tbaa !16
%19 = getelementptr inbounds %struct.stat, ptr %1, i64 0, i32 10
store i32 %18, ptr %19, align 4, !tbaa !19
%20 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !16
%21 = getelementptr inbounds %struct.stat, ptr %1, i64 0, i32 8
store i32 %20, ptr %21, align 4, !tbaa !21
%22 = getelementptr inbounds %struct.pipe, ptr %6, i64 0, i32 6
%23 = load i64, ptr %22, align 8, !tbaa !22
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %16
%26 = getelementptr inbounds %struct.pipe, ptr %6, i64 0, i32 5
%27 = load i64, ptr %26, align 8, !tbaa !23
br label %28
28: ; preds = %16, %25
%29 = phi i64 [ %27, %25 ], [ %23, %16 ]
store i64 %29, ptr %1, align 8, !tbaa !24
%30 = tail call i32 @howmany(i64 noundef %29, i32 noundef %20) #2
%31 = getelementptr inbounds %struct.stat, ptr %1, i64 0, i32 9
store i32 %30, ptr %31, align 8, !tbaa !25
%32 = getelementptr inbounds %struct.pipe, ptr %6, i64 0, i32 4
%33 = load i32, ptr %32, align 8, !tbaa !26
%34 = getelementptr inbounds %struct.stat, ptr %1, i64 0, i32 7
store i32 %33, ptr %34, align 8, !tbaa !27
%35 = getelementptr inbounds %struct.pipe, ptr %6, i64 0, i32 2
%36 = load <2 x i32>, ptr %35, align 8, !tbaa !16
%37 = load ptr, ptr %0, align 8, !tbaa !28
%38 = load <2 x i32>, ptr %37, align 4, !tbaa !16
%39 = getelementptr inbounds %struct.stat, ptr %1, i64 0, i32 3
%40 = shufflevector <2 x i32> %38, <2 x i32> %36, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
store <4 x i32> %40, ptr %39, align 8, !tbaa !16
%41 = load i32, ptr @pipedev_ino, align 4, !tbaa !16
%42 = getelementptr inbounds %struct.stat, ptr %1, i64 0, i32 2
store i32 %41, ptr %42, align 4, !tbaa !29
%43 = getelementptr inbounds %struct.pipe, ptr %6, i64 0, i32 1
%44 = load i32, ptr %43, align 4, !tbaa !30
%45 = getelementptr inbounds %struct.stat, ptr %1, i64 0, i32 1
store i32 %44, ptr %45, align 8, !tbaa !31
br label %46
46: ; preds = %28, %13
%47 = phi i32 [ %15, %13 ], [ 0, %28 ]
ret i32 %47
}
declare i32 @PIPE_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @PIPE_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @howmany(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"file", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"pipe", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !13, i64 24, !15, i64 32, !12, i64 40}
!12 = !{!"int", !8, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"TYPE_5__", !14, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_8__", !7, i64 0}
!19 = !{!20, !12, i64 44}
!20 = !{!"stat", !14, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!21 = !{!20, !12, i64 36}
!22 = !{!11, !14, i64 32}
!23 = !{!11, !14, i64 24}
!24 = !{!20, !14, i64 0}
!25 = !{!20, !12, i64 40}
!26 = !{!11, !12, i64 16}
!27 = !{!20, !12, i64 32}
!28 = !{!6, !7, i64 0}
!29 = !{!20, !12, i64 12}
!30 = !{!11, !12, i64 4}
!31 = !{!20, !12, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_sys_pipe.c_pipe_stat.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_sys_pipe.c_pipe_stat.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { ptr }
@PIPE_NAMED = common local_unnamed_addr global i32 0, align 4
@vnops = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 8
@S_IFIFO = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@pipedev_ino = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pipe_stat], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pipe_stat(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @PIPE_LOCK(ptr noundef %6) #2
%8 = load i32, ptr %6, align 8, !tbaa !11
%9 = load i32, ptr @PIPE_NAMED, align 4, !tbaa !17
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
%12 = tail call i32 @PIPE_UNLOCK(ptr noundef nonnull %6) #2
br i1 %11, label %16, label %13
13: ; preds = %4
%14 = load ptr, ptr @vnops, align 8, !tbaa !18
%15 = tail call i32 %14(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
br label %46
16: ; preds = %4
%17 = tail call i32 @bzero(ptr noundef %1, i32 noundef 48) #2
%18 = load i32, ptr @S_IFIFO, align 4, !tbaa !17
%19 = getelementptr inbounds i8, ptr %1, i64 44
store i32 %18, ptr %19, align 4, !tbaa !20
%20 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !17
%21 = getelementptr inbounds i8, ptr %1, i64 36
store i32 %20, ptr %21, align 4, !tbaa !22
%22 = getelementptr inbounds i8, ptr %6, i64 32
%23 = load i64, ptr %22, align 8, !tbaa !23
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %16
%26 = getelementptr inbounds i8, ptr %6, i64 24
%27 = load i64, ptr %26, align 8, !tbaa !24
br label %28
28: ; preds = %16, %25
%29 = phi i64 [ %27, %25 ], [ %23, %16 ]
store i64 %29, ptr %1, align 8, !tbaa !25
%30 = tail call i32 @howmany(i64 noundef %29, i32 noundef %20) #2
%31 = getelementptr inbounds i8, ptr %1, i64 40
store i32 %30, ptr %31, align 8, !tbaa !26
%32 = getelementptr inbounds i8, ptr %6, i64 16
%33 = load i32, ptr %32, align 8, !tbaa !27
%34 = getelementptr inbounds i8, ptr %1, i64 32
store i32 %33, ptr %34, align 8, !tbaa !28
%35 = getelementptr inbounds i8, ptr %6, i64 8
%36 = load <2 x i32>, ptr %35, align 8, !tbaa !17
%37 = load ptr, ptr %0, align 8, !tbaa !29
%38 = load <2 x i32>, ptr %37, align 4, !tbaa !17
%39 = getelementptr inbounds i8, ptr %1, i64 16
%40 = shufflevector <2 x i32> %38, <2 x i32> %36, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
store <4 x i32> %40, ptr %39, align 8, !tbaa !17
%41 = load i32, ptr @pipedev_ino, align 4, !tbaa !17
%42 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %41, ptr %42, align 4, !tbaa !30
%43 = getelementptr inbounds i8, ptr %6, i64 4
%44 = load i32, ptr %43, align 4, !tbaa !31
%45 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %44, ptr %45, align 8, !tbaa !32
br label %46
46: ; preds = %28, %13
%47 = phi i32 [ %15, %13 ], [ 0, %28 ]
ret i32 %47
}
declare i32 @PIPE_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @PIPE_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @howmany(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"file", !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, !13, i64 0}
!12 = !{!"pipe", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !14, i64 24, !16, i64 32, !13, i64 40}
!13 = !{!"int", !9, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!"TYPE_5__", !15, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_8__", !8, i64 0}
!20 = !{!21, !13, i64 44}
!21 = !{!"stat", !15, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44}
!22 = !{!21, !13, i64 36}
!23 = !{!12, !15, i64 32}
!24 = !{!12, !15, i64 24}
!25 = !{!21, !15, i64 0}
!26 = !{!21, !13, i64 40}
!27 = !{!12, !13, i64 16}
!28 = !{!21, !13, i64 32}
!29 = !{!7, !8, i64 0}
!30 = !{!21, !13, i64 12}
!31 = !{!12, !13, i64 4}
!32 = !{!21, !13, i64 8}
| freebsd_sys_kern_extr_sys_pipe.c_pipe_stat |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/blackfin/kernel/extr_process.c_in_mem_const.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/blackfin/kernel/extr_process.c_in_mem_const.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @in_mem_const], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @in_mem_const(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = tail call i32 @in_mem_const_off(i64 noundef %0, i64 noundef %1, i32 noundef 0, i64 noundef %2, i64 noundef %3) #2
ret i32 %5
}
declare i32 @in_mem_const_off(i64 noundef, i64 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/blackfin/kernel/extr_process.c_in_mem_const.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/blackfin/kernel/extr_process.c_in_mem_const.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 @in_mem_const], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @in_mem_const(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = tail call i32 @in_mem_const_off(i64 noundef %0, i64 noundef %1, i32 noundef 0, i64 noundef %2, i64 noundef %3) #2
ret i32 %5
}
declare i32 @in_mem_const_off(i64 noundef, i64 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_arch_blackfin_kernel_extr_process.c_in_mem_const |
; ModuleID = 'AnghaBench/linux/lib/extr_assoc_array.c_assoc_array_subtree_iterate.c'
source_filename = "AnghaBench/linux/lib/extr_assoc_array.c_assoc_array_subtree_iterate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.assoc_array_shortcut = type { i32, i32, i32 }
%struct.assoc_array_node = type { i32, i32, ptr }
@ASSOC_ARRAY_FAN_OUT = dso_local local_unnamed_addr global i32 0, align 4
@ASSOC_ARRAY_PTR_META_TYPE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @assoc_array_subtree_iterate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @assoc_array_subtree_iterate(ptr noundef %0, ptr noundef readnone %1, ptr nocapture noundef readonly %2, ptr noundef %3) #0 {
br label %5
5: ; preds = %62, %4
%6 = phi ptr [ %0, %4 ], [ %67, %62 ]
%7 = tail call i64 @assoc_array_ptr_is_shortcut(ptr noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %5
%10 = tail call ptr @assoc_array_ptr_to_shortcut(ptr noundef %6) #2
%11 = getelementptr inbounds %struct.assoc_array_shortcut, ptr %10, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !5
%13 = tail call ptr @READ_ONCE(i32 noundef %12) #2
br label %14
14: ; preds = %9, %5
%15 = phi ptr [ %13, %9 ], [ %6, %5 ]
%16 = tail call ptr @assoc_array_ptr_to_node(ptr noundef %15) #2
%17 = load i32, ptr @ASSOC_ARRAY_FAN_OUT, align 4, !tbaa !10
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %43
19: ; preds = %14
%20 = getelementptr inbounds %struct.assoc_array_node, ptr %16, i64 0, i32 2
br label %21
21: ; preds = %19, %38
%22 = phi i64 [ 0, %19 ], [ %39, %38 ]
%23 = phi i64 [ 0, %19 ], [ %29, %38 ]
%24 = load ptr, ptr %20, align 8, !tbaa !11
%25 = getelementptr inbounds i32, ptr %24, i64 %22
%26 = load i32, ptr %25, align 4, !tbaa !10
%27 = tail call ptr @READ_ONCE(i32 noundef %26) #2
%28 = ptrtoint ptr %27 to i64
%29 = or i64 %23, %28
%30 = icmp eq ptr %27, null
br i1 %30, label %38, label %31
31: ; preds = %21
%32 = tail call i64 @assoc_array_ptr_is_leaf(ptr noundef nonnull %27) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %31
%35 = tail call ptr @assoc_array_ptr_to_leaf(ptr noundef nonnull %27) #2
%36 = tail call i32 %2(ptr noundef %35, ptr noundef %3) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %91
38: ; preds = %21, %31, %34
%39 = add nuw nsw i64 %22, 1
%40 = load i32, ptr @ASSOC_ARRAY_FAN_OUT, align 4, !tbaa !10
%41 = sext i32 %40 to i64
%42 = icmp slt i64 %39, %41
br i1 %42, label %21, label %43, !llvm.loop !14
43: ; preds = %38, %14
%44 = phi i64 [ 0, %14 ], [ %29, %38 ]
%45 = load i64, ptr @ASSOC_ARRAY_PTR_META_TYPE, align 8, !tbaa !16
%46 = and i64 %45, %44
%47 = icmp eq i64 %46, 0
br i1 %47, label %70, label %48
48: ; preds = %43, %87
%49 = phi ptr [ %88, %87 ], [ %15, %43 ]
%50 = phi i32 [ %90, %87 ], [ 0, %43 ]
%51 = tail call ptr @assoc_array_ptr_to_node(ptr noundef %49) #2
%52 = load i32, ptr @ASSOC_ARRAY_FAN_OUT, align 4, !tbaa !10
%53 = icmp slt i32 %50, %52
br i1 %53, label %54, label %70
54: ; preds = %48
%55 = getelementptr inbounds %struct.assoc_array_node, ptr %51, i64 0, i32 2
%56 = sext i32 %50 to i64
br label %62
57: ; preds = %62
%58 = add nsw i64 %63, 1
%59 = load i32, ptr @ASSOC_ARRAY_FAN_OUT, align 4, !tbaa !10
%60 = sext i32 %59 to i64
%61 = icmp slt i64 %58, %60
br i1 %61, label %62, label %70, !llvm.loop !18
62: ; preds = %54, %57
%63 = phi i64 [ %56, %54 ], [ %58, %57 ]
%64 = load ptr, ptr %55, align 8, !tbaa !11
%65 = getelementptr inbounds i32, ptr %64, i64 %63
%66 = load i32, ptr %65, align 4, !tbaa !10
%67 = tail call ptr @READ_ONCE(i32 noundef %66) #2
%68 = tail call i64 @assoc_array_ptr_is_meta(ptr noundef %67) #2
%69 = icmp eq i64 %68, 0
br i1 %69, label %57, label %5
70: ; preds = %57, %48, %43
%71 = phi ptr [ %16, %43 ], [ %51, %48 ], [ %51, %57 ]
%72 = getelementptr inbounds %struct.assoc_array_node, ptr %71, i64 0, i32 1
%73 = load i32, ptr %72, align 4, !tbaa !19
%74 = tail call ptr @READ_ONCE(i32 noundef %73) #2
%75 = icmp eq ptr %74, %1
br i1 %75, label %91, label %76
76: ; preds = %70
%77 = load i32, ptr %71, align 8, !tbaa !20
%78 = tail call i64 @assoc_array_ptr_is_shortcut(ptr noundef %74) #2
%79 = icmp eq i64 %78, 0
br i1 %79, label %87, label %80
80: ; preds = %76
%81 = tail call ptr @assoc_array_ptr_to_shortcut(ptr noundef %74) #2
%82 = getelementptr inbounds %struct.assoc_array_shortcut, ptr %81, i64 0, i32 1
%83 = load i32, ptr %82, align 4, !tbaa !21
%84 = tail call ptr @READ_ONCE(i32 noundef %83) #2
%85 = load i32, ptr %81, align 4, !tbaa !22
%86 = icmp eq ptr %84, %1
br i1 %86, label %91, label %87
87: ; preds = %80, %76
%88 = phi ptr [ %84, %80 ], [ %74, %76 ]
%89 = phi i32 [ %85, %80 ], [ %77, %76 ]
%90 = add nsw i32 %89, 1
br label %48
91: ; preds = %80, %70, %34
%92 = phi i32 [ %36, %34 ], [ 0, %70 ], [ 0, %80 ]
ret i32 %92
}
declare i64 @assoc_array_ptr_is_shortcut(ptr noundef) local_unnamed_addr #1
declare ptr @assoc_array_ptr_to_shortcut(ptr noundef) local_unnamed_addr #1
declare ptr @READ_ONCE(i32 noundef) local_unnamed_addr #1
declare ptr @assoc_array_ptr_to_node(ptr noundef) local_unnamed_addr #1
declare i64 @assoc_array_ptr_is_leaf(ptr noundef) local_unnamed_addr #1
declare ptr @assoc_array_ptr_to_leaf(ptr noundef) local_unnamed_addr #1
declare i64 @assoc_array_ptr_is_meta(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"assoc_array_shortcut", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"assoc_array_node", !7, i64 0, !7, i64 4, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = distinct !{!18, !15}
!19 = !{!12, !7, i64 4}
!20 = !{!12, !7, i64 0}
!21 = !{!6, !7, i64 4}
!22 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/lib/extr_assoc_array.c_assoc_array_subtree_iterate.c'
source_filename = "AnghaBench/linux/lib/extr_assoc_array.c_assoc_array_subtree_iterate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ASSOC_ARRAY_FAN_OUT = common local_unnamed_addr global i32 0, align 4
@ASSOC_ARRAY_PTR_META_TYPE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @assoc_array_subtree_iterate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @assoc_array_subtree_iterate(ptr noundef %0, ptr noundef readnone %1, ptr nocapture noundef readonly %2, ptr noundef %3) #0 {
br label %5
5: ; preds = %62, %4
%6 = phi ptr [ %0, %4 ], [ %67, %62 ]
%7 = tail call i64 @assoc_array_ptr_is_shortcut(ptr noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %5
%10 = tail call ptr @assoc_array_ptr_to_shortcut(ptr noundef %6) #2
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !6
%13 = tail call ptr @READ_ONCE(i32 noundef %12) #2
br label %14
14: ; preds = %9, %5
%15 = phi ptr [ %13, %9 ], [ %6, %5 ]
%16 = tail call ptr @assoc_array_ptr_to_node(ptr noundef %15) #2
%17 = load i32, ptr @ASSOC_ARRAY_FAN_OUT, align 4, !tbaa !11
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %43
19: ; preds = %14
%20 = getelementptr inbounds i8, ptr %16, i64 8
br label %21
21: ; preds = %19, %38
%22 = phi i64 [ 0, %19 ], [ %39, %38 ]
%23 = phi i64 [ 0, %19 ], [ %29, %38 ]
%24 = load ptr, ptr %20, align 8, !tbaa !12
%25 = getelementptr inbounds i32, ptr %24, i64 %22
%26 = load i32, ptr %25, align 4, !tbaa !11
%27 = tail call ptr @READ_ONCE(i32 noundef %26) #2
%28 = ptrtoint ptr %27 to i64
%29 = or i64 %23, %28
%30 = icmp eq ptr %27, null
br i1 %30, label %38, label %31
31: ; preds = %21
%32 = tail call i64 @assoc_array_ptr_is_leaf(ptr noundef nonnull %27) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %31
%35 = tail call ptr @assoc_array_ptr_to_leaf(ptr noundef nonnull %27) #2
%36 = tail call i32 %2(ptr noundef %35, ptr noundef %3) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %91
38: ; preds = %21, %31, %34
%39 = add nuw nsw i64 %22, 1
%40 = load i32, ptr @ASSOC_ARRAY_FAN_OUT, align 4, !tbaa !11
%41 = sext i32 %40 to i64
%42 = icmp slt i64 %39, %41
br i1 %42, label %21, label %43, !llvm.loop !15
43: ; preds = %38, %14
%44 = phi i64 [ 0, %14 ], [ %29, %38 ]
%45 = load i64, ptr @ASSOC_ARRAY_PTR_META_TYPE, align 8, !tbaa !17
%46 = and i64 %45, %44
%47 = icmp eq i64 %46, 0
br i1 %47, label %70, label %48
48: ; preds = %43, %87
%49 = phi ptr [ %88, %87 ], [ %15, %43 ]
%50 = phi i32 [ %90, %87 ], [ 0, %43 ]
%51 = tail call ptr @assoc_array_ptr_to_node(ptr noundef %49) #2
%52 = load i32, ptr @ASSOC_ARRAY_FAN_OUT, align 4, !tbaa !11
%53 = icmp slt i32 %50, %52
br i1 %53, label %54, label %70
54: ; preds = %48
%55 = getelementptr inbounds i8, ptr %51, i64 8
%56 = sext i32 %50 to i64
br label %62
57: ; preds = %62
%58 = add nsw i64 %63, 1
%59 = load i32, ptr @ASSOC_ARRAY_FAN_OUT, align 4, !tbaa !11
%60 = sext i32 %59 to i64
%61 = icmp slt i64 %58, %60
br i1 %61, label %62, label %70, !llvm.loop !19
62: ; preds = %54, %57
%63 = phi i64 [ %56, %54 ], [ %58, %57 ]
%64 = load ptr, ptr %55, align 8, !tbaa !12
%65 = getelementptr inbounds i32, ptr %64, i64 %63
%66 = load i32, ptr %65, align 4, !tbaa !11
%67 = tail call ptr @READ_ONCE(i32 noundef %66) #2
%68 = tail call i64 @assoc_array_ptr_is_meta(ptr noundef %67) #2
%69 = icmp eq i64 %68, 0
br i1 %69, label %57, label %5
70: ; preds = %57, %48, %43
%71 = phi ptr [ %16, %43 ], [ %51, %48 ], [ %51, %57 ]
%72 = getelementptr inbounds i8, ptr %71, i64 4
%73 = load i32, ptr %72, align 4, !tbaa !20
%74 = tail call ptr @READ_ONCE(i32 noundef %73) #2
%75 = icmp eq ptr %74, %1
br i1 %75, label %91, label %76
76: ; preds = %70
%77 = load i32, ptr %71, align 8, !tbaa !21
%78 = tail call i64 @assoc_array_ptr_is_shortcut(ptr noundef %74) #2
%79 = icmp eq i64 %78, 0
br i1 %79, label %87, label %80
80: ; preds = %76
%81 = tail call ptr @assoc_array_ptr_to_shortcut(ptr noundef %74) #2
%82 = getelementptr inbounds i8, ptr %81, i64 4
%83 = load i32, ptr %82, align 4, !tbaa !22
%84 = tail call ptr @READ_ONCE(i32 noundef %83) #2
%85 = load i32, ptr %81, align 4, !tbaa !23
%86 = icmp eq ptr %84, %1
br i1 %86, label %91, label %87
87: ; preds = %80, %76
%88 = phi ptr [ %84, %80 ], [ %74, %76 ]
%89 = phi i32 [ %85, %80 ], [ %77, %76 ]
%90 = add nsw i32 %89, 1
br label %48
91: ; preds = %80, %70, %34
%92 = phi i32 [ %36, %34 ], [ 0, %70 ], [ 0, %80 ]
ret i32 %92
}
declare i64 @assoc_array_ptr_is_shortcut(ptr noundef) local_unnamed_addr #1
declare ptr @assoc_array_ptr_to_shortcut(ptr noundef) local_unnamed_addr #1
declare ptr @READ_ONCE(i32 noundef) local_unnamed_addr #1
declare ptr @assoc_array_ptr_to_node(ptr noundef) local_unnamed_addr #1
declare i64 @assoc_array_ptr_is_leaf(ptr noundef) local_unnamed_addr #1
declare ptr @assoc_array_ptr_to_leaf(ptr noundef) local_unnamed_addr #1
declare i64 @assoc_array_ptr_is_meta(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"assoc_array_shortcut", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"assoc_array_node", !8, i64 0, !8, i64 4, !14, i64 8}
!14 = !{!"any pointer", !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = distinct !{!19, !16}
!20 = !{!13, !8, i64 4}
!21 = !{!13, !8, i64 0}
!22 = !{!7, !8, i64 4}
!23 = !{!7, !8, i64 0}
| linux_lib_extr_assoc_array.c_assoc_array_subtree_iterate |
; ModuleID = 'AnghaBench/kphp-kdb/copyexec/extr_copyexec-results-data.c_get_results_freqs.c'
source_filename = "AnghaBench/kphp-kdb/copyexec/extr_copyexec-results-data.c_get_results_freqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@result_as_unsigned = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @get_results_freqs(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @result_as_unsigned, align 4, !tbaa !5
%4 = tail call ptr @get_freqs(i64 noundef %0, i32 noundef %1, i32 noundef %3) #2
ret ptr %4
}
declare ptr @get_freqs(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/kphp-kdb/copyexec/extr_copyexec-results-data.c_get_results_freqs.c'
source_filename = "AnghaBench/kphp-kdb/copyexec/extr_copyexec-results-data.c_get_results_freqs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@result_as_unsigned = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @get_results_freqs(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @result_as_unsigned, align 4, !tbaa !6
%4 = tail call ptr @get_freqs(i64 noundef %0, i32 noundef %1, i32 noundef %3) #2
ret ptr %4
}
declare ptr @get_freqs(i64 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"}
| kphp-kdb_copyexec_extr_copyexec-results-data.c_get_results_freqs |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/bfs/extr_dir.c_bfs_namecmp.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/bfs/extr_dir.c_bfs_namecmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BFS_NAMELEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfs_namecmp], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @bfs_namecmp(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @BFS_NAMELEN, align 4, !tbaa !5
%5 = icmp sgt i32 %4, %0
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = sext i32 %0 to i64
%8 = getelementptr inbounds i8, ptr %2, i64 %7
%9 = load i8, ptr %8, align 1, !tbaa !9
%10 = icmp eq i8 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %6, %3
%12 = tail call i32 @memcmp(ptr noundef %1, ptr noundef %2, i32 noundef %0) #2
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %6, %11
%16 = phi i32 [ %14, %11 ], [ 0, %6 ]
ret i32 %16
}
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/bfs/extr_dir.c_bfs_namecmp.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/bfs/extr_dir.c_bfs_namecmp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BFS_NAMELEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bfs_namecmp], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @bfs_namecmp(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @BFS_NAMELEN, align 4, !tbaa !6
%5 = icmp sgt i32 %4, %0
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = sext i32 %0 to i64
%8 = getelementptr inbounds i8, ptr %2, i64 %7
%9 = load i8, ptr %8, align 1, !tbaa !10
%10 = icmp eq i8 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %6, %3
%12 = tail call i32 @memcmp(ptr noundef %1, ptr noundef %2, i32 noundef %0) #2
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i32
br label %15
15: ; preds = %6, %11
%16 = phi i32 [ %14, %11 ], [ 0, %6 ]
ret i32 %16
}
declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
| fastsocket_kernel_fs_bfs_extr_dir.c_bfs_namecmp |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu_recv.c_guid_compare.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_dmu_recv.c_guid_compare.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @guid_compare], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @guid_compare(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = tail call i32 @TREE_CMP(i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @TREE_CMP(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dmu_recv.c_guid_compare.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_dmu_recv.c_guid_compare.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 @guid_compare], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @guid_compare(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = tail call i32 @TREE_CMP(i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @TREE_CMP(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| zfs_module_zfs_extr_dmu_recv.c_guid_compare |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_iop13xx_irq_unmask3.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_iop13xx_irq_unmask3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @iop13xx_irq_unmask3], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @iop13xx_irq_unmask3(i32 noundef %0) #0 {
%2 = tail call i32 (...) @read_intctl_3() #2
%3 = add i32 %0, -96
%4 = shl nuw i32 1, %3
%5 = or i32 %2, %4
%6 = tail call i32 @write_intctl_3(i32 noundef %5) #2
ret void
}
declare i32 @write_intctl_3(i32 noundef) local_unnamed_addr #1
declare i32 @read_intctl_3(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_iop13xx_irq_unmask3.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-iop13xx/extr_irq.c_iop13xx_irq_unmask3.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 @iop13xx_irq_unmask3], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @iop13xx_irq_unmask3(i32 noundef %0) #0 {
%2 = tail call i32 @read_intctl_3() #2
%3 = add i32 %0, -96
%4 = shl nuw i32 1, %3
%5 = or i32 %2, %4
%6 = tail call i32 @write_intctl_3(i32 noundef %5) #2
ret void
}
declare i32 @write_intctl_3(i32 noundef) local_unnamed_addr #1
declare i32 @read_intctl_3(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_arch_arm_mach-iop13xx_extr_irq.c_iop13xx_irq_unmask3 |
; ModuleID = 'AnghaBench/git/extr_mailinfo.c_decode_b_segment.c'
source_filename = "AnghaBench/git/extr_mailinfo.c_decode_b_segment.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.strbuf = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @decode_b_segment], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @decode_b_segment(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call ptr @xmalloc(i32 noundef 16) #2
%4 = getelementptr inbounds %struct.strbuf, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 8, !tbaa !11
%6 = tail call i32 @strbuf_init(ptr noundef %3, i32 noundef %5) #2
br label %7
7: ; preds = %57, %1
%8 = phi i32 [ 0, %1 ], [ %58, %57 ]
%9 = phi i32 [ 0, %1 ], [ %59, %57 ]
%10 = phi ptr [ %2, %1 ], [ %16, %57 ]
br label %11
11: ; preds = %7, %37
%12 = phi i32 [ %39, %37 ], [ %8, %7 ]
%13 = phi ptr [ %16, %37 ], [ %10, %7 ]
br label %14
14: ; preds = %11, %30
%15 = phi ptr [ %16, %30 ], [ %13, %11 ]
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %15, align 1, !tbaa !12
switch i8 %17, label %18 [
i8 0, label %60
i8 43, label %36
i8 47, label %37
]
18: ; preds = %14
%19 = add i8 %17, -65
%20 = icmp ult i8 %19, 26
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = zext nneg i8 %17 to i32
%23 = add nsw i32 %22, -65
br label %37
24: ; preds = %18
%25 = add i8 %17, -97
%26 = icmp ult i8 %25, 26
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = zext nneg i8 %17 to i32
%29 = add nsw i32 %28, -71
br label %37
30: ; preds = %24
%31 = add i8 %17, -48
%32 = icmp ult i8 %31, 10
br i1 %32, label %33, label %14, !llvm.loop !13
33: ; preds = %30
%34 = add nuw nsw i8 %17, 4
%35 = zext nneg i8 %34 to i32
br label %37
36: ; preds = %14
br label %37
37: ; preds = %14, %36, %27, %33, %21
%38 = phi i32 [ %23, %21 ], [ %29, %27 ], [ %35, %33 ], [ 62, %36 ], [ 63, %14 ]
%39 = add nsw i32 %12, 1
switch i32 %12, label %11 [
i32 0, label %40
i32 1, label %42
i32 2, label %48
i32 3, label %54
], !llvm.loop !13
40: ; preds = %37
%41 = shl nuw nsw i32 %38, 2
br label %57
42: ; preds = %37
%43 = lshr i32 %38, 4
%44 = or i32 %43, %9
%45 = tail call i32 @strbuf_addch(ptr noundef %3, i32 noundef %44) #2
%46 = shl nuw nsw i32 %38, 4
%47 = and i32 %46, 240
br label %57
48: ; preds = %37
%49 = lshr i32 %38, 2
%50 = or i32 %49, %9
%51 = tail call i32 @strbuf_addch(ptr noundef %3, i32 noundef %50) #2
%52 = shl nuw nsw i32 %38, 6
%53 = and i32 %52, 192
br label %57
54: ; preds = %37
%55 = or i32 %38, %9
%56 = tail call i32 @strbuf_addch(ptr noundef %3, i32 noundef %55) #2
br label %57
57: ; preds = %54, %48, %42, %40
%58 = phi i32 [ 1, %40 ], [ 2, %42 ], [ 3, %48 ], [ 0, %54 ]
%59 = phi i32 [ %41, %40 ], [ %47, %42 ], [ %53, %48 ], [ 0, %54 ]
br label %7, !llvm.loop !13
60: ; preds = %14
ret ptr %3
}
declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @strbuf_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strbuf_addch(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"strbuf", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/git/extr_mailinfo.c_decode_b_segment.c'
source_filename = "AnghaBench/git/extr_mailinfo.c_decode_b_segment.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 @decode_b_segment], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @decode_b_segment(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call ptr @xmalloc(i32 noundef 16) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 8, !tbaa !12
%6 = tail call i32 @strbuf_init(ptr noundef %3, i32 noundef %5) #2
br label %7
7: ; preds = %57, %1
%8 = phi i32 [ 0, %1 ], [ %58, %57 ]
%9 = phi i32 [ 0, %1 ], [ %59, %57 ]
%10 = phi ptr [ %2, %1 ], [ %16, %57 ]
br label %11
11: ; preds = %7, %37
%12 = phi i32 [ %39, %37 ], [ %8, %7 ]
%13 = phi ptr [ %16, %37 ], [ %10, %7 ]
br label %14
14: ; preds = %11, %30
%15 = phi ptr [ %16, %30 ], [ %13, %11 ]
%16 = getelementptr inbounds i8, ptr %15, i64 1
%17 = load i8, ptr %15, align 1, !tbaa !13
switch i8 %17, label %18 [
i8 0, label %60
i8 43, label %36
i8 47, label %37
]
18: ; preds = %14
%19 = add i8 %17, -65
%20 = icmp ult i8 %19, 26
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = zext nneg i8 %17 to i32
%23 = add nsw i32 %22, -65
br label %37
24: ; preds = %18
%25 = add i8 %17, -97
%26 = icmp ult i8 %25, 26
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = zext nneg i8 %17 to i32
%29 = add nsw i32 %28, -71
br label %37
30: ; preds = %24
%31 = add i8 %17, -48
%32 = icmp ult i8 %31, 10
br i1 %32, label %33, label %14, !llvm.loop !14
33: ; preds = %30
%34 = add nuw nsw i8 %17, 4
%35 = zext nneg i8 %34 to i32
br label %37
36: ; preds = %14
br label %37
37: ; preds = %14, %36, %27, %33, %21
%38 = phi i32 [ %23, %21 ], [ %29, %27 ], [ %35, %33 ], [ 62, %36 ], [ 63, %14 ]
%39 = add nsw i32 %12, 1
switch i32 %12, label %11 [
i32 0, label %40
i32 1, label %42
i32 2, label %48
i32 3, label %54
], !llvm.loop !14
40: ; preds = %37
%41 = shl nuw nsw i32 %38, 2
br label %57
42: ; preds = %37
%43 = lshr i32 %38, 4
%44 = or i32 %43, %9
%45 = tail call i32 @strbuf_addch(ptr noundef %3, i32 noundef %44) #2
%46 = shl nuw nsw i32 %38, 4
%47 = and i32 %46, 240
br label %57
48: ; preds = %37
%49 = lshr i32 %38, 2
%50 = or i32 %49, %9
%51 = tail call i32 @strbuf_addch(ptr noundef %3, i32 noundef %50) #2
%52 = shl nuw nsw i32 %38, 6
%53 = and i32 %52, 192
br label %57
54: ; preds = %37
%55 = or i32 %38, %9
%56 = tail call i32 @strbuf_addch(ptr noundef %3, i32 noundef %55) #2
br label %57
57: ; preds = %54, %48, %42, %40
%58 = phi i32 [ 1, %40 ], [ 2, %42 ], [ 3, %48 ], [ 0, %54 ]
%59 = phi i32 [ %41, %40 ], [ %47, %42 ], [ %53, %48 ], [ 0, %54 ]
br label %7, !llvm.loop !14
60: ; preds = %14
ret ptr %3
}
declare ptr @xmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @strbuf_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strbuf_addch(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"strbuf", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!9, !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| git_extr_mailinfo.c_decode_b_segment |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_tvp5150.c_tvp5150_set_default.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_tvp5150.c_tvp5150_set_default.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.v4l2_rect = type { i32, i32, i64, i64 }
@TVP5150_H_MAX = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_STD_525_60 = dso_local local_unnamed_addr global i32 0, align 4
@TVP5150_V_MAX_525_60 = dso_local local_unnamed_addr global i32 0, align 4
@TVP5150_V_MAX_OTHERS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tvp5150_set_default], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal void @tvp5150_set_default(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds %struct.v4l2_rect, ptr %1, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
%4 = load i32, ptr @TVP5150_H_MAX, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.v4l2_rect, ptr %1, i64 0, i32 1
store i32 %4, ptr %5, align 4, !tbaa !9
%6 = load i32, ptr @V4L2_STD_525_60, align 4, !tbaa !5
%7 = and i32 %6, %0
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @TVP5150_V_MAX_OTHERS, align 4
%10 = load i32, ptr @TVP5150_V_MAX_525_60, align 4
%11 = select i1 %8, i32 %9, i32 %10
store i32 %11, ptr %1, align 8, !tbaa !12
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"v4l2_rect", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_tvp5150.c_tvp5150_set_default.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_tvp5150.c_tvp5150_set_default.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TVP5150_H_MAX = common local_unnamed_addr global i32 0, align 4
@V4L2_STD_525_60 = common local_unnamed_addr global i32 0, align 4
@TVP5150_V_MAX_525_60 = common local_unnamed_addr global i32 0, align 4
@TVP5150_V_MAX_OTHERS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tvp5150_set_default], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal void @tvp5150_set_default(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
%4 = load i32, ptr @TVP5150_H_MAX, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %4, ptr %5, align 4, !tbaa !10
%6 = load i32, ptr @V4L2_STD_525_60, align 4, !tbaa !6
%7 = and i32 %6, %0
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @TVP5150_V_MAX_OTHERS, align 4
%10 = load i32, ptr @TVP5150_V_MAX_525_60, align 4
%11 = select i1 %8, i32 %9, i32 %10
store i32 %11, ptr %1, align 8, !tbaa !13
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"v4l2_rect", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 0}
| linux_drivers_media_i2c_extr_tvp5150.c_tvp5150_set_default |
; ModuleID = 'AnghaBench/reactos/win32ss/gdi/dib/extr_dib1bpp.c_DIB_1BPP_TransparentBlt.c'
source_filename = "AnghaBench/reactos/win32ss/gdi/dib/extr_dib1bpp.c_DIB_1BPP_TransparentBlt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @DIB_1BPP_TransparentBlt(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readnone %3, ptr nocapture noundef readnone %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr @FALSE, align 4, !tbaa !5
ret i32 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/win32ss/gdi/dib/extr_dib1bpp.c_DIB_1BPP_TransparentBlt.c'
source_filename = "AnghaBench/reactos/win32ss/gdi/dib/extr_dib1bpp.c_DIB_1BPP_TransparentBlt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = 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 @DIB_1BPP_TransparentBlt(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readnone %3, ptr nocapture noundef readnone %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr @FALSE, align 4, !tbaa !6
ret i32 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_win32ss_gdi_dib_extr_dib1bpp.c_DIB_1BPP_TransparentBlt |
; ModuleID = 'AnghaBench/linux/drivers/base/extr_core.c_device_match_of_node.c'
source_filename = "AnghaBench/linux/drivers/base/extr_core.c_device_match_of_node.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @device_match_of_node(ptr nocapture noundef readonly %0, ptr noundef readnone %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, %1
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/base/extr_core.c_device_match_of_node.c'
source_filename = "AnghaBench/linux/drivers/base/extr_core.c_device_match_of_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define range(i32 0, 2) i32 @device_match_of_node(ptr nocapture noundef readonly %0, ptr noundef readnone %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, %1
%5 = zext i1 %4 to i32
ret i32 %5
}
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 = !{!"device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_base_extr_core.c_device_match_of_node |
; ModuleID = 'AnghaBench/kphp-kdb/image/extr_image-data.c_push_int.c'
source_filename = "AnghaBench/kphp-kdb/image/extr_image-data.c_push_int.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.forth_stack = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @push_int], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @push_int(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = add i64 %3, 1
store i64 %4, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.forth_stack, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = getelementptr inbounds i32, ptr %6, i64 %4
%8 = tail call i32 @new_int(ptr noundef %7, i32 noundef %1) #2
ret void
}
declare i32 @new_int(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"forth_stack", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/kphp-kdb/image/extr_image-data.c_push_int.c'
source_filename = "AnghaBench/kphp-kdb/image/extr_image-data.c_push_int.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 @push_int], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @push_int(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = add i64 %3, 1
store i64 %4, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = getelementptr inbounds i32, ptr %6, i64 %4
%8 = tail call i32 @new_int(ptr noundef %7, i32 noundef %1) #2
ret void
}
declare i32 @new_int(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"forth_stack", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
| kphp-kdb_image_extr_image-data.c_push_int |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lcorolib.c_luaB_cowrap.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lcorolib.c_luaB_cowrap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@luaB_auxwrap = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @luaB_cowrap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @luaB_cowrap(ptr noundef %0) #0 {
%2 = tail call i32 @luaB_cocreate(ptr noundef %0) #2
%3 = load i32, ptr @luaB_auxwrap, align 4, !tbaa !5
%4 = tail call i32 @lua_pushcclosure(ptr noundef %0, i32 noundef %3, i32 noundef 1) #2
ret i32 1
}
declare i32 @luaB_cocreate(ptr noundef) local_unnamed_addr #1
declare i32 @lua_pushcclosure(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lcorolib.c_luaB_cowrap.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lcorolib.c_luaB_cowrap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@luaB_auxwrap = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @luaB_cowrap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @luaB_cowrap(ptr noundef %0) #0 {
%2 = tail call i32 @luaB_cocreate(ptr noundef %0) #2
%3 = load i32, ptr @luaB_auxwrap, align 4, !tbaa !6
%4 = tail call i32 @lua_pushcclosure(ptr noundef %0, i32 noundef %3, i32 noundef 1) #2
ret i32 1
}
declare i32 @luaB_cocreate(ptr noundef) local_unnamed_addr #1
declare i32 @lua_pushcclosure(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"}
| freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_lua_extr_lcorolib.c_luaB_cowrap |
; ModuleID = 'AnghaBench/linux/sound/firewire/dice/extr_dice-transaction.c_snd_dice_transaction_get_rate.c'
source_filename = "AnghaBench/linux/sound/firewire/dice/extr_dice-transaction.c_snd_dice_transaction_get_rate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CLOCK_RATE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@CLOCK_RATE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@SND_DICE_RATES_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@ENOSYS = dso_local local_unnamed_addr global i32 0, align 4
@snd_dice_rates = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @snd_dice_transaction_get_rate(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @get_clock_info(ptr noundef %0, ptr noundef nonnull %3) #3
%5 = icmp slt i32 %4, 0
br i1 %5, label %23, label %6
6: ; preds = %2
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = call i32 @be32_to_cpu(i32 noundef %7) #3
%9 = load i32, ptr @CLOCK_RATE_MASK, align 4, !tbaa !5
%10 = and i32 %9, %8
%11 = load i32, ptr @CLOCK_RATE_SHIFT, align 4, !tbaa !5
%12 = lshr i32 %10, %11
%13 = load i32, ptr @SND_DICE_RATES_COUNT, align 4, !tbaa !5
%14 = icmp ult i32 %12, %13
br i1 %14, label %18, label %15
15: ; preds = %6
%16 = load i32, ptr @ENOSYS, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %23
18: ; preds = %6
%19 = load ptr, ptr @snd_dice_rates, align 8, !tbaa !9
%20 = zext i32 %12 to i64
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 4, !tbaa !5
store i32 %22, ptr %1, align 4, !tbaa !5
br label %23
23: ; preds = %2, %18, %15
%24 = phi i32 [ %4, %2 ], [ %17, %15 ], [ %4, %18 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_clock_info(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/firewire/dice/extr_dice-transaction.c_snd_dice_transaction_get_rate.c'
source_filename = "AnghaBench/linux/sound/firewire/dice/extr_dice-transaction.c_snd_dice_transaction_get_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CLOCK_RATE_MASK = common local_unnamed_addr global i32 0, align 4
@CLOCK_RATE_SHIFT = common local_unnamed_addr global i32 0, align 4
@SND_DICE_RATES_COUNT = common local_unnamed_addr global i32 0, align 4
@ENOSYS = common local_unnamed_addr global i32 0, align 4
@snd_dice_rates = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @snd_dice_transaction_get_rate(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @get_clock_info(ptr noundef %0, ptr noundef nonnull %3) #3
%5 = icmp slt i32 %4, 0
br i1 %5, label %23, label %6
6: ; preds = %2
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = call i32 @be32_to_cpu(i32 noundef %7) #3
%9 = load i32, ptr @CLOCK_RATE_MASK, align 4, !tbaa !6
%10 = and i32 %9, %8
%11 = load i32, ptr @CLOCK_RATE_SHIFT, align 4, !tbaa !6
%12 = lshr i32 %10, %11
%13 = load i32, ptr @SND_DICE_RATES_COUNT, align 4, !tbaa !6
%14 = icmp ult i32 %12, %13
br i1 %14, label %18, label %15
15: ; preds = %6
%16 = load i32, ptr @ENOSYS, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %23
18: ; preds = %6
%19 = load ptr, ptr @snd_dice_rates, align 8, !tbaa !10
%20 = zext i32 %12 to i64
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 4, !tbaa !6
store i32 %22, ptr %1, align 4, !tbaa !6
br label %23
23: ; preds = %2, %18, %15
%24 = phi i32 [ %4, %2 ], [ %17, %15 ], [ %4, %18 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_clock_info(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| linux_sound_firewire_dice_extr_dice-transaction.c_snd_dice_transaction_get_rate |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext3/extr_resize.c_extend_or_restart_transaction.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext3/extr_resize.c_extend_or_restart_transaction.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EXT3_MAX_TRANS_DATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @extend_or_restart_transaction], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @extend_or_restart_transaction(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = icmp slt i32 %4, %1
br i1 %5, label %6, label %20
6: ; preds = %3
%7 = load i32, ptr @EXT3_MAX_TRANS_DATA, align 4, !tbaa !10
%8 = tail call i32 @ext3_journal_extend(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = icmp slt i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %6
%11 = icmp eq i32 %8, 0
br i1 %11, label %19, label %12
12: ; preds = %10
%13 = load i32, ptr @EXT3_MAX_TRANS_DATA, align 4, !tbaa !10
%14 = tail call i32 @ext3_journal_restart(ptr noundef nonnull %0, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = tail call i32 @ext3_journal_get_write_access(ptr noundef nonnull %0, ptr noundef %2) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16, %10
br label %20
20: ; preds = %16, %12, %6, %3, %19
%21 = phi i32 [ 0, %19 ], [ 0, %3 ], [ %8, %6 ], [ %14, %12 ], [ %17, %16 ]
ret i32 %21
}
declare i32 @ext3_journal_extend(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ext3_journal_restart(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ext3_journal_get_write_access(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext3/extr_resize.c_extend_or_restart_transaction.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext3/extr_resize.c_extend_or_restart_transaction.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EXT3_MAX_TRANS_DATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @extend_or_restart_transaction], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @extend_or_restart_transaction(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = icmp slt i32 %4, %1
br i1 %5, label %6, label %20
6: ; preds = %3
%7 = load i32, ptr @EXT3_MAX_TRANS_DATA, align 4, !tbaa !11
%8 = tail call i32 @ext3_journal_extend(ptr noundef nonnull %0, i32 noundef %7) #2
%9 = icmp slt i32 %8, 0
br i1 %9, label %20, label %10
10: ; preds = %6
%11 = icmp eq i32 %8, 0
br i1 %11, label %19, label %12
12: ; preds = %10
%13 = load i32, ptr @EXT3_MAX_TRANS_DATA, align 4, !tbaa !11
%14 = tail call i32 @ext3_journal_restart(ptr noundef nonnull %0, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = tail call i32 @ext3_journal_get_write_access(ptr noundef nonnull %0, ptr noundef %2) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16, %10
br label %20
20: ; preds = %16, %12, %6, %3, %19
%21 = phi i32 [ 0, %19 ], [ 0, %3 ], [ %8, %6 ], [ %14, %12 ], [ %17, %16 ]
ret i32 %21
}
declare i32 @ext3_journal_extend(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ext3_journal_restart(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ext3_journal_get_write_access(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| fastsocket_kernel_fs_ext3_extr_resize.c_extend_or_restart_transaction |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_pac7302.c_sd_setgain.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_pac7302.c_sd_setgain.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.gspca_dev = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @sd_setgain], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sd_setgain(ptr noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i32 @setgain(ptr noundef nonnull %0) #2
%8 = load i32, ptr %0, align 8, !tbaa !13
br label %9
9: ; preds = %6, %2
%10 = phi i32 [ %8, %6 ], [ %1, %2 ]
ret i32 %10
}
declare i32 @setgain(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sd", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"gspca_dev", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_pac7302.c_sd_setgain.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_pac7302.c_sd_setgain.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_setgain], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sd_setgain(ptr noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i32 @setgain(ptr noundef nonnull %0) #2
%8 = load i32, ptr %0, align 8, !tbaa !14
br label %9
9: ; preds = %6, %2
%10 = phi i32 [ %8, %6 ], [ %1, %2 ]
ret i32 %10
}
declare i32 @setgain(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sd", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"gspca_dev", !8, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !8, i64 0}
| fastsocket_kernel_drivers_media_video_gspca_extr_pac7302.c_sd_setgain |
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_outputModePush.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_outputModePush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @outputModePush], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @outputModePush(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
store i32 %3, ptr %4, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call i32 @memcpy(i32 noundef %6, i32 noundef %8, i32 noundef 4) #2
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = load i32, ptr %0, align 4, !tbaa !14
%13 = tail call i32 @memcpy(i32 noundef %11, i32 noundef %12, i32 noundef 4) #2
ret void
}
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 20}
!11 = !{!6, !7, i64 12}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_outputModePush.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_outputModePush.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 @outputModePush], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @outputModePush(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %3, ptr %4, align 4, !tbaa !11
%5 = getelementptr inbounds i8, ptr %0, i64 12
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call i32 @memcpy(i32 noundef %6, i32 noundef %8, i32 noundef 4) #2
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = load i32, ptr %0, align 4, !tbaa !15
%13 = tail call i32 @memcpy(i32 noundef %11, i32 noundef %12, i32 noundef 4) #2
ret void
}
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 20}
!12 = !{!7, !8, i64 12}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 0}
| freebsd_contrib_sqlite3_extr_shell.c_outputModePush |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/extr_iwl-io.c_iwl_write_direct32.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/extr_iwl-io.c_iwl_write_direct32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @iwl_write_direct32(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = call i64 @iwl_trans_grab_nic_access(ptr noundef %0, ptr noundef nonnull %4) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = call i32 @iwl_write32(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3
%9 = call i32 @iwl_trans_release_nic_access(ptr noundef %0, ptr noundef nonnull %4) #3
br label %10
10: ; preds = %7, %3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @iwl_trans_grab_nic_access(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @iwl_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @iwl_trans_release_nic_access(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/extr_iwl-io.c_iwl_write_direct32.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/extr_iwl-io.c_iwl_write_direct32.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @iwl_write_direct32(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = call i64 @iwl_trans_grab_nic_access(ptr noundef %0, ptr noundef nonnull %4) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = call i32 @iwl_write32(ptr noundef %0, i32 noundef %1, i32 noundef %2) #3
%9 = call i32 @iwl_trans_release_nic_access(ptr noundef %0, ptr noundef nonnull %4) #3
br label %10
10: ; preds = %7, %3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @iwl_trans_grab_nic_access(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @iwl_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @iwl_trans_release_nic_access(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_wireless_intel_iwlwifi_extr_iwl-io.c_iwl_write_direct32 |
; ModuleID = 'AnghaBench/zstd/lib/legacy/extr_zstd_v01.c_ZSTDv01_resetDCtx.c'
source_filename = "AnghaBench/zstd/lib/legacy/extr_zstd_v01.c_ZSTDv01_resetDCtx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, ptr, i64, i32 }
@ZSTD_frameHeaderSize = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define dso_local noundef i64 @ZSTDv01_resetDCtx(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @ZSTD_frameHeaderSize, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
store i32 %2, ptr %3, align 8, !tbaa !9
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
ret i64 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"TYPE_3__", !11, i64 0, !11, i64 8, !12, i64 16, !6, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/zstd/lib/legacy/extr_zstd_v01.c_ZSTDv01_resetDCtx.c'
source_filename = "AnghaBench/zstd/lib/legacy/extr_zstd_v01.c_ZSTDv01_resetDCtx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ZSTD_frameHeaderSize = 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 noundef i64 @ZSTDv01_resetDCtx(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @ZSTD_frameHeaderSize, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %2, ptr %3, align 8, !tbaa !10
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
ret i64 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 24}
!11 = !{!"TYPE_3__", !12, i64 0, !12, i64 8, !13, i64 16, !7, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
| zstd_lib_legacy_extr_zstd_v01.c_ZSTDv01_resetDCtx |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ssb/extr_driver_gige.c_gige_read16.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ssb/extr_driver_gige.c_gige_read16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @gige_read16], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @gige_read16(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @ssb_read16(i32 noundef %3, i32 noundef %1) #2
ret i32 %4
}
declare i32 @ssb_read16(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ssb_gige", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ssb/extr_driver_gige.c_gige_read16.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ssb/extr_driver_gige.c_gige_read16.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 @gige_read16], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @gige_read16(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @ssb_read16(i32 noundef %3, i32 noundef %1) #2
ret i32 %4
}
declare i32 @ssb_read16(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ssb_gige", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_ssb_extr_driver_gige.c_gige_read16 |
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_slice_used.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_slice_used.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cfq_slice_used], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @cfq_slice_used(ptr noundef %0) #0 {
%2 = tail call i64 @cfq_cfqq_slice_new(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %10
4: ; preds = %1
%5 = load i32, ptr @jiffies, align 4, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = tail call i64 @time_before(i32 noundef %5, i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %4, %1
%11 = phi i32 [ 0, %1 ], [ %9, %4 ]
ret i32 %11
}
declare i64 @cfq_cfqq_slice_new(ptr noundef) local_unnamed_addr #1
declare i64 @time_before(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"cfq_queue", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_slice_used.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_slice_used.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cfq_slice_used], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @cfq_slice_used(ptr noundef %0) #0 {
%2 = tail call i64 @cfq_cfqq_slice_new(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %10
4: ; preds = %1
%5 = load i32, ptr @jiffies, align 4, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = tail call i64 @time_before(i32 noundef %5, i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %4, %1
%11 = phi i32 [ 0, %1 ], [ %9, %4 ]
ret i32 %11
}
declare i64 @cfq_cfqq_slice_new(ptr noundef) local_unnamed_addr #1
declare i64 @time_before(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"cfq_queue", !7, i64 0}
| fastsocket_kernel_block_extr_cfq-iosched.c_cfq_slice_used |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_ethtool.c_qlcnic_set_led.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_ethtool.c_qlcnic_set_led.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.qlcnic_adapter = type { i32, i32, ptr, ptr, ptr }
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@QLCNIC_NON_PRIV_FUNC = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [51 x i8] c"LED test not supported for non privilege function\0A\00", align 1
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@__QLCNIC_LED_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@__QLCNIC_RESETTING = dso_local local_unnamed_addr global i32 0, align 4
@__QLCNIC_DEV_UP = dso_local local_unnamed_addr global i32 0, align 4
@QLCNIC_LED_TEST = dso_local local_unnamed_addr global i32 0, align 4
@__QLCNIC_DIAG_RES_ALLOC = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Failed to set LED blink state.\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Failed to reset LED blink state.\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qlcnic_set_led], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qlcnic_set_led(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr @EIO, align 4, !tbaa !11
%6 = sub nsw i32 0, %5
%7 = tail call i64 @qlcnic_83xx_check(ptr noundef nonnull %3) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = tail call i32 @qlcnic_83xx_set_led(ptr noundef %0, i32 noundef %1) #2
br label %97
11: ; preds = %2
%12 = getelementptr inbounds %struct.qlcnic_adapter, ptr %3, i64 0, i32 4
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = load i64, ptr @QLCNIC_NON_PRIV_FUNC, align 8, !tbaa !16
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %21
17: ; preds = %11
%18 = tail call i32 @netdev_warn(ptr noundef %0, ptr noundef nonnull @.str) #2
%19 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11
%20 = sub nsw i32 0, %19
br label %97
21: ; preds = %11
switch i32 %1, label %73 [
i32 129, label %22
i32 128, label %51
]
22: ; preds = %21
%23 = load i32, ptr @__QLCNIC_LED_ENABLE, align 4, !tbaa !11
%24 = getelementptr inbounds %struct.qlcnic_adapter, ptr %3, i64 0, i32 1
%25 = tail call i32 @test_and_set_bit(i32 noundef %23, ptr noundef nonnull %24) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %22
%28 = load i32, ptr @EBUSY, align 4, !tbaa !11
%29 = sub nsw i32 0, %28
br label %97
30: ; preds = %22
%31 = load i32, ptr @__QLCNIC_RESETTING, align 4, !tbaa !11
%32 = tail call i32 @test_bit(i32 noundef %31, ptr noundef nonnull %24) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %82
34: ; preds = %30
%35 = load i32, ptr @__QLCNIC_DEV_UP, align 4, !tbaa !11
%36 = tail call i32 @test_bit(i32 noundef %35, ptr noundef nonnull %24) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %45
38: ; preds = %34
%39 = load i32, ptr @QLCNIC_LED_TEST, align 4, !tbaa !11
%40 = tail call i32 @qlcnic_diag_alloc_res(ptr noundef %0, i32 noundef %39) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %82
42: ; preds = %38
%43 = load i32, ptr @__QLCNIC_DIAG_RES_ALLOC, align 4, !tbaa !11
%44 = tail call i32 @set_bit(i32 noundef %43, ptr noundef nonnull %24) #2
br label %45
45: ; preds = %42, %34
%46 = getelementptr inbounds %struct.qlcnic_adapter, ptr %3, i64 0, i32 3
%47 = load ptr, ptr %46, align 8, !tbaa !17
%48 = load ptr, ptr %47, align 8, !tbaa !18
%49 = tail call i32 %48(ptr noundef nonnull %3, i32 noundef 1, i32 noundef 15) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %82, label %76
51: ; preds = %21
%52 = load i32, ptr @__QLCNIC_RESETTING, align 4, !tbaa !11
%53 = getelementptr inbounds %struct.qlcnic_adapter, ptr %3, i64 0, i32 1
%54 = tail call i32 @test_bit(i32 noundef %52, ptr noundef nonnull %53) #2
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %82
56: ; preds = %51
%57 = load i32, ptr @__QLCNIC_DEV_UP, align 4, !tbaa !11
%58 = tail call i32 @test_bit(i32 noundef %57, ptr noundef nonnull %53) #2
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %67
60: ; preds = %56
%61 = load i32, ptr @QLCNIC_LED_TEST, align 4, !tbaa !11
%62 = tail call i32 @qlcnic_diag_alloc_res(ptr noundef %0, i32 noundef %61) #2
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %82
64: ; preds = %60
%65 = load i32, ptr @__QLCNIC_DIAG_RES_ALLOC, align 4, !tbaa !11
%66 = tail call i32 @set_bit(i32 noundef %65, ptr noundef nonnull %53) #2
br label %67
67: ; preds = %64, %56
%68 = getelementptr inbounds %struct.qlcnic_adapter, ptr %3, i64 0, i32 3
%69 = load ptr, ptr %68, align 8, !tbaa !17
%70 = load ptr, ptr %69, align 8, !tbaa !18
%71 = tail call i32 %70(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 15) #2
%72 = icmp eq i32 %71, 0
br i1 %72, label %82, label %76
73: ; preds = %21
%74 = load i32, ptr @EINVAL, align 4, !tbaa !11
%75 = sub nsw i32 0, %74
br label %97
76: ; preds = %67, %45
%77 = phi ptr [ @.str.1, %45 ], [ @.str.2, %67 ]
%78 = phi i1 [ false, %45 ], [ true, %67 ]
%79 = getelementptr inbounds %struct.qlcnic_adapter, ptr %3, i64 0, i32 2
%80 = load ptr, ptr %79, align 8, !tbaa !20
%81 = tail call i32 @dev_err(ptr noundef %80, ptr noundef nonnull %77) #2
br label %82
82: ; preds = %76, %45, %67, %60, %51, %38, %30
%83 = phi i32 [ %6, %51 ], [ %6, %67 ], [ %6, %60 ], [ %6, %30 ], [ %6, %38 ], [ 0, %45 ], [ %6, %76 ]
%84 = phi i1 [ true, %51 ], [ true, %67 ], [ true, %60 ], [ false, %30 ], [ false, %38 ], [ false, %45 ], [ %78, %76 ]
%85 = load i32, ptr @__QLCNIC_DIAG_RES_ALLOC, align 4, !tbaa !11
%86 = getelementptr inbounds %struct.qlcnic_adapter, ptr %3, i64 0, i32 1
%87 = tail call i64 @test_and_clear_bit(i32 noundef %85, ptr noundef nonnull %86) #2
%88 = icmp eq i64 %87, 0
br i1 %88, label %91, label %89
89: ; preds = %82
%90 = tail call i32 @qlcnic_diag_free_res(ptr noundef %0, i32 noundef %4) #2
br label %91
91: ; preds = %89, %82
%92 = icmp ne i32 %83, 0
%93 = select i1 %84, i1 true, i1 %92
br i1 %93, label %94, label %97
94: ; preds = %91
%95 = load i32, ptr @__QLCNIC_LED_ENABLE, align 4, !tbaa !11
%96 = tail call i32 @clear_bit(i32 noundef %95, ptr noundef nonnull %86) #2
br label %97
97: ; preds = %94, %91, %73, %27, %17, %9
%98 = phi i32 [ %10, %9 ], [ %20, %17 ], [ %75, %73 ], [ %29, %27 ], [ 0, %91 ], [ %83, %94 ]
ret i32 %98
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i64 @qlcnic_83xx_check(ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_83xx_set_led(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @netdev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_diag_alloc_res(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_diag_free_res(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"qlcnic_adapter", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!6, !10, i64 16}
!18 = !{!19, !10, i64 0}
!19 = !{!"TYPE_5__", !10, i64 0}
!20 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_ethtool.c_qlcnic_set_led.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_ethtool.c_qlcnic_set_led.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EIO = common local_unnamed_addr global i32 0, align 4
@QLCNIC_NON_PRIV_FUNC = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [51 x i8] c"LED test not supported for non privilege function\0A\00", align 1
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@__QLCNIC_LED_ENABLE = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@__QLCNIC_RESETTING = common local_unnamed_addr global i32 0, align 4
@__QLCNIC_DEV_UP = common local_unnamed_addr global i32 0, align 4
@QLCNIC_LED_TEST = common local_unnamed_addr global i32 0, align 4
@__QLCNIC_DIAG_RES_ALLOC = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Failed to set LED blink state.\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Failed to reset LED blink state.\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qlcnic_set_led], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @qlcnic_set_led(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr @EIO, align 4, !tbaa !12
%6 = sub nsw i32 0, %5
%7 = tail call i64 @qlcnic_83xx_check(ptr noundef nonnull %3) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = tail call i32 @qlcnic_83xx_set_led(ptr noundef %0, i32 noundef %1) #2
br label %97
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %3, i64 24
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = load i64, ptr @QLCNIC_NON_PRIV_FUNC, align 8, !tbaa !17
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %21
17: ; preds = %11
%18 = tail call i32 @netdev_warn(ptr noundef %0, ptr noundef nonnull @.str) #2
%19 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12
%20 = sub nsw i32 0, %19
br label %97
21: ; preds = %11
switch i32 %1, label %73 [
i32 129, label %22
i32 128, label %51
]
22: ; preds = %21
%23 = load i32, ptr @__QLCNIC_LED_ENABLE, align 4, !tbaa !12
%24 = getelementptr inbounds i8, ptr %3, i64 4
%25 = tail call i32 @test_and_set_bit(i32 noundef %23, ptr noundef nonnull %24) #2
%26 = icmp eq i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %22
%28 = load i32, ptr @EBUSY, align 4, !tbaa !12
%29 = sub nsw i32 0, %28
br label %97
30: ; preds = %22
%31 = load i32, ptr @__QLCNIC_RESETTING, align 4, !tbaa !12
%32 = tail call i32 @test_bit(i32 noundef %31, ptr noundef nonnull %24) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %82
34: ; preds = %30
%35 = load i32, ptr @__QLCNIC_DEV_UP, align 4, !tbaa !12
%36 = tail call i32 @test_bit(i32 noundef %35, ptr noundef nonnull %24) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %45
38: ; preds = %34
%39 = load i32, ptr @QLCNIC_LED_TEST, align 4, !tbaa !12
%40 = tail call i32 @qlcnic_diag_alloc_res(ptr noundef %0, i32 noundef %39) #2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %82
42: ; preds = %38
%43 = load i32, ptr @__QLCNIC_DIAG_RES_ALLOC, align 4, !tbaa !12
%44 = tail call i32 @set_bit(i32 noundef %43, ptr noundef nonnull %24) #2
br label %45
45: ; preds = %42, %34
%46 = getelementptr inbounds i8, ptr %3, i64 16
%47 = load ptr, ptr %46, align 8, !tbaa !18
%48 = load ptr, ptr %47, align 8, !tbaa !19
%49 = tail call i32 %48(ptr noundef nonnull %3, i32 noundef 1, i32 noundef 15) #2
%50 = icmp eq i32 %49, 0
br i1 %50, label %82, label %76
51: ; preds = %21
%52 = load i32, ptr @__QLCNIC_RESETTING, align 4, !tbaa !12
%53 = getelementptr inbounds i8, ptr %3, i64 4
%54 = tail call i32 @test_bit(i32 noundef %52, ptr noundef nonnull %53) #2
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %82
56: ; preds = %51
%57 = load i32, ptr @__QLCNIC_DEV_UP, align 4, !tbaa !12
%58 = tail call i32 @test_bit(i32 noundef %57, ptr noundef nonnull %53) #2
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %67
60: ; preds = %56
%61 = load i32, ptr @QLCNIC_LED_TEST, align 4, !tbaa !12
%62 = tail call i32 @qlcnic_diag_alloc_res(ptr noundef %0, i32 noundef %61) #2
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %82
64: ; preds = %60
%65 = load i32, ptr @__QLCNIC_DIAG_RES_ALLOC, align 4, !tbaa !12
%66 = tail call i32 @set_bit(i32 noundef %65, ptr noundef nonnull %53) #2
br label %67
67: ; preds = %64, %56
%68 = getelementptr inbounds i8, ptr %3, i64 16
%69 = load ptr, ptr %68, align 8, !tbaa !18
%70 = load ptr, ptr %69, align 8, !tbaa !19
%71 = tail call i32 %70(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 15) #2
%72 = icmp eq i32 %71, 0
br i1 %72, label %82, label %76
73: ; preds = %21
%74 = load i32, ptr @EINVAL, align 4, !tbaa !12
%75 = sub nsw i32 0, %74
br label %97
76: ; preds = %67, %45
%77 = phi ptr [ @.str.1, %45 ], [ @.str.2, %67 ]
%78 = phi i1 [ false, %45 ], [ true, %67 ]
%79 = getelementptr inbounds i8, ptr %3, i64 8
%80 = load ptr, ptr %79, align 8, !tbaa !21
%81 = tail call i32 @dev_err(ptr noundef %80, ptr noundef nonnull %77) #2
br label %82
82: ; preds = %76, %45, %67, %60, %51, %38, %30
%83 = phi i32 [ %6, %51 ], [ %6, %67 ], [ %6, %60 ], [ %6, %30 ], [ %6, %38 ], [ 0, %45 ], [ %6, %76 ]
%84 = phi i1 [ true, %51 ], [ true, %67 ], [ true, %60 ], [ false, %30 ], [ false, %38 ], [ false, %45 ], [ %78, %76 ]
%85 = load i32, ptr @__QLCNIC_DIAG_RES_ALLOC, align 4, !tbaa !12
%86 = getelementptr inbounds i8, ptr %3, i64 4
%87 = tail call i64 @test_and_clear_bit(i32 noundef %85, ptr noundef nonnull %86) #2
%88 = icmp eq i64 %87, 0
br i1 %88, label %91, label %89
89: ; preds = %82
%90 = tail call i32 @qlcnic_diag_free_res(ptr noundef %0, i32 noundef %4) #2
br label %91
91: ; preds = %89, %82
%92 = icmp ne i32 %83, 0
%93 = select i1 %84, i1 true, i1 %92
br i1 %93, label %94, label %97
94: ; preds = %91
%95 = load i32, ptr @__QLCNIC_LED_ENABLE, align 4, !tbaa !12
%96 = tail call i32 @clear_bit(i32 noundef %95, ptr noundef nonnull %86) #2
br label %97
97: ; preds = %94, %91, %73, %27, %17, %9
%98 = phi i32 [ %10, %9 ], [ %20, %17 ], [ %75, %73 ], [ %29, %27 ], [ 0, %91 ], [ %83, %94 ]
ret i32 %98
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i64 @qlcnic_83xx_check(ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_83xx_set_led(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @netdev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_diag_alloc_res(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_diag_free_res(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"qlcnic_adapter", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 24}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!7, !11, i64 16}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_5__", !11, i64 0}
!21 = !{!7, !11, i64 8}
| linux_drivers_net_ethernet_qlogic_qlcnic_extr_qlcnic_ethtool.c_qlcnic_set_led |
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/host/extr_..wa-hc.h_wa_init.c'
source_filename = "AnghaBench/linux/drivers/staging/wusbcore/host/extr_..wa-hc.h_wa_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.wahc = type { i64, ptr, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@WA_DTI_TRANSFER_RESULT_PENDING = dso_local local_unnamed_addr global i32 0, align 4
@wa_urb_enqueue_run = dso_local local_unnamed_addr global i32 0, align 4
@wa_process_errored_transfers_run = dso_local local_unnamed_addr global i32 0, align 4
@WA_MAX_BUF_IN_URBS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wa_init], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @wa_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 13
%3 = tail call i32 @edc_init(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 12
%5 = tail call i32 @atomic_set(ptr noundef nonnull %4, i32 noundef 0) #2
%6 = load i32, ptr @WA_DTI_TRANSFER_RESULT_PENDING, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 11
store i32 %6, ptr %7, align 4, !tbaa !9
%8 = tail call i32 @wa_rpipe_init(ptr noundef %0) #2
%9 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 10
%10 = tail call i32 @edc_init(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 9
%12 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %11) #2
%13 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 8
%14 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %13) #2
%15 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 7
%16 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %15) #2
%17 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 6
%18 = tail call i32 @spin_lock_init(ptr noundef nonnull %17) #2
%19 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 5
%20 = load i32, ptr @wa_urb_enqueue_run, align 4, !tbaa !5
%21 = tail call i32 @INIT_WORK(ptr noundef nonnull %19, i32 noundef %20) #2
%22 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 4
%23 = load i32, ptr @wa_process_errored_transfers_run, align 4, !tbaa !5
%24 = tail call i32 @INIT_WORK(ptr noundef nonnull %22, i32 noundef %23) #2
%25 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 3
store i64 0, ptr %25, align 8, !tbaa !13
%26 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 2
%27 = tail call i32 @atomic_set(ptr noundef nonnull %26, i32 noundef 1) #2
%28 = load i32, ptr @WA_MAX_BUF_IN_URBS, align 4, !tbaa !5
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %1
%31 = getelementptr inbounds %struct.wahc, ptr %0, i64 0, i32 1
br label %32
32: ; preds = %30, %32
%33 = phi i64 [ 0, %30 ], [ %37, %32 ]
%34 = load ptr, ptr %31, align 8, !tbaa !14
%35 = getelementptr inbounds i32, ptr %34, i64 %33
%36 = tail call i32 @usb_init_urb(ptr noundef %35) #2
%37 = add nuw nsw i64 %33, 1
%38 = load i32, ptr @WA_MAX_BUF_IN_URBS, align 4, !tbaa !5
%39 = sext i32 %38 to i64
%40 = icmp slt i64 %37, %39
br i1 %40, label %32, label %41, !llvm.loop !15
41: ; preds = %32, %1
store i64 0, ptr %0, align 8, !tbaa !17
ret void
}
declare i32 @edc_init(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wa_rpipe_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_init_urb(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 60}
!10 = !{!"wahc", !11, i64 0, !12, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !11, i64 24}
!14 = !{!10, !12, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/host/extr_..wa-hc.h_wa_init.c'
source_filename = "AnghaBench/linux/drivers/staging/wusbcore/host/extr_..wa-hc.h_wa_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WA_DTI_TRANSFER_RESULT_PENDING = common local_unnamed_addr global i32 0, align 4
@wa_urb_enqueue_run = common local_unnamed_addr global i32 0, align 4
@wa_process_errored_transfers_run = common local_unnamed_addr global i32 0, align 4
@WA_MAX_BUF_IN_URBS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wa_init], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @wa_init(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 68
%3 = tail call i32 @edc_init(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 64
%5 = tail call i32 @atomic_set(ptr noundef nonnull %4, i32 noundef 0) #2
%6 = load i32, ptr @WA_DTI_TRANSFER_RESULT_PENDING, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 60
store i32 %6, ptr %7, align 4, !tbaa !10
%8 = tail call i32 @wa_rpipe_init(ptr noundef %0) #2
%9 = getelementptr inbounds i8, ptr %0, i64 56
%10 = tail call i32 @edc_init(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 52
%12 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %11) #2
%13 = getelementptr inbounds i8, ptr %0, i64 48
%14 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %13) #2
%15 = getelementptr inbounds i8, ptr %0, i64 44
%16 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %15) #2
%17 = getelementptr inbounds i8, ptr %0, i64 40
%18 = tail call i32 @spin_lock_init(ptr noundef nonnull %17) #2
%19 = getelementptr inbounds i8, ptr %0, i64 36
%20 = load i32, ptr @wa_urb_enqueue_run, align 4, !tbaa !6
%21 = tail call i32 @INIT_WORK(ptr noundef nonnull %19, i32 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %0, i64 32
%23 = load i32, ptr @wa_process_errored_transfers_run, align 4, !tbaa !6
%24 = tail call i32 @INIT_WORK(ptr noundef nonnull %22, i32 noundef %23) #2
%25 = getelementptr inbounds i8, ptr %0, i64 24
store i64 0, ptr %25, align 8, !tbaa !14
%26 = getelementptr inbounds i8, ptr %0, i64 16
%27 = tail call i32 @atomic_set(ptr noundef nonnull %26, i32 noundef 1) #2
%28 = load i32, ptr @WA_MAX_BUF_IN_URBS, align 4, !tbaa !6
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %1
%31 = getelementptr inbounds i8, ptr %0, i64 8
br label %32
32: ; preds = %30, %32
%33 = phi i64 [ 0, %30 ], [ %37, %32 ]
%34 = load ptr, ptr %31, align 8, !tbaa !15
%35 = getelementptr inbounds i32, ptr %34, i64 %33
%36 = tail call i32 @usb_init_urb(ptr noundef %35) #2
%37 = add nuw nsw i64 %33, 1
%38 = load i32, ptr @WA_MAX_BUF_IN_URBS, align 4, !tbaa !6
%39 = sext i32 %38 to i64
%40 = icmp slt i64 %37, %39
br i1 %40, label %32, label %41, !llvm.loop !16
41: ; preds = %32, %1
store i64 0, ptr %0, align 8, !tbaa !18
ret void
}
declare i32 @edc_init(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wa_rpipe_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_init_urb(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 60}
!11 = !{!"wahc", !12, i64 0, !13, i64 8, !7, i64 16, !12, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !12, i64 24}
!15 = !{!11, !13, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!11, !12, i64 0}
| linux_drivers_staging_wusbcore_host_extr_..wa-hc.h_wa_init |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_linespec.c_decode_dollar.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_linespec.c_decode_dollar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.symtab_and_line = type { i64, i32, ptr }
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@TYPE_CODE_INT = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [60 x i8] c"History values used in line specs must have integer values.\00", align 1
@VAR_DOMAIN = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [67 x i8] c"Convenience variables used in line specs must have integer values.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @decode_dollar], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal { i32, ptr } @decode_dollar(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca %struct.symtab_and_line, align 8
%8 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
store i32 0, ptr %6, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
%9 = getelementptr inbounds i8, ptr %0, i64 1
%10 = load i8, ptr %9, align 1, !tbaa !9
%11 = icmp eq i8 %10, 36
%12 = getelementptr inbounds i8, ptr %0, i64 2
%13 = select i1 %11, ptr %12, ptr %9
br label %14
14: ; preds = %14, %5
%15 = phi ptr [ %13, %5 ], [ %19, %14 ]
%16 = load i8, ptr %15, align 1, !tbaa !9
%17 = add i8 %16, -48
%18 = icmp ult i8 %17, 10
%19 = getelementptr inbounds i8, ptr %15, i64 1
br i1 %18, label %14, label %20, !llvm.loop !10
20: ; preds = %14
%21 = icmp eq i8 %16, 0
br i1 %21, label %22, label %34
22: ; preds = %20
%23 = call i32 @sscanf(ptr noundef nonnull %13, ptr noundef nonnull @.str, ptr noundef nonnull %6) #4
%24 = load i8, ptr %9, align 1, !tbaa !9
%25 = icmp eq i8 %24, 36
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 0, %26
%28 = select i1 %25, i32 %27, i32 %26
%29 = call ptr @access_value_history(i32 noundef %28) #4
%30 = call i32 @VALUE_TYPE(ptr noundef %29) #4
%31 = call i64 @TYPE_CODE(i32 noundef %30) #4
%32 = load i64, ptr @TYPE_CODE_INT, align 8, !tbaa !12
%33 = icmp eq i64 %31, %32
br i1 %33, label %62, label %57
34: ; preds = %20
%35 = load i32, ptr @VAR_DOMAIN, align 4, !tbaa !5
%36 = call ptr @lookup_symbol(ptr noundef %0, i32 noundef 0, i32 noundef %35, i32 noundef 0, ptr noundef nonnull %8) #4
%37 = icmp eq ptr %36, null
br i1 %37, label %43, label %38
38: ; preds = %34
%39 = load ptr, ptr %8, align 8, !tbaa !14
%40 = call { i32, ptr } @symbol_found(i32 noundef %1, ptr noundef %3, ptr noundef %0, ptr noundef nonnull %36, ptr noundef null, ptr noundef %39) #4
%41 = extractvalue { i32, ptr } %40, 0
%42 = extractvalue { i32, ptr } %40, 1
br label %75
43: ; preds = %34
%44 = call ptr @lookup_minimal_symbol(ptr noundef %0, ptr noundef null, ptr noundef null) #4
%45 = icmp eq ptr %44, null
br i1 %45, label %50, label %46
46: ; preds = %43
%47 = call { i32, ptr } @minsym_found(i32 noundef %1, ptr noundef nonnull %44) #4
%48 = extractvalue { i32, ptr } %47, 0
%49 = extractvalue { i32, ptr } %47, 1
br label %75
50: ; preds = %43
%51 = call i32 @lookup_internalvar(ptr noundef nonnull %9) #4
%52 = call ptr @value_of_internalvar(i32 noundef %51) #4
%53 = call i32 @VALUE_TYPE(ptr noundef %52) #4
%54 = call i64 @TYPE_CODE(i32 noundef %53) #4
%55 = load i64, ptr @TYPE_CODE_INT, align 8, !tbaa !12
%56 = icmp eq i64 %54, %55
br i1 %56, label %62, label %57
57: ; preds = %50, %22
%58 = phi ptr [ @.str.1, %22 ], [ @.str.2, %50 ]
%59 = phi ptr [ %29, %22 ], [ %52, %50 ]
%60 = phi ptr [ %4, %22 ], [ null, %50 ]
%61 = call i32 @error(ptr noundef nonnull %58) #4
br label %62
62: ; preds = %57, %50, %22
%63 = phi ptr [ %52, %50 ], [ %29, %22 ], [ %59, %57 ]
%64 = phi ptr [ null, %50 ], [ %4, %22 ], [ %60, %57 ]
%65 = call i32 @init_sal(ptr noundef nonnull %7) #4
%66 = icmp eq ptr %64, null
%67 = select i1 %66, ptr %2, ptr %64
%68 = getelementptr inbounds %struct.symtab_and_line, ptr %7, i64 0, i32 2
store ptr %67, ptr %68, align 8, !tbaa !16
%69 = call i32 @value_as_long(ptr noundef %63) #4
%70 = getelementptr inbounds %struct.symtab_and_line, ptr %7, i64 0, i32 1
store i32 %69, ptr %70, align 8, !tbaa !18
store i64 0, ptr %7, align 8, !tbaa !19
%71 = call i64 @xmalloc(i32 noundef 24) #4
%72 = inttoptr i64 %71 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 8 dereferenceable(24) %7, i64 24, i1 false), !tbaa.struct !20
br i1 %21, label %75, label %73
73: ; preds = %62
%74 = call i32 @build_canonical_line_spec(ptr noundef nonnull %72, ptr noundef null, ptr noundef %3) #4
br label %75
75: ; preds = %62, %73, %46, %38
%76 = phi i32 [ %41, %38 ], [ %48, %46 ], [ 1, %73 ], [ 1, %62 ]
%77 = phi ptr [ %42, %38 ], [ %49, %46 ], [ %72, %73 ], [ %72, %62 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
%78 = insertvalue { i32, ptr } poison, i32 %76, 0
%79 = insertvalue { i32, ptr } %78, ptr %77, 1
ret { i32, ptr } %79
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @access_value_history(i32 noundef) local_unnamed_addr #2
declare i64 @TYPE_CODE(i32 noundef) local_unnamed_addr #2
declare i32 @VALUE_TYPE(ptr noundef) local_unnamed_addr #2
declare i32 @error(ptr noundef) local_unnamed_addr #2
declare ptr @lookup_symbol(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare { i32, ptr } @symbol_found(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @lookup_minimal_symbol(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare { i32, ptr } @minsym_found(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @value_of_internalvar(i32 noundef) local_unnamed_addr #2
declare i32 @lookup_internalvar(ptr noundef) local_unnamed_addr #2
declare i32 @init_sal(ptr noundef) local_unnamed_addr #2
declare i32 @value_as_long(ptr noundef) local_unnamed_addr #2
declare i64 @xmalloc(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @build_canonical_line_spec(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!17, !15, i64 16}
!17 = !{!"symtab_and_line", !13, i64 0, !6, i64 8, !15, i64 16}
!18 = !{!17, !6, i64 8}
!19 = !{!17, !13, i64 0}
!20 = !{i64 0, i64 8, !12, i64 8, i64 4, !5, i64 16, i64 8, !14}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_linespec.c_decode_dollar.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_linespec.c_decode_dollar.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.symtab_and_line = type { i64, i32, ptr }
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@TYPE_CODE_INT = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [60 x i8] c"History values used in line specs must have integer values.\00", align 1
@VAR_DOMAIN = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [67 x i8] c"Convenience variables used in line specs must have integer values.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @decode_dollar], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal [2 x i64] @decode_dollar(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca %struct.symtab_and_line, align 8
%8 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
store i32 0, ptr %6, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
%9 = getelementptr inbounds i8, ptr %0, i64 1
%10 = load i8, ptr %9, align 1, !tbaa !10
%11 = icmp eq i8 %10, 36
%12 = getelementptr inbounds i8, ptr %0, i64 2
%13 = select i1 %11, ptr %12, ptr %9
br label %14
14: ; preds = %14, %5
%15 = phi ptr [ %13, %5 ], [ %19, %14 ]
%16 = load i8, ptr %15, align 1, !tbaa !10
%17 = add i8 %16, -48
%18 = icmp ult i8 %17, 10
%19 = getelementptr inbounds i8, ptr %15, i64 1
br i1 %18, label %14, label %20, !llvm.loop !11
20: ; preds = %14
%21 = icmp eq i8 %16, 0
br i1 %21, label %22, label %34
22: ; preds = %20
%23 = call i32 @sscanf(ptr noundef nonnull %13, ptr noundef nonnull @.str, ptr noundef nonnull %6) #4
%24 = load i8, ptr %9, align 1, !tbaa !10
%25 = icmp eq i8 %24, 36
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 0, %26
%28 = select i1 %25, i32 %27, i32 %26
%29 = call ptr @access_value_history(i32 noundef %28) #4
%30 = call i32 @VALUE_TYPE(ptr noundef %29) #4
%31 = call i64 @TYPE_CODE(i32 noundef %30) #4
%32 = load i64, ptr @TYPE_CODE_INT, align 8, !tbaa !13
%33 = icmp eq i64 %31, %32
br i1 %33, label %64, label %59
34: ; preds = %20
%35 = load i32, ptr @VAR_DOMAIN, align 4, !tbaa !6
%36 = call ptr @lookup_symbol(ptr noundef %0, i32 noundef 0, i32 noundef %35, i32 noundef 0, ptr noundef nonnull %8) #4
%37 = icmp eq ptr %36, null
br i1 %37, label %44, label %38
38: ; preds = %34
%39 = load ptr, ptr %8, align 8, !tbaa !15
%40 = call [2 x i64] @symbol_found(i32 noundef %1, ptr noundef %3, ptr noundef %0, ptr noundef nonnull %36, ptr noundef null, ptr noundef %39) #4
%41 = extractvalue [2 x i64] %40, 0
%42 = and i64 %41, -4294967296
%43 = extractvalue [2 x i64] %40, 1
br label %77
44: ; preds = %34
%45 = call ptr @lookup_minimal_symbol(ptr noundef %0, ptr noundef null, ptr noundef null) #4
%46 = icmp eq ptr %45, null
br i1 %46, label %52, label %47
47: ; preds = %44
%48 = call [2 x i64] @minsym_found(i32 noundef %1, ptr noundef nonnull %45) #4
%49 = extractvalue [2 x i64] %48, 0
%50 = and i64 %49, -4294967296
%51 = extractvalue [2 x i64] %48, 1
br label %77
52: ; preds = %44
%53 = call i32 @lookup_internalvar(ptr noundef nonnull %9) #4
%54 = call ptr @value_of_internalvar(i32 noundef %53) #4
%55 = call i32 @VALUE_TYPE(ptr noundef %54) #4
%56 = call i64 @TYPE_CODE(i32 noundef %55) #4
%57 = load i64, ptr @TYPE_CODE_INT, align 8, !tbaa !13
%58 = icmp eq i64 %56, %57
br i1 %58, label %64, label %59
59: ; preds = %52, %22
%60 = phi ptr [ @.str.1, %22 ], [ @.str.2, %52 ]
%61 = phi ptr [ %29, %22 ], [ %54, %52 ]
%62 = phi ptr [ %4, %22 ], [ null, %52 ]
%63 = call i32 @error(ptr noundef nonnull %60) #4
br label %64
64: ; preds = %59, %52, %22
%65 = phi ptr [ %54, %52 ], [ %29, %22 ], [ %61, %59 ]
%66 = phi ptr [ null, %52 ], [ %4, %22 ], [ %62, %59 ]
%67 = call i32 @init_sal(ptr noundef nonnull %7) #4
%68 = icmp eq ptr %66, null
%69 = select i1 %68, ptr %2, ptr %66
%70 = getelementptr inbounds i8, ptr %7, i64 16
store ptr %69, ptr %70, align 8, !tbaa !17
%71 = call i32 @value_as_long(ptr noundef %65) #4
%72 = getelementptr inbounds i8, ptr %7, i64 8
store i32 %71, ptr %72, align 8, !tbaa !19
store i64 0, ptr %7, align 8, !tbaa !20
%73 = call i64 @xmalloc(i32 noundef 24) #4
%74 = inttoptr i64 %73 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %7, i64 24, i1 false), !tbaa.struct !21
br i1 %21, label %77, label %75
75: ; preds = %64
%76 = call i32 @build_canonical_line_spec(ptr noundef nonnull %74, ptr noundef null, ptr noundef %3) #4
br label %77
77: ; preds = %64, %75, %47, %38
%78 = phi i64 [ %41, %38 ], [ %49, %47 ], [ 1, %75 ], [ 1, %64 ]
%79 = phi i64 [ %42, %38 ], [ %50, %47 ], [ 0, %75 ], [ 0, %64 ]
%80 = phi i64 [ %43, %38 ], [ %51, %47 ], [ %73, %75 ], [ %73, %64 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
%81 = and i64 %78, 4294967295
%82 = or disjoint i64 %79, %81
%83 = insertvalue [2 x i64] poison, i64 %82, 0
%84 = insertvalue [2 x i64] %83, i64 %80, 1
ret [2 x i64] %84
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @access_value_history(i32 noundef) local_unnamed_addr #2
declare i64 @TYPE_CODE(i32 noundef) local_unnamed_addr #2
declare i32 @VALUE_TYPE(ptr noundef) local_unnamed_addr #2
declare i32 @error(ptr noundef) local_unnamed_addr #2
declare ptr @lookup_symbol(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare [2 x i64] @symbol_found(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @lookup_minimal_symbol(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare [2 x i64] @minsym_found(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @value_of_internalvar(i32 noundef) local_unnamed_addr #2
declare i32 @lookup_internalvar(ptr noundef) local_unnamed_addr #2
declare i32 @init_sal(ptr noundef) local_unnamed_addr #2
declare i32 @value_as_long(ptr noundef) local_unnamed_addr #2
declare i64 @xmalloc(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @build_canonical_line_spec(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!18, !16, i64 16}
!18 = !{!"symtab_and_line", !14, i64 0, !7, i64 8, !16, i64 16}
!19 = !{!18, !7, i64 8}
!20 = !{!18, !14, i64 0}
!21 = !{i64 0, i64 8, !13, i64 8, i64 4, !6, i64 16, i64 8, !15}
| freebsd_contrib_gdb_gdb_extr_linespec.c_decode_dollar |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_pms.c_pms_contrast.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_pms.c_pms_contrast.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@decoder = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pms_contrast], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pms_contrast(i16 noundef signext %0) #0 {
%2 = load i32, ptr @decoder, align 4, !tbaa !5
switch i32 %2, label %7 [
i32 129, label %3
i32 128, label %5
]
3: ; preds = %1
%4 = tail call i32 @pms_i2c_write(i32 noundef 138, i32 noundef 0, i16 noundef signext %0) #2
br label %7
5: ; preds = %1
%6 = tail call i32 @pms_i2c_write(i32 noundef 66, i32 noundef 19, i16 noundef signext %0) #2
br label %7
7: ; preds = %1, %5, %3
ret void
}
declare i32 @pms_i2c_write(i32 noundef, i32 noundef, i16 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_pms.c_pms_contrast.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_pms.c_pms_contrast.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@decoder = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pms_contrast], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pms_contrast(i16 noundef signext %0) #0 {
%2 = load i32, ptr @decoder, align 4, !tbaa !6
switch i32 %2, label %7 [
i32 129, label %3
i32 128, label %5
]
3: ; preds = %1
%4 = tail call i32 @pms_i2c_write(i32 noundef 138, i32 noundef 0, i16 noundef signext %0) #2
br label %7
5: ; preds = %1
%6 = tail call i32 @pms_i2c_write(i32 noundef 66, i32 noundef 19, i16 noundef signext %0) #2
br label %7
7: ; preds = %1, %5, %3
ret void
}
declare i32 @pms_i2c_write(i32 noundef, i32 noundef, i16 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_media_video_extr_pms.c_pms_contrast |
; ModuleID = 'AnghaBench/netdata/collectors/apps.plugin/extr_apps_plugin.c_aggregate_fd_on_target.c'
source_filename = "AnghaBench/netdata/collectors/apps.plugin/extr_apps_plugin.c_aggregate_fd_on_target.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
%struct.target = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@all_files = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @aggregate_fd_on_target], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @aggregate_fd_on_target(i32 noundef %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
%4 = zext i1 %3 to i32
%5 = tail call i64 @unlikely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %58
7: ; preds = %2
%8 = load ptr, ptr %1, align 8, !tbaa !5
%9 = sext i32 %0 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = tail call i64 @unlikely(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = load ptr, ptr %1, align 8, !tbaa !5
%15 = getelementptr inbounds i32, ptr %14, i64 %9
%16 = load i32, ptr %15, align 4, !tbaa !11
%17 = add nsw i32 %16, 1
store i32 %17, ptr %15, align 4, !tbaa !11
br i1 %13, label %18, label %58
18: ; preds = %7
%19 = load ptr, ptr @all_files, align 8, !tbaa !12
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %9
%21 = load i32, ptr %20, align 4, !tbaa !13
switch i32 %21, label %58 [
i32 134, label %22
i32 131, label %26
i32 129, label %30
i32 133, label %34
i32 136, label %38
i32 128, label %42
i32 130, label %46
i32 135, label %50
i32 132, label %54
]
22: ; preds = %18
%23 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 9
%24 = load i32, ptr %23, align 8, !tbaa !15
%25 = add nsw i32 %24, 1
store i32 %25, ptr %23, align 8, !tbaa !15
br label %58
26: ; preds = %18
%27 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 8
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = add nsw i32 %28, 1
store i32 %29, ptr %27, align 4, !tbaa !16
br label %58
30: ; preds = %18
%31 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 7
%32 = load i32, ptr %31, align 8, !tbaa !17
%33 = add nsw i32 %32, 1
store i32 %33, ptr %31, align 8, !tbaa !17
br label %58
34: ; preds = %18
%35 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 6
%36 = load i32, ptr %35, align 4, !tbaa !18
%37 = add nsw i32 %36, 1
store i32 %37, ptr %35, align 4, !tbaa !18
br label %58
38: ; preds = %18
%39 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 5
%40 = load i32, ptr %39, align 8, !tbaa !19
%41 = add nsw i32 %40, 1
store i32 %41, ptr %39, align 8, !tbaa !19
br label %58
42: ; preds = %18
%43 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 4
%44 = load i32, ptr %43, align 4, !tbaa !20
%45 = add nsw i32 %44, 1
store i32 %45, ptr %43, align 4, !tbaa !20
br label %58
46: ; preds = %18
%47 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 3
%48 = load i32, ptr %47, align 8, !tbaa !21
%49 = add nsw i32 %48, 1
store i32 %49, ptr %47, align 8, !tbaa !21
br label %58
50: ; preds = %18
%51 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 2
%52 = load i32, ptr %51, align 4, !tbaa !22
%53 = add nsw i32 %52, 1
store i32 %53, ptr %51, align 4, !tbaa !22
br label %58
54: ; preds = %18
%55 = getelementptr inbounds %struct.target, ptr %1, i64 0, i32 1
%56 = load i32, ptr %55, align 8, !tbaa !23
%57 = add nsw i32 %56, 1
store i32 %57, ptr %55, align 8, !tbaa !23
br label %58
58: ; preds = %7, %2, %18, %54, %50, %46, %42, %38, %34, %30, %26, %22
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"target", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_2__", !10, i64 0}
!15 = !{!6, !10, i64 40}
!16 = !{!6, !10, i64 36}
!17 = !{!6, !10, i64 32}
!18 = !{!6, !10, i64 28}
!19 = !{!6, !10, i64 24}
!20 = !{!6, !10, i64 20}
!21 = !{!6, !10, i64 16}
!22 = !{!6, !10, i64 12}
!23 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/netdata/collectors/apps.plugin/extr_apps_plugin.c_aggregate_fd_on_target.c'
source_filename = "AnghaBench/netdata/collectors/apps.plugin/extr_apps_plugin.c_aggregate_fd_on_target.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@all_files = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @aggregate_fd_on_target], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @aggregate_fd_on_target(i32 noundef %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
%4 = zext i1 %3 to i32
%5 = tail call i64 @unlikely(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %58
7: ; preds = %2
%8 = load ptr, ptr %1, align 8, !tbaa !6
%9 = sext i32 %0 to i64
%10 = getelementptr inbounds i32, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = tail call i64 @unlikely(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = load ptr, ptr %1, align 8, !tbaa !6
%15 = getelementptr inbounds i32, ptr %14, i64 %9
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = add nsw i32 %16, 1
store i32 %17, ptr %15, align 4, !tbaa !12
br i1 %13, label %18, label %58
18: ; preds = %7
%19 = load ptr, ptr @all_files, align 8, !tbaa !13
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %9
%21 = load i32, ptr %20, align 4, !tbaa !14
switch i32 %21, label %58 [
i32 134, label %22
i32 131, label %26
i32 129, label %30
i32 133, label %34
i32 136, label %38
i32 128, label %42
i32 130, label %46
i32 135, label %50
i32 132, label %54
]
22: ; preds = %18
%23 = getelementptr inbounds i8, ptr %1, i64 40
%24 = load i32, ptr %23, align 8, !tbaa !16
%25 = add nsw i32 %24, 1
store i32 %25, ptr %23, align 8, !tbaa !16
br label %58
26: ; preds = %18
%27 = getelementptr inbounds i8, ptr %1, i64 36
%28 = load i32, ptr %27, align 4, !tbaa !17
%29 = add nsw i32 %28, 1
store i32 %29, ptr %27, align 4, !tbaa !17
br label %58
30: ; preds = %18
%31 = getelementptr inbounds i8, ptr %1, i64 32
%32 = load i32, ptr %31, align 8, !tbaa !18
%33 = add nsw i32 %32, 1
store i32 %33, ptr %31, align 8, !tbaa !18
br label %58
34: ; preds = %18
%35 = getelementptr inbounds i8, ptr %1, i64 28
%36 = load i32, ptr %35, align 4, !tbaa !19
%37 = add nsw i32 %36, 1
store i32 %37, ptr %35, align 4, !tbaa !19
br label %58
38: ; preds = %18
%39 = getelementptr inbounds i8, ptr %1, i64 24
%40 = load i32, ptr %39, align 8, !tbaa !20
%41 = add nsw i32 %40, 1
store i32 %41, ptr %39, align 8, !tbaa !20
br label %58
42: ; preds = %18
%43 = getelementptr inbounds i8, ptr %1, i64 20
%44 = load i32, ptr %43, align 4, !tbaa !21
%45 = add nsw i32 %44, 1
store i32 %45, ptr %43, align 4, !tbaa !21
br label %58
46: ; preds = %18
%47 = getelementptr inbounds i8, ptr %1, i64 16
%48 = load i32, ptr %47, align 8, !tbaa !22
%49 = add nsw i32 %48, 1
store i32 %49, ptr %47, align 8, !tbaa !22
br label %58
50: ; preds = %18
%51 = getelementptr inbounds i8, ptr %1, i64 12
%52 = load i32, ptr %51, align 4, !tbaa !23
%53 = add nsw i32 %52, 1
store i32 %53, ptr %51, align 4, !tbaa !23
br label %58
54: ; preds = %18
%55 = getelementptr inbounds i8, ptr %1, i64 8
%56 = load i32, ptr %55, align 8, !tbaa !24
%57 = add nsw i32 %56, 1
store i32 %57, ptr %55, align 8, !tbaa !24
br label %58
58: ; preds = %7, %2, %18, %54, %50, %46, %42, %38, %34, %30, %26, %22
ret void
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"target", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_2__", !11, i64 0}
!16 = !{!7, !11, i64 40}
!17 = !{!7, !11, i64 36}
!18 = !{!7, !11, i64 32}
!19 = !{!7, !11, i64 28}
!20 = !{!7, !11, i64 24}
!21 = !{!7, !11, i64 20}
!22 = !{!7, !11, i64 16}
!23 = !{!7, !11, i64 12}
!24 = !{!7, !11, i64 8}
| netdata_collectors_apps.plugin_extr_apps_plugin.c_aggregate_fd_on_target |
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_histogram_enc.c_HistogramAnalyzeEntropyBin.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_histogram_enc.c_HistogramAnalyzeEntropyBin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @HistogramAnalyzeEntropyBin], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @HistogramAnalyzeEntropyBin(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i32, ptr %0, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%8 = call i32 @DominantCostRangeInit(ptr noundef nonnull %4) #3
%9 = icmp sgt i32 %7, 0
br i1 %9, label %10, label %36
10: ; preds = %3
%11 = zext nneg i32 %7 to i64
br label %15
12: ; preds = %22
br i1 %9, label %13, label %36
13: ; preds = %12
%14 = zext nneg i32 %7 to i64
br label %25
15: ; preds = %10, %22
%16 = phi i64 [ 0, %10 ], [ %23, %22 ]
%17 = getelementptr inbounds ptr, ptr %6, i64 %16
%18 = load ptr, ptr %17, align 8, !tbaa !12
%19 = icmp eq ptr %18, null
br i1 %19, label %22, label %20
20: ; preds = %15
%21 = call i32 @UpdateDominantCostRange(ptr noundef nonnull %18, ptr noundef nonnull %4) #3
br label %22
22: ; preds = %15, %20
%23 = add nuw nsw i64 %16, 1
%24 = icmp eq i64 %23, %11
br i1 %24, label %12, label %15, !llvm.loop !13
25: ; preds = %13, %33
%26 = phi i64 [ 0, %13 ], [ %34, %33 ]
%27 = getelementptr inbounds ptr, ptr %6, i64 %26
%28 = load ptr, ptr %27, align 8, !tbaa !12
%29 = icmp eq ptr %28, null
br i1 %29, label %33, label %30
30: ; preds = %25
%31 = call i32 @GetHistoBinIndex(ptr noundef nonnull %28, ptr noundef nonnull %4, i32 noundef %2) #3
%32 = getelementptr inbounds i32, ptr %1, i64 %26
store i32 %31, ptr %32, align 4, !tbaa !15
br label %33
33: ; preds = %25, %30
%34 = add nuw nsw i64 %26, 1
%35 = icmp eq i64 %34, %14
br i1 %35, label %36, label %25, !llvm.loop !16
36: ; preds = %33, %3, %12
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DominantCostRangeInit(ptr noundef) local_unnamed_addr #2
declare i32 @UpdateDominantCostRange(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetHistoBinIndex(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_histogram_enc.c_HistogramAnalyzeEntropyBin.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_histogram_enc.c_HistogramAnalyzeEntropyBin.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 @HistogramAnalyzeEntropyBin], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @HistogramAnalyzeEntropyBin(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i32, ptr %0, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%8 = call i32 @DominantCostRangeInit(ptr noundef nonnull %4) #3
%9 = icmp sgt i32 %7, 0
br i1 %9, label %10, label %33
10: ; preds = %3
%11 = zext nneg i32 %7 to i64
br label %12
12: ; preds = %10, %19
%13 = phi i64 [ 0, %10 ], [ %20, %19 ]
%14 = getelementptr inbounds ptr, ptr %6, i64 %13
%15 = load ptr, ptr %14, align 8, !tbaa !13
%16 = icmp eq ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %12
%18 = call i32 @UpdateDominantCostRange(ptr noundef nonnull %15, ptr noundef nonnull %4) #3
br label %19
19: ; preds = %12, %17
%20 = add nuw nsw i64 %13, 1
%21 = icmp eq i64 %20, %11
br i1 %21, label %22, label %12, !llvm.loop !14
22: ; preds = %19, %30
%23 = phi i64 [ %31, %30 ], [ 0, %19 ]
%24 = getelementptr inbounds ptr, ptr %6, i64 %23
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = icmp eq ptr %25, null
br i1 %26, label %30, label %27
27: ; preds = %22
%28 = call i32 @GetHistoBinIndex(ptr noundef nonnull %25, ptr noundef nonnull %4, i32 noundef %2) #3
%29 = getelementptr inbounds i32, ptr %1, i64 %23
store i32 %28, ptr %29, align 4, !tbaa !16
br label %30
30: ; preds = %22, %27
%31 = add nuw nsw i64 %23, 1
%32 = icmp eq i64 %31, %11
br i1 %32, label %33, label %22, !llvm.loop !17
33: ; preds = %30, %3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DominantCostRangeInit(ptr noundef) local_unnamed_addr #2
declare i32 @UpdateDominantCostRange(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @GetHistoBinIndex(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, !11, i64 8}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!8, !8, i64 0}
!17 = distinct !{!17, !15}
| sumatrapdf_ext_libwebp_src_enc_extr_histogram_enc.c_HistogramAnalyzeEntropyBin |
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_surface3_spi.c_surface3_spi_power.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_surface3_spi.c_surface3_spi_power.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @surface3_spi_power], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @surface3_spi_power(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = tail call i32 @gpiod_set_value(i32 noundef %4, i32 noundef %1) #2
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = getelementptr inbounds i32, ptr %6, i64 1
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = tail call i32 @gpiod_set_value(i32 noundef %8, i32 noundef %1) #2
%10 = tail call i32 @msleep(i32 noundef 20) #2
ret void
}
declare i32 @gpiod_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"surface3_ts_data", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_surface3_spi.c_surface3_spi_power.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_surface3_spi.c_surface3_spi_power.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 @surface3_spi_power], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @surface3_spi_power(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = tail call i32 @gpiod_set_value(i32 noundef %4, i32 noundef %1) #2
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = tail call i32 @gpiod_set_value(i32 noundef %8, i32 noundef %1) #2
%10 = tail call i32 @msleep(i32 noundef 20) #2
ret void
}
declare i32 @gpiod_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(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 = !{!"surface3_ts_data", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| linux_drivers_input_touchscreen_extr_surface3_spi.c_surface3_spi_power |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_ethtool.c_e1000_setup_desc_rings.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_ethtool.c_e1000_setup_desc_rings.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.e1000_adapter = type { ptr, %struct.e1000_rx_ring, %struct.e1000_tx_ring, %struct.e1000_hw }
%struct.e1000_rx_ring = type { i32, i32, ptr, i64, i64, i64, ptr }
%struct.e1000_tx_ring = type { i32, i32, ptr, i64, i64, i64, ptr }
%struct.e1000_hw = type { i32 }
%struct.TYPE_5__ = type { i32, ptr, ptr }
%struct.sk_buff = type { i32, ptr }
%struct.e1000_tx_desc = type { %struct.TYPE_7__, %struct.TYPE_6__, ptr }
%struct.TYPE_7__ = type { i64 }
%struct.TYPE_6__ = type { i32 }
%struct.TYPE_8__ = type { i32, ptr, ptr }
@E1000_DEFAULT_TXD = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@TDBAL = dso_local local_unnamed_addr global i32 0, align 4
@TDBAH = dso_local local_unnamed_addr global i32 0, align 4
@TDLEN = dso_local local_unnamed_addr global i32 0, align 4
@TDH = dso_local local_unnamed_addr global i32 0, align 4
@TDT = dso_local local_unnamed_addr global i32 0, align 4
@TCTL = dso_local local_unnamed_addr global i32 0, align 4
@E1000_TCTL_PSP = dso_local local_unnamed_addr global i32 0, align 4
@E1000_TCTL_EN = dso_local local_unnamed_addr global i32 0, align 4
@E1000_COLLISION_THRESHOLD = dso_local local_unnamed_addr global i32 0, align 4
@E1000_CT_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@E1000_FDX_COLLISION_DISTANCE = dso_local local_unnamed_addr global i32 0, align 4
@E1000_COLD_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@E1000_TXD_CMD_EOP = dso_local local_unnamed_addr global i32 0, align 4
@E1000_TXD_CMD_IFCS = dso_local local_unnamed_addr global i32 0, align 4
@E1000_TXD_CMD_RPS = dso_local local_unnamed_addr global i32 0, align 4
@E1000_DEFAULT_RXD = dso_local local_unnamed_addr global i32 0, align 4
@RCTL = dso_local local_unnamed_addr global i32 0, align 4
@E1000_RCTL_EN = dso_local local_unnamed_addr global i32 0, align 4
@RDBAL = dso_local local_unnamed_addr global i32 0, align 4
@RDBAH = dso_local local_unnamed_addr global i32 0, align 4
@RDLEN = dso_local local_unnamed_addr global i32 0, align 4
@RDH = dso_local local_unnamed_addr global i32 0, align 4
@RDT = dso_local local_unnamed_addr global i32 0, align 4
@E1000_RCTL_BAM = dso_local local_unnamed_addr global i32 0, align 4
@E1000_RCTL_SZ_2048 = dso_local local_unnamed_addr global i32 0, align 4
@E1000_RCTL_LBM_NO = dso_local local_unnamed_addr global i32 0, align 4
@E1000_RCTL_RDMTS_HALF = dso_local local_unnamed_addr global i32 0, align 4
@E1000_RCTL_MO_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@E1000_RXBUFFER_2048 = dso_local local_unnamed_addr global i32 0, align 4
@NET_IP_ALIGN = dso_local local_unnamed_addr global i32 0, align 4
@DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_setup_desc_rings], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @e1000_setup_desc_rings(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 3
%3 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2
%4 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load i32, ptr %3, align 8, !tbaa !15
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @E1000_DEFAULT_TXD, align 4, !tbaa !16
store i32 %9, ptr %3, align 8, !tbaa !15
br label %10
10: ; preds = %8, %1
%11 = phi i32 [ %9, %8 ], [ %6, %1 ]
%12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%13 = tail call ptr @kcalloc(i32 noundef %11, i32 noundef 4, i32 noundef %12) #3
%14 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2, i32 2
store ptr %13, ptr %14, align 8, !tbaa !17
%15 = icmp eq ptr %13, null
br i1 %15, label %187, label %16
16: ; preds = %10
%17 = load i32, ptr %3, align 8, !tbaa !15
%18 = mul i32 %17, 24
%19 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2, i32 1
store i32 %18, ptr %19, align 4, !tbaa !18
%20 = tail call i32 @ALIGN(i32 noundef %18, i32 noundef 4096) #3
store i32 %20, ptr %19, align 4, !tbaa !18
%21 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2, i32 3
%22 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%23 = tail call ptr @dma_alloc_coherent(ptr noundef %5, i32 noundef %20, ptr noundef nonnull %21, i32 noundef %22) #3
%24 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2, i32 6
store ptr %23, ptr %24, align 8, !tbaa !19
%25 = icmp eq ptr %23, null
br i1 %25, label %187, label %26
26: ; preds = %16
%27 = load i32, ptr %19, align 4, !tbaa !18
%28 = tail call i32 @memset(ptr noundef nonnull %23, i32 noundef 0, i32 noundef %27) #3
%29 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2, i32 4
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %29, i8 0, i64 16, i1 false)
%30 = load i32, ptr @TDBAL, align 4, !tbaa !16
%31 = load i64, ptr %21, align 8, !tbaa !20
%32 = trunc i64 %31 to i32
%33 = tail call i32 @ew32(i32 noundef %30, i32 noundef %32) #3
%34 = load i32, ptr @TDBAH, align 4, !tbaa !16
%35 = tail call i32 @ew32(i32 noundef %34, i32 noundef poison) #3
%36 = load i32, ptr @TDLEN, align 4, !tbaa !16
%37 = load i32, ptr %3, align 8, !tbaa !15
%38 = mul i32 %37, 24
%39 = tail call i32 @ew32(i32 noundef %36, i32 noundef %38) #3
%40 = load i32, ptr @TDH, align 4, !tbaa !16
%41 = tail call i32 @ew32(i32 noundef %40, i32 noundef 0) #3
%42 = load i32, ptr @TDT, align 4, !tbaa !16
%43 = tail call i32 @ew32(i32 noundef %42, i32 noundef 0) #3
%44 = load i32, ptr @TCTL, align 4, !tbaa !16
%45 = load i32, ptr @E1000_TCTL_PSP, align 4, !tbaa !16
%46 = load i32, ptr @E1000_TCTL_EN, align 4, !tbaa !16
%47 = or i32 %46, %45
%48 = load i32, ptr @E1000_COLLISION_THRESHOLD, align 4, !tbaa !16
%49 = load i32, ptr @E1000_CT_SHIFT, align 4, !tbaa !16
%50 = shl i32 %48, %49
%51 = or i32 %47, %50
%52 = load i32, ptr @E1000_FDX_COLLISION_DISTANCE, align 4, !tbaa !16
%53 = load i32, ptr @E1000_COLD_SHIFT, align 4, !tbaa !16
%54 = shl i32 %52, %53
%55 = or i32 %51, %54
%56 = tail call i32 @ew32(i32 noundef %44, i32 noundef %55) #3
%57 = load i32, ptr %3, align 8, !tbaa !15
%58 = icmp sgt i32 %57, 0
br i1 %58, label %59, label %95
59: ; preds = %26, %66
%60 = phi i64 [ %91, %66 ], [ 0, %26 ]
%61 = trunc i64 %60 to i32
%62 = tail call ptr @E1000_TX_DESC(ptr noundef nonnull byval(%struct.e1000_tx_ring) align 8 %3, i32 noundef %61) #3
%63 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%64 = tail call ptr @alloc_skb(i32 noundef 1024, i32 noundef %63) #3
%65 = icmp eq ptr %64, null
br i1 %65, label %187, label %66
66: ; preds = %59
%67 = tail call i32 @skb_put(ptr noundef nonnull %64, i32 noundef 1024) #3
%68 = load ptr, ptr %14, align 8, !tbaa !17
%69 = getelementptr inbounds %struct.TYPE_5__, ptr %68, i64 %60, i32 2
store ptr %64, ptr %69, align 8, !tbaa !21
%70 = load i32, ptr %64, align 8, !tbaa !23
%71 = getelementptr inbounds %struct.TYPE_5__, ptr %68, i64 %60
store i32 %70, ptr %71, align 8, !tbaa !25
%72 = getelementptr inbounds %struct.sk_buff, ptr %64, i64 0, i32 1
%73 = load ptr, ptr %72, align 8, !tbaa !26
%74 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !16
%75 = tail call ptr @dma_map_single(ptr noundef %5, ptr noundef %73, i32 noundef %70, i32 noundef %74) #3
%76 = load ptr, ptr %14, align 8, !tbaa !17
%77 = getelementptr inbounds %struct.TYPE_5__, ptr %76, i64 %60, i32 1
store ptr %75, ptr %77, align 8, !tbaa !27
%78 = tail call ptr @cpu_to_le64(ptr noundef %75) #3
%79 = getelementptr inbounds %struct.e1000_tx_desc, ptr %62, i64 0, i32 2
store ptr %78, ptr %79, align 8, !tbaa !28
%80 = load i32, ptr %64, align 8, !tbaa !23
%81 = tail call i32 @cpu_to_le32(i32 noundef %80) #3
%82 = getelementptr inbounds %struct.e1000_tx_desc, ptr %62, i64 0, i32 1
store i32 %81, ptr %82, align 8, !tbaa !32
%83 = load i32, ptr @E1000_TXD_CMD_EOP, align 4, !tbaa !16
%84 = load i32, ptr @E1000_TXD_CMD_IFCS, align 4, !tbaa !16
%85 = or i32 %84, %83
%86 = load i32, ptr @E1000_TXD_CMD_RPS, align 4, !tbaa !16
%87 = or i32 %85, %86
%88 = tail call i32 @cpu_to_le32(i32 noundef %87) #3
%89 = load i32, ptr %82, align 8, !tbaa !32
%90 = or i32 %89, %88
store i32 %90, ptr %82, align 8, !tbaa !32
store i64 0, ptr %62, align 8, !tbaa !33
%91 = add nuw nsw i64 %60, 1
%92 = load i32, ptr %3, align 8, !tbaa !15
%93 = sext i32 %92 to i64
%94 = icmp slt i64 %91, %93
br i1 %94, label %59, label %95, !llvm.loop !34
95: ; preds = %66, %26
%96 = load i32, ptr %4, align 8, !tbaa !36
%97 = icmp eq i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %95
%99 = load i32, ptr @E1000_DEFAULT_RXD, align 4, !tbaa !16
store i32 %99, ptr %4, align 8, !tbaa !36
br label %100
100: ; preds = %98, %95
%101 = phi i32 [ %99, %98 ], [ %96, %95 ]
%102 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%103 = tail call ptr @kcalloc(i32 noundef %101, i32 noundef 4, i32 noundef %102) #3
%104 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1, i32 2
store ptr %103, ptr %104, align 8, !tbaa !37
%105 = icmp eq ptr %103, null
br i1 %105, label %187, label %106
106: ; preds = %100
%107 = load i32, ptr %4, align 8, !tbaa !36
%108 = shl i32 %107, 3
%109 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1, i32 1
store i32 %108, ptr %109, align 4, !tbaa !38
%110 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1, i32 3
%111 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%112 = tail call ptr @dma_alloc_coherent(ptr noundef %5, i32 noundef %108, ptr noundef nonnull %110, i32 noundef %111) #3
%113 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1, i32 6
store ptr %112, ptr %113, align 8, !tbaa !39
%114 = icmp eq ptr %112, null
br i1 %114, label %187, label %115
115: ; preds = %106
%116 = load i32, ptr %109, align 4, !tbaa !38
%117 = tail call i32 @memset(ptr noundef nonnull %112, i32 noundef 0, i32 noundef %116) #3
%118 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1, i32 4
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %118, i8 0, i64 16, i1 false)
%119 = load i32, ptr @RCTL, align 4, !tbaa !16
%120 = tail call i32 @er32(i32 noundef %119) #3
%121 = load i32, ptr @RCTL, align 4, !tbaa !16
%122 = load i32, ptr @E1000_RCTL_EN, align 4, !tbaa !16
%123 = xor i32 %122, -1
%124 = and i32 %120, %123
%125 = tail call i32 @ew32(i32 noundef %121, i32 noundef %124) #3
%126 = load i32, ptr @RDBAL, align 4, !tbaa !16
%127 = load i64, ptr %110, align 8, !tbaa !40
%128 = trunc i64 %127 to i32
%129 = tail call i32 @ew32(i32 noundef %126, i32 noundef %128) #3
%130 = load i32, ptr @RDBAH, align 4, !tbaa !16
%131 = tail call i32 @ew32(i32 noundef %130, i32 noundef poison) #3
%132 = load i32, ptr @RDLEN, align 4, !tbaa !16
%133 = load i32, ptr %109, align 4, !tbaa !38
%134 = tail call i32 @ew32(i32 noundef %132, i32 noundef %133) #3
%135 = load i32, ptr @RDH, align 4, !tbaa !16
%136 = tail call i32 @ew32(i32 noundef %135, i32 noundef 0) #3
%137 = load i32, ptr @RDT, align 4, !tbaa !16
%138 = tail call i32 @ew32(i32 noundef %137, i32 noundef 0) #3
%139 = load i32, ptr @E1000_RCTL_EN, align 4, !tbaa !16
%140 = load i32, ptr @E1000_RCTL_BAM, align 4, !tbaa !16
%141 = or i32 %140, %139
%142 = load i32, ptr @E1000_RCTL_SZ_2048, align 4, !tbaa !16
%143 = or i32 %141, %142
%144 = load i32, ptr @E1000_RCTL_LBM_NO, align 4, !tbaa !16
%145 = or i32 %143, %144
%146 = load i32, ptr @E1000_RCTL_RDMTS_HALF, align 4, !tbaa !16
%147 = or i32 %145, %146
%148 = load i32, ptr %2, align 4, !tbaa !41
%149 = load i32, ptr @E1000_RCTL_MO_SHIFT, align 4, !tbaa !16
%150 = shl i32 %148, %149
%151 = or i32 %147, %150
%152 = load i32, ptr @RCTL, align 4, !tbaa !16
%153 = tail call i32 @ew32(i32 noundef %152, i32 noundef %151) #3
%154 = load i32, ptr %4, align 8, !tbaa !36
%155 = icmp sgt i32 %154, 0
br i1 %155, label %156, label %190
156: ; preds = %115, %166
%157 = phi i64 [ %183, %166 ], [ 0, %115 ]
%158 = trunc i64 %157 to i32
%159 = tail call ptr @E1000_RX_DESC(ptr noundef nonnull byval(%struct.e1000_rx_ring) align 8 %4, i32 noundef %158) #3
%160 = load i32, ptr @E1000_RXBUFFER_2048, align 4, !tbaa !16
%161 = load i32, ptr @NET_IP_ALIGN, align 4, !tbaa !16
%162 = add i32 %161, %160
%163 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%164 = tail call ptr @alloc_skb(i32 noundef %162, i32 noundef %163) #3
%165 = icmp eq ptr %164, null
br i1 %165, label %187, label %166
166: ; preds = %156
%167 = load i32, ptr @NET_IP_ALIGN, align 4, !tbaa !16
%168 = tail call i32 @skb_reserve(ptr noundef nonnull %164, i32 noundef %167) #3
%169 = load ptr, ptr %104, align 8, !tbaa !37
%170 = getelementptr inbounds %struct.TYPE_8__, ptr %169, i64 %157, i32 2
store ptr %164, ptr %170, align 8, !tbaa !42
%171 = load i32, ptr @E1000_RXBUFFER_2048, align 4, !tbaa !16
%172 = getelementptr inbounds %struct.TYPE_8__, ptr %169, i64 %157
store i32 %171, ptr %172, align 8, !tbaa !44
%173 = getelementptr inbounds %struct.sk_buff, ptr %164, i64 0, i32 1
%174 = load ptr, ptr %173, align 8, !tbaa !26
%175 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !16
%176 = tail call ptr @dma_map_single(ptr noundef %5, ptr noundef %174, i32 noundef %171, i32 noundef %175) #3
%177 = load ptr, ptr %104, align 8, !tbaa !37
%178 = getelementptr inbounds %struct.TYPE_8__, ptr %177, i64 %157, i32 1
store ptr %176, ptr %178, align 8, !tbaa !45
%179 = tail call ptr @cpu_to_le64(ptr noundef %176) #3
store ptr %179, ptr %159, align 8, !tbaa !46
%180 = load ptr, ptr %173, align 8, !tbaa !26
%181 = load i32, ptr %164, align 8, !tbaa !23
%182 = tail call i32 @memset(ptr noundef %180, i32 noundef 0, i32 noundef %181) #3
%183 = add nuw nsw i64 %157, 1
%184 = load i32, ptr %4, align 8, !tbaa !36
%185 = sext i32 %184 to i64
%186 = icmp slt i64 %183, %185
br i1 %186, label %156, label %190, !llvm.loop !48
187: ; preds = %59, %156, %106, %100, %16, %10
%188 = phi i32 [ 1, %10 ], [ 2, %16 ], [ 4, %100 ], [ 5, %106 ], [ 6, %156 ], [ 3, %59 ]
%189 = tail call i32 @e1000_free_desc_rings(ptr noundef nonnull %0) #3
br label %190
190: ; preds = %166, %115, %187
%191 = phi i32 [ %188, %187 ], [ 0, %115 ], [ 0, %166 ]
ret i32 %191
}
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @dma_alloc_coherent(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @E1000_TX_DESC(ptr noundef byval(%struct.e1000_tx_ring) align 8, i32 noundef) local_unnamed_addr #1
declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @dma_map_single(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le64(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @er32(i32 noundef) local_unnamed_addr #1
declare ptr @E1000_RX_DESC(ptr noundef byval(%struct.e1000_rx_ring) align 8, i32 noundef) local_unnamed_addr #1
declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @e1000_free_desc_rings(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"e1000_adapter", !7, i64 0, !10, i64 8, !13, i64 56, !14, i64 104}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"e1000_rx_ring", !11, i64 0, !11, i64 4, !7, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !7, i64 40}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!"e1000_tx_ring", !11, i64 0, !11, i64 4, !7, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !7, i64 40}
!14 = !{!"e1000_hw", !11, i64 0}
!15 = !{!13, !11, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!13, !7, i64 8}
!18 = !{!13, !11, i64 4}
!19 = !{!13, !7, i64 40}
!20 = !{!13, !12, i64 16}
!21 = !{!22, !7, i64 16}
!22 = !{!"TYPE_5__", !11, i64 0, !7, i64 8, !7, i64 16}
!23 = !{!24, !11, i64 0}
!24 = !{!"sk_buff", !11, i64 0, !7, i64 8}
!25 = !{!22, !11, i64 0}
!26 = !{!24, !7, i64 8}
!27 = !{!22, !7, i64 8}
!28 = !{!29, !7, i64 16}
!29 = !{!"e1000_tx_desc", !30, i64 0, !31, i64 8, !7, i64 16}
!30 = !{!"TYPE_7__", !12, i64 0}
!31 = !{!"TYPE_6__", !11, i64 0}
!32 = !{!29, !11, i64 8}
!33 = !{!29, !12, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!10, !11, i64 0}
!37 = !{!10, !7, i64 8}
!38 = !{!10, !11, i64 4}
!39 = !{!10, !7, i64 40}
!40 = !{!10, !12, i64 16}
!41 = !{!14, !11, i64 0}
!42 = !{!43, !7, i64 16}
!43 = !{!"TYPE_8__", !11, i64 0, !7, i64 8, !7, i64 16}
!44 = !{!43, !11, i64 0}
!45 = !{!43, !7, i64 8}
!46 = !{!47, !7, i64 0}
!47 = !{!"e1000_rx_desc", !7, i64 0}
!48 = distinct !{!48, !35}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_ethtool.c_e1000_setup_desc_rings.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000/extr_e1000_ethtool.c_e1000_setup_desc_rings.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.e1000_tx_ring = type { i32, i32, ptr, i64, i64, i64, ptr }
%struct.e1000_rx_ring = type { i32, i32, ptr, i64, i64, i64, ptr }
%struct.TYPE_5__ = type { i32, ptr, ptr }
%struct.TYPE_8__ = type { i32, ptr, ptr }
@E1000_DEFAULT_TXD = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@TDBAL = common local_unnamed_addr global i32 0, align 4
@TDBAH = common local_unnamed_addr global i32 0, align 4
@TDLEN = common local_unnamed_addr global i32 0, align 4
@TDH = common local_unnamed_addr global i32 0, align 4
@TDT = common local_unnamed_addr global i32 0, align 4
@TCTL = common local_unnamed_addr global i32 0, align 4
@E1000_TCTL_PSP = common local_unnamed_addr global i32 0, align 4
@E1000_TCTL_EN = common local_unnamed_addr global i32 0, align 4
@E1000_COLLISION_THRESHOLD = common local_unnamed_addr global i32 0, align 4
@E1000_CT_SHIFT = common local_unnamed_addr global i32 0, align 4
@E1000_FDX_COLLISION_DISTANCE = common local_unnamed_addr global i32 0, align 4
@E1000_COLD_SHIFT = common local_unnamed_addr global i32 0, align 4
@DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4
@E1000_TXD_CMD_EOP = common local_unnamed_addr global i32 0, align 4
@E1000_TXD_CMD_IFCS = common local_unnamed_addr global i32 0, align 4
@E1000_TXD_CMD_RPS = common local_unnamed_addr global i32 0, align 4
@E1000_DEFAULT_RXD = common local_unnamed_addr global i32 0, align 4
@RCTL = common local_unnamed_addr global i32 0, align 4
@E1000_RCTL_EN = common local_unnamed_addr global i32 0, align 4
@RDBAL = common local_unnamed_addr global i32 0, align 4
@RDBAH = common local_unnamed_addr global i32 0, align 4
@RDLEN = common local_unnamed_addr global i32 0, align 4
@RDH = common local_unnamed_addr global i32 0, align 4
@RDT = common local_unnamed_addr global i32 0, align 4
@E1000_RCTL_BAM = common local_unnamed_addr global i32 0, align 4
@E1000_RCTL_SZ_2048 = common local_unnamed_addr global i32 0, align 4
@E1000_RCTL_LBM_NO = common local_unnamed_addr global i32 0, align 4
@E1000_RCTL_RDMTS_HALF = common local_unnamed_addr global i32 0, align 4
@E1000_RCTL_MO_SHIFT = common local_unnamed_addr global i32 0, align 4
@E1000_RXBUFFER_2048 = common local_unnamed_addr global i32 0, align 4
@NET_IP_ALIGN = common local_unnamed_addr global i32 0, align 4
@DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @e1000_setup_desc_rings], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @e1000_setup_desc_rings(ptr noundef %0) #0 {
%2 = alloca %struct.e1000_tx_ring, align 8
%3 = alloca %struct.e1000_rx_ring, align 8
%4 = getelementptr inbounds i8, ptr %0, i64 104
%5 = getelementptr inbounds i8, ptr %0, i64 56
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = load i32, ptr %5, align 8, !tbaa !16
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = load i32, ptr @E1000_DEFAULT_TXD, align 4, !tbaa !17
store i32 %11, ptr %5, align 8, !tbaa !16
br label %12
12: ; preds = %10, %1
%13 = phi i32 [ %11, %10 ], [ %8, %1 ]
%14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%15 = tail call ptr @kcalloc(i32 noundef %13, i32 noundef 4, i32 noundef %14) #5
%16 = getelementptr inbounds i8, ptr %0, i64 64
store ptr %15, ptr %16, align 8, !tbaa !18
%17 = icmp eq ptr %15, null
br i1 %17, label %189, label %18
18: ; preds = %12
%19 = load i32, ptr %5, align 8, !tbaa !16
%20 = mul i32 %19, 24
%21 = getelementptr inbounds i8, ptr %0, i64 60
store i32 %20, ptr %21, align 4, !tbaa !19
%22 = tail call i32 @ALIGN(i32 noundef %20, i32 noundef 4096) #5
store i32 %22, ptr %21, align 4, !tbaa !19
%23 = getelementptr inbounds i8, ptr %0, i64 72
%24 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%25 = tail call ptr @dma_alloc_coherent(ptr noundef %7, i32 noundef %22, ptr noundef nonnull %23, i32 noundef %24) #5
%26 = getelementptr inbounds i8, ptr %0, i64 96
store ptr %25, ptr %26, align 8, !tbaa !20
%27 = icmp eq ptr %25, null
br i1 %27, label %189, label %28
28: ; preds = %18
%29 = load i32, ptr %21, align 4, !tbaa !19
%30 = tail call i32 @memset(ptr noundef nonnull %25, i32 noundef 0, i32 noundef %29) #5
%31 = getelementptr inbounds i8, ptr %0, i64 80
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %31, i8 0, i64 16, i1 false)
%32 = load i32, ptr @TDBAL, align 4, !tbaa !17
%33 = load i64, ptr %23, align 8, !tbaa !21
%34 = trunc i64 %33 to i32
%35 = tail call i32 @ew32(i32 noundef %32, i32 noundef %34) #5
%36 = load i32, ptr @TDBAH, align 4, !tbaa !17
%37 = tail call i32 @ew32(i32 noundef %36, i32 noundef poison) #5
%38 = load i32, ptr @TDLEN, align 4, !tbaa !17
%39 = load i32, ptr %5, align 8, !tbaa !16
%40 = mul i32 %39, 24
%41 = tail call i32 @ew32(i32 noundef %38, i32 noundef %40) #5
%42 = load i32, ptr @TDH, align 4, !tbaa !17
%43 = tail call i32 @ew32(i32 noundef %42, i32 noundef 0) #5
%44 = load i32, ptr @TDT, align 4, !tbaa !17
%45 = tail call i32 @ew32(i32 noundef %44, i32 noundef 0) #5
%46 = load i32, ptr @TCTL, align 4, !tbaa !17
%47 = load i32, ptr @E1000_TCTL_PSP, align 4, !tbaa !17
%48 = load i32, ptr @E1000_TCTL_EN, align 4, !tbaa !17
%49 = or i32 %48, %47
%50 = load i32, ptr @E1000_COLLISION_THRESHOLD, align 4, !tbaa !17
%51 = load i32, ptr @E1000_CT_SHIFT, align 4, !tbaa !17
%52 = shl i32 %50, %51
%53 = or i32 %49, %52
%54 = load i32, ptr @E1000_FDX_COLLISION_DISTANCE, align 4, !tbaa !17
%55 = load i32, ptr @E1000_COLD_SHIFT, align 4, !tbaa !17
%56 = shl i32 %54, %55
%57 = or i32 %53, %56
%58 = tail call i32 @ew32(i32 noundef %46, i32 noundef %57) #5
%59 = load i32, ptr %5, align 8, !tbaa !16
%60 = icmp sgt i32 %59, 0
br i1 %60, label %61, label %97
61: ; preds = %28, %68
%62 = phi i64 [ %93, %68 ], [ 0, %28 ]
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(48) %5, i64 48, i1 false), !tbaa.struct !22
%63 = trunc nuw nsw i64 %62 to i32
%64 = call ptr @E1000_TX_DESC(ptr noundef nonnull %2, i32 noundef %63) #5
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #5
%65 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%66 = call ptr @alloc_skb(i32 noundef 1024, i32 noundef %65) #5
%67 = icmp eq ptr %66, null
br i1 %67, label %189, label %68
68: ; preds = %61
%69 = call i32 @skb_put(ptr noundef nonnull %66, i32 noundef 1024) #5
%70 = load ptr, ptr %16, align 8, !tbaa !18
%71 = getelementptr inbounds %struct.TYPE_5__, ptr %70, i64 %62, i32 2
store ptr %66, ptr %71, align 8, !tbaa !25
%72 = load i32, ptr %66, align 8, !tbaa !27
%73 = getelementptr inbounds %struct.TYPE_5__, ptr %70, i64 %62
store i32 %72, ptr %73, align 8, !tbaa !29
%74 = getelementptr inbounds i8, ptr %66, i64 8
%75 = load ptr, ptr %74, align 8, !tbaa !30
%76 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !17
%77 = call ptr @dma_map_single(ptr noundef %7, ptr noundef %75, i32 noundef %72, i32 noundef %76) #5
%78 = load ptr, ptr %16, align 8, !tbaa !18
%79 = getelementptr inbounds %struct.TYPE_5__, ptr %78, i64 %62, i32 1
store ptr %77, ptr %79, align 8, !tbaa !31
%80 = call ptr @cpu_to_le64(ptr noundef %77) #5
%81 = getelementptr inbounds i8, ptr %64, i64 16
store ptr %80, ptr %81, align 8, !tbaa !32
%82 = load i32, ptr %66, align 8, !tbaa !27
%83 = call i32 @cpu_to_le32(i32 noundef %82) #5
%84 = getelementptr inbounds i8, ptr %64, i64 8
store i32 %83, ptr %84, align 8, !tbaa !36
%85 = load i32, ptr @E1000_TXD_CMD_EOP, align 4, !tbaa !17
%86 = load i32, ptr @E1000_TXD_CMD_IFCS, align 4, !tbaa !17
%87 = or i32 %86, %85
%88 = load i32, ptr @E1000_TXD_CMD_RPS, align 4, !tbaa !17
%89 = or i32 %87, %88
%90 = call i32 @cpu_to_le32(i32 noundef %89) #5
%91 = load i32, ptr %84, align 8, !tbaa !36
%92 = or i32 %91, %90
store i32 %92, ptr %84, align 8, !tbaa !36
store i64 0, ptr %64, align 8, !tbaa !37
%93 = add nuw nsw i64 %62, 1
%94 = load i32, ptr %5, align 8, !tbaa !16
%95 = sext i32 %94 to i64
%96 = icmp slt i64 %93, %95
br i1 %96, label %61, label %97, !llvm.loop !38
97: ; preds = %68, %28
%98 = load i32, ptr %6, align 8, !tbaa !40
%99 = icmp eq i32 %98, 0
br i1 %99, label %100, label %102
100: ; preds = %97
%101 = load i32, ptr @E1000_DEFAULT_RXD, align 4, !tbaa !17
store i32 %101, ptr %6, align 8, !tbaa !40
br label %102
102: ; preds = %100, %97
%103 = phi i32 [ %101, %100 ], [ %98, %97 ]
%104 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%105 = call ptr @kcalloc(i32 noundef %103, i32 noundef 4, i32 noundef %104) #5
%106 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %105, ptr %106, align 8, !tbaa !41
%107 = icmp eq ptr %105, null
br i1 %107, label %189, label %108
108: ; preds = %102
%109 = load i32, ptr %6, align 8, !tbaa !40
%110 = shl i32 %109, 3
%111 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %110, ptr %111, align 4, !tbaa !42
%112 = getelementptr inbounds i8, ptr %0, i64 24
%113 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%114 = call ptr @dma_alloc_coherent(ptr noundef %7, i32 noundef %110, ptr noundef nonnull %112, i32 noundef %113) #5
%115 = getelementptr inbounds i8, ptr %0, i64 48
store ptr %114, ptr %115, align 8, !tbaa !43
%116 = icmp eq ptr %114, null
br i1 %116, label %189, label %117
117: ; preds = %108
%118 = load i32, ptr %111, align 4, !tbaa !42
%119 = call i32 @memset(ptr noundef nonnull %114, i32 noundef 0, i32 noundef %118) #5
%120 = getelementptr inbounds i8, ptr %0, i64 32
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %120, i8 0, i64 16, i1 false)
%121 = load i32, ptr @RCTL, align 4, !tbaa !17
%122 = call i32 @er32(i32 noundef %121) #5
%123 = load i32, ptr @RCTL, align 4, !tbaa !17
%124 = load i32, ptr @E1000_RCTL_EN, align 4, !tbaa !17
%125 = xor i32 %124, -1
%126 = and i32 %122, %125
%127 = call i32 @ew32(i32 noundef %123, i32 noundef %126) #5
%128 = load i32, ptr @RDBAL, align 4, !tbaa !17
%129 = load i64, ptr %112, align 8, !tbaa !44
%130 = trunc i64 %129 to i32
%131 = call i32 @ew32(i32 noundef %128, i32 noundef %130) #5
%132 = load i32, ptr @RDBAH, align 4, !tbaa !17
%133 = call i32 @ew32(i32 noundef %132, i32 noundef poison) #5
%134 = load i32, ptr @RDLEN, align 4, !tbaa !17
%135 = load i32, ptr %111, align 4, !tbaa !42
%136 = call i32 @ew32(i32 noundef %134, i32 noundef %135) #5
%137 = load i32, ptr @RDH, align 4, !tbaa !17
%138 = call i32 @ew32(i32 noundef %137, i32 noundef 0) #5
%139 = load i32, ptr @RDT, align 4, !tbaa !17
%140 = call i32 @ew32(i32 noundef %139, i32 noundef 0) #5
%141 = load i32, ptr @E1000_RCTL_EN, align 4, !tbaa !17
%142 = load i32, ptr @E1000_RCTL_BAM, align 4, !tbaa !17
%143 = or i32 %142, %141
%144 = load i32, ptr @E1000_RCTL_SZ_2048, align 4, !tbaa !17
%145 = or i32 %143, %144
%146 = load i32, ptr @E1000_RCTL_LBM_NO, align 4, !tbaa !17
%147 = or i32 %145, %146
%148 = load i32, ptr @E1000_RCTL_RDMTS_HALF, align 4, !tbaa !17
%149 = or i32 %147, %148
%150 = load i32, ptr %4, align 4, !tbaa !45
%151 = load i32, ptr @E1000_RCTL_MO_SHIFT, align 4, !tbaa !17
%152 = shl i32 %150, %151
%153 = or i32 %149, %152
%154 = load i32, ptr @RCTL, align 4, !tbaa !17
%155 = call i32 @ew32(i32 noundef %154, i32 noundef %153) #5
%156 = load i32, ptr %6, align 8, !tbaa !40
%157 = icmp sgt i32 %156, 0
br i1 %157, label %158, label %192
158: ; preds = %117, %168
%159 = phi i64 [ %185, %168 ], [ 0, %117 ]
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #5
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %6, i64 48, i1 false), !tbaa.struct !22
%160 = trunc nuw nsw i64 %159 to i32
%161 = call ptr @E1000_RX_DESC(ptr noundef nonnull %3, i32 noundef %160) #5
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
%162 = load i32, ptr @E1000_RXBUFFER_2048, align 4, !tbaa !17
%163 = load i32, ptr @NET_IP_ALIGN, align 4, !tbaa !17
%164 = add i32 %163, %162
%165 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%166 = call ptr @alloc_skb(i32 noundef %164, i32 noundef %165) #5
%167 = icmp eq ptr %166, null
br i1 %167, label %189, label %168
168: ; preds = %158
%169 = load i32, ptr @NET_IP_ALIGN, align 4, !tbaa !17
%170 = call i32 @skb_reserve(ptr noundef nonnull %166, i32 noundef %169) #5
%171 = load ptr, ptr %106, align 8, !tbaa !41
%172 = getelementptr inbounds %struct.TYPE_8__, ptr %171, i64 %159, i32 2
store ptr %166, ptr %172, align 8, !tbaa !46
%173 = load i32, ptr @E1000_RXBUFFER_2048, align 4, !tbaa !17
%174 = getelementptr inbounds %struct.TYPE_8__, ptr %171, i64 %159
store i32 %173, ptr %174, align 8, !tbaa !48
%175 = getelementptr inbounds i8, ptr %166, i64 8
%176 = load ptr, ptr %175, align 8, !tbaa !30
%177 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !17
%178 = call ptr @dma_map_single(ptr noundef %7, ptr noundef %176, i32 noundef %173, i32 noundef %177) #5
%179 = load ptr, ptr %106, align 8, !tbaa !41
%180 = getelementptr inbounds %struct.TYPE_8__, ptr %179, i64 %159, i32 1
store ptr %178, ptr %180, align 8, !tbaa !49
%181 = call ptr @cpu_to_le64(ptr noundef %178) #5
store ptr %181, ptr %161, align 8, !tbaa !50
%182 = load ptr, ptr %175, align 8, !tbaa !30
%183 = load i32, ptr %166, align 8, !tbaa !27
%184 = call i32 @memset(ptr noundef %182, i32 noundef 0, i32 noundef %183) #5
%185 = add nuw nsw i64 %159, 1
%186 = load i32, ptr %6, align 8, !tbaa !40
%187 = sext i32 %186 to i64
%188 = icmp slt i64 %185, %187
br i1 %188, label %158, label %192, !llvm.loop !52
189: ; preds = %61, %158, %108, %102, %18, %12
%190 = phi i32 [ 1, %12 ], [ 2, %18 ], [ 4, %102 ], [ 5, %108 ], [ 6, %158 ], [ 3, %61 ]
%191 = call i32 @e1000_free_desc_rings(ptr noundef nonnull %0) #5
br label %192
192: ; preds = %168, %117, %189
%193 = phi i32 [ %190, %189 ], [ 0, %117 ], [ 0, %168 ]
ret i32 %193
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @kcalloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @dma_alloc_coherent(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @E1000_TX_DESC(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @dma_map_single(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @cpu_to_le64(ptr noundef) local_unnamed_addr #2
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2
declare i32 @er32(i32 noundef) local_unnamed_addr #2
declare ptr @E1000_RX_DESC(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @e1000_free_desc_rings(ptr noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"e1000_adapter", !8, i64 0, !11, i64 8, !14, i64 56, !15, i64 104}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"e1000_rx_ring", !12, i64 0, !12, i64 4, !8, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !8, i64 40}
!12 = !{!"int", !9, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!"e1000_tx_ring", !12, i64 0, !12, i64 4, !8, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !8, i64 40}
!15 = !{!"e1000_hw", !12, i64 0}
!16 = !{!14, !12, i64 0}
!17 = !{!12, !12, i64 0}
!18 = !{!14, !8, i64 8}
!19 = !{!14, !12, i64 4}
!20 = !{!14, !8, i64 40}
!21 = !{!14, !13, i64 16}
!22 = !{i64 0, i64 4, !17, i64 4, i64 4, !17, i64 8, i64 8, !23, i64 16, i64 8, !24, i64 24, i64 8, !24, i64 32, i64 8, !24, i64 40, i64 8, !23}
!23 = !{!8, !8, i64 0}
!24 = !{!13, !13, i64 0}
!25 = !{!26, !8, i64 16}
!26 = !{!"TYPE_5__", !12, i64 0, !8, i64 8, !8, i64 16}
!27 = !{!28, !12, i64 0}
!28 = !{!"sk_buff", !12, i64 0, !8, i64 8}
!29 = !{!26, !12, i64 0}
!30 = !{!28, !8, i64 8}
!31 = !{!26, !8, i64 8}
!32 = !{!33, !8, i64 16}
!33 = !{!"e1000_tx_desc", !34, i64 0, !35, i64 8, !8, i64 16}
!34 = !{!"TYPE_7__", !13, i64 0}
!35 = !{!"TYPE_6__", !12, i64 0}
!36 = !{!33, !12, i64 8}
!37 = !{!33, !13, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!11, !12, i64 0}
!41 = !{!11, !8, i64 8}
!42 = !{!11, !12, i64 4}
!43 = !{!11, !8, i64 40}
!44 = !{!11, !13, i64 16}
!45 = !{!15, !12, i64 0}
!46 = !{!47, !8, i64 16}
!47 = !{!"TYPE_8__", !12, i64 0, !8, i64 8, !8, i64 16}
!48 = !{!47, !12, i64 0}
!49 = !{!47, !8, i64 8}
!50 = !{!51, !8, i64 0}
!51 = !{!"e1000_rx_desc", !8, i64 0}
!52 = distinct !{!52, !39}
| fastsocket_kernel_drivers_net_e1000_extr_e1000_ethtool.c_e1000_setup_desc_rings |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_namei.c_reiserfs_symlink.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_namei.c_reiserfs_symlink.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.reiserfs_transaction_handle = type { i32 }
%struct.reiserfs_security_handle = type { i32 }
%struct.inode = type { ptr, i32, ptr, ptr }
%struct.TYPE_11__ = type { i32, i32 }
@S_IFLNK = dso_local local_unnamed_addr global i32 0, align 4
@S_IRWXUGO = dso_local local_unnamed_addr global i32 0, align 4
@JOURNAL_PER_BALANCE_CNT = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ENAMETOOLONG = dso_local local_unnamed_addr global i32 0, align 4
@GFP_NOFS = dso_local local_unnamed_addr global i32 0, align 4
@reiserfs_symlink_inode_operations = dso_local global i32 0, align 4
@reiserfs_address_space_operations = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @reiserfs_symlink], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @reiserfs_symlink(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.reiserfs_transaction_handle, align 4
%5 = alloca %struct.reiserfs_security_handle, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = load i32, ptr @S_IFLNK, align 4, !tbaa !5
%7 = load i32, ptr @S_IRWXUGO, align 4, !tbaa !5
%8 = or i32 %7, %6
%9 = load i32, ptr @JOURNAL_PER_BALANCE_CNT, align 4, !tbaa !5
%10 = mul nsw i32 %9, 3
%11 = load ptr, ptr %0, align 8, !tbaa !9
%12 = tail call i32 @REISERFS_QUOTA_INIT_BLOCKS(ptr noundef %11) #3
%13 = load ptr, ptr %0, align 8, !tbaa !9
%14 = tail call i32 @REISERFS_QUOTA_TRANS_BLOCKS(ptr noundef %13) #3
%15 = add nsw i32 %14, %12
%16 = shl nsw i32 %15, 1
%17 = add nsw i32 %16, %10
%18 = load ptr, ptr %0, align 8, !tbaa !9
%19 = tail call ptr @new_inode(ptr noundef %18) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %3
%22 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%23 = sub nsw i32 0, %22
br label %99
24: ; preds = %3
%25 = tail call i32 @new_inode_init(ptr noundef nonnull %19, ptr noundef nonnull %0, i32 noundef %8) #3
%26 = call i32 @reiserfs_security_init(ptr noundef nonnull %0, ptr noundef nonnull %19, ptr noundef nonnull %5) #3
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = call i32 @drop_new_inode(ptr noundef nonnull %19) #3
br label %99
30: ; preds = %24
%31 = add nsw i32 %17, %26
%32 = load ptr, ptr %0, align 8, !tbaa !9
%33 = call i32 @reiserfs_write_lock(ptr noundef %32) #3
%34 = call i32 @strlen(ptr noundef %2) #3
%35 = call i32 @ROUND_UP(i32 noundef %34) #3
%36 = load ptr, ptr %0, align 8, !tbaa !9
%37 = load i32, ptr %36, align 4, !tbaa !12
%38 = call i32 @MAX_DIRECT_ITEM_LEN(i32 noundef %37) #3
%39 = icmp sgt i32 %35, %38
br i1 %39, label %40, label %44
40: ; preds = %30
%41 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !5
%42 = sub nsw i32 0, %41
%43 = call i32 @drop_new_inode(ptr noundef nonnull %19) #3
br label %95
44: ; preds = %30
%45 = load i32, ptr @GFP_NOFS, align 4, !tbaa !5
%46 = call ptr @kmalloc(i32 noundef %35, i32 noundef %45) #3
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = call i32 @drop_new_inode(ptr noundef nonnull %19) #3
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%51 = sub nsw i32 0, %50
br label %95
52: ; preds = %44
%53 = call i32 @strlen(ptr noundef %2) #3
%54 = call i32 @memcpy(ptr noundef nonnull %46, ptr noundef %2, i32 noundef %53) #3
%55 = call i32 @strlen(ptr noundef %2) #3
%56 = call i32 @padd_item(ptr noundef nonnull %46, i32 noundef %35, i32 noundef %55) #3
%57 = load ptr, ptr %0, align 8, !tbaa !9
%58 = call i32 @journal_begin(ptr noundef nonnull %4, ptr noundef %57, i32 noundef %31) #3
%59 = icmp eq i32 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %52
%61 = call i32 @drop_new_inode(ptr noundef nonnull %19) #3
%62 = call i32 @kfree(ptr noundef nonnull %46) #3
br label %95
63: ; preds = %52
%64 = call i32 @strlen(ptr noundef %2) #3
%65 = call i32 @reiserfs_new_inode(ptr noundef nonnull %4, ptr noundef nonnull %0, i32 noundef %8, ptr noundef nonnull %46, i32 noundef %64, ptr noundef %1, ptr noundef nonnull %19, ptr noundef nonnull %5) #3
%66 = call i32 @kfree(ptr noundef nonnull %46) #3
%67 = icmp eq i32 %65, 0
br i1 %67, label %68, label %95
68: ; preds = %63
%69 = call i32 @reiserfs_update_inode_transaction(ptr noundef nonnull %19) #3
%70 = call i32 @reiserfs_update_inode_transaction(ptr noundef nonnull %0) #3
%71 = getelementptr inbounds %struct.inode, ptr %19, i64 0, i32 3
store ptr @reiserfs_symlink_inode_operations, ptr %71, align 8, !tbaa !14
%72 = getelementptr inbounds %struct.inode, ptr %19, i64 0, i32 2
%73 = load ptr, ptr %72, align 8, !tbaa !15
store ptr @reiserfs_address_space_operations, ptr %73, align 8, !tbaa !16
%74 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1
%75 = load i32, ptr %74, align 4, !tbaa !18
%76 = load i32, ptr %1, align 4, !tbaa !21
%77 = call i32 @reiserfs_add_entry(ptr noundef nonnull %4, ptr noundef nonnull %0, i32 noundef %75, i32 noundef %76, ptr noundef nonnull %19, i32 noundef 1) #3
%78 = icmp eq i32 %77, 0
br i1 %78, label %90, label %79
79: ; preds = %68
%80 = getelementptr inbounds %struct.inode, ptr %19, i64 0, i32 1
%81 = load i32, ptr %80, align 8, !tbaa !22
%82 = add nsw i32 %81, -1
store i32 %82, ptr %80, align 8, !tbaa !22
%83 = call i32 @reiserfs_update_sd(ptr noundef nonnull %4, ptr noundef nonnull %19) #3
%84 = load ptr, ptr %0, align 8, !tbaa !9
%85 = call i32 @journal_end(ptr noundef nonnull %4, ptr noundef %84, i32 noundef %31) #3
%86 = icmp eq i32 %85, 0
%87 = select i1 %86, i32 %77, i32 %85
%88 = call i32 @unlock_new_inode(ptr noundef nonnull %19) #3
%89 = call i32 @iput(ptr noundef nonnull %19) #3
br label %95
90: ; preds = %68
%91 = call i32 @d_instantiate(ptr noundef nonnull %1, ptr noundef nonnull %19) #3
%92 = call i32 @unlock_new_inode(ptr noundef nonnull %19) #3
%93 = load ptr, ptr %0, align 8, !tbaa !9
%94 = call i32 @journal_end(ptr noundef nonnull %4, ptr noundef %93, i32 noundef %31) #3
br label %95
95: ; preds = %79, %63, %90, %60, %48, %40
%96 = phi i32 [ %42, %40 ], [ %58, %60 ], [ %65, %63 ], [ %87, %79 ], [ %94, %90 ], [ %51, %48 ]
%97 = load ptr, ptr %0, align 8, !tbaa !9
%98 = call i32 @reiserfs_write_unlock(ptr noundef %97) #3
br label %99
99: ; preds = %95, %28, %21
%100 = phi i32 [ %26, %28 ], [ %96, %95 ], [ %23, %21 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %100
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @REISERFS_QUOTA_INIT_BLOCKS(ptr noundef) local_unnamed_addr #2
declare i32 @REISERFS_QUOTA_TRANS_BLOCKS(ptr noundef) local_unnamed_addr #2
declare ptr @new_inode(ptr noundef) local_unnamed_addr #2
declare i32 @new_inode_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @reiserfs_security_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @drop_new_inode(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_write_lock(ptr noundef) local_unnamed_addr #2
declare i32 @ROUND_UP(i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @MAX_DIRECT_ITEM_LEN(i32 noundef) local_unnamed_addr #2
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @padd_item(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @journal_begin(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_new_inode(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_update_inode_transaction(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_add_entry(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @reiserfs_update_sd(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @journal_end(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @unlock_new_inode(ptr noundef) local_unnamed_addr #2
declare i32 @iput(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @d_instantiate(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_write_unlock(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"inode", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_12__", !6, i64 0}
!14 = !{!10, !11, i64 24}
!15 = !{!10, !11, i64 16}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_10__", !11, i64 0}
!18 = !{!19, !6, i64 4}
!19 = !{!"dentry", !20, i64 0}
!20 = !{!"TYPE_11__", !6, i64 0, !6, i64 4}
!21 = !{!19, !6, i64 0}
!22 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_namei.c_reiserfs_symlink.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_namei.c_reiserfs_symlink.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.reiserfs_transaction_handle = type { i32 }
%struct.reiserfs_security_handle = type { i32 }
@S_IFLNK = common local_unnamed_addr global i32 0, align 4
@S_IRWXUGO = common local_unnamed_addr global i32 0, align 4
@JOURNAL_PER_BALANCE_CNT = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ENAMETOOLONG = common local_unnamed_addr global i32 0, align 4
@GFP_NOFS = common local_unnamed_addr global i32 0, align 4
@reiserfs_symlink_inode_operations = common global i32 0, align 4
@reiserfs_address_space_operations = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @reiserfs_symlink], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @reiserfs_symlink(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.reiserfs_transaction_handle, align 4
%5 = alloca %struct.reiserfs_security_handle, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = load i32, ptr @S_IFLNK, align 4, !tbaa !6
%7 = load i32, ptr @S_IRWXUGO, align 4, !tbaa !6
%8 = or i32 %7, %6
%9 = load i32, ptr @JOURNAL_PER_BALANCE_CNT, align 4, !tbaa !6
%10 = mul nsw i32 %9, 3
%11 = load ptr, ptr %0, align 8, !tbaa !10
%12 = tail call i32 @REISERFS_QUOTA_INIT_BLOCKS(ptr noundef %11) #3
%13 = load ptr, ptr %0, align 8, !tbaa !10
%14 = tail call i32 @REISERFS_QUOTA_TRANS_BLOCKS(ptr noundef %13) #3
%15 = add nsw i32 %14, %12
%16 = shl nsw i32 %15, 1
%17 = add nsw i32 %16, %10
%18 = load ptr, ptr %0, align 8, !tbaa !10
%19 = tail call ptr @new_inode(ptr noundef %18) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %24
21: ; preds = %3
%22 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%23 = sub nsw i32 0, %22
br label %99
24: ; preds = %3
%25 = tail call i32 @new_inode_init(ptr noundef nonnull %19, ptr noundef nonnull %0, i32 noundef %8) #3
%26 = call i32 @reiserfs_security_init(ptr noundef nonnull %0, ptr noundef nonnull %19, ptr noundef nonnull %5) #3
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = call i32 @drop_new_inode(ptr noundef nonnull %19) #3
br label %99
30: ; preds = %24
%31 = add nsw i32 %17, %26
%32 = load ptr, ptr %0, align 8, !tbaa !10
%33 = call i32 @reiserfs_write_lock(ptr noundef %32) #3
%34 = call i32 @strlen(ptr noundef %2) #3
%35 = call i32 @ROUND_UP(i32 noundef %34) #3
%36 = load ptr, ptr %0, align 8, !tbaa !10
%37 = load i32, ptr %36, align 4, !tbaa !13
%38 = call i32 @MAX_DIRECT_ITEM_LEN(i32 noundef %37) #3
%39 = icmp sgt i32 %35, %38
br i1 %39, label %40, label %44
40: ; preds = %30
%41 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !6
%42 = sub nsw i32 0, %41
%43 = call i32 @drop_new_inode(ptr noundef nonnull %19) #3
br label %95
44: ; preds = %30
%45 = load i32, ptr @GFP_NOFS, align 4, !tbaa !6
%46 = call ptr @kmalloc(i32 noundef %35, i32 noundef %45) #3
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = call i32 @drop_new_inode(ptr noundef nonnull %19) #3
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%51 = sub nsw i32 0, %50
br label %95
52: ; preds = %44
%53 = call i32 @strlen(ptr noundef %2) #3
%54 = call i32 @memcpy(ptr noundef nonnull %46, ptr noundef %2, i32 noundef %53) #3
%55 = call i32 @strlen(ptr noundef %2) #3
%56 = call i32 @padd_item(ptr noundef nonnull %46, i32 noundef %35, i32 noundef %55) #3
%57 = load ptr, ptr %0, align 8, !tbaa !10
%58 = call i32 @journal_begin(ptr noundef nonnull %4, ptr noundef %57, i32 noundef %31) #3
%59 = icmp eq i32 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %52
%61 = call i32 @drop_new_inode(ptr noundef nonnull %19) #3
%62 = call i32 @kfree(ptr noundef nonnull %46) #3
br label %95
63: ; preds = %52
%64 = call i32 @strlen(ptr noundef %2) #3
%65 = call i32 @reiserfs_new_inode(ptr noundef nonnull %4, ptr noundef nonnull %0, i32 noundef %8, ptr noundef nonnull %46, i32 noundef %64, ptr noundef %1, ptr noundef nonnull %19, ptr noundef nonnull %5) #3
%66 = call i32 @kfree(ptr noundef nonnull %46) #3
%67 = icmp eq i32 %65, 0
br i1 %67, label %68, label %95
68: ; preds = %63
%69 = call i32 @reiserfs_update_inode_transaction(ptr noundef nonnull %19) #3
%70 = call i32 @reiserfs_update_inode_transaction(ptr noundef nonnull %0) #3
%71 = getelementptr inbounds i8, ptr %19, i64 24
store ptr @reiserfs_symlink_inode_operations, ptr %71, align 8, !tbaa !15
%72 = getelementptr inbounds i8, ptr %19, i64 16
%73 = load ptr, ptr %72, align 8, !tbaa !16
store ptr @reiserfs_address_space_operations, ptr %73, align 8, !tbaa !17
%74 = getelementptr inbounds i8, ptr %1, i64 4
%75 = load i32, ptr %74, align 4, !tbaa !19
%76 = load i32, ptr %1, align 4, !tbaa !22
%77 = call i32 @reiserfs_add_entry(ptr noundef nonnull %4, ptr noundef nonnull %0, i32 noundef %75, i32 noundef %76, ptr noundef nonnull %19, i32 noundef 1) #3
%78 = icmp eq i32 %77, 0
br i1 %78, label %90, label %79
79: ; preds = %68
%80 = getelementptr inbounds i8, ptr %19, i64 8
%81 = load i32, ptr %80, align 8, !tbaa !23
%82 = add nsw i32 %81, -1
store i32 %82, ptr %80, align 8, !tbaa !23
%83 = call i32 @reiserfs_update_sd(ptr noundef nonnull %4, ptr noundef nonnull %19) #3
%84 = load ptr, ptr %0, align 8, !tbaa !10
%85 = call i32 @journal_end(ptr noundef nonnull %4, ptr noundef %84, i32 noundef %31) #3
%86 = icmp eq i32 %85, 0
%87 = select i1 %86, i32 %77, i32 %85
%88 = call i32 @unlock_new_inode(ptr noundef nonnull %19) #3
%89 = call i32 @iput(ptr noundef nonnull %19) #3
br label %95
90: ; preds = %68
%91 = call i32 @d_instantiate(ptr noundef nonnull %1, ptr noundef nonnull %19) #3
%92 = call i32 @unlock_new_inode(ptr noundef nonnull %19) #3
%93 = load ptr, ptr %0, align 8, !tbaa !10
%94 = call i32 @journal_end(ptr noundef nonnull %4, ptr noundef %93, i32 noundef %31) #3
br label %95
95: ; preds = %79, %63, %90, %60, %48, %40
%96 = phi i32 [ %42, %40 ], [ %58, %60 ], [ %65, %63 ], [ %87, %79 ], [ %94, %90 ], [ %51, %48 ]
%97 = load ptr, ptr %0, align 8, !tbaa !10
%98 = call i32 @reiserfs_write_unlock(ptr noundef %97) #3
br label %99
99: ; preds = %95, %28, %21
%100 = phi i32 [ %26, %28 ], [ %96, %95 ], [ %23, %21 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %100
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @REISERFS_QUOTA_INIT_BLOCKS(ptr noundef) local_unnamed_addr #2
declare i32 @REISERFS_QUOTA_TRANS_BLOCKS(ptr noundef) local_unnamed_addr #2
declare ptr @new_inode(ptr noundef) local_unnamed_addr #2
declare i32 @new_inode_init(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @reiserfs_security_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @drop_new_inode(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_write_lock(ptr noundef) local_unnamed_addr #2
declare i32 @ROUND_UP(i32 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @MAX_DIRECT_ITEM_LEN(i32 noundef) local_unnamed_addr #2
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @padd_item(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @journal_begin(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_new_inode(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_update_inode_transaction(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_add_entry(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @reiserfs_update_sd(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @journal_end(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @unlock_new_inode(ptr noundef) local_unnamed_addr #2
declare i32 @iput(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @d_instantiate(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_write_unlock(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"inode", !12, i64 0, !7, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_12__", !7, i64 0}
!15 = !{!11, !12, i64 24}
!16 = !{!11, !12, i64 16}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_10__", !12, i64 0}
!19 = !{!20, !7, i64 4}
!20 = !{!"dentry", !21, i64 0}
!21 = !{!"TYPE_11__", !7, i64 0, !7, i64 4}
!22 = !{!20, !7, i64 0}
!23 = !{!11, !7, i64 8}
| fastsocket_kernel_fs_reiserfs_extr_namei.c_reiserfs_symlink |
; ModuleID = 'AnghaBench/linux/drivers/bcma/extr_driver_chipcommon_pmu.c_bcma_chipco_bcm4331_ext_pa_lines_ctl.c'
source_filename = "AnghaBench/linux/drivers/bcma/extr_driver_chipcommon_pmu.c_bcma_chipco_bcm4331_ext_pa_lines_ctl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i64 }
@BCMA_CC_CHIPCTL = dso_local local_unnamed_addr global i32 0, align 4
@BCMA_CHIPCTL_4331_EXTPA_EN = dso_local local_unnamed_addr global i32 0, align 4
@BCMA_CHIPCTL_4331_EXTPA_ON_GPIO2_5 = dso_local local_unnamed_addr global i32 0, align 4
@BCMA_CHIPCTL_4331_EXTPA_EN2 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @bcma_chipco_bcm4331_ext_pa_lines_ctl(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr @BCMA_CC_CHIPCTL, align 4, !tbaa !12
%6 = tail call i32 @bcma_cc_read32(ptr noundef nonnull %0, i32 noundef %5) #2
%7 = icmp eq i32 %1, 0
%8 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_EN, align 4, !tbaa !12
br i1 %7, label %22, label %9
9: ; preds = %2
%10 = or i32 %8, %6
%11 = load i32, ptr %4, align 8, !tbaa !14
switch i32 %11, label %15 [
i32 9, label %12
i32 11, label %12
]
12: ; preds = %9, %9
%13 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_ON_GPIO2_5, align 4, !tbaa !12
%14 = or i32 %13, %10
br label %29
15: ; preds = %9
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !18
%18 = icmp sgt i64 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_EN2, align 4, !tbaa !12
%21 = or i32 %20, %10
br label %29
22: ; preds = %2
%23 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_EN2, align 4, !tbaa !12
%24 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_ON_GPIO2_5, align 4, !tbaa !12
%25 = or i32 %23, %24
%26 = or i32 %25, %8
%27 = xor i32 %26, -1
%28 = and i32 %6, %27
br label %29
29: ; preds = %12, %19, %15, %22
%30 = phi i32 [ %14, %12 ], [ %21, %19 ], [ %10, %15 ], [ %28, %22 ]
%31 = load i32, ptr @BCMA_CC_CHIPCTL, align 4, !tbaa !12
%32 = tail call i32 @bcma_cc_write32(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %30) #2
ret void
}
declare i32 @bcma_cc_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcma_cc_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bcma_drv_cc", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"bcma_bus", !16, i64 0}
!16 = !{!"TYPE_4__", !13, i64 0, !17, i64 8}
!17 = !{!"long", !8, i64 0}
!18 = !{!15, !17, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/bcma/extr_driver_chipcommon_pmu.c_bcma_chipco_bcm4331_ext_pa_lines_ctl.c'
source_filename = "AnghaBench/linux/drivers/bcma/extr_driver_chipcommon_pmu.c_bcma_chipco_bcm4331_ext_pa_lines_ctl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BCMA_CC_CHIPCTL = common local_unnamed_addr global i32 0, align 4
@BCMA_CHIPCTL_4331_EXTPA_EN = common local_unnamed_addr global i32 0, align 4
@BCMA_CHIPCTL_4331_EXTPA_ON_GPIO2_5 = common local_unnamed_addr global i32 0, align 4
@BCMA_CHIPCTL_4331_EXTPA_EN2 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @bcma_chipco_bcm4331_ext_pa_lines_ctl(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr @BCMA_CC_CHIPCTL, align 4, !tbaa !13
%6 = tail call i32 @bcma_cc_read32(ptr noundef nonnull %0, i32 noundef %5) #2
%7 = icmp eq i32 %1, 0
%8 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_EN, align 4, !tbaa !13
br i1 %7, label %22, label %9
9: ; preds = %2
%10 = or i32 %8, %6
%11 = load i32, ptr %4, align 8, !tbaa !15
switch i32 %11, label %15 [
i32 9, label %12
i32 11, label %12
]
12: ; preds = %9, %9
%13 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_ON_GPIO2_5, align 4, !tbaa !13
%14 = or i32 %13, %10
br label %29
15: ; preds = %9
%16 = getelementptr inbounds i8, ptr %4, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !19
%18 = icmp sgt i64 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_EN2, align 4, !tbaa !13
%21 = or i32 %20, %10
br label %29
22: ; preds = %2
%23 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_EN2, align 4, !tbaa !13
%24 = load i32, ptr @BCMA_CHIPCTL_4331_EXTPA_ON_GPIO2_5, align 4, !tbaa !13
%25 = or i32 %23, %24
%26 = or i32 %25, %8
%27 = xor i32 %26, -1
%28 = and i32 %6, %27
br label %29
29: ; preds = %12, %19, %15, %22
%30 = phi i32 [ %14, %12 ], [ %21, %19 ], [ %10, %15 ], [ %28, %22 ]
%31 = load i32, ptr @BCMA_CC_CHIPCTL, align 4, !tbaa !13
%32 = tail call i32 @bcma_cc_write32(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %30) #2
ret void
}
declare i32 @bcma_cc_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcma_cc_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bcma_drv_cc", !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}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"bcma_bus", !17, i64 0}
!17 = !{!"TYPE_4__", !14, i64 0, !18, i64 8}
!18 = !{!"long", !9, i64 0}
!19 = !{!16, !18, i64 8}
| linux_drivers_bcma_extr_driver_chipcommon_pmu.c_bcma_chipco_bcm4331_ext_pa_lines_ctl |
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_ctl.c_arena_i_decay_ctl.c'
source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_ctl.c_arena_i_decay_ctl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @arena_i_decay_ctl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @arena_i_decay_ctl(ptr noundef %0, ptr nocapture readnone %1, i64 %2, ptr nocapture readnone %3, ptr nocapture readnone %4, ptr nocapture readnone %5, i64 %6) #0 {
%8 = tail call i32 (...) @READONLY() #2
%9 = tail call i32 (...) @WRITEONLY() #2
%10 = tail call i32 @MIB_UNSIGNED(i32 noundef undef, i32 noundef 1) #2
%11 = tail call i32 @tsd_tsdn(ptr noundef %0) #2
%12 = tail call i32 @arena_i_decay(i32 noundef %11, i32 noundef undef, i32 noundef 0) #2
ret i32 0
}
declare i32 @READONLY(...) local_unnamed_addr #1
declare i32 @WRITEONLY(...) local_unnamed_addr #1
declare i32 @MIB_UNSIGNED(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @arena_i_decay(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tsd_tsdn(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_ctl.c_arena_i_decay_ctl.c'
source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_ctl.c_arena_i_decay_ctl.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 @arena_i_decay_ctl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @arena_i_decay_ctl(ptr noundef %0, ptr nocapture readnone %1, i64 %2, ptr nocapture readnone %3, ptr nocapture readnone %4, ptr nocapture readnone %5, i64 %6) #0 {
%8 = tail call i32 @READONLY() #2
%9 = tail call i32 @WRITEONLY() #2
%10 = tail call i32 @MIB_UNSIGNED(i32 noundef undef, i32 noundef 1) #2
%11 = tail call i32 @tsd_tsdn(ptr noundef %0) #2
%12 = tail call i32 @arena_i_decay(i32 noundef %11, i32 noundef undef, i32 noundef 0) #2
ret i32 0
}
declare i32 @READONLY(...) local_unnamed_addr #1
declare i32 @WRITEONLY(...) local_unnamed_addr #1
declare i32 @MIB_UNSIGNED(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @arena_i_decay(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tsd_tsdn(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_jemalloc_src_extr_ctl.c_arena_i_decay_ctl |
; ModuleID = 'AnghaBench/obs-studio/deps/libcaption/src/extr_caption.c_caption_frame_write_char.c'
source_filename = "AnghaBench/obs-studio/deps/libcaption/src/extr_caption.c_caption_frame_write_char.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @caption_frame_write_char(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = icmp eq i32 %7, 0
br i1 %8, label %23, label %9
9: ; preds = %6
%10 = tail call i32 @_eia608_from_utf8(ptr noundef %5) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %23, label %12
12: ; preds = %9
%13 = load i32, ptr %0, align 4, !tbaa !5
%14 = tail call ptr @frame_buffer_cell(i32 noundef %13, i32 noundef %1, i32 noundef %2) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %23, label %16
16: ; preds = %12
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !10
%19 = tail call i64 @utf8_char_copy(ptr noundef %18, ptr noundef %5) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %16
store i32 %4, ptr %14, align 8, !tbaa !13
%22 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 1
store i32 %3, ptr %22, align 4, !tbaa !14
br label %23
23: ; preds = %21, %16, %12, %6, %9
%24 = phi i32 [ 0, %9 ], [ 0, %6 ], [ 1, %21 ], [ 0, %16 ], [ 0, %12 ]
ret i32 %24
}
declare i32 @_eia608_from_utf8(ptr noundef) local_unnamed_addr #1
declare ptr @frame_buffer_cell(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @utf8_char_copy(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !7, i64 4}
| ; ModuleID = 'AnghaBench/obs-studio/deps/libcaption/src/extr_caption.c_caption_frame_write_char.c'
source_filename = "AnghaBench/obs-studio/deps/libcaption/src/extr_caption.c_caption_frame_write_char.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @caption_frame_write_char(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = icmp eq i32 %7, 0
br i1 %8, label %23, label %9
9: ; preds = %6
%10 = tail call i32 @_eia608_from_utf8(ptr noundef %5) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %23, label %12
12: ; preds = %9
%13 = load i32, ptr %0, align 4, !tbaa !6
%14 = tail call ptr @frame_buffer_cell(i32 noundef %13, i32 noundef %1, i32 noundef %2) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %23, label %16
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %14, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !11
%19 = tail call i64 @utf8_char_copy(ptr noundef %18, ptr noundef %5) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %16
store i32 %4, ptr %14, align 8, !tbaa !14
%22 = getelementptr inbounds i8, ptr %14, i64 4
store i32 %3, ptr %22, align 4, !tbaa !15
br label %23
23: ; preds = %21, %16, %12, %6, %9
%24 = phi i32 [ 0, %9 ], [ 0, %6 ], [ 1, %21 ], [ 0, %16 ], [ 0, %12 ]
ret i32 %24
}
declare i32 @_eia608_from_utf8(ptr noundef) local_unnamed_addr #1
declare ptr @frame_buffer_cell(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @utf8_char_copy(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !13, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!12, !8, i64 0}
!15 = !{!12, !8, i64 4}
| obs-studio_deps_libcaption_src_extr_caption.c_caption_frame_write_char |
; ModuleID = 'AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_vnode_check_setextattr.c'
source_filename = "AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_vnode_check_setextattr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@vnode_check_setextattr = dso_local local_unnamed_addr global i32 0, align 4
@mac_vnode_enforce = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @mac_vnode_check_setextattr(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @vfs_context_ucred(i32 noundef %0) #2
%6 = tail call i32 @mac_cred_check_enforce(i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = load i32, ptr @vnode_check_setextattr, align 4, !tbaa !5
%10 = load i32, ptr %1, align 4, !tbaa !9
%11 = tail call i32 @MAC_CHECK(i32 noundef %9, i32 noundef %5, ptr noundef nonnull %1, i32 noundef %10, ptr noundef %2, ptr noundef %3) #2
br label %12
12: ; preds = %4, %8
ret i32 0
}
declare i32 @vfs_context_ucred(i32 noundef) local_unnamed_addr #1
declare i32 @mac_cred_check_enforce(i32 noundef) local_unnamed_addr #1
declare i32 @MAC_CHECK(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"vnode", !6, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_vnode_check_setextattr.c'
source_filename = "AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_vnode_check_setextattr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vnode_check_setextattr = common local_unnamed_addr global i32 0, align 4
@mac_vnode_enforce = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @mac_vnode_check_setextattr(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @vfs_context_ucred(i32 noundef %0) #2
%6 = tail call i32 @mac_cred_check_enforce(i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = load i32, ptr @vnode_check_setextattr, align 4, !tbaa !6
%10 = load i32, ptr %1, align 4, !tbaa !10
%11 = tail call i32 @MAC_CHECK(i32 noundef %9, i32 noundef %5, ptr noundef nonnull %1, i32 noundef %10, ptr noundef %2, ptr noundef %3) #2
br label %12
12: ; preds = %4, %8
ret i32 0
}
declare i32 @vfs_context_ucred(i32 noundef) local_unnamed_addr #1
declare i32 @mac_cred_check_enforce(i32 noundef) local_unnamed_addr #1
declare i32 @MAC_CHECK(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"vnode", !7, i64 0}
| darwin-xnu_security_extr_mac_vfs.c_mac_vnode_check_setextattr |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_msg.h_add_message.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_msg.h_add_message.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.msg_sequence = type { i32, i64, ptr }
%struct.message = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @add_message], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @add_message(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = sext i32 %1 to i64
%5 = getelementptr inbounds ptr, ptr %0, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.msg_sequence, ptr %6, i64 0, i32 2
%8 = load ptr, ptr %7, align 8, !tbaa !9
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %3
store i32 10, ptr %6, align 8, !tbaa !13
%11 = tail call ptr @heap_alloc(i32 noundef 40) #2
store ptr %11, ptr %7, align 8, !tbaa !9
br label %12
12: ; preds = %10, %3
%13 = phi ptr [ %11, %10 ], [ %8, %3 ]
%14 = getelementptr inbounds %struct.msg_sequence, ptr %6, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = load i32, ptr %6, align 8, !tbaa !13
%17 = sext i32 %16 to i64
%18 = icmp eq i64 %15, %17
br i1 %18, label %19, label %23
19: ; preds = %12
%20 = shl nsw i32 %16, 1
store i32 %20, ptr %6, align 8, !tbaa !13
%21 = shl i32 %16, 3
%22 = tail call ptr @heap_realloc(ptr noundef %13, i32 noundef %21) #2
store ptr %22, ptr %7, align 8, !tbaa !9
br label %23
23: ; preds = %19, %12
%24 = phi ptr [ %22, %19 ], [ %13, %12 ]
%25 = tail call i32 @assert(ptr noundef %24) #2
%26 = load ptr, ptr %7, align 8, !tbaa !9
%27 = load i64, ptr %14, align 8, !tbaa !14
%28 = getelementptr inbounds %struct.message, ptr %26, i64 %27
%29 = load i32, ptr %2, align 4, !tbaa !15
store i32 %29, ptr %28, align 4, !tbaa !15
%30 = add i64 %27, 1
store i64 %30, ptr %14, align 8, !tbaa !14
ret void
}
declare ptr @heap_alloc(i32 noundef) local_unnamed_addr #1
declare ptr @heap_realloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"msg_sequence", !11, i64 0, !12, i64 8, !6, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 0}
!14 = !{!10, !12, i64 8}
!15 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_msg.h_add_message.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_msg.h_add_message.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.message = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @add_message], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @add_message(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = sext i32 %1 to i64
%5 = getelementptr inbounds ptr, ptr %0, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %6, i64 16
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %3
store i32 10, ptr %6, align 8, !tbaa !14
%11 = tail call ptr @heap_alloc(i32 noundef 40) #2
store ptr %11, ptr %7, align 8, !tbaa !10
br label %12
12: ; preds = %10, %3
%13 = phi ptr [ %11, %10 ], [ %8, %3 ]
%14 = getelementptr inbounds i8, ptr %6, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = load i32, ptr %6, align 8, !tbaa !14
%17 = sext i32 %16 to i64
%18 = icmp eq i64 %15, %17
br i1 %18, label %19, label %23
19: ; preds = %12
%20 = shl nsw i32 %16, 1
store i32 %20, ptr %6, align 8, !tbaa !14
%21 = shl i32 %16, 3
%22 = tail call ptr @heap_realloc(ptr noundef %13, i32 noundef %21) #2
store ptr %22, ptr %7, align 8, !tbaa !10
br label %23
23: ; preds = %19, %12
%24 = phi ptr [ %22, %19 ], [ %13, %12 ]
%25 = tail call i32 @assert(ptr noundef %24) #2
%26 = load ptr, ptr %7, align 8, !tbaa !10
%27 = load i64, ptr %14, align 8, !tbaa !15
%28 = getelementptr inbounds %struct.message, ptr %26, i64 %27
%29 = load i32, ptr %2, align 4, !tbaa !16
store i32 %29, ptr %28, align 4, !tbaa !16
%30 = add i64 %27, 1
store i64 %30, ptr %14, align 8, !tbaa !15
ret void
}
declare ptr @heap_alloc(i32 noundef) local_unnamed_addr #1
declare ptr @heap_realloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @assert(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"msg_sequence", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!11, !13, i64 8}
!16 = !{!12, !12, i64 0}
| reactos_modules_rostests_winetests_comctl32_extr_msg.h_add_message |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_tea6420.c_tea6420_s_routing.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_tea6420.c_tea6420_s_routing.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@debug = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"i=%d, o=%d, g=%d\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [39 x i8] c"i2c_smbus_write_byte() failed, ret:%d\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tea6420_s_routing], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tea6420_s_routing(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 %3) #0 {
%5 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2
%6 = lshr i32 %2, 4
%7 = and i32 %6, 15
%8 = and i32 %2, 15
%9 = load i32, ptr @debug, align 4, !tbaa !5
%10 = tail call i32 (i32, i32, ptr, ptr, i32, ...) @v4l2_dbg(i32 noundef 1, i32 noundef %9, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %8, i32 noundef %7) #2
%11 = add i32 %1, -7
%12 = icmp ult i32 %11, -6
%13 = add nsw i32 %8, -5
%14 = icmp ult i32 %13, -4
%15 = or i1 %12, %14
%16 = icmp ugt i32 %7, 6
%17 = or i1 %16, %15
%18 = and i32 %2, 16
%19 = icmp ne i32 %18, 0
%20 = or i1 %19, %17
br i1 %20, label %21, label %24
21: ; preds = %4
%22 = load i32, ptr @EINVAL, align 4, !tbaa !5
%23 = sub nsw i32 0, %22
br label %44
24: ; preds = %4
%25 = shl nuw nsw i32 %8, 5
%26 = add nsw i32 %25, -32
%27 = add nsw i32 %1, -1
%28 = or i32 %26, %27
switch i32 %7, label %35 [
i32 0, label %29
i32 2, label %31
i32 4, label %33
]
29: ; preds = %24
%30 = or i32 %28, 24
br label %35
31: ; preds = %24
%32 = or i32 %28, 16
br label %35
33: ; preds = %24
%34 = or i32 %28, 8
br label %35
35: ; preds = %24, %33, %31, %29
%36 = phi i32 [ %28, %24 ], [ %34, %33 ], [ %32, %31 ], [ %30, %29 ]
%37 = tail call i32 @i2c_smbus_write_byte(ptr noundef %5, i32 noundef %36) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %44, label %39
39: ; preds = %35
%40 = load i32, ptr @debug, align 4, !tbaa !5
%41 = tail call i32 (i32, i32, ptr, ptr, i32, ...) @v4l2_dbg(i32 noundef 1, i32 noundef %40, ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %37) #2
%42 = load i32, ptr @EIO, align 4, !tbaa !5
%43 = sub nsw i32 0, %42
br label %44
44: ; preds = %35, %39, %21
%45 = phi i32 [ %23, %21 ], [ %43, %39 ], [ 0, %35 ]
ret i32 %45
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_dbg(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @i2c_smbus_write_byte(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_tea6420.c_tea6420_s_routing.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_tea6420.c_tea6420_s_routing.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@debug = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"i=%d, o=%d, g=%d\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [39 x i8] c"i2c_smbus_write_byte() failed, ret:%d\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tea6420_s_routing], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @tea6420_s_routing(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 %3) #0 {
%5 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2
%6 = lshr i32 %2, 4
%7 = and i32 %6, 15
%8 = and i32 %2, 15
%9 = load i32, ptr @debug, align 4, !tbaa !6
%10 = tail call i32 (i32, i32, ptr, ptr, i32, ...) @v4l2_dbg(i32 noundef 1, i32 noundef %9, ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %8, i32 noundef %7) #2
%11 = add i32 %1, -1
%12 = icmp ult i32 %11, 6
%13 = add nsw i32 %8, -1
%14 = icmp ult i32 %13, 4
%15 = and i1 %12, %14
%16 = icmp ult i32 %7, 7
%17 = and i1 %16, %15
%18 = and i32 %2, 16
%19 = icmp eq i32 %18, 0
%20 = and i1 %19, %17
br i1 %20, label %24, label %21
21: ; preds = %4
%22 = load i32, ptr @EINVAL, align 4, !tbaa !6
%23 = sub nsw i32 0, %22
br label %43
24: ; preds = %4
%25 = shl nuw nsw i32 %8, 5
%26 = add nsw i32 %25, -32
%27 = or disjoint i32 %26, %11
switch i32 %7, label %34 [
i32 0, label %28
i32 2, label %30
i32 4, label %32
]
28: ; preds = %24
%29 = or disjoint i32 %27, 24
br label %34
30: ; preds = %24
%31 = or disjoint i32 %27, 16
br label %34
32: ; preds = %24
%33 = or disjoint i32 %27, 8
br label %34
34: ; preds = %24, %32, %30, %28
%35 = phi i32 [ %27, %24 ], [ %33, %32 ], [ %31, %30 ], [ %29, %28 ]
%36 = tail call i32 @i2c_smbus_write_byte(ptr noundef %5, i32 noundef %35) #2
%37 = icmp eq i32 %36, 0
br i1 %37, label %43, label %38
38: ; preds = %34
%39 = load i32, ptr @debug, align 4, !tbaa !6
%40 = tail call i32 (i32, i32, ptr, ptr, i32, ...) @v4l2_dbg(i32 noundef 1, i32 noundef %39, ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %36) #2
%41 = load i32, ptr @EIO, align 4, !tbaa !6
%42 = sub nsw i32 0, %41
br label %43
43: ; preds = %34, %38, %21
%44 = phi i32 [ %23, %21 ], [ %42, %38 ], [ 0, %34 ]
ret i32 %44
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare i32 @v4l2_dbg(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @i2c_smbus_write_byte(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_media_video_extr_tea6420.c_tea6420_s_routing |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/image/extr_microtek.c_mts_show_command.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/image/extr_microtek.c_mts_show_command.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mts_show_command], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @mts_show_command(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/image/extr_microtek.c_mts_show_command.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/image/extr_microtek.c_mts_show_command.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 @mts_show_command], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @mts_show_command(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)"}
| fastsocket_kernel_drivers_usb_image_extr_microtek.c_mts_show_command |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_id.c_omap_chip_is.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_id.c_omap_chip_is.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@omap_chip = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @omap_chip_is(i32 %0) local_unnamed_addr #0 {
%2 = load i32, ptr @omap_chip, align 4, !tbaa !5
%3 = and i32 %2, %0
%4 = icmp ne i32 %3, 0
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_id.c_omap_chip_is.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_id.c_omap_chip_is.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 }
@omap_chip = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @omap_chip_is(i64 %0) local_unnamed_addr #0 {
%2 = trunc i64 %0 to i32
%3 = load i32, ptr @omap_chip, align 4, !tbaa !6
%4 = and i32 %3, %2
%5 = icmp ne i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, 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, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_arm_mach-omap2_extr_id.c_omap_chip_is |
; ModuleID = 'AnghaBench/freebsd/lib/libc/net/extr_rthdr.c_inet6_rth_segments.c'
source_filename = "AnghaBench/freebsd/lib/libc/net/extr_rthdr.c_inet6_rth_segments.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ip6_rthdr0 = type { i32, i32 }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @inet6_rth_segments(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp eq i32 %2, 128
br i1 %3, label %4, label %9
4: ; preds = %1
%5 = getelementptr inbounds %struct.ip6_rthdr0, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !9
%7 = icmp sgt i32 %6, 64
%8 = select i1 %7, i32 -1, i32 64
br label %9
9: ; preds = %1, %4
%10 = phi i32 [ %8, %4 ], [ -1, %1 ]
ret i32 %10
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"ip6_rthdr0", !6, i64 0, !6, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/lib/libc/net/extr_rthdr.c_inet6_rth_segments.c'
source_filename = "AnghaBench/freebsd/lib/libc/net/extr_rthdr.c_inet6_rth_segments.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define range(i32 -1, 65) i32 @inet6_rth_segments(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp eq i32 %2, 128
br i1 %3, label %4, label %9
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = icmp sgt i32 %6, 64
%8 = select i1 %7, i32 -1, i32 64
br label %9
9: ; preds = %1, %4
%10 = phi i32 [ %8, %4 ], [ -1, %1 ]
ret i32 %10
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"ip6_rthdr0", !7, i64 0, !7, i64 4}
| freebsd_lib_libc_net_extr_rthdr.c_inet6_rth_segments |
; ModuleID = 'AnghaBench/RetroArch/tasks/extr_task_database.c_database_info_set_type.c'
source_filename = "AnghaBench/RetroArch/tasks/extr_task_database.c_database_info_set_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @database_info_set_type], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @database_info_set_type(ptr noundef writeonly %0, i32 noundef %1) #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %5, label %4
4: ; preds = %2
store i32 %1, ptr %0, align 4, !tbaa !5
br label %5
5: ; preds = %2, %4
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/RetroArch/tasks/extr_task_database.c_database_info_set_type.c'
source_filename = "AnghaBench/RetroArch/tasks/extr_task_database.c_database_info_set_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @database_info_set_type], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @database_info_set_type(ptr noundef writeonly %0, i32 noundef %1) #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %5, label %4
4: ; preds = %2
store i32 %1, ptr %0, align 4, !tbaa !6
br label %5
5: ; preds = %2, %4
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 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| RetroArch_tasks_extr_task_database.c_database_info_set_type |
; ModuleID = 'AnghaBench/freebsd/sys/fs/fuse/extr_fuse_file.c_fuse_filehandle_close.c'
source_filename = "AnghaBench/freebsd/sys/fs/fuse/extr_fuse_file.c_fuse_filehandle_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fuse_dispatcher = type { ptr }
%struct.fuse_filehandle = type { i32, i32 }
%struct.fuse_release_in = type { i32, i32, i32 }
@FUSE_RELEASE = dso_local local_unnamed_addr global i32 0, align 4
@FUSE_RELEASEDIR = dso_local local_unnamed_addr global i32 0, align 4
@fuse_fh_count = dso_local local_unnamed_addr global i32 0, align 4
@next = dso_local local_unnamed_addr global i32 0, align 4
@M_FUSE_FILEHANDLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @fuse_filehandle_close(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.fuse_dispatcher, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr @FUSE_RELEASE, align 4, !tbaa !5
%7 = tail call i64 @fuse_isdeadfs(ptr noundef %0) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %4
%10 = tail call i64 @vnode_isdir(ptr noundef %0) #3
%11 = icmp eq i64 %10, 0
%12 = load i32, ptr @FUSE_RELEASEDIR, align 4
%13 = select i1 %11, i32 %6, i32 %12
%14 = call i32 @fdisp_init(ptr noundef nonnull %5, i32 noundef 12) #3
%15 = call i32 @fdisp_make_vp(ptr noundef nonnull %5, i32 noundef %13, ptr noundef %0, ptr noundef %2, ptr noundef %3) #3
%16 = load ptr, ptr %5, align 8, !tbaa !9
%17 = getelementptr inbounds %struct.fuse_filehandle, ptr %1, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = getelementptr inbounds %struct.fuse_release_in, ptr %16, i64 0, i32 2
store i32 %18, ptr %19, align 4, !tbaa !14
%20 = load i32, ptr %1, align 4, !tbaa !16
%21 = call i32 @fufh_type_2_fflags(i32 noundef %20) #3
%22 = getelementptr inbounds %struct.fuse_release_in, ptr %16, i64 0, i32 1
store i32 %21, ptr %22, align 4, !tbaa !17
%23 = load ptr, ptr %2, align 8, !tbaa !18
%24 = load i32, ptr %23, align 4, !tbaa !20
store i32 %24, ptr %16, align 4, !tbaa !22
%25 = call i32 @fdisp_wait_answ(ptr noundef nonnull %5) #3
%26 = call i32 @fdisp_destroy(ptr noundef nonnull %5) #3
br label %27
27: ; preds = %4, %9
%28 = phi i32 [ 0, %4 ], [ %25, %9 ]
%29 = load i32, ptr @fuse_fh_count, align 4, !tbaa !5
%30 = call i32 @counter_u64_add(i32 noundef %29, i32 noundef -1) #3
%31 = load i32, ptr @next, align 4, !tbaa !5
%32 = call i32 @LIST_REMOVE(ptr noundef %1, i32 noundef %31) #3
%33 = load i32, ptr @M_FUSE_FILEHANDLE, align 4, !tbaa !5
%34 = call i32 @free(ptr noundef %1, i32 noundef %33) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @fuse_isdeadfs(ptr noundef) local_unnamed_addr #2
declare i64 @vnode_isdir(ptr noundef) local_unnamed_addr #2
declare i32 @fdisp_init(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fdisp_make_vp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fufh_type_2_fflags(i32 noundef) local_unnamed_addr #2
declare i32 @fdisp_wait_answ(ptr noundef) local_unnamed_addr #2
declare i32 @fdisp_destroy(ptr noundef) local_unnamed_addr #2
declare i32 @counter_u64_add(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LIST_REMOVE(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"fuse_dispatcher", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 4}
!13 = !{!"fuse_filehandle", !6, i64 0, !6, i64 4}
!14 = !{!15, !6, i64 8}
!15 = !{!"fuse_release_in", !6, i64 0, !6, i64 4, !6, i64 8}
!16 = !{!13, !6, i64 0}
!17 = !{!15, !6, i64 4}
!18 = !{!19, !11, i64 0}
!19 = !{!"thread", !11, i64 0}
!20 = !{!21, !6, i64 0}
!21 = !{!"TYPE_2__", !6, i64 0}
!22 = !{!15, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/fs/fuse/extr_fuse_file.c_fuse_filehandle_close.c'
source_filename = "AnghaBench/freebsd/sys/fs/fuse/extr_fuse_file.c_fuse_filehandle_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.fuse_dispatcher = type { ptr }
@FUSE_RELEASE = common local_unnamed_addr global i32 0, align 4
@FUSE_RELEASEDIR = common local_unnamed_addr global i32 0, align 4
@fuse_fh_count = common local_unnamed_addr global i32 0, align 4
@next = common local_unnamed_addr global i32 0, align 4
@M_FUSE_FILEHANDLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @fuse_filehandle_close(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.fuse_dispatcher, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = load i32, ptr @FUSE_RELEASE, align 4, !tbaa !6
%7 = tail call i64 @fuse_isdeadfs(ptr noundef %0) #3
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %4
%10 = tail call i64 @vnode_isdir(ptr noundef %0) #3
%11 = icmp eq i64 %10, 0
%12 = load i32, ptr @FUSE_RELEASEDIR, align 4
%13 = select i1 %11, i32 %6, i32 %12
%14 = call i32 @fdisp_init(ptr noundef nonnull %5, i32 noundef 12) #3
%15 = call i32 @fdisp_make_vp(ptr noundef nonnull %5, i32 noundef %13, ptr noundef %0, ptr noundef %2, ptr noundef %3) #3
%16 = load ptr, ptr %5, align 8, !tbaa !10
%17 = getelementptr inbounds i8, ptr %1, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = getelementptr inbounds i8, ptr %16, i64 8
store i32 %18, ptr %19, align 4, !tbaa !15
%20 = load i32, ptr %1, align 4, !tbaa !17
%21 = call i32 @fufh_type_2_fflags(i32 noundef %20) #3
%22 = getelementptr inbounds i8, ptr %16, i64 4
store i32 %21, ptr %22, align 4, !tbaa !18
%23 = load ptr, ptr %2, align 8, !tbaa !19
%24 = load i32, ptr %23, align 4, !tbaa !21
store i32 %24, ptr %16, align 4, !tbaa !23
%25 = call i32 @fdisp_wait_answ(ptr noundef nonnull %5) #3
%26 = call i32 @fdisp_destroy(ptr noundef nonnull %5) #3
br label %27
27: ; preds = %4, %9
%28 = phi i32 [ 0, %4 ], [ %25, %9 ]
%29 = load i32, ptr @fuse_fh_count, align 4, !tbaa !6
%30 = call i32 @counter_u64_add(i32 noundef %29, i32 noundef -1) #3
%31 = load i32, ptr @next, align 4, !tbaa !6
%32 = call i32 @LIST_REMOVE(ptr noundef %1, i32 noundef %31) #3
%33 = load i32, ptr @M_FUSE_FILEHANDLE, align 4, !tbaa !6
%34 = call i32 @free(ptr noundef %1, i32 noundef %33) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @fuse_isdeadfs(ptr noundef) local_unnamed_addr #2
declare i64 @vnode_isdir(ptr noundef) local_unnamed_addr #2
declare i32 @fdisp_init(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fdisp_make_vp(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fufh_type_2_fflags(i32 noundef) local_unnamed_addr #2
declare i32 @fdisp_wait_answ(ptr noundef) local_unnamed_addr #2
declare i32 @fdisp_destroy(ptr noundef) local_unnamed_addr #2
declare i32 @counter_u64_add(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LIST_REMOVE(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"fuse_dispatcher", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"fuse_filehandle", !7, i64 0, !7, i64 4}
!15 = !{!16, !7, i64 8}
!16 = !{!"fuse_release_in", !7, i64 0, !7, i64 4, !7, i64 8}
!17 = !{!14, !7, i64 0}
!18 = !{!16, !7, i64 4}
!19 = !{!20, !12, i64 0}
!20 = !{!"thread", !12, i64 0}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_2__", !7, i64 0}
!23 = !{!16, !7, i64 0}
| freebsd_sys_fs_fuse_extr_fuse_file.c_fuse_filehandle_close |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_delegpt.c_delegpt_add_target_mlc.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_delegpt.c_delegpt_add_target_mlc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.delegpt_ns = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @delegpt_add_target_mlc(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call ptr @delegpt_find_ns(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = tail call i32 @log_assert(i32 noundef %9) #2
%11 = icmp eq ptr %8, null
br i1 %11, label %29, label %12
12: ; preds = %7
%13 = icmp eq i32 %6, 0
br i1 %13, label %14, label %27
14: ; preds = %12
%15 = tail call i64 @addr_is_ip6(ptr noundef %3, i32 noundef %4) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %14
store i32 1, ptr %8, align 4, !tbaa !10
%18 = getelementptr inbounds %struct.delegpt_ns, ptr %8, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !12
%20 = icmp eq i32 %19, 0
br i1 %20, label %27, label %25
21: ; preds = %14
%22 = getelementptr inbounds %struct.delegpt_ns, ptr %8, i64 0, i32 1
store i32 1, ptr %22, align 4, !tbaa !12
%23 = load i32, ptr %8, align 4, !tbaa !10
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %17, %21
%26 = getelementptr inbounds %struct.delegpt_ns, ptr %8, i64 0, i32 2
store i32 1, ptr %26, align 4, !tbaa !13
br label %27
27: ; preds = %17, %21, %25, %12
%28 = tail call i32 @delegpt_add_addr_mlc(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef null) #2
br label %29
29: ; preds = %7, %27
%30 = phi i32 [ %28, %27 ], [ 1, %7 ]
ret i32 %30
}
declare ptr @delegpt_find_ns(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @log_assert(i32 noundef) local_unnamed_addr #1
declare i64 @addr_is_ip6(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @delegpt_add_addr_mlc(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"delegpt", !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 = !{!"delegpt_ns", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
!13 = !{!11, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_delegpt.c_delegpt_add_target_mlc.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/iterator/extr_iter_delegpt.c_delegpt_add_target_mlc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @delegpt_add_target_mlc(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call ptr @delegpt_find_ns(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = tail call i32 @log_assert(i32 noundef %9) #2
%11 = icmp eq ptr %8, null
br i1 %11, label %29, label %12
12: ; preds = %7
%13 = icmp eq i32 %6, 0
br i1 %13, label %14, label %27
14: ; preds = %12
%15 = tail call i64 @addr_is_ip6(ptr noundef %3, i32 noundef %4) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %14
store i32 1, ptr %8, align 4, !tbaa !11
%18 = getelementptr inbounds i8, ptr %8, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = icmp eq i32 %19, 0
br i1 %20, label %27, label %25
21: ; preds = %14
%22 = getelementptr inbounds i8, ptr %8, i64 4
store i32 1, ptr %22, align 4, !tbaa !13
%23 = load i32, ptr %8, align 4, !tbaa !11
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %17, %21
%26 = getelementptr inbounds i8, ptr %8, i64 8
store i32 1, ptr %26, align 4, !tbaa !14
br label %27
27: ; preds = %17, %21, %25, %12
%28 = tail call i32 @delegpt_add_addr_mlc(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef null) #2
br label %29
29: ; preds = %7, %27
%30 = phi i32 [ %28, %27 ], [ 1, %7 ]
ret i32 %30
}
declare ptr @delegpt_find_ns(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @log_assert(i32 noundef) local_unnamed_addr #1
declare i64 @addr_is_ip6(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @delegpt_add_addr_mlc(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"delegpt", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"delegpt_ns", !8, i64 0, !8, i64 4, !8, i64 8}
!13 = !{!12, !8, i64 4}
!14 = !{!12, !8, i64 8}
| freebsd_contrib_unbound_iterator_extr_iter_delegpt.c_delegpt_add_target_mlc |
; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_statem_lib.c_tls13_restore_handshake_digest_for_pha.c'
source_filename = "AnghaBench/openssl/ssl/statem/extr_statem_lib.c_tls13_restore_handshake_digest_for_pha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { ptr, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
@SSL_AD_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@SSL_F_TLS13_RESTORE_HANDSHAKE_DIGEST_FOR_PHA = dso_local local_unnamed_addr global i32 0, align 4
@ERR_R_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @tls13_restore_handshake_digest_for_pha(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !12
%7 = tail call i32 @EVP_MD_CTX_copy_ex(i32 noundef %6, ptr noundef nonnull %2) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %4, %1
%10 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !13
%11 = load i32, ptr @SSL_F_TLS13_RESTORE_HANDSHAKE_DIGEST_FOR_PHA, align 4, !tbaa !13
%12 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !13
%13 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %11, i32 noundef %12) #2
br label %14
14: ; preds = %9, %4
%15 = phi i32 [ 1, %4 ], [ 0, %9 ]
ret i32 %15
}
declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EVP_MD_CTX_copy_ex(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !11, i64 8}
!13 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/openssl/ssl/statem/extr_statem_lib.c_tls13_restore_handshake_digest_for_pha.c'
source_filename = "AnghaBench/openssl/ssl/statem/extr_statem_lib.c_tls13_restore_handshake_digest_for_pha.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SSL_AD_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4
@SSL_F_TLS13_RESTORE_HANDSHAKE_DIGEST_FOR_PHA = common local_unnamed_addr global i32 0, align 4
@ERR_R_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @tls13_restore_handshake_digest_for_pha(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !13
%7 = tail call i32 @EVP_MD_CTX_copy_ex(i32 noundef %6, ptr noundef nonnull %2) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %4, %1
%10 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !14
%11 = load i32, ptr @SSL_F_TLS13_RESTORE_HANDSHAKE_DIGEST_FOR_PHA, align 4, !tbaa !14
%12 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !14
%13 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %11, i32 noundef %12) #2
br label %14
14: ; preds = %9, %4
%15 = phi i32 [ 1, %4 ], [ 0, %9 ]
ret i32 %15
}
declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EVP_MD_CTX_copy_ex(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !12, i64 8}
!14 = !{!12, !12, i64 0}
| openssl_ssl_statem_extr_statem_lib.c_tls13_restore_handshake_digest_for_pha |
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_gconf.c_init_tree_model.c'
source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_gconf.c_init_tree_model.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@COL_NUMBER = dso_local local_unnamed_addr global i32 0, align 4
@G_TYPE_STRING = dso_local local_unnamed_addr global i32 0, align 4
@G_TYPE_POINTER = dso_local local_unnamed_addr global i32 0, align 4
@GDK_TYPE_COLOR = dso_local local_unnamed_addr global i32 0, align 4
@G_TYPE_BOOLEAN = dso_local local_unnamed_addr global i32 0, align 4
@GDK_TYPE_PIXBUF = dso_local local_unnamed_addr global i32 0, align 4
@tree2 = dso_local local_unnamed_addr global i32 0, align 4
@tree = dso_local local_unnamed_addr global i32 0, align 4
@model2 = dso_local local_unnamed_addr global ptr null, align 8
@parents = dso_local local_unnamed_addr global ptr null, align 8
@tree1 = dso_local local_unnamed_addr global i32 0, align 4
@model1 = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @init_tree_model() local_unnamed_addr #0 {
%1 = load i32, ptr @COL_NUMBER, align 4, !tbaa !5
%2 = load i32, ptr @G_TYPE_STRING, align 4, !tbaa !5
%3 = load i32, ptr @G_TYPE_POINTER, align 4, !tbaa !5
%4 = load i32, ptr @GDK_TYPE_COLOR, align 4, !tbaa !5
%5 = load i32, ptr @G_TYPE_BOOLEAN, align 4, !tbaa !5
%6 = load i32, ptr @GDK_TYPE_PIXBUF, align 4, !tbaa !5
%7 = tail call i32 @gtk_tree_store_new(i32 noundef %1, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %5, i32 noundef %5, i32 noundef %5, i32 noundef %5, i32 noundef %5) #2
store i32 %7, ptr @tree2, align 4, !tbaa !5
store i32 %7, ptr @tree, align 4, !tbaa !5
%8 = tail call ptr @GTK_TREE_MODEL(i32 noundef %7) #2
store ptr %8, ptr @model2, align 8, !tbaa !9
%9 = load ptr, ptr @parents, align 8, !tbaa !9
store ptr null, ptr %9, align 8, !tbaa !9
br label %10
10: ; preds = %0, %10
%11 = phi i64 [ 1, %0 ], [ %16, %10 ]
%12 = tail call i64 @g_malloc(i32 noundef 4) #2
%13 = inttoptr i64 %12 to ptr
%14 = load ptr, ptr @parents, align 8, !tbaa !9
%15 = getelementptr inbounds ptr, ptr %14, i64 %11
store ptr %13, ptr %15, align 8, !tbaa !9
%16 = add nuw nsw i64 %11, 1
%17 = icmp eq i64 %16, 256
br i1 %17, label %18, label %10, !llvm.loop !11
18: ; preds = %10
%19 = load i32, ptr @COL_NUMBER, align 4, !tbaa !5
%20 = load i32, ptr @G_TYPE_STRING, align 4, !tbaa !5
%21 = load i32, ptr @G_TYPE_POINTER, align 4, !tbaa !5
%22 = load i32, ptr @GDK_TYPE_COLOR, align 4, !tbaa !5
%23 = load i32, ptr @G_TYPE_BOOLEAN, align 4, !tbaa !5
%24 = load i32, ptr @GDK_TYPE_PIXBUF, align 4, !tbaa !5
%25 = tail call i32 @gtk_tree_store_new(i32 noundef %19, i32 noundef %20, i32 noundef %20, i32 noundef %20, i32 noundef %20, i32 noundef %20, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %23, i32 noundef %23, i32 noundef %23, i32 noundef %23, i32 noundef %23) #2
store i32 %25, ptr @tree1, align 4, !tbaa !5
%26 = tail call ptr @GTK_TREE_MODEL(i32 noundef %25) #2
store ptr %26, ptr @model1, align 8, !tbaa !9
ret void
}
declare i32 @gtk_tree_store_new(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @GTK_TREE_MODEL(i32 noundef) local_unnamed_addr #1
declare i64 @g_malloc(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_gconf.c_init_tree_model.c'
source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_gconf.c_init_tree_model.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@COL_NUMBER = common local_unnamed_addr global i32 0, align 4
@G_TYPE_STRING = common local_unnamed_addr global i32 0, align 4
@G_TYPE_POINTER = common local_unnamed_addr global i32 0, align 4
@GDK_TYPE_COLOR = common local_unnamed_addr global i32 0, align 4
@G_TYPE_BOOLEAN = common local_unnamed_addr global i32 0, align 4
@GDK_TYPE_PIXBUF = common local_unnamed_addr global i32 0, align 4
@tree2 = common local_unnamed_addr global i32 0, align 4
@tree = common local_unnamed_addr global i32 0, align 4
@model2 = common local_unnamed_addr global ptr null, align 8
@parents = common local_unnamed_addr global ptr null, align 8
@tree1 = common local_unnamed_addr global i32 0, align 4
@model1 = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @init_tree_model() local_unnamed_addr #0 {
%1 = load i32, ptr @COL_NUMBER, align 4, !tbaa !6
%2 = load i32, ptr @G_TYPE_STRING, align 4, !tbaa !6
%3 = load i32, ptr @G_TYPE_POINTER, align 4, !tbaa !6
%4 = load i32, ptr @GDK_TYPE_COLOR, align 4, !tbaa !6
%5 = load i32, ptr @G_TYPE_BOOLEAN, align 4, !tbaa !6
%6 = load i32, ptr @GDK_TYPE_PIXBUF, align 4, !tbaa !6
%7 = tail call i32 @gtk_tree_store_new(i32 noundef %1, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %5, i32 noundef %5, i32 noundef %5, i32 noundef %5, i32 noundef %5) #2
store i32 %7, ptr @tree2, align 4, !tbaa !6
store i32 %7, ptr @tree, align 4, !tbaa !6
%8 = tail call ptr @GTK_TREE_MODEL(i32 noundef %7) #2
store ptr %8, ptr @model2, align 8, !tbaa !10
%9 = load ptr, ptr @parents, align 8, !tbaa !10
store ptr null, ptr %9, align 8, !tbaa !10
br label %10
10: ; preds = %0, %10
%11 = phi i64 [ 1, %0 ], [ %16, %10 ]
%12 = tail call i64 @g_malloc(i32 noundef 4) #2
%13 = inttoptr i64 %12 to ptr
%14 = load ptr, ptr @parents, align 8, !tbaa !10
%15 = getelementptr inbounds ptr, ptr %14, i64 %11
store ptr %13, ptr %15, align 8, !tbaa !10
%16 = add nuw nsw i64 %11, 1
%17 = icmp eq i64 %16, 256
br i1 %17, label %18, label %10, !llvm.loop !12
18: ; preds = %10
%19 = load i32, ptr @COL_NUMBER, align 4, !tbaa !6
%20 = load i32, ptr @G_TYPE_STRING, align 4, !tbaa !6
%21 = load i32, ptr @G_TYPE_POINTER, align 4, !tbaa !6
%22 = load i32, ptr @GDK_TYPE_COLOR, align 4, !tbaa !6
%23 = load i32, ptr @G_TYPE_BOOLEAN, align 4, !tbaa !6
%24 = load i32, ptr @GDK_TYPE_PIXBUF, align 4, !tbaa !6
%25 = tail call i32 @gtk_tree_store_new(i32 noundef %19, i32 noundef %20, i32 noundef %20, i32 noundef %20, i32 noundef %20, i32 noundef %20, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %23, i32 noundef %23, i32 noundef %23, i32 noundef %23, i32 noundef %23) #2
store i32 %25, ptr @tree1, align 4, !tbaa !6
%26 = tail call ptr @GTK_TREE_MODEL(i32 noundef %25) #2
store ptr %26, ptr @model1, align 8, !tbaa !10
ret void
}
declare i32 @gtk_tree_store_new(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @GTK_TREE_MODEL(i32 noundef) local_unnamed_addr #1
declare i64 @g_malloc(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_scripts_kconfig_extr_gconf.c_init_tree_model |
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_writefileFunc.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_writefileFunc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"wrong number of arguments to function writefile()\00", align 1
@errno = dso_local local_unnamed_addr global i64 0, align 8
@ENOENT = dso_local local_unnamed_addr global i64 0, align 8
@SQLITE_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [29 x i8] c"failed to create symlink: %s\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"failed to create directory: %s\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"failed to write file: %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @writefileFunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @writefileFunc(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = add i32 %1, -5
%5 = icmp ult i32 %4, -3
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @sqlite3_result_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef -1) #2
br label %58
8: ; preds = %3
%9 = load ptr, ptr %2, align 8, !tbaa !5
%10 = tail call i64 @sqlite3_value_text(ptr noundef %9) #2
%11 = inttoptr i64 %10 to ptr
%12 = icmp eq i64 %10, 0
br i1 %12, label %58, label %13
13: ; preds = %8
%14 = icmp ugt i32 %1, 2
br i1 %14, label %15, label %24
15: ; preds = %13
%16 = getelementptr inbounds ptr, ptr %2, i64 2
%17 = load ptr, ptr %16, align 8, !tbaa !5
%18 = tail call i64 @sqlite3_value_int(ptr noundef %17) #2
%19 = icmp eq i32 %1, 4
br i1 %19, label %20, label %24
20: ; preds = %15
%21 = getelementptr inbounds ptr, ptr %2, i64 3
%22 = load ptr, ptr %21, align 8, !tbaa !5
%23 = tail call i32 @sqlite3_value_int64(ptr noundef %22) #2
br label %24
24: ; preds = %13, %20, %15
%25 = phi i64 [ %18, %20 ], [ %18, %15 ], [ 0, %13 ]
%26 = phi i32 [ %23, %20 ], [ -1, %15 ], [ -1, %13 ]
%27 = getelementptr inbounds ptr, ptr %2, i64 1
%28 = load ptr, ptr %27, align 8, !tbaa !5
%29 = tail call i32 @writeFile(ptr noundef %0, ptr noundef nonnull %11, ptr noundef %28, i64 noundef %25, i32 noundef %26) #2
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %42
31: ; preds = %24
%32 = load i64, ptr @errno, align 8, !tbaa !9
%33 = load i64, ptr @ENOENT, align 8, !tbaa !9
%34 = icmp eq i64 %32, %33
br i1 %34, label %35, label %42
35: ; preds = %31
%36 = tail call i64 @makeDirectory(ptr noundef nonnull %11) #2
%37 = load i64, ptr @SQLITE_OK, align 8, !tbaa !9
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load ptr, ptr %27, align 8, !tbaa !5
%41 = tail call i32 @writeFile(ptr noundef %0, ptr noundef nonnull %11, ptr noundef %40, i64 noundef %25, i32 noundef %26) #2
br label %42
42: ; preds = %35, %39, %31, %24
%43 = phi i32 [ %41, %39 ], [ 1, %35 ], [ 1, %31 ], [ %29, %24 ]
%44 = icmp ne i32 %43, 0
%45 = select i1 %14, i1 %44, i1 false
br i1 %45, label %46, label %58
46: ; preds = %42
%47 = tail call i64 @S_ISLNK(i64 noundef %25) #2
%48 = icmp eq i64 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %46
%50 = tail call i32 @ctxErrorMsg(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %11) #2
br label %58
51: ; preds = %46
%52 = tail call i64 @S_ISDIR(i64 noundef %25) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %51
%55 = tail call i32 @ctxErrorMsg(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %11) #2
br label %58
56: ; preds = %51
%57 = tail call i32 @ctxErrorMsg(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %11) #2
br label %58
58: ; preds = %42, %54, %56, %49, %8, %6
ret void
}
declare i32 @sqlite3_result_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3_value_text(ptr noundef) local_unnamed_addr #1
declare i64 @sqlite3_value_int(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_value_int64(ptr noundef) local_unnamed_addr #1
declare i32 @writeFile(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @makeDirectory(ptr noundef) local_unnamed_addr #1
declare i64 @S_ISLNK(i64 noundef) local_unnamed_addr #1
declare i32 @ctxErrorMsg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @S_ISDIR(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_writefileFunc.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_shell.c_writefileFunc.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 [50 x i8] c"wrong number of arguments to function writefile()\00", align 1
@errno = common local_unnamed_addr global i64 0, align 8
@ENOENT = common local_unnamed_addr global i64 0, align 8
@SQLITE_OK = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [29 x i8] c"failed to create symlink: %s\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"failed to create directory: %s\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"failed to write file: %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @writefileFunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @writefileFunc(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = add i32 %1, -5
%5 = icmp ult i32 %4, -3
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @sqlite3_result_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef -1) #2
br label %58
8: ; preds = %3
%9 = load ptr, ptr %2, align 8, !tbaa !6
%10 = tail call i64 @sqlite3_value_text(ptr noundef %9) #2
%11 = inttoptr i64 %10 to ptr
%12 = icmp eq i64 %10, 0
br i1 %12, label %58, label %13
13: ; preds = %8
%14 = icmp ugt i32 %1, 2
br i1 %14, label %15, label %24
15: ; preds = %13
%16 = getelementptr inbounds i8, ptr %2, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !6
%18 = tail call i64 @sqlite3_value_int(ptr noundef %17) #2
%19 = icmp eq i32 %1, 4
br i1 %19, label %20, label %24
20: ; preds = %15
%21 = getelementptr inbounds i8, ptr %2, i64 24
%22 = load ptr, ptr %21, align 8, !tbaa !6
%23 = tail call i32 @sqlite3_value_int64(ptr noundef %22) #2
br label %24
24: ; preds = %13, %20, %15
%25 = phi i64 [ %18, %20 ], [ %18, %15 ], [ 0, %13 ]
%26 = phi i32 [ %23, %20 ], [ -1, %15 ], [ -1, %13 ]
%27 = getelementptr inbounds i8, ptr %2, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !6
%29 = tail call i32 @writeFile(ptr noundef %0, ptr noundef nonnull %11, ptr noundef %28, i64 noundef %25, i32 noundef %26) #2
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %42
31: ; preds = %24
%32 = load i64, ptr @errno, align 8, !tbaa !10
%33 = load i64, ptr @ENOENT, align 8, !tbaa !10
%34 = icmp eq i64 %32, %33
br i1 %34, label %35, label %42
35: ; preds = %31
%36 = tail call i64 @makeDirectory(ptr noundef nonnull %11) #2
%37 = load i64, ptr @SQLITE_OK, align 8, !tbaa !10
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load ptr, ptr %27, align 8, !tbaa !6
%41 = tail call i32 @writeFile(ptr noundef %0, ptr noundef nonnull %11, ptr noundef %40, i64 noundef %25, i32 noundef %26) #2
br label %42
42: ; preds = %35, %39, %31, %24
%43 = phi i32 [ %41, %39 ], [ 1, %35 ], [ 1, %31 ], [ %29, %24 ]
%44 = icmp ne i32 %43, 0
%45 = select i1 %14, i1 %44, i1 false
br i1 %45, label %46, label %58
46: ; preds = %42
%47 = tail call i64 @S_ISLNK(i64 noundef %25) #2
%48 = icmp eq i64 %47, 0
br i1 %48, label %51, label %49
49: ; preds = %46
%50 = tail call i32 @ctxErrorMsg(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %11) #2
br label %58
51: ; preds = %46
%52 = tail call i64 @S_ISDIR(i64 noundef %25) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %51
%55 = tail call i32 @ctxErrorMsg(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %11) #2
br label %58
56: ; preds = %51
%57 = tail call i32 @ctxErrorMsg(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %11) #2
br label %58
58: ; preds = %42, %54, %56, %49, %8, %6
ret void
}
declare i32 @sqlite3_result_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3_value_text(ptr noundef) local_unnamed_addr #1
declare i64 @sqlite3_value_int(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_value_int64(ptr noundef) local_unnamed_addr #1
declare i32 @writeFile(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @makeDirectory(ptr noundef) local_unnamed_addr #1
declare i64 @S_ISLNK(i64 noundef) local_unnamed_addr #1
declare i32 @ctxErrorMsg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @S_ISDIR(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| freebsd_contrib_sqlite3_extr_shell.c_writefileFunc |
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_data.c_check_pipe.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_data.c_check_pipe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.stat = type { i32 }
%struct.perf_data = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@STDIN_FILENO = dso_local local_unnamed_addr global i32 0, align 4
@STDOUT_FILENO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_pipe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @check_pipe(ptr noundef %0) #0 {
%2 = alloca %struct.stat, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%3 = tail call i64 @perf_data__is_read(ptr noundef %0) #4
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @STDIN_FILENO, align 4
%6 = load i32, ptr @STDOUT_FILENO, align 4
%7 = select i1 %4, i32 %6, i32 %5
%8 = getelementptr inbounds %struct.perf_data, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %1
%12 = call i32 @fstat(i32 noundef %7, ptr noundef nonnull %2)
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %23
14: ; preds = %11
%15 = load i32, ptr %2, align 4, !tbaa !11
%16 = tail call i64 @S_ISFIFO(i32 noundef %15) #4
%17 = icmp eq i64 %16, 0
br i1 %17, label %23, label %21
18: ; preds = %1
%19 = tail call i32 @strcmp(i32 noundef %9, ptr noundef nonnull @.str) #4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %14, %18
%22 = getelementptr inbounds %struct.perf_data, ptr %0, i64 0, i32 1
store i32 %7, ptr %22, align 4, !tbaa !13
br label %23
23: ; preds = %11, %14, %21, %18
%24 = phi i32 [ 1, %21 ], [ 0, %18 ], [ 0, %14 ], [ 0, %11 ]
store i32 %24, ptr %0, align 4, !tbaa !14
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @perf_data__is_read(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3
declare i64 @S_ISFIFO(i32 noundef) local_unnamed_addr #2
declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"perf_data", !7, i64 0, !10, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"stat", !7, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_data.c_check_pipe.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_data.c_check_pipe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i32 }
@STDIN_FILENO = common local_unnamed_addr global i32 0, align 4
@STDOUT_FILENO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @check_pipe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @check_pipe(ptr noundef %0) #0 {
%2 = alloca %struct.stat, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%3 = tail call i64 @perf_data__is_read(ptr noundef %0) #4
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @STDIN_FILENO, align 4
%6 = load i32, ptr @STDOUT_FILENO, align 4
%7 = select i1 %4, i32 %6, i32 %5
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %1
%12 = call i32 @fstat(i32 noundef %7, ptr noundef nonnull %2)
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %23
14: ; preds = %11
%15 = load i32, ptr %2, align 4, !tbaa !12
%16 = tail call i64 @S_ISFIFO(i32 noundef %15) #4
%17 = icmp eq i64 %16, 0
br i1 %17, label %23, label %21
18: ; preds = %1
%19 = tail call i32 @strcmp(i32 noundef %9, ptr noundef nonnull @.str) #4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %14, %18
%22 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %7, ptr %22, align 4, !tbaa !14
br label %23
23: ; preds = %11, %14, %21, %18
%24 = phi i32 [ 1, %21 ], [ 0, %18 ], [ 0, %14 ], [ 0, %11 ]
store i32 %24, ptr %0, align 4, !tbaa !15
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @perf_data__is_read(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3
declare i64 @S_ISFIFO(i32 noundef) local_unnamed_addr #2
declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"perf_data", !8, i64 0, !11, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"stat", !8, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 0}
| linux_tools_perf_util_extr_data.c_check_pipe |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb.h_savage_in32.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb.h_savage_in32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @savage_in32], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i64 @savage_in32(i64 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = add nsw i64 %3, %0
%5 = tail call i64 @readl(i64 noundef %4) #2
ret i64 %5
}
declare i64 @readl(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"savagefb_par", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb.h_savage_in32.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb.h_savage_in32.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 @savage_in32], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i64 @savage_in32(i64 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = add nsw i64 %3, %0
%5 = tail call i64 @readl(i64 noundef %4) #2
ret i64 %5
}
declare i64 @readl(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"savagefb_par", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_video_fbdev_savage_extr_savagefb.h_savage_in32 |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_async.c_ap_get.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_async.c_ap_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@disc_data_lock = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ap_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ap_get(ptr nocapture noundef readonly %0) #0 {
%2 = tail call i32 @read_lock(ptr noundef nonnull @disc_data_lock) #2
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @atomic_inc(ptr noundef nonnull %3) #2
br label %7
7: ; preds = %5, %1
%8 = tail call i32 @read_unlock(ptr noundef nonnull @disc_data_lock) #2
ret ptr %3
}
declare i32 @read_lock(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tty_struct", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_async.c_ap_get.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_async.c_ap_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@disc_data_lock = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ap_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ap_get(ptr nocapture noundef readonly %0) #0 {
%2 = tail call i32 @read_lock(ptr noundef nonnull @disc_data_lock) #2
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @atomic_inc(ptr noundef nonnull %3) #2
br label %7
7: ; preds = %5, %1
%8 = tail call i32 @read_unlock(ptr noundef nonnull @disc_data_lock) #2
ret ptr %3
}
declare i32 @read_lock(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1
declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tty_struct", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_extr_ppp_async.c_ap_get |
; ModuleID = 'AnghaBench/systemd/src/core/extr_dynamic-user.c_unlockfp.c'
source_filename = "AnghaBench/systemd/src/core/extr_dynamic-user.c_unlockfp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@F_ULOCK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @unlockfp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @unlockfp(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp slt i32 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @F_ULOCK, align 4, !tbaa !5
%6 = tail call i32 @lockf(i32 noundef %2, i32 noundef %5, i32 noundef 0) #2
store i32 -1, ptr %0, align 4, !tbaa !5
br label %7
7: ; preds = %1, %4
ret void
}
declare i32 @lockf(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/systemd/src/core/extr_dynamic-user.c_unlockfp.c'
source_filename = "AnghaBench/systemd/src/core/extr_dynamic-user.c_unlockfp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F_ULOCK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @unlockfp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @unlockfp(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp slt i32 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @F_ULOCK, align 4, !tbaa !6
%6 = tail call i32 @lockf(i32 noundef %2, i32 noundef %5, i32 noundef 0) #2
store i32 -1, ptr %0, align 4, !tbaa !6
br label %7
7: ; preds = %1, %4
ret void
}
declare i32 @lockf(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| systemd_src_core_extr_dynamic-user.c_unlockfp |
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_grpc_module.c_ngx_http_grpc_parse_window_update.c'
source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_grpc_module.c_ngx_http_grpc_parse_window_update.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { ptr, ptr }
%struct.TYPE_12__ = type { i32, i32, i32, i64, ptr, i64, i32 }
@NGX_LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [59 x i8] c"upstream sent window update frame with invalid length: %uz\00", align 1
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@NGX_AGAIN = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_grpc_st_start = dso_local local_unnamed_addr global i32 0, align 4
@NGX_LOG_DEBUG_HTTP = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"grpc window update: %ui\00", align 1
@NGX_HTTP_V2_MAX_WINDOW = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [38 x i8] c"upstream sent too large window update\00", align 1
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_grpc_parse_window_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ngx_http_grpc_parse_window_update(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_13__, ptr %2, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = ptrtoint ptr %4 to i64
%8 = ptrtoint ptr %6 to i64
%9 = sub i64 %7, %8
%10 = ashr exact i64 %9, 2
%11 = load i32, ptr %1, align 8, !tbaa !11
%12 = sext i32 %11 to i64
%13 = icmp slt i64 %10, %12
%14 = getelementptr inbounds i32, ptr %6, i64 %12
%15 = select i1 %13, ptr %4, ptr %14
%16 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = icmp ne i32 %17, 0
%19 = icmp eq i32 %11, 4
%20 = select i1 %18, i1 true, i1 %19
br i1 %20, label %21, label %25
21: ; preds = %3
%22 = icmp ult ptr %6, %15
br i1 %22, label %23, label %57
23: ; preds = %21
%24 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 2
br label %30
25: ; preds = %3
%26 = load i32, ptr @NGX_LOG_ERR, align 4, !tbaa !16
%27 = load ptr, ptr %0, align 8, !tbaa !17
%28 = load i32, ptr %27, align 4, !tbaa !19
%29 = tail call i32 (i32, i32, i32, ptr, ...) @ngx_log_error(i32 noundef %26, i32 noundef %28, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %11) #2
br label %106
30: ; preds = %23, %51
%31 = phi i32 [ %17, %23 ], [ %52, %51 ]
%32 = phi ptr [ %6, %23 ], [ %53, %51 ]
%33 = load i32, ptr %32, align 4, !tbaa !16
switch i32 %31, label %51 [
i32 0, label %34
i32 1, label %37
i32 2, label %41
i32 3, label %45
]
34: ; preds = %30
%35 = shl i32 %33, 24
%36 = and i32 %35, 2130706432
br label %48
37: ; preds = %30
%38 = shl i32 %33, 16
%39 = load i32, ptr %24, align 8, !tbaa !21
%40 = or i32 %39, %38
br label %48
41: ; preds = %30
%42 = shl i32 %33, 8
%43 = load i32, ptr %24, align 8, !tbaa !21
%44 = or i32 %43, %42
br label %48
45: ; preds = %30
%46 = load i32, ptr %24, align 8, !tbaa !21
%47 = or i32 %46, %33
br label %48
48: ; preds = %45, %41, %37, %34
%49 = phi i32 [ %36, %34 ], [ %40, %37 ], [ %44, %41 ], [ %47, %45 ]
%50 = phi i32 [ 1, %34 ], [ 2, %37 ], [ 3, %41 ], [ 0, %45 ]
store i32 %49, ptr %24, align 8, !tbaa !21
br label %51
51: ; preds = %48, %30
%52 = phi i32 [ %31, %30 ], [ %50, %48 ]
%53 = getelementptr inbounds i32, ptr %32, i64 1
%54 = icmp ult ptr %53, %15
br i1 %54, label %30, label %55, !llvm.loop !22
55: ; preds = %51
%56 = ptrtoint ptr %53 to i64
br label %57
57: ; preds = %55, %21
%58 = phi i64 [ %56, %55 ], [ %8, %21 ]
%59 = phi ptr [ %53, %55 ], [ %6, %21 ]
%60 = phi i32 [ %52, %55 ], [ %17, %21 ]
%61 = sub i64 %58, %8
%62 = lshr exact i64 %61, 2
%63 = trunc i64 %62 to i32
%64 = sub i32 %11, %63
store i32 %64, ptr %1, align 8, !tbaa !11
store i32 %60, ptr %16, align 4, !tbaa !15
store ptr %59, ptr %5, align 8, !tbaa !10
%65 = icmp sgt i32 %64, 0
br i1 %65, label %106, label %66
66: ; preds = %57
%67 = load i32, ptr @ngx_http_grpc_st_start, align 4, !tbaa !16
%68 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 6
store i32 %67, ptr %68, align 8, !tbaa !24
%69 = load i32, ptr @NGX_LOG_DEBUG_HTTP, align 4, !tbaa !16
%70 = load ptr, ptr %0, align 8, !tbaa !17
%71 = load i32, ptr %70, align 4, !tbaa !19
%72 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 2
%73 = load i32, ptr %72, align 8, !tbaa !21
%74 = tail call i32 @ngx_log_debug1(i32 noundef %69, i32 noundef %71, i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef %73) #2
%75 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 5
%76 = load i64, ptr %75, align 8, !tbaa !25
%77 = icmp eq i64 %76, 0
%78 = load i32, ptr %72, align 8, !tbaa !21
%79 = sext i32 %78 to i64
%80 = load i64, ptr @NGX_HTTP_V2_MAX_WINDOW, align 8, !tbaa !26
br i1 %77, label %93, label %81
81: ; preds = %66
%82 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3
%83 = load i64, ptr %82, align 8, !tbaa !27
%84 = sub i64 %80, %83
%85 = icmp ult i64 %84, %79
br i1 %85, label %86, label %91
86: ; preds = %81
%87 = load i32, ptr @NGX_LOG_ERR, align 4, !tbaa !16
%88 = load ptr, ptr %0, align 8, !tbaa !17
%89 = load i32, ptr %88, align 4, !tbaa !19
%90 = tail call i32 (i32, i32, i32, ptr, ...) @ngx_log_error(i32 noundef %87, i32 noundef %89, i32 noundef 0, ptr noundef nonnull @.str.2) #2
br label %106
91: ; preds = %81
%92 = add i64 %83, %79
store i64 %92, ptr %82, align 8, !tbaa !27
br label %106
93: ; preds = %66
%94 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 4
%95 = load ptr, ptr %94, align 8, !tbaa !28
%96 = load i64, ptr %95, align 8, !tbaa !29
%97 = sub nsw i64 %80, %96
%98 = icmp slt i64 %97, %79
br i1 %98, label %99, label %104
99: ; preds = %93
%100 = load i32, ptr @NGX_LOG_ERR, align 4, !tbaa !16
%101 = load ptr, ptr %0, align 8, !tbaa !17
%102 = load i32, ptr %101, align 4, !tbaa !19
%103 = tail call i32 (i32, i32, i32, ptr, ...) @ngx_log_error(i32 noundef %100, i32 noundef %102, i32 noundef 0, ptr noundef nonnull @.str.2) #2
br label %106
104: ; preds = %93
%105 = add nsw i64 %96, %79
store i64 %105, ptr %95, align 8, !tbaa !29
br label %106
106: ; preds = %91, %104, %57, %99, %86, %25
%107 = phi ptr [ @NGX_ERROR, %25 ], [ @NGX_ERROR, %86 ], [ @NGX_ERROR, %99 ], [ @NGX_AGAIN, %57 ], [ @NGX_OK, %104 ], [ @NGX_OK, %91 ]
%108 = load i32, ptr %107, align 4, !tbaa !16
ret i32 %108
}
declare i32 @ngx_log_error(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_13__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_12__", !13, i64 0, !13, i64 4, !13, i64 8, !14, i64 16, !7, i64 24, !14, i64 32, !13, i64 40}
!13 = !{!"int", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!12, !13, i64 4}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_11__", !7, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"TYPE_9__", !13, i64 0}
!21 = !{!12, !13, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!12, !13, i64 40}
!25 = !{!12, !14, i64 32}
!26 = !{!14, !14, i64 0}
!27 = !{!12, !14, i64 16}
!28 = !{!12, !7, i64 24}
!29 = !{!30, !14, i64 0}
!30 = !{!"TYPE_10__", !14, i64 0}
| ; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_grpc_module.c_ngx_http_grpc_parse_window_update.c'
source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_grpc_module.c_ngx_http_grpc_parse_window_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_LOG_ERR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [59 x i8] c"upstream sent window update frame with invalid length: %uz\00", align 1
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@NGX_AGAIN = common local_unnamed_addr global i32 0, align 4
@ngx_http_grpc_st_start = common local_unnamed_addr global i32 0, align 4
@NGX_LOG_DEBUG_HTTP = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"grpc window update: %ui\00", align 1
@NGX_HTTP_V2_MAX_WINDOW = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [38 x i8] c"upstream sent too large window update\00", align 1
@NGX_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_grpc_parse_window_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ngx_http_grpc_parse_window_update(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %2, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = ptrtoint ptr %4 to i64
%8 = ptrtoint ptr %6 to i64
%9 = sub i64 %7, %8
%10 = ashr exact i64 %9, 2
%11 = load i32, ptr %1, align 8, !tbaa !12
%12 = sext i32 %11 to i64
%13 = icmp slt i64 %10, %12
%14 = getelementptr inbounds i32, ptr %6, i64 %12
%15 = select i1 %13, ptr %4, ptr %14
%16 = getelementptr inbounds i8, ptr %1, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = icmp ne i32 %17, 0
%19 = icmp eq i32 %11, 4
%20 = select i1 %18, i1 true, i1 %19
br i1 %20, label %21, label %25
21: ; preds = %3
%22 = icmp ult ptr %6, %15
br i1 %22, label %23, label %57
23: ; preds = %21
%24 = getelementptr inbounds i8, ptr %1, i64 8
br label %30
25: ; preds = %3
%26 = load i32, ptr @NGX_LOG_ERR, align 4, !tbaa !17
%27 = load ptr, ptr %0, align 8, !tbaa !18
%28 = load i32, ptr %27, align 4, !tbaa !20
%29 = tail call i32 (i32, i32, i32, ptr, ...) @ngx_log_error(i32 noundef %26, i32 noundef %28, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %11) #2
br label %106
30: ; preds = %23, %51
%31 = phi i32 [ %17, %23 ], [ %52, %51 ]
%32 = phi ptr [ %6, %23 ], [ %53, %51 ]
%33 = load i32, ptr %32, align 4, !tbaa !17
switch i32 %31, label %51 [
i32 0, label %34
i32 1, label %37
i32 2, label %41
i32 3, label %45
]
34: ; preds = %30
%35 = shl i32 %33, 24
%36 = and i32 %35, 2130706432
br label %48
37: ; preds = %30
%38 = shl i32 %33, 16
%39 = load i32, ptr %24, align 8, !tbaa !22
%40 = or i32 %39, %38
br label %48
41: ; preds = %30
%42 = shl i32 %33, 8
%43 = load i32, ptr %24, align 8, !tbaa !22
%44 = or i32 %43, %42
br label %48
45: ; preds = %30
%46 = load i32, ptr %24, align 8, !tbaa !22
%47 = or i32 %46, %33
br label %48
48: ; preds = %45, %41, %37, %34
%49 = phi i32 [ %36, %34 ], [ %40, %37 ], [ %44, %41 ], [ %47, %45 ]
%50 = phi i32 [ 1, %34 ], [ 2, %37 ], [ 3, %41 ], [ 0, %45 ]
store i32 %49, ptr %24, align 8, !tbaa !22
br label %51
51: ; preds = %48, %30
%52 = phi i32 [ %31, %30 ], [ %50, %48 ]
%53 = getelementptr inbounds i8, ptr %32, i64 4
%54 = icmp ult ptr %53, %15
br i1 %54, label %30, label %55, !llvm.loop !23
55: ; preds = %51
%56 = ptrtoint ptr %53 to i64
br label %57
57: ; preds = %55, %21
%58 = phi i64 [ %56, %55 ], [ %8, %21 ]
%59 = phi ptr [ %53, %55 ], [ %6, %21 ]
%60 = phi i32 [ %52, %55 ], [ %17, %21 ]
%61 = sub i64 %58, %8
%62 = lshr exact i64 %61, 2
%63 = trunc i64 %62 to i32
%64 = sub i32 %11, %63
store i32 %64, ptr %1, align 8, !tbaa !12
store i32 %60, ptr %16, align 4, !tbaa !16
store ptr %59, ptr %5, align 8, !tbaa !11
%65 = icmp sgt i32 %64, 0
br i1 %65, label %106, label %66
66: ; preds = %57
%67 = load i32, ptr @ngx_http_grpc_st_start, align 4, !tbaa !17
%68 = getelementptr inbounds i8, ptr %1, i64 40
store i32 %67, ptr %68, align 8, !tbaa !25
%69 = load i32, ptr @NGX_LOG_DEBUG_HTTP, align 4, !tbaa !17
%70 = load ptr, ptr %0, align 8, !tbaa !18
%71 = load i32, ptr %70, align 4, !tbaa !20
%72 = getelementptr inbounds i8, ptr %1, i64 8
%73 = load i32, ptr %72, align 8, !tbaa !22
%74 = tail call i32 @ngx_log_debug1(i32 noundef %69, i32 noundef %71, i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef %73) #2
%75 = getelementptr inbounds i8, ptr %1, i64 32
%76 = load i64, ptr %75, align 8, !tbaa !26
%77 = icmp eq i64 %76, 0
%78 = load i32, ptr %72, align 8, !tbaa !22
%79 = sext i32 %78 to i64
%80 = load i64, ptr @NGX_HTTP_V2_MAX_WINDOW, align 8, !tbaa !27
br i1 %77, label %93, label %81
81: ; preds = %66
%82 = getelementptr inbounds i8, ptr %1, i64 16
%83 = load i64, ptr %82, align 8, !tbaa !28
%84 = sub i64 %80, %83
%85 = icmp ult i64 %84, %79
br i1 %85, label %86, label %91
86: ; preds = %81
%87 = load i32, ptr @NGX_LOG_ERR, align 4, !tbaa !17
%88 = load ptr, ptr %0, align 8, !tbaa !18
%89 = load i32, ptr %88, align 4, !tbaa !20
%90 = tail call i32 (i32, i32, i32, ptr, ...) @ngx_log_error(i32 noundef %87, i32 noundef %89, i32 noundef 0, ptr noundef nonnull @.str.2) #2
br label %106
91: ; preds = %81
%92 = add i64 %83, %79
store i64 %92, ptr %82, align 8, !tbaa !28
br label %106
93: ; preds = %66
%94 = getelementptr inbounds i8, ptr %1, i64 24
%95 = load ptr, ptr %94, align 8, !tbaa !29
%96 = load i64, ptr %95, align 8, !tbaa !30
%97 = sub nsw i64 %80, %96
%98 = icmp slt i64 %97, %79
br i1 %98, label %99, label %104
99: ; preds = %93
%100 = load i32, ptr @NGX_LOG_ERR, align 4, !tbaa !17
%101 = load ptr, ptr %0, align 8, !tbaa !18
%102 = load i32, ptr %101, align 4, !tbaa !20
%103 = tail call i32 (i32, i32, i32, ptr, ...) @ngx_log_error(i32 noundef %100, i32 noundef %102, i32 noundef 0, ptr noundef nonnull @.str.2) #2
br label %106
104: ; preds = %93
%105 = add nsw i64 %96, %79
store i64 %105, ptr %95, align 8, !tbaa !30
br label %106
106: ; preds = %91, %104, %57, %99, %86, %25
%107 = phi ptr [ @NGX_ERROR, %25 ], [ @NGX_ERROR, %86 ], [ @NGX_ERROR, %99 ], [ @NGX_AGAIN, %57 ], [ @NGX_OK, %104 ], [ @NGX_OK, %91 ]
%108 = load i32, ptr %107, align 4, !tbaa !17
ret i32 %108
}
declare i32 @ngx_log_error(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @ngx_log_debug1(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_13__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_12__", !14, i64 0, !14, i64 4, !14, i64 8, !15, i64 16, !8, i64 24, !15, i64 32, !14, i64 40}
!14 = !{!"int", !9, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!13, !14, i64 4}
!17 = !{!14, !14, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_11__", !8, i64 0}
!20 = !{!21, !14, i64 0}
!21 = !{!"TYPE_9__", !14, i64 0}
!22 = !{!13, !14, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!13, !14, i64 40}
!26 = !{!13, !15, i64 32}
!27 = !{!15, !15, i64 0}
!28 = !{!13, !15, i64 16}
!29 = !{!13, !8, i64 24}
!30 = !{!31, !15, i64 0}
!31 = !{!"TYPE_10__", !15, i64 0}
| nginx_src_http_modules_extr_ngx_http_grpc_module.c_ngx_http_grpc_parse_window_update |
; ModuleID = 'AnghaBench/linux/drivers/base/firmware_loader/extr_fallback.c___fw_fallback_set_timeout.c'
source_filename = "AnghaBench/linux/drivers/base/firmware_loader/extr_fallback.c___fw_fallback_set_timeout.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@fw_fallback_config = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__fw_fallback_set_timeout], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable
define internal void @__fw_fallback_set_timeout(i32 noundef %0) #0 {
store i32 %0, ptr @fw_fallback_config, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/base/firmware_loader/extr_fallback.c___fw_fallback_set_timeout.c'
source_filename = "AnghaBench/linux/drivers/base/firmware_loader/extr_fallback.c___fw_fallback_set_timeout.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 }
@fw_fallback_config = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @__fw_fallback_set_timeout], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal void @__fw_fallback_set_timeout(i32 noundef %0) #0 {
store i32 %0, ptr @fw_fallback_config, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, 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, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_base_firmware_loader_extr_fallback.c___fw_fallback_set_timeout |
; ModuleID = 'AnghaBench/exploitdb/exploits/hardware/dos/extr_2156.c_init.c'
source_filename = "AnghaBench/exploitdb/exploits/hardware/dos/extr_2156.c_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@from = dso_local local_unnamed_addr global i32 0, align 4
@to = dso_local local_unnamed_addr global i32 0, align 4
@subject = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @init(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i32, ptr %1, i64 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %0, i64 %5
%7 = tail call i32 @memset(ptr noundef %6, i8 noundef signext 32, i32 noundef 56) #2
%8 = load i32, ptr %3, align 4, !tbaa !5
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %0, i64 %9
%11 = load i32, ptr @from, align 4, !tbaa !5
%12 = tail call i32 @strlen(i32 noundef %11) #2
%13 = icmp slt i32 %12, 57
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr @from, align 4, !tbaa !5
%16 = tail call i32 @strlen(i32 noundef %15) #2
br label %17
17: ; preds = %2, %14
%18 = phi i32 [ %16, %14 ], [ 56, %2 ]
%19 = tail call i32 @memcpy(ptr noundef %10, i32 noundef %11, i32 noundef %18) #2
%20 = getelementptr inbounds i32, ptr %1, i64 2
%21 = load i32, ptr %20, align 4, !tbaa !5
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %0, i64 %22
%24 = tail call i32 @memset(ptr noundef %23, i8 noundef signext 32, i32 noundef 56) #2
%25 = load i32, ptr %20, align 4, !tbaa !5
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %0, i64 %26
%28 = load i32, ptr @to, align 4, !tbaa !5
%29 = tail call i32 @strlen(i32 noundef %28) #2
%30 = icmp slt i32 %29, 57
br i1 %30, label %31, label %34
31: ; preds = %17
%32 = load i32, ptr @to, align 4, !tbaa !5
%33 = tail call i32 @strlen(i32 noundef %32) #2
br label %34
34: ; preds = %17, %31
%35 = phi i32 [ %33, %31 ], [ 56, %17 ]
%36 = tail call i32 @memcpy(ptr noundef %27, i32 noundef %28, i32 noundef %35) #2
%37 = getelementptr inbounds i32, ptr %1, i64 3
%38 = load i32, ptr %37, align 4, !tbaa !5
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %0, i64 %39
%41 = tail call i32 @memset(ptr noundef %40, i8 noundef signext 32, i32 noundef 56) #2
%42 = load i32, ptr %37, align 4, !tbaa !5
%43 = load i32, ptr @subject, align 4, !tbaa !5
%44 = tail call i32 @strlen(i32 noundef %43) #2
%45 = icmp slt i32 %44, 57
br i1 %45, label %46, label %49
46: ; preds = %34
%47 = load i32, ptr @subject, align 4, !tbaa !5
%48 = tail call i32 @strlen(i32 noundef %47) #2
br label %49
49: ; preds = %34, %46
%50 = phi i32 [ %48, %46 ], [ 56, %34 ]
%51 = sext i32 %42 to i64
%52 = getelementptr inbounds i8, ptr %0, i64 %51
%53 = tail call i32 @memcpy(ptr noundef %52, i32 noundef %43, i32 noundef %50) #2
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/hardware/dos/extr_2156.c_init.c'
source_filename = "AnghaBench/exploitdb/exploits/hardware/dos/extr_2156.c_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@from = common local_unnamed_addr global i32 0, align 4
@to = common local_unnamed_addr global i32 0, align 4
@subject = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @init(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %0, i64 %5
%7 = tail call i32 @memset(ptr noundef %6, i8 noundef signext 32, i32 noundef 56) #2
%8 = load i32, ptr %3, align 4, !tbaa !6
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %0, i64 %9
%11 = load i32, ptr @from, align 4, !tbaa !6
%12 = tail call i32 @strlen(i32 noundef %11) #2
%13 = icmp slt i32 %12, 57
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr @from, align 4, !tbaa !6
%16 = tail call i32 @strlen(i32 noundef %15) #2
br label %17
17: ; preds = %2, %14
%18 = phi i32 [ %16, %14 ], [ 56, %2 ]
%19 = tail call i32 @memcpy(ptr noundef %10, i32 noundef %11, i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %1, i64 8
%21 = load i32, ptr %20, align 4, !tbaa !6
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %0, i64 %22
%24 = tail call i32 @memset(ptr noundef %23, i8 noundef signext 32, i32 noundef 56) #2
%25 = load i32, ptr %20, align 4, !tbaa !6
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %0, i64 %26
%28 = load i32, ptr @to, align 4, !tbaa !6
%29 = tail call i32 @strlen(i32 noundef %28) #2
%30 = icmp slt i32 %29, 57
br i1 %30, label %31, label %34
31: ; preds = %17
%32 = load i32, ptr @to, align 4, !tbaa !6
%33 = tail call i32 @strlen(i32 noundef %32) #2
br label %34
34: ; preds = %17, %31
%35 = phi i32 [ %33, %31 ], [ 56, %17 ]
%36 = tail call i32 @memcpy(ptr noundef %27, i32 noundef %28, i32 noundef %35) #2
%37 = getelementptr inbounds i8, ptr %1, i64 12
%38 = load i32, ptr %37, align 4, !tbaa !6
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %0, i64 %39
%41 = tail call i32 @memset(ptr noundef %40, i8 noundef signext 32, i32 noundef 56) #2
%42 = load i32, ptr %37, align 4, !tbaa !6
%43 = load i32, ptr @subject, align 4, !tbaa !6
%44 = tail call i32 @strlen(i32 noundef %43) #2
%45 = icmp slt i32 %44, 57
br i1 %45, label %46, label %49
46: ; preds = %34
%47 = load i32, ptr @subject, align 4, !tbaa !6
%48 = tail call i32 @strlen(i32 noundef %47) #2
br label %49
49: ; preds = %34, %46
%50 = phi i32 [ %48, %46 ], [ 56, %34 ]
%51 = sext i32 %42 to i64
%52 = getelementptr inbounds i8, ptr %0, i64 %51
%53 = tail call i32 @memcpy(ptr noundef %52, i32 noundef %43, i32 noundef %50) #2
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(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"}
| exploitdb_exploits_hardware_dos_extr_2156.c_init |
; ModuleID = 'AnghaBench/h2o/lib/handler/configurator/extr_file.c_on_config_etag.c'
source_filename = "AnghaBench/h2o/lib/handler/configurator/extr_file.c_on_config_etag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"OFF,ON\00", align 1
@H2O_FILE_FLAG_NO_ETAG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @on_config_etag], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @on_config_etag(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @h2o_configurator_get_one_of(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str) #2
switch i32 %6, label %18 [
i32 0, label %7
i32 1, label %12
]
7: ; preds = %3
%8 = load i32, ptr @H2O_FILE_FLAG_NO_ETAG, align 4, !tbaa !10
%9 = load ptr, ptr %5, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = or i32 %10, %8
store i32 %11, ptr %9, align 4, !tbaa !15
br label %18
12: ; preds = %3
%13 = load i32, ptr @H2O_FILE_FLAG_NO_ETAG, align 4, !tbaa !10
%14 = xor i32 %13, -1
%15 = load ptr, ptr %5, align 8, !tbaa !12
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = and i32 %16, %14
store i32 %17, ptr %15, align 4, !tbaa !15
br label %18
18: ; preds = %7, %12, %3
%19 = phi i32 [ -1, %3 ], [ 0, %12 ], [ 0, %7 ]
ret i32 %19
}
declare i32 @h2o_configurator_get_one_of(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"st_h2o_file_configurator_t", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_5__", !11, i64 0}
| ; ModuleID = 'AnghaBench/h2o/lib/handler/configurator/extr_file.c_on_config_etag.c'
source_filename = "AnghaBench/h2o/lib/handler/configurator/extr_file.c_on_config_etag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"OFF,ON\00", align 1
@H2O_FILE_FLAG_NO_ETAG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @on_config_etag], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @on_config_etag(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @h2o_configurator_get_one_of(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str) #2
switch i32 %6, label %18 [
i32 0, label %7
i32 1, label %12
]
7: ; preds = %3
%8 = load i32, ptr @H2O_FILE_FLAG_NO_ETAG, align 4, !tbaa !11
%9 = load ptr, ptr %5, align 8, !tbaa !13
%10 = load i32, ptr %9, align 4, !tbaa !16
%11 = or i32 %10, %8
store i32 %11, ptr %9, align 4, !tbaa !16
br label %18
12: ; preds = %3
%13 = load i32, ptr @H2O_FILE_FLAG_NO_ETAG, align 4, !tbaa !11
%14 = xor i32 %13, -1
%15 = load ptr, ptr %5, align 8, !tbaa !13
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = and i32 %16, %14
store i32 %17, ptr %15, align 4, !tbaa !16
br label %18
18: ; preds = %7, %12, %3
%19 = phi i32 [ -1, %3 ], [ 0, %12 ], [ 0, %7 ]
ret i32 %19
}
declare i32 @h2o_configurator_get_one_of(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !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, !15, i64 0}
!14 = !{!"st_h2o_file_configurator_t", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_5__", !12, i64 0}
| h2o_lib_handler_configurator_extr_file.c_on_config_etag |
; ModuleID = 'AnghaBench/zfs/cmd/zdb/extr_zdb_il.c_print_log_stats.c'
source_filename = "AnghaBench/zfs/cmd/zdb/extr_zdb_il.c_print_log_stats.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, ptr }
@zil_rec_info = dso_local local_unnamed_addr global ptr null, align 8
@TX_MAX_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"\09\09%s %*llu\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_log_stats], section "llvm.metadata"
; Function Attrs: nofree nounwind uwtable
define internal void @print_log_stats(i32 noundef %0) #0 {
%2 = icmp sgt i32 %0, 3
br i1 %2, label %3, label %5
3: ; preds = %1
%4 = tail call i32 @putchar(i32 10)
br label %5
5: ; preds = %3, %1
%6 = load ptr, ptr @zil_rec_info, align 8, !tbaa !5
%7 = load i64, ptr %6, align 8, !tbaa !9
%8 = icmp eq i64 %7, 0
br i1 %8, label %47, label %9
9: ; preds = %5
%10 = icmp slt i64 %7, 10
br i1 %10, label %11, label %17
11: ; preds = %17, %9
%12 = phi i32 [ 1, %9 ], [ %20, %17 ]
%13 = load i32, ptr @TX_MAX_TYPE, align 4, !tbaa !12
%14 = icmp eq i32 %13, 0
br i1 %14, label %45, label %15
15: ; preds = %11
%16 = icmp sgt i32 %0, 2
br label %24
17: ; preds = %9, %17
%18 = phi i32 [ %21, %17 ], [ 10, %9 ]
%19 = phi i32 [ %20, %17 ], [ 1, %9 ]
%20 = add i32 %19, 1
%21 = mul i32 %18, 10
%22 = zext i32 %21 to i64
%23 = icmp ult i64 %7, %22
br i1 %23, label %11, label %17, !llvm.loop !14
24: ; preds = %15, %39
%25 = phi i32 [ %13, %15 ], [ %40, %39 ]
%26 = phi ptr [ %6, %15 ], [ %41, %39 ]
%27 = phi i64 [ 0, %15 ], [ %42, %39 ]
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %27
%29 = load i64, ptr %28, align 8, !tbaa !9
%30 = icmp ne i64 %29, 0
%31 = or i1 %16, %30
br i1 %31, label %32, label %39
32: ; preds = %24
%33 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %27, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !16
%35 = trunc i64 %29 to i32
%36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %34, i32 noundef %12, i32 noundef %35)
%37 = load ptr, ptr @zil_rec_info, align 8, !tbaa !5
%38 = load i32, ptr @TX_MAX_TYPE, align 4, !tbaa !12
br label %39
39: ; preds = %32, %24
%40 = phi i32 [ %38, %32 ], [ %25, %24 ]
%41 = phi ptr [ %37, %32 ], [ %26, %24 ]
%42 = add nuw nsw i64 %27, 1
%43 = zext i32 %40 to i64
%44 = icmp ult i64 %42, %43
br i1 %44, label %24, label %45, !llvm.loop !17
45: ; preds = %39, %11
%46 = tail call i32 @putchar(i32 10)
br label %47
47: ; preds = %5, %45
ret void
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #2
attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!10, !6, i64 8}
!17 = distinct !{!17, !15}
| ; ModuleID = 'AnghaBench/zfs/cmd/zdb/extr_zdb_il.c_print_log_stats.c'
source_filename = "AnghaBench/zfs/cmd/zdb/extr_zdb_il.c_print_log_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, ptr }
@zil_rec_info = common local_unnamed_addr global ptr null, align 8
@TX_MAX_TYPE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"\09\09%s %*llu\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_log_stats], section "llvm.metadata"
; Function Attrs: nofree nounwind ssp uwtable(sync)
define internal void @print_log_stats(i32 noundef %0) #0 {
%2 = icmp sgt i32 %0, 3
br i1 %2, label %3, label %5
3: ; preds = %1
%4 = tail call i32 @putchar(i32 10)
br label %5
5: ; preds = %3, %1
%6 = load ptr, ptr @zil_rec_info, align 8, !tbaa !6
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
br i1 %8, label %47, label %9
9: ; preds = %5
%10 = icmp slt i64 %7, 10
br i1 %10, label %11, label %17
11: ; preds = %17, %9
%12 = phi i32 [ 1, %9 ], [ %20, %17 ]
%13 = load i32, ptr @TX_MAX_TYPE, align 4, !tbaa !13
%14 = icmp eq i32 %13, 0
br i1 %14, label %45, label %15
15: ; preds = %11
%16 = icmp sgt i32 %0, 2
br label %24
17: ; preds = %9, %17
%18 = phi i32 [ %21, %17 ], [ 10, %9 ]
%19 = phi i32 [ %20, %17 ], [ 1, %9 ]
%20 = add i32 %19, 1
%21 = mul i32 %18, 10
%22 = zext i32 %21 to i64
%23 = icmp ult i64 %7, %22
br i1 %23, label %11, label %17, !llvm.loop !15
24: ; preds = %15, %39
%25 = phi i32 [ %13, %15 ], [ %40, %39 ]
%26 = phi ptr [ %6, %15 ], [ %41, %39 ]
%27 = phi i64 [ 0, %15 ], [ %42, %39 ]
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i64 %27
%29 = load i64, ptr %28, align 8, !tbaa !10
%30 = icmp ne i64 %29, 0
%31 = or i1 %16, %30
br i1 %31, label %32, label %39
32: ; preds = %24
%33 = getelementptr inbounds i8, ptr %28, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !17
%35 = trunc i64 %29 to i32
%36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %34, i32 noundef %12, i32 noundef %35)
%37 = load ptr, ptr @zil_rec_info, align 8, !tbaa !6
%38 = load i32, ptr @TX_MAX_TYPE, align 4, !tbaa !13
br label %39
39: ; preds = %32, %24
%40 = phi i32 [ %38, %32 ], [ %25, %24 ]
%41 = phi ptr [ %37, %32 ], [ %26, %24 ]
%42 = add nuw nsw i64 %27, 1
%43 = zext i32 %40 to i64
%44 = icmp ult i64 %42, %43
br i1 %44, label %24, label %45, !llvm.loop !18
45: ; preds = %39, %11
%46 = tail call i32 @putchar(i32 10)
br label %47
47: ; preds = %5, %45
ret void
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #2
attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!11, !7, i64 8}
!18 = distinct !{!18, !16}
| zfs_cmd_zdb_extr_zdb_il.c_print_log_stats |
; ModuleID = 'AnghaBench/RetroArch/ps2/compat_files/extr_compat_ctype.c_strcmp.c'
source_filename = "AnghaBench/RetroArch/ps2/compat_files/extr_compat_ctype.c_strcmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @strcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
br label %3
3: ; preds = %9, %2
%4 = phi ptr [ %0, %2 ], [ %11, %9 ]
%5 = phi ptr [ %1, %2 ], [ %10, %9 ]
%6 = load i8, ptr %4, align 1, !tbaa !5
%7 = load i8, ptr %5, align 1, !tbaa !5
%8 = icmp eq i8 %6, %7
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %5, i64 1
%11 = getelementptr inbounds i8, ptr %4, i64 1
%12 = icmp eq i8 %6, 0
br i1 %12, label %17, label %3, !llvm.loop !8
13: ; preds = %3
%14 = zext i8 %6 to i32
%15 = zext i8 %7 to i32
%16 = sub nsw i32 %14, %15
br label %17
17: ; preds = %9, %13
%18 = phi i32 [ %16, %13 ], [ 0, %9 ]
ret i32 %18
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/ps2/compat_files/extr_compat_ctype.c_strcmp.c'
source_filename = "AnghaBench/RetroArch/ps2/compat_files/extr_compat_ctype.c_strcmp.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 range(i32 -255, 256) i32 @strcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
br label %3
3: ; preds = %9, %2
%4 = phi ptr [ %0, %2 ], [ %11, %9 ]
%5 = phi ptr [ %1, %2 ], [ %10, %9 ]
%6 = load i8, ptr %4, align 1, !tbaa !6
%7 = load i8, ptr %5, align 1, !tbaa !6
%8 = icmp eq i8 %6, %7
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %5, i64 1
%11 = getelementptr inbounds i8, ptr %4, i64 1
%12 = icmp eq i8 %6, 0
br i1 %12, label %17, label %3, !llvm.loop !9
13: ; preds = %3
%14 = zext i8 %6 to i32
%15 = zext i8 %7 to i32
%16 = sub nsw i32 %14, %15
br label %17
17: ; preds = %9, %13
%18 = phi i32 [ %16, %13 ], [ 0, %9 ]
ret i32 %18
}
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"}
| RetroArch_ps2_compat_files_extr_compat_ctype.c_strcmp |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c_wil_cfg80211_ap_recovery.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c_wil_cfg80211_ap_recovery.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.cfg80211_beacon_data = type { i32, i32, i32, i32, i32, i32 }
%struct.key_params = type { i64, i32, i32 }
%struct.wil6210_vif = type { i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [73 x i8] c"AP (vif %d) recovery: privacy %d, bi %d, channel %d, hidden %d, pbss %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"SSID \00", align 1
@DUMP_PREFIX_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"vif %d recovery failed (%d)\0A\00", align 1
@IEEE80211_GCMP_PN_LEN = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [37 x i8] c"vif %d recovery add key failed (%d)\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @wil_cfg80211_ap_recovery(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.cfg80211_beacon_data, align 16
%3 = alloca %struct.key_params, align 8
%4 = tail call ptr @wil_to_wiphy(ptr noundef %0) #4
%5 = tail call i32 @GET_MAX_VIFS(ptr noundef %0) #4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %78
7: ; preds = %1
%8 = getelementptr inbounds %struct.cfg80211_beacon_data, ptr %2, i64 0, i32 4
%9 = getelementptr inbounds %struct.key_params, ptr %3, i64 0, i32 2
%10 = getelementptr inbounds %struct.key_params, ptr %3, i64 0, i32 1
br label %11
11: ; preds = %7, %73
%12 = phi i64 [ 0, %7 ], [ %74, %73 ]
%13 = load ptr, ptr %0, align 8, !tbaa !5
%14 = getelementptr inbounds ptr, ptr %13, i64 %12
%15 = load ptr, ptr %14, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %2, i8 0, i64 24, i1 false)
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
%16 = icmp eq ptr %15, null
br i1 %16, label %73, label %17
17: ; preds = %11
%18 = load i64, ptr %15, align 8, !tbaa !11
%19 = icmp eq i64 %18, 0
br i1 %19, label %73, label %20
20: ; preds = %17
%21 = call ptr @vif_to_ndev(ptr noundef nonnull %15) #4
%22 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 15
%23 = load <2 x i32>, ptr %22, align 4, !tbaa !15
store <2 x i32> %23, ptr %8, align 16, !tbaa !15
%24 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 11
%25 = load <4 x i32>, ptr %24, align 4, !tbaa !15
store <4 x i32> %25, ptr %2, align 16, !tbaa !15
%26 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 4
%27 = load i32, ptr %26, align 8, !tbaa !16
%28 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 9
%29 = load i32, ptr %28, align 4, !tbaa !17
%30 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 8
%31 = load i32, ptr %30, align 8, !tbaa !18
%32 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 6
%33 = load i32, ptr %32, align 8, !tbaa !19
%34 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 5
%35 = load i32, ptr %34, align 4, !tbaa !20
%36 = trunc i64 %12 to i32
%37 = call i32 @wil_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %36, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35) #4
%38 = load i32, ptr @DUMP_PREFIX_OFFSET, align 4, !tbaa !15
%39 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 10
%40 = load i32, ptr %39, align 8, !tbaa !21
%41 = load i64, ptr %15, align 8, !tbaa !11
%42 = call i32 @wil_hex_dump_misc(ptr noundef nonnull @.str.1, i32 noundef %38, i32 noundef 16, i32 noundef 1, i32 noundef %40, i64 noundef %41, i32 noundef 1) #4
%43 = load i32, ptr %39, align 8, !tbaa !21
%44 = load i64, ptr %15, align 8, !tbaa !11
%45 = load i32, ptr %26, align 8, !tbaa !16
%46 = load i32, ptr %28, align 4, !tbaa !17
%47 = load i32, ptr %30, align 8, !tbaa !18
%48 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 7
%49 = load i32, ptr %48, align 4, !tbaa !22
%50 = load i32, ptr %32, align 8, !tbaa !19
%51 = load i32, ptr %34, align 4, !tbaa !20
%52 = call i32 @_wil_cfg80211_start_ap(ptr noundef %4, ptr noundef %21, i32 noundef %43, i64 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %49, ptr noundef nonnull %2, i32 noundef %50, i32 noundef %51) #4
%53 = icmp eq i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %20
%55 = call i32 @wil_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %36, i32 noundef %52) #4
br label %73
56: ; preds = %20
%57 = load i32, ptr %26, align 8, !tbaa !16
%58 = icmp eq i32 %57, 0
br i1 %58, label %73, label %59
59: ; preds = %56
%60 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 1
%61 = load i64, ptr %60, align 8, !tbaa !23
%62 = icmp eq i64 %61, 0
br i1 %62, label %73, label %63
63: ; preds = %59
%64 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 3
%65 = load i32, ptr %64, align 4, !tbaa !24
store i32 %65, ptr %9, align 4, !tbaa !25
store i64 %61, ptr %3, align 8, !tbaa !27
%66 = load i32, ptr @IEEE80211_GCMP_PN_LEN, align 4, !tbaa !15
store i32 %66, ptr %10, align 8, !tbaa !28
%67 = getelementptr inbounds %struct.wil6210_vif, ptr %15, i64 0, i32 2
%68 = load i32, ptr %67, align 8, !tbaa !29
%69 = call i32 @wil_cfg80211_add_key(ptr noundef %4, ptr noundef %21, i32 noundef %68, i32 noundef 0, ptr noundef null, ptr noundef nonnull %3) #4
%70 = icmp eq i32 %69, 0
br i1 %70, label %73, label %71
71: ; preds = %63
%72 = call i32 @wil_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %36, i32 noundef %69) #4
br label %73
73: ; preds = %63, %71, %56, %59, %11, %17, %54
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
%74 = add nuw nsw i64 %12, 1
%75 = call i32 @GET_MAX_VIFS(ptr noundef nonnull %0) #4
%76 = sext i32 %75 to i64
%77 = icmp slt i64 %74, %76
br i1 %77, label %11, label %78, !llvm.loop !30
78: ; preds = %73, %1
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @wil_to_wiphy(ptr noundef) local_unnamed_addr #2
declare i32 @GET_MAX_VIFS(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare ptr @vif_to_ndev(ptr noundef) local_unnamed_addr #2
declare i32 @wil_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wil_hex_dump_misc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_wil_cfg80211_start_ap(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wil_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wil_cfg80211_add_key(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"wil6210_priv", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"wil6210_vif", !13, i64 0, !13, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60, !14, i64 64, !14, i64 68, !14, i64 72}
!13 = !{!"long", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !14, i64 24}
!17 = !{!12, !14, i64 44}
!18 = !{!12, !14, i64 40}
!19 = !{!12, !14, i64 32}
!20 = !{!12, !14, i64 28}
!21 = !{!12, !14, i64 48}
!22 = !{!12, !14, i64 36}
!23 = !{!12, !13, i64 8}
!24 = !{!12, !14, i64 20}
!25 = !{!26, !14, i64 12}
!26 = !{!"key_params", !13, i64 0, !14, i64 8, !14, i64 12}
!27 = !{!26, !13, i64 0}
!28 = !{!26, !14, i64 8}
!29 = !{!12, !14, i64 16}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c_wil_cfg80211_ap_recovery.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_cfg80211.c_wil_cfg80211_ap_recovery.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.cfg80211_beacon_data = type { i32, i32, i32, i32, i32, i32 }
%struct.key_params = type { i64, i32, i32 }
@.str = private unnamed_addr constant [73 x i8] c"AP (vif %d) recovery: privacy %d, bi %d, channel %d, hidden %d, pbss %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"SSID \00", align 1
@DUMP_PREFIX_OFFSET = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"vif %d recovery failed (%d)\0A\00", align 1
@IEEE80211_GCMP_PN_LEN = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [37 x i8] c"vif %d recovery add key failed (%d)\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @wil_cfg80211_ap_recovery(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.cfg80211_beacon_data, align 16
%3 = alloca %struct.key_params, align 8
%4 = tail call ptr @wil_to_wiphy(ptr noundef %0) #4
%5 = tail call i32 @GET_MAX_VIFS(ptr noundef %0) #4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %78
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %2, i64 16
%9 = getelementptr inbounds i8, ptr %3, i64 12
%10 = getelementptr inbounds i8, ptr %3, i64 8
br label %11
11: ; preds = %7, %73
%12 = phi i64 [ 0, %7 ], [ %74, %73 ]
%13 = load ptr, ptr %0, align 8, !tbaa !6
%14 = getelementptr inbounds ptr, ptr %13, i64 %12
%15 = load ptr, ptr %14, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %2, i8 0, i64 24, i1 false)
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
%16 = icmp eq ptr %15, null
br i1 %16, label %73, label %17
17: ; preds = %11
%18 = load i64, ptr %15, align 8, !tbaa !12
%19 = icmp eq i64 %18, 0
br i1 %19, label %73, label %20
20: ; preds = %17
%21 = call ptr @vif_to_ndev(ptr noundef nonnull %15) #4
%22 = getelementptr inbounds i8, ptr %15, i64 68
%23 = load <2 x i32>, ptr %22, align 4, !tbaa !16
store <2 x i32> %23, ptr %8, align 16, !tbaa !16
%24 = getelementptr inbounds i8, ptr %15, i64 52
%25 = load <4 x i32>, ptr %24, align 4, !tbaa !16
store <4 x i32> %25, ptr %2, align 16, !tbaa !16
%26 = getelementptr inbounds i8, ptr %15, i64 24
%27 = load i32, ptr %26, align 8, !tbaa !17
%28 = getelementptr inbounds i8, ptr %15, i64 44
%29 = load i32, ptr %28, align 4, !tbaa !18
%30 = getelementptr inbounds i8, ptr %15, i64 40
%31 = load i32, ptr %30, align 8, !tbaa !19
%32 = getelementptr inbounds i8, ptr %15, i64 32
%33 = load i32, ptr %32, align 8, !tbaa !20
%34 = getelementptr inbounds i8, ptr %15, i64 28
%35 = load i32, ptr %34, align 4, !tbaa !21
%36 = trunc nuw nsw i64 %12 to i32
%37 = call i32 @wil_info(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %36, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %33, i32 noundef %35) #4
%38 = load i32, ptr @DUMP_PREFIX_OFFSET, align 4, !tbaa !16
%39 = getelementptr inbounds i8, ptr %15, i64 48
%40 = load i32, ptr %39, align 8, !tbaa !22
%41 = load i64, ptr %15, align 8, !tbaa !12
%42 = call i32 @wil_hex_dump_misc(ptr noundef nonnull @.str.1, i32 noundef %38, i32 noundef 16, i32 noundef 1, i32 noundef %40, i64 noundef %41, i32 noundef 1) #4
%43 = load i32, ptr %39, align 8, !tbaa !22
%44 = load i64, ptr %15, align 8, !tbaa !12
%45 = load i32, ptr %26, align 8, !tbaa !17
%46 = load i32, ptr %28, align 4, !tbaa !18
%47 = load i32, ptr %30, align 8, !tbaa !19
%48 = getelementptr inbounds i8, ptr %15, i64 36
%49 = load i32, ptr %48, align 4, !tbaa !23
%50 = load i32, ptr %32, align 8, !tbaa !20
%51 = load i32, ptr %34, align 4, !tbaa !21
%52 = call i32 @_wil_cfg80211_start_ap(ptr noundef %4, ptr noundef %21, i32 noundef %43, i64 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %49, ptr noundef nonnull %2, i32 noundef %50, i32 noundef %51) #4
%53 = icmp eq i32 %52, 0
br i1 %53, label %56, label %54
54: ; preds = %20
%55 = call i32 @wil_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %36, i32 noundef %52) #4
br label %73
56: ; preds = %20
%57 = load i32, ptr %26, align 8, !tbaa !17
%58 = icmp eq i32 %57, 0
br i1 %58, label %73, label %59
59: ; preds = %56
%60 = getelementptr inbounds i8, ptr %15, i64 8
%61 = load i64, ptr %60, align 8, !tbaa !24
%62 = icmp eq i64 %61, 0
br i1 %62, label %73, label %63
63: ; preds = %59
%64 = getelementptr inbounds i8, ptr %15, i64 20
%65 = load i32, ptr %64, align 4, !tbaa !25
store i32 %65, ptr %9, align 4, !tbaa !26
store i64 %61, ptr %3, align 8, !tbaa !28
%66 = load i32, ptr @IEEE80211_GCMP_PN_LEN, align 4, !tbaa !16
store i32 %66, ptr %10, align 8, !tbaa !29
%67 = getelementptr inbounds i8, ptr %15, i64 16
%68 = load i32, ptr %67, align 8, !tbaa !30
%69 = call i32 @wil_cfg80211_add_key(ptr noundef %4, ptr noundef %21, i32 noundef %68, i32 noundef 0, ptr noundef null, ptr noundef nonnull %3) #4
%70 = icmp eq i32 %69, 0
br i1 %70, label %73, label %71
71: ; preds = %63
%72 = call i32 @wil_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %36, i32 noundef %69) #4
br label %73
73: ; preds = %63, %71, %56, %59, %11, %17, %54
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
%74 = add nuw nsw i64 %12, 1
%75 = call i32 @GET_MAX_VIFS(ptr noundef nonnull %0) #4
%76 = sext i32 %75 to i64
%77 = icmp slt i64 %74, %76
br i1 %77, label %11, label %78, !llvm.loop !31
78: ; preds = %73, %1
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @wil_to_wiphy(ptr noundef) local_unnamed_addr #2
declare i32 @GET_MAX_VIFS(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare ptr @vif_to_ndev(ptr noundef) local_unnamed_addr #2
declare i32 @wil_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wil_hex_dump_misc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_wil_cfg80211_start_ap(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wil_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wil_cfg80211_add_key(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"wil6210_priv", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"wil6210_vif", !14, i64 0, !14, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72}
!14 = !{!"long", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!13, !15, i64 24}
!18 = !{!13, !15, i64 44}
!19 = !{!13, !15, i64 40}
!20 = !{!13, !15, i64 32}
!21 = !{!13, !15, i64 28}
!22 = !{!13, !15, i64 48}
!23 = !{!13, !15, i64 36}
!24 = !{!13, !14, i64 8}
!25 = !{!13, !15, i64 20}
!26 = !{!27, !15, i64 12}
!27 = !{!"key_params", !14, i64 0, !15, i64 8, !15, i64 12}
!28 = !{!27, !14, i64 0}
!29 = !{!27, !15, i64 8}
!30 = !{!13, !15, i64 16}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_wireless_ath_wil6210_extr_cfg80211.c_wil_cfg80211_ap_recovery |
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-tegra194.c_tegra_pcie_dw_rd_own_conf.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-tegra194.c_tegra_pcie_dw_rd_own_conf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PORT_LOGIC_MSIX_DOORBELL = dso_local local_unnamed_addr global i32 0, align 4
@PCIBIOS_SUCCESSFUL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tegra_pcie_dw_rd_own_conf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tegra_pcie_dw_rd_own_conf(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = tail call ptr @to_dw_pcie_from_pp(ptr noundef %0) #2
%6 = load i32, ptr @PORT_LOGIC_MSIX_DOORBELL, align 4, !tbaa !5
%7 = icmp eq i32 %6, %1
br i1 %7, label %8, label %10
8: ; preds = %4
store i32 0, ptr %3, align 4, !tbaa !5
%9 = load i32, ptr @PCIBIOS_SUCCESSFUL, align 4, !tbaa !5
br label %15
10: ; preds = %4
%11 = load i64, ptr %5, align 8, !tbaa !9
%12 = sext i32 %1 to i64
%13 = add nsw i64 %11, %12
%14 = tail call i32 @dw_pcie_read(i64 noundef %13, i32 noundef %2, ptr noundef %3) #2
br label %15
15: ; preds = %10, %8
%16 = phi i32 [ %9, %8 ], [ %14, %10 ]
ret i32 %16
}
declare ptr @to_dw_pcie_from_pp(ptr noundef) local_unnamed_addr #1
declare i32 @dw_pcie_read(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"dw_pcie", !11, i64 0}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-tegra194.c_tegra_pcie_dw_rd_own_conf.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-tegra194.c_tegra_pcie_dw_rd_own_conf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PORT_LOGIC_MSIX_DOORBELL = common local_unnamed_addr global i32 0, align 4
@PCIBIOS_SUCCESSFUL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tegra_pcie_dw_rd_own_conf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tegra_pcie_dw_rd_own_conf(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = tail call ptr @to_dw_pcie_from_pp(ptr noundef %0) #2
%6 = load i32, ptr @PORT_LOGIC_MSIX_DOORBELL, align 4, !tbaa !6
%7 = icmp eq i32 %6, %1
br i1 %7, label %8, label %10
8: ; preds = %4
store i32 0, ptr %3, align 4, !tbaa !6
%9 = load i32, ptr @PCIBIOS_SUCCESSFUL, align 4, !tbaa !6
br label %15
10: ; preds = %4
%11 = load i64, ptr %5, align 8, !tbaa !10
%12 = sext i32 %1 to i64
%13 = add nsw i64 %11, %12
%14 = tail call i32 @dw_pcie_read(i64 noundef %13, i32 noundef %2, ptr noundef %3) #2
br label %15
15: ; preds = %10, %8
%16 = phi i32 [ %9, %8 ], [ %14, %10 ]
ret i32 %16
}
declare ptr @to_dw_pcie_from_pp(ptr noundef) local_unnamed_addr #1
declare i32 @dw_pcie_read(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"dw_pcie", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| linux_drivers_pci_controller_dwc_extr_pcie-tegra194.c_tegra_pcie_dw_rd_own_conf |
; ModuleID = 'AnghaBench/disque/src/extr_cluster.c_clusterSaveConfigOrDie.c'
source_filename = "AnghaBench/disque/src/extr_cluster.c_clusterSaveConfigOrDie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LL_WARNING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"Fatal: can't update cluster config file.\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @clusterSaveConfigOrDie(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @clusterSaveConfig(i32 noundef %0) #3
%3 = icmp eq i32 %2, -1
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = load i32, ptr @LL_WARNING, align 4, !tbaa !5
%6 = tail call i32 @serverLog(i32 noundef %5, ptr noundef nonnull @.str) #3
%7 = tail call i32 @exit(i32 noundef 1) #4
unreachable
8: ; preds = %1
ret void
}
declare i32 @clusterSaveConfig(i32 noundef) local_unnamed_addr #1
declare i32 @serverLog(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/disque/src/extr_cluster.c_clusterSaveConfigOrDie.c'
source_filename = "AnghaBench/disque/src/extr_cluster.c_clusterSaveConfigOrDie.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LL_WARNING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"Fatal: can't update cluster config file.\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @clusterSaveConfigOrDie(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @clusterSaveConfig(i32 noundef %0) #3
%3 = icmp eq i32 %2, -1
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = load i32, ptr @LL_WARNING, align 4, !tbaa !6
%6 = tail call i32 @serverLog(i32 noundef %5, ptr noundef nonnull @.str) #3
%7 = tail call i32 @exit(i32 noundef 1) #4
unreachable
8: ; preds = %1
ret void
}
declare i32 @clusterSaveConfig(i32 noundef) local_unnamed_addr #1
declare i32 @serverLog(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| disque_src_extr_cluster.c_clusterSaveConfigOrDie |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid1.c_get_default_mirror.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid1.c_get_default_mirror.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mirror_set = type { i32, ptr }
%struct.mirror = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_default_mirror], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @get_default_mirror(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.mirror_set, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = tail call i64 @atomic_read(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.mirror, ptr %3, i64 %4
ret ptr %5
}
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"mirror_set", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid1.c_get_default_mirror.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid1.c_get_default_mirror.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mirror = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @get_default_mirror], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @get_default_mirror(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = tail call i64 @atomic_read(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.mirror, ptr %3, i64 %4
ret ptr %5
}
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"mirror_set", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
| fastsocket_kernel_drivers_md_extr_dm-raid1.c_get_default_mirror |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.