IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_file.c_reiserfs_sync_file.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_file.c_reiserfs_sync_file.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.inode = type { ptr, i32, i32 }
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @reiserfs_sync_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @reiserfs_sync_file(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 %2) #0 {
%4 = load ptr, ptr %1, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.inode, ptr %4, i64 0, i32 2
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @S_ISREG(i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = tail call i32 @BUG_ON(i32 noundef %9) #2
%11 = getelementptr inbounds %struct.inode, ptr %4, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = tail call i32 @sync_mapping_buffers(i32 noundef %12) #2
%14 = load ptr, ptr %4, align 8, !tbaa !14
%15 = tail call i32 @reiserfs_write_lock(ptr noundef %14) #2
%16 = tail call i32 @reiserfs_commit_for_inode(ptr noundef nonnull %4) #2
%17 = load ptr, ptr %4, align 8, !tbaa !14
%18 = tail call i32 @reiserfs_write_unlock(ptr noundef %17) #2
%19 = icmp eq i32 %16, 1
br i1 %19, label %28, label %20
20: ; preds = %3
%21 = load ptr, ptr %4, align 8, !tbaa !14
%22 = tail call i64 @reiserfs_barrier_flush(ptr noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %20
%25 = load ptr, ptr %4, align 8, !tbaa !14
%26 = load i32, ptr %25, align 4, !tbaa !15
%27 = tail call i32 @blkdev_issue_flush(i32 noundef %26, ptr noundef null) #2
br label %28
28: ; preds = %24, %20, %3
%29 = icmp slt i32 %16, 0
%30 = icmp slt i32 %13, 0
%31 = load i32, ptr @EIO, align 4
%32 = sub nsw i32 0, %31
%33 = select i1 %30, i32 %32, i32 0
%34 = select i1 %29, i32 %16, i32 %33
ret i32 %34
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @S_ISREG(i32 noundef) local_unnamed_addr #1
declare i32 @sync_mapping_buffers(i32 noundef) local_unnamed_addr #1
declare i32 @reiserfs_write_lock(ptr noundef) local_unnamed_addr #1
declare i32 @reiserfs_commit_for_inode(ptr noundef) local_unnamed_addr #1
declare i32 @reiserfs_write_unlock(ptr noundef) local_unnamed_addr #1
declare i64 @reiserfs_barrier_flush(ptr noundef) local_unnamed_addr #1
declare i32 @blkdev_issue_flush(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 = !{!"dentry", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 12}
!11 = !{!"inode", !7, i64 0, !12, i64 8, !12, i64 12}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!11, !7, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_4__", !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_file.c_reiserfs_sync_file.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_file.c_reiserfs_sync_file.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
@llvm.used = appending global [1 x ptr] [ptr @reiserfs_sync_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @reiserfs_sync_file(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 %2) #0 {
%4 = load ptr, ptr %1, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 12
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @S_ISREG(i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = tail call i32 @BUG_ON(i32 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %4, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !14
%13 = tail call i32 @sync_mapping_buffers(i32 noundef %12) #2
%14 = load ptr, ptr %4, align 8, !tbaa !15
%15 = tail call i32 @reiserfs_write_lock(ptr noundef %14) #2
%16 = tail call i32 @reiserfs_commit_for_inode(ptr noundef nonnull %4) #2
%17 = load ptr, ptr %4, align 8, !tbaa !15
%18 = tail call i32 @reiserfs_write_unlock(ptr noundef %17) #2
%19 = icmp eq i32 %16, 1
br i1 %19, label %28, label %20
20: ; preds = %3
%21 = load ptr, ptr %4, align 8, !tbaa !15
%22 = tail call i64 @reiserfs_barrier_flush(ptr noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %20
%25 = load ptr, ptr %4, align 8, !tbaa !15
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = tail call i32 @blkdev_issue_flush(i32 noundef %26, ptr noundef null) #2
br label %28
28: ; preds = %24, %20, %3
%29 = icmp slt i32 %16, 0
%30 = icmp slt i32 %13, 0
%31 = load i32, ptr @EIO, align 4
%32 = sub nsw i32 0, %31
%33 = select i1 %30, i32 %32, i32 0
%34 = select i1 %29, i32 %16, i32 %33
ret i32 %34
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @S_ISREG(i32 noundef) local_unnamed_addr #1
declare i32 @sync_mapping_buffers(i32 noundef) local_unnamed_addr #1
declare i32 @reiserfs_write_lock(ptr noundef) local_unnamed_addr #1
declare i32 @reiserfs_commit_for_inode(ptr noundef) local_unnamed_addr #1
declare i32 @reiserfs_write_unlock(ptr noundef) local_unnamed_addr #1
declare i64 @reiserfs_barrier_flush(ptr noundef) local_unnamed_addr #1
declare i32 @blkdev_issue_flush(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 = !{!"dentry", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 12}
!12 = !{!"inode", !8, i64 0, !13, i64 8, !13, i64 12}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!12, !8, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_4__", !13, i64 0}
| fastsocket_kernel_fs_reiserfs_extr_file.c_reiserfs_sync_file |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_pm.c_amdgpu_pm_acpi_event_handler.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_pm.c_amdgpu_pm_acpi_event_handler.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
%struct.amdgpu_device = type { %struct.TYPE_6__, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { ptr }
; Function Attrs: nounwind uwtable
define dso_local void @amdgpu_pm_acpi_event_handler(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %19, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%7 = tail call i32 @mutex_lock(ptr noundef nonnull %6) #2
%8 = tail call i64 (...) @power_supply_is_system_supplied() #2
%9 = icmp sgt i64 %8, 0
%10 = zext i1 %9 to i32
store i32 %10, ptr %0, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = load i64, ptr %12, align 8, !tbaa !16
%14 = icmp eq i64 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %5
%16 = tail call i32 @amdgpu_dpm_enable_bapm(ptr noundef nonnull %0, i32 noundef %10) #2
br label %17
17: ; preds = %15, %5
%18 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2
br label %19
19: ; preds = %17, %1
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @power_supply_is_system_supplied(...) local_unnamed_addr #1
declare i32 @amdgpu_dpm_enable_bapm(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_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, !11, i64 8}
!6 = !{!"amdgpu_device", !7, i64 0, !12, i64 16}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!6, !8, i64 0}
!15 = !{!6, !13, i64 16}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_4__", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_pm.c_amdgpu_pm_acpi_event_handler.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_pm.c_amdgpu_pm_acpi_event_handler.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 @amdgpu_pm_acpi_event_handler(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %19, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = tail call i32 @mutex_lock(ptr noundef nonnull %6) #2
%8 = tail call i64 @power_supply_is_system_supplied() #2
%9 = icmp sgt i64 %8, 0
%10 = zext i1 %9 to i32
store i32 %10, ptr %0, align 8, !tbaa !15
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !16
%13 = load i64, ptr %12, align 8, !tbaa !17
%14 = icmp eq i64 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %5
%16 = tail call i32 @amdgpu_dpm_enable_bapm(ptr noundef nonnull %0, i32 noundef %10) #2
br label %17
17: ; preds = %15, %5
%18 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2
br label %19
19: ; preds = %17, %1
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @power_supply_is_system_supplied(...) local_unnamed_addr #1
declare i32 @amdgpu_dpm_enable_bapm(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_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, !12, i64 8}
!7 = !{!"amdgpu_device", !8, i64 0, !13, i64 16}
!8 = !{!"TYPE_6__", !9, i64 0, !9, i64 4, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!7, !9, i64 0}
!16 = !{!7, !14, i64 16}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_4__", !12, i64 0}
| linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_pm.c_amdgpu_pm_acpi_event_handler |
; ModuleID = 'AnghaBench/freebsd/sys/x86/bios/extr_smbios.c_smbios_cksum.c'
source_filename = "AnghaBench/freebsd/sys/x86/bios/extr_smbios.c_smbios_cksum.c"
target datalayout = "e-m:e-p270:32:32-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 @smbios_cksum], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
define internal i32 @smbios_cksum(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %36
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = icmp ult i32 %2, 8
br i1 %6, label %25, label %7
7: ; preds = %4
%8 = and i64 %5, 2147483640
br label %9
9: ; preds = %9, %7
%10 = phi i64 [ 0, %7 ], [ %19, %9 ]
%11 = phi <4 x i32> [ zeroinitializer, %7 ], [ %17, %9 ]
%12 = phi <4 x i32> [ zeroinitializer, %7 ], [ %18, %9 ]
%13 = getelementptr inbounds i32, ptr %0, i64 %10
%14 = getelementptr inbounds i32, ptr %13, i64 4
%15 = load <4 x i32>, ptr %13, align 4, !tbaa !10
%16 = load <4 x i32>, ptr %14, align 4, !tbaa !10
%17 = add <4 x i32> %15, %11
%18 = add <4 x i32> %16, %12
%19 = add nuw i64 %10, 8
%20 = icmp eq i64 %19, %8
br i1 %20, label %21, label %9, !llvm.loop !11
21: ; preds = %9
%22 = add <4 x i32> %18, %17
%23 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %22)
%24 = icmp eq i64 %8, %5
br i1 %24, label %36, label %25
25: ; preds = %4, %21
%26 = phi i64 [ 0, %4 ], [ %8, %21 ]
%27 = phi i32 [ 0, %4 ], [ %23, %21 ]
br label %28
28: ; preds = %25, %28
%29 = phi i64 [ %34, %28 ], [ %26, %25 ]
%30 = phi i32 [ %33, %28 ], [ %27, %25 ]
%31 = getelementptr inbounds i32, ptr %0, i64 %29
%32 = load i32, ptr %31, align 4, !tbaa !10
%33 = add nsw i32 %32, %30
%34 = add nuw nsw i64 %29, 1
%35 = icmp eq i64 %34, %5
br i1 %35, label %36, label %28, !llvm.loop !15
36: ; preds = %28, %21, %1
%37 = phi i32 [ 0, %1 ], [ %23, %21 ], [ %33, %28 ]
ret i32 %37
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #1
attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = !{!"smbios_eps", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !14, !13}
| ; ModuleID = 'AnghaBench/freebsd/sys/x86/bios/extr_smbios.c_smbios_cksum.c'
source_filename = "AnghaBench/freebsd/sys/x86/bios/extr_smbios.c_smbios_cksum.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 @smbios_cksum], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync)
define internal i32 @smbios_cksum(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %46
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = icmp ult i32 %2, 16
br i1 %6, label %35, label %7
7: ; preds = %4
%8 = and i64 %5, 2147483632
br label %9
9: ; preds = %9, %7
%10 = phi i64 [ 0, %7 ], [ %27, %9 ]
%11 = phi <4 x i32> [ zeroinitializer, %7 ], [ %23, %9 ]
%12 = phi <4 x i32> [ zeroinitializer, %7 ], [ %24, %9 ]
%13 = phi <4 x i32> [ zeroinitializer, %7 ], [ %25, %9 ]
%14 = phi <4 x i32> [ zeroinitializer, %7 ], [ %26, %9 ]
%15 = getelementptr inbounds i32, ptr %0, i64 %10
%16 = getelementptr inbounds i8, ptr %15, i64 16
%17 = getelementptr inbounds i8, ptr %15, i64 32
%18 = getelementptr inbounds i8, ptr %15, i64 48
%19 = load <4 x i32>, ptr %15, align 4, !tbaa !11
%20 = load <4 x i32>, ptr %16, align 4, !tbaa !11
%21 = load <4 x i32>, ptr %17, align 4, !tbaa !11
%22 = load <4 x i32>, ptr %18, align 4, !tbaa !11
%23 = add <4 x i32> %19, %11
%24 = add <4 x i32> %20, %12
%25 = add <4 x i32> %21, %13
%26 = add <4 x i32> %22, %14
%27 = add nuw i64 %10, 16
%28 = icmp eq i64 %27, %8
br i1 %28, label %29, label %9, !llvm.loop !12
29: ; preds = %9
%30 = add <4 x i32> %24, %23
%31 = add <4 x i32> %25, %30
%32 = add <4 x i32> %26, %31
%33 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %32)
%34 = icmp eq i64 %8, %5
br i1 %34, label %46, label %35
35: ; preds = %29, %4
%36 = phi i64 [ 0, %4 ], [ %8, %29 ]
%37 = phi i32 [ 0, %4 ], [ %33, %29 ]
br label %38
38: ; preds = %35, %38
%39 = phi i64 [ %44, %38 ], [ %36, %35 ]
%40 = phi i32 [ %43, %38 ], [ %37, %35 ]
%41 = getelementptr inbounds i32, ptr %0, i64 %39
%42 = load i32, ptr %41, align 4, !tbaa !11
%43 = add nsw i32 %42, %40
%44 = add nuw nsw i64 %39, 1
%45 = icmp eq i64 %44, %5
br i1 %45, label %46, label %38, !llvm.loop !16
46: ; preds = %38, %29, %1
%47 = phi i32 [ 0, %1 ], [ %33, %29 ], [ %43, %38 ]
ret i32 %47
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #1
attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { 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 = !{!"smbios_eps", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13, !14, !15}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !13, !15, !14}
| freebsd_sys_x86_bios_extr_smbios.c_smbios_cksum |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_cconv.c_cconv_struct_init.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_cconv.c_cconv_struct_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @cconv_struct_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cconv_struct_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
store i64 0, ptr %7, align 8, !tbaa !5
%8 = tail call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef %2) #3
%9 = call i32 @cconv_substruct_init(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef nonnull %7) #3
%10 = load i64, ptr %7, align 8, !tbaa !5
%11 = icmp slt i64 %10, %5
br i1 %11, label %12, label %14
12: ; preds = %6
%13 = call i32 @cconv_err_initov(ptr noundef %0, ptr noundef %1) #3
br label %14
14: ; preds = %12, %6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cconv_substruct_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cconv_err_initov(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_cconv.c_cconv_struct_init.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_cconv.c_cconv_struct_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @cconv_struct_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cconv_struct_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 {
%7 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
store i64 0, ptr %7, align 8, !tbaa !6
%8 = tail call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef %2) #3
%9 = call i32 @cconv_substruct_init(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef nonnull %7) #3
%10 = load i64, ptr %7, align 8, !tbaa !6
%11 = icmp slt i64 %10, %5
br i1 %11, label %12, label %14
12: ; preds = %6
%13 = call i32 @cconv_err_initov(ptr noundef %0, ptr noundef %1) #3
br label %14
14: ; preds = %12, %6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #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 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cconv_substruct_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cconv_err_initov(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| xLua_build_luajit-2.1.0b3_src_extr_lj_cconv.c_cconv_struct_init |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/persistent-data/extr_dm-block-manager.c_dm_bm_read_try_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/persistent-data/extr_dm-block-manager.c_dm_bm_read_try_lock.c"
target datalayout = "e-m:e-p270:32:32-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.buffer_aux = type { i32, i64 }
@EWOULDBLOCK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dm_bm_read_try_lock(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call ptr @dm_bufio_get(i32 noundef %5, i32 noundef %1, ptr noundef %3) #2
%7 = tail call i32 @IS_ERR(ptr noundef %6) #2
%8 = tail call i64 @unlikely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = tail call i32 @PTR_ERR(ptr noundef %6) #2
br label %43
12: ; preds = %4
%13 = icmp eq ptr %6, null
%14 = zext i1 %13 to i32
%15 = tail call i64 @unlikely(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %12
%18 = load i32, ptr @EWOULDBLOCK, align 4, !tbaa !10
%19 = sub nsw i32 0, %18
br label %43
20: ; preds = %12
%21 = load ptr, ptr %3, align 8, !tbaa !11
%22 = tail call i32 @to_buffer(ptr noundef %21) #2
%23 = tail call ptr @dm_bufio_get_aux_data(i32 noundef %22) #2
%24 = tail call i32 @bl_down_read_nonblock(ptr noundef %23) #2
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %20
%27 = load ptr, ptr %3, align 8, !tbaa !11
%28 = tail call i32 @to_buffer(ptr noundef %27) #2
%29 = tail call i32 @dm_bufio_release(i32 noundef %28) #2
%30 = tail call i32 @report_recursive_bug(i32 noundef %1, i32 noundef %24) #2
br label %43
31: ; preds = %20
%32 = getelementptr inbounds %struct.buffer_aux, ptr %23, i64 0, i32 1
store i64 0, ptr %32, align 8, !tbaa !13
%33 = load ptr, ptr %3, align 8, !tbaa !11
%34 = tail call i32 @to_buffer(ptr noundef %33) #2
%35 = tail call i32 @dm_bm_validate_buffer(ptr noundef nonnull %0, i32 noundef %34, ptr noundef %23, ptr noundef %2) #2
%36 = tail call i64 @unlikely(i32 noundef %35) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %43, label %38
38: ; preds = %31
%39 = tail call i32 @bl_up_read(ptr noundef nonnull %23) #2
%40 = load ptr, ptr %3, align 8, !tbaa !11
%41 = tail call i32 @to_buffer(ptr noundef %40) #2
%42 = tail call i32 @dm_bufio_release(i32 noundef %41) #2
br label %43
43: ; preds = %31, %38, %26, %17, %10
%44 = phi i32 [ %11, %10 ], [ %19, %17 ], [ %24, %26 ], [ %35, %38 ], [ 0, %31 ]
ret i32 %44
}
declare ptr @dm_bufio_get(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare ptr @dm_bufio_get_aux_data(i32 noundef) local_unnamed_addr #1
declare i32 @to_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @bl_down_read_nonblock(ptr noundef) local_unnamed_addr #1
declare i32 @dm_bufio_release(i32 noundef) local_unnamed_addr #1
declare i32 @report_recursive_bug(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dm_bm_validate_buffer(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bl_up_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, !7, i64 0}
!6 = !{!"dm_block_manager", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"buffer_aux", !7, i64 0, !15, i64 8}
!15 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/persistent-data/extr_dm-block-manager.c_dm_bm_read_try_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/persistent-data/extr_dm-block-manager.c_dm_bm_read_try_lock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EWOULDBLOCK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dm_bm_read_try_lock(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call ptr @dm_bufio_get(i32 noundef %5, i32 noundef %1, ptr noundef %3) #2
%7 = tail call i32 @IS_ERR(ptr noundef %6) #2
%8 = tail call i64 @unlikely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = tail call i32 @PTR_ERR(ptr noundef %6) #2
br label %43
12: ; preds = %4
%13 = icmp eq ptr %6, null
%14 = zext i1 %13 to i32
%15 = tail call i64 @unlikely(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %12
%18 = load i32, ptr @EWOULDBLOCK, align 4, !tbaa !11
%19 = sub nsw i32 0, %18
br label %43
20: ; preds = %12
%21 = load ptr, ptr %3, align 8, !tbaa !12
%22 = tail call i32 @to_buffer(ptr noundef %21) #2
%23 = tail call ptr @dm_bufio_get_aux_data(i32 noundef %22) #2
%24 = tail call i32 @bl_down_read_nonblock(ptr noundef %23) #2
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %20
%27 = load ptr, ptr %3, align 8, !tbaa !12
%28 = tail call i32 @to_buffer(ptr noundef %27) #2
%29 = tail call i32 @dm_bufio_release(i32 noundef %28) #2
%30 = tail call i32 @report_recursive_bug(i32 noundef %1, i32 noundef %24) #2
br label %43
31: ; preds = %20
%32 = getelementptr inbounds i8, ptr %23, i64 8
store i64 0, ptr %32, align 8, !tbaa !14
%33 = load ptr, ptr %3, align 8, !tbaa !12
%34 = tail call i32 @to_buffer(ptr noundef %33) #2
%35 = tail call i32 @dm_bm_validate_buffer(ptr noundef nonnull %0, i32 noundef %34, ptr noundef %23, ptr noundef %2) #2
%36 = tail call i64 @unlikely(i32 noundef %35) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %43, label %38
38: ; preds = %31
%39 = tail call i32 @bl_up_read(ptr noundef nonnull %23) #2
%40 = load ptr, ptr %3, align 8, !tbaa !12
%41 = tail call i32 @to_buffer(ptr noundef %40) #2
%42 = tail call i32 @dm_bufio_release(i32 noundef %41) #2
br label %43
43: ; preds = %31, %38, %26, %17, %10
%44 = phi i32 [ %11, %10 ], [ %19, %17 ], [ %24, %26 ], [ %35, %38 ], [ 0, %31 ]
ret i32 %44
}
declare ptr @dm_bufio_get(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare ptr @dm_bufio_get_aux_data(i32 noundef) local_unnamed_addr #1
declare i32 @to_buffer(ptr noundef) local_unnamed_addr #1
declare i32 @bl_down_read_nonblock(ptr noundef) local_unnamed_addr #1
declare i32 @dm_bufio_release(i32 noundef) local_unnamed_addr #1
declare i32 @report_recursive_bug(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dm_bm_validate_buffer(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bl_up_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, !8, i64 0}
!7 = !{!"dm_block_manager", !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, !16, i64 8}
!15 = !{!"buffer_aux", !8, i64 0, !16, i64 8}
!16 = !{!"long", !9, i64 0}
| fastsocket_kernel_drivers_md_persistent-data_extr_dm-block-manager.c_dm_bm_read_try_lock |
; ModuleID = 'AnghaBench/freebsd/tools/regression/net80211/ccmp/extr_test_ccmp.c_cmpfail.c'
source_filename = "AnghaBench/freebsd/tools/regression/net80211/ccmp/extr_test_ccmp.c_cmpfail.c"
target datalayout = "e-m:e-p270:32:32-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 [29 x i8] c"first difference at byte %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Generated\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Reference\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cmpfail], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cmpfail(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq i64 %1, 0
br i1 %5, label %19, label %6
6: ; preds = %4, %16
%7 = phi i64 [ %17, %16 ], [ 0, %4 ]
%8 = getelementptr inbounds i64, ptr %0, i64 %7
%9 = load i64, ptr %8, align 8, !tbaa !5
%10 = getelementptr inbounds i64, ptr %2, i64 %7
%11 = load i64, ptr %10, align 8, !tbaa !5
%12 = icmp eq i64 %9, %11
br i1 %12, label %16, label %13
13: ; preds = %6
%14 = trunc i64 %7 to i32
%15 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %14) #2
br label %19
16: ; preds = %6
%17 = add nuw i64 %7, 1
%18 = icmp eq i64 %17, %1
br i1 %18, label %19, label %6, !llvm.loop !9
19: ; preds = %16, %4, %13
%20 = tail call i32 @dumpdata(ptr noundef nonnull @.str.1, ptr noundef %0, i64 noundef %1) #2
%21 = tail call i32 @dumpdata(ptr noundef nonnull @.str.2, ptr noundef %2, i64 noundef %3) #2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dumpdata(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/tools/regression/net80211/ccmp/extr_test_ccmp.c_cmpfail.c'
source_filename = "AnghaBench/freebsd/tools/regression/net80211/ccmp/extr_test_ccmp.c_cmpfail.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 [29 x i8] c"first difference at byte %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Generated\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Reference\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cmpfail], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cmpfail(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq i64 %1, 0
br i1 %5, label %19, label %6
6: ; preds = %4, %16
%7 = phi i64 [ %17, %16 ], [ 0, %4 ]
%8 = getelementptr inbounds i64, ptr %0, i64 %7
%9 = load i64, ptr %8, align 8, !tbaa !6
%10 = getelementptr inbounds i64, ptr %2, i64 %7
%11 = load i64, ptr %10, align 8, !tbaa !6
%12 = icmp eq i64 %9, %11
br i1 %12, label %16, label %13
13: ; preds = %6
%14 = trunc nuw nsw i64 %7 to i32
%15 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %14) #2
br label %19
16: ; preds = %6
%17 = add nuw i64 %7, 1
%18 = icmp eq i64 %17, %1
br i1 %18, label %19, label %6, !llvm.loop !10
19: ; preds = %16, %4, %13
%20 = tail call i32 @dumpdata(ptr noundef nonnull @.str.1, ptr noundef %0, i64 noundef %1) #2
%21 = tail call i32 @dumpdata(ptr noundef nonnull @.str.2, ptr noundef %2, i64 noundef %3) #2
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dumpdata(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| freebsd_tools_regression_net80211_ccmp_extr_test_ccmp.c_cmpfail |
; ModuleID = 'AnghaBench/skynet/lualib-src/extr_ltls.c__bio_read.c'
source_filename = "AnghaBench/skynet/lualib-src/extr_ltls.c__bio_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"BIO_read error:%d\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"invalid BIO_read:%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @_bio_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @_bio_read(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca [4096 x i8], align 16
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %3) #3
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = tail call i32 @BIO_ctrl_pending(i32 noundef %5) #3
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %34
8: ; preds = %2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%9 = call i32 @luaL_buffinit(ptr noundef %0, ptr noundef nonnull %4) #3
br label %10
10: ; preds = %8, %24
%11 = phi i32 [ 0, %8 ], [ %25, %24 ]
%12 = load i32, ptr %1, align 4, !tbaa !5
%13 = call i32 @BIO_read(i32 noundef %12, ptr noundef nonnull %3, i32 noundef 4096) #3
%14 = icmp slt i32 %13, 1
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %13) #3
br label %24
17: ; preds = %10
%18 = icmp ult i32 %13, 4097
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = add nsw i32 %13, %11
%21 = call i32 @luaL_addlstring(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %13) #3
br label %24
22: ; preds = %17
%23 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %13) #3
br label %24
24: ; preds = %19, %22, %15
%25 = phi i32 [ %11, %15 ], [ %20, %19 ], [ %11, %22 ]
%26 = load i32, ptr %1, align 4, !tbaa !5
%27 = call i32 @BIO_ctrl_pending(i32 noundef %26) #3
%28 = icmp sgt i32 %27, 0
br i1 %28, label %10, label %29, !llvm.loop !10
29: ; preds = %24
%30 = icmp sgt i32 %25, 0
br i1 %30, label %31, label %33
31: ; preds = %29
%32 = call i32 @luaL_pushresult(ptr noundef nonnull %4) #3
br label %33
33: ; preds = %31, %29
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %34
34: ; preds = %33, %2
%35 = phi i32 [ %25, %33 ], [ 0, %2 ]
call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %3) #3
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BIO_ctrl_pending(i32 noundef) local_unnamed_addr #2
declare i32 @luaL_buffinit(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @BIO_read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaL_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaL_addlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaL_pushresult(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tls_context", !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"}
| ; ModuleID = 'AnghaBench/skynet/lualib-src/extr_ltls.c__bio_read.c'
source_filename = "AnghaBench/skynet/lualib-src/extr_ltls.c__bio_read.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 [18 x i8] c"BIO_read error:%d\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"invalid BIO_read:%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @_bio_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, -2147483648) i32 @_bio_read(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca [4096 x i8], align 1
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %3) #3
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = tail call i32 @BIO_ctrl_pending(i32 noundef %5) #3
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %34
8: ; preds = %2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%9 = call i32 @luaL_buffinit(ptr noundef %0, ptr noundef nonnull %4) #3
br label %10
10: ; preds = %8, %24
%11 = phi i32 [ 0, %8 ], [ %25, %24 ]
%12 = load i32, ptr %1, align 4, !tbaa !6
%13 = call i32 @BIO_read(i32 noundef %12, ptr noundef nonnull %3, i32 noundef 4096) #3
%14 = icmp slt i32 %13, 1
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %13) #3
br label %24
17: ; preds = %10
%18 = icmp ult i32 %13, 4097
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = add nuw nsw i32 %13, %11
%21 = call i32 @luaL_addlstring(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %13) #3
br label %24
22: ; preds = %17
%23 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %13) #3
br label %24
24: ; preds = %19, %22, %15
%25 = phi i32 [ %11, %15 ], [ %20, %19 ], [ %11, %22 ]
%26 = load i32, ptr %1, align 4, !tbaa !6
%27 = call i32 @BIO_ctrl_pending(i32 noundef %26) #3
%28 = icmp sgt i32 %27, 0
br i1 %28, label %10, label %29, !llvm.loop !11
29: ; preds = %24
%30 = icmp sgt i32 %25, 0
br i1 %30, label %31, label %33
31: ; preds = %29
%32 = call i32 @luaL_pushresult(ptr noundef nonnull %4) #3
br label %33
33: ; preds = %31, %29
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %34
34: ; preds = %33, %2
%35 = phi i32 [ %25, %33 ], [ 0, %2 ]
call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %3) #3
ret i32 %35
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BIO_ctrl_pending(i32 noundef) local_unnamed_addr #2
declare i32 @luaL_buffinit(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @BIO_read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaL_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaL_addlstring(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaL_pushresult(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tls_context", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| skynet_lualib-src_extr_ltls.c__bio_read |
; ModuleID = 'AnghaBench/linux/drivers/thermal/intel/int340x_thermal/extr_int3406_thermal.c_int3406_thermal_get_cur_state.c'
source_filename = "AnghaBench/linux/drivers/thermal/intel/int340x_thermal/extr_int3406_thermal.c_int3406_thermal_get_cur_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.int3406_thermal_data = type { i32, i32, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @int3406_thermal_get_cur_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @int3406_thermal_get_cur_state(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.int3406_thermal_data, ptr %3, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = tail call i32 @RAW_TO_ACPI(i32 noundef %6, ptr noundef %3) #2
%8 = load i32, ptr %3, align 8, !tbaa !16
%9 = getelementptr inbounds %struct.int3406_thermal_data, ptr %3, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !17
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %28
12: ; preds = %2
%13 = getelementptr inbounds %struct.int3406_thermal_data, ptr %3, i64 0, i32 2
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = load ptr, ptr %14, align 8, !tbaa !19
%16 = sext i32 %8 to i64
br label %17
17: ; preds = %12, %22
%18 = phi i64 [ %16, %12 ], [ %23, %22 ]
%19 = getelementptr inbounds i32, ptr %15, i64 %18
%20 = load i32, ptr %19, align 4, !tbaa !21
%21 = icmp sgt i32 %7, %20
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = add nsw i64 %18, 1
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %10, %24
br i1 %25, label %28, label %17, !llvm.loop !22
26: ; preds = %17
%27 = trunc i64 %18 to i32
br label %28
28: ; preds = %22, %26, %2
%29 = phi i32 [ %8, %2 ], [ %27, %26 ], [ %10, %22 ]
%30 = sub nsw i32 %10, %29
%31 = sext i32 %30 to i64
store i64 %31, ptr %1, align 8, !tbaa !24
ret i32 0
}
declare i32 @RAW_TO_ACPI(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 = !{!"thermal_cooling_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"int3406_thermal_data", !12, i64 0, !12, i64 4, !7, i64 8, !7, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !12, i64 0}
!16 = !{!11, !12, i64 0}
!17 = !{!11, !12, i64 4}
!18 = !{!11, !7, i64 8}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_4__", !7, i64 0}
!21 = !{!12, !12, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/thermal/intel/int340x_thermal/extr_int3406_thermal.c_int3406_thermal_get_cur_state.c'
source_filename = "AnghaBench/linux/drivers/thermal/intel/int340x_thermal/extr_int3406_thermal.c_int3406_thermal_get_cur_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @int3406_thermal_get_cur_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @int3406_thermal_get_cur_state(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = tail call i32 @RAW_TO_ACPI(i32 noundef %6, ptr noundef %3) #2
%8 = load i32, ptr %3, align 8, !tbaa !17
%9 = getelementptr inbounds i8, ptr %3, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !18
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %28
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %3, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !19
%15 = load ptr, ptr %14, align 8, !tbaa !20
%16 = sext i32 %8 to i64
br label %17
17: ; preds = %12, %22
%18 = phi i64 [ %16, %12 ], [ %23, %22 ]
%19 = getelementptr inbounds i32, ptr %15, i64 %18
%20 = load i32, ptr %19, align 4, !tbaa !22
%21 = icmp sgt i32 %7, %20
br i1 %21, label %22, label %26
22: ; preds = %17
%23 = add nsw i64 %18, 1
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %10, %24
br i1 %25, label %28, label %17, !llvm.loop !23
26: ; preds = %17
%27 = trunc nsw i64 %18 to i32
br label %28
28: ; preds = %22, %26, %2
%29 = phi i32 [ %8, %2 ], [ %27, %26 ], [ %10, %22 ]
%30 = sub nsw i32 %10, %29
%31 = sext i32 %30 to i64
store i64 %31, ptr %1, align 8, !tbaa !25
ret i32 0
}
declare i32 @RAW_TO_ACPI(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 = !{!"thermal_cooling_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"int3406_thermal_data", !13, i64 0, !13, i64 4, !8, i64 8, !8, i64 16}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !13, i64 0}
!17 = !{!12, !13, i64 0}
!18 = !{!12, !13, i64 4}
!19 = !{!12, !8, i64 8}
!20 = !{!21, !8, i64 0}
!21 = !{!"TYPE_4__", !8, i64 0}
!22 = !{!13, !13, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!26, !26, i64 0}
!26 = !{!"long", !9, i64 0}
| linux_drivers_thermal_intel_int340x_thermal_extr_int3406_thermal.c_int3406_thermal_get_cur_state |
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_davinci_nand.c_nand_davinci_read_buf.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_davinci_nand.c_nand_davinci_read_buf.c"
target datalayout = "e-m:e-p270:32:32-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 @nand_davinci_read_buf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nand_davinci_read_buf(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = ptrtoint ptr %1 to i64
%5 = and i64 %4, 3
%6 = icmp eq i64 %5, 0
%7 = and i32 %2, 3
%8 = icmp eq i32 %7, 0
%9 = and i1 %6, %8
br i1 %9, label %10, label %14
10: ; preds = %3
%11 = load i32, ptr %0, align 4, !tbaa !5
%12 = ashr exact i32 %2, 2
%13 = tail call i32 @ioread32_rep(i32 noundef %11, ptr noundef %1, i32 noundef %12) #2
br label %26
14: ; preds = %3
%15 = and i64 %4, 1
%16 = icmp eq i64 %15, 0
%17 = and i32 %2, 1
%18 = icmp eq i32 %17, 0
%19 = and i1 %16, %18
%20 = load i32, ptr %0, align 4, !tbaa !5
br i1 %19, label %21, label %24
21: ; preds = %14
%22 = ashr exact i32 %2, 1
%23 = tail call i32 @ioread16_rep(i32 noundef %20, ptr noundef %1, i32 noundef %22) #2
br label %26
24: ; preds = %14
%25 = tail call i32 @ioread8_rep(i32 noundef %20, ptr noundef %1, i32 noundef %2) #2
br label %26
26: ; preds = %21, %24, %10
ret void
}
declare i32 @ioread32_rep(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ioread16_rep(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ioread8_rep(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, !8, i64 0}
!6 = !{!"nand_chip", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_davinci_nand.c_nand_davinci_read_buf.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_davinci_nand.c_nand_davinci_read_buf.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 @nand_davinci_read_buf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nand_davinci_read_buf(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = ptrtoint ptr %1 to i64
%5 = and i64 %4, 3
%6 = icmp eq i64 %5, 0
%7 = and i32 %2, 3
%8 = icmp eq i32 %7, 0
%9 = and i1 %6, %8
br i1 %9, label %10, label %14
10: ; preds = %3
%11 = load i32, ptr %0, align 4, !tbaa !6
%12 = ashr exact i32 %2, 2
%13 = tail call i32 @ioread32_rep(i32 noundef %11, ptr noundef %1, i32 noundef %12) #2
br label %26
14: ; preds = %3
%15 = and i64 %4, 1
%16 = icmp eq i64 %15, 0
%17 = and i32 %2, 1
%18 = icmp eq i32 %17, 0
%19 = and i1 %16, %18
%20 = load i32, ptr %0, align 4, !tbaa !6
br i1 %19, label %21, label %24
21: ; preds = %14
%22 = ashr exact i32 %2, 1
%23 = tail call i32 @ioread16_rep(i32 noundef %20, ptr noundef %1, i32 noundef %22) #2
br label %26
24: ; preds = %14
%25 = tail call i32 @ioread8_rep(i32 noundef %20, ptr noundef %1, i32 noundef %2) #2
br label %26
26: ; preds = %21, %24, %10
ret void
}
declare i32 @ioread32_rep(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ioread16_rep(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ioread8_rep(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, !9, i64 0}
!7 = !{!"nand_chip", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_mtd_nand_raw_extr_davinci_nand.c_nand_davinci_read_buf |
; ModuleID = 'AnghaBench/radare2/libr/util/extr_buf.c_buf_write.c'
source_filename = "AnghaBench/radare2/libr/util/extr_buf.c_buf_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @buf_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @buf_write(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %9, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %3
%10 = phi i32 [ 0, %3 ], [ %8, %5 ]
%11 = tail call i32 @r_return_val_if_fail(i32 noundef %10, i32 noundef -1) #2
%12 = load ptr, ptr %0, align 8, !tbaa !5
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = icmp eq ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = tail call i32 %13(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2) #2
br label %17
17: ; preds = %9, %15
%18 = phi i32 [ %16, %15 ], [ -1, %9 ]
ret i32 %18
}
declare i32 @r_return_val_if_fail(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
| ; ModuleID = 'AnghaBench/radare2/libr/util/extr_buf.c_buf_write.c'
source_filename = "AnghaBench/radare2/libr/util/extr_buf.c_buf_write.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 @buf_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @buf_write(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %9, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = icmp ne ptr %6, null
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %3
%10 = phi i32 [ 0, %3 ], [ %8, %5 ]
%11 = tail call i32 @r_return_val_if_fail(i32 noundef %10, i32 noundef -1) #2
%12 = load ptr, ptr %0, align 8, !tbaa !6
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = icmp eq ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = tail call i32 %13(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2) #2
br label %17
17: ; preds = %9, %15
%18 = phi i32 [ %16, %15 ], [ -1, %9 ]
ret i32 %18
}
declare i32 @r_return_val_if_fail(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0}
| radare2_libr_util_extr_buf.c_buf_write |
; ModuleID = 'AnghaBench/linux/drivers/s390/net/extr_lcs.c_lcs_stop_device.c'
source_filename = "AnghaBench/linux/drivers/s390/net/extr_lcs.c_lcs_stop_device.c"
target datalayout = "e-m:e-p270:32:32-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.net_device = type { i32, i64 }
%struct.lcs_card = type { ptr, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i64, i32 }
@trace = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"stopdev\00", align 1
@IFF_UP = dso_local local_unnamed_addr global i32 0, align 4
@LCS_CH_STATE_RUNNING = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [38 x i8] c" Shutting down the LCS device failed\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @lcs_stop_device], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lcs_stop_device(ptr noundef %0) #0 {
%2 = load i32, ptr @trace, align 4, !tbaa !5
%3 = tail call i32 @LCS_DBF_TEXT(i32 noundef 2, i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !9
%6 = inttoptr i64 %5 to ptr
%7 = tail call i32 @netif_carrier_off(ptr noundef %0) #2
%8 = tail call i32 @netif_tx_disable(ptr noundef %0) #2
%9 = load i32, ptr @IFF_UP, align 4, !tbaa !5
%10 = xor i32 %9, -1
%11 = load i32, ptr %0, align 8, !tbaa !12
%12 = and i32 %11, %10
store i32 %12, ptr %0, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.lcs_card, ptr %6, i64 0, i32 1
%14 = getelementptr inbounds %struct.lcs_card, ptr %6, i64 0, i32 1, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !13
%16 = load i64, ptr %13, align 8, !tbaa !17
%17 = load i64, ptr @LCS_CH_STATE_RUNNING, align 8, !tbaa !18
%18 = icmp ne i64 %16, %17
%19 = zext i1 %18 to i32
%20 = tail call i32 @wait_event(i32 noundef %15, i32 noundef %19) #2
%21 = tail call i32 @lcs_stopcard(ptr noundef %6) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %1
%24 = load ptr, ptr %6, align 8, !tbaa !19
%25 = tail call i32 @dev_err(ptr noundef %24, ptr noundef nonnull @.str.1) #2
br label %26
26: ; preds = %23, %1
ret i32 %21
}
declare i32 @LCS_DBF_TEXT(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @netif_carrier_off(ptr noundef) local_unnamed_addr #1
declare i32 @netif_tx_disable(ptr noundef) local_unnamed_addr #1
declare i32 @wait_event(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lcs_stopcard(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"net_device", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"lcs_card", !15, i64 0, !16, i64 8}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"TYPE_4__", !11, i64 0, !6, i64 8}
!17 = !{!14, !11, i64 8}
!18 = !{!11, !11, i64 0}
!19 = !{!14, !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/s390/net/extr_lcs.c_lcs_stop_device.c'
source_filename = "AnghaBench/linux/drivers/s390/net/extr_lcs.c_lcs_stop_device.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@trace = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"stopdev\00", align 1
@IFF_UP = common local_unnamed_addr global i32 0, align 4
@LCS_CH_STATE_RUNNING = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [38 x i8] c" Shutting down the LCS device failed\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @lcs_stop_device], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lcs_stop_device(ptr noundef %0) #0 {
%2 = load i32, ptr @trace, align 4, !tbaa !6
%3 = tail call i32 @LCS_DBF_TEXT(i32 noundef 2, i32 noundef %2, ptr noundef nonnull @.str) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = inttoptr i64 %5 to ptr
%7 = tail call i32 @netif_carrier_off(ptr noundef %0) #2
%8 = tail call i32 @netif_tx_disable(ptr noundef %0) #2
%9 = load i32, ptr @IFF_UP, align 4, !tbaa !6
%10 = xor i32 %9, -1
%11 = load i32, ptr %0, align 8, !tbaa !13
%12 = and i32 %11, %10
store i32 %12, ptr %0, align 8, !tbaa !13
%13 = getelementptr inbounds i8, ptr %6, i64 8
%14 = getelementptr inbounds i8, ptr %6, i64 16
%15 = load i32, ptr %14, align 8, !tbaa !14
%16 = load i64, ptr %13, align 8, !tbaa !18
%17 = load i64, ptr @LCS_CH_STATE_RUNNING, align 8, !tbaa !19
%18 = icmp ne i64 %16, %17
%19 = zext i1 %18 to i32
%20 = tail call i32 @wait_event(i32 noundef %15, i32 noundef %19) #2
%21 = tail call i32 @lcs_stopcard(ptr noundef %6) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %1
%24 = load ptr, ptr %6, align 8, !tbaa !20
%25 = tail call i32 @dev_err(ptr noundef %24, ptr noundef nonnull @.str.1) #2
br label %26
26: ; preds = %23, %1
ret i32 %21
}
declare i32 @LCS_DBF_TEXT(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @netif_carrier_off(ptr noundef) local_unnamed_addr #1
declare i32 @netif_tx_disable(ptr noundef) local_unnamed_addr #1
declare i32 @wait_event(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lcs_stopcard(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"net_device", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!15, !7, i64 16}
!15 = !{!"lcs_card", !16, i64 0, !17, i64 8}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"TYPE_4__", !12, i64 0, !7, i64 8}
!18 = !{!15, !12, i64 8}
!19 = !{!12, !12, i64 0}
!20 = !{!15, !16, i64 0}
| linux_drivers_s390_net_extr_lcs.c_lcs_stop_device |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_reset.c_snd_gf1_free_voice.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_reset.c_snd_gf1_free_voice.c"
target datalayout = "e-m:e-p270:32:32-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.snd_gus_voice = type { i32, ptr, ptr, i64, i64, ptr }
%struct.snd_gus_card = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@SNDRV_GF1_HANDLER_VOICE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @snd_gf1_free_voice(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %31, label %4
4: ; preds = %2
%5 = getelementptr inbounds %struct.snd_gus_voice, ptr %1, i64 0, i32 4
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = icmp eq i64 %6, 0
br i1 %7, label %31, label %8
8: ; preds = %4
%9 = load i32, ptr @SNDRV_GF1_HANDLER_VOICE, align 4, !tbaa !12
%10 = load i32, ptr %1, align 8, !tbaa !13
%11 = or i32 %10, %9
%12 = tail call i32 @snd_gf1_set_default_handlers(ptr noundef %0, i32 noundef %11) #3
%13 = load i32, ptr %1, align 8, !tbaa !13
%14 = tail call i32 @snd_gf1_clear_voices(ptr noundef %0, i32 noundef %13, i32 noundef %13) #3
%15 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #3
%16 = getelementptr inbounds %struct.snd_gus_voice, ptr %1, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = getelementptr inbounds %struct.snd_gus_voice, ptr %1, i64 0, i32 5
store ptr null, ptr %16, align 8, !tbaa !14
store ptr null, ptr %18, align 8, !tbaa !15
%19 = getelementptr inbounds %struct.snd_gus_voice, ptr %1, i64 0, i32 3
%20 = load i64, ptr %19, align 8, !tbaa !16
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %8
%23 = getelementptr inbounds %struct.snd_gus_card, ptr %0, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !17
%25 = add nsw i32 %24, -1
store i32 %25, ptr %23, align 4, !tbaa !17
br label %26
26: ; preds = %22, %8
%27 = getelementptr inbounds %struct.snd_gus_voice, ptr %1, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %27, i8 0, i64 24, i1 false)
%28 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #3
%29 = icmp eq ptr %17, null
br i1 %29, label %31, label %30
30: ; preds = %26
tail call void %17(ptr noundef nonnull %1) #3
br label %31
31: ; preds = %26, %30, %2, %4
ret void
}
declare i32 @snd_gf1_set_default_handlers(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_gf1_clear_voices(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 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, !11, i64 32}
!6 = !{!"snd_gus_voice", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !10, i64 40}
!16 = !{!6, !11, i64 24}
!17 = !{!18, !7, i64 4}
!18 = !{!"snd_gus_card", !7, i64 0, !19, i64 4}
!19 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_reset.c_snd_gf1_free_voice.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/isa/gus/extr_gus_reset.c_snd_gf1_free_voice.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_GF1_HANDLER_VOICE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @snd_gf1_free_voice(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %31, label %4
4: ; preds = %2
%5 = getelementptr inbounds i8, ptr %1, i64 32
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = icmp eq i64 %6, 0
br i1 %7, label %31, label %8
8: ; preds = %4
%9 = load i32, ptr @SNDRV_GF1_HANDLER_VOICE, align 4, !tbaa !13
%10 = load i32, ptr %1, align 8, !tbaa !14
%11 = or i32 %10, %9
%12 = tail call i32 @snd_gf1_set_default_handlers(ptr noundef %0, i32 noundef %11) #3
%13 = load i32, ptr %1, align 8, !tbaa !14
%14 = tail call i32 @snd_gf1_clear_voices(ptr noundef %0, i32 noundef %13, i32 noundef %13) #3
%15 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #3
%16 = getelementptr inbounds i8, ptr %1, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = getelementptr inbounds i8, ptr %1, i64 40
store ptr null, ptr %16, align 8, !tbaa !15
store ptr null, ptr %18, align 8, !tbaa !16
%19 = getelementptr inbounds i8, ptr %1, i64 24
%20 = load i64, ptr %19, align 8, !tbaa !17
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %8
%23 = getelementptr inbounds i8, ptr %0, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !18
%25 = add nsw i32 %24, -1
store i32 %25, ptr %23, align 4, !tbaa !18
br label %26
26: ; preds = %22, %8
%27 = getelementptr inbounds i8, ptr %1, i64 16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %27, i8 0, i64 24, i1 false)
%28 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #3
%29 = icmp eq ptr %17, null
br i1 %29, label %31, label %30
30: ; preds = %26
tail call void %17(ptr noundef nonnull %1) #3
br label %31
31: ; preds = %26, %30, %2, %4
ret void
}
declare i32 @snd_gf1_set_default_handlers(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_gf1_clear_voices(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 32}
!7 = !{!"snd_gus_voice", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !11, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !11, i64 40}
!17 = !{!7, !12, i64 24}
!18 = !{!19, !8, i64 4}
!19 = !{!"snd_gus_card", !8, i64 0, !20, i64 4}
!20 = !{!"TYPE_2__", !8, i64 0}
| fastsocket_kernel_sound_isa_gus_extr_gus_reset.c_snd_gf1_free_voice |
; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_lgc.c_traverseLclosure.c'
source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_lgc.c_traverseLclosure.c"
target datalayout = "e-m:e-p270:32:32-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_15__ = type { i32, ptr, i32 }
%struct.TYPE_14__ = type { i32, %struct.TYPE_12__ }
%struct.TYPE_12__ = type { %struct.TYPE_11__ }
%struct.TYPE_11__ = type { i32 }
@GCSinsideatomic = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @traverseLclosure], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @traverseLclosure(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 2
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @markobjectN(ptr noundef %0, i32 noundef %4) #2
%6 = load i32, ptr %1, align 8, !tbaa !11
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %33
8: ; preds = %2
%9 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1
br label %10
10: ; preds = %8, %28
%11 = phi i64 [ 0, %8 ], [ %29, %28 ]
%12 = load ptr, ptr %9, align 8, !tbaa !12
%13 = getelementptr inbounds ptr, ptr %12, i64 %11
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = icmp eq ptr %14, null
br i1 %15, label %28, label %16
16: ; preds = %10
%17 = tail call i64 @upisopen(ptr noundef nonnull %14) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %16
%20 = load i64, ptr %0, align 8, !tbaa !14
%21 = load i64, ptr @GCSinsideatomic, align 8, !tbaa !17
%22 = icmp eq i64 %20, %21
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = getelementptr inbounds %struct.TYPE_14__, ptr %14, i64 0, i32 1
store i32 1, ptr %24, align 4, !tbaa !18
br label %28
25: ; preds = %19, %16
%26 = load i32, ptr %14, align 4, !tbaa !22
%27 = tail call i32 @markvalue(ptr noundef %0, i32 noundef %26) #2
br label %28
28: ; preds = %23, %25, %10
%29 = add nuw nsw i64 %11, 1
%30 = load i32, ptr %1, align 8, !tbaa !11
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %10, label %33, !llvm.loop !23
33: ; preds = %28, %2
%34 = phi i32 [ %6, %2 ], [ %30, %28 ]
%35 = tail call i32 @sizeLclosure(i32 noundef %34) #2
ret i32 %35
}
declare i32 @markobjectN(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @upisopen(ptr noundef) local_unnamed_addr #1
declare i32 @markvalue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sizeLclosure(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_15__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_13__", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!19, !7, i64 4}
!19 = !{!"TYPE_14__", !7, i64 0, !20, i64 4}
!20 = !{!"TYPE_12__", !21, i64 0}
!21 = !{!"TYPE_11__", !7, i64 0}
!22 = !{!19, !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_lgc.c_traverseLclosure.c'
source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_lgc.c_traverseLclosure.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GCSinsideatomic = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @traverseLclosure], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @traverseLclosure(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 16
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @markobjectN(ptr noundef %0, i32 noundef %4) #2
%6 = load i32, ptr %1, align 8, !tbaa !12
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %33
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %1, i64 8
br label %10
10: ; preds = %8, %28
%11 = phi i64 [ 0, %8 ], [ %29, %28 ]
%12 = load ptr, ptr %9, align 8, !tbaa !13
%13 = getelementptr inbounds ptr, ptr %12, i64 %11
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = icmp eq ptr %14, null
br i1 %15, label %28, label %16
16: ; preds = %10
%17 = tail call i64 @upisopen(ptr noundef nonnull %14) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %16
%20 = load i64, ptr %0, align 8, !tbaa !15
%21 = load i64, ptr @GCSinsideatomic, align 8, !tbaa !18
%22 = icmp eq i64 %20, %21
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %14, i64 4
store i32 1, ptr %24, align 4, !tbaa !19
br label %28
25: ; preds = %19, %16
%26 = load i32, ptr %14, align 4, !tbaa !23
%27 = tail call i32 @markvalue(ptr noundef %0, i32 noundef %26) #2
br label %28
28: ; preds = %23, %25, %10
%29 = add nuw nsw i64 %11, 1
%30 = load i32, ptr %1, align 8, !tbaa !12
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %10, label %33, !llvm.loop !24
33: ; preds = %28, %2
%34 = phi i32 [ %6, %2 ], [ %30, %28 ]
%35 = tail call i32 @sizeLclosure(i32 noundef %34) #2
ret i32 %35
}
declare i32 @markobjectN(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @upisopen(ptr noundef) local_unnamed_addr #1
declare i32 @markvalue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sizeLclosure(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_15__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_13__", !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!20, !8, i64 4}
!20 = !{!"TYPE_14__", !8, i64 0, !21, i64 4}
!21 = !{!"TYPE_12__", !22, i64 0}
!22 = !{!"TYPE_11__", !8, i64 0}
!23 = !{!20, !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| RetroArch_deps_lua_src_extr_lgc.c_traverseLclosure |
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/common/mbed/extr_timer.c_timer_init.c'
source_filename = "AnghaBench/qmk_firmware/tmk_core/common/mbed/extr_timer.c_timer_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"
@timer_count = dso_local local_unnamed_addr global i64 0, align 8
@SystemCoreClock = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @timer_init() local_unnamed_addr #0 {
store i64 0, ptr @timer_count, align 8, !tbaa !5
%1 = load i32, ptr @SystemCoreClock, align 4, !tbaa !9
%2 = sdiv i32 %1, 1000
%3 = tail call i32 @SysTick_Config(i32 noundef %2) #2
ret void
}
declare i32 @SysTick_Config(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/common/mbed/extr_timer.c_timer_init.c'
source_filename = "AnghaBench/qmk_firmware/tmk_core/common/mbed/extr_timer.c_timer_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@timer_count = common local_unnamed_addr global i64 0, align 8
@SystemCoreClock = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @timer_init() local_unnamed_addr #0 {
store i64 0, ptr @timer_count, align 8, !tbaa !6
%1 = load i32, ptr @SystemCoreClock, align 4, !tbaa !10
%2 = sdiv i32 %1, 1000
%3 = tail call i32 @SysTick_Config(i32 noundef %2) #2
ret void
}
declare i32 @SysTick_Config(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| qmk_firmware_tmk_core_common_mbed_extr_timer.c_timer_init |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/extr_gf100.c_gf100_bus_init.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/extr_gf100.c_gf100_bus_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @gf100_bus_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gf100_bus_init(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef 4352, i32 noundef -1) #2
%4 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef 4416, i32 noundef 14) #2
ret void
}
declare i32 @nvkm_wr32(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, !8, i64 0}
!6 = !{!"nvkm_bus", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/extr_gf100.c_gf100_bus_init.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/extr_gf100.c_gf100_bus_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @gf100_bus_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gf100_bus_init(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef 4352, i32 noundef -1) #2
%4 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef 4416, i32 noundef 14) #2
ret void
}
declare i32 @nvkm_wr32(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, !9, i64 0}
!7 = !{!"nvkm_bus", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_nouveau_nvkm_subdev_bus_extr_gf100.c_gf100_bus_init |
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/function/extr_f_uvc.c_uvc_copy_descriptors.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/function/extr_f_uvc.c_uvc_copy_descriptors.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_14__ = type { i32 }
%struct.uvc_device = type { %struct.TYPE_13__, i32, %struct.TYPE_11__ }
%struct.TYPE_13__ = type { ptr }
%struct.TYPE_11__ = type { ptr, ptr, ptr, ptr, ptr }
%struct.uvc_header_descriptor = type { i32, ptr, ptr }
@uvc_ss_streaming = dso_local local_unnamed_addr global ptr null, align 8
@uvc_hs_streaming = dso_local local_unnamed_addr global ptr null, align 8
@uvc_fs_streaming = dso_local local_unnamed_addr global ptr null, align 8
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@uvc_iad = dso_local global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_control_intf = dso_local global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_control_ep = dso_local global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_control_cs_ep = dso_local global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_streaming_intf_alt0 = dso_local global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_ss_control_comp = dso_local global %struct.TYPE_14__ zeroinitializer, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uvc_copy_descriptors], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @uvc_copy_descriptors(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
switch i32 %1, label %9 [
i32 128, label %3
i32 129, label %6
]
3: ; preds = %2
%4 = getelementptr inbounds %struct.uvc_device, ptr %0, i64 0, i32 2, i32 4
%5 = getelementptr inbounds %struct.uvc_device, ptr %0, i64 0, i32 2, i32 3
br label %12
6: ; preds = %2
%7 = getelementptr inbounds %struct.uvc_device, ptr %0, i64 0, i32 2, i32 1
%8 = getelementptr inbounds %struct.uvc_device, ptr %0, i64 0, i32 2, i32 2
br label %12
9: ; preds = %2
%10 = getelementptr inbounds %struct.uvc_device, ptr %0, i64 0, i32 2
%11 = getelementptr inbounds %struct.uvc_device, ptr %0, i64 0, i32 2, i32 1
br label %12
12: ; preds = %9, %6, %3
%13 = phi ptr [ %10, %9 ], [ %8, %6 ], [ %5, %3 ]
%14 = phi ptr [ @uvc_fs_streaming, %9 ], [ @uvc_hs_streaming, %6 ], [ @uvc_ss_streaming, %3 ]
%15 = phi ptr [ %11, %9 ], [ %7, %6 ], [ %4, %3 ]
%16 = load ptr, ptr %15, align 8, !tbaa !5
%17 = load ptr, ptr %14, align 8, !tbaa !5
%18 = load ptr, ptr %13, align 8, !tbaa !5
%19 = icmp ne ptr %16, null
%20 = icmp ne ptr %18, null
%21 = select i1 %19, i1 %20, i1 false
br i1 %21, label %26, label %22
22: ; preds = %12
%23 = load i32, ptr @ENODEV, align 4, !tbaa !9
%24 = sub nsw i32 0, %23
%25 = tail call ptr @ERR_PTR(i32 noundef %24) #2
br label %128
26: ; preds = %12
%27 = load i32, ptr @uvc_iad, align 4, !tbaa !11
%28 = load i32, ptr @uvc_control_intf, align 4, !tbaa !11
%29 = add i32 %28, %27
%30 = load i32, ptr @uvc_control_ep, align 4, !tbaa !11
%31 = add i32 %29, %30
%32 = load i32, ptr @uvc_control_cs_ep, align 4, !tbaa !11
%33 = add i32 %31, %32
%34 = load i32, ptr @uvc_streaming_intf_alt0, align 4, !tbaa !11
%35 = add i32 %33, %34
%36 = icmp eq i32 %1, 128
%37 = load i32, ptr @uvc_ss_control_comp, align 4
%38 = select i1 %36, i32 6, i32 5
%39 = select i1 %36, i32 %37, i32 0
%40 = add i32 %35, %39
%41 = load ptr, ptr %16, align 8, !tbaa !5
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %49
43: ; preds = %49, %26
%44 = phi i32 [ 0, %26 ], [ %57, %49 ]
%45 = phi i32 [ %38, %26 ], [ %59, %49 ]
%46 = phi i32 [ %40, %26 ], [ %58, %49 ]
%47 = load ptr, ptr %18, align 8, !tbaa !5
%48 = icmp eq ptr %47, null
br i1 %48, label %63, label %69
49: ; preds = %26, %49
%50 = phi ptr [ %61, %49 ], [ %41, %26 ]
%51 = phi i32 [ %58, %49 ], [ %40, %26 ]
%52 = phi i32 [ %59, %49 ], [ %38, %26 ]
%53 = phi i32 [ %57, %49 ], [ 0, %26 ]
%54 = phi ptr [ %60, %49 ], [ %16, %26 ]
%55 = load i64, ptr %50, align 8, !tbaa !13
%56 = trunc i64 %55 to i32
%57 = add i32 %53, %56
%58 = add i32 %51, %56
%59 = add i32 %52, 1
%60 = getelementptr inbounds ptr, ptr %54, i64 1
%61 = load ptr, ptr %60, align 8, !tbaa !5
%62 = icmp eq ptr %61, null
br i1 %62, label %43, label %49, !llvm.loop !16
63: ; preds = %69, %43
%64 = phi i32 [ 0, %43 ], [ %77, %69 ]
%65 = phi i32 [ %45, %43 ], [ %79, %69 ]
%66 = phi i32 [ %46, %43 ], [ %78, %69 ]
%67 = load ptr, ptr %17, align 8, !tbaa !5
%68 = icmp eq ptr %67, null
br i1 %68, label %95, label %83
69: ; preds = %43, %69
%70 = phi ptr [ %81, %69 ], [ %47, %43 ]
%71 = phi i32 [ %78, %69 ], [ %46, %43 ]
%72 = phi i32 [ %79, %69 ], [ %45, %43 ]
%73 = phi i32 [ %77, %69 ], [ 0, %43 ]
%74 = phi ptr [ %80, %69 ], [ %18, %43 ]
%75 = load i64, ptr %70, align 8, !tbaa !13
%76 = trunc i64 %75 to i32
%77 = add i32 %73, %76
%78 = add i32 %71, %76
%79 = add i32 %72, 1
%80 = getelementptr inbounds ptr, ptr %74, i64 1
%81 = load ptr, ptr %80, align 8, !tbaa !5
%82 = icmp eq ptr %81, null
br i1 %82, label %63, label %69, !llvm.loop !18
83: ; preds = %63, %83
%84 = phi ptr [ %93, %83 ], [ %67, %63 ]
%85 = phi i32 [ %90, %83 ], [ %66, %63 ]
%86 = phi i32 [ %91, %83 ], [ %65, %63 ]
%87 = phi ptr [ %92, %83 ], [ %17, %63 ]
%88 = load i64, ptr %84, align 8, !tbaa !13
%89 = trunc i64 %88 to i32
%90 = add i32 %85, %89
%91 = add i32 %86, 1
%92 = getelementptr inbounds ptr, ptr %87, i64 1
%93 = load ptr, ptr %92, align 8, !tbaa !5
%94 = icmp eq ptr %93, null
br i1 %94, label %95, label %83, !llvm.loop !19
95: ; preds = %83, %63
%96 = phi i32 [ %65, %63 ], [ %91, %83 ]
%97 = phi i32 [ %66, %63 ], [ %90, %83 ]
%98 = add i32 %96, 1
%99 = zext i32 %98 to i64
%100 = shl nuw nsw i64 %99, 3
%101 = trunc i64 %100 to i32
%102 = add i32 %97, %101
%103 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9
%104 = tail call ptr @kmalloc(i32 noundef %102, i32 noundef %103) #2
%105 = icmp eq ptr %104, null
br i1 %105, label %128, label %106
106: ; preds = %95
%107 = getelementptr inbounds i8, ptr %104, i64 %100
%108 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_iad) #2
%109 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_control_intf) #2
%110 = tail call i32 @UVC_COPY_DESCRIPTORS(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull %16) #2
%111 = tail call ptr @cpu_to_le16(i32 noundef %44) #2
%112 = getelementptr inbounds %struct.uvc_header_descriptor, ptr %107, i64 0, i32 2
store ptr %111, ptr %112, align 8, !tbaa !20
store i32 1, ptr %107, align 8, !tbaa !22
%113 = getelementptr inbounds %struct.uvc_device, ptr %0, i64 0, i32 1
%114 = load i32, ptr %113, align 8, !tbaa !23
%115 = getelementptr inbounds %struct.uvc_header_descriptor, ptr %107, i64 0, i32 1
%116 = load ptr, ptr %115, align 8, !tbaa !27
store i32 %114, ptr %116, align 4, !tbaa !9
%117 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_control_ep) #2
br i1 %36, label %118, label %120
118: ; preds = %106
%119 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_ss_control_comp) #2
br label %120
120: ; preds = %118, %106
%121 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_control_cs_ep) #2
%122 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_streaming_intf_alt0) #2
%123 = tail call i32 @UVC_COPY_DESCRIPTORS(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull %18) #2
%124 = tail call ptr @cpu_to_le16(i32 noundef %64) #2
store ptr %124, ptr %115, align 8, !tbaa !28
%125 = load ptr, ptr %0, align 8, !tbaa !30
%126 = load i32, ptr %125, align 4, !tbaa !31
store i32 %126, ptr %107, align 8, !tbaa !33
%127 = tail call i32 @UVC_COPY_DESCRIPTORS(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull %17) #2
store ptr null, ptr %104, align 8, !tbaa !5
br label %128
128: ; preds = %95, %120, %22
%129 = phi ptr [ %104, %120 ], [ %25, %22 ], [ null, %95 ]
ret ptr %129
}
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UVC_COPY_DESCRIPTOR(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UVC_COPY_DESCRIPTORS(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_14__", !10, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"usb_descriptor_header", !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = !{!21, !6, i64 16}
!21 = !{!"uvc_header_descriptor", !10, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!21, !10, i64 0}
!23 = !{!24, !10, i64 8}
!24 = !{!"uvc_device", !25, i64 0, !10, i64 8, !26, i64 16}
!25 = !{!"TYPE_13__", !6, i64 0}
!26 = !{!"TYPE_11__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!27 = !{!21, !6, i64 8}
!28 = !{!29, !6, i64 8}
!29 = !{!"uvc_input_header_descriptor", !10, i64 0, !6, i64 8}
!30 = !{!24, !6, i64 0}
!31 = !{!32, !10, i64 0}
!32 = !{!"TYPE_12__", !10, i64 0}
!33 = !{!29, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/function/extr_f_uvc.c_uvc_copy_descriptors.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/function/extr_f_uvc.c_uvc_copy_descriptors.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_14__ = type { i32 }
@uvc_ss_streaming = common local_unnamed_addr global ptr null, align 8
@uvc_hs_streaming = common local_unnamed_addr global ptr null, align 8
@uvc_fs_streaming = common local_unnamed_addr global ptr null, align 8
@ENODEV = common local_unnamed_addr global i32 0, align 4
@uvc_iad = common global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_control_intf = common global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_control_ep = common global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_control_cs_ep = common global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_streaming_intf_alt0 = common global %struct.TYPE_14__ zeroinitializer, align 4
@uvc_ss_control_comp = common global %struct.TYPE_14__ zeroinitializer, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uvc_copy_descriptors], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @uvc_copy_descriptors(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
switch i32 %1, label %9 [
i32 128, label %3
i32 129, label %6
]
3: ; preds = %2
%4 = getelementptr inbounds i8, ptr %0, i64 48
%5 = getelementptr inbounds i8, ptr %0, i64 40
br label %12
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 24
%8 = getelementptr inbounds i8, ptr %0, i64 32
br label %12
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = getelementptr inbounds i8, ptr %0, i64 24
br label %12
12: ; preds = %9, %6, %3
%13 = phi ptr [ %10, %9 ], [ %8, %6 ], [ %5, %3 ]
%14 = phi ptr [ @uvc_fs_streaming, %9 ], [ @uvc_hs_streaming, %6 ], [ @uvc_ss_streaming, %3 ]
%15 = phi ptr [ %11, %9 ], [ %7, %6 ], [ %4, %3 ]
%16 = load ptr, ptr %15, align 8, !tbaa !6
%17 = load ptr, ptr %14, align 8, !tbaa !6
%18 = load ptr, ptr %13, align 8, !tbaa !6
%19 = icmp ne ptr %16, null
%20 = icmp ne ptr %18, null
%21 = select i1 %19, i1 %20, i1 false
br i1 %21, label %26, label %22
22: ; preds = %12
%23 = load i32, ptr @ENODEV, align 4, !tbaa !10
%24 = sub nsw i32 0, %23
%25 = tail call ptr @ERR_PTR(i32 noundef %24) #2
br label %128
26: ; preds = %12
%27 = load i32, ptr @uvc_iad, align 4, !tbaa !12
%28 = load i32, ptr @uvc_control_intf, align 4, !tbaa !12
%29 = add i32 %28, %27
%30 = load i32, ptr @uvc_control_ep, align 4, !tbaa !12
%31 = add i32 %29, %30
%32 = load i32, ptr @uvc_control_cs_ep, align 4, !tbaa !12
%33 = add i32 %31, %32
%34 = load i32, ptr @uvc_streaming_intf_alt0, align 4, !tbaa !12
%35 = add i32 %33, %34
%36 = icmp eq i32 %1, 128
%37 = load i32, ptr @uvc_ss_control_comp, align 4
%38 = select i1 %36, i32 6, i32 5
%39 = select i1 %36, i32 %37, i32 0
%40 = add i32 %35, %39
%41 = load ptr, ptr %16, align 8, !tbaa !6
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %49
43: ; preds = %49, %26
%44 = phi i32 [ 0, %26 ], [ %57, %49 ]
%45 = phi i32 [ %38, %26 ], [ %59, %49 ]
%46 = phi i32 [ %40, %26 ], [ %58, %49 ]
%47 = load ptr, ptr %18, align 8, !tbaa !6
%48 = icmp eq ptr %47, null
br i1 %48, label %63, label %69
49: ; preds = %26, %49
%50 = phi ptr [ %61, %49 ], [ %41, %26 ]
%51 = phi i32 [ %58, %49 ], [ %40, %26 ]
%52 = phi i32 [ %59, %49 ], [ %38, %26 ]
%53 = phi i32 [ %57, %49 ], [ 0, %26 ]
%54 = phi ptr [ %60, %49 ], [ %16, %26 ]
%55 = load i64, ptr %50, align 8, !tbaa !14
%56 = trunc i64 %55 to i32
%57 = add i32 %53, %56
%58 = add i32 %51, %56
%59 = add i32 %52, 1
%60 = getelementptr inbounds i8, ptr %54, i64 8
%61 = load ptr, ptr %60, align 8, !tbaa !6
%62 = icmp eq ptr %61, null
br i1 %62, label %43, label %49, !llvm.loop !17
63: ; preds = %69, %43
%64 = phi i32 [ 0, %43 ], [ %77, %69 ]
%65 = phi i32 [ %45, %43 ], [ %79, %69 ]
%66 = phi i32 [ %46, %43 ], [ %78, %69 ]
%67 = load ptr, ptr %17, align 8, !tbaa !6
%68 = icmp eq ptr %67, null
br i1 %68, label %95, label %83
69: ; preds = %43, %69
%70 = phi ptr [ %81, %69 ], [ %47, %43 ]
%71 = phi i32 [ %78, %69 ], [ %46, %43 ]
%72 = phi i32 [ %79, %69 ], [ %45, %43 ]
%73 = phi i32 [ %77, %69 ], [ 0, %43 ]
%74 = phi ptr [ %80, %69 ], [ %18, %43 ]
%75 = load i64, ptr %70, align 8, !tbaa !14
%76 = trunc i64 %75 to i32
%77 = add i32 %73, %76
%78 = add i32 %71, %76
%79 = add i32 %72, 1
%80 = getelementptr inbounds i8, ptr %74, i64 8
%81 = load ptr, ptr %80, align 8, !tbaa !6
%82 = icmp eq ptr %81, null
br i1 %82, label %63, label %69, !llvm.loop !19
83: ; preds = %63, %83
%84 = phi ptr [ %93, %83 ], [ %67, %63 ]
%85 = phi i32 [ %90, %83 ], [ %66, %63 ]
%86 = phi i32 [ %91, %83 ], [ %65, %63 ]
%87 = phi ptr [ %92, %83 ], [ %17, %63 ]
%88 = load i64, ptr %84, align 8, !tbaa !14
%89 = trunc i64 %88 to i32
%90 = add i32 %85, %89
%91 = add i32 %86, 1
%92 = getelementptr inbounds i8, ptr %87, i64 8
%93 = load ptr, ptr %92, align 8, !tbaa !6
%94 = icmp eq ptr %93, null
br i1 %94, label %95, label %83, !llvm.loop !20
95: ; preds = %83, %63
%96 = phi i32 [ %65, %63 ], [ %91, %83 ]
%97 = phi i32 [ %66, %63 ], [ %90, %83 ]
%98 = add i32 %96, 1
%99 = zext i32 %98 to i64
%100 = shl nuw nsw i64 %99, 3
%101 = trunc i64 %100 to i32
%102 = add i32 %97, %101
%103 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10
%104 = tail call ptr @kmalloc(i32 noundef %102, i32 noundef %103) #2
%105 = icmp eq ptr %104, null
br i1 %105, label %128, label %106
106: ; preds = %95
%107 = getelementptr inbounds i8, ptr %104, i64 %100
%108 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_iad) #2
%109 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_control_intf) #2
%110 = tail call i32 @UVC_COPY_DESCRIPTORS(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull %16) #2
%111 = tail call ptr @cpu_to_le16(i32 noundef %44) #2
%112 = getelementptr inbounds i8, ptr %107, i64 16
store ptr %111, ptr %112, align 8, !tbaa !21
store i32 1, ptr %107, align 8, !tbaa !23
%113 = getelementptr inbounds i8, ptr %0, i64 8
%114 = load i32, ptr %113, align 8, !tbaa !24
%115 = getelementptr inbounds i8, ptr %107, i64 8
%116 = load ptr, ptr %115, align 8, !tbaa !28
store i32 %114, ptr %116, align 4, !tbaa !10
%117 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_control_ep) #2
br i1 %36, label %118, label %120
118: ; preds = %106
%119 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_ss_control_comp) #2
br label %120
120: ; preds = %118, %106
%121 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_control_cs_ep) #2
%122 = tail call i32 @UVC_COPY_DESCRIPTOR(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull @uvc_streaming_intf_alt0) #2
%123 = tail call i32 @UVC_COPY_DESCRIPTORS(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull %18) #2
%124 = tail call ptr @cpu_to_le16(i32 noundef %64) #2
store ptr %124, ptr %115, align 8, !tbaa !29
%125 = load ptr, ptr %0, align 8, !tbaa !31
%126 = load i32, ptr %125, align 4, !tbaa !32
store i32 %126, ptr %107, align 8, !tbaa !34
%127 = tail call i32 @UVC_COPY_DESCRIPTORS(ptr noundef nonnull %107, ptr noundef nonnull %104, ptr noundef nonnull %17) #2
store ptr null, ptr %104, align 8, !tbaa !6
br label %128
128: ; preds = %95, %120, %22
%129 = phi ptr [ %104, %120 ], [ %25, %22 ], [ null, %95 ]
ret ptr %129
}
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UVC_COPY_DESCRIPTOR(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UVC_COPY_DESCRIPTORS(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_14__", !11, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"usb_descriptor_header", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!22, !7, i64 16}
!22 = !{!"uvc_header_descriptor", !11, i64 0, !7, i64 8, !7, i64 16}
!23 = !{!22, !11, i64 0}
!24 = !{!25, !11, i64 8}
!25 = !{!"uvc_device", !26, i64 0, !11, i64 8, !27, i64 16}
!26 = !{!"TYPE_13__", !7, i64 0}
!27 = !{!"TYPE_11__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!28 = !{!22, !7, i64 8}
!29 = !{!30, !7, i64 8}
!30 = !{!"uvc_input_header_descriptor", !11, i64 0, !7, i64 8}
!31 = !{!25, !7, i64 0}
!32 = !{!33, !11, i64 0}
!33 = !{!"TYPE_12__", !11, i64 0}
!34 = !{!30, !11, i64 0}
| linux_drivers_usb_gadget_function_extr_f_uvc.c_uvc_copy_descriptors |
; ModuleID = 'AnghaBench/lab/engine/code/ui/extr_ui_shared.c_Display_HandleKey.c'
source_filename = "AnghaBench/lab/engine/code/ui/extr_ui_shared.c_Display_HandleKey.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"
; Function Attrs: nounwind uwtable
define dso_local void @Display_HandleKey(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32* @Display_CaptureItem(i32 noundef %2, i32 noundef %3) #2
%6 = icmp eq i32* %5, null
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = tail call i32* (...) @Menu_GetFocused() #2
%9 = icmp eq i32* %8, null
br i1 %9, label %13, label %10
10: ; preds = %4, %7
%11 = phi i32* [ %8, %7 ], [ %5, %4 ]
%12 = tail call i32 @Menu_HandleKey(i32* noundef nonnull %11, i32 noundef %0, i32 noundef %1) #2
br label %13
13: ; preds = %10, %7
ret void
}
declare i32* @Display_CaptureItem(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32* @Menu_GetFocused(...) local_unnamed_addr #1
declare i32 @Menu_HandleKey(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"}
| ; ModuleID = 'AnghaBench/lab/engine/code/ui/extr_ui_shared.c_Display_HandleKey.c'
source_filename = "AnghaBench/lab/engine/code/ui/extr_ui_shared.c_Display_HandleKey.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 @Display_HandleKey(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @Display_CaptureItem(i32 noundef %2, i32 noundef %3) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = tail call ptr @Menu_GetFocused() #2
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %4, %7
%11 = phi ptr [ %8, %7 ], [ %5, %4 ]
%12 = tail call i32 @Menu_HandleKey(ptr noundef nonnull %11, i32 noundef %0, i32 noundef %1) #2
br label %13
13: ; preds = %10, %7
ret void
}
declare ptr @Display_CaptureItem(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @Menu_GetFocused(...) local_unnamed_addr #1
declare i32 @Menu_HandleKey(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)"}
| lab_engine_code_ui_extr_ui_shared.c_Display_HandleKey |
; ModuleID = 'AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_vacm_delete_access_rule.c'
source_filename = "AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_vacm_delete_access_rule.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@vacm_accesslist = dso_local global i32 0, align 4
@vva = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @vacm_delete_access_rule(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @vva, align 4, !tbaa !5
%3 = tail call i32 @TAILQ_REMOVE(ptr noundef nonnull @vacm_accesslist, ptr noundef %0, i32 noundef %2) #2
%4 = tail call i32 @free(ptr noundef %0) #2
ret i32 0
}
declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_vacm_delete_access_rule.c'
source_filename = "AnghaBench/freebsd/contrib/bsnmp/snmpd/extr_main.c_vacm_delete_access_rule.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vacm_accesslist = common global i32 0, align 4
@vva = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @vacm_delete_access_rule(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @vva, align 4, !tbaa !6
%3 = tail call i32 @TAILQ_REMOVE(ptr noundef nonnull @vacm_accesslist, ptr noundef %0, i32 noundef %2) #2
%4 = tail call i32 @free(ptr noundef %0) #2
ret i32 0
}
declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_bsnmp_snmpd_extr_main.c_vacm_delete_access_rule |
; ModuleID = 'AnghaBench/freebsd/sys/compat/ndis/extr_kern_windrv.c__x86_64_call6.c'
source_filename = "AnghaBench/freebsd/sys/compat/ndis/extr_kern_windrv.c__x86_64_call6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@curthread = dso_local local_unnamed_addr global i32 0, align 4
@FPU_KERN_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @_x86_64_call6(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call ptr (...) @request_fpu_cc_ent() #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = load i32, ptr @ENOMEM, align 4, !tbaa !5
br label %22
12: ; preds = %7
%13 = load i32, ptr @curthread, align 4, !tbaa !5
%14 = load i32, ptr %8, align 4, !tbaa !9
%15 = load i32, ptr @FPU_KERN_NORMAL, align 4, !tbaa !5
%16 = tail call i32 @fpu_kern_enter(i32 noundef %13, i32 noundef %14, i32 noundef %15) #2
%17 = tail call i32 @x86_64_call6(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%18 = load i32, ptr @curthread, align 4, !tbaa !5
%19 = load i32, ptr %8, align 4, !tbaa !9
%20 = tail call i32 @fpu_kern_leave(i32 noundef %18, i32 noundef %19) #2
%21 = tail call i32 @release_fpu_cc_ent(ptr noundef nonnull %8) #2
br label %22
22: ; preds = %12, %10
%23 = phi i32 [ %11, %10 ], [ %17, %12 ]
ret i32 %23
}
declare ptr @request_fpu_cc_ent(...) local_unnamed_addr #1
declare i32 @fpu_kern_enter(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @x86_64_call6(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fpu_kern_leave(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @release_fpu_cc_ent(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 = !{!"fpu_cc_ent", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/compat/ndis/extr_kern_windrv.c__x86_64_call6.c'
source_filename = "AnghaBench/freebsd/sys/compat/ndis/extr_kern_windrv.c__x86_64_call6.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@curthread = common local_unnamed_addr global i32 0, align 4
@FPU_KERN_NORMAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @_x86_64_call6(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
%8 = tail call ptr @request_fpu_cc_ent() #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = load i32, ptr @ENOMEM, align 4, !tbaa !6
br label %22
12: ; preds = %7
%13 = load i32, ptr @curthread, align 4, !tbaa !6
%14 = load i32, ptr %8, align 4, !tbaa !10
%15 = load i32, ptr @FPU_KERN_NORMAL, align 4, !tbaa !6
%16 = tail call i32 @fpu_kern_enter(i32 noundef %13, i32 noundef %14, i32 noundef %15) #2
%17 = tail call i32 @x86_64_call6(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%18 = load i32, ptr @curthread, align 4, !tbaa !6
%19 = load i32, ptr %8, align 4, !tbaa !10
%20 = tail call i32 @fpu_kern_leave(i32 noundef %18, i32 noundef %19) #2
%21 = tail call i32 @release_fpu_cc_ent(ptr noundef nonnull %8) #2
br label %22
22: ; preds = %12, %10
%23 = phi i32 [ %11, %10 ], [ %17, %12 ]
ret i32 %23
}
declare ptr @request_fpu_cc_ent(...) local_unnamed_addr #1
declare i32 @fpu_kern_enter(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @x86_64_call6(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fpu_kern_leave(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @release_fpu_cc_ent(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 = !{!"fpu_cc_ent", !7, i64 0}
| freebsd_sys_compat_ndis_extr_kern_windrv.c__x86_64_call6 |
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson03/2/avenito/src/extr_printf.c_a2d.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson03/2/avenito/src/extr_printf.c_a2d.c"
target datalayout = "e-m:e-p270:32:32-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 @a2d], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @a2d(i8 noundef signext %0) #0 {
%2 = sext i8 %0 to i32
%3 = add i8 %0, -48
%4 = icmp ult i8 %3, 10
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = add nsw i32 %2, -48
br label %17
7: ; preds = %1
%8 = add i8 %0, -97
%9 = icmp ult i8 %8, 6
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = add nsw i32 %2, -87
br label %17
12: ; preds = %7
%13 = add i8 %0, -65
%14 = icmp ult i8 %13, 6
%15 = add nsw i32 %2, -55
%16 = select i1 %14, i32 %15, i32 -1
br label %17
17: ; preds = %12, %10, %5
%18 = phi i32 [ %6, %5 ], [ %11, %10 ], [ %16, %12 ]
ret i32 %18
}
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/raspberry-pi-os/exercises/lesson03/2/avenito/src/extr_printf.c_a2d.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson03/2/avenito/src/extr_printf.c_a2d.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 @a2d], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 -1, 16) i32 @a2d(i8 noundef signext %0) #0 {
%2 = sext i8 %0 to i32
%3 = add i8 %0, -48
%4 = icmp ult i8 %3, 10
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = add nsw i32 %2, -48
br label %17
7: ; preds = %1
%8 = add i8 %0, -97
%9 = icmp ult i8 %8, 6
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = add nsw i32 %2, -87
br label %17
12: ; preds = %7
%13 = add i8 %0, -65
%14 = icmp ult i8 %13, 6
%15 = add nsw i32 %2, -55
%16 = select i1 %14, i32 %15, i32 -1
br label %17
17: ; preds = %12, %10, %5
%18 = phi i32 [ %6, %5 ], [ %11, %10 ], [ %16, %12 ]
ret i32 %18
}
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)"}
| raspberry-pi-os_exercises_lesson03_2_avenito_src_extr_printf.c_a2d |
; ModuleID = 'AnghaBench/linux/fs/nfsd/extr_nfs4idmap.c_nfsd_map_name_to_gid.c'
source_filename = "AnghaBench/linux/fs/nfsd/extr_nfs4idmap.c_nfsd_map_name_to_gid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@nfserr_inval = dso_local local_unnamed_addr global i32 0, align 4
@IDMAP_TYPE_GROUP = dso_local local_unnamed_addr global i32 0, align 4
@nfserr_badowner = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @nfsd_map_name_to_gid(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 -1, ptr %5, align 4, !tbaa !5
%6 = icmp eq ptr %1, null
%7 = icmp eq i64 %2, 0
%8 = or i1 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = load i32, ptr @nfserr_inval, align 4, !tbaa !5
br label %21
11: ; preds = %4
%12 = load i32, ptr @IDMAP_TYPE_GROUP, align 4, !tbaa !5
%13 = call i32 @do_name_to_id(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %1, i64 noundef %2, ptr noundef nonnull %5) #3
%14 = call i32 @nfsd_user_namespace(ptr noundef %0) #3
%15 = load i32, ptr %5, align 4, !tbaa !5
%16 = call i32 @make_kgid(i32 noundef %14, i32 noundef %15) #3
store i32 %16, ptr %3, align 4, !tbaa !5
%17 = call i32 @gid_valid(i32 noundef %16) #3
%18 = icmp eq i32 %17, 0
%19 = load i32, ptr @nfserr_badowner, align 4
%20 = select i1 %18, i32 %19, i32 %13
br label %21
21: ; preds = %11, %9
%22 = phi i32 [ %10, %9 ], [ %20, %11 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @do_name_to_id(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @make_kgid(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfsd_user_namespace(ptr noundef) local_unnamed_addr #2
declare i32 @gid_valid(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"}
| ; ModuleID = 'AnghaBench/linux/fs/nfsd/extr_nfs4idmap.c_nfsd_map_name_to_gid.c'
source_filename = "AnghaBench/linux/fs/nfsd/extr_nfs4idmap.c_nfsd_map_name_to_gid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nfserr_inval = common local_unnamed_addr global i32 0, align 4
@IDMAP_TYPE_GROUP = common local_unnamed_addr global i32 0, align 4
@nfserr_badowner = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @nfsd_map_name_to_gid(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 -1, ptr %5, align 4, !tbaa !6
%6 = icmp eq ptr %1, null
%7 = icmp eq i64 %2, 0
%8 = or i1 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = load i32, ptr @nfserr_inval, align 4, !tbaa !6
br label %21
11: ; preds = %4
%12 = load i32, ptr @IDMAP_TYPE_GROUP, align 4, !tbaa !6
%13 = call i32 @do_name_to_id(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %1, i64 noundef %2, ptr noundef nonnull %5) #3
%14 = call i32 @nfsd_user_namespace(ptr noundef %0) #3
%15 = load i32, ptr %5, align 4, !tbaa !6
%16 = call i32 @make_kgid(i32 noundef %14, i32 noundef %15) #3
store i32 %16, ptr %3, align 4, !tbaa !6
%17 = call i32 @gid_valid(i32 noundef %16) #3
%18 = icmp eq i32 %17, 0
%19 = load i32, ptr @nfserr_badowner, align 4
%20 = select i1 %18, i32 %19, i32 %13
br label %21
21: ; preds = %11, %9
%22 = phi i32 [ %10, %9 ], [ %20, %11 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @do_name_to_id(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @make_kgid(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfsd_user_namespace(ptr noundef) local_unnamed_addr #2
declare i32 @gid_valid(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"}
| linux_fs_nfsd_extr_nfs4idmap.c_nfsd_map_name_to_gid |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_commands.c_qtnf_cmd_send_updown_intf.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_commands.c_qtnf_cmd_send_updown_intf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
%struct.qtnf_vif = type { ptr, i32 }
@QLINK_CMD_UPDOWN_INTF = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @qtnf_cmd_send_updown_intf(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds %struct.qtnf_vif, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr @QLINK_CMD_UPDOWN_INTF, align 4, !tbaa !14
%9 = tail call ptr @qtnf_cmd_alloc_new_cmdskb(i32 noundef %5, i32 noundef %7, i32 noundef %8, i32 noundef 4) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%13 = sub nsw i32 0, %12
br label %28
14: ; preds = %2
%15 = load i64, ptr %9, align 8, !tbaa !15
%16 = inttoptr i64 %15 to ptr
%17 = icmp ne i32 %1, 0
%18 = zext i1 %17 to i32
store i32 %18, ptr %16, align 4, !tbaa !18
%19 = load ptr, ptr %0, align 8, !tbaa !5
%20 = load i32, ptr %19, align 4, !tbaa !20
%21 = tail call i32 @qtnf_bus_lock(i32 noundef %20) #2
%22 = load ptr, ptr %0, align 8, !tbaa !5
%23 = load i32, ptr %22, align 4, !tbaa !20
%24 = tail call i32 @qtnf_cmd_send(i32 noundef %23, ptr noundef nonnull %9) #2
%25 = load ptr, ptr %0, align 8, !tbaa !5
%26 = load i32, ptr %25, align 4, !tbaa !20
%27 = tail call i32 @qtnf_bus_unlock(i32 noundef %26) #2
br label %28
28: ; preds = %14, %11
%29 = phi i32 [ %24, %14 ], [ %13, %11 ]
ret i32 %29
}
declare ptr @qtnf_cmd_alloc_new_cmdskb(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qtnf_bus_lock(i32 noundef) local_unnamed_addr #1
declare i32 @qtnf_cmd_send(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qtnf_bus_unlock(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"qtnf_vif", !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 = !{!12, !10, i64 4}
!12 = !{!"TYPE_2__", !10, i64 0, !10, i64 4}
!13 = !{!6, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"sk_buff", !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !10, i64 0}
!19 = !{!"qlink_cmd_updown", !10, i64 0}
!20 = !{!12, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_commands.c_qtnf_cmd_send_updown_intf.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_commands.c_qtnf_cmd_send_updown_intf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QLINK_CMD_UPDOWN_INTF = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @qtnf_cmd_send_updown_intf(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr @QLINK_CMD_UPDOWN_INTF, align 4, !tbaa !15
%9 = tail call ptr @qtnf_cmd_alloc_new_cmdskb(i32 noundef %5, i32 noundef %7, i32 noundef %8, i32 noundef 4) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !15
%13 = sub nsw i32 0, %12
br label %28
14: ; preds = %2
%15 = load i64, ptr %9, align 8, !tbaa !16
%16 = inttoptr i64 %15 to ptr
%17 = icmp ne i32 %1, 0
%18 = zext i1 %17 to i32
store i32 %18, ptr %16, align 4, !tbaa !19
%19 = load ptr, ptr %0, align 8, !tbaa !6
%20 = load i32, ptr %19, align 4, !tbaa !21
%21 = tail call i32 @qtnf_bus_lock(i32 noundef %20) #2
%22 = load ptr, ptr %0, align 8, !tbaa !6
%23 = load i32, ptr %22, align 4, !tbaa !21
%24 = tail call i32 @qtnf_cmd_send(i32 noundef %23, ptr noundef nonnull %9) #2
%25 = load ptr, ptr %0, align 8, !tbaa !6
%26 = load i32, ptr %25, align 4, !tbaa !21
%27 = tail call i32 @qtnf_bus_unlock(i32 noundef %26) #2
br label %28
28: ; preds = %14, %11
%29 = phi i32 [ %24, %14 ], [ %13, %11 ]
ret i32 %29
}
declare ptr @qtnf_cmd_alloc_new_cmdskb(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qtnf_bus_lock(i32 noundef) local_unnamed_addr #1
declare i32 @qtnf_cmd_send(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qtnf_bus_unlock(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"qtnf_vif", !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 = !{!13, !11, i64 4}
!13 = !{!"TYPE_2__", !11, i64 0, !11, i64 4}
!14 = !{!7, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"sk_buff", !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"qlink_cmd_updown", !11, i64 0}
!21 = !{!13, !11, i64 0}
| linux_drivers_net_wireless_quantenna_qtnfmac_extr_commands.c_qtnf_cmd_send_updown_intf |
; ModuleID = 'AnghaBench/sway/sway/tree/extr_container.c_container_floating_resize_and_center.c'
source_filename = "AnghaBench/sway/sway/tree/extr_container.c_container_floating_resize_and_center.c"
target datalayout = "e-m:e-p270:32:32-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.sway_container = type { i64, i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, i32, ptr }
%struct.sway_workspace = type { i64, i64, i64, i64, ptr }
%struct.wlr_box = type { i32, i32, i64, i64 }
@root = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @container_floating_resize_and_center(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 13
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @floating_natural_resize(ptr noundef nonnull %0) #3
br label %108
7: ; preds = %1
%8 = load ptr, ptr @root, align 8, !tbaa !12
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = getelementptr inbounds %struct.sway_workspace, ptr %3, i64 0, i32 4
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = load i32, ptr %11, align 4, !tbaa !17
%13 = tail call ptr @wlr_output_layout_get_box(i32 noundef %9, i32 noundef %12) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %7
%16 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 10
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, i8 0, i64 16, i1 false)
br label %108
17: ; preds = %7
%18 = tail call i32 @floating_natural_resize(ptr noundef nonnull %0) #3
%19 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 12
%20 = load i32, ptr %19, align 8, !tbaa !19
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %63
22: ; preds = %17
%23 = load i64, ptr %0, align 8, !tbaa !20
%24 = load i64, ptr %3, align 8, !tbaa !21
%25 = icmp sgt i64 %23, %24
%26 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 1
%27 = load i64, ptr %26, align 8, !tbaa !22
br i1 %25, label %32, label %28
28: ; preds = %22
%29 = getelementptr inbounds %struct.sway_workspace, ptr %3, i64 0, i32 1
%30 = load i64, ptr %29, align 8, !tbaa !23
%31 = icmp sgt i64 %27, %30
br i1 %31, label %32, label %50
32: ; preds = %22, %28
%33 = getelementptr inbounds %struct.wlr_box, ptr %13, i64 0, i32 3
%34 = load i64, ptr %33, align 8, !tbaa !24
%35 = load i32, ptr %13, align 8, !tbaa !26
%36 = sext i32 %35 to i64
%37 = sub nsw i64 %36, %23
%38 = sdiv i64 %37, 2
%39 = add nsw i64 %38, %34
%40 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 11
store i64 %39, ptr %40, align 8, !tbaa !27
%41 = getelementptr inbounds %struct.wlr_box, ptr %13, i64 0, i32 2
%42 = load i64, ptr %41, align 8, !tbaa !28
%43 = getelementptr inbounds %struct.wlr_box, ptr %13, i64 0, i32 1
%44 = load i32, ptr %43, align 4, !tbaa !29
%45 = sext i32 %44 to i64
%46 = sub nsw i64 %45, %27
%47 = sdiv i64 %46, 2
%48 = add nsw i64 %47, %42
%49 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 10
store i64 %48, ptr %49, align 8, !tbaa !30
br label %108
50: ; preds = %28
%51 = getelementptr inbounds %struct.sway_workspace, ptr %3, i64 0, i32 3
%52 = load i64, ptr %51, align 8, !tbaa !31
%53 = sub nsw i64 %24, %23
%54 = sdiv i64 %53, 2
%55 = add nsw i64 %52, %54
%56 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 11
store i64 %55, ptr %56, align 8, !tbaa !27
%57 = getelementptr inbounds %struct.sway_workspace, ptr %3, i64 0, i32 2
%58 = load i64, ptr %57, align 8, !tbaa !32
%59 = sub nsw i64 %30, %27
%60 = sdiv i64 %59, 2
%61 = add nsw i64 %58, %60
%62 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 10
store i64 %61, ptr %62, align 8, !tbaa !30
br label %108
63: ; preds = %17
%64 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 2
%65 = load i64, ptr %64, align 8, !tbaa !33
%66 = load i64, ptr %3, align 8, !tbaa !21
%67 = icmp sgt i64 %65, %66
%68 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 3
%69 = load i64, ptr %68, align 8, !tbaa !34
br i1 %67, label %74, label %70
70: ; preds = %63
%71 = getelementptr inbounds %struct.sway_workspace, ptr %3, i64 0, i32 1
%72 = load i64, ptr %71, align 8, !tbaa !23
%73 = icmp sgt i64 %69, %72
br i1 %73, label %74, label %90
74: ; preds = %63, %70
%75 = getelementptr inbounds %struct.wlr_box, ptr %13, i64 0, i32 3
%76 = load i64, ptr %75, align 8, !tbaa !24
%77 = load i32, ptr %13, align 8, !tbaa !26
%78 = sext i32 %77 to i64
%79 = sub nsw i64 %78, %65
%80 = sdiv i64 %79, 2
%81 = add nsw i64 %80, %76
%82 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 9
store i64 %81, ptr %82, align 8, !tbaa !35
%83 = getelementptr inbounds %struct.wlr_box, ptr %13, i64 0, i32 2
%84 = load i64, ptr %83, align 8, !tbaa !28
%85 = getelementptr inbounds %struct.wlr_box, ptr %13, i64 0, i32 1
%86 = load i32, ptr %85, align 4, !tbaa !29
%87 = sext i32 %86 to i64
%88 = sub nsw i64 %87, %69
%89 = sdiv i64 %88, 2
br label %101
90: ; preds = %70
%91 = getelementptr inbounds %struct.sway_workspace, ptr %3, i64 0, i32 3
%92 = load i64, ptr %91, align 8, !tbaa !31
%93 = sub nsw i64 %66, %65
%94 = sdiv i64 %93, 2
%95 = add nsw i64 %92, %94
%96 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 9
store i64 %95, ptr %96, align 8, !tbaa !35
%97 = getelementptr inbounds %struct.sway_workspace, ptr %3, i64 0, i32 2
%98 = load i64, ptr %97, align 8, !tbaa !32
%99 = sub nsw i64 %72, %69
%100 = sdiv i64 %99, 2
br label %101
101: ; preds = %90, %74
%102 = phi i64 [ %100, %90 ], [ %84, %74 ]
%103 = phi i64 [ %98, %90 ], [ %89, %74 ]
%104 = add nsw i64 %103, %102
%105 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 8
store i64 %104, ptr %105, align 8, !tbaa !36
%106 = getelementptr inbounds %struct.sway_container, ptr %0, i64 0, i32 4
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %106, align 8, !tbaa !37
%107 = tail call i32 @container_set_geometry_from_content(ptr noundef nonnull %0) #3
br label %108
108: ; preds = %15, %32, %50, %101, %5
ret void
}
declare i32 @floating_natural_resize(ptr noundef) local_unnamed_addr #1
declare ptr @wlr_output_layout_get_box(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @container_set_geometry_from_content(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, !11, i64 88}
!6 = !{!"sway_container", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !10, i64 80, !11, i64 88}
!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 = !{!11, !11, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_4__", !10, i64 0}
!15 = !{!16, !11, i64 32}
!16 = !{!"sway_workspace", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_3__", !10, i64 0}
!19 = !{!6, !10, i64 80}
!20 = !{!6, !7, i64 0}
!21 = !{!16, !7, i64 0}
!22 = !{!6, !7, i64 8}
!23 = !{!16, !7, i64 8}
!24 = !{!25, !7, i64 16}
!25 = !{!"wlr_box", !10, i64 0, !10, i64 4, !7, i64 8, !7, i64 16}
!26 = !{!25, !10, i64 0}
!27 = !{!6, !7, i64 72}
!28 = !{!25, !7, i64 8}
!29 = !{!25, !10, i64 4}
!30 = !{!6, !7, i64 64}
!31 = !{!16, !7, i64 24}
!32 = !{!16, !7, i64 16}
!33 = !{!6, !7, i64 16}
!34 = !{!6, !7, i64 24}
!35 = !{!6, !7, i64 56}
!36 = !{!6, !7, i64 48}
!37 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/sway/sway/tree/extr_container.c_container_floating_resize_and_center.c'
source_filename = "AnghaBench/sway/sway/tree/extr_container.c_container_floating_resize_and_center.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@root = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @container_floating_resize_and_center(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 88
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @floating_natural_resize(ptr noundef nonnull %0) #3
br label %108
7: ; preds = %1
%8 = load ptr, ptr @root, align 8, !tbaa !13
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = getelementptr inbounds i8, ptr %3, i64 32
%11 = load ptr, ptr %10, align 8, !tbaa !16
%12 = load i32, ptr %11, align 4, !tbaa !18
%13 = tail call ptr @wlr_output_layout_get_box(i32 noundef %9, i32 noundef %12) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %7
%16 = getelementptr inbounds i8, ptr %0, i64 64
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, i8 0, i64 16, i1 false)
br label %108
17: ; preds = %7
%18 = tail call i32 @floating_natural_resize(ptr noundef nonnull %0) #3
%19 = getelementptr inbounds i8, ptr %0, i64 80
%20 = load i32, ptr %19, align 8, !tbaa !20
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %63
22: ; preds = %17
%23 = load i64, ptr %0, align 8, !tbaa !21
%24 = load i64, ptr %3, align 8, !tbaa !22
%25 = icmp sgt i64 %23, %24
%26 = getelementptr inbounds i8, ptr %0, i64 8
%27 = load i64, ptr %26, align 8, !tbaa !23
br i1 %25, label %32, label %28
28: ; preds = %22
%29 = getelementptr inbounds i8, ptr %3, i64 8
%30 = load i64, ptr %29, align 8, !tbaa !24
%31 = icmp sgt i64 %27, %30
br i1 %31, label %32, label %50
32: ; preds = %22, %28
%33 = getelementptr inbounds i8, ptr %13, i64 16
%34 = load i64, ptr %33, align 8, !tbaa !25
%35 = load i32, ptr %13, align 8, !tbaa !27
%36 = sext i32 %35 to i64
%37 = sub nsw i64 %36, %23
%38 = sdiv i64 %37, 2
%39 = add nsw i64 %38, %34
%40 = getelementptr inbounds i8, ptr %0, i64 72
store i64 %39, ptr %40, align 8, !tbaa !28
%41 = getelementptr inbounds i8, ptr %13, i64 8
%42 = load i64, ptr %41, align 8, !tbaa !29
%43 = getelementptr inbounds i8, ptr %13, i64 4
%44 = load i32, ptr %43, align 4, !tbaa !30
%45 = sext i32 %44 to i64
%46 = sub nsw i64 %45, %27
%47 = sdiv i64 %46, 2
%48 = add nsw i64 %47, %42
%49 = getelementptr inbounds i8, ptr %0, i64 64
store i64 %48, ptr %49, align 8, !tbaa !31
br label %108
50: ; preds = %28
%51 = getelementptr inbounds i8, ptr %3, i64 24
%52 = load i64, ptr %51, align 8, !tbaa !32
%53 = sub nsw i64 %24, %23
%54 = sdiv i64 %53, 2
%55 = add nsw i64 %52, %54
%56 = getelementptr inbounds i8, ptr %0, i64 72
store i64 %55, ptr %56, align 8, !tbaa !28
%57 = getelementptr inbounds i8, ptr %3, i64 16
%58 = load i64, ptr %57, align 8, !tbaa !33
%59 = sub nsw i64 %30, %27
%60 = sdiv i64 %59, 2
%61 = add nsw i64 %58, %60
%62 = getelementptr inbounds i8, ptr %0, i64 64
store i64 %61, ptr %62, align 8, !tbaa !31
br label %108
63: ; preds = %17
%64 = getelementptr inbounds i8, ptr %0, i64 16
%65 = load i64, ptr %64, align 8, !tbaa !34
%66 = load i64, ptr %3, align 8, !tbaa !22
%67 = icmp sgt i64 %65, %66
%68 = getelementptr inbounds i8, ptr %0, i64 24
%69 = load i64, ptr %68, align 8, !tbaa !35
br i1 %67, label %74, label %70
70: ; preds = %63
%71 = getelementptr inbounds i8, ptr %3, i64 8
%72 = load i64, ptr %71, align 8, !tbaa !24
%73 = icmp sgt i64 %69, %72
br i1 %73, label %74, label %91
74: ; preds = %63, %70
%75 = getelementptr inbounds i8, ptr %13, i64 16
%76 = load i64, ptr %75, align 8, !tbaa !25
%77 = load i32, ptr %13, align 8, !tbaa !27
%78 = sext i32 %77 to i64
%79 = sub nsw i64 %78, %65
%80 = sdiv i64 %79, 2
%81 = add nsw i64 %80, %76
%82 = getelementptr inbounds i8, ptr %0, i64 56
store i64 %81, ptr %82, align 8, !tbaa !36
%83 = getelementptr inbounds i8, ptr %13, i64 8
%84 = load i64, ptr %83, align 8, !tbaa !29
%85 = getelementptr inbounds i8, ptr %13, i64 4
%86 = load i32, ptr %85, align 4, !tbaa !30
%87 = sext i32 %86 to i64
%88 = sub nsw i64 %87, %69
%89 = sdiv i64 %88, 2
%90 = add nsw i64 %89, %84
br label %103
91: ; preds = %70
%92 = getelementptr inbounds i8, ptr %3, i64 24
%93 = load i64, ptr %92, align 8, !tbaa !32
%94 = sub nsw i64 %66, %65
%95 = sdiv i64 %94, 2
%96 = add nsw i64 %93, %95
%97 = getelementptr inbounds i8, ptr %0, i64 56
store i64 %96, ptr %97, align 8, !tbaa !36
%98 = getelementptr inbounds i8, ptr %3, i64 16
%99 = load i64, ptr %98, align 8, !tbaa !33
%100 = sub nsw i64 %72, %69
%101 = sdiv i64 %100, 2
%102 = add nsw i64 %99, %101
br label %103
103: ; preds = %91, %74
%104 = phi i64 [ %102, %91 ], [ %90, %74 ]
%105 = getelementptr inbounds i8, ptr %0, i64 48
store i64 %104, ptr %105, align 8, !tbaa !37
%106 = getelementptr inbounds i8, ptr %0, i64 32
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %106, align 8, !tbaa !38
%107 = tail call i32 @container_set_geometry_from_content(ptr noundef nonnull %0) #3
br label %108
108: ; preds = %15, %32, %50, %103, %5
ret void
}
declare i32 @floating_natural_resize(ptr noundef) local_unnamed_addr #1
declare ptr @wlr_output_layout_get_box(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @container_set_geometry_from_content(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 88}
!7 = !{!"sway_container", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !11, i64 80, !12, i64 88}
!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 = !{!12, !12, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_4__", !11, i64 0}
!16 = !{!17, !12, i64 32}
!17 = !{!"sway_workspace", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !12, i64 32}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_3__", !11, i64 0}
!20 = !{!7, !11, i64 80}
!21 = !{!7, !8, i64 0}
!22 = !{!17, !8, i64 0}
!23 = !{!7, !8, i64 8}
!24 = !{!17, !8, i64 8}
!25 = !{!26, !8, i64 16}
!26 = !{!"wlr_box", !11, i64 0, !11, i64 4, !8, i64 8, !8, i64 16}
!27 = !{!26, !11, i64 0}
!28 = !{!7, !8, i64 72}
!29 = !{!26, !8, i64 8}
!30 = !{!26, !11, i64 4}
!31 = !{!7, !8, i64 64}
!32 = !{!17, !8, i64 24}
!33 = !{!17, !8, i64 16}
!34 = !{!7, !8, i64 16}
!35 = !{!7, !8, i64 24}
!36 = !{!7, !8, i64 56}
!37 = !{!7, !8, i64 48}
!38 = !{!11, !11, i64 0}
| sway_sway_tree_extr_container.c_container_floating_resize_and_center |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_inet_lro.c_lro_update_tcp_ip_header.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_inet_lro.c_lro_update_tcp_ip_header.c"
target datalayout = "e-m:e-p270:32:32-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.net_lro_desc = type { i32, i64, ptr, i32, i64, i32, i32, ptr }
%struct.tcphdr = type { i64, i32, i32 }
%struct.iphdr = type { i32, i32, i32, i64, i32 }
@IPPROTO_TCP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lro_update_tcp_ip_header], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lro_update_tcp_ip_header(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.net_lro_desc, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.net_lro_desc, ptr %0, i64 0, i32 7
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = getelementptr inbounds %struct.net_lro_desc, ptr %0, i64 0, i32 5
%7 = getelementptr inbounds %struct.tcphdr, ptr %5, i64 0, i32 1
%8 = load <2 x i32>, ptr %6, align 8, !tbaa !13
store <2 x i32> %8, ptr %7, align 8, !tbaa !13
%9 = getelementptr inbounds %struct.net_lro_desc, ptr %0, i64 0, i32 4
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = icmp eq i64 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %1
%13 = getelementptr inbounds %struct.net_lro_desc, ptr %0, i64 0, i32 3
%14 = load i32, ptr %13, align 8, !tbaa !15
%15 = getelementptr inbounds %struct.tcphdr, ptr %5, i64 1, i32 1
store i32 %14, ptr %15, align 4, !tbaa !13
br label %16
16: ; preds = %12, %1
%17 = getelementptr inbounds %struct.net_lro_desc, ptr %0, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = tail call i32 @htons(i64 noundef %18) #2
%20 = getelementptr inbounds %struct.iphdr, ptr %3, i64 0, i32 4
store i32 %19, ptr %20, align 8, !tbaa !17
%21 = getelementptr inbounds %struct.iphdr, ptr %3, i64 0, i32 3
store i64 0, ptr %21, align 8, !tbaa !19
%22 = load ptr, ptr %2, align 8, !tbaa !5
%23 = getelementptr inbounds %struct.iphdr, ptr %3, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !20
%25 = tail call i64 @ip_fast_csum(ptr noundef %22, i32 noundef %24) #2
store i64 %25, ptr %21, align 8, !tbaa !19
store i64 0, ptr %5, align 8, !tbaa !21
%26 = tail call i32 @TCP_HDR_LEN(ptr noundef nonnull %5) #2
%27 = tail call i32 @csum_partial(ptr noundef nonnull %5, i32 noundef %26, i32 noundef 0) #2
%28 = load i32, ptr %0, align 8, !tbaa !23
%29 = tail call i32 @csum_add(i32 noundef %28, i32 noundef %27) #2
store i32 %29, ptr %0, align 8, !tbaa !23
%30 = getelementptr inbounds %struct.iphdr, ptr %3, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !24
%32 = load i32, ptr %3, align 8, !tbaa !25
%33 = load i64, ptr %17, align 8, !tbaa !16
%34 = tail call i64 @IP_HDR_LEN(ptr noundef nonnull %3) #2
%35 = sub nsw i64 %33, %34
%36 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !13
%37 = load i32, ptr %0, align 8, !tbaa !23
%38 = tail call i64 @csum_tcpudp_magic(i32 noundef %31, i32 noundef %32, i64 noundef %35, i32 noundef %36, i32 noundef %37) #2
store i64 %38, ptr %5, align 8, !tbaa !21
ret void
}
declare i32 @htons(i64 noundef) local_unnamed_addr #1
declare i64 @ip_fast_csum(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @csum_partial(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TCP_HDR_LEN(ptr noundef) local_unnamed_addr #1
declare i32 @csum_add(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @csum_tcpudp_magic(i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IP_HDR_LEN(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"net_lro_desc", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !7, i64 44, !11, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 48}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !10, i64 32}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !10, i64 8}
!17 = !{!18, !7, i64 24}
!18 = !{!"iphdr", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24}
!19 = !{!18, !10, i64 16}
!20 = !{!18, !7, i64 8}
!21 = !{!22, !10, i64 0}
!22 = !{!"tcphdr", !10, i64 0, !7, i64 8, !7, i64 12}
!23 = !{!6, !7, i64 0}
!24 = !{!18, !7, i64 4}
!25 = !{!18, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_inet_lro.c_lro_update_tcp_ip_header.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_inet_lro.c_lro_update_tcp_ip_header.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IPPROTO_TCP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lro_update_tcp_ip_header], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lro_update_tcp_ip_header(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 48
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = getelementptr inbounds i8, ptr %0, i64 40
%7 = getelementptr inbounds i8, ptr %5, i64 8
%8 = load <2 x i32>, ptr %6, align 8, !tbaa !14
store <2 x i32> %8, ptr %7, align 8, !tbaa !14
%9 = getelementptr inbounds i8, ptr %0, i64 32
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = icmp eq i64 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %1
%13 = getelementptr inbounds i8, ptr %0, i64 24
%14 = load i32, ptr %13, align 8, !tbaa !16
%15 = getelementptr inbounds i8, ptr %5, i64 24
store i32 %14, ptr %15, align 4, !tbaa !14
br label %16
16: ; preds = %12, %1
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !17
%19 = tail call i32 @htons(i64 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %19, ptr %20, align 8, !tbaa !18
%21 = getelementptr inbounds i8, ptr %3, i64 16
store i64 0, ptr %21, align 8, !tbaa !20
%22 = load ptr, ptr %2, align 8, !tbaa !6
%23 = getelementptr inbounds i8, ptr %3, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !21
%25 = tail call i64 @ip_fast_csum(ptr noundef %22, i32 noundef %24) #2
store i64 %25, ptr %21, align 8, !tbaa !20
store i64 0, ptr %5, align 8, !tbaa !22
%26 = tail call i32 @TCP_HDR_LEN(ptr noundef nonnull %5) #2
%27 = tail call i32 @csum_partial(ptr noundef nonnull %5, i32 noundef %26, i32 noundef 0) #2
%28 = load i32, ptr %0, align 8, !tbaa !24
%29 = tail call i32 @csum_add(i32 noundef %28, i32 noundef %27) #2
store i32 %29, ptr %0, align 8, !tbaa !24
%30 = getelementptr inbounds i8, ptr %3, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !25
%32 = load i32, ptr %3, align 8, !tbaa !26
%33 = load i64, ptr %17, align 8, !tbaa !17
%34 = tail call i64 @IP_HDR_LEN(ptr noundef nonnull %3) #2
%35 = sub nsw i64 %33, %34
%36 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !14
%37 = load i32, ptr %0, align 8, !tbaa !24
%38 = tail call i64 @csum_tcpudp_magic(i32 noundef %31, i32 noundef %32, i64 noundef %35, i32 noundef %36, i32 noundef %37) #2
store i64 %38, ptr %5, align 8, !tbaa !22
ret void
}
declare i32 @htons(i64 noundef) local_unnamed_addr #1
declare i64 @ip_fast_csum(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @csum_partial(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TCP_HDR_LEN(ptr noundef) local_unnamed_addr #1
declare i32 @csum_add(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @csum_tcpudp_magic(i32 noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @IP_HDR_LEN(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"net_lro_desc", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !8, i64 44, !12, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 48}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !11, i64 32}
!16 = !{!7, !8, i64 24}
!17 = !{!7, !11, i64 8}
!18 = !{!19, !8, i64 24}
!19 = !{!"iphdr", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24}
!20 = !{!19, !11, i64 16}
!21 = !{!19, !8, i64 8}
!22 = !{!23, !11, i64 0}
!23 = !{!"tcphdr", !11, i64 0, !8, i64 8, !8, i64 12}
!24 = !{!7, !8, i64 0}
!25 = !{!19, !8, i64 4}
!26 = !{!19, !8, i64 0}
| fastsocket_kernel_net_ipv4_extr_inet_lro.c_lro_update_tcp_ip_header |
; ModuleID = 'AnghaBench/linux/arch/mips/kvm/extr_interrupt.c_kvm_mips_pending_timer.c'
source_filename = "AnghaBench/linux/arch/mips/kvm/extr_interrupt.c_kvm_mips_pending_timer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MIPS_EXC_INT_TIMER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @kvm_mips_pending_timer(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @MIPS_EXC_INT_TIMER, align 4, !tbaa !5
%3 = tail call i32 @test_bit(i32 noundef %2, ptr noundef %0) #2
ret i32 %3
}
declare i32 @test_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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/kvm/extr_interrupt.c_kvm_mips_pending_timer.c'
source_filename = "AnghaBench/linux/arch/mips/kvm/extr_interrupt.c_kvm_mips_pending_timer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MIPS_EXC_INT_TIMER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @kvm_mips_pending_timer(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @MIPS_EXC_INT_TIMER, align 4, !tbaa !6
%3 = tail call i32 @test_bit(i32 noundef %2, ptr noundef %0) #2
ret i32 %3
}
declare i32 @test_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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_mips_kvm_extr_interrupt.c_kvm_mips_pending_timer |
; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_write_msft.c_set_guid.c'
source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_write_msft.c_set_guid.c"
target datalayout = "e-m:e-p270:32:32-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 { i32, i32, ptr }
%struct.TYPE_12__ = type { %struct.TYPE_10__, ptr }
%struct.TYPE_10__ = type { i32 }
@ATTR_UUID = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_guid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @set_guid(ptr noundef %0) #0 {
%2 = alloca %struct.TYPE_13__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
%3 = getelementptr inbounds %struct.TYPE_13__, ptr %2, i64 0, i32 2
store ptr null, ptr %3, align 8, !tbaa !5
store i32 -2, ptr %2, align 8, !tbaa !11
%4 = getelementptr inbounds %struct.TYPE_13__, ptr %2, i64 0, i32 1
store i32 -1, ptr %4, align 4, !tbaa !12
%5 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = load i32, ptr %6, align 4, !tbaa !16
%8 = load i32, ptr @ATTR_UUID, align 4, !tbaa !18
%9 = tail call ptr @get_attrp(i32 noundef %7, i32 noundef %8) #3
%10 = icmp eq ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %1
%12 = load ptr, ptr %9, align 8, !tbaa !19
store ptr %12, ptr %3, align 8, !tbaa !5
br label %13
13: ; preds = %11, %1
%14 = call i32 @ctl2_alloc_guid(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
store i32 %14, ptr %0, align 8, !tbaa !20
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @get_attrp(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ctl2_alloc_guid(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!14, !10, i64 8}
!14 = !{!"TYPE_12__", !15, i64 0, !10, i64 8}
!15 = !{!"TYPE_10__", !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_9__", !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!14, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_write_msft.c_set_guid.c'
source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_write_msft.c_set_guid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_13__ = type { i32, i32, ptr }
@ATTR_UUID = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_guid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @set_guid(ptr noundef %0) #0 {
%2 = alloca %struct.TYPE_13__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
%3 = getelementptr inbounds i8, ptr %2, i64 8
store ptr null, ptr %3, align 8, !tbaa !6
store <2 x i32> <i32 -2, i32 -1>, ptr %2, align 8, !tbaa !12
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = load i32, ptr %5, align 4, !tbaa !16
%7 = load i32, ptr @ATTR_UUID, align 4, !tbaa !12
%8 = tail call ptr @get_attrp(i32 noundef %6, i32 noundef %7) #3
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %1
%11 = load ptr, ptr %8, align 8, !tbaa !18
store ptr %11, ptr %3, align 8, !tbaa !6
br label %12
12: ; preds = %10, %1
%13 = call i32 @ctl2_alloc_guid(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
store i32 %13, ptr %0, align 8, !tbaa !19
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @get_attrp(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ctl2_alloc_guid(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_13__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !11, i64 8}
!14 = !{!"TYPE_12__", !15, i64 0, !11, i64 8}
!15 = !{!"TYPE_10__", !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_9__", !8, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!14, !8, i64 0}
| reactos_sdk_tools_widl_extr_write_msft.c_set_guid |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_hp-wmi.c_show_tablet.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_hp-wmi.c_show_tablet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_tablet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_tablet(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call i32 (...) @hp_wmi_tablet_state() #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @EINVAL, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %11
9: ; preds = %3
%10 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %8, %6 ], [ %10, %9 ]
ret i32 %12
}
declare i32 @hp_wmi_tablet_state(...) 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"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_hp-wmi.c_show_tablet.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_hp-wmi.c_show_tablet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_tablet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_tablet(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call i32 @hp_wmi_tablet_state() #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @EINVAL, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %11
9: ; preds = %3
%10 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
br label %11
11: ; preds = %9, %6
%12 = phi i32 [ %8, %6 ], [ %10, %9 ]
ret i32 %12
}
declare i32 @hp_wmi_tablet_state(...) 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"}
| fastsocket_kernel_drivers_platform_x86_extr_hp-wmi.c_show_tablet |
; ModuleID = 'AnghaBench/seafile/lib/extr_db.c_sqlite_check_for_existence.c'
source_filename = "AnghaBench/seafile/lib/extr_db.c_sqlite_check_for_existence.c"
target datalayout = "e-m:e-p270:32:32-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
@SQLITE_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"Couldn't execute query, error: %d->'%s'\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"no error given\00", align 1
@SQLITE_ROW = 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 @sqlite_check_for_existence(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @sqlite_query_prepare(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %20, label %5
5: ; preds = %2
%6 = tail call i32 @sqlite3_step(ptr noundef nonnull %3) #2
%7 = load i32, ptr @SQLITE_ERROR, align 4, !tbaa !5
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %15
9: ; preds = %5
%10 = tail call ptr @sqlite3_errmsg(ptr noundef %0) #2
%11 = icmp eq ptr %10, null
%12 = select i1 %11, ptr @.str.1, ptr %10
%13 = tail call i32 @g_warning(ptr noundef nonnull @.str, i32 noundef %6, ptr noundef nonnull %12) #2
%14 = tail call i32 @sqlite3_finalize(ptr noundef nonnull %3) #2
br label %20
15: ; preds = %5
%16 = tail call i32 @sqlite3_finalize(ptr noundef nonnull %3) #2
%17 = load i32, ptr @SQLITE_ROW, align 4, !tbaa !5
%18 = icmp eq i32 %6, %17
%19 = select i1 %18, ptr @TRUE, ptr @FALSE
br label %20
20: ; preds = %15, %2, %9
%21 = phi ptr [ @FALSE, %9 ], [ @FALSE, %2 ], [ %19, %15 ]
%22 = load i32, ptr %21, align 4, !tbaa !5
ret i32 %22
}
declare ptr @sqlite_query_prepare(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_step(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_errmsg(ptr noundef) local_unnamed_addr #1
declare i32 @g_warning(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_finalize(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/seafile/lib/extr_db.c_sqlite_check_for_existence.c'
source_filename = "AnghaBench/seafile/lib/extr_db.c_sqlite_check_for_existence.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
@SQLITE_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"Couldn't execute query, error: %d->'%s'\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"no error given\00", align 1
@SQLITE_ROW = 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 @sqlite_check_for_existence(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @sqlite_query_prepare(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %20, label %5
5: ; preds = %2
%6 = tail call i32 @sqlite3_step(ptr noundef nonnull %3) #2
%7 = load i32, ptr @SQLITE_ERROR, align 4, !tbaa !6
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %15
9: ; preds = %5
%10 = tail call ptr @sqlite3_errmsg(ptr noundef %0) #2
%11 = icmp eq ptr %10, null
%12 = select i1 %11, ptr @.str.1, ptr %10
%13 = tail call i32 @g_warning(ptr noundef nonnull @.str, i32 noundef %6, ptr noundef nonnull %12) #2
%14 = tail call i32 @sqlite3_finalize(ptr noundef nonnull %3) #2
br label %20
15: ; preds = %5
%16 = tail call i32 @sqlite3_finalize(ptr noundef nonnull %3) #2
%17 = load i32, ptr @SQLITE_ROW, align 4, !tbaa !6
%18 = icmp eq i32 %6, %17
%19 = select i1 %18, ptr @TRUE, ptr @FALSE
br label %20
20: ; preds = %15, %2, %9
%21 = phi ptr [ @FALSE, %9 ], [ @FALSE, %2 ], [ %19, %15 ]
%22 = load i32, ptr %21, align 4, !tbaa !6
ret i32 %22
}
declare ptr @sqlite_query_prepare(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_step(ptr noundef) local_unnamed_addr #1
declare ptr @sqlite3_errmsg(ptr noundef) local_unnamed_addr #1
declare i32 @g_warning(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_finalize(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"}
| seafile_lib_extr_db.c_sqlite_check_for_existence |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-annot.c_pdf_set_annot_rect.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-annot.c_pdf_set_annot_rect.c"
target datalayout = "e-m:e-p270:32:32-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, i32 }
@Rect = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @pdf_set_annot_rect(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = call i32 @pdf_page_transform(ptr noundef %0, i32 noundef %6, ptr noundef null, ptr noundef nonnull %4) #3
%8 = load i32, ptr %4, align 4, !tbaa !10
%9 = call i32 @fz_invert_matrix(i32 noundef %8) #3
%10 = call i32 @fz_transform_rect(i32 noundef %2, i32 noundef %9) #3
%11 = load i32, ptr %1, align 4, !tbaa !11
%12 = load i32, ptr @Rect, align 4, !tbaa !10
%13 = call i32 @PDF_NAME(i32 noundef %12) #3
%14 = call i32 @pdf_dict_put_rect(ptr noundef %0, i32 noundef %11, i32 noundef %13, i32 noundef %10) #3
%15 = call i32 @pdf_dirty_annot(ptr noundef %0, ptr noundef nonnull %1) #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 @pdf_page_transform(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fz_invert_matrix(i32 noundef) local_unnamed_addr #2
declare i32 @fz_transform_rect(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pdf_dict_put_rect(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PDF_NAME(i32 noundef) local_unnamed_addr #2
declare i32 @pdf_dirty_annot(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-annot.c_pdf_set_annot_rect.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-annot.c_pdf_set_annot_rect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Rect = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @pdf_set_annot_rect(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = getelementptr inbounds i8, ptr %1, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = call i32 @pdf_page_transform(ptr noundef %0, i32 noundef %6, ptr noundef null, ptr noundef nonnull %4) #3
%8 = load i32, ptr %4, align 4, !tbaa !11
%9 = call i32 @fz_invert_matrix(i32 noundef %8) #3
%10 = call i32 @fz_transform_rect(i32 noundef %2, i32 noundef %9) #3
%11 = load i32, ptr %1, align 4, !tbaa !12
%12 = load i32, ptr @Rect, align 4, !tbaa !11
%13 = call i32 @PDF_NAME(i32 noundef %12) #3
%14 = call i32 @pdf_dict_put_rect(ptr noundef %0, i32 noundef %11, i32 noundef %13, i32 noundef %10) #3
%15 = call i32 @pdf_dirty_annot(ptr noundef %0, ptr noundef nonnull %1) #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 @pdf_page_transform(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fz_invert_matrix(i32 noundef) local_unnamed_addr #2
declare i32 @fz_transform_rect(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pdf_dict_put_rect(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PDF_NAME(i32 noundef) local_unnamed_addr #2
declare i32 @pdf_dirty_annot(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| sumatrapdf_mupdf_source_pdf_extr_pdf-annot.c_pdf_set_annot_rect |
; ModuleID = 'AnghaBench/timescaledb/tsl/src/compression/extr_datum_serialize.c_type_append_to_binary_string.c'
source_filename = "AnghaBench/timescaledb/tsl/src/compression/extr_datum_serialize.c_type_append_to_binary_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@TYPEOID = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"cache lookup failed for type %u\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @type_append_to_binary_string(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @TYPEOID, align 4, !tbaa !5
%4 = tail call i32 @ObjectIdGetDatum(i32 noundef %0) #2
%5 = tail call i32 @SearchSysCache1(i32 noundef %3, i32 noundef %4) #2
%6 = tail call i32 @HeapTupleIsValid(i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @ERROR, align 4, !tbaa !5
%10 = tail call i32 @elog(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %0) #2
br label %11
11: ; preds = %8, %2
%12 = tail call i64 @GETSTRUCT(i32 noundef %5) #2
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !9
%16 = tail call ptr @get_namespace_name(i32 noundef %15) #2
%17 = tail call i32 @pq_sendstring(i32 noundef %1, ptr noundef %16) #2
%18 = load i32, ptr %13, align 4, !tbaa !11
%19 = tail call ptr @NameStr(i32 noundef %18) #2
%20 = tail call i32 @pq_sendstring(i32 noundef %1, ptr noundef %19) #2
%21 = tail call i32 @ReleaseSysCache(i32 noundef %5) #2
ret void
}
declare i32 @SearchSysCache1(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #1
declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GETSTRUCT(i32 noundef) local_unnamed_addr #1
declare ptr @get_namespace_name(i32 noundef) local_unnamed_addr #1
declare i32 @pq_sendstring(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @NameStr(i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseSysCache(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"TYPE_2__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/timescaledb/tsl/src/compression/extr_datum_serialize.c_type_append_to_binary_string.c'
source_filename = "AnghaBench/timescaledb/tsl/src/compression/extr_datum_serialize.c_type_append_to_binary_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TYPEOID = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"cache lookup failed for type %u\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @type_append_to_binary_string(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @TYPEOID, align 4, !tbaa !6
%4 = tail call i32 @ObjectIdGetDatum(i32 noundef %0) #2
%5 = tail call i32 @SearchSysCache1(i32 noundef %3, i32 noundef %4) #2
%6 = tail call i32 @HeapTupleIsValid(i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @ERROR, align 4, !tbaa !6
%10 = tail call i32 @elog(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %0) #2
br label %11
11: ; preds = %8, %2
%12 = tail call i64 @GETSTRUCT(i32 noundef %5) #2
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds i8, ptr %13, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !10
%16 = tail call ptr @get_namespace_name(i32 noundef %15) #2
%17 = tail call i32 @pq_sendstring(i32 noundef %1, ptr noundef %16) #2
%18 = load i32, ptr %13, align 4, !tbaa !12
%19 = tail call ptr @NameStr(i32 noundef %18) #2
%20 = tail call i32 @pq_sendstring(i32 noundef %1, ptr noundef %19) #2
%21 = tail call i32 @ReleaseSysCache(i32 noundef %5) #2
ret void
}
declare i32 @SearchSysCache1(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #1
declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GETSTRUCT(i32 noundef) local_unnamed_addr #1
declare ptr @get_namespace_name(i32 noundef) local_unnamed_addr #1
declare i32 @pq_sendstring(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @NameStr(i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseSysCache(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
| timescaledb_tsl_src_compression_extr_datum_serialize.c_type_append_to_binary_string |
; ModuleID = 'AnghaBench/freebsd/contrib/dialog/extr_fselect.c_dialog_fselect.c'
source_filename = "AnghaBench/freebsd/contrib/dialog/extr_fselect.c_dialog_fselect.c"
target datalayout = "e-m:e-p270:32:32-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: nounwind uwtable
define dso_local i32 @dialog_fselect(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @FALSE, align 4, !tbaa !5
%6 = tail call i32 @dlg_fselect(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @dlg_fselect(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/dialog/extr_fselect.c_dialog_fselect.c'
source_filename = "AnghaBench/freebsd/contrib/dialog/extr_fselect.c_dialog_fselect.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: nounwind ssp uwtable(sync)
define i32 @dialog_fselect(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @FALSE, align 4, !tbaa !6
%6 = tail call i32 @dlg_fselect(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @dlg_fselect(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_dialog_extr_fselect.c_dialog_fselect |
; ModuleID = 'AnghaBench/nanomsg/src/utils/extr_hash.c_nn_hash_key.c'
source_filename = "AnghaBench/nanomsg/src/utils/extr_hash.c_nn_hash_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"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local i32 @nn_hash_key(i32 noundef %0) local_unnamed_addr #0 {
%2 = ashr i32 %0, 16
%3 = xor i32 %2, %0
%4 = xor i32 %3, 61
%5 = mul i32 %4, 9
%6 = ashr i32 %5, 4
%7 = xor i32 %6, %5
%8 = mul nsw i32 %7, 668265261
%9 = ashr i32 %8, 15
%10 = xor i32 %9, %8
ret i32 %10
}
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/nanomsg/src/utils/extr_hash.c_nn_hash_key.c'
source_filename = "AnghaBench/nanomsg/src/utils/extr_hash.c_nn_hash_key.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define i32 @nn_hash_key(i32 noundef %0) local_unnamed_addr #0 {
%2 = ashr i32 %0, 16
%3 = xor i32 %2, %0
%4 = xor i32 %3, 61
%5 = mul i32 %4, 9
%6 = ashr i32 %5, 4
%7 = xor i32 %6, %5
%8 = mul nsw i32 %7, 668265261
%9 = ashr i32 %8, 15
%10 = xor i32 %9, %8
ret i32 %10
}
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)"}
| nanomsg_src_utils_extr_hash.c_nn_hash_key |
; ModuleID = 'AnghaBench/postgres/src/backend/access/gist/extr_gistbuild.c_gistGetMaxLevel.c'
source_filename = "AnghaBench/postgres/src/backend/access/gist/extr_gistbuild.c_gistGetMaxLevel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GIST_ROOT_BLKNO = dso_local local_unnamed_addr global i32 0, align 4
@GIST_SHARE = dso_local local_unnamed_addr global i32 0, align 4
@FirstOffsetNumber = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gistGetMaxLevel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @gistGetMaxLevel(i32 noundef %0) #0 {
%2 = load i32, ptr @GIST_ROOT_BLKNO, align 4, !tbaa !5
%3 = tail call i32 @ReadBuffer(i32 noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @GIST_SHARE, align 4, !tbaa !5
%5 = tail call i32 @LockBuffer(i32 noundef %3, i32 noundef %4) #2
%6 = tail call i64 @BufferGetPage(i32 noundef %3) #2
%7 = tail call i64 @GistPageIsLeaf(i64 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %26
9: ; preds = %1, %9
%10 = phi i64 [ %23, %9 ], [ %6, %1 ]
%11 = phi i32 [ %20, %9 ], [ %3, %1 ]
%12 = phi i32 [ %19, %9 ], [ 0, %1 ]
%13 = load i32, ptr @FirstOffsetNumber, align 4, !tbaa !5
%14 = tail call i32 @PageGetItemId(i64 noundef %10, i32 noundef %13) #2
%15 = tail call i64 @PageGetItem(i64 noundef %10, i32 noundef %14) #2
%16 = inttoptr i64 %15 to ptr
%17 = tail call i32 @ItemPointerGetBlockNumber(ptr noundef %16) #2
%18 = tail call i32 @UnlockReleaseBuffer(i32 noundef %11) #2
%19 = add nuw nsw i32 %12, 1
%20 = tail call i32 @ReadBuffer(i32 noundef %0, i32 noundef %17) #2
%21 = load i32, ptr @GIST_SHARE, align 4, !tbaa !5
%22 = tail call i32 @LockBuffer(i32 noundef %20, i32 noundef %21) #2
%23 = tail call i64 @BufferGetPage(i32 noundef %20) #2
%24 = tail call i64 @GistPageIsLeaf(i64 noundef %23) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %9, label %26
26: ; preds = %9, %1
%27 = phi i32 [ 0, %1 ], [ %19, %9 ]
%28 = phi i32 [ %3, %1 ], [ %20, %9 ]
%29 = tail call i32 @UnlockReleaseBuffer(i32 noundef %28) #2
ret i32 %27
}
declare i32 @ReadBuffer(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LockBuffer(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @BufferGetPage(i32 noundef) local_unnamed_addr #1
declare i64 @GistPageIsLeaf(i64 noundef) local_unnamed_addr #1
declare i32 @UnlockReleaseBuffer(i32 noundef) local_unnamed_addr #1
declare i64 @PageGetItem(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PageGetItemId(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ItemPointerGetBlockNumber(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/postgres/src/backend/access/gist/extr_gistbuild.c_gistGetMaxLevel.c'
source_filename = "AnghaBench/postgres/src/backend/access/gist/extr_gistbuild.c_gistGetMaxLevel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GIST_ROOT_BLKNO = common local_unnamed_addr global i32 0, align 4
@GIST_SHARE = common local_unnamed_addr global i32 0, align 4
@FirstOffsetNumber = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gistGetMaxLevel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @gistGetMaxLevel(i32 noundef %0) #0 {
%2 = load i32, ptr @GIST_ROOT_BLKNO, align 4, !tbaa !6
%3 = tail call i32 @ReadBuffer(i32 noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @GIST_SHARE, align 4, !tbaa !6
%5 = tail call i32 @LockBuffer(i32 noundef %3, i32 noundef %4) #2
%6 = tail call i64 @BufferGetPage(i32 noundef %3) #2
%7 = tail call i64 @GistPageIsLeaf(i64 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %26
9: ; preds = %1, %9
%10 = phi i64 [ %23, %9 ], [ %6, %1 ]
%11 = phi i32 [ %20, %9 ], [ %3, %1 ]
%12 = phi i32 [ %19, %9 ], [ 0, %1 ]
%13 = load i32, ptr @FirstOffsetNumber, align 4, !tbaa !6
%14 = tail call i32 @PageGetItemId(i64 noundef %10, i32 noundef %13) #2
%15 = tail call i64 @PageGetItem(i64 noundef %10, i32 noundef %14) #2
%16 = inttoptr i64 %15 to ptr
%17 = tail call i32 @ItemPointerGetBlockNumber(ptr noundef %16) #2
%18 = tail call i32 @UnlockReleaseBuffer(i32 noundef %11) #2
%19 = add nuw nsw i32 %12, 1
%20 = tail call i32 @ReadBuffer(i32 noundef %0, i32 noundef %17) #2
%21 = load i32, ptr @GIST_SHARE, align 4, !tbaa !6
%22 = tail call i32 @LockBuffer(i32 noundef %20, i32 noundef %21) #2
%23 = tail call i64 @BufferGetPage(i32 noundef %20) #2
%24 = tail call i64 @GistPageIsLeaf(i64 noundef %23) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %9, label %26
26: ; preds = %9, %1
%27 = phi i32 [ 0, %1 ], [ %19, %9 ]
%28 = phi i32 [ %3, %1 ], [ %20, %9 ]
%29 = tail call i32 @UnlockReleaseBuffer(i32 noundef %28) #2
ret i32 %27
}
declare i32 @ReadBuffer(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LockBuffer(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @BufferGetPage(i32 noundef) local_unnamed_addr #1
declare i64 @GistPageIsLeaf(i64 noundef) local_unnamed_addr #1
declare i32 @UnlockReleaseBuffer(i32 noundef) local_unnamed_addr #1
declare i64 @PageGetItem(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PageGetItemId(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ItemPointerGetBlockNumber(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"}
| postgres_src_backend_access_gist_extr_gistbuild.c_gistGetMaxLevel |
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/b53/extr_b53_mdio.c_b53_mdio_write16.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/b53/extr_b53_mdio.c_b53_mdio_write16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BRCM_PSEUDO_PHY_ADDR = dso_local local_unnamed_addr global i32 0, align 4
@REG_MII_DATA0 = dso_local local_unnamed_addr global i32 0, align 4
@REG_MII_ADDR_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @b53_mdio_write16], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @b53_mdio_write16(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load i32, ptr @BRCM_PSEUDO_PHY_ADDR, align 4, !tbaa !10
%7 = load i32, ptr @REG_MII_DATA0, align 4, !tbaa !10
%8 = tail call i32 @mdiobus_write_nested(ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %3) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i32, ptr @REG_MII_ADDR_WRITE, align 4, !tbaa !10
%12 = tail call i32 @b53_mdio_op(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %11) #2
br label %13
13: ; preds = %4, %10
%14 = phi i32 [ %12, %10 ], [ %8, %4 ]
ret i32 %14
}
declare i32 @mdiobus_write_nested(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b53_mdio_op(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"b53_device", !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/net/dsa/b53/extr_b53_mdio.c_b53_mdio_write16.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/b53/extr_b53_mdio.c_b53_mdio_write16.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BRCM_PSEUDO_PHY_ADDR = common local_unnamed_addr global i32 0, align 4
@REG_MII_DATA0 = common local_unnamed_addr global i32 0, align 4
@REG_MII_ADDR_WRITE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @b53_mdio_write16], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @b53_mdio_write16(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load i32, ptr @BRCM_PSEUDO_PHY_ADDR, align 4, !tbaa !11
%7 = load i32, ptr @REG_MII_DATA0, align 4, !tbaa !11
%8 = tail call i32 @mdiobus_write_nested(ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %3) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i32, ptr @REG_MII_ADDR_WRITE, align 4, !tbaa !11
%12 = tail call i32 @b53_mdio_op(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %11) #2
br label %13
13: ; preds = %4, %10
%14 = phi i32 [ %12, %10 ], [ %8, %4 ]
ret i32 %14
}
declare i32 @mdiobus_write_nested(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b53_mdio_op(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"b53_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| linux_drivers_net_dsa_b53_extr_b53_mdio.c_b53_mdio_write16 |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_smp_32.c_smp_flush_tlb_range.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_smp_32.c_smp_flush_tlb_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"
@NO_CONTEXT = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @smp_flush_tlb_range(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = load i64, ptr @NO_CONTEXT, align 8, !tbaa !13
%7 = icmp eq i64 %5, %6
br i1 %7, label %22, label %8
8: ; preds = %3
%9 = tail call ptr @mm_cpumask(ptr noundef nonnull %4) #2
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = tail call i32 (...) @smp_processor_id() #2
%12 = tail call i32 @cpu_clear(i32 noundef %11, i32 noundef %10) #2
%13 = tail call i32 @cpus_empty(i32 noundef %10) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %8
%16 = tail call i64 @BTFIXUP_CALL(ptr noundef nonnull @local_flush_tlb_range) #2
%17 = trunc i64 %16 to i32
%18 = ptrtoint ptr %0 to i64
%19 = tail call i32 @xc3(i32 noundef %17, i64 noundef %18, i64 noundef %1, i64 noundef %2) #2
br label %20
20: ; preds = %15, %8
%21 = tail call i32 @local_flush_tlb_range(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2) #2
br label %22
22: ; preds = %20, %3
ret void
}
declare ptr @mm_cpumask(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_clear(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @cpus_empty(i32 noundef) local_unnamed_addr #1
declare i32 @xc3(i32 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @BTFIXUP_CALL(ptr noundef) local_unnamed_addr #1
declare i32 @local_flush_tlb_range(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"mm_struct", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_smp_32.c_smp_flush_tlb_range.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_smp_32.c_smp_flush_tlb_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NO_CONTEXT = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @smp_flush_tlb_range(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = load i64, ptr @NO_CONTEXT, align 8, !tbaa !14
%7 = icmp eq i64 %5, %6
br i1 %7, label %22, label %8
8: ; preds = %3
%9 = tail call ptr @mm_cpumask(ptr noundef nonnull %4) #2
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = tail call i32 @smp_processor_id() #2
%12 = tail call i32 @cpu_clear(i32 noundef %11, i32 noundef %10) #2
%13 = tail call i32 @cpus_empty(i32 noundef %10) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %8
%16 = tail call i64 @BTFIXUP_CALL(ptr noundef nonnull @local_flush_tlb_range) #2
%17 = trunc i64 %16 to i32
%18 = ptrtoint ptr %0 to i64
%19 = tail call i32 @xc3(i32 noundef %17, i64 noundef %18, i64 noundef %1, i64 noundef %2) #2
br label %20
20: ; preds = %15, %8
%21 = tail call i32 @local_flush_tlb_range(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2) #2
br label %22
22: ; preds = %20, %3
ret void
}
declare ptr @mm_cpumask(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_clear(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @cpus_empty(i32 noundef) local_unnamed_addr #1
declare i32 @xc3(i32 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @BTFIXUP_CALL(ptr noundef) local_unnamed_addr #1
declare i32 @local_flush_tlb_range(ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"mm_struct", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
| fastsocket_kernel_arch_sparc_kernel_extr_smp_32.c_smp_flush_tlb_range |
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-s2mps11.c_s2mps11_clk_unprepare.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-s2mps11.c_s2mps11_clk_unprepare.c"
target datalayout = "e-m:e-p270:32:32-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.s2mps11_clk = type { i32, i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @s2mps11_clk_unprepare], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @s2mps11_clk_unprepare(ptr noundef %0) #0 {
%2 = tail call ptr @to_s2mps11_clk(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.s2mps11_clk, ptr %2, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds %struct.s2mps11_clk, ptr %2, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = load i32, ptr %2, align 8, !tbaa !14
%9 = xor i32 %8, -1
%10 = tail call i32 @regmap_update_bits(i32 noundef %5, i32 noundef %7, i32 noundef %8, i32 noundef %9) #2
ret void
}
declare ptr @to_s2mps11_clk(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"s2mps11_clk", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-s2mps11.c_s2mps11_clk_unprepare.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-s2mps11.c_s2mps11_clk_unprepare.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 @s2mps11_clk_unprepare], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @s2mps11_clk_unprepare(ptr noundef %0) #0 {
%2 = tail call ptr @to_s2mps11_clk(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = getelementptr inbounds i8, ptr %2, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = load i32, ptr %2, align 8, !tbaa !15
%9 = xor i32 %8, -1
%10 = tail call i32 @regmap_update_bits(i32 noundef %5, i32 noundef %7, i32 noundef %8, i32 noundef %9) #2
ret void
}
declare ptr @to_s2mps11_clk(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"s2mps11_clk", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!7, !8, i64 4}
!15 = !{!7, !8, i64 0}
| linux_drivers_clk_extr_clk-s2mps11.c_s2mps11_clk_unprepare |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_mpc52xx_uart.c_mpc52xx_psc_command.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_mpc52xx_uart.c_mpc52xx_psc_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 @mpc52xx_psc_command], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mpc52xx_psc_command(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @PSC(ptr noundef %0) #2
%4 = tail call i32 @out_8(ptr noundef %3, i32 noundef %1) #2
ret void
}
declare i32 @out_8(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @PSC(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/tty/serial/extr_mpc52xx_uart.c_mpc52xx_psc_command.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_mpc52xx_uart.c_mpc52xx_psc_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 @mpc52xx_psc_command], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mpc52xx_psc_command(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @PSC(ptr noundef %0) #2
%4 = tail call i32 @out_8(ptr noundef %3, i32 noundef %1) #2
ret void
}
declare i32 @out_8(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @PSC(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_tty_serial_extr_mpc52xx_uart.c_mpc52xx_psc_command |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-cp2112.c_cp2112_gpio_get_all.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-cp2112.c_cp2112_gpio_get_all.c"
target datalayout = "e-m:e-p270:32:32-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.cp2112_device = type { ptr, i32, ptr }
@CP2112_GPIO_GET = dso_local local_unnamed_addr global i32 0, align 4
@CP2112_GPIO_GET_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@HID_FEATURE_REPORT = dso_local local_unnamed_addr global i32 0, align 4
@HID_REQ_GET_REPORT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"error requesting GPIO values: %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 @cp2112_gpio_get_all], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cp2112_gpio_get_all(ptr noundef %0) #0 {
%2 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.cp2112_device, ptr %2, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %2, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.cp2112_device, ptr %2, i64 0, i32 1
%7 = tail call i32 @mutex_lock(ptr noundef nonnull %6) #2
%8 = load i32, ptr @CP2112_GPIO_GET, align 4, !tbaa !12
%9 = load i32, ptr @CP2112_GPIO_GET_LENGTH, align 4, !tbaa !12
%10 = load i32, ptr @HID_FEATURE_REPORT, align 4, !tbaa !12
%11 = load i32, ptr @HID_REQ_GET_REPORT, align 4, !tbaa !12
%12 = tail call i32 @hid_hw_raw_request(ptr noundef %4, i32 noundef %8, ptr noundef %5, i32 noundef %9, i32 noundef %10, i32 noundef %11) #2
%13 = load i32, ptr @CP2112_GPIO_GET_LENGTH, align 4, !tbaa !12
%14 = icmp eq i32 %12, %13
br i1 %14, label %21, label %15
15: ; preds = %1
%16 = tail call i32 @hid_err(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %12) #2
%17 = icmp slt i32 %12, 0
%18 = load i32, ptr @EIO, align 4
%19 = sub nsw i32 0, %18
%20 = select i1 %17, i32 %12, i32 %19
br label %24
21: ; preds = %1
%22 = getelementptr inbounds i32, ptr %5, i64 1
%23 = load i32, ptr %22, align 4, !tbaa !12
br label %24
24: ; preds = %21, %15
%25 = phi i32 [ %20, %15 ], [ %23, %21 ]
%26 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2
ret i32 %25
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @hid_hw_raw_request(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hid_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_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 16}
!6 = !{!"cp2112_device", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-cp2112.c_cp2112_gpio_get_all.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-cp2112.c_cp2112_gpio_get_all.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CP2112_GPIO_GET = common local_unnamed_addr global i32 0, align 4
@CP2112_GPIO_GET_LENGTH = common local_unnamed_addr global i32 0, align 4
@HID_FEATURE_REPORT = common local_unnamed_addr global i32 0, align 4
@HID_REQ_GET_REPORT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"error requesting GPIO values: %d\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cp2112_gpio_get_all], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cp2112_gpio_get_all(ptr noundef %0) #0 {
%2 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %2, align 8, !tbaa !12
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = tail call i32 @mutex_lock(ptr noundef nonnull %6) #2
%8 = load i32, ptr @CP2112_GPIO_GET, align 4, !tbaa !13
%9 = load i32, ptr @CP2112_GPIO_GET_LENGTH, align 4, !tbaa !13
%10 = load i32, ptr @HID_FEATURE_REPORT, align 4, !tbaa !13
%11 = load i32, ptr @HID_REQ_GET_REPORT, align 4, !tbaa !13
%12 = tail call i32 @hid_hw_raw_request(ptr noundef %4, i32 noundef %8, ptr noundef %5, i32 noundef %9, i32 noundef %10, i32 noundef %11) #2
%13 = load i32, ptr @CP2112_GPIO_GET_LENGTH, align 4, !tbaa !13
%14 = icmp eq i32 %12, %13
br i1 %14, label %21, label %15
15: ; preds = %1
%16 = tail call i32 @hid_err(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %12) #2
%17 = icmp slt i32 %12, 0
%18 = load i32, ptr @EIO, align 4
%19 = sub nsw i32 0, %18
%20 = select i1 %17, i32 %12, i32 %19
br label %24
21: ; preds = %1
%22 = getelementptr inbounds i8, ptr %5, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !13
br label %24
24: ; preds = %21, %15
%25 = phi i32 [ %20, %15 ], [ %23, %21 ]
%26 = tail call i32 @mutex_unlock(ptr noundef nonnull %6) #2
ret i32 %25
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @hid_hw_raw_request(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hid_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_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 16}
!7 = !{!"cp2112_device", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!11, !11, i64 0}
| linux_drivers_hid_extr_hid-cp2112.c_cp2112_gpio_get_all |
; ModuleID = 'AnghaBench/freebsd/sys/fs/msdosfs/extr_msdosfs_vnops.c_msdosfs_create.c'
source_filename = "AnghaBench/freebsd/sys/fs/msdosfs/extr_msdosfs_vnops.c_msdosfs_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.denode = type { i64, i64, i64, i32, i32, i64, i32, i32 }
%struct.timespec = type { i32 }
%struct.vop_create_args = type { ptr, i32, i32, ptr }
@MSDOSFSROOT = dso_local local_unnamed_addr global i64 0, align 8
@ENOSPC = dso_local local_unnamed_addr global i32 0, align 4
@ATTR_ARCHIVE = dso_local local_unnamed_addr global i32 0, align 4
@DE_ACCESS = dso_local local_unnamed_addr global i32 0, align 4
@DE_CREATE = dso_local local_unnamed_addr global i32 0, align 4
@DE_UPDATE = dso_local local_unnamed_addr global i32 0, align 4
@MAKEENTRY = dso_local local_unnamed_addr global i32 0, align 4
@HASBUF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @msdosfs_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @msdosfs_create(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.denode, align 8
%3 = alloca ptr, align 8
%4 = alloca %struct.timespec, align 4
%5 = getelementptr inbounds %struct.vop_create_args, ptr %0, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%7 = getelementptr inbounds %struct.vop_create_args, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 8, !tbaa !11
%9 = tail call ptr @VTODE(i32 noundef %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%10 = load i64, ptr %9, align 8, !tbaa !12
%11 = load i64, ptr @MSDOSFSROOT, align 8, !tbaa !15
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %1
%14 = getelementptr inbounds %struct.denode, ptr %9, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !16
%16 = getelementptr inbounds %struct.denode, ptr %9, i64 0, i32 2
%17 = load i64, ptr %16, align 8, !tbaa !17
%18 = icmp slt i64 %15, %17
br i1 %18, label %21, label %19
19: ; preds = %13
%20 = load i32, ptr @ENOSPC, align 4, !tbaa !18
br label %56
21: ; preds = %13, %1
%22 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 48) #3
%23 = getelementptr inbounds %struct.denode, ptr %2, i64 0, i32 7
%24 = load i32, ptr %23, align 4, !tbaa !19
%25 = call i32 @uniqdosname(ptr noundef nonnull %9, ptr noundef %6, i32 noundef %24) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %56
27: ; preds = %21
%28 = load i32, ptr @ATTR_ARCHIVE, align 4, !tbaa !18
%29 = getelementptr inbounds %struct.denode, ptr %2, i64 0, i32 6
store i32 %28, ptr %29, align 8, !tbaa !20
%30 = getelementptr inbounds %struct.denode, ptr %2, i64 0, i32 5
store i64 0, ptr %30, align 8, !tbaa !21
store i64 0, ptr %2, align 8, !tbaa !12
%31 = getelementptr inbounds %struct.denode, ptr %2, i64 0, i32 2
store i64 0, ptr %31, align 8, !tbaa !17
%32 = getelementptr inbounds %struct.denode, ptr %9, i64 0, i32 4
%33 = load i32, ptr %32, align 4, !tbaa !22
%34 = getelementptr inbounds %struct.denode, ptr %2, i64 0, i32 4
store i32 %33, ptr %34, align 4, !tbaa !22
%35 = load i32, ptr @DE_ACCESS, align 4, !tbaa !18
%36 = load i32, ptr @DE_CREATE, align 4, !tbaa !18
%37 = or i32 %36, %35
%38 = load i32, ptr @DE_UPDATE, align 4, !tbaa !18
%39 = or i32 %37, %38
%40 = getelementptr inbounds %struct.denode, ptr %2, i64 0, i32 3
store i32 %39, ptr %40, align 8, !tbaa !23
%41 = call i32 @vfs_timestamp(ptr noundef nonnull %4) #3
%42 = call i32 @DETIMES(ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef nonnull %4) #3
%43 = call i32 @createde(ptr noundef nonnull %2, ptr noundef nonnull %9, ptr noundef nonnull %3, ptr noundef %6) #3
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %56
45: ; preds = %27
%46 = load ptr, ptr %3, align 8, !tbaa !24
%47 = call i32 @DETOV(ptr noundef %46) #3
%48 = load ptr, ptr %0, align 8, !tbaa !25
store i32 %47, ptr %48, align 4, !tbaa !18
%49 = load i32, ptr %6, align 4, !tbaa !26
%50 = load i32, ptr @MAKEENTRY, align 4, !tbaa !18
%51 = and i32 %50, %49
%52 = icmp eq i32 %51, 0
br i1 %52, label %56, label %53
53: ; preds = %45
%54 = load i32, ptr %7, align 8, !tbaa !11
%55 = call i32 @cache_enter(i32 noundef %54, i32 noundef %47, ptr noundef nonnull %6) #3
br label %56
56: ; preds = %19, %21, %27, %45, %53
%57 = phi i32 [ 0, %53 ], [ 0, %45 ], [ %20, %19 ], [ %25, %21 ], [ %43, %27 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #3
ret i32 %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @VTODE(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uniqdosname(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vfs_timestamp(ptr noundef) local_unnamed_addr #2
declare i32 @DETIMES(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @createde(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DETOV(ptr noundef) local_unnamed_addr #2
declare i32 @cache_enter(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"vop_create_args", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!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 = !{!13, !14, i64 0}
!13 = !{!"denode", !14, i64 0, !14, i64 8, !14, i64 16, !10, i64 24, !10, i64 28, !14, i64 32, !10, i64 40, !10, i64 44}
!14 = !{!"long", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !14, i64 8}
!17 = !{!13, !14, i64 16}
!18 = !{!10, !10, i64 0}
!19 = !{!13, !10, i64 44}
!20 = !{!13, !10, i64 40}
!21 = !{!13, !14, i64 32}
!22 = !{!13, !10, i64 28}
!23 = !{!13, !10, i64 24}
!24 = !{!7, !7, i64 0}
!25 = !{!6, !7, i64 0}
!26 = !{!27, !10, i64 0}
!27 = !{!"componentname", !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/fs/msdosfs/extr_msdosfs_vnops.c_msdosfs_create.c'
source_filename = "AnghaBench/freebsd/sys/fs/msdosfs/extr_msdosfs_vnops.c_msdosfs_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.denode = type { i64, i64, i64, i32, i32, i64, i32, i32 }
%struct.timespec = type { i32 }
@MSDOSFSROOT = common local_unnamed_addr global i64 0, align 8
@ENOSPC = common local_unnamed_addr global i32 0, align 4
@ATTR_ARCHIVE = common local_unnamed_addr global i32 0, align 4
@DE_ACCESS = common local_unnamed_addr global i32 0, align 4
@DE_CREATE = common local_unnamed_addr global i32 0, align 4
@DE_UPDATE = common local_unnamed_addr global i32 0, align 4
@MAKEENTRY = common local_unnamed_addr global i32 0, align 4
@HASBUF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @msdosfs_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @msdosfs_create(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.denode, align 8
%3 = alloca ptr, align 8
%4 = alloca %struct.timespec, align 4
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = tail call ptr @VTODE(i32 noundef %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = load i64, ptr @MSDOSFSROOT, align 8, !tbaa !16
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %1
%14 = getelementptr inbounds i8, ptr %9, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !17
%16 = getelementptr inbounds i8, ptr %9, i64 16
%17 = load i64, ptr %16, align 8, !tbaa !18
%18 = icmp slt i64 %15, %17
br i1 %18, label %21, label %19
19: ; preds = %13
%20 = load i32, ptr @ENOSPC, align 4, !tbaa !19
br label %56
21: ; preds = %13, %1
%22 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 48) #3
%23 = getelementptr inbounds i8, ptr %2, i64 44
%24 = load i32, ptr %23, align 4, !tbaa !20
%25 = call i32 @uniqdosname(ptr noundef nonnull %9, ptr noundef %6, i32 noundef %24) #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %56
27: ; preds = %21
%28 = load i32, ptr @ATTR_ARCHIVE, align 4, !tbaa !19
%29 = getelementptr inbounds i8, ptr %2, i64 40
store i32 %28, ptr %29, align 8, !tbaa !21
%30 = getelementptr inbounds i8, ptr %2, i64 32
store i64 0, ptr %30, align 8, !tbaa !22
store i64 0, ptr %2, align 8, !tbaa !13
%31 = getelementptr inbounds i8, ptr %2, i64 16
store i64 0, ptr %31, align 8, !tbaa !18
%32 = getelementptr inbounds i8, ptr %9, i64 28
%33 = load i32, ptr %32, align 4, !tbaa !23
%34 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %33, ptr %34, align 4, !tbaa !23
%35 = load i32, ptr @DE_ACCESS, align 4, !tbaa !19
%36 = load i32, ptr @DE_CREATE, align 4, !tbaa !19
%37 = or i32 %36, %35
%38 = load i32, ptr @DE_UPDATE, align 4, !tbaa !19
%39 = or i32 %37, %38
%40 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %39, ptr %40, align 8, !tbaa !24
%41 = call i32 @vfs_timestamp(ptr noundef nonnull %4) #3
%42 = call i32 @DETIMES(ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef nonnull %4) #3
%43 = call i32 @createde(ptr noundef nonnull %2, ptr noundef nonnull %9, ptr noundef nonnull %3, ptr noundef %6) #3
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %56
45: ; preds = %27
%46 = load ptr, ptr %3, align 8, !tbaa !25
%47 = call i32 @DETOV(ptr noundef %46) #3
%48 = load ptr, ptr %0, align 8, !tbaa !26
store i32 %47, ptr %48, align 4, !tbaa !19
%49 = load i32, ptr %6, align 4, !tbaa !27
%50 = load i32, ptr @MAKEENTRY, align 4, !tbaa !19
%51 = and i32 %50, %49
%52 = icmp eq i32 %51, 0
br i1 %52, label %56, label %53
53: ; preds = %45
%54 = load i32, ptr %7, align 8, !tbaa !12
%55 = call i32 @cache_enter(i32 noundef %54, i32 noundef %47, ptr noundef nonnull %6) #3
br label %56
56: ; preds = %19, %21, %27, %45, %53
%57 = phi i32 [ 0, %53 ], [ 0, %45 ], [ %20, %19 ], [ %25, %21 ], [ %43, %27 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #3
ret i32 %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @VTODE(i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uniqdosname(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @vfs_timestamp(ptr noundef) local_unnamed_addr #2
declare i32 @DETIMES(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @createde(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DETOV(ptr noundef) local_unnamed_addr #2
declare i32 @cache_enter(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"vop_create_args", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16}
!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 = !{!14, !15, i64 0}
!14 = !{!"denode", !15, i64 0, !15, i64 8, !15, i64 16, !11, i64 24, !11, i64 28, !15, i64 32, !11, i64 40, !11, i64 44}
!15 = !{!"long", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !15, i64 8}
!18 = !{!14, !15, i64 16}
!19 = !{!11, !11, i64 0}
!20 = !{!14, !11, i64 44}
!21 = !{!14, !11, i64 40}
!22 = !{!14, !15, i64 32}
!23 = !{!14, !11, i64 28}
!24 = !{!14, !11, i64 24}
!25 = !{!8, !8, i64 0}
!26 = !{!7, !8, i64 0}
!27 = !{!28, !11, i64 0}
!28 = !{!"componentname", !11, i64 0}
| freebsd_sys_fs_msdosfs_extr_msdosfs_vnops.c_msdosfs_create |
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_gtkglwidget.c_yui_gl_new.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_gtkglwidget.c_yui_gl_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"configure_event\00", align 1
@yui_gl_resize = dso_local local_unnamed_addr global i32 0, align 4
@GDK_POINTER_MOTION_MASK = dso_local local_unnamed_addr global i32 0, align 4
@GDK_BUTTON_PRESS_MASK = dso_local local_unnamed_addr global i32 0, align 4
@GDK_BUTTON_RELEASE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"motion-notify-event\00", align 1
@yui_gl_hide_cursor = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"button-press-event\00", align 1
@yui_gl_button_press = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [21 x i8] c"button-release-event\00", align 1
@yui_gl_button_release = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_ATTRIB_LIST_NONE = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_BLUE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_DEPTH_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_DOUBLEBUFFER = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_GREEN_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_RED_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_RGBA = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_RGBA_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@GDK_GL_STENCIL_SIZE = 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 noundef ptr @yui_gl_new() local_unnamed_addr #0 {
%1 = tail call i32 (...) @yui_gl_get_type() #2
%2 = tail call i32 @g_object_new(i32 noundef %1, ptr noundef null) #2
%3 = tail call ptr @GTK_WIDGET(i32 noundef %2) #2
%4 = tail call ptr @YUI_GL(ptr noundef %3) #2
store i64 0, ptr %4, align 8, !tbaa !5
%5 = tail call i32 @GTK_OBJECT(ptr noundef %3) #2
%6 = load i32, ptr @yui_gl_resize, align 4, !tbaa !10
%7 = tail call i32 @GTK_SIGNAL_FUNC(i32 noundef %6) #2
%8 = tail call i32 @g_signal_connect(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef 0) #2
%9 = load i32, ptr @GDK_POINTER_MOTION_MASK, align 4, !tbaa !10
%10 = load i32, ptr @GDK_BUTTON_PRESS_MASK, align 4, !tbaa !10
%11 = or i32 %10, %9
%12 = load i32, ptr @GDK_BUTTON_RELEASE_MASK, align 4, !tbaa !10
%13 = or i32 %11, %12
%14 = tail call i32 @gtk_widget_set_events(ptr noundef %3, i32 noundef %13) #2
%15 = tail call i32 @GTK_OBJECT(ptr noundef %3) #2
%16 = load i32, ptr @yui_gl_hide_cursor, align 4, !tbaa !10
%17 = tail call i32 @GTK_SIGNAL_FUNC(i32 noundef %16) #2
%18 = tail call i32 @g_signal_connect(i32 noundef %15, ptr noundef nonnull @.str.1, i32 noundef %17, i32 noundef 0) #2
%19 = tail call i32 @GTK_OBJECT(ptr noundef %3) #2
%20 = load i32, ptr @yui_gl_button_press, align 4, !tbaa !10
%21 = tail call i32 @GTK_SIGNAL_FUNC(i32 noundef %20) #2
%22 = tail call i32 @g_signal_connect(i32 noundef %19, ptr noundef nonnull @.str.2, i32 noundef %21, i32 noundef 0) #2
%23 = tail call i32 @GTK_OBJECT(ptr noundef %3) #2
%24 = load i32, ptr @yui_gl_button_release, align 4, !tbaa !10
%25 = tail call i32 @GTK_SIGNAL_FUNC(i32 noundef %24) #2
%26 = tail call i32 @g_signal_connect(i32 noundef %23, ptr noundef nonnull @.str.3, i32 noundef %25, i32 noundef 0) #2
ret ptr %3
}
declare ptr @GTK_WIDGET(i32 noundef) local_unnamed_addr #1
declare i32 @g_object_new(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @yui_gl_get_type(...) local_unnamed_addr #1
declare ptr @YUI_GL(ptr noundef) local_unnamed_addr #1
declare i32 @g_signal_connect(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GTK_OBJECT(ptr noundef) local_unnamed_addr #1
declare i32 @GTK_SIGNAL_FUNC(i32 noundef) local_unnamed_addr #1
declare i32 @gtk_widget_set_events(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_2__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_gtkglwidget.c_yui_gl_new.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_gtkglwidget.c_yui_gl_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [16 x i8] c"configure_event\00", align 1
@yui_gl_resize = common local_unnamed_addr global i32 0, align 4
@GDK_POINTER_MOTION_MASK = common local_unnamed_addr global i32 0, align 4
@GDK_BUTTON_PRESS_MASK = common local_unnamed_addr global i32 0, align 4
@GDK_BUTTON_RELEASE_MASK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"motion-notify-event\00", align 1
@yui_gl_hide_cursor = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"button-press-event\00", align 1
@yui_gl_button_press = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [21 x i8] c"button-release-event\00", align 1
@yui_gl_button_release = common local_unnamed_addr global i32 0, align 4
@GDK_GL_ATTRIB_LIST_NONE = common local_unnamed_addr global i32 0, align 4
@GDK_GL_BLUE_SIZE = common local_unnamed_addr global i32 0, align 4
@GDK_GL_DEPTH_SIZE = common local_unnamed_addr global i32 0, align 4
@GDK_GL_DOUBLEBUFFER = common local_unnamed_addr global i32 0, align 4
@GDK_GL_GREEN_SIZE = common local_unnamed_addr global i32 0, align 4
@GDK_GL_RED_SIZE = common local_unnamed_addr global i32 0, align 4
@GDK_GL_RGBA = common local_unnamed_addr global i32 0, align 4
@GDK_GL_RGBA_TYPE = common local_unnamed_addr global i32 0, align 4
@GDK_GL_STENCIL_SIZE = 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 noundef ptr @yui_gl_new() local_unnamed_addr #0 {
%1 = tail call i32 @yui_gl_get_type() #2
%2 = tail call i32 @g_object_new(i32 noundef %1, ptr noundef null) #2
%3 = tail call ptr @GTK_WIDGET(i32 noundef %2) #2
%4 = tail call ptr @YUI_GL(ptr noundef %3) #2
store i64 0, ptr %4, align 8, !tbaa !6
%5 = tail call i32 @GTK_OBJECT(ptr noundef %3) #2
%6 = load i32, ptr @yui_gl_resize, align 4, !tbaa !11
%7 = tail call i32 @GTK_SIGNAL_FUNC(i32 noundef %6) #2
%8 = tail call i32 @g_signal_connect(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef 0) #2
%9 = load i32, ptr @GDK_POINTER_MOTION_MASK, align 4, !tbaa !11
%10 = load i32, ptr @GDK_BUTTON_PRESS_MASK, align 4, !tbaa !11
%11 = or i32 %10, %9
%12 = load i32, ptr @GDK_BUTTON_RELEASE_MASK, align 4, !tbaa !11
%13 = or i32 %11, %12
%14 = tail call i32 @gtk_widget_set_events(ptr noundef %3, i32 noundef %13) #2
%15 = tail call i32 @GTK_OBJECT(ptr noundef %3) #2
%16 = load i32, ptr @yui_gl_hide_cursor, align 4, !tbaa !11
%17 = tail call i32 @GTK_SIGNAL_FUNC(i32 noundef %16) #2
%18 = tail call i32 @g_signal_connect(i32 noundef %15, ptr noundef nonnull @.str.1, i32 noundef %17, i32 noundef 0) #2
%19 = tail call i32 @GTK_OBJECT(ptr noundef %3) #2
%20 = load i32, ptr @yui_gl_button_press, align 4, !tbaa !11
%21 = tail call i32 @GTK_SIGNAL_FUNC(i32 noundef %20) #2
%22 = tail call i32 @g_signal_connect(i32 noundef %19, ptr noundef nonnull @.str.2, i32 noundef %21, i32 noundef 0) #2
%23 = tail call i32 @GTK_OBJECT(ptr noundef %3) #2
%24 = load i32, ptr @yui_gl_button_release, align 4, !tbaa !11
%25 = tail call i32 @GTK_SIGNAL_FUNC(i32 noundef %24) #2
%26 = tail call i32 @g_signal_connect(i32 noundef %23, ptr noundef nonnull @.str.3, i32 noundef %25, i32 noundef 0) #2
ret ptr %3
}
declare ptr @GTK_WIDGET(i32 noundef) local_unnamed_addr #1
declare i32 @g_object_new(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @yui_gl_get_type(...) local_unnamed_addr #1
declare ptr @YUI_GL(ptr noundef) local_unnamed_addr #1
declare i32 @g_signal_connect(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GTK_OBJECT(ptr noundef) local_unnamed_addr #1
declare i32 @GTK_SIGNAL_FUNC(i32 noundef) local_unnamed_addr #1
declare i32 @gtk_widget_set_events(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_2__", !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}
| Provenance_Cores_Yabause_yabause_src_gtk_extr_gtkglwidget.c_yui_gl_new |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/afs/extr_proc.c_afs_proc_cell_vlservers_stop.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/afs/extr_proc.c_afs_proc_cell_vlservers_stop.c"
target datalayout = "e-m:e-p270:32:32-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 @afs_proc_cell_vlservers_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @afs_proc_cell_vlservers_stop(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @up_read(ptr noundef %3) #2
ret void
}
declare i32 @up_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, !7, i64 0}
!6 = !{!"seq_file", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/afs/extr_proc.c_afs_proc_cell_vlservers_stop.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/afs/extr_proc.c_afs_proc_cell_vlservers_stop.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 @afs_proc_cell_vlservers_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @afs_proc_cell_vlservers_stop(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @up_read(ptr noundef %3) #2
ret void
}
declare i32 @up_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, !8, i64 0}
!7 = !{!"seq_file", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_fs_afs_extr_proc.c_afs_proc_cell_vlservers_stop |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_dxtory.c_dxtory_decode_v2_410.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_dxtory.c_dxtory_decode_v2_410.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@dx2_decode_slice_410 = dso_local local_unnamed_addr global i32 0, align 4
@default_setup_lru = dso_local local_unnamed_addr global i32 0, align 4
@AV_PIX_FMT_YUV410P = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dxtory_decode_v2_410], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dxtory_decode_v2_410(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @dx2_decode_slice_410, align 4, !tbaa !5
%6 = load i32, ptr @default_setup_lru, align 4, !tbaa !5
%7 = load i32, ptr @AV_PIX_FMT_YUV410P, align 4, !tbaa !5
%8 = tail call i32 @dxtory_decode_v2(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
ret i32 %8
}
declare i32 @dxtory_decode_v2(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_dxtory.c_dxtory_decode_v2_410.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_dxtory.c_dxtory_decode_v2_410.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dx2_decode_slice_410 = common local_unnamed_addr global i32 0, align 4
@default_setup_lru = common local_unnamed_addr global i32 0, align 4
@AV_PIX_FMT_YUV410P = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dxtory_decode_v2_410], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dxtory_decode_v2_410(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @dx2_decode_slice_410, align 4, !tbaa !6
%6 = load i32, ptr @default_setup_lru, align 4, !tbaa !6
%7 = load i32, ptr @AV_PIX_FMT_YUV410P, align 4, !tbaa !6
%8 = tail call i32 @dxtory_decode_v2(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
ret i32 %8
}
declare i32 @dxtory_decode_v2(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| FFmpeg_libavcodec_extr_dxtory.c_dxtory_decode_v2_410 |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_msg.c_check_add_party_ack.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_msg.c_check_add_party_ack.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.uni_add_party_ack = type { i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32 }
@UNI_IE_EPREF = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_AAL = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_BLLI = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_NOTIFY = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_EETD = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_CONNED = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_CONNEDSUB = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_UU = dso_local local_unnamed_addr global i32 0, align 4
@UNI_NUM_IE_GIT = dso_local local_unnamed_addr global i64 0, align 8
@UNI_IE_GIT = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_CALLED_SOFT = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_UNREC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_add_party_ack], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @check_add_party_ack(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @UNI_IE_EPREF, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 10
%5 = tail call i32 @uni_check_ie(i32 noundef %3, ptr noundef nonnull %4, ptr noundef %1) #2
%6 = load i32, ptr @UNI_IE_AAL, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 9
%8 = tail call i32 @uni_check_ie(i32 noundef %6, ptr noundef nonnull %7, ptr noundef %1) #2
%9 = or i32 %8, %5
%10 = load i32, ptr @UNI_IE_BLLI, align 4, !tbaa !5
%11 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 8
%12 = tail call i32 @uni_check_ie(i32 noundef %10, ptr noundef nonnull %11, ptr noundef %1) #2
%13 = or i32 %9, %12
%14 = load i32, ptr @UNI_IE_NOTIFY, align 4, !tbaa !5
%15 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 7
%16 = tail call i32 @uni_check_ie(i32 noundef %14, ptr noundef nonnull %15, ptr noundef %1) #2
%17 = or i32 %13, %16
%18 = load i32, ptr @UNI_IE_EETD, align 4, !tbaa !5
%19 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 6
%20 = tail call i32 @uni_check_ie(i32 noundef %18, ptr noundef nonnull %19, ptr noundef %1) #2
%21 = or i32 %17, %20
%22 = load i32, ptr @UNI_IE_CONNED, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 5
%24 = tail call i32 @uni_check_ie(i32 noundef %22, ptr noundef nonnull %23, ptr noundef %1) #2
%25 = or i32 %21, %24
%26 = load i32, ptr @UNI_IE_CONNEDSUB, align 4, !tbaa !5
%27 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 4
%28 = tail call i32 @uni_check_ie(i32 noundef %26, ptr noundef nonnull %27, ptr noundef %1) #2
%29 = or i32 %25, %28
%30 = load i32, ptr %1, align 4, !tbaa !9
%31 = icmp eq i32 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %2
%33 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 3
%34 = load i32, ptr %33, align 8, !tbaa !11
%35 = tail call i32 @IE_ISPRESENT(i32 noundef %34) #2
br label %40
36: ; preds = %2
%37 = load i32, ptr @UNI_IE_UU, align 4, !tbaa !5
%38 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 3
%39 = tail call i32 @uni_check_ie(i32 noundef %37, ptr noundef nonnull %38, ptr noundef nonnull %1) #2
br label %40
40: ; preds = %36, %32
%41 = phi i32 [ %35, %32 ], [ %39, %36 ]
%42 = or i32 %29, %41
%43 = load i64, ptr @UNI_NUM_IE_GIT, align 8, !tbaa !14
%44 = icmp eq i64 %43, 0
br i1 %44, label %58, label %45
45: ; preds = %40
%46 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 2
br label %47
47: ; preds = %45, %47
%48 = phi i64 [ 0, %45 ], [ %55, %47 ]
%49 = phi i32 [ %42, %45 ], [ %54, %47 ]
%50 = load i32, ptr @UNI_IE_GIT, align 4, !tbaa !5
%51 = load ptr, ptr %46, align 8, !tbaa !16
%52 = getelementptr inbounds i32, ptr %51, i64 %48
%53 = tail call i32 @uni_check_ie(i32 noundef %50, ptr noundef %52, ptr noundef nonnull %1) #2
%54 = or i32 %53, %49
%55 = add nuw i64 %48, 1
%56 = load i64, ptr @UNI_NUM_IE_GIT, align 8, !tbaa !14
%57 = icmp ult i64 %55, %56
br i1 %57, label %47, label %58, !llvm.loop !17
58: ; preds = %47, %40
%59 = phi i32 [ %42, %40 ], [ %54, %47 ]
%60 = load i32, ptr %1, align 4, !tbaa !9
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %58
%63 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 1
%64 = load i32, ptr %63, align 4, !tbaa !19
%65 = tail call i32 @IE_ISPRESENT(i32 noundef %64) #2
br label %70
66: ; preds = %58
%67 = load i32, ptr @UNI_IE_CALLED_SOFT, align 4, !tbaa !5
%68 = getelementptr inbounds %struct.uni_add_party_ack, ptr %0, i64 0, i32 1
%69 = tail call i32 @uni_check_ie(i32 noundef %67, ptr noundef nonnull %68, ptr noundef nonnull %1) #2
br label %70
70: ; preds = %66, %62
%71 = phi i32 [ %69, %66 ], [ %65, %62 ]
%72 = load i32, ptr @UNI_IE_UNREC, align 4, !tbaa !5
%73 = tail call i32 @uni_check_ie(i32 noundef %72, ptr noundef %0, ptr noundef nonnull %1) #2
%74 = or i32 %71, %59
%75 = or i32 %74, %73
ret i32 %75
}
declare i32 @uni_check_ie(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IE_ISPRESENT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"unicx", !6, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"uni_add_party_ack", !6, i64 0, !6, i64 4, !13, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!12, !13, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !6, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_msg.c_check_add_party_ack.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_msg.c_check_add_party_ack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UNI_IE_EPREF = common local_unnamed_addr global i32 0, align 4
@UNI_IE_AAL = common local_unnamed_addr global i32 0, align 4
@UNI_IE_BLLI = common local_unnamed_addr global i32 0, align 4
@UNI_IE_NOTIFY = common local_unnamed_addr global i32 0, align 4
@UNI_IE_EETD = common local_unnamed_addr global i32 0, align 4
@UNI_IE_CONNED = common local_unnamed_addr global i32 0, align 4
@UNI_IE_CONNEDSUB = common local_unnamed_addr global i32 0, align 4
@UNI_IE_UU = common local_unnamed_addr global i32 0, align 4
@UNI_NUM_IE_GIT = common local_unnamed_addr global i64 0, align 8
@UNI_IE_GIT = common local_unnamed_addr global i32 0, align 4
@UNI_IE_CALLED_SOFT = common local_unnamed_addr global i32 0, align 4
@UNI_IE_UNREC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @check_add_party_ack], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @check_add_party_ack(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @UNI_IE_EPREF, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 44
%5 = tail call i32 @uni_check_ie(i32 noundef %3, ptr noundef nonnull %4, ptr noundef %1) #2
%6 = load i32, ptr @UNI_IE_AAL, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 40
%8 = tail call i32 @uni_check_ie(i32 noundef %6, ptr noundef nonnull %7, ptr noundef %1) #2
%9 = or i32 %8, %5
%10 = load i32, ptr @UNI_IE_BLLI, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %0, i64 36
%12 = tail call i32 @uni_check_ie(i32 noundef %10, ptr noundef nonnull %11, ptr noundef %1) #2
%13 = or i32 %9, %12
%14 = load i32, ptr @UNI_IE_NOTIFY, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %0, i64 32
%16 = tail call i32 @uni_check_ie(i32 noundef %14, ptr noundef nonnull %15, ptr noundef %1) #2
%17 = or i32 %13, %16
%18 = load i32, ptr @UNI_IE_EETD, align 4, !tbaa !6
%19 = getelementptr inbounds i8, ptr %0, i64 28
%20 = tail call i32 @uni_check_ie(i32 noundef %18, ptr noundef nonnull %19, ptr noundef %1) #2
%21 = or i32 %17, %20
%22 = load i32, ptr @UNI_IE_CONNED, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %0, i64 24
%24 = tail call i32 @uni_check_ie(i32 noundef %22, ptr noundef nonnull %23, ptr noundef %1) #2
%25 = or i32 %21, %24
%26 = load i32, ptr @UNI_IE_CONNEDSUB, align 4, !tbaa !6
%27 = getelementptr inbounds i8, ptr %0, i64 20
%28 = tail call i32 @uni_check_ie(i32 noundef %26, ptr noundef nonnull %27, ptr noundef %1) #2
%29 = or i32 %25, %28
%30 = load i32, ptr %1, align 4, !tbaa !10
%31 = icmp eq i32 %30, 0
br i1 %31, label %36, label %32
32: ; preds = %2
%33 = getelementptr inbounds i8, ptr %0, i64 16
%34 = load i32, ptr %33, align 8, !tbaa !12
%35 = tail call i32 @IE_ISPRESENT(i32 noundef %34) #2
br label %40
36: ; preds = %2
%37 = load i32, ptr @UNI_IE_UU, align 4, !tbaa !6
%38 = getelementptr inbounds i8, ptr %0, i64 16
%39 = tail call i32 @uni_check_ie(i32 noundef %37, ptr noundef nonnull %38, ptr noundef nonnull %1) #2
br label %40
40: ; preds = %36, %32
%41 = phi i32 [ %35, %32 ], [ %39, %36 ]
%42 = or i32 %29, %41
%43 = load i64, ptr @UNI_NUM_IE_GIT, align 8, !tbaa !15
%44 = icmp eq i64 %43, 0
br i1 %44, label %58, label %45
45: ; preds = %40
%46 = getelementptr inbounds i8, ptr %0, i64 8
br label %47
47: ; preds = %45, %47
%48 = phi i64 [ 0, %45 ], [ %55, %47 ]
%49 = phi i32 [ %42, %45 ], [ %54, %47 ]
%50 = load i32, ptr @UNI_IE_GIT, align 4, !tbaa !6
%51 = load ptr, ptr %46, align 8, !tbaa !17
%52 = getelementptr inbounds i32, ptr %51, i64 %48
%53 = tail call i32 @uni_check_ie(i32 noundef %50, ptr noundef %52, ptr noundef nonnull %1) #2
%54 = or i32 %53, %49
%55 = add nuw i64 %48, 1
%56 = load i64, ptr @UNI_NUM_IE_GIT, align 8, !tbaa !15
%57 = icmp ult i64 %55, %56
br i1 %57, label %47, label %58, !llvm.loop !18
58: ; preds = %47, %40
%59 = phi i32 [ %42, %40 ], [ %54, %47 ]
%60 = load i32, ptr %1, align 4, !tbaa !10
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %58
%63 = getelementptr inbounds i8, ptr %0, i64 4
%64 = load i32, ptr %63, align 4, !tbaa !20
%65 = tail call i32 @IE_ISPRESENT(i32 noundef %64) #2
br label %70
66: ; preds = %58
%67 = load i32, ptr @UNI_IE_CALLED_SOFT, align 4, !tbaa !6
%68 = getelementptr inbounds i8, ptr %0, i64 4
%69 = tail call i32 @uni_check_ie(i32 noundef %67, ptr noundef nonnull %68, ptr noundef nonnull %1) #2
br label %70
70: ; preds = %66, %62
%71 = phi i32 [ %69, %66 ], [ %65, %62 ]
%72 = load i32, ptr @UNI_IE_UNREC, align 4, !tbaa !6
%73 = tail call i32 @uni_check_ie(i32 noundef %72, ptr noundef %0, ptr noundef nonnull %1) #2
%74 = or i32 %71, %59
%75 = or i32 %74, %73
ret i32 %75
}
declare i32 @uni_check_ie(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IE_ISPRESENT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"unicx", !7, i64 0}
!12 = !{!13, !7, i64 16}
!13 = !{!"uni_add_party_ack", !7, i64 0, !7, i64 4, !14, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!13, !14, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!13, !7, i64 4}
| freebsd_sys_contrib_ngatm_netnatm_msg_extr_uni_msg.c_check_add_party_ack |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_cond.c_broadcast_threadfunc.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_cond.c_broadcast_threadfunc.c"
target datalayout = "e-m:e-p270:32:32-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 [19 x i8] c"2: Second thread.\0A\00", align 1
@static_mutex = dso_local global i32 0, align 4
@count = dso_local local_unnamed_addr global i64 0, align 8
@total = dso_local local_unnamed_addr global i32 0, align 4
@toggle = dso_local local_unnamed_addr global i32 0, align 4
@static_cond = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"2: After the loop.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @broadcast_threadfunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noalias noundef ptr @broadcast_threadfunc(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%3 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @static_mutex) #2
%4 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %3) #2
%5 = load i64, ptr @count, align 8, !tbaa !5
%6 = icmp sgt i64 %5, 0
br i1 %6, label %7, label %22
7: ; preds = %1, %19
%8 = phi i64 [ %20, %19 ], [ %5, %1 ]
%9 = add nsw i64 %8, -1
store i64 %9, ptr @count, align 8, !tbaa !5
%10 = load i32, ptr @total, align 4, !tbaa !9
%11 = add nsw i32 %10, 1
store i32 %11, ptr @total, align 4, !tbaa !9
store i32 0, ptr @toggle, align 4, !tbaa !9
%12 = tail call i32 @pthread_cond_signal(ptr noundef nonnull @static_cond) #2
%13 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %12) #2
br label %14
14: ; preds = %14, %7
%15 = tail call i32 @pthread_cond_wait(ptr noundef nonnull @static_cond, ptr noundef nonnull @static_mutex) #2
%16 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %15) #2
%17 = load i32, ptr @toggle, align 4, !tbaa !9
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %14, !llvm.loop !11
19: ; preds = %14
%20 = load i64, ptr @count, align 8, !tbaa !5
%21 = icmp sgt i64 %20, 0
br i1 %21, label %7, label %22, !llvm.loop !13
22: ; preds = %19, %1
%23 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%24 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @static_mutex) #2
%25 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %24) #2
ret ptr null
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i32 @PTHREAD_REQUIRE(i32 noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_cond_signal(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_cond.c_broadcast_threadfunc.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libpthread/extr_t_cond.c_broadcast_threadfunc.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 [19 x i8] c"2: Second thread.\0A\00", align 1
@static_mutex = common global i32 0, align 4
@count = common local_unnamed_addr global i64 0, align 8
@total = common local_unnamed_addr global i32 0, align 4
@toggle = common local_unnamed_addr global i32 0, align 4
@static_cond = common global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"2: After the loop.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @broadcast_threadfunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noalias noundef ptr @broadcast_threadfunc(ptr nocapture readnone %0) #0 {
%2 = tail call i32 @printf(ptr noundef nonnull @.str) #2
%3 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @static_mutex) #2
%4 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %3) #2
%5 = load i64, ptr @count, align 8, !tbaa !6
%6 = icmp sgt i64 %5, 0
br i1 %6, label %7, label %22
7: ; preds = %1, %19
%8 = phi i64 [ %20, %19 ], [ %5, %1 ]
%9 = add nsw i64 %8, -1
store i64 %9, ptr @count, align 8, !tbaa !6
%10 = load i32, ptr @total, align 4, !tbaa !10
%11 = add nsw i32 %10, 1
store i32 %11, ptr @total, align 4, !tbaa !10
store i32 0, ptr @toggle, align 4, !tbaa !10
%12 = tail call i32 @pthread_cond_signal(ptr noundef nonnull @static_cond) #2
%13 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %12) #2
br label %14
14: ; preds = %14, %7
%15 = tail call i32 @pthread_cond_wait(ptr noundef nonnull @static_cond, ptr noundef nonnull @static_mutex) #2
%16 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %15) #2
%17 = load i32, ptr @toggle, align 4, !tbaa !10
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %14, !llvm.loop !12
19: ; preds = %14
%20 = load i64, ptr @count, align 8, !tbaa !6
%21 = icmp sgt i64 %20, 0
br i1 %21, label %7, label %22, !llvm.loop !14
22: ; preds = %19, %1
%23 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2
%24 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @static_mutex) #2
%25 = tail call i32 @PTHREAD_REQUIRE(i32 noundef %24) #2
ret ptr null
}
declare i32 @printf(ptr noundef) local_unnamed_addr #1
declare i32 @PTHREAD_REQUIRE(i32 noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_cond_signal(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| freebsd_contrib_netbsd-tests_lib_libpthread_extr_t_cond.c_broadcast_threadfunc |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_cmd64x.c_cmd64x_sff_irq_clear.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_cmd64x.c_cmd64x_sff_irq_clear.c"
target datalayout = "e-m:e-p270:32:32-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.ata_port = type { i64, ptr }
@ARTTIM23 = dso_local local_unnamed_addr global i32 0, align 4
@CFR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cmd64x_sff_irq_clear], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cmd64x_sff_irq_clear(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds %struct.ata_port, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call ptr @to_pci_dev(i32 noundef %5) #3
%7 = load i64, ptr %0, align 8, !tbaa !14
%8 = icmp eq i64 %7, 0
%9 = load i32, ptr @ARTTIM23, align 4
%10 = load i32, ptr @CFR, align 4
%11 = select i1 %8, i32 %10, i32 %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%12 = tail call i32 @ata_bmdma_irq_clear(ptr noundef nonnull %0) #3
%13 = call i32 @pci_read_config_byte(ptr noundef %6, i32 noundef %11, ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #2
declare i32 @ata_bmdma_irq_clear(ptr noundef) local_unnamed_addr #2
declare i32 @pci_read_config_byte(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"ata_port", !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 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_cmd64x.c_cmd64x_sff_irq_clear.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_cmd64x.c_cmd64x_sff_irq_clear.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ARTTIM23 = common local_unnamed_addr global i32 0, align 4
@CFR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cmd64x_sff_irq_clear], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cmd64x_sff_irq_clear(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call ptr @to_pci_dev(i32 noundef %5) #3
%7 = load i64, ptr %0, align 8, !tbaa !15
%8 = icmp eq i64 %7, 0
%9 = load i32, ptr @ARTTIM23, align 4
%10 = load i32, ptr @CFR, align 4
%11 = select i1 %8, i32 %10, i32 %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%12 = tail call i32 @ata_bmdma_irq_clear(ptr noundef nonnull %0) #3
%13 = call i32 @pci_read_config_byte(ptr noundef %6, i32 noundef %11, ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #2
declare i32 @ata_bmdma_irq_clear(ptr noundef) local_unnamed_addr #2
declare i32 @pci_read_config_byte(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"ata_port", !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 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !8, i64 0}
| linux_drivers_ata_extr_pata_cmd64x.c_cmd64x_sff_irq_clear |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_ethtool.c_iavf_get_coalesce.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_ethtool.c_iavf_get_coalesce.c"
target datalayout = "e-m:e-p270:32:32-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 @iavf_get_coalesce], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iavf_get_coalesce(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__iavf_get_coalesce(ptr noundef %0, ptr noundef %1, i32 noundef -1) #2
ret i32 %3
}
declare i32 @__iavf_get_coalesce(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_ethtool.c_iavf_get_coalesce.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_ethtool.c_iavf_get_coalesce.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 @iavf_get_coalesce], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iavf_get_coalesce(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @__iavf_get_coalesce(ptr noundef %0, ptr noundef %1, i32 noundef -1) #2
ret i32 %3
}
declare i32 @__iavf_get_coalesce(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)"}
| linux_drivers_net_ethernet_intel_iavf_extr_iavf_ethtool.c_iavf_get_coalesce |
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/dos/extr_26220.c_decrypt.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/dos/extr_26220.c_decrypt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@m_key = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @decrypt(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @digit2char(ptr noundef %0) #2
%3 = load ptr, ptr @m_key, align 8, !tbaa !5
%4 = tail call i32 @strlen(ptr noundef %3) #2
%5 = urem i32 %2, %4
%6 = icmp eq i32 %2, 0
br i1 %6, label %24, label %7
7: ; preds = %1
%8 = zext i32 %2 to i64
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ 0, %7 ], [ %22, %9 ]
%11 = getelementptr inbounds i8, ptr %0, i64 %10
%12 = load i8, ptr %11, align 1, !tbaa !9
%13 = load ptr, ptr @m_key, align 8, !tbaa !5
%14 = trunc i64 %10 to i32
%15 = add i32 %5, %14
%16 = tail call i32 @strlen(ptr noundef %13) #2
%17 = urem i32 %15, %16
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %13, i64 %18
%20 = load i8, ptr %19, align 1, !tbaa !9
%21 = xor i8 %20, %12
store i8 %21, ptr %11, align 1, !tbaa !9
%22 = add nuw nsw i64 %10, 1
%23 = icmp eq i64 %22, %8
br i1 %23, label %24, label %9, !llvm.loop !10
24: ; preds = %9, %1
ret i32 %2
}
declare i32 @digit2char(ptr noundef) local_unnamed_addr #1
declare i32 @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 = !{!"any pointer", !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"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/windows/dos/extr_26220.c_decrypt.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/dos/extr_26220.c_decrypt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@m_key = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @decrypt(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @digit2char(ptr noundef %0) #2
%3 = load ptr, ptr @m_key, align 8, !tbaa !6
%4 = tail call i32 @strlen(ptr noundef %3) #2
%5 = urem i32 %2, %4
%6 = icmp eq i32 %2, 0
br i1 %6, label %24, label %7
7: ; preds = %1
%8 = zext i32 %2 to i64
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ 0, %7 ], [ %22, %9 ]
%11 = getelementptr inbounds i8, ptr %0, i64 %10
%12 = load i8, ptr %11, align 1, !tbaa !10
%13 = load ptr, ptr @m_key, align 8, !tbaa !6
%14 = trunc nuw i64 %10 to i32
%15 = add i32 %5, %14
%16 = tail call i32 @strlen(ptr noundef %13) #2
%17 = urem i32 %15, %16
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %13, i64 %18
%20 = load i8, ptr %19, align 1, !tbaa !10
%21 = xor i8 %20, %12
store i8 %21, ptr %11, align 1, !tbaa !10
%22 = add nuw nsw i64 %10, 1
%23 = icmp eq i64 %22, %8
br i1 %23, label %24, label %9, !llvm.loop !11
24: ; preds = %9, %1
ret i32 %2
}
declare i32 @digit2char(ptr noundef) local_unnamed_addr #1
declare i32 @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 = !{!"any pointer", !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"}
| exploitdb_exploits_windows_dos_extr_26220.c_decrypt |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_ag/extr_bta_ag_rfc.c_bta_ag_data_cback_2.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_ag/extr_bta_ag_rfc.c_bta_ag_data_cback_2.c"
target datalayout = "e-m:e-p270:32:32-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 @bta_ag_data_cback_2(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @bta_ag_data_cback(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 2) #2
ret i32 %4
}
declare i32 @bta_ag_data_cback(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_ag/extr_bta_ag_rfc.c_bta_ag_data_cback_2.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_ag/extr_bta_ag_rfc.c_bta_ag_data_cback_2.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 @bta_ag_data_cback_2(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @bta_ag_data_cback(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 2) #2
ret i32 %4
}
declare i32 @bta_ag_data_cback(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| esp-idf_components_bt_host_bluedroid_bta_hf_ag_extr_bta_ag_rfc.c_bta_ag_data_cback_2 |
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509_crl.c_x509_get_crl_entry_ext.c'
source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509_crl.c_x509_get_crl_entry_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"
%struct.TYPE_3__ = type { i8, ptr, i64 }
@MBEDTLS_ASN1_CONSTRUCTED = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_SEQUENCE = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ERR_ASN1_UNEXPECTED_TAG = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ERR_X509_INVALID_EXTENSIONS = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ERR_ASN1_LENGTH_MISMATCH = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @x509_get_crl_entry_ext], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @x509_get_crl_entry_ext(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store i64 0, ptr %4, align 8, !tbaa !5
%5 = load ptr, ptr %0, align 8, !tbaa !9
%6 = icmp ult ptr %5, %1
br i1 %6, label %7, label %49
7: ; preds = %3
%8 = load i8, ptr %5, align 1, !tbaa !11
store i8 %8, ptr %2, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 1
store ptr %5, ptr %9, align 8, !tbaa !14
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 2
%11 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !15
%12 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !15
%13 = or i32 %12, %11
%14 = tail call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %10, i32 noundef %13) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %23, label %16
16: ; preds = %7
%17 = load i32, ptr @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG, align 4, !tbaa !15
%18 = icmp eq i32 %14, %17
br i1 %18, label %19, label %20
19: ; preds = %16
store ptr null, ptr %9, align 8, !tbaa !14
br label %49
20: ; preds = %16
%21 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_EXTENSIONS, align 4, !tbaa !15
%22 = add nsw i32 %21, %14
br label %49
23: ; preds = %7
%24 = load ptr, ptr %0, align 8, !tbaa !9
%25 = load i64, ptr %10, align 8, !tbaa !17
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = icmp sgt i64 %25, 0
br i1 %27, label %28, label %42
28: ; preds = %23, %37
%29 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !15
%30 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !15
%31 = or i32 %30, %29
%32 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %0, ptr noundef nonnull %26, ptr noundef nonnull %4, i32 noundef %31) #3
%33 = icmp eq i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %28
%35 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_EXTENSIONS, align 4, !tbaa !15
%36 = add nsw i32 %35, %32
br label %49
37: ; preds = %28
%38 = load i64, ptr %4, align 8, !tbaa !5
%39 = load ptr, ptr %0, align 8, !tbaa !9
%40 = getelementptr inbounds i8, ptr %39, i64 %38
store ptr %40, ptr %0, align 8, !tbaa !9
%41 = icmp ult ptr %40, %26
br i1 %41, label %28, label %42, !llvm.loop !18
42: ; preds = %37, %23
%43 = phi ptr [ %24, %23 ], [ %40, %37 ]
%44 = icmp eq ptr %43, %26
br i1 %44, label %49, label %45
45: ; preds = %42
%46 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_EXTENSIONS, align 4, !tbaa !15
%47 = load i32, ptr @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH, align 4, !tbaa !15
%48 = add nsw i32 %47, %46
br label %49
49: ; preds = %42, %3, %45, %34, %20, %19
%50 = phi i32 [ 0, %19 ], [ %22, %20 ], [ %36, %34 ], [ %48, %45 ], [ 0, %3 ], [ 0, %42 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %50
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mbedtls_asn1_get_tag(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !6, i64 16}
!14 = !{!13, !10, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!13, !6, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509_crl.c_x509_get_crl_entry_ext.c'
source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509_crl.c_x509_get_crl_entry_ext.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MBEDTLS_ASN1_CONSTRUCTED = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_SEQUENCE = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ERR_ASN1_UNEXPECTED_TAG = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ERR_X509_INVALID_EXTENSIONS = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ERR_ASN1_LENGTH_MISMATCH = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @x509_get_crl_entry_ext], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @x509_get_crl_entry_ext(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store i64 0, ptr %4, align 8, !tbaa !6
%5 = load ptr, ptr %0, align 8, !tbaa !10
%6 = icmp ult ptr %5, %1
br i1 %6, label %7, label %49
7: ; preds = %3
%8 = load i8, ptr %5, align 1, !tbaa !12
store i8 %8, ptr %2, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %5, ptr %9, align 8, !tbaa !15
%10 = getelementptr inbounds i8, ptr %2, i64 16
%11 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !16
%12 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !16
%13 = or i32 %12, %11
%14 = tail call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %10, i32 noundef %13) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %23, label %16
16: ; preds = %7
%17 = load i32, ptr @MBEDTLS_ERR_ASN1_UNEXPECTED_TAG, align 4, !tbaa !16
%18 = icmp eq i32 %14, %17
br i1 %18, label %19, label %20
19: ; preds = %16
store ptr null, ptr %9, align 8, !tbaa !15
br label %49
20: ; preds = %16
%21 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_EXTENSIONS, align 4, !tbaa !16
%22 = add nsw i32 %21, %14
br label %49
23: ; preds = %7
%24 = load ptr, ptr %0, align 8, !tbaa !10
%25 = load i64, ptr %10, align 8, !tbaa !18
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = icmp sgt i64 %25, 0
br i1 %27, label %28, label %42
28: ; preds = %23, %37
%29 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !16
%30 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !16
%31 = or i32 %30, %29
%32 = call i32 @mbedtls_asn1_get_tag(ptr noundef nonnull %0, ptr noundef nonnull %26, ptr noundef nonnull %4, i32 noundef %31) #3
%33 = icmp eq i32 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %28
%35 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_EXTENSIONS, align 4, !tbaa !16
%36 = add nsw i32 %35, %32
br label %49
37: ; preds = %28
%38 = load i64, ptr %4, align 8, !tbaa !6
%39 = load ptr, ptr %0, align 8, !tbaa !10
%40 = getelementptr inbounds i8, ptr %39, i64 %38
store ptr %40, ptr %0, align 8, !tbaa !10
%41 = icmp ult ptr %40, %26
br i1 %41, label %28, label %42, !llvm.loop !19
42: ; preds = %37, %23
%43 = phi ptr [ %24, %23 ], [ %40, %37 ]
%44 = icmp eq ptr %43, %26
br i1 %44, label %49, label %45
45: ; preds = %42
%46 = load i32, ptr @MBEDTLS_ERR_X509_INVALID_EXTENSIONS, align 4, !tbaa !16
%47 = load i32, ptr @MBEDTLS_ERR_ASN1_LENGTH_MISMATCH, align 4, !tbaa !16
%48 = add nsw i32 %47, %46
br label %49
49: ; preds = %42, %3, %45, %34, %20, %19
%50 = phi i32 [ 0, %19 ], [ %22, %20 ], [ %36, %34 ], [ %48, %45 ], [ 0, %3 ], [ 0, %42 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %50
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mbedtls_asn1_get_tag(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !7, i64 16}
!15 = !{!14, !11, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!14, !7, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| RetroArch_deps_mbedtls_extr_x509_crl.c_x509_get_crl_entry_ext |
; ModuleID = 'AnghaBench/h2o/src/extr_main.c_on_config_num_threads_add_cpu.c'
source_filename = "AnghaBench/h2o/src/extr_main.c_on_config_num_threads_add_cpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { ptr, i64 }
%struct.TYPE_8__ = type { i64, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { ptr }
@YOML_TYPE_SCALAR = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [38 x i8] c"CPUs in cpu sequence must be a scalar\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%u%n\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%u-%u%n\00", align 1
@conf = dso_local global %struct.TYPE_10__ zeroinitializer, align 8
@.str.3 = private unnamed_addr constant [106 x i8] c"Invalid CPU number: CPUs must be specified as a non-negative number or as a range of non-negative numbers\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @on_config_num_threads_add_cpu], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @on_config_num_threads_add_cpu(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = load i64, ptr %2, align 8, !tbaa !5
%8 = load i64, ptr @YOML_TYPE_SCALAR, align 8, !tbaa !12
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = tail call i32 @h2o_configurator_errprintf(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull @.str) #4
br label %56
12: ; preds = %3
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %2, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !13
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%15 = tail call ptr @index(ptr noundef %14, i8 noundef signext 45) #4
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %26
17: ; preds = %12
%18 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %14, ptr noundef nonnull @.str.1, ptr noundef nonnull %4, ptr noundef nonnull %6)
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %52
20: ; preds = %17
%21 = load i32, ptr %6, align 4, !tbaa !14
%22 = call i32 @strlen(ptr noundef %14) #4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %52
24: ; preds = %20
%25 = load i32, ptr %4, align 4, !tbaa !14
store i32 %25, ptr %5, align 4, !tbaa !14
br label %37
26: ; preds = %12
%27 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %14, ptr noundef nonnull @.str.2, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6)
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %52
29: ; preds = %26
%30 = load i32, ptr %6, align 4, !tbaa !14
%31 = call i32 @strlen(ptr noundef %14) #4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %52
33: ; preds = %29
%34 = load i32, ptr %4, align 4, !tbaa !14
%35 = load i32, ptr %5, align 4, !tbaa !14
%36 = icmp ugt i32 %34, %35
br i1 %36, label %52, label %37
37: ; preds = %33, %24
%38 = phi i32 [ %25, %24 ], [ %34, %33 ]
%39 = load i64, ptr getelementptr inbounds (%struct.TYPE_10__, ptr @conf, i64 0, i32 0, i32 1), align 8, !tbaa !16
br label %40
40: ; preds = %37, %40
%41 = phi i64 [ %47, %40 ], [ %39, %37 ]
%42 = phi i32 [ %49, %40 ], [ %38, %37 ]
%43 = add nsw i64 %41, 1
%44 = call i32 @h2o_vector_reserve(ptr noundef null, ptr noundef nonnull @conf, i64 noundef %43) #4
%45 = load ptr, ptr @conf, align 8, !tbaa !19
%46 = load i64, ptr getelementptr inbounds (%struct.TYPE_10__, ptr @conf, i64 0, i32 0, i32 1), align 8, !tbaa !16
%47 = add nsw i64 %46, 1
store i64 %47, ptr getelementptr inbounds (%struct.TYPE_10__, ptr @conf, i64 0, i32 0, i32 1), align 8, !tbaa !16
%48 = getelementptr inbounds i32, ptr %45, i64 %46
store i32 %42, ptr %48, align 4, !tbaa !14
%49 = add i32 %42, 1
%50 = load i32, ptr %5, align 4, !tbaa !14
%51 = icmp ugt i32 %49, %50
br i1 %51, label %54, label %40, !llvm.loop !20
52: ; preds = %33, %26, %29, %17, %20
%53 = call i32 @h2o_configurator_errprintf(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #4
br label %54
54: ; preds = %40, %52
%55 = phi i32 [ -1, %52 ], [ 0, %40 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
br label %56
56: ; preds = %54, %10
%57 = phi i32 [ -1, %10 ], [ %55, %54 ]
ret i32 %57
}
declare i32 @h2o_configurator_errprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare ptr @index(ptr noundef, i8 noundef signext) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #3
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @h2o_vector_reserve(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 0}
!6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_7__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !11, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !7, i64 8}
!17 = !{!"TYPE_10__", !18, i64 0}
!18 = !{!"TYPE_9__", !11, i64 0, !7, i64 8}
!19 = !{!17, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/h2o/src/extr_main.c_on_config_num_threads_add_cpu.c'
source_filename = "AnghaBench/h2o/src/extr_main.c_on_config_num_threads_add_cpu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_10__ = type { %struct.TYPE_9__ }
%struct.TYPE_9__ = type { ptr, i64 }
@YOML_TYPE_SCALAR = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [38 x i8] c"CPUs in cpu sequence must be a scalar\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%u%n\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"%u-%u%n\00", align 1
@conf = common global %struct.TYPE_10__ zeroinitializer, align 8
@.str.3 = private unnamed_addr constant [106 x i8] c"Invalid CPU number: CPUs must be specified as a non-negative number or as a range of non-negative numbers\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @on_config_num_threads_add_cpu], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @on_config_num_threads_add_cpu(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = load i64, ptr %2, align 8, !tbaa !6
%8 = load i64, ptr @YOML_TYPE_SCALAR, align 8, !tbaa !13
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = tail call i32 @h2o_configurator_errprintf(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull @.str) #4
br label %56
12: ; preds = %3
%13 = getelementptr inbounds i8, ptr %2, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !14
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
%15 = tail call ptr @index(ptr noundef %14, i8 noundef signext 45) #4
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %26
17: ; preds = %12
%18 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %14, ptr noundef nonnull @.str.1, ptr noundef nonnull %4, ptr noundef nonnull %6)
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %52
20: ; preds = %17
%21 = load i32, ptr %6, align 4, !tbaa !15
%22 = call i32 @strlen(ptr noundef %14) #4
%23 = icmp eq i32 %21, %22
br i1 %23, label %24, label %52
24: ; preds = %20
%25 = load i32, ptr %4, align 4, !tbaa !15
store i32 %25, ptr %5, align 4, !tbaa !15
br label %37
26: ; preds = %12
%27 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %14, ptr noundef nonnull @.str.2, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6)
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %52
29: ; preds = %26
%30 = load i32, ptr %6, align 4, !tbaa !15
%31 = call i32 @strlen(ptr noundef %14) #4
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %52
33: ; preds = %29
%34 = load i32, ptr %4, align 4, !tbaa !15
%35 = load i32, ptr %5, align 4, !tbaa !15
%36 = icmp ugt i32 %34, %35
br i1 %36, label %52, label %37
37: ; preds = %33, %24
%38 = phi i32 [ %25, %24 ], [ %34, %33 ]
%39 = load i64, ptr getelementptr inbounds (i8, ptr @conf, i64 8), align 8, !tbaa !17
br label %40
40: ; preds = %37, %40
%41 = phi i64 [ %47, %40 ], [ %39, %37 ]
%42 = phi i32 [ %49, %40 ], [ %38, %37 ]
%43 = add nsw i64 %41, 1
%44 = call i32 @h2o_vector_reserve(ptr noundef null, ptr noundef nonnull @conf, i64 noundef %43) #4
%45 = load ptr, ptr @conf, align 8, !tbaa !20
%46 = load i64, ptr getelementptr inbounds (i8, ptr @conf, i64 8), align 8, !tbaa !17
%47 = add nsw i64 %46, 1
store i64 %47, ptr getelementptr inbounds (i8, ptr @conf, i64 8), align 8, !tbaa !17
%48 = getelementptr inbounds i32, ptr %45, i64 %46
store i32 %42, ptr %48, align 4, !tbaa !15
%49 = add i32 %42, 1
%50 = load i32, ptr %5, align 4, !tbaa !15
%51 = icmp ugt i32 %49, %50
br i1 %51, label %54, label %40, !llvm.loop !21
52: ; preds = %33, %26, %29, %17, %20
%53 = call i32 @h2o_configurator_errprintf(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #4
br label %54
54: ; preds = %40, %52
%55 = phi i32 [ -1, %52 ], [ 0, %40 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
br label %56
56: ; preds = %54, %10
%57 = phi i32 [ -1, %10 ], [ %55, %54 ]
ret i32 %57
}
declare i32 @h2o_configurator_errprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare ptr @index(ptr noundef, i8 noundef signext) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #3
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @h2o_vector_reserve(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 0}
!7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !12, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!18, !8, i64 8}
!18 = !{!"TYPE_10__", !19, i64 0}
!19 = !{!"TYPE_9__", !12, i64 0, !8, i64 8}
!20 = !{!18, !12, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| h2o_src_extr_main.c_on_config_num_threads_add_cpu |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/pmu/ebb/extr_trace.c_trace_decode_reg.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/pmu/ebb/extr_trace.c_trace_decode_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"SPRN_MMCR2\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"SPRN_MMCRA\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"SPRN_MMCR0\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"SPRN_EBBHR\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"SPRN_EBBRR\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"SPRN_BESCR\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"SPRN_BESCRS\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"SPRN_BESCRSU\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"SPRN_BESCRR\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"SPRN_BESCRRU\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"SPRN_PMC1\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"SPRN_PMC2\00", align 1
@.str.12 = private unnamed_addr constant [10 x i8] c"SPRN_PMC3\00", align 1
@.str.13 = private unnamed_addr constant [10 x i8] c"SPRN_PMC4\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"SPRN_PMC5\00", align 1
@.str.15 = private unnamed_addr constant [10 x i8] c"SPRN_PMC6\00", align 1
@.str.16 = private unnamed_addr constant [10 x i8] c"SPRN_SIAR\00", align 1
@.str.17 = private unnamed_addr constant [10 x i8] c"SPRN_SDAR\00", align 1
@.str.18 = private unnamed_addr constant [10 x i8] c"SPRN_SIER\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @trace_decode_reg], section "llvm.metadata"
@switch.table.trace_decode_reg = private unnamed_addr constant [39 x ptr] [ptr @.str.18, ptr @.str, ptr @.str.1, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr null, ptr null, ptr @.str.2, ptr @.str.16, ptr @.str.17, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef ptr @trace_decode_reg(i32 noundef %0) #0 {
%2 = add i32 %0, -768
%3 = icmp ult i32 %2, 39
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = getelementptr inbounds [39 x ptr], ptr @switch.table.trace_decode_reg, i64 0, i64 %5
%7 = load ptr, ptr %6, align 8
br label %8
8: ; preds = %1, %4
%9 = phi ptr [ %7, %4 ], [ null, %1 ]
ret ptr %9
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/pmu/ebb/extr_trace.c_trace_decode_reg.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/pmu/ebb/extr_trace.c_trace_decode_reg.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 [11 x i8] c"SPRN_MMCR2\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"SPRN_MMCRA\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"SPRN_MMCR0\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"SPRN_EBBHR\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"SPRN_EBBRR\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"SPRN_BESCR\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"SPRN_BESCRS\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"SPRN_BESCRSU\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"SPRN_BESCRR\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"SPRN_BESCRRU\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"SPRN_PMC1\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"SPRN_PMC2\00", align 1
@.str.12 = private unnamed_addr constant [10 x i8] c"SPRN_PMC3\00", align 1
@.str.13 = private unnamed_addr constant [10 x i8] c"SPRN_PMC4\00", align 1
@.str.14 = private unnamed_addr constant [10 x i8] c"SPRN_PMC5\00", align 1
@.str.15 = private unnamed_addr constant [10 x i8] c"SPRN_PMC6\00", align 1
@.str.16 = private unnamed_addr constant [10 x i8] c"SPRN_SIAR\00", align 1
@.str.17 = private unnamed_addr constant [10 x i8] c"SPRN_SDAR\00", align 1
@.str.18 = private unnamed_addr constant [10 x i8] c"SPRN_SIER\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @trace_decode_reg], section "llvm.metadata"
@switch.table.trace_decode_reg = private unnamed_addr constant [39 x ptr] [ptr @.str.18, ptr @.str, ptr @.str.1, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr null, ptr null, ptr @.str.2, ptr @.str.16, ptr @.str.17, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.3, ptr @.str.4, ptr @.str.5], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef ptr @trace_decode_reg(i32 noundef %0) #0 {
%2 = add i32 %0, -768
%3 = icmp ult i32 %2, 39
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = getelementptr inbounds [39 x ptr], ptr @switch.table.trace_decode_reg, i64 0, i64 %5
%7 = load ptr, ptr %6, align 8
br label %8
8: ; preds = %1, %4
%9 = phi ptr [ %7, %4 ], [ null, %1 ]
ret ptr %9
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_tools_testing_selftests_powerpc_pmu_ebb_extr_trace.c_trace_decode_reg |
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_serial_ir.c_soutp.c'
source_filename = "AnghaBench/linux/drivers/media/rc/extr_serial_ir.c_soutp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@iommap = dso_local local_unnamed_addr global i64 0, align 8
@ioshift = dso_local local_unnamed_addr global i32 0, align 4
@io = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @soutp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @soutp(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @iommap, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @ioshift, align 4
%6 = select i1 %4, i32 0, i32 %5
%7 = shl i32 %0, %6
%8 = load i64, ptr @io, align 8, !tbaa !5
%9 = sext i32 %7 to i64
%10 = add nsw i64 %8, %9
%11 = tail call i32 @outb(i32 noundef %1, i64 noundef %10) #2
ret void
}
declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_serial_ir.c_soutp.c'
source_filename = "AnghaBench/linux/drivers/media/rc/extr_serial_ir.c_soutp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@iommap = common local_unnamed_addr global i64 0, align 8
@ioshift = common local_unnamed_addr global i32 0, align 4
@io = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @soutp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @soutp(i32 noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @iommap, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @ioshift, align 4
%6 = select i1 %4, i32 0, i32 %5
%7 = shl i32 %0, %6
%8 = load i64, ptr @io, align 8, !tbaa !6
%9 = sext i32 %7 to i64
%10 = add nsw i64 %8, %9
%11 = tail call i32 @outb(i32 noundef %1, i64 noundef %10) #2
ret void
}
declare i32 @outb(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_media_rc_extr_serial_ir.c_soutp |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/dc01/arrow/extr_matrix.c_matrix_init_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/dc01/arrow/extr_matrix.c_matrix_init_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define weak dso_local void @matrix_init_user() local_unnamed_addr #0 {
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/dc01/arrow/extr_matrix.c_matrix_init_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/dc01/arrow/extr_matrix.c_matrix_init_user.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_init_user() local_unnamed_addr #0 {
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_dc01_arrow_extr_matrix.c_matrix_init_user |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_OutRpcListener.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_OutRpcListener.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@.str = private unnamed_addr constant [5 x i8] c"Port\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Enable\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @OutRpcListener(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
%4 = icmp eq ptr %0, null
%5 = or i1 %4, %3
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = tail call i32 @PackAddInt(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = load i32, ptr %1, align 4, !tbaa !10
%11 = tail call i32 @PackAddBool(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %10) #2
br label %12
12: ; preds = %2, %6
ret void
}
declare i32 @PackAddInt(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PackAddBool(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, !7, i64 4}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_OutRpcListener.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_OutRpcListener.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [5 x i8] c"Port\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Enable\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @OutRpcListener(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %1, null
%4 = icmp eq ptr %0, null
%5 = or i1 %4, %3
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = tail call i32 @PackAddInt(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = load i32, ptr %1, align 4, !tbaa !11
%11 = tail call i32 @PackAddBool(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %10) #2
br label %12
12: ; preds = %2, %6
ret void
}
declare i32 @PackAddInt(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PackAddBool(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, !8, i64 4}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| SoftEtherVPN_src_Cedar_extr_Admin.c_OutRpcListener |
; ModuleID = 'AnghaBench/os-tutorial/21-shell/cpu/extr_isr.c_register_interrupt_handler.c'
source_filename = "AnghaBench/os-tutorial/21-shell/cpu/extr_isr.c_register_interrupt_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@interrupt_handlers = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable
define dso_local void @register_interrupt_handler(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @interrupt_handlers, align 8, !tbaa !5
%4 = getelementptr inbounds i32, ptr %3, i64 %0
store i32 %1, ptr %4, align 4, !tbaa !9
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, 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" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/os-tutorial/21-shell/cpu/extr_isr.c_register_interrupt_handler.c'
source_filename = "AnghaBench/os-tutorial/21-shell/cpu/extr_isr.c_register_interrupt_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@interrupt_handlers = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync)
define void @register_interrupt_handler(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @interrupt_handlers, align 8, !tbaa !6
%4 = getelementptr inbounds i32, ptr %3, i64 %0
store i32 %1, ptr %4, align 4, !tbaa !10
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| os-tutorial_21-shell_cpu_extr_isr.c_register_interrupt_handler |
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c___qlnx_iov_update_vport.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c___qlnx_iov_update_vport.c"
target datalayout = "e-m:e-p270:32:32-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 [30 x i8] c"VF[%d] vport not initialized\0A\00", align 1
@ECORE_INVAL = dso_local local_unnamed_addr global i32 0, align 4
@ECORE_ACCEPT_UCAST_UNMATCHED = dso_local local_unnamed_addr global i32 0, align 4
@ECORE_ACCEPT_MCAST_UNMATCHED = dso_local local_unnamed_addr global i32 0, align 4
@ECORE_IOV_VP_UPDATE_ACCEPT_PARAM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__qlnx_iov_update_vport], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__qlnx_iov_update_vport(ptr noundef %0, i32 noundef %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 {
%5 = tail call i32 @ecore_iov_vf_has_vport_instance(ptr noundef %0, i32 noundef %1) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i64, ptr %0, align 8, !tbaa !5
%9 = inttoptr i64 %8 to ptr
%10 = tail call i32 @QL_DPRINT1(ptr noundef %9, ptr noundef nonnull @.str, i32 noundef %1) #2
%11 = load i32, ptr @ECORE_INVAL, align 4, !tbaa !10
br label %15
12: ; preds = %4
%13 = load i32, ptr @ECORE_IOV_VP_UPDATE_ACCEPT_PARAM, align 4, !tbaa !10
%14 = tail call i32 @BIT(i32 noundef %13) #2
br label %15
15: ; preds = %12, %7
%16 = phi i32 [ %11, %7 ], [ 0, %12 ]
ret i32 %16
}
declare i32 @ecore_iov_vf_has_vport_instance(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @QL_DPRINT1(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIT(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 = !{!"ecore_hwfn", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c___qlnx_iov_update_vport.c'
source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_qlnx_os.c___qlnx_iov_update_vport.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [30 x i8] c"VF[%d] vport not initialized\0A\00", align 1
@ECORE_INVAL = common local_unnamed_addr global i32 0, align 4
@ECORE_ACCEPT_UCAST_UNMATCHED = common local_unnamed_addr global i32 0, align 4
@ECORE_ACCEPT_MCAST_UNMATCHED = common local_unnamed_addr global i32 0, align 4
@ECORE_IOV_VP_UPDATE_ACCEPT_PARAM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__qlnx_iov_update_vport], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__qlnx_iov_update_vport(ptr noundef %0, i32 noundef %1, ptr nocapture readnone %2, ptr nocapture readnone %3) #0 {
%5 = tail call i32 @ecore_iov_vf_has_vport_instance(ptr noundef %0, i32 noundef %1) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i64, ptr %0, align 8, !tbaa !6
%9 = inttoptr i64 %8 to ptr
%10 = tail call i32 @QL_DPRINT1(ptr noundef %9, ptr noundef nonnull @.str, i32 noundef %1) #2
%11 = load i32, ptr @ECORE_INVAL, align 4, !tbaa !11
br label %15
12: ; preds = %4
%13 = load i32, ptr @ECORE_IOV_VP_UPDATE_ACCEPT_PARAM, align 4, !tbaa !11
%14 = tail call i32 @BIT(i32 noundef %13) #2
br label %15
15: ; preds = %12, %7
%16 = phi i32 [ %11, %7 ], [ 0, %12 ]
ret i32 %16
}
declare i32 @ecore_iov_vf_has_vport_instance(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @QL_DPRINT1(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BIT(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 = !{!"ecore_hwfn", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| freebsd_sys_dev_qlnx_qlnxe_extr_qlnx_os.c___qlnx_iov_update_vport |
; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509write_csr.c_mbedtls_x509write_csr_der.c'
source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509write_csr.c_mbedtls_x509write_csr_der.c"
target datalayout = "e-m:e-p270:32:32-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 }
@MBEDTLS_MPI_MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_CONSTRUCTED = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_SEQUENCE = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_SET = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_OID_PKCS9_CSR_EXT_REQ = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_CONTEXT_SPECIFIC = dso_local local_unnamed_addr global i32 0, align 4
@MBEDTLS_PK_ECKEY = dso_local local_unnamed_addr global i64 0, align 8
@MBEDTLS_PK_ECDSA = dso_local local_unnamed_addr global i64 0, align 8
@MBEDTLS_ERR_ASN1_BUF_TOO_SMALL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mbedtls_x509write_csr_der(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [64 x i8], align 16
%11 = alloca [2048 x i8], align 16
%12 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
store i64 0, ptr %7, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #4
%13 = load i32, ptr @MBEDTLS_MPI_MAX_SIZE, align 4, !tbaa !9
%14 = zext i32 %13 to i64
%15 = tail call ptr @llvm.stacksave.p0()
%16 = alloca i8, i64 %14, align 16
call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %11) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
%17 = getelementptr inbounds i8, ptr %11, i64 2048
store ptr %17, ptr %8, align 8, !tbaa !11
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = call i32 @mbedtls_x509_write_extensions(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef %19) #4
%21 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %20) #4
%22 = call i32 @mbedtls_asn1_write_len(ptr noundef nonnull %8, ptr noundef nonnull %11, i64 noundef 0) #4
%23 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %22) #4
%24 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !9
%25 = load i32, ptr @MBEDTLS_ASN1_CONTEXT_SPECIFIC, align 4, !tbaa !9
%26 = or i32 %25, %24
%27 = call i32 @mbedtls_asn1_write_tag(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef %26) #4
%28 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %27) #4
%29 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%30 = load i32, ptr %29, align 4, !tbaa !15
%31 = load ptr, ptr %8, align 8, !tbaa !11
%32 = ptrtoint ptr %31 to i64
%33 = ptrtoint ptr %11 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
%36 = call i32 @mbedtls_pk_write_pubkey_der(i32 noundef %30, ptr noundef nonnull %11, i32 noundef %35) #4
%37 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %36) #4
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%39 = load i32, ptr %38, align 4, !tbaa !16
%40 = call i32 @mbedtls_x509_write_names(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef %39) #4
%41 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %40) #4
%42 = call i32 @mbedtls_asn1_write_int(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef 0) #4
%43 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %42) #4
%44 = call i32 @mbedtls_asn1_write_len(ptr noundef nonnull %8, ptr noundef nonnull %11, i64 noundef 0) #4
%45 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %44) #4
%46 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !9
%47 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !9
%48 = or i32 %47, %46
%49 = call i32 @mbedtls_asn1_write_tag(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef %48) #4
%50 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %49) #4
%51 = load i32, ptr %0, align 4, !tbaa !17
%52 = call i32 @mbedtls_md_info_from_type(i32 noundef %51) #4
%53 = load ptr, ptr %8, align 8, !tbaa !11
%54 = call i32 @mbedtls_md(i32 noundef %52, ptr noundef %53, i64 noundef 0, ptr noundef nonnull %10) #4
%55 = load i32, ptr %29, align 4, !tbaa !15
%56 = call i64 @mbedtls_pk_get_type(i32 noundef %55) #4
%57 = load i64, ptr @MBEDTLS_PK_ECKEY, align 8, !tbaa !5
%58 = load i64, ptr @MBEDTLS_PK_ECDSA, align 8
%59 = load i32, ptr %29, align 4, !tbaa !15
%60 = load i32, ptr %0, align 4, !tbaa !17
%61 = call i32 @mbedtls_pk_sign(i32 noundef %59, i32 noundef %60, ptr noundef nonnull %10, i32 noundef 0, ptr noundef nonnull %16, ptr noundef nonnull %12, ptr noundef %3, ptr noundef %4) #4
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %86
63: ; preds = %5
%64 = icmp eq i64 %56, %57
%65 = select i1 %64, i64 %58, i64 %56
%66 = load i32, ptr %0, align 4, !tbaa !17
%67 = call i32 @mbedtls_oid_get_oid_by_sig_alg(i64 noundef %65, i32 noundef %66, ptr noundef nonnull %6, ptr noundef nonnull %7) #4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %86
69: ; preds = %63
%70 = getelementptr inbounds i8, ptr %1, i64 %2
store ptr %70, ptr %9, align 8, !tbaa !11
%71 = load ptr, ptr %6, align 8, !tbaa !11
%72 = load i64, ptr %7, align 8, !tbaa !5
%73 = load i64, ptr %12, align 8, !tbaa !5
%74 = call i32 @mbedtls_x509_write_sig(ptr noundef nonnull %9, ptr noundef %1, ptr noundef %71, i64 noundef %72, ptr noundef nonnull %16, i64 noundef %73) #4
%75 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %74) #4
%76 = load ptr, ptr %9, align 8, !tbaa !11
%77 = load ptr, ptr %8, align 8, !tbaa !11
%78 = call i32 @memcpy(ptr noundef %76, ptr noundef %77, i64 noundef 0) #4
%79 = call i32 @mbedtls_asn1_write_len(ptr noundef nonnull %9, ptr noundef %1, i64 noundef 0) #4
%80 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %79) #4
%81 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !9
%82 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !9
%83 = or i32 %82, %81
%84 = call i32 @mbedtls_asn1_write_tag(ptr noundef nonnull %9, ptr noundef %1, i32 noundef %83) #4
%85 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %84) #4
br label %86
86: ; preds = %5, %63, %69
%87 = phi i32 [ 0, %69 ], [ %61, %5 ], [ %67, %63 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #4
call void @llvm.stackrestore.p0(ptr %15)
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
ret i32 %87
}
; 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 nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_x509_write_extensions(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_asn1_write_len(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @mbedtls_asn1_write_tag(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_pk_write_pubkey_der(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_x509_write_names(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_asn1_write_int(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_md(i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @mbedtls_md_info_from_type(i32 noundef) local_unnamed_addr #3
declare i64 @mbedtls_pk_get_type(i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_pk_sign(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @mbedtls_oid_get_oid_by_sig_alg(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @mbedtls_x509_write_sig(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !10, i64 12}
!14 = !{!"TYPE_3__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!15 = !{!14, !10, i64 4}
!16 = !{!14, !10, i64 8}
!17 = !{!14, !10, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/deps/mbedtls/extr_x509write_csr.c_mbedtls_x509write_csr_der.c'
source_filename = "AnghaBench/RetroArch/deps/mbedtls/extr_x509write_csr.c_mbedtls_x509write_csr_der.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MBEDTLS_MPI_MAX_SIZE = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_CONSTRUCTED = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_SEQUENCE = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_SET = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_OID_PKCS9_CSR_EXT_REQ = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_ASN1_CONTEXT_SPECIFIC = common local_unnamed_addr global i32 0, align 4
@MBEDTLS_PK_ECKEY = common local_unnamed_addr global i64 0, align 8
@MBEDTLS_PK_ECDSA = common local_unnamed_addr global i64 0, align 8
@MBEDTLS_ERR_ASN1_BUF_TOO_SMALL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mbedtls_x509write_csr_der(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [64 x i8], align 1
%11 = alloca [2048 x i8], align 1
%12 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
store i64 0, ptr %7, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #4
%13 = load i32, ptr @MBEDTLS_MPI_MAX_SIZE, align 4, !tbaa !10
%14 = zext i32 %13 to i64
%15 = tail call ptr @llvm.stacksave.p0()
%16 = alloca i8, i64 %14, align 1
call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %11) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
%17 = getelementptr inbounds i8, ptr %11, i64 2048
store ptr %17, ptr %8, align 8, !tbaa !12
%18 = getelementptr inbounds i8, ptr %0, i64 12
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = call i32 @mbedtls_x509_write_extensions(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef %19) #4
%21 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %20) #4
%22 = call i32 @mbedtls_asn1_write_len(ptr noundef nonnull %8, ptr noundef nonnull %11, i64 noundef 0) #4
%23 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %22) #4
%24 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !10
%25 = load i32, ptr @MBEDTLS_ASN1_CONTEXT_SPECIFIC, align 4, !tbaa !10
%26 = or i32 %25, %24
%27 = call i32 @mbedtls_asn1_write_tag(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef %26) #4
%28 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %27) #4
%29 = getelementptr inbounds i8, ptr %0, i64 4
%30 = load i32, ptr %29, align 4, !tbaa !16
%31 = load ptr, ptr %8, align 8, !tbaa !12
%32 = ptrtoint ptr %31 to i64
%33 = ptrtoint ptr %11 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
%36 = call i32 @mbedtls_pk_write_pubkey_der(i32 noundef %30, ptr noundef nonnull %11, i32 noundef %35) #4
%37 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %36) #4
%38 = getelementptr inbounds i8, ptr %0, i64 8
%39 = load i32, ptr %38, align 4, !tbaa !17
%40 = call i32 @mbedtls_x509_write_names(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef %39) #4
%41 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %40) #4
%42 = call i32 @mbedtls_asn1_write_int(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef 0) #4
%43 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %42) #4
%44 = call i32 @mbedtls_asn1_write_len(ptr noundef nonnull %8, ptr noundef nonnull %11, i64 noundef 0) #4
%45 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %44) #4
%46 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !10
%47 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !10
%48 = or i32 %47, %46
%49 = call i32 @mbedtls_asn1_write_tag(ptr noundef nonnull %8, ptr noundef nonnull %11, i32 noundef %48) #4
%50 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %49) #4
%51 = load i32, ptr %0, align 4, !tbaa !18
%52 = call i32 @mbedtls_md_info_from_type(i32 noundef %51) #4
%53 = load ptr, ptr %8, align 8, !tbaa !12
%54 = call i32 @mbedtls_md(i32 noundef %52, ptr noundef %53, i64 noundef 0, ptr noundef nonnull %10) #4
%55 = load i32, ptr %29, align 4, !tbaa !16
%56 = call i64 @mbedtls_pk_get_type(i32 noundef %55) #4
%57 = load i64, ptr @MBEDTLS_PK_ECKEY, align 8, !tbaa !6
%58 = load i64, ptr @MBEDTLS_PK_ECDSA, align 8
%59 = load i32, ptr %29, align 4, !tbaa !16
%60 = load i32, ptr %0, align 4, !tbaa !18
%61 = call i32 @mbedtls_pk_sign(i32 noundef %59, i32 noundef %60, ptr noundef nonnull %10, i32 noundef 0, ptr noundef nonnull %16, ptr noundef nonnull %12, ptr noundef %3, ptr noundef %4) #4
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %86
63: ; preds = %5
%64 = icmp eq i64 %56, %57
%65 = select i1 %64, i64 %58, i64 %56
%66 = load i32, ptr %0, align 4, !tbaa !18
%67 = call i32 @mbedtls_oid_get_oid_by_sig_alg(i64 noundef %65, i32 noundef %66, ptr noundef nonnull %6, ptr noundef nonnull %7) #4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %86
69: ; preds = %63
%70 = getelementptr inbounds i8, ptr %1, i64 %2
store ptr %70, ptr %9, align 8, !tbaa !12
%71 = load ptr, ptr %6, align 8, !tbaa !12
%72 = load i64, ptr %7, align 8, !tbaa !6
%73 = load i64, ptr %12, align 8, !tbaa !6
%74 = call i32 @mbedtls_x509_write_sig(ptr noundef nonnull %9, ptr noundef %1, ptr noundef %71, i64 noundef %72, ptr noundef nonnull %16, i64 noundef %73) #4
%75 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %74) #4
%76 = load ptr, ptr %9, align 8, !tbaa !12
%77 = load ptr, ptr %8, align 8, !tbaa !12
%78 = call i32 @memcpy(ptr noundef %76, ptr noundef %77, i64 noundef 0) #4
%79 = call i32 @mbedtls_asn1_write_len(ptr noundef nonnull %9, ptr noundef %1, i64 noundef 0) #4
%80 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %79) #4
%81 = load i32, ptr @MBEDTLS_ASN1_CONSTRUCTED, align 4, !tbaa !10
%82 = load i32, ptr @MBEDTLS_ASN1_SEQUENCE, align 4, !tbaa !10
%83 = or i32 %82, %81
%84 = call i32 @mbedtls_asn1_write_tag(ptr noundef nonnull %9, ptr noundef %1, i32 noundef %83) #4
%85 = call i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef 0, i32 noundef %84) #4
br label %86
86: ; preds = %5, %63, %69
%87 = phi i32 [ 0, %69 ], [ %61, %5 ], [ %67, %63 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #4
call void @llvm.stackrestore.p0(ptr %15)
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
ret i32 %87
}
; 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 nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @MBEDTLS_ASN1_CHK_ADD(i64 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_x509_write_extensions(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_asn1_write_len(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @mbedtls_asn1_write_tag(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_pk_write_pubkey_der(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_x509_write_names(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_asn1_write_int(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_md(i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @mbedtls_md_info_from_type(i32 noundef) local_unnamed_addr #3
declare i64 @mbedtls_pk_get_type(i32 noundef) local_unnamed_addr #3
declare i32 @mbedtls_pk_sign(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @mbedtls_oid_get_oid_by_sig_alg(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @mbedtls_x509_write_sig(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @memcpy(ptr noundef, ptr noundef, i64 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
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
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, !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, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !11, i64 12}
!15 = !{!"TYPE_3__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!16 = !{!15, !11, i64 4}
!17 = !{!15, !11, i64 8}
!18 = !{!15, !11, i64 0}
| RetroArch_deps_mbedtls_extr_x509write_csr.c_mbedtls_x509write_csr_der |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8185b_init.c_ActUpdateChannelAccessSetting.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8185b_init.c_ActUpdateChannelAccessSetting.c"
target datalayout = "e-m:e-p270:32:32-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_29__ = type { i32, i32, i32, i32, i32, i32 }
%struct.ieee80211_device = type { i64, %struct.TYPE_40__ }
%struct.TYPE_40__ = type { i32 }
@SIFS = dso_local local_unnamed_addr global i32 0, align 4
@SLOT = dso_local local_unnamed_addr global i32 0, align 4
@aSifsTime = dso_local local_unnamed_addr global i32 0, align 4
@EIFS = dso_local local_unnamed_addr global i32 0, align 4
@AckTimeOutReg = dso_local local_unnamed_addr global i32 0, align 4
@IW_MODE_ADHOC = dso_local local_unnamed_addr global i64 0, align 8
@AC_MAX = dso_local local_unnamed_addr global i64 0, align 8
@AC_PARAM_TXOP_LIMIT_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@AC_PARAM_ECW_MAX_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@AC_PARAM_ECW_MIN_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@AC_PARAM_AIFS_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"SetHwReg8185(): invalid ACI: %d !\0A\00", align 1
@BEQ_ACM_EN = dso_local local_unnamed_addr global i32 0, align 4
@BEQ_ACM_CTL = dso_local local_unnamed_addr global i32 0, align 4
@ACM_HW_EN = dso_local local_unnamed_addr global i32 0, align 4
@VIQ_ACM_EN = dso_local local_unnamed_addr global i32 0, align 4
@VIQ_ACM_CTL = dso_local local_unnamed_addr global i32 0, align 4
@VOQ_ACM_EN = dso_local local_unnamed_addr global i32 0, align 4
@VOQ_ACM_CTL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [62 x i8] c"SetHwReg8185(): [HW_VAR_ACM_CTRL] ACM set failed: eACI is %d\0A\00", align 1
@ACM_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@Adapter = dso_local local_unnamed_addr global ptr null, align 8
@HW_VAR_AC_PARAM = dso_local local_unnamed_addr global i32 0, align 4
@QOS_DISABLE = dso_local local_unnamed_addr global i64 0, align 8
@pHalData = dso_local local_unnamed_addr global ptr null, align 8
@pStaQos = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @ActUpdateChannelAccessSetting(ptr noundef %0, i64 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @ieee80211_priv(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_29__, ptr %2, i64 0, i32 2
%7 = getelementptr inbounds %struct.TYPE_29__, ptr %2, i64 0, i32 3
store <4 x i32> <i32 34, i32 28, i32 9, i32 91>, ptr %2, align 4, !tbaa !10
%8 = getelementptr inbounds %struct.TYPE_29__, ptr %2, i64 0, i32 4
store i32 3, ptr %8, align 4, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_29__, ptr %2, i64 0, i32 5
store i32 7, ptr %9, align 4, !tbaa !14
%10 = load i32, ptr @SIFS, align 4, !tbaa !10
%11 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %10, i32 noundef 34) #2
%12 = load i32, ptr @SLOT, align 4, !tbaa !10
%13 = load i32, ptr %6, align 4, !tbaa !15
%14 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @EIFS, align 4, !tbaa !10
%16 = load i32, ptr %7, align 4, !tbaa !16
%17 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %15, i32 noundef %16) #2
%18 = load i32, ptr @AckTimeOutReg, align 4, !tbaa !10
%19 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %18, i32 noundef 91) #2
%20 = getelementptr inbounds %struct.ieee80211_device, ptr %5, i64 0, i32 1
%21 = load i32, ptr %20, align 8, !tbaa !17
%22 = icmp eq i32 %21, 1
%23 = select i1 %22, i64 511, i64 0
%24 = load i64, ptr %5, align 8, !tbaa !21
%25 = load i64, ptr @IW_MODE_ADHOC, align 8, !tbaa !22
%26 = icmp eq i64 %24, %25
%27 = select i1 %26, i64 32, i64 %23
%28 = load i64, ptr @AC_MAX, align 8, !tbaa !22
%29 = icmp eq i64 %28, 0
br i1 %29, label %52, label %30
30: ; preds = %3
%31 = and i64 %27, 508
%32 = icmp eq i64 %31, 128
br label %33
33: ; preds = %30, %46
%34 = phi i64 [ 0, %30 ], [ %49, %46 ]
%35 = phi i64 [ 2, %30 ], [ %38, %46 ]
%36 = shl i64 %34, 32
%37 = and i64 %35, 4294967295
%38 = or disjoint i64 %36, %37
br i1 %32, label %41, label %39
39: ; preds = %33
%40 = tail call i32 @DMESGW(ptr noundef nonnull @.str, i64 noundef %27) #2
br label %41
41: ; preds = %33, %39
%42 = icmp eq i64 %38, 0
br i1 %42, label %46, label %43
43: ; preds = %41
switch i64 %27, label %44 [
i64 131, label %46
i64 129, label %46
i64 128, label %46
]
44: ; preds = %43
%45 = tail call i32 @DMESGW(ptr noundef nonnull @.str.1, i64 noundef %27) #2
br label %46
46: ; preds = %41, %43, %43, %43, %44
%47 = load i32, ptr @ACM_CONTROL, align 4, !tbaa !10
%48 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %47, i32 noundef 0) #2
%49 = add nuw i64 %34, 1
%50 = load i64, ptr @AC_MAX, align 8, !tbaa !22
%51 = icmp ult i64 %49, %50
br i1 %51, label %33, label %52, !llvm.loop !23
52: ; preds = %46, %3
ret void
}
declare ptr @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @write_nic_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DMESGW(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 = !{!"r8180_priv", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"TYPE_29__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!14 = !{!13, !11, i64 20}
!15 = !{!13, !11, i64 8}
!16 = !{!13, !11, i64 12}
!17 = !{!18, !11, i64 8}
!18 = !{!"ieee80211_device", !19, i64 0, !20, i64 8}
!19 = !{!"long", !8, i64 0}
!20 = !{!"TYPE_40__", !11, i64 0}
!21 = !{!18, !19, i64 0}
!22 = !{!19, !19, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8185b_init.c_ActUpdateChannelAccessSetting.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/extr_r8185b_init.c_ActUpdateChannelAccessSetting.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SIFS = common local_unnamed_addr global i32 0, align 4
@SLOT = common local_unnamed_addr global i32 0, align 4
@aSifsTime = common local_unnamed_addr global i32 0, align 4
@EIFS = common local_unnamed_addr global i32 0, align 4
@AckTimeOutReg = common local_unnamed_addr global i32 0, align 4
@IW_MODE_ADHOC = common local_unnamed_addr global i64 0, align 8
@AC_MAX = common local_unnamed_addr global i64 0, align 8
@AC_PARAM_TXOP_LIMIT_OFFSET = common local_unnamed_addr global i32 0, align 4
@AC_PARAM_ECW_MAX_OFFSET = common local_unnamed_addr global i32 0, align 4
@AC_PARAM_ECW_MIN_OFFSET = common local_unnamed_addr global i32 0, align 4
@AC_PARAM_AIFS_OFFSET = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"SetHwReg8185(): invalid ACI: %d !\0A\00", align 1
@BEQ_ACM_EN = common local_unnamed_addr global i32 0, align 4
@BEQ_ACM_CTL = common local_unnamed_addr global i32 0, align 4
@ACM_HW_EN = common local_unnamed_addr global i32 0, align 4
@VIQ_ACM_EN = common local_unnamed_addr global i32 0, align 4
@VIQ_ACM_CTL = common local_unnamed_addr global i32 0, align 4
@VOQ_ACM_EN = common local_unnamed_addr global i32 0, align 4
@VOQ_ACM_CTL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [62 x i8] c"SetHwReg8185(): [HW_VAR_ACM_CTRL] ACM set failed: eACI is %d\0A\00", align 1
@ACM_CONTROL = common local_unnamed_addr global i32 0, align 4
@Adapter = common local_unnamed_addr global ptr null, align 8
@HW_VAR_AC_PARAM = common local_unnamed_addr global i32 0, align 4
@QOS_DISABLE = common local_unnamed_addr global i64 0, align 8
@pHalData = common local_unnamed_addr global ptr null, align 8
@pStaQos = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @ActUpdateChannelAccessSetting(ptr noundef %0, i64 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @ieee80211_priv(ptr noundef %0) #2
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = getelementptr inbounds i8, ptr %2, i64 12
store <4 x i32> <i32 34, i32 28, i32 9, i32 91>, ptr %2, align 4, !tbaa !11
%8 = getelementptr inbounds i8, ptr %2, i64 16
store <2 x i32> <i32 3, i32 7>, ptr %8, align 4, !tbaa !11
%9 = load i32, ptr @SIFS, align 4, !tbaa !11
%10 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %9, i32 noundef 34) #2
%11 = load i32, ptr @SLOT, align 4, !tbaa !11
%12 = load i32, ptr %6, align 4, !tbaa !13
%13 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr @EIFS, align 4, !tbaa !11
%15 = load i32, ptr %7, align 4, !tbaa !15
%16 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @AckTimeOutReg, align 4, !tbaa !11
%18 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %17, i32 noundef 91) #2
%19 = getelementptr inbounds i8, ptr %5, i64 8
%20 = load i32, ptr %19, align 8, !tbaa !16
%21 = icmp eq i32 %20, 1
%22 = select i1 %21, i64 511, i64 0
%23 = load i64, ptr %5, align 8, !tbaa !20
%24 = load i64, ptr @IW_MODE_ADHOC, align 8, !tbaa !21
%25 = icmp eq i64 %23, %24
%26 = select i1 %25, i64 32, i64 %22
%27 = load i64, ptr @AC_MAX, align 8, !tbaa !21
%28 = icmp eq i64 %27, 0
br i1 %28, label %51, label %29
29: ; preds = %3
%30 = and i64 %26, 508
%31 = icmp eq i64 %30, 128
br label %32
32: ; preds = %29, %45
%33 = phi i64 [ 0, %29 ], [ %48, %45 ]
%34 = phi i64 [ 2, %29 ], [ %37, %45 ]
%35 = shl i64 %33, 32
%36 = and i64 %34, 4294967295
%37 = or disjoint i64 %35, %36
br i1 %31, label %40, label %38
38: ; preds = %32
%39 = tail call i32 @DMESGW(ptr noundef nonnull @.str, i64 noundef %26) #2
br label %40
40: ; preds = %32, %38
%41 = icmp eq i64 %37, 0
br i1 %41, label %45, label %42
42: ; preds = %40
switch i64 %26, label %43 [
i64 131, label %45
i64 129, label %45
i64 128, label %45
]
43: ; preds = %42
%44 = tail call i32 @DMESGW(ptr noundef nonnull @.str.1, i64 noundef %26) #2
br label %45
45: ; preds = %40, %42, %42, %42, %43
%46 = load i32, ptr @ACM_CONTROL, align 4, !tbaa !11
%47 = tail call i32 @write_nic_byte(ptr noundef %0, i32 noundef %46, i32 noundef 0) #2
%48 = add nuw i64 %33, 1
%49 = load i64, ptr @AC_MAX, align 8, !tbaa !21
%50 = icmp ult i64 %48, %49
br i1 %50, label %32, label %51, !llvm.loop !22
51: ; preds = %45, %3
ret void
}
declare ptr @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @write_nic_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DMESGW(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 = !{!"r8180_priv", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"TYPE_29__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!15 = !{!14, !12, i64 12}
!16 = !{!17, !12, i64 8}
!17 = !{!"ieee80211_device", !18, i64 0, !19, i64 8}
!18 = !{!"long", !9, i64 0}
!19 = !{!"TYPE_40__", !12, i64 0}
!20 = !{!17, !18, i64 0}
!21 = !{!18, !18, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_staging_rtl8187se_extr_r8185b_init.c_ActUpdateChannelAccessSetting |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hs20/client/extr_spp_client.c_hs20_spp_user_input_completed.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/hs20/client/extr_spp_client.c_hs20_spp_user_input_completed.c"
target datalayout = "e-m:e-p270:32:32-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.hs20_osu_client = type { i32, i32 }
@.str = private unnamed_addr constant [21 x i8] c"User input completed\00", align 1
@MSG_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"Try to finish with re-opened connection\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Continue with new connection\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"sppPostDevDataResponse\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"SPP validation failed\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hs20_spp_user_input_completed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @hs20_spp_user_input_completed(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @build_spp_post_dev_data(ptr noundef %0, ptr noundef null, ptr noundef %1, ptr noundef nonnull @.str) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %35, label %5
5: ; preds = %2
%6 = getelementptr inbounds %struct.hs20_osu_client, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call ptr @soap_send_receive(i32 noundef %7, ptr noundef nonnull %3) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %26
10: ; preds = %5
%11 = load i32, ptr %6, align 4, !tbaa !5
%12 = tail call i64 @soap_reinit_client(i32 noundef %11) #2
%13 = icmp slt i64 %12, 0
br i1 %13, label %35, label %14
14: ; preds = %10
%15 = load i32, ptr @MSG_INFO, align 4, !tbaa !10
%16 = tail call i32 @wpa_printf(i32 noundef %15, ptr noundef nonnull @.str.1) #2
%17 = tail call ptr @build_spp_post_dev_data(ptr noundef nonnull %0, ptr noundef null, ptr noundef %1, ptr noundef nonnull @.str) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %35, label %19
19: ; preds = %14
%20 = load i32, ptr %6, align 4, !tbaa !5
%21 = tail call ptr @soap_send_receive(i32 noundef %20, ptr noundef nonnull %17) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %35, label %23
23: ; preds = %19
%24 = load i32, ptr @MSG_INFO, align 4, !tbaa !10
%25 = tail call i32 @wpa_printf(i32 noundef %24, ptr noundef nonnull @.str.2) #2
br label %26
26: ; preds = %23, %5
%27 = phi ptr [ %8, %5 ], [ %21, %23 ]
%28 = tail call i64 @hs20_spp_validate(ptr noundef nonnull %0, ptr noundef nonnull %27, ptr noundef nonnull @.str.3) #2
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load i32, ptr @MSG_INFO, align 4, !tbaa !10
%32 = tail call i32 @wpa_printf(i32 noundef %31, ptr noundef nonnull @.str.4) #2
%33 = load i32, ptr %0, align 4, !tbaa !11
%34 = tail call i32 @xml_node_free(i32 noundef %33, ptr noundef nonnull %27) #2
br label %35
35: ; preds = %26, %19, %14, %10, %2, %30
%36 = phi ptr [ null, %30 ], [ null, %2 ], [ null, %10 ], [ null, %14 ], [ null, %19 ], [ %27, %26 ]
ret ptr %36
}
declare ptr @build_spp_post_dev_data(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @soap_send_receive(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @soap_reinit_client(i32 noundef) local_unnamed_addr #1
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @hs20_spp_validate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xml_node_free(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 4}
!6 = !{!"hs20_osu_client", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hs20/client/extr_spp_client.c_hs20_spp_user_input_completed.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/hs20/client/extr_spp_client.c_hs20_spp_user_input_completed.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 [21 x i8] c"User input completed\00", align 1
@MSG_INFO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"Try to finish with re-opened connection\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Continue with new connection\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"sppPostDevDataResponse\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"SPP validation failed\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hs20_spp_user_input_completed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @hs20_spp_user_input_completed(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @build_spp_post_dev_data(ptr noundef %0, ptr noundef null, ptr noundef %1, ptr noundef nonnull @.str) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %35, label %5
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call ptr @soap_send_receive(i32 noundef %7, ptr noundef nonnull %3) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %26
10: ; preds = %5
%11 = load i32, ptr %6, align 4, !tbaa !6
%12 = tail call i64 @soap_reinit_client(i32 noundef %11) #2
%13 = icmp slt i64 %12, 0
br i1 %13, label %35, label %14
14: ; preds = %10
%15 = load i32, ptr @MSG_INFO, align 4, !tbaa !11
%16 = tail call i32 @wpa_printf(i32 noundef %15, ptr noundef nonnull @.str.1) #2
%17 = tail call ptr @build_spp_post_dev_data(ptr noundef nonnull %0, ptr noundef null, ptr noundef %1, ptr noundef nonnull @.str) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %35, label %19
19: ; preds = %14
%20 = load i32, ptr %6, align 4, !tbaa !6
%21 = tail call ptr @soap_send_receive(i32 noundef %20, ptr noundef nonnull %17) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %35, label %23
23: ; preds = %19
%24 = load i32, ptr @MSG_INFO, align 4, !tbaa !11
%25 = tail call i32 @wpa_printf(i32 noundef %24, ptr noundef nonnull @.str.2) #2
br label %26
26: ; preds = %23, %5
%27 = phi ptr [ %8, %5 ], [ %21, %23 ]
%28 = tail call i64 @hs20_spp_validate(ptr noundef nonnull %0, ptr noundef nonnull %27, ptr noundef nonnull @.str.3) #2
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load i32, ptr @MSG_INFO, align 4, !tbaa !11
%32 = tail call i32 @wpa_printf(i32 noundef %31, ptr noundef nonnull @.str.4) #2
%33 = load i32, ptr %0, align 4, !tbaa !12
%34 = tail call i32 @xml_node_free(i32 noundef %33, ptr noundef nonnull %27) #2
br label %35
35: ; preds = %26, %19, %14, %10, %2, %30
%36 = phi ptr [ null, %30 ], [ null, %2 ], [ null, %10 ], [ null, %14 ], [ null, %19 ], [ %27, %26 ]
ret ptr %36
}
declare ptr @build_spp_post_dev_data(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @soap_send_receive(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @soap_reinit_client(i32 noundef) local_unnamed_addr #1
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @hs20_spp_validate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xml_node_free(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 4}
!7 = !{!"hs20_osu_client", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| freebsd_contrib_wpa_hs20_client_extr_spp_client.c_hs20_spp_user_input_completed |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-pip.h_cvmx_pip_tag_mask_set.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-pip.h_cvmx_pip_tag_mask_set.c"
target datalayout = "e-m:e-p270:32:32-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 @cvmx_pip_tag_mask_set], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cvmx_pip_tag_mask_set(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %22, label %5
5: ; preds = %3
%6 = shl nsw i32 %0, 4
br label %7
7: ; preds = %5, %7
%8 = phi i32 [ %1, %5 ], [ %20, %7 ]
%9 = phi i32 [ %2, %5 ], [ %10, %7 ]
%10 = add nsw i32 %9, -1
%11 = sdiv i32 %8, 8
%12 = add nsw i32 %11, %6
%13 = tail call i32 @CVMX_PIP_TAG_INCX(i32 noundef %12) #2
%14 = tail call i32 @cvmx_read_csr(i32 noundef %13) #2
%15 = and i32 %8, 7
%16 = lshr exact i32 128, %15
%17 = or i32 %14, %16
%18 = tail call i32 @CVMX_PIP_TAG_INCX(i32 noundef %12) #2
%19 = tail call i32 @cvmx_write_csr(i32 noundef %18, i32 noundef %17) #2
%20 = add nsw i32 %8, 1
%21 = icmp eq i32 %10, 0
br i1 %21, label %22, label %7, !llvm.loop !5
22: ; preds = %7, %3
ret void
}
declare i32 @cvmx_read_csr(i32 noundef) local_unnamed_addr #1
declare i32 @CVMX_PIP_TAG_INCX(i32 noundef) local_unnamed_addr #1
declare i32 @cvmx_write_csr(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-pip.h_cvmx_pip_tag_mask_set.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-pip.h_cvmx_pip_tag_mask_set.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 @cvmx_pip_tag_mask_set], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cvmx_pip_tag_mask_set(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %22, label %5
5: ; preds = %3
%6 = shl nsw i32 %0, 4
br label %7
7: ; preds = %5, %7
%8 = phi i32 [ %1, %5 ], [ %20, %7 ]
%9 = phi i32 [ %2, %5 ], [ %10, %7 ]
%10 = add nsw i32 %9, -1
%11 = sdiv i32 %8, 8
%12 = add nsw i32 %11, %6
%13 = tail call i32 @CVMX_PIP_TAG_INCX(i32 noundef %12) #2
%14 = tail call i32 @cvmx_read_csr(i32 noundef %13) #2
%15 = and i32 %8, 7
%16 = lshr exact i32 128, %15
%17 = or i32 %14, %16
%18 = tail call i32 @CVMX_PIP_TAG_INCX(i32 noundef %12) #2
%19 = tail call i32 @cvmx_write_csr(i32 noundef %18, i32 noundef %17) #2
%20 = add nsw i32 %8, 1
%21 = icmp eq i32 %10, 0
br i1 %21, label %22, label %7, !llvm.loop !6
22: ; preds = %7, %3
ret void
}
declare i32 @cvmx_read_csr(i32 noundef) local_unnamed_addr #1
declare i32 @CVMX_PIP_TAG_INCX(i32 noundef) local_unnamed_addr #1
declare i32 @cvmx_write_csr(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_staging_octeon_extr_cvmx-pip.h_cvmx_pip_tag_mask_set |
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_separation.c_fz_add_separation.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_separation.c_fz_add_separation.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, ptr }
@FZ_ERROR_GENERIC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"can't add to non-existent separations\00", align 1
@FZ_MAX_SEPARATIONS = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"too many separations\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @fz_add_separation(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = icmp eq ptr %1, null
br i1 %6, label %7, label %10
7: ; preds = %5
%8 = load i32, ptr @FZ_ERROR_GENERIC, align 4, !tbaa !5
%9 = tail call i32 @fz_throw(ptr noundef %0, i32 noundef %8, ptr noundef nonnull @.str) #2
br label %10
10: ; preds = %7, %5
%11 = load i32, ptr %1, align 8, !tbaa !9
%12 = load i32, ptr @FZ_MAX_SEPARATIONS, align 4, !tbaa !5
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr @FZ_ERROR_GENERIC, align 4, !tbaa !5
%16 = tail call i32 @fz_throw(ptr noundef %0, i32 noundef %15, ptr noundef nonnull @.str.1) #2
br label %17
17: ; preds = %14, %10
%18 = tail call i32 @fz_strdup(ptr noundef %0, ptr noundef %2) #2
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 3
%20 = load ptr, ptr %19, align 8, !tbaa !12
%21 = sext i32 %11 to i64
%22 = getelementptr inbounds i32, ptr %20, i64 %21
store i32 %18, ptr %22, align 4, !tbaa !5
%23 = tail call i32 @fz_keep_colorspace(ptr noundef %0, ptr noundef %3) #2
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = getelementptr inbounds i32, ptr %25, i64 %21
store i32 %23, ptr %26, align 4, !tbaa !5
%27 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%28 = load ptr, ptr %27, align 8, !tbaa !14
%29 = getelementptr inbounds i32, ptr %28, i64 %21
store i32 %4, ptr %29, align 4, !tbaa !5
%30 = load i32, ptr %1, align 8, !tbaa !9
%31 = add nsw i32 %30, 1
store i32 %31, ptr %1, align 8, !tbaa !9
ret void
}
declare i32 @fz_throw(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fz_strdup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fz_keep_colorspace(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 24}
!13 = !{!10, !11, i64 16}
!14 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_separation.c_fz_add_separation.c'
source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_separation.c_fz_add_separation.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FZ_ERROR_GENERIC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"can't add to non-existent separations\00", align 1
@FZ_MAX_SEPARATIONS = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"too many separations\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @fz_add_separation(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = icmp eq ptr %1, null
br i1 %6, label %7, label %10
7: ; preds = %5
%8 = load i32, ptr @FZ_ERROR_GENERIC, align 4, !tbaa !6
%9 = tail call i32 @fz_throw(ptr noundef %0, i32 noundef %8, ptr noundef nonnull @.str) #2
br label %10
10: ; preds = %7, %5
%11 = load i32, ptr %1, align 8, !tbaa !10
%12 = load i32, ptr @FZ_MAX_SEPARATIONS, align 4, !tbaa !6
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = load i32, ptr @FZ_ERROR_GENERIC, align 4, !tbaa !6
%16 = tail call i32 @fz_throw(ptr noundef %0, i32 noundef %15, ptr noundef nonnull @.str.1) #2
br label %17
17: ; preds = %14, %10
%18 = tail call i32 @fz_strdup(ptr noundef %0, ptr noundef %2) #2
%19 = getelementptr inbounds i8, ptr %1, i64 24
%20 = load ptr, ptr %19, align 8, !tbaa !13
%21 = sext i32 %11 to i64
%22 = getelementptr inbounds i32, ptr %20, i64 %21
store i32 %18, ptr %22, align 4, !tbaa !6
%23 = tail call i32 @fz_keep_colorspace(ptr noundef %0, ptr noundef %3) #2
%24 = getelementptr inbounds i8, ptr %1, i64 16
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = getelementptr inbounds i32, ptr %25, i64 %21
store i32 %23, ptr %26, align 4, !tbaa !6
%27 = getelementptr inbounds i8, ptr %1, i64 8
%28 = load ptr, ptr %27, align 8, !tbaa !15
%29 = getelementptr inbounds i32, ptr %28, i64 %21
store i32 %4, ptr %29, align 4, !tbaa !6
%30 = load i32, ptr %1, align 8, !tbaa !10
%31 = add nsw i32 %30, 1
store i32 %31, ptr %1, align 8, !tbaa !10
ret void
}
declare i32 @fz_throw(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fz_strdup(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fz_keep_colorspace(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 24}
!14 = !{!11, !12, i64 16}
!15 = !{!11, !12, i64 8}
| sumatrapdf_mupdf_source_fitz_extr_separation.c_fz_add_separation |
; ModuleID = 'AnghaBench/reactos/drivers/bus/acpi/busmgr/extr_button.c_acpi_button_exit.c'
source_filename = "AnghaBench/reactos/drivers/bus/acpi/busmgr/extr_button.c_acpi_button_exit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"acpi_button_exit\00", align 1
@acpi_button_driver = dso_local global i32 0, align 4
@return_VOID = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @acpi_button_exit() local_unnamed_addr #0 {
%1 = tail call i32 @ACPI_FUNCTION_TRACE(ptr noundef nonnull @.str) #2
%2 = tail call i32 @acpi_bus_unregister_driver(ptr noundef nonnull @acpi_button_driver) #2
ret void
}
declare i32 @ACPI_FUNCTION_TRACE(ptr noundef) local_unnamed_addr #1
declare i32 @acpi_bus_unregister_driver(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/drivers/bus/acpi/busmgr/extr_button.c_acpi_button_exit.c'
source_filename = "AnghaBench/reactos/drivers/bus/acpi/busmgr/extr_button.c_acpi_button_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [17 x i8] c"acpi_button_exit\00", align 1
@acpi_button_driver = common global i32 0, align 4
@return_VOID = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @acpi_button_exit() local_unnamed_addr #0 {
%1 = tail call i32 @ACPI_FUNCTION_TRACE(ptr noundef nonnull @.str) #2
%2 = tail call i32 @acpi_bus_unregister_driver(ptr noundef nonnull @acpi_button_driver) #2
ret void
}
declare i32 @ACPI_FUNCTION_TRACE(ptr noundef) local_unnamed_addr #1
declare i32 @acpi_bus_unregister_driver(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_drivers_bus_acpi_busmgr_extr_button.c_acpi_button_exit |
; ModuleID = 'AnghaBench/Cinder/src/glload/extr_gl_load.c_LoadExt_ARB_sparse_texture.c'
source_filename = "AnghaBench/Cinder/src/glload/extr_gl_load.c_LoadExt_ARB_sparse_texture.c"
target datalayout = "e-m:e-p270:32:32-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 [23 x i8] c"glTexPageCommitmentARB\00", align 1
@_funcptr_glTexPageCommitmentARB = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @LoadExt_ARB_sparse_texture], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @LoadExt_ARB_sparse_texture() #0 {
%1 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str) #2
store i64 %1, ptr @_funcptr_glTexPageCommitmentARB, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
ret i32 %3
}
declare i64 @IntGetProcAddress(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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Cinder/src/glload/extr_gl_load.c_LoadExt_ARB_sparse_texture.c'
source_filename = "AnghaBench/Cinder/src/glload/extr_gl_load.c_LoadExt_ARB_sparse_texture.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 [23 x i8] c"glTexPageCommitmentARB\00", align 1
@_funcptr_glTexPageCommitmentARB = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @LoadExt_ARB_sparse_texture], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @LoadExt_ARB_sparse_texture() #0 {
%1 = tail call i64 @IntGetProcAddress(ptr noundef nonnull @.str) #2
store i64 %1, ptr @_funcptr_glTexPageCommitmentARB, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
ret i32 %3
}
declare i64 @IntGetProcAddress(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Cinder_src_glload_extr_gl_load.c_LoadExt_ARB_sparse_texture |
; ModuleID = 'AnghaBench/linux/kernel/extr_kexec_core.c_kimage_alloc_crash_control_pages.c'
source_filename = "AnghaBench/linux/kernel/extr_kexec_core.c_kimage_alloc_crash_control_pages.c"
target datalayout = "e-m:e-p270:32:32-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.kimage = type { i64, i64, ptr }
%struct.TYPE_3__ = type { i64, i64 }
@PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@crashk_res = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@KEXEC_CRASH_CONTROL_MEMORY_LIMIT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @kimage_alloc_crash_control_pages], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @kimage_alloc_crash_control_pages(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = shl nuw i32 1, %1
%4 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !5
%5 = shl i32 %3, %4
%6 = sext i32 %5 to i64
%7 = load i64, ptr %0, align 8, !tbaa !9
%8 = add nsw i64 %6, -1
%9 = add i64 %8, %7
%10 = sub nsw i64 0, %6
%11 = and i64 %9, %10
%12 = add i64 %8, %11
%13 = getelementptr inbounds %struct.kimage, ptr %0, i64 0, i32 1
%14 = getelementptr inbounds %struct.kimage, ptr %0, i64 0, i32 2
br label %15
15: ; preds = %47, %2
%16 = phi i64 [ %12, %2 ], [ %49, %47 ]
%17 = phi i64 [ %11, %2 ], [ %50, %47 ]
%18 = load i64, ptr @crashk_res, align 8, !tbaa !13
%19 = icmp ugt i64 %16, %18
br i1 %19, label %63, label %20
20: ; preds = %15
%21 = tail call i32 (...) @cond_resched() #2
%22 = load i64, ptr @KEXEC_CRASH_CONTROL_MEMORY_LIMIT, align 8, !tbaa !15
%23 = icmp ugt i64 %16, %22
br i1 %23, label %63, label %24
24: ; preds = %20
%25 = load i64, ptr %13, align 8, !tbaa !16
%26 = icmp eq i64 %25, 0
br i1 %26, label %47, label %27
27: ; preds = %24
%28 = load ptr, ptr %14, align 8, !tbaa !17
br label %29
29: ; preds = %27, %40
%30 = phi i64 [ 0, %27 ], [ %41, %40 ]
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i64 %30
%32 = load i64, ptr %31, align 8, !tbaa !18
%33 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i64 %30, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !20
%35 = add i64 %32, -1
%36 = add i64 %35, %34
%37 = icmp ult i64 %16, %32
%38 = icmp ugt i64 %17, %36
%39 = select i1 %37, i1 true, i1 %38
br i1 %39, label %40, label %43
40: ; preds = %29
%41 = add nuw i64 %30, 1
%42 = icmp eq i64 %41, %25
br i1 %42, label %52, label %29, !llvm.loop !21
43: ; preds = %29
%44 = add i64 %36, %8
%45 = and i64 %44, %10
%46 = add i64 %8, %45
br label %47
47: ; preds = %24, %43
%48 = phi i64 [ %30, %43 ], [ 0, %24 ]
%49 = phi i64 [ %46, %43 ], [ %16, %24 ]
%50 = phi i64 [ %45, %43 ], [ %17, %24 ]
%51 = icmp eq i64 %48, %25
br i1 %51, label %52, label %15
52: ; preds = %47, %40
%53 = phi i64 [ %17, %40 ], [ %50, %47 ]
%54 = phi i64 [ %16, %40 ], [ %49, %47 ]
%55 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !5
%56 = zext nneg i32 %55 to i64
%57 = lshr i64 %53, %56
%58 = tail call ptr @pfn_to_page(i64 noundef %57) #2
store i64 %54, ptr %0, align 8, !tbaa !9
%59 = icmp eq ptr %58, null
br i1 %59, label %63, label %60
60: ; preds = %52
%61 = tail call i32 @page_address(ptr noundef nonnull %58) #2
%62 = tail call i32 @arch_kexec_post_alloc_pages(i32 noundef %61, i32 noundef %3, i32 noundef 0) #2
br label %63
63: ; preds = %20, %15, %60, %52
%64 = phi ptr [ %58, %60 ], [ null, %52 ], [ null, %15 ], [ null, %20 ]
ret ptr %64
}
declare i32 @cond_resched(...) local_unnamed_addr #1
declare ptr @pfn_to_page(i64 noundef) local_unnamed_addr #1
declare i32 @arch_kexec_post_alloc_pages(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @page_address(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 = !{!"kimage", !11, i64 0, !11, i64 8, !12, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_4__", !11, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !11, i64 8}
!17 = !{!10, !12, i64 16}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_3__", !11, i64 0, !11, i64 8}
!20 = !{!19, !11, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/kernel/extr_kexec_core.c_kimage_alloc_crash_control_pages.c'
source_filename = "AnghaBench/linux/kernel/extr_kexec_core.c_kimage_alloc_crash_control_pages.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 { i64 }
%struct.TYPE_3__ = type { i64, i64 }
@PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4
@crashk_res = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@KEXEC_CRASH_CONTROL_MEMORY_LIMIT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @kimage_alloc_crash_control_pages], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @kimage_alloc_crash_control_pages(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = shl nuw i32 1, %1
%4 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !6
%5 = shl i32 %3, %4
%6 = sext i32 %5 to i64
%7 = load i64, ptr %0, align 8, !tbaa !10
%8 = add nsw i64 %6, -1
%9 = add i64 %8, %7
%10 = sub nsw i64 0, %6
%11 = and i64 %9, %10
%12 = add i64 %8, %11
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = getelementptr inbounds i8, ptr %0, i64 16
br label %15
15: ; preds = %47, %2
%16 = phi i64 [ %12, %2 ], [ %49, %47 ]
%17 = phi i64 [ %11, %2 ], [ %50, %47 ]
%18 = load i64, ptr @crashk_res, align 8, !tbaa !14
%19 = icmp ugt i64 %16, %18
br i1 %19, label %63, label %20
20: ; preds = %15
%21 = tail call i32 @cond_resched() #2
%22 = load i64, ptr @KEXEC_CRASH_CONTROL_MEMORY_LIMIT, align 8, !tbaa !16
%23 = icmp ugt i64 %16, %22
br i1 %23, label %63, label %24
24: ; preds = %20
%25 = load i64, ptr %13, align 8, !tbaa !17
%26 = icmp eq i64 %25, 0
br i1 %26, label %47, label %27
27: ; preds = %24
%28 = load ptr, ptr %14, align 8, !tbaa !18
br label %29
29: ; preds = %27, %40
%30 = phi i64 [ 0, %27 ], [ %41, %40 ]
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i64 %30
%32 = load i64, ptr %31, align 8, !tbaa !19
%33 = getelementptr inbounds i8, ptr %31, i64 8
%34 = load i64, ptr %33, align 8, !tbaa !21
%35 = add i64 %32, -1
%36 = add i64 %35, %34
%37 = icmp ult i64 %16, %32
%38 = icmp ugt i64 %17, %36
%39 = select i1 %37, i1 true, i1 %38
br i1 %39, label %40, label %43
40: ; preds = %29
%41 = add nuw i64 %30, 1
%42 = icmp eq i64 %41, %25
br i1 %42, label %52, label %29, !llvm.loop !22
43: ; preds = %29
%44 = add i64 %36, %8
%45 = and i64 %44, %10
%46 = add i64 %8, %45
br label %47
47: ; preds = %24, %43
%48 = phi i64 [ %30, %43 ], [ 0, %24 ]
%49 = phi i64 [ %46, %43 ], [ %16, %24 ]
%50 = phi i64 [ %45, %43 ], [ %17, %24 ]
%51 = icmp eq i64 %48, %25
br i1 %51, label %52, label %15
52: ; preds = %47, %40
%53 = phi i64 [ %17, %40 ], [ %50, %47 ]
%54 = phi i64 [ %16, %40 ], [ %49, %47 ]
%55 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !6
%56 = zext nneg i32 %55 to i64
%57 = lshr i64 %53, %56
%58 = tail call ptr @pfn_to_page(i64 noundef %57) #2
store i64 %54, ptr %0, align 8, !tbaa !10
%59 = icmp eq ptr %58, null
br i1 %59, label %63, label %60
60: ; preds = %52
%61 = tail call i32 @page_address(ptr noundef nonnull %58) #2
%62 = tail call i32 @arch_kexec_post_alloc_pages(i32 noundef %61, i32 noundef %3, i32 noundef 0) #2
br label %63
63: ; preds = %20, %15, %60, %52
%64 = phi ptr [ %58, %60 ], [ null, %52 ], [ null, %15 ], [ null, %20 ]
ret ptr %64
}
declare i32 @cond_resched(...) local_unnamed_addr #1
declare ptr @pfn_to_page(i64 noundef) local_unnamed_addr #1
declare i32 @arch_kexec_post_alloc_pages(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @page_address(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 = !{!"kimage", !12, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_4__", !12, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !12, i64 8}
!18 = !{!11, !13, i64 16}
!19 = !{!20, !12, i64 0}
!20 = !{!"TYPE_3__", !12, i64 0, !12, i64 8}
!21 = !{!20, !12, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| linux_kernel_extr_kexec_core.c_kimage_alloc_crash_control_pages |
; ModuleID = 'AnghaBench/micropython/py/extr_obj.c_mp_obj_id.c'
source_filename = "AnghaBench/micropython/py/extr_obj.c_mp_obj_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @mp_obj_id(i32 noundef %0) local_unnamed_addr #0 {
%2 = sext i32 %0 to i64
%3 = tail call i32 @mp_obj_is_obj(i32 noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @mp_obj_new_int(i64 noundef %2) #2
br label %13
7: ; preds = %1
%8 = icmp sgt i32 %0, -1
br i1 %8, label %9, label %11
9: ; preds = %7
%10 = tail call i32 @MP_OBJ_NEW_SMALL_INT(i64 noundef %2) #2
br label %13
11: ; preds = %7
%12 = tail call i32 @mp_obj_new_int_from_uint(i32 noundef %0) #2
br label %13
13: ; preds = %11, %9, %5
%14 = phi i32 [ %10, %9 ], [ %12, %11 ], [ %6, %5 ]
ret i32 %14
}
declare i32 @mp_obj_is_obj(i32 noundef) local_unnamed_addr #1
declare i32 @mp_obj_new_int(i64 noundef) local_unnamed_addr #1
declare i32 @MP_OBJ_NEW_SMALL_INT(i64 noundef) local_unnamed_addr #1
declare i32 @mp_obj_new_int_from_uint(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/micropython/py/extr_obj.c_mp_obj_id.c'
source_filename = "AnghaBench/micropython/py/extr_obj.c_mp_obj_id.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 @mp_obj_id(i32 noundef %0) local_unnamed_addr #0 {
%2 = sext i32 %0 to i64
%3 = tail call i32 @mp_obj_is_obj(i32 noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @mp_obj_new_int(i64 noundef %2) #2
br label %13
7: ; preds = %1
%8 = icmp sgt i32 %0, -1
br i1 %8, label %9, label %11
9: ; preds = %7
%10 = tail call i32 @MP_OBJ_NEW_SMALL_INT(i64 noundef %2) #2
br label %13
11: ; preds = %7
%12 = tail call i32 @mp_obj_new_int_from_uint(i32 noundef %0) #2
br label %13
13: ; preds = %11, %9, %5
%14 = phi i32 [ %10, %9 ], [ %12, %11 ], [ %6, %5 ]
ret i32 %14
}
declare i32 @mp_obj_is_obj(i32 noundef) local_unnamed_addr #1
declare i32 @mp_obj_new_int(i64 noundef) local_unnamed_addr #1
declare i32 @MP_OBJ_NEW_SMALL_INT(i64 noundef) local_unnamed_addr #1
declare i32 @mp_obj_new_int_from_uint(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)"}
| micropython_py_extr_obj.c_mp_obj_id |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_host_isoc_data_rx.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_host_isoc_data_rx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.saf1761_otg_td = type { i64, i32, i32, i32, i32, i32, i32, i32 }
%struct.saf1761_otg_softc = type { i32, i32 }
@SOTG_HOST_CHANNEL_MAX = dso_local local_unnamed_addr global i64 0, align 8
@SOTG_PTD_DW3 = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"STATUS=0x%08x\0A\00", align 1
@SOTG_PTD_DW3_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW3_HALTED = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW1_ENABLE_SPLIT = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW3_XFER_COUNT_SPLIT = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW3_XFER_COUNT_HS = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW7 = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW6 = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW5 = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW4 = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW3_CERR_3 = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW2 = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW1 = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW0_VALID = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW0 = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_ISO_PTD_SKIP_PTD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @saf1761_host_isoc_data_rx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @saf1761_host_isoc_data_rx(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @SOTG_HOST_CHANNEL_MAX, align 8, !tbaa !11
%5 = icmp slt i64 %3, %4
br i1 %5, label %6, label %46
6: ; preds = %2
%7 = tail call i32 @SOTG_PTD(i64 noundef %3) #2
%8 = load i32, ptr @SOTG_PTD_DW3, align 4, !tbaa !12
%9 = add nsw i32 %8, %7
%10 = tail call i32 @saf1761_peek_host_status_le_4(ptr noundef %0, i32 noundef %9) #2
%11 = tail call i32 @DPRINTFN(i32 noundef 5, ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = load i32, ptr @SOTG_PTD_DW3_ACTIVE, align 4, !tbaa !12
%13 = and i32 %12, %10
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %129
15: ; preds = %6
%16 = load i32, ptr @SOTG_PTD_DW3_HALTED, align 4, !tbaa !12
%17 = and i32 %16, %10
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %127
19: ; preds = %15
%20 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 1
%21 = load i32, ptr %20, align 8, !tbaa !13
%22 = load i32, ptr @SOTG_PTD_DW1_ENABLE_SPLIT, align 4, !tbaa !12
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
%25 = load i32, ptr @SOTG_PTD_DW3_XFER_COUNT_HS, align 4
%26 = load i32, ptr @SOTG_PTD_DW3_XFER_COUNT_SPLIT, align 4
%27 = select i1 %24, i32 %25, i32 %26
%28 = and i32 %27, %10
%29 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 2
%30 = load i32, ptr %29, align 4, !tbaa !14
%31 = icmp eq i32 %28, %30
br i1 %31, label %38, label %32
32: ; preds = %19
%33 = icmp slt i32 %28, %30
br i1 %33, label %34, label %36
34: ; preds = %32
%35 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 3
store i32 1, ptr %35, align 8, !tbaa !15
br label %38
36: ; preds = %32
%37 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 4
store i32 1, ptr %37, align 4, !tbaa !16
br label %127
38: ; preds = %34, %19
%39 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 5
%40 = load i32, ptr %39, align 8, !tbaa !17
%41 = icmp sgt i32 %28, %40
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 4
store i32 1, ptr %43, align 4, !tbaa !16
br label %127
44: ; preds = %38
%45 = tail call i32 @saf1761_read_host_memory(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %28) #2
br label %127
46: ; preds = %2
%47 = tail call i64 @saf1761_host_channel_alloc(ptr noundef %0, ptr noundef nonnull %1) #2
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %129
49: ; preds = %46
%50 = load i64, ptr %1, align 8, !tbaa !5
%51 = tail call i32 @SOTG_PTD(i64 noundef %50) #2
%52 = load i32, ptr @SOTG_PTD_DW7, align 4, !tbaa !12
%53 = add nsw i32 %52, %51
%54 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %53, i32 noundef 0) #2
%55 = load i32, ptr @SOTG_PTD_DW6, align 4, !tbaa !12
%56 = add nsw i32 %55, %51
%57 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %56, i32 noundef 0) #2
%58 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 1
%59 = load i32, ptr %58, align 8, !tbaa !13
%60 = load i32, ptr @SOTG_PTD_DW1_ENABLE_SPLIT, align 4, !tbaa !12
%61 = and i32 %60, %59
%62 = icmp eq i32 %61, 0
br i1 %62, label %69, label %63
63: ; preds = %49
%64 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 6
%65 = load i32, ptr %64, align 4, !tbaa !18
%66 = and i32 %65, 7
%67 = shl nuw nsw i32 252, %66
%68 = and i32 %67, 252
br label %69
69: ; preds = %49, %63
%70 = phi i32 [ %68, %63 ], [ 0, %49 ]
%71 = load i32, ptr @SOTG_PTD_DW5, align 4, !tbaa !12
%72 = add nsw i32 %71, %51
%73 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %72, i32 noundef %70) #2
%74 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 6
%75 = load i32, ptr %74, align 4, !tbaa !18
%76 = and i32 %75, 7
%77 = shl nuw nsw i32 1, %76
%78 = load i32, ptr @SOTG_PTD_DW4, align 4, !tbaa !12
%79 = add nsw i32 %78, %51
%80 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %79, i32 noundef %77) #2
%81 = load i32, ptr @SOTG_PTD_DW3_ACTIVE, align 4, !tbaa !12
%82 = load i32, ptr @SOTG_PTD_DW3_CERR_3, align 4, !tbaa !12
%83 = or i32 %82, %81
%84 = load i32, ptr @SOTG_PTD_DW3, align 4, !tbaa !12
%85 = add nsw i32 %84, %51
%86 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %85, i32 noundef %83) #2
%87 = load i64, ptr %1, align 8, !tbaa !5
%88 = tail call i32 @SOTG_DATA_ADDR(i64 noundef %87) #2
%89 = tail call i32 @SOTG_HC_MEMORY_ADDR(i32 noundef %88) #2
%90 = shl i32 %89, 8
%91 = load i32, ptr %74, align 4, !tbaa !18
%92 = and i32 %91, 248
%93 = or disjoint i32 %92, %90
%94 = load i32, ptr @SOTG_PTD_DW2, align 4, !tbaa !12
%95 = add nsw i32 %94, %51
%96 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %95, i32 noundef %93) #2
%97 = load i32, ptr %58, align 8, !tbaa !13
%98 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 7
%99 = load i32, ptr %98, align 8, !tbaa !19
%100 = ashr i32 %99, 1
%101 = or i32 %97, %100
%102 = or i32 %101, 1024
%103 = load i32, ptr @SOTG_PTD_DW1, align 4, !tbaa !12
%104 = add nsw i32 %103, %51
%105 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %104, i32 noundef %102) #2
%106 = load i32, ptr %98, align 8, !tbaa !19
%107 = shl i32 %106, 31
%108 = getelementptr inbounds %struct.saf1761_otg_td, ptr %1, i64 0, i32 2
%109 = load i32, ptr %108, align 4, !tbaa !14
%110 = shl i32 %109, 18
%111 = shl i32 %109, 3
%112 = load i32, ptr @SOTG_PTD_DW0_VALID, align 4, !tbaa !12
%113 = or i32 %107, %110
%114 = or i32 %113, %111
%115 = or i32 %114, %112
%116 = or i32 %115, 536870912
%117 = load i32, ptr @SOTG_PTD_DW0, align 4, !tbaa !12
%118 = add nsw i32 %117, %51
%119 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %118, i32 noundef %116) #2
%120 = load i32, ptr @SOTG_ISO_PTD_SKIP_PTD, align 4, !tbaa !12
%121 = load i32, ptr %0, align 4, !tbaa !20
%122 = xor i32 %121, -1
%123 = getelementptr inbounds %struct.saf1761_otg_softc, ptr %0, i64 0, i32 1
%124 = load i32, ptr %123, align 4, !tbaa !22
%125 = or i32 %124, %122
%126 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef nonnull %0, i32 noundef %120, i32 noundef %125) #2
br label %129
127: ; preds = %42, %44, %36, %15
%128 = tail call i32 @saf1761_host_channel_free(ptr noundef %0, ptr noundef nonnull %1) #2
br label %129
129: ; preds = %6, %69, %46, %127
%130 = phi i32 [ 0, %127 ], [ 1, %46 ], [ 1, %69 ], [ 1, %6 ]
ret i32 %130
}
declare i32 @SOTG_PTD(i64 noundef) local_unnamed_addr #1
declare i32 @saf1761_peek_host_status_le_4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTFN(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @saf1761_read_host_memory(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @saf1761_host_channel_alloc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @SAF1761_WRITE_LE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SOTG_HC_MEMORY_ADDR(i32 noundef) local_unnamed_addr #1
declare i32 @SOTG_DATA_ADDR(i64 noundef) local_unnamed_addr #1
declare i32 @saf1761_host_channel_free(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 = !{!"saf1761_otg_td", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !10, i64 12}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !10, i64 20}
!17 = !{!6, !10, i64 24}
!18 = !{!6, !10, i64 28}
!19 = !{!6, !10, i64 32}
!20 = !{!21, !10, i64 0}
!21 = !{!"saf1761_otg_softc", !10, i64 0, !10, i64 4}
!22 = !{!21, !10, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_host_isoc_data_rx.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_host_isoc_data_rx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOTG_HOST_CHANNEL_MAX = common local_unnamed_addr global i64 0, align 8
@SOTG_PTD_DW3 = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"STATUS=0x%08x\0A\00", align 1
@SOTG_PTD_DW3_ACTIVE = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW3_HALTED = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW1_ENABLE_SPLIT = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW3_XFER_COUNT_SPLIT = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW3_XFER_COUNT_HS = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW7 = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW6 = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW5 = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW4 = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW3_CERR_3 = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW2 = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW1 = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW0_VALID = common local_unnamed_addr global i32 0, align 4
@SOTG_PTD_DW0 = common local_unnamed_addr global i32 0, align 4
@SOTG_ISO_PTD_SKIP_PTD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @saf1761_host_isoc_data_rx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @saf1761_host_isoc_data_rx(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @SOTG_HOST_CHANNEL_MAX, align 8, !tbaa !12
%5 = icmp slt i64 %3, %4
br i1 %5, label %6, label %46
6: ; preds = %2
%7 = tail call i32 @SOTG_PTD(i64 noundef %3) #2
%8 = load i32, ptr @SOTG_PTD_DW3, align 4, !tbaa !13
%9 = add nsw i32 %8, %7
%10 = tail call i32 @saf1761_peek_host_status_le_4(ptr noundef %0, i32 noundef %9) #2
%11 = tail call i32 @DPRINTFN(i32 noundef 5, ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = load i32, ptr @SOTG_PTD_DW3_ACTIVE, align 4, !tbaa !13
%13 = and i32 %12, %10
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %129
15: ; preds = %6
%16 = load i32, ptr @SOTG_PTD_DW3_HALTED, align 4, !tbaa !13
%17 = and i32 %16, %10
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %127
19: ; preds = %15
%20 = getelementptr inbounds i8, ptr %1, i64 8
%21 = load i32, ptr %20, align 8, !tbaa !14
%22 = load i32, ptr @SOTG_PTD_DW1_ENABLE_SPLIT, align 4, !tbaa !13
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
%25 = load i32, ptr @SOTG_PTD_DW3_XFER_COUNT_HS, align 4
%26 = load i32, ptr @SOTG_PTD_DW3_XFER_COUNT_SPLIT, align 4
%27 = select i1 %24, i32 %25, i32 %26
%28 = and i32 %27, %10
%29 = getelementptr inbounds i8, ptr %1, i64 12
%30 = load i32, ptr %29, align 4, !tbaa !15
%31 = icmp eq i32 %28, %30
br i1 %31, label %38, label %32
32: ; preds = %19
%33 = icmp slt i32 %28, %30
br i1 %33, label %34, label %36
34: ; preds = %32
%35 = getelementptr inbounds i8, ptr %1, i64 16
store i32 1, ptr %35, align 8, !tbaa !16
br label %38
36: ; preds = %32
%37 = getelementptr inbounds i8, ptr %1, i64 20
store i32 1, ptr %37, align 4, !tbaa !17
br label %127
38: ; preds = %34, %19
%39 = getelementptr inbounds i8, ptr %1, i64 24
%40 = load i32, ptr %39, align 8, !tbaa !18
%41 = icmp sgt i32 %28, %40
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = getelementptr inbounds i8, ptr %1, i64 20
store i32 1, ptr %43, align 4, !tbaa !17
br label %127
44: ; preds = %38
%45 = tail call i32 @saf1761_read_host_memory(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %28) #2
br label %127
46: ; preds = %2
%47 = tail call i64 @saf1761_host_channel_alloc(ptr noundef %0, ptr noundef nonnull %1) #2
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %129
49: ; preds = %46
%50 = load i64, ptr %1, align 8, !tbaa !6
%51 = tail call i32 @SOTG_PTD(i64 noundef %50) #2
%52 = load i32, ptr @SOTG_PTD_DW7, align 4, !tbaa !13
%53 = add nsw i32 %52, %51
%54 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %53, i32 noundef 0) #2
%55 = load i32, ptr @SOTG_PTD_DW6, align 4, !tbaa !13
%56 = add nsw i32 %55, %51
%57 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %56, i32 noundef 0) #2
%58 = getelementptr inbounds i8, ptr %1, i64 8
%59 = load i32, ptr %58, align 8, !tbaa !14
%60 = load i32, ptr @SOTG_PTD_DW1_ENABLE_SPLIT, align 4, !tbaa !13
%61 = and i32 %60, %59
%62 = icmp eq i32 %61, 0
br i1 %62, label %69, label %63
63: ; preds = %49
%64 = getelementptr inbounds i8, ptr %1, i64 28
%65 = load i32, ptr %64, align 4, !tbaa !19
%66 = and i32 %65, 7
%67 = shl nuw nsw i32 252, %66
%68 = and i32 %67, 252
br label %69
69: ; preds = %49, %63
%70 = phi i32 [ %68, %63 ], [ 0, %49 ]
%71 = load i32, ptr @SOTG_PTD_DW5, align 4, !tbaa !13
%72 = add nsw i32 %71, %51
%73 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %72, i32 noundef %70) #2
%74 = getelementptr inbounds i8, ptr %1, i64 28
%75 = load i32, ptr %74, align 4, !tbaa !19
%76 = and i32 %75, 7
%77 = shl nuw nsw i32 1, %76
%78 = load i32, ptr @SOTG_PTD_DW4, align 4, !tbaa !13
%79 = add nsw i32 %78, %51
%80 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %79, i32 noundef %77) #2
%81 = load i32, ptr @SOTG_PTD_DW3_ACTIVE, align 4, !tbaa !13
%82 = load i32, ptr @SOTG_PTD_DW3_CERR_3, align 4, !tbaa !13
%83 = or i32 %82, %81
%84 = load i32, ptr @SOTG_PTD_DW3, align 4, !tbaa !13
%85 = add nsw i32 %84, %51
%86 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %85, i32 noundef %83) #2
%87 = load i64, ptr %1, align 8, !tbaa !6
%88 = tail call i32 @SOTG_DATA_ADDR(i64 noundef %87) #2
%89 = tail call i32 @SOTG_HC_MEMORY_ADDR(i32 noundef %88) #2
%90 = shl i32 %89, 8
%91 = load i32, ptr %74, align 4, !tbaa !19
%92 = and i32 %91, 248
%93 = or disjoint i32 %92, %90
%94 = load i32, ptr @SOTG_PTD_DW2, align 4, !tbaa !13
%95 = add nsw i32 %94, %51
%96 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %95, i32 noundef %93) #2
%97 = load i32, ptr %58, align 8, !tbaa !14
%98 = getelementptr inbounds i8, ptr %1, i64 32
%99 = load i32, ptr %98, align 8, !tbaa !20
%100 = ashr i32 %99, 1
%101 = or i32 %97, %100
%102 = or i32 %101, 1024
%103 = load i32, ptr @SOTG_PTD_DW1, align 4, !tbaa !13
%104 = add nsw i32 %103, %51
%105 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %104, i32 noundef %102) #2
%106 = load i32, ptr %98, align 8, !tbaa !20
%107 = shl i32 %106, 31
%108 = getelementptr inbounds i8, ptr %1, i64 12
%109 = load i32, ptr %108, align 4, !tbaa !15
%110 = shl i32 %109, 18
%111 = shl i32 %109, 3
%112 = load i32, ptr @SOTG_PTD_DW0_VALID, align 4, !tbaa !13
%113 = or i32 %107, %110
%114 = or i32 %113, %111
%115 = or i32 %114, %112
%116 = or i32 %115, 536870912
%117 = load i32, ptr @SOTG_PTD_DW0, align 4, !tbaa !13
%118 = add nsw i32 %117, %51
%119 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %118, i32 noundef %116) #2
%120 = load i32, ptr @SOTG_ISO_PTD_SKIP_PTD, align 4, !tbaa !13
%121 = load i32, ptr %0, align 4, !tbaa !21
%122 = xor i32 %121, -1
%123 = getelementptr inbounds i8, ptr %0, i64 4
%124 = load i32, ptr %123, align 4, !tbaa !23
%125 = or i32 %124, %122
%126 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef nonnull %0, i32 noundef %120, i32 noundef %125) #2
br label %129
127: ; preds = %42, %44, %36, %15
%128 = tail call i32 @saf1761_host_channel_free(ptr noundef %0, ptr noundef nonnull %1) #2
br label %129
129: ; preds = %6, %69, %46, %127
%130 = phi i32 [ 0, %127 ], [ 1, %46 ], [ 1, %69 ], [ 1, %6 ]
ret i32 %130
}
declare i32 @SOTG_PTD(i64 noundef) local_unnamed_addr #1
declare i32 @saf1761_peek_host_status_le_4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTFN(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @saf1761_read_host_memory(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @saf1761_host_channel_alloc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @SAF1761_WRITE_LE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SOTG_HC_MEMORY_ADDR(i32 noundef) local_unnamed_addr #1
declare i32 @SOTG_DATA_ADDR(i64 noundef) local_unnamed_addr #1
declare i32 @saf1761_host_channel_free(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 = !{!"saf1761_otg_td", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !11, i64 12}
!16 = !{!7, !11, i64 16}
!17 = !{!7, !11, i64 20}
!18 = !{!7, !11, i64 24}
!19 = !{!7, !11, i64 28}
!20 = !{!7, !11, i64 32}
!21 = !{!22, !11, i64 0}
!22 = !{!"saf1761_otg_softc", !11, i64 0, !11, i64 4}
!23 = !{!22, !11, i64 4}
| freebsd_sys_dev_usb_controller_extr_saf1761_otg.c_saf1761_host_isoc_data_rx |
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/spi/extr_spi-rb4xx-cpld.c_rb4xx_cpld_gpio_direction_input.c'
source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/spi/extr_spi-rb4xx-cpld.c_rb4xx_cpld_gpio_direction_input.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rb4xx_cpld_gpio_direction_input], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @rb4xx_cpld_gpio_direction_input(ptr nocapture readnone %0, i32 %1) #0 {
%3 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%4 = sub nsw i32 0, %3
ret i32 %4
}
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/openwrt/target/linux/ar71xx/files/drivers/spi/extr_spi-rb4xx-cpld.c_rb4xx_cpld_gpio_direction_input.c'
source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/spi/extr_spi-rb4xx-cpld.c_rb4xx_cpld_gpio_direction_input.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rb4xx_cpld_gpio_direction_input], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rb4xx_cpld_gpio_direction_input(ptr nocapture readnone %0, i32 %1) #0 {
%3 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%4 = sub nsw i32 0, %3
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| openwrt_target_linux_ar71xx_files_drivers_spi_extr_spi-rb4xx-cpld.c_rb4xx_cpld_gpio_direction_input |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kperf/extr_pet.c_kperf_pet_fire_after.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kperf/extr_pet.c_kperf_pet_fire_after.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@pet_initted = dso_local local_unnamed_addr global i32 0, align 4
@pet_running = dso_local local_unnamed_addr global i32 0, align 4
@lightweight_pet = dso_local local_unnamed_addr global i64 0, align 8
@pet_action_id = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @kperf_pet_fire_after() local_unnamed_addr #0 {
%1 = load i32, ptr @pet_initted, align 4, !tbaa !5
%2 = icmp ne i32 %1, 0
%3 = load i32, ptr @pet_running, align 4
%4 = icmp ne i32 %3, 0
%5 = select i1 %2, i1 %4, i1 false
br i1 %5, label %6, label %13
6: ; preds = %0
%7 = load i64, ptr @lightweight_pet, align 8, !tbaa !9
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @kperf_timer_pet_rearm(i32 noundef 0) #2
br label %13
11: ; preds = %6
%12 = tail call i32 @thread_wakeup(ptr noundef nonnull @pet_action_id) #2
br label %13
13: ; preds = %0, %11, %9
ret void
}
declare i32 @kperf_timer_pet_rearm(i32 noundef) local_unnamed_addr #1
declare i32 @thread_wakeup(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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kperf/extr_pet.c_kperf_pet_fire_after.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kperf/extr_pet.c_kperf_pet_fire_after.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pet_initted = common local_unnamed_addr global i32 0, align 4
@pet_running = common local_unnamed_addr global i32 0, align 4
@lightweight_pet = common local_unnamed_addr global i64 0, align 8
@pet_action_id = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @kperf_pet_fire_after() local_unnamed_addr #0 {
%1 = load i32, ptr @pet_initted, align 4, !tbaa !6
%2 = icmp ne i32 %1, 0
%3 = load i32, ptr @pet_running, align 4
%4 = icmp ne i32 %3, 0
%5 = select i1 %2, i1 %4, i1 false
br i1 %5, label %6, label %13
6: ; preds = %0
%7 = load i64, ptr @lightweight_pet, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @kperf_timer_pet_rearm(i32 noundef 0) #2
br label %13
11: ; preds = %6
%12 = tail call i32 @thread_wakeup(ptr noundef nonnull @pet_action_id) #2
br label %13
13: ; preds = %0, %11, %9
ret void
}
declare i32 @kperf_timer_pet_rearm(i32 noundef) local_unnamed_addr #1
declare i32 @thread_wakeup(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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| darwin-xnu_osfmk_kperf_extr_pet.c_kperf_pet_fire_after |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-samsung-s6e8aa0.c_s6e8aa0_power_off.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-samsung-s6e8aa0.c_s6e8aa0_power_off.c"
target datalayout = "e-m:e-p270:32:32-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 @s6e8aa0_power_off], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s6e8aa0_power_off(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @regulator_bulk_disable(i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @regulator_bulk_disable(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"s6e8aa0", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-samsung-s6e8aa0.c_s6e8aa0_power_off.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-samsung-s6e8aa0.c_s6e8aa0_power_off.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 @s6e8aa0_power_off], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s6e8aa0_power_off(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @regulator_bulk_disable(i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @regulator_bulk_disable(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"s6e8aa0", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_panel_extr_panel-samsung-s6e8aa0.c_s6e8aa0_power_off |
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-event/extr_sd-event.c_signal_exit_callback.c'
source_filename = "AnghaBench/systemd/src/libsystemd/sd-event/extr_sd-event.c_signal_exit_callback.c"
target datalayout = "e-m:e-p270:32:32-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 @signal_exit_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @signal_exit_callback(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call i32 @assert(ptr noundef %0) #2
%5 = tail call i32 @sd_event_source_get_event(ptr noundef %0) #2
%6 = tail call i32 @PTR_TO_INT(ptr noundef %2) #2
%7 = tail call i32 @sd_event_exit(i32 noundef %5, i32 noundef %6) #2
ret i32 %7
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @sd_event_exit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sd_event_source_get_event(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_TO_INT(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/systemd/src/libsystemd/sd-event/extr_sd-event.c_signal_exit_callback.c'
source_filename = "AnghaBench/systemd/src/libsystemd/sd-event/extr_sd-event.c_signal_exit_callback.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 @signal_exit_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @signal_exit_callback(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call i32 @assert(ptr noundef %0) #2
%5 = tail call i32 @sd_event_source_get_event(ptr noundef %0) #2
%6 = tail call i32 @PTR_TO_INT(ptr noundef %2) #2
%7 = tail call i32 @sd_event_exit(i32 noundef %5, i32 noundef %6) #2
ret i32 %7
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @sd_event_exit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sd_event_source_get_event(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_TO_INT(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)"}
| systemd_src_libsystemd_sd-event_extr_sd-event.c_signal_exit_callback |
; ModuleID = 'AnghaBench/reactos/dll/win32/ole32/extr_storage32.c_StorageUtl_ReadULargeInteger.c'
source_filename = "AnghaBench/reactos/dll/win32/ole32/extr_storage32.c_StorageUtl_ReadULargeInteger.c"
target datalayout = "e-m:e-p270:32:32-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 @StorageUtl_ReadULargeInteger(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = sext i32 %1 to i64
%5 = getelementptr inbounds i32, ptr %0, i64 %4
%6 = tail call i32 @memcpy(ptr noundef %2, ptr noundef %5, i32 noundef 16) #2
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/ole32/extr_storage32.c_StorageUtl_ReadULargeInteger.c'
source_filename = "AnghaBench/reactos/dll/win32/ole32/extr_storage32.c_StorageUtl_ReadULargeInteger.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 @StorageUtl_ReadULargeInteger(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = sext i32 %1 to i64
%5 = getelementptr inbounds i32, ptr %0, i64 %4
%6 = tail call i32 @memcpy(ptr noundef %2, ptr noundef %5, i32 noundef 16) #2
ret void
}
declare i32 @memcpy(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)"}
| reactos_dll_win32_ole32_extr_storage32.c_StorageUtl_ReadULargeInteger |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_11n.c_mwifiex_11n_delete_ba_stream.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_11n.c_mwifiex_11n_delete_ba_stream.c"
target datalayout = "e-m:e-p270:32:32-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.host_cmd_ds_11n_delba = type { i32, i32 }
@DELBA_TID_POS = dso_local local_unnamed_addr global i32 0, align 4
@TYPE_DELBA_RECEIVE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mwifiex_11n_delete_ba_stream(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.host_cmd_ds_11n_delba, ptr %1, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @le16_to_cpu(i32 noundef %4) #2
%6 = load i32, ptr @DELBA_TID_POS, align 4, !tbaa !10
%7 = ashr i32 %5, %6
%8 = load i32, ptr %1, align 4, !tbaa !11
%9 = load i32, ptr @TYPE_DELBA_RECEIVE, align 4, !tbaa !10
%10 = tail call i32 @INITIATOR_BIT(i32 noundef %5) #2
%11 = tail call i32 @mwifiex_del_ba_tbl(ptr noundef %0, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
ret void
}
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @mwifiex_del_ba_tbl(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INITIATOR_BIT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"host_cmd_ds_11n_delba", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_11n.c_mwifiex_11n_delete_ba_stream.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_11n.c_mwifiex_11n_delete_ba_stream.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DELBA_TID_POS = common local_unnamed_addr global i32 0, align 4
@TYPE_DELBA_RECEIVE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mwifiex_11n_delete_ba_stream(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 = tail call i32 @le16_to_cpu(i32 noundef %4) #2
%6 = load i32, ptr @DELBA_TID_POS, align 4, !tbaa !11
%7 = ashr i32 %5, %6
%8 = load i32, ptr %1, align 4, !tbaa !12
%9 = load i32, ptr @TYPE_DELBA_RECEIVE, align 4, !tbaa !11
%10 = tail call i32 @INITIATOR_BIT(i32 noundef %5) #2
%11 = tail call i32 @mwifiex_del_ba_tbl(ptr noundef %0, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
ret void
}
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @mwifiex_del_ba_tbl(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INITIATOR_BIT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"host_cmd_ds_11n_delba", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| linux_drivers_net_wireless_marvell_mwifiex_extr_11n.c_mwifiex_11n_delete_ba_stream |
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_getset.c_array_struct_get.c'
source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_getset.c_array_struct_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"
%struct.TYPE_7__ = type { i32, i32, i32, ptr, i32, ptr, ptr, i32, i32 }
%struct.TYPE_8__ = type { i32, i32 }
@NPY_ARRAY_WRITEBACKIFCOPY = dso_local local_unnamed_addr global i32 0, align 4
@NPY_ARRAY_UPDATEIFCOPY = dso_local local_unnamed_addr global i32 0, align 4
@NPY_ARRAY_OWNDATA = dso_local local_unnamed_addr global i32 0, align 4
@NPY_ARRAY_NOTSWAPPED = dso_local local_unnamed_addr global i32 0, align 4
@NPY_ARR_HAS_DESCR = dso_local local_unnamed_addr global i32 0, align 4
@gentype_struct_free = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @array_struct_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @array_struct_get(ptr noundef %0) #0 {
%2 = tail call i64 @PyArray_ISWRITEABLE(ptr noundef %0) #3
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i64 @array_might_be_written(ptr noundef %0) #3
%6 = icmp slt i64 %5, 0
br i1 %6, label %94, label %7
7: ; preds = %4, %1
%8 = tail call i64 @PyArray_malloc(i32 noundef 56) #3
%9 = inttoptr i64 %8 to ptr
%10 = icmp eq i64 %8, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = tail call ptr (...) @PyErr_NoMemory() #3
br label %94
13: ; preds = %7
store i32 2, ptr %9, align 8, !tbaa !5
%14 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%15 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 1
store i32 %14, ptr %15, align 4, !tbaa !11
%16 = tail call ptr @PyArray_DESCR(ptr noundef %0) #3
%17 = getelementptr inbounds %struct.TYPE_8__, ptr %16, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 8
store i32 %18, ptr %19, align 4, !tbaa !14
%20 = tail call ptr @PyArray_DESCR(ptr noundef %0) #3
%21 = load i32, ptr %20, align 4, !tbaa !15
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 7
store i32 %21, ptr %22, align 8, !tbaa !16
%23 = tail call i32 @PyArray_FLAGS(ptr noundef %0) #3
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 2
%25 = load i32, ptr @NPY_ARRAY_WRITEBACKIFCOPY, align 4, !tbaa !17
%26 = load i32, ptr @NPY_ARRAY_UPDATEIFCOPY, align 4, !tbaa !17
%27 = or i32 %26, %25
%28 = load i32, ptr @NPY_ARRAY_OWNDATA, align 4, !tbaa !17
%29 = or i32 %27, %28
%30 = xor i32 %29, -1
%31 = and i32 %23, %30
store i32 %31, ptr %24, align 8, !tbaa !18
%32 = tail call i64 @PyArray_ISNOTSWAPPED(ptr noundef %0) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %13
%35 = load i32, ptr @NPY_ARRAY_NOTSWAPPED, align 4, !tbaa !17
%36 = load i32, ptr %24, align 8, !tbaa !18
%37 = or i32 %36, %35
store i32 %37, ptr %24, align 8, !tbaa !18
br label %38
38: ; preds = %34, %13
%39 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %69
41: ; preds = %38
%42 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%43 = shl i32 %42, 3
%44 = tail call i64 @PyArray_malloc(i32 noundef %43) #3
%45 = inttoptr i64 %44 to ptr
%46 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 6
store ptr %45, ptr %46, align 8, !tbaa !19
%47 = icmp eq i64 %44, 0
br i1 %47, label %48, label %51
48: ; preds = %41
%49 = tail call i32 @PyArray_free(ptr noundef nonnull %9) #3
%50 = tail call ptr (...) @PyErr_NoMemory() #3
br label %94
51: ; preds = %41
%52 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %45, i64 %53
%55 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 5
store ptr %54, ptr %55, align 8, !tbaa !20
%56 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%57 = icmp eq i32 %56, 0
br i1 %57, label %71, label %58
58: ; preds = %51
%59 = load ptr, ptr %46, align 8, !tbaa !19
%60 = tail call i32 @PyArray_DIMS(ptr noundef %0) #3
%61 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%62 = shl i32 %61, 2
%63 = tail call i32 @memcpy(ptr noundef %59, i32 noundef %60, i32 noundef %62) #3
%64 = load ptr, ptr %55, align 8, !tbaa !20
%65 = tail call i32 @PyArray_STRIDES(ptr noundef %0) #3
%66 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%67 = shl i32 %66, 2
%68 = tail call i32 @memcpy(ptr noundef %64, i32 noundef %65, i32 noundef %67) #3
br label %71
69: ; preds = %38
%70 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 5
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %70, i8 0, i64 16, i1 false)
br label %71
71: ; preds = %51, %58, %69
%72 = tail call i32 @PyArray_DATA(ptr noundef %0) #3
%73 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 4
store i32 %72, ptr %73, align 8, !tbaa !21
%74 = tail call ptr @PyArray_DESCR(ptr noundef %0) #3
%75 = tail call i64 @PyDataType_HASFIELDS(ptr noundef %74) #3
%76 = icmp eq i64 %75, 0
br i1 %76, label %88, label %77
77: ; preds = %71
%78 = tail call ptr @PyArray_DESCR(ptr noundef %0) #3
%79 = tail call ptr @arraydescr_protocol_descr_get(ptr noundef %78) #3
%80 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 3
store ptr %79, ptr %80, align 8, !tbaa !22
%81 = icmp eq ptr %79, null
br i1 %81, label %82, label %84
82: ; preds = %77
%83 = tail call i32 (...) @PyErr_Clear() #3
br label %90
84: ; preds = %77
%85 = load i32, ptr @NPY_ARR_HAS_DESCR, align 4, !tbaa !17
%86 = load i32, ptr %24, align 8, !tbaa !18
%87 = and i32 %86, %85
store i32 %87, ptr %24, align 8, !tbaa !18
br label %90
88: ; preds = %71
%89 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 3
store ptr null, ptr %89, align 8, !tbaa !22
br label %90
90: ; preds = %82, %84, %88
%91 = tail call i32 @Py_INCREF(ptr noundef %0) #3
%92 = load i32, ptr @gentype_struct_free, align 4, !tbaa !17
%93 = tail call ptr @NpyCapsule_FromVoidPtrAndDesc(ptr noundef nonnull %9, ptr noundef %0, i32 noundef %92) #3
br label %94
94: ; preds = %4, %90, %48, %11
%95 = phi ptr [ %12, %11 ], [ %50, %48 ], [ %93, %90 ], [ null, %4 ]
ret ptr %95
}
declare i64 @PyArray_ISWRITEABLE(ptr noundef) local_unnamed_addr #1
declare i64 @array_might_be_written(ptr noundef) local_unnamed_addr #1
declare i64 @PyArray_malloc(i32 noundef) local_unnamed_addr #1
declare ptr @PyErr_NoMemory(...) local_unnamed_addr #1
declare i32 @PyArray_NDIM(ptr noundef) local_unnamed_addr #1
declare ptr @PyArray_DESCR(ptr noundef) local_unnamed_addr #1
declare i32 @PyArray_FLAGS(ptr noundef) local_unnamed_addr #1
declare i64 @PyArray_ISNOTSWAPPED(ptr noundef) local_unnamed_addr #1
declare i32 @PyArray_free(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PyArray_DIMS(ptr noundef) local_unnamed_addr #1
declare i32 @PyArray_STRIDES(ptr noundef) local_unnamed_addr #1
declare i32 @PyArray_DATA(ptr noundef) local_unnamed_addr #1
declare i64 @PyDataType_HASFIELDS(ptr noundef) local_unnamed_addr #1
declare ptr @arraydescr_protocol_descr_get(ptr noundef) local_unnamed_addr #1
declare i32 @PyErr_Clear(...) local_unnamed_addr #1
declare i32 @Py_INCREF(ptr noundef) local_unnamed_addr #1
declare ptr @NpyCapsule_FromVoidPtrAndDesc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !10, i64 40, !7, i64 48, !7, i64 52}
!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, !7, i64 4}
!13 = !{!"TYPE_8__", !7, i64 0, !7, i64 4}
!14 = !{!6, !7, i64 52}
!15 = !{!13, !7, i64 0}
!16 = !{!6, !7, i64 48}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !10, i64 40}
!20 = !{!6, !10, i64 32}
!21 = !{!6, !7, i64 24}
!22 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_getset.c_array_struct_get.c'
source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_getset.c_array_struct_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NPY_ARRAY_WRITEBACKIFCOPY = common local_unnamed_addr global i32 0, align 4
@NPY_ARRAY_UPDATEIFCOPY = common local_unnamed_addr global i32 0, align 4
@NPY_ARRAY_OWNDATA = common local_unnamed_addr global i32 0, align 4
@NPY_ARRAY_NOTSWAPPED = common local_unnamed_addr global i32 0, align 4
@NPY_ARR_HAS_DESCR = common local_unnamed_addr global i32 0, align 4
@gentype_struct_free = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @array_struct_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @array_struct_get(ptr noundef %0) #0 {
%2 = tail call i64 @PyArray_ISWRITEABLE(ptr noundef %0) #3
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call i64 @array_might_be_written(ptr noundef %0) #3
%6 = icmp slt i64 %5, 0
br i1 %6, label %94, label %7
7: ; preds = %4, %1
%8 = tail call i64 @PyArray_malloc(i32 noundef 56) #3
%9 = inttoptr i64 %8 to ptr
%10 = icmp eq i64 %8, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = tail call ptr @PyErr_NoMemory() #3
br label %94
13: ; preds = %7
store i32 2, ptr %9, align 8, !tbaa !6
%14 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%15 = getelementptr inbounds i8, ptr %9, i64 4
store i32 %14, ptr %15, align 4, !tbaa !12
%16 = tail call ptr @PyArray_DESCR(ptr noundef %0) #3
%17 = getelementptr inbounds i8, ptr %16, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = getelementptr inbounds i8, ptr %9, i64 52
store i32 %18, ptr %19, align 4, !tbaa !15
%20 = tail call ptr @PyArray_DESCR(ptr noundef %0) #3
%21 = load i32, ptr %20, align 4, !tbaa !16
%22 = getelementptr inbounds i8, ptr %9, i64 48
store i32 %21, ptr %22, align 8, !tbaa !17
%23 = tail call i32 @PyArray_FLAGS(ptr noundef %0) #3
%24 = getelementptr inbounds i8, ptr %9, i64 8
%25 = load i32, ptr @NPY_ARRAY_WRITEBACKIFCOPY, align 4, !tbaa !18
%26 = load i32, ptr @NPY_ARRAY_UPDATEIFCOPY, align 4, !tbaa !18
%27 = or i32 %26, %25
%28 = load i32, ptr @NPY_ARRAY_OWNDATA, align 4, !tbaa !18
%29 = or i32 %27, %28
%30 = xor i32 %29, -1
%31 = and i32 %23, %30
store i32 %31, ptr %24, align 8, !tbaa !19
%32 = tail call i64 @PyArray_ISNOTSWAPPED(ptr noundef %0) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %13
%35 = load i32, ptr @NPY_ARRAY_NOTSWAPPED, align 4, !tbaa !18
%36 = load i32, ptr %24, align 8, !tbaa !19
%37 = or i32 %36, %35
store i32 %37, ptr %24, align 8, !tbaa !19
br label %38
38: ; preds = %34, %13
%39 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %69
41: ; preds = %38
%42 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%43 = shl i32 %42, 3
%44 = tail call i64 @PyArray_malloc(i32 noundef %43) #3
%45 = inttoptr i64 %44 to ptr
%46 = getelementptr inbounds i8, ptr %9, i64 40
store ptr %45, ptr %46, align 8, !tbaa !20
%47 = icmp eq i64 %44, 0
br i1 %47, label %48, label %51
48: ; preds = %41
%49 = tail call i32 @PyArray_free(ptr noundef nonnull %9) #3
%50 = tail call ptr @PyErr_NoMemory() #3
br label %94
51: ; preds = %41
%52 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %45, i64 %53
%55 = getelementptr inbounds i8, ptr %9, i64 32
store ptr %54, ptr %55, align 8, !tbaa !21
%56 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%57 = icmp eq i32 %56, 0
br i1 %57, label %71, label %58
58: ; preds = %51
%59 = load ptr, ptr %46, align 8, !tbaa !20
%60 = tail call i32 @PyArray_DIMS(ptr noundef %0) #3
%61 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%62 = shl i32 %61, 2
%63 = tail call i32 @memcpy(ptr noundef %59, i32 noundef %60, i32 noundef %62) #3
%64 = load ptr, ptr %55, align 8, !tbaa !21
%65 = tail call i32 @PyArray_STRIDES(ptr noundef %0) #3
%66 = tail call i32 @PyArray_NDIM(ptr noundef %0) #3
%67 = shl i32 %66, 2
%68 = tail call i32 @memcpy(ptr noundef %64, i32 noundef %65, i32 noundef %67) #3
br label %71
69: ; preds = %38
%70 = getelementptr inbounds i8, ptr %9, i64 32
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %70, i8 0, i64 16, i1 false)
br label %71
71: ; preds = %51, %58, %69
%72 = tail call i32 @PyArray_DATA(ptr noundef %0) #3
%73 = getelementptr inbounds i8, ptr %9, i64 24
store i32 %72, ptr %73, align 8, !tbaa !22
%74 = tail call ptr @PyArray_DESCR(ptr noundef %0) #3
%75 = tail call i64 @PyDataType_HASFIELDS(ptr noundef %74) #3
%76 = icmp eq i64 %75, 0
br i1 %76, label %88, label %77
77: ; preds = %71
%78 = tail call ptr @PyArray_DESCR(ptr noundef %0) #3
%79 = tail call ptr @arraydescr_protocol_descr_get(ptr noundef %78) #3
%80 = getelementptr inbounds i8, ptr %9, i64 16
store ptr %79, ptr %80, align 8, !tbaa !23
%81 = icmp eq ptr %79, null
br i1 %81, label %82, label %84
82: ; preds = %77
%83 = tail call i32 @PyErr_Clear() #3
br label %90
84: ; preds = %77
%85 = load i32, ptr @NPY_ARR_HAS_DESCR, align 4, !tbaa !18
%86 = load i32, ptr %24, align 8, !tbaa !19
%87 = and i32 %86, %85
store i32 %87, ptr %24, align 8, !tbaa !19
br label %90
88: ; preds = %71
%89 = getelementptr inbounds i8, ptr %9, i64 16
store ptr null, ptr %89, align 8, !tbaa !23
br label %90
90: ; preds = %82, %84, %88
%91 = tail call i32 @Py_INCREF(ptr noundef %0) #3
%92 = load i32, ptr @gentype_struct_free, align 4, !tbaa !18
%93 = tail call ptr @NpyCapsule_FromVoidPtrAndDesc(ptr noundef nonnull %9, ptr noundef %0, i32 noundef %92) #3
br label %94
94: ; preds = %4, %90, %48, %11
%95 = phi ptr [ %12, %11 ], [ %50, %48 ], [ %93, %90 ], [ null, %4 ]
ret ptr %95
}
declare i64 @PyArray_ISWRITEABLE(ptr noundef) local_unnamed_addr #1
declare i64 @array_might_be_written(ptr noundef) local_unnamed_addr #1
declare i64 @PyArray_malloc(i32 noundef) local_unnamed_addr #1
declare ptr @PyErr_NoMemory(...) local_unnamed_addr #1
declare i32 @PyArray_NDIM(ptr noundef) local_unnamed_addr #1
declare ptr @PyArray_DESCR(ptr noundef) local_unnamed_addr #1
declare i32 @PyArray_FLAGS(ptr noundef) local_unnamed_addr #1
declare i64 @PyArray_ISNOTSWAPPED(ptr noundef) local_unnamed_addr #1
declare i32 @PyArray_free(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PyArray_DIMS(ptr noundef) local_unnamed_addr #1
declare i32 @PyArray_STRIDES(ptr noundef) local_unnamed_addr #1
declare i32 @PyArray_DATA(ptr noundef) local_unnamed_addr #1
declare i64 @PyDataType_HASFIELDS(ptr noundef) local_unnamed_addr #1
declare ptr @arraydescr_protocol_descr_get(ptr noundef) local_unnamed_addr #1
declare i32 @PyErr_Clear(...) local_unnamed_addr #1
declare i32 @Py_INCREF(ptr noundef) local_unnamed_addr #1
declare ptr @NpyCapsule_FromVoidPtrAndDesc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !11, i64 40, !8, i64 48, !8, i64 52}
!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, !8, i64 4}
!14 = !{!"TYPE_8__", !8, i64 0, !8, i64 4}
!15 = !{!7, !8, i64 52}
!16 = !{!14, !8, i64 0}
!17 = !{!7, !8, i64 48}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !8, i64 8}
!20 = !{!7, !11, i64 40}
!21 = !{!7, !11, i64 32}
!22 = !{!7, !8, i64 24}
!23 = !{!7, !11, i64 16}
| numpy_numpy_core_src_multiarray_extr_getset.c_array_struct_get |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_transport_sas.c_show_sas_device_type.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_transport_sas.c_show_sas_device_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"none\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_sas_device_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_sas_device_type(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @transport_class_to_phy(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @snprintf(ptr noundef %2, i32 noundef 20, ptr noundef nonnull @.str) #2
br label %11
9: ; preds = %3
%10 = tail call i32 @get_sas_device_type_names(i32 noundef %5, ptr noundef %2) #2
br label %11
11: ; preds = %9, %7
%12 = phi i32 [ %10, %9 ], [ %8, %7 ]
ret i32 %12
}
declare ptr @transport_class_to_phy(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_sas_device_type_names(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, !8, i64 0}
!6 = !{!"sas_phy", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_transport_sas.c_show_sas_device_type.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_transport_sas.c_show_sas_device_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"none\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_sas_device_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_sas_device_type(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @transport_class_to_phy(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = tail call i32 @snprintf(ptr noundef %2, i32 noundef 20, ptr noundef nonnull @.str) #2
br label %11
9: ; preds = %3
%10 = tail call i32 @get_sas_device_type_names(i32 noundef %5, ptr noundef %2) #2
br label %11
11: ; preds = %9, %7
%12 = phi i32 [ %10, %9 ], [ %8, %7 ]
ret i32 %12
}
declare ptr @transport_class_to_phy(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_sas_device_type_names(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, !9, i64 0}
!7 = !{!"sas_phy", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_scsi_extr_scsi_transport_sas.c_show_sas_device_type |
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_opal-fadump.c_opal_fadump_get_metadata_size.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_opal-fadump.c_opal_fadump_get_metadata_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @opal_fadump_get_metadata_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @opal_fadump_get_metadata_size() #0 {
%1 = tail call i32 @PAGE_ALIGN(i32 noundef 4) #2
ret i32 %1
}
declare i32 @PAGE_ALIGN(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_opal-fadump.c_opal_fadump_get_metadata_size.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_opal-fadump.c_opal_fadump_get_metadata_size.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 @opal_fadump_get_metadata_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @opal_fadump_get_metadata_size() #0 {
%1 = tail call i32 @PAGE_ALIGN(i32 noundef 4) #2
ret i32 %1
}
declare i32 @PAGE_ALIGN(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_powerpc_platforms_powernv_extr_opal-fadump.c_opal_fadump_get_metadata_size |
; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_crypto.c_key2_print.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_crypto.c_key2_print.c"
target datalayout = "e-m:e-p270:32:32-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.gc_arena = type { i32 }
%struct.key2 = type { i32, ptr }
%struct.TYPE_2__ = type { i32, i32 }
%struct.key_type = type { i32, i32 }
@D_SHOW_KEY_SOURCE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"%s (cipher): %s\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%s (hmac): %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @key2_print(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.gc_arena, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call i32 (...) @gc_new() #3
store i32 %6, ptr %5, align 4
%7 = load i32, ptr %0, align 8, !tbaa !5
%8 = icmp eq i32 %7, 2
%9 = zext i1 %8 to i32
%10 = tail call i32 @ASSERT(i32 noundef %9) #3
%11 = load i32, ptr @D_SHOW_KEY_SOURCE, align 4, !tbaa !11
%12 = getelementptr inbounds %struct.key2, ptr %0, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = getelementptr inbounds %struct.key_type, ptr %1, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = call i32 @format_hex(i32 noundef %15, i32 noundef %17, i32 noundef 0, ptr noundef nonnull %5) #3
%19 = call i32 @dmsg(i32 noundef %11, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %18) #3
%20 = load i32, ptr @D_SHOW_KEY_SOURCE, align 4, !tbaa !11
%21 = load ptr, ptr %12, align 8, !tbaa !12
%22 = load i32, ptr %21, align 4, !tbaa !17
%23 = load i32, ptr %1, align 4, !tbaa !18
%24 = call i32 @format_hex(i32 noundef %22, i32 noundef %23, i32 noundef 0, ptr noundef nonnull %5) #3
%25 = call i32 @dmsg(i32 noundef %20, ptr noundef nonnull @.str.1, ptr noundef %2, i32 noundef %24) #3
%26 = load i32, ptr @D_SHOW_KEY_SOURCE, align 4, !tbaa !11
%27 = load ptr, ptr %12, align 8, !tbaa !12
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i64 1, i32 1
%29 = load i32, ptr %28, align 4, !tbaa !13
%30 = load i32, ptr %16, align 4, !tbaa !15
%31 = call i32 @format_hex(i32 noundef %29, i32 noundef %30, i32 noundef 0, ptr noundef nonnull %5) #3
%32 = call i32 @dmsg(i32 noundef %26, ptr noundef nonnull @.str, ptr noundef %3, i32 noundef %31) #3
%33 = load i32, ptr @D_SHOW_KEY_SOURCE, align 4, !tbaa !11
%34 = load ptr, ptr %12, align 8, !tbaa !12
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %34, i64 1
%36 = load i32, ptr %35, align 4, !tbaa !17
%37 = load i32, ptr %1, align 4, !tbaa !18
%38 = call i32 @format_hex(i32 noundef %36, i32 noundef %37, i32 noundef 0, ptr noundef nonnull %5) #3
%39 = call i32 @dmsg(i32 noundef %33, ptr noundef nonnull @.str.1, ptr noundef %3, i32 noundef %38) #3
%40 = call i32 @gc_free(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #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 @gc_new(...) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @dmsg(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @format_hex(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gc_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"key2", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 4}
!14 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!15 = !{!16, !7, i64 4}
!16 = !{!"key_type", !7, i64 0, !7, i64 4}
!17 = !{!14, !7, i64 0}
!18 = !{!16, !7, i64 0}
| ; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_crypto.c_key2_print.c'
source_filename = "AnghaBench/openvpn/src/openvpn/extr_crypto.c_key2_print.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.gc_arena = type { i32 }
@D_SHOW_KEY_SOURCE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"%s (cipher): %s\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%s (hmac): %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @key2_print(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.gc_arena, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call i32 @gc_new() #3
store i32 %6, ptr %5, align 4
%7 = load i32, ptr %0, align 8, !tbaa !6
%8 = icmp eq i32 %7, 2
%9 = zext i1 %8 to i32
%10 = tail call i32 @ASSERT(i32 noundef %9) #3
%11 = load i32, ptr @D_SHOW_KEY_SOURCE, align 4, !tbaa !12
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = getelementptr inbounds i8, ptr %13, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = getelementptr inbounds i8, ptr %1, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = call i32 @format_hex(i32 noundef %15, i32 noundef %17, i32 noundef 0, ptr noundef nonnull %5) #3
%19 = call i32 @dmsg(i32 noundef %11, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %18) #3
%20 = load i32, ptr @D_SHOW_KEY_SOURCE, align 4, !tbaa !12
%21 = load ptr, ptr %12, align 8, !tbaa !13
%22 = load i32, ptr %21, align 4, !tbaa !18
%23 = load i32, ptr %1, align 4, !tbaa !19
%24 = call i32 @format_hex(i32 noundef %22, i32 noundef %23, i32 noundef 0, ptr noundef nonnull %5) #3
%25 = call i32 @dmsg(i32 noundef %20, ptr noundef nonnull @.str.1, ptr noundef %2, i32 noundef %24) #3
%26 = load i32, ptr @D_SHOW_KEY_SOURCE, align 4, !tbaa !12
%27 = load ptr, ptr %12, align 8, !tbaa !13
%28 = getelementptr inbounds i8, ptr %27, i64 12
%29 = load i32, ptr %28, align 4, !tbaa !14
%30 = load i32, ptr %16, align 4, !tbaa !16
%31 = call i32 @format_hex(i32 noundef %29, i32 noundef %30, i32 noundef 0, ptr noundef nonnull %5) #3
%32 = call i32 @dmsg(i32 noundef %26, ptr noundef nonnull @.str, ptr noundef %3, i32 noundef %31) #3
%33 = load i32, ptr @D_SHOW_KEY_SOURCE, align 4, !tbaa !12
%34 = load ptr, ptr %12, align 8, !tbaa !13
%35 = getelementptr inbounds i8, ptr %34, i64 8
%36 = load i32, ptr %35, align 4, !tbaa !18
%37 = load i32, ptr %1, align 4, !tbaa !19
%38 = call i32 @format_hex(i32 noundef %36, i32 noundef %37, i32 noundef 0, ptr noundef nonnull %5) #3
%39 = call i32 @dmsg(i32 noundef %33, ptr noundef nonnull @.str.1, ptr noundef %3, i32 noundef %38) #3
%40 = call i32 @gc_free(ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #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 @gc_new(...) local_unnamed_addr #2
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2
declare i32 @dmsg(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @format_hex(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gc_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"key2", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 4}
!15 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!16 = !{!17, !8, i64 4}
!17 = !{!"key_type", !8, i64 0, !8, i64 4}
!18 = !{!15, !8, i64 0}
!19 = !{!17, !8, i64 0}
| openvpn_src_openvpn_extr_crypto.c_key2_print |
; ModuleID = 'AnghaBench/freebsd/sys/dev/otus/extr_if_otus.c_otus_next_scan.c'
source_filename = "AnghaBench/freebsd/sys/dev/otus/extr_if_otus.c_otus_next_scan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IEEE80211_S_SCAN = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @otus_next_scan(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/otus/extr_if_otus.c_otus_next_scan.c'
source_filename = "AnghaBench/freebsd/sys/dev/otus/extr_if_otus.c_otus_next_scan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IEEE80211_S_SCAN = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @otus_next_scan(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_otus_extr_if_otus.c_otus_next_scan |
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ip6_fib.c_fib6_purge_rt.c'
source_filename = "AnghaBench/linux/net/ipv6/extr_ip6_fib.c_fib6_purge_rt.c"
target datalayout = "e-m:e-p270:32:32-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.fib6_info = type { i32, i32, i64, ptr }
%struct.fib6_node = type { i32, i32, i32 }
@RTN_RTINFO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fib6_purge_rt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fib6_purge_rt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.fib6_info, ptr %0, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @fib6_drop_pcpu_from(ptr noundef %0, ptr noundef %5) #2
%7 = getelementptr inbounds %struct.fib6_info, ptr %0, i64 0, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp eq i64 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %3
%11 = getelementptr inbounds %struct.fib6_info, ptr %0, i64 0, i32 1
%12 = tail call i32 @list_empty(ptr noundef nonnull %11) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = tail call i32 @list_del_init(ptr noundef nonnull %11) #2
br label %16
16: ; preds = %14, %10, %3
%17 = tail call i32 @refcount_read(ptr noundef nonnull %0) #2
%18 = icmp ne i32 %17, 1
%19 = icmp ne ptr %1, null
%20 = and i1 %19, %18
br i1 %20, label %21, label %45
21: ; preds = %16, %39
%22 = phi ptr [ %43, %39 ], [ %1, %16 ]
%23 = getelementptr inbounds %struct.fib6_node, ptr %22, i64 0, i32 2
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = tail call i32 @lockdep_is_held(ptr noundef %5) #2
%26 = tail call ptr @rcu_dereference_protected(i32 noundef %24, i32 noundef %25) #2
%27 = load i32, ptr %22, align 4, !tbaa !15
%28 = load i32, ptr @RTN_RTINFO, align 4, !tbaa !16
%29 = and i32 %28, %27
%30 = icmp eq i32 %29, 0
%31 = icmp eq ptr %26, %0
%32 = select i1 %30, i1 %31, i1 false
br i1 %32, label %33, label %39
33: ; preds = %21
%34 = tail call ptr @fib6_find_prefix(ptr noundef %2, ptr noundef %5, ptr noundef nonnull %22) #2
%35 = tail call i32 @fib6_info_hold(ptr noundef %34) #2
%36 = load i32, ptr %23, align 4, !tbaa !13
%37 = tail call i32 @rcu_assign_pointer(i32 noundef %36, ptr noundef %34) #2
%38 = tail call i32 @fib6_info_release(ptr noundef %0) #2
br label %39
39: ; preds = %33, %21
%40 = getelementptr inbounds %struct.fib6_node, ptr %22, i64 0, i32 1
%41 = load i32, ptr %40, align 4, !tbaa !17
%42 = tail call i32 @lockdep_is_held(ptr noundef %5) #2
%43 = tail call ptr @rcu_dereference_protected(i32 noundef %41, i32 noundef %42) #2
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %21
45: ; preds = %39, %16
ret void
}
declare i32 @fib6_drop_pcpu_from(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_del_init(ptr noundef) local_unnamed_addr #1
declare i32 @refcount_read(ptr noundef) local_unnamed_addr #1
declare ptr @rcu_dereference_protected(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lockdep_is_held(ptr noundef) local_unnamed_addr #1
declare ptr @fib6_find_prefix(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fib6_info_hold(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_assign_pointer(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fib6_info_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"fib6_info", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 8}
!14 = !{!"fib6_node", !7, i64 0, !7, i64 4, !7, i64 8}
!15 = !{!14, !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!14, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ip6_fib.c_fib6_purge_rt.c'
source_filename = "AnghaBench/linux/net/ipv6/extr_ip6_fib.c_fib6_purge_rt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTN_RTINFO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fib6_purge_rt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fib6_purge_rt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @fib6_drop_pcpu_from(ptr noundef %0, ptr noundef %5) #2
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = icmp eq i64 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = tail call i32 @list_empty(ptr noundef nonnull %11) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = tail call i32 @list_del_init(ptr noundef nonnull %11) #2
br label %16
16: ; preds = %14, %10, %3
%17 = tail call i32 @refcount_read(ptr noundef nonnull %0) #2
%18 = icmp ne i32 %17, 1
%19 = icmp ne ptr %1, null
%20 = and i1 %19, %18
br i1 %20, label %21, label %45
21: ; preds = %16, %39
%22 = phi ptr [ %43, %39 ], [ %1, %16 ]
%23 = getelementptr inbounds i8, ptr %22, i64 8
%24 = load i32, ptr %23, align 4, !tbaa !14
%25 = tail call i32 @lockdep_is_held(ptr noundef %5) #2
%26 = tail call ptr @rcu_dereference_protected(i32 noundef %24, i32 noundef %25) #2
%27 = load i32, ptr %22, align 4, !tbaa !16
%28 = load i32, ptr @RTN_RTINFO, align 4, !tbaa !17
%29 = and i32 %28, %27
%30 = icmp eq i32 %29, 0
%31 = icmp eq ptr %26, %0
%32 = select i1 %30, i1 %31, i1 false
br i1 %32, label %33, label %39
33: ; preds = %21
%34 = tail call ptr @fib6_find_prefix(ptr noundef %2, ptr noundef %5, ptr noundef nonnull %22) #2
%35 = tail call i32 @fib6_info_hold(ptr noundef %34) #2
%36 = load i32, ptr %23, align 4, !tbaa !14
%37 = tail call i32 @rcu_assign_pointer(i32 noundef %36, ptr noundef %34) #2
%38 = tail call i32 @fib6_info_release(ptr noundef %0) #2
br label %39
39: ; preds = %33, %21
%40 = getelementptr inbounds i8, ptr %22, i64 4
%41 = load i32, ptr %40, align 4, !tbaa !18
%42 = tail call i32 @lockdep_is_held(ptr noundef %5) #2
%43 = tail call ptr @rcu_dereference_protected(i32 noundef %41, i32 noundef %42) #2
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %21
45: ; preds = %39, %16
ret void
}
declare i32 @fib6_drop_pcpu_from(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_empty(ptr noundef) local_unnamed_addr #1
declare i32 @list_del_init(ptr noundef) local_unnamed_addr #1
declare i32 @refcount_read(ptr noundef) local_unnamed_addr #1
declare ptr @rcu_dereference_protected(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lockdep_is_held(ptr noundef) local_unnamed_addr #1
declare ptr @fib6_find_prefix(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fib6_info_hold(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_assign_pointer(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fib6_info_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"fib6_info", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 8}
!15 = !{!"fib6_node", !8, i64 0, !8, i64 4, !8, i64 8}
!16 = !{!15, !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!15, !8, i64 4}
| linux_net_ipv6_extr_ip6_fib.c_fib6_purge_rt |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_kinect.c_kinect_read.c'
source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_kinect.c_kinect_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@USB_DIR_IN = dso_local local_unnamed_addr global i32 0, align 4
@USB_TYPE_VENDOR = dso_local local_unnamed_addr global i32 0, align 4
@USB_RECIP_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@CTRL_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @kinect_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @kinect_read(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @usb_rcvctrlpipe(ptr noundef %0, i32 noundef 0) #2
%5 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !5
%6 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !5
%9 = or i32 %7, %8
%10 = load i32, ptr @CTRL_TIMEOUT, align 4, !tbaa !5
%11 = tail call i32 @usb_control_msg(ptr noundef %0, i32 noundef %4, i32 noundef 0, i32 noundef %9, i32 noundef 0, i32 noundef 0, ptr noundef %1, i32 noundef %2, i32 noundef %10) #2
ret i32 %11
}
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_rcvctrlpipe(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/drivers/media/usb/gspca/extr_kinect.c_kinect_read.c'
source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_kinect.c_kinect_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USB_DIR_IN = common local_unnamed_addr global i32 0, align 4
@USB_TYPE_VENDOR = common local_unnamed_addr global i32 0, align 4
@USB_RECIP_DEVICE = common local_unnamed_addr global i32 0, align 4
@CTRL_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @kinect_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @kinect_read(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @usb_rcvctrlpipe(ptr noundef %0, i32 noundef 0) #2
%5 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !6
%6 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !6
%9 = or i32 %7, %8
%10 = load i32, ptr @CTRL_TIMEOUT, align 4, !tbaa !6
%11 = tail call i32 @usb_control_msg(ptr noundef %0, i32 noundef %4, i32 noundef 0, i32 noundef %9, i32 noundef 0, i32 noundef 0, ptr noundef %1, i32 noundef %2, i32 noundef %10) #2
ret i32 %11
}
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_rcvctrlpipe(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_drivers_media_usb_gspca_extr_kinect.c_kinect_read |
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_937.c_oku.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_937.c_oku.c"
target datalayout = "e-m:e-p270:32:32-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 [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef nonnull ptr @oku(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca [500 x i8], align 16
call void @llvm.lifetime.start.p0(i64 500, ptr nonnull %3) #5
%4 = tail call i32 @adresal(ptr noundef %0, ptr noundef %1) #5
%5 = icmp eq i32 %4, -1
br i1 %5, label %28, label %6
6: ; preds = %2
%7 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.1)
%8 = icmp eq ptr %7, null
br i1 %8, label %28, label %9
9: ; preds = %6
%10 = sext i32 %4 to i64
%11 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1)
%12 = add nsw i64 %11, %10
%13 = load i32, ptr @SEEK_SET, align 4, !tbaa !5
%14 = tail call i32 @fseek(ptr noundef nonnull %7, i64 noundef %12, i32 noundef %13)
%15 = tail call i32 @feof(ptr noundef nonnull %7)
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %9, %21
%18 = phi i64 [ %23, %21 ], [ 0, %9 ]
%19 = tail call signext i8 @getc(ptr noundef nonnull %7) #5
%20 = icmp eq i8 %19, 60
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 %18
store i8 %19, ptr %22, align 1, !tbaa !9
%23 = add nuw i64 %18, 1
%24 = tail call i32 @feof(ptr noundef nonnull %7)
%25 = icmp eq i32 %24, 0
br i1 %25, label %17, label %26, !llvm.loop !10
26: ; preds = %21, %17, %9
%27 = tail call i32 @fclose(ptr noundef nonnull %7)
br label %28
28: ; preds = %6, %2, %26
%29 = phi ptr [ %3, %26 ], [ @.str, %2 ], [ @.str, %6 ]
call void @llvm.lifetime.end.p0(i64 500, ptr nonnull %3) #5
ret ptr %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @adresal(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @feof(ptr nocapture noundef) local_unnamed_addr #3
declare signext i8 @getc(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture 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 = { "no-trapping-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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_937.c_oku.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_937.c_oku.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 [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@SEEK_SET = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef nonnull ptr @oku(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca [500 x i8], align 1
call void @llvm.lifetime.start.p0(i64 500, ptr nonnull %3) #5
%4 = tail call i32 @adresal(ptr noundef %0, ptr noundef %1) #5
%5 = icmp eq i32 %4, -1
br i1 %5, label %28, label %6
6: ; preds = %2
%7 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.1)
%8 = icmp eq ptr %7, null
br i1 %8, label %28, label %9
9: ; preds = %6
%10 = sext i32 %4 to i64
%11 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1)
%12 = add nsw i64 %11, %10
%13 = load i32, ptr @SEEK_SET, align 4, !tbaa !6
%14 = tail call i32 @fseek(ptr noundef nonnull %7, i64 noundef %12, i32 noundef %13)
%15 = tail call i32 @feof(ptr noundef nonnull %7)
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %9, %21
%18 = phi i64 [ %23, %21 ], [ 0, %9 ]
%19 = tail call signext i8 @getc(ptr noundef nonnull %7) #5
%20 = icmp eq i8 %19, 60
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 %18
store i8 %19, ptr %22, align 1, !tbaa !10
%23 = add nuw nsw i64 %18, 1
%24 = tail call i32 @feof(ptr noundef nonnull %7)
%25 = icmp eq i32 %24, 0
br i1 %25, label %17, label %26, !llvm.loop !11
26: ; preds = %21, %17, %9
%27 = tail call i32 @fclose(ptr noundef nonnull %7)
br label %28
28: ; preds = %6, %2, %26
%29 = phi ptr [ %3, %26 ], [ @.str, %2 ], [ @.str, %6 ]
call void @llvm.lifetime.end.p0(i64 500, ptr nonnull %3) #5
ret ptr %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @adresal(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4
; Function Attrs: nofree nounwind
declare noundef i32 @feof(ptr nocapture noundef) local_unnamed_addr #3
declare signext i8 @getc(ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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, !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"}
| exploitdb_exploits_windows_local_extr_937.c_oku |
; ModuleID = 'AnghaBench/linux/drivers/nvdimm/extr_pfn_devs.c_mode_store.c'
source_filename = "AnghaBench/linux/drivers/nvdimm/extr_pfn_devs.c_mode_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"pmem\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"pmem\00", align 1
@PFN_MODE_PMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"ram\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"ram\00", align 1
@PFN_MODE_RAM = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"none\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"none\00", align 1
@PFN_MODE_NONE = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [24 x i8] c"result: %zd wrote: %s%s\00", align 1
@.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mode_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mode_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_nd_pfn_safe(ptr noundef %0) #2
%6 = tail call i32 @nd_device_lock(ptr noundef %0) #2
%7 = tail call i32 @nvdimm_bus_lock(ptr noundef %0) #2
%8 = load i64, ptr %0, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %4
%11 = load i32, ptr @EBUSY, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %41
13: ; preds = %4
%14 = add i64 %3, -1
%15 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %13
%18 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.1, i64 noundef %14) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17, %13
%21 = load i32, ptr @PFN_MODE_PMEM, align 4, !tbaa !10
store i32 %21, ptr %5, align 4, !tbaa !12
br label %41
22: ; preds = %17
%23 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.2, i64 noundef %14) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %22
%26 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.3, i64 noundef %14) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25, %22
%29 = load i32, ptr @PFN_MODE_RAM, align 4, !tbaa !10
store i32 %29, ptr %5, align 4, !tbaa !12
br label %41
30: ; preds = %25
%31 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.4, i64 noundef %14) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.5, i64 noundef %14) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %33, %30
%37 = load i32, ptr @PFN_MODE_NONE, align 4, !tbaa !10
store i32 %37, ptr %5, align 4, !tbaa !12
br label %41
38: ; preds = %33
%39 = load i32, ptr @EINVAL, align 4, !tbaa !10
%40 = sub nsw i32 0, %39
br label %41
41: ; preds = %20, %36, %38, %28, %10
%42 = phi i32 [ %12, %10 ], [ 0, %20 ], [ 0, %28 ], [ 0, %36 ], [ %40, %38 ]
%43 = getelementptr i8, ptr %2, i64 %3
%44 = getelementptr i8, ptr %43, i64 -1
%45 = load i8, ptr %44, align 1, !tbaa !14
%46 = icmp eq i8 %45, 10
%47 = select i1 %46, ptr @.str.7, ptr @.str.8
%48 = tail call i32 @dev_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, i32 noundef %42, ptr noundef %2, ptr noundef nonnull %47) #2
%49 = tail call i32 @nvdimm_bus_unlock(ptr noundef nonnull %0) #2
%50 = tail call i32 @nd_device_unlock(ptr noundef nonnull %0) #2
%51 = icmp eq i32 %42, 0
%52 = zext i32 %42 to i64
%53 = select i1 %51, i64 %3, i64 %52
%54 = trunc i64 %53 to i32
ret i32 %54
}
declare ptr @to_nd_pfn_safe(ptr noundef) local_unnamed_addr #1
declare i32 @nd_device_lock(ptr noundef) local_unnamed_addr #1
declare i32 @nvdimm_bus_lock(ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nvdimm_bus_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @nd_device_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 = !{!"device", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"nd_pfn", !11, i64 0}
!14 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/nvdimm/extr_pfn_devs.c_mode_store.c'
source_filename = "AnghaBench/linux/drivers/nvdimm/extr_pfn_devs.c_mode_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBUSY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"pmem\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"pmem\00", align 1
@PFN_MODE_PMEM = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"ram\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"ram\00", align 1
@PFN_MODE_RAM = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"none\0A\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"none\00", align 1
@PFN_MODE_NONE = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [24 x i8] c"result: %zd wrote: %s%s\00", align 1
@.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mode_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @mode_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_nd_pfn_safe(ptr noundef %0) #2
%6 = tail call i32 @nd_device_lock(ptr noundef %0) #2
%7 = tail call i32 @nvdimm_bus_lock(ptr noundef %0) #2
%8 = load i64, ptr %0, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %4
%11 = load i32, ptr @EBUSY, align 4, !tbaa !11
%12 = sub nsw i32 0, %11
br label %41
13: ; preds = %4
%14 = add i64 %3, -1
%15 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %13
%18 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.1, i64 noundef %14) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17, %13
%21 = load i32, ptr @PFN_MODE_PMEM, align 4, !tbaa !11
store i32 %21, ptr %5, align 4, !tbaa !13
br label %41
22: ; preds = %17
%23 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.2, i64 noundef %14) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %22
%26 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.3, i64 noundef %14) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25, %22
%29 = load i32, ptr @PFN_MODE_RAM, align 4, !tbaa !11
store i32 %29, ptr %5, align 4, !tbaa !13
br label %41
30: ; preds = %25
%31 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.4, i64 noundef %14) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %30
%34 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.5, i64 noundef %14) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %33, %30
%37 = load i32, ptr @PFN_MODE_NONE, align 4, !tbaa !11
store i32 %37, ptr %5, align 4, !tbaa !13
br label %41
38: ; preds = %33
%39 = load i32, ptr @EINVAL, align 4, !tbaa !11
%40 = sub nsw i32 0, %39
br label %41
41: ; preds = %20, %36, %38, %28, %10
%42 = phi i32 [ %12, %10 ], [ 0, %20 ], [ 0, %28 ], [ 0, %36 ], [ %40, %38 ]
%43 = getelementptr i8, ptr %2, i64 %3
%44 = getelementptr i8, ptr %43, i64 -1
%45 = load i8, ptr %44, align 1, !tbaa !15
%46 = icmp eq i8 %45, 10
%47 = select i1 %46, ptr @.str.7, ptr @.str.8
%48 = tail call i32 @dev_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, i32 noundef %42, ptr noundef %2, ptr noundef nonnull %47) #2
%49 = tail call i32 @nvdimm_bus_unlock(ptr noundef nonnull %0) #2
%50 = tail call i32 @nd_device_unlock(ptr noundef nonnull %0) #2
%51 = icmp eq i32 %42, 0
%52 = zext i32 %42 to i64
%53 = select i1 %51, i64 %3, i64 %52
%54 = trunc i64 %53 to i32
ret i32 %54
}
declare ptr @to_nd_pfn_safe(ptr noundef) local_unnamed_addr #1
declare i32 @nd_device_lock(ptr noundef) local_unnamed_addr #1
declare i32 @nvdimm_bus_lock(ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nvdimm_bus_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @nd_device_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 = !{!"device", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"nd_pfn", !12, i64 0}
!15 = !{!9, !9, i64 0}
| linux_drivers_nvdimm_extr_pfn_devs.c_mode_store |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_lua_pushcclosure.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_lua_pushcclosure.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_14__ = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @lua_pushcclosure], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lua_pushcclosure(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @luaC_checkGC(ptr noundef %0) #2
%5 = tail call i32 @api_checknelems(ptr noundef %0, i32 noundef %2) #2
%6 = tail call i32 @getcurrenv(ptr noundef %0) #2
%7 = tail call ptr @luaF_newCclosure(ptr noundef %0, i32 noundef %2, i32 noundef %6) #2
%8 = getelementptr inbounds %struct.TYPE_14__, ptr %7, i64 0, i32 1
store i32 %1, ptr %8, align 8, !tbaa !5
%9 = sext i32 %2 to i64
%10 = load i64, ptr %0, align 8, !tbaa !12
%11 = sub nsw i64 %10, %9
store i64 %11, ptr %0, align 8, !tbaa !12
%12 = icmp eq i32 %2, 0
br i1 %12, label %25, label %13
13: ; preds = %3, %13
%14 = phi i64 [ %15, %13 ], [ %9, %3 ]
%15 = add nsw i64 %14, -1
%16 = load ptr, ptr %7, align 8, !tbaa !15
%17 = getelementptr inbounds i32, ptr %16, i64 %15
%18 = load i64, ptr %0, align 8, !tbaa !12
%19 = add nsw i64 %18, %15
%20 = tail call i32 @setobj(ptr noundef nonnull %0, ptr noundef %17, i64 noundef %19) #2
%21 = and i64 %15, 4294967295
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %13, !llvm.loop !16
23: ; preds = %13
%24 = load i64, ptr %0, align 8, !tbaa !12
br label %25
25: ; preds = %23, %3
%26 = phi i64 [ %24, %23 ], [ %11, %3 ]
%27 = tail call i32 @setclvalue(ptr noundef nonnull %0, i64 noundef %26, ptr noundef nonnull %7) #2
%28 = tail call i32 @api_incr_top(ptr noundef nonnull %0) #2
ret void
}
declare i32 @luaC_checkGC(ptr noundef) local_unnamed_addr #1
declare i32 @api_checknelems(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @luaF_newCclosure(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @getcurrenv(ptr noundef) local_unnamed_addr #1
declare i32 @setobj(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @setclvalue(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @api_incr_top(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"TYPE_16__", !7, i64 0}
!7 = !{!"TYPE_14__", !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 = !{!13, !14, i64 0}
!13 = !{!"TYPE_15__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!6, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_lua_pushcclosure.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_lua_pushcclosure.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 @lua_pushcclosure], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lua_pushcclosure(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @luaC_checkGC(ptr noundef %0) #2
%5 = tail call i32 @api_checknelems(ptr noundef %0, i32 noundef %2) #2
%6 = tail call i32 @getcurrenv(ptr noundef %0) #2
%7 = tail call ptr @luaF_newCclosure(ptr noundef %0, i32 noundef %2, i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %7, i64 8
store i32 %1, ptr %8, align 8, !tbaa !6
%9 = sext i32 %2 to i64
%10 = load i64, ptr %0, align 8, !tbaa !13
%11 = sub nsw i64 %10, %9
store i64 %11, ptr %0, align 8, !tbaa !13
%12 = icmp eq i32 %2, 0
br i1 %12, label %24, label %13
13: ; preds = %3, %13
%14 = phi i64 [ %15, %13 ], [ %9, %3 ]
%15 = add nsw i64 %14, -1
%16 = load ptr, ptr %7, align 8, !tbaa !16
%17 = getelementptr inbounds i32, ptr %16, i64 %15
%18 = load i64, ptr %0, align 8, !tbaa !13
%19 = add nsw i64 %18, %15
%20 = tail call i32 @setobj(ptr noundef nonnull %0, ptr noundef %17, i64 noundef %19) #2
%21 = icmp eq i64 %15, 0
br i1 %21, label %22, label %13, !llvm.loop !17
22: ; preds = %13
%23 = load i64, ptr %0, align 8, !tbaa !13
br label %24
24: ; preds = %22, %3
%25 = phi i64 [ %23, %22 ], [ %11, %3 ]
%26 = tail call i32 @setclvalue(ptr noundef nonnull %0, i64 noundef %25, ptr noundef nonnull %7) #2
%27 = tail call i32 @api_incr_top(ptr noundef nonnull %0) #2
ret void
}
declare i32 @luaC_checkGC(ptr noundef) local_unnamed_addr #1
declare i32 @api_checknelems(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @luaF_newCclosure(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @getcurrenv(ptr noundef) local_unnamed_addr #1
declare i32 @setobj(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @setclvalue(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @api_incr_top(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"TYPE_16__", !8, i64 0}
!8 = !{!"TYPE_14__", !9, i64 0, !12, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_15__", !15, i64 0}
!15 = !{!"long", !10, i64 0}
!16 = !{!7, !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| xLua_build_luajit-2.1.0b2_src_host_extr_minilua.c_lua_pushcclosure |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r600.c_r600_ib_test.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r600.c_r600_ib_test.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.radeon_ib = type { ptr, i32, ptr }
@.str = private unnamed_addr constant [41 x i8] c"radeon: failed to get scratch reg (%d).\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"radeon: failed to get ib (%d).\0A\00", align 1
@PACKET3_SET_CONFIG_REG = dso_local local_unnamed_addr global i32 0, align 4
@PACKET3_SET_CONFIG_REG_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [37 x i8] c"radeon: failed to schedule ib (%d).\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"radeon: fence wait failed (%d).\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"ib test on ring %d succeeded in %u usecs\0A\00", align 1
@.str.5 = private unnamed_addr constant [49 x i8] c"radeon: ib test failed (scratch(0x%04X)=0x%08X)\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @r600_ib_test(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.radeon_ib, align 8
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @radeon_scratch_get(ptr noundef %0, ptr noundef nonnull %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %5) #3
br label %75
9: ; preds = %2
%10 = load i32, ptr %4, align 4, !tbaa !5
%11 = call i32 @WREG32(i32 noundef %10, i32 noundef -889266515) #3
%12 = load i32, ptr %1, align 4, !tbaa !9
%13 = call i32 @radeon_ib_get(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %3, ptr noundef null, i32 noundef 256) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str.1, i32 noundef %13) #3
br label %71
17: ; preds = %9
%18 = load i32, ptr @PACKET3_SET_CONFIG_REG, align 4, !tbaa !5
%19 = call i32 @PACKET3(i32 noundef %18, i32 noundef 1) #3
%20 = load ptr, ptr %3, align 8, !tbaa !11
store i32 %19, ptr %20, align 4, !tbaa !5
%21 = load i32, ptr %4, align 4, !tbaa !5
%22 = load i32, ptr @PACKET3_SET_CONFIG_REG_OFFSET, align 4, !tbaa !5
%23 = sub nsw i32 %21, %22
%24 = ashr i32 %23, 2
%25 = getelementptr inbounds i32, ptr %20, i64 1
store i32 %24, ptr %25, align 4, !tbaa !5
%26 = getelementptr inbounds i32, ptr %20, i64 2
store i32 -559038737, ptr %26, align 4, !tbaa !5
%27 = getelementptr inbounds %struct.radeon_ib, ptr %3, i64 0, i32 1
store i32 3, ptr %27, align 8, !tbaa !14
%28 = call i32 @radeon_ib_schedule(ptr noundef %0, ptr noundef nonnull %3, ptr noundef null) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %17
%31 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str.2, i32 noundef %28) #3
br label %68
32: ; preds = %17
%33 = getelementptr inbounds %struct.radeon_ib, ptr %3, i64 0, i32 2
%34 = load ptr, ptr %33, align 8, !tbaa !15
%35 = call i32 @radeon_fence_wait(ptr noundef %34, i32 noundef 0) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %32
%38 = load i32, ptr %0, align 4, !tbaa !16
%39 = icmp eq i32 %38, 0
br i1 %39, label %62, label %42
40: ; preds = %32
%41 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str.3, i32 noundef %35) #3
br label %68
42: ; preds = %37, %49
%43 = phi i32 [ %51, %49 ], [ 0, %37 ]
%44 = load i32, ptr %4, align 4, !tbaa !5
%45 = call i32 @RREG32(i32 noundef %44) #3
%46 = icmp eq i32 %45, -559038737
br i1 %46, label %47, label %49
47: ; preds = %42
%48 = load i32, ptr %0, align 4, !tbaa !16
br label %54
49: ; preds = %42
%50 = call i32 @DRM_UDELAY(i32 noundef 1) #3
%51 = add nuw i32 %43, 1
%52 = load i32, ptr %0, align 4, !tbaa !16
%53 = icmp ult i32 %51, %52
br i1 %53, label %42, label %54, !llvm.loop !18
54: ; preds = %49, %47
%55 = phi i32 [ %48, %47 ], [ %52, %49 ]
%56 = phi i32 [ %43, %47 ], [ %51, %49 ]
%57 = icmp ult i32 %56, %55
br i1 %57, label %58, label %62
58: ; preds = %54
%59 = load ptr, ptr %33, align 8, !tbaa !15
%60 = load i32, ptr %59, align 4, !tbaa !20
%61 = call i32 @DRM_INFO(ptr noundef nonnull @.str.4, i32 noundef %60, i32 noundef %56) #3
br label %68
62: ; preds = %37, %54
%63 = phi i32 [ %45, %54 ], [ 0, %37 ]
%64 = load i32, ptr %4, align 4, !tbaa !5
%65 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str.5, i32 noundef %64, i32 noundef %63) #3
%66 = load i32, ptr @EINVAL, align 4, !tbaa !5
%67 = sub nsw i32 0, %66
br label %68
68: ; preds = %58, %62, %40, %30
%69 = phi i32 [ %28, %30 ], [ %35, %40 ], [ 0, %58 ], [ %67, %62 ]
%70 = call i32 @radeon_ib_free(ptr noundef %0, ptr noundef nonnull %3) #3
br label %71
71: ; preds = %68, %15
%72 = phi i32 [ %13, %15 ], [ %69, %68 ]
%73 = load i32, ptr %4, align 4, !tbaa !5
%74 = call i32 @radeon_scratch_free(ptr noundef %0, i32 noundef %73) #3
br label %75
75: ; preds = %71, %7
%76 = phi i32 [ %5, %7 ], [ %72, %71 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
ret i32 %76
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @radeon_scratch_get(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DRM_ERROR(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_ib_get(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PACKET3(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_ib_schedule(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_fence_wait(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @RREG32(i32 noundef) local_unnamed_addr #2
declare i32 @DRM_UDELAY(i32 noundef) local_unnamed_addr #2
declare i32 @DRM_INFO(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_ib_free(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_scratch_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, !6, i64 0}
!10 = !{!"radeon_ring", !6, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"radeon_ib", !13, i64 0, !6, i64 8, !13, i64 16}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !13, i64 16}
!16 = !{!17, !6, i64 0}
!17 = !{!"radeon_device", !6, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !6, i64 0}
!21 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r600.c_r600_ib_test.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r600.c_r600_ib_test.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.radeon_ib = type { ptr, i32, ptr }
@.str = private unnamed_addr constant [41 x i8] c"radeon: failed to get scratch reg (%d).\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"radeon: failed to get ib (%d).\0A\00", align 1
@PACKET3_SET_CONFIG_REG = common local_unnamed_addr global i32 0, align 4
@PACKET3_SET_CONFIG_REG_OFFSET = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [37 x i8] c"radeon: failed to schedule ib (%d).\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"radeon: fence wait failed (%d).\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c"ib test on ring %d succeeded in %u usecs\0A\00", align 1
@.str.5 = private unnamed_addr constant [49 x i8] c"radeon: ib test failed (scratch(0x%04X)=0x%08X)\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @r600_ib_test(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.radeon_ib, align 8
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @radeon_scratch_get(ptr noundef %0, ptr noundef nonnull %4) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str, i32 noundef %5) #3
br label %75
9: ; preds = %2
%10 = load i32, ptr %4, align 4, !tbaa !6
%11 = call i32 @WREG32(i32 noundef %10, i32 noundef -889266515) #3
%12 = load i32, ptr %1, align 4, !tbaa !10
%13 = call i32 @radeon_ib_get(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %3, ptr noundef null, i32 noundef 256) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str.1, i32 noundef %13) #3
br label %71
17: ; preds = %9
%18 = load i32, ptr @PACKET3_SET_CONFIG_REG, align 4, !tbaa !6
%19 = call i32 @PACKET3(i32 noundef %18, i32 noundef 1) #3
%20 = load ptr, ptr %3, align 8, !tbaa !12
store i32 %19, ptr %20, align 4, !tbaa !6
%21 = load i32, ptr %4, align 4, !tbaa !6
%22 = load i32, ptr @PACKET3_SET_CONFIG_REG_OFFSET, align 4, !tbaa !6
%23 = sub nsw i32 %21, %22
%24 = ashr i32 %23, 2
%25 = getelementptr inbounds i8, ptr %20, i64 4
store i32 %24, ptr %25, align 4, !tbaa !6
%26 = getelementptr inbounds i8, ptr %20, i64 8
store i32 -559038737, ptr %26, align 4, !tbaa !6
%27 = getelementptr inbounds i8, ptr %3, i64 8
store i32 3, ptr %27, align 8, !tbaa !15
%28 = call i32 @radeon_ib_schedule(ptr noundef %0, ptr noundef nonnull %3, ptr noundef null) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %17
%31 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str.2, i32 noundef %28) #3
br label %68
32: ; preds = %17
%33 = getelementptr inbounds i8, ptr %3, i64 16
%34 = load ptr, ptr %33, align 8, !tbaa !16
%35 = call i32 @radeon_fence_wait(ptr noundef %34, i32 noundef 0) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %32
%38 = load i32, ptr %0, align 4, !tbaa !17
%39 = icmp eq i32 %38, 0
br i1 %39, label %62, label %42
40: ; preds = %32
%41 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str.3, i32 noundef %35) #3
br label %68
42: ; preds = %37, %49
%43 = phi i32 [ %51, %49 ], [ 0, %37 ]
%44 = load i32, ptr %4, align 4, !tbaa !6
%45 = call i32 @RREG32(i32 noundef %44) #3
%46 = icmp eq i32 %45, -559038737
br i1 %46, label %47, label %49
47: ; preds = %42
%48 = load i32, ptr %0, align 4, !tbaa !17
br label %54
49: ; preds = %42
%50 = call i32 @DRM_UDELAY(i32 noundef 1) #3
%51 = add nuw i32 %43, 1
%52 = load i32, ptr %0, align 4, !tbaa !17
%53 = icmp ult i32 %51, %52
br i1 %53, label %42, label %54, !llvm.loop !19
54: ; preds = %49, %47
%55 = phi i32 [ %48, %47 ], [ %52, %49 ]
%56 = phi i32 [ %43, %47 ], [ %51, %49 ]
%57 = icmp ult i32 %56, %55
br i1 %57, label %58, label %62
58: ; preds = %54
%59 = load ptr, ptr %33, align 8, !tbaa !16
%60 = load i32, ptr %59, align 4, !tbaa !21
%61 = call i32 @DRM_INFO(ptr noundef nonnull @.str.4, i32 noundef %60, i32 noundef %56) #3
br label %68
62: ; preds = %37, %54
%63 = phi i32 [ %45, %54 ], [ 0, %37 ]
%64 = load i32, ptr %4, align 4, !tbaa !6
%65 = call i32 (ptr, i32, ...) @DRM_ERROR(ptr noundef nonnull @.str.5, i32 noundef %64, i32 noundef %63) #3
%66 = load i32, ptr @EINVAL, align 4, !tbaa !6
%67 = sub nsw i32 0, %66
br label %68
68: ; preds = %58, %62, %40, %30
%69 = phi i32 [ %28, %30 ], [ %35, %40 ], [ 0, %58 ], [ %67, %62 ]
%70 = call i32 @radeon_ib_free(ptr noundef %0, ptr noundef nonnull %3) #3
br label %71
71: ; preds = %68, %15
%72 = phi i32 [ %13, %15 ], [ %69, %68 ]
%73 = load i32, ptr %4, align 4, !tbaa !6
%74 = call i32 @radeon_scratch_free(ptr noundef %0, i32 noundef %73) #3
br label %75
75: ; preds = %71, %7
%76 = phi i32 [ %5, %7 ], [ %72, %71 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
ret i32 %76
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @radeon_scratch_get(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DRM_ERROR(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_ib_get(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PACKET3(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_ib_schedule(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_fence_wait(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @RREG32(i32 noundef) local_unnamed_addr #2
declare i32 @DRM_UDELAY(i32 noundef) local_unnamed_addr #2
declare i32 @DRM_INFO(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @radeon_ib_free(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @radeon_scratch_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, !7, i64 0}
!11 = !{!"radeon_ring", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"radeon_ib", !14, i64 0, !7, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!13, !7, i64 8}
!16 = !{!13, !14, i64 16}
!17 = !{!18, !7, i64 0}
!18 = !{!"radeon_device", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_2__", !7, i64 0}
| fastsocket_kernel_drivers_gpu_drm_radeon_extr_r600.c_r600_ib_test |
; ModuleID = 'AnghaBench/reactos/base/applications/mscutils/servman/extr_progress.c_InitProgressDialog.c'
source_filename = "AnghaBench/reactos/base/applications/mscutils/servman/extr_progress.c_InitProgressDialog.c"
target datalayout = "e-m:e-p270:32:32-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 }
@IDC_SERVCON_PROGRESS = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@PBM_SETRANGE = dso_local local_unnamed_addr global i32 0, align 4
@PROGRESS_RANGE = dso_local local_unnamed_addr global i32 0, align 4
@PBM_SETSTEP = dso_local local_unnamed_addr global i32 0, align 4
@ActionThread = dso_local global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @InitProgressDialog], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @InitProgressDialog(i32 noundef %0, i32 %1, i32 %2, i32 noundef %3) #0 {
%5 = sext i32 %3 to i64
%6 = inttoptr i64 %5 to ptr
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %6, i64 0, i32 1
store i32 %0, ptr %7, align 4, !tbaa !5
%8 = load i32, ptr @IDC_SERVCON_PROGRESS, align 4, !tbaa !10
%9 = tail call i32 @GetDlgItem(i32 noundef %0, i32 noundef %8) #2
store i32 %9, ptr %6, align 4, !tbaa !11
%10 = icmp eq i32 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %4
%12 = load i32, ptr @PBM_SETRANGE, align 4, !tbaa !10
%13 = load i32, ptr @PROGRESS_RANGE, align 4, !tbaa !10
%14 = tail call i32 @MAKELPARAM(i32 noundef 0, i32 noundef %13) #2
%15 = tail call i32 @SendMessageW(i32 noundef %9, i32 noundef %12, i32 noundef 0, i32 noundef %14) #2
%16 = load i32, ptr %6, align 4, !tbaa !11
%17 = load i32, ptr @PBM_SETSTEP, align 4, !tbaa !10
%18 = tail call i32 @SendMessageW(i32 noundef %16, i32 noundef %17, i32 noundef 1, i32 noundef 0) #2
%19 = tail call i64 @_beginthreadex(ptr noundef null, i32 noundef 0, ptr noundef nonnull @ActionThread, ptr noundef nonnull %6, i32 noundef 0, ptr noundef null) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %11
%22 = tail call i32 @CloseHandle(i64 noundef %19) #2
br label %23
23: ; preds = %11, %4, %21
%24 = phi ptr [ @TRUE, %21 ], [ @FALSE, %4 ], [ @FALSE, %11 ]
%25 = load i32, ptr %24, align 4, !tbaa !10
ret i32 %25
}
declare i32 @GetDlgItem(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SendMessageW(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MAKELPARAM(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @_beginthreadex(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CloseHandle(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 4}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/base/applications/mscutils/servman/extr_progress.c_InitProgressDialog.c'
source_filename = "AnghaBench/reactos/base/applications/mscutils/servman/extr_progress.c_InitProgressDialog.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IDC_SERVCON_PROGRESS = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@PBM_SETRANGE = common local_unnamed_addr global i32 0, align 4
@PROGRESS_RANGE = common local_unnamed_addr global i32 0, align 4
@PBM_SETSTEP = common local_unnamed_addr global i32 0, align 4
@ActionThread = common global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @InitProgressDialog], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @InitProgressDialog(i32 noundef %0, i32 %1, i32 %2, i32 noundef %3) #0 {
%5 = sext i32 %3 to i64
%6 = inttoptr i64 %5 to ptr
%7 = getelementptr inbounds i8, ptr %6, i64 4
store i32 %0, ptr %7, align 4, !tbaa !6
%8 = load i32, ptr @IDC_SERVCON_PROGRESS, align 4, !tbaa !11
%9 = tail call i32 @GetDlgItem(i32 noundef %0, i32 noundef %8) #2
store i32 %9, ptr %6, align 4, !tbaa !12
%10 = icmp eq i32 %9, 0
br i1 %10, label %23, label %11
11: ; preds = %4
%12 = load i32, ptr @PBM_SETRANGE, align 4, !tbaa !11
%13 = load i32, ptr @PROGRESS_RANGE, align 4, !tbaa !11
%14 = tail call i32 @MAKELPARAM(i32 noundef 0, i32 noundef %13) #2
%15 = tail call i32 @SendMessageW(i32 noundef %9, i32 noundef %12, i32 noundef 0, i32 noundef %14) #2
%16 = load i32, ptr %6, align 4, !tbaa !12
%17 = load i32, ptr @PBM_SETSTEP, align 4, !tbaa !11
%18 = tail call i32 @SendMessageW(i32 noundef %16, i32 noundef %17, i32 noundef 1, i32 noundef 0) #2
%19 = tail call i64 @_beginthreadex(ptr noundef null, i32 noundef 0, ptr noundef nonnull @ActionThread, ptr noundef nonnull %6, i32 noundef 0, ptr noundef null) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %11
%22 = tail call i32 @CloseHandle(i64 noundef %19) #2
br label %23
23: ; preds = %11, %4, %21
%24 = phi ptr [ @TRUE, %21 ], [ @FALSE, %4 ], [ @FALSE, %11 ]
%25 = load i32, ptr %24, align 4, !tbaa !11
ret i32 %25
}
declare i32 @GetDlgItem(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SendMessageW(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MAKELPARAM(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @_beginthreadex(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @CloseHandle(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 4}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| reactos_base_applications_mscutils_servman_extr_progress.c_InitProgressDialog |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_vpif.h_ch1_set_hbi_addr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_vpif.h_ch1_set_hbi_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VPIF_CH1_TOP_STRT_ADD_HANC = dso_local local_unnamed_addr global i32 0, align 4
@VPIF_CH1_BTM_STRT_ADD_HANC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ch1_set_hbi_addr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ch1_set_hbi_addr(i64 noundef %0, i64 noundef %1, i64 %2, i64 %3) #0 {
%5 = load i32, ptr @VPIF_CH1_TOP_STRT_ADD_HANC, align 4, !tbaa !5
%6 = tail call i32 @regw(i64 noundef %0, i32 noundef %5) #2
%7 = load i32, ptr @VPIF_CH1_BTM_STRT_ADD_HANC, align 4, !tbaa !5
%8 = tail call i32 @regw(i64 noundef %1, i32 noundef %7) #2
ret void
}
declare i32 @regw(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_vpif.h_ch1_set_hbi_addr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_vpif.h_ch1_set_hbi_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VPIF_CH1_TOP_STRT_ADD_HANC = common local_unnamed_addr global i32 0, align 4
@VPIF_CH1_BTM_STRT_ADD_HANC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ch1_set_hbi_addr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ch1_set_hbi_addr(i64 noundef %0, i64 noundef %1, i64 %2, i64 %3) #0 {
%5 = load i32, ptr @VPIF_CH1_TOP_STRT_ADD_HANC, align 4, !tbaa !6
%6 = tail call i32 @regw(i64 noundef %0, i32 noundef %5) #2
%7 = load i32, ptr @VPIF_CH1_BTM_STRT_ADD_HANC, align 4, !tbaa !6
%8 = tail call i32 @regw(i64 noundef %1, i32 noundef %7) #2
ret void
}
declare i32 @regw(i64 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"}
| fastsocket_kernel_drivers_media_video_davinci_extr_vpif.h_ch1_set_hbi_addr |
; ModuleID = 'AnghaBench/lede/package/lean/shortcut-fe/src/extr_fast-classifier.c_fast_classifier_inet6_event.c'
source_filename = "AnghaBench/lede/package/lean/shortcut-fe/src/extr_fast-classifier.c_fast_classifier_inet6_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"
@NETDEV_DOWN = dso_local local_unnamed_addr global i64 0, align 8
@NOTIFY_DONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fast_classifier_inet6_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fast_classifier_inet6_event(ptr nocapture readnone %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = icmp ne ptr %5, null
%7 = load i64, ptr @NETDEV_DOWN, align 8
%8 = icmp eq i64 %7, %1
%9 = select i1 %6, i1 %8, i1 false
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = tail call i32 @sfe_ipv6_destroy_all_rules_for_dev(ptr noundef nonnull %5) #2
br label %12
12: ; preds = %10, %3
%13 = load i32, ptr @NOTIFY_DONE, align 4, !tbaa !12
ret i32 %13
}
declare i32 @sfe_ipv6_destroy_all_rules_for_dev(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 = !{!"inet6_ifaddr", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/lede/package/lean/shortcut-fe/src/extr_fast-classifier.c_fast_classifier_inet6_event.c'
source_filename = "AnghaBench/lede/package/lean/shortcut-fe/src/extr_fast-classifier.c_fast_classifier_inet6_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NETDEV_DOWN = common local_unnamed_addr global i64 0, align 8
@NOTIFY_DONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fast_classifier_inet6_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fast_classifier_inet6_event(ptr nocapture readnone %0, i64 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp ne ptr %5, null
%7 = load i64, ptr @NETDEV_DOWN, align 8
%8 = icmp eq i64 %7, %1
%9 = select i1 %6, i1 %8, i1 false
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = tail call i32 @sfe_ipv6_destroy_all_rules_for_dev(ptr noundef nonnull %5) #2
br label %12
12: ; preds = %10, %3
%13 = load i32, ptr @NOTIFY_DONE, align 4, !tbaa !13
ret i32 %13
}
declare i32 @sfe_ipv6_destroy_all_rules_for_dev(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 = !{!"inet6_ifaddr", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
| lede_package_lean_shortcut-fe_src_extr_fast-classifier.c_fast_classifier_inet6_event |
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/console/extr_virtio_console.c_vtcon_port_destroy.c'
source_filename = "AnghaBench/freebsd/sys/dev/virtio/console/extr_virtio_console.c_vtcon_port_destroy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vtcon_port = type { i32, i32, ptr, ptr, ptr, ptr }
@M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vtcon_port_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vtcon_port_destroy(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.vtcon_port, ptr %0, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 0, i64 32, i1 false)
store i32 -1, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.vtcon_port, ptr %0, i64 0, i32 1
%4 = tail call i32 @mtx_destroy(ptr noundef nonnull %3) #3
%5 = load i32, ptr @M_DEVBUF, align 4, !tbaa !11
%6 = tail call i32 @free(ptr noundef nonnull %0, i32 noundef %5) #3
ret void
}
declare i32 @mtx_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vtcon_port", !7, i64 0, !7, i64 4, !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 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/console/extr_virtio_console.c_vtcon_port_destroy.c'
source_filename = "AnghaBench/freebsd/sys/dev/virtio/console/extr_virtio_console.c_vtcon_port_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_DEVBUF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vtcon_port_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vtcon_port_destroy(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 0, i64 32, i1 false)
store i32 -1, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = tail call i32 @mtx_destroy(ptr noundef nonnull %3) #3
%5 = load i32, ptr @M_DEVBUF, align 4, !tbaa !12
%6 = tail call i32 @free(ptr noundef nonnull %0, i32 noundef %5) #3
ret void
}
declare i32 @mtx_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vtcon_port", !8, i64 0, !8, i64 4, !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 = !{!8, !8, i64 0}
| freebsd_sys_dev_virtio_console_extr_virtio_console.c_vtcon_port_destroy |
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_au1xmmc.c_au1xmmc_set_clock.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_au1xmmc.c_au1xmmc_set_clock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SD_CONFIG_DIV = dso_local local_unnamed_addr global i32 0, align 4
@SD_CONFIG_DE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @au1xmmc_set_clock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @au1xmmc_set_clock(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @clk_get_rate(i32 noundef %3) #2
%5 = udiv i32 %4, %1
%6 = lshr i32 %5, 1
%7 = add nsw i32 %6, -1
%8 = tail call i32 @HOST_CONFIG(ptr noundef nonnull %0) #2
%9 = tail call i32 @__raw_readl(i32 noundef %8) #2
%10 = load i32, ptr @SD_CONFIG_DIV, align 4, !tbaa !10
%11 = xor i32 %10, -1
%12 = and i32 %9, %11
%13 = and i32 %10, %7
%14 = load i32, ptr @SD_CONFIG_DE, align 4, !tbaa !10
%15 = or i32 %13, %14
%16 = or i32 %15, %12
%17 = tail call i32 @HOST_CONFIG(ptr noundef nonnull %0) #2
%18 = tail call i32 @__raw_writel(i32 noundef %16, i32 noundef %17) #2
%19 = tail call i32 (...) @wmb() #2
ret void
}
declare i32 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i32 @__raw_readl(i32 noundef) local_unnamed_addr #1
declare i32 @HOST_CONFIG(ptr noundef) local_unnamed_addr #1
declare i32 @__raw_writel(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wmb(...) 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 = !{!"au1xmmc_host", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_au1xmmc.c_au1xmmc_set_clock.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_au1xmmc.c_au1xmmc_set_clock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SD_CONFIG_DIV = common local_unnamed_addr global i32 0, align 4
@SD_CONFIG_DE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @au1xmmc_set_clock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @au1xmmc_set_clock(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @clk_get_rate(i32 noundef %3) #2
%5 = udiv i32 %4, %1
%6 = lshr i32 %5, 1
%7 = add nsw i32 %6, -1
%8 = tail call i32 @HOST_CONFIG(ptr noundef nonnull %0) #2
%9 = tail call i32 @__raw_readl(i32 noundef %8) #2
%10 = load i32, ptr @SD_CONFIG_DIV, align 4, !tbaa !11
%11 = xor i32 %10, -1
%12 = and i32 %9, %11
%13 = and i32 %10, %7
%14 = load i32, ptr @SD_CONFIG_DE, align 4, !tbaa !11
%15 = or i32 %13, %14
%16 = or i32 %15, %12
%17 = tail call i32 @HOST_CONFIG(ptr noundef nonnull %0) #2
%18 = tail call i32 @__raw_writel(i32 noundef %16, i32 noundef %17) #2
%19 = tail call i32 @wmb() #2
ret void
}
declare i32 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i32 @__raw_readl(i32 noundef) local_unnamed_addr #1
declare i32 @HOST_CONFIG(ptr noundef) local_unnamed_addr #1
declare i32 @__raw_writel(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wmb(...) 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 = !{!"au1xmmc_host", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_mmc_host_extr_au1xmmc.c_au1xmmc_set_clock |
; ModuleID = 'AnghaBench/freebsd/sys/net80211/extr_ieee80211_freebsd.c_ieee80211_add_toa_params.c'
source_filename = "AnghaBench/freebsd/sys/net80211/extr_ieee80211_freebsd.c_ieee80211_add_toa_params.c"
target datalayout = "e-m:e-p270:32:32-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.m_tag = type { i32 }
@MTAG_ABI_NET80211 = dso_local local_unnamed_addr global i32 0, align 4
@NET80211_TAG_TOA_PARAMS = dso_local local_unnamed_addr global i32 0, align 4
@M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ieee80211_add_toa_params(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MTAG_ABI_NET80211, align 4, !tbaa !5
%4 = load i32, ptr @NET80211_TAG_TOA_PARAMS, align 4, !tbaa !5
%5 = load i32, ptr @M_NOWAIT, align 4, !tbaa !5
%6 = tail call ptr @m_tag_alloc(i32 noundef %3, i32 noundef %4, i32 noundef 4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = getelementptr inbounds %struct.m_tag, ptr %6, i64 1
%10 = tail call i32 @memcpy(ptr noundef nonnull %9, ptr noundef %1, i32 noundef 4) #2
%11 = tail call i32 @m_tag_prepend(ptr noundef %0, ptr noundef nonnull %6) #2
br label %12
12: ; preds = %2, %8
%13 = phi i32 [ 1, %8 ], [ 0, %2 ]
ret i32 %13
}
declare ptr @m_tag_alloc(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @m_tag_prepend(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/net80211/extr_ieee80211_freebsd.c_ieee80211_add_toa_params.c'
source_filename = "AnghaBench/freebsd/sys/net80211/extr_ieee80211_freebsd.c_ieee80211_add_toa_params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MTAG_ABI_NET80211 = common local_unnamed_addr global i32 0, align 4
@NET80211_TAG_TOA_PARAMS = common local_unnamed_addr global i32 0, align 4
@M_NOWAIT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @ieee80211_add_toa_params(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MTAG_ABI_NET80211, align 4, !tbaa !6
%4 = load i32, ptr @NET80211_TAG_TOA_PARAMS, align 4, !tbaa !6
%5 = load i32, ptr @M_NOWAIT, align 4, !tbaa !6
%6 = tail call ptr @m_tag_alloc(i32 noundef %3, i32 noundef %4, i32 noundef 4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %6, i64 4
%10 = tail call i32 @memcpy(ptr noundef nonnull %9, ptr noundef %1, i32 noundef 4) #2
%11 = tail call i32 @m_tag_prepend(ptr noundef %0, ptr noundef nonnull %6) #2
br label %12
12: ; preds = %2, %8
%13 = phi i32 [ 1, %8 ], [ 0, %2 ]
ret i32 %13
}
declare ptr @m_tag_alloc(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @m_tag_prepend(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_net80211_extr_ieee80211_freebsd.c_ieee80211_add_toa_params |
; ModuleID = 'AnghaBench/freebsd/usr.bin/m4/extr_look.c_macro_for_all.c'
source_filename = "AnghaBench/freebsd/usr.bin/m4/extr_look.c_macro_for_all.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr }
@macros = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @macro_for_all(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call ptr @ohash_first(ptr noundef nonnull @macros, ptr noundef nonnull %2) #3
%4 = icmp eq ptr %3, null
br i1 %4, label %15, label %5
5: ; preds = %1, %12
%6 = phi ptr [ %13, %12 ], [ %3, %1 ]
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %5
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !10
call void %0(ptr noundef %11, ptr noundef nonnull %7) #3
br label %12
12: ; preds = %5, %9
%13 = call ptr @ohash_next(ptr noundef nonnull @macros, ptr noundef nonnull %2) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %5, !llvm.loop !11
15: ; preds = %12, %1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ohash_first(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @ohash_next(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/m4/extr_look.c_macro_for_all.c'
source_filename = "AnghaBench/freebsd/usr.bin/m4/extr_look.c_macro_for_all.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@macros = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @macro_for_all(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call ptr @ohash_first(ptr noundef nonnull @macros, ptr noundef nonnull %2) #3
%4 = icmp eq ptr %3, null
br i1 %4, label %15, label %5
5: ; preds = %1, %12
%6 = phi ptr [ %13, %12 ], [ %3, %1 ]
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %5
%10 = getelementptr inbounds i8, ptr %6, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !11
call void %0(ptr noundef %11, ptr noundef nonnull %7) #3
br label %12
12: ; preds = %5, %9
%13 = call ptr @ohash_next(ptr noundef nonnull @macros, ptr noundef nonnull %2) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %5, !llvm.loop !12
15: ; preds = %12, %1
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ohash_first(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @ohash_next(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.bin_m4_extr_look.c_macro_for_all |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_opncls.c_opncls_bstat.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_opncls.c_opncls_bstat.c"
target datalayout = "e-m:e-p270:32:32-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.opncls = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @opncls_bstat], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @opncls_bstat(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 4) #2
%5 = load ptr, ptr %3, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.opncls, ptr %3, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = tail call i32 %5(ptr noundef nonnull %0, i32 noundef %9, ptr noundef %1) #2
br label %11
11: ; preds = %2, %7
%12 = phi i32 [ %10, %7 ], [ 0, %2 ]
ret i32 %12
}
declare i32 @memset(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 = !{!"bfd", !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 = !{!"opncls", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_opncls.c_opncls_bstat.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_opncls.c_opncls_bstat.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 @opncls_bstat], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @opncls_bstat(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 4) #2
%5 = load ptr, ptr %3, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %3, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !14
%10 = tail call i32 %5(ptr noundef nonnull %0, i32 noundef %9, ptr noundef %1) #2
br label %11
11: ; preds = %2, %7
%12 = phi i32 [ %10, %7 ], [ 0, %2 ]
ret i32 %12
}
declare i32 @memset(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 = !{!"bfd", !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 = !{!"opncls", !8, i64 0, !13, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 8}
| freebsd_contrib_binutils_bfd_extr_opncls.c_opncls_bstat |
; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_probe_scbs.c'
source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_probe_scbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AHD_MODE_UNKNOWN_MSK = dso_local local_unnamed_addr global i32 0, align 4
@AHD_MODE_CFG_MSK = dso_local local_unnamed_addr global i32 0, align 4
@AHD_SCB_MAX = dso_local local_unnamed_addr global i32 0, align 4
@SCB_BASE = dso_local local_unnamed_addr global i64 0, align 8
@SCB_CONTROL = dso_local local_unnamed_addr global i64 0, align 8
@MK_MESSAGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ahd_probe_scbs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ahd_probe_scbs(ptr noundef %0) #0 {
%2 = load i32, ptr @AHD_MODE_UNKNOWN_MSK, align 4, !tbaa !5
%3 = load i32, ptr @AHD_MODE_CFG_MSK, align 4, !tbaa !5
%4 = or i32 %3, %2
%5 = xor i32 %4, -1
%6 = tail call i32 @AHD_ASSERT_MODES(ptr noundef %0, i32 noundef %5, i32 noundef %5) #2
%7 = load i32, ptr @AHD_SCB_MAX, align 4, !tbaa !5
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %1, %33
%10 = phi i32 [ %34, %33 ], [ 0, %1 ]
%11 = tail call i32 @ahd_set_scbptr(ptr noundef %0, i32 noundef %10) #2
%12 = load i64, ptr @SCB_BASE, align 8, !tbaa !9
%13 = tail call i32 @ahd_outw(ptr noundef %0, i64 noundef %12, i32 noundef %10) #2
br label %14
14: ; preds = %9, %14
%15 = phi i64 [ 2, %9 ], [ %19, %14 ]
%16 = load i64, ptr @SCB_BASE, align 8, !tbaa !9
%17 = add nsw i64 %16, %15
%18 = tail call i32 @ahd_outb(ptr noundef %0, i64 noundef %17, i32 noundef 0) #2
%19 = add nuw nsw i64 %15, 1
%20 = icmp eq i64 %19, 64
br i1 %20, label %21, label %14, !llvm.loop !11
21: ; preds = %14
%22 = load i64, ptr @SCB_CONTROL, align 8, !tbaa !9
%23 = load i32, ptr @MK_MESSAGE, align 4, !tbaa !5
%24 = tail call i32 @ahd_outb(ptr noundef %0, i64 noundef %22, i32 noundef %23) #2
%25 = load i64, ptr @SCB_BASE, align 8, !tbaa !9
%26 = tail call i32 @ahd_inw_scbram(ptr noundef %0, i64 noundef %25) #2
%27 = icmp eq i32 %26, %10
br i1 %27, label %28, label %37
28: ; preds = %21
%29 = tail call i32 @ahd_set_scbptr(ptr noundef %0, i32 noundef 0) #2
%30 = load i64, ptr @SCB_BASE, align 8, !tbaa !9
%31 = tail call i32 @ahd_inw_scbram(ptr noundef %0, i64 noundef %30) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %28
%34 = add nuw nsw i32 %10, 1
%35 = load i32, ptr @AHD_SCB_MAX, align 4, !tbaa !5
%36 = icmp slt i32 %34, %35
br i1 %36, label %9, label %37, !llvm.loop !13
37: ; preds = %33, %21, %28, %1
%38 = phi i32 [ 0, %1 ], [ %10, %28 ], [ %10, %21 ], [ %34, %33 ]
ret i32 %38
}
declare i32 @AHD_ASSERT_MODES(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahd_set_scbptr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahd_outw(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahd_outb(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahd_inw_scbram(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_probe_scbs.c'
source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_probe_scbs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AHD_MODE_UNKNOWN_MSK = common local_unnamed_addr global i32 0, align 4
@AHD_MODE_CFG_MSK = common local_unnamed_addr global i32 0, align 4
@AHD_SCB_MAX = common local_unnamed_addr global i32 0, align 4
@SCB_BASE = common local_unnamed_addr global i64 0, align 8
@SCB_CONTROL = common local_unnamed_addr global i64 0, align 8
@MK_MESSAGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ahd_probe_scbs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ahd_probe_scbs(ptr noundef %0) #0 {
%2 = load i32, ptr @AHD_MODE_UNKNOWN_MSK, align 4, !tbaa !6
%3 = load i32, ptr @AHD_MODE_CFG_MSK, align 4, !tbaa !6
%4 = or i32 %3, %2
%5 = xor i32 %4, -1
%6 = tail call i32 @AHD_ASSERT_MODES(ptr noundef %0, i32 noundef %5, i32 noundef %5) #2
%7 = load i32, ptr @AHD_SCB_MAX, align 4, !tbaa !6
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %37
9: ; preds = %1, %33
%10 = phi i32 [ %34, %33 ], [ 0, %1 ]
%11 = tail call i32 @ahd_set_scbptr(ptr noundef %0, i32 noundef %10) #2
%12 = load i64, ptr @SCB_BASE, align 8, !tbaa !10
%13 = tail call i32 @ahd_outw(ptr noundef %0, i64 noundef %12, i32 noundef %10) #2
br label %14
14: ; preds = %9, %14
%15 = phi i64 [ 2, %9 ], [ %19, %14 ]
%16 = load i64, ptr @SCB_BASE, align 8, !tbaa !10
%17 = add nsw i64 %16, %15
%18 = tail call i32 @ahd_outb(ptr noundef %0, i64 noundef %17, i32 noundef 0) #2
%19 = add nuw nsw i64 %15, 1
%20 = icmp eq i64 %19, 64
br i1 %20, label %21, label %14, !llvm.loop !12
21: ; preds = %14
%22 = load i64, ptr @SCB_CONTROL, align 8, !tbaa !10
%23 = load i32, ptr @MK_MESSAGE, align 4, !tbaa !6
%24 = tail call i32 @ahd_outb(ptr noundef %0, i64 noundef %22, i32 noundef %23) #2
%25 = load i64, ptr @SCB_BASE, align 8, !tbaa !10
%26 = tail call i32 @ahd_inw_scbram(ptr noundef %0, i64 noundef %25) #2
%27 = icmp eq i32 %26, %10
br i1 %27, label %28, label %37
28: ; preds = %21
%29 = tail call i32 @ahd_set_scbptr(ptr noundef %0, i32 noundef 0) #2
%30 = load i64, ptr @SCB_BASE, align 8, !tbaa !10
%31 = tail call i32 @ahd_inw_scbram(ptr noundef %0, i64 noundef %30) #2
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %37
33: ; preds = %28
%34 = add nuw nsw i32 %10, 1
%35 = load i32, ptr @AHD_SCB_MAX, align 4, !tbaa !6
%36 = icmp slt i32 %34, %35
br i1 %36, label %9, label %37, !llvm.loop !14
37: ; preds = %33, %21, %28, %1
%38 = phi i32 [ 0, %1 ], [ %10, %28 ], [ %10, %21 ], [ %34, %33 ]
ret i32 %38
}
declare i32 @AHD_ASSERT_MODES(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahd_set_scbptr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahd_outw(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahd_outb(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ahd_inw_scbram(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| linux_drivers_scsi_aic7xxx_extr_aic79xx_core.c_ahd_probe_scbs |
; ModuleID = 'AnghaBench/sumatrapdf/ext/mujs/extr_jsmath.c_Math_tan.c'
source_filename = "AnghaBench/sumatrapdf/ext/mujs/extr_jsmath.c_Math_tan.c"
target datalayout = "e-m:e-p270:32:32-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 @Math_tan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @Math_tan(ptr noundef %0) #0 {
%2 = tail call i32 @js_tonumber(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @tan(i32 noundef %2) #2
%4 = tail call i32 @js_pushnumber(ptr noundef %0, i32 noundef %3) #2
ret void
}
declare i32 @js_pushnumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tan(i32 noundef) local_unnamed_addr #1
declare i32 @js_tonumber(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/mujs/extr_jsmath.c_Math_tan.c'
source_filename = "AnghaBench/sumatrapdf/ext/mujs/extr_jsmath.c_Math_tan.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 @Math_tan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @Math_tan(ptr noundef %0) #0 {
%2 = tail call i32 @js_tonumber(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @tan(i32 noundef %2) #2
%4 = tail call i32 @js_pushnumber(ptr noundef %0, i32 noundef %3) #2
ret void
}
declare i32 @js_pushnumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tan(i32 noundef) local_unnamed_addr #1
declare i32 @js_tonumber(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)"}
| sumatrapdf_ext_mujs_extr_jsmath.c_Math_tan |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_transport_fc.c_show_fc_host_speed.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_transport_fc.c_show_fc_host_speed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FC_PORTSPEED_UNKNOWN = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_fc_host_speed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_fc_host_speed(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @transport_class_to_shost(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @to_fc_internal(i32 noundef %5) #2
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = tail call i32 %8(ptr noundef nonnull %4) #2
br label %12
12: ; preds = %10, %3
%13 = tail call i64 @fc_host_speed(ptr noundef nonnull %4) #2
%14 = load i64, ptr @FC_PORTSPEED_UNKNOWN, align 8, !tbaa !15
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = tail call i32 @snprintf(ptr noundef %2, i32 noundef 20, ptr noundef nonnull @.str) #2
br label %21
18: ; preds = %12
%19 = tail call i64 @fc_host_speed(ptr noundef nonnull %4) #2
%20 = tail call i32 @get_fc_port_speed_names(i64 noundef %19, ptr noundef %2) #2
br label %21
21: ; preds = %18, %16
%22 = phi i32 [ %17, %16 ], [ %20, %18 ]
ret i32 %22
}
declare ptr @transport_class_to_shost(ptr noundef) local_unnamed_addr #1
declare ptr @to_fc_internal(i32 noundef) local_unnamed_addr #1
declare i64 @fc_host_speed(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_fc_port_speed_names(i64 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 = !{!"Scsi_Host", !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 = !{!"fc_internal", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_transport_fc.c_show_fc_host_speed.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_transport_fc.c_show_fc_host_speed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FC_PORTSPEED_UNKNOWN = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_fc_host_speed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_fc_host_speed(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @transport_class_to_shost(ptr noundef %0) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @to_fc_internal(i32 noundef %5) #2
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = icmp eq ptr %8, null
br i1 %9, label %12, label %10
10: ; preds = %3
%11 = tail call i32 %8(ptr noundef nonnull %4) #2
br label %12
12: ; preds = %10, %3
%13 = tail call i64 @fc_host_speed(ptr noundef nonnull %4) #2
%14 = load i64, ptr @FC_PORTSPEED_UNKNOWN, align 8, !tbaa !16
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = tail call i32 @snprintf(ptr noundef %2, i32 noundef 20, ptr noundef nonnull @.str) #2
br label %21
18: ; preds = %12
%19 = tail call i64 @fc_host_speed(ptr noundef nonnull %4) #2
%20 = tail call i32 @get_fc_port_speed_names(i64 noundef %19, ptr noundef %2) #2
br label %21
21: ; preds = %18, %16
%22 = phi i32 [ %17, %16 ], [ %20, %18 ]
ret i32 %22
}
declare ptr @transport_class_to_shost(ptr noundef) local_unnamed_addr #1
declare ptr @to_fc_internal(i32 noundef) local_unnamed_addr #1
declare i64 @fc_host_speed(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @get_fc_port_speed_names(i64 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 = !{!"Scsi_Host", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"fc_internal", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_2__", !13, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !9, i64 0}
| linux_drivers_scsi_extr_scsi_transport_fc.c_show_fc_host_speed |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp.c_tcp_enter_memory_pressure.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp.c_tcp_enter_memory_pressure.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@tcp_memory_pressure = dso_local local_unnamed_addr global i32 0, align 4
@LINUX_MIB_TCPMEMORYPRESSURES = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @tcp_enter_memory_pressure(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @tcp_memory_pressure, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = tail call i32 @sock_net(ptr noundef %0) #2
%6 = load i32, ptr @LINUX_MIB_TCPMEMORYPRESSURES, align 4, !tbaa !5
%7 = tail call i32 @NET_INC_STATS(i32 noundef %5, i32 noundef %6) #2
store i32 1, ptr @tcp_memory_pressure, align 4, !tbaa !5
br label %8
8: ; preds = %4, %1
ret void
}
declare i32 @NET_INC_STATS(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sock_net(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp.c_tcp_enter_memory_pressure.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp.c_tcp_enter_memory_pressure.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tcp_memory_pressure = common local_unnamed_addr global i32 0, align 4
@LINUX_MIB_TCPMEMORYPRESSURES = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @tcp_enter_memory_pressure(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @tcp_memory_pressure, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = tail call i32 @sock_net(ptr noundef %0) #2
%6 = load i32, ptr @LINUX_MIB_TCPMEMORYPRESSURES, align 4, !tbaa !6
%7 = tail call i32 @NET_INC_STATS(i32 noundef %5, i32 noundef %6) #2
store i32 1, ptr @tcp_memory_pressure, align 4, !tbaa !6
br label %8
8: ; preds = %4, %1
ret void
}
declare i32 @NET_INC_STATS(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sock_net(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"}
| fastsocket_kernel_net_ipv4_extr_tcp.c_tcp_enter_memory_pressure |
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-lantiq-ssc.c_lantiq_ssc_handle_err.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-lantiq-ssc.c_lantiq_ssc_handle_err.c"
target datalayout = "e-m:e-p270:32:32-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 @lantiq_ssc_handle_err], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lantiq_ssc_handle_err(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call ptr @spi_master_get_devdata(ptr noundef %0) #2
%4 = tail call i32 @rx_fifo_flush(ptr noundef %3) #2
%5 = tail call i32 @tx_fifo_flush(ptr noundef %3) #2
ret void
}
declare ptr @spi_master_get_devdata(ptr noundef) local_unnamed_addr #1
declare i32 @rx_fifo_flush(ptr noundef) local_unnamed_addr #1
declare i32 @tx_fifo_flush(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/spi/extr_spi-lantiq-ssc.c_lantiq_ssc_handle_err.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-lantiq-ssc.c_lantiq_ssc_handle_err.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 @lantiq_ssc_handle_err], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lantiq_ssc_handle_err(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call ptr @spi_master_get_devdata(ptr noundef %0) #2
%4 = tail call i32 @rx_fifo_flush(ptr noundef %3) #2
%5 = tail call i32 @tx_fifo_flush(ptr noundef %3) #2
ret void
}
declare ptr @spi_master_get_devdata(ptr noundef) local_unnamed_addr #1
declare i32 @rx_fifo_flush(ptr noundef) local_unnamed_addr #1
declare i32 @tx_fifo_flush(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_spi_extr_spi-lantiq-ssc.c_lantiq_ssc_handle_err |
; ModuleID = 'AnghaBench/linux/drivers/block/drbd/extr_drbd_debugfs.c_seq_print_age_or_dash.c'
source_filename = "AnghaBench/linux/drivers/block/drbd/extr_drbd_debugfs.c_seq_print_age_or_dash.c"
target datalayout = "e-m:e-p270:32:32-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 [4 x i8] c"\09%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\09-\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @seq_print_age_or_dash], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @seq_print_age_or_dash(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = icmp eq i32 %1, 0
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = tail call i32 @jiffies_to_msecs(i64 noundef %2) #2
%7 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %6) #2
br label %10
8: ; preds = %3
%9 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1) #2
br label %10
10: ; preds = %8, %5
ret void
}
declare i32 @seq_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @jiffies_to_msecs(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/block/drbd/extr_drbd_debugfs.c_seq_print_age_or_dash.c'
source_filename = "AnghaBench/linux/drivers/block/drbd/extr_drbd_debugfs.c_seq_print_age_or_dash.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 [4 x i8] c"\09%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\09-\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @seq_print_age_or_dash], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @seq_print_age_or_dash(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = icmp eq i32 %1, 0
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = tail call i32 @jiffies_to_msecs(i64 noundef %2) #2
%7 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %6) #2
br label %10
8: ; preds = %3
%9 = tail call i32 (ptr, ptr, ...) @seq_printf(ptr noundef %0, ptr noundef nonnull @.str.1) #2
br label %10
10: ; preds = %8, %5
ret void
}
declare i32 @seq_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @jiffies_to_msecs(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)"}
| linux_drivers_block_drbd_extr_drbd_debugfs.c_seq_print_age_or_dash |
; ModuleID = 'AnghaBench/lab/engine/code/deepmind/extr_dmlab_connect.c_dmlab_advance.c'
source_filename = "AnghaBench/lab/engine/code/deepmind/extr_dmlab_connect.c_dmlab_advance.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"
%struct.TYPE_15__ = type { i32 (...)* }
%struct.TYPE_17__ = type { i32 }
%struct.TYPE_16__ = type { i64 }
%struct.TYPE_13__ = type { i32, i32, i32, i32, double, i32, %struct.TYPE_11__*, %struct.TYPE_14__* }
%struct.TYPE_11__ = type { i64 }
%struct.TYPE_14__ = type { i32, %struct.TYPE_12__ }
%struct.TYPE_12__ = type { i64 (i32)*, i32 (i32, double)*, i32 (i32, i32)*, i64 (i32)*, %struct.TYPE_10__, i64 (i32)* }
%struct.TYPE_10__ = type { i32 (i32)* }
@re = dso_local local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 8
@RO_BOTTOM_LEFT = dso_local local_unnamed_addr global i32 0, align 4
@RO_TOP_LEFT = dso_local local_unnamed_addr global i32 0, align 4
@DMLAB_RECORDING_ERROR_NONE = dso_local local_unnamed_addr global i64 0, align 8
@EnvCApi_EnvironmentStatus_Error = dso_local local_unnamed_addr global i32 0, align 4
@EnvCApi_EnvironmentStatus_Terminated = dso_local local_unnamed_addr global i32 0, align 4
@cl = dso_local local_unnamed_addr global %struct.TYPE_17__ zeroinitializer, align 4
@kEngineTimePerExternalTime = dso_local local_unnamed_addr global double 0.000000e+00, align 8
@clc = dso_local local_unnamed_addr global %struct.TYPE_16__ zeroinitializer, align 8
@CA_ACTIVE = dso_local local_unnamed_addr global i64 0, align 8
@EnvCApi_EnvironmentStatus_Running = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i32 (i8*, i32, double*)* @dmlab_advance to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dmlab_advance(i8* noundef %0, i32 noundef %1, double* nocapture noundef %2) #0 {
%4 = load i32 (...)*, i32 (...)** getelementptr inbounds (%struct.TYPE_15__, %struct.TYPE_15__* @re, i64 0, i32 0), align 8, !tbaa !5
%5 = tail call i32 (...) %4() #2
%6 = bitcast i8* %0 to %struct.TYPE_13__*
%7 = getelementptr inbounds i8, i8* %0, i64 40
%8 = bitcast i8* %7 to %struct.TYPE_14__**
%9 = load %struct.TYPE_14__*, %struct.TYPE_14__** %8, align 8, !tbaa !10
%10 = getelementptr inbounds %struct.TYPE_14__, %struct.TYPE_14__* %9, i64 0, i32 1, i32 5
%11 = load i64 (i32)*, i64 (i32)** %10, align 8, !tbaa !14
%12 = getelementptr inbounds %struct.TYPE_14__, %struct.TYPE_14__* %9, i64 0, i32 0
%13 = load i32, i32* %12, align 8, !tbaa !18
%14 = tail call i64 %11(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
%16 = zext i1 %15 to i32
%17 = tail call i32 @SCR_SkipRendering(i32 noundef %16) #2
%18 = load i32, i32* @RO_TOP_LEFT, align 4
%19 = load i32, i32* @RO_BOTTOM_LEFT, align 4
%20 = select i1 %15, i32 %18, i32 %19
%21 = tail call i32 @SCR_RenderOrigin(i32 noundef %20) #2
%22 = bitcast i8* %0 to i32*
store i32 0, i32* %22, align 8, !tbaa !19
%23 = getelementptr inbounds %struct.TYPE_14__, %struct.TYPE_14__* %9, i64 0, i32 1, i32 4, i32 0
%24 = load i32 (i32)*, i32 (i32)** %23, align 8, !tbaa !20
%25 = load i32, i32* %12, align 8, !tbaa !18
%26 = tail call i32 %24(i32 noundef %25) #2
store double 0.000000e+00, double* %2, align 8, !tbaa !21
%27 = icmp sgt i32 %1, 0
br i1 %27, label %29, label %28
28: ; preds = %3
store i32 0, i32* %22, align 8, !tbaa !19
br label %121
29: ; preds = %3
%30 = getelementptr inbounds %struct.TYPE_14__, %struct.TYPE_14__* %9, i64 0, i32 1, i32 3
%31 = getelementptr inbounds i8, i8* %0, i64 32
%32 = bitcast i8* %31 to %struct.TYPE_11__**
%33 = getelementptr inbounds %struct.TYPE_14__, %struct.TYPE_14__* %9, i64 0, i32 1, i32 0
%34 = getelementptr inbounds %struct.TYPE_14__, %struct.TYPE_14__* %9, i64 0, i32 1, i32 2
%35 = getelementptr inbounds i8, i8* %0, i64 4
%36 = bitcast i8* %35 to i32*
%37 = getelementptr inbounds i8, i8* %0, i64 8
%38 = bitcast i8* %37 to i32*
%39 = getelementptr inbounds i8, i8* %0, i64 12
%40 = bitcast i8* %39 to i32*
%41 = getelementptr inbounds %struct.TYPE_14__, %struct.TYPE_14__* %9, i64 0, i32 1, i32 1
%42 = getelementptr inbounds i8, i8* %0, i64 16
%43 = bitcast i8* %42 to double*
%44 = getelementptr inbounds i8, i8* %0, i64 24
%45 = bitcast i8* %44 to i32*
br label %46
46: ; preds = %29, %115
%47 = phi i32 [ 0, %29 ], [ %116, %115 ]
%48 = tail call double (...) @get_engine_score() #2
%49 = load i64 (i32)*, i64 (i32)** %30, align 8, !tbaa !22
%50 = load i32, i32* %12, align 8, !tbaa !18
%51 = tail call i64 %49(i32 noundef %50) #2
%52 = icmp eq i64 %51, 0
br i1 %52, label %75, label %53
53: ; preds = %46
%54 = tail call double (...) @get_engine_score() #2
%55 = tail call i32 @load_map(%struct.TYPE_13__* noundef nonnull %6) #2
%56 = load %struct.TYPE_11__*, %struct.TYPE_11__** %32, align 8, !tbaa !23
%57 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %56, i64 0, i32 0
%58 = load i64, i64* %57, align 8, !tbaa !24
%59 = load i64, i64* @DMLAB_RECORDING_ERROR_NONE, align 8, !tbaa !27
%60 = icmp eq i64 %58, %59
br i1 %60, label %61, label %122
61: ; preds = %53
%62 = icmp eq i32 %55, 0
br i1 %62, label %122, label %63
63: ; preds = %61
%64 = load i64 (i32)*, i64 (i32)** %33, align 8, !tbaa !28
%65 = load i32, i32* %12, align 8, !tbaa !18
%66 = tail call i64 %64(i32 noundef %65) #2
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %122
68: ; preds = %63
%69 = load i32 (i32, i32)*, i32 (i32, i32)** %34, align 8, !tbaa !29
%70 = load i32, i32* %12, align 8, !tbaa !18
%71 = tail call i32 %69(i32 noundef %70, i32 noundef 0) #2
%72 = tail call double (...) @get_engine_score() #2
%73 = fsub double %54, %48
%74 = fsub double %72, %73
br label %75
75: ; preds = %68, %46
%76 = phi double [ %74, %68 ], [ %48, %46 ]
%77 = load i32, i32* %36, align 4, !tbaa !30
%78 = add nsw i32 %77, 1
store i32 %78, i32* %36, align 4, !tbaa !30
%79 = load i32, i32* getelementptr inbounds (%struct.TYPE_17__, %struct.TYPE_17__* @cl, i64 0, i32 0), align 4, !tbaa !31
%80 = tail call i32 (...) @IN_Frame() #2
%81 = tail call i32 (...) @Com_Frame() #2
%82 = load i32, i32* %38, align 8, !tbaa !33
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %89
84: ; preds = %75
%85 = load i32, i32* getelementptr inbounds (%struct.TYPE_17__, %struct.TYPE_17__* @cl, i64 0, i32 0), align 4, !tbaa !31
%86 = sub i32 %85, %79
%87 = load i32, i32* %40, align 4, !tbaa !34
%88 = add nsw i32 %86, %87
br label %92
89: ; preds = %75
%90 = load i32, i32* %36, align 4, !tbaa !30
%91 = mul nsw i32 %90, %82
br label %92
92: ; preds = %89, %84
%93 = phi i32 [ %91, %89 ], [ %88, %84 ]
store i32 %93, i32* %40, align 4, !tbaa !34
%94 = load i32 (i32, double)*, i32 (i32, double)** %41, align 8, !tbaa !35
%95 = load i32, i32* %12, align 8, !tbaa !18
%96 = sitofp i32 %93 to double
%97 = load double, double* @kEngineTimePerExternalTime, align 8, !tbaa !21
%98 = fmul double %97, 1.000000e+03
%99 = fdiv double %96, %98
%100 = tail call i32 %94(i32 noundef %95, double noundef %99) #2
%101 = icmp eq i32 %100, 0
br i1 %101, label %104, label %102
102: ; preds = %92
%103 = tail call i32 (...) @Com_Frame() #2
br label %104
104: ; preds = %102, %92
%105 = load i64, i64* getelementptr inbounds (%struct.TYPE_16__, %struct.TYPE_16__* @clc, i64 0, i32 0), align 8, !tbaa !36
%106 = load i64, i64* @CA_ACTIVE, align 8, !tbaa !27
%107 = icmp eq i64 %105, %106
br i1 %107, label %108, label %115
108: ; preds = %104
%109 = tail call double (...) @get_engine_score() #2
%110 = fsub double %109, %76
%111 = load double, double* %43, align 8, !tbaa !38
%112 = fadd double %111, %110
store double %112, double* %43, align 8, !tbaa !38
%113 = load double, double* %2, align 8, !tbaa !21
%114 = fadd double %110, %113
store double %114, double* %2, align 8, !tbaa !21
br label %115
115: ; preds = %104, %108
store i32 0, i32* %45, align 8, !tbaa !39
%116 = add nuw nsw i32 %47, 1
%117 = icmp slt i32 %116, %1
%118 = select i1 %117, i1 %101, i1 false
br i1 %118, label %46, label %119, !llvm.loop !40
119: ; preds = %115
%120 = icmp eq i32 %100, 0
store i32 0, i32* %22, align 8, !tbaa !19
br i1 %120, label %121, label %122
121: ; preds = %28, %119
br label %122
122: ; preds = %63, %61, %53, %121, %119
%123 = phi i32* [ @EnvCApi_EnvironmentStatus_Running, %121 ], [ @EnvCApi_EnvironmentStatus_Terminated, %119 ], [ @EnvCApi_EnvironmentStatus_Error, %63 ], [ @EnvCApi_EnvironmentStatus_Terminated, %61 ], [ @EnvCApi_EnvironmentStatus_Error, %53 ]
%124 = load i32, i32* %123, align 4
ret i32 %124
}
declare i32 @SCR_SkipRendering(i32 noundef) local_unnamed_addr #1
declare i32 @SCR_RenderOrigin(i32 noundef) local_unnamed_addr #1
declare double @get_engine_score(...) local_unnamed_addr #1
declare i32 @load_map(%struct.TYPE_13__* noundef) local_unnamed_addr #1
declare i32 @IN_Frame(...) local_unnamed_addr #1
declare i32 @Com_Frame(...) 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, !7, i64 0}
!6 = !{!"TYPE_15__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 40}
!11 = !{!"TYPE_13__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !13, i64 16, !12, i64 24, !7, i64 32, !7, i64 40}
!12 = !{!"int", !8, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!15, !7, i64 48}
!15 = !{!"TYPE_14__", !12, i64 0, !16, i64 8}
!16 = !{!"TYPE_12__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !17, i64 32, !7, i64 40}
!17 = !{!"TYPE_10__", !7, i64 0}
!18 = !{!15, !12, i64 0}
!19 = !{!11, !12, i64 0}
!20 = !{!15, !7, i64 40}
!21 = !{!13, !13, i64 0}
!22 = !{!15, !7, i64 32}
!23 = !{!11, !7, i64 32}
!24 = !{!25, !26, i64 0}
!25 = !{!"TYPE_11__", !26, i64 0}
!26 = !{!"long", !8, i64 0}
!27 = !{!26, !26, i64 0}
!28 = !{!15, !7, i64 8}
!29 = !{!15, !7, i64 24}
!30 = !{!11, !12, i64 4}
!31 = !{!32, !12, i64 0}
!32 = !{!"TYPE_17__", !12, i64 0}
!33 = !{!11, !12, i64 8}
!34 = !{!11, !12, i64 12}
!35 = !{!15, !7, i64 16}
!36 = !{!37, !26, i64 0}
!37 = !{!"TYPE_16__", !26, i64 0}
!38 = !{!11, !13, i64 16}
!39 = !{!11, !12, i64 24}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/lab/engine/code/deepmind/extr_dmlab_connect.c_dmlab_advance.c'
source_filename = "AnghaBench/lab/engine/code/deepmind/extr_dmlab_connect.c_dmlab_advance.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_15__ = type { ptr }
%struct.TYPE_17__ = type { i32 }
%struct.TYPE_16__ = type { i64 }
@re = common local_unnamed_addr global %struct.TYPE_15__ zeroinitializer, align 8
@RO_BOTTOM_LEFT = common local_unnamed_addr global i32 0, align 4
@RO_TOP_LEFT = common local_unnamed_addr global i32 0, align 4
@DMLAB_RECORDING_ERROR_NONE = common local_unnamed_addr global i64 0, align 8
@EnvCApi_EnvironmentStatus_Error = common local_unnamed_addr global i32 0, align 4
@EnvCApi_EnvironmentStatus_Terminated = common local_unnamed_addr global i32 0, align 4
@cl = common local_unnamed_addr global %struct.TYPE_17__ zeroinitializer, align 4
@kEngineTimePerExternalTime = common local_unnamed_addr global double 0.000000e+00, align 8
@clc = common local_unnamed_addr global %struct.TYPE_16__ zeroinitializer, align 8
@CA_ACTIVE = common local_unnamed_addr global i64 0, align 8
@EnvCApi_EnvironmentStatus_Running = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dmlab_advance], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dmlab_advance(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr @re, align 8, !tbaa !6
%5 = tail call i32 %4() #2
%6 = getelementptr inbounds i8, ptr %0, i64 40
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = getelementptr inbounds i8, ptr %7, i64 8
%9 = getelementptr inbounds i8, ptr %7, i64 48
%10 = load ptr, ptr %9, align 8, !tbaa !15
%11 = load i32, ptr %7, align 8, !tbaa !19
%12 = tail call i64 %10(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = zext i1 %13 to i32
%15 = tail call i32 @SCR_SkipRendering(i32 noundef %14) #2
%16 = load i32, ptr @RO_TOP_LEFT, align 4
%17 = load i32, ptr @RO_BOTTOM_LEFT, align 4
%18 = select i1 %13, i32 %16, i32 %17
%19 = tail call i32 @SCR_RenderOrigin(i32 noundef %18) #2
store i32 0, ptr %0, align 8, !tbaa !20
%20 = getelementptr inbounds i8, ptr %7, i64 40
%21 = load ptr, ptr %20, align 8, !tbaa !21
%22 = load i32, ptr %7, align 8, !tbaa !19
%23 = tail call i32 %21(i32 noundef %22) #2
store double 0.000000e+00, ptr %2, align 8, !tbaa !22
%24 = icmp slt i32 %1, 1
br i1 %24, label %25, label %26
25: ; preds = %3
store i32 0, ptr %0, align 8, !tbaa !20
br label %111
26: ; preds = %3
%27 = getelementptr inbounds i8, ptr %7, i64 32
%28 = getelementptr inbounds i8, ptr %0, i64 32
%29 = getelementptr inbounds i8, ptr %7, i64 24
%30 = getelementptr inbounds i8, ptr %0, i64 4
%31 = getelementptr inbounds i8, ptr %0, i64 8
%32 = getelementptr inbounds i8, ptr %0, i64 12
%33 = getelementptr inbounds i8, ptr %7, i64 16
%34 = getelementptr inbounds i8, ptr %0, i64 16
%35 = getelementptr inbounds i8, ptr %0, i64 24
br label %36
36: ; preds = %26, %105
%37 = phi i32 [ 0, %26 ], [ %106, %105 ]
%38 = tail call double @get_engine_score() #2
%39 = load ptr, ptr %27, align 8, !tbaa !23
%40 = load i32, ptr %7, align 8, !tbaa !19
%41 = tail call i64 %39(i32 noundef %40) #2
%42 = icmp eq i64 %41, 0
br i1 %42, label %64, label %43
43: ; preds = %36
%44 = tail call double @get_engine_score() #2
%45 = tail call i32 @load_map(ptr noundef nonnull %0) #2
%46 = load ptr, ptr %28, align 8, !tbaa !24
%47 = load i64, ptr %46, align 8, !tbaa !25
%48 = load i64, ptr @DMLAB_RECORDING_ERROR_NONE, align 8, !tbaa !28
%49 = icmp eq i64 %47, %48
br i1 %49, label %50, label %112
50: ; preds = %43
%51 = icmp eq i32 %45, 0
br i1 %51, label %112, label %52
52: ; preds = %50
%53 = load ptr, ptr %8, align 8, !tbaa !29
%54 = load i32, ptr %7, align 8, !tbaa !19
%55 = tail call i64 %53(i32 noundef %54) #2
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %112
57: ; preds = %52
%58 = load ptr, ptr %29, align 8, !tbaa !30
%59 = load i32, ptr %7, align 8, !tbaa !19
%60 = tail call i32 %58(i32 noundef %59, i32 noundef 0) #2
%61 = tail call double @get_engine_score() #2
%62 = fsub double %44, %38
%63 = fsub double %61, %62
br label %64
64: ; preds = %57, %36
%65 = phi double [ %63, %57 ], [ %38, %36 ]
%66 = load i32, ptr %30, align 4, !tbaa !31
%67 = add nsw i32 %66, 1
store i32 %67, ptr %30, align 4, !tbaa !31
%68 = load i32, ptr @cl, align 4, !tbaa !32
%69 = tail call i32 @IN_Frame() #2
%70 = tail call i32 @Com_Frame() #2
%71 = load i32, ptr %31, align 8, !tbaa !34
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %78
73: ; preds = %64
%74 = load i32, ptr @cl, align 4, !tbaa !32
%75 = sub i32 %74, %68
%76 = load i32, ptr %32, align 4, !tbaa !35
%77 = add nsw i32 %75, %76
br label %81
78: ; preds = %64
%79 = load i32, ptr %30, align 4, !tbaa !31
%80 = mul nsw i32 %79, %71
br label %81
81: ; preds = %78, %73
%82 = phi i32 [ %80, %78 ], [ %77, %73 ]
store i32 %82, ptr %32, align 4, !tbaa !35
%83 = load ptr, ptr %33, align 8, !tbaa !36
%84 = load i32, ptr %7, align 8, !tbaa !19
%85 = sitofp i32 %82 to double
%86 = load double, ptr @kEngineTimePerExternalTime, align 8, !tbaa !22
%87 = fmul double %86, 1.000000e+03
%88 = fdiv double %85, %87
%89 = tail call i32 %83(i32 noundef %84, double noundef %88) #2
%90 = freeze i32 %89
%91 = icmp eq i32 %90, 0
br i1 %91, label %94, label %92
92: ; preds = %81
%93 = tail call i32 @Com_Frame() #2
br label %94
94: ; preds = %92, %81
%95 = load i64, ptr @clc, align 8, !tbaa !37
%96 = load i64, ptr @CA_ACTIVE, align 8, !tbaa !28
%97 = icmp eq i64 %95, %96
br i1 %97, label %98, label %105
98: ; preds = %94
%99 = tail call double @get_engine_score() #2
%100 = fsub double %99, %65
%101 = load double, ptr %34, align 8, !tbaa !39
%102 = fadd double %101, %100
store double %102, ptr %34, align 8, !tbaa !39
%103 = load double, ptr %2, align 8, !tbaa !22
%104 = fadd double %100, %103
store double %104, ptr %2, align 8, !tbaa !22
br label %105
105: ; preds = %94, %98
store i32 0, ptr %35, align 8, !tbaa !40
%106 = add nuw nsw i32 %37, 1
%107 = icmp sge i32 %106, %1
%108 = icmp ne i32 %90, 0
%109 = or i1 %107, %108
br i1 %109, label %110, label %36, !llvm.loop !41
110: ; preds = %105
store i32 0, ptr %0, align 8, !tbaa !20
br i1 %91, label %111, label %112
111: ; preds = %25, %110
br label %112
112: ; preds = %52, %50, %43, %111, %110
%113 = phi ptr [ @EnvCApi_EnvironmentStatus_Running, %111 ], [ @EnvCApi_EnvironmentStatus_Terminated, %110 ], [ @EnvCApi_EnvironmentStatus_Error, %52 ], [ @EnvCApi_EnvironmentStatus_Terminated, %50 ], [ @EnvCApi_EnvironmentStatus_Error, %43 ]
%114 = load i32, ptr %113, align 4
ret i32 %114
}
declare i32 @SCR_SkipRendering(i32 noundef) local_unnamed_addr #1
declare i32 @SCR_RenderOrigin(i32 noundef) local_unnamed_addr #1
declare double @get_engine_score(...) local_unnamed_addr #1
declare i32 @load_map(ptr noundef) local_unnamed_addr #1
declare i32 @IN_Frame(...) local_unnamed_addr #1
declare i32 @Com_Frame(...) 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_15__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 40}
!12 = !{!"TYPE_13__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !13, i64 24, !8, i64 32, !8, i64 40}
!13 = !{!"int", !9, i64 0}
!14 = !{!"double", !9, i64 0}
!15 = !{!16, !8, i64 48}
!16 = !{!"TYPE_14__", !13, i64 0, !17, i64 8}
!17 = !{!"TYPE_12__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !18, i64 32, !8, i64 40}
!18 = !{!"TYPE_10__", !8, i64 0}
!19 = !{!16, !13, i64 0}
!20 = !{!12, !13, i64 0}
!21 = !{!16, !8, i64 40}
!22 = !{!14, !14, i64 0}
!23 = !{!16, !8, i64 32}
!24 = !{!12, !8, i64 32}
!25 = !{!26, !27, i64 0}
!26 = !{!"TYPE_11__", !27, i64 0}
!27 = !{!"long", !9, i64 0}
!28 = !{!27, !27, i64 0}
!29 = !{!16, !8, i64 8}
!30 = !{!16, !8, i64 24}
!31 = !{!12, !13, i64 4}
!32 = !{!33, !13, i64 0}
!33 = !{!"TYPE_17__", !13, i64 0}
!34 = !{!12, !13, i64 8}
!35 = !{!12, !13, i64 12}
!36 = !{!16, !8, i64 16}
!37 = !{!38, !27, i64 0}
!38 = !{!"TYPE_16__", !27, i64 0}
!39 = !{!12, !14, i64 16}
!40 = !{!12, !13, i64 24}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
| lab_engine_code_deepmind_extr_dmlab_connect.c_dmlab_advance |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_route.c_icmp6_clean_all.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_route.c_icmp6_clean_all.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@icmp6_dst_lock = dso_local global i32 0, align 4
@icmp6_dst_gc_list = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @icmp6_clean_all], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @icmp6_clean_all(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = tail call i32 @spin_lock_bh(ptr noundef nonnull @icmp6_dst_lock) #2
%4 = load ptr, ptr @icmp6_dst_gc_list, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %18, label %6
6: ; preds = %2, %14
%7 = phi ptr [ %16, %14 ], [ %4, %2 ]
%8 = phi ptr [ %15, %14 ], [ @icmp6_dst_gc_list, %2 ]
%9 = tail call i32 %0(ptr noundef nonnull %7, ptr noundef %1) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %6
%12 = load ptr, ptr %7, align 8, !tbaa !9
store ptr %12, ptr %8, align 8, !tbaa !5
%13 = tail call i32 @dst_free(ptr noundef nonnull %7) #2
br label %14
14: ; preds = %6, %11
%15 = phi ptr [ %8, %11 ], [ %7, %6 ]
%16 = load ptr, ptr %15, align 8, !tbaa !5
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %6, !llvm.loop !11
18: ; preds = %14, %2
%19 = tail call i32 @spin_unlock_bh(ptr noundef nonnull @icmp6_dst_lock) #2
ret void
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @dst_free(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 0}
!10 = !{!"dst_entry", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_route.c_icmp6_clean_all.c'
source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_route.c_icmp6_clean_all.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@icmp6_dst_lock = common global i32 0, align 4
@icmp6_dst_gc_list = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @icmp6_clean_all], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @icmp6_clean_all(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = tail call i32 @spin_lock_bh(ptr noundef nonnull @icmp6_dst_lock) #2
%4 = load ptr, ptr @icmp6_dst_gc_list, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %18, label %6
6: ; preds = %2, %14
%7 = phi ptr [ %16, %14 ], [ %4, %2 ]
%8 = phi ptr [ %15, %14 ], [ @icmp6_dst_gc_list, %2 ]
%9 = tail call i32 %0(ptr noundef nonnull %7, ptr noundef %1) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %6
%12 = load ptr, ptr %7, align 8, !tbaa !10
store ptr %12, ptr %8, align 8, !tbaa !6
%13 = tail call i32 @dst_free(ptr noundef nonnull %7) #2
br label %14
14: ; preds = %6, %11
%15 = phi ptr [ %8, %11 ], [ %7, %6 ]
%16 = load ptr, ptr %15, align 8, !tbaa !6
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %6, !llvm.loop !12
18: ; preds = %14, %2
%19 = tail call i32 @spin_unlock_bh(ptr noundef nonnull @icmp6_dst_lock) #2
ret void
}
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @dst_free(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 0}
!11 = !{!"dst_entry", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_net_ipv6_extr_route.c_icmp6_clean_all |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-at91.c_at91_get_group_pins.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-at91.c_at91_get_group_pins.c"
target datalayout = "e-m:e-p270:32:32-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.at91_pinctrl = type { i32, ptr }
%struct.TYPE_2__ = type { ptr, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @at91_get_group_pins], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @at91_get_group_pins(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 {
%5 = tail call ptr @pinctrl_dev_get_drvdata(ptr noundef %0) #2
%6 = load i32, ptr %5, align 8, !tbaa !5
%7 = icmp ugt i32 %6, %1
br i1 %7, label %11, label %8
8: ; preds = %4
%9 = load i32, ptr @EINVAL, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %20
11: ; preds = %4
%12 = getelementptr inbounds %struct.at91_pinctrl, ptr %5, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = zext i32 %1 to i64
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !13
store ptr %16, ptr %2, align 8, !tbaa !15
%17 = load ptr, ptr %12, align 8, !tbaa !12
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %14, i32 1
%19 = load i32, ptr %18, align 8, !tbaa !16
store i32 %19, ptr %3, align 4, !tbaa !11
br label %20
20: ; preds = %11, %8
%21 = phi i32 [ %10, %8 ], [ 0, %11 ]
ret i32 %21
}
declare ptr @pinctrl_dev_get_drvdata(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 = !{!"at91_pinctrl", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_2__", !10, i64 0, !7, i64 8}
!15 = !{!10, !10, i64 0}
!16 = !{!14, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/pinctrl/extr_pinctrl-at91.c_at91_get_group_pins.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/extr_pinctrl-at91.c_at91_get_group_pins.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @at91_get_group_pins], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @at91_get_group_pins(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 {
%5 = tail call ptr @pinctrl_dev_get_drvdata(ptr noundef %0) #2
%6 = load i32, ptr %5, align 8, !tbaa !6
%7 = icmp ugt i32 %6, %1
br i1 %7, label %11, label %8
8: ; preds = %4
%9 = load i32, ptr @EINVAL, align 4, !tbaa !12
%10 = sub nsw i32 0, %9
br label %20
11: ; preds = %4
%12 = getelementptr inbounds i8, ptr %5, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = zext i32 %1 to i64
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !14
store ptr %16, ptr %2, align 8, !tbaa !16
%17 = load ptr, ptr %12, align 8, !tbaa !13
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %14, i32 1
%19 = load i32, ptr %18, align 8, !tbaa !17
store i32 %19, ptr %3, align 4, !tbaa !12
br label %20
20: ; preds = %11, %8
%21 = phi i32 [ %10, %8 ], [ 0, %11 ]
ret i32 %21
}
declare ptr @pinctrl_dev_get_drvdata(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 = !{!"at91_pinctrl", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_2__", !11, i64 0, !8, i64 8}
!16 = !{!11, !11, i64 0}
!17 = !{!15, !8, i64 8}
| linux_drivers_pinctrl_extr_pinctrl-at91.c_at91_get_group_pins |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.