IR_x86
stringlengths 592
249k
| IR_arm
stringlengths 558
250k
| filename
stringlengths 17
191
|
---|---|---|
; ModuleID = 'AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_beiscsi_enable_pci.c'
source_filename = "AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_beiscsi_enable_pci.c"
target datalayout = "e-m:e-p270:32:32-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 [43 x i8] c"beiscsi_enable_pci - enable device failed\0A\00", align 1
@DRV_NAME = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [44 x i8] c"beiscsi_enable_pci - request region failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Could not set PCI DMA Mask\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @beiscsi_enable_pci], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @beiscsi_enable_pci(ptr noundef %0) #0 {
%2 = tail call i32 @pci_enable_device(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2
br label %27
6: ; preds = %1
%7 = load i32, ptr @DRV_NAME, align 4, !tbaa !5
%8 = tail call i32 @pci_request_regions(ptr noundef %0, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #2
br label %24
12: ; preds = %6
%13 = tail call i32 @pci_set_master(ptr noundef %0) #2
%14 = tail call i32 @DMA_BIT_MASK(i32 noundef 64) #2
%15 = tail call i32 @dma_set_mask_and_coherent(ptr noundef %0, i32 noundef %14) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %27, label %17
17: ; preds = %12
%18 = tail call i32 @DMA_BIT_MASK(i32 noundef 32) #2
%19 = tail call i32 @dma_set_mask_and_coherent(ptr noundef %0, i32 noundef %18) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2) #2
%23 = tail call i32 @pci_release_regions(ptr noundef %0) #2
br label %24
24: ; preds = %21, %10
%25 = phi i32 [ %8, %10 ], [ %19, %21 ]
%26 = tail call i32 @pci_disable_device(ptr noundef %0) #2
br label %27
27: ; preds = %12, %17, %24, %4
%28 = phi i32 [ %2, %4 ], [ %25, %24 ], [ 0, %17 ], [ 0, %12 ]
ret i32 %28
}
declare i32 @pci_enable_device(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_request_regions(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_set_master(ptr noundef) local_unnamed_addr #1
declare i32 @dma_set_mask_and_coherent(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DMA_BIT_MASK(i32 noundef) local_unnamed_addr #1
declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_device(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_beiscsi_enable_pci.c'
source_filename = "AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_main.c_beiscsi_enable_pci.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 [43 x i8] c"beiscsi_enable_pci - enable device failed\0A\00", align 1
@DRV_NAME = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [44 x i8] c"beiscsi_enable_pci - request region failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Could not set PCI DMA Mask\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @beiscsi_enable_pci], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @beiscsi_enable_pci(ptr noundef %0) #0 {
%2 = tail call i32 @pci_enable_device(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2
br label %27
6: ; preds = %1
%7 = load i32, ptr @DRV_NAME, align 4, !tbaa !6
%8 = tail call i32 @pci_request_regions(ptr noundef %0, i32 noundef %7) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #2
br label %24
12: ; preds = %6
%13 = tail call i32 @pci_set_master(ptr noundef %0) #2
%14 = tail call i32 @DMA_BIT_MASK(i32 noundef 64) #2
%15 = tail call i32 @dma_set_mask_and_coherent(ptr noundef %0, i32 noundef %14) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %27, label %17
17: ; preds = %12
%18 = tail call i32 @DMA_BIT_MASK(i32 noundef 32) #2
%19 = tail call i32 @dma_set_mask_and_coherent(ptr noundef %0, i32 noundef %18) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.2) #2
%23 = tail call i32 @pci_release_regions(ptr noundef %0) #2
br label %24
24: ; preds = %21, %10
%25 = phi i32 [ %8, %10 ], [ %19, %21 ]
%26 = tail call i32 @pci_disable_device(ptr noundef %0) #2
br label %27
27: ; preds = %12, %17, %24, %4
%28 = phi i32 [ %2, %4 ], [ %25, %24 ], [ 0, %17 ], [ 0, %12 ]
ret i32 %28
}
declare i32 @pci_enable_device(ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_request_regions(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_set_master(ptr noundef) local_unnamed_addr #1
declare i32 @dma_set_mask_and_coherent(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DMA_BIT_MASK(i32 noundef) local_unnamed_addr #1
declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_device(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_scsi_be2iscsi_extr_be_main.c_beiscsi_enable_pci
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_sysrq.c_sysrq_handle_term.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_sysrq.c_sysrq_handle_term.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SIGTERM = dso_local local_unnamed_addr global i32 0, align 4
@console_loglevel = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sysrq_handle_term], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sysrq_handle_term(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @SIGTERM, align 4, !tbaa !5
%4 = tail call i32 @send_sig_all(i32 noundef %3) #2
store i32 8, ptr @console_loglevel, align 4, !tbaa !5
ret void
}
declare i32 @send_sig_all(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/char/extr_sysrq.c_sysrq_handle_term.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_sysrq.c_sysrq_handle_term.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SIGTERM = common local_unnamed_addr global i32 0, align 4
@console_loglevel = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sysrq_handle_term], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sysrq_handle_term(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @SIGTERM, align 4, !tbaa !6
%4 = tail call i32 @send_sig_all(i32 noundef %3) #2
store i32 8, ptr @console_loglevel, align 4, !tbaa !6
ret void
}
declare i32 @send_sig_all(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_char_extr_sysrq.c_sysrq_handle_term
|
; ModuleID = 'AnghaBench/xhyve/src/vmm/io/extr_vrtc.c_vrtc_init.c'
source_filename = "AnghaBench/xhyve/src/vmm/io/extr_vrtc.c_vrtc_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vrtc = type { i32, i32, %struct.rtcdev, i32, i32, ptr }
%struct.rtcdev = type { i32, i32, i64, i32 }
@CALENDAR_CLOCK = dso_local local_unnamed_addr global i32 0, align 4
@mach_clock = dso_local global i32 0, align 4
@RTCSB_24HR = dso_local local_unnamed_addr global i32 0, align 4
@RTCSD_PWR = dso_local local_unnamed_addr global i32 0, align 4
@RTC_STATUSD = dso_local local_unnamed_addr global i32 0, align 4
@VRTC_BROKEN_TIME = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @vrtc_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @malloc(i32 noundef 48) #2
%3 = tail call i32 @assert(ptr noundef %2) #2
%4 = tail call i32 @bzero(ptr noundef %2, i32 noundef 48) #2
%5 = getelementptr inbounds %struct.vrtc, ptr %2, i64 0, i32 5
store ptr %0, ptr %5, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.vrtc, ptr %2, i64 0, i32 4
%7 = tail call i32 @pthread_mutex_init(ptr noundef nonnull %6, ptr noundef null) #2
%8 = tail call i32 (...) @mach_host_self() #2
%9 = load i32, ptr @CALENDAR_CLOCK, align 4, !tbaa !13
%10 = tail call i32 @host_get_clock_service(i32 noundef %8, i32 noundef %9, ptr noundef nonnull @mach_clock) #2
%11 = getelementptr inbounds %struct.vrtc, ptr %2, i64 0, i32 3
%12 = tail call i32 @callout_init(ptr noundef nonnull %11, i32 noundef 1) #2
%13 = getelementptr inbounds %struct.vrtc, ptr %2, i64 0, i32 2
store i32 32, ptr %13, align 8, !tbaa !14
%14 = load i32, ptr @RTCSB_24HR, align 4, !tbaa !13
%15 = getelementptr inbounds %struct.vrtc, ptr %2, i64 0, i32 2, i32 3
store i32 %14, ptr %15, align 8, !tbaa !15
%16 = getelementptr inbounds %struct.vrtc, ptr %2, i64 0, i32 2, i32 2
store i64 0, ptr %16, align 8, !tbaa !16
%17 = load i32, ptr @RTCSD_PWR, align 4, !tbaa !13
%18 = getelementptr inbounds %struct.vrtc, ptr %2, i64 0, i32 2, i32 1
store i32 %17, ptr %18, align 4, !tbaa !17
%19 = load i32, ptr @RTC_STATUSD, align 4, !tbaa !13
%20 = getelementptr inbounds %struct.vrtc, ptr %2, i64 0, i32 1
store i32 %19, ptr %20, align 4, !tbaa !18
%21 = tail call i32 @VRTC_LOCK(ptr noundef %2) #2
%22 = load i32, ptr @VRTC_BROKEN_TIME, align 4, !tbaa !13
store i32 %22, ptr %2, align 8, !tbaa !19
%23 = tail call i32 (...) @sbinuptime() #2
%24 = tail call i32 @vrtc_time_update(ptr noundef nonnull %2, i64 noundef 0, i32 noundef %23) #2
%25 = tail call i32 @secs_to_rtc(i64 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #2
%26 = tail call i32 @VRTC_UNLOCK(ptr noundef nonnull %2) #2
ret ptr %2
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @host_get_clock_service(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mach_host_self(...) local_unnamed_addr #1
declare i32 @callout_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VRTC_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @vrtc_time_update(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sbinuptime(...) local_unnamed_addr #1
declare i32 @secs_to_rtc(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VRTC_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !12, i64 40}
!6 = !{!"vrtc", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 32, !7, i64 36, !12, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"rtcdev", !7, i64 0, !7, i64 4, !11, i64 8, !7, i64 16}
!11 = !{!"long", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!10, !7, i64 0}
!15 = !{!10, !7, i64 16}
!16 = !{!10, !11, i64 8}
!17 = !{!10, !7, i64 4}
!18 = !{!6, !7, i64 4}
!19 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/xhyve/src/vmm/io/extr_vrtc.c_vrtc_init.c'
source_filename = "AnghaBench/xhyve/src/vmm/io/extr_vrtc.c_vrtc_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CALENDAR_CLOCK = common local_unnamed_addr global i32 0, align 4
@mach_clock = common global i32 0, align 4
@RTCSB_24HR = common local_unnamed_addr global i32 0, align 4
@RTCSD_PWR = common local_unnamed_addr global i32 0, align 4
@RTC_STATUSD = common local_unnamed_addr global i32 0, align 4
@VRTC_BROKEN_TIME = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @vrtc_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @malloc(i32 noundef 48) #2
%3 = tail call i32 @assert(ptr noundef %2) #2
%4 = tail call i32 @bzero(ptr noundef %2, i32 noundef 48) #2
%5 = getelementptr inbounds i8, ptr %2, i64 40
store ptr %0, ptr %5, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %2, i64 36
%7 = tail call i32 @pthread_mutex_init(ptr noundef nonnull %6, ptr noundef null) #2
%8 = tail call i32 @mach_host_self() #2
%9 = load i32, ptr @CALENDAR_CLOCK, align 4, !tbaa !14
%10 = tail call i32 @host_get_clock_service(i32 noundef %8, i32 noundef %9, ptr noundef nonnull @mach_clock) #2
%11 = getelementptr inbounds i8, ptr %2, i64 32
%12 = tail call i32 @callout_init(ptr noundef nonnull %11, i32 noundef 1) #2
%13 = getelementptr inbounds i8, ptr %2, i64 8
store i32 32, ptr %13, align 8, !tbaa !15
%14 = load i32, ptr @RTCSB_24HR, align 4, !tbaa !14
%15 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %14, ptr %15, align 8, !tbaa !16
%16 = getelementptr inbounds i8, ptr %2, i64 16
store i64 0, ptr %16, align 8, !tbaa !17
%17 = load i32, ptr @RTCSD_PWR, align 4, !tbaa !14
%18 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %17, ptr %18, align 4, !tbaa !18
%19 = load i32, ptr @RTC_STATUSD, align 4, !tbaa !14
%20 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %19, ptr %20, align 4, !tbaa !19
%21 = tail call i32 @VRTC_LOCK(ptr noundef %2) #2
%22 = load i32, ptr @VRTC_BROKEN_TIME, align 4, !tbaa !14
store i32 %22, ptr %2, align 8, !tbaa !20
%23 = tail call i32 @sbinuptime() #2
%24 = tail call i32 @vrtc_time_update(ptr noundef nonnull %2, i64 noundef 0, i32 noundef %23) #2
%25 = tail call i32 @secs_to_rtc(i64 noundef 0, ptr noundef nonnull %2, i32 noundef 0) #2
%26 = tail call i32 @VRTC_UNLOCK(ptr noundef nonnull %2) #2
ret ptr %2
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @host_get_clock_service(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mach_host_self(...) local_unnamed_addr #1
declare i32 @callout_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VRTC_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @vrtc_time_update(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sbinuptime(...) local_unnamed_addr #1
declare i32 @secs_to_rtc(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VRTC_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !13, i64 40}
!7 = !{!"vrtc", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 32, !8, i64 36, !13, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"rtcdev", !8, i64 0, !8, i64 4, !12, i64 8, !8, i64 16}
!12 = !{!"long", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!11, !8, i64 0}
!16 = !{!11, !8, i64 16}
!17 = !{!11, !12, i64 8}
!18 = !{!11, !8, i64 4}
!19 = !{!7, !8, i64 4}
!20 = !{!7, !8, i64 0}
|
xhyve_src_vmm_io_extr_vrtc.c_vrtc_init
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_vas-window.c_poll_window_busy_state.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_vas-window.c_poll_window_busy_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"
@WIN_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@VAS_WIN_BUSY = dso_local local_unnamed_addr global i32 0, align 4
@TASK_UNINTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @poll_window_busy_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @poll_window_busy_state(ptr noundef %0) #0 {
%2 = load i32, ptr @WIN_STATUS, align 4, !tbaa !5
%3 = tail call i32 @VREG(i32 noundef %2) #2
%4 = tail call i64 @read_hvwc_reg(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @VAS_WIN_BUSY, align 4, !tbaa !5
%6 = tail call i32 @GET_FIELD(i32 noundef %5, i64 noundef %4) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %19, label %8
8: ; preds = %1, %8
%9 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !5
%10 = tail call i32 @set_current_state(i32 noundef %9) #2
%11 = tail call i32 @msecs_to_jiffies(i32 noundef 5) #2
%12 = tail call i32 @schedule_timeout(i32 noundef %11) #2
%13 = load i32, ptr @WIN_STATUS, align 4, !tbaa !5
%14 = tail call i32 @VREG(i32 noundef %13) #2
%15 = tail call i64 @read_hvwc_reg(ptr noundef %0, i32 noundef %14) #2
%16 = load i32, ptr @VAS_WIN_BUSY, align 4, !tbaa !5
%17 = tail call i32 @GET_FIELD(i32 noundef %16, i64 noundef %15) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %8
19: ; preds = %8, %1
ret void
}
declare i64 @read_hvwc_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VREG(i32 noundef) local_unnamed_addr #1
declare i32 @GET_FIELD(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_current_state(i32 noundef) local_unnamed_addr #1
declare i32 @schedule_timeout(i32 noundef) local_unnamed_addr #1
declare i32 @msecs_to_jiffies(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/arch/powerpc/platforms/powernv/extr_vas-window.c_poll_window_busy_state.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_vas-window.c_poll_window_busy_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WIN_STATUS = common local_unnamed_addr global i32 0, align 4
@VAS_WIN_BUSY = common local_unnamed_addr global i32 0, align 4
@TASK_UNINTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @poll_window_busy_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @poll_window_busy_state(ptr noundef %0) #0 {
%2 = load i32, ptr @WIN_STATUS, align 4, !tbaa !6
%3 = tail call i32 @VREG(i32 noundef %2) #2
%4 = tail call i64 @read_hvwc_reg(ptr noundef %0, i32 noundef %3) #2
%5 = load i32, ptr @VAS_WIN_BUSY, align 4, !tbaa !6
%6 = tail call i32 @GET_FIELD(i32 noundef %5, i64 noundef %4) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %19, label %8
8: ; preds = %1, %8
%9 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !6
%10 = tail call i32 @set_current_state(i32 noundef %9) #2
%11 = tail call i32 @msecs_to_jiffies(i32 noundef 5) #2
%12 = tail call i32 @schedule_timeout(i32 noundef %11) #2
%13 = load i32, ptr @WIN_STATUS, align 4, !tbaa !6
%14 = tail call i32 @VREG(i32 noundef %13) #2
%15 = tail call i64 @read_hvwc_reg(ptr noundef %0, i32 noundef %14) #2
%16 = load i32, ptr @VAS_WIN_BUSY, align 4, !tbaa !6
%17 = tail call i32 @GET_FIELD(i32 noundef %16, i64 noundef %15) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %8
19: ; preds = %8, %1
ret void
}
declare i64 @read_hvwc_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VREG(i32 noundef) local_unnamed_addr #1
declare i32 @GET_FIELD(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @set_current_state(i32 noundef) local_unnamed_addr #1
declare i32 @schedule_timeout(i32 noundef) local_unnamed_addr #1
declare i32 @msecs_to_jiffies(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_arch_powerpc_platforms_powernv_extr_vas-window.c_poll_window_busy_state
|
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_errorlist.c__wind_stringprep_prohibited.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_errorlist.c__wind_stringprep_prohibited.c"
target datalayout = "e-m:e-p270:32:32-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 noundef i32 @_wind_stringprep_prohibited(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i64 %1, 0
br i1 %4, label %16, label %9
5: ; preds = %9
%6 = add i32 %11, 1
%7 = zext i32 %6 to i64
%8 = icmp ult i64 %7, %1
br i1 %8, label %9, label %16, !llvm.loop !5
9: ; preds = %3, %5
%10 = phi i64 [ %7, %5 ], [ 0, %3 ]
%11 = phi i32 [ %6, %5 ], [ 0, %3 ]
%12 = getelementptr inbounds i32, ptr %0, i64 %10
%13 = load i32, ptr %12, align 4, !tbaa !7
%14 = tail call i64 @_wind_stringprep_error(i32 noundef %13, i32 noundef %2) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %5, label %16
16: ; preds = %9, %5, %3
%17 = phi i32 [ 0, %3 ], [ 0, %5 ], [ 1, %9 ]
ret i32 %17
}
declare i64 @_wind_stringprep_error(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_errorlist.c__wind_stringprep_prohibited.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_errorlist.c__wind_stringprep_prohibited.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @_wind_stringprep_prohibited(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = icmp eq i64 %1, 0
br i1 %4, label %16, label %9
5: ; preds = %9
%6 = add i32 %11, 1
%7 = zext i32 %6 to i64
%8 = icmp ult i64 %7, %1
br i1 %8, label %9, label %16, !llvm.loop !6
9: ; preds = %3, %5
%10 = phi i64 [ %7, %5 ], [ 0, %3 ]
%11 = phi i32 [ %6, %5 ], [ 0, %3 ]
%12 = getelementptr inbounds i32, ptr %0, i64 %10
%13 = load i32, ptr %12, align 4, !tbaa !8
%14 = tail call i64 @_wind_stringprep_error(i32 noundef %13, i32 noundef %2) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %5, label %16
16: ; preds = %9, %5, %3
%17 = phi i32 [ 0, %3 ], [ 0, %5 ], [ 1, %9 ]
ret i32 %17
}
declare i64 @_wind_stringprep_error(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
|
freebsd_crypto_heimdal_lib_wind_extr_errorlist.c__wind_stringprep_prohibited
|
; ModuleID = 'AnghaBench/linux/drivers/mmc/core/extr_core.c___mmc_release_bus.c'
source_filename = "AnghaBench/linux/drivers/mmc/core/extr_core.c___mmc_release_bus.c"
target datalayout = "e-m:e-p270:32:32-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.mmc_host = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__mmc_release_bus], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__mmc_release_bus(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.mmc_host, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @WARN_ON(i32 noundef %5) #2
store ptr null, ptr %0, align 8, !tbaa !11
ret void
}
declare i32 @WARN_ON(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 = !{!"mmc_host", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/mmc/core/extr_core.c___mmc_release_bus.c'
source_filename = "AnghaBench/linux/drivers/mmc/core/extr_core.c___mmc_release_bus.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 @__mmc_release_bus], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__mmc_release_bus(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @WARN_ON(i32 noundef %5) #2
store ptr null, ptr %0, align 8, !tbaa !12
ret void
}
declare i32 @WARN_ON(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 = !{!"mmc_host", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
|
linux_drivers_mmc_core_extr_core.c___mmc_release_bus
|
; ModuleID = 'AnghaBench/nodemcu-firmware/app/mbedtls/app/extr_lwIPSocket.c_lwip_listen.c'
source_filename = "AnghaBench/nodemcu-firmware/app/mbedtls/app/extr_lwIPSocket.c_lwip_listen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ERR_OK = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"lwip_connect(%d) failed, err=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"lwip_connect(%d) succeeded\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @lwip_listen(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @get_socket(i32 noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %16, label %5
5: ; preds = %2
%6 = load i32, ptr %3, align 4, !tbaa !5
%7 = tail call i64 @netconn_listen(i32 noundef %6) #2
%8 = load i64, ptr @ERR_OK, align 8, !tbaa !10
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %5
%11 = tail call i32 (ptr, i32, ...) @ESP_LOG(ptr noundef nonnull @.str, i32 noundef %0, i64 noundef %7) #2
br label %16
12: ; preds = %5
%13 = tail call i32 (ptr, i32, ...) @ESP_LOG(ptr noundef nonnull @.str.1, i32 noundef %0) #2
%14 = load i64, ptr @ERR_OK, align 8, !tbaa !10
%15 = trunc i64 %14 to i32
br label %16
16: ; preds = %2, %12, %10
%17 = phi i32 [ -1, %10 ], [ %15, %12 ], [ -1, %2 ]
ret i32 %17
}
declare ptr @get_socket(i32 noundef) local_unnamed_addr #1
declare i64 @netconn_listen(i32 noundef) local_unnamed_addr #1
declare i32 @ESP_LOG(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_3__", !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}
|
; ModuleID = 'AnghaBench/nodemcu-firmware/app/mbedtls/app/extr_lwIPSocket.c_lwip_listen.c'
source_filename = "AnghaBench/nodemcu-firmware/app/mbedtls/app/extr_lwIPSocket.c_lwip_listen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ERR_OK = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"lwip_connect(%d) failed, err=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"lwip_connect(%d) succeeded\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @lwip_listen(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @get_socket(i32 noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %16, label %5
5: ; preds = %2
%6 = load i32, ptr %3, align 4, !tbaa !6
%7 = tail call i64 @netconn_listen(i32 noundef %6) #2
%8 = load i64, ptr @ERR_OK, align 8, !tbaa !11
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %5
%11 = tail call i32 (ptr, i32, ...) @ESP_LOG(ptr noundef nonnull @.str, i32 noundef %0, i64 noundef %7) #2
br label %16
12: ; preds = %5
%13 = tail call i32 (ptr, i32, ...) @ESP_LOG(ptr noundef nonnull @.str.1, i32 noundef %0) #2
%14 = load i64, ptr @ERR_OK, align 8, !tbaa !11
%15 = trunc i64 %14 to i32
br label %16
16: ; preds = %2, %12, %10
%17 = phi i32 [ -1, %10 ], [ %15, %12 ], [ -1, %2 ]
ret i32 %17
}
declare ptr @get_socket(i32 noundef) local_unnamed_addr #1
declare i64 @netconn_listen(i32 noundef) local_unnamed_addr #1
declare i32 @ESP_LOG(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_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
|
nodemcu-firmware_app_mbedtls_app_extr_lwIPSocket.c_lwip_listen
|
; ModuleID = 'AnghaBench/FFmpeg/doc/examples/extr_hw_decode.c_hw_decoder_init.c'
source_filename = "AnghaBench/FFmpeg/doc/examples/extr_hw_decode.c_hw_decoder_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"
@hw_device_ctx = dso_local global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"Failed to create specified HW device.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hw_decoder_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hw_decoder_init(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = tail call i32 @av_hwdevice_ctx_create(ptr noundef nonnull @hw_device_ctx, i32 noundef %1, ptr noundef null, ptr noundef null, i32 noundef 0) #2
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @stderr, align 4, !tbaa !5
%7 = tail call i32 @fprintf(i32 noundef %6, ptr noundef nonnull @.str) #2
br label %11
8: ; preds = %2
%9 = load i32, ptr @hw_device_ctx, align 4, !tbaa !5
%10 = tail call i32 @av_buffer_ref(i32 noundef %9) #2
store i32 %10, ptr %0, align 4, !tbaa !9
br label %11
11: ; preds = %8, %5
ret i32 %3
}
declare i32 @av_hwdevice_ctx_create(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @av_buffer_ref(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 = !{!"TYPE_3__", !6, i64 0}
|
; ModuleID = 'AnghaBench/FFmpeg/doc/examples/extr_hw_decode.c_hw_decoder_init.c'
source_filename = "AnghaBench/FFmpeg/doc/examples/extr_hw_decode.c_hw_decoder_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hw_device_ctx = common global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"Failed to create specified HW device.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hw_decoder_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hw_decoder_init(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = tail call i32 @av_hwdevice_ctx_create(ptr noundef nonnull @hw_device_ctx, i32 noundef %1, ptr noundef null, ptr noundef null, i32 noundef 0) #2
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @stderr, align 4, !tbaa !6
%7 = tail call i32 @fprintf(i32 noundef %6, ptr noundef nonnull @.str) #2
br label %11
8: ; preds = %2
%9 = load i32, ptr @hw_device_ctx, align 4, !tbaa !6
%10 = tail call i32 @av_buffer_ref(i32 noundef %9) #2
store i32 %10, ptr %0, align 4, !tbaa !10
br label %11
11: ; preds = %8, %5
ret i32 %3
}
declare i32 @av_hwdevice_ctx_create(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @av_buffer_ref(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 = !{!"TYPE_3__", !7, i64 0}
|
FFmpeg_doc_examples_extr_hw_decode.c_hw_decoder_init
|
; ModuleID = 'AnghaBench/linux/kernel/gcov/extr_gcc_3_4.c_gcov_iter_new.c'
source_filename = "AnghaBench/linux/kernel/gcov/extr_gcc_3_4.c_gcov_iter_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"
@type_info = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @gcov_iter_new(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @type_info, align 4, !tbaa !5
%3 = tail call i32 @num_counter_active(ptr noundef %0) #2
%4 = tail call i32 @struct_size(ptr noundef undef, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%6 = tail call ptr @kzalloc(i32 noundef %4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr %0, ptr %6, align 8, !tbaa !9
br label %9
9: ; preds = %8, %1
ret ptr %6
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @struct_size(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @num_counter_active(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 = !{!"gcov_iterator", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/kernel/gcov/extr_gcc_3_4.c_gcov_iter_new.c'
source_filename = "AnghaBench/linux/kernel/gcov/extr_gcc_3_4.c_gcov_iter_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@type_info = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @gcov_iter_new(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @type_info, align 4, !tbaa !6
%3 = tail call i32 @num_counter_active(ptr noundef %0) #2
%4 = tail call i32 @struct_size(ptr noundef undef, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%6 = tail call ptr @kzalloc(i32 noundef %4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr %0, ptr %6, align 8, !tbaa !10
br label %9
9: ; preds = %8, %1
ret ptr %6
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @struct_size(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @num_counter_active(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 = !{!"gcov_iterator", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
|
linux_kernel_gcov_extr_gcc_3_4.c_gcov_iter_new
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_rulei_keymask_buf.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_rulei_keymask_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"
; Function Attrs: nounwind uwtable
define dso_local void @mlxsw_sp_acl_rulei_keymask_buf(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @mlxsw_afk_values_add_buf(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #2
ret void
}
declare i32 @mlxsw_afk_values_add_buf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_rulei_keymask_buf.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_rulei_keymask_buf.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 @mlxsw_sp_acl_rulei_keymask_buf(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @mlxsw_afk_values_add_buf(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #2
ret void
}
declare i32 @mlxsw_afk_values_add_buf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_acl.c_mlxsw_sp_acl_rulei_keymask_buf
|
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_45401.c_GetLocalSystemSID.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_45401.c_GetLocalSystemSID.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SECURITY_NT_AUTHORITY = dso_local local_unnamed_addr global i32 0, align 4
@SECURITY_LOCAL_SYSTEM_RID = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [41 x i8] c"\0A[-] AllocateAndInitializeSid failed %d\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @GetLocalSystemSID() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
store ptr null, ptr %1, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @SECURITY_NT_AUTHORITY, align 4, !tbaa !9
store i32 %3, ptr %2, align 4, !tbaa !9
%4 = load i32, ptr @SECURITY_LOCAL_SYSTEM_RID, align 4, !tbaa !9
%5 = call i64 @AllocateAndInitializeSid(ptr noundef nonnull %2, i32 noundef 1, i32 noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %1) #3
%6 = load i64, ptr @FALSE, align 8, !tbaa !11
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = call i32 (...) @GetLastError() #3
%10 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %9) #3
br label %13
11: ; preds = %0
%12 = load ptr, ptr %1, align 8, !tbaa !5
br label %13
13: ; preds = %11, %8
%14 = phi ptr [ null, %8 ], [ %12, %11 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret ptr %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @AllocateAndInitializeSid(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_45401.c_GetLocalSystemSID.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_45401.c_GetLocalSystemSID.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SECURITY_NT_AUTHORITY = common local_unnamed_addr global i32 0, align 4
@SECURITY_LOCAL_SYSTEM_RID = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [41 x i8] c"\0A[-] AllocateAndInitializeSid failed %d\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @GetLocalSystemSID() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
store ptr null, ptr %1, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @SECURITY_NT_AUTHORITY, align 4, !tbaa !10
store i32 %3, ptr %2, align 4, !tbaa !10
%4 = load i32, ptr @SECURITY_LOCAL_SYSTEM_RID, align 4, !tbaa !10
%5 = call i64 @AllocateAndInitializeSid(ptr noundef nonnull %2, i32 noundef 1, i32 noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %1) #3
%6 = load i64, ptr @FALSE, align 8, !tbaa !12
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = call i32 @GetLastError() #3
%10 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %9) #3
br label %13
11: ; preds = %0
%12 = load ptr, ptr %1, align 8, !tbaa !6
br label %13
13: ; preds = %11, %8
%14 = phi ptr [ null, %8 ], [ %12, %11 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret ptr %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @AllocateAndInitializeSid(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetLastError(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
|
exploitdb_exploits_windows_local_extr_45401.c_GetLocalSystemSID
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo_manager.c_ttm_bo_man_debug.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo_manager.c_ttm_bo_man_debug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ttm_range_manager = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ttm_bo_man_debug], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ttm_bo_man_debug(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @mtx_lock(ptr noundef %4) #2
%6 = getelementptr inbounds %struct.ttm_range_manager, ptr %4, i64 0, i32 1
%7 = tail call i32 @drm_mm_debug_table(ptr noundef nonnull %6, ptr noundef %1) #2
%8 = tail call i32 @mtx_unlock(ptr noundef %4) #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mm_debug_table(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mtx_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 = !{!"ttm_mem_type_manager", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo_manager.c_ttm_bo_man_debug.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_bo_manager.c_ttm_bo_man_debug.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ttm_bo_man_debug], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ttm_bo_man_debug(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = tail call i32 @mtx_lock(ptr noundef %4) #2
%6 = getelementptr inbounds i8, ptr %4, i64 4
%7 = tail call i32 @drm_mm_debug_table(ptr noundef nonnull %6, ptr noundef %1) #2
%8 = tail call i32 @mtx_unlock(ptr noundef %4) #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mm_debug_table(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mtx_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 = !{!"ttm_mem_type_manager", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_dev_drm2_ttm_extr_ttm_bo_manager.c_ttm_bo_man_debug
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/math-emu/extr_math.c_emu_fixbr.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/math-emu/extr_math.c_emu_fixbr.c"
target datalayout = "e-m:e-p270:32:32-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_11__ = type { %struct.TYPE_9__, i32 }
%struct.TYPE_9__ = type { i32, i32 }
%struct.TYPE_10__ = type { i32, ptr }
%struct.TYPE_8__ = type { i32 }
@current = dso_local local_unnamed_addr global ptr null, align 8
@QA = dso_local local_unnamed_addr global i32 0, align 4
@FP_DECL_EX = dso_local local_unnamed_addr global i32 0, align 4
@FP_RND_NEAREST = dso_local local_unnamed_addr global i32 0, align 4
@_fex = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @emu_fixbr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @emu_fixbr(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, i32 %3) #0 {
%5 = alloca %struct.TYPE_11__, align 4
%6 = load ptr, ptr @current, align 8, !tbaa !5
%7 = load i32, ptr @QA, align 4, !tbaa !9
%8 = tail call i32 @FP_DECL_Q(i32 noundef %7) #3
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3
%9 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = sext i32 %2 to i64
%12 = getelementptr inbounds %struct.TYPE_8__, ptr %10, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 1
store i32 %13, ptr %14, align 4, !tbaa !15
%15 = getelementptr %struct.TYPE_8__, ptr %12, i64 2
%16 = load i32, ptr %15, align 4, !tbaa !13
store i32 %16, ptr %5, align 4, !tbaa !18
%17 = load i32, ptr @QA, align 4, !tbaa !9
%18 = getelementptr inbounds %struct.TYPE_11__, ptr %5, i64 0, i32 1
%19 = call i32 @FP_UNPACK_QP(i32 noundef %17, ptr noundef nonnull %18) #3
%20 = load i32, ptr @QA, align 4, !tbaa !9
%21 = call i32 @FP_TO_FPINT_ROUND_Q(i32 noundef %20) #3
%22 = load i32, ptr @QA, align 4, !tbaa !9
%23 = call i32 @FP_PACK_QP(ptr noundef nonnull %18, i32 noundef %22) #3
%24 = load i32, ptr %14, align 4, !tbaa !15
%25 = load ptr, ptr %9, align 8, !tbaa !11
%26 = sext i32 %1 to i64
%27 = getelementptr inbounds %struct.TYPE_8__, ptr %25, i64 %26
store i32 %24, ptr %27, align 4, !tbaa !13
%28 = load i32, ptr %5, align 4, !tbaa !18
%29 = getelementptr %struct.TYPE_8__, ptr %27, i64 2
store i32 %28, ptr %29, align 4, !tbaa !13
%30 = load i32, ptr @_fex, align 4, !tbaa !9
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FP_DECL_Q(i32 noundef) local_unnamed_addr #2
declare i32 @FP_UNPACK_QP(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @FP_TO_FPINT_ROUND_Q(i32 noundef) local_unnamed_addr #2
declare i32 @FP_PACK_QP(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 = !{!"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, !6, i64 8}
!12 = !{!"TYPE_10__", !10, i64 0, !6, i64 8}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_8__", !10, i64 0}
!15 = !{!16, !10, i64 4}
!16 = !{!"TYPE_11__", !17, i64 0, !10, i64 8}
!17 = !{!"TYPE_9__", !10, i64 0, !10, i64 4}
!18 = !{!16, !10, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/math-emu/extr_math.c_emu_fixbr.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/math-emu/extr_math.c_emu_fixbr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { %struct.TYPE_9__, i32 }
%struct.TYPE_9__ = type { i32, i32 }
%struct.TYPE_8__ = type { i32 }
@current = common local_unnamed_addr global ptr null, align 8
@QA = common local_unnamed_addr global i32 0, align 4
@FP_DECL_EX = common local_unnamed_addr global i32 0, align 4
@FP_RND_NEAREST = common local_unnamed_addr global i32 0, align 4
@_fex = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @emu_fixbr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @emu_fixbr(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, i32 %3) #0 {
%5 = alloca %struct.TYPE_11__, align 4
%6 = load ptr, ptr @current, align 8, !tbaa !6
%7 = load i32, ptr @QA, align 4, !tbaa !10
%8 = tail call i32 @FP_DECL_Q(i32 noundef %7) #3
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3
%9 = getelementptr inbounds i8, ptr %6, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = sext i32 %2 to i64
%12 = getelementptr inbounds %struct.TYPE_8__, ptr %10, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !14
%14 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %13, ptr %14, align 4, !tbaa !16
%15 = getelementptr i8, ptr %12, i64 8
%16 = load i32, ptr %15, align 4, !tbaa !14
store i32 %16, ptr %5, align 4, !tbaa !19
%17 = load i32, ptr @QA, align 4, !tbaa !10
%18 = getelementptr inbounds i8, ptr %5, i64 8
%19 = call i32 @FP_UNPACK_QP(i32 noundef %17, ptr noundef nonnull %18) #3
%20 = load i32, ptr @QA, align 4, !tbaa !10
%21 = call i32 @FP_TO_FPINT_ROUND_Q(i32 noundef %20) #3
%22 = load i32, ptr @QA, align 4, !tbaa !10
%23 = call i32 @FP_PACK_QP(ptr noundef nonnull %18, i32 noundef %22) #3
%24 = load i32, ptr %14, align 4, !tbaa !16
%25 = load ptr, ptr %9, align 8, !tbaa !12
%26 = sext i32 %1 to i64
%27 = getelementptr inbounds %struct.TYPE_8__, ptr %25, i64 %26
store i32 %24, ptr %27, align 4, !tbaa !14
%28 = load i32, ptr %5, align 4, !tbaa !19
%29 = getelementptr i8, ptr %27, i64 8
store i32 %28, ptr %29, align 4, !tbaa !14
%30 = load i32, ptr @_fex, align 4, !tbaa !10
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FP_DECL_Q(i32 noundef) local_unnamed_addr #2
declare i32 @FP_UNPACK_QP(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @FP_TO_FPINT_ROUND_Q(i32 noundef) local_unnamed_addr #2
declare i32 @FP_PACK_QP(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"TYPE_10__", !11, i64 0, !7, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_8__", !11, i64 0}
!16 = !{!17, !11, i64 4}
!17 = !{!"TYPE_11__", !18, i64 0, !11, i64 8}
!18 = !{!"TYPE_9__", !11, i64 0, !11, i64 4}
!19 = !{!17, !11, i64 0}
|
fastsocket_kernel_arch_s390_math-emu_extr_math.c_emu_fixbr
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_release_pin.c'
source_filename = "AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_release_pin.c"
target datalayout = "e-m:e-p270:32:32-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.gpiobus_softc = type { i64, ptr }
%struct.TYPE_2__ = type { i64 }
@.str = private unnamed_addr constant [45 x i8] c"gpiobus_acquire_pin: invalid pin %d, max=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"gpiobus_acquire_pin: pin %d is not mapped\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @gpiobus_release_pin(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp ugt i64 %4, %1
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = add i64 %4, -1
%8 = tail call i32 (i32, ptr, i64, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str, i64 noundef %1, i64 noundef %7) #2
br label %18
9: ; preds = %2
%10 = getelementptr inbounds %struct.gpiobus_softc, ptr %3, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !11
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %1
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = tail call i32 (i32, ptr, i64, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1, i64 noundef %1) #2
br label %18
17: ; preds = %9
store i64 0, ptr %12, align 8, !tbaa !12
br label %18
18: ; preds = %17, %15, %6
%19 = phi i32 [ -1, %6 ], [ 0, %17 ], [ -1, %15 ]
ret i32 %19
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"gpiobus_softc", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_release_pin.c'
source_filename = "AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_release_pin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64 }
@.str = private unnamed_addr constant [45 x i8] c"gpiobus_acquire_pin: invalid pin %d, max=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"gpiobus_acquire_pin: pin %d is not mapped\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @gpiobus_release_pin(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp ugt i64 %4, %1
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = add i64 %4, -1
%8 = tail call i32 (i32, ptr, i64, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str, i64 noundef %1, i64 noundef %7) #2
br label %18
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %3, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %1
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = tail call i32 (i32, ptr, i64, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1, i64 noundef %1) #2
br label %18
17: ; preds = %9
store i64 0, ptr %12, align 8, !tbaa !13
br label %18
18: ; preds = %17, %15, %6
%19 = phi i32 [ -1, %6 ], [ 0, %17 ], [ -1, %15 ]
ret i32 %19
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"gpiobus_softc", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
|
freebsd_sys_dev_gpio_extr_gpiobus.c_gpiobus_release_pin
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_ro.c_fdt_supernode_atdepth_offset.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_ro.c_fdt_supernode_atdepth_offset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FDT_ERR_INTERNAL = dso_local local_unnamed_addr global i32 0, align 4
@FDT_ERR_NOTFOUND = dso_local local_unnamed_addr global i32 0, align 4
@FDT_ERR_BADOFFSET = dso_local local_unnamed_addr global i32 0, align 4
@FDT_ERR_BADSTRUCTURE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @fdt_supernode_atdepth_offset(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = load i32, ptr @FDT_ERR_INTERNAL, align 4, !tbaa !5
%7 = tail call i32 @FDT_CHECK_HEADER(ptr noundef %0) #3
%8 = icmp slt i32 %2, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !5
%11 = sub nsw i32 0, %10
br label %50
12: ; preds = %4
store i32 0, ptr %5, align 4, !tbaa !5
%13 = icmp sgt i32 %1, -1
br i1 %13, label %14, label %40
14: ; preds = %12
%15 = sub nsw i32 0, %6
br label %16
16: ; preds = %14, %31
%17 = phi i32 [ %21, %31 ], [ %15, %14 ]
%18 = phi i32 [ %32, %31 ], [ 0, %14 ]
%19 = load i32, ptr %5, align 4, !tbaa !5
%20 = icmp eq i32 %19, %2
%21 = select i1 %20, i32 %18, i32 %17
%22 = icmp eq i32 %18, %1
br i1 %22, label %23, label %31
23: ; preds = %16
%24 = icmp eq ptr %3, null
br i1 %24, label %26, label %25
25: ; preds = %23
store i32 %19, ptr %3, align 4, !tbaa !5
br label %26
26: ; preds = %25, %23
%27 = icmp slt i32 %19, %2
br i1 %27, label %28, label %50
28: ; preds = %26
%29 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !5
%30 = sub nsw i32 0, %29
br label %50
31: ; preds = %16
%32 = call i32 @fdt_next_node(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %5) #3
%33 = icmp ugt i32 %32, %1
br i1 %33, label %34, label %16, !llvm.loop !9
34: ; preds = %31
%35 = icmp sgt i32 %32, -1
%36 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !5
%37 = sub nsw i32 0, %36
%38 = icmp eq i32 %32, %37
%39 = or i1 %35, %38
br i1 %39, label %40, label %43
40: ; preds = %12, %34
%41 = load i32, ptr @FDT_ERR_BADOFFSET, align 4, !tbaa !5
%42 = sub nsw i32 0, %41
br label %50
43: ; preds = %34
%44 = load i32, ptr @FDT_ERR_BADOFFSET, align 4, !tbaa !5
%45 = sub nsw i32 0, %44
%46 = icmp eq i32 %32, %45
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load i32, ptr @FDT_ERR_BADSTRUCTURE, align 4, !tbaa !5
%49 = sub nsw i32 0, %48
br label %50
50: ; preds = %43, %26, %47, %40, %28, %9
%51 = phi i32 [ %11, %9 ], [ %30, %28 ], [ %42, %40 ], [ %49, %47 ], [ %21, %26 ], [ %32, %43 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FDT_CHECK_HEADER(ptr noundef) local_unnamed_addr #2
declare i32 @fdt_next_node(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_ro.c_fdt_supernode_atdepth_offset.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_ro.c_fdt_supernode_atdepth_offset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FDT_ERR_INTERNAL = common local_unnamed_addr global i32 0, align 4
@FDT_ERR_NOTFOUND = common local_unnamed_addr global i32 0, align 4
@FDT_ERR_BADOFFSET = common local_unnamed_addr global i32 0, align 4
@FDT_ERR_BADSTRUCTURE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @fdt_supernode_atdepth_offset(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = load i32, ptr @FDT_ERR_INTERNAL, align 4, !tbaa !6
%7 = tail call i32 @FDT_CHECK_HEADER(ptr noundef %0) #3
%8 = icmp slt i32 %2, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !6
%11 = sub nsw i32 0, %10
br label %50
12: ; preds = %4
store i32 0, ptr %5, align 4, !tbaa !6
%13 = icmp sgt i32 %1, -1
br i1 %13, label %14, label %40
14: ; preds = %12
%15 = sub nsw i32 0, %6
br label %16
16: ; preds = %14, %31
%17 = phi i32 [ %21, %31 ], [ %15, %14 ]
%18 = phi i32 [ %32, %31 ], [ 0, %14 ]
%19 = load i32, ptr %5, align 4, !tbaa !6
%20 = icmp eq i32 %19, %2
%21 = select i1 %20, i32 %18, i32 %17
%22 = icmp eq i32 %18, %1
br i1 %22, label %23, label %31
23: ; preds = %16
%24 = icmp eq ptr %3, null
br i1 %24, label %26, label %25
25: ; preds = %23
store i32 %19, ptr %3, align 4, !tbaa !6
br label %26
26: ; preds = %25, %23
%27 = icmp slt i32 %19, %2
br i1 %27, label %28, label %50
28: ; preds = %26
%29 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !6
%30 = sub nsw i32 0, %29
br label %50
31: ; preds = %16
%32 = call i32 @fdt_next_node(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %5) #3
%33 = icmp ugt i32 %32, %1
br i1 %33, label %34, label %16, !llvm.loop !10
34: ; preds = %31
%35 = icmp sgt i32 %32, -1
%36 = load i32, ptr @FDT_ERR_NOTFOUND, align 4, !tbaa !6
%37 = sub nsw i32 0, %36
%38 = icmp eq i32 %32, %37
%39 = or i1 %35, %38
br i1 %39, label %40, label %43
40: ; preds = %12, %34
%41 = load i32, ptr @FDT_ERR_BADOFFSET, align 4, !tbaa !6
%42 = sub nsw i32 0, %41
br label %50
43: ; preds = %34
%44 = load i32, ptr @FDT_ERR_BADOFFSET, align 4, !tbaa !6
%45 = sub nsw i32 0, %44
%46 = icmp eq i32 %32, %45
br i1 %46, label %47, label %50
47: ; preds = %43
%48 = load i32, ptr @FDT_ERR_BADSTRUCTURE, align 4, !tbaa !6
%49 = sub nsw i32 0, %48
br label %50
50: ; preds = %43, %26, %47, %40, %28, %9
%51 = phi i32 [ %11, %9 ], [ %30, %28 ], [ %42, %40 ], [ %49, %47 ], [ %21, %26 ], [ %32, %43 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FDT_CHECK_HEADER(ptr noundef) local_unnamed_addr #2
declare i32 @fdt_next_node(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, !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"}
|
RetroArch_gfx_include_userland_opensrc_helpers_libfdt_extr_fdt_ro.c_fdt_supernode_atdepth_offset
|
; ModuleID = 'AnghaBench/radare2/libr/crypto/p/extr_crypto_des.c_des_decrypt.c'
source_filename = "AnghaBench/radare2/libr/crypto/p/extr_crypto_des.c_des_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"
%struct.des_state = type { i32, ptr, ptr, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @des_decrypt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @des_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp ne ptr %0, null
%5 = icmp ne ptr %1, null
%6 = and i1 %4, %5
%7 = icmp ne ptr %2, null
%8 = and i1 %6, %7
br i1 %8, label %9, label %37
9: ; preds = %3
%10 = tail call ptr @be32(ptr noundef nonnull %1) #2
%11 = getelementptr inbounds %struct.des_state, ptr %0, i64 0, i32 1
store ptr %10, ptr %11, align 8, !tbaa !5
%12 = getelementptr inbounds i32, ptr %1, i64 4
%13 = tail call ptr @be32(ptr noundef nonnull %12) #2
%14 = getelementptr inbounds %struct.des_state, ptr %0, i64 0, i32 2
store ptr %13, ptr %14, align 8, !tbaa !11
%15 = tail call i32 @r_des_permute_block0(ptr noundef nonnull %11, ptr noundef nonnull %14) #2
%16 = getelementptr inbounds %struct.des_state, ptr %0, i64 0, i32 4
%17 = getelementptr inbounds %struct.des_state, ptr %0, i64 0, i32 3
store i32 0, ptr %0, align 8, !tbaa !12
br label %18
18: ; preds = %9, %18
%19 = phi i32 [ 0, %9 ], [ %28, %18 ]
%20 = load ptr, ptr %16, align 8, !tbaa !13
%21 = sub nsw i32 15, %19
%22 = zext nneg i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load ptr, ptr %17, align 8, !tbaa !14
%25 = getelementptr inbounds i32, ptr %24, i64 %22
%26 = tail call i32 @r_des_round(ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef %23, ptr noundef %25) #2
%27 = load i32, ptr %0, align 8, !tbaa !12
%28 = add nsw i32 %27, 1
store i32 %28, ptr %0, align 8, !tbaa !12
%29 = icmp slt i32 %27, 15
br i1 %29, label %18, label %30, !llvm.loop !15
30: ; preds = %18
%31 = tail call i32 @r_des_permute_block1(ptr noundef nonnull %14, ptr noundef nonnull %11) #2
%32 = load ptr, ptr %14, align 8, !tbaa !11
%33 = tail call i32 @wbe32(ptr noundef nonnull %2, ptr noundef %32) #2
%34 = getelementptr inbounds i32, ptr %2, i64 4
%35 = load ptr, ptr %11, align 8, !tbaa !5
%36 = tail call i32 @wbe32(ptr noundef nonnull %34, ptr noundef %35) #2
br label %37
37: ; preds = %3, %30
%38 = phi i32 [ 1, %30 ], [ 0, %3 ]
ret i32 %38
}
declare ptr @be32(ptr noundef) local_unnamed_addr #1
declare i32 @r_des_permute_block0(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r_des_round(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r_des_permute_block1(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wbe32(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, !10, i64 8}
!6 = !{!"des_state", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !10, i64 32}
!14 = !{!6, !10, i64 24}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/radare2/libr/crypto/p/extr_crypto_des.c_des_decrypt.c'
source_filename = "AnghaBench/radare2/libr/crypto/p/extr_crypto_des.c_des_decrypt.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 @des_decrypt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @des_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp ne ptr %0, null
%5 = icmp ne ptr %1, null
%6 = and i1 %4, %5
%7 = icmp ne ptr %2, null
%8 = and i1 %6, %7
br i1 %8, label %9, label %37
9: ; preds = %3
%10 = tail call ptr @be32(ptr noundef nonnull %1) #2
%11 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %10, ptr %11, align 8, !tbaa !6
%12 = getelementptr inbounds i8, ptr %1, i64 16
%13 = tail call ptr @be32(ptr noundef nonnull %12) #2
%14 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %13, ptr %14, align 8, !tbaa !12
%15 = tail call i32 @r_des_permute_block0(ptr noundef nonnull %11, ptr noundef nonnull %14) #2
%16 = getelementptr inbounds i8, ptr %0, i64 32
%17 = getelementptr inbounds i8, ptr %0, i64 24
store i32 0, ptr %0, align 8, !tbaa !13
br label %18
18: ; preds = %9, %18
%19 = phi i32 [ 0, %9 ], [ %28, %18 ]
%20 = load ptr, ptr %16, align 8, !tbaa !14
%21 = sub nsw i32 15, %19
%22 = zext nneg i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load ptr, ptr %17, align 8, !tbaa !15
%25 = getelementptr inbounds i32, ptr %24, i64 %22
%26 = tail call i32 @r_des_round(ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef %23, ptr noundef %25) #2
%27 = load i32, ptr %0, align 8, !tbaa !13
%28 = add nsw i32 %27, 1
store i32 %28, ptr %0, align 8, !tbaa !13
%29 = icmp slt i32 %27, 15
br i1 %29, label %18, label %30, !llvm.loop !16
30: ; preds = %18
%31 = tail call i32 @r_des_permute_block1(ptr noundef nonnull %14, ptr noundef nonnull %11) #2
%32 = load ptr, ptr %14, align 8, !tbaa !12
%33 = tail call i32 @wbe32(ptr noundef nonnull %2, ptr noundef %32) #2
%34 = getelementptr inbounds i8, ptr %2, i64 16
%35 = load ptr, ptr %11, align 8, !tbaa !6
%36 = tail call i32 @wbe32(ptr noundef nonnull %34, ptr noundef %35) #2
br label %37
37: ; preds = %3, %30
%38 = phi i32 [ 1, %30 ], [ 0, %3 ]
ret i32 %38
}
declare ptr @be32(ptr noundef) local_unnamed_addr #1
declare i32 @r_des_permute_block0(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r_des_round(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r_des_permute_block1(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wbe32(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, !11, i64 8}
!7 = !{!"des_state", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !11, i64 32}
!15 = !{!7, !11, i64 24}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
radare2_libr_crypto_p_extr_crypto_des.c_des_decrypt
|
; ModuleID = 'AnghaBench/linux/drivers/staging/vme/devices/extr_vme_user.c_vme_user_vm_open.c'
source_filename = "AnghaBench/linux/drivers/staging/vme/devices/extr_vme_user.c_vme_user_vm_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @vme_user_vm_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vme_user_vm_open(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @refcount_inc(ptr noundef %2) #2
ret void
}
declare i32 @refcount_inc(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 = !{!"vm_area_struct", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/staging/vme/devices/extr_vme_user.c_vme_user_vm_open.c'
source_filename = "AnghaBench/linux/drivers/staging/vme/devices/extr_vme_user.c_vme_user_vm_open.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 @vme_user_vm_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vme_user_vm_open(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @refcount_inc(ptr noundef %2) #2
ret void
}
declare i32 @refcount_inc(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 = !{!"vm_area_struct", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_staging_vme_devices_extr_vme_user.c_vme_user_vm_open
|
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_blknum.c_ext2fs_bg_free_blocks_count.c'
source_filename = "AnghaBench/rufus/src/ext2fs/extr_blknum.c_ext2fs_bg_free_blocks_count.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.ext4_group_desc = type { i32, i64 }
; Function Attrs: nounwind uwtable
define dso_local i32 @ext2fs_bg_free_blocks_count(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call ptr @ext4fs_group_desc(ptr noundef %0, i32 noundef %4, i32 noundef %1) #2
%6 = load i32, ptr %5, align 8, !tbaa !10
%7 = load i32, ptr %0, align 4, !tbaa !13
%8 = tail call i64 @ext2fs_has_feature_64bit(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %15, label %10
10: ; preds = %2
%11 = getelementptr inbounds %struct.ext4_group_desc, ptr %5, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = trunc i64 %12 to i32
%14 = shl i32 %13, 16
br label %15
15: ; preds = %2, %10
%16 = phi i32 [ %14, %10 ], [ 0, %2 ]
%17 = or i32 %16, %6
ret i32 %17
}
declare ptr @ext4fs_group_desc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ext2fs_has_feature_64bit(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_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"ext4_group_desc", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!11, !12, i64 8}
|
; ModuleID = 'AnghaBench/rufus/src/ext2fs/extr_blknum.c_ext2fs_bg_free_blocks_count.c'
source_filename = "AnghaBench/rufus/src/ext2fs/extr_blknum.c_ext2fs_bg_free_blocks_count.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 @ext2fs_bg_free_blocks_count(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call ptr @ext4fs_group_desc(ptr noundef %0, i32 noundef %4, i32 noundef %1) #2
%6 = load i32, ptr %5, align 8, !tbaa !11
%7 = load i32, ptr %0, align 4, !tbaa !14
%8 = tail call i64 @ext2fs_has_feature_64bit(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %15, label %10
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %5, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = trunc i64 %12 to i32
%14 = shl i32 %13, 16
br label %15
15: ; preds = %2, %10
%16 = phi i32 [ %14, %10 ], [ 0, %2 ]
%17 = or i32 %16, %6
ret i32 %17
}
declare ptr @ext4fs_group_desc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ext2fs_has_feature_64bit(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_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"ext4_group_desc", !8, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!12, !13, i64 8}
|
rufus_src_ext2fs_extr_blknum.c_ext2fs_bg_free_blocks_count
|
; ModuleID = 'AnghaBench/openssl/crypto/rsa/extr_rsa_ameth.c_rsa_pub_encode.c'
source_filename = "AnghaBench/openssl/crypto/rsa/extr_rsa_ameth.c_rsa_pub_encode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { ptr, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @rsa_pub_encode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @rsa_pub_encode(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store ptr null, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @rsa_param_encode(ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %25, label %8
8: ; preds = %2
%9 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !9
%11 = call i32 @i2d_RSAPublicKey(i32 noundef %10, ptr noundef nonnull %3) #3
%12 = icmp slt i32 %11, 1
br i1 %12, label %25, label %13
13: ; preds = %8
%14 = load ptr, ptr %1, align 8, !tbaa !13
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = call i32 @OBJ_nid2obj(i32 noundef %15) #3
%17 = load i32, ptr %5, align 4, !tbaa !16
%18 = load ptr, ptr %4, align 8, !tbaa !5
%19 = load ptr, ptr %3, align 8, !tbaa !5
%20 = call i64 @X509_PUBKEY_set0_param(ptr noundef %0, i32 noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %11) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = load ptr, ptr %3, align 8, !tbaa !5
%24 = call i32 @OPENSSL_free(ptr noundef %23) #3
br label %25
25: ; preds = %13, %8, %2, %22
%26 = phi i32 [ 0, %22 ], [ 0, %2 ], [ 0, %8 ], [ 1, %13 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @rsa_param_encode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @i2d_RSAPublicKey(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @X509_PUBKEY_set0_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OBJ_nid2obj(i32 noundef) local_unnamed_addr #2
declare i32 @OPENSSL_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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"TYPE_8__", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !6, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_7__", !12, i64 0}
!16 = !{!12, !12, i64 0}
|
; ModuleID = 'AnghaBench/openssl/crypto/rsa/extr_rsa_ameth.c_rsa_pub_encode.c'
source_filename = "AnghaBench/openssl/crypto/rsa/extr_rsa_ameth.c_rsa_pub_encode.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 @rsa_pub_encode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @rsa_pub_encode(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store ptr null, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = call i32 @rsa_param_encode(ptr noundef %1, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %25, label %8
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !10
%11 = call i32 @i2d_RSAPublicKey(i32 noundef %10, ptr noundef nonnull %3) #3
%12 = icmp slt i32 %11, 1
br i1 %12, label %25, label %13
13: ; preds = %8
%14 = load ptr, ptr %1, align 8, !tbaa !14
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = call i32 @OBJ_nid2obj(i32 noundef %15) #3
%17 = load i32, ptr %5, align 4, !tbaa !17
%18 = load ptr, ptr %4, align 8, !tbaa !6
%19 = load ptr, ptr %3, align 8, !tbaa !6
%20 = call i64 @X509_PUBKEY_set0_param(ptr noundef %0, i32 noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef %19, i32 noundef %11) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = load ptr, ptr %3, align 8, !tbaa !6
%24 = call i32 @OPENSSL_free(ptr noundef %23) #3
br label %25
25: ; preds = %13, %8, %2, %22
%26 = phi i32 [ 0, %22 ], [ 0, %2 ], [ 0, %8 ], [ 1, %13 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @rsa_param_encode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @i2d_RSAPublicKey(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @X509_PUBKEY_set0_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @OBJ_nid2obj(i32 noundef) local_unnamed_addr #2
declare i32 @OPENSSL_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, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"TYPE_8__", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!11, !7, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_7__", !13, i64 0}
!17 = !{!13, !13, i64 0}
|
openssl_crypto_rsa_extr_rsa_ameth.c_rsa_pub_encode
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_tmscsim.c_dc390_MsgIn_QTag.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_tmscsim.c_dc390_MsgIn_QTag.c"
target datalayout = "e-m:e-p270:32:32-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.dc390_dcb = type { i32, ptr, ptr }
%struct.dc390_srb = type { i32, i32, ptr, ptr }
@ABORT_DEV_ = dso_local local_unnamed_addr global i32 0, align 4
@SRB_ABORT_SENT = dso_local local_unnamed_addr global i32 0, align 4
@SRB_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4
@SRB_DATA_XFER = dso_local local_unnamed_addr global i32 0, align 4
@SRB_UNEXPECT_RESEL = dso_local local_unnamed_addr global i32 0, align 4
@ABORT_TAG = dso_local local_unnamed_addr global i32 0, align 4
@DC390_ENABLE_MSGOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dc390_MsgIn_QTag], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @dc390_MsgIn_QTag(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.dc390_dcb, ptr %1, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %29, label %7
7: ; preds = %3
%8 = getelementptr inbounds %struct.dc390_srb, ptr %5, i64 0, i32 3
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = tail call ptr @scsi_find_tag(i32 noundef %10, i32 noundef %2) #2
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = inttoptr i64 %12 to ptr
%14 = load i32, ptr %1, align 8, !tbaa !18
%15 = load i32, ptr @ABORT_DEV_, align 4, !tbaa !19
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %7
%19 = load i32, ptr @SRB_ABORT_SENT, align 4, !tbaa !19
store i32 %19, ptr %13, align 8, !tbaa !20
%20 = tail call i32 @dc390_EnableMsgOut_Abort(ptr noundef %0, ptr noundef nonnull %13) #2
br label %21
21: ; preds = %18, %7
%22 = load i32, ptr %13, align 8, !tbaa !20
%23 = load i32, ptr @SRB_DISCONNECT, align 4, !tbaa !19
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = getelementptr inbounds %struct.dc390_dcb, ptr %1, i64 0, i32 1
store ptr %13, ptr %27, align 8, !tbaa !21
%28 = load i32, ptr @SRB_DATA_XFER, align 4, !tbaa !19
store i32 %28, ptr %13, align 8, !tbaa !20
br label %37
29: ; preds = %21, %3
%30 = load ptr, ptr %0, align 8, !tbaa !22
%31 = load i32, ptr @SRB_UNEXPECT_RESEL, align 4, !tbaa !19
store i32 %31, ptr %30, align 8, !tbaa !20
%32 = getelementptr inbounds %struct.dc390_dcb, ptr %1, i64 0, i32 1
store ptr %30, ptr %32, align 8, !tbaa !21
%33 = load i32, ptr @ABORT_TAG, align 4, !tbaa !19
%34 = getelementptr inbounds %struct.dc390_srb, ptr %30, i64 0, i32 2
%35 = load ptr, ptr %34, align 8, !tbaa !24
store i32 %33, ptr %35, align 4, !tbaa !19
%36 = getelementptr inbounds %struct.dc390_srb, ptr %30, i64 0, i32 1
store i32 1, ptr %36, align 4, !tbaa !25
br label %37
37: ; preds = %26, %29
%38 = phi ptr [ %30, %29 ], [ %13, %26 ]
ret ptr %38
}
declare ptr @scsi_find_tag(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dc390_EnableMsgOut_Abort(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, !10, i64 16}
!6 = !{!"dc390_dcb", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"dc390_srb", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"scsi_cmnd", !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!6, !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !7, i64 0}
!21 = !{!6, !10, i64 8}
!22 = !{!23, !10, i64 0}
!23 = !{!"dc390_acb", !10, i64 0}
!24 = !{!12, !10, i64 8}
!25 = !{!12, !7, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_tmscsim.c_dc390_MsgIn_QTag.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_tmscsim.c_dc390_MsgIn_QTag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ABORT_DEV_ = common local_unnamed_addr global i32 0, align 4
@SRB_ABORT_SENT = common local_unnamed_addr global i32 0, align 4
@SRB_DISCONNECT = common local_unnamed_addr global i32 0, align 4
@SRB_DATA_XFER = common local_unnamed_addr global i32 0, align 4
@SRB_UNEXPECT_RESEL = common local_unnamed_addr global i32 0, align 4
@ABORT_TAG = common local_unnamed_addr global i32 0, align 4
@DC390_ENABLE_MSGOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dc390_MsgIn_QTag], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @dc390_MsgIn_QTag(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %29, label %7
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %5, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = tail call ptr @scsi_find_tag(i32 noundef %10, i32 noundef %2) #2
%12 = load i64, ptr %11, align 8, !tbaa !16
%13 = inttoptr i64 %12 to ptr
%14 = load i32, ptr %1, align 8, !tbaa !19
%15 = load i32, ptr @ABORT_DEV_, align 4, !tbaa !20
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %7
%19 = load i32, ptr @SRB_ABORT_SENT, align 4, !tbaa !20
store i32 %19, ptr %13, align 8, !tbaa !21
%20 = tail call i32 @dc390_EnableMsgOut_Abort(ptr noundef %0, ptr noundef nonnull %13) #2
br label %21
21: ; preds = %18, %7
%22 = load i32, ptr %13, align 8, !tbaa !21
%23 = load i32, ptr @SRB_DISCONNECT, align 4, !tbaa !20
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %13, ptr %27, align 8, !tbaa !22
%28 = load i32, ptr @SRB_DATA_XFER, align 4, !tbaa !20
store i32 %28, ptr %13, align 8, !tbaa !21
br label %37
29: ; preds = %21, %3
%30 = load ptr, ptr %0, align 8, !tbaa !23
%31 = load i32, ptr @SRB_UNEXPECT_RESEL, align 4, !tbaa !20
store i32 %31, ptr %30, align 8, !tbaa !21
%32 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %30, ptr %32, align 8, !tbaa !22
%33 = load i32, ptr @ABORT_TAG, align 4, !tbaa !20
%34 = getelementptr inbounds i8, ptr %30, i64 8
%35 = load ptr, ptr %34, align 8, !tbaa !25
store i32 %33, ptr %35, align 4, !tbaa !20
%36 = getelementptr inbounds i8, ptr %30, i64 4
store i32 1, ptr %36, align 4, !tbaa !26
br label %37
37: ; preds = %26, %29
%38 = phi ptr [ %30, %29 ], [ %13, %26 ]
ret ptr %38
}
declare ptr @scsi_find_tag(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dc390_EnableMsgOut_Abort(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, !11, i64 16}
!7 = !{!"dc390_dcb", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"dc390_srb", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"scsi_cmnd", !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!7, !8, i64 0}
!20 = !{!8, !8, i64 0}
!21 = !{!13, !8, i64 0}
!22 = !{!7, !11, i64 8}
!23 = !{!24, !11, i64 0}
!24 = !{!"dc390_acb", !11, i64 0}
!25 = !{!13, !11, i64 8}
!26 = !{!13, !8, i64 4}
|
fastsocket_kernel_drivers_scsi_extr_tmscsim.c_dc390_MsgIn_QTag
|
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_auth/hmacsha512/extr_auth_hmacsha512.c_crypto_auth_hmacsha512_verify.c'
source_filename = "AnghaBench/libsodium/src/libsodium/crypto_auth/hmacsha512/extr_auth_hmacsha512.c_crypto_auth_hmacsha512_verify.c"
target datalayout = "e-m:e-p270:32:32-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 @crypto_auth_hmacsha512_verify(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca [64 x i8], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #3
%6 = call i32 @crypto_auth_hmacsha512(ptr noundef nonnull %5, ptr noundef %1, i64 noundef %2, ptr noundef %3) #3
%7 = call i32 @crypto_verify_64(ptr noundef %0, ptr noundef nonnull %5) #3
%8 = icmp eq ptr %5, %0
%9 = select i1 %8, i32 -1, i32 %7
%10 = call i32 @sodium_memcmp(ptr noundef nonnull %5, ptr noundef %0, i32 noundef 64) #3
%11 = or i32 %9, %10
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @crypto_auth_hmacsha512(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @crypto_verify_64(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sodium_memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_auth/hmacsha512/extr_auth_hmacsha512.c_crypto_auth_hmacsha512_verify.c'
source_filename = "AnghaBench/libsodium/src/libsodium/crypto_auth/hmacsha512/extr_auth_hmacsha512.c_crypto_auth_hmacsha512_verify.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 @crypto_auth_hmacsha512_verify(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca [64 x i8], align 1
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #3
%6 = call i32 @crypto_auth_hmacsha512(ptr noundef nonnull %5, ptr noundef %1, i64 noundef %2, ptr noundef %3) #3
%7 = call i32 @crypto_verify_64(ptr noundef %0, ptr noundef nonnull %5) #3
%8 = icmp eq ptr %5, %0
%9 = select i1 %8, i32 -1, i32 %7
%10 = call i32 @sodium_memcmp(ptr noundef nonnull %5, ptr noundef %0, i32 noundef 64) #3
%11 = or i32 %9, %10
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @crypto_auth_hmacsha512(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @crypto_verify_64(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sodium_memcmp(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)"}
|
libsodium_src_libsodium_crypto_auth_hmacsha512_extr_auth_hmacsha512.c_crypto_auth_hmacsha512_verify
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/helpers/dtoverlay/extr_dtoverlay.c_dynstring_dup.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/helpers/dtoverlay/extr_dtoverlay.c_dynstring_dup.c"
target datalayout = "e-m:e-p270:32:32-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.dynstring = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dynstring_dup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dynstring_dup(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %5, label %7
5: ; preds = %3
%6 = tail call i32 @strlen(ptr noundef %1) #2
br label %7
7: ; preds = %5, %3
%8 = phi i32 [ %2, %3 ], [ %6, %5 ]
%9 = add nsw i32 %8, 1
%10 = tail call i32 @dynstring_set_size(ptr noundef %0, i32 noundef %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %7
%13 = getelementptr inbounds %struct.dynstring, ptr %0, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !5
%15 = tail call i32 @memcpy(i32 noundef %14, ptr noundef %1, i32 noundef %9) #2
store i32 %8, ptr %0, align 4, !tbaa !10
br label %16
16: ; preds = %12, %7
ret i32 %10
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @dynstring_set_size(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"dynstring", !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/RetroArch/gfx/include/userland/helpers/dtoverlay/extr_dtoverlay.c_dynstring_dup.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/helpers/dtoverlay/extr_dtoverlay.c_dynstring_dup.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 @dynstring_dup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dynstring_dup(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %5, label %7
5: ; preds = %3
%6 = tail call i32 @strlen(ptr noundef %1) #2
br label %7
7: ; preds = %5, %3
%8 = phi i32 [ %2, %3 ], [ %6, %5 ]
%9 = add nsw i32 %8, 1
%10 = tail call i32 @dynstring_set_size(ptr noundef %0, i32 noundef %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %0, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !6
%15 = tail call i32 @memcpy(i32 noundef %14, ptr noundef %1, i32 noundef %9) #2
store i32 %8, ptr %0, align 4, !tbaa !11
br label %16
16: ; preds = %12, %7
ret i32 %10
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @dynstring_set_size(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"dynstring", !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}
|
RetroArch_gfx_include_userland_helpers_dtoverlay_extr_dtoverlay.c_dynstring_dup
|
; ModuleID = 'AnghaBench/netdata/libnetdata/popen/extr_..inlined.h_simple_uhash.c'
source_filename = "AnghaBench/netdata/libnetdata/popen/extr_..inlined.h_simple_uhash.c"
target datalayout = "e-m:e-p270:32:32-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 @simple_uhash], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal signext i8 @simple_uhash(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !5
%3 = icmp eq i8 %2, 0
br i1 %3, label %20, label %4
4: ; preds = %1, %4
%5 = phi i8 [ %18, %4 ], [ %2, %1 ]
%6 = phi i8 [ %17, %4 ], [ -59, %1 ]
%7 = phi ptr [ %8, %4 ], [ %0, %1 ]
%8 = getelementptr inbounds i8, ptr %7, i64 1
%9 = add i8 %5, -65
%10 = icmp ult i8 %9, 26
%11 = zext i1 %10 to i32
%12 = tail call i64 @unlikely(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = add i8 %5, 32
%15 = select i1 %13, i8 %5, i8 %14
%16 = mul i8 %6, -109
%17 = xor i8 %15, %16
%18 = load i8, ptr %8, align 1, !tbaa !5
%19 = icmp eq i8 %18, 0
br i1 %19, label %20, label %4, !llvm.loop !8
20: ; preds = %4, %1
%21 = phi i8 [ -59, %1 ], [ %17, %4 ]
ret i8 %21
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/netdata/libnetdata/popen/extr_..inlined.h_simple_uhash.c'
source_filename = "AnghaBench/netdata/libnetdata/popen/extr_..inlined.h_simple_uhash.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 @simple_uhash], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal signext i8 @simple_uhash(ptr nocapture noundef readonly %0) #0 {
%2 = load i8, ptr %0, align 1, !tbaa !6
%3 = icmp eq i8 %2, 0
br i1 %3, label %20, label %4
4: ; preds = %1, %4
%5 = phi i8 [ %18, %4 ], [ %2, %1 ]
%6 = phi i8 [ %17, %4 ], [ -59, %1 ]
%7 = phi ptr [ %8, %4 ], [ %0, %1 ]
%8 = getelementptr inbounds i8, ptr %7, i64 1
%9 = add i8 %5, -65
%10 = icmp ult i8 %9, 26
%11 = zext i1 %10 to i32
%12 = tail call i64 @unlikely(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = add i8 %5, 32
%15 = select i1 %13, i8 %5, i8 %14
%16 = mul i8 %6, -109
%17 = xor i8 %15, %16
%18 = load i8, ptr %8, align 1, !tbaa !6
%19 = icmp eq i8 %18, 0
br i1 %19, label %20, label %4, !llvm.loop !9
20: ; preds = %4, %1
%21 = phi i8 [ -59, %1 ], [ %17, %4 ]
ret i8 %21
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
netdata_libnetdata_popen_extr_..inlined.h_simple_uhash
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_pthread_frame.c_ff_thread_release_buffer.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_pthread_frame.c_ff_thread_release_buffer.c"
target datalayout = "e-m:e-p270:32:32-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_18__ = type { i32, i32, ptr }
%struct.TYPE_15__ = type { ptr, ptr, i32 }
%struct.TYPE_16__ = type { i32, ptr, i32, ptr }
@FF_THREAD_FRAME = dso_local local_unnamed_addr global i32 0, align 4
@FF_DEBUG_BUFFERS = dso_local local_unnamed_addr global i32 0, align 4
@AV_LOG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"thread_release_buffer called on pic %p\0A\00", align 1
@INT_MAX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ff_thread_release_buffer(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = load i32, ptr @FF_THREAD_FRAME, align 4, !tbaa !14
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i64 @THREAD_SAFE_CALLBACKS(ptr noundef nonnull %0) #2
%12 = icmp ne i64 %11, 0
br label %13
13: ; preds = %10, %2
%14 = phi i1 [ true, %2 ], [ %12, %10 ]
%15 = load ptr, ptr %1, align 8, !tbaa !15
%16 = icmp eq ptr %15, null
br i1 %16, label %68, label %17
17: ; preds = %13
%18 = load ptr, ptr %15, align 8, !tbaa !17
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = icmp eq i32 %19, 0
br i1 %20, label %68, label %21
21: ; preds = %17
%22 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !19
%24 = load i32, ptr @FF_DEBUG_BUFFERS, align 4, !tbaa !14
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !14
%29 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %28, ptr noundef nonnull @.str, ptr noundef nonnull %1) #2
br label %30
30: ; preds = %27, %21
%31 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 2
%32 = tail call i32 @av_buffer_unref(ptr noundef nonnull %31) #2
%33 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !20
%35 = getelementptr inbounds ptr, ptr %34, i64 1
store ptr null, ptr %35, align 8, !tbaa !21
%36 = load ptr, ptr %33, align 8, !tbaa !20
store ptr null, ptr %36, align 8, !tbaa !21
br i1 %14, label %37, label %40
37: ; preds = %30
%38 = load ptr, ptr %1, align 8, !tbaa !15
%39 = tail call i32 @av_frame_unref(ptr noundef %38) #2
br label %68
40: ; preds = %30
%41 = getelementptr inbounds %struct.TYPE_16__, ptr %5, i64 0, i32 3
%42 = load ptr, ptr %41, align 8, !tbaa !22
%43 = tail call i32 @pthread_mutex_lock(ptr noundef %42) #2
%44 = load i32, ptr %5, align 8, !tbaa !24
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = load i32, ptr @INT_MAX, align 4, !tbaa !14
%48 = sext i32 %47 to i64
%49 = lshr i64 %48, 2
%50 = icmp ugt i64 %49, %46
br i1 %50, label %51, label %66
51: ; preds = %40
%52 = getelementptr inbounds %struct.TYPE_16__, ptr %5, i64 0, i32 1
%53 = load ptr, ptr %52, align 8, !tbaa !25
%54 = getelementptr inbounds %struct.TYPE_16__, ptr %5, i64 0, i32 2
%55 = shl i32 %45, 2
%56 = tail call ptr @av_fast_realloc(ptr noundef %53, ptr noundef nonnull %54, i32 noundef %55) #2
%57 = icmp eq ptr %56, null
br i1 %57, label %66, label %58
58: ; preds = %51
store ptr %56, ptr %52, align 8, !tbaa !25
%59 = load i32, ptr %5, align 8, !tbaa !24
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %56, i64 %60
%62 = load ptr, ptr %1, align 8, !tbaa !15
%63 = tail call i32 @av_frame_move_ref(ptr noundef nonnull %61, ptr noundef %62) #2
%64 = load i32, ptr %5, align 8, !tbaa !24
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 8, !tbaa !24
br label %66
66: ; preds = %51, %40, %58
%67 = tail call i32 @pthread_mutex_unlock(ptr noundef %42) #2
br label %68
68: ; preds = %13, %17, %66, %37
ret void
}
declare i64 @THREAD_SAFE_CALLBACKS(ptr noundef) local_unnamed_addr #1
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @av_buffer_unref(ptr noundef) local_unnamed_addr #1
declare i32 @av_frame_unref(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @av_fast_realloc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_frame_move_ref(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, !10, i64 8}
!6 = !{!"TYPE_18__", !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, !10, i64 0}
!12 = !{!"TYPE_14__", !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_15__", !10, i64 0, !10, i64 8, !7, i64 16}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_13__", !10, i64 0}
!19 = !{!6, !7, i64 4}
!20 = !{!16, !10, i64 8}
!21 = !{!10, !10, i64 0}
!22 = !{!23, !10, i64 24}
!23 = !{!"TYPE_16__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24}
!24 = !{!23, !7, i64 0}
!25 = !{!23, !10, i64 8}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_pthread_frame.c_ff_thread_release_buffer.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_pthread_frame.c_ff_thread_release_buffer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FF_THREAD_FRAME = common local_unnamed_addr global i32 0, align 4
@FF_DEBUG_BUFFERS = common local_unnamed_addr global i32 0, align 4
@AV_LOG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"thread_release_buffer called on pic %p\0A\00", align 1
@INT_MAX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ff_thread_release_buffer(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load i32, ptr %0, align 8, !tbaa !14
%7 = load i32, ptr @FF_THREAD_FRAME, align 4, !tbaa !15
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = tail call i64 @THREAD_SAFE_CALLBACKS(ptr noundef nonnull %0) #2
%12 = icmp ne i64 %11, 0
br label %13
13: ; preds = %10, %2
%14 = phi i1 [ true, %2 ], [ %12, %10 ]
%15 = load ptr, ptr %1, align 8, !tbaa !16
%16 = icmp eq ptr %15, null
br i1 %16, label %68, label %17
17: ; preds = %13
%18 = load ptr, ptr %15, align 8, !tbaa !18
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = icmp eq i32 %19, 0
br i1 %20, label %68, label %21
21: ; preds = %17
%22 = getelementptr inbounds i8, ptr %0, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !20
%24 = load i32, ptr @FF_DEBUG_BUFFERS, align 4, !tbaa !15
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !15
%29 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %28, ptr noundef nonnull @.str, ptr noundef nonnull %1) #2
br label %30
30: ; preds = %27, %21
%31 = getelementptr inbounds i8, ptr %1, i64 16
%32 = tail call i32 @av_buffer_unref(ptr noundef nonnull %31) #2
%33 = getelementptr inbounds i8, ptr %1, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !21
%35 = getelementptr inbounds i8, ptr %34, i64 8
store ptr null, ptr %35, align 8, !tbaa !22
%36 = load ptr, ptr %33, align 8, !tbaa !21
store ptr null, ptr %36, align 8, !tbaa !22
br i1 %14, label %37, label %40
37: ; preds = %30
%38 = load ptr, ptr %1, align 8, !tbaa !16
%39 = tail call i32 @av_frame_unref(ptr noundef %38) #2
br label %68
40: ; preds = %30
%41 = getelementptr inbounds i8, ptr %5, i64 24
%42 = load ptr, ptr %41, align 8, !tbaa !23
%43 = tail call i32 @pthread_mutex_lock(ptr noundef %42) #2
%44 = load i32, ptr %5, align 8, !tbaa !25
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = load i32, ptr @INT_MAX, align 4, !tbaa !15
%48 = sext i32 %47 to i64
%49 = lshr i64 %48, 2
%50 = icmp ugt i64 %49, %46
br i1 %50, label %51, label %66
51: ; preds = %40
%52 = getelementptr inbounds i8, ptr %5, i64 8
%53 = load ptr, ptr %52, align 8, !tbaa !26
%54 = getelementptr inbounds i8, ptr %5, i64 16
%55 = shl i32 %45, 2
%56 = tail call ptr @av_fast_realloc(ptr noundef %53, ptr noundef nonnull %54, i32 noundef %55) #2
%57 = icmp eq ptr %56, null
br i1 %57, label %66, label %58
58: ; preds = %51
store ptr %56, ptr %52, align 8, !tbaa !26
%59 = load i32, ptr %5, align 8, !tbaa !25
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %56, i64 %60
%62 = load ptr, ptr %1, align 8, !tbaa !16
%63 = tail call i32 @av_frame_move_ref(ptr noundef nonnull %61, ptr noundef %62) #2
%64 = load i32, ptr %5, align 8, !tbaa !25
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 8, !tbaa !25
br label %66
66: ; preds = %51, %40, %58
%67 = tail call i32 @pthread_mutex_unlock(ptr noundef %42) #2
br label %68
68: ; preds = %13, %17, %66, %37
ret void
}
declare i64 @THREAD_SAFE_CALLBACKS(ptr noundef) local_unnamed_addr #1
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @av_buffer_unref(ptr noundef) local_unnamed_addr #1
declare i32 @av_frame_unref(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @av_fast_realloc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_frame_move_ref(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, !11, i64 8}
!7 = !{!"TYPE_18__", !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, !11, i64 0}
!13 = !{!"TYPE_14__", !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_15__", !11, i64 0, !11, i64 8, !8, i64 16}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_13__", !11, i64 0}
!20 = !{!7, !8, i64 4}
!21 = !{!17, !11, i64 8}
!22 = !{!11, !11, i64 0}
!23 = !{!24, !11, i64 24}
!24 = !{!"TYPE_16__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24}
!25 = !{!24, !8, i64 0}
!26 = !{!24, !11, i64 8}
|
FFmpeg_libavcodec_extr_pthread_frame.c_ff_thread_release_buffer
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_client/extr_bta_hf_client_act.c_bta_hf_client_deregister.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_client/extr_bta_hf_client_act.c_bta_hf_client_deregister.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@bta_hf_client_cb = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 4
@BTM_COD_SERVICE_AUDIO = dso_local local_unnamed_addr global i32 0, align 4
@BTA_UTL_CLR_COD_SERVICE_CLASS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @bta_hf_client_deregister(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_6__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @TRUE, align 4, !tbaa !5
store i32 %3, ptr @bta_hf_client_cb, align 4, !tbaa !9
%4 = load i32, ptr @BTM_COD_SERVICE_AUDIO, align 4, !tbaa !5
store i32 %4, ptr %2, align 4, !tbaa !12
%5 = load i32, ptr @BTA_UTL_CLR_COD_SERVICE_CLASS, align 4, !tbaa !5
%6 = call i32 @utl_set_device_class(ptr noundef nonnull %2, i32 noundef %5) #3
%7 = call i32 @bta_hf_client_del_record(ptr noundef %0) #3
%8 = call i32 (...) @bta_hf_client_close_server() #3
%9 = call i32 (...) @bta_hf_client_scb_disable() #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @utl_set_device_class(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bta_hf_client_del_record(ptr noundef) local_unnamed_addr #2
declare i32 @bta_hf_client_close_server(...) local_unnamed_addr #2
declare i32 @bta_hf_client_scb_disable(...) 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 = !{!"TYPE_7__", !11, i64 0}
!11 = !{!"TYPE_5__", !6, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_6__", !6, i64 0}
|
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_client/extr_bta_hf_client_act.c_bta_hf_client_deregister.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_client/extr_bta_hf_client_act.c_bta_hf_client_deregister.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
@TRUE = common local_unnamed_addr global i32 0, align 4
@bta_hf_client_cb = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 4
@BTM_COD_SERVICE_AUDIO = common local_unnamed_addr global i32 0, align 4
@BTA_UTL_CLR_COD_SERVICE_CLASS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @bta_hf_client_deregister(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.TYPE_6__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @TRUE, align 4, !tbaa !6
store i32 %3, ptr @bta_hf_client_cb, align 4, !tbaa !10
%4 = load i32, ptr @BTM_COD_SERVICE_AUDIO, align 4, !tbaa !6
store i32 %4, ptr %2, align 4, !tbaa !13
%5 = load i32, ptr @BTA_UTL_CLR_COD_SERVICE_CLASS, align 4, !tbaa !6
%6 = call i32 @utl_set_device_class(ptr noundef nonnull %2, i32 noundef %5) #3
%7 = call i32 @bta_hf_client_del_record(ptr noundef %0) #3
%8 = call i32 @bta_hf_client_close_server() #3
%9 = call i32 @bta_hf_client_scb_disable() #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @utl_set_device_class(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bta_hf_client_del_record(ptr noundef) local_unnamed_addr #2
declare i32 @bta_hf_client_close_server(...) local_unnamed_addr #2
declare i32 @bta_hf_client_scb_disable(...) 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 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"TYPE_5__", !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_6__", !7, i64 0}
|
esp-idf_components_bt_host_bluedroid_bta_hf_client_extr_bta_hf_client_act.c_bta_hf_client_deregister
|
; ModuleID = 'AnghaBench/tmux/extr_utf8.c_utf8_strlen.c'
source_filename = "AnghaBench/tmux/extr_utf8.c_utf8_strlen.c"
target datalayout = "e-m:e-p270:32:32-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.utf8_data = type { i64 }
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
define dso_local i64 @utf8_strlen(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
br label %2
2: ; preds = %2, %1
%3 = phi i64 [ 0, %1 ], [ %7, %2 ]
%4 = getelementptr inbounds %struct.utf8_data, ptr %0, i64 %3
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
%7 = add i64 %3, 1
br i1 %6, label %8, label %2, !llvm.loop !10
8: ; preds = %2
ret i64 %3
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"utf8_data", !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"}
|
; ModuleID = 'AnghaBench/tmux/extr_utf8.c_utf8_strlen.c'
source_filename = "AnghaBench/tmux/extr_utf8.c_utf8_strlen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.utf8_data = type { i64 }
; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync)
define i64 @utf8_strlen(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
br label %2
2: ; preds = %2, %1
%3 = phi i64 [ 0, %1 ], [ %7, %2 ]
%4 = getelementptr inbounds %struct.utf8_data, ptr %0, i64 %3
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
%7 = add i64 %3, 1
br i1 %6, label %8, label %2, !llvm.loop !11
8: ; preds = %2
ret i64 %3
}
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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"utf8_data", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
tmux_extr_utf8.c_utf8_strlen
|
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-gic-v3-its.c_its_cmd_ptr_to_offset.c'
source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-gic-v3-its.c_its_cmd_ptr_to_offset.c"
target datalayout = "e-m:e-p270:32:32-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 @its_cmd_ptr_to_offset], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @its_cmd_ptr_to_offset(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = ptrtoint ptr %1 to i64
%5 = ptrtoint ptr %3 to i64
%6 = sub i64 %4, %5
%7 = trunc i64 %6 to i32
ret i32 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"its_node", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-gic-v3-its.c_its_cmd_ptr_to_offset.c'
source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-gic-v3-its.c_its_cmd_ptr_to_offset.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 @its_cmd_ptr_to_offset], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @its_cmd_ptr_to_offset(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = ptrtoint ptr %1 to i64
%5 = ptrtoint ptr %3 to i64
%6 = sub i64 %4, %5
%7 = trunc i64 %6 to i32
ret i32 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"its_node", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_irqchip_extr_irq-gic-v3-its.c_its_cmd_ptr_to_offset
|
; ModuleID = 'AnghaBench/reactos/base/setup/lib/utils/extr_inicache.c_IniCacheLoad.c'
source_filename = "AnghaBench/reactos/base/setup/lib/utils/extr_inicache.c_IniCacheLoad.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OBJ_CASE_INSENSITIVE = dso_local local_unnamed_addr global i32 0, align 4
@FILE_GENERIC_READ = dso_local local_unnamed_addr global i32 0, align 4
@SYNCHRONIZE = dso_local local_unnamed_addr global i32 0, align 4
@FILE_SHARE_READ = dso_local local_unnamed_addr global i32 0, align 4
@FILE_SYNCHRONOUS_IO_NONALERT = dso_local local_unnamed_addr global i32 0, align 4
@FILE_NON_DIRECTORY_FILE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"NtOpenFile() failed (Status %lx)\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"NtOpenFile() successful\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @IniCacheLoad(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
store ptr null, ptr %0, align 8, !tbaa !5
%8 = call i32 @RtlInitUnicodeString(ptr noundef nonnull %4, i32 noundef %1) #3
%9 = load i32, ptr @OBJ_CASE_INSENSITIVE, align 4, !tbaa !9
%10 = call i32 @InitializeObjectAttributes(ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef %9, ptr noundef null, ptr noundef null) #3
%11 = load i32, ptr @FILE_GENERIC_READ, align 4, !tbaa !9
%12 = load i32, ptr @SYNCHRONIZE, align 4, !tbaa !9
%13 = or i32 %12, %11
%14 = load i32, ptr @FILE_SHARE_READ, align 4, !tbaa !9
%15 = load i32, ptr @FILE_SYNCHRONOUS_IO_NONALERT, align 4, !tbaa !9
%16 = load i32, ptr @FILE_NON_DIRECTORY_FILE, align 4, !tbaa !9
%17 = or i32 %16, %15
%18 = call i32 @NtOpenFile(ptr noundef nonnull %7, i32 noundef %13, ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %14, i32 noundef %17) #3
%19 = call i32 @NT_SUCCESS(i32 noundef %18) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %3
%22 = call i32 (ptr, ...) @DPRINT(ptr noundef nonnull @.str, i32 noundef %18) #3
br label %29
23: ; preds = %3
%24 = call i32 (ptr, ...) @DPRINT(ptr noundef nonnull @.str.1) #3
%25 = load i32, ptr %7, align 4, !tbaa !9
%26 = call i32 @IniCacheLoadByHandle(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %2) #3
%27 = load i32, ptr %7, align 4, !tbaa !9
%28 = call i32 @NtClose(i32 noundef %27) #3
br label %29
29: ; preds = %23, %21
%30 = phi i32 [ %26, %23 ], [ %18, %21 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @RtlInitUnicodeString(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @InitializeObjectAttributes(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @NtOpenFile(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @DPRINT(ptr noundef, ...) local_unnamed_addr #2
declare i32 @IniCacheLoadByHandle(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NtClose(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 = !{!"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/reactos/base/setup/lib/utils/extr_inicache.c_IniCacheLoad.c'
source_filename = "AnghaBench/reactos/base/setup/lib/utils/extr_inicache.c_IniCacheLoad.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OBJ_CASE_INSENSITIVE = common local_unnamed_addr global i32 0, align 4
@FILE_GENERIC_READ = common local_unnamed_addr global i32 0, align 4
@SYNCHRONIZE = common local_unnamed_addr global i32 0, align 4
@FILE_SHARE_READ = common local_unnamed_addr global i32 0, align 4
@FILE_SYNCHRONOUS_IO_NONALERT = common local_unnamed_addr global i32 0, align 4
@FILE_NON_DIRECTORY_FILE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"NtOpenFile() failed (Status %lx)\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"NtOpenFile() successful\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @IniCacheLoad(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
store ptr null, ptr %0, align 8, !tbaa !6
%8 = call i32 @RtlInitUnicodeString(ptr noundef nonnull %4, i32 noundef %1) #3
%9 = load i32, ptr @OBJ_CASE_INSENSITIVE, align 4, !tbaa !10
%10 = call i32 @InitializeObjectAttributes(ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef %9, ptr noundef null, ptr noundef null) #3
%11 = load i32, ptr @FILE_GENERIC_READ, align 4, !tbaa !10
%12 = load i32, ptr @SYNCHRONIZE, align 4, !tbaa !10
%13 = or i32 %12, %11
%14 = load i32, ptr @FILE_SHARE_READ, align 4, !tbaa !10
%15 = load i32, ptr @FILE_SYNCHRONOUS_IO_NONALERT, align 4, !tbaa !10
%16 = load i32, ptr @FILE_NON_DIRECTORY_FILE, align 4, !tbaa !10
%17 = or i32 %16, %15
%18 = call i32 @NtOpenFile(ptr noundef nonnull %7, i32 noundef %13, ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %14, i32 noundef %17) #3
%19 = call i32 @NT_SUCCESS(i32 noundef %18) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %3
%22 = call i32 (ptr, ...) @DPRINT(ptr noundef nonnull @.str, i32 noundef %18) #3
br label %29
23: ; preds = %3
%24 = call i32 (ptr, ...) @DPRINT(ptr noundef nonnull @.str.1) #3
%25 = load i32, ptr %7, align 4, !tbaa !10
%26 = call i32 @IniCacheLoadByHandle(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %2) #3
%27 = load i32, ptr %7, align 4, !tbaa !10
%28 = call i32 @NtClose(i32 noundef %27) #3
br label %29
29: ; preds = %23, %21
%30 = phi i32 [ %26, %23 ], [ %18, %21 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @RtlInitUnicodeString(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @InitializeObjectAttributes(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @NtOpenFile(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @DPRINT(ptr noundef, ...) local_unnamed_addr #2
declare i32 @IniCacheLoadByHandle(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NtClose(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
reactos_base_setup_lib_utils_extr_inicache.c_IniCacheLoad
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_twinvqdec.c_decode_ppc.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_twinvqdec.c_decode_ppc.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr }
%struct.TYPE_5__ = type { i32, i32, i32 }
%struct.TYPE_6__ = type { i32, i32, i32, i32, i32 }
@TWINVQ_PGAIN_MU = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @decode_ppc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @decode_ppc(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load ptr, ptr %0, align 8, !tbaa !10
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = sdiv i32 %9, 1000
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = mul nsw i32 %14, 1000
%16 = sdiv i32 %12, %15
%17 = load i32, ptr %7, align 4, !tbaa !16
%18 = mul nsw i32 %17, 80
%19 = tail call i32 @ROUNDED_DIV(i32 noundef %18, i32 noundef %10) #3
%20 = load i32, ptr %7, align 4, !tbaa !16
%21 = mul i32 %20, 480
%22 = tail call i32 @ROUNDED_DIV(i32 noundef %21, i32 noundef %10) #3
%23 = sub nsw i32 %22, %19
%24 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !18
%26 = shl nsw i32 -1, %25
%27 = xor i32 %26, -1
%28 = sitofp i32 %27 to double
%29 = fdiv double 2.500000e+04, %28
%30 = fptrunc double %29 to float
%31 = sitofp i32 %2 to float
%32 = fmul float %30, 5.000000e-01
%33 = tail call float @llvm.fmuladd.f32(float %30, float %31, float %32)
%34 = load i32, ptr @TWINVQ_PGAIN_MU, align 4, !tbaa !19
%35 = tail call double @twinvq_mulawinv(float noundef %33, double noundef 2.500000e+04, i32 noundef %34) #3
%36 = mul nsw i32 %23, %1
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 2
%38 = load i32, ptr %37, align 4, !tbaa !20
%39 = shl nsw i32 -1, %38
%40 = xor i32 %39, -1
%41 = tail call i32 @ROUNDED_DIV(i32 noundef %36, i32 noundef %40) #3
%42 = add nsw i32 %41, %19
%43 = add i32 %9, -22000
%44 = icmp ult i32 %43, 1000
%45 = icmp eq i32 %16, 32
%46 = select i1 %44, i1 %45, i1 false
br i1 %46, label %47, label %55
47: ; preds = %5
%48 = add nsw i32 %42, 800
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 3
%50 = load i32, ptr %49, align 4, !tbaa !21
%51 = mul nsw i32 %50, %48
%52 = load i32, ptr %7, align 4, !tbaa !16
%53 = mul nsw i32 %52, 400
%54 = tail call i32 @ROUNDED_DIV(i32 noundef %51, i32 noundef %53) #3
br label %62
55: ; preds = %5
%56 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 3
%57 = load i32, ptr %56, align 4, !tbaa !21
%58 = mul nsw i32 %57, %42
%59 = load i32, ptr %7, align 4, !tbaa !16
%60 = mul nsw i32 %59, 400
%61 = sdiv i32 %58, %60
br label %62
62: ; preds = %55, %47
%63 = phi i32 [ %54, %47 ], [ %61, %55 ]
%64 = fmul double %35, 0x3F20000000000000
%65 = fptrunc double %64 to float
%66 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 4
%67 = load i32, ptr %66, align 4, !tbaa !22
%68 = tail call i32 @add_peak(i32 noundef %42, i32 noundef %63, ptr noundef %3, float noundef %65, ptr noundef %4, i32 noundef %67) #3
ret void
}
declare i32 @ROUNDED_DIV(i32 noundef, i32 noundef) local_unnamed_addr #1
declare double @twinvq_mulawinv(float noundef, double noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @add_peak(i32 noundef, i32 noundef, ptr noundef, float 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !13, i64 8}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_6__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16}
!18 = !{!17, !13, i64 4}
!19 = !{!13, !13, i64 0}
!20 = !{!17, !13, i64 8}
!21 = !{!17, !13, i64 12}
!22 = !{!17, !13, i64 16}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_twinvqdec.c_decode_ppc.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_twinvqdec.c_decode_ppc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TWINVQ_PGAIN_MU = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @decode_ppc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @decode_ppc(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load ptr, ptr %0, align 8, !tbaa !11
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = sdiv i32 %9, 1000
%11 = getelementptr inbounds i8, ptr %8, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = getelementptr inbounds i8, ptr %8, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = mul nsw i32 %14, 1000
%16 = sdiv i32 %12, %15
%17 = load i32, ptr %7, align 4, !tbaa !17
%18 = mul nsw i32 %17, 80
%19 = tail call i32 @ROUNDED_DIV(i32 noundef %18, i32 noundef %10) #3
%20 = load i32, ptr %7, align 4, !tbaa !17
%21 = mul i32 %20, 480
%22 = tail call i32 @ROUNDED_DIV(i32 noundef %21, i32 noundef %10) #3
%23 = sub nsw i32 %22, %19
%24 = getelementptr inbounds i8, ptr %7, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !19
%26 = shl nsw i32 -1, %25
%27 = xor i32 %26, -1
%28 = uitofp nneg i32 %27 to double
%29 = fdiv double 2.500000e+04, %28
%30 = fptrunc double %29 to float
%31 = sitofp i32 %2 to float
%32 = fmul float %30, 5.000000e-01
%33 = tail call float @llvm.fmuladd.f32(float %30, float %31, float %32)
%34 = load i32, ptr @TWINVQ_PGAIN_MU, align 4, !tbaa !20
%35 = tail call double @twinvq_mulawinv(float noundef %33, double noundef 2.500000e+04, i32 noundef %34) #3
%36 = mul nsw i32 %23, %1
%37 = getelementptr inbounds i8, ptr %7, i64 8
%38 = load i32, ptr %37, align 4, !tbaa !21
%39 = shl nsw i32 -1, %38
%40 = xor i32 %39, -1
%41 = tail call i32 @ROUNDED_DIV(i32 noundef %36, i32 noundef %40) #3
%42 = add nsw i32 %41, %19
%43 = add i32 %9, -22000
%44 = icmp ult i32 %43, 1000
%45 = icmp eq i32 %16, 32
%46 = select i1 %44, i1 %45, i1 false
br i1 %46, label %47, label %55
47: ; preds = %5
%48 = add nsw i32 %42, 800
%49 = getelementptr inbounds i8, ptr %7, i64 12
%50 = load i32, ptr %49, align 4, !tbaa !22
%51 = mul nsw i32 %50, %48
%52 = load i32, ptr %7, align 4, !tbaa !17
%53 = mul nsw i32 %52, 400
%54 = tail call i32 @ROUNDED_DIV(i32 noundef %51, i32 noundef %53) #3
br label %62
55: ; preds = %5
%56 = getelementptr inbounds i8, ptr %7, i64 12
%57 = load i32, ptr %56, align 4, !tbaa !22
%58 = mul nsw i32 %57, %42
%59 = load i32, ptr %7, align 4, !tbaa !17
%60 = mul nsw i32 %59, 400
%61 = sdiv i32 %58, %60
br label %62
62: ; preds = %55, %47
%63 = phi i32 [ %54, %47 ], [ %61, %55 ]
%64 = fmul double %35, 0x3F20000000000000
%65 = fptrunc double %64 to float
%66 = getelementptr inbounds i8, ptr %7, i64 16
%67 = load i32, ptr %66, align 4, !tbaa !23
%68 = tail call i32 @add_peak(i32 noundef %42, i32 noundef %63, ptr noundef %3, float noundef %65, ptr noundef %4, i32 noundef %67) #3
ret void
}
declare i32 @ROUNDED_DIV(i32 noundef, i32 noundef) local_unnamed_addr #1
declare double @twinvq_mulawinv(float noundef, double noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @add_peak(i32 noundef, i32 noundef, ptr noundef, float 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0, !14, i64 4, !14, i64 8}
!14 = !{!"int", !9, i64 0}
!15 = !{!13, !14, i64 4}
!16 = !{!13, !14, i64 8}
!17 = !{!18, !14, i64 0}
!18 = !{!"TYPE_6__", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16}
!19 = !{!18, !14, i64 4}
!20 = !{!14, !14, i64 0}
!21 = !{!18, !14, i64 8}
!22 = !{!18, !14, i64 12}
!23 = !{!18, !14, i64 16}
|
FFmpeg_libavcodec_extr_twinvqdec.c_decode_ppc
|
; ModuleID = 'AnghaBench/linux/net/tipc/extr_msg.h_msg_bc_gap.c'
source_filename = "AnghaBench/linux/net/tipc/extr_msg.h_msg_bc_gap.c"
target datalayout = "e-m:e-p270:32:32-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 @msg_bc_gap], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @msg_bc_gap(ptr noundef %0) #0 {
%2 = tail call i32 @msg_bits(ptr noundef %0, i32 noundef 8, i32 noundef 0, i32 noundef 1023) #2
ret i32 %2
}
declare i32 @msg_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/net/tipc/extr_msg.h_msg_bc_gap.c'
source_filename = "AnghaBench/linux/net/tipc/extr_msg.h_msg_bc_gap.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 @msg_bc_gap], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @msg_bc_gap(ptr noundef %0) #0 {
%2 = tail call i32 @msg_bits(ptr noundef %0, i32 noundef 8, i32 noundef 0, i32 noundef 1023) #2
ret i32 %2
}
declare i32 @msg_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_net_tipc_extr_msg.h_msg_bc_gap
|
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_disassociate.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_disassociate.c"
target datalayout = "e-m:e-p270:32:32-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.rtllib_device = type { i32, i32, i32, i64, i32, i32, ptr }
@IEEE_SOFTMAC_TX_QUEUE = dso_local local_unnamed_addr global i32 0, align 4
@RTLLIB_NOLINK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @rtllib_disassociate(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 5
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @netif_carrier_off(i32 noundef %3) #2
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = load i32, ptr @IEEE_SOFTMAC_TX_QUEUE, align 4, !tbaa !13
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @rtllib_reset_queue(ptr noundef nonnull %0) #2
br label %11
11: ; preds = %9, %1
%12 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 6
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = icmp eq ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %11
%16 = load i32, ptr %2, align 4, !tbaa !5
%17 = tail call i32 %13(i32 noundef %16) #2
br label %18
18: ; preds = %15, %11
%19 = tail call i64 @IS_DOT11D_ENABLE(ptr noundef nonnull %0) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = tail call i32 @dot11d_reset(ptr noundef nonnull %0) #2
br label %23
23: ; preds = %21, %18
%24 = load i32, ptr @RTLLIB_NOLINK, align 4, !tbaa !13
%25 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 4
store i32 %24, ptr %25, align 8, !tbaa !15
%26 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 1
store i32 0, ptr %26, align 4, !tbaa !16
%27 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 3
store i64 0, ptr %27, align 8, !tbaa !17
%28 = getelementptr inbounds %struct.rtllib_device, ptr %0, i64 0, i32 2
%29 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %28, i32 noundef 0) #2
%30 = tail call i32 @notify_wx_assoc_event(ptr noundef nonnull %0) #2
ret void
}
declare i32 @netif_carrier_off(i32 noundef) local_unnamed_addr #1
declare i32 @rtllib_reset_queue(ptr noundef) local_unnamed_addr #1
declare i64 @IS_DOT11D_ENABLE(ptr noundef) local_unnamed_addr #1
declare i32 @dot11d_reset(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @notify_wx_assoc_event(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 28}
!6 = !{!"rtllib_device", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !11, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !11, i64 32}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !7, i64 4}
!17 = !{!6, !10, i64 16}
|
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_disassociate.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192e/extr_rtllib_softmac.c_rtllib_disassociate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IEEE_SOFTMAC_TX_QUEUE = common local_unnamed_addr global i32 0, align 4
@RTLLIB_NOLINK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @rtllib_disassociate(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 28
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @netif_carrier_off(i32 noundef %3) #2
%5 = load i32, ptr %0, align 8, !tbaa !13
%6 = load i32, ptr @IEEE_SOFTMAC_TX_QUEUE, align 4, !tbaa !14
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @rtllib_reset_queue(ptr noundef nonnull %0) #2
br label %11
11: ; preds = %9, %1
%12 = getelementptr inbounds i8, ptr %0, i64 32
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = icmp eq ptr %13, null
br i1 %14, label %18, label %15
15: ; preds = %11
%16 = load i32, ptr %2, align 4, !tbaa !6
%17 = tail call i32 %13(i32 noundef %16) #2
br label %18
18: ; preds = %15, %11
%19 = tail call i64 @IS_DOT11D_ENABLE(ptr noundef nonnull %0) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = tail call i32 @dot11d_reset(ptr noundef nonnull %0) #2
br label %23
23: ; preds = %21, %18
%24 = load i32, ptr @RTLLIB_NOLINK, align 4, !tbaa !14
%25 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %24, ptr %25, align 8, !tbaa !16
%26 = getelementptr inbounds i8, ptr %0, i64 4
store i32 0, ptr %26, align 4, !tbaa !17
%27 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %27, align 8, !tbaa !18
%28 = getelementptr inbounds i8, ptr %0, i64 8
%29 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %28, i32 noundef 0) #2
%30 = tail call i32 @notify_wx_assoc_event(ptr noundef nonnull %0) #2
ret void
}
declare i32 @netif_carrier_off(i32 noundef) local_unnamed_addr #1
declare i32 @rtllib_reset_queue(ptr noundef) local_unnamed_addr #1
declare i64 @IS_DOT11D_ENABLE(ptr noundef) local_unnamed_addr #1
declare i32 @dot11d_reset(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @notify_wx_assoc_event(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 28}
!7 = !{!"rtllib_device", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !12, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !12, i64 32}
!16 = !{!7, !8, i64 24}
!17 = !{!7, !8, i64 4}
!18 = !{!7, !11, i64 16}
|
linux_drivers_staging_rtl8192e_extr_rtllib_softmac.c_rtllib_disassociate
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/user32/extr_CreateWindowEx.c_Test_Params.c'
source_filename = "AnghaBench/reactos/modules/rostests/apitests/user32/extr_CreateWindowEx.c_Test_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"
@.str = private unnamed_addr constant [7 x i32] [i32 66, i32 85, i32 84, i32 84, i32 79, i32 78, i32 0], align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"hWnd = %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"error = %lu\0A\00", align 1
@ERROR_INVALID_WINDOW_HANDLE = dso_local local_unnamed_addr global ptr null, align 8
@WS_CHILD = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_TLW_WITH_WSCHILD = dso_local local_unnamed_addr global ptr null, align 8
@WS_POPUP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Test_Params], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @Test_Params() #0 {
%1 = tail call i32 @SetLastError(i32 noundef 4660) #2
%2 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
%3 = tail call ptr (...) @GetLastError() #2
%4 = icmp ne ptr %2, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @ok(i32 noundef %5, ptr noundef nonnull @.str.1, ptr noundef %2) #2
%7 = icmp eq ptr %3, null
%8 = zext i1 %7 to i32
%9 = tail call i32 @ok(i32 noundef %8, ptr noundef nonnull @.str.2, ptr noundef %3) #2
%10 = tail call i32 @DestroyWindow(ptr noundef %2) #2
%11 = tail call i32 @SetLastError(i32 noundef 4660) #2
%12 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null, ptr noundef null, ptr noundef null) #2
%13 = tail call ptr (...) @GetLastError() #2
%14 = icmp eq ptr %12, null
%15 = zext i1 %14 to i32
%16 = tail call i32 @ok(i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %12) #2
%17 = load ptr, ptr @ERROR_INVALID_WINDOW_HANDLE, align 8, !tbaa !5
%18 = icmp eq ptr %13, %17
%19 = zext i1 %18 to i32
%20 = tail call i32 @ok(i32 noundef %19, ptr noundef nonnull @.str.2, ptr noundef %13) #2
%21 = tail call i32 @SetLastError(i32 noundef 4660) #2
%22 = load i32, ptr @WS_CHILD, align 4, !tbaa !9
%23 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %22, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
%24 = tail call ptr (...) @GetLastError() #2
%25 = icmp eq ptr %23, null
%26 = zext i1 %25 to i32
%27 = tail call i32 @ok(i32 noundef %26, ptr noundef nonnull @.str.1, ptr noundef %23) #2
%28 = load ptr, ptr @ERROR_TLW_WITH_WSCHILD, align 8, !tbaa !5
%29 = icmp eq ptr %24, %28
%30 = zext i1 %29 to i32
%31 = tail call i32 @ok(i32 noundef %30, ptr noundef nonnull @.str.2, ptr noundef %24) #2
%32 = tail call i32 @SetLastError(i32 noundef 4660) #2
%33 = load i32, ptr @WS_CHILD, align 4, !tbaa !9
%34 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %33, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null, ptr noundef null, ptr noundef null) #2
%35 = tail call ptr (...) @GetLastError() #2
%36 = icmp eq ptr %34, null
%37 = zext i1 %36 to i32
%38 = tail call i32 @ok(i32 noundef %37, ptr noundef nonnull @.str.1, ptr noundef %34) #2
%39 = load ptr, ptr @ERROR_INVALID_WINDOW_HANDLE, align 8, !tbaa !5
%40 = icmp eq ptr %35, %39
%41 = zext i1 %40 to i32
%42 = tail call i32 @ok(i32 noundef %41, ptr noundef nonnull @.str.2, ptr noundef %35) #2
%43 = tail call i32 @SetLastError(i32 noundef 4660) #2
%44 = load i32, ptr @WS_POPUP, align 4, !tbaa !9
%45 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %44, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
%46 = tail call ptr (...) @GetLastError() #2
%47 = icmp ne ptr %45, null
%48 = zext i1 %47 to i32
%49 = tail call i32 @ok(i32 noundef %48, ptr noundef nonnull @.str.1, ptr noundef %45) #2
%50 = icmp eq ptr %46, null
%51 = zext i1 %50 to i32
%52 = tail call i32 @ok(i32 noundef %51, ptr noundef nonnull @.str.2, ptr noundef %46) #2
%53 = tail call i32 @DestroyWindow(ptr noundef %45) #2
%54 = tail call i32 @SetLastError(i32 noundef 4660) #2
%55 = load i32, ptr @WS_POPUP, align 4, !tbaa !9
%56 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %55, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null, ptr noundef null, ptr noundef null) #2
%57 = tail call ptr (...) @GetLastError() #2
%58 = icmp eq ptr %56, null
%59 = zext i1 %58 to i32
%60 = tail call i32 @ok(i32 noundef %59, ptr noundef nonnull @.str.1, ptr noundef %56) #2
%61 = load ptr, ptr @ERROR_INVALID_WINDOW_HANDLE, align 8, !tbaa !5
%62 = icmp eq ptr %57, %61
%63 = zext i1 %62 to i32
%64 = tail call i32 @ok(i32 noundef %63, ptr noundef nonnull @.str.2, ptr noundef %57) #2
%65 = tail call i32 @SetLastError(i32 noundef 4660) #2
%66 = load i32, ptr @WS_CHILD, align 4, !tbaa !9
%67 = load i32, ptr @WS_POPUP, align 4, !tbaa !9
%68 = or i32 %67, %66
%69 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %68, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
%70 = tail call ptr (...) @GetLastError() #2
%71 = icmp ne ptr %69, null
%72 = zext i1 %71 to i32
%73 = tail call i32 @ok(i32 noundef %72, ptr noundef nonnull @.str.1, ptr noundef %69) #2
%74 = icmp eq ptr %70, null
%75 = zext i1 %74 to i32
%76 = tail call i32 @ok(i32 noundef %75, ptr noundef nonnull @.str.2, ptr noundef %70) #2
%77 = tail call i32 @DestroyWindow(ptr noundef %69) #2
%78 = tail call i32 @SetLastError(i32 noundef 4660) #2
%79 = load i32, ptr @WS_CHILD, align 4, !tbaa !9
%80 = load i32, ptr @WS_POPUP, align 4, !tbaa !9
%81 = or i32 %80, %79
%82 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %81, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null, ptr noundef null, ptr noundef null) #2
%83 = tail call ptr (...) @GetLastError() #2
%84 = icmp eq ptr %82, null
%85 = zext i1 %84 to i32
%86 = tail call i32 @ok(i32 noundef %85, ptr noundef nonnull @.str.1, ptr noundef %82) #2
%87 = load ptr, ptr @ERROR_INVALID_WINDOW_HANDLE, align 8, !tbaa !5
%88 = icmp eq ptr %83, %87
%89 = zext i1 %88 to i32
%90 = tail call i32 @ok(i32 noundef %89, ptr noundef nonnull @.str.2, ptr noundef %83) #2
ret void
}
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #1
declare ptr @CreateWindowExW(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @GetLastError(...) local_unnamed_addr #1
declare i32 @ok(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DestroyWindow(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/user32/extr_CreateWindowEx.c_Test_Params.c'
source_filename = "AnghaBench/reactos/modules/rostests/apitests/user32/extr_CreateWindowEx.c_Test_Params.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i32] [i32 66, i32 85, i32 84, i32 84, i32 79, i32 78, i32 0], align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"hWnd = %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"error = %lu\0A\00", align 1
@ERROR_INVALID_WINDOW_HANDLE = common local_unnamed_addr global ptr null, align 8
@WS_CHILD = common local_unnamed_addr global i32 0, align 4
@ERROR_TLW_WITH_WSCHILD = common local_unnamed_addr global ptr null, align 8
@WS_POPUP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Test_Params], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @Test_Params() #0 {
%1 = tail call i32 @SetLastError(i32 noundef 4660) #2
%2 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
%3 = tail call ptr @GetLastError() #2
%4 = icmp ne ptr %2, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @ok(i32 noundef %5, ptr noundef nonnull @.str.1, ptr noundef %2) #2
%7 = icmp eq ptr %3, null
%8 = zext i1 %7 to i32
%9 = tail call i32 @ok(i32 noundef %8, ptr noundef nonnull @.str.2, ptr noundef %3) #2
%10 = tail call i32 @DestroyWindow(ptr noundef %2) #2
%11 = tail call i32 @SetLastError(i32 noundef 4660) #2
%12 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null, ptr noundef null, ptr noundef null) #2
%13 = tail call ptr @GetLastError() #2
%14 = icmp eq ptr %12, null
%15 = zext i1 %14 to i32
%16 = tail call i32 @ok(i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %12) #2
%17 = load ptr, ptr @ERROR_INVALID_WINDOW_HANDLE, align 8, !tbaa !6
%18 = icmp eq ptr %13, %17
%19 = zext i1 %18 to i32
%20 = tail call i32 @ok(i32 noundef %19, ptr noundef nonnull @.str.2, ptr noundef %13) #2
%21 = tail call i32 @SetLastError(i32 noundef 4660) #2
%22 = load i32, ptr @WS_CHILD, align 4, !tbaa !10
%23 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %22, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
%24 = tail call ptr @GetLastError() #2
%25 = icmp eq ptr %23, null
%26 = zext i1 %25 to i32
%27 = tail call i32 @ok(i32 noundef %26, ptr noundef nonnull @.str.1, ptr noundef %23) #2
%28 = load ptr, ptr @ERROR_TLW_WITH_WSCHILD, align 8, !tbaa !6
%29 = icmp eq ptr %24, %28
%30 = zext i1 %29 to i32
%31 = tail call i32 @ok(i32 noundef %30, ptr noundef nonnull @.str.2, ptr noundef %24) #2
%32 = tail call i32 @SetLastError(i32 noundef 4660) #2
%33 = load i32, ptr @WS_CHILD, align 4, !tbaa !10
%34 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %33, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null, ptr noundef null, ptr noundef null) #2
%35 = tail call ptr @GetLastError() #2
%36 = icmp eq ptr %34, null
%37 = zext i1 %36 to i32
%38 = tail call i32 @ok(i32 noundef %37, ptr noundef nonnull @.str.1, ptr noundef %34) #2
%39 = load ptr, ptr @ERROR_INVALID_WINDOW_HANDLE, align 8, !tbaa !6
%40 = icmp eq ptr %35, %39
%41 = zext i1 %40 to i32
%42 = tail call i32 @ok(i32 noundef %41, ptr noundef nonnull @.str.2, ptr noundef %35) #2
%43 = tail call i32 @SetLastError(i32 noundef 4660) #2
%44 = load i32, ptr @WS_POPUP, align 4, !tbaa !10
%45 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %44, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
%46 = tail call ptr @GetLastError() #2
%47 = icmp ne ptr %45, null
%48 = zext i1 %47 to i32
%49 = tail call i32 @ok(i32 noundef %48, ptr noundef nonnull @.str.1, ptr noundef %45) #2
%50 = icmp eq ptr %46, null
%51 = zext i1 %50 to i32
%52 = tail call i32 @ok(i32 noundef %51, ptr noundef nonnull @.str.2, ptr noundef %46) #2
%53 = tail call i32 @DestroyWindow(ptr noundef %45) #2
%54 = tail call i32 @SetLastError(i32 noundef 4660) #2
%55 = load i32, ptr @WS_POPUP, align 4, !tbaa !10
%56 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %55, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null, ptr noundef null, ptr noundef null) #2
%57 = tail call ptr @GetLastError() #2
%58 = icmp eq ptr %56, null
%59 = zext i1 %58 to i32
%60 = tail call i32 @ok(i32 noundef %59, ptr noundef nonnull @.str.1, ptr noundef %56) #2
%61 = load ptr, ptr @ERROR_INVALID_WINDOW_HANDLE, align 8, !tbaa !6
%62 = icmp eq ptr %57, %61
%63 = zext i1 %62 to i32
%64 = tail call i32 @ok(i32 noundef %63, ptr noundef nonnull @.str.2, ptr noundef %57) #2
%65 = tail call i32 @SetLastError(i32 noundef 4660) #2
%66 = load i32, ptr @WS_CHILD, align 4, !tbaa !10
%67 = load i32, ptr @WS_POPUP, align 4, !tbaa !10
%68 = or i32 %67, %66
%69 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %68, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2
%70 = tail call ptr @GetLastError() #2
%71 = icmp ne ptr %69, null
%72 = zext i1 %71 to i32
%73 = tail call i32 @ok(i32 noundef %72, ptr noundef nonnull @.str.1, ptr noundef %69) #2
%74 = icmp eq ptr %70, null
%75 = zext i1 %74 to i32
%76 = tail call i32 @ok(i32 noundef %75, ptr noundef nonnull @.str.2, ptr noundef %70) #2
%77 = tail call i32 @DestroyWindow(ptr noundef %69) #2
%78 = tail call i32 @SetLastError(i32 noundef 4660) #2
%79 = load i32, ptr @WS_CHILD, align 4, !tbaa !10
%80 = load i32, ptr @WS_POPUP, align 4, !tbaa !10
%81 = or i32 %80, %79
%82 = tail call ptr @CreateWindowExW(i32 noundef 0, ptr noundef nonnull @.str, ptr noundef null, i32 noundef %81, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null, ptr noundef null, ptr noundef null) #2
%83 = tail call ptr @GetLastError() #2
%84 = icmp eq ptr %82, null
%85 = zext i1 %84 to i32
%86 = tail call i32 @ok(i32 noundef %85, ptr noundef nonnull @.str.1, ptr noundef %82) #2
%87 = load ptr, ptr @ERROR_INVALID_WINDOW_HANDLE, align 8, !tbaa !6
%88 = icmp eq ptr %83, %87
%89 = zext i1 %88 to i32
%90 = tail call i32 @ok(i32 noundef %89, ptr noundef nonnull @.str.2, ptr noundef %83) #2
ret void
}
declare i32 @SetLastError(i32 noundef) local_unnamed_addr #1
declare ptr @CreateWindowExW(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @GetLastError(...) local_unnamed_addr #1
declare i32 @ok(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DestroyWindow(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
reactos_modules_rostests_apitests_user32_extr_CreateWindowEx.c_Test_Params
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_ethtool.c_xgene_set_pauseparam.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_ethtool.c_xgene_set_pauseparam.c"
target datalayout = "e-m:e-p270:32:32-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.ethtool_pauseparam = type { i32, i32, i64 }
%struct.xgene_enet_pdata = type { i64, i32, ptr, i32, i64 }
%struct.TYPE_2__ = type { ptr, ptr }
@PHY_INTERFACE_MODE_SGMII = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xgene_set_pauseparam], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xgene_set_pauseparam(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr %3, align 8, !tbaa !10
%6 = tail call i64 @phy_interface_mode_is_rgmii(i64 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i64, ptr %3, align 8, !tbaa !10
%10 = load i64, ptr @PHY_INTERFACE_MODE_SGMII, align 8, !tbaa !14
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %46
12: ; preds = %8, %2
%13 = icmp eq ptr %4, null
br i1 %13, label %14, label %17
14: ; preds = %12
%15 = load i32, ptr @EINVAL, align 4, !tbaa !15
%16 = sub nsw i32 0, %15
br label %68
17: ; preds = %12
%18 = tail call i32 @phy_validate_pause(ptr noundef nonnull %4, ptr noundef %1) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr @EINVAL, align 4, !tbaa !15
%22 = sub nsw i32 0, %21
br label %68
23: ; preds = %17
%24 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 2
%25 = load i64, ptr %24, align 8, !tbaa !16
%26 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %3, i64 0, i32 4
store i64 %25, ptr %26, align 8, !tbaa !18
%27 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !19
%29 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %3, i64 0, i32 3
store i32 %28, ptr %29, align 8, !tbaa !20
%30 = load i32, ptr %1, align 8, !tbaa !21
%31 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %3, i64 0, i32 1
store i32 %30, ptr %31, align 8, !tbaa !22
%32 = tail call i32 @phy_set_asym_pause(ptr noundef nonnull %4, i32 noundef %30, i32 noundef %28) #2
%33 = load i64, ptr %24, align 8, !tbaa !16
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %68
35: ; preds = %23
%36 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %3, i64 0, i32 2
%37 = load ptr, ptr %36, align 8, !tbaa !23
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %37, i64 0, i32 1
%39 = load ptr, ptr %38, align 8, !tbaa !24
%40 = load i32, ptr %29, align 8, !tbaa !20
%41 = tail call i32 %39(ptr noundef nonnull %3, i32 noundef %40) #2
%42 = load ptr, ptr %36, align 8, !tbaa !23
%43 = load ptr, ptr %42, align 8, !tbaa !26
%44 = load i32, ptr %31, align 8, !tbaa !22
%45 = tail call i32 %43(ptr noundef nonnull %3, i32 noundef %44) #2
br label %68
46: ; preds = %8
%47 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 2
%48 = load i64, ptr %47, align 8, !tbaa !16
%49 = icmp eq i64 %48, 0
br i1 %49, label %53, label %50
50: ; preds = %46
%51 = load i32, ptr @EINVAL, align 4, !tbaa !15
%52 = sub nsw i32 0, %51
br label %68
53: ; preds = %46
%54 = getelementptr inbounds %struct.ethtool_pauseparam, ptr %1, i64 0, i32 1
%55 = load i32, ptr %54, align 4, !tbaa !19
%56 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %3, i64 0, i32 3
store i32 %55, ptr %56, align 8, !tbaa !20
%57 = load i32, ptr %1, align 8, !tbaa !21
%58 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %3, i64 0, i32 1
store i32 %57, ptr %58, align 8, !tbaa !22
%59 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %3, i64 0, i32 2
%60 = load ptr, ptr %59, align 8, !tbaa !23
%61 = getelementptr inbounds %struct.TYPE_2__, ptr %60, i64 0, i32 1
%62 = load ptr, ptr %61, align 8, !tbaa !24
%63 = tail call i32 %62(ptr noundef nonnull %3, i32 noundef %55) #2
%64 = load ptr, ptr %59, align 8, !tbaa !23
%65 = load ptr, ptr %64, align 8, !tbaa !26
%66 = load i32, ptr %58, align 8, !tbaa !22
%67 = tail call i32 %65(ptr noundef nonnull %3, i32 noundef %66) #2
br label %68
68: ; preds = %53, %35, %23, %50, %20, %14
%69 = phi i32 [ %22, %20 ], [ %16, %14 ], [ %52, %50 ], [ 0, %23 ], [ 0, %35 ], [ 0, %53 ]
ret i32 %69
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i64 @phy_interface_mode_is_rgmii(i64 noundef) local_unnamed_addr #1
declare i32 @phy_validate_pause(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @phy_set_asym_pause(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 = !{!"net_device", !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 = !{!"xgene_enet_pdata", !12, i64 0, !13, i64 8, !7, i64 16, !13, i64 24, !12, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!17, !12, i64 8}
!17 = !{!"ethtool_pauseparam", !13, i64 0, !13, i64 4, !12, i64 8}
!18 = !{!11, !12, i64 32}
!19 = !{!17, !13, i64 4}
!20 = !{!11, !13, i64 24}
!21 = !{!17, !13, i64 0}
!22 = !{!11, !13, i64 8}
!23 = !{!11, !7, i64 16}
!24 = !{!25, !7, i64 8}
!25 = !{!"TYPE_2__", !7, i64 0, !7, i64 8}
!26 = !{!25, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_ethtool.c_xgene_set_pauseparam.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_ethtool.c_xgene_set_pauseparam.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PHY_INTERFACE_MODE_SGMII = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xgene_set_pauseparam], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @xgene_set_pauseparam(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr %3, align 8, !tbaa !11
%6 = tail call i64 @phy_interface_mode_is_rgmii(i64 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i64, ptr %3, align 8, !tbaa !11
%10 = load i64, ptr @PHY_INTERFACE_MODE_SGMII, align 8, !tbaa !15
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %46
12: ; preds = %8, %2
%13 = icmp eq ptr %4, null
br i1 %13, label %14, label %17
14: ; preds = %12
%15 = load i32, ptr @EINVAL, align 4, !tbaa !16
%16 = sub nsw i32 0, %15
br label %68
17: ; preds = %12
%18 = tail call i32 @phy_validate_pause(ptr noundef nonnull %4, ptr noundef %1) #2
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr @EINVAL, align 4, !tbaa !16
%22 = sub nsw i32 0, %21
br label %68
23: ; preds = %17
%24 = getelementptr inbounds i8, ptr %1, i64 8
%25 = load i64, ptr %24, align 8, !tbaa !17
%26 = getelementptr inbounds i8, ptr %3, i64 32
store i64 %25, ptr %26, align 8, !tbaa !19
%27 = getelementptr inbounds i8, ptr %1, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !20
%29 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %28, ptr %29, align 8, !tbaa !21
%30 = load i32, ptr %1, align 8, !tbaa !22
%31 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %30, ptr %31, align 8, !tbaa !23
%32 = tail call i32 @phy_set_asym_pause(ptr noundef nonnull %4, i32 noundef %30, i32 noundef %28) #2
%33 = load i64, ptr %24, align 8, !tbaa !17
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %68
35: ; preds = %23
%36 = getelementptr inbounds i8, ptr %3, i64 16
%37 = load ptr, ptr %36, align 8, !tbaa !24
%38 = getelementptr inbounds i8, ptr %37, i64 8
%39 = load ptr, ptr %38, align 8, !tbaa !25
%40 = load i32, ptr %29, align 8, !tbaa !21
%41 = tail call i32 %39(ptr noundef nonnull %3, i32 noundef %40) #2
%42 = load ptr, ptr %36, align 8, !tbaa !24
%43 = load ptr, ptr %42, align 8, !tbaa !27
%44 = load i32, ptr %31, align 8, !tbaa !23
%45 = tail call i32 %43(ptr noundef nonnull %3, i32 noundef %44) #2
br label %68
46: ; preds = %8
%47 = getelementptr inbounds i8, ptr %1, i64 8
%48 = load i64, ptr %47, align 8, !tbaa !17
%49 = icmp eq i64 %48, 0
br i1 %49, label %53, label %50
50: ; preds = %46
%51 = load i32, ptr @EINVAL, align 4, !tbaa !16
%52 = sub nsw i32 0, %51
br label %68
53: ; preds = %46
%54 = getelementptr inbounds i8, ptr %1, i64 4
%55 = load i32, ptr %54, align 4, !tbaa !20
%56 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %55, ptr %56, align 8, !tbaa !21
%57 = load i32, ptr %1, align 8, !tbaa !22
%58 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %57, ptr %58, align 8, !tbaa !23
%59 = getelementptr inbounds i8, ptr %3, i64 16
%60 = load ptr, ptr %59, align 8, !tbaa !24
%61 = getelementptr inbounds i8, ptr %60, i64 8
%62 = load ptr, ptr %61, align 8, !tbaa !25
%63 = tail call i32 %62(ptr noundef nonnull %3, i32 noundef %55) #2
%64 = load ptr, ptr %59, align 8, !tbaa !24
%65 = load ptr, ptr %64, align 8, !tbaa !27
%66 = load i32, ptr %58, align 8, !tbaa !23
%67 = tail call i32 %65(ptr noundef nonnull %3, i32 noundef %66) #2
br label %68
68: ; preds = %53, %35, %23, %50, %20, %14
%69 = phi i32 [ %22, %20 ], [ %16, %14 ], [ %52, %50 ], [ 0, %23 ], [ 0, %35 ], [ 0, %53 ]
ret i32 %69
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i64 @phy_interface_mode_is_rgmii(i64 noundef) local_unnamed_addr #1
declare i32 @phy_validate_pause(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @phy_set_asym_pause(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 = !{!"net_device", !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 = !{!"xgene_enet_pdata", !13, i64 0, !14, i64 8, !8, i64 16, !14, i64 24, !13, i64 32}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!18, !13, i64 8}
!18 = !{!"ethtool_pauseparam", !14, i64 0, !14, i64 4, !13, i64 8}
!19 = !{!12, !13, i64 32}
!20 = !{!18, !14, i64 4}
!21 = !{!12, !14, i64 24}
!22 = !{!18, !14, i64 0}
!23 = !{!12, !14, i64 8}
!24 = !{!12, !8, i64 16}
!25 = !{!26, !8, i64 8}
!26 = !{!"TYPE_2__", !8, i64 0, !8, i64 8}
!27 = !{!26, !8, i64 0}
|
linux_drivers_net_ethernet_apm_xgene_extr_xgene_enet_ethtool.c_xgene_set_pauseparam
|
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jpwl/extr_opj_jpwl_compress.c_initialise_4K_poc.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jpwl/extr_opj_jpwl_compress.c_initialise_4K_poc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32, ptr, i64 }
@CPRL = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @initialise_4K_poc], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal noundef i32 @initialise_4K_poc(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
store i32 1, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i32 0, ptr %3, align 4, !tbaa !12
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
store i64 0, ptr %4, align 8, !tbaa !13
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
store i32 1, ptr %5, align 8, !tbaa !14
%6 = add nsw i32 %1, -1
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
store i32 %6, ptr %7, align 4, !tbaa !15
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
store i32 3, ptr %8, align 8, !tbaa !16
%9 = load ptr, ptr @CPRL, align 8, !tbaa !17
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
store ptr %9, ptr %10, align 8, !tbaa !18
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1
store i32 1, ptr %11, align 8, !tbaa !5
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1, i32 1
store i32 %6, ptr %12, align 4, !tbaa !12
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1, i32 6
store i64 0, ptr %13, align 8, !tbaa !13
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1, i32 2
store i32 1, ptr %14, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1, i32 3
store i32 %1, ptr %15, align 4, !tbaa !15
%16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1, i32 4
store i32 3, ptr %16, align 8, !tbaa !16
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 1, i32 5
store ptr %9, ptr %17, align 8, !tbaa !18
ret i32 2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !11, 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 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !11, i64 32}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !7, i64 16}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !10, i64 24}
|
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jpwl/extr_opj_jpwl_compress.c_initialise_4K_poc.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jpwl/extr_opj_jpwl_compress.c_initialise_4K_poc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CPRL = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @initialise_4K_poc], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @initialise_4K_poc(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
store <2 x i32> <i32 1, i32 0>, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 32
store i64 0, ptr %3, align 8, !tbaa !10
%4 = getelementptr inbounds i8, ptr %0, i64 8
store i32 1, ptr %4, align 8, !tbaa !14
%5 = add nsw i32 %1, -1
%6 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %5, ptr %6, align 4, !tbaa !15
%7 = getelementptr inbounds i8, ptr %0, i64 16
store i32 3, ptr %7, align 8, !tbaa !16
%8 = load ptr, ptr @CPRL, align 8, !tbaa !17
%9 = getelementptr inbounds i8, ptr %0, i64 24
store ptr %8, ptr %9, align 8, !tbaa !18
%10 = getelementptr inbounds i8, ptr %0, i64 40
store i32 1, ptr %10, align 8, !tbaa !19
%11 = getelementptr inbounds i8, ptr %0, i64 44
store i32 %5, ptr %11, align 4, !tbaa !20
%12 = getelementptr inbounds i8, ptr %0, i64 72
store i64 0, ptr %12, align 8, !tbaa !10
%13 = getelementptr inbounds i8, ptr %0, i64 48
store i32 1, ptr %13, align 8, !tbaa !14
%14 = getelementptr inbounds i8, ptr %0, i64 52
store i32 %1, ptr %14, align 4, !tbaa !15
%15 = getelementptr inbounds i8, ptr %0, i64 56
store i32 3, ptr %15, align 8, !tbaa !16
%16 = getelementptr inbounds i8, ptr %0, i64 64
store ptr %8, ptr %16, align 8, !tbaa !18
ret i32 2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 32}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !7, i64 8}
!15 = !{!11, !7, i64 12}
!16 = !{!11, !7, i64 16}
!17 = !{!12, !12, i64 0}
!18 = !{!11, !12, i64 24}
!19 = !{!11, !7, i64 0}
!20 = !{!11, !7, i64 4}
|
sumatrapdf_ext_openjpeg_src_bin_jpwl_extr_opj_jpwl_compress.c_initialise_4K_poc
|
; ModuleID = 'AnghaBench/esp-idf/components/esp_ringbuf/extr_ringbuf.c_prvGetCurMaxSizeAllowSplit.c'
source_filename = "AnghaBench/esp-idf/components/esp_ringbuf/extr_ringbuf.c_prvGetCurMaxSizeAllowSplit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64, i64, i64, i64, i64, i64 }
@rbBUFFER_FULL_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@rbHEADER_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @prvGetCurMaxSizeAllowSplit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i64 @prvGetCurMaxSizeAllowSplit(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @rbBUFFER_FULL_FLAG, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %46
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = icmp eq i64 %8, %10
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = icmp eq i64 %13, %8
%15 = select i1 %11, i1 %14, i1 false
br i1 %15, label %16, label %22
16: ; preds = %6
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = load i32, ptr @rbHEADER_SIZE, align 4, !tbaa !11
%20 = sext i32 %19 to i64
%21 = sub nsw i64 %18, %20
br label %39
22: ; preds = %6
%23 = icmp slt i64 %8, %13
br i1 %23, label %24, label %29
24: ; preds = %22
%25 = load i32, ptr @rbHEADER_SIZE, align 4, !tbaa !11
%26 = sext i32 %25 to i64
%27 = add i64 %8, %26
%28 = sub i64 %13, %27
br label %39
29: ; preds = %22
%30 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
%31 = load i64, ptr %30, align 8, !tbaa !16
%32 = load i32, ptr @rbHEADER_SIZE, align 4, !tbaa !11
%33 = shl nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = add i64 %10, %8
%36 = add i64 %13, %31
%37 = add i64 %35, %34
%38 = sub i64 %36, %37
br label %39
39: ; preds = %24, %29, %16
%40 = phi i64 [ %21, %16 ], [ %28, %24 ], [ %38, %29 ]
%41 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
%42 = load i64, ptr %41, align 8, !tbaa !17
%43 = icmp sgt i64 %40, %42
%44 = tail call i64 @llvm.smax.i64(i64 %40, i64 0)
%45 = select i1 %43, i64 %42, i64 %44
br label %46
46: ; preds = %1, %39
%47 = phi i64 [ %45, %39 ], [ 0, %1 ]
ret i64 %47
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !10, i64 32}
!16 = !{!6, !10, i64 40}
!17 = !{!6, !10, i64 48}
|
; ModuleID = 'AnghaBench/esp-idf/components/esp_ringbuf/extr_ringbuf.c_prvGetCurMaxSizeAllowSplit.c'
source_filename = "AnghaBench/esp-idf/components/esp_ringbuf/extr_ringbuf.c_prvGetCurMaxSizeAllowSplit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rbBUFFER_FULL_FLAG = common local_unnamed_addr global i32 0, align 4
@rbHEADER_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @prvGetCurMaxSizeAllowSplit], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i64 @prvGetCurMaxSizeAllowSplit(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @rbBUFFER_FULL_FLAG, align 4, !tbaa !12
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %46
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = icmp eq i64 %8, %10
%12 = getelementptr inbounds i8, ptr %0, i64 24
%13 = load i64, ptr %12, align 8, !tbaa !15
%14 = icmp eq i64 %13, %8
%15 = select i1 %11, i1 %14, i1 false
br i1 %15, label %16, label %22
16: ; preds = %6
%17 = getelementptr inbounds i8, ptr %0, i64 32
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = load i32, ptr @rbHEADER_SIZE, align 4, !tbaa !12
%20 = sext i32 %19 to i64
%21 = sub nsw i64 %18, %20
br label %39
22: ; preds = %6
%23 = icmp slt i64 %8, %13
br i1 %23, label %24, label %29
24: ; preds = %22
%25 = load i32, ptr @rbHEADER_SIZE, align 4, !tbaa !12
%26 = sext i32 %25 to i64
%27 = add i64 %8, %26
%28 = sub i64 %13, %27
br label %39
29: ; preds = %22
%30 = getelementptr inbounds i8, ptr %0, i64 40
%31 = load i64, ptr %30, align 8, !tbaa !17
%32 = load i32, ptr @rbHEADER_SIZE, align 4, !tbaa !12
%33 = shl nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = add i64 %10, %8
%36 = add i64 %13, %31
%37 = add i64 %35, %34
%38 = sub i64 %36, %37
br label %39
39: ; preds = %24, %29, %16
%40 = phi i64 [ %21, %16 ], [ %28, %24 ], [ %38, %29 ]
%41 = getelementptr inbounds i8, ptr %0, i64 48
%42 = load i64, ptr %41, align 8, !tbaa !18
%43 = icmp sgt i64 %40, %42
%44 = tail call i64 @llvm.smax.i64(i64 %40, i64 0)
%45 = select i1 %43, i64 %42, i64 %44
br label %46
46: ; preds = %1, %39
%47 = phi i64 [ %45, %39 ], [ 0, %1 ]
ret i64 %47
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !11, i64 16}
!15 = !{!7, !11, i64 24}
!16 = !{!7, !11, i64 32}
!17 = !{!7, !11, i64 40}
!18 = !{!7, !11, i64 48}
|
esp-idf_components_esp_ringbuf_extr_ringbuf.c_prvGetCurMaxSizeAllowSplit
|
; ModuleID = 'AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-hcd.c_init_memory.c'
source_filename = "AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-hcd.c_init_memory.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i64, i32 }
@PAYLOAD_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@BLOCK_1_NUM = dso_local local_unnamed_addr global i32 0, align 4
@BLOCK_1_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@BLOCK_2_NUM = dso_local local_unnamed_addr global i32 0, align 4
@BLOCK_2_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@BLOCK_3_NUM = dso_local local_unnamed_addr global i32 0, align 4
@BLOCK_3_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@PAYLOAD_AREA_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_memory], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @init_memory(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr @PAYLOAD_OFFSET, align 8, !tbaa !5
%3 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !9
%4 = icmp sgt i32 %3, 0
%5 = load ptr, ptr %0, align 8, !tbaa !11
br i1 %4, label %13, label %8
6: ; preds = %13
%7 = and i64 %21, 4294967295
br label %8
8: ; preds = %6, %1
%9 = phi i64 [ 0, %1 ], [ %7, %6 ]
%10 = phi i64 [ %2, %1 ], [ %20, %6 ]
%11 = load i32, ptr @BLOCK_2_NUM, align 4, !tbaa !9
%12 = icmp sgt i32 %11, 0
br i1 %12, label %32, label %27
13: ; preds = %1, %13
%14 = phi i64 [ %21, %13 ], [ 0, %1 ]
%15 = phi i64 [ %20, %13 ], [ %2, %1 ]
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %14
store i64 %15, ptr %16, align 8, !tbaa !14
%17 = load i64, ptr @BLOCK_1_SIZE, align 8, !tbaa !5
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %14, i32 1
store i64 %17, ptr %18, align 8, !tbaa !16
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %14, i32 2
store i32 1, ptr %19, align 8, !tbaa !17
%20 = add nsw i64 %17, %15
%21 = add nuw nsw i64 %14, 1
%22 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !9
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %13, label %6, !llvm.loop !18
25: ; preds = %32
%26 = and i64 %41, 4294967295
br label %27
27: ; preds = %25, %8
%28 = phi i64 [ 0, %8 ], [ %26, %25 ]
%29 = phi i64 [ %10, %8 ], [ %40, %25 ]
%30 = load i32, ptr @BLOCK_3_NUM, align 4, !tbaa !9
%31 = icmp sgt i32 %30, 0
br i1 %31, label %45, label %58
32: ; preds = %8, %32
%33 = phi i64 [ %41, %32 ], [ 0, %8 ]
%34 = phi i64 [ %40, %32 ], [ %10, %8 ]
%35 = add nuw nsw i64 %33, %9
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %35
store i64 %34, ptr %36, align 8, !tbaa !14
%37 = load i64, ptr @BLOCK_2_SIZE, align 8, !tbaa !5
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %35, i32 1
store i64 %37, ptr %38, align 8, !tbaa !16
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %35, i32 2
store i32 1, ptr %39, align 8, !tbaa !17
%40 = add nsw i64 %37, %34
%41 = add nuw nsw i64 %33, 1
%42 = load i32, ptr @BLOCK_2_NUM, align 4, !tbaa !9
%43 = sext i32 %42 to i64
%44 = icmp slt i64 %41, %43
br i1 %44, label %32, label %25, !llvm.loop !20
45: ; preds = %27, %45
%46 = phi i64 [ %54, %45 ], [ 0, %27 ]
%47 = phi i64 [ %53, %45 ], [ %29, %27 ]
%48 = add nuw nsw i64 %46, %28
%49 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %48
store i64 %47, ptr %49, align 8, !tbaa !14
%50 = load i64, ptr @BLOCK_3_SIZE, align 8, !tbaa !5
%51 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %48, i32 1
store i64 %50, ptr %51, align 8, !tbaa !16
%52 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %48, i32 2
store i32 1, ptr %52, align 8, !tbaa !17
%53 = add nsw i64 %50, %47
%54 = add nuw nsw i64 %46, 1
%55 = load i32, ptr @BLOCK_3_NUM, align 4, !tbaa !9
%56 = sext i32 %55 to i64
%57 = icmp slt i64 %54, %56
br i1 %57, label %45, label %58, !llvm.loop !21
58: ; preds = %45, %27
%59 = phi i64 [ %29, %27 ], [ %53, %45 ]
%60 = load i64, ptr %5, align 8, !tbaa !14
%61 = sub nsw i64 %59, %60
%62 = load i64, ptr @PAYLOAD_AREA_SIZE, align 8, !tbaa !5
%63 = icmp sgt i64 %61, %62
%64 = zext i1 %63 to i32
%65 = tail call i32 @WARN_ON(i32 noundef %64) #2
ret void
}
declare i32 @WARN_ON(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}
!11 = !{!12, !13, i64 0}
!12 = !{!"isp1760_hcd", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_2__", !6, i64 0, !6, i64 8, !10, i64 16}
!16 = !{!15, !6, i64 8}
!17 = !{!15, !10, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
|
; ModuleID = 'AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-hcd.c_init_memory.c'
source_filename = "AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-hcd.c_init_memory.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i64, i32 }
@PAYLOAD_OFFSET = common local_unnamed_addr global i64 0, align 8
@BLOCK_1_NUM = common local_unnamed_addr global i32 0, align 4
@BLOCK_1_SIZE = common local_unnamed_addr global i64 0, align 8
@BLOCK_2_NUM = common local_unnamed_addr global i32 0, align 4
@BLOCK_2_SIZE = common local_unnamed_addr global i64 0, align 8
@BLOCK_3_NUM = common local_unnamed_addr global i32 0, align 4
@BLOCK_3_SIZE = common local_unnamed_addr global i64 0, align 8
@PAYLOAD_AREA_SIZE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @init_memory], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @init_memory(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr @PAYLOAD_OFFSET, align 8, !tbaa !6
%3 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !10
%4 = icmp sgt i32 %3, 0
%5 = load ptr, ptr %0, align 8, !tbaa !12
br i1 %4, label %13, label %8
6: ; preds = %13
%7 = and i64 %21, 4294967295
br label %8
8: ; preds = %6, %1
%9 = phi i64 [ 0, %1 ], [ %7, %6 ]
%10 = phi i64 [ %2, %1 ], [ %20, %6 ]
%11 = load i32, ptr @BLOCK_2_NUM, align 4, !tbaa !10
%12 = icmp sgt i32 %11, 0
br i1 %12, label %32, label %27
13: ; preds = %1, %13
%14 = phi i64 [ %21, %13 ], [ 0, %1 ]
%15 = phi i64 [ %20, %13 ], [ %2, %1 ]
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %14
store i64 %15, ptr %16, align 8, !tbaa !15
%17 = load i64, ptr @BLOCK_1_SIZE, align 8, !tbaa !6
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %14, i32 1
store i64 %17, ptr %18, align 8, !tbaa !17
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %14, i32 2
store i32 1, ptr %19, align 8, !tbaa !18
%20 = add nsw i64 %17, %15
%21 = add nuw nsw i64 %14, 1
%22 = load i32, ptr @BLOCK_1_NUM, align 4, !tbaa !10
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %13, label %6, !llvm.loop !19
25: ; preds = %32
%26 = and i64 %41, 4294967295
br label %27
27: ; preds = %25, %8
%28 = phi i64 [ 0, %8 ], [ %26, %25 ]
%29 = phi i64 [ %10, %8 ], [ %40, %25 ]
%30 = load i32, ptr @BLOCK_3_NUM, align 4, !tbaa !10
%31 = icmp sgt i32 %30, 0
br i1 %31, label %45, label %58
32: ; preds = %8, %32
%33 = phi i64 [ %41, %32 ], [ 0, %8 ]
%34 = phi i64 [ %40, %32 ], [ %10, %8 ]
%35 = add nuw nsw i64 %33, %9
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %35
store i64 %34, ptr %36, align 8, !tbaa !15
%37 = load i64, ptr @BLOCK_2_SIZE, align 8, !tbaa !6
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %35, i32 1
store i64 %37, ptr %38, align 8, !tbaa !17
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %35, i32 2
store i32 1, ptr %39, align 8, !tbaa !18
%40 = add nsw i64 %37, %34
%41 = add nuw nsw i64 %33, 1
%42 = load i32, ptr @BLOCK_2_NUM, align 4, !tbaa !10
%43 = sext i32 %42 to i64
%44 = icmp slt i64 %41, %43
br i1 %44, label %32, label %25, !llvm.loop !21
45: ; preds = %27, %45
%46 = phi i64 [ %54, %45 ], [ 0, %27 ]
%47 = phi i64 [ %53, %45 ], [ %29, %27 ]
%48 = add nuw nsw i64 %46, %28
%49 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %48
store i64 %47, ptr %49, align 8, !tbaa !15
%50 = load i64, ptr @BLOCK_3_SIZE, align 8, !tbaa !6
%51 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %48, i32 1
store i64 %50, ptr %51, align 8, !tbaa !17
%52 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 %48, i32 2
store i32 1, ptr %52, align 8, !tbaa !18
%53 = add nsw i64 %50, %47
%54 = add nuw nsw i64 %46, 1
%55 = load i32, ptr @BLOCK_3_NUM, align 4, !tbaa !10
%56 = sext i32 %55 to i64
%57 = icmp slt i64 %54, %56
br i1 %57, label %45, label %58, !llvm.loop !22
58: ; preds = %45, %27
%59 = phi i64 [ %29, %27 ], [ %53, %45 ]
%60 = load i64, ptr %5, align 8, !tbaa !15
%61 = sub nsw i64 %59, %60
%62 = load i64, ptr @PAYLOAD_AREA_SIZE, align 8, !tbaa !6
%63 = icmp sgt i64 %61, %62
%64 = zext i1 %63 to i32
%65 = tail call i32 @WARN_ON(i32 noundef %64) #2
ret void
}
declare i32 @WARN_ON(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}
!12 = !{!13, !14, i64 0}
!13 = !{!"isp1760_hcd", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0, !7, i64 8, !11, i64 16}
!17 = !{!16, !7, i64 8}
!18 = !{!16, !11, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
|
linux_drivers_usb_isp1760_extr_isp1760-hcd.c_init_memory
|
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_liolib.c_f_lines.c'
source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_liolib.c_f_lines.c"
target datalayout = "e-m:e-p270:32:32-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 @f_lines], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @f_lines(ptr noundef %0) #0 {
%2 = tail call i32 @tofile(ptr noundef %0) #2
%3 = tail call i32 @aux_lines(ptr noundef %0, i32 noundef 0) #2
ret i32 1
}
declare i32 @tofile(ptr noundef) local_unnamed_addr #1
declare i32 @aux_lines(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/freebsd/contrib/lua/src/extr_liolib.c_f_lines.c'
source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_liolib.c_f_lines.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 @f_lines], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @f_lines(ptr noundef %0) #0 {
%2 = tail call i32 @tofile(ptr noundef %0) #2
%3 = tail call i32 @aux_lines(ptr noundef %0, i32 noundef 0) #2
ret i32 1
}
declare i32 @tofile(ptr noundef) local_unnamed_addr #1
declare i32 @aux_lines(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)"}
|
freebsd_contrib_lua_src_extr_liolib.c_f_lines
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_start_timer.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_start_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"
%struct.TYPE_2__ = type { i64, i64, i32 }
%struct.zfcp_fsf_req = type { %struct.TYPE_2__, i64 }
@zfcp_fsf_request_timeout_handler = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @zfcp_fsf_start_timer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @zfcp_fsf_start_timer(ptr noundef %0, i64 noundef %1) #0 {
%3 = load i32, ptr @zfcp_fsf_request_timeout_handler, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
store i32 %3, ptr %4, align 8, !tbaa !9
%5 = getelementptr inbounds %struct.zfcp_fsf_req, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !13
store i64 %6, ptr %0, align 8, !tbaa !14
%7 = load i64, ptr @jiffies, align 8, !tbaa !15
%8 = add i64 %7, %1
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
store i64 %8, ptr %9, align 8, !tbaa !16
%10 = tail call i32 @add_timer(ptr noundef nonnull %0) #2
ret void
}
declare i32 @add_timer(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 16}
!10 = !{!"zfcp_fsf_req", !11, i64 0, !12, i64 24}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8, !6, i64 16}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 24}
!14 = !{!10, !12, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!10, !12, i64 8}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_start_timer.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_fsf_start_timer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@zfcp_fsf_request_timeout_handler = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @zfcp_fsf_start_timer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @zfcp_fsf_start_timer(ptr noundef %0, i64 noundef %1) #0 {
%3 = load i32, ptr @zfcp_fsf_request_timeout_handler, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %3, ptr %4, align 8, !tbaa !10
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load i64, ptr %5, align 8, !tbaa !14
store i64 %6, ptr %0, align 8, !tbaa !15
%7 = load i64, ptr @jiffies, align 8, !tbaa !16
%8 = add i64 %7, %1
%9 = getelementptr inbounds i8, ptr %0, i64 8
store i64 %8, ptr %9, align 8, !tbaa !17
%10 = tail call i32 @add_timer(ptr noundef nonnull %0) #2
ret void
}
declare i32 @add_timer(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 16}
!11 = !{!"zfcp_fsf_req", !12, i64 0, !13, i64 24}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8, !7, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 24}
!15 = !{!11, !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!11, !13, i64 8}
|
fastsocket_kernel_drivers_s390_scsi_extr_zfcp_fsf.c_zfcp_fsf_start_timer
|
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zfs_ioctl.c_zfs_secpolicy_config.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_zfs_ioctl.c_zfs_secpolicy_config.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @zfs_secpolicy_config(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%5 = tail call i64 @secpolicy_sys_config(ptr noundef %2, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i32, ptr @EPERM, align 4, !tbaa !5
%9 = tail call i32 @SET_ERROR(i32 noundef %8) #2
br label %10
10: ; preds = %3, %7
%11 = phi i32 [ %9, %7 ], [ 0, %3 ]
ret i32 %11
}
declare i64 @secpolicy_sys_config(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zfs_ioctl.c_zfs_secpolicy_config.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_zfs_ioctl.c_zfs_secpolicy_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B_FALSE = common local_unnamed_addr global i32 0, align 4
@EPERM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @zfs_secpolicy_config(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%5 = tail call i64 @secpolicy_sys_config(ptr noundef %2, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i32, ptr @EPERM, align 4, !tbaa !6
%9 = tail call i32 @SET_ERROR(i32 noundef %8) #2
br label %10
10: ; preds = %3, %7
%11 = phi i32 [ %9, %7 ], [ 0, %3 ]
ret i32 %11
}
declare i64 @secpolicy_sys_config(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SET_ERROR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
zfs_module_zfs_extr_zfs_ioctl.c_zfs_secpolicy_config
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_mapping_dump.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_mapping_dump.c"
target datalayout = "e-m:e-p270:32:32-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.snmp_toolinfo = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr }
@_bsnmptools_debug = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"No snmptool context!\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"No mappings!\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"snmp_nodelist:\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"snmp_intlist:\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"snmp_octlist:\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"snmp_oidlist:\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"snmp_iplist:\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"snmp_ticklist:\0A\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"snmp_cntlist:\0A\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"snmp_gaugelist:\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"snmp_cnt64list:\0A\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"snmp_enumlist:\0A\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c"snmp_tablelist:\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @snmp_mapping_dump(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @_bsnmptools_debug, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %59, label %4
4: ; preds = %1
%5 = icmp eq ptr %0, null
br i1 %5, label %6, label %9
6: ; preds = %4
%7 = load i32, ptr @stderr, align 4, !tbaa !5
%8 = tail call i32 @fprintf(i32 noundef %7, ptr noundef nonnull @.str) #2
br label %59
9: ; preds = %4
%10 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 11
%11 = load ptr, ptr %10, align 8, !tbaa !9
%12 = icmp eq ptr %11, null
%13 = load i32, ptr @stderr, align 4, !tbaa !5
br i1 %12, label %14, label %16
14: ; preds = %9
%15 = tail call i32 @fprintf(i32 noundef %13, ptr noundef nonnull @.str.1) #2
br label %59
16: ; preds = %9
%17 = tail call i32 @fprintf(i32 noundef %13, ptr noundef nonnull @.str.2) #2
%18 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 10
%19 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %18) #2
%20 = load i32, ptr @stderr, align 4, !tbaa !5
%21 = tail call i32 @fprintf(i32 noundef %20, ptr noundef nonnull @.str.3) #2
%22 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 9
%23 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %22) #2
%24 = load i32, ptr @stderr, align 4, !tbaa !5
%25 = tail call i32 @fprintf(i32 noundef %24, ptr noundef nonnull @.str.4) #2
%26 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 8
%27 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %26) #2
%28 = load i32, ptr @stderr, align 4, !tbaa !5
%29 = tail call i32 @fprintf(i32 noundef %28, ptr noundef nonnull @.str.5) #2
%30 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 7
%31 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %30) #2
%32 = load i32, ptr @stderr, align 4, !tbaa !5
%33 = tail call i32 @fprintf(i32 noundef %32, ptr noundef nonnull @.str.6) #2
%34 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 6
%35 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %34) #2
%36 = load i32, ptr @stderr, align 4, !tbaa !5
%37 = tail call i32 @fprintf(i32 noundef %36, ptr noundef nonnull @.str.7) #2
%38 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 5
%39 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %38) #2
%40 = load i32, ptr @stderr, align 4, !tbaa !5
%41 = tail call i32 @fprintf(i32 noundef %40, ptr noundef nonnull @.str.8) #2
%42 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 4
%43 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %42) #2
%44 = load i32, ptr @stderr, align 4, !tbaa !5
%45 = tail call i32 @fprintf(i32 noundef %44, ptr noundef nonnull @.str.9) #2
%46 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 3
%47 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %46) #2
%48 = load i32, ptr @stderr, align 4, !tbaa !5
%49 = tail call i32 @fprintf(i32 noundef %48, ptr noundef nonnull @.str.10) #2
%50 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 2
%51 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %50) #2
%52 = load i32, ptr @stderr, align 4, !tbaa !5
%53 = tail call i32 @fprintf(i32 noundef %52, ptr noundef nonnull @.str.11) #2
%54 = getelementptr inbounds %struct.snmp_toolinfo, ptr %0, i64 0, i32 1
%55 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %54) #2
%56 = load i32, ptr @stderr, align 4, !tbaa !5
%57 = tail call i32 @fprintf(i32 noundef %56, ptr noundef nonnull @.str.12) #2
%58 = tail call i32 @snmp_mapping_dumptable(ptr noundef nonnull %0) #2
br label %59
59: ; preds = %1, %16, %14, %6
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snmp_mapping_dumplist(ptr noundef) local_unnamed_addr #1
declare i32 @snmp_mapping_dumptable(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 48}
!10 = !{!"snmp_toolinfo", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !11, i64 48}
!11 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_mapping_dump.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmpmap.c_snmp_mapping_dump.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_bsnmptools_debug = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"No snmptool context!\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"No mappings!\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"snmp_nodelist:\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"snmp_intlist:\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"snmp_octlist:\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"snmp_oidlist:\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"snmp_iplist:\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"snmp_ticklist:\0A\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"snmp_cntlist:\0A\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"snmp_gaugelist:\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"snmp_cnt64list:\0A\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"snmp_enumlist:\0A\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c"snmp_tablelist:\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @snmp_mapping_dump(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @_bsnmptools_debug, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %59, label %4
4: ; preds = %1
%5 = icmp eq ptr %0, null
br i1 %5, label %6, label %9
6: ; preds = %4
%7 = load i32, ptr @stderr, align 4, !tbaa !6
%8 = tail call i32 @fprintf(i32 noundef %7, ptr noundef nonnull @.str) #2
br label %59
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %0, i64 48
%11 = load ptr, ptr %10, align 8, !tbaa !10
%12 = icmp eq ptr %11, null
%13 = load i32, ptr @stderr, align 4, !tbaa !6
br i1 %12, label %14, label %16
14: ; preds = %9
%15 = tail call i32 @fprintf(i32 noundef %13, ptr noundef nonnull @.str.1) #2
br label %59
16: ; preds = %9
%17 = tail call i32 @fprintf(i32 noundef %13, ptr noundef nonnull @.str.2) #2
%18 = getelementptr inbounds i8, ptr %0, i64 40
%19 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %18) #2
%20 = load i32, ptr @stderr, align 4, !tbaa !6
%21 = tail call i32 @fprintf(i32 noundef %20, ptr noundef nonnull @.str.3) #2
%22 = getelementptr inbounds i8, ptr %0, i64 36
%23 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %22) #2
%24 = load i32, ptr @stderr, align 4, !tbaa !6
%25 = tail call i32 @fprintf(i32 noundef %24, ptr noundef nonnull @.str.4) #2
%26 = getelementptr inbounds i8, ptr %0, i64 32
%27 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %26) #2
%28 = load i32, ptr @stderr, align 4, !tbaa !6
%29 = tail call i32 @fprintf(i32 noundef %28, ptr noundef nonnull @.str.5) #2
%30 = getelementptr inbounds i8, ptr %0, i64 28
%31 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %30) #2
%32 = load i32, ptr @stderr, align 4, !tbaa !6
%33 = tail call i32 @fprintf(i32 noundef %32, ptr noundef nonnull @.str.6) #2
%34 = getelementptr inbounds i8, ptr %0, i64 24
%35 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %34) #2
%36 = load i32, ptr @stderr, align 4, !tbaa !6
%37 = tail call i32 @fprintf(i32 noundef %36, ptr noundef nonnull @.str.7) #2
%38 = getelementptr inbounds i8, ptr %0, i64 20
%39 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %38) #2
%40 = load i32, ptr @stderr, align 4, !tbaa !6
%41 = tail call i32 @fprintf(i32 noundef %40, ptr noundef nonnull @.str.8) #2
%42 = getelementptr inbounds i8, ptr %0, i64 16
%43 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %42) #2
%44 = load i32, ptr @stderr, align 4, !tbaa !6
%45 = tail call i32 @fprintf(i32 noundef %44, ptr noundef nonnull @.str.9) #2
%46 = getelementptr inbounds i8, ptr %0, i64 12
%47 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %46) #2
%48 = load i32, ptr @stderr, align 4, !tbaa !6
%49 = tail call i32 @fprintf(i32 noundef %48, ptr noundef nonnull @.str.10) #2
%50 = getelementptr inbounds i8, ptr %0, i64 8
%51 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %50) #2
%52 = load i32, ptr @stderr, align 4, !tbaa !6
%53 = tail call i32 @fprintf(i32 noundef %52, ptr noundef nonnull @.str.11) #2
%54 = getelementptr inbounds i8, ptr %0, i64 4
%55 = tail call i32 @snmp_mapping_dumplist(ptr noundef nonnull %54) #2
%56 = load i32, ptr @stderr, align 4, !tbaa !6
%57 = tail call i32 @fprintf(i32 noundef %56, ptr noundef nonnull @.str.12) #2
%58 = tail call i32 @snmp_mapping_dumptable(ptr noundef nonnull %0) #2
br label %59
59: ; preds = %1, %16, %14, %6
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snmp_mapping_dumplist(ptr noundef) local_unnamed_addr #1
declare i32 @snmp_mapping_dumptable(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 48}
!11 = !{!"snmp_toolinfo", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !12, i64 48}
!12 = !{!"any pointer", !8, i64 0}
|
freebsd_usr.sbin_bsnmpd_tools_libbsnmptools_extr_bsnmpmap.c_snmp_mapping_dump
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_snsc_event.c_scdrv_event_severity.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_snsc_event.c_scdrv_event_severity.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EV_CLASS_MASK = dso_local local_unnamed_addr global i32 0, align 4
@EV_SEVERITY_MASK = dso_local local_unnamed_addr global i32 0, align 4
@KERN_NOTICE = dso_local local_unnamed_addr global ptr null, align 8
@KERN_WARNING = dso_local local_unnamed_addr global ptr null, align 8
@KERN_ALERT = dso_local local_unnamed_addr global ptr null, align 8
@KERN_CRIT = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @scdrv_event_severity], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal ptr @scdrv_event_severity(i32 noundef %0) #0 {
%2 = load i32, ptr @EV_CLASS_MASK, align 4, !tbaa !5
%3 = and i32 %2, %0
%4 = load i32, ptr @EV_SEVERITY_MASK, align 4, !tbaa !5
%5 = and i32 %4, %0
%6 = load ptr, ptr @KERN_NOTICE, align 8, !tbaa !9
switch i32 %3, label %32 [
i32 141, label %7
i32 142, label %12
i32 139, label %17
i32 143, label %24
i32 138, label %26
i32 137, label %28
i32 140, label %30
]
7: ; preds = %1
switch i32 %5, label %32 [
i32 131, label %8
i32 133, label %8
i32 134, label %10
i32 132, label %10
]
8: ; preds = %7, %7
%9 = load ptr, ptr @KERN_WARNING, align 8, !tbaa !9
br label %32
10: ; preds = %7, %7
%11 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !9
br label %32
12: ; preds = %1
switch i32 %5, label %32 [
i32 135, label %13
i32 136, label %15
]
13: ; preds = %12
%14 = load ptr, ptr @KERN_WARNING, align 8, !tbaa !9
br label %32
15: ; preds = %12
%16 = load ptr, ptr @KERN_CRIT, align 8, !tbaa !9
br label %32
17: ; preds = %1
switch i32 %5, label %32 [
i32 130, label %18
i32 129, label %20
i32 128, label %22
]
18: ; preds = %17
%19 = load ptr, ptr @KERN_WARNING, align 8, !tbaa !9
br label %32
20: ; preds = %17
%21 = load ptr, ptr @KERN_CRIT, align 8, !tbaa !9
br label %32
22: ; preds = %17
%23 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !9
br label %32
24: ; preds = %1
%25 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !9
br label %32
26: ; preds = %1
%27 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !9
br label %32
28: ; preds = %1
%29 = load ptr, ptr @KERN_WARNING, align 8, !tbaa !9
br label %32
30: ; preds = %1
%31 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !9
br label %32
32: ; preds = %18, %20, %22, %17, %13, %15, %12, %8, %10, %7, %1, %30, %28, %26, %24
%33 = phi ptr [ %6, %1 ], [ %31, %30 ], [ %29, %28 ], [ %27, %26 ], [ %25, %24 ], [ %6, %17 ], [ %23, %22 ], [ %21, %20 ], [ %19, %18 ], [ %6, %12 ], [ %16, %15 ], [ %14, %13 ], [ %6, %7 ], [ %11, %10 ], [ %9, %8 ]
ret ptr %33
}
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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_snsc_event.c_scdrv_event_severity.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_snsc_event.c_scdrv_event_severity.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EV_CLASS_MASK = common local_unnamed_addr global i32 0, align 4
@EV_SEVERITY_MASK = common local_unnamed_addr global i32 0, align 4
@KERN_NOTICE = common local_unnamed_addr global ptr null, align 8
@KERN_WARNING = common local_unnamed_addr global ptr null, align 8
@KERN_ALERT = common local_unnamed_addr global ptr null, align 8
@KERN_CRIT = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @scdrv_event_severity], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal ptr @scdrv_event_severity(i32 noundef %0) #0 {
%2 = load i32, ptr @EV_CLASS_MASK, align 4, !tbaa !6
%3 = and i32 %2, %0
%4 = load i32, ptr @EV_SEVERITY_MASK, align 4, !tbaa !6
%5 = and i32 %4, %0
%6 = load ptr, ptr @KERN_NOTICE, align 8, !tbaa !10
switch i32 %3, label %32 [
i32 141, label %7
i32 142, label %12
i32 139, label %17
i32 143, label %24
i32 138, label %26
i32 137, label %28
i32 140, label %30
]
7: ; preds = %1
switch i32 %5, label %32 [
i32 131, label %8
i32 133, label %8
i32 134, label %10
i32 132, label %10
]
8: ; preds = %7, %7
%9 = load ptr, ptr @KERN_WARNING, align 8, !tbaa !10
br label %32
10: ; preds = %7, %7
%11 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !10
br label %32
12: ; preds = %1
switch i32 %5, label %32 [
i32 135, label %13
i32 136, label %15
]
13: ; preds = %12
%14 = load ptr, ptr @KERN_WARNING, align 8, !tbaa !10
br label %32
15: ; preds = %12
%16 = load ptr, ptr @KERN_CRIT, align 8, !tbaa !10
br label %32
17: ; preds = %1
switch i32 %5, label %32 [
i32 130, label %18
i32 129, label %20
i32 128, label %22
]
18: ; preds = %17
%19 = load ptr, ptr @KERN_WARNING, align 8, !tbaa !10
br label %32
20: ; preds = %17
%21 = load ptr, ptr @KERN_CRIT, align 8, !tbaa !10
br label %32
22: ; preds = %17
%23 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !10
br label %32
24: ; preds = %1
%25 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !10
br label %32
26: ; preds = %1
%27 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !10
br label %32
28: ; preds = %1
%29 = load ptr, ptr @KERN_WARNING, align 8, !tbaa !10
br label %32
30: ; preds = %1
%31 = load ptr, ptr @KERN_ALERT, align 8, !tbaa !10
br label %32
32: ; preds = %18, %20, %22, %17, %13, %15, %12, %8, %10, %7, %1, %30, %28, %26, %24
%33 = phi ptr [ %6, %1 ], [ %31, %30 ], [ %29, %28 ], [ %27, %26 ], [ %25, %24 ], [ %6, %17 ], [ %23, %22 ], [ %21, %20 ], [ %19, %18 ], [ %6, %12 ], [ %16, %15 ], [ %14, %13 ], [ %6, %7 ], [ %11, %10 ], [ %9, %8 ]
ret ptr %33
}
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"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
|
fastsocket_kernel_drivers_char_extr_snsc_event.c_scdrv_event_severity
|
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_11174.c_main.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_11174.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, i32 }
@.str = private unnamed_addr constant [4 x i8] c"CLS\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@banner = dso_local local_unnamed_addr global ptr null, align 8
@arguments = dso_local local_unnamed_addr global i32 0, align 4
@input = dso_local local_unnamed_addr global i32 0, align 4
@RET = dso_local local_unnamed_addr global ptr null, align 8
@bf = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"[!]Using : %s retaddress\0A\00", align 1
@b = dso_local local_unnamed_addr global i32 0, align 4
@OGGfile = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp slt i32 %0, 2
br i1 %3, label %4, label %11
4: ; preds = %2
%5 = tail call i32 @system(ptr noundef nonnull @.str) #6
%6 = load ptr, ptr @banner, align 8, !tbaa !5
%7 = load i32, ptr @arguments, align 4, !tbaa !9
%8 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %6, i32 noundef %7)
%9 = tail call i32 (...) @Targetprint() #6
%10 = tail call i32 @exit(i32 noundef 0) #7
unreachable
11: ; preds = %2
%12 = getelementptr inbounds ptr, ptr %1, i64 1
%13 = load ptr, ptr %12, align 8, !tbaa !5
%14 = tail call i32 @atoi(ptr nocapture noundef %13)
store i32 %14, ptr @input, align 4, !tbaa !9
%15 = icmp ult i32 %14, 5
br i1 %15, label %16, label %27
16: ; preds = %11
%17 = zext nneg i32 %14 to i64
%18 = load ptr, ptr @RET, align 8, !tbaa !5
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i64 %17, i32 1
%20 = load i32, ptr %19, align 8, !tbaa !11
%21 = tail call i32 @reverseInt(i32 noundef %20) #6
%22 = load ptr, ptr @RET, align 8, !tbaa !5
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %17, i32 1
%24 = load i32, ptr %23, align 8, !tbaa !11
%25 = load i32, ptr @bf, align 4, !tbaa !9
%26 = tail call i32 @cpy(i32 noundef %24, i32 noundef %25) #6
br label %27
27: ; preds = %11, %16
%28 = load ptr, ptr @RET, align 8, !tbaa !5
%29 = load i32, ptr @input, align 4, !tbaa !9
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8, !tbaa !13
%33 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %32)
%34 = load i32, ptr @b, align 4, !tbaa !9
%35 = tail call i32 @buildF(i32 noundef %34) #6
%36 = load i32, ptr @OGGfile, align 4, !tbaa !9
%37 = tail call i32 @oggf(i32 noundef %36) #6
%38 = tail call i32 (...) @getchar() #6
ret i32 0
}
; Function Attrs: nofree
declare noundef i32 @system(ptr nocapture noundef readonly) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #2
declare i32 @Targetprint(...) local_unnamed_addr #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #4
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #5
declare i32 @reverseInt(i32 noundef) local_unnamed_addr #3
declare i32 @cpy(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @buildF(i32 noundef) local_unnamed_addr #3
declare i32 @oggf(i32 noundef) local_unnamed_addr #3
declare i32 @getchar(...) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"TYPE_2__", !6, i64 0, !10, i64 8}
!13 = !{!12, !6, i64 0}
|
; ModuleID = 'AnghaBench/exploitdb/exploits/windows/local/extr_11174.c_main.c'
source_filename = "AnghaBench/exploitdb/exploits/windows/local/extr_11174.c_main.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 }
@.str = private unnamed_addr constant [4 x i8] c"CLS\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1
@banner = common local_unnamed_addr global ptr null, align 8
@arguments = common local_unnamed_addr global i32 0, align 4
@input = common local_unnamed_addr global i32 0, align 4
@RET = common local_unnamed_addr global ptr null, align 8
@bf = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"[!]Using : %s retaddress\0A\00", align 1
@b = common local_unnamed_addr global i32 0, align 4
@OGGfile = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = icmp slt i32 %0, 2
br i1 %3, label %4, label %11
4: ; preds = %2
%5 = tail call i32 @system(ptr noundef nonnull @.str) #6
%6 = load ptr, ptr @banner, align 8, !tbaa !6
%7 = load i32, ptr @arguments, align 4, !tbaa !10
%8 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %6, i32 noundef %7)
%9 = tail call i32 @Targetprint() #6
%10 = tail call i32 @exit(i32 noundef 0) #7
unreachable
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !6
%14 = tail call i32 @atoi(ptr nocapture noundef %13)
store i32 %14, ptr @input, align 4, !tbaa !10
%15 = icmp ult i32 %14, 5
br i1 %15, label %16, label %29
16: ; preds = %11
%17 = shl nuw nsw i32 %14, 4
%18 = or disjoint i32 %17, 8
%19 = zext nneg i32 %18 to i64
%20 = load ptr, ptr @RET, align 8, !tbaa !6
%21 = getelementptr inbounds i8, ptr %20, i64 %19
%22 = load i32, ptr %21, align 8, !tbaa !12
%23 = tail call i32 @reverseInt(i32 noundef %22) #6
%24 = load ptr, ptr @RET, align 8, !tbaa !6
%25 = getelementptr inbounds i8, ptr %24, i64 %19
%26 = load i32, ptr %25, align 8, !tbaa !12
%27 = load i32, ptr @bf, align 4, !tbaa !10
%28 = tail call i32 @cpy(i32 noundef %26, i32 noundef %27) #6
br label %29
29: ; preds = %11, %16
%30 = load ptr, ptr @RET, align 8, !tbaa !6
%31 = load i32, ptr @input, align 4, !tbaa !10
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds %struct.TYPE_2__, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8, !tbaa !14
%35 = tail call i32 (ptr, ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %34)
%36 = load i32, ptr @b, align 4, !tbaa !10
%37 = tail call i32 @buildF(i32 noundef %36) #6
%38 = load i32, ptr @OGGfile, align 4, !tbaa !10
%39 = tail call i32 @oggf(i32 noundef %38) #6
%40 = tail call i32 @getchar() #6
ret i32 0
}
; Function Attrs: nofree
declare noundef i32 @system(ptr nocapture noundef readonly) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ptr noundef, ...) local_unnamed_addr #2
declare i32 @Targetprint(...) local_unnamed_addr #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #4
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #5
declare i32 @reverseInt(i32 noundef) local_unnamed_addr #3
declare i32 @cpy(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @buildF(i32 noundef) local_unnamed_addr #3
declare i32 @oggf(i32 noundef) local_unnamed_addr #3
declare i32 @getchar(...) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"TYPE_2__", !7, i64 0, !11, i64 8}
!14 = !{!13, !7, i64 0}
|
exploitdb_exploits_windows_local_extr_11174.c_main
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/zlibWrapper/extr_zstd_zlibwrapper.c_ZWRAPD_finishWithError.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/zlibWrapper/extr_zstd_zlibwrapper.c_ZWRAPD_finishWithError.c"
target datalayout = "e-m:e-p270:32:32-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"- ZWRAPD_finishWithError=%d\0A\00", align 1
@Z_STREAM_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ZWRAPD_finishWithError], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ZWRAPD_finishWithError(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = tail call i32 @LOG_WRAPPERD(ptr noundef nonnull @.str, i32 noundef %2) #2
%5 = tail call i32 @ZWRAP_freeDCtx(ptr noundef %0) #2
store ptr null, ptr %1, align 8, !tbaa !5
%6 = icmp eq i32 %2, 0
%7 = load i32, ptr @Z_STREAM_ERROR, align 4
%8 = select i1 %6, i32 %7, i32 %2
ret i32 %8
}
declare i32 @LOG_WRAPPERD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ZWRAP_freeDCtx(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/zlibWrapper/extr_zstd_zlibwrapper.c_ZWRAPD_finishWithError.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/zlibWrapper/extr_zstd_zlibwrapper.c_ZWRAPD_finishWithError.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"- ZWRAPD_finishWithError=%d\0A\00", align 1
@Z_STREAM_ERROR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ZWRAPD_finishWithError], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ZWRAPD_finishWithError(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = tail call i32 @LOG_WRAPPERD(ptr noundef nonnull @.str, i32 noundef %2) #2
%5 = tail call i32 @ZWRAP_freeDCtx(ptr noundef %0) #2
store ptr null, ptr %1, align 8, !tbaa !6
%6 = icmp eq i32 %2, 0
%7 = load i32, ptr @Z_STREAM_ERROR, align 4
%8 = select i1 %6, i32 %7, i32 %2
ret i32 %8
}
declare i32 @LOG_WRAPPERD(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ZWRAP_freeDCtx(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_contrib_zstd_zlibWrapper_extr_zstd_zlibwrapper.c_ZWRAPD_finishWithError
|
; ModuleID = 'AnghaBench/curl/tests/libtest/extr_lib1502.c_test.c'
source_filename = "AnghaBench/curl/tests/libtest/extr_lib1502.c_test.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.timeval = type { i32, i64 }
@.str = private unnamed_addr constant [17 x i8] c"google.com:%s:%s\00", align 1
@libtest_arg2 = dso_local local_unnamed_addr global i32 0, align 4
@libtest_arg3 = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"curl_slist_append() failed\0A\00", align 1
@TEST_ERR_MAJOR_BAD = dso_local local_unnamed_addr global i32 0, align 4
@CURL_GLOBAL_ALL = dso_local local_unnamed_addr global i32 0, align 4
@CURLOPT_URL = dso_local local_unnamed_addr global i32 0, align 4
@CURLOPT_HEADER = dso_local local_unnamed_addr global i32 0, align 4
@CURLOPT_RESOLVE = dso_local local_unnamed_addr global i32 0, align 4
@CURLE_OUT_OF_MEMORY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @test(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca [160 x i8], align 16
%4 = alloca %struct.timeval, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %3) #3
%9 = load i32, ptr @libtest_arg2, align 4, !tbaa !5
%10 = load i32, ptr @libtest_arg3, align 4, !tbaa !5
%11 = call i32 @msnprintf(ptr noundef nonnull %3, i32 noundef 160, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %10) #3
%12 = call i32 (...) @start_test_timing() #3
%13 = call ptr @curl_slist_append(ptr noundef null, ptr noundef nonnull %3) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %1
%16 = load i32, ptr @stderr, align 4, !tbaa !5
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef nonnull @.str.1) #3
%18 = load i32, ptr @TEST_ERR_MAJOR_BAD, align 4, !tbaa !5
br label %60
19: ; preds = %1
%20 = load i32, ptr @CURL_GLOBAL_ALL, align 4, !tbaa !5
%21 = call i32 @res_global_init(i32 noundef %20) #3
%22 = call i32 @easy_init(ptr noundef null) #3
%23 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !5
%24 = call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %23, ptr noundef %0) #3
%25 = load i32, ptr @CURLOPT_HEADER, align 4, !tbaa !5
%26 = call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %25, i64 noundef 1) #3
%27 = load i32, ptr @CURLOPT_RESOLVE, align 4, !tbaa !5
%28 = call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %27, ptr noundef nonnull %13) #3
%29 = call ptr @curl_easy_duphandle(ptr noundef null) #3
%30 = icmp eq ptr %29, null
br i1 %30, label %41, label %31
31: ; preds = %19
%32 = call i32 @curl_easy_cleanup(ptr noundef null) #3
%33 = call i32 @multi_init(ptr noundef null) #3
%34 = call i32 @multi_add_handle(ptr noundef null, ptr noundef nonnull %29) #3
%35 = call i32 @multi_perform(ptr noundef null, ptr noundef nonnull %2) #3
%36 = call i32 (...) @abort_on_test_timeout() #3
%37 = load i32, ptr %2, align 4, !tbaa !5
%38 = icmp eq i32 %37, 0
br i1 %38, label %58, label %39
39: ; preds = %31
%40 = getelementptr inbounds %struct.timeval, ptr %4, i64 0, i32 1
br label %45
41: ; preds = %19
%42 = call i32 @curl_slist_free_all(ptr noundef nonnull %13) #3
%43 = call i32 @curl_easy_cleanup(ptr noundef null) #3
%44 = load i32, ptr @CURLE_OUT_OF_MEMORY, align 4, !tbaa !5
br label %60
45: ; preds = %39, %45
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 -99, ptr %8, align 4, !tbaa !5
%46 = call i32 @FD_ZERO(ptr noundef nonnull %5) #3
%47 = call i32 @FD_ZERO(ptr noundef nonnull %6) #3
%48 = call i32 @FD_ZERO(ptr noundef nonnull %7) #3
store i32 1, ptr %4, align 8, !tbaa !9
store i64 0, ptr %40, align 8, !tbaa !12
%49 = call i32 @multi_fdset(ptr noundef null, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%50 = load i32, ptr %8, align 4, !tbaa !5
%51 = add nsw i32 %50, 1
%52 = call i32 @select_test(i32 noundef %51, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %4) #3
%53 = call i32 (...) @abort_on_test_timeout() #3
%54 = call i32 @multi_perform(ptr noundef null, ptr noundef nonnull %2) #3
%55 = call i32 (...) @abort_on_test_timeout() #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
%56 = load i32, ptr %2, align 4, !tbaa !5
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %45, !llvm.loop !13
58: ; preds = %45, %31
%59 = call i32 @curl_slist_free_all(ptr noundef nonnull %13) #3
br label %60
60: ; preds = %58, %41, %15
%61 = phi i32 [ 0, %58 ], [ %44, %41 ], [ %18, %15 ]
call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %61
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @msnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @start_test_timing(...) local_unnamed_addr #2
declare ptr @curl_slist_append(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @res_global_init(i32 noundef) local_unnamed_addr #2
declare i32 @curl_slist_free_all(ptr noundef) local_unnamed_addr #2
declare i32 @easy_init(ptr noundef) local_unnamed_addr #2
declare i32 @easy_setopt(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare ptr @curl_easy_duphandle(ptr noundef) local_unnamed_addr #2
declare i32 @curl_easy_cleanup(ptr noundef) local_unnamed_addr #2
declare i32 @multi_init(ptr noundef) local_unnamed_addr #2
declare i32 @multi_add_handle(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @multi_perform(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @abort_on_test_timeout(...) local_unnamed_addr #2
declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2
declare i32 @multi_fdset(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @select_test(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"timeval", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/curl/tests/libtest/extr_lib1502.c_test.c'
source_filename = "AnghaBench/curl/tests/libtest/extr_lib1502.c_test.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timeval = type { i32, i64 }
@.str = private unnamed_addr constant [17 x i8] c"google.com:%s:%s\00", align 1
@libtest_arg2 = common local_unnamed_addr global i32 0, align 4
@libtest_arg3 = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"curl_slist_append() failed\0A\00", align 1
@TEST_ERR_MAJOR_BAD = common local_unnamed_addr global i32 0, align 4
@CURL_GLOBAL_ALL = common local_unnamed_addr global i32 0, align 4
@CURLOPT_URL = common local_unnamed_addr global i32 0, align 4
@CURLOPT_HEADER = common local_unnamed_addr global i32 0, align 4
@CURLOPT_RESOLVE = common local_unnamed_addr global i32 0, align 4
@CURLE_OUT_OF_MEMORY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @test(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca [160 x i8], align 1
%4 = alloca %struct.timeval, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %3) #3
%9 = load i32, ptr @libtest_arg2, align 4, !tbaa !6
%10 = load i32, ptr @libtest_arg3, align 4, !tbaa !6
%11 = call i32 @msnprintf(ptr noundef nonnull %3, i32 noundef 160, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %10) #3
%12 = call i32 @start_test_timing() #3
%13 = call ptr @curl_slist_append(ptr noundef null, ptr noundef nonnull %3) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %1
%16 = load i32, ptr @stderr, align 4, !tbaa !6
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef nonnull @.str.1) #3
%18 = load i32, ptr @TEST_ERR_MAJOR_BAD, align 4, !tbaa !6
br label %60
19: ; preds = %1
%20 = load i32, ptr @CURL_GLOBAL_ALL, align 4, !tbaa !6
%21 = call i32 @res_global_init(i32 noundef %20) #3
%22 = call i32 @easy_init(ptr noundef null) #3
%23 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !6
%24 = call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %23, ptr noundef %0) #3
%25 = load i32, ptr @CURLOPT_HEADER, align 4, !tbaa !6
%26 = call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %25, i64 noundef 1) #3
%27 = load i32, ptr @CURLOPT_RESOLVE, align 4, !tbaa !6
%28 = call i32 (ptr, i32, ...) @easy_setopt(ptr noundef null, i32 noundef %27, ptr noundef nonnull %13) #3
%29 = call ptr @curl_easy_duphandle(ptr noundef null) #3
%30 = icmp eq ptr %29, null
br i1 %30, label %41, label %31
31: ; preds = %19
%32 = call i32 @curl_easy_cleanup(ptr noundef null) #3
%33 = call i32 @multi_init(ptr noundef null) #3
%34 = call i32 @multi_add_handle(ptr noundef null, ptr noundef nonnull %29) #3
%35 = call i32 @multi_perform(ptr noundef null, ptr noundef nonnull %2) #3
%36 = call i32 @abort_on_test_timeout() #3
%37 = load i32, ptr %2, align 4, !tbaa !6
%38 = icmp eq i32 %37, 0
br i1 %38, label %58, label %39
39: ; preds = %31
%40 = getelementptr inbounds i8, ptr %4, i64 8
br label %45
41: ; preds = %19
%42 = call i32 @curl_slist_free_all(ptr noundef nonnull %13) #3
%43 = call i32 @curl_easy_cleanup(ptr noundef null) #3
%44 = load i32, ptr @CURLE_OUT_OF_MEMORY, align 4, !tbaa !6
br label %60
45: ; preds = %39, %45
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 -99, ptr %8, align 4, !tbaa !6
%46 = call i32 @FD_ZERO(ptr noundef nonnull %5) #3
%47 = call i32 @FD_ZERO(ptr noundef nonnull %6) #3
%48 = call i32 @FD_ZERO(ptr noundef nonnull %7) #3
store i32 1, ptr %4, align 8, !tbaa !10
store i64 0, ptr %40, align 8, !tbaa !13
%49 = call i32 @multi_fdset(ptr noundef null, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%50 = load i32, ptr %8, align 4, !tbaa !6
%51 = add nsw i32 %50, 1
%52 = call i32 @select_test(i32 noundef %51, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %4) #3
%53 = call i32 @abort_on_test_timeout() #3
%54 = call i32 @multi_perform(ptr noundef null, ptr noundef nonnull %2) #3
%55 = call i32 @abort_on_test_timeout() #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
%56 = load i32, ptr %2, align 4, !tbaa !6
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %45, !llvm.loop !14
58: ; preds = %45, %31
%59 = call i32 @curl_slist_free_all(ptr noundef nonnull %13) #3
br label %60
60: ; preds = %58, %41, %15
%61 = phi i32 [ 0, %58 ], [ %44, %41 ], [ %18, %15 ]
call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %61
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @msnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @start_test_timing(...) local_unnamed_addr #2
declare ptr @curl_slist_append(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @res_global_init(i32 noundef) local_unnamed_addr #2
declare i32 @curl_slist_free_all(ptr noundef) local_unnamed_addr #2
declare i32 @easy_init(ptr noundef) local_unnamed_addr #2
declare i32 @easy_setopt(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare ptr @curl_easy_duphandle(ptr noundef) local_unnamed_addr #2
declare i32 @curl_easy_cleanup(ptr noundef) local_unnamed_addr #2
declare i32 @multi_init(ptr noundef) local_unnamed_addr #2
declare i32 @multi_add_handle(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @multi_perform(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @abort_on_test_timeout(...) local_unnamed_addr #2
declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2
declare i32 @multi_fdset(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @select_test(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 = !{!"timeval", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
curl_tests_libtest_extr_lib1502.c_test
|
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_gola_fixup.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_gola_fixup.c"
target datalayout = "e-m:e-p270:32:32-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_21__ = type { i32, ptr, i32, ptr }
%struct.TYPE_20__ = type { i64, i64, i32 }
%struct.TYPE_22__ = type { i32, i32, i64, ptr }
%struct.TYPE_18__ = type { i32 }
@FSCOPE_UPVAL = dso_local local_unnamed_addr global i32 0, align 4
@NAME_BREAK = dso_local local_unnamed_addr global ptr null, align 8
@FSCOPE_BREAK = dso_local local_unnamed_addr global i32 0, align 4
@FSCOPE_GOLA = dso_local local_unnamed_addr global i32 0, align 4
@LJ_ERR_XBREAK = dso_local local_unnamed_addr global i32 0, align 4
@LJ_ERR_XLUNDEF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gola_fixup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @gola_fixup(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %1, align 8, !tbaa !11
%6 = load i32, ptr %0, align 8, !tbaa !14
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds %struct.TYPE_20__, ptr %4, i64 %7
%9 = icmp slt i32 %5, %6
br i1 %9, label %10, label %98
10: ; preds = %2
%11 = sext i32 %5 to i64
%12 = getelementptr inbounds %struct.TYPE_20__, ptr %4, i64 %11
%13 = getelementptr inbounds %struct.TYPE_22__, ptr %1, i64 0, i32 1
%14 = getelementptr inbounds %struct.TYPE_22__, ptr %1, i64 0, i32 3
%15 = getelementptr inbounds %struct.TYPE_22__, ptr %1, i64 0, i32 2
%16 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 1
%17 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 2
br label %18
18: ; preds = %10, %95
%19 = phi ptr [ %12, %10 ], [ %96, %95 ]
%20 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 0, i32 2
%21 = load i32, ptr %20, align 8, !tbaa !15
%22 = tail call ptr @strref(i32 noundef %21) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %95, label %24
24: ; preds = %18
%25 = tail call i64 @gola_islabel(ptr noundef nonnull %19) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %58, label %27
27: ; preds = %24
%28 = load i32, ptr %20, align 8, !tbaa !15
%29 = tail call i32 @setgcrefnull(i32 noundef %28) #2
%30 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 1
%31 = icmp ult ptr %30, %8
br i1 %31, label %32, label %95
32: ; preds = %27, %55
%33 = phi ptr [ %56, %55 ], [ %30, %27 ]
%34 = phi ptr [ %33, %55 ], [ %19, %27 ]
%35 = getelementptr inbounds %struct.TYPE_20__, ptr %34, i64 1, i32 2
%36 = load i32, ptr %35, align 8, !tbaa !15
%37 = tail call ptr @strref(i32 noundef %36) #2
%38 = icmp eq ptr %37, %22
br i1 %38, label %39, label %55
39: ; preds = %32
%40 = tail call i64 @gola_isgoto(ptr noundef nonnull %33) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %55, label %42
42: ; preds = %39
%43 = load i32, ptr %13, align 4, !tbaa !17
%44 = load i32, ptr @FSCOPE_UPVAL, align 4, !tbaa !18
%45 = and i32 %44, %43
%46 = icmp eq i32 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %42
%48 = load i64, ptr %33, align 8, !tbaa !19
%49 = load i64, ptr %19, align 8, !tbaa !19
%50 = icmp sgt i64 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %47
%52 = tail call i32 @gola_close(ptr noundef nonnull %0, ptr noundef nonnull %33) #2
br label %53
53: ; preds = %51, %47, %42
%54 = tail call i32 @gola_patch(ptr noundef nonnull %0, ptr noundef nonnull %33, ptr noundef %19) #2
br label %55
55: ; preds = %32, %39, %53
%56 = getelementptr inbounds %struct.TYPE_20__, ptr %33, i64 1
%57 = icmp ult ptr %56, %8
br i1 %57, label %32, label %95, !llvm.loop !20
58: ; preds = %24
%59 = tail call i64 @gola_isgoto(ptr noundef nonnull %19) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %95, label %61
61: ; preds = %58
%62 = load ptr, ptr %14, align 8, !tbaa !22
%63 = icmp eq ptr %62, null
br i1 %63, label %79, label %64
64: ; preds = %61
%65 = load ptr, ptr @NAME_BREAK, align 8, !tbaa !23
%66 = icmp eq ptr %22, %65
%67 = load i32, ptr @FSCOPE_BREAK, align 4
%68 = load i32, ptr @FSCOPE_GOLA, align 4
%69 = select i1 %66, i32 %67, i32 %68
%70 = load i32, ptr %62, align 4, !tbaa !24
%71 = or i32 %70, %69
store i32 %71, ptr %62, align 4, !tbaa !24
%72 = load i64, ptr %15, align 8, !tbaa !26
store i64 %72, ptr %19, align 8, !tbaa !19
%73 = load i32, ptr %13, align 4, !tbaa !17
%74 = load i32, ptr @FSCOPE_UPVAL, align 4, !tbaa !18
%75 = and i32 %74, %73
%76 = icmp eq i32 %75, 0
br i1 %76, label %95, label %77
77: ; preds = %64
%78 = tail call i32 @gola_close(ptr noundef nonnull %0, ptr noundef nonnull %19) #2
br label %95
79: ; preds = %61
%80 = load ptr, ptr %16, align 8, !tbaa !27
%81 = load ptr, ptr %80, align 8, !tbaa !28
%82 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 0, i32 1
%83 = load i64, ptr %82, align 8, !tbaa !30
%84 = getelementptr inbounds %struct.TYPE_18__, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4, !tbaa !31
store i32 %85, ptr %17, align 8, !tbaa !33
%86 = load ptr, ptr @NAME_BREAK, align 8, !tbaa !23
%87 = icmp eq ptr %22, %86
br i1 %87, label %88, label %91
88: ; preds = %79
%89 = load i32, ptr @LJ_ERR_XBREAK, align 4, !tbaa !18
%90 = tail call i32 (ptr, i32, i32, ...) @lj_lex_error(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %89) #2
br label %95
91: ; preds = %79
%92 = load i32, ptr @LJ_ERR_XLUNDEF, align 4, !tbaa !18
%93 = tail call i32 @strdata(ptr noundef nonnull %22) #2
%94 = tail call i32 (ptr, i32, i32, ...) @lj_lex_error(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %92, i32 noundef %93) #2
br label %95
95: ; preds = %55, %27, %77, %64, %91, %88, %58, %18
%96 = getelementptr inbounds %struct.TYPE_20__, ptr %19, i64 1
%97 = icmp ult ptr %96, %8
br i1 %97, label %18, label %98, !llvm.loop !34
98: ; preds = %95, %2
ret void
}
declare ptr @strref(i32 noundef) local_unnamed_addr #1
declare i64 @gola_islabel(ptr noundef) local_unnamed_addr #1
declare i32 @setgcrefnull(i32 noundef) local_unnamed_addr #1
declare i64 @gola_isgoto(ptr noundef) local_unnamed_addr #1
declare i32 @gola_close(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @gola_patch(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lj_lex_error(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @strdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"TYPE_21__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_22__", !7, i64 0, !7, i64 4, !13, i64 8, !10, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !7, i64 16}
!16 = !{!"TYPE_20__", !13, i64 0, !13, i64 8, !7, i64 16}
!17 = !{!12, !7, i64 4}
!18 = !{!7, !7, i64 0}
!19 = !{!16, !13, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !10, i64 16}
!23 = !{!10, !10, i64 0}
!24 = !{!25, !7, i64 0}
!25 = !{!"TYPE_17__", !7, i64 0}
!26 = !{!12, !13, i64 8}
!27 = !{!6, !10, i64 8}
!28 = !{!29, !10, i64 0}
!29 = !{!"TYPE_19__", !10, i64 0}
!30 = !{!16, !13, i64 8}
!31 = !{!32, !7, i64 0}
!32 = !{!"TYPE_18__", !7, i64 0}
!33 = !{!6, !7, i64 16}
!34 = distinct !{!34, !21}
|
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_gola_fixup.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_gola_fixup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_20__ = type { i64, i64, i32 }
%struct.TYPE_18__ = type { i32 }
@FSCOPE_UPVAL = common local_unnamed_addr global i32 0, align 4
@NAME_BREAK = common local_unnamed_addr global ptr null, align 8
@FSCOPE_BREAK = common local_unnamed_addr global i32 0, align 4
@FSCOPE_GOLA = common local_unnamed_addr global i32 0, align 4
@LJ_ERR_XBREAK = common local_unnamed_addr global i32 0, align 4
@LJ_ERR_XLUNDEF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gola_fixup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @gola_fixup(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %1, align 8, !tbaa !12
%6 = load i32, ptr %0, align 8, !tbaa !15
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds %struct.TYPE_20__, ptr %4, i64 %7
%9 = icmp slt i32 %5, %6
br i1 %9, label %10, label %98
10: ; preds = %2
%11 = sext i32 %5 to i64
%12 = getelementptr inbounds %struct.TYPE_20__, ptr %4, i64 %11
%13 = getelementptr inbounds i8, ptr %1, i64 4
%14 = getelementptr inbounds i8, ptr %1, i64 16
%15 = getelementptr inbounds i8, ptr %1, i64 8
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = getelementptr inbounds i8, ptr %0, i64 16
br label %18
18: ; preds = %10, %95
%19 = phi ptr [ %12, %10 ], [ %96, %95 ]
%20 = getelementptr inbounds i8, ptr %19, i64 16
%21 = load i32, ptr %20, align 8, !tbaa !16
%22 = tail call ptr @strref(i32 noundef %21) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %95, label %24
24: ; preds = %18
%25 = tail call i64 @gola_islabel(ptr noundef nonnull %19) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %58, label %27
27: ; preds = %24
%28 = load i32, ptr %20, align 8, !tbaa !16
%29 = tail call i32 @setgcrefnull(i32 noundef %28) #2
%30 = getelementptr inbounds i8, ptr %19, i64 24
%31 = icmp ult ptr %30, %8
br i1 %31, label %32, label %95
32: ; preds = %27, %55
%33 = phi ptr [ %56, %55 ], [ %30, %27 ]
%34 = phi ptr [ %33, %55 ], [ %19, %27 ]
%35 = getelementptr inbounds i8, ptr %34, i64 40
%36 = load i32, ptr %35, align 8, !tbaa !16
%37 = tail call ptr @strref(i32 noundef %36) #2
%38 = icmp eq ptr %37, %22
br i1 %38, label %39, label %55
39: ; preds = %32
%40 = tail call i64 @gola_isgoto(ptr noundef nonnull %33) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %55, label %42
42: ; preds = %39
%43 = load i32, ptr %13, align 4, !tbaa !18
%44 = load i32, ptr @FSCOPE_UPVAL, align 4, !tbaa !19
%45 = and i32 %44, %43
%46 = icmp eq i32 %45, 0
br i1 %46, label %53, label %47
47: ; preds = %42
%48 = load i64, ptr %33, align 8, !tbaa !20
%49 = load i64, ptr %19, align 8, !tbaa !20
%50 = icmp sgt i64 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %47
%52 = tail call i32 @gola_close(ptr noundef nonnull %0, ptr noundef nonnull %33) #2
br label %53
53: ; preds = %51, %47, %42
%54 = tail call i32 @gola_patch(ptr noundef nonnull %0, ptr noundef nonnull %33, ptr noundef %19) #2
br label %55
55: ; preds = %32, %39, %53
%56 = getelementptr inbounds i8, ptr %33, i64 24
%57 = icmp ult ptr %56, %8
br i1 %57, label %32, label %95, !llvm.loop !21
58: ; preds = %24
%59 = tail call i64 @gola_isgoto(ptr noundef nonnull %19) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %95, label %61
61: ; preds = %58
%62 = load ptr, ptr %14, align 8, !tbaa !23
%63 = icmp eq ptr %62, null
br i1 %63, label %79, label %64
64: ; preds = %61
%65 = load ptr, ptr @NAME_BREAK, align 8, !tbaa !24
%66 = icmp eq ptr %22, %65
%67 = load i32, ptr @FSCOPE_BREAK, align 4
%68 = load i32, ptr @FSCOPE_GOLA, align 4
%69 = select i1 %66, i32 %67, i32 %68
%70 = load i32, ptr %62, align 4, !tbaa !25
%71 = or i32 %70, %69
store i32 %71, ptr %62, align 4, !tbaa !25
%72 = load i64, ptr %15, align 8, !tbaa !27
store i64 %72, ptr %19, align 8, !tbaa !20
%73 = load i32, ptr %13, align 4, !tbaa !18
%74 = load i32, ptr @FSCOPE_UPVAL, align 4, !tbaa !19
%75 = and i32 %74, %73
%76 = icmp eq i32 %75, 0
br i1 %76, label %95, label %77
77: ; preds = %64
%78 = tail call i32 @gola_close(ptr noundef nonnull %0, ptr noundef nonnull %19) #2
br label %95
79: ; preds = %61
%80 = load ptr, ptr %16, align 8, !tbaa !28
%81 = load ptr, ptr %80, align 8, !tbaa !29
%82 = getelementptr inbounds i8, ptr %19, i64 8
%83 = load i64, ptr %82, align 8, !tbaa !31
%84 = getelementptr inbounds %struct.TYPE_18__, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4, !tbaa !32
store i32 %85, ptr %17, align 8, !tbaa !34
%86 = load ptr, ptr @NAME_BREAK, align 8, !tbaa !24
%87 = icmp eq ptr %22, %86
br i1 %87, label %88, label %91
88: ; preds = %79
%89 = load i32, ptr @LJ_ERR_XBREAK, align 4, !tbaa !19
%90 = tail call i32 (ptr, i32, i32, ...) @lj_lex_error(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %89) #2
br label %95
91: ; preds = %79
%92 = load i32, ptr @LJ_ERR_XLUNDEF, align 4, !tbaa !19
%93 = tail call i32 @strdata(ptr noundef nonnull %22) #2
%94 = tail call i32 (ptr, i32, i32, ...) @lj_lex_error(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %92, i32 noundef %93) #2
br label %95
95: ; preds = %55, %27, %77, %64, %91, %88, %58, %18
%96 = getelementptr inbounds i8, ptr %19, i64 24
%97 = icmp ult ptr %96, %8
br i1 %97, label %18, label %98, !llvm.loop !35
98: ; preds = %95, %2
ret void
}
declare ptr @strref(i32 noundef) local_unnamed_addr #1
declare i64 @gola_islabel(ptr noundef) local_unnamed_addr #1
declare i32 @setgcrefnull(i32 noundef) local_unnamed_addr #1
declare i64 @gola_isgoto(ptr noundef) local_unnamed_addr #1
declare i32 @gola_close(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @gola_patch(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lj_lex_error(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @strdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"TYPE_21__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_22__", !8, i64 0, !8, i64 4, !14, i64 8, !11, i64 16}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !8, i64 16}
!17 = !{!"TYPE_20__", !14, i64 0, !14, i64 8, !8, i64 16}
!18 = !{!13, !8, i64 4}
!19 = !{!8, !8, i64 0}
!20 = !{!17, !14, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!13, !11, i64 16}
!24 = !{!11, !11, i64 0}
!25 = !{!26, !8, i64 0}
!26 = !{!"TYPE_17__", !8, i64 0}
!27 = !{!13, !14, i64 8}
!28 = !{!7, !11, i64 8}
!29 = !{!30, !11, i64 0}
!30 = !{!"TYPE_19__", !11, i64 0}
!31 = !{!17, !14, i64 8}
!32 = !{!33, !8, i64 0}
!33 = !{!"TYPE_18__", !8, i64 0}
!34 = !{!7, !8, i64 16}
!35 = distinct !{!35, !22}
|
xLua_build_luajit-2.1.0b2_src_extr_lj_parse.c_gola_fixup
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Cedar.c_AddHub.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Cedar.c_AddHub.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, i32 }
@MAX_HUBS = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @AddHub(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %19, label %6
6: ; preds = %2
%7 = tail call i32 @LockHubList(ptr noundef nonnull %0) #2
%8 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = tail call i64 @IsHub(ptr noundef nonnull %0, i32 noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %6
%13 = load i32, ptr %0, align 4, !tbaa !10
%14 = tail call i32 @Insert(i32 noundef %13, ptr noundef nonnull %1) #2
%15 = load i32, ptr %1, align 4, !tbaa !12
%16 = tail call i32 @AddRef(i32 noundef %15) #2
br label %17
17: ; preds = %6, %12
%18 = tail call i32 @UnlockHubList(ptr noundef nonnull %0) #2
br label %19
19: ; preds = %17, %2
ret void
}
declare i32 @LockHubList(ptr noundef) local_unnamed_addr #1
declare i64 @IsHub(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UnlockHubList(ptr noundef) local_unnamed_addr #1
declare i32 @Insert(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AddRef(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_9__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_10__", !7, i64 0}
!12 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Cedar.c_AddHub.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Cedar.c_AddHub.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_HUBS = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @AddHub(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %19, label %6
6: ; preds = %2
%7 = tail call i32 @LockHubList(ptr noundef nonnull %0) #2
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = tail call i64 @IsHub(ptr noundef nonnull %0, i32 noundef %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %6
%13 = load i32, ptr %0, align 4, !tbaa !11
%14 = tail call i32 @Insert(i32 noundef %13, ptr noundef nonnull %1) #2
%15 = load i32, ptr %1, align 4, !tbaa !13
%16 = tail call i32 @AddRef(i32 noundef %15) #2
br label %17
17: ; preds = %6, %12
%18 = tail call i32 @UnlockHubList(ptr noundef nonnull %0) #2
br label %19
19: ; preds = %17, %2
ret void
}
declare i32 @LockHubList(ptr noundef) local_unnamed_addr #1
declare i64 @IsHub(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UnlockHubList(ptr noundef) local_unnamed_addr #1
declare i32 @Insert(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @AddRef(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_9__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_10__", !8, i64 0}
!13 = !{!7, !8, i64 0}
|
SoftEtherVPN_src_Cedar_extr_Cedar.c_AddHub
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wl1251/extr_event.c_wl1251_event_unmask.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wl1251/extr_event.c_wl1251_event_unmask.c"
target datalayout = "e-m:e-p270:32:32-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 @wl1251_event_unmask(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = xor i32 %2, -1
%4 = tail call i32 @wl1251_acx_event_mbox_mask(ptr noundef nonnull %0, i32 noundef %3) #3
%5 = tail call i32 @llvm.smin.i32(i32 %4, i32 0)
ret i32 %5
}
declare i32 @wl1251_acx_event_mbox_mask(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"wl1251", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wl1251/extr_event.c_wl1251_event_unmask.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wl1251/extr_event.c_wl1251_event_unmask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483648, 1) i32 @wl1251_event_unmask(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = xor i32 %2, -1
%4 = tail call i32 @wl1251_acx_event_mbox_mask(ptr noundef nonnull %0, i32 noundef %3) #3
%5 = tail call i32 @llvm.smin.i32(i32 %4, i32 0)
ret i32 %5
}
declare i32 @wl1251_acx_event_mbox_mask(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"wl1251", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_net_wireless_ti_wl1251_extr_event.c_wl1251_event_unmask
|
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_....blockblk-mq-tag.h_bt_wait_ptr.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_....blockblk-mq-tag.h_bt_wait_ptr.c"
target datalayout = "e-m:e-p270:32:32-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 @bt_wait_ptr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @bt_wait_ptr(ptr noundef %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !5
br label %8
6: ; preds = %2
%7 = tail call ptr @sbq_wait_ptr(ptr noundef %0, ptr noundef nonnull %1) #2
br label %8
8: ; preds = %6, %4
%9 = phi ptr [ %7, %6 ], [ %5, %4 ]
ret ptr %9
}
declare ptr @sbq_wait_ptr(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sbitmap_queue", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_....blockblk-mq-tag.h_bt_wait_ptr.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_....blockblk-mq-tag.h_bt_wait_ptr.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 @bt_wait_ptr], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @bt_wait_ptr(ptr noundef %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = load ptr, ptr %0, align 8, !tbaa !6
br label %8
6: ; preds = %2
%7 = tail call ptr @sbq_wait_ptr(ptr noundef %0, ptr noundef nonnull %1) #2
br label %8
8: ; preds = %6, %4
%9 = phi ptr [ %7, %6 ], [ %5, %4 ]
ret ptr %9
}
declare ptr @sbq_wait_ptr(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sbitmap_queue", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_kernel_trace_extr_....blockblk-mq-tag.h_bt_wait_ptr
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/extr_rsocket.c_ds_create_qp.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/extr_rsocket.c_ds_create_qp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ibv_qp_init_attr = type { i32, %struct.TYPE_8__, i32, i32, i32, ptr }
%struct.TYPE_8__ = type { i32, i32, i32, i32, i32 }
%struct.epoll_event = type { %struct.TYPE_9__, i32 }
%struct.TYPE_9__ = type { ptr }
%struct.ds_qp = type { ptr, i32, ptr }
%struct.TYPE_11__ = type { ptr, i32, i32 }
%struct.rsocket = type { i32, i32, i32, i32 }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@RDMA_PS_UDP = dso_local local_unnamed_addr global i32 0, align 4
@IBV_QPT_UD = dso_local local_unnamed_addr global i32 0, align 4
@EPOLLIN = dso_local local_unnamed_addr global i32 0, align 4
@EPOLL_CTL_ADD = dso_local local_unnamed_addr global i32 0, align 4
@RS_SNDLOWAT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ds_create_qp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ds_create_qp(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca %struct.ibv_qp_init_attr, align 8
%6 = alloca %struct.epoll_event, align 8
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
%7 = tail call ptr @calloc(i32 noundef 1, i32 noundef 24) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%11 = tail call i32 @ERR(i32 noundef %10) #3
br label %81
12: ; preds = %4
%13 = getelementptr inbounds %struct.ds_qp, ptr %7, i64 0, i32 2
store ptr %0, ptr %13, align 8, !tbaa !9
%14 = load i32, ptr @RDMA_PS_UDP, align 4, !tbaa !5
%15 = tail call i32 @rdma_create_id(ptr noundef null, ptr noundef nonnull %7, ptr noundef nonnull %7, i32 noundef %14) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %78
17: ; preds = %12
%18 = getelementptr inbounds %struct.ds_qp, ptr %7, i64 0, i32 1
%19 = tail call i32 @ds_format_hdr(ptr noundef nonnull %18, ptr noundef %1) #3
%20 = load ptr, ptr %7, align 8, !tbaa !12
%21 = tail call i32 @rdma_bind_addr(ptr noundef %20, ptr noundef %1) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %78
23: ; preds = %17
%24 = tail call i32 @ds_init_bufs(ptr noundef nonnull %7) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %78
26: ; preds = %23
%27 = load ptr, ptr %7, align 8, !tbaa !12
%28 = tail call i32 @rs_create_cq(ptr noundef %0, ptr noundef %27) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %78
30: ; preds = %26
%31 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 48) #3
%32 = getelementptr inbounds %struct.ibv_qp_init_attr, ptr %5, i64 0, i32 5
store ptr %7, ptr %32, align 8, !tbaa !13
%33 = load ptr, ptr %7, align 8, !tbaa !12
%34 = getelementptr inbounds %struct.TYPE_11__, ptr %33, i64 0, i32 1
%35 = getelementptr inbounds %struct.ibv_qp_init_attr, ptr %5, i64 0, i32 3
%36 = load <2 x i32>, ptr %34, align 8, !tbaa !5
store <2 x i32> %36, ptr %35, align 4, !tbaa !5
%37 = load i32, ptr @IBV_QPT_UD, align 4, !tbaa !5
%38 = getelementptr inbounds %struct.ibv_qp_init_attr, ptr %5, i64 0, i32 2
store i32 %37, ptr %38, align 8, !tbaa !16
store i32 1, ptr %5, align 8, !tbaa !17
%39 = getelementptr inbounds %struct.ibv_qp_init_attr, ptr %5, i64 0, i32 1
%40 = load i32, ptr %0, align 4, !tbaa !18
store i32 %40, ptr %39, align 4, !tbaa !20
%41 = getelementptr inbounds %struct.ibv_qp_init_attr, ptr %5, i64 0, i32 1, i32 1
store i32 1, ptr %41, align 8, !tbaa !21
%42 = getelementptr inbounds %struct.ibv_qp_init_attr, ptr %5, i64 0, i32 1, i32 2
store i32 2, ptr %42, align 4, !tbaa !22
%43 = getelementptr inbounds %struct.rsocket, ptr %0, i64 0, i32 2
%44 = getelementptr inbounds %struct.ibv_qp_init_attr, ptr %5, i64 0, i32 1, i32 3
%45 = load <2 x i32>, ptr %43, align 4, !tbaa !5
store <2 x i32> %45, ptr %44, align 8, !tbaa !5
%46 = call i32 @rdma_create_qp(ptr noundef %33, ptr noundef null, ptr noundef nonnull %5) #3
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %78
48: ; preds = %30
%49 = load i32, ptr %44, align 8, !tbaa !23
store i32 %49, ptr %43, align 4, !tbaa !24
%50 = call i32 @ds_add_qp_dest(ptr noundef nonnull %7, ptr noundef %1, i32 noundef %2) #3
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %78
52: ; preds = %48
%53 = load i32, ptr @EPOLLIN, align 4, !tbaa !5
%54 = getelementptr inbounds %struct.epoll_event, ptr %6, i64 0, i32 1
store i32 %53, ptr %54, align 8, !tbaa !25
store ptr %7, ptr %6, align 8, !tbaa !28
%55 = getelementptr inbounds %struct.rsocket, ptr %0, i64 0, i32 1
%56 = load i32, ptr %55, align 4, !tbaa !29
%57 = load i32, ptr @EPOLL_CTL_ADD, align 4, !tbaa !5
%58 = load ptr, ptr %7, align 8, !tbaa !12
%59 = load ptr, ptr %58, align 8, !tbaa !30
%60 = load i32, ptr %59, align 4, !tbaa !32
%61 = call i32 @epoll_ctl(i32 noundef %56, i32 noundef %57, i32 noundef %60, ptr noundef nonnull %6) #3
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %78
63: ; preds = %52
%64 = load i32, ptr %0, align 4, !tbaa !18
%65 = icmp sgt i32 %64, 0
br i1 %65, label %70, label %76
66: ; preds = %70
%67 = add nuw nsw i32 %71, 1
%68 = load i32, ptr %0, align 4, !tbaa !18
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %76, !llvm.loop !34
70: ; preds = %63, %66
%71 = phi i32 [ %67, %66 ], [ 0, %63 ]
%72 = load i32, ptr @RS_SNDLOWAT, align 4, !tbaa !5
%73 = mul nsw i32 %72, %71
%74 = call i32 @ds_post_recv(ptr noundef nonnull %0, ptr noundef nonnull %7, i32 noundef %73) #3
%75 = icmp eq i32 %74, 0
br i1 %75, label %66, label %78
76: ; preds = %66, %63
%77 = call i32 @ds_insert_qp(ptr noundef nonnull %0, ptr noundef nonnull %7) #3
store ptr %7, ptr %3, align 8, !tbaa !36
br label %81
78: ; preds = %70, %52, %48, %30, %26, %23, %17, %12
%79 = phi i32 [ %15, %12 ], [ %21, %17 ], [ %24, %23 ], [ %28, %26 ], [ %46, %30 ], [ %50, %48 ], [ %61, %52 ], [ %74, %70 ]
%80 = call i32 @ds_free_qp(ptr noundef nonnull %7) #3
br label %81
81: ; preds = %78, %76, %9
%82 = phi i32 [ %79, %78 ], [ 0, %76 ], [ %11, %9 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #3
ret i32 %82
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ERR(i32 noundef) local_unnamed_addr #2
declare i32 @rdma_create_id(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ds_format_hdr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rdma_bind_addr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ds_init_bufs(ptr noundef) local_unnamed_addr #2
declare i32 @rs_create_cq(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rdma_create_qp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ds_add_qp_dest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ds_post_recv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ds_insert_qp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ds_free_qp(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"ds_qp", !11, i64 0, !6, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !11, i64 40}
!14 = !{!"ibv_qp_init_attr", !6, i64 0, !15, i64 4, !6, i64 24, !6, i64 28, !6, i64 32, !11, i64 40}
!15 = !{!"TYPE_8__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16}
!16 = !{!14, !6, i64 24}
!17 = !{!14, !6, i64 0}
!18 = !{!19, !6, i64 0}
!19 = !{!"rsocket", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!20 = !{!14, !6, i64 4}
!21 = !{!14, !6, i64 8}
!22 = !{!14, !6, i64 12}
!23 = !{!14, !6, i64 16}
!24 = !{!19, !6, i64 8}
!25 = !{!26, !6, i64 8}
!26 = !{!"epoll_event", !27, i64 0, !6, i64 8}
!27 = !{!"TYPE_9__", !11, i64 0}
!28 = !{!26, !11, i64 0}
!29 = !{!19, !6, i64 4}
!30 = !{!31, !11, i64 0}
!31 = !{!"TYPE_11__", !11, i64 0, !6, i64 8, !6, i64 12}
!32 = !{!33, !6, i64 0}
!33 = !{!"TYPE_10__", !6, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/extr_rsocket.c_ds_create_qp.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/extr_rsocket.c_ds_create_qp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ibv_qp_init_attr = type { i32, %struct.TYPE_8__, i32, i32, i32, ptr }
%struct.TYPE_8__ = type { i32, i32, i32, i32, i32 }
%struct.epoll_event = type { %struct.TYPE_9__, i32 }
%struct.TYPE_9__ = type { ptr }
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@RDMA_PS_UDP = common local_unnamed_addr global i32 0, align 4
@IBV_QPT_UD = common local_unnamed_addr global i32 0, align 4
@EPOLLIN = common local_unnamed_addr global i32 0, align 4
@EPOLL_CTL_ADD = common local_unnamed_addr global i32 0, align 4
@RS_SNDLOWAT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ds_create_qp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ds_create_qp(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #0 {
%5 = alloca %struct.ibv_qp_init_attr, align 8
%6 = alloca %struct.epoll_event, align 8
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
%7 = tail call ptr @calloc(i32 noundef 1, i32 noundef 24) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%11 = tail call i32 @ERR(i32 noundef %10) #3
br label %80
12: ; preds = %4
%13 = getelementptr inbounds i8, ptr %7, i64 16
store ptr %0, ptr %13, align 8, !tbaa !10
%14 = load i32, ptr @RDMA_PS_UDP, align 4, !tbaa !6
%15 = tail call i32 @rdma_create_id(ptr noundef null, ptr noundef nonnull %7, ptr noundef nonnull %7, i32 noundef %14) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %77
17: ; preds = %12
%18 = getelementptr inbounds i8, ptr %7, i64 8
%19 = tail call i32 @ds_format_hdr(ptr noundef nonnull %18, ptr noundef %1) #3
%20 = load ptr, ptr %7, align 8, !tbaa !13
%21 = tail call i32 @rdma_bind_addr(ptr noundef %20, ptr noundef %1) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %77
23: ; preds = %17
%24 = tail call i32 @ds_init_bufs(ptr noundef nonnull %7) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %77
26: ; preds = %23
%27 = load ptr, ptr %7, align 8, !tbaa !13
%28 = tail call i32 @rs_create_cq(ptr noundef %0, ptr noundef %27) #3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %77
30: ; preds = %26
%31 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 48) #3
%32 = getelementptr inbounds i8, ptr %5, i64 40
store ptr %7, ptr %32, align 8, !tbaa !14
%33 = load ptr, ptr %7, align 8, !tbaa !13
%34 = getelementptr inbounds i8, ptr %33, i64 8
%35 = getelementptr inbounds i8, ptr %5, i64 28
%36 = load <2 x i32>, ptr %34, align 8, !tbaa !6
store <2 x i32> %36, ptr %35, align 4, !tbaa !6
%37 = load i32, ptr @IBV_QPT_UD, align 4, !tbaa !6
%38 = getelementptr inbounds i8, ptr %5, i64 24
store i32 %37, ptr %38, align 8, !tbaa !17
store i32 1, ptr %5, align 8, !tbaa !18
%39 = getelementptr inbounds i8, ptr %5, i64 4
%40 = load i32, ptr %0, align 4, !tbaa !19
store i32 %40, ptr %39, align 4, !tbaa !21
%41 = getelementptr inbounds i8, ptr %5, i64 8
store <2 x i32> <i32 1, i32 2>, ptr %41, align 8, !tbaa !6
%42 = getelementptr inbounds i8, ptr %0, i64 8
%43 = getelementptr inbounds i8, ptr %5, i64 16
%44 = load <2 x i32>, ptr %42, align 4, !tbaa !6
store <2 x i32> %44, ptr %43, align 8, !tbaa !6
%45 = call i32 @rdma_create_qp(ptr noundef %33, ptr noundef null, ptr noundef nonnull %5) #3
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %77
47: ; preds = %30
%48 = load i32, ptr %43, align 8, !tbaa !22
store i32 %48, ptr %42, align 4, !tbaa !23
%49 = call i32 @ds_add_qp_dest(ptr noundef nonnull %7, ptr noundef %1, i32 noundef %2) #3
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %77
51: ; preds = %47
%52 = load i32, ptr @EPOLLIN, align 4, !tbaa !6
%53 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %52, ptr %53, align 8, !tbaa !24
store ptr %7, ptr %6, align 8, !tbaa !27
%54 = getelementptr inbounds i8, ptr %0, i64 4
%55 = load i32, ptr %54, align 4, !tbaa !28
%56 = load i32, ptr @EPOLL_CTL_ADD, align 4, !tbaa !6
%57 = load ptr, ptr %7, align 8, !tbaa !13
%58 = load ptr, ptr %57, align 8, !tbaa !29
%59 = load i32, ptr %58, align 4, !tbaa !31
%60 = call i32 @epoll_ctl(i32 noundef %55, i32 noundef %56, i32 noundef %59, ptr noundef nonnull %6) #3
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %77
62: ; preds = %51
%63 = load i32, ptr %0, align 4, !tbaa !19
%64 = icmp sgt i32 %63, 0
br i1 %64, label %69, label %75
65: ; preds = %69
%66 = add nuw nsw i32 %70, 1
%67 = load i32, ptr %0, align 4, !tbaa !19
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %75, !llvm.loop !33
69: ; preds = %62, %65
%70 = phi i32 [ %66, %65 ], [ 0, %62 ]
%71 = load i32, ptr @RS_SNDLOWAT, align 4, !tbaa !6
%72 = mul nsw i32 %71, %70
%73 = call i32 @ds_post_recv(ptr noundef nonnull %0, ptr noundef nonnull %7, i32 noundef %72) #3
%74 = icmp eq i32 %73, 0
br i1 %74, label %65, label %77
75: ; preds = %65, %62
%76 = call i32 @ds_insert_qp(ptr noundef nonnull %0, ptr noundef nonnull %7) #3
store ptr %7, ptr %3, align 8, !tbaa !35
br label %80
77: ; preds = %69, %51, %47, %30, %26, %23, %17, %12
%78 = phi i32 [ %15, %12 ], [ %21, %17 ], [ %24, %23 ], [ %28, %26 ], [ %45, %30 ], [ %49, %47 ], [ %60, %51 ], [ %73, %69 ]
%79 = call i32 @ds_free_qp(ptr noundef nonnull %7) #3
br label %80
80: ; preds = %77, %75, %9
%81 = phi i32 [ %78, %77 ], [ 0, %75 ], [ %11, %9 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #3
ret i32 %81
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ERR(i32 noundef) local_unnamed_addr #2
declare i32 @rdma_create_id(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ds_format_hdr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rdma_bind_addr(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ds_init_bufs(ptr noundef) local_unnamed_addr #2
declare i32 @rs_create_cq(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @rdma_create_qp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ds_add_qp_dest(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ds_post_recv(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ds_insert_qp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ds_free_qp(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"ds_qp", !12, i64 0, !7, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !12, i64 40}
!15 = !{!"ibv_qp_init_attr", !7, i64 0, !16, i64 4, !7, i64 24, !7, i64 28, !7, i64 32, !12, i64 40}
!16 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!17 = !{!15, !7, i64 24}
!18 = !{!15, !7, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"rsocket", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!21 = !{!15, !7, i64 4}
!22 = !{!15, !7, i64 16}
!23 = !{!20, !7, i64 8}
!24 = !{!25, !7, i64 8}
!25 = !{!"epoll_event", !26, i64 0, !7, i64 8}
!26 = !{!"TYPE_9__", !12, i64 0}
!27 = !{!25, !12, i64 0}
!28 = !{!20, !7, i64 4}
!29 = !{!30, !12, i64 0}
!30 = !{!"TYPE_11__", !12, i64 0, !7, i64 8, !7, i64 12}
!31 = !{!32, !7, i64 0}
!32 = !{!"TYPE_10__", !7, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!12, !12, i64 0}
|
freebsd_contrib_ofed_librdmacm_extr_rsocket.c_ds_create_qp
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_hif.h_ath10k_hif_map_service_to_pipe.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_hif.h_ath10k_hif_map_service_to_pipe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath10k_hif_map_service_to_pipe], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @ath10k_hif_map_service_to_pipe(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i32 %6(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #1
ret i32 %7
}
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"ath10k", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_3__", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_hif.h_ath10k_hif_map_service_to_pipe.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_hif.h_ath10k_hif_map_service_to_pipe.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 @ath10k_hif_map_service_to_pipe], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @ath10k_hif_map_service_to_pipe(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = tail call i32 %6(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #1
ret i32 %7
}
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"ath10k", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 0}
!13 = !{!"TYPE_3__", !9, i64 0}
|
linux_drivers_net_wireless_ath_ath10k_extr_hif.h_ath10k_hif_map_service_to_pipe
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/bktr/extr_bktr_os.c_bktr_close.c'
source_filename = "AnghaBench/freebsd/sys/dev/bktr/extr_bktr_os.c_bktr_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@bktr_devclass = dso_local local_unnamed_addr global i32 0, align 4
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bktr_close], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bktr_close(ptr noundef %0, i32 %1, i32 %2, ptr nocapture readnone %3) #0 {
%5 = tail call i32 @dev2unit(ptr noundef %0) #2
%6 = tail call i32 @UNIT(i32 noundef %5) #2
%7 = load i32, ptr @bktr_devclass, align 4, !tbaa !5
%8 = tail call i64 @devclass_get_softc(i32 noundef %7, i32 noundef %6) #2
%9 = inttoptr i64 %8 to ptr
%10 = icmp eq i64 %8, 0
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = load i32, ptr @ENXIO, align 4, !tbaa !5
br label %29
13: ; preds = %4
%14 = tail call i32 @dev2unit(ptr noundef %0) #2
%15 = tail call i32 @FUNCTION(i32 noundef %14) #2
switch i32 %15, label %22 [
i32 128, label %16
i32 130, label %18
i32 129, label %20
]
16: ; preds = %13
%17 = tail call i32 @video_close(ptr noundef nonnull %9) #2
br label %24
18: ; preds = %13
%19 = tail call i32 @tuner_close(ptr noundef nonnull %9) #2
br label %24
20: ; preds = %13
%21 = tail call i32 @vbi_close(ptr noundef nonnull %9) #2
br label %24
22: ; preds = %13
%23 = load i32, ptr @ENXIO, align 4, !tbaa !5
br label %29
24: ; preds = %20, %18, %16
%25 = phi i32 [ %21, %20 ], [ %19, %18 ], [ %17, %16 ]
%26 = load i32, ptr @bktr_devclass, align 4, !tbaa !5
%27 = tail call i32 @devclass_get_device(i32 noundef %26, i32 noundef %6) #2
%28 = tail call i32 @device_unbusy(i32 noundef %27) #2
br label %29
29: ; preds = %24, %22, %11
%30 = phi i32 [ %12, %11 ], [ %23, %22 ], [ %25, %24 ]
ret i32 %30
}
declare i32 @UNIT(i32 noundef) local_unnamed_addr #1
declare i32 @dev2unit(ptr noundef) local_unnamed_addr #1
declare i64 @devclass_get_softc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FUNCTION(i32 noundef) local_unnamed_addr #1
declare i32 @video_close(ptr noundef) local_unnamed_addr #1
declare i32 @tuner_close(ptr noundef) local_unnamed_addr #1
declare i32 @vbi_close(ptr noundef) local_unnamed_addr #1
declare i32 @device_unbusy(i32 noundef) local_unnamed_addr #1
declare i32 @devclass_get_device(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/bktr/extr_bktr_os.c_bktr_close.c'
source_filename = "AnghaBench/freebsd/sys/dev/bktr/extr_bktr_os.c_bktr_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bktr_devclass = common local_unnamed_addr global i32 0, align 4
@ENXIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bktr_close], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bktr_close(ptr noundef %0, i32 %1, i32 %2, ptr nocapture readnone %3) #0 {
%5 = tail call i32 @dev2unit(ptr noundef %0) #2
%6 = tail call i32 @UNIT(i32 noundef %5) #2
%7 = load i32, ptr @bktr_devclass, align 4, !tbaa !6
%8 = tail call i64 @devclass_get_softc(i32 noundef %7, i32 noundef %6) #2
%9 = inttoptr i64 %8 to ptr
%10 = icmp eq i64 %8, 0
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = load i32, ptr @ENXIO, align 4, !tbaa !6
br label %29
13: ; preds = %4
%14 = tail call i32 @dev2unit(ptr noundef %0) #2
%15 = tail call i32 @FUNCTION(i32 noundef %14) #2
switch i32 %15, label %22 [
i32 128, label %16
i32 130, label %18
i32 129, label %20
]
16: ; preds = %13
%17 = tail call i32 @video_close(ptr noundef nonnull %9) #2
br label %24
18: ; preds = %13
%19 = tail call i32 @tuner_close(ptr noundef nonnull %9) #2
br label %24
20: ; preds = %13
%21 = tail call i32 @vbi_close(ptr noundef nonnull %9) #2
br label %24
22: ; preds = %13
%23 = load i32, ptr @ENXIO, align 4, !tbaa !6
br label %29
24: ; preds = %20, %18, %16
%25 = phi i32 [ %21, %20 ], [ %19, %18 ], [ %17, %16 ]
%26 = load i32, ptr @bktr_devclass, align 4, !tbaa !6
%27 = tail call i32 @devclass_get_device(i32 noundef %26, i32 noundef %6) #2
%28 = tail call i32 @device_unbusy(i32 noundef %27) #2
br label %29
29: ; preds = %24, %22, %11
%30 = phi i32 [ %12, %11 ], [ %23, %22 ], [ %25, %24 ]
ret i32 %30
}
declare i32 @UNIT(i32 noundef) local_unnamed_addr #1
declare i32 @dev2unit(ptr noundef) local_unnamed_addr #1
declare i64 @devclass_get_softc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FUNCTION(i32 noundef) local_unnamed_addr #1
declare i32 @video_close(ptr noundef) local_unnamed_addr #1
declare i32 @tuner_close(ptr noundef) local_unnamed_addr #1
declare i32 @vbi_close(ptr noundef) local_unnamed_addr #1
declare i32 @device_unbusy(i32 noundef) local_unnamed_addr #1
declare i32 @devclass_get_device(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_dev_bktr_extr_bktr_os.c_bktr_close
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/aty/extr_atyfb_base.c_atyfb_open.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/aty/extr_atyfb_base.c_atyfb_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.atyfb_par = type { i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @atyfb_open], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @atyfb_open(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %10, label %4
4: ; preds = %2
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = inttoptr i64 %5 to ptr
%7 = getelementptr inbounds %struct.atyfb_par, ptr %6, i64 0, i32 1
%8 = load i32, ptr %7, align 8, !tbaa !10
%9 = add nsw i32 %8, 1
store i32 %9, ptr %7, align 8, !tbaa !10
br label %10
10: ; preds = %4, %2
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fb_info", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"atyfb_par", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/aty/extr_atyfb_base.c_atyfb_open.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/aty/extr_atyfb_base.c_atyfb_open.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 @atyfb_open], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @atyfb_open(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %10, label %4
4: ; preds = %2
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = inttoptr i64 %5 to ptr
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !11
%9 = add nsw i32 %8, 1
store i32 %9, ptr %7, align 8, !tbaa !11
br label %10
10: ; preds = %4, %2
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"fb_info", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"atyfb_par", !8, i64 0, !13, i64 8}
!13 = !{!"int", !9, i64 0}
|
fastsocket_kernel_drivers_video_aty_extr_atyfb_base.c_atyfb_open
|
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_uio.c_physcopyin_vlist.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_uio.c_physcopyin_vlist.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i64 }
; Function Attrs: nounwind uwtable
define dso_local i32 @physcopyin_vlist(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = icmp sgt i64 %5, %1
br i1 %6, label %7, label %26
7: ; preds = %26, %4
%8 = phi i64 [ %5, %4 ], [ %32, %26 ]
%9 = phi i64 [ %1, %4 ], [ %30, %26 ]
%10 = phi ptr [ %0, %4 ], [ %31, %26 ]
%11 = icmp eq i64 %3, 0
br i1 %11, label %50, label %12
12: ; preds = %7
%13 = sub nsw i64 %8, %9
%14 = tail call i64 @MIN(i64 noundef %13, i64 noundef %3) #2
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !10
%17 = add nsw i64 %16, %9
%18 = inttoptr i64 %17 to ptr
%19 = tail call i32 @physcopyin(ptr noundef %18, i64 noundef %2, i64 noundef %14) #2
%20 = sub i64 %3, %14
%21 = icmp ne i64 %20, 0
%22 = icmp eq i32 %19, 0
%23 = select i1 %21, i1 %22, i1 false
br i1 %23, label %24, label %50
24: ; preds = %12
%25 = add i64 %14, %2
br label %34
26: ; preds = %4, %26
%27 = phi i64 [ %32, %26 ], [ %5, %4 ]
%28 = phi ptr [ %31, %26 ], [ %0, %4 ]
%29 = phi i64 [ %30, %26 ], [ %1, %4 ]
%30 = sub nsw i64 %29, %27
%31 = getelementptr inbounds %struct.TYPE_3__, ptr %28, i64 1
%32 = load i64, ptr %31, align 8, !tbaa !5
%33 = icmp slt i64 %30, %32
br i1 %33, label %7, label %26, !llvm.loop !11
34: ; preds = %24, %34
%35 = phi ptr [ %38, %34 ], [ %10, %24 ]
%36 = phi i64 [ %45, %34 ], [ %20, %24 ]
%37 = phi i64 [ %46, %34 ], [ %25, %24 ]
%38 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i64 1
%39 = load i64, ptr %38, align 8, !tbaa !5
%40 = tail call i64 @MIN(i64 noundef %39, i64 noundef %36) #2
%41 = getelementptr inbounds %struct.TYPE_3__, ptr %35, i64 1, i32 1
%42 = load i64, ptr %41, align 8, !tbaa !10
%43 = inttoptr i64 %42 to ptr
%44 = tail call i32 @physcopyin(ptr noundef %43, i64 noundef %37, i64 noundef %40) #2
%45 = sub i64 %36, %40
%46 = add i64 %40, %37
%47 = icmp ne i64 %45, 0
%48 = icmp eq i32 %44, 0
%49 = select i1 %47, i1 %48, i1 false
br i1 %49, label %34, label %50, !llvm.loop !13
50: ; preds = %34, %12, %7
%51 = phi i32 [ 0, %7 ], [ %19, %12 ], [ %44, %34 ]
ret i32 %51
}
declare i64 @MIN(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @physcopyin(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8}
!7 = !{!"long", !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"}
!13 = distinct !{!13, !12, !14}
!14 = !{!"llvm.loop.peeled.count", i32 1}
|
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_uio.c_physcopyin_vlist.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_uio.c_physcopyin_vlist.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 @physcopyin_vlist(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = icmp sgt i64 %5, %1
br i1 %6, label %7, label %26
7: ; preds = %26, %4
%8 = phi i64 [ %5, %4 ], [ %32, %26 ]
%9 = phi i64 [ %1, %4 ], [ %30, %26 ]
%10 = phi ptr [ %0, %4 ], [ %31, %26 ]
%11 = icmp eq i64 %3, 0
br i1 %11, label %50, label %12
12: ; preds = %7
%13 = sub nsw i64 %8, %9
%14 = tail call i64 @MIN(i64 noundef %13, i64 noundef %3) #2
%15 = getelementptr inbounds i8, ptr %10, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !11
%17 = add nsw i64 %16, %9
%18 = inttoptr i64 %17 to ptr
%19 = tail call i32 @physcopyin(ptr noundef %18, i64 noundef %2, i64 noundef %14) #2
%20 = sub i64 %3, %14
%21 = icmp ne i64 %20, 0
%22 = icmp eq i32 %19, 0
%23 = select i1 %21, i1 %22, i1 false
br i1 %23, label %24, label %50
24: ; preds = %12
%25 = add i64 %14, %2
br label %34
26: ; preds = %4, %26
%27 = phi i64 [ %32, %26 ], [ %5, %4 ]
%28 = phi ptr [ %31, %26 ], [ %0, %4 ]
%29 = phi i64 [ %30, %26 ], [ %1, %4 ]
%30 = sub nsw i64 %29, %27
%31 = getelementptr inbounds i8, ptr %28, i64 16
%32 = load i64, ptr %31, align 8, !tbaa !6
%33 = icmp slt i64 %30, %32
br i1 %33, label %7, label %26, !llvm.loop !12
34: ; preds = %24, %34
%35 = phi ptr [ %38, %34 ], [ %10, %24 ]
%36 = phi i64 [ %45, %34 ], [ %20, %24 ]
%37 = phi i64 [ %46, %34 ], [ %25, %24 ]
%38 = getelementptr inbounds i8, ptr %35, i64 16
%39 = load i64, ptr %38, align 8, !tbaa !6
%40 = tail call i64 @MIN(i64 noundef %39, i64 noundef %36) #2
%41 = getelementptr inbounds i8, ptr %35, i64 24
%42 = load i64, ptr %41, align 8, !tbaa !11
%43 = inttoptr i64 %42 to ptr
%44 = tail call i32 @physcopyin(ptr noundef %43, i64 noundef %37, i64 noundef %40) #2
%45 = sub i64 %36, %40
%46 = add i64 %40, %37
%47 = icmp ne i64 %45, 0
%48 = icmp eq i32 %44, 0
%49 = select i1 %47, i1 %48, i1 false
br i1 %49, label %34, label %50, !llvm.loop !14
50: ; preds = %34, %12, %7
%51 = phi i32 [ 0, %7 ], [ %19, %12 ], [ %44, %34 ]
ret i32 %51
}
declare i64 @MIN(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @physcopyin(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8}
!8 = !{!"long", !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"}
!14 = distinct !{!14, !13, !15}
!15 = !{!"llvm.loop.peeled.count", i32 1}
|
freebsd_sys_kern_extr_subr_uio.c_physcopyin_vlist
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/aoa/codecs/extr_tas-basstreble.h_tas3004_bass.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/aoa/codecs/extr_tas-basstreble.h_tas3004_bass.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@tas3004_treble_table = dso_local local_unnamed_addr global ptr null, align 8
@tas3004_bass_diff_to_treble = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @tas3004_bass], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @tas3004_bass(i32 noundef %0) #0 {
%2 = load ptr, ptr @tas3004_treble_table, align 8, !tbaa !5
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds i32, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !9
%6 = icmp sgt i32 %0, 49
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load ptr, ptr @tas3004_bass_diff_to_treble, align 8, !tbaa !5
%9 = zext nneg i32 %0 to i64
%10 = getelementptr i64, ptr %8, i64 %9
%11 = getelementptr i64, ptr %10, i64 -50
%12 = load i64, ptr %11, align 8, !tbaa !11
%13 = trunc i64 %12 to i32
%14 = add i32 %5, %13
br label %15
15: ; preds = %7, %1
%16 = phi i32 [ %14, %7 ], [ %5, %1 ]
ret i32 %16
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/aoa/codecs/extr_tas-basstreble.h_tas3004_bass.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/aoa/codecs/extr_tas-basstreble.h_tas3004_bass.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tas3004_treble_table = common local_unnamed_addr global ptr null, align 8
@tas3004_bass_diff_to_treble = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @tas3004_bass], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @tas3004_bass(i32 noundef %0) #0 {
%2 = load ptr, ptr @tas3004_treble_table, align 8, !tbaa !6
%3 = sext i32 %0 to i64
%4 = getelementptr inbounds i32, ptr %2, i64 %3
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = icmp sgt i32 %0, 49
br i1 %6, label %7, label %15
7: ; preds = %1
%8 = load ptr, ptr @tas3004_bass_diff_to_treble, align 8, !tbaa !6
%9 = zext nneg i32 %0 to i64
%10 = getelementptr i64, ptr %8, i64 %9
%11 = getelementptr i8, ptr %10, i64 -400
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = trunc i64 %12 to i32
%14 = add i32 %5, %13
br label %15
15: ; preds = %7, %1
%16 = phi i32 [ %14, %7 ], [ %5, %1 ]
ret i32 %16
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
|
fastsocket_kernel_sound_aoa_codecs_extr_tas-basstreble.h_tas3004_bass
|
; ModuleID = 'AnghaBench/freebsd/sys/arm/samsung/exynos/extr_exynos5_pad.c_pad_pin_getcaps.c'
source_filename = "AnghaBench/freebsd/sys/arm/samsung/exynos/extr_exynos5_pad.c_pad_pin_getcaps.c"
target datalayout = "e-m:e-p270:32:32-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.pad_softc = type { i32, ptr }
%struct.TYPE_2__ = type { i64, i64 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pad_pin_getcaps], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pad_pin_getcaps(i32 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @device_get_softc(i32 noundef %0) #2
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %3
%8 = getelementptr inbounds %struct.pad_softc, ptr %4, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = zext nneg i32 %5 to i64
br label %11
11: ; preds = %7, %16
%12 = phi i64 [ 0, %7 ], [ %17, %16 ]
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = icmp eq i64 %14, %1
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = add nuw nsw i64 %12, 1
%18 = icmp eq i64 %17, %10
br i1 %18, label %19, label %11, !llvm.loop !15
19: ; preds = %16, %3
%20 = load i32, ptr @EINVAL, align 4, !tbaa !17
br label %28
21: ; preds = %11
%22 = tail call i32 @GPIO_LOCK(ptr noundef nonnull %4) #2
%23 = load ptr, ptr %8, align 8, !tbaa !11
%24 = and i64 %12, 4294967295
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %24, i32 1
%26 = load i64, ptr %25, align 8, !tbaa !18
store i64 %26, ptr %2, align 8, !tbaa !19
%27 = tail call i32 @GPIO_UNLOCK(ptr noundef nonnull %4) #2
br label %28
28: ; preds = %21, %19
%29 = phi i32 [ %20, %19 ], [ 0, %21 ]
ret i32 %29
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @GPIO_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @GPIO_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 = !{!"pad_softc", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!7, !7, i64 0}
!18 = !{!13, !14, i64 8}
!19 = !{!14, !14, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/arm/samsung/exynos/extr_exynos5_pad.c_pad_pin_getcaps.c'
source_filename = "AnghaBench/freebsd/sys/arm/samsung/exynos/extr_exynos5_pad.c_pad_pin_getcaps.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i64 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pad_pin_getcaps], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pad_pin_getcaps(i32 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @device_get_softc(i32 noundef %0) #2
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %4, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = zext nneg i32 %5 to i64
br label %11
11: ; preds = %7, %16
%12 = phi i64 [ 0, %7 ], [ %17, %16 ]
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = icmp eq i64 %14, %1
br i1 %15, label %21, label %16
16: ; preds = %11
%17 = add nuw nsw i64 %12, 1
%18 = icmp eq i64 %17, %10
br i1 %18, label %19, label %11, !llvm.loop !16
19: ; preds = %16, %3
%20 = load i32, ptr @EINVAL, align 4, !tbaa !18
br label %28
21: ; preds = %11
%22 = tail call i32 @GPIO_LOCK(ptr noundef nonnull %4) #2
%23 = load ptr, ptr %8, align 8, !tbaa !12
%24 = and i64 %12, 4294967295
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %24, i32 1
%26 = load i64, ptr %25, align 8, !tbaa !19
store i64 %26, ptr %2, align 8, !tbaa !20
%27 = tail call i32 @GPIO_UNLOCK(ptr noundef nonnull %4) #2
br label %28
28: ; preds = %21, %19
%29 = phi i32 [ %20, %19 ], [ 0, %21 ]
ret i32 %29
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @GPIO_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @GPIO_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 = !{!"pad_softc", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0, !15, i64 8}
!15 = !{!"long", !9, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!8, !8, i64 0}
!19 = !{!14, !15, i64 8}
!20 = !{!15, !15, i64 0}
|
freebsd_sys_arm_samsung_exynos_extr_exynos5_pad.c_pad_pin_getcaps
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/extr_fman_kg.c_fman_kg_write_cls_plan.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/extr_fman_kg.c_fman_kg_write_cls_plan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FM_KG_CLS_PLAN_GRPS_NUM = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@FM_KG_NUM_CLS_PLAN_ENTR = 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 @fman_kg_write_cls_plan(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 {
%6 = load i64, ptr @FM_KG_CLS_PLAN_GRPS_NUM, align 8, !tbaa !5
%7 = icmp sgt i64 %6, %1
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i32, ptr @EINVAL, align 4, !tbaa !9
%10 = sub nsw i32 0, %9
br label %31
11: ; preds = %5
%12 = load ptr, ptr %0, align 8, !tbaa !11
%13 = load i32, ptr @FM_KG_NUM_CLS_PLAN_ENTR, align 4, !tbaa !9
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %11, %15
%16 = phi i64 [ %23, %15 ], [ 0, %11 ]
%17 = load ptr, ptr %4, align 8, !tbaa !14
%18 = getelementptr inbounds i32, ptr %17, i64 %16
%19 = load i32, ptr %18, align 4, !tbaa !9
%20 = load ptr, ptr %12, align 8, !tbaa !14
%21 = getelementptr inbounds i32, ptr %20, i64 %16
%22 = tail call i32 @iowrite32be(i32 noundef %19, ptr noundef %21) #2
%23 = add nuw nsw i64 %16, 1
%24 = load i32, ptr @FM_KG_NUM_CLS_PLAN_ENTR, align 4, !tbaa !9
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %23, %25
br i1 %26, label %15, label %27, !llvm.loop !16
27: ; preds = %15, %11
%28 = load i32, ptr @TRUE, align 4, !tbaa !9
%29 = tail call i32 @build_ar_cls_plan(i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %28) #2
%30 = tail call i32 @fman_kg_write_ar_wait(ptr noundef nonnull %0, i32 noundef %29) #2
br label %31
31: ; preds = %27, %8
%32 = phi i32 [ %10, %8 ], [ %30, %27 ]
ret i32 %32
}
declare i32 @iowrite32be(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @build_ar_cls_plan(i64 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fman_kg_write_ar_wait(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"fman_kg_regs", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"fman_kg_cp_regs", !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/extr_fman_kg.c_fman_kg_write_cls_plan.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/extr_fman_kg.c_fman_kg_write_cls_plan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FM_KG_CLS_PLAN_GRPS_NUM = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@FM_KG_NUM_CLS_PLAN_ENTR = 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 @fman_kg_write_cls_plan(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 {
%6 = load i64, ptr @FM_KG_CLS_PLAN_GRPS_NUM, align 8, !tbaa !6
%7 = icmp sgt i64 %6, %1
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i32, ptr @EINVAL, align 4, !tbaa !10
%10 = sub nsw i32 0, %9
br label %31
11: ; preds = %5
%12 = load ptr, ptr %0, align 8, !tbaa !12
%13 = load i32, ptr @FM_KG_NUM_CLS_PLAN_ENTR, align 4, !tbaa !10
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %27
15: ; preds = %11, %15
%16 = phi i64 [ %23, %15 ], [ 0, %11 ]
%17 = load ptr, ptr %4, align 8, !tbaa !15
%18 = getelementptr inbounds i32, ptr %17, i64 %16
%19 = load i32, ptr %18, align 4, !tbaa !10
%20 = load ptr, ptr %12, align 8, !tbaa !15
%21 = getelementptr inbounds i32, ptr %20, i64 %16
%22 = tail call i32 @iowrite32be(i32 noundef %19, ptr noundef %21) #2
%23 = add nuw nsw i64 %16, 1
%24 = load i32, ptr @FM_KG_NUM_CLS_PLAN_ENTR, align 4, !tbaa !10
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %23, %25
br i1 %26, label %15, label %27, !llvm.loop !17
27: ; preds = %15, %11
%28 = load i32, ptr @TRUE, align 4, !tbaa !10
%29 = tail call i32 @build_ar_cls_plan(i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %28) #2
%30 = tail call i32 @fman_kg_write_ar_wait(ptr noundef nonnull %0, i32 noundef %29) #2
br label %31
31: ; preds = %27, %8
%32 = phi i32 [ %10, %8 ], [ %30, %27 ]
ret i32 %32
}
declare i32 @iowrite32be(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @build_ar_cls_plan(i64 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fman_kg_write_ar_wait(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"fman_kg_regs", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"fman_kg_cp_regs", !14, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
freebsd_sys_contrib_ncsw_Peripherals_FM_Pcd_extr_fman_kg.c_fman_kg_write_cls_plan
|
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_ir.c_lj_ir_kgc.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_ir.c_lj_ir_kgc.c"
target datalayout = "e-m:e-p270:32:32-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_12__ = type { ptr, %struct.TYPE_10__ }
%struct.TYPE_10__ = type { ptr }
%struct.TYPE_13__ = type { i32, i64, %struct.TYPE_11__, i32, i64 }
%struct.TYPE_11__ = type { i64 }
@IR_KGC = dso_local local_unnamed_addr global i64 0, align 8
@LJ_GC64 = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @lj_ir_kgc(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @J2G(ptr noundef %0) #2
%7 = tail call i32 @isdead(i32 noundef %6, ptr noundef %1) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = tail call i32 @lua_assert(i32 noundef %9) #2
%11 = load ptr, ptr %0, align 8, !tbaa !11
%12 = load i64, ptr @IR_KGC, align 8, !tbaa !12
%13 = getelementptr inbounds i32, ptr %11, i64 %12
br label %14
14: ; preds = %18, %3
%15 = phi ptr [ %13, %3 ], [ %20, %18 ]
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = icmp eq i32 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %14
%19 = sext i32 %16 to i64
%20 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 %19
%21 = tail call ptr @ir_kgc(ptr noundef nonnull %20) #2
%22 = icmp eq ptr %21, %1
br i1 %22, label %37, label %14, !llvm.loop !16
23: ; preds = %14
%24 = tail call i32 @ir_nextkgc(ptr noundef nonnull %0) #2
%25 = tail call ptr @IR(i32 noundef %24) #2
%26 = getelementptr inbounds %struct.TYPE_13__, ptr %25, i64 0, i32 4
store i64 0, ptr %26, align 8, !tbaa !18
%27 = load i64, ptr @LJ_GC64, align 8, !tbaa !12
%28 = getelementptr inbounds %struct.TYPE_13__, ptr %25, i64 %27, i32 3
%29 = load i32, ptr %28, align 8, !tbaa !21
%30 = tail call i32 @setgcref(i32 noundef %29, ptr noundef %1) #2
%31 = getelementptr inbounds %struct.TYPE_13__, ptr %25, i64 0, i32 2
store i64 %2, ptr %31, align 8, !tbaa !22
%32 = load i64, ptr @IR_KGC, align 8, !tbaa !12
%33 = getelementptr inbounds %struct.TYPE_13__, ptr %25, i64 0, i32 1
store i64 %32, ptr %33, align 8, !tbaa !23
%34 = load ptr, ptr %0, align 8, !tbaa !11
%35 = getelementptr inbounds i32, ptr %34, i64 %32
%36 = load i32, ptr %35, align 4, !tbaa !14
store i32 %36, ptr %25, align 8, !tbaa !24
store i32 %24, ptr %35, align 4, !tbaa !14
br label %37
37: ; preds = %18, %23
%38 = phi i32 [ %24, %23 ], [ %16, %18 ]
%39 = tail call i32 @TREF(i32 noundef %38, i64 noundef %2) #2
ret i32 %39
}
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1
declare i32 @isdead(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @J2G(ptr noundef) local_unnamed_addr #1
declare ptr @ir_kgc(ptr noundef) local_unnamed_addr #1
declare i32 @ir_nextkgc(ptr noundef) local_unnamed_addr #1
declare ptr @IR(i32 noundef) local_unnamed_addr #1
declare i32 @setgcref(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @TREF(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_10__", !7, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !13, i64 32}
!19 = !{!"TYPE_13__", !15, i64 0, !13, i64 8, !20, i64 16, !15, i64 24, !13, i64 32}
!20 = !{!"TYPE_11__", !13, i64 0}
!21 = !{!19, !15, i64 24}
!22 = !{!19, !13, i64 16}
!23 = !{!19, !13, i64 8}
!24 = !{!19, !15, i64 0}
|
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_ir.c_lj_ir_kgc.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_ir.c_lj_ir_kgc.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, i64, %struct.TYPE_11__, i32, i64 }
%struct.TYPE_11__ = type { i64 }
@IR_KGC = common local_unnamed_addr global i64 0, align 8
@LJ_GC64 = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @lj_ir_kgc(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @J2G(ptr noundef %0) #2
%7 = tail call i32 @isdead(i32 noundef %6, ptr noundef %1) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = tail call i32 @lua_assert(i32 noundef %9) #2
%11 = load ptr, ptr %0, align 8, !tbaa !12
%12 = load i64, ptr @IR_KGC, align 8, !tbaa !13
%13 = getelementptr inbounds i32, ptr %11, i64 %12
br label %14
14: ; preds = %18, %3
%15 = phi ptr [ %13, %3 ], [ %20, %18 ]
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = icmp eq i32 %16, 0
br i1 %17, label %23, label %18
18: ; preds = %14
%19 = sext i32 %16 to i64
%20 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 %19
%21 = tail call ptr @ir_kgc(ptr noundef nonnull %20) #2
%22 = icmp eq ptr %21, %1
br i1 %22, label %37, label %14, !llvm.loop !17
23: ; preds = %14
%24 = tail call i32 @ir_nextkgc(ptr noundef nonnull %0) #2
%25 = tail call ptr @IR(i32 noundef %24) #2
%26 = getelementptr inbounds i8, ptr %25, i64 32
store i64 0, ptr %26, align 8, !tbaa !19
%27 = load i64, ptr @LJ_GC64, align 8, !tbaa !13
%28 = getelementptr inbounds %struct.TYPE_13__, ptr %25, i64 %27, i32 3
%29 = load i32, ptr %28, align 8, !tbaa !22
%30 = tail call i32 @setgcref(i32 noundef %29, ptr noundef %1) #2
%31 = getelementptr inbounds i8, ptr %25, i64 16
store i64 %2, ptr %31, align 8, !tbaa !23
%32 = load i64, ptr @IR_KGC, align 8, !tbaa !13
%33 = getelementptr inbounds i8, ptr %25, i64 8
store i64 %32, ptr %33, align 8, !tbaa !24
%34 = load ptr, ptr %0, align 8, !tbaa !12
%35 = getelementptr inbounds i32, ptr %34, i64 %32
%36 = load i32, ptr %35, align 4, !tbaa !15
store i32 %36, ptr %25, align 8, !tbaa !25
store i32 %24, ptr %35, align 4, !tbaa !15
br label %37
37: ; preds = %18, %23
%38 = phi i32 [ %24, %23 ], [ %16, %18 ]
%39 = tail call i32 @TREF(i32 noundef %38, i64 noundef %2) #2
ret i32 %39
}
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1
declare i32 @isdead(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @J2G(ptr noundef) local_unnamed_addr #1
declare ptr @ir_kgc(ptr noundef) local_unnamed_addr #1
declare i32 @ir_nextkgc(ptr noundef) local_unnamed_addr #1
declare ptr @IR(i32 noundef) local_unnamed_addr #1
declare i32 @setgcref(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @TREF(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_10__", !8, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !14, i64 32}
!20 = !{!"TYPE_13__", !16, i64 0, !14, i64 8, !21, i64 16, !16, i64 24, !14, i64 32}
!21 = !{!"TYPE_11__", !14, i64 0}
!22 = !{!20, !16, i64 24}
!23 = !{!20, !14, i64 16}
!24 = !{!20, !14, i64 8}
!25 = !{!20, !16, i64 0}
|
xLua_build_luajit-2.1.0b3_src_extr_lj_ir.c_lj_ir_kgc
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_pmu.c_perf_pmu__getcpuid.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_pmu.c_perf_pmu__getcpuid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@perf_pmu__getcpuid.printed = internal unnamed_addr global i1 false, align 4
@.str = private unnamed_addr constant [11 x i8] c"PERF_CPUID\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Using CPUID %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_pmu__getcpuid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @perf_pmu__getcpuid(ptr noundef %0) #0 {
%2 = tail call ptr @getenv(ptr noundef nonnull @.str)
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call ptr @strdup(ptr noundef nonnull %2)
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1, %4
%8 = tail call ptr @get_cpuid_str(ptr noundef %0) #4
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10
10: ; preds = %4, %7
%11 = phi ptr [ %8, %7 ], [ %5, %4 ]
%12 = load i1, ptr @perf_pmu__getcpuid.printed, align 4
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, ptr noundef nonnull %11) #4
store i1 true, ptr @perf_pmu__getcpuid.printed, align 4
br label %15
15: ; preds = %10, %13, %7
%16 = phi ptr [ null, %7 ], [ %11, %13 ], [ %11, %10 ]
ret ptr %16
}
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
declare ptr @get_cpuid_str(ptr noundef) local_unnamed_addr #3
declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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)"}
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_pmu.c_perf_pmu__getcpuid.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_pmu.c_perf_pmu__getcpuid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@perf_pmu__getcpuid.printed = internal unnamed_addr global i1 false, align 4
@.str = private unnamed_addr constant [11 x i8] c"PERF_CPUID\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Using CPUID %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @perf_pmu__getcpuid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @perf_pmu__getcpuid(ptr noundef %0) #0 {
%2 = tail call ptr @getenv(ptr noundef nonnull @.str)
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call ptr @strdup(ptr noundef nonnull %2)
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1, %4
%8 = tail call ptr @get_cpuid_str(ptr noundef %0) #4
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10
10: ; preds = %4, %7
%11 = phi ptr [ %8, %7 ], [ %5, %4 ]
%12 = load i1, ptr @perf_pmu__getcpuid.printed, align 4
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = tail call i32 @pr_debug(ptr noundef nonnull @.str.1, ptr noundef nonnull %11) #4
store i1 true, ptr @perf_pmu__getcpuid.printed, align 4
br label %15
15: ; preds = %10, %13, %7
%16 = phi ptr [ null, %7 ], [ %11, %13 ], [ %11, %10 ]
ret ptr %16
}
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2
declare ptr @get_cpuid_str(ptr noundef) local_unnamed_addr #3
declare i32 @pr_debug(ptr noundef, ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree nounwind memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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)"}
|
linux_tools_perf_util_extr_pmu.c_perf_pmu__getcpuid
|
; ModuleID = 'AnghaBench/lab/q3map2/common/extr_scriplib.c_Write3DMatrix.c'
source_filename = "AnghaBench/lab/q3map2/common/extr_scriplib.c_Write3DMatrix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"(\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c")\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @Write3DMatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str) #2
%7 = icmp sgt i32 %1, 0
br i1 %7, label %8, label %19
8: ; preds = %5
%9 = mul nsw i32 %3, %2
%10 = sext i32 %9 to i64
%11 = zext nneg i32 %1 to i64
br label %12
12: ; preds = %8, %12
%13 = phi i64 [ 0, %8 ], [ %17, %12 ]
%14 = mul nsw i64 %13, %10
%15 = getelementptr inbounds i32, ptr %4, i64 %14
%16 = tail call i32 @Write2DMatrix(ptr noundef %0, i32 noundef %2, i32 noundef %3, ptr noundef %15) #2
%17 = add nuw nsw i64 %13, 1
%18 = icmp eq i64 %17, %11
br i1 %18, label %19, label %12, !llvm.loop !5
19: ; preds = %12, %5
%20 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str.1) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Write2DMatrix(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/lab/q3map2/common/extr_scriplib.c_Write3DMatrix.c'
source_filename = "AnghaBench/lab/q3map2/common/extr_scriplib.c_Write3DMatrix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"(\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c")\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @Write3DMatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str) #2
%7 = icmp sgt i32 %1, 0
br i1 %7, label %8, label %19
8: ; preds = %5
%9 = mul nsw i32 %3, %2
%10 = sext i32 %9 to i64
%11 = zext nneg i32 %1 to i64
br label %12
12: ; preds = %8, %12
%13 = phi i64 [ 0, %8 ], [ %17, %12 ]
%14 = mul nsw i64 %13, %10
%15 = getelementptr inbounds i32, ptr %4, i64 %14
%16 = tail call i32 @Write2DMatrix(ptr noundef %0, i32 noundef %2, i32 noundef %3, ptr noundef %15) #2
%17 = add nuw nsw i64 %13, 1
%18 = icmp eq i64 %17, %11
br i1 %18, label %19, label %12, !llvm.loop !6
19: ; preds = %12, %5
%20 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str.1) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Write2DMatrix(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
lab_q3map2_common_extr_scriplib.c_Write3DMatrix
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_oti6858.c_oti6858_startup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_oti6858.c_oti6858_startup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.usb_serial = type { i32, ptr }
%struct.oti6858_private = type { ptr, i32, i32, ptr, i32, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@PL2303_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@setup_line = dso_local local_unnamed_addr global i32 0, align 4
@send_data = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @oti6858_startup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @oti6858_startup(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.usb_serial, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %43
7: ; preds = %1, %18
%8 = phi i64 [ %34, %18 ], [ 0, %1 ]
%9 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%10 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %38, label %12
12: ; preds = %7
%13 = load i32, ptr @PL2303_BUF_SIZE, align 4, !tbaa !13
%14 = tail call ptr @oti6858_buf_alloc(i32 noundef %13) #2
store ptr %14, ptr %10, align 8, !tbaa !14
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = tail call i32 @kfree(ptr noundef nonnull %10) #2
br label %38
18: ; preds = %12
%19 = getelementptr inbounds %struct.oti6858_private, ptr %10, i64 0, i32 5
%20 = tail call i32 @spin_lock_init(ptr noundef nonnull %19) #2
%21 = getelementptr inbounds %struct.oti6858_private, ptr %10, i64 0, i32 4
%22 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %21) #2
%23 = getelementptr inbounds %struct.oti6858_private, ptr %10, i64 0, i32 3
store ptr %4, ptr %23, align 8, !tbaa !16
%24 = getelementptr inbounds %struct.oti6858_private, ptr %10, i64 0, i32 2
%25 = load i32, ptr @setup_line, align 4, !tbaa !13
%26 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %24, i32 noundef %25) #2
%27 = getelementptr inbounds %struct.oti6858_private, ptr %10, i64 0, i32 1
%28 = load i32, ptr @send_data, align 4, !tbaa !13
%29 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %27, i32 noundef %28) #2
%30 = load ptr, ptr %2, align 8, !tbaa !5
%31 = getelementptr inbounds ptr, ptr %30, i64 %8
%32 = load ptr, ptr %31, align 8, !tbaa !11
%33 = tail call i32 @usb_set_serial_port_data(ptr noundef %32, ptr noundef nonnull %10) #2
%34 = add nuw nsw i64 %8, 1
%35 = load i32, ptr %0, align 8, !tbaa !12
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %34, %36
br i1 %37, label %7, label %38, !llvm.loop !17
38: ; preds = %7, %18, %16
%39 = phi i64 [ %8, %16 ], [ %34, %18 ], [ %8, %7 ]
%40 = trunc i64 %39 to i32
%41 = load i32, ptr %0, align 8, !tbaa !12
%42 = icmp eq i32 %41, %40
br i1 %42, label %68, label %46
43: ; preds = %1
%44 = load i32, ptr %0, align 8, !tbaa !12
%45 = icmp eq i32 %44, 0
br i1 %45, label %68, label %65
46: ; preds = %38
%47 = icmp sgt i32 %40, 0
br i1 %47, label %48, label %65
48: ; preds = %46
%49 = and i64 %39, 4294967295
br label %50
50: ; preds = %48, %50
%51 = phi i64 [ %49, %48 ], [ %52, %50 ]
%52 = add nsw i64 %51, -1
%53 = load ptr, ptr %2, align 8, !tbaa !5
%54 = getelementptr inbounds ptr, ptr %53, i64 %52
%55 = load ptr, ptr %54, align 8, !tbaa !11
%56 = tail call ptr @usb_get_serial_port_data(ptr noundef %55) #2
%57 = load ptr, ptr %56, align 8, !tbaa !14
%58 = tail call i32 @oti6858_buf_free(ptr noundef %57) #2
%59 = tail call i32 @kfree(ptr noundef nonnull %56) #2
%60 = load ptr, ptr %2, align 8, !tbaa !5
%61 = getelementptr inbounds ptr, ptr %60, i64 %52
%62 = load ptr, ptr %61, align 8, !tbaa !11
%63 = tail call i32 @usb_set_serial_port_data(ptr noundef %62, ptr noundef null) #2
%64 = icmp ugt i64 %51, 1
br i1 %64, label %50, label %65, !llvm.loop !19
65: ; preds = %50, %43, %46
%66 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%67 = sub nsw i32 0, %66
br label %68
68: ; preds = %43, %38, %65
%69 = phi i32 [ %67, %65 ], [ 0, %38 ], [ 0, %43 ]
ret i32 %69
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @oti6858_buf_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_set_serial_port_data(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @usb_get_serial_port_data(ptr noundef) local_unnamed_addr #1
declare i32 @oti6858_buf_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, !10, i64 8}
!6 = !{!"usb_serial", !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 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"oti6858_private", !10, i64 0, !7, i64 8, !7, i64 12, !10, i64 16, !7, i64 24, !7, i64 28}
!16 = !{!15, !10, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_oti6858.c_oti6858_startup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_oti6858.c_oti6858_startup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@PL2303_BUF_SIZE = common local_unnamed_addr global i32 0, align 4
@setup_line = common local_unnamed_addr global i32 0, align 4
@send_data = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @oti6858_startup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @oti6858_startup(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i32, ptr %0, align 8, !tbaa !13
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %43
7: ; preds = %1, %18
%8 = phi i64 [ %34, %18 ], [ 0, %1 ]
%9 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14
%10 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %38, label %12
12: ; preds = %7
%13 = load i32, ptr @PL2303_BUF_SIZE, align 4, !tbaa !14
%14 = tail call ptr @oti6858_buf_alloc(i32 noundef %13) #2
store ptr %14, ptr %10, align 8, !tbaa !15
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = tail call i32 @kfree(ptr noundef nonnull %10) #2
br label %38
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %10, i64 28
%20 = tail call i32 @spin_lock_init(ptr noundef nonnull %19) #2
%21 = getelementptr inbounds i8, ptr %10, i64 24
%22 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %21) #2
%23 = getelementptr inbounds i8, ptr %10, i64 16
store ptr %4, ptr %23, align 8, !tbaa !17
%24 = getelementptr inbounds i8, ptr %10, i64 12
%25 = load i32, ptr @setup_line, align 4, !tbaa !14
%26 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %24, i32 noundef %25) #2
%27 = getelementptr inbounds i8, ptr %10, i64 8
%28 = load i32, ptr @send_data, align 4, !tbaa !14
%29 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %27, i32 noundef %28) #2
%30 = load ptr, ptr %2, align 8, !tbaa !6
%31 = getelementptr inbounds ptr, ptr %30, i64 %8
%32 = load ptr, ptr %31, align 8, !tbaa !12
%33 = tail call i32 @usb_set_serial_port_data(ptr noundef %32, ptr noundef nonnull %10) #2
%34 = add nuw nsw i64 %8, 1
%35 = load i32, ptr %0, align 8, !tbaa !13
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %34, %36
br i1 %37, label %7, label %38, !llvm.loop !18
38: ; preds = %7, %18, %16
%39 = phi i64 [ %8, %16 ], [ %34, %18 ], [ %8, %7 ]
%40 = trunc i64 %39 to i32
%41 = load i32, ptr %0, align 8, !tbaa !13
%42 = icmp eq i32 %41, %40
br i1 %42, label %67, label %45
43: ; preds = %1
%44 = icmp eq i32 %5, 0
br i1 %44, label %67, label %64
45: ; preds = %38
%46 = icmp sgt i32 %40, 0
br i1 %46, label %47, label %64
47: ; preds = %45
%48 = and i64 %39, 2147483647
br label %49
49: ; preds = %47, %49
%50 = phi i64 [ %48, %47 ], [ %51, %49 ]
%51 = add nsw i64 %50, -1
%52 = load ptr, ptr %2, align 8, !tbaa !6
%53 = getelementptr inbounds ptr, ptr %52, i64 %51
%54 = load ptr, ptr %53, align 8, !tbaa !12
%55 = tail call ptr @usb_get_serial_port_data(ptr noundef %54) #2
%56 = load ptr, ptr %55, align 8, !tbaa !15
%57 = tail call i32 @oti6858_buf_free(ptr noundef %56) #2
%58 = tail call i32 @kfree(ptr noundef nonnull %55) #2
%59 = load ptr, ptr %2, align 8, !tbaa !6
%60 = getelementptr inbounds ptr, ptr %59, i64 %51
%61 = load ptr, ptr %60, align 8, !tbaa !12
%62 = tail call i32 @usb_set_serial_port_data(ptr noundef %61, ptr noundef null) #2
%63 = icmp ugt i64 %50, 1
br i1 %63, label %49, label %64, !llvm.loop !20
64: ; preds = %49, %43, %45
%65 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%66 = sub nsw i32 0, %65
br label %67
67: ; preds = %43, %38, %64
%68 = phi i32 [ %66, %64 ], [ 0, %38 ], [ 0, %43 ]
ret i32 %68
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @oti6858_buf_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_set_serial_port_data(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @usb_get_serial_port_data(ptr noundef) local_unnamed_addr #1
declare i32 @oti6858_buf_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, !11, i64 8}
!7 = !{!"usb_serial", !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 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"oti6858_private", !11, i64 0, !8, i64 8, !8, i64 12, !11, i64 16, !8, i64 24, !8, i64 28}
!17 = !{!16, !11, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
|
fastsocket_kernel_drivers_usb_serial_extr_oti6858.c_oti6858_startup
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_dcb_nl.c_mlx4_en_dcbnl_set_pfc_cfg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_dcb_nl.c_mlx4_en_dcbnl_set_pfc_cfg.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx4_en_dcbnl_set_pfc_cfg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mlx4_en_dcbnl_set_pfc_cfg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = sext i32 %1 to i64
%8 = getelementptr inbounds i32, ptr %6, i64 %7
store i32 %2, ptr %8, align 4, !tbaa !12
store i32 1, ptr %4, align 8, !tbaa !13
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"mlx4_en_priv", !7, i64 0}
!7 = !{!"TYPE_2__", !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 = !{!6, !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_dcb_nl.c_mlx4_en_dcbnl_set_pfc_cfg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_en_dcb_nl.c_mlx4_en_dcbnl_set_pfc_cfg.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 @mlx4_en_dcbnl_set_pfc_cfg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mlx4_en_dcbnl_set_pfc_cfg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = sext i32 %1 to i64
%8 = getelementptr inbounds i32, ptr %6, i64 %7
store i32 %2, ptr %8, align 4, !tbaa !13
store i32 1, ptr %4, align 8, !tbaa !14
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"mlx4_en_priv", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!9, !9, i64 0}
!14 = !{!7, !9, i64 0}
|
linux_drivers_net_ethernet_mellanox_mlx4_extr_en_dcb_nl.c_mlx4_en_dcbnl_set_pfc_cfg
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubbub.c_hubbub2_dcc_support_pixel_format.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubbub.c_hubbub2_dcc_support_pixel_format.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@switch.table.hubbub2_dcc_support_pixel_format = private unnamed_addr constant [13 x i32] [i32 2, i32 4, i32 4, i32 4, i32 4, i32 4, i32 4, i32 8, i32 8, i32 2, i32 4, i32 4, i32 8], align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local noundef i32 @hubbub2_dcc_support_pixel_format(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = add i32 %0, -128
%4 = icmp ult i32 %3, 13
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = zext nneg i32 %3 to i64
%7 = getelementptr inbounds [13 x i32], ptr @switch.table.hubbub2_dcc_support_pixel_format, i64 0, i64 %6
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %1, align 4, !tbaa !5
br label %9
9: ; preds = %2, %5
%10 = phi i32 [ 0, %2 ], [ 1, %5 ]
ret i32 %10
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubbub.c_hubbub2_dcc_support_pixel_format.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubbub.c_hubbub2_dcc_support_pixel_format.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@switch.table.hubbub2_dcc_support_pixel_format = private unnamed_addr constant [13 x i32] [i32 2, i32 4, i32 4, i32 4, i32 4, i32 4, i32 4, i32 8, i32 8, i32 2, i32 4, i32 4, i32 8], align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define range(i32 0, 2) i32 @hubbub2_dcc_support_pixel_format(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = add i32 %0, -128
%4 = icmp ult i32 %3, 13
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = zext nneg i32 %3 to i64
%7 = getelementptr inbounds [13 x i32], ptr @switch.table.hubbub2_dcc_support_pixel_format, i64 0, i64 %6
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %1, align 4, !tbaa !6
br label %9
9: ; preds = %2, %5
%10 = phi i32 [ 0, %2 ], [ 1, %5 ]
ret i32 %10
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_gpu_drm_amd_display_dc_dcn20_extr_dcn20_hubbub.c_hubbub2_dcc_support_pixel_format
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_main.c_b43_upload_microcode.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_main.c_b43_upload_microcode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.b43_wldev = type { i32, i32, ptr, %struct.TYPE_18__, ptr }
%struct.TYPE_18__ = type { i32, i32, i64, i32, i64, %struct.TYPE_16__, %struct.TYPE_14__ }
%struct.TYPE_16__ = type { ptr }
%struct.TYPE_14__ = type { ptr }
%struct.TYPE_17__ = type { i32, ptr }
%struct.TYPE_13__ = type { i64, i64 }
%struct.TYPE_15__ = type { i64, i64 }
%struct.wiphy = type { i32, i32 }
@B43_MMIO_MACCTL = dso_local local_unnamed_addr global i32 0, align 4
@B43_MACCTL_PSM_RUN = dso_local local_unnamed_addr global i64 0, align 8
@B43_MACCTL_PSM_JMP0 = dso_local local_unnamed_addr global i64 0, align 8
@B43_SHM_SCRATCH = dso_local local_unnamed_addr global i32 0, align 4
@B43_SHM_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@B43_SHM_UCODE = dso_local local_unnamed_addr global i32 0, align 4
@B43_SHM_AUTOINC_W = dso_local local_unnamed_addr global i32 0, align 4
@B43_MMIO_SHM_DATA = dso_local local_unnamed_addr global i32 0, align 4
@B43_SHM_HW = dso_local local_unnamed_addr global i32 0, align 4
@B43_MMIO_GEN_IRQ_REASON = dso_local local_unnamed_addr global i32 0, align 4
@B43_IRQ_ALL = dso_local local_unnamed_addr global i32 0, align 4
@B43_IRQ_MAC_SUSPENDED = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"Microcode not responding\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@B43_SHM_SH_UCODEREV = dso_local local_unnamed_addr global i32 0, align 4
@B43_SHM_SH_UCODEPATCH = dso_local local_unnamed_addr global i32 0, align 4
@B43_SHM_SH_UCODEDATE = dso_local local_unnamed_addr global i32 0, align 4
@B43_SHM_SH_UCODETIME = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [133 x i8] c"YOUR FIRMWARE IS TOO OLD. Firmware from binary drivers older than version 4.x is unsupported. You must upgrade your firmware files.\0A\00", align 1
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@B43_FW_HDR_598 = dso_local local_unnamed_addr global i64 0, align 8
@B43_FW_HDR_410 = dso_local local_unnamed_addr global i64 0, align 8
@B43_FW_HDR_351 = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [43 x i8] c"Loading OpenSource firmware version %u.%u\0A\00", align 1
@B43_FWCAPA_HWCRYPTO = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [56 x i8] c"Hardware crypto acceleration not supported by firmware\0A\00", align 1
@B43_FWCAPA_QOS = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [29 x i8] c"QoS in OpenFW not supported\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c"Loading firmware version %u.%u (20%.2i-%.2i-%.2i %.2i:%.2i:%.2i)\0A\00", align 1
@.str.6 = private unnamed_addr constant [82 x i8] c"No \22pcm5.fw\22 firmware file found. Hardware accelerated cryptography is disabled.\0A\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"%u.%u\00", align 1
@.str.8 = private unnamed_addr constant [119 x i8] c"You are using an old firmware image. Support for old firmware will be removed soon (official deadline was July 2008).\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @b43_upload_microcode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @b43_upload_microcode(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !15
%5 = getelementptr inbounds %struct.TYPE_17__, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !17
%7 = load i32, ptr @B43_MMIO_MACCTL, align 4, !tbaa !19
%8 = tail call i64 @b43_read32(ptr noundef %0, i32 noundef %7) #2
%9 = load i64, ptr @B43_MACCTL_PSM_RUN, align 8, !tbaa !20
%10 = and i64 %9, %8
%11 = tail call i32 @B43_WARN_ON(i64 noundef %10) #2
%12 = load i64, ptr @B43_MACCTL_PSM_JMP0, align 8, !tbaa !20
%13 = or i64 %12, %8
%14 = load i32, ptr @B43_MMIO_MACCTL, align 4, !tbaa !19
%15 = trunc i64 %13 to i32
%16 = tail call i32 @b43_write32(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2
br label %17
17: ; preds = %1, %17
%18 = phi i32 [ 0, %1 ], [ %21, %17 ]
%19 = load i32, ptr @B43_SHM_SCRATCH, align 4, !tbaa !19
%20 = tail call i32 @b43_shm_write16(ptr noundef %0, i32 noundef %19, i32 noundef %18, i32 noundef 0) #2
%21 = add nuw nsw i32 %18, 1
%22 = icmp eq i32 %21, 64
br i1 %22, label %23, label %17, !llvm.loop !21
23: ; preds = %17, %23
%24 = phi i32 [ %27, %23 ], [ 0, %17 ]
%25 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !19
%26 = tail call i32 @b43_shm_write16(ptr noundef %0, i32 noundef %25, i32 noundef %24, i32 noundef 0) #2
%27 = add nuw nsw i32 %24, 2
%28 = icmp ult i32 %24, 4094
br i1 %28, label %23, label %29, !llvm.loop !23
29: ; preds = %23
%30 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3
%31 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3, i32 6
%32 = load ptr, ptr %31, align 8, !tbaa !24
%33 = getelementptr inbounds %struct.TYPE_13__, ptr %32, i64 0, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !25
%35 = add i64 %34, 4
%36 = inttoptr i64 %35 to ptr
%37 = load i64, ptr %32, align 8, !tbaa !27
%38 = add i64 %37, 17179869180
%39 = load i32, ptr @B43_SHM_UCODE, align 4, !tbaa !19
%40 = load i32, ptr @B43_SHM_AUTOINC_W, align 4, !tbaa !19
%41 = or i32 %40, %39
%42 = tail call i32 @b43_shm_control_word(ptr noundef %0, i32 noundef %41, i32 noundef 0) #2
%43 = and i64 %38, 17179869180
%44 = icmp eq i64 %43, 0
br i1 %44, label %58, label %45
45: ; preds = %29
%46 = lshr i64 %38, 2
%47 = and i64 %46, 4294967295
br label %48
48: ; preds = %45, %48
%49 = phi i64 [ 0, %45 ], [ %56, %48 ]
%50 = load i32, ptr @B43_MMIO_SHM_DATA, align 4, !tbaa !19
%51 = getelementptr inbounds i32, ptr %36, i64 %49
%52 = load i32, ptr %51, align 4, !tbaa !19
%53 = tail call i32 @be32_to_cpu(i32 noundef %52) #2
%54 = tail call i32 @b43_write32(ptr noundef %0, i32 noundef %50, i32 noundef %53) #2
%55 = tail call i32 @udelay(i32 noundef 10) #2
%56 = add nuw nsw i64 %49, 1
%57 = icmp eq i64 %56, %47
br i1 %57, label %58, label %48, !llvm.loop !28
58: ; preds = %48, %29
%59 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3, i32 5
%60 = load ptr, ptr %59, align 8, !tbaa !29
%61 = icmp eq ptr %60, null
br i1 %61, label %90, label %62
62: ; preds = %58
%63 = getelementptr inbounds %struct.TYPE_15__, ptr %60, i64 0, i32 1
%64 = load i64, ptr %63, align 8, !tbaa !30
%65 = add i64 %64, 4
%66 = inttoptr i64 %65 to ptr
%67 = load i64, ptr %60, align 8, !tbaa !32
%68 = add i64 %67, 17179869180
%69 = load i32, ptr @B43_SHM_HW, align 4, !tbaa !19
%70 = tail call i32 @b43_shm_control_word(ptr noundef nonnull %0, i32 noundef %69, i32 noundef 490) #2
%71 = load i32, ptr @B43_MMIO_SHM_DATA, align 4, !tbaa !19
%72 = tail call i32 @b43_write32(ptr noundef nonnull %0, i32 noundef %71, i32 noundef 16384) #2
%73 = load i32, ptr @B43_SHM_HW, align 4, !tbaa !19
%74 = tail call i32 @b43_shm_control_word(ptr noundef nonnull %0, i32 noundef %73, i32 noundef 491) #2
%75 = and i64 %68, 17179869180
%76 = icmp eq i64 %75, 0
br i1 %76, label %90, label %77
77: ; preds = %62
%78 = lshr i64 %68, 2
%79 = and i64 %78, 4294967295
br label %80
80: ; preds = %77, %80
%81 = phi i64 [ 0, %77 ], [ %88, %80 ]
%82 = load i32, ptr @B43_MMIO_SHM_DATA, align 4, !tbaa !19
%83 = getelementptr inbounds i32, ptr %66, i64 %81
%84 = load i32, ptr %83, align 4, !tbaa !19
%85 = tail call i32 @be32_to_cpu(i32 noundef %84) #2
%86 = tail call i32 @b43_write32(ptr noundef %0, i32 noundef %82, i32 noundef %85) #2
%87 = tail call i32 @udelay(i32 noundef 10) #2
%88 = add nuw nsw i64 %81, 1
%89 = icmp eq i64 %88, %79
br i1 %89, label %90, label %80, !llvm.loop !33
90: ; preds = %80, %62, %58
%91 = load i32, ptr @B43_MMIO_GEN_IRQ_REASON, align 4, !tbaa !19
%92 = load i32, ptr @B43_IRQ_ALL, align 4, !tbaa !19
%93 = tail call i32 @b43_write32(ptr noundef %0, i32 noundef %91, i32 noundef %92) #2
%94 = load i32, ptr @B43_MMIO_MACCTL, align 4, !tbaa !19
%95 = load i64, ptr @B43_MACCTL_PSM_JMP0, align 8, !tbaa !20
%96 = xor i64 %95, -1
%97 = load i64, ptr @B43_MACCTL_PSM_RUN, align 8, !tbaa !20
%98 = tail call i32 @b43_maskset32(ptr noundef %0, i32 noundef %94, i64 noundef %96, i64 noundef %97) #2
%99 = load i32, ptr @B43_MMIO_GEN_IRQ_REASON, align 4, !tbaa !19
%100 = tail call i64 @b43_read32(ptr noundef %0, i32 noundef %99) #2
%101 = load i64, ptr @B43_IRQ_MAC_SUSPENDED, align 8, !tbaa !20
%102 = icmp eq i64 %100, %101
br i1 %102, label %113, label %103
103: ; preds = %90, %106
%104 = phi i32 [ %107, %106 ], [ 0, %90 ]
%105 = icmp eq i32 %104, 19
br i1 %105, label %210, label %106
106: ; preds = %103
%107 = add nuw nsw i32 %104, 1
%108 = tail call i32 @msleep(i32 noundef 50) #2
%109 = load i32, ptr @B43_MMIO_GEN_IRQ_REASON, align 4, !tbaa !19
%110 = tail call i64 @b43_read32(ptr noundef %0, i32 noundef %109) #2
%111 = load i64, ptr @B43_IRQ_MAC_SUSPENDED, align 8, !tbaa !20
%112 = icmp eq i64 %110, %111
br i1 %112, label %113, label %103
113: ; preds = %106, %90
%114 = load i32, ptr @B43_MMIO_GEN_IRQ_REASON, align 4, !tbaa !19
%115 = tail call i64 @b43_read32(ptr noundef %0, i32 noundef %114) #2
%116 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !19
%117 = load i32, ptr @B43_SHM_SH_UCODEREV, align 4, !tbaa !19
%118 = tail call i32 @b43_shm_read16(ptr noundef %0, i32 noundef %116, i32 noundef %117) #2
%119 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !19
%120 = load i32, ptr @B43_SHM_SH_UCODEPATCH, align 4, !tbaa !19
%121 = tail call i32 @b43_shm_read16(ptr noundef %0, i32 noundef %119, i32 noundef %120) #2
%122 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !19
%123 = load i32, ptr @B43_SHM_SH_UCODEDATE, align 4, !tbaa !19
%124 = tail call i32 @b43_shm_read16(ptr noundef %0, i32 noundef %122, i32 noundef %123) #2
%125 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !19
%126 = load i32, ptr @B43_SHM_SH_UCODETIME, align 4, !tbaa !19
%127 = tail call i32 @b43_shm_read16(ptr noundef %0, i32 noundef %125, i32 noundef %126) #2
%128 = icmp slt i32 %118, 297
br i1 %128, label %210, label %129
129: ; preds = %113
store i32 %118, ptr %30, align 8, !tbaa !34
%130 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3, i32 1
store i32 %121, ptr %130, align 4, !tbaa !35
%131 = icmp ugt i32 %118, 597
%132 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3, i32 2
%133 = icmp ugt i32 %118, 409
%134 = load i64, ptr @B43_FW_HDR_598, align 8
%135 = load i64, ptr @B43_FW_HDR_410, align 8
%136 = load i64, ptr @B43_FW_HDR_351, align 8
%137 = select i1 %133, i64 %135, i64 %136
%138 = select i1 %131, i64 %134, i64 %137
store i64 %138, ptr %132, align 8, !tbaa !36
%139 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3, i32 3
%140 = load i32, ptr %139, align 8, !tbaa !37
%141 = icmp eq i32 %124, 65535
%142 = zext i1 %141 to i32
%143 = icmp ne i32 %140, %142
%144 = zext i1 %143 to i32
%145 = tail call i32 @WARN_ON(i32 noundef %144) #2
%146 = load ptr, ptr %2, align 8, !tbaa !5
%147 = load ptr, ptr %146, align 8, !tbaa !15
%148 = load i32, ptr %147, align 8, !tbaa !38
%149 = icmp sgt i32 %148, 1
%150 = zext i1 %149 to i32
store i32 %150, ptr %0, align 8, !tbaa !39
%151 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 1
store i32 1, ptr %151, align 4, !tbaa !40
%152 = load i32, ptr %139, align 8, !tbaa !37
%153 = icmp eq i32 %152, 0
br i1 %153, label %172, label %154
154: ; preds = %129
store i32 %127, ptr %130, align 4, !tbaa !35
%155 = load i32, ptr %30, align 8, !tbaa !34
%156 = tail call i32 (ptr, ptr, ...) @b43info(ptr noundef nonnull %146, ptr noundef nonnull @.str.2, i32 noundef %155, i32 noundef %127) #2
%157 = tail call i32 @b43_fwcapa_read(ptr noundef nonnull %0) #2
%158 = load i32, ptr @B43_FWCAPA_HWCRYPTO, align 4, !tbaa !19
%159 = and i32 %158, %157
%160 = icmp eq i32 %159, 0
br i1 %160, label %165, label %161
161: ; preds = %154
%162 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3, i32 4
%163 = load i64, ptr %162, align 8, !tbaa !41
%164 = icmp eq i64 %163, 0
br i1 %164, label %168, label %165
165: ; preds = %161, %154
%166 = load ptr, ptr %2, align 8, !tbaa !5
%167 = tail call i32 (ptr, ptr, ...) @b43info(ptr noundef %166, ptr noundef nonnull @.str.3) #2
store i32 0, ptr %151, align 4, !tbaa !40
br label %168
168: ; preds = %165, %161
%169 = load i32, ptr @B43_FWCAPA_QOS, align 4, !tbaa !19
%170 = and i32 %169, %157
%171 = tail call i32 @WARN(i32 noundef %170, ptr noundef nonnull @.str.4) #2
br label %192
172: ; preds = %129
%173 = lshr i32 %124, 12
%174 = and i32 %173, 15
%175 = lshr i32 %124, 8
%176 = and i32 %175, 15
%177 = and i32 %124, 255
%178 = lshr i32 %127, 11
%179 = and i32 %178, 31
%180 = lshr i32 %127, 5
%181 = and i32 %180, 63
%182 = and i32 %127, 31
%183 = tail call i32 (ptr, ptr, ...) @b43info(ptr noundef nonnull %146, ptr noundef nonnull @.str.5, i32 noundef %118, i32 noundef %121, i32 noundef %174, i32 noundef %176, i32 noundef %177, i32 noundef %179, i32 noundef %181, i32 noundef %182) #2
%184 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3, i32 4
%185 = load i64, ptr %184, align 8, !tbaa !41
%186 = icmp eq i64 %185, 0
br i1 %186, label %192, label %187
187: ; preds = %172
%188 = load ptr, ptr %2, align 8, !tbaa !5
%189 = tail call i32 @b43warn(ptr noundef %188, ptr noundef nonnull @.str.6) #2
%190 = load ptr, ptr %2, align 8, !tbaa !5
%191 = tail call i32 @b43_print_fw_helptext(ptr noundef %190, i32 noundef 0) #2
br label %192
192: ; preds = %172, %187, %168
%193 = getelementptr inbounds %struct.wiphy, ptr %6, i64 0, i32 1
%194 = load i32, ptr %193, align 4, !tbaa !42
%195 = load i32, ptr %30, align 8, !tbaa !34
%196 = load i32, ptr %130, align 4, !tbaa !35
%197 = tail call i32 @snprintf(i32 noundef %194, i32 noundef 4, ptr noundef nonnull @.str.7, i32 noundef %195, i32 noundef %196) #2
%198 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 4
%199 = load ptr, ptr %198, align 8, !tbaa !44
%200 = load i32, ptr %199, align 4, !tbaa !45
store i32 %200, ptr %6, align 4, !tbaa !47
%201 = getelementptr inbounds %struct.b43_wldev, ptr %0, i64 0, i32 3, i32 2
%202 = load i64, ptr %201, align 8, !tbaa !36
%203 = load i64, ptr @B43_FW_HDR_351, align 8, !tbaa !20
%204 = icmp eq i64 %202, %203
br i1 %204, label %205, label %224
205: ; preds = %192
%206 = load ptr, ptr %2, align 8, !tbaa !5
%207 = tail call i32 @b43warn(ptr noundef %206, ptr noundef nonnull @.str.8) #2
%208 = load ptr, ptr %2, align 8, !tbaa !5
%209 = tail call i32 @b43_print_fw_helptext(ptr noundef %208, i32 noundef 0) #2
br label %224
210: ; preds = %103, %113
%211 = phi ptr [ @.str.1, %113 ], [ @.str, %103 ]
%212 = phi ptr [ @EOPNOTSUPP, %113 ], [ @ENODEV, %103 ]
%213 = load ptr, ptr %2, align 8, !tbaa !5
%214 = tail call i32 @b43err(ptr noundef %213, ptr noundef nonnull %211) #2
%215 = load ptr, ptr %2, align 8, !tbaa !5
%216 = tail call i32 @b43_print_fw_helptext(ptr noundef %215, i32 noundef 1) #2
%217 = load i32, ptr %212, align 4, !tbaa !19
%218 = sub nsw i32 0, %217
%219 = load i32, ptr @B43_MMIO_MACCTL, align 4, !tbaa !19
%220 = load i64, ptr @B43_MACCTL_PSM_RUN, align 8, !tbaa !20
%221 = xor i64 %220, -1
%222 = load i64, ptr @B43_MACCTL_PSM_JMP0, align 8, !tbaa !20
%223 = tail call i32 @b43_maskset32(ptr noundef nonnull %0, i32 noundef %219, i64 noundef %221, i64 noundef %222) #2
br label %224
224: ; preds = %192, %205, %210
%225 = phi i32 [ %218, %210 ], [ 0, %205 ], [ 0, %192 ]
ret i32 %225
}
declare i64 @b43_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @B43_WARN_ON(i64 noundef) local_unnamed_addr #1
declare i32 @b43_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43_shm_write16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43_shm_control_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @b43_maskset32(ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @b43err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @b43_print_fw_helptext(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @b43_shm_read16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @b43info(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @b43_fwcapa_read(ptr noundef) local_unnamed_addr #1
declare i32 @WARN(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @b43warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"b43_wldev", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !10, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_18__", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16, !12, i64 24, !13, i64 32, !14, i64 40}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_16__", !10, i64 0}
!14 = !{!"TYPE_14__", !10, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_19__", !10, i64 0}
!17 = !{!18, !10, i64 8}
!18 = !{!"TYPE_17__", !7, i64 0, !10, i64 8}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !12, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!6, !10, i64 56}
!25 = !{!26, !12, i64 8}
!26 = !{!"TYPE_13__", !12, i64 0, !12, i64 8}
!27 = !{!26, !12, i64 0}
!28 = distinct !{!28, !22}
!29 = !{!6, !10, i64 48}
!30 = !{!31, !12, i64 8}
!31 = !{!"TYPE_15__", !12, i64 0, !12, i64 8}
!32 = !{!31, !12, i64 0}
!33 = distinct !{!33, !22}
!34 = !{!6, !7, i64 16}
!35 = !{!6, !7, i64 20}
!36 = !{!6, !12, i64 24}
!37 = !{!6, !7, i64 32}
!38 = !{!18, !7, i64 0}
!39 = !{!6, !7, i64 0}
!40 = !{!6, !7, i64 4}
!41 = !{!6, !12, i64 40}
!42 = !{!43, !7, i64 4}
!43 = !{!"wiphy", !7, i64 0, !7, i64 4}
!44 = !{!6, !10, i64 64}
!45 = !{!46, !7, i64 0}
!46 = !{!"TYPE_12__", !7, i64 0}
!47 = !{!43, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_main.c_b43_upload_microcode.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_main.c_b43_upload_microcode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@B43_MMIO_MACCTL = common local_unnamed_addr global i32 0, align 4
@B43_MACCTL_PSM_RUN = common local_unnamed_addr global i64 0, align 8
@B43_MACCTL_PSM_JMP0 = common local_unnamed_addr global i64 0, align 8
@B43_SHM_SCRATCH = common local_unnamed_addr global i32 0, align 4
@B43_SHM_SHARED = common local_unnamed_addr global i32 0, align 4
@B43_SHM_UCODE = common local_unnamed_addr global i32 0, align 4
@B43_SHM_AUTOINC_W = common local_unnamed_addr global i32 0, align 4
@B43_MMIO_SHM_DATA = common local_unnamed_addr global i32 0, align 4
@B43_SHM_HW = common local_unnamed_addr global i32 0, align 4
@B43_MMIO_GEN_IRQ_REASON = common local_unnamed_addr global i32 0, align 4
@B43_IRQ_ALL = common local_unnamed_addr global i32 0, align 4
@B43_IRQ_MAC_SUSPENDED = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"Microcode not responding\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
@B43_SHM_SH_UCODEREV = common local_unnamed_addr global i32 0, align 4
@B43_SHM_SH_UCODEPATCH = common local_unnamed_addr global i32 0, align 4
@B43_SHM_SH_UCODEDATE = common local_unnamed_addr global i32 0, align 4
@B43_SHM_SH_UCODETIME = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [133 x i8] c"YOUR FIRMWARE IS TOO OLD. Firmware from binary drivers older than version 4.x is unsupported. You must upgrade your firmware files.\0A\00", align 1
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@B43_FW_HDR_598 = common local_unnamed_addr global i64 0, align 8
@B43_FW_HDR_410 = common local_unnamed_addr global i64 0, align 8
@B43_FW_HDR_351 = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [43 x i8] c"Loading OpenSource firmware version %u.%u\0A\00", align 1
@B43_FWCAPA_HWCRYPTO = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [56 x i8] c"Hardware crypto acceleration not supported by firmware\0A\00", align 1
@B43_FWCAPA_QOS = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [29 x i8] c"QoS in OpenFW not supported\0A\00", align 1
@.str.5 = private unnamed_addr constant [66 x i8] c"Loading firmware version %u.%u (20%.2i-%.2i-%.2i %.2i:%.2i:%.2i)\0A\00", align 1
@.str.6 = private unnamed_addr constant [82 x i8] c"No \22pcm5.fw\22 firmware file found. Hardware accelerated cryptography is disabled.\0A\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"%u.%u\00", align 1
@.str.8 = private unnamed_addr constant [119 x i8] c"You are using an old firmware image. Support for old firmware will be removed soon (official deadline was July 2008).\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @b43_upload_microcode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @b43_upload_microcode(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !16
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !18
%7 = load i32, ptr @B43_MMIO_MACCTL, align 4, !tbaa !20
%8 = tail call i64 @b43_read32(ptr noundef %0, i32 noundef %7) #2
%9 = load i64, ptr @B43_MACCTL_PSM_RUN, align 8, !tbaa !21
%10 = and i64 %9, %8
%11 = tail call i32 @B43_WARN_ON(i64 noundef %10) #2
%12 = load i64, ptr @B43_MACCTL_PSM_JMP0, align 8, !tbaa !21
%13 = or i64 %12, %8
%14 = load i32, ptr @B43_MMIO_MACCTL, align 4, !tbaa !20
%15 = trunc i64 %13 to i32
%16 = tail call i32 @b43_write32(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2
br label %17
17: ; preds = %1, %17
%18 = phi i32 [ 0, %1 ], [ %21, %17 ]
%19 = load i32, ptr @B43_SHM_SCRATCH, align 4, !tbaa !20
%20 = tail call i32 @b43_shm_write16(ptr noundef %0, i32 noundef %19, i32 noundef %18, i32 noundef 0) #2
%21 = add nuw nsw i32 %18, 1
%22 = icmp eq i32 %21, 64
br i1 %22, label %23, label %17, !llvm.loop !22
23: ; preds = %17, %23
%24 = phi i32 [ %27, %23 ], [ 0, %17 ]
%25 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !20
%26 = tail call i32 @b43_shm_write16(ptr noundef %0, i32 noundef %25, i32 noundef %24, i32 noundef 0) #2
%27 = add nuw nsw i32 %24, 2
%28 = icmp ult i32 %24, 4094
br i1 %28, label %23, label %29, !llvm.loop !24
29: ; preds = %23
%30 = getelementptr inbounds i8, ptr %0, i64 16
%31 = getelementptr inbounds i8, ptr %0, i64 56
%32 = load ptr, ptr %31, align 8, !tbaa !25
%33 = getelementptr inbounds i8, ptr %32, i64 8
%34 = load i64, ptr %33, align 8, !tbaa !26
%35 = add i64 %34, 4
%36 = inttoptr i64 %35 to ptr
%37 = load i64, ptr %32, align 8, !tbaa !28
%38 = add i64 %37, 17179869180
%39 = load i32, ptr @B43_SHM_UCODE, align 4, !tbaa !20
%40 = load i32, ptr @B43_SHM_AUTOINC_W, align 4, !tbaa !20
%41 = or i32 %40, %39
%42 = tail call i32 @b43_shm_control_word(ptr noundef %0, i32 noundef %41, i32 noundef 0) #2
%43 = and i64 %38, 17179869180
%44 = icmp eq i64 %43, 0
br i1 %44, label %58, label %45
45: ; preds = %29
%46 = lshr i64 %38, 2
%47 = and i64 %46, 4294967295
br label %48
48: ; preds = %45, %48
%49 = phi i64 [ 0, %45 ], [ %56, %48 ]
%50 = load i32, ptr @B43_MMIO_SHM_DATA, align 4, !tbaa !20
%51 = getelementptr inbounds i32, ptr %36, i64 %49
%52 = load i32, ptr %51, align 4, !tbaa !20
%53 = tail call i32 @be32_to_cpu(i32 noundef %52) #2
%54 = tail call i32 @b43_write32(ptr noundef %0, i32 noundef %50, i32 noundef %53) #2
%55 = tail call i32 @udelay(i32 noundef 10) #2
%56 = add nuw nsw i64 %49, 1
%57 = icmp eq i64 %56, %47
br i1 %57, label %58, label %48, !llvm.loop !29
58: ; preds = %48, %29
%59 = getelementptr inbounds i8, ptr %0, i64 48
%60 = load ptr, ptr %59, align 8, !tbaa !30
%61 = icmp eq ptr %60, null
br i1 %61, label %90, label %62
62: ; preds = %58
%63 = getelementptr inbounds i8, ptr %60, i64 8
%64 = load i64, ptr %63, align 8, !tbaa !31
%65 = add i64 %64, 4
%66 = inttoptr i64 %65 to ptr
%67 = load i64, ptr %60, align 8, !tbaa !33
%68 = add i64 %67, 17179869180
%69 = load i32, ptr @B43_SHM_HW, align 4, !tbaa !20
%70 = tail call i32 @b43_shm_control_word(ptr noundef nonnull %0, i32 noundef %69, i32 noundef 490) #2
%71 = load i32, ptr @B43_MMIO_SHM_DATA, align 4, !tbaa !20
%72 = tail call i32 @b43_write32(ptr noundef nonnull %0, i32 noundef %71, i32 noundef 16384) #2
%73 = load i32, ptr @B43_SHM_HW, align 4, !tbaa !20
%74 = tail call i32 @b43_shm_control_word(ptr noundef nonnull %0, i32 noundef %73, i32 noundef 491) #2
%75 = and i64 %68, 17179869180
%76 = icmp eq i64 %75, 0
br i1 %76, label %90, label %77
77: ; preds = %62
%78 = lshr i64 %68, 2
%79 = and i64 %78, 4294967295
br label %80
80: ; preds = %77, %80
%81 = phi i64 [ 0, %77 ], [ %88, %80 ]
%82 = load i32, ptr @B43_MMIO_SHM_DATA, align 4, !tbaa !20
%83 = getelementptr inbounds i32, ptr %66, i64 %81
%84 = load i32, ptr %83, align 4, !tbaa !20
%85 = tail call i32 @be32_to_cpu(i32 noundef %84) #2
%86 = tail call i32 @b43_write32(ptr noundef %0, i32 noundef %82, i32 noundef %85) #2
%87 = tail call i32 @udelay(i32 noundef 10) #2
%88 = add nuw nsw i64 %81, 1
%89 = icmp eq i64 %88, %79
br i1 %89, label %90, label %80, !llvm.loop !34
90: ; preds = %80, %62, %58
%91 = load i32, ptr @B43_MMIO_GEN_IRQ_REASON, align 4, !tbaa !20
%92 = load i32, ptr @B43_IRQ_ALL, align 4, !tbaa !20
%93 = tail call i32 @b43_write32(ptr noundef %0, i32 noundef %91, i32 noundef %92) #2
%94 = load i32, ptr @B43_MMIO_MACCTL, align 4, !tbaa !20
%95 = load i64, ptr @B43_MACCTL_PSM_JMP0, align 8, !tbaa !21
%96 = xor i64 %95, -1
%97 = load i64, ptr @B43_MACCTL_PSM_RUN, align 8, !tbaa !21
%98 = tail call i32 @b43_maskset32(ptr noundef %0, i32 noundef %94, i64 noundef %96, i64 noundef %97) #2
%99 = load i32, ptr @B43_MMIO_GEN_IRQ_REASON, align 4, !tbaa !20
%100 = tail call i64 @b43_read32(ptr noundef %0, i32 noundef %99) #2
%101 = load i64, ptr @B43_IRQ_MAC_SUSPENDED, align 8, !tbaa !21
%102 = icmp eq i64 %100, %101
br i1 %102, label %113, label %103
103: ; preds = %90, %106
%104 = phi i32 [ %107, %106 ], [ 0, %90 ]
%105 = icmp eq i32 %104, 19
br i1 %105, label %209, label %106
106: ; preds = %103
%107 = add nuw nsw i32 %104, 1
%108 = tail call i32 @msleep(i32 noundef 50) #2
%109 = load i32, ptr @B43_MMIO_GEN_IRQ_REASON, align 4, !tbaa !20
%110 = tail call i64 @b43_read32(ptr noundef %0, i32 noundef %109) #2
%111 = load i64, ptr @B43_IRQ_MAC_SUSPENDED, align 8, !tbaa !21
%112 = icmp eq i64 %110, %111
br i1 %112, label %113, label %103
113: ; preds = %106, %90
%114 = load i32, ptr @B43_MMIO_GEN_IRQ_REASON, align 4, !tbaa !20
%115 = tail call i64 @b43_read32(ptr noundef %0, i32 noundef %114) #2
%116 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !20
%117 = load i32, ptr @B43_SHM_SH_UCODEREV, align 4, !tbaa !20
%118 = tail call i32 @b43_shm_read16(ptr noundef %0, i32 noundef %116, i32 noundef %117) #2
%119 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !20
%120 = load i32, ptr @B43_SHM_SH_UCODEPATCH, align 4, !tbaa !20
%121 = tail call i32 @b43_shm_read16(ptr noundef %0, i32 noundef %119, i32 noundef %120) #2
%122 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !20
%123 = load i32, ptr @B43_SHM_SH_UCODEDATE, align 4, !tbaa !20
%124 = tail call i32 @b43_shm_read16(ptr noundef %0, i32 noundef %122, i32 noundef %123) #2
%125 = load i32, ptr @B43_SHM_SHARED, align 4, !tbaa !20
%126 = load i32, ptr @B43_SHM_SH_UCODETIME, align 4, !tbaa !20
%127 = tail call i32 @b43_shm_read16(ptr noundef %0, i32 noundef %125, i32 noundef %126) #2
%128 = icmp slt i32 %118, 297
br i1 %128, label %209, label %129
129: ; preds = %113
store i32 %118, ptr %30, align 8, !tbaa !35
%130 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %121, ptr %130, align 4, !tbaa !36
%131 = icmp ugt i32 %118, 597
%132 = getelementptr inbounds i8, ptr %0, i64 24
%133 = icmp ugt i32 %118, 409
%134 = load i64, ptr @B43_FW_HDR_598, align 8
%135 = load i64, ptr @B43_FW_HDR_410, align 8
%136 = load i64, ptr @B43_FW_HDR_351, align 8
%137 = select i1 %133, i64 %135, i64 %136
%138 = select i1 %131, i64 %134, i64 %137
store i64 %138, ptr %132, align 8, !tbaa !37
%139 = getelementptr inbounds i8, ptr %0, i64 32
%140 = load i32, ptr %139, align 8, !tbaa !38
%141 = icmp eq i32 %124, 65535
%142 = zext i1 %141 to i32
%143 = icmp ne i32 %140, %142
%144 = zext i1 %143 to i32
%145 = tail call i32 @WARN_ON(i32 noundef %144) #2
%146 = load ptr, ptr %2, align 8, !tbaa !6
%147 = load ptr, ptr %146, align 8, !tbaa !16
%148 = load i32, ptr %147, align 8, !tbaa !39
%149 = icmp sgt i32 %148, 1
%150 = zext i1 %149 to i32
store i32 %150, ptr %0, align 8, !tbaa !40
%151 = getelementptr inbounds i8, ptr %0, i64 4
store i32 1, ptr %151, align 4, !tbaa !41
%152 = load i32, ptr %139, align 8, !tbaa !38
%153 = icmp eq i32 %152, 0
br i1 %153, label %172, label %154
154: ; preds = %129
store i32 %127, ptr %130, align 4, !tbaa !36
%155 = load i32, ptr %30, align 8, !tbaa !35
%156 = tail call i32 (ptr, ptr, ...) @b43info(ptr noundef nonnull %146, ptr noundef nonnull @.str.2, i32 noundef %155, i32 noundef %127) #2
%157 = tail call i32 @b43_fwcapa_read(ptr noundef nonnull %0) #2
%158 = load i32, ptr @B43_FWCAPA_HWCRYPTO, align 4, !tbaa !20
%159 = and i32 %158, %157
%160 = icmp eq i32 %159, 0
br i1 %160, label %165, label %161
161: ; preds = %154
%162 = getelementptr inbounds i8, ptr %0, i64 40
%163 = load i64, ptr %162, align 8, !tbaa !42
%164 = icmp eq i64 %163, 0
br i1 %164, label %168, label %165
165: ; preds = %161, %154
%166 = load ptr, ptr %2, align 8, !tbaa !6
%167 = tail call i32 (ptr, ptr, ...) @b43info(ptr noundef %166, ptr noundef nonnull @.str.3) #2
store i32 0, ptr %151, align 4, !tbaa !41
br label %168
168: ; preds = %165, %161
%169 = load i32, ptr @B43_FWCAPA_QOS, align 4, !tbaa !20
%170 = and i32 %169, %157
%171 = tail call i32 @WARN(i32 noundef %170, ptr noundef nonnull @.str.4) #2
br label %192
172: ; preds = %129
%173 = lshr i32 %124, 12
%174 = and i32 %173, 15
%175 = lshr i32 %124, 8
%176 = and i32 %175, 15
%177 = and i32 %124, 255
%178 = lshr i32 %127, 11
%179 = and i32 %178, 31
%180 = lshr i32 %127, 5
%181 = and i32 %180, 63
%182 = and i32 %127, 31
%183 = tail call i32 (ptr, ptr, ...) @b43info(ptr noundef nonnull %146, ptr noundef nonnull @.str.5, i32 noundef %118, i32 noundef %121, i32 noundef %174, i32 noundef %176, i32 noundef %177, i32 noundef %179, i32 noundef %181, i32 noundef %182) #2
%184 = getelementptr inbounds i8, ptr %0, i64 40
%185 = load i64, ptr %184, align 8, !tbaa !42
%186 = icmp eq i64 %185, 0
br i1 %186, label %192, label %187
187: ; preds = %172
%188 = load ptr, ptr %2, align 8, !tbaa !6
%189 = tail call i32 @b43warn(ptr noundef %188, ptr noundef nonnull @.str.6) #2
%190 = load ptr, ptr %2, align 8, !tbaa !6
%191 = tail call i32 @b43_print_fw_helptext(ptr noundef %190, i32 noundef 0) #2
br label %192
192: ; preds = %172, %187, %168
%193 = getelementptr inbounds i8, ptr %6, i64 4
%194 = load i32, ptr %193, align 4, !tbaa !43
%195 = load i32, ptr %30, align 8, !tbaa !35
%196 = load i32, ptr %130, align 4, !tbaa !36
%197 = tail call i32 @snprintf(i32 noundef %194, i32 noundef 4, ptr noundef nonnull @.str.7, i32 noundef %195, i32 noundef %196) #2
%198 = getelementptr inbounds i8, ptr %0, i64 64
%199 = load ptr, ptr %198, align 8, !tbaa !45
%200 = load i32, ptr %199, align 4, !tbaa !46
store i32 %200, ptr %6, align 4, !tbaa !48
%201 = load i64, ptr %132, align 8, !tbaa !37
%202 = load i64, ptr @B43_FW_HDR_351, align 8, !tbaa !21
%203 = icmp eq i64 %201, %202
br i1 %203, label %204, label %223
204: ; preds = %192
%205 = load ptr, ptr %2, align 8, !tbaa !6
%206 = tail call i32 @b43warn(ptr noundef %205, ptr noundef nonnull @.str.8) #2
%207 = load ptr, ptr %2, align 8, !tbaa !6
%208 = tail call i32 @b43_print_fw_helptext(ptr noundef %207, i32 noundef 0) #2
br label %223
209: ; preds = %103, %113
%210 = phi ptr [ @.str.1, %113 ], [ @.str, %103 ]
%211 = phi ptr [ @EOPNOTSUPP, %113 ], [ @ENODEV, %103 ]
%212 = load ptr, ptr %2, align 8, !tbaa !6
%213 = tail call i32 @b43err(ptr noundef %212, ptr noundef nonnull %210) #2
%214 = load ptr, ptr %2, align 8, !tbaa !6
%215 = tail call i32 @b43_print_fw_helptext(ptr noundef %214, i32 noundef 1) #2
%216 = load i32, ptr %211, align 4, !tbaa !20
%217 = sub nsw i32 0, %216
%218 = load i32, ptr @B43_MMIO_MACCTL, align 4, !tbaa !20
%219 = load i64, ptr @B43_MACCTL_PSM_RUN, align 8, !tbaa !21
%220 = xor i64 %219, -1
%221 = load i64, ptr @B43_MACCTL_PSM_JMP0, align 8, !tbaa !21
%222 = tail call i32 @b43_maskset32(ptr noundef nonnull %0, i32 noundef %218, i64 noundef %220, i64 noundef %221) #2
br label %223
223: ; preds = %192, %204, %209
%224 = phi i32 [ %217, %209 ], [ 0, %204 ], [ 0, %192 ]
ret i32 %224
}
declare i64 @b43_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @B43_WARN_ON(i64 noundef) local_unnamed_addr #1
declare i32 @b43_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43_shm_write16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @b43_shm_control_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i32 @b43_maskset32(ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @b43err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @b43_print_fw_helptext(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @b43_shm_read16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @b43info(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @b43_fwcapa_read(ptr noundef) local_unnamed_addr #1
declare i32 @WARN(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @b43warn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"b43_wldev", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !11, i64 64}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_18__", !8, i64 0, !8, i64 4, !13, i64 8, !8, i64 16, !13, i64 24, !14, i64 32, !15, i64 40}
!13 = !{!"long", !9, i64 0}
!14 = !{!"TYPE_16__", !11, i64 0}
!15 = !{!"TYPE_14__", !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_19__", !11, i64 0}
!18 = !{!19, !11, i64 8}
!19 = !{!"TYPE_17__", !8, i64 0, !11, i64 8}
!20 = !{!8, !8, i64 0}
!21 = !{!13, !13, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!7, !11, i64 56}
!26 = !{!27, !13, i64 8}
!27 = !{!"TYPE_13__", !13, i64 0, !13, i64 8}
!28 = !{!27, !13, i64 0}
!29 = distinct !{!29, !23}
!30 = !{!7, !11, i64 48}
!31 = !{!32, !13, i64 8}
!32 = !{!"TYPE_15__", !13, i64 0, !13, i64 8}
!33 = !{!32, !13, i64 0}
!34 = distinct !{!34, !23}
!35 = !{!7, !8, i64 16}
!36 = !{!7, !8, i64 20}
!37 = !{!7, !13, i64 24}
!38 = !{!7, !8, i64 32}
!39 = !{!19, !8, i64 0}
!40 = !{!7, !8, i64 0}
!41 = !{!7, !8, i64 4}
!42 = !{!7, !13, i64 40}
!43 = !{!44, !8, i64 4}
!44 = !{!"wiphy", !8, i64 0, !8, i64 4}
!45 = !{!7, !11, i64 64}
!46 = !{!47, !8, i64 0}
!47 = !{!"TYPE_12__", !8, i64 0}
!48 = !{!44, !8, i64 0}
|
linux_drivers_net_wireless_broadcom_b43_extr_main.c_b43_upload_microcode
|
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_send_cmd.c'
source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_send_cmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AR934X_NFC_CMD_INPUT_SEL_SIU = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CMD_ADDR_SEL_0 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CMD_SEQ_1C = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CMD_CMD0_M = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CMD_CMD0_S = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_REG_INT_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_REG_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ar934x_nfc_send_cmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ar934x_nfc_send_cmd(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @AR934X_NFC_CMD_INPUT_SEL_SIU, align 4, !tbaa !5
%4 = load i32, ptr @AR934X_NFC_CMD_ADDR_SEL_0, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = load i32, ptr @AR934X_NFC_CMD_SEQ_1C, align 4, !tbaa !5
%7 = or i32 %5, %6
%8 = load i32, ptr @AR934X_NFC_CMD_CMD0_M, align 4, !tbaa !5
%9 = and i32 %8, %1
%10 = load i32, ptr @AR934X_NFC_CMD_CMD0_S, align 4, !tbaa !5
%11 = shl i32 %9, %10
%12 = or i32 %7, %11
%13 = load i32, ptr @AR934X_NFC_REG_INT_STATUS, align 4, !tbaa !5
%14 = tail call i32 @ar934x_nfc_wr(ptr noundef %0, i32 noundef %13, i32 noundef 0) #2
%15 = load i32, ptr @AR934X_NFC_REG_CTRL, align 4, !tbaa !5
%16 = load i32, ptr %0, align 4, !tbaa !9
%17 = tail call i32 @ar934x_nfc_wr(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %16) #2
%18 = tail call i32 @ar934x_nfc_write_cmd_reg(ptr noundef nonnull %0, i32 noundef %12) #2
%19 = tail call i32 @ar934x_nfc_wait_dev_ready(ptr noundef nonnull %0) #2
ret void
}
declare i32 @ar934x_nfc_wr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_write_cmd_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_wait_dev_ready(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 = !{!"ar934x_nfc", !6, i64 0}
|
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_send_cmd.c'
source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_send_cmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AR934X_NFC_CMD_INPUT_SEL_SIU = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CMD_ADDR_SEL_0 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CMD_SEQ_1C = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CMD_CMD0_M = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CMD_CMD0_S = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_REG_INT_STATUS = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_REG_CTRL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ar934x_nfc_send_cmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ar934x_nfc_send_cmd(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @AR934X_NFC_CMD_INPUT_SEL_SIU, align 4, !tbaa !6
%4 = load i32, ptr @AR934X_NFC_CMD_ADDR_SEL_0, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = load i32, ptr @AR934X_NFC_CMD_SEQ_1C, align 4, !tbaa !6
%7 = or i32 %5, %6
%8 = load i32, ptr @AR934X_NFC_CMD_CMD0_M, align 4, !tbaa !6
%9 = and i32 %8, %1
%10 = load i32, ptr @AR934X_NFC_CMD_CMD0_S, align 4, !tbaa !6
%11 = shl i32 %9, %10
%12 = or i32 %7, %11
%13 = load i32, ptr @AR934X_NFC_REG_INT_STATUS, align 4, !tbaa !6
%14 = tail call i32 @ar934x_nfc_wr(ptr noundef %0, i32 noundef %13, i32 noundef 0) #2
%15 = load i32, ptr @AR934X_NFC_REG_CTRL, align 4, !tbaa !6
%16 = load i32, ptr %0, align 4, !tbaa !10
%17 = tail call i32 @ar934x_nfc_wr(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %16) #2
%18 = tail call i32 @ar934x_nfc_write_cmd_reg(ptr noundef nonnull %0, i32 noundef %12) #2
%19 = tail call i32 @ar934x_nfc_wait_dev_ready(ptr noundef nonnull %0) #2
ret void
}
declare i32 @ar934x_nfc_wr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_write_cmd_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_wait_dev_ready(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 = !{!"ar934x_nfc", !7, i64 0}
|
openwrt_target_linux_ar71xx_files_drivers_mtd_nand_extr_ar934x_nfc.c_ar934x_nfc_send_cmd
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_intel_gvt_ggtt_h2g_index.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_intel_gvt_ggtt_h2g_index.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@I915_GTT_PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @intel_gvt_ggtt_h2g_index(ptr noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i64, ptr @I915_GTT_PAGE_SHIFT, align 8, !tbaa !5
%6 = shl i64 %1, %5
%7 = call i32 @intel_gvt_ggtt_gmadr_h2g(ptr noundef %0, i64 noundef %6, ptr noundef nonnull %4) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = load i64, ptr %4, align 8, !tbaa !5
%11 = load i64, ptr @I915_GTT_PAGE_SHIFT, align 8, !tbaa !5
%12 = lshr i64 %10, %11
store i64 %12, ptr %2, align 8, !tbaa !5
br label %13
13: ; preds = %3, %9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @intel_gvt_ggtt_gmadr_h2g(ptr noundef, i64 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/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_intel_gvt_ggtt_h2g_index.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_gtt.c_intel_gvt_ggtt_h2g_index.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I915_GTT_PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @intel_gvt_ggtt_h2g_index(ptr noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i64, ptr @I915_GTT_PAGE_SHIFT, align 8, !tbaa !6
%6 = shl i64 %1, %5
%7 = call i32 @intel_gvt_ggtt_gmadr_h2g(ptr noundef %0, i64 noundef %6, ptr noundef nonnull %4) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %3
%10 = load i64, ptr %4, align 8, !tbaa !6
%11 = load i64, ptr @I915_GTT_PAGE_SHIFT, align 8, !tbaa !6
%12 = lshr i64 %10, %11
store i64 %12, ptr %2, align 8, !tbaa !6
br label %13
13: ; preds = %3, %9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @intel_gvt_ggtt_gmadr_h2g(ptr noundef, i64 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"}
|
linux_drivers_gpu_drm_i915_gvt_extr_gtt.c_intel_gvt_ggtt_h2g_index
|
; ModuleID = 'AnghaBench/curl/tests/server/extr_tftpd.c_exit_signal_handler.c'
source_filename = "AnghaBench/curl/tests/server/extr_tftpd.c_exit_signal_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"
@errno = dso_local local_unnamed_addr global i32 0, align 4
@got_exit_signal = dso_local local_unnamed_addr global i32 0, align 4
@exit_signal = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @exit_signal_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @exit_signal_handler(i32 noundef %0) #0 {
%2 = load i32, ptr @errno, align 4, !tbaa !5
%3 = load i32, ptr @got_exit_signal, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
store i32 1, ptr @got_exit_signal, align 4, !tbaa !5
store i32 %0, ptr @exit_signal, align 4, !tbaa !5
br label %6
6: ; preds = %5, %1
%7 = tail call i32 @signal(i32 noundef %0, ptr noundef nonnull @exit_signal_handler) #2
store i32 %2, ptr @errno, align 4, !tbaa !5
ret i32 undef
}
declare i32 @signal(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/curl/tests/server/extr_tftpd.c_exit_signal_handler.c'
source_filename = "AnghaBench/curl/tests/server/extr_tftpd.c_exit_signal_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i32 0, align 4
@got_exit_signal = common local_unnamed_addr global i32 0, align 4
@exit_signal = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @exit_signal_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @exit_signal_handler(i32 noundef %0) #0 {
%2 = load i32, ptr @errno, align 4, !tbaa !6
%3 = load i32, ptr @got_exit_signal, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
store i32 1, ptr @got_exit_signal, align 4, !tbaa !6
store i32 %0, ptr @exit_signal, align 4, !tbaa !6
br label %6
6: ; preds = %5, %1
%7 = tail call i32 @signal(i32 noundef %0, ptr noundef nonnull @exit_signal_handler) #2
store i32 %2, ptr @errno, align 4, !tbaa !6
ret i32 undef
}
declare i32 @signal(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"}
|
curl_tests_server_extr_tftpd.c_exit_signal_handler
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_h264_slice.c_decode_finish_row.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_h264_slice.c_decode_finish_row.c"
target datalayout = "e-m:e-p270:32:32-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_17__ = type { i32, ptr, i64 }
%struct.TYPE_18__ = type { i32, i64, ptr, i64 }
@PICT_BOTTOM_FIELD = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @decode_finish_row], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @decode_finish_row(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 8, !tbaa !5
%4 = tail call i32 @FIELD_PICTURE(ptr noundef %0) #3
%5 = ashr i32 %3, %4
%6 = shl nsw i32 %5, 4
%7 = load i32, ptr %0, align 8, !tbaa !12
%8 = shl nsw i32 %7, 4
%9 = tail call i32 @FIELD_PICTURE(ptr noundef nonnull %0) #3
%10 = ashr i32 %8, %9
%11 = tail call i32 @FRAME_MBAFF(ptr noundef nonnull %0) #3
%12 = shl i32 16, %11
%13 = tail call i32 @FRAME_MBAFF(ptr noundef nonnull %0) #3
%14 = getelementptr inbounds %struct.TYPE_17__, ptr %1, i64 0, i32 2
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = icmp eq i64 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %2
%18 = shl i32 20, %13
%19 = add nsw i32 %12, %6
%20 = icmp slt i32 %19, %10
%21 = select i1 %20, i32 0, i32 %18
%22 = add nsw i32 %21, %12
%23 = sub nsw i32 %6, %18
br label %24
24: ; preds = %17, %2
%25 = phi i32 [ %22, %17 ], [ %12, %2 ]
%26 = phi i32 [ %23, %17 ], [ %6, %2 ]
%27 = icmp sge i32 %26, %10
%28 = add nsw i32 %26, %25
%29 = icmp slt i32 %28, 0
%30 = select i1 %27, i1 true, i1 %29
br i1 %30, label %58, label %31
31: ; preds = %24
%32 = sub nsw i32 %10, %26
%33 = tail call i32 @FFMIN(i32 noundef %25, i32 noundef %32) #3
%34 = tail call i32 @llvm.smin.i32(i32 %26, i32 0)
%35 = add nsw i32 %33, %34
%36 = tail call i32 @llvm.smax.i32(i32 %26, i32 0)
%37 = tail call i32 @ff_h264_draw_horiz_band(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %36, i32 noundef %35) #3
%38 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 3
%39 = load i64, ptr %38, align 8, !tbaa !15
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %58
41: ; preds = %31
%42 = getelementptr inbounds %struct.TYPE_17__, ptr %1, i64 0, i32 1
%43 = load ptr, ptr %42, align 8, !tbaa !16
%44 = load ptr, ptr %43, align 8, !tbaa !17
%45 = load i64, ptr %44, align 8, !tbaa !19
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %58
47: ; preds = %41
%48 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 2
%49 = load ptr, ptr %48, align 8, !tbaa !22
%50 = add nsw i32 %36, -1
%51 = add i32 %50, %35
%52 = getelementptr inbounds %struct.TYPE_18__, ptr %0, i64 0, i32 1
%53 = load i64, ptr %52, align 8, !tbaa !23
%54 = load i64, ptr @PICT_BOTTOM_FIELD, align 8, !tbaa !24
%55 = icmp eq i64 %53, %54
%56 = zext i1 %55 to i32
%57 = tail call i32 @ff_thread_report_progress(ptr noundef %49, i32 noundef %51, i32 noundef %56) #3
br label %58
58: ; preds = %31, %41, %24, %47
ret void
}
declare i32 @FIELD_PICTURE(ptr noundef) local_unnamed_addr #1
declare i32 @FRAME_MBAFF(ptr noundef) local_unnamed_addr #1
declare i32 @FFMIN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ff_h264_draw_horiz_band(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ff_thread_report_progress(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_17__", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_18__", !7, i64 0, !11, i64 8, !10, i64 16, !11, i64 24}
!14 = !{!6, !11, i64 16}
!15 = !{!13, !11, i64 24}
!16 = !{!6, !10, i64 8}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_15__", !10, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_14__", !21, i64 0}
!21 = !{!"TYPE_13__", !11, i64 0}
!22 = !{!13, !10, i64 16}
!23 = !{!13, !11, i64 8}
!24 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_h264_slice.c_decode_finish_row.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_h264_slice.c_decode_finish_row.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PICT_BOTTOM_FIELD = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @decode_finish_row], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @decode_finish_row(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr %1, align 8, !tbaa !6
%4 = tail call i32 @FIELD_PICTURE(ptr noundef %0) #3
%5 = ashr i32 %3, %4
%6 = shl nsw i32 %5, 4
%7 = load i32, ptr %0, align 8, !tbaa !13
%8 = shl nsw i32 %7, 4
%9 = tail call i32 @FIELD_PICTURE(ptr noundef nonnull %0) #3
%10 = ashr i32 %8, %9
%11 = tail call i32 @FRAME_MBAFF(ptr noundef nonnull %0) #3
%12 = shl i32 16, %11
%13 = tail call i32 @FRAME_MBAFF(ptr noundef nonnull %0) #3
%14 = getelementptr inbounds i8, ptr %1, i64 16
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = icmp eq i64 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %2
%18 = shl i32 20, %13
%19 = add nsw i32 %12, %6
%20 = icmp slt i32 %19, %10
%21 = select i1 %20, i32 0, i32 %18
%22 = add nsw i32 %21, %12
%23 = sub nsw i32 %6, %18
br label %24
24: ; preds = %17, %2
%25 = phi i32 [ %22, %17 ], [ %12, %2 ]
%26 = phi i32 [ %23, %17 ], [ %6, %2 ]
%27 = icmp sge i32 %26, %10
%28 = add nsw i32 %26, %25
%29 = icmp slt i32 %28, 0
%30 = select i1 %27, i1 true, i1 %29
br i1 %30, label %58, label %31
31: ; preds = %24
%32 = sub nsw i32 %10, %26
%33 = tail call i32 @FFMIN(i32 noundef %25, i32 noundef %32) #3
%34 = tail call i32 @llvm.smin.i32(i32 %26, i32 0)
%35 = add nsw i32 %33, %34
%36 = tail call i32 @llvm.smax.i32(i32 %26, i32 0)
%37 = tail call i32 @ff_h264_draw_horiz_band(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %36, i32 noundef %35) #3
%38 = getelementptr inbounds i8, ptr %0, i64 24
%39 = load i64, ptr %38, align 8, !tbaa !16
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %58
41: ; preds = %31
%42 = getelementptr inbounds i8, ptr %1, i64 8
%43 = load ptr, ptr %42, align 8, !tbaa !17
%44 = load ptr, ptr %43, align 8, !tbaa !18
%45 = load i64, ptr %44, align 8, !tbaa !20
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %58
47: ; preds = %41
%48 = getelementptr inbounds i8, ptr %0, i64 16
%49 = load ptr, ptr %48, align 8, !tbaa !23
%50 = add nsw i32 %36, -1
%51 = add i32 %50, %35
%52 = getelementptr inbounds i8, ptr %0, i64 8
%53 = load i64, ptr %52, align 8, !tbaa !24
%54 = load i64, ptr @PICT_BOTTOM_FIELD, align 8, !tbaa !25
%55 = icmp eq i64 %53, %54
%56 = zext i1 %55 to i32
%57 = tail call i32 @ff_thread_report_progress(ptr noundef %49, i32 noundef %51, i32 noundef %56) #3
br label %58
58: ; preds = %31, %41, %24, %47
ret void
}
declare i32 @FIELD_PICTURE(ptr noundef) local_unnamed_addr #1
declare i32 @FRAME_MBAFF(ptr noundef) local_unnamed_addr #1
declare i32 @FFMIN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ff_h264_draw_horiz_band(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ff_thread_report_progress(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_17__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_18__", !8, i64 0, !12, i64 8, !11, i64 16, !12, i64 24}
!15 = !{!7, !12, i64 16}
!16 = !{!14, !12, i64 24}
!17 = !{!7, !11, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_15__", !11, i64 0}
!20 = !{!21, !12, i64 0}
!21 = !{!"TYPE_14__", !22, i64 0}
!22 = !{!"TYPE_13__", !12, i64 0}
!23 = !{!14, !11, i64 16}
!24 = !{!14, !12, i64 8}
!25 = !{!12, !12, i64 0}
|
FFmpeg_libavcodec_extr_h264_slice.c_decode_finish_row
|
; ModuleID = 'AnghaBench/torch7/lib/luaT/extr_luaT.c_luaT_cdataname.c'
source_filename = "AnghaBench/torch7/lib/luaT/extr_luaT.c_luaT_cdataname.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"__cdataname\00", align 1
@LUA_REGISTRYINDEX = dso_local local_unnamed_addr global i32 0, align 4
@cdataname = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"internal error (could not load cdataname): %s\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"internal error (cdataname is not a function)\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"internal error (cdataname): %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @luaT_cdataname], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @luaT_cdataname(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef nonnull @.str) #2
%5 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !5
%6 = tail call i32 @lua_rawget(ptr noundef %0, i32 noundef %5) #2
%7 = tail call i64 @lua_isnil(ptr noundef %0, i32 noundef -1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %22, label %9
9: ; preds = %3
%10 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 1) #2
%11 = load i32, ptr @cdataname, align 4, !tbaa !5
%12 = tail call i64 @luaL_dostring(ptr noundef %0, i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #2
%16 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %15) #2
br label %17
17: ; preds = %14, %9
%18 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef nonnull @.str) #2
%19 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef -2) #2
%20 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !5
%21 = tail call i32 @lua_rawset(ptr noundef %0, i32 noundef %20) #2
br label %22
22: ; preds = %17, %3
%23 = tail call i32 @lua_isfunction(ptr noundef %0, i32 noundef -1) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.2) #2
br label %27
27: ; preds = %25, %22
%28 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef %1) #2
%29 = icmp eq ptr %2, null
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef nonnull %2) #2
br label %32
32: ; preds = %30, %27
%33 = phi i32 [ 2, %30 ], [ 1, %27 ]
%34 = tail call i64 @lua_pcall(ptr noundef %0, i32 noundef %33, i32 noundef 1, i32 noundef 0) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %32
%37 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #2
%38 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef %37) #2
br label %39
39: ; preds = %36, %32
%40 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #2
%41 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 1) #2
ret ptr %40
}
declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_rawget(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_isnil(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @luaL_dostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_rawset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_isfunction(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_pcall(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/torch7/lib/luaT/extr_luaT.c_luaT_cdataname.c'
source_filename = "AnghaBench/torch7/lib/luaT/extr_luaT.c_luaT_cdataname.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [12 x i8] c"__cdataname\00", align 1
@LUA_REGISTRYINDEX = common local_unnamed_addr global i32 0, align 4
@cdataname = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [46 x i8] c"internal error (could not load cdataname): %s\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"internal error (cdataname is not a function)\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"internal error (cdataname): %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @luaT_cdataname], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @luaT_cdataname(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef nonnull @.str) #2
%5 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !6
%6 = tail call i32 @lua_rawget(ptr noundef %0, i32 noundef %5) #2
%7 = tail call i64 @lua_isnil(ptr noundef %0, i32 noundef -1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %22, label %9
9: ; preds = %3
%10 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 1) #2
%11 = load i32, ptr @cdataname, align 4, !tbaa !6
%12 = tail call i64 @luaL_dostring(ptr noundef %0, i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #2
%16 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %15) #2
br label %17
17: ; preds = %14, %9
%18 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef nonnull @.str) #2
%19 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef -2) #2
%20 = load i32, ptr @LUA_REGISTRYINDEX, align 4, !tbaa !6
%21 = tail call i32 @lua_rawset(ptr noundef %0, i32 noundef %20) #2
br label %22
22: ; preds = %17, %3
%23 = tail call i32 @lua_isfunction(ptr noundef %0, i32 noundef -1) #2
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.2) #2
br label %27
27: ; preds = %25, %22
%28 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef %1) #2
%29 = icmp eq ptr %2, null
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef nonnull %2) #2
br label %32
32: ; preds = %30, %27
%33 = phi i32 [ 2, %30 ], [ 1, %27 ]
%34 = tail call i64 @lua_pcall(ptr noundef %0, i32 noundef %33, i32 noundef 1, i32 noundef 0) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %32
%37 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #2
%38 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef %37) #2
br label %39
39: ; preds = %36, %32
%40 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #2
%41 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 1) #2
ret ptr %40
}
declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_rawget(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_isnil(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @luaL_dostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_rawset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_isfunction(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_pcall(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"}
|
torch7_lib_luaT_extr_luaT.c_luaT_cdataname
|
; ModuleID = 'AnghaBench/Quake-III-Arena/common/extr_l3dslib.c_Load3DSTriangleList.c'
source_filename = "AnghaBench/Quake-III-Arena/common/extr_l3dslib.c_Load3DSTriangleList.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@bytesread = dso_local local_unnamed_addr global i64 0, align 8
@level = dso_local local_unnamed_addr global i64 0, align 8
@numtris = dso_local local_unnamed_addr global i64 0, align 8
@totaltris = dso_local local_unnamed_addr global i32 0, align 4
@vertsfound = dso_local local_unnamed_addr global i64 0, align 8
@trisfound = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"reader: could not open file '%s'\0A\00", align 1
@MAIN3DS = dso_local local_unnamed_addr global i16 0, align 2
@EDIT3DS = dso_local local_unnamed_addr global i16 0, align 2
@.str.2 = private unnamed_addr constant [25 x i8] c"File is not a 3DS file.\0A\00", align 1
@SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4
@MAXTRIANGLES = dso_local local_unnamed_addr global i32 0, align 4
@ptri = dso_local local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [24 x i8] c"Incomplete triangle set\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @Load3DSTriangleList(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca i16, align 2
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #5
store i64 0, ptr @bytesread, align 8, !tbaa !5
store i64 0, ptr @level, align 8, !tbaa !5
store i64 0, ptr @numtris, align 8, !tbaa !5
store i32 0, ptr @totaltris, align 4, !tbaa !9
store i64 0, ptr @vertsfound, align 8, !tbaa !5
store i64 0, ptr @trisfound, align 8, !tbaa !5
%5 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str)
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = load i32, ptr @stderr, align 4, !tbaa !9
%9 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef nonnull @.str.1, ptr noundef %0) #5
%10 = tail call i32 @exit(i32 noundef 0) #6
unreachable
11: ; preds = %3
%12 = call i32 @fread(ptr noundef nonnull %4, i32 noundef 2, i32 noundef 1, ptr noundef nonnull %5) #5
%13 = load i16, ptr %4, align 2, !tbaa !11
%14 = load i16, ptr @MAIN3DS, align 2, !tbaa !11
%15 = icmp eq i16 %13, %14
%16 = load i16, ptr @EDIT3DS, align 2
%17 = icmp eq i16 %13, %16
%18 = select i1 %15, i1 true, i1 %17
br i1 %18, label %23, label %19
19: ; preds = %11
%20 = load i32, ptr @stderr, align 4, !tbaa !9
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef nonnull @.str.2) #5
%22 = call i32 @exit(i32 noundef 0) #6
unreachable
23: ; preds = %11
%24 = load i32, ptr @SEEK_SET, align 4, !tbaa !9
%25 = call i32 @fseek(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %24)
%26 = load i32, ptr @MAXTRIANGLES, align 4, !tbaa !9
%27 = shl i32 %26, 2
%28 = call ptr @malloc(i32 noundef %27) #5
store ptr %28, ptr @ptri, align 8, !tbaa !13
store ptr %28, ptr %1, align 8, !tbaa !13
%29 = call i32 @ParseChunk(ptr noundef nonnull %5) #5
%30 = load i64, ptr @vertsfound, align 8, !tbaa !5
%31 = icmp ne i64 %30, 0
%32 = load i64, ptr @trisfound, align 8
%33 = icmp ne i64 %32, 0
%34 = select i1 %31, i1 true, i1 %33
br i1 %34, label %35, label %37
35: ; preds = %23
%36 = call i32 @Error(ptr noundef nonnull @.str.3) #5
br label %37
37: ; preds = %23, %35
%38 = load i32, ptr @totaltris, align 4, !tbaa !9
store i32 %38, ptr %2, align 4, !tbaa !9
%39 = call i32 @fclose(ptr noundef nonnull %5)
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #4
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @malloc(i32 noundef) local_unnamed_addr #3
declare i32 @ParseChunk(ptr noundef) local_unnamed_addr #3
declare i32 @Error(ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!"short", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/Quake-III-Arena/common/extr_l3dslib.c_Load3DSTriangleList.c'
source_filename = "AnghaBench/Quake-III-Arena/common/extr_l3dslib.c_Load3DSTriangleList.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bytesread = common local_unnamed_addr global i64 0, align 8
@level = common local_unnamed_addr global i64 0, align 8
@numtris = common local_unnamed_addr global i64 0, align 8
@totaltris = common local_unnamed_addr global i32 0, align 4
@vertsfound = common local_unnamed_addr global i64 0, align 8
@trisfound = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"reader: could not open file '%s'\0A\00", align 1
@MAIN3DS = common local_unnamed_addr global i16 0, align 2
@EDIT3DS = common local_unnamed_addr global i16 0, align 2
@.str.2 = private unnamed_addr constant [25 x i8] c"File is not a 3DS file.\0A\00", align 1
@SEEK_SET = common local_unnamed_addr global i32 0, align 4
@MAXTRIANGLES = common local_unnamed_addr global i32 0, align 4
@ptri = common local_unnamed_addr global ptr null, align 8
@.str.3 = private unnamed_addr constant [24 x i8] c"Incomplete triangle set\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @Load3DSTriangleList(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca i16, align 2
call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #5
store i64 0, ptr @bytesread, align 8, !tbaa !6
store i64 0, ptr @level, align 8, !tbaa !6
store i64 0, ptr @numtris, align 8, !tbaa !6
store i32 0, ptr @totaltris, align 4, !tbaa !10
store i64 0, ptr @vertsfound, align 8, !tbaa !6
store i64 0, ptr @trisfound, align 8, !tbaa !6
%5 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str)
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = load i32, ptr @stderr, align 4, !tbaa !10
%9 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef nonnull @.str.1, ptr noundef %0) #5
%10 = tail call i32 @exit(i32 noundef 0) #6
unreachable
11: ; preds = %3
%12 = call i32 @fread(ptr noundef nonnull %4, i32 noundef 2, i32 noundef 1, ptr noundef nonnull %5) #5
%13 = load i16, ptr %4, align 2, !tbaa !12
%14 = load i16, ptr @MAIN3DS, align 2, !tbaa !12
%15 = icmp eq i16 %13, %14
%16 = load i16, ptr @EDIT3DS, align 2
%17 = icmp eq i16 %13, %16
%18 = select i1 %15, i1 true, i1 %17
br i1 %18, label %23, label %19
19: ; preds = %11
%20 = load i32, ptr @stderr, align 4, !tbaa !10
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef nonnull @.str.2) #5
%22 = call i32 @exit(i32 noundef 0) #6
unreachable
23: ; preds = %11
%24 = load i32, ptr @SEEK_SET, align 4, !tbaa !10
%25 = call i32 @fseek(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %24)
%26 = load i32, ptr @MAXTRIANGLES, align 4, !tbaa !10
%27 = shl i32 %26, 2
%28 = call ptr @malloc(i32 noundef %27) #5
store ptr %28, ptr @ptri, align 8, !tbaa !14
store ptr %28, ptr %1, align 8, !tbaa !14
%29 = call i32 @ParseChunk(ptr noundef nonnull %5) #5
%30 = load i64, ptr @vertsfound, align 8, !tbaa !6
%31 = icmp ne i64 %30, 0
%32 = load i64, ptr @trisfound, align 8
%33 = icmp ne i64 %32, 0
%34 = select i1 %31, i1 true, i1 %33
br i1 %34, label %35, label %37
35: ; preds = %23
%36 = call i32 @Error(ptr noundef nonnull @.str.3) #5
br label %37
37: ; preds = %23, %35
%38 = load i32, ptr @totaltris, align 4, !tbaa !10
store i32 %38, ptr %2, align 4, !tbaa !10
%39 = call i32 @fclose(ptr noundef nonnull %5)
call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #4
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @malloc(i32 noundef) local_unnamed_addr #3
declare i32 @ParseChunk(ptr noundef) local_unnamed_addr #3
declare i32 @Error(ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture 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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
|
Quake-III-Arena_common_extr_l3dslib.c_Load3DSTriangleList
|
; ModuleID = 'AnghaBench/freebsd/sys/sparc64/sparc64/extr_pmap.c_pmap_sync_icache.c'
source_filename = "AnghaBench/freebsd/sys/sparc64/sparc64/extr_pmap.c_pmap_sync_icache.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @pmap_sync_icache(i32 noundef %0, i32 noundef %1, i32 noundef %2) 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/sparc64/sparc64/extr_pmap.c_pmap_sync_icache.c'
source_filename = "AnghaBench/freebsd/sys/sparc64/sparc64/extr_pmap.c_pmap_sync_icache.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @pmap_sync_icache(i32 noundef %0, i32 noundef %1, i32 noundef %2) 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_sparc64_sparc64_extr_pmap.c_pmap_sync_icache
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_rcv_padisc_adisc_issue.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_rcv_padisc_adisc_issue.c"
target datalayout = "e-m:e-p270:32:32-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 @lpfc_rcv_padisc_adisc_issue], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lpfc_rcv_padisc_adisc_issue(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 %3) #0 {
%5 = tail call i32 @lpfc_rcv_padisc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%6 = load i32, ptr %1, align 4, !tbaa !5
ret i32 %6
}
declare i32 @lpfc_rcv_padisc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"lpfc_nodelist", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_rcv_padisc_adisc_issue.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_nportdisc.c_lpfc_rcv_padisc_adisc_issue.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 @lpfc_rcv_padisc_adisc_issue], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lpfc_rcv_padisc_adisc_issue(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 %3) #0 {
%5 = tail call i32 @lpfc_rcv_padisc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%6 = load i32, ptr %1, align 4, !tbaa !6
ret i32 %6
}
declare i32 @lpfc_rcv_padisc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"lpfc_nodelist", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_scsi_lpfc_extr_lpfc_nportdisc.c_lpfc_rcv_padisc_adisc_issue
|
; ModuleID = 'AnghaBench/seafile/daemon/extr_http-tx-mgr.c_http_locked_files_res_free.c'
source_filename = "AnghaBench/seafile/daemon/extr_http-tx-mgr.c_http_locked_files_res_free.c"
target datalayout = "e-m:e-p270:32:32-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 @http_locked_files_res_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @g_hash_table_destroy(i32 noundef %4) #2
%6 = tail call i32 @g_free(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %3
ret void
}
declare i32 @g_hash_table_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @g_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, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/seafile/daemon/extr_http-tx-mgr.c_http_locked_files_res_free.c'
source_filename = "AnghaBench/seafile/daemon/extr_http-tx-mgr.c_http_locked_files_res_free.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 @http_locked_files_res_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @g_hash_table_destroy(i32 noundef %4) #2
%6 = tail call i32 @g_free(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %3
ret void
}
declare i32 @g_hash_table_destroy(i32 noundef) local_unnamed_addr #1
declare i32 @g_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, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
seafile_daemon_extr_http-tx-mgr.c_http_locked_files_res_free
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/chips/extr_map_absent.c_map_absent_write.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/chips/extr_map_absent.c_map_absent_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"
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @map_absent_write], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal i32 @map_absent_write(ptr nocapture readnone %0, i32 %1, i64 %2, ptr nocapture noundef writeonly %3, ptr nocapture readnone %4) #0 {
store i64 0, ptr %3, align 8, !tbaa !5
%6 = load i32, ptr @ENODEV, align 4, !tbaa !9
%7 = sub nsw i32 0, %6
ret i32 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/chips/extr_map_absent.c_map_absent_write.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/chips/extr_map_absent.c_map_absent_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @map_absent_write], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @map_absent_write(ptr nocapture readnone %0, i32 %1, i64 %2, ptr nocapture noundef writeonly %3, ptr nocapture readnone %4) #0 {
store i64 0, ptr %3, align 8, !tbaa !6
%6 = load i32, ptr @ENODEV, align 4, !tbaa !10
%7 = sub nsw i32 0, %6
ret i32 %7
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
fastsocket_kernel_drivers_mtd_chips_extr_map_absent.c_map_absent_write
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_Disable.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_Disable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@E_INVALID_HANDLE = dso_local local_unnamed_addr global i32 0, align 4
@MINOR = dso_local local_unnamed_addr global i32 0, align 4
@E_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4
@NO_MSG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @FM_MAC_Disable(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = inttoptr i64 %0 to ptr
%4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !5
%5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2
%6 = load ptr, ptr %3, align 8, !tbaa !9
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 %6(i64 noundef %0, i32 noundef %1) #2
br label %15
10: ; preds = %2
%11 = load i32, ptr @MINOR, align 4, !tbaa !5
%12 = load i32, ptr @E_NOT_SUPPORTED, align 4, !tbaa !5
%13 = load i32, ptr @NO_MSG, align 4, !tbaa !5
%14 = tail call i32 @RETURN_ERROR(i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
br label %15
15: ; preds = %10, %8
%16 = phi i32 [ %9, %8 ], [ undef, %10 ]
ret i32 %16
}
declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_3__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_Disable.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_fm_mac.c_FM_MAC_Disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E_INVALID_HANDLE = common local_unnamed_addr global i32 0, align 4
@MINOR = common local_unnamed_addr global i32 0, align 4
@E_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4
@NO_MSG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @FM_MAC_Disable(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = inttoptr i64 %0 to ptr
%4 = load i32, ptr @E_INVALID_HANDLE, align 4, !tbaa !6
%5 = tail call i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef %3, i32 noundef %4) #2
%6 = load ptr, ptr %3, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 %6(i64 noundef %0, i32 noundef %1) #2
br label %15
10: ; preds = %2
%11 = load i32, ptr @MINOR, align 4, !tbaa !6
%12 = load i32, ptr @E_NOT_SUPPORTED, align 4, !tbaa !6
%13 = load i32, ptr @NO_MSG, align 4, !tbaa !6
%14 = tail call i32 @RETURN_ERROR(i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
br label %15
15: ; preds = %10, %8
%16 = phi i32 [ %9, %8 ], [ undef, %10 ]
ret i32 %16
}
declare i32 @SANITY_CHECK_RETURN_ERROR(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
|
freebsd_sys_contrib_ncsw_Peripherals_FM_MAC_extr_fm_mac.c_FM_MAC_Disable
|
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_pcb.c_get_eflags_exportmask.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_pcb.c_get_eflags_exportmask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EFL_USER_SET = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @get_eflags_exportmask() local_unnamed_addr #0 {
%1 = load i32, ptr @EFL_USER_SET, align 4, !tbaa !5
ret i32 %1
}
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/darwin-xnu/osfmk/i386/extr_pcb.c_get_eflags_exportmask.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_pcb.c_get_eflags_exportmask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EFL_USER_SET = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @get_eflags_exportmask() local_unnamed_addr #0 {
%1 = load i32, ptr @EFL_USER_SET, align 4, !tbaa !6
ret i32 %1
}
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"}
|
darwin-xnu_osfmk_i386_extr_pcb.c_get_eflags_exportmask
|
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_stats.c_isc_stats_attach.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_stats.c_isc_stats_attach.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @isc_stats_attach(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @ISC_STATS_VALID(ptr noundef %0) #2
%4 = tail call i32 @REQUIRE(i32 noundef %3) #2
%5 = icmp eq ptr %1, null
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = load ptr, ptr %1, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %6, %2
%11 = phi i32 [ 0, %2 ], [ %9, %6 ]
%12 = tail call i32 @REQUIRE(i32 noundef %11) #2
%13 = tail call i32 @LOCK(ptr noundef %0) #2
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !9
%16 = add nsw i32 %15, 1
store i32 %16, ptr %14, align 4, !tbaa !9
%17 = tail call i32 @UNLOCK(ptr noundef %0) #2
store ptr %0, ptr %1, align 8, !tbaa !5
ret void
}
declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1
declare i32 @ISC_STATS_VALID(ptr noundef) local_unnamed_addr #1
declare i32 @LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"TYPE_5__", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_stats.c_isc_stats_attach.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_stats.c_isc_stats_attach.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 @isc_stats_attach(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @ISC_STATS_VALID(ptr noundef %0) #2
%4 = tail call i32 @REQUIRE(i32 noundef %3) #2
%5 = icmp eq ptr %1, null
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = load ptr, ptr %1, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %6, %2
%11 = phi i32 [ 0, %2 ], [ %9, %6 ]
%12 = tail call i32 @REQUIRE(i32 noundef %11) #2
%13 = tail call i32 @LOCK(ptr noundef %0) #2
%14 = getelementptr inbounds i8, ptr %0, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !10
%16 = add nsw i32 %15, 1
store i32 %16, ptr %14, align 4, !tbaa !10
%17 = tail call i32 @UNLOCK(ptr noundef %0) #2
store ptr %0, ptr %1, align 8, !tbaa !6
ret void
}
declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1
declare i32 @ISC_STATS_VALID(ptr noundef) local_unnamed_addr #1
declare i32 @LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
|
freebsd_contrib_ntp_lib_isc_extr_stats.c_isc_stats_attach
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-core.c_iio_device_unregister.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-core.c_iio_device_unregister.c"
target datalayout = "e-m:e-p270:32:32-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.iio_dev = type { i32, i32 }
@INDIO_RING_TRIGGERED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @iio_device_unregister(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @INDIO_RING_TRIGGERED, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @iio_device_unregister_trigger_consumer(ptr noundef nonnull %0) #2
br label %8
8: ; preds = %6, %1
%9 = tail call i32 @iio_device_unregister_eventset(ptr noundef nonnull %0) #2
%10 = tail call i32 @iio_device_unregister_sysfs(ptr noundef nonnull %0) #2
%11 = tail call i32 @iio_device_unregister_id(ptr noundef nonnull %0) #2
%12 = getelementptr inbounds %struct.iio_dev, ptr %0, i64 0, i32 1
%13 = tail call i32 @device_unregister(ptr noundef nonnull %12) #2
ret void
}
declare i32 @iio_device_unregister_trigger_consumer(ptr noundef) local_unnamed_addr #1
declare i32 @iio_device_unregister_eventset(ptr noundef) local_unnamed_addr #1
declare i32 @iio_device_unregister_sysfs(ptr noundef) local_unnamed_addr #1
declare i32 @iio_device_unregister_id(ptr noundef) local_unnamed_addr #1
declare i32 @device_unregister(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 = !{!"iio_dev", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-core.c_iio_device_unregister.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-core.c_iio_device_unregister.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INDIO_RING_TRIGGERED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @iio_device_unregister(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @INDIO_RING_TRIGGERED, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @iio_device_unregister_trigger_consumer(ptr noundef nonnull %0) #2
br label %8
8: ; preds = %6, %1
%9 = tail call i32 @iio_device_unregister_eventset(ptr noundef nonnull %0) #2
%10 = tail call i32 @iio_device_unregister_sysfs(ptr noundef nonnull %0) #2
%11 = tail call i32 @iio_device_unregister_id(ptr noundef nonnull %0) #2
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = tail call i32 @device_unregister(ptr noundef nonnull %12) #2
ret void
}
declare i32 @iio_device_unregister_trigger_consumer(ptr noundef) local_unnamed_addr #1
declare i32 @iio_device_unregister_eventset(ptr noundef) local_unnamed_addr #1
declare i32 @iio_device_unregister_sysfs(ptr noundef) local_unnamed_addr #1
declare i32 @iio_device_unregister_id(ptr noundef) local_unnamed_addr #1
declare i32 @device_unregister(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 = !{!"iio_dev", !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}
|
fastsocket_kernel_drivers_staging_iio_extr_industrialio-core.c_iio_device_unregister
|
; ModuleID = 'AnghaBench/winfile/src/extr_wftree.c_GetTreeWindows.c'
source_filename = "AnghaBench/winfile/src/extr_wftree.c_GetTreeWindows.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IDCW_TREECONTROL = dso_local local_unnamed_addr global i32 0, align 4
@IDCW_DIR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @GetTreeWindows(i32 noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = load i32, ptr @IDCW_TREECONTROL, align 4, !tbaa !5
%7 = tail call i32 @GetDlgItem(i32 noundef %0, i32 noundef %6) #2
store i32 %7, ptr %1, align 4, !tbaa !5
br label %8
8: ; preds = %5, %3
%9 = icmp eq ptr %2, null
br i1 %9, label %13, label %10
10: ; preds = %8
%11 = load i32, ptr @IDCW_DIR, align 4, !tbaa !5
%12 = tail call i32 @GetDlgItem(i32 noundef %0, i32 noundef %11) #2
store i32 %12, ptr %2, align 4, !tbaa !5
br label %13
13: ; preds = %10, %8
ret i32 undef
}
declare i32 @GetDlgItem(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/winfile/src/extr_wftree.c_GetTreeWindows.c'
source_filename = "AnghaBench/winfile/src/extr_wftree.c_GetTreeWindows.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IDCW_TREECONTROL = common local_unnamed_addr global i32 0, align 4
@IDCW_DIR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @GetTreeWindows(i32 noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %8, label %5
5: ; preds = %3
%6 = load i32, ptr @IDCW_TREECONTROL, align 4, !tbaa !6
%7 = tail call i32 @GetDlgItem(i32 noundef %0, i32 noundef %6) #2
store i32 %7, ptr %1, align 4, !tbaa !6
br label %8
8: ; preds = %5, %3
%9 = icmp eq ptr %2, null
br i1 %9, label %13, label %10
10: ; preds = %8
%11 = load i32, ptr @IDCW_DIR, align 4, !tbaa !6
%12 = tail call i32 @GetDlgItem(i32 noundef %0, i32 noundef %11) #2
store i32 %12, ptr %2, align 4, !tbaa !6
br label %13
13: ; preds = %10, %8
ret i32 undef
}
declare i32 @GetDlgItem(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"}
|
winfile_src_extr_wftree.c_GetTreeWindows
|
; ModuleID = 'AnghaBench/linux/drivers/media/platform/sti/bdisp/extr_bdisp-v4l2.c_bdisp_ctrls_delete.c'
source_filename = "AnghaBench/linux/drivers/media/platform/sti/bdisp/extr_bdisp-v4l2.c_bdisp_ctrls_delete.c"
target datalayout = "e-m:e-p270:32:32-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.bdisp_ctx = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @bdisp_ctrls_delete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bdisp_ctrls_delete(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.bdisp_ctx, ptr %0, i64 0, i32 1
%6 = tail call i32 @v4l2_ctrl_handler_free(ptr noundef nonnull %5) #2
store i32 0, ptr %0, align 4, !tbaa !5
br label %7
7: ; preds = %4, %1
ret void
}
declare i32 @v4l2_ctrl_handler_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, !7, i64 0}
!6 = !{!"bdisp_ctx", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/media/platform/sti/bdisp/extr_bdisp-v4l2.c_bdisp_ctrls_delete.c'
source_filename = "AnghaBench/linux/drivers/media/platform/sti/bdisp/extr_bdisp-v4l2.c_bdisp_ctrls_delete.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 @bdisp_ctrls_delete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bdisp_ctrls_delete(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = tail call i32 @v4l2_ctrl_handler_free(ptr noundef nonnull %5) #2
store i32 0, ptr %0, align 4, !tbaa !6
br label %7
7: ; preds = %4, %1
ret void
}
declare i32 @v4l2_ctrl_handler_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, !8, i64 0}
!7 = !{!"bdisp_ctx", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_media_platform_sti_bdisp_extr_bdisp-v4l2.c_bdisp_ctrls_delete
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_coretemp.c_show_temp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_coretemp.c_show_temp.c"
target datalayout = "e-m:e-p270:32:32-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.temp_data = type { i32, i32, i32, i32, i64, i32, i32 }
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@HZ = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_temp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_temp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3
%7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = load i64, ptr %6, align 8, !tbaa !10
%10 = getelementptr inbounds ptr, ptr %8, i64 %9
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = getelementptr inbounds %struct.temp_data, ptr %11, i64 0, i32 3
%13 = tail call i32 @mutex_lock(ptr noundef nonnull %12) #3
%14 = load i32, ptr %11, align 8, !tbaa !14
%15 = icmp eq i32 %14, 0
br i1 %15, label %24, label %16
16: ; preds = %3
%17 = load i64, ptr @jiffies, align 8, !tbaa !17
%18 = getelementptr inbounds %struct.temp_data, ptr %11, i64 0, i32 4
%19 = load i64, ptr %18, align 8, !tbaa !18
%20 = load i64, ptr @HZ, align 8, !tbaa !17
%21 = add nsw i64 %20, %19
%22 = tail call i64 @time_after(i64 noundef %17, i64 noundef %21) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %43, label %24
24: ; preds = %16, %3
%25 = getelementptr inbounds %struct.temp_data, ptr %11, i64 0, i32 6
%26 = load i32, ptr %25, align 4, !tbaa !19
%27 = getelementptr inbounds %struct.temp_data, ptr %11, i64 0, i32 5
%28 = load i32, ptr %27, align 8, !tbaa !20
%29 = call i32 @rdmsr_on_cpu(i32 noundef %26, i32 noundef %28, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
store i32 0, ptr %11, align 8, !tbaa !14
%30 = load i32, ptr %4, align 4, !tbaa !21
%31 = icmp sgt i32 %30, -1
br i1 %31, label %40, label %32
32: ; preds = %24
%33 = getelementptr inbounds %struct.temp_data, ptr %11, i64 0, i32 2
%34 = load i32, ptr %33, align 8, !tbaa !22
%35 = lshr i32 %30, 16
%36 = and i32 %35, 127
%37 = mul nsw i32 %36, -1000
%38 = add i32 %34, %37
%39 = getelementptr inbounds %struct.temp_data, ptr %11, i64 0, i32 1
store i32 %38, ptr %39, align 4, !tbaa !23
store i32 1, ptr %11, align 8, !tbaa !14
br label %40
40: ; preds = %32, %24
%41 = load i64, ptr @jiffies, align 8, !tbaa !17
%42 = getelementptr inbounds %struct.temp_data, ptr %11, i64 0, i32 4
store i64 %41, ptr %42, align 8, !tbaa !18
br label %43
43: ; preds = %40, %16
%44 = call i32 @mutex_unlock(ptr noundef nonnull %12) #3
%45 = load i32, ptr %11, align 8, !tbaa !14
%46 = icmp eq i32 %45, 0
br i1 %46, label %51, label %47
47: ; preds = %43
%48 = getelementptr inbounds %struct.temp_data, ptr %11, i64 0, i32 1
%49 = load i32, ptr %48, align 4, !tbaa !23
%50 = call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %49) #3
br label %54
51: ; preds = %43
%52 = load i32, ptr @EAGAIN, align 4, !tbaa !21
%53 = sub nsw i32 0, %52
br label %54
54: ; preds = %51, %47
%55 = phi i32 [ %50, %47 ], [ %53, %51 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %55
}
; 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_sensor_dev_attr(ptr noundef) local_unnamed_addr #2
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @rdmsr_on_cpu(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @sprintf(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, !7, i64 0}
!6 = !{!"platform_data", !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 = !{!"sensor_device_attribute", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"temp_data", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !12, i64 16, !16, i64 24, !16, i64 28}
!16 = !{!"int", !8, i64 0}
!17 = !{!12, !12, i64 0}
!18 = !{!15, !12, i64 16}
!19 = !{!15, !16, i64 28}
!20 = !{!15, !16, i64 24}
!21 = !{!16, !16, i64 0}
!22 = !{!15, !16, i64 8}
!23 = !{!15, !16, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_coretemp.c_show_temp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_coretemp.c_show_temp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
@HZ = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @show_temp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_temp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3
%7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = load i64, ptr %6, align 8, !tbaa !11
%10 = getelementptr inbounds ptr, ptr %8, i64 %9
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = getelementptr inbounds i8, ptr %11, i64 12
%13 = tail call i32 @mutex_lock(ptr noundef nonnull %12) #3
%14 = load i32, ptr %11, align 8, !tbaa !15
%15 = icmp eq i32 %14, 0
br i1 %15, label %24, label %16
16: ; preds = %3
%17 = load i64, ptr @jiffies, align 8, !tbaa !18
%18 = getelementptr inbounds i8, ptr %11, i64 16
%19 = load i64, ptr %18, align 8, !tbaa !19
%20 = load i64, ptr @HZ, align 8, !tbaa !18
%21 = add nsw i64 %20, %19
%22 = tail call i64 @time_after(i64 noundef %17, i64 noundef %21) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %43, label %24
24: ; preds = %16, %3
%25 = getelementptr inbounds i8, ptr %11, i64 28
%26 = load i32, ptr %25, align 4, !tbaa !20
%27 = getelementptr inbounds i8, ptr %11, i64 24
%28 = load i32, ptr %27, align 8, !tbaa !21
%29 = call i32 @rdmsr_on_cpu(i32 noundef %26, i32 noundef %28, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
store i32 0, ptr %11, align 8, !tbaa !15
%30 = load i32, ptr %4, align 4, !tbaa !22
%31 = icmp sgt i32 %30, -1
br i1 %31, label %40, label %32
32: ; preds = %24
%33 = getelementptr inbounds i8, ptr %11, i64 8
%34 = load i32, ptr %33, align 8, !tbaa !23
%35 = lshr i32 %30, 16
%36 = and i32 %35, 127
%37 = mul nsw i32 %36, -1000
%38 = add i32 %34, %37
%39 = getelementptr inbounds i8, ptr %11, i64 4
store i32 %38, ptr %39, align 4, !tbaa !24
store i32 1, ptr %11, align 8, !tbaa !15
br label %40
40: ; preds = %32, %24
%41 = load i64, ptr @jiffies, align 8, !tbaa !18
%42 = getelementptr inbounds i8, ptr %11, i64 16
store i64 %41, ptr %42, align 8, !tbaa !19
br label %43
43: ; preds = %40, %16
%44 = call i32 @mutex_unlock(ptr noundef nonnull %12) #3
%45 = load i32, ptr %11, align 8, !tbaa !15
%46 = icmp eq i32 %45, 0
br i1 %46, label %51, label %47
47: ; preds = %43
%48 = getelementptr inbounds i8, ptr %11, i64 4
%49 = load i32, ptr %48, align 4, !tbaa !24
%50 = call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %49) #3
br label %54
51: ; preds = %43
%52 = load i32, ptr @EAGAIN, align 4, !tbaa !22
%53 = sub nsw i32 0, %52
br label %54
54: ; preds = %51, %47
%55 = phi i32 [ %50, %47 ], [ %53, %51 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %55
}
; 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_sensor_dev_attr(ptr noundef) local_unnamed_addr #2
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @rdmsr_on_cpu(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @sprintf(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, !8, i64 0}
!7 = !{!"platform_data", !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 = !{!"sensor_device_attribute", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"temp_data", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !13, i64 16, !17, i64 24, !17, i64 28}
!17 = !{!"int", !9, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{!16, !13, i64 16}
!20 = !{!16, !17, i64 28}
!21 = !{!16, !17, i64 24}
!22 = !{!17, !17, i64 0}
!23 = !{!16, !17, i64 8}
!24 = !{!16, !17, i64 4}
|
fastsocket_kernel_drivers_hwmon_extr_coretemp.c_show_temp
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/extr_phy.c_rtl8821ae_phy_get_txpower_level.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/extr_phy.c_rtl8821ae_phy_get_txpower_level.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.rtl_phy = type { i32, i32 }
@WIRELESS_MODE_B = dso_local local_unnamed_addr global i32 0, align 4
@WIRELESS_MODE_G = dso_local local_unnamed_addr global i32 0, align 4
@WIRELESS_MODE_N_24G = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @rtl8821ae_phy_get_txpower_level(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = tail call ptr @rtl_priv(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.rtl_phy, ptr %3, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr @WIRELESS_MODE_B, align 4, !tbaa !10
%7 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %6, i32 noundef %5) #2
%8 = load i32, ptr %3, align 4, !tbaa !11
%9 = load i32, ptr @WIRELESS_MODE_G, align 4, !tbaa !10
%10 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %9, i32 noundef %8) #2
%11 = icmp sgt i64 %10, %7
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @WIRELESS_MODE_G, align 4, !tbaa !10
%14 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %13, i32 noundef %8) #2
br label %15
15: ; preds = %12, %2
%16 = phi i64 [ %14, %12 ], [ %7, %2 ]
%17 = load i32, ptr %3, align 4, !tbaa !11
%18 = load i32, ptr @WIRELESS_MODE_N_24G, align 4, !tbaa !10
%19 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %18, i32 noundef %17) #2
%20 = icmp sgt i64 %19, %16
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load i32, ptr @WIRELESS_MODE_N_24G, align 4, !tbaa !10
%23 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %22, i32 noundef %17) #2
br label %24
24: ; preds = %21, %15
%25 = phi i64 [ %23, %21 ], [ %16, %15 ]
store i64 %25, ptr %1, align 8, !tbaa !12
ret void
}
declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1
declare i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(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 4}
!6 = !{!"rtl_phy", !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}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/extr_phy.c_rtl8821ae_phy_get_txpower_level.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/extr_phy.c_rtl8821ae_phy_get_txpower_level.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WIRELESS_MODE_B = common local_unnamed_addr global i32 0, align 4
@WIRELESS_MODE_G = common local_unnamed_addr global i32 0, align 4
@WIRELESS_MODE_N_24G = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @rtl8821ae_phy_get_txpower_level(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = tail call ptr @rtl_priv(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr @WIRELESS_MODE_B, align 4, !tbaa !11
%7 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %6, i32 noundef %5) #2
%8 = load i32, ptr %3, align 4, !tbaa !12
%9 = load i32, ptr @WIRELESS_MODE_G, align 4, !tbaa !11
%10 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %9, i32 noundef %8) #2
%11 = icmp sgt i64 %10, %7
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @WIRELESS_MODE_G, align 4, !tbaa !11
%14 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %13, i32 noundef %8) #2
br label %15
15: ; preds = %12, %2
%16 = phi i64 [ %14, %12 ], [ %7, %2 ]
%17 = load i32, ptr %3, align 4, !tbaa !12
%18 = load i32, ptr @WIRELESS_MODE_N_24G, align 4, !tbaa !11
%19 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %18, i32 noundef %17) #2
%20 = icmp sgt i64 %19, %16
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load i32, ptr @WIRELESS_MODE_N_24G, align 4, !tbaa !11
%23 = tail call i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(ptr noundef %0, i32 noundef %22, i32 noundef %17) #2
br label %24
24: ; preds = %21, %15
%25 = phi i64 [ %23, %21 ], [ %16, %15 ]
store i64 %25, ptr %1, align 8, !tbaa !13
ret void
}
declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1
declare i64 @_rtl8821ae_phy_txpwr_idx_to_dbm(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 4}
!7 = !{!"rtl_phy", !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}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
|
linux_drivers_net_wireless_realtek_rtlwifi_rtl8821ae_extr_phy.c_rtl8821ae_phy_get_txpower_level
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs3xdr.c_nfs3_xdr_sattrargs.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs3xdr.c_nfs3_xdr_sattrargs.c"
target datalayout = "e-m:e-p270:32:32-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.nfs3_sattrargs = type { i32, i64, i32, i32 }
%struct.rpc_rqst = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @nfs3_xdr_sattrargs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @nfs3_xdr_sattrargs(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.nfs3_sattrargs, ptr %2, i64 0, i32 3
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @xdr_encode_fhandle(ptr noundef %1, i32 noundef %5) #2
%7 = getelementptr inbounds %struct.nfs3_sattrargs, ptr %2, i64 0, i32 2
%8 = load i32, ptr %7, align 8, !tbaa !11
%9 = tail call ptr @xdr_encode_sattr(ptr noundef %6, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.nfs3_sattrargs, ptr %2, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !12
%12 = tail call i32 @htonl(i64 noundef %11) #2
%13 = getelementptr inbounds i32, ptr %9, i64 1
store i32 %12, ptr %9, align 4, !tbaa !13
%14 = load i64, ptr %10, align 8, !tbaa !12
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %3
%17 = tail call ptr @xdr_encode_time3(ptr noundef nonnull %13, ptr noundef nonnull %2) #2
br label %18
18: ; preds = %16, %3
%19 = phi ptr [ %17, %16 ], [ %13, %3 ]
%20 = load i32, ptr %0, align 4, !tbaa !14
%21 = tail call i32 @xdr_adjust_iovec(i32 noundef %20, ptr noundef %19) #2
%22 = getelementptr inbounds %struct.rpc_rqst, ptr %0, i64 0, i32 1
store i32 %21, ptr %22, align 4, !tbaa !16
ret i32 0
}
declare ptr @xdr_encode_fhandle(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xdr_encode_sattr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @htonl(i64 noundef) local_unnamed_addr #1
declare ptr @xdr_encode_time3(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xdr_adjust_iovec(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 20}
!6 = !{!"nfs3_sattrargs", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !10, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"rpc_rqst", !7, i64 0, !7, i64 4}
!16 = !{!15, !7, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs3xdr.c_nfs3_xdr_sattrargs.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs3xdr.c_nfs3_xdr_sattrargs.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 @nfs3_xdr_sattrargs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @nfs3_xdr_sattrargs(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %2, i64 20
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @xdr_encode_fhandle(ptr noundef %1, i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %2, i64 16
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = tail call ptr @xdr_encode_sattr(ptr noundef %6, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = tail call i32 @htonl(i64 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %9, i64 4
store i32 %12, ptr %9, align 4, !tbaa !14
%14 = load i64, ptr %10, align 8, !tbaa !13
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %3
%17 = tail call ptr @xdr_encode_time3(ptr noundef nonnull %13, ptr noundef nonnull %2) #2
br label %18
18: ; preds = %16, %3
%19 = phi ptr [ %17, %16 ], [ %13, %3 ]
%20 = load i32, ptr %0, align 4, !tbaa !15
%21 = tail call i32 @xdr_adjust_iovec(i32 noundef %20, ptr noundef %19) #2
%22 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %21, ptr %22, align 4, !tbaa !17
ret i32 0
}
declare ptr @xdr_encode_fhandle(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @xdr_encode_sattr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @htonl(i64 noundef) local_unnamed_addr #1
declare ptr @xdr_encode_time3(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @xdr_adjust_iovec(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 20}
!7 = !{!"nfs3_sattrargs", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 16}
!13 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"rpc_rqst", !8, i64 0, !8, i64 4}
!17 = !{!16, !8, i64 4}
|
fastsocket_kernel_fs_nfs_extr_nfs3xdr.c_nfs3_xdr_sattrargs
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_ip32.c_parport_ip32_disable_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_ip32.c_parport_ip32_disable_irq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DCR_IRQ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parport_ip32_disable_irq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @parport_ip32_disable_irq(ptr noundef %0) #0 {
%2 = load i32, ptr @DCR_IRQ, align 4, !tbaa !5
%3 = tail call i32 @__parport_ip32_frob_control(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
ret void
}
declare i32 @__parport_ip32_frob_control(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_ip32.c_parport_ip32_disable_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/parport/extr_parport_ip32.c_parport_ip32_disable_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DCR_IRQ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parport_ip32_disable_irq], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @parport_ip32_disable_irq(ptr noundef %0) #0 {
%2 = load i32, ptr @DCR_IRQ, align 4, !tbaa !6
%3 = tail call i32 @__parport_ip32_frob_control(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
ret void
}
declare i32 @__parport_ip32_frob_control(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_parport_extr_parport_ip32.c_parport_ip32_disable_irq
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_vendor_test.c_eap_vendor_test_isSuccess.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_vendor_test.c_eap_vendor_test_isSuccess.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @eap_vendor_test_isSuccess], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @eap_vendor_test_isSuccess(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @SUCCESS, align 8, !tbaa !10
%5 = icmp eq i64 %3, %4
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"eap_vendor_test_data", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_vendor_test.c_eap_vendor_test_isSuccess.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_vendor_test.c_eap_vendor_test_isSuccess.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SUCCESS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @eap_vendor_test_isSuccess], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @eap_vendor_test_isSuccess(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @SUCCESS, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
%6 = zext i1 %5 to i32
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"eap_vendor_test_data", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
freebsd_contrib_wpa_src_eap_server_extr_eap_server_vendor_test.c_eap_vendor_test_isSuccess
|
; ModuleID = 'AnghaBench/FFmpeg/libavdevice/extr_v4l2-common.c_ff_fmt_v4l2codec.c'
source_filename = "AnghaBench/FFmpeg/libavdevice/extr_v4l2-common.c_ff_fmt_v4l2codec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i64 }
@ff_fmt_conversion_table = dso_local local_unnamed_addr global ptr null, align 8
@AV_CODEC_ID_NONE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @ff_fmt_v4l2codec(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @ff_fmt_conversion_table, align 8, !tbaa !5
%3 = load i64, ptr @AV_CODEC_ID_NONE, align 8, !tbaa !9
%4 = load i64, ptr %2, align 8, !tbaa !11
%5 = icmp eq i64 %4, %3
br i1 %5, label %20, label %6
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = icmp eq i64 %8, %0
br i1 %9, label %20, label %10
10: ; preds = %6, %16
%11 = phi i64 [ %12, %16 ], [ 0, %6 ]
%12 = add nuw i64 %11, 1
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !11
%15 = icmp eq i64 %14, %3
br i1 %15, label %20, label %16, !llvm.loop !14
16: ; preds = %10
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %12, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = icmp eq i64 %18, %0
br i1 %19, label %20, label %10, !llvm.loop !14
20: ; preds = %10, %16, %6, %1
%21 = phi i64 [ %3, %1 ], [ %4, %6 ], [ %14, %16 ], [ %3, %10 ]
%22 = trunc i64 %21 to i32
ret i32 %22
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/FFmpeg/libavdevice/extr_v4l2-common.c_ff_fmt_v4l2codec.c'
source_filename = "AnghaBench/FFmpeg/libavdevice/extr_v4l2-common.c_ff_fmt_v4l2codec.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i64 }
@ff_fmt_conversion_table = common local_unnamed_addr global ptr null, align 8
@AV_CODEC_ID_NONE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @ff_fmt_v4l2codec(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @ff_fmt_conversion_table, align 8, !tbaa !6
%3 = load i64, ptr @AV_CODEC_ID_NONE, align 8, !tbaa !10
%4 = load i64, ptr %2, align 8, !tbaa !12
%5 = icmp eq i64 %4, %3
br i1 %5, label %20, label %6
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %2, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = icmp eq i64 %8, %0
br i1 %9, label %20, label %10
10: ; preds = %6, %16
%11 = phi i64 [ %12, %16 ], [ 0, %6 ]
%12 = add nuw nsw i64 %11, 1
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = icmp eq i64 %14, %3
br i1 %15, label %20, label %16, !llvm.loop !15
16: ; preds = %10
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %12, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !14
%19 = icmp eq i64 %18, %0
br i1 %19, label %20, label %10, !llvm.loop !15
20: ; preds = %10, %16, %6, %1
%21 = phi i64 [ %3, %1 ], [ %4, %6 ], [ %14, %16 ], [ %3, %10 ]
%22 = trunc i64 %21 to i32
ret i32 %22
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
FFmpeg_libavdevice_extr_v4l2-common.c_ff_fmt_v4l2codec
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_rndis_wlan.c_rndis_wlan_indication.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_rndis_wlan.c_rndis_wlan_indication.c"
target datalayout = "e-m:e-p270:32:32-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.rndis_wlan_private = type { i32, i32, i32, i32 }
@OID_802_11_ADD_KEY = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c"ignored OID_802_11_ADD_KEY triggered 'media connect'\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"media connect\0A\00", align 1
@WORK_LINK_UP = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"media disconnect\0A\00", align 1
@WORK_LINK_DOWN = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c"indication: 0x%08x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rndis_wlan_indication], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rndis_wlan_indication(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @get_rndis_wlan_priv(ptr noundef %0) #2
%5 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %5, label %35 [
i32 130, label %6
i32 129, label %24
i32 128, label %33
]
6: ; preds = %3
%7 = getelementptr inbounds %struct.rndis_wlan_private, ptr %4, i64 0, i32 3
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = load i32, ptr @OID_802_11_ADD_KEY, align 4, !tbaa !12
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load i32, ptr %0, align 4, !tbaa !13
%13 = tail call i32 @netdev_dbg(i32 noundef %12, ptr noundef nonnull @.str) #2
br label %39
14: ; preds = %6
%15 = tail call i32 @usbnet_pause_rx(ptr noundef %0) #2
%16 = load i32, ptr %0, align 4, !tbaa !13
%17 = tail call i32 (i32, ptr, ...) @netdev_info(i32 noundef %16, ptr noundef nonnull @.str.1) #2
%18 = load i32, ptr @WORK_LINK_UP, align 4, !tbaa !12
%19 = getelementptr inbounds %struct.rndis_wlan_private, ptr %4, i64 0, i32 2
%20 = tail call i32 @set_bit(i32 noundef %18, ptr noundef nonnull %19) #2
%21 = getelementptr inbounds %struct.rndis_wlan_private, ptr %4, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = tail call i32 @queue_work(i32 noundef %22, ptr noundef nonnull %4) #2
br label %39
24: ; preds = %3
%25 = load i32, ptr %0, align 4, !tbaa !13
%26 = tail call i32 (i32, ptr, ...) @netdev_info(i32 noundef %25, ptr noundef nonnull @.str.2) #2
%27 = load i32, ptr @WORK_LINK_DOWN, align 4, !tbaa !12
%28 = getelementptr inbounds %struct.rndis_wlan_private, ptr %4, i64 0, i32 2
%29 = tail call i32 @set_bit(i32 noundef %27, ptr noundef nonnull %28) #2
%30 = getelementptr inbounds %struct.rndis_wlan_private, ptr %4, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !15
%32 = tail call i32 @queue_work(i32 noundef %31, ptr noundef %4) #2
br label %39
33: ; preds = %3
%34 = tail call i32 @rndis_wlan_media_specific_indication(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #2
br label %39
35: ; preds = %3
%36 = load i32, ptr %0, align 4, !tbaa !13
%37 = tail call i32 @le32_to_cpu(i32 noundef %5) #2
%38 = tail call i32 (i32, ptr, ...) @netdev_info(i32 noundef %36, ptr noundef nonnull @.str.3, i32 noundef %37) #2
br label %39
39: ; preds = %14, %24, %33, %35, %11
ret void
}
declare ptr @get_rndis_wlan_priv(ptr noundef) local_unnamed_addr #1
declare i32 @netdev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usbnet_pause_rx(ptr noundef) local_unnamed_addr #1
declare i32 @netdev_info(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rndis_wlan_media_specific_indication(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le32_to_cpu(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 = !{!"rndis_indicate", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 12}
!11 = !{!"rndis_wlan_private", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"usbnet", !7, i64 0}
!15 = !{!11, !7, i64 4}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_rndis_wlan.c_rndis_wlan_indication.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_rndis_wlan.c_rndis_wlan_indication.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OID_802_11_ADD_KEY = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c"ignored OID_802_11_ADD_KEY triggered 'media connect'\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"media connect\0A\00", align 1
@WORK_LINK_UP = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [18 x i8] c"media disconnect\0A\00", align 1
@WORK_LINK_DOWN = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c"indication: 0x%08x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rndis_wlan_indication], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rndis_wlan_indication(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @get_rndis_wlan_priv(ptr noundef %0) #2
%5 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %5, label %35 [
i32 130, label %6
i32 129, label %24
i32 128, label %33
]
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %4, i64 12
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = load i32, ptr @OID_802_11_ADD_KEY, align 4, !tbaa !13
%10 = icmp eq i32 %8, %9
br i1 %10, label %11, label %14
11: ; preds = %6
%12 = load i32, ptr %0, align 4, !tbaa !14
%13 = tail call i32 @netdev_dbg(i32 noundef %12, ptr noundef nonnull @.str) #2
br label %39
14: ; preds = %6
%15 = tail call i32 @usbnet_pause_rx(ptr noundef %0) #2
%16 = load i32, ptr %0, align 4, !tbaa !14
%17 = tail call i32 (i32, ptr, ...) @netdev_info(i32 noundef %16, ptr noundef nonnull @.str.1) #2
%18 = load i32, ptr @WORK_LINK_UP, align 4, !tbaa !13
%19 = getelementptr inbounds i8, ptr %4, i64 8
%20 = tail call i32 @set_bit(i32 noundef %18, ptr noundef nonnull %19) #2
%21 = getelementptr inbounds i8, ptr %4, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = tail call i32 @queue_work(i32 noundef %22, ptr noundef nonnull %4) #2
br label %39
24: ; preds = %3
%25 = load i32, ptr %0, align 4, !tbaa !14
%26 = tail call i32 (i32, ptr, ...) @netdev_info(i32 noundef %25, ptr noundef nonnull @.str.2) #2
%27 = load i32, ptr @WORK_LINK_DOWN, align 4, !tbaa !13
%28 = getelementptr inbounds i8, ptr %4, i64 8
%29 = tail call i32 @set_bit(i32 noundef %27, ptr noundef nonnull %28) #2
%30 = getelementptr inbounds i8, ptr %4, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !16
%32 = tail call i32 @queue_work(i32 noundef %31, ptr noundef %4) #2
br label %39
33: ; preds = %3
%34 = tail call i32 @rndis_wlan_media_specific_indication(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #2
br label %39
35: ; preds = %3
%36 = load i32, ptr %0, align 4, !tbaa !14
%37 = tail call i32 @le32_to_cpu(i32 noundef %5) #2
%38 = tail call i32 (i32, ptr, ...) @netdev_info(i32 noundef %36, ptr noundef nonnull @.str.3, i32 noundef %37) #2
br label %39
39: ; preds = %14, %24, %33, %35, %11
ret void
}
declare ptr @get_rndis_wlan_priv(ptr noundef) local_unnamed_addr #1
declare i32 @netdev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usbnet_pause_rx(ptr noundef) local_unnamed_addr #1
declare i32 @netdev_info(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rndis_wlan_media_specific_indication(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le32_to_cpu(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 = !{!"rndis_indicate", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 12}
!12 = !{!"rndis_wlan_private", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"usbnet", !8, i64 0}
!16 = !{!12, !8, i64 4}
|
fastsocket_kernel_drivers_net_wireless_extr_rndis_wlan.c_rndis_wlan_indication
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parisc/extr_ccio-dma.c_ccio_find_ioc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/parisc/extr_ccio-dma.c_ccio_find_ioc.c"
target datalayout = "e-m:e-p270:32:32-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.ioc = type { i32, ptr }
@ioc_list = dso_local local_unnamed_addr global ptr null, align 8
@ioc_count = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccio_find_ioc], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal noundef ptr @ccio_find_ioc(i32 noundef %0) #0 {
%2 = load i32, ptr @ioc_count, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %14
4: ; preds = %1, %10
%5 = phi ptr [ %11, %10 ], [ @ioc_list, %1 ]
%6 = phi i32 [ %12, %10 ], [ 0, %1 ]
%7 = load ptr, ptr %5, align 8, !tbaa !9
%8 = load i32, ptr %7, align 8, !tbaa !11
%9 = icmp eq i32 %8, %0
br i1 %9, label %14, label %10
10: ; preds = %4
%11 = getelementptr inbounds %struct.ioc, ptr %7, i64 0, i32 1
%12 = add nuw nsw i32 %6, 1
%13 = icmp eq i32 %12, %2
br i1 %13, label %14, label %4, !llvm.loop !13
14: ; preds = %4, %10, %1
%15 = phi ptr [ null, %1 ], [ null, %10 ], [ %7, %4 ]
ret ptr %15
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"ioc", !6, i64 0, !10, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parisc/extr_ccio-dma.c_ccio_find_ioc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/parisc/extr_ccio-dma.c_ccio_find_ioc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ioc_list = common local_unnamed_addr global ptr null, align 8
@ioc_count = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ccio_find_ioc], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal noundef ptr @ccio_find_ioc(i32 noundef %0) #0 {
%2 = load i32, ptr @ioc_count, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %14
4: ; preds = %1, %10
%5 = phi ptr [ %11, %10 ], [ @ioc_list, %1 ]
%6 = phi i32 [ %12, %10 ], [ 0, %1 ]
%7 = load ptr, ptr %5, align 8, !tbaa !10
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = icmp eq i32 %8, %0
br i1 %9, label %14, label %10
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %7, i64 8
%12 = add nuw nsw i32 %6, 1
%13 = icmp eq i32 %12, %2
br i1 %13, label %14, label %4, !llvm.loop !14
14: ; preds = %4, %10, %1
%15 = phi ptr [ null, %1 ], [ null, %10 ], [ %7, %4 ]
ret ptr %15
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"ioc", !7, i64 0, !11, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_drivers_parisc_extr_ccio-dma.c_ccio_find_ioc
|
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_smp.c_smp_cmd_security_req.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_smp.c_smp_cmd_security_req.c"
target datalayout = "e-m:e-p270:32:32-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.smp_cmd_pairing = type { i32 }
%struct.sk_buff = type { i32, i64 }
%struct.hci_conn = type { i64, i64, i64, i64, ptr }
@.str = private unnamed_addr constant [8 x i8] c"conn %p\00", align 1
@SMP_INVALID_PARAMS = dso_local local_unnamed_addr global i64 0, align 8
@HCI_ROLE_MASTER = dso_local local_unnamed_addr global i64 0, align 8
@SMP_CMD_NOTSUPP = dso_local local_unnamed_addr global i64 0, align 8
@HCI_SC_ONLY = dso_local local_unnamed_addr global i32 0, align 4
@SMP_AUTH_SC = dso_local local_unnamed_addr global i64 0, align 8
@SMP_AUTH_REQUIREMENTS = dso_local local_unnamed_addr global i64 0, align 8
@HCI_IO_NO_INPUT_OUTPUT = dso_local local_unnamed_addr global i64 0, align 8
@BT_SECURITY_MEDIUM = dso_local local_unnamed_addr global i64 0, align 8
@SMP_USE_LTK = dso_local local_unnamed_addr global i32 0, align 4
@SMP_UNSPECIFIED = dso_local local_unnamed_addr global i64 0, align 8
@HCI_BONDABLE = dso_local local_unnamed_addr global i32 0, align 4
@SMP_AUTH_BONDING = dso_local local_unnamed_addr global i64 0, align 8
@SMP_PAIRING_NOTSUPP = dso_local local_unnamed_addr global i64 0, align 8
@SMP_CMD_PAIRING_REQ = dso_local local_unnamed_addr global i32 0, align 4
@SMP_CMD_PAIRING_RSP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @smp_cmd_security_req], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @smp_cmd_security_req(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.smp_cmd_pairing, align 4
%4 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = inttoptr i64 %5 to ptr
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%7 = load ptr, ptr %0, align 8, !tbaa !11
%8 = getelementptr inbounds %struct.hci_conn, ptr %7, i64 0, i32 4
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0) #3
%11 = load i32, ptr %1, align 8, !tbaa !16
%12 = icmp ult i32 %11, 8
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i64, ptr @SMP_INVALID_PARAMS, align 8, !tbaa !17
br label %88
15: ; preds = %2
%16 = load i64, ptr %7, align 8, !tbaa !18
%17 = load i64, ptr @HCI_ROLE_MASTER, align 8, !tbaa !17
%18 = icmp eq i64 %16, %17
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = load i64, ptr @SMP_CMD_NOTSUPP, align 8, !tbaa !17
br label %88
21: ; preds = %15
%22 = load i64, ptr %6, align 8, !tbaa !19
%23 = tail call i64 @AUTH_REQ_MASK(ptr noundef %9) #3
%24 = and i64 %23, %22
%25 = load i32, ptr @HCI_SC_ONLY, align 4, !tbaa !21
%26 = tail call i64 @hci_dev_test_flag(ptr noundef %9, i32 noundef %25) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %34, label %28
28: ; preds = %21
%29 = load i64, ptr @SMP_AUTH_SC, align 8, !tbaa !17
%30 = and i64 %29, %24
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = load i64, ptr @SMP_AUTH_REQUIREMENTS, align 8, !tbaa !17
br label %88
34: ; preds = %28, %21
%35 = getelementptr inbounds %struct.hci_conn, ptr %7, i64 0, i32 1
%36 = load i64, ptr %35, align 8, !tbaa !22
%37 = load i64, ptr @HCI_IO_NO_INPUT_OUTPUT, align 8, !tbaa !17
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %41
39: ; preds = %34
%40 = load i64, ptr @BT_SECURITY_MEDIUM, align 8, !tbaa !17
br label %43
41: ; preds = %34
%42 = tail call i64 @authreq_to_seclevel(i64 noundef %24) #3
br label %43
43: ; preds = %41, %39
%44 = phi i64 [ %40, %39 ], [ %42, %41 ]
%45 = load i32, ptr @SMP_USE_LTK, align 4, !tbaa !21
%46 = tail call i64 @smp_sufficient_security(ptr noundef nonnull %7, i64 noundef %44, i32 noundef %45) #3
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %43
%49 = getelementptr inbounds %struct.hci_conn, ptr %7, i64 0, i32 2
%50 = load i64, ptr %49, align 8, !tbaa !23
%51 = tail call i64 @smp_ltk_encrypt(ptr noundef nonnull %0, i64 noundef %50) #3
br label %88
52: ; preds = %43
%53 = getelementptr inbounds %struct.hci_conn, ptr %7, i64 0, i32 3
%54 = load i64, ptr %53, align 8, !tbaa !24
%55 = icmp sgt i64 %44, %54
br i1 %55, label %56, label %57
56: ; preds = %52
store i64 %44, ptr %53, align 8, !tbaa !24
br label %57
57: ; preds = %56, %52
%58 = phi i64 [ %44, %56 ], [ %54, %52 ]
%59 = tail call i64 @smp_ltk_encrypt(ptr noundef nonnull %0, i64 noundef %58) #3
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %88
61: ; preds = %57
%62 = tail call ptr @smp_chan_create(ptr noundef nonnull %0) #3
%63 = icmp eq ptr %62, null
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = load i64, ptr @SMP_UNSPECIFIED, align 8, !tbaa !17
br label %88
66: ; preds = %61
%67 = load i32, ptr @HCI_BONDABLE, align 4, !tbaa !21
%68 = tail call i64 @hci_dev_test_flag(ptr noundef %9, i32 noundef %67) #3
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %76
70: ; preds = %66
%71 = load i64, ptr @SMP_AUTH_BONDING, align 8, !tbaa !17
%72 = and i64 %71, %24
%73 = icmp eq i64 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %70
%75 = load i64, ptr @SMP_PAIRING_NOTSUPP, align 8, !tbaa !17
br label %88
76: ; preds = %70, %66
%77 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef 8) #3
%78 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #3
%79 = call i32 @build_pairing_cmd(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef null, i64 noundef %24) #3
%80 = load i32, ptr @SMP_CMD_PAIRING_REQ, align 4, !tbaa !21
%81 = load ptr, ptr %62, align 8, !tbaa !25
store i32 %80, ptr %81, align 4, !tbaa !21
%82 = getelementptr inbounds i32, ptr %81, i64 1
%83 = call i32 @memcpy(ptr noundef nonnull %82, ptr noundef nonnull %3, i32 noundef 4) #3
%84 = load i32, ptr @SMP_CMD_PAIRING_REQ, align 4, !tbaa !21
%85 = call i32 @smp_send_cmd(ptr noundef nonnull %0, i32 noundef %84, i32 noundef 4, ptr noundef nonnull %3) #3
%86 = load i32, ptr @SMP_CMD_PAIRING_RSP, align 4, !tbaa !21
%87 = call i32 @SMP_ALLOW_CMD(ptr noundef nonnull %62, i32 noundef %86) #3
br label %88
88: ; preds = %57, %76, %74, %64, %48, %32, %19, %13
%89 = phi i64 [ %14, %13 ], [ %20, %19 ], [ 0, %48 ], [ 0, %76 ], [ %75, %74 ], [ %65, %64 ], [ %33, %32 ], [ 0, %57 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i64 %89
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BT_DBG(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @AUTH_REQ_MASK(ptr noundef) local_unnamed_addr #2
declare i64 @hci_dev_test_flag(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @authreq_to_seclevel(i64 noundef) local_unnamed_addr #2
declare i64 @smp_sufficient_security(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @smp_ltk_encrypt(ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @smp_chan_create(ptr noundef) local_unnamed_addr #2
declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @build_pairing_cmd(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @smp_send_cmd(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SMP_ALLOW_CMD(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"sk_buff", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"l2cap_conn", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 32}
!15 = !{!"hci_conn", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !13, i64 32}
!16 = !{!6, !7, i64 0}
!17 = !{!10, !10, i64 0}
!18 = !{!15, !10, i64 0}
!19 = !{!20, !10, i64 0}
!20 = !{!"smp_cmd_security_req", !10, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!15, !10, i64 8}
!23 = !{!15, !10, i64 16}
!24 = !{!15, !10, i64 24}
!25 = !{!26, !13, i64 0}
!26 = !{!"smp_chan", !13, i64 0}
|
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_smp.c_smp_cmd_security_req.c'
source_filename = "AnghaBench/linux/net/bluetooth/extr_smp.c_smp_cmd_security_req.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.smp_cmd_pairing = type { i32 }
@.str = private unnamed_addr constant [8 x i8] c"conn %p\00", align 1
@SMP_INVALID_PARAMS = common local_unnamed_addr global i64 0, align 8
@HCI_ROLE_MASTER = common local_unnamed_addr global i64 0, align 8
@SMP_CMD_NOTSUPP = common local_unnamed_addr global i64 0, align 8
@HCI_SC_ONLY = common local_unnamed_addr global i32 0, align 4
@SMP_AUTH_SC = common local_unnamed_addr global i64 0, align 8
@SMP_AUTH_REQUIREMENTS = common local_unnamed_addr global i64 0, align 8
@HCI_IO_NO_INPUT_OUTPUT = common local_unnamed_addr global i64 0, align 8
@BT_SECURITY_MEDIUM = common local_unnamed_addr global i64 0, align 8
@SMP_USE_LTK = common local_unnamed_addr global i32 0, align 4
@SMP_UNSPECIFIED = common local_unnamed_addr global i64 0, align 8
@HCI_BONDABLE = common local_unnamed_addr global i32 0, align 4
@SMP_AUTH_BONDING = common local_unnamed_addr global i64 0, align 8
@SMP_PAIRING_NOTSUPP = common local_unnamed_addr global i64 0, align 8
@SMP_CMD_PAIRING_REQ = common local_unnamed_addr global i32 0, align 4
@SMP_CMD_PAIRING_RSP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @smp_cmd_security_req], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @smp_cmd_security_req(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.smp_cmd_pairing, align 4
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = inttoptr i64 %5 to ptr
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%7 = load ptr, ptr %0, align 8, !tbaa !12
%8 = getelementptr inbounds i8, ptr %7, i64 32
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef nonnull %0) #3
%11 = load i32, ptr %1, align 8, !tbaa !17
%12 = icmp ult i32 %11, 8
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i64, ptr @SMP_INVALID_PARAMS, align 8, !tbaa !18
br label %88
15: ; preds = %2
%16 = load i64, ptr %7, align 8, !tbaa !19
%17 = load i64, ptr @HCI_ROLE_MASTER, align 8, !tbaa !18
%18 = icmp eq i64 %16, %17
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = load i64, ptr @SMP_CMD_NOTSUPP, align 8, !tbaa !18
br label %88
21: ; preds = %15
%22 = load i64, ptr %6, align 8, !tbaa !20
%23 = tail call i64 @AUTH_REQ_MASK(ptr noundef %9) #3
%24 = and i64 %23, %22
%25 = load i32, ptr @HCI_SC_ONLY, align 4, !tbaa !22
%26 = tail call i64 @hci_dev_test_flag(ptr noundef %9, i32 noundef %25) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %34, label %28
28: ; preds = %21
%29 = load i64, ptr @SMP_AUTH_SC, align 8, !tbaa !18
%30 = and i64 %29, %24
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = load i64, ptr @SMP_AUTH_REQUIREMENTS, align 8, !tbaa !18
br label %88
34: ; preds = %28, %21
%35 = getelementptr inbounds i8, ptr %7, i64 8
%36 = load i64, ptr %35, align 8, !tbaa !23
%37 = load i64, ptr @HCI_IO_NO_INPUT_OUTPUT, align 8, !tbaa !18
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %41
39: ; preds = %34
%40 = load i64, ptr @BT_SECURITY_MEDIUM, align 8, !tbaa !18
br label %43
41: ; preds = %34
%42 = tail call i64 @authreq_to_seclevel(i64 noundef %24) #3
br label %43
43: ; preds = %41, %39
%44 = phi i64 [ %40, %39 ], [ %42, %41 ]
%45 = load i32, ptr @SMP_USE_LTK, align 4, !tbaa !22
%46 = tail call i64 @smp_sufficient_security(ptr noundef nonnull %7, i64 noundef %44, i32 noundef %45) #3
%47 = icmp eq i64 %46, 0
br i1 %47, label %52, label %48
48: ; preds = %43
%49 = getelementptr inbounds i8, ptr %7, i64 16
%50 = load i64, ptr %49, align 8, !tbaa !24
%51 = tail call i64 @smp_ltk_encrypt(ptr noundef nonnull %0, i64 noundef %50) #3
br label %88
52: ; preds = %43
%53 = getelementptr inbounds i8, ptr %7, i64 24
%54 = load i64, ptr %53, align 8, !tbaa !25
%55 = icmp sgt i64 %44, %54
br i1 %55, label %56, label %57
56: ; preds = %52
store i64 %44, ptr %53, align 8, !tbaa !25
br label %57
57: ; preds = %56, %52
%58 = phi i64 [ %44, %56 ], [ %54, %52 ]
%59 = tail call i64 @smp_ltk_encrypt(ptr noundef nonnull %0, i64 noundef %58) #3
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %88
61: ; preds = %57
%62 = tail call ptr @smp_chan_create(ptr noundef nonnull %0) #3
%63 = icmp eq ptr %62, null
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = load i64, ptr @SMP_UNSPECIFIED, align 8, !tbaa !18
br label %88
66: ; preds = %61
%67 = load i32, ptr @HCI_BONDABLE, align 4, !tbaa !22
%68 = tail call i64 @hci_dev_test_flag(ptr noundef %9, i32 noundef %67) #3
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %76
70: ; preds = %66
%71 = load i64, ptr @SMP_AUTH_BONDING, align 8, !tbaa !18
%72 = and i64 %71, %24
%73 = icmp eq i64 %72, 0
br i1 %73, label %76, label %74
74: ; preds = %70
%75 = load i64, ptr @SMP_PAIRING_NOTSUPP, align 8, !tbaa !18
br label %88
76: ; preds = %70, %66
%77 = tail call i32 @skb_pull(ptr noundef nonnull %1, i32 noundef 8) #3
%78 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 4) #3
%79 = call i32 @build_pairing_cmd(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef null, i64 noundef %24) #3
%80 = load i32, ptr @SMP_CMD_PAIRING_REQ, align 4, !tbaa !22
%81 = load ptr, ptr %62, align 8, !tbaa !26
store i32 %80, ptr %81, align 4, !tbaa !22
%82 = getelementptr inbounds i8, ptr %81, i64 4
%83 = call i32 @memcpy(ptr noundef nonnull %82, ptr noundef nonnull %3, i32 noundef 4) #3
%84 = load i32, ptr @SMP_CMD_PAIRING_REQ, align 4, !tbaa !22
%85 = call i32 @smp_send_cmd(ptr noundef nonnull %0, i32 noundef %84, i32 noundef 4, ptr noundef nonnull %3) #3
%86 = load i32, ptr @SMP_CMD_PAIRING_RSP, align 4, !tbaa !22
%87 = call i32 @SMP_ALLOW_CMD(ptr noundef nonnull %62, i32 noundef %86) #3
br label %88
88: ; preds = %57, %76, %74, %64, %48, %32, %19, %13
%89 = phi i64 [ %14, %13 ], [ %20, %19 ], [ 0, %48 ], [ 0, %76 ], [ %75, %74 ], [ %65, %64 ], [ %33, %32 ], [ 0, %57 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i64 %89
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BT_DBG(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @AUTH_REQ_MASK(ptr noundef) local_unnamed_addr #2
declare i64 @hci_dev_test_flag(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @authreq_to_seclevel(i64 noundef) local_unnamed_addr #2
declare i64 @smp_sufficient_security(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @smp_ltk_encrypt(ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @smp_chan_create(ptr noundef) local_unnamed_addr #2
declare i32 @skb_pull(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @build_pairing_cmd(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @smp_send_cmd(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SMP_ALLOW_CMD(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"sk_buff", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"l2cap_conn", !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!16, !14, i64 32}
!16 = !{!"hci_conn", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !14, i64 32}
!17 = !{!7, !8, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!16, !11, i64 0}
!20 = !{!21, !11, i64 0}
!21 = !{!"smp_cmd_security_req", !11, i64 0}
!22 = !{!8, !8, i64 0}
!23 = !{!16, !11, i64 8}
!24 = !{!16, !11, i64 16}
!25 = !{!16, !11, i64 24}
!26 = !{!27, !14, i64 0}
!27 = !{!"smp_chan", !14, i64 0}
|
linux_net_bluetooth_extr_smp.c_smp_cmd_security_req
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-sram.c_flexcop_sram_set_dest.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-sram.c_flexcop_sram_set_dest.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64, i64, i64, i64 }
%struct.flexcop_device = type { i64, ptr, ptr }
@sram_dest_reg_714 = dso_local local_unnamed_addr global i32 0, align 4
@FLEXCOP_III = dso_local local_unnamed_addr global i64 0, align 8
@FC_SRAM_DEST_TARGET_FC3_CA = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [54 x i8] c"SRAM destination target to available on FlexCopII(b)\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"sram dest: %x target: %x\0A\00", align 1
@FC_SRAM_DEST_NET = dso_local local_unnamed_addr global i32 0, align 4
@FC_SRAM_DEST_CAI = dso_local local_unnamed_addr global i32 0, align 4
@FC_SRAM_DEST_CAO = dso_local local_unnamed_addr global i32 0, align 4
@FC_SRAM_DEST_MEDIA = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @flexcop_sram_set_dest(ptr noundef %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_6__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
%5 = getelementptr inbounds %struct.flexcop_device, ptr %0, i64 0, i32 2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i32, ptr @sram_dest_reg_714, align 4, !tbaa !11
call void %6(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_6__) align 8 %4, ptr noundef %0, i32 noundef %7) #3
%8 = load i64, ptr %0, align 8, !tbaa !13
%9 = load i64, ptr @FLEXCOP_III, align 8, !tbaa !14
%10 = icmp ne i64 %8, %9
%11 = load i64, ptr @FC_SRAM_DEST_TARGET_FC3_CA, align 8
%12 = icmp eq i64 %11, %2
%13 = select i1 %10, i1 %12, i1 false
br i1 %13, label %14, label %18
14: ; preds = %3
%15 = call i32 @err(ptr noundef nonnull @.str) #3
%16 = load i32, ptr @EINVAL, align 4, !tbaa !11
%17 = sub nsw i32 0, %16
br label %48
18: ; preds = %3
%19 = call i32 @deb_sram(ptr noundef nonnull @.str.1, i32 noundef %1, i64 noundef %2) #3
%20 = load i32, ptr @FC_SRAM_DEST_NET, align 4, !tbaa !11
%21 = and i32 %20, %1
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %18
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3
store i64 %2, ptr %24, align 8, !tbaa !15
br label %25
25: ; preds = %23, %18
%26 = load i32, ptr @FC_SRAM_DEST_CAI, align 4, !tbaa !11
%27 = and i32 %26, %1
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %25
%30 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2
store i64 %2, ptr %30, align 8, !tbaa !18
br label %31
31: ; preds = %29, %25
%32 = load i32, ptr @FC_SRAM_DEST_CAO, align 4, !tbaa !11
%33 = and i32 %32, %1
%34 = icmp eq i32 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %31
%36 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
store i64 %2, ptr %36, align 8, !tbaa !19
br label %37
37: ; preds = %35, %31
%38 = load i32, ptr @FC_SRAM_DEST_MEDIA, align 4, !tbaa !11
%39 = and i32 %38, %1
%40 = icmp eq i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %37
store i64 %2, ptr %4, align 8, !tbaa !20
br label %42
42: ; preds = %41, %37
%43 = getelementptr inbounds %struct.flexcop_device, ptr %0, i64 0, i32 1
%44 = load ptr, ptr %43, align 8, !tbaa !21
%45 = load i32, ptr @sram_dest_reg_714, align 4, !tbaa !11
%46 = call i32 %44(ptr noundef nonnull %0, i32 noundef %45, ptr noundef nonnull byval(%struct.TYPE_6__) align 8 %4) #3
%47 = call i32 @udelay(i32 noundef 1000) #3
br label %48
48: ; preds = %42, %14
%49 = phi i32 [ %17, %14 ], [ 0, %42 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
ret i32 %49
}
; 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 memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @err(ptr noundef) local_unnamed_addr #2
declare i32 @deb_sram(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"flexcop_device", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 24}
!16 = !{!"TYPE_6__", !17, i64 0}
!17 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!18 = !{!16, !7, i64 16}
!19 = !{!16, !7, i64 8}
!20 = !{!16, !7, i64 0}
!21 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-sram.c_flexcop_sram_set_dest.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/b2c2/extr_flexcop-sram.c_flexcop_sram_set_dest.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64, i64, i64, i64 }
@sram_dest_reg_714 = common local_unnamed_addr global i32 0, align 4
@FLEXCOP_III = common local_unnamed_addr global i64 0, align 8
@FC_SRAM_DEST_TARGET_FC3_CA = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [54 x i8] c"SRAM destination target to available on FlexCopII(b)\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"sram dest: %x target: %x\0A\00", align 1
@FC_SRAM_DEST_NET = common local_unnamed_addr global i32 0, align 4
@FC_SRAM_DEST_CAI = common local_unnamed_addr global i32 0, align 4
@FC_SRAM_DEST_CAO = common local_unnamed_addr global i32 0, align 4
@FC_SRAM_DEST_MEDIA = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @flexcop_sram_set_dest(ptr noundef %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_6__, align 8
%5 = alloca %struct.TYPE_6__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load i32, ptr @sram_dest_reg_714, align 4, !tbaa !12
call void %7(ptr dead_on_unwind nonnull writable sret(%struct.TYPE_6__) align 8 %4, ptr noundef %0, i32 noundef %8) #3
%9 = load i64, ptr %4, align 8, !tbaa !14
%10 = getelementptr inbounds i8, ptr %4, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = getelementptr inbounds i8, ptr %4, i64 16
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = getelementptr inbounds i8, ptr %4, i64 24
%15 = load i64, ptr %14, align 8, !tbaa !14
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
%16 = load i64, ptr %0, align 8, !tbaa !15
%17 = load i64, ptr @FLEXCOP_III, align 8, !tbaa !14
%18 = icmp ne i64 %16, %17
%19 = load i64, ptr @FC_SRAM_DEST_TARGET_FC3_CA, align 8
%20 = icmp eq i64 %19, %2
%21 = select i1 %18, i1 %20, i1 false
br i1 %21, label %22, label %26
22: ; preds = %3
%23 = call i32 @err(ptr noundef nonnull @.str) #3
%24 = load i32, ptr @EINVAL, align 4, !tbaa !12
%25 = sub nsw i32 0, %24
br label %52
26: ; preds = %3
%27 = call i32 @deb_sram(ptr noundef nonnull @.str.1, i32 noundef %1, i64 noundef %2) #3
%28 = load i32, ptr @FC_SRAM_DEST_NET, align 4, !tbaa !12
%29 = and i32 %28, %1
%30 = icmp eq i32 %29, 0
%31 = select i1 %30, i64 %15, i64 %2
%32 = load i32, ptr @FC_SRAM_DEST_CAI, align 4, !tbaa !12
%33 = and i32 %32, %1
%34 = icmp eq i32 %33, 0
%35 = select i1 %34, i64 %13, i64 %2
%36 = load i32, ptr @FC_SRAM_DEST_CAO, align 4, !tbaa !12
%37 = and i32 %36, %1
%38 = icmp eq i32 %37, 0
%39 = select i1 %38, i64 %11, i64 %2
%40 = load i32, ptr @FC_SRAM_DEST_MEDIA, align 4, !tbaa !12
%41 = and i32 %40, %1
%42 = icmp eq i32 %41, 0
%43 = select i1 %42, i64 %9, i64 %2
%44 = getelementptr inbounds i8, ptr %0, i64 8
%45 = load ptr, ptr %44, align 8, !tbaa !16
%46 = load i32, ptr @sram_dest_reg_714, align 4, !tbaa !12
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
store i64 %43, ptr %5, align 8, !tbaa !14
%47 = getelementptr inbounds i8, ptr %5, i64 8
store i64 %39, ptr %47, align 8, !tbaa !14
%48 = getelementptr inbounds i8, ptr %5, i64 16
store i64 %35, ptr %48, align 8, !tbaa !14
%49 = getelementptr inbounds i8, ptr %5, i64 24
store i64 %31, ptr %49, align 8, !tbaa !14
%50 = call i32 %45(ptr noundef nonnull %0, i32 noundef %46, ptr noundef nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
%51 = call i32 @udelay(i32 noundef 1000) #3
br label %52
52: ; preds = %26, %22
%53 = phi i32 [ %25, %22 ], [ 0, %26 ]
ret i32 %53
}
; 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 memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @err(ptr noundef) local_unnamed_addr #2
declare i32 @deb_sram(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"flexcop_device", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!7, !11, i64 8}
|
fastsocket_kernel_drivers_media_dvb_b2c2_extr_flexcop-sram.c_flexcop_sram_set_dest
|
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_portals.c_Portal_VisFlood.c'
source_filename = "AnghaBench/lab/engine/code/bspc/extr_portals.c_Portal_VisFlood.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, i32 }
@CONTENTS_Q2TRANSLUCENT = dso_local local_unnamed_addr global i32 0, align 4
@CONTENTS_DETAIL = dso_local local_unnamed_addr global i32 0, align 4
@CONTENTS_SOLID = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @Portal_VisFlood(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %37, label %5
5: ; preds = %1
%6 = load ptr, ptr %0, align 8, !tbaa !11
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = tail call i32 @ClusterContents(i32 noundef %7) #2
%9 = load ptr, ptr %0, align 8, !tbaa !11
%10 = getelementptr inbounds i32, ptr %9, i64 1
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = tail call i32 @ClusterContents(i32 noundef %11) #2
%13 = xor i32 %12, %8
%14 = tail call i32 @VisibleContents(i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %37, label %16
16: ; preds = %5
%17 = load i32, ptr @CONTENTS_Q2TRANSLUCENT, align 4, !tbaa !12
%18 = load i32, ptr @CONTENTS_DETAIL, align 4, !tbaa !12
%19 = or i32 %18, %17
%20 = and i32 %19, %8
%21 = icmp eq i32 %20, 0
%22 = select i1 %21, i32 %8, i32 0
%23 = and i32 %19, %12
%24 = icmp eq i32 %23, 0
%25 = select i1 %24, i32 %12, i32 0
%26 = or i32 %22, %25
%27 = load i32, ptr @CONTENTS_SOLID, align 4, !tbaa !12
%28 = and i32 %26, %27
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %16
%31 = xor i32 %22, %25
%32 = icmp eq i32 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %30
%34 = tail call i32 @VisibleContents(i32 noundef %31) #2
%35 = icmp eq i32 %34, 0
%36 = zext i1 %35 to i32
br label %37
37: ; preds = %33, %30, %16, %5, %1
%38 = phi i32 [ 0, %1 ], [ 1, %5 ], [ 0, %16 ], [ 1, %30 ], [ %36, %33 ]
ret i32 %38
}
declare i32 @ClusterContents(i32 noundef) local_unnamed_addr #1
declare i32 @VisibleContents(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"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/lab/engine/code/bspc/extr_portals.c_Portal_VisFlood.c'
source_filename = "AnghaBench/lab/engine/code/bspc/extr_portals.c_Portal_VisFlood.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CONTENTS_Q2TRANSLUCENT = common local_unnamed_addr global i32 0, align 4
@CONTENTS_DETAIL = common local_unnamed_addr global i32 0, align 4
@CONTENTS_SOLID = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @Portal_VisFlood(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %37, label %5
5: ; preds = %1
%6 = load ptr, ptr %0, align 8, !tbaa !12
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @ClusterContents(i32 noundef %7) #2
%9 = load ptr, ptr %0, align 8, !tbaa !12
%10 = getelementptr inbounds i8, ptr %9, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = tail call i32 @ClusterContents(i32 noundef %11) #2
%13 = xor i32 %12, %8
%14 = tail call i32 @VisibleContents(i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %37, label %16
16: ; preds = %5
%17 = load i32, ptr @CONTENTS_Q2TRANSLUCENT, align 4, !tbaa !13
%18 = load i32, ptr @CONTENTS_DETAIL, align 4, !tbaa !13
%19 = or i32 %18, %17
%20 = and i32 %19, %8
%21 = icmp eq i32 %20, 0
%22 = select i1 %21, i32 %8, i32 0
%23 = and i32 %19, %12
%24 = icmp eq i32 %23, 0
%25 = select i1 %24, i32 %12, i32 0
%26 = or i32 %22, %25
%27 = load i32, ptr @CONTENTS_SOLID, align 4, !tbaa !13
%28 = and i32 %26, %27
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %37
30: ; preds = %16
%31 = icmp eq i32 %22, %25
br i1 %31, label %37, label %32
32: ; preds = %30
%33 = xor i32 %22, %25
%34 = tail call i32 @VisibleContents(i32 noundef %33) #2
%35 = icmp eq i32 %34, 0
%36 = zext i1 %35 to i32
br label %37
37: ; preds = %32, %30, %16, %5, %1
%38 = phi i32 [ 0, %1 ], [ 1, %5 ], [ 0, %16 ], [ 1, %30 ], [ %36, %32 ]
ret i32 %38
}
declare i32 @ClusterContents(i32 noundef) local_unnamed_addr #1
declare i32 @VisibleContents(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"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}
|
lab_engine_code_bspc_extr_portals.c_Portal_VisFlood
|
; ModuleID = 'AnghaBench/h2o/lib/handler/configurator/extr_file.c_on_config_dir_listing.c'
source_filename = "AnghaBench/h2o/lib/handler/configurator/extr_file.c_on_config_dir_listing.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"OFF,ON\00", align 1
@H2O_FILE_FLAG_DIR_LISTING = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @on_config_dir_listing], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @on_config_dir_listing(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @h2o_configurator_get_one_of(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str) #2
switch i32 %6, label %18 [
i32 0, label %7
i32 1, label %13
]
7: ; preds = %3
%8 = load i32, ptr @H2O_FILE_FLAG_DIR_LISTING, align 4, !tbaa !10
%9 = xor i32 %8, -1
%10 = load ptr, ptr %5, align 8, !tbaa !12
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = and i32 %11, %9
store i32 %12, ptr %10, align 4, !tbaa !15
br label %18
13: ; preds = %3
%14 = load i32, ptr @H2O_FILE_FLAG_DIR_LISTING, align 4, !tbaa !10
%15 = load ptr, ptr %5, align 8, !tbaa !12
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = or i32 %16, %14
store i32 %17, ptr %15, align 4, !tbaa !15
br label %18
18: ; preds = %7, %13, %3
%19 = phi i32 [ -1, %3 ], [ 0, %13 ], [ 0, %7 ]
ret i32 %19
}
declare i32 @h2o_configurator_get_one_of(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"st_h2o_file_configurator_t", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_5__", !11, i64 0}
|
; ModuleID = 'AnghaBench/h2o/lib/handler/configurator/extr_file.c_on_config_dir_listing.c'
source_filename = "AnghaBench/h2o/lib/handler/configurator/extr_file.c_on_config_dir_listing.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"OFF,ON\00", align 1
@H2O_FILE_FLAG_DIR_LISTING = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @on_config_dir_listing], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @on_config_dir_listing(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @h2o_configurator_get_one_of(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str) #2
switch i32 %6, label %18 [
i32 0, label %7
i32 1, label %13
]
7: ; preds = %3
%8 = load i32, ptr @H2O_FILE_FLAG_DIR_LISTING, align 4, !tbaa !11
%9 = xor i32 %8, -1
%10 = load ptr, ptr %5, align 8, !tbaa !13
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = and i32 %11, %9
store i32 %12, ptr %10, align 4, !tbaa !16
br label %18
13: ; preds = %3
%14 = load i32, ptr @H2O_FILE_FLAG_DIR_LISTING, align 4, !tbaa !11
%15 = load ptr, ptr %5, align 8, !tbaa !13
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = or i32 %16, %14
store i32 %17, ptr %15, align 4, !tbaa !16
br label %18
18: ; preds = %7, %13, %3
%19 = phi i32 [ -1, %3 ], [ 0, %13 ], [ 0, %7 ]
ret i32 %19
}
declare i32 @h2o_configurator_get_one_of(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"st_h2o_file_configurator_t", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_5__", !12, i64 0}
|
h2o_lib_handler_configurator_extr_file.c_on_config_dir_listing
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/boot/extr_video-mode.c_mode_defined.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/boot/extr_video-mode.c_mode_defined.c"
target datalayout = "e-m:e-p270:32:32-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.card_info = type { i32, ptr }
%struct.mode_info = type { i64 }
@video_cards = dso_local local_unnamed_addr global ptr null, align 8
@video_cards_end = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local noundef i32 @mode_defined(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @video_cards, align 8, !tbaa !5
%3 = load ptr, ptr @video_cards_end, align 8, !tbaa !5
%4 = icmp ult ptr %2, %3
br i1 %4, label %5, label %24
5: ; preds = %1, %21
%6 = phi ptr [ %22, %21 ], [ %2, %1 ]
%7 = load i32, ptr %6, align 8, !tbaa !9
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %5
%10 = getelementptr inbounds %struct.card_info, ptr %6, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !12
br label %12
12: ; preds = %9, %17
%13 = phi i32 [ %18, %17 ], [ 0, %9 ]
%14 = phi ptr [ %19, %17 ], [ %11, %9 ]
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = icmp eq i64 %15, %0
br i1 %16, label %24, label %17
17: ; preds = %12
%18 = add nuw nsw i32 %13, 1
%19 = getelementptr inbounds %struct.mode_info, ptr %14, i64 1
%20 = icmp eq i32 %18, %7
br i1 %20, label %21, label %12, !llvm.loop !16
21: ; preds = %17, %5
%22 = getelementptr inbounds %struct.card_info, ptr %6, i64 1
%23 = icmp ult ptr %22, %3
br i1 %23, label %5, label %24, !llvm.loop !18
24: ; preds = %21, %12, %1
%25 = phi i32 [ 0, %1 ], [ 1, %12 ], [ 0, %21 ]
ret i32 %25
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"card_info", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"mode_info", !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/boot/extr_video-mode.c_mode_defined.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/boot/extr_video-mode.c_mode_defined.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@video_cards = common local_unnamed_addr global ptr null, align 8
@video_cards_end = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @mode_defined(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @video_cards, align 8, !tbaa !6
%3 = load ptr, ptr @video_cards_end, align 8, !tbaa !6
%4 = icmp ult ptr %2, %3
br i1 %4, label %5, label %24
5: ; preds = %1, %21
%6 = phi ptr [ %22, %21 ], [ %2, %1 ]
%7 = load i32, ptr %6, align 8, !tbaa !10
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %21
9: ; preds = %5
%10 = getelementptr inbounds i8, ptr %6, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !13
br label %12
12: ; preds = %9, %17
%13 = phi i32 [ %18, %17 ], [ 0, %9 ]
%14 = phi ptr [ %19, %17 ], [ %11, %9 ]
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = icmp eq i64 %15, %0
br i1 %16, label %24, label %17
17: ; preds = %12
%18 = add nuw nsw i32 %13, 1
%19 = getelementptr inbounds i8, ptr %14, i64 8
%20 = icmp eq i32 %18, %7
br i1 %20, label %21, label %12, !llvm.loop !17
21: ; preds = %17, %5
%22 = getelementptr inbounds i8, ptr %6, i64 16
%23 = icmp ult ptr %22, %3
br i1 %23, label %5, label %24, !llvm.loop !19
24: ; preds = %21, %12, %1
%25 = phi i32 [ 0, %1 ], [ 1, %12 ], [ 0, %21 ]
ret i32 %25
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"card_info", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"mode_info", !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
|
fastsocket_kernel_arch_x86_boot_extr_video-mode.c_mode_defined
|
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_smb1ops.c_cifs_get_credits_field.c'
source_filename = "AnghaBench/linux/fs/cifs/extr_smb1ops.c_cifs_get_credits_field.c"
target datalayout = "e-m:e-p270:32:32-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 @cifs_get_credits_field], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef ptr @cifs_get_credits_field(ptr noundef readnone returned %0, i32 %1) #0 {
ret ptr %0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_smb1ops.c_cifs_get_credits_field.c'
source_filename = "AnghaBench/linux/fs/cifs/extr_smb1ops.c_cifs_get_credits_field.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 @cifs_get_credits_field], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef ptr @cifs_get_credits_field(ptr noundef readnone returned %0, i32 %1) #0 {
ret ptr %0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_fs_cifs_extr_smb1ops.c_cifs_get_credits_field
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgbe/extr_commoncommon.h_t4_wr_mbox_timeout.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgbe/extr_commoncommon.h_t4_wr_mbox_timeout.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @t4_wr_mbox_timeout], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @t4_wr_mbox_timeout(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = tail call i32 @t4_wr_mbox_meat_timeout(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef 1, i32 noundef %5) #2
ret i32 %7
}
declare i32 @t4_wr_mbox_meat_timeout(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgbe/extr_commoncommon.h_t4_wr_mbox_timeout.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgbe/extr_commoncommon.h_t4_wr_mbox_timeout.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @t4_wr_mbox_timeout], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @t4_wr_mbox_timeout(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = tail call i32 @t4_wr_mbox_meat_timeout(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef 1, i32 noundef %5) #2
ret i32 %7
}
declare i32 @t4_wr_mbox_meat_timeout(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_sys_dev_cxgbe_extr_commoncommon.h_t4_wr_mbox_timeout
|
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_package.c_MSI_OpenPackageW.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_package.c_MSI_OpenPackageW.c"
target datalayout = "e-m:e-p270:32:32-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_35__ = type { i32, i32, i32 }
%struct.TYPE_34__ = type { ptr, ptr, i64, i32, i32, i32, i32, i32, ptr }
@MSI_OpenPackageW.dotmsi = internal constant [5 x i8] c".msi\00", align 1
@MAX_PATH = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s %p\0A\00", align 1
@INSTALLMESSAGE_INITIALIZE = dso_local local_unnamed_addr global i32 0, align 4
@MSIHANDLETYPE_DATABASE = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_INVALID_HANDLE = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [52 x i8] c"MsiOpenPackage not allowed during a custom action!\0A\00", align 1
@ERROR_FUNCTION_FAILED = dso_local local_unnamed_addr global i64 0, align 8
@URLIS_URL = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@ERROR_OUTOFMEMORY = dso_local local_unnamed_addr global i64 0, align 8
@INVALID_FILE_ATTRIBUTES = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [38 x i8] c"unable to copy package %s to %s (%u)\0A\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c"opening package %s\0A\00", align 1
@MSIDBOPEN_TRANSACT = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_INSTALL_PACKAGE_INVALID = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [29 x i8] c"failed to load summary info\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"failed to parse summary info %u\0A\00", align 1
@szDatabase = dso_local local_unnamed_addr global i32 0, align 4
@GUID_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@MSIPATCHSTATE_APPLIED = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [27 x i8] c"found registered patch %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"registered patch failed to apply %u\0A\00", align 1
@gszLogFile = dso_local local_unnamed_addr global i64 0, align 8
@GENERIC_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@FILE_SHARE_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@OPEN_EXISTING = dso_local local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
@INSTALLMESSAGE_COMMONDATA = dso_local local_unnamed_addr global i32 0, align 4
@MSIERR_INFO_LOGGINGSTART = dso_local local_unnamed_addr global i32 0, align 4
@INSTALLMESSAGE_INFO = dso_local local_unnamed_addr global i32 0, align 4
@MB_ICONHAND = dso_local local_unnamed_addr global i32 0, align 4
@INSTALLPROPERTY_PRODUCTNAMEW = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i64 @MSI_OpenPackageW(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%5 = load i32, ptr @MAX_PATH, align 4, !tbaa !5
%6 = zext i32 %5 to i64
%7 = tail call ptr @llvm.stacksave.p0()
%8 = alloca i8, i64 %6, align 16
%9 = load i32, ptr @MAX_PATH, align 4, !tbaa !5
%10 = zext i32 %9 to i64
%11 = alloca i8, i64 %10, align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%12 = load i32, ptr @FALSE, align 4, !tbaa !5
%13 = tail call i32 @debugstr_w(ptr noundef %0) #4
%14 = tail call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str, i32 noundef %13, ptr noundef %1) #4
%15 = load i32, ptr @INSTALLMESSAGE_INITIALIZE, align 4, !tbaa !5
%16 = tail call i32 @MSI_ProcessMessage(ptr noundef null, i32 noundef %15, ptr noundef null) #4
store i8 0, ptr %8, align 16, !tbaa !9
%17 = load i8, ptr %0, align 1, !tbaa !9
%18 = icmp eq i8 %17, 35
br i1 %18, label %19, label %35
19: ; preds = %2
%20 = getelementptr inbounds i8, ptr %0, i64 1
%21 = tail call i32 @atoiW(ptr noundef nonnull %20) #4
%22 = load i32, ptr @MSIHANDLETYPE_DATABASE, align 4, !tbaa !5
%23 = tail call ptr @msihandle2msiinfo(i32 noundef %21, i32 noundef %22) #4
store ptr %23, ptr %3, align 8, !tbaa !10
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %94
25: ; preds = %19
%26 = tail call i64 @msi_get_remote(i32 noundef %21) #4
%27 = icmp eq i64 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %25
%29 = inttoptr i64 %26 to ptr
%30 = tail call i32 @IWineMsiRemoteDatabase_Release(ptr noundef nonnull %29) #4
%31 = tail call i32 (ptr, ...) @WARN(ptr noundef nonnull @.str.1) #4
br label %32
32: ; preds = %25, %28
%33 = phi ptr [ @ERROR_FUNCTION_FAILED, %28 ], [ @ERROR_INVALID_HANDLE, %25 ]
%34 = load i64, ptr %33, align 8, !tbaa !12
br label %253
35: ; preds = %2
%36 = load i32, ptr @URLIS_URL, align 4, !tbaa !5
%37 = tail call i64 @UrlIsW(ptr noundef nonnull %0, i32 noundef %36) #4
%38 = icmp eq i64 %37, 0
br i1 %38, label %53, label %39
39: ; preds = %35
%40 = call i64 @msi_download_file(ptr noundef nonnull %0, ptr noundef nonnull %11) #4
%41 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %253
43: ; preds = %39
%44 = call ptr @strdupW(ptr noundef nonnull %0) #4
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = load i64, ptr @ERROR_OUTOFMEMORY, align 8, !tbaa !12
br label %253
48: ; preds = %43
%49 = call ptr @strrchrW(ptr noundef nonnull %44, i8 noundef signext 47) #4
%50 = icmp eq ptr %49, null
br i1 %50, label %53, label %51
51: ; preds = %48
%52 = getelementptr inbounds i8, ptr %49, i64 1
store i8 0, ptr %52, align 1, !tbaa !9
br label %53
53: ; preds = %48, %51, %35
%54 = phi ptr [ %11, %51 ], [ %11, %48 ], [ %0, %35 ]
%55 = phi ptr [ %44, %51 ], [ %44, %48 ], [ null, %35 ]
%56 = call i64 @get_local_package(ptr noundef nonnull %54, ptr noundef nonnull %8) #4
%57 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%58 = icmp eq i64 %56, %57
br i1 %58, label %59, label %63
59: ; preds = %53
%60 = call i64 @GetFileAttributesW(ptr noundef nonnull %8) #4
%61 = load i64, ptr @INVALID_FILE_ATTRIBUTES, align 8, !tbaa !12
%62 = icmp eq i64 %60, %61
br i1 %62, label %63, label %82
63: ; preds = %59, %53
%64 = call i64 @msi_create_empty_local_file(ptr noundef nonnull %8, ptr noundef nonnull @MSI_OpenPackageW.dotmsi) #4
%65 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%66 = icmp eq i64 %64, %65
br i1 %66, label %69, label %67
67: ; preds = %63
%68 = call i32 @msi_free(ptr noundef %55) #4
br label %253
69: ; preds = %63
%70 = load i32, ptr @FALSE, align 4, !tbaa !5
%71 = call i32 @CopyFileW(ptr noundef nonnull %54, ptr noundef nonnull %8, i32 noundef %70) #4
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %69
%74 = call i64 (...) @GetLastError() #4
%75 = call i32 @debugstr_w(ptr noundef nonnull %54) #4
%76 = call i32 @debugstr_w(ptr noundef nonnull %8) #4
%77 = call i32 (ptr, ...) @WARN(ptr noundef nonnull @.str.2, i32 noundef %75, i32 noundef %76, i64 noundef %74) #4
%78 = call i32 @DeleteFileW(ptr noundef nonnull %8) #4
%79 = call i32 @msi_free(ptr noundef %55) #4
br label %253
80: ; preds = %69
%81 = load i32, ptr @TRUE, align 4, !tbaa !5
br label %82
82: ; preds = %80, %59
%83 = phi i32 [ %81, %80 ], [ %12, %59 ]
%84 = call i32 @debugstr_w(ptr noundef nonnull %8) #4
%85 = call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str.3, i32 noundef %84) #4
%86 = load i32, ptr @MSIDBOPEN_TRANSACT, align 4, !tbaa !5
%87 = call i64 @MSI_OpenDatabaseW(ptr noundef nonnull %8, i32 noundef %86, ptr noundef nonnull %3) #4
%88 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%89 = icmp eq i64 %87, %88
br i1 %89, label %90, label %92
90: ; preds = %82
%91 = load ptr, ptr %3, align 8, !tbaa !10
br label %94
92: ; preds = %82
%93 = call i32 @msi_free(ptr noundef %55) #4
br label %253
94: ; preds = %90, %19
%95 = phi ptr [ %23, %19 ], [ %91, %90 ]
%96 = phi i32 [ %12, %19 ], [ %83, %90 ]
%97 = phi ptr [ null, %19 ], [ %55, %90 ]
%98 = call ptr @MSI_CreatePackage(ptr noundef %95, ptr noundef %97) #4
%99 = call i32 @msi_free(ptr noundef %97) #4
%100 = load ptr, ptr %3, align 8, !tbaa !10
%101 = getelementptr inbounds %struct.TYPE_35__, ptr %100, i64 0, i32 2
%102 = call i32 @msiobj_release(ptr noundef nonnull %101) #4
%103 = icmp eq ptr %98, null
br i1 %103, label %104, label %106
104: ; preds = %94
%105 = load i64, ptr @ERROR_INSTALL_PACKAGE_INVALID, align 8, !tbaa !12
br label %253
106: ; preds = %94
%107 = call ptr @strdupW(ptr noundef nonnull %8) #4
%108 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 8
store ptr %107, ptr %108, align 8, !tbaa !14
%109 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 7
store i32 %96, ptr %109, align 8, !tbaa !16
%110 = load ptr, ptr %3, align 8, !tbaa !10
%111 = getelementptr inbounds %struct.TYPE_35__, ptr %110, i64 0, i32 1
%112 = load i32, ptr %111, align 4, !tbaa !17
%113 = call i64 @msi_get_suminfo(i32 noundef %112, i32 noundef 0, ptr noundef nonnull %4) #4
%114 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%115 = icmp eq i64 %113, %114
br i1 %115, label %126, label %116
116: ; preds = %106
%117 = load ptr, ptr %3, align 8, !tbaa !10
%118 = call i64 @msi_get_db_suminfo(ptr noundef %117, i32 noundef 0, ptr noundef nonnull %4) #4
%119 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%120 = icmp eq i64 %118, %119
br i1 %120, label %126, label %121
121: ; preds = %116
%122 = call i32 (ptr, ...) @WARN(ptr noundef nonnull @.str.4) #4
%123 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 4
%124 = call i32 @msiobj_release(ptr noundef nonnull %123) #4
%125 = load i64, ptr @ERROR_INSTALL_PACKAGE_INVALID, align 8, !tbaa !12
br label %253
126: ; preds = %116, %106
%127 = load ptr, ptr %4, align 8, !tbaa !10
%128 = call i64 @parse_suminfo(ptr noundef %127, ptr noundef nonnull %98) #4
%129 = load ptr, ptr %4, align 8, !tbaa !10
%130 = call i32 @msiobj_release(ptr noundef %129) #4
%131 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%132 = icmp eq i64 %128, %131
br i1 %132, label %137, label %133
133: ; preds = %126
%134 = call i32 (ptr, ...) @WARN(ptr noundef nonnull @.str.5, i64 noundef %128) #4
%135 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 4
%136 = call i32 @msiobj_release(ptr noundef nonnull %135) #4
br label %253
137: ; preds = %126
%138 = call i64 @validate_package(ptr noundef nonnull %98) #4
%139 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%140 = icmp eq i64 %138, %139
br i1 %140, label %144, label %141
141: ; preds = %137
%142 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 4
%143 = call i32 @msiobj_release(ptr noundef nonnull %142) #4
br label %253
144: ; preds = %137
%145 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 1
%146 = load ptr, ptr %145, align 8, !tbaa !19
%147 = load i32, ptr @szDatabase, align 4, !tbaa !5
%148 = load ptr, ptr %3, align 8, !tbaa !10
%149 = load i32, ptr %148, align 4, !tbaa !20
%150 = call i32 @msi_set_property(ptr noundef %146, i32 noundef %147, i32 noundef %149, i32 noundef -1) #4
%151 = call i32 @set_installed_prop(ptr noundef nonnull %98) #4
%152 = call i32 @msi_set_context(ptr noundef nonnull %98) #4
%153 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 6
%154 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 5
br label %155
155: ; preds = %177, %144
%156 = phi i64 [ 0, %144 ], [ %178, %177 ]
%157 = load i32, ptr @GUID_SIZE, align 4, !tbaa !5
%158 = zext i32 %157 to i64
%159 = call ptr @llvm.stacksave.p0()
%160 = alloca i8, i64 %158, align 16
%161 = load i32, ptr %153, align 4, !tbaa !21
%162 = load i32, ptr %154, align 8, !tbaa !22
%163 = load i32, ptr @MSIPATCHSTATE_APPLIED, align 4, !tbaa !5
%164 = call i64 @MsiEnumPatchesExW(i32 noundef %161, ptr noundef null, i32 noundef %162, i32 noundef %163, i64 noundef %156, ptr noundef nonnull %160, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #4
%165 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%166 = icmp eq i64 %164, %165
br i1 %166, label %167, label %179
167: ; preds = %155
%168 = call i32 @debugstr_w(ptr noundef nonnull %160) #4
%169 = call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str.6, i32 noundef %168) #4
%170 = call i64 @msi_apply_registered_patch(ptr noundef nonnull %98, ptr noundef nonnull %160) #4
%171 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%172 = icmp eq i64 %170, %171
br i1 %172, label %177, label %173
173: ; preds = %167
%174 = call i32 @ERR(ptr noundef nonnull @.str.7, i64 noundef %170) #4
%175 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 4
%176 = call i32 @msiobj_release(ptr noundef nonnull %175) #4
call void @llvm.stackrestore.p0(ptr %159)
br label %253
177: ; preds = %167
%178 = add nuw nsw i64 %156, 1
call void @llvm.stackrestore.p0(ptr %159)
br label %155
179: ; preds = %155
call void @llvm.stackrestore.p0(ptr %159)
%180 = icmp eq i64 %156, 0
br i1 %180, label %183, label %181
181: ; preds = %179
%182 = call i32 @msi_adjust_privilege_properties(ptr noundef nonnull %98) #4
br label %183
183: ; preds = %181, %179
%184 = load ptr, ptr %145, align 8, !tbaa !19
%185 = call i64 @msi_set_original_database_property(ptr noundef %184, ptr noundef nonnull %0) #4
%186 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
%187 = icmp eq i64 %185, %186
br i1 %187, label %191, label %188
188: ; preds = %183
%189 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 4
%190 = call i32 @msiobj_release(ptr noundef nonnull %189) #4
br label %253
191: ; preds = %183
%192 = load i64, ptr @gszLogFile, align 8, !tbaa !12
%193 = icmp eq i64 %192, 0
br i1 %193, label %201, label %194
194: ; preds = %191
%195 = load i32, ptr @GENERIC_WRITE, align 4, !tbaa !5
%196 = load i32, ptr @FILE_SHARE_WRITE, align 4, !tbaa !5
%197 = load i32, ptr @OPEN_EXISTING, align 4, !tbaa !5
%198 = load i32, ptr @FILE_ATTRIBUTE_NORMAL, align 4, !tbaa !5
%199 = call i32 @CreateFileW(i64 noundef %192, i32 noundef %195, i32 noundef %196, ptr noundef null, i32 noundef %197, i32 noundef %198, ptr noundef null) #4
%200 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 3
store i32 %199, ptr %200, align 8, !tbaa !23
br label %201
201: ; preds = %194, %191
%202 = call ptr @MSI_CreateRecord(i32 noundef 3) #4
%203 = icmp eq ptr %202, null
br i1 %203, label %204, label %206
204: ; preds = %201
%205 = load i64, ptr @ERROR_OUTOFMEMORY, align 8, !tbaa !12
br label %253
206: ; preds = %201
%207 = call i32 @MSI_RecordSetStringW(ptr noundef nonnull %202, i32 noundef 0, ptr noundef null) #4
%208 = call i32 @MSI_RecordSetInteger(ptr noundef nonnull %202, i32 noundef 1, i32 noundef 0) #4
%209 = getelementptr inbounds %struct.TYPE_34__, ptr %98, i64 0, i32 2
%210 = load i64, ptr %209, align 8, !tbaa !24
%211 = icmp eq i64 %210, 0
br i1 %211, label %215, label %212
212: ; preds = %206
%213 = load ptr, ptr %98, align 8, !tbaa !25
%214 = load i32, ptr %213, align 4, !tbaa !5
br label %215
215: ; preds = %206, %212
%216 = phi i32 [ %214, %212 ], [ 0, %206 ]
%217 = call i32 @MSI_RecordSetInteger(ptr noundef nonnull %202, i32 noundef 2, i32 noundef %216) #4
%218 = load ptr, ptr %145, align 8, !tbaa !19
%219 = load i32, ptr %218, align 4, !tbaa !26
%220 = call i32 @msi_get_string_table_codepage(i32 noundef %219) #4
%221 = call i32 @MSI_RecordSetInteger(ptr noundef nonnull %202, i32 noundef 3, i32 noundef %220) #4
%222 = load i32, ptr @INSTALLMESSAGE_COMMONDATA, align 4, !tbaa !5
%223 = call i32 @MSI_ProcessMessageVerbatim(ptr noundef nonnull %98, i32 noundef %222, ptr noundef nonnull %202) #4
%224 = call ptr @MSI_CreateRecord(i32 noundef 0) #4
%225 = icmp eq ptr %224, null
br i1 %225, label %226, label %229
226: ; preds = %215
%227 = call i32 @msiobj_release(ptr noundef nonnull %202) #4
%228 = load i64, ptr @ERROR_OUTOFMEMORY, align 8, !tbaa !12
br label %253
229: ; preds = %215
%230 = load ptr, ptr %145, align 8, !tbaa !19
%231 = load i32, ptr @MSIERR_INFO_LOGGINGSTART, align 4, !tbaa !5
%232 = call ptr @msi_get_error_message(ptr noundef %230, i32 noundef %231) #4
%233 = call i32 @MSI_RecordSetStringW(ptr noundef nonnull %224, i32 noundef 0, ptr noundef %232) #4
%234 = call i32 @msi_free(ptr noundef %232) #4
%235 = load i32, ptr @INSTALLMESSAGE_INFO, align 4, !tbaa !5
%236 = load i32, ptr @MB_ICONHAND, align 4, !tbaa !5
%237 = or i32 %236, %235
%238 = call i32 @MSI_ProcessMessage(ptr noundef nonnull %98, i32 noundef %237, ptr noundef nonnull %224) #4
%239 = load i32, ptr @INSTALLMESSAGE_COMMONDATA, align 4, !tbaa !5
%240 = call i32 @MSI_ProcessMessage(ptr noundef nonnull %98, i32 noundef %239, ptr noundef nonnull %202) #4
%241 = load ptr, ptr %145, align 8, !tbaa !19
%242 = load i32, ptr @INSTALLPROPERTY_PRODUCTNAMEW, align 4, !tbaa !5
%243 = call ptr @msi_dup_property(ptr noundef %241, i32 noundef %242) #4
%244 = call i32 @MSI_RecordSetInteger(ptr noundef nonnull %202, i32 noundef 1, i32 noundef 1) #4
%245 = call i32 @MSI_RecordSetStringW(ptr noundef nonnull %202, i32 noundef 2, ptr noundef %243) #4
%246 = call i32 @MSI_RecordSetStringW(ptr noundef nonnull %202, i32 noundef 3, ptr noundef null) #4
%247 = load i32, ptr @INSTALLMESSAGE_COMMONDATA, align 4, !tbaa !5
%248 = call i32 @MSI_ProcessMessage(ptr noundef nonnull %98, i32 noundef %247, ptr noundef nonnull %202) #4
%249 = call i32 @msi_free(ptr noundef %243) #4
%250 = call i32 @msiobj_release(ptr noundef nonnull %224) #4
%251 = call i32 @msiobj_release(ptr noundef nonnull %202) #4
store ptr %98, ptr %1, align 8, !tbaa !10
%252 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12
br label %253
253: ; preds = %173, %39, %229, %226, %204, %188, %141, %133, %121, %104, %92, %73, %67, %46, %32
%254 = phi i64 [ %125, %121 ], [ %128, %133 ], [ %138, %141 ], [ %185, %188 ], [ %252, %229 ], [ %228, %226 ], [ %205, %204 ], [ %105, %104 ], [ %34, %32 ], [ %64, %67 ], [ %87, %92 ], [ %74, %73 ], [ %47, %46 ], [ %40, %39 ], [ %170, %173 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
call void @llvm.stackrestore.p0(ptr %7)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret i64 %254
}
; 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 @TRACE(ptr noundef, i32 noundef, ...) local_unnamed_addr #3
declare i32 @debugstr_w(ptr noundef) local_unnamed_addr #3
declare i32 @MSI_ProcessMessage(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @atoiW(ptr noundef) local_unnamed_addr #3
declare ptr @msihandle2msiinfo(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @msi_get_remote(i32 noundef) local_unnamed_addr #3
declare i32 @IWineMsiRemoteDatabase_Release(ptr noundef) local_unnamed_addr #3
declare i32 @WARN(ptr noundef, ...) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @UrlIsW(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @msi_download_file(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @strdupW(ptr noundef) local_unnamed_addr #3
declare ptr @strrchrW(ptr noundef, i8 noundef signext) local_unnamed_addr #3
declare i64 @get_local_package(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @GetFileAttributesW(ptr noundef) local_unnamed_addr #3
declare i64 @msi_create_empty_local_file(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @msi_free(ptr noundef) local_unnamed_addr #3
declare i32 @CopyFileW(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @GetLastError(...) local_unnamed_addr #3
declare i32 @DeleteFileW(ptr noundef) local_unnamed_addr #3
declare i64 @MSI_OpenDatabaseW(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @MSI_CreatePackage(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @msiobj_release(ptr noundef) local_unnamed_addr #3
declare i64 @msi_get_suminfo(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @msi_get_db_suminfo(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @parse_suminfo(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @validate_package(ptr noundef) local_unnamed_addr #3
declare i32 @msi_set_property(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @set_installed_prop(ptr noundef) local_unnamed_addr #3
declare i32 @msi_set_context(ptr noundef) local_unnamed_addr #3
declare i64 @MsiEnumPatchesExW(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @msi_apply_registered_patch(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ERR(ptr noundef, i64 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
declare i32 @msi_adjust_privilege_properties(ptr noundef) local_unnamed_addr #3
declare i64 @msi_set_original_database_property(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @CreateFileW(i64 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @MSI_CreateRecord(i32 noundef) local_unnamed_addr #3
declare i32 @MSI_RecordSetStringW(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @MSI_RecordSetInteger(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @msi_get_string_table_codepage(i32 noundef) local_unnamed_addr #3
declare i32 @MSI_ProcessMessageVerbatim(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @msi_get_error_message(ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @msi_dup_property(ptr noundef, i32 noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !11, i64 48}
!15 = !{!"TYPE_34__", !11, i64 0, !11, i64 8, !13, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !11, i64 48}
!16 = !{!15, !6, i64 40}
!17 = !{!18, !6, i64 4}
!18 = !{!"TYPE_35__", !6, i64 0, !6, i64 4, !6, i64 8}
!19 = !{!15, !11, i64 8}
!20 = !{!18, !6, i64 0}
!21 = !{!15, !6, i64 36}
!22 = !{!15, !6, i64 32}
!23 = !{!15, !6, i64 24}
!24 = !{!15, !13, i64 16}
!25 = !{!15, !11, i64 0}
!26 = !{!27, !6, i64 0}
!27 = !{!"TYPE_31__", !6, i64 0}
|
; ModuleID = 'AnghaBench/reactos/dll/win32/msi/extr_package.c_MSI_OpenPackageW.c'
source_filename = "AnghaBench/reactos/dll/win32/msi/extr_package.c_MSI_OpenPackageW.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSI_OpenPackageW.dotmsi = internal constant [5 x i8] c".msi\00", align 1
@MAX_PATH = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s %p\0A\00", align 1
@INSTALLMESSAGE_INITIALIZE = common local_unnamed_addr global i32 0, align 4
@MSIHANDLETYPE_DATABASE = common local_unnamed_addr global i32 0, align 4
@ERROR_INVALID_HANDLE = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [52 x i8] c"MsiOpenPackage not allowed during a custom action!\0A\00", align 1
@ERROR_FUNCTION_FAILED = common local_unnamed_addr global i64 0, align 8
@URLIS_URL = common local_unnamed_addr global i32 0, align 4
@ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8
@ERROR_OUTOFMEMORY = common local_unnamed_addr global i64 0, align 8
@INVALID_FILE_ATTRIBUTES = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [38 x i8] c"unable to copy package %s to %s (%u)\0A\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [20 x i8] c"opening package %s\0A\00", align 1
@MSIDBOPEN_TRANSACT = common local_unnamed_addr global i32 0, align 4
@ERROR_INSTALL_PACKAGE_INVALID = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [29 x i8] c"failed to load summary info\0A\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"failed to parse summary info %u\0A\00", align 1
@szDatabase = common local_unnamed_addr global i32 0, align 4
@GUID_SIZE = common local_unnamed_addr global i32 0, align 4
@MSIPATCHSTATE_APPLIED = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [27 x i8] c"found registered patch %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"registered patch failed to apply %u\0A\00", align 1
@gszLogFile = common local_unnamed_addr global i64 0, align 8
@GENERIC_WRITE = common local_unnamed_addr global i32 0, align 4
@FILE_SHARE_WRITE = common local_unnamed_addr global i32 0, align 4
@OPEN_EXISTING = common local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_NORMAL = common local_unnamed_addr global i32 0, align 4
@INSTALLMESSAGE_COMMONDATA = common local_unnamed_addr global i32 0, align 4
@MSIERR_INFO_LOGGINGSTART = common local_unnamed_addr global i32 0, align 4
@INSTALLMESSAGE_INFO = common local_unnamed_addr global i32 0, align 4
@MB_ICONHAND = common local_unnamed_addr global i32 0, align 4
@INSTALLPROPERTY_PRODUCTNAMEW = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @MSI_OpenPackageW(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%5 = load i32, ptr @MAX_PATH, align 4, !tbaa !6
%6 = zext i32 %5 to i64
%7 = tail call ptr @llvm.stacksave.p0()
%8 = alloca i8, i64 %6, align 1
%9 = load i32, ptr @MAX_PATH, align 4, !tbaa !6
%10 = zext i32 %9 to i64
%11 = alloca i8, i64 %10, align 1
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
%12 = load i32, ptr @FALSE, align 4, !tbaa !6
%13 = tail call i32 @debugstr_w(ptr noundef %0) #4
%14 = tail call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str, i32 noundef %13, ptr noundef %1) #4
%15 = load i32, ptr @INSTALLMESSAGE_INITIALIZE, align 4, !tbaa !6
%16 = tail call i32 @MSI_ProcessMessage(ptr noundef null, i32 noundef %15, ptr noundef null) #4
store i8 0, ptr %8, align 1, !tbaa !10
%17 = load i8, ptr %0, align 1, !tbaa !10
%18 = icmp eq i8 %17, 35
br i1 %18, label %19, label %35
19: ; preds = %2
%20 = getelementptr inbounds i8, ptr %0, i64 1
%21 = tail call i32 @atoiW(ptr noundef nonnull %20) #4
%22 = load i32, ptr @MSIHANDLETYPE_DATABASE, align 4, !tbaa !6
%23 = tail call ptr @msihandle2msiinfo(i32 noundef %21, i32 noundef %22) #4
store ptr %23, ptr %3, align 8, !tbaa !11
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %94
25: ; preds = %19
%26 = tail call i64 @msi_get_remote(i32 noundef %21) #4
%27 = icmp eq i64 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %25
%29 = inttoptr i64 %26 to ptr
%30 = tail call i32 @IWineMsiRemoteDatabase_Release(ptr noundef nonnull %29) #4
%31 = tail call i32 (ptr, ...) @WARN(ptr noundef nonnull @.str.1) #4
br label %32
32: ; preds = %25, %28
%33 = phi ptr [ @ERROR_FUNCTION_FAILED, %28 ], [ @ERROR_INVALID_HANDLE, %25 ]
%34 = load i64, ptr %33, align 8, !tbaa !13
br label %253
35: ; preds = %2
%36 = load i32, ptr @URLIS_URL, align 4, !tbaa !6
%37 = tail call i64 @UrlIsW(ptr noundef nonnull %0, i32 noundef %36) #4
%38 = icmp eq i64 %37, 0
br i1 %38, label %53, label %39
39: ; preds = %35
%40 = call i64 @msi_download_file(ptr noundef nonnull %0, ptr noundef nonnull %11) #4
%41 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %253
43: ; preds = %39
%44 = call ptr @strdupW(ptr noundef nonnull %0) #4
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = load i64, ptr @ERROR_OUTOFMEMORY, align 8, !tbaa !13
br label %253
48: ; preds = %43
%49 = call ptr @strrchrW(ptr noundef nonnull %44, i8 noundef signext 47) #4
%50 = icmp eq ptr %49, null
br i1 %50, label %53, label %51
51: ; preds = %48
%52 = getelementptr inbounds i8, ptr %49, i64 1
store i8 0, ptr %52, align 1, !tbaa !10
br label %53
53: ; preds = %48, %51, %35
%54 = phi ptr [ %11, %51 ], [ %11, %48 ], [ %0, %35 ]
%55 = phi ptr [ %44, %51 ], [ %44, %48 ], [ null, %35 ]
%56 = call i64 @get_local_package(ptr noundef nonnull %54, ptr noundef nonnull %8) #4
%57 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%58 = icmp eq i64 %56, %57
br i1 %58, label %59, label %63
59: ; preds = %53
%60 = call i64 @GetFileAttributesW(ptr noundef nonnull %8) #4
%61 = load i64, ptr @INVALID_FILE_ATTRIBUTES, align 8, !tbaa !13
%62 = icmp eq i64 %60, %61
br i1 %62, label %63, label %82
63: ; preds = %59, %53
%64 = call i64 @msi_create_empty_local_file(ptr noundef nonnull %8, ptr noundef nonnull @MSI_OpenPackageW.dotmsi) #4
%65 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%66 = icmp eq i64 %64, %65
br i1 %66, label %69, label %67
67: ; preds = %63
%68 = call i32 @msi_free(ptr noundef %55) #4
br label %253
69: ; preds = %63
%70 = load i32, ptr @FALSE, align 4, !tbaa !6
%71 = call i32 @CopyFileW(ptr noundef nonnull %54, ptr noundef nonnull %8, i32 noundef %70) #4
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %69
%74 = call i64 @GetLastError() #4
%75 = call i32 @debugstr_w(ptr noundef nonnull %54) #4
%76 = call i32 @debugstr_w(ptr noundef nonnull %8) #4
%77 = call i32 (ptr, ...) @WARN(ptr noundef nonnull @.str.2, i32 noundef %75, i32 noundef %76, i64 noundef %74) #4
%78 = call i32 @DeleteFileW(ptr noundef nonnull %8) #4
%79 = call i32 @msi_free(ptr noundef %55) #4
br label %253
80: ; preds = %69
%81 = load i32, ptr @TRUE, align 4, !tbaa !6
br label %82
82: ; preds = %80, %59
%83 = phi i32 [ %81, %80 ], [ %12, %59 ]
%84 = call i32 @debugstr_w(ptr noundef nonnull %8) #4
%85 = call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str.3, i32 noundef %84) #4
%86 = load i32, ptr @MSIDBOPEN_TRANSACT, align 4, !tbaa !6
%87 = call i64 @MSI_OpenDatabaseW(ptr noundef nonnull %8, i32 noundef %86, ptr noundef nonnull %3) #4
%88 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%89 = icmp eq i64 %87, %88
br i1 %89, label %90, label %92
90: ; preds = %82
%91 = load ptr, ptr %3, align 8, !tbaa !11
br label %94
92: ; preds = %82
%93 = call i32 @msi_free(ptr noundef %55) #4
br label %253
94: ; preds = %90, %19
%95 = phi ptr [ %23, %19 ], [ %91, %90 ]
%96 = phi i32 [ %12, %19 ], [ %83, %90 ]
%97 = phi ptr [ null, %19 ], [ %55, %90 ]
%98 = call ptr @MSI_CreatePackage(ptr noundef %95, ptr noundef %97) #4
%99 = call i32 @msi_free(ptr noundef %97) #4
%100 = load ptr, ptr %3, align 8, !tbaa !11
%101 = getelementptr inbounds i8, ptr %100, i64 8
%102 = call i32 @msiobj_release(ptr noundef nonnull %101) #4
%103 = icmp eq ptr %98, null
br i1 %103, label %104, label %106
104: ; preds = %94
%105 = load i64, ptr @ERROR_INSTALL_PACKAGE_INVALID, align 8, !tbaa !13
br label %253
106: ; preds = %94
%107 = call ptr @strdupW(ptr noundef nonnull %8) #4
%108 = getelementptr inbounds i8, ptr %98, i64 48
store ptr %107, ptr %108, align 8, !tbaa !15
%109 = getelementptr inbounds i8, ptr %98, i64 40
store i32 %96, ptr %109, align 8, !tbaa !17
%110 = load ptr, ptr %3, align 8, !tbaa !11
%111 = getelementptr inbounds i8, ptr %110, i64 4
%112 = load i32, ptr %111, align 4, !tbaa !18
%113 = call i64 @msi_get_suminfo(i32 noundef %112, i32 noundef 0, ptr noundef nonnull %4) #4
%114 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%115 = icmp eq i64 %113, %114
br i1 %115, label %126, label %116
116: ; preds = %106
%117 = load ptr, ptr %3, align 8, !tbaa !11
%118 = call i64 @msi_get_db_suminfo(ptr noundef %117, i32 noundef 0, ptr noundef nonnull %4) #4
%119 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%120 = icmp eq i64 %118, %119
br i1 %120, label %126, label %121
121: ; preds = %116
%122 = call i32 (ptr, ...) @WARN(ptr noundef nonnull @.str.4) #4
%123 = getelementptr inbounds i8, ptr %98, i64 28
%124 = call i32 @msiobj_release(ptr noundef nonnull %123) #4
%125 = load i64, ptr @ERROR_INSTALL_PACKAGE_INVALID, align 8, !tbaa !13
br label %253
126: ; preds = %116, %106
%127 = load ptr, ptr %4, align 8, !tbaa !11
%128 = call i64 @parse_suminfo(ptr noundef %127, ptr noundef nonnull %98) #4
%129 = load ptr, ptr %4, align 8, !tbaa !11
%130 = call i32 @msiobj_release(ptr noundef %129) #4
%131 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%132 = icmp eq i64 %128, %131
br i1 %132, label %137, label %133
133: ; preds = %126
%134 = call i32 (ptr, ...) @WARN(ptr noundef nonnull @.str.5, i64 noundef %128) #4
%135 = getelementptr inbounds i8, ptr %98, i64 28
%136 = call i32 @msiobj_release(ptr noundef nonnull %135) #4
br label %253
137: ; preds = %126
%138 = call i64 @validate_package(ptr noundef nonnull %98) #4
%139 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%140 = icmp eq i64 %138, %139
br i1 %140, label %144, label %141
141: ; preds = %137
%142 = getelementptr inbounds i8, ptr %98, i64 28
%143 = call i32 @msiobj_release(ptr noundef nonnull %142) #4
br label %253
144: ; preds = %137
%145 = getelementptr inbounds i8, ptr %98, i64 8
%146 = load ptr, ptr %145, align 8, !tbaa !20
%147 = load i32, ptr @szDatabase, align 4, !tbaa !6
%148 = load ptr, ptr %3, align 8, !tbaa !11
%149 = load i32, ptr %148, align 4, !tbaa !21
%150 = call i32 @msi_set_property(ptr noundef %146, i32 noundef %147, i32 noundef %149, i32 noundef -1) #4
%151 = call i32 @set_installed_prop(ptr noundef nonnull %98) #4
%152 = call i32 @msi_set_context(ptr noundef nonnull %98) #4
%153 = getelementptr inbounds i8, ptr %98, i64 36
%154 = getelementptr inbounds i8, ptr %98, i64 32
br label %155
155: ; preds = %177, %144
%156 = phi i64 [ 0, %144 ], [ %178, %177 ]
%157 = load i32, ptr @GUID_SIZE, align 4, !tbaa !6
%158 = zext i32 %157 to i64
%159 = call ptr @llvm.stacksave.p0()
%160 = alloca i8, i64 %158, align 1
%161 = load i32, ptr %153, align 4, !tbaa !22
%162 = load i32, ptr %154, align 8, !tbaa !23
%163 = load i32, ptr @MSIPATCHSTATE_APPLIED, align 4, !tbaa !6
%164 = call i64 @MsiEnumPatchesExW(i32 noundef %161, ptr noundef null, i32 noundef %162, i32 noundef %163, i64 noundef %156, ptr noundef nonnull %160, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #4
%165 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%166 = icmp eq i64 %164, %165
br i1 %166, label %167, label %179
167: ; preds = %155
%168 = call i32 @debugstr_w(ptr noundef nonnull %160) #4
%169 = call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str.6, i32 noundef %168) #4
%170 = call i64 @msi_apply_registered_patch(ptr noundef nonnull %98, ptr noundef nonnull %160) #4
%171 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%172 = icmp eq i64 %170, %171
br i1 %172, label %177, label %173
173: ; preds = %167
%174 = call i32 @ERR(ptr noundef nonnull @.str.7, i64 noundef %170) #4
%175 = getelementptr inbounds i8, ptr %98, i64 28
%176 = call i32 @msiobj_release(ptr noundef nonnull %175) #4
call void @llvm.stackrestore.p0(ptr %159)
br label %253
177: ; preds = %167
%178 = add nuw nsw i64 %156, 1
call void @llvm.stackrestore.p0(ptr %159)
br label %155
179: ; preds = %155
call void @llvm.stackrestore.p0(ptr %159)
%180 = icmp eq i64 %156, 0
br i1 %180, label %183, label %181
181: ; preds = %179
%182 = call i32 @msi_adjust_privilege_properties(ptr noundef nonnull %98) #4
br label %183
183: ; preds = %181, %179
%184 = load ptr, ptr %145, align 8, !tbaa !20
%185 = call i64 @msi_set_original_database_property(ptr noundef %184, ptr noundef nonnull %0) #4
%186 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
%187 = icmp eq i64 %185, %186
br i1 %187, label %191, label %188
188: ; preds = %183
%189 = getelementptr inbounds i8, ptr %98, i64 28
%190 = call i32 @msiobj_release(ptr noundef nonnull %189) #4
br label %253
191: ; preds = %183
%192 = load i64, ptr @gszLogFile, align 8, !tbaa !13
%193 = icmp eq i64 %192, 0
br i1 %193, label %201, label %194
194: ; preds = %191
%195 = load i32, ptr @GENERIC_WRITE, align 4, !tbaa !6
%196 = load i32, ptr @FILE_SHARE_WRITE, align 4, !tbaa !6
%197 = load i32, ptr @OPEN_EXISTING, align 4, !tbaa !6
%198 = load i32, ptr @FILE_ATTRIBUTE_NORMAL, align 4, !tbaa !6
%199 = call i32 @CreateFileW(i64 noundef %192, i32 noundef %195, i32 noundef %196, ptr noundef null, i32 noundef %197, i32 noundef %198, ptr noundef null) #4
%200 = getelementptr inbounds i8, ptr %98, i64 24
store i32 %199, ptr %200, align 8, !tbaa !24
br label %201
201: ; preds = %194, %191
%202 = call ptr @MSI_CreateRecord(i32 noundef 3) #4
%203 = icmp eq ptr %202, null
br i1 %203, label %204, label %206
204: ; preds = %201
%205 = load i64, ptr @ERROR_OUTOFMEMORY, align 8, !tbaa !13
br label %253
206: ; preds = %201
%207 = call i32 @MSI_RecordSetStringW(ptr noundef nonnull %202, i32 noundef 0, ptr noundef null) #4
%208 = call i32 @MSI_RecordSetInteger(ptr noundef nonnull %202, i32 noundef 1, i32 noundef 0) #4
%209 = getelementptr inbounds i8, ptr %98, i64 16
%210 = load i64, ptr %209, align 8, !tbaa !25
%211 = icmp eq i64 %210, 0
br i1 %211, label %215, label %212
212: ; preds = %206
%213 = load ptr, ptr %98, align 8, !tbaa !26
%214 = load i32, ptr %213, align 4, !tbaa !6
br label %215
215: ; preds = %206, %212
%216 = phi i32 [ %214, %212 ], [ 0, %206 ]
%217 = call i32 @MSI_RecordSetInteger(ptr noundef nonnull %202, i32 noundef 2, i32 noundef %216) #4
%218 = load ptr, ptr %145, align 8, !tbaa !20
%219 = load i32, ptr %218, align 4, !tbaa !27
%220 = call i32 @msi_get_string_table_codepage(i32 noundef %219) #4
%221 = call i32 @MSI_RecordSetInteger(ptr noundef nonnull %202, i32 noundef 3, i32 noundef %220) #4
%222 = load i32, ptr @INSTALLMESSAGE_COMMONDATA, align 4, !tbaa !6
%223 = call i32 @MSI_ProcessMessageVerbatim(ptr noundef nonnull %98, i32 noundef %222, ptr noundef nonnull %202) #4
%224 = call ptr @MSI_CreateRecord(i32 noundef 0) #4
%225 = icmp eq ptr %224, null
br i1 %225, label %226, label %229
226: ; preds = %215
%227 = call i32 @msiobj_release(ptr noundef nonnull %202) #4
%228 = load i64, ptr @ERROR_OUTOFMEMORY, align 8, !tbaa !13
br label %253
229: ; preds = %215
%230 = load ptr, ptr %145, align 8, !tbaa !20
%231 = load i32, ptr @MSIERR_INFO_LOGGINGSTART, align 4, !tbaa !6
%232 = call ptr @msi_get_error_message(ptr noundef %230, i32 noundef %231) #4
%233 = call i32 @MSI_RecordSetStringW(ptr noundef nonnull %224, i32 noundef 0, ptr noundef %232) #4
%234 = call i32 @msi_free(ptr noundef %232) #4
%235 = load i32, ptr @INSTALLMESSAGE_INFO, align 4, !tbaa !6
%236 = load i32, ptr @MB_ICONHAND, align 4, !tbaa !6
%237 = or i32 %236, %235
%238 = call i32 @MSI_ProcessMessage(ptr noundef nonnull %98, i32 noundef %237, ptr noundef nonnull %224) #4
%239 = load i32, ptr @INSTALLMESSAGE_COMMONDATA, align 4, !tbaa !6
%240 = call i32 @MSI_ProcessMessage(ptr noundef nonnull %98, i32 noundef %239, ptr noundef nonnull %202) #4
%241 = load ptr, ptr %145, align 8, !tbaa !20
%242 = load i32, ptr @INSTALLPROPERTY_PRODUCTNAMEW, align 4, !tbaa !6
%243 = call ptr @msi_dup_property(ptr noundef %241, i32 noundef %242) #4
%244 = call i32 @MSI_RecordSetInteger(ptr noundef nonnull %202, i32 noundef 1, i32 noundef 1) #4
%245 = call i32 @MSI_RecordSetStringW(ptr noundef nonnull %202, i32 noundef 2, ptr noundef %243) #4
%246 = call i32 @MSI_RecordSetStringW(ptr noundef nonnull %202, i32 noundef 3, ptr noundef null) #4
%247 = load i32, ptr @INSTALLMESSAGE_COMMONDATA, align 4, !tbaa !6
%248 = call i32 @MSI_ProcessMessage(ptr noundef nonnull %98, i32 noundef %247, ptr noundef nonnull %202) #4
%249 = call i32 @msi_free(ptr noundef %243) #4
%250 = call i32 @msiobj_release(ptr noundef nonnull %224) #4
%251 = call i32 @msiobj_release(ptr noundef nonnull %202) #4
store ptr %98, ptr %1, align 8, !tbaa !11
%252 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13
br label %253
253: ; preds = %173, %39, %229, %226, %204, %188, %141, %133, %121, %104, %92, %73, %67, %46, %32
%254 = phi i64 [ %125, %121 ], [ %128, %133 ], [ %138, %141 ], [ %185, %188 ], [ %252, %229 ], [ %228, %226 ], [ %205, %204 ], [ %105, %104 ], [ %34, %32 ], [ %64, %67 ], [ %87, %92 ], [ %74, %73 ], [ %47, %46 ], [ %40, %39 ], [ %170, %173 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
call void @llvm.stackrestore.p0(ptr %7)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret i64 %254
}
; 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 @TRACE(ptr noundef, i32 noundef, ...) local_unnamed_addr #3
declare i32 @debugstr_w(ptr noundef) local_unnamed_addr #3
declare i32 @MSI_ProcessMessage(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @atoiW(ptr noundef) local_unnamed_addr #3
declare ptr @msihandle2msiinfo(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @msi_get_remote(i32 noundef) local_unnamed_addr #3
declare i32 @IWineMsiRemoteDatabase_Release(ptr noundef) local_unnamed_addr #3
declare i32 @WARN(ptr noundef, ...) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @UrlIsW(ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @msi_download_file(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @strdupW(ptr noundef) local_unnamed_addr #3
declare ptr @strrchrW(ptr noundef, i8 noundef signext) local_unnamed_addr #3
declare i64 @get_local_package(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @GetFileAttributesW(ptr noundef) local_unnamed_addr #3
declare i64 @msi_create_empty_local_file(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @msi_free(ptr noundef) local_unnamed_addr #3
declare i32 @CopyFileW(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i64 @GetLastError(...) local_unnamed_addr #3
declare i32 @DeleteFileW(ptr noundef) local_unnamed_addr #3
declare i64 @MSI_OpenDatabaseW(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @MSI_CreatePackage(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @msiobj_release(ptr noundef) local_unnamed_addr #3
declare i64 @msi_get_suminfo(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @msi_get_db_suminfo(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @parse_suminfo(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @validate_package(ptr noundef) local_unnamed_addr #3
declare i32 @msi_set_property(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @set_installed_prop(ptr noundef) local_unnamed_addr #3
declare i32 @msi_set_context(ptr noundef) local_unnamed_addr #3
declare i64 @MsiEnumPatchesExW(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @msi_apply_registered_patch(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ERR(ptr noundef, i64 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
declare i32 @msi_adjust_privilege_properties(ptr noundef) local_unnamed_addr #3
declare i64 @msi_set_original_database_property(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @CreateFileW(i64 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @MSI_CreateRecord(i32 noundef) local_unnamed_addr #3
declare i32 @MSI_RecordSetStringW(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @MSI_RecordSetInteger(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @msi_get_string_table_codepage(i32 noundef) local_unnamed_addr #3
declare i32 @MSI_ProcessMessageVerbatim(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare ptr @msi_get_error_message(ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @msi_dup_property(ptr noundef, i32 noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !12, i64 48}
!16 = !{!"TYPE_34__", !12, i64 0, !12, i64 8, !14, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !12, i64 48}
!17 = !{!16, !7, i64 40}
!18 = !{!19, !7, i64 4}
!19 = !{!"TYPE_35__", !7, i64 0, !7, i64 4, !7, i64 8}
!20 = !{!16, !12, i64 8}
!21 = !{!19, !7, i64 0}
!22 = !{!16, !7, i64 36}
!23 = !{!16, !7, i64 32}
!24 = !{!16, !7, i64 24}
!25 = !{!16, !14, i64 16}
!26 = !{!16, !12, i64 0}
!27 = !{!28, !7, i64 0}
!28 = !{!"TYPE_31__", !7, i64 0}
|
reactos_dll_win32_msi_extr_package.c_MSI_OpenPackageW
|
; ModuleID = 'AnghaBench/vlc/test/src/config/extr_chain.c_test_config_StringEscape.c'
source_filename = "AnghaBench/vlc/test/src/config/extr_chain.c_test_config_StringEscape.c"
target datalayout = "e-m:e-p270:32:32-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, i64 }
@escape_samples = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_config_StringEscape], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_config_StringEscape() #0 {
%1 = load ptr, ptr @escape_samples, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1
%3 = load i64, ptr %2, align 8, !tbaa !9
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %6, %0
ret void
6: ; preds = %0, %6
%7 = phi i64 [ %18, %6 ], [ 0, %0 ]
%8 = phi i64 [ %21, %6 ], [ %3, %0 ]
%9 = tail call ptr @config_StringEscape(i64 noundef %8) #2
%10 = load ptr, ptr @escape_samples, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %7
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = tail call i32 @strcmp(ptr noundef %9, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #2
%17 = tail call i32 @free(ptr noundef %9) #2
%18 = add nuw i64 %7, 1
%19 = load ptr, ptr @escape_samples, align 8, !tbaa !5
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %18, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !9
%22 = icmp eq i64 %21, 0
br i1 %22, label %5, label %6, !llvm.loop !14
}
declare ptr @config_StringEscape(i64 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @strcmp(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"TYPE_2__", !11, i64 0, !12, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/vlc/test/src/config/extr_chain.c_test_config_StringEscape.c'
source_filename = "AnghaBench/vlc/test/src/config/extr_chain.c_test_config_StringEscape.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i64 }
@escape_samples = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @test_config_StringEscape], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_config_StringEscape() #0 {
%1 = load ptr, ptr @escape_samples, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %1, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !10
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %6, %0
ret void
6: ; preds = %0, %6
%7 = phi i64 [ %18, %6 ], [ 0, %0 ]
%8 = phi i64 [ %21, %6 ], [ %3, %0 ]
%9 = tail call ptr @config_StringEscape(i64 noundef %8) #2
%10 = load ptr, ptr @escape_samples, align 8, !tbaa !6
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %7
%12 = load i32, ptr %11, align 8, !tbaa !14
%13 = tail call i32 @strcmp(ptr noundef %9, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #2
%17 = tail call i32 @free(ptr noundef %9) #2
%18 = add nuw nsw i64 %7, 1
%19 = load ptr, ptr @escape_samples, align 8, !tbaa !6
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %18, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !10
%22 = icmp eq i64 %21, 0
br i1 %22, label %5, label %6, !llvm.loop !15
}
declare ptr @config_StringEscape(i64 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @strcmp(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
vlc_test_src_config_extr_chain.c_test_config_StringEscape
|
; ModuleID = 'AnghaBench/tig/src/extr_status.c_status_request.c'
source_filename = "AnghaBench/tig/src/extr_status.c_status_request.c"
target datalayout = "e-m:e-p270:32:32-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.line = type { i32, ptr }
%struct.status = type { i8, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
%struct.view = type { ptr, ptr }
@REQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [60 x i8] c"Merging only possible for files with unmerged status ('U').\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"File has been deleted.\00", align 1
@LINE_STAT_UNTRACKED = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"Nothing to blame here\00", align 1
@show_untracked_only = dso_local local_unnamed_addr global i64 0, align 8
@main_view = dso_local global i32 0, align 4
@REQ_VIEW_CLOSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @status_request], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @status_request(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.line, ptr %2, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
switch i32 %1, label %74 [
i32 129, label %6
i32 130, label %11
i32 131, label %18
i32 134, label %30
i32 128, label %42
i32 133, label %55
i32 132, label %57
]
6: ; preds = %3
%7 = tail call i32 @status_update(ptr noundef %0) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %59
9: ; preds = %6
%10 = load i32, ptr @REQ_NONE, align 4, !tbaa !11
br label %74
11: ; preds = %3
%12 = load i32, ptr %2, align 8, !tbaa !12
%13 = tail call i32 @status_has_none(ptr noundef %0, ptr noundef nonnull %2) #2
%14 = tail call i32 @status_revert(ptr noundef %5, i32 noundef %12, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %59
16: ; preds = %11
%17 = load i32, ptr @REQ_NONE, align 4, !tbaa !11
br label %74
18: ; preds = %3
%19 = icmp eq ptr %5, null
br i1 %19, label %23, label %20
20: ; preds = %18
%21 = load i8, ptr %5, align 4, !tbaa !13
%22 = icmp eq i8 %21, 85
br i1 %22, label %26, label %23
23: ; preds = %20, %18
%24 = tail call i32 @report(ptr noundef nonnull @.str) #2
%25 = load i32, ptr @REQ_NONE, align 4, !tbaa !11
br label %74
26: ; preds = %20
%27 = getelementptr inbounds %struct.status, ptr %5, i64 0, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = tail call i32 @open_mergetool(i32 noundef %28) #2
br label %59
30: ; preds = %3
%31 = icmp eq ptr %5, null
br i1 %31, label %74, label %32
32: ; preds = %30
%33 = load i8, ptr %5, align 4, !tbaa !13
%34 = icmp eq i8 %33, 68
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = tail call i32 @report(ptr noundef nonnull @.str.1) #2
%37 = load i32, ptr @REQ_NONE, align 4, !tbaa !11
br label %74
38: ; preds = %32
%39 = getelementptr inbounds %struct.status, ptr %5, i64 0, i32 1
%40 = load i32, ptr %39, align 4, !tbaa !16
%41 = tail call i32 @open_editor(i32 noundef %40, i32 noundef 0) #2
br label %59
42: ; preds = %3
%43 = load i32, ptr %2, align 8, !tbaa !12
%44 = load i32, ptr @LINE_STAT_UNTRACKED, align 4, !tbaa !11
%45 = icmp ne i32 %43, %44
%46 = icmp ne ptr %5, null
%47 = select i1 %45, i1 %46, i1 false
br i1 %47, label %51, label %48
48: ; preds = %42
%49 = tail call i32 @report(ptr noundef nonnull @.str.2) #2
%50 = load i32, ptr @REQ_NONE, align 4, !tbaa !11
br label %74
51: ; preds = %42
%52 = getelementptr inbounds %struct.view, ptr %0, i64 0, i32 1
%53 = load ptr, ptr %52, align 8, !tbaa !17
%54 = load ptr, ptr %53, align 8, !tbaa !19
store i32 0, ptr %54, align 4, !tbaa !11
br label %74
55: ; preds = %3
%56 = tail call i32 @status_enter(ptr noundef %0, ptr noundef nonnull %2) #2
br label %74
57: ; preds = %3
%58 = tail call i32 (...) @load_repo_head() #2
br label %59
59: ; preds = %11, %6, %57, %38, %26
%60 = load i64, ptr @show_untracked_only, align 8, !tbaa !21
%61 = icmp eq i64 %60, 0
br i1 %61, label %71, label %62
62: ; preds = %59
%63 = load ptr, ptr %0, align 8, !tbaa !23
%64 = icmp eq ptr %63, @main_view
br i1 %64, label %65, label %71
65: ; preds = %62
%66 = load i32, ptr @LINE_STAT_UNTRACKED, align 4, !tbaa !11
%67 = tail call i32 @main_status_exists(ptr noundef nonnull @main_view, i32 noundef %66) #2
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = load i32, ptr @REQ_VIEW_CLOSE, align 4, !tbaa !11
br label %74
71: ; preds = %65, %62, %59
%72 = tail call i32 @refresh_view(ptr noundef %0) #2
%73 = load i32, ptr @REQ_NONE, align 4, !tbaa !11
br label %74
74: ; preds = %3, %30, %71, %69, %55, %51, %48, %35, %23, %16, %9
%75 = phi i32 [ %73, %71 ], [ %70, %69 ], [ %56, %55 ], [ 128, %51 ], [ %50, %48 ], [ %37, %35 ], [ %25, %23 ], [ %17, %16 ], [ %10, %9 ], [ 134, %30 ], [ %1, %3 ]
ret i32 %75
}
declare i32 @status_update(ptr noundef) local_unnamed_addr #1
declare i32 @status_revert(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @status_has_none(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @report(ptr noundef) local_unnamed_addr #1
declare i32 @open_mergetool(i32 noundef) local_unnamed_addr #1
declare i32 @open_editor(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @status_enter(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @load_repo_head(...) local_unnamed_addr #1
declare i32 @main_status_exists(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @refresh_view(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"line", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"status", !8, i64 0, !15, i64 4}
!15 = !{!"TYPE_3__", !7, i64 0}
!16 = !{!14, !7, i64 4}
!17 = !{!18, !10, i64 8}
!18 = !{!"view", !10, i64 0, !10, i64 8}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_4__", !10, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"long", !8, i64 0}
!23 = !{!18, !10, i64 0}
|
; ModuleID = 'AnghaBench/tig/src/extr_status.c_status_request.c'
source_filename = "AnghaBench/tig/src/extr_status.c_status_request.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REQ_NONE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [60 x i8] c"Merging only possible for files with unmerged status ('U').\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"File has been deleted.\00", align 1
@LINE_STAT_UNTRACKED = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [22 x i8] c"Nothing to blame here\00", align 1
@show_untracked_only = common local_unnamed_addr global i64 0, align 8
@main_view = common global i32 0, align 4
@REQ_VIEW_CLOSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @status_request], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @status_request(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
switch i32 %1, label %74 [
i32 129, label %6
i32 130, label %11
i32 131, label %18
i32 134, label %30
i32 128, label %42
i32 133, label %55
i32 132, label %57
]
6: ; preds = %3
%7 = tail call i32 @status_update(ptr noundef %0) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %59
9: ; preds = %6
%10 = load i32, ptr @REQ_NONE, align 4, !tbaa !12
br label %74
11: ; preds = %3
%12 = load i32, ptr %2, align 8, !tbaa !13
%13 = tail call i32 @status_has_none(ptr noundef %0, ptr noundef nonnull %2) #2
%14 = tail call i32 @status_revert(ptr noundef %5, i32 noundef %12, i32 noundef %13) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %59
16: ; preds = %11
%17 = load i32, ptr @REQ_NONE, align 4, !tbaa !12
br label %74
18: ; preds = %3
%19 = icmp eq ptr %5, null
br i1 %19, label %23, label %20
20: ; preds = %18
%21 = load i8, ptr %5, align 4, !tbaa !14
%22 = icmp eq i8 %21, 85
br i1 %22, label %26, label %23
23: ; preds = %20, %18
%24 = tail call i32 @report(ptr noundef nonnull @.str) #2
%25 = load i32, ptr @REQ_NONE, align 4, !tbaa !12
br label %74
26: ; preds = %20
%27 = getelementptr inbounds i8, ptr %5, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !17
%29 = tail call i32 @open_mergetool(i32 noundef %28) #2
br label %59
30: ; preds = %3
%31 = icmp eq ptr %5, null
br i1 %31, label %74, label %32
32: ; preds = %30
%33 = load i8, ptr %5, align 4, !tbaa !14
%34 = icmp eq i8 %33, 68
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = tail call i32 @report(ptr noundef nonnull @.str.1) #2
%37 = load i32, ptr @REQ_NONE, align 4, !tbaa !12
br label %74
38: ; preds = %32
%39 = getelementptr inbounds i8, ptr %5, i64 4
%40 = load i32, ptr %39, align 4, !tbaa !17
%41 = tail call i32 @open_editor(i32 noundef %40, i32 noundef 0) #2
br label %59
42: ; preds = %3
%43 = load i32, ptr %2, align 8, !tbaa !13
%44 = load i32, ptr @LINE_STAT_UNTRACKED, align 4, !tbaa !12
%45 = icmp ne i32 %43, %44
%46 = icmp ne ptr %5, null
%47 = select i1 %45, i1 %46, i1 false
br i1 %47, label %51, label %48
48: ; preds = %42
%49 = tail call i32 @report(ptr noundef nonnull @.str.2) #2
%50 = load i32, ptr @REQ_NONE, align 4, !tbaa !12
br label %74
51: ; preds = %42
%52 = getelementptr inbounds i8, ptr %0, i64 8
%53 = load ptr, ptr %52, align 8, !tbaa !18
%54 = load ptr, ptr %53, align 8, !tbaa !20
store i32 0, ptr %54, align 4, !tbaa !12
br label %74
55: ; preds = %3
%56 = tail call i32 @status_enter(ptr noundef %0, ptr noundef nonnull %2) #2
br label %74
57: ; preds = %3
%58 = tail call i32 @load_repo_head() #2
br label %59
59: ; preds = %11, %6, %57, %38, %26
%60 = load i64, ptr @show_untracked_only, align 8, !tbaa !22
%61 = icmp eq i64 %60, 0
br i1 %61, label %71, label %62
62: ; preds = %59
%63 = load ptr, ptr %0, align 8, !tbaa !24
%64 = icmp eq ptr %63, @main_view
br i1 %64, label %65, label %71
65: ; preds = %62
%66 = load i32, ptr @LINE_STAT_UNTRACKED, align 4, !tbaa !12
%67 = tail call i32 @main_status_exists(ptr noundef nonnull @main_view, i32 noundef %66) #2
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = load i32, ptr @REQ_VIEW_CLOSE, align 4, !tbaa !12
br label %74
71: ; preds = %65, %62, %59
%72 = tail call i32 @refresh_view(ptr noundef %0) #2
%73 = load i32, ptr @REQ_NONE, align 4, !tbaa !12
br label %74
74: ; preds = %3, %30, %71, %69, %55, %51, %48, %35, %23, %16, %9
%75 = phi i32 [ %73, %71 ], [ %70, %69 ], [ %56, %55 ], [ 128, %51 ], [ %50, %48 ], [ %37, %35 ], [ %25, %23 ], [ %17, %16 ], [ %10, %9 ], [ 134, %30 ], [ %1, %3 ]
ret i32 %75
}
declare i32 @status_update(ptr noundef) local_unnamed_addr #1
declare i32 @status_revert(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @status_has_none(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @report(ptr noundef) local_unnamed_addr #1
declare i32 @open_mergetool(i32 noundef) local_unnamed_addr #1
declare i32 @open_editor(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @status_enter(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @load_repo_head(...) local_unnamed_addr #1
declare i32 @main_status_exists(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @refresh_view(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"line", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !9, i64 0}
!15 = !{!"status", !9, i64 0, !16, i64 4}
!16 = !{!"TYPE_3__", !8, i64 0}
!17 = !{!15, !8, i64 4}
!18 = !{!19, !11, i64 8}
!19 = !{!"view", !11, i64 0, !11, i64 8}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_4__", !11, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !9, i64 0}
!24 = !{!19, !11, i64 0}
|
tig_src_extr_status.c_status_request
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/sym53c8xx_2/extr_sym_misc.h_sym_que_move.c'
source_filename = "AnghaBench/linux/drivers/scsi/sym53c8xx_2/extr_sym_misc.h_sym_que_move.c"
target datalayout = "e-m:e-p270:32:32-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.sym_quehead = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @sym_que_move], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @sym_que_move(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.sym_quehead, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq ptr %4, %0
br i1 %5, label %10, label %6
6: ; preds = %2
store ptr %1, ptr %4, align 8, !tbaa !10
%7 = getelementptr inbounds %struct.sym_quehead, ptr %1, i64 0, i32 1
store ptr %4, ptr %7, align 8, !tbaa !5
%8 = load ptr, ptr %0, align 8, !tbaa !10
%9 = getelementptr inbounds %struct.sym_quehead, ptr %8, i64 0, i32 1
store ptr %1, ptr %9, align 8, !tbaa !5
store ptr %8, ptr %1, align 8, !tbaa !10
store ptr %0, ptr %3, align 8, !tbaa !5
store ptr %0, ptr %0, align 8, !tbaa !10
br label %12
10: ; preds = %2
%11 = getelementptr inbounds %struct.sym_quehead, ptr %1, i64 0, i32 1
store ptr %1, ptr %11, align 8, !tbaa !5
store ptr %1, ptr %1, align 8, !tbaa !10
br label %12
12: ; preds = %10, %6
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"sym_quehead", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/sym53c8xx_2/extr_sym_misc.h_sym_que_move.c'
source_filename = "AnghaBench/linux/drivers/scsi/sym53c8xx_2/extr_sym_misc.h_sym_que_move.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 @sym_que_move], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @sym_que_move(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq ptr %4, %0
br i1 %5, label %10, label %6
6: ; preds = %2
store ptr %1, ptr %4, align 8, !tbaa !11
%7 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %4, ptr %7, align 8, !tbaa !6
%8 = load ptr, ptr %0, align 8, !tbaa !11
%9 = getelementptr inbounds i8, ptr %8, i64 8
store ptr %1, ptr %9, align 8, !tbaa !6
store ptr %8, ptr %1, align 8, !tbaa !11
store ptr %0, ptr %3, align 8, !tbaa !6
store ptr %0, ptr %0, align 8, !tbaa !11
br label %12
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %1, ptr %11, align 8, !tbaa !6
store ptr %1, ptr %1, align 8, !tbaa !11
br label %12
12: ; preds = %10, %6
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"sym_quehead", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
|
linux_drivers_scsi_sym53c8xx_2_extr_sym_misc.h_sym_que_move
|
; ModuleID = 'AnghaBench/linux/drivers/nvme/target/extr_io-cmd-bdev.c_nvmet_bdev_execute_write_zeroes.c'
source_filename = "AnghaBench/linux/drivers/nvme/target/extr_io-cmd-bdev.c_nvmet_bdev_execute_write_zeroes.c"
target datalayout = "e-m:e-p270:32:32-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.nvmet_req = type { ptr, ptr }
%struct.nvme_write_zeroes_cmd = type { i32, i32 }
%struct.TYPE_4__ = type { i32, i32 }
%struct.bio = type { i32, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@nvmet_bio_done = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nvmet_bdev_execute_write_zeroes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nvmet_bdev_execute_write_zeroes(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = getelementptr inbounds %struct.nvmet_req, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store ptr null, ptr %2, align 8, !tbaa !10
%5 = getelementptr inbounds %struct.nvme_write_zeroes_cmd, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @le64_to_cpu(i32 noundef %6) #3
%8 = load ptr, ptr %0, align 8, !tbaa !14
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = add nsw i32 %9, -9
%11 = shl i32 %7, %10
%12 = load i32, ptr %4, align 4, !tbaa !17
%13 = tail call i64 @le16_to_cpu(i32 noundef %12) #3
%14 = trunc i64 %13 to i32
%15 = add nsw i32 %14, 1
%16 = load ptr, ptr %0, align 8, !tbaa !14
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = add nsw i32 %17, -9
%19 = shl i32 %15, %18
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %16, i64 0, i32 1
%21 = load i32, ptr %20, align 4, !tbaa !18
%22 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !19
%23 = call i32 @__blkdev_issue_zeroout(i32 noundef %21, i32 noundef %11, i32 noundef %19, i32 noundef %22, ptr noundef nonnull %2, i32 noundef 0) #3
%24 = load ptr, ptr %2, align 8, !tbaa !10
%25 = icmp eq ptr %24, null
br i1 %25, label %30, label %26
26: ; preds = %1
%27 = getelementptr inbounds %struct.bio, ptr %24, i64 0, i32 1
store ptr %0, ptr %27, align 8, !tbaa !20
%28 = load i32, ptr @nvmet_bio_done, align 4, !tbaa !19
store i32 %28, ptr %24, align 8, !tbaa !22
%29 = call i32 @submit_bio(ptr noundef nonnull %24) #3
br label %33
30: ; preds = %1
%31 = call i32 @errno_to_nvme_status(ptr noundef nonnull %0, i32 noundef %23) #3
%32 = call i32 @nvmet_req_complete(ptr noundef nonnull %0, i32 noundef %31) #3
br label %33
33: ; preds = %30, %26
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #2
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @__blkdev_issue_zeroout(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @submit_bio(ptr noundef) local_unnamed_addr #2
declare i32 @nvmet_req_complete(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errno_to_nvme_status(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"nvmet_req", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 4}
!12 = !{!"nvme_write_zeroes_cmd", !13, i64 0, !13, i64 4}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_4__", !13, i64 0, !13, i64 4}
!17 = !{!12, !13, i64 0}
!18 = !{!16, !13, i64 4}
!19 = !{!13, !13, i64 0}
!20 = !{!21, !7, i64 8}
!21 = !{!"bio", !13, i64 0, !7, i64 8}
!22 = !{!21, !13, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/nvme/target/extr_io-cmd-bdev.c_nvmet_bdev_execute_write_zeroes.c'
source_filename = "AnghaBench/linux/drivers/nvme/target/extr_io-cmd-bdev.c_nvmet_bdev_execute_write_zeroes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@nvmet_bio_done = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nvmet_bdev_execute_write_zeroes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nvmet_bdev_execute_write_zeroes(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store ptr null, ptr %2, align 8, !tbaa !11
%5 = getelementptr inbounds i8, ptr %4, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call i32 @le64_to_cpu(i32 noundef %6) #3
%8 = load ptr, ptr %0, align 8, !tbaa !15
%9 = load i32, ptr %8, align 4, !tbaa !16
%10 = add nsw i32 %9, -9
%11 = shl i32 %7, %10
%12 = load i32, ptr %4, align 4, !tbaa !18
%13 = tail call i64 @le16_to_cpu(i32 noundef %12) #3
%14 = trunc i64 %13 to i32
%15 = add nsw i32 %14, 1
%16 = load ptr, ptr %0, align 8, !tbaa !15
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = add nsw i32 %17, -9
%19 = shl i32 %15, %18
%20 = getelementptr inbounds i8, ptr %16, i64 4
%21 = load i32, ptr %20, align 4, !tbaa !19
%22 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !20
%23 = call i32 @__blkdev_issue_zeroout(i32 noundef %21, i32 noundef %11, i32 noundef %19, i32 noundef %22, ptr noundef nonnull %2, i32 noundef 0) #3
%24 = load ptr, ptr %2, align 8, !tbaa !11
%25 = icmp eq ptr %24, null
br i1 %25, label %30, label %26
26: ; preds = %1
%27 = getelementptr inbounds i8, ptr %24, i64 8
store ptr %0, ptr %27, align 8, !tbaa !21
%28 = load i32, ptr @nvmet_bio_done, align 4, !tbaa !20
store i32 %28, ptr %24, align 8, !tbaa !23
%29 = call i32 @submit_bio(ptr noundef nonnull %24) #3
br label %33
30: ; preds = %1
%31 = call i32 @errno_to_nvme_status(ptr noundef nonnull %0, i32 noundef %23) #3
%32 = call i32 @nvmet_req_complete(ptr noundef nonnull %0, i32 noundef %31) #3
br label %33
33: ; preds = %30, %26
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @le64_to_cpu(i32 noundef) local_unnamed_addr #2
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @__blkdev_issue_zeroout(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @submit_bio(ptr noundef) local_unnamed_addr #2
declare i32 @nvmet_req_complete(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @errno_to_nvme_status(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"nvmet_req", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 4}
!13 = !{!"nvme_write_zeroes_cmd", !14, i64 0, !14, i64 4}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_4__", !14, i64 0, !14, i64 4}
!18 = !{!13, !14, i64 0}
!19 = !{!17, !14, i64 4}
!20 = !{!14, !14, i64 0}
!21 = !{!22, !8, i64 8}
!22 = !{!"bio", !14, i64 0, !8, i64 8}
!23 = !{!22, !14, i64 0}
|
linux_drivers_nvme_target_extr_io-cmd-bdev.c_nvmet_bdev_execute_write_zeroes
|
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_af_afftdn.c_postprocess.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_af_afftdn.c_postprocess.c"
target datalayout = "e-m:e-p270:32:32-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 { double, double }
@M_PI = dso_local local_unnamed_addr global double 0.000000e+00, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @postprocess], section "llvm.metadata"
; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable
define internal void @postprocess(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load double, ptr @M_PI, align 8, !tbaa !5
%4 = fmul double %3, 2.000000e+00
%5 = sitofp i32 %1 to double
%6 = fdiv double %4, %5
%7 = fmul double %6, 5.000000e-01
%8 = tail call double @sin(double noundef %7) #3
%9 = tail call double @sin(double noundef %6) #3
%10 = icmp sgt i32 %1, 7
br i1 %10, label %11, label %61
11: ; preds = %2
%12 = fmul double %8, -2.000000e+00
%13 = fmul double %8, %12
%14 = lshr i32 %1, 2
%15 = lshr i32 %1, 1
%16 = fadd double %13, 1.000000e+00
%17 = zext nneg i32 %15 to i64
%18 = zext nneg i32 %14 to i64
%19 = insertelement <2 x double> poison, double %9, i64 0
%20 = insertelement <2 x double> %19, double %16, i64 1
%21 = insertelement <2 x double> poison, double %13, i64 0
%22 = shufflevector <2 x double> %21, <2 x double> poison, <2 x i32> zeroinitializer
%23 = shufflevector <2 x double> %19, <2 x double> poison, <2 x i32> zeroinitializer
br label %24
24: ; preds = %11, %24
%25 = phi i64 [ 1, %11 ], [ %59, %24 ]
%26 = phi <2 x double> [ %20, %11 ], [ %58, %24 ]
%27 = sub nsw i64 %17, %25
%28 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 %25
%29 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 %27
%30 = extractelement <2 x double> %26, i64 1
%31 = fneg double %30
%32 = extractelement <2 x double> %26, i64 0
%33 = fneg double %32
%34 = load <2 x double>, ptr %28, align 8, !tbaa !5
%35 = load <2 x double>, ptr %29, align 8, !tbaa !5
%36 = fsub <2 x double> %34, %35
%37 = fadd <2 x double> %34, %35
%38 = shufflevector <2 x double> %36, <2 x double> %37, <2 x i32> <i32 0, i32 3>
%39 = fmul <2 x double> %38, <double 5.000000e-01, double 5.000000e-01>
%40 = shufflevector <2 x double> %37, <2 x double> %36, <2 x i32> <i32 0, i32 3>
%41 = fmul <2 x double> %40, <double 5.000000e-01, double 5.000000e-01>
%42 = insertelement <2 x double> %26, double %31, i64 0
%43 = shufflevector <2 x double> %39, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%44 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %42, <2 x double> %43, <2 x double> %41)
%45 = insertelement <2 x double> poison, double %33, i64 0
%46 = shufflevector <2 x double> %45, <2 x double> poison, <2 x i32> zeroinitializer
%47 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %39, <2 x double> %44)
store <2 x double> %47, ptr %28, align 8, !tbaa !5
%48 = shufflevector <2 x double> %26, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
%49 = shufflevector <2 x double> %26, <2 x double> poison, <2 x i32> <i32 1, i32 1>
%50 = fneg <2 x double> %41
%51 = shufflevector <2 x double> %41, <2 x double> %50, <2 x i32> <i32 0, i32 3>
%52 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %49, <2 x double> %43, <2 x double> %51)
%53 = insertelement <2 x double> %26, double %33, i64 1
%54 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %53, <2 x double> %39, <2 x double> %52)
store <2 x double> %54, ptr %29, align 8, !tbaa !5
%55 = insertelement <2 x double> %48, double %33, i64 1
%56 = fmul <2 x double> %23, %55
%57 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %26, <2 x double> %22, <2 x double> %56)
%58 = fadd <2 x double> %26, %57
%59 = add nuw nsw i64 %25, 1
%60 = icmp eq i64 %59, %18
br i1 %60, label %61, label %24, !llvm.loop !9
61: ; preds = %24, %2
%62 = load <2 x double>, ptr %0, align 8, !tbaa !5
%63 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%64 = fadd <2 x double> %63, %62
%65 = fsub <2 x double> %63, %62
%66 = shufflevector <2 x double> %64, <2 x double> %65, <2 x i32> <i32 0, i32 3>
%67 = fmul <2 x double> %66, <double 5.000000e-01, double 5.000000e-01>
store <2 x double> %67, ptr %0, align 8, !tbaa !5
ret void
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #2
attributes #0 = { nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_af_afftdn.c_postprocess.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_af_afftdn.c_postprocess.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { double, double }
@M_PI = common local_unnamed_addr global double 0.000000e+00, align 8
@llvm.used = appending global [1 x ptr] [ptr @postprocess], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @postprocess(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load double, ptr @M_PI, align 8, !tbaa !6
%4 = fmul double %3, 2.000000e+00
%5 = sitofp i32 %1 to double
%6 = fdiv double %4, %5
%7 = fmul double %6, 5.000000e-01
%8 = tail call double @llvm.sin.f64(double %7)
%9 = fmul double %8, -2.000000e+00
%10 = fmul double %8, %9
%11 = tail call double @llvm.sin.f64(double %6)
%12 = icmp sgt i32 %1, 7
br i1 %12, label %13, label %61
13: ; preds = %2
%14 = lshr i32 %1, 2
%15 = lshr i32 %1, 1
%16 = fadd double %10, 1.000000e+00
%17 = zext nneg i32 %15 to i64
%18 = zext nneg i32 %14 to i64
br label %19
19: ; preds = %13, %19
%20 = phi i64 [ 1, %13 ], [ %59, %19 ]
%21 = phi double [ %11, %13 ], [ %58, %19 ]
%22 = phi double [ %16, %13 ], [ %55, %19 ]
%23 = sub nsw i64 %17, %20
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 %20
%25 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 %23
%26 = getelementptr inbounds i8, ptr %25, i64 8
%27 = fneg double %22
%28 = fneg double %21
%29 = load <2 x double>, ptr %24, align 8, !tbaa !6
%30 = load <2 x double>, ptr %25, align 8, !tbaa !6
%31 = fadd <2 x double> %29, %30
%32 = fsub <2 x double> %29, %30
%33 = shufflevector <2 x double> %31, <2 x double> %32, <2 x i32> <i32 0, i32 3>
%34 = fmul <2 x double> %33, <double 5.000000e-01, double 5.000000e-01>
%35 = shufflevector <2 x double> %32, <2 x double> %31, <2 x i32> <i32 0, i32 3>
%36 = fmul <2 x double> %35, <double 5.000000e-01, double 5.000000e-01>
%37 = insertelement <2 x double> poison, double %27, i64 0
%38 = insertelement <2 x double> %37, double %22, i64 1
%39 = shufflevector <2 x double> %36, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%40 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %38, <2 x double> %39, <2 x double> %34)
%41 = insertelement <2 x double> poison, double %28, i64 0
%42 = shufflevector <2 x double> %41, <2 x double> poison, <2 x i32> zeroinitializer
%43 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %42, <2 x double> %36, <2 x double> %40)
store <2 x double> %43, ptr %24, align 8, !tbaa !6
%44 = extractelement <2 x double> %36, i64 1
%45 = extractelement <2 x double> %34, i64 0
%46 = tail call double @llvm.fmuladd.f64(double %22, double %44, double %45)
%47 = extractelement <2 x double> %36, i64 0
%48 = tail call double @llvm.fmuladd.f64(double %21, double %47, double %46)
store double %48, ptr %25, align 8, !tbaa !10
%49 = extractelement <2 x double> %34, i64 1
%50 = fneg double %49
%51 = tail call double @llvm.fmuladd.f64(double %22, double %47, double %50)
%52 = tail call double @llvm.fmuladd.f64(double %28, double %44, double %51)
store double %52, ptr %26, align 8, !tbaa !12
%53 = fmul double %11, %28
%54 = tail call double @llvm.fmuladd.f64(double %22, double %10, double %53)
%55 = fadd double %22, %54
%56 = fmul double %11, %22
%57 = tail call double @llvm.fmuladd.f64(double %21, double %10, double %56)
%58 = fadd double %21, %57
%59 = add nuw nsw i64 %20, 1
%60 = icmp eq i64 %59, %18
br i1 %60, label %61, label %19, !llvm.loop !13
61: ; preds = %19, %2
%62 = load double, ptr %0, align 8, !tbaa !10
%63 = getelementptr inbounds i8, ptr %0, i64 8
%64 = load double, ptr %63, align 8, !tbaa !12
%65 = fadd double %62, %64
%66 = fmul double %65, 5.000000e-01
store double %66, ptr %0, align 8, !tbaa !10
%67 = fsub double %62, %64
%68 = fmul double %67, 5.000000e-01
store double %68, ptr %63, align 8, !tbaa !12
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sin.f64(double) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #2
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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, !7, i64 0}
!7 = !{!"double", !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, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
FFmpeg_libavfilter_extr_af_afftdn.c_postprocess
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.