IR_x86
stringlengths 592
249k
| IR_arm
stringlengths 558
250k
| filename
stringlengths 17
191
|
---|---|---|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_ov534.c_sd_getbrightness.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_ov534.c_sd_getbrightness.c"
target datalayout = "e-m:e-p270:32:32-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 @sd_getbrightness], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal noundef i32 @sd_getbrightness(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
store i32 %3, ptr %1, align 4, !tbaa !10
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sd", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_ov534.c_sd_getbrightness.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_ov534.c_sd_getbrightness.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @sd_getbrightness], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal noundef i32 @sd_getbrightness(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
store i32 %3, ptr %1, align 4, !tbaa !11
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sd", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
fastsocket_kernel_drivers_media_video_gspca_extr_ov534.c_sd_getbrightness
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/extr_usb_device.c_usbd_get_isoc_fps.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/extr_usb_device.c_usbd_get_isoc_fps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @usbd_get_isoc_fps(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = and i32 %2, -2
%4 = icmp eq i32 %3, 128
%5 = select i1 %4, i32 1000, i32 8000
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"usb_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/extr_usb_device.c_usbd_get_isoc_fps.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/extr_usb_device.c_usbd_get_isoc_fps.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define range(i32 1000, 8001) i32 @usbd_get_isoc_fps(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = and i32 %2, -2
%4 = icmp eq i32 %3, 128
%5 = select i1 %4, i32 1000, i32 8000
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"usb_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_dev_usb_extr_usb_device.c_usbd_get_isoc_fps
|
; ModuleID = 'AnghaBench/linux/drivers/misc/eeprom/extr_ee1004.c_ee1004_get_current_page.c'
source_filename = "AnghaBench/linux/drivers/misc/eeprom/extr_ee1004.c_ee1004_get_current_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ee1004_set_page = dso_local local_unnamed_addr global ptr null, align 8
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ee1004_get_current_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ee1004_get_current_page() #0 {
%1 = load ptr, ptr @ee1004_set_page, align 8, !tbaa !5
%2 = load i32, ptr %1, align 4, !tbaa !9
%3 = tail call i32 @i2c_smbus_read_byte(i32 noundef %2) #3
%4 = load i32, ptr @ENXIO, align 4, !tbaa !9
%5 = sub nsw i32 0, %4
%6 = icmp eq i32 %3, %5
%7 = tail call i32 @llvm.smin.i32(i32 %3, i32 0)
%8 = select i1 %6, i32 1, i32 %7
ret i32 %8
}
declare i32 @i2c_smbus_read_byte(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, !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/linux/drivers/misc/eeprom/extr_ee1004.c_ee1004_get_current_page.c'
source_filename = "AnghaBench/linux/drivers/misc/eeprom/extr_ee1004.c_ee1004_get_current_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ee1004_set_page = common local_unnamed_addr global ptr null, align 8
@ENXIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ee1004_get_current_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 2) i32 @ee1004_get_current_page() #0 {
%1 = load ptr, ptr @ee1004_set_page, align 8, !tbaa !6
%2 = load i32, ptr %1, align 4, !tbaa !10
%3 = tail call i32 @i2c_smbus_read_byte(i32 noundef %2) #3
%4 = load i32, ptr @ENXIO, align 4, !tbaa !10
%5 = sub nsw i32 0, %4
%6 = icmp eq i32 %3, %5
%7 = tail call i32 @llvm.smin.i32(i32 %3, i32 0)
%8 = select i1 %6, i32 1, i32 %7
ret i32 %8
}
declare i32 @i2c_smbus_read_byte(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, !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}
|
linux_drivers_misc_eeprom_extr_ee1004.c_ee1004_get_current_page
|
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-palmas.c_palmas_clks_unprepare.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-palmas.c_palmas_clks_unprepare.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.palmas_clock_info = type { ptr, i32, i32, i64 }
%struct.TYPE_2__ = type { i32, i32 }
@PALMAS_RESOURCE_BASE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"Reg 0x%02x update failed, %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @palmas_clks_unprepare], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @palmas_clks_unprepare(ptr noundef %0) #0 {
%2 = tail call ptr @to_palmas_clks_info(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.palmas_clock_info, ptr %2, i64 0, i32 3
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %1
%7 = getelementptr inbounds %struct.palmas_clock_info, ptr %2, i64 0, i32 2
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = load i32, ptr @PALMAS_RESOURCE_BASE, align 4, !tbaa !13
%10 = load ptr, ptr %2, align 8, !tbaa !14
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !17
%14 = tail call i32 @palmas_update_bits(i32 noundef %8, i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef 0) #2
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %6
%17 = getelementptr inbounds %struct.palmas_clock_info, ptr %2, i64 0, i32 1
%18 = load i32, ptr %17, align 8, !tbaa !18
%19 = load ptr, ptr %2, align 8, !tbaa !14
%20 = load i32, ptr %19, align 4, !tbaa !15
%21 = tail call i32 @dev_err(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %20, i32 noundef %14) #2
br label %22
22: ; preds = %6, %16, %1
ret void
}
declare ptr @to_palmas_clks_info(ptr noundef) local_unnamed_addr #1
declare i32 @palmas_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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, !11, i64 16}
!6 = !{!"palmas_clock_info", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 12}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_2__", !10, i64 0, !10, i64 4}
!17 = !{!16, !10, i64 4}
!18 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-palmas.c_palmas_clks_unprepare.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-palmas.c_palmas_clks_unprepare.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PALMAS_RESOURCE_BASE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"Reg 0x%02x update failed, %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @palmas_clks_unprepare], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @palmas_clks_unprepare(ptr noundef %0) #0 {
%2 = tail call ptr @to_palmas_clks_info(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %2, i64 12
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = load i32, ptr @PALMAS_RESOURCE_BASE, align 4, !tbaa !14
%10 = load ptr, ptr %2, align 8, !tbaa !15
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = getelementptr inbounds i8, ptr %10, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !18
%14 = tail call i32 @palmas_update_bits(i32 noundef %8, i32 noundef %9, i32 noundef %11, i32 noundef %13, i32 noundef 0) #2
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %6
%17 = getelementptr inbounds i8, ptr %2, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !19
%19 = load ptr, ptr %2, align 8, !tbaa !15
%20 = load i32, ptr %19, align 4, !tbaa !16
%21 = tail call i32 @dev_err(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %20, i32 noundef %14) #2
br label %22
22: ; preds = %6, %16, %1
ret void
}
declare ptr @to_palmas_clks_info(ptr noundef) local_unnamed_addr #1
declare i32 @palmas_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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, !12, i64 16}
!7 = !{!"palmas_clock_info", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !11, i64 12}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_2__", !11, i64 0, !11, i64 4}
!18 = !{!17, !11, i64 4}
!19 = !{!7, !11, i64 8}
|
linux_drivers_clk_extr_clk-palmas.c_palmas_clks_unprepare
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_spu_priv1_mmio.c_int_mask_set.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_spu_priv1_mmio.c_int_mask_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @int_mask_set], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @int_mask_set(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = sext i32 %1 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = tail call i32 @out_be64(ptr noundef %7, i32 noundef %2) #2
ret void
}
declare i32 @out_be64(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 = !{!"spu", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_spu_priv1_mmio.c_int_mask_set.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_spu_priv1_mmio.c_int_mask_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @int_mask_set], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @int_mask_set(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = sext i32 %1 to i64
%7 = getelementptr inbounds i32, ptr %5, i64 %6
%8 = tail call i32 @out_be64(ptr noundef %7, i32 noundef %2) #2
ret void
}
declare i32 @out_be64(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 = !{!"spu", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
|
fastsocket_kernel_arch_powerpc_platforms_cell_extr_spu_priv1_mmio.c_int_mask_set
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/pcie/extr_rx.c_iwl_pcie_isr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/pcie/extr_rx.c_iwl_pcie_isr.c"
target datalayout = "e-m:e-p270:32:32-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.iwl_trans_pcie = type { i32, i32, i32 }
@CSR_INT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@CSR_INT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [53 x i8] c"We got a masked interrupt (0x%08x)...Ack and ignore\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Ignore interrupt, inta == 0\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"HARDWARE GONE?? INTA == 0x%08x\0A\00", align 1
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_WAKE_THREAD = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_INT_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@CSR_FH_INT_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@IWL_DL_ISR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @iwl_pcie_isr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iwl_pcie_isr(i32 %0, ptr noundef %1) #0 {
%3 = tail call ptr @IWL_TRANS_GET_PCIE_TRANS(ptr noundef %1) #2
%4 = getelementptr inbounds %struct.iwl_trans_pcie, ptr %3, i64 0, i32 2
%5 = tail call i32 @lockdep_assert_held(ptr noundef nonnull %4) #2
%6 = load i32, ptr %1, align 4, !tbaa !5
%7 = tail call i32 @trace_iwlwifi_dev_irq(i32 noundef %6) #2
%8 = load i32, ptr @CSR_INT_MASK, align 4, !tbaa !10
%9 = tail call i32 @iwl_read32(ptr noundef nonnull %1, i32 noundef %8) #2
%10 = load i32, ptr @CSR_INT_MASK, align 4, !tbaa !10
%11 = tail call i32 @iwl_write32(ptr noundef nonnull %1, i32 noundef %10, i32 noundef 0) #2
%12 = load i32, ptr @CSR_INT, align 4, !tbaa !10
%13 = tail call i32 @iwl_read32(ptr noundef nonnull %1, i32 noundef %12) #2
%14 = xor i32 %9, -1
%15 = and i32 %13, %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %22, label %17
17: ; preds = %2
%18 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_ISR(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef %15) #2
%19 = load i32, ptr @CSR_INT, align 4, !tbaa !10
%20 = tail call i32 @iwl_write32(ptr noundef nonnull %1, i32 noundef %19, i32 noundef %15) #2
%21 = and i32 %13, %9
br label %22
22: ; preds = %17, %2
%23 = phi i32 [ %21, %17 ], [ %13, %2 ]
switch i32 %23, label %30 [
i32 0, label %24
i32 -1, label %33
]
24: ; preds = %22
%25 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_ISR(ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #2
%26 = load i32, ptr @STATUS_INT_ENABLED, align 4, !tbaa !10
%27 = getelementptr inbounds %struct.iwl_trans_pcie, ptr %3, i64 0, i32 1
%28 = tail call i64 @test_bit(i32 noundef %26, ptr noundef nonnull %27) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %55, label %50
30: ; preds = %22
%31 = and i32 %23, -16
%32 = icmp eq i32 %31, -1515870816
br i1 %32, label %33, label %35
33: ; preds = %22, %30
%34 = tail call i32 @IWL_WARN(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i32 noundef %23) #2
br label %55
35: ; preds = %30
%36 = load i32, ptr %3, align 4, !tbaa !11
%37 = or i32 %36, %23
store i32 %37, ptr %3, align 4, !tbaa !11
%38 = tail call i64 @likely(i32 noundef %23) #2
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %55
40: ; preds = %35
%41 = load i32, ptr @STATUS_INT_ENABLED, align 4, !tbaa !10
%42 = getelementptr inbounds %struct.iwl_trans_pcie, ptr %3, i64 0, i32 1
%43 = tail call i64 @test_bit(i32 noundef %41, ptr noundef nonnull %42) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %55, label %45
45: ; preds = %40
%46 = load i32, ptr %3, align 4, !tbaa !11
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %55
48: ; preds = %45
%49 = tail call i32 @iwl_enable_interrupts(ptr noundef nonnull %1) #2
br label %55
50: ; preds = %24
%51 = load i32, ptr %3, align 4, !tbaa !11
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = tail call i32 @iwl_enable_interrupts(ptr noundef nonnull %1) #2
br label %55
55: ; preds = %24, %50, %53, %48, %45, %40, %35, %33
%56 = phi ptr [ @IRQ_HANDLED, %33 ], [ @IRQ_WAKE_THREAD, %35 ], [ @IRQ_HANDLED, %40 ], [ @IRQ_HANDLED, %45 ], [ @IRQ_HANDLED, %48 ], [ @IRQ_NONE, %53 ], [ @IRQ_NONE, %50 ], [ @IRQ_NONE, %24 ]
%57 = load i32, ptr %56, align 4, !tbaa !10
ret i32 %57
}
declare ptr @IWL_TRANS_GET_PCIE_TRANS(ptr noundef) local_unnamed_addr #1
declare i32 @lockdep_assert_held(ptr noundef) local_unnamed_addr #1
declare i32 @trace_iwlwifi_dev_irq(i32 noundef) local_unnamed_addr #1
declare i32 @iwl_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iwl_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IWL_DEBUG_ISR(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @IWL_WARN(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iwl_enable_interrupts(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 = !{!"iwl_trans", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"iwl_trans_pcie", !7, i64 0, !7, i64 4, !7, i64 8}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/pcie/extr_rx.c_iwl_pcie_isr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/pcie/extr_rx.c_iwl_pcie_isr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CSR_INT_MASK = common local_unnamed_addr global i32 0, align 4
@CSR_INT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [53 x i8] c"We got a masked interrupt (0x%08x)...Ack and ignore\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Ignore interrupt, inta == 0\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"HARDWARE GONE?? INTA == 0x%08x\0A\00", align 1
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@IRQ_WAKE_THREAD = common local_unnamed_addr global i32 0, align 4
@STATUS_INT_ENABLED = common local_unnamed_addr global i32 0, align 4
@IRQ_NONE = common local_unnamed_addr global i32 0, align 4
@CSR_FH_INT_STATUS = common local_unnamed_addr global i32 0, align 4
@IWL_DL_ISR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @iwl_pcie_isr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iwl_pcie_isr(i32 %0, ptr noundef %1) #0 {
%3 = tail call ptr @IWL_TRANS_GET_PCIE_TRANS(ptr noundef %1) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = tail call i32 @lockdep_assert_held(ptr noundef nonnull %4) #2
%6 = load i32, ptr %1, align 4, !tbaa !6
%7 = tail call i32 @trace_iwlwifi_dev_irq(i32 noundef %6) #2
%8 = load i32, ptr @CSR_INT_MASK, align 4, !tbaa !11
%9 = tail call i32 @iwl_read32(ptr noundef nonnull %1, i32 noundef %8) #2
%10 = load i32, ptr @CSR_INT_MASK, align 4, !tbaa !11
%11 = tail call i32 @iwl_write32(ptr noundef nonnull %1, i32 noundef %10, i32 noundef 0) #2
%12 = load i32, ptr @CSR_INT, align 4, !tbaa !11
%13 = tail call i32 @iwl_read32(ptr noundef nonnull %1, i32 noundef %12) #2
%14 = xor i32 %9, -1
%15 = and i32 %13, %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %22, label %17
17: ; preds = %2
%18 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_ISR(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef %15) #2
%19 = load i32, ptr @CSR_INT, align 4, !tbaa !11
%20 = tail call i32 @iwl_write32(ptr noundef nonnull %1, i32 noundef %19, i32 noundef %15) #2
%21 = and i32 %13, %9
br label %22
22: ; preds = %17, %2
%23 = phi i32 [ %21, %17 ], [ %13, %2 ]
switch i32 %23, label %30 [
i32 0, label %24
i32 -1, label %33
]
24: ; preds = %22
%25 = tail call i32 (ptr, ptr, ...) @IWL_DEBUG_ISR(ptr noundef nonnull %1, ptr noundef nonnull @.str.1) #2
%26 = load i32, ptr @STATUS_INT_ENABLED, align 4, !tbaa !11
%27 = getelementptr inbounds i8, ptr %3, i64 4
%28 = tail call i64 @test_bit(i32 noundef %26, ptr noundef nonnull %27) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %55, label %50
30: ; preds = %22
%31 = and i32 %23, -16
%32 = icmp eq i32 %31, -1515870816
br i1 %32, label %33, label %35
33: ; preds = %22, %30
%34 = tail call i32 @IWL_WARN(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i32 noundef %23) #2
br label %55
35: ; preds = %30
%36 = load i32, ptr %3, align 4, !tbaa !12
%37 = or i32 %36, %23
store i32 %37, ptr %3, align 4, !tbaa !12
%38 = tail call i64 @likely(i32 noundef %23) #2
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %55
40: ; preds = %35
%41 = load i32, ptr @STATUS_INT_ENABLED, align 4, !tbaa !11
%42 = getelementptr inbounds i8, ptr %3, i64 4
%43 = tail call i64 @test_bit(i32 noundef %41, ptr noundef nonnull %42) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %55, label %45
45: ; preds = %40
%46 = load i32, ptr %3, align 4, !tbaa !12
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %55
48: ; preds = %45
%49 = tail call i32 @iwl_enable_interrupts(ptr noundef nonnull %1) #2
br label %55
50: ; preds = %24
%51 = load i32, ptr %3, align 4, !tbaa !12
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = tail call i32 @iwl_enable_interrupts(ptr noundef nonnull %1) #2
br label %55
55: ; preds = %24, %50, %53, %48, %45, %40, %35, %33
%56 = phi ptr [ @IRQ_HANDLED, %33 ], [ @IRQ_WAKE_THREAD, %35 ], [ @IRQ_HANDLED, %40 ], [ @IRQ_HANDLED, %45 ], [ @IRQ_HANDLED, %48 ], [ @IRQ_NONE, %53 ], [ @IRQ_NONE, %50 ], [ @IRQ_NONE, %24 ]
%57 = load i32, ptr %56, align 4, !tbaa !11
ret i32 %57
}
declare ptr @IWL_TRANS_GET_PCIE_TRANS(ptr noundef) local_unnamed_addr #1
declare i32 @lockdep_assert_held(ptr noundef) local_unnamed_addr #1
declare i32 @trace_iwlwifi_dev_irq(i32 noundef) local_unnamed_addr #1
declare i32 @iwl_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iwl_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IWL_DEBUG_ISR(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @IWL_WARN(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iwl_enable_interrupts(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 = !{!"iwl_trans", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"iwl_trans_pcie", !8, i64 0, !8, i64 4, !8, i64 8}
|
fastsocket_kernel_drivers_net_wireless_iwlwifi_pcie_extr_rx.c_iwl_pcie_isr
|
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_isl29125.c_isl29125_buffer_preenable.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_isl29125.c_isl29125_buffer_preenable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.isl29125_data = type { i32, i32 }
@ISL29125_MODE_RGB = dso_local local_unnamed_addr global i32 0, align 4
@ISL29125_CONF1 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @isl29125_buffer_preenable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @isl29125_buffer_preenable(ptr noundef %0) #0 {
%2 = tail call ptr @iio_priv(ptr noundef %0) #2
%3 = load i32, ptr @ISL29125_MODE_RGB, align 4, !tbaa !5
%4 = load i32, ptr %2, align 4, !tbaa !9
%5 = or i32 %4, %3
store i32 %5, ptr %2, align 4, !tbaa !9
%6 = getelementptr inbounds %struct.isl29125_data, ptr %2, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = load i32, ptr @ISL29125_CONF1, align 4, !tbaa !5
%9 = tail call i32 @i2c_smbus_write_byte_data(i32 noundef %7, i32 noundef %8, i32 noundef %5) #2
ret i32 %9
}
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_write_byte_data(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, !6, i64 0}
!10 = !{!"isl29125_data", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_isl29125.c_isl29125_buffer_preenable.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_isl29125.c_isl29125_buffer_preenable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ISL29125_MODE_RGB = common local_unnamed_addr global i32 0, align 4
@ISL29125_CONF1 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @isl29125_buffer_preenable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @isl29125_buffer_preenable(ptr noundef %0) #0 {
%2 = tail call ptr @iio_priv(ptr noundef %0) #2
%3 = load i32, ptr @ISL29125_MODE_RGB, align 4, !tbaa !6
%4 = load i32, ptr %2, align 4, !tbaa !10
%5 = or i32 %4, %3
store i32 %5, ptr %2, align 4, !tbaa !10
%6 = getelementptr inbounds i8, ptr %2, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = load i32, ptr @ISL29125_CONF1, align 4, !tbaa !6
%9 = tail call i32 @i2c_smbus_write_byte_data(i32 noundef %7, i32 noundef %8, i32 noundef %5) #2
ret i32 %9
}
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_write_byte_data(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, !7, i64 0}
!11 = !{!"isl29125_data", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
|
linux_drivers_iio_light_extr_isl29125.c_isl29125_buffer_preenable
|
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_flower.c_fl_range_port_src_cmp.c'
source_filename = "AnghaBench/linux/net/sched/extr_cls_flower.c_fl_range_port_src_cmp.c"
target datalayout = "e-m:e-p270:32:32-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.cls_fl_filter = type { %struct.TYPE_17__, %struct.TYPE_24__, ptr }
%struct.TYPE_17__ = type { %struct.TYPE_16__, %struct.TYPE_14__ }
%struct.TYPE_16__ = type { i32 }
%struct.TYPE_14__ = type { i32 }
%struct.TYPE_24__ = type { %struct.TYPE_23__, %struct.TYPE_22__ }
%struct.TYPE_23__ = type { i32 }
%struct.TYPE_22__ = type { i32 }
%struct.TYPE_20__ = type { %struct.TYPE_19__, %struct.TYPE_18__ }
%struct.TYPE_19__ = type { i32 }
%struct.TYPE_18__ = type { i32 }
%struct.fl_flow_key = type { %struct.TYPE_15__, %struct.TYPE_26__, %struct.TYPE_25__ }
%struct.TYPE_15__ = type { i32 }
%struct.TYPE_26__ = type { i32 }
%struct.TYPE_25__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @fl_range_port_src_cmp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @fl_range_port_src_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = getelementptr inbounds %struct.cls_fl_filter, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_20__, ptr %5, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !17
%8 = tail call i64 @htons(i32 noundef %7) #2
%9 = load ptr, ptr %4, align 8, !tbaa !5
%10 = load i32, ptr %9, align 4, !tbaa !22
%11 = tail call i64 @htons(i32 noundef %10) #2
%12 = getelementptr inbounds %struct.cls_fl_filter, ptr %0, i64 0, i32 1
%13 = getelementptr inbounds %struct.cls_fl_filter, ptr %0, i64 0, i32 1, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !23
%15 = tail call i64 @htons(i32 noundef %14) #2
%16 = load i32, ptr %12, align 8, !tbaa !24
%17 = tail call i64 @htons(i32 noundef %16) #2
%18 = icmp ne i64 %8, 0
%19 = icmp ne i64 %11, 0
%20 = select i1 %18, i1 %19, i1 false
br i1 %20, label %21, label %32
21: ; preds = %3
%22 = getelementptr inbounds %struct.fl_flow_key, ptr %1, i64 0, i32 2
%23 = load i32, ptr %22, align 4, !tbaa !25
%24 = tail call i64 @htons(i32 noundef %23) #2
%25 = icmp slt i64 %24, %15
br i1 %25, label %32, label %26
26: ; preds = %21
%27 = load i32, ptr %22, align 4, !tbaa !25
%28 = tail call i64 @htons(i32 noundef %27) #2
%29 = icmp sgt i64 %28, %17
br i1 %29, label %32, label %30
30: ; preds = %26
%31 = load <2 x i32>, ptr %0, align 8, !tbaa !30
store <2 x i32> %31, ptr %2, align 4, !tbaa !30
br label %32
32: ; preds = %3, %30, %21, %26
%33 = phi i32 [ 0, %26 ], [ 0, %21 ], [ 1, %30 ], [ 1, %3 ]
ret i32 %33
}
declare i64 @htons(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !16, i64 16}
!6 = !{!"cls_fl_filter", !7, i64 0, !13, i64 8, !16, i64 16}
!7 = !{!"TYPE_17__", !8, i64 0, !12, i64 4}
!8 = !{!"TYPE_16__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_14__", !9, i64 0}
!13 = !{!"TYPE_24__", !14, i64 0, !15, i64 4}
!14 = !{!"TYPE_23__", !9, i64 0}
!15 = !{!"TYPE_22__", !9, i64 0}
!16 = !{!"any pointer", !10, i64 0}
!17 = !{!18, !9, i64 4}
!18 = !{!"TYPE_21__", !19, i64 0}
!19 = !{!"TYPE_20__", !20, i64 0, !21, i64 4}
!20 = !{!"TYPE_19__", !9, i64 0}
!21 = !{!"TYPE_18__", !9, i64 0}
!22 = !{!18, !9, i64 0}
!23 = !{!6, !9, i64 12}
!24 = !{!6, !9, i64 8}
!25 = !{!26, !9, i64 8}
!26 = !{!"fl_flow_key", !27, i64 0, !28, i64 4, !29, i64 8}
!27 = !{!"TYPE_15__", !9, i64 0}
!28 = !{!"TYPE_26__", !9, i64 0}
!29 = !{!"TYPE_25__", !9, i64 0}
!30 = !{!9, !9, i64 0}
|
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_flower.c_fl_range_port_src_cmp.c'
source_filename = "AnghaBench/linux/net/sched/extr_cls_flower.c_fl_range_port_src_cmp.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 @fl_range_port_src_cmp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @fl_range_port_src_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !18
%8 = tail call i64 @htons(i32 noundef %7) #2
%9 = load ptr, ptr %4, align 8, !tbaa !6
%10 = load i32, ptr %9, align 4, !tbaa !23
%11 = tail call i64 @htons(i32 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = getelementptr inbounds i8, ptr %0, i64 12
%14 = load i32, ptr %13, align 4, !tbaa !24
%15 = tail call i64 @htons(i32 noundef %14) #2
%16 = load i32, ptr %12, align 8, !tbaa !25
%17 = tail call i64 @htons(i32 noundef %16) #2
%18 = icmp ne i64 %8, 0
%19 = icmp ne i64 %11, 0
%20 = select i1 %18, i1 %19, i1 false
br i1 %20, label %21, label %32
21: ; preds = %3
%22 = getelementptr inbounds i8, ptr %1, i64 8
%23 = load i32, ptr %22, align 4, !tbaa !26
%24 = tail call i64 @htons(i32 noundef %23) #2
%25 = icmp slt i64 %24, %15
br i1 %25, label %32, label %26
26: ; preds = %21
%27 = load i32, ptr %22, align 4, !tbaa !26
%28 = tail call i64 @htons(i32 noundef %27) #2
%29 = icmp sgt i64 %28, %17
br i1 %29, label %32, label %30
30: ; preds = %26
%31 = load <2 x i32>, ptr %0, align 8, !tbaa !31
store <2 x i32> %31, ptr %2, align 4, !tbaa !31
br label %32
32: ; preds = %3, %30, %21, %26
%33 = phi i32 [ 0, %26 ], [ 0, %21 ], [ 1, %30 ], [ 1, %3 ]
ret i32 %33
}
declare i64 @htons(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !17, i64 16}
!7 = !{!"cls_fl_filter", !8, i64 0, !14, i64 8, !17, i64 16}
!8 = !{!"TYPE_17__", !9, i64 0, !13, i64 4}
!9 = !{!"TYPE_16__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"TYPE_14__", !10, i64 0}
!14 = !{!"TYPE_24__", !15, i64 0, !16, i64 4}
!15 = !{!"TYPE_23__", !10, i64 0}
!16 = !{!"TYPE_22__", !10, i64 0}
!17 = !{!"any pointer", !11, i64 0}
!18 = !{!19, !10, i64 4}
!19 = !{!"TYPE_21__", !20, i64 0}
!20 = !{!"TYPE_20__", !21, i64 0, !22, i64 4}
!21 = !{!"TYPE_19__", !10, i64 0}
!22 = !{!"TYPE_18__", !10, i64 0}
!23 = !{!19, !10, i64 0}
!24 = !{!7, !10, i64 12}
!25 = !{!7, !10, i64 8}
!26 = !{!27, !10, i64 8}
!27 = !{!"fl_flow_key", !28, i64 0, !29, i64 4, !30, i64 8}
!28 = !{!"TYPE_15__", !10, i64 0}
!29 = !{!"TYPE_26__", !10, i64 0}
!30 = !{!"TYPE_25__", !10, i64 0}
!31 = !{!10, !10, i64 0}
|
linux_net_sched_extr_cls_flower.c_fl_range_port_src_cmp
|
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_tree.c_x_closest_copy.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_tree.c_x_closest_copy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@svn_fs_x__dag_path_allow_null = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @x_closest_copy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @x_closest_copy(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = load ptr, ptr %2, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%12 = tail call ptr @svn_pool_create(ptr noundef %4) #3
store ptr null, ptr %0, align 8, !tbaa !10
store ptr null, ptr %1, align 8, !tbaa !10
%13 = load i32, ptr @FALSE, align 4, !tbaa !11
%14 = call i32 @svn_fs_x__get_dag_path(ptr noundef nonnull %6, ptr noundef nonnull %2, ptr noundef %3, i32 noundef 0, i32 noundef %13, ptr noundef %12, ptr noundef %12) #3
%15 = call i32 @SVN_ERR(i32 noundef %14) #3
%16 = load ptr, ptr %6, align 8, !tbaa !10
%17 = call i32 @find_youngest_copyroot(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %11, ptr noundef %16) #3
%18 = call i32 @SVN_ERR(i32 noundef %17) #3
%19 = load i64, ptr %8, align 8, !tbaa !13
%20 = icmp eq i64 %19, 0
br i1 %20, label %49, label %21
21: ; preds = %5
%22 = call i32 @svn_fs_x__revision_root(ptr noundef nonnull %10, ptr noundef %11, i64 noundef %19, ptr noundef %4) #3
%23 = call i32 @SVN_ERR(i32 noundef %22) #3
%24 = load ptr, ptr %10, align 8, !tbaa !10
%25 = load i32, ptr @svn_fs_x__dag_path_allow_null, align 4, !tbaa !11
%26 = load i32, ptr @FALSE, align 4, !tbaa !11
%27 = call i32 @svn_fs_x__get_dag_path(ptr noundef nonnull %7, ptr noundef %24, ptr noundef %3, i32 noundef %25, i32 noundef %26, ptr noundef %12, ptr noundef %12) #3
%28 = call i32 @SVN_ERR(i32 noundef %27) #3
%29 = load ptr, ptr %7, align 8, !tbaa !10
%30 = icmp eq ptr %29, null
br i1 %30, label %49, label %31
31: ; preds = %21
%32 = load ptr, ptr %29, align 8, !tbaa !15
%33 = load ptr, ptr %6, align 8, !tbaa !10
%34 = load ptr, ptr %33, align 8, !tbaa !15
%35 = call i32 @svn_fs_x__dag_related_node(ptr noundef %32, ptr noundef %34) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %49, label %37
37: ; preds = %31
%38 = call i64 @svn_fs_x__dag_get_revision(ptr noundef %32) #3
%39 = load i64, ptr %8, align 8, !tbaa !13
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = call i32 @svn_fs_x__dag_get_predecessor_id(ptr noundef %32) #3
%43 = call i32 @svn_fs_x__id_used(i32 noundef %42) #3
%44 = icmp eq i32 %43, 0
br i1 %44, label %49, label %45
45: ; preds = %41, %37
%46 = load ptr, ptr %10, align 8, !tbaa !10
store ptr %46, ptr %0, align 8, !tbaa !10
%47 = load ptr, ptr %9, align 8, !tbaa !10
%48 = call ptr @apr_pstrdup(ptr noundef %4, ptr noundef %47) #3
store ptr %48, ptr %1, align 8, !tbaa !10
br label %49
49: ; preds = %41, %31, %21, %5, %45
%50 = call i32 @svn_pool_destroy(ptr noundef %12) #3
%51 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret ptr %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_pool_create(ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__get_dag_path(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @find_youngest_copyroot(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_pool_destroy(ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__revision_root(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__dag_related_node(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @svn_fs_x__dag_get_revision(ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__id_used(i32 noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__dag_get_predecessor_id(ptr noundef) local_unnamed_addr #2
declare ptr @apr_pstrdup(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_9__", !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_tree.c_x_closest_copy.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_tree.c_x_closest_copy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@svn_fs_x__dag_path_allow_null = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @x_closest_copy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @x_closest_copy(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = load ptr, ptr %2, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%12 = tail call ptr @svn_pool_create(ptr noundef %4) #3
store ptr null, ptr %0, align 8, !tbaa !11
store ptr null, ptr %1, align 8, !tbaa !11
%13 = load i32, ptr @FALSE, align 4, !tbaa !12
%14 = call i32 @svn_fs_x__get_dag_path(ptr noundef nonnull %6, ptr noundef nonnull %2, ptr noundef %3, i32 noundef 0, i32 noundef %13, ptr noundef %12, ptr noundef %12) #3
%15 = call i32 @SVN_ERR(i32 noundef %14) #3
%16 = load ptr, ptr %6, align 8, !tbaa !11
%17 = call i32 @find_youngest_copyroot(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %11, ptr noundef %16) #3
%18 = call i32 @SVN_ERR(i32 noundef %17) #3
%19 = load i64, ptr %8, align 8, !tbaa !14
%20 = icmp eq i64 %19, 0
br i1 %20, label %49, label %21
21: ; preds = %5
%22 = call i32 @svn_fs_x__revision_root(ptr noundef nonnull %10, ptr noundef %11, i64 noundef %19, ptr noundef %4) #3
%23 = call i32 @SVN_ERR(i32 noundef %22) #3
%24 = load ptr, ptr %10, align 8, !tbaa !11
%25 = load i32, ptr @svn_fs_x__dag_path_allow_null, align 4, !tbaa !12
%26 = load i32, ptr @FALSE, align 4, !tbaa !12
%27 = call i32 @svn_fs_x__get_dag_path(ptr noundef nonnull %7, ptr noundef %24, ptr noundef %3, i32 noundef %25, i32 noundef %26, ptr noundef %12, ptr noundef %12) #3
%28 = call i32 @SVN_ERR(i32 noundef %27) #3
%29 = load ptr, ptr %7, align 8, !tbaa !11
%30 = icmp eq ptr %29, null
br i1 %30, label %49, label %31
31: ; preds = %21
%32 = load ptr, ptr %29, align 8, !tbaa !16
%33 = load ptr, ptr %6, align 8, !tbaa !11
%34 = load ptr, ptr %33, align 8, !tbaa !16
%35 = call i32 @svn_fs_x__dag_related_node(ptr noundef %32, ptr noundef %34) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %49, label %37
37: ; preds = %31
%38 = call i64 @svn_fs_x__dag_get_revision(ptr noundef %32) #3
%39 = load i64, ptr %8, align 8, !tbaa !14
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = call i32 @svn_fs_x__dag_get_predecessor_id(ptr noundef %32) #3
%43 = call i32 @svn_fs_x__id_used(i32 noundef %42) #3
%44 = icmp eq i32 %43, 0
br i1 %44, label %49, label %45
45: ; preds = %41, %37
%46 = load ptr, ptr %10, align 8, !tbaa !11
store ptr %46, ptr %0, align 8, !tbaa !11
%47 = load ptr, ptr %9, align 8, !tbaa !11
%48 = call ptr @apr_pstrdup(ptr noundef %4, ptr noundef %47) #3
store ptr %48, ptr %1, align 8, !tbaa !11
br label %49
49: ; preds = %41, %31, %21, %5, %45
%50 = call i32 @svn_pool_destroy(ptr noundef %12) #3
%51 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !11
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
ret ptr %51
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @svn_pool_create(ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__get_dag_path(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @find_youngest_copyroot(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_pool_destroy(ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__revision_root(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__dag_related_node(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @svn_fs_x__dag_get_revision(ptr noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__id_used(i32 noundef) local_unnamed_addr #2
declare i32 @svn_fs_x__dag_get_predecessor_id(ptr noundef) local_unnamed_addr #2
declare ptr @apr_pstrdup(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_9__", !8, i64 0}
|
freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_tree.c_x_closest_copy
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_raw.c_bind_device.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_raw.c_bind_device.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@raw_class = dso_local local_unnamed_addr global i32 0, align 4
@RAW_MAJOR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"raw%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bind_device], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bind_device(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @raw_class, align 4, !tbaa !5
%3 = load i32, ptr @RAW_MAJOR, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call i32 @MKDEV(i32 noundef %3, i32 noundef %4) #2
%6 = tail call i32 @device_destroy(i32 noundef %2, i32 noundef %5) #2
%7 = load i32, ptr @raw_class, align 4, !tbaa !5
%8 = load i32, ptr @RAW_MAJOR, align 4, !tbaa !5
%9 = load i32, ptr %0, align 4, !tbaa !9
%10 = tail call i32 @MKDEV(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr %0, align 4, !tbaa !9
%12 = tail call i32 @device_create(i32 noundef %7, ptr noundef null, i32 noundef %10, ptr noundef null, ptr noundef nonnull @.str, i32 noundef %11) #2
ret void
}
declare i32 @device_destroy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MKDEV(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_create(i32 noundef, 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)"}
!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 = !{!"raw_config_request", !6, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_raw.c_bind_device.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_raw.c_bind_device.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@raw_class = common local_unnamed_addr global i32 0, align 4
@RAW_MAJOR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"raw%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bind_device], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bind_device(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @raw_class, align 4, !tbaa !6
%3 = load i32, ptr @RAW_MAJOR, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @MKDEV(i32 noundef %3, i32 noundef %4) #2
%6 = tail call i32 @device_destroy(i32 noundef %2, i32 noundef %5) #2
%7 = load i32, ptr @raw_class, align 4, !tbaa !6
%8 = load i32, ptr @RAW_MAJOR, align 4, !tbaa !6
%9 = load i32, ptr %0, align 4, !tbaa !10
%10 = tail call i32 @MKDEV(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr %0, align 4, !tbaa !10
%12 = tail call i32 @device_create(i32 noundef %7, ptr noundef null, i32 noundef %10, ptr noundef null, ptr noundef nonnull @.str, i32 noundef %11) #2
ret void
}
declare i32 @device_destroy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MKDEV(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_create(i32 noundef, 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)"}
!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 = !{!"raw_config_request", !7, i64 0}
|
fastsocket_kernel_drivers_char_extr_raw.c_bind_device
|
; ModuleID = 'AnghaBench/postgres/contrib/btree_gist/extr_btree_utils_num.c_gbt_num_consistent.c'
source_filename = "AnghaBench/postgres/contrib/btree_gist/extr_btree_utils_num.c_gbt_num_consistent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { ptr, ptr, ptr, ptr, ptr }
%struct.TYPE_6__ = type { ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local i32 @gbt_num_consistent(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr %2, align 4, !tbaa !5
switch i32 %7, label %73 [
i32 130, label %8
i32 129, label %12
i32 133, label %23
i32 131, label %42
i32 132, label %54
i32 128, label %60
]
8: ; preds = %6
%9 = load ptr, ptr %4, align 8, !tbaa !9
%10 = load ptr, ptr %0, align 8, !tbaa !12
%11 = tail call i32 %9(ptr noundef %1, ptr noundef %10, ptr noundef %5) #1
br label %73
12: ; preds = %6
%13 = icmp eq i32 %3, 0
br i1 %13, label %19, label %14
14: ; preds = %12
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !14
%17 = load ptr, ptr %0, align 8, !tbaa !12
%18 = tail call i32 %16(ptr noundef %1, ptr noundef %17, ptr noundef %5) #1
br label %73
19: ; preds = %12
%20 = load ptr, ptr %4, align 8, !tbaa !9
%21 = load ptr, ptr %0, align 8, !tbaa !12
%22 = tail call i32 %20(ptr noundef %1, ptr noundef %21, ptr noundef %5) #1
br label %73
23: ; preds = %6
%24 = icmp eq i32 %3, 0
%25 = load ptr, ptr %0, align 8, !tbaa !12
br i1 %24, label %30, label %26
26: ; preds = %23
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2
%28 = load ptr, ptr %27, align 8, !tbaa !15
%29 = tail call i32 %28(ptr noundef %1, ptr noundef %25, ptr noundef %5) #1
br label %73
30: ; preds = %23
%31 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3
%32 = load ptr, ptr %31, align 8, !tbaa !16
%33 = tail call i32 %32(ptr noundef %25, ptr noundef %1, ptr noundef %5) #1
%34 = icmp eq i32 %33, 0
br i1 %34, label %73, label %35
35: ; preds = %30
%36 = load ptr, ptr %31, align 8, !tbaa !16
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%38 = load ptr, ptr %37, align 8, !tbaa !17
%39 = tail call i32 %36(ptr noundef %1, ptr noundef %38, ptr noundef %5) #1
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i32
br label %73
42: ; preds = %6
%43 = icmp eq i32 %3, 0
%44 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%45 = load ptr, ptr %44, align 8, !tbaa !17
br i1 %43, label %50, label %46
46: ; preds = %42
%47 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 4
%48 = load ptr, ptr %47, align 8, !tbaa !18
%49 = tail call i32 %48(ptr noundef %1, ptr noundef %45, ptr noundef %5) #1
br label %73
50: ; preds = %42
%51 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3
%52 = load ptr, ptr %51, align 8, !tbaa !16
%53 = tail call i32 %52(ptr noundef %1, ptr noundef %45, ptr noundef %5) #1
br label %73
54: ; preds = %6
%55 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3
%56 = load ptr, ptr %55, align 8, !tbaa !16
%57 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%58 = load ptr, ptr %57, align 8, !tbaa !17
%59 = tail call i32 %56(ptr noundef %1, ptr noundef %58, ptr noundef %5) #1
br label %73
60: ; preds = %6
%61 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2
%62 = load ptr, ptr %61, align 8, !tbaa !15
%63 = load ptr, ptr %0, align 8, !tbaa !12
%64 = tail call i32 %62(ptr noundef %1, ptr noundef %63, ptr noundef %5) #1
%65 = icmp eq i32 %64, 0
br i1 %65, label %73, label %66
66: ; preds = %60
%67 = load ptr, ptr %61, align 8, !tbaa !15
%68 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%69 = load ptr, ptr %68, align 8, !tbaa !17
%70 = tail call i32 %67(ptr noundef %1, ptr noundef %69, ptr noundef %5) #1
%71 = icmp eq i32 %70, 0
%72 = zext i1 %71 to i32
br label %73
73: ; preds = %6, %60, %66, %30, %35, %46, %50, %26, %14, %19, %54, %8
%74 = phi i32 [ %59, %54 ], [ %49, %46 ], [ %53, %50 ], [ %29, %26 ], [ %18, %14 ], [ %22, %19 ], [ %11, %8 ], [ 0, %30 ], [ %41, %35 ], [ 1, %60 ], [ %72, %66 ], [ 0, %6 ]
ret i32 %74
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !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_5__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !11, i64 0, !11, i64 8}
!14 = !{!10, !11, i64 8}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !11, i64 24}
!17 = !{!13, !11, i64 8}
!18 = !{!10, !11, i64 32}
|
; ModuleID = 'AnghaBench/postgres/contrib/btree_gist/extr_btree_utils_num.c_gbt_num_consistent.c'
source_filename = "AnghaBench/postgres/contrib/btree_gist/extr_btree_utils_num.c_gbt_num_consistent.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 @gbt_num_consistent(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr %2, align 4, !tbaa !6
switch i32 %7, label %73 [
i32 130, label %8
i32 129, label %12
i32 133, label %23
i32 131, label %42
i32 132, label %54
i32 128, label %60
]
8: ; preds = %6
%9 = load ptr, ptr %4, align 8, !tbaa !10
%10 = load ptr, ptr %0, align 8, !tbaa !13
%11 = tail call i32 %9(ptr noundef %1, ptr noundef %10, ptr noundef %5) #1
br label %73
12: ; preds = %6
%13 = icmp eq i32 %3, 0
br i1 %13, label %19, label %14
14: ; preds = %12
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !15
%17 = load ptr, ptr %0, align 8, !tbaa !13
%18 = tail call i32 %16(ptr noundef %1, ptr noundef %17, ptr noundef %5) #1
br label %73
19: ; preds = %12
%20 = load ptr, ptr %4, align 8, !tbaa !10
%21 = load ptr, ptr %0, align 8, !tbaa !13
%22 = tail call i32 %20(ptr noundef %1, ptr noundef %21, ptr noundef %5) #1
br label %73
23: ; preds = %6
%24 = icmp eq i32 %3, 0
%25 = load ptr, ptr %0, align 8, !tbaa !13
br i1 %24, label %30, label %26
26: ; preds = %23
%27 = getelementptr inbounds i8, ptr %4, i64 16
%28 = load ptr, ptr %27, align 8, !tbaa !16
%29 = tail call i32 %28(ptr noundef %1, ptr noundef %25, ptr noundef %5) #1
br label %73
30: ; preds = %23
%31 = getelementptr inbounds i8, ptr %4, i64 24
%32 = load ptr, ptr %31, align 8, !tbaa !17
%33 = tail call i32 %32(ptr noundef %25, ptr noundef %1, ptr noundef %5) #1
%34 = icmp eq i32 %33, 0
br i1 %34, label %73, label %35
35: ; preds = %30
%36 = load ptr, ptr %31, align 8, !tbaa !17
%37 = getelementptr inbounds i8, ptr %0, i64 8
%38 = load ptr, ptr %37, align 8, !tbaa !18
%39 = tail call i32 %36(ptr noundef %1, ptr noundef %38, ptr noundef %5) #1
%40 = icmp ne i32 %39, 0
%41 = zext i1 %40 to i32
br label %73
42: ; preds = %6
%43 = icmp eq i32 %3, 0
%44 = getelementptr inbounds i8, ptr %0, i64 8
%45 = load ptr, ptr %44, align 8, !tbaa !18
br i1 %43, label %50, label %46
46: ; preds = %42
%47 = getelementptr inbounds i8, ptr %4, i64 32
%48 = load ptr, ptr %47, align 8, !tbaa !19
%49 = tail call i32 %48(ptr noundef %1, ptr noundef %45, ptr noundef %5) #1
br label %73
50: ; preds = %42
%51 = getelementptr inbounds i8, ptr %4, i64 24
%52 = load ptr, ptr %51, align 8, !tbaa !17
%53 = tail call i32 %52(ptr noundef %1, ptr noundef %45, ptr noundef %5) #1
br label %73
54: ; preds = %6
%55 = getelementptr inbounds i8, ptr %4, i64 24
%56 = load ptr, ptr %55, align 8, !tbaa !17
%57 = getelementptr inbounds i8, ptr %0, i64 8
%58 = load ptr, ptr %57, align 8, !tbaa !18
%59 = tail call i32 %56(ptr noundef %1, ptr noundef %58, ptr noundef %5) #1
br label %73
60: ; preds = %6
%61 = getelementptr inbounds i8, ptr %4, i64 16
%62 = load ptr, ptr %61, align 8, !tbaa !16
%63 = load ptr, ptr %0, align 8, !tbaa !13
%64 = tail call i32 %62(ptr noundef %1, ptr noundef %63, ptr noundef %5) #1
%65 = icmp eq i32 %64, 0
br i1 %65, label %73, label %66
66: ; preds = %60
%67 = load ptr, ptr %61, align 8, !tbaa !16
%68 = getelementptr inbounds i8, ptr %0, i64 8
%69 = load ptr, ptr %68, align 8, !tbaa !18
%70 = tail call i32 %67(ptr noundef %1, ptr noundef %69, ptr noundef %5) #1
%71 = icmp eq i32 %70, 0
%72 = zext i1 %71 to i32
br label %73
73: ; preds = %6, %60, %66, %30, %35, %46, %50, %26, %14, %19, %54, %8
%74 = phi i32 [ %59, %54 ], [ %49, %46 ], [ %53, %50 ], [ %29, %26 ], [ %18, %14 ], [ %22, %19 ], [ %11, %8 ], [ 0, %30 ], [ %41, %35 ], [ 1, %60 ], [ %72, %66 ], [ 0, %6 ]
ret i32 %74
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !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_5__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_6__", !12, i64 0, !12, i64 8}
!15 = !{!11, !12, i64 8}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !12, i64 24}
!18 = !{!14, !12, i64 8}
!19 = !{!11, !12, i64 32}
|
postgres_contrib_btree_gist_extr_btree_utils_num.c_gbt_num_consistent
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_plcp_signal.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_plcp_signal.c"
target datalayout = "e-m:e-p270:32:32-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 @rum_plcp_signal], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @rum_plcp_signal(i32 noundef %0) #0 {
switch i32 %0, label %13 [
i32 12, label %14
i32 18, label %2
i32 24, label %3
i32 36, label %4
i32 48, label %5
i32 72, label %6
i32 96, label %7
i32 108, label %8
i32 2, label %9
i32 4, label %10
i32 11, label %11
i32 22, label %12
]
2: ; preds = %1
br label %14
3: ; preds = %1
br label %14
4: ; preds = %1
br label %14
5: ; preds = %1
br label %14
6: ; preds = %1
br label %14
7: ; preds = %1
br label %14
8: ; preds = %1
br label %14
9: ; preds = %1
br label %14
10: ; preds = %1
br label %14
11: ; preds = %1
br label %14
12: ; preds = %1
br label %14
13: ; preds = %1
br label %14
14: ; preds = %1, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2
%15 = phi i32 [ 255, %13 ], [ 3, %12 ], [ 2, %11 ], [ 1, %10 ], [ 0, %9 ], [ 12, %8 ], [ 8, %7 ], [ 13, %6 ], [ 9, %5 ], [ 14, %4 ], [ 10, %3 ], [ 15, %2 ], [ 11, %1 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_plcp_signal.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_plcp_signal.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 @rum_plcp_signal], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 256) i32 @rum_plcp_signal(i32 noundef %0) #0 {
switch i32 %0, label %13 [
i32 12, label %14
i32 18, label %2
i32 24, label %3
i32 36, label %4
i32 48, label %5
i32 72, label %6
i32 96, label %7
i32 108, label %8
i32 2, label %9
i32 4, label %10
i32 11, label %11
i32 22, label %12
]
2: ; preds = %1
br label %14
3: ; preds = %1
br label %14
4: ; preds = %1
br label %14
5: ; preds = %1
br label %14
6: ; preds = %1
br label %14
7: ; preds = %1
br label %14
8: ; preds = %1
br label %14
9: ; preds = %1
br label %14
10: ; preds = %1
br label %14
11: ; preds = %1
br label %14
12: ; preds = %1
br label %14
13: ; preds = %1
br label %14
14: ; preds = %1, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2
%15 = phi i32 [ 255, %13 ], [ 3, %12 ], [ 2, %11 ], [ 1, %10 ], [ 0, %9 ], [ 12, %8 ], [ 8, %7 ], [ 13, %6 ], [ 9, %5 ], [ 14, %4 ], [ 10, %3 ], [ 15, %2 ], [ 11, %1 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_sys_dev_usb_wlan_extr_if_rum.c_rum_plcp_signal
|
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_main_usb.c_main_kbd_disable.c'
source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_main_usb.c_main_kbd_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"
@main_b_kbd_enable = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable
define dso_local void @main_kbd_disable() local_unnamed_addr #0 {
store i32 0, ptr @main_b_kbd_enable, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_main_usb.c_main_kbd_disable.c'
source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_main_usb.c_main_kbd_disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@main_b_kbd_enable = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync)
define void @main_kbd_disable() local_unnamed_addr #0 {
store i32 0, ptr @main_b_kbd_enable, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
qmk_firmware_tmk_core_protocol_arm_atsam_usb_extr_main_usb.c_main_kbd_disable
|
; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/extr_lsm_sorted.c_btreeCursorNew.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/extr_lsm_sorted.c_btreeCursorNew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32 }
%struct.TYPE_10__ = type { i32, ptr, i32 }
@LSM_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @btreeCursorNew], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @btreeCursorNew(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @LSM_OK, align 4, !tbaa !5
store i32 %5, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr %1, align 4, !tbaa !9
%7 = tail call i32 @assert(i32 noundef %6) #3
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = call ptr @lsmMallocZeroRc(i32 noundef %9, i32 noundef 24, ptr noundef nonnull %4) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load i32, ptr %0, align 4, !tbaa !13
%14 = getelementptr inbounds %struct.TYPE_10__, ptr %10, i64 0, i32 2
store i32 %13, ptr %14, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.TYPE_10__, ptr %10, i64 0, i32 1
store ptr %1, ptr %15, align 8, !tbaa !17
store i32 -1, ptr %10, align 8, !tbaa !18
br label %16
16: ; preds = %12, %3
store ptr %10, ptr %2, align 8, !tbaa !19
%17 = load i32, ptr %4, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %17
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @lsmMallocZeroRc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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_9__", !6, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"TYPE_8__", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 0}
!14 = !{!15, !6, i64 16}
!15 = !{!"TYPE_10__", !6, i64 0, !16, i64 8, !6, i64 16}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!15, !6, i64 0}
!19 = !{!16, !16, i64 0}
|
; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/extr_lsm_sorted.c_btreeCursorNew.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/extr_lsm_sorted.c_btreeCursorNew.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LSM_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @btreeCursorNew], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @btreeCursorNew(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @LSM_OK, align 4, !tbaa !6
store i32 %5, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr %1, align 4, !tbaa !10
%7 = tail call i32 @assert(i32 noundef %6) #3
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = call ptr @lsmMallocZeroRc(i32 noundef %9, i32 noundef 24, ptr noundef nonnull %4) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load i32, ptr %0, align 4, !tbaa !14
%14 = getelementptr inbounds i8, ptr %10, i64 16
store i32 %13, ptr %14, align 8, !tbaa !15
%15 = getelementptr inbounds i8, ptr %10, i64 8
store ptr %1, ptr %15, align 8, !tbaa !18
store i32 -1, ptr %10, align 8, !tbaa !19
br label %16
16: ; preds = %12, %3
store ptr %10, ptr %2, align 8, !tbaa !20
%17 = load i32, ptr %4, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %17
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare ptr @lsmMallocZeroRc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_9__", !7, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"TYPE_8__", !7, i64 0, !7, i64 4}
!14 = !{!13, !7, i64 0}
!15 = !{!16, !7, i64 16}
!16 = !{!"TYPE_10__", !7, i64 0, !17, i64 8, !7, i64 16}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!16, !17, i64 8}
!19 = !{!16, !7, i64 0}
!20 = !{!17, !17, i64 0}
|
sqlcipher_ext_lsm1_extr_lsm_sorted.c_btreeCursorNew
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_parse_ddi_ports.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_parse_ddi_ports.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.child_device_config = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_ddi_ports], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @parse_ddi_ports(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @HAS_DDI(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = tail call i32 @IS_CHERRYVIEW(ptr noundef %0) #2
%7 = icmp eq i32 %6, 0
%8 = icmp slt i32 %1, 155
%9 = or i1 %8, %7
br i1 %9, label %26, label %12
10: ; preds = %2
%11 = icmp slt i32 %1, 155
br i1 %11, label %26, label %12
12: ; preds = %10, %5
%13 = load i32, ptr %0, align 8, !tbaa !5
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
br label %17
17: ; preds = %15, %17
%18 = phi i64 [ 0, %15 ], [ %22, %17 ]
%19 = load ptr, ptr %16, align 8, !tbaa !12
%20 = getelementptr inbounds %struct.child_device_config, ptr %19, i64 %18
%21 = tail call i32 @parse_ddi_port(ptr noundef nonnull %0, ptr noundef %20, i32 noundef %1) #2
%22 = add nuw nsw i64 %18, 1
%23 = load i32, ptr %0, align 8, !tbaa !5
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %17, label %26, !llvm.loop !13
26: ; preds = %17, %12, %10, %5
ret void
}
declare i32 @HAS_DDI(ptr noundef) local_unnamed_addr #1
declare i32 @IS_CHERRYVIEW(ptr noundef) local_unnamed_addr #1
declare i32 @parse_ddi_port(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"drm_i915_private", !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 = !{!6, !11, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_parse_ddi_ports.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_parse_ddi_ports.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.child_device_config = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @parse_ddi_ports], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @parse_ddi_ports(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @HAS_DDI(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = tail call i32 @IS_CHERRYVIEW(ptr noundef %0) #2
%7 = icmp eq i32 %6, 0
%8 = icmp slt i32 %1, 155
%9 = or i1 %8, %7
br i1 %9, label %26, label %12
10: ; preds = %2
%11 = icmp slt i32 %1, 155
br i1 %11, label %26, label %12
12: ; preds = %10, %5
%13 = load i32, ptr %0, align 8, !tbaa !6
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = getelementptr inbounds i8, ptr %0, i64 8
br label %17
17: ; preds = %15, %17
%18 = phi i64 [ 0, %15 ], [ %22, %17 ]
%19 = load ptr, ptr %16, align 8, !tbaa !13
%20 = getelementptr inbounds %struct.child_device_config, ptr %19, i64 %18
%21 = tail call i32 @parse_ddi_port(ptr noundef nonnull %0, ptr noundef %20, i32 noundef %1) #2
%22 = add nuw nsw i64 %18, 1
%23 = load i32, ptr %0, align 8, !tbaa !6
%24 = sext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %17, label %26, !llvm.loop !14
26: ; preds = %17, %12, %10, %5
ret void
}
declare i32 @HAS_DDI(ptr noundef) local_unnamed_addr #1
declare i32 @IS_CHERRYVIEW(ptr noundef) local_unnamed_addr #1
declare i32 @parse_ddi_port(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"drm_i915_private", !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 = !{!7, !12, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_gpu_drm_i915_display_extr_intel_bios.c_parse_ddi_ports
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_mac.c_e1000e_cleanup_led_generic.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_mac.c_e1000e_cleanup_led_generic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LEDCTL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @e1000e_cleanup_led_generic(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @LEDCTL, align 4, !tbaa !5
%3 = load i32, ptr %0, align 4, !tbaa !9
%4 = tail call i32 @ew32(i32 noundef %2, i32 noundef %3) #2
ret i32 0
}
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"e1000_hw", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_mac.c_e1000e_cleanup_led_generic.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_mac.c_e1000e_cleanup_led_generic.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LEDCTL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @e1000e_cleanup_led_generic(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr @LEDCTL, align 4, !tbaa !6
%3 = load i32, ptr %0, align 4, !tbaa !10
%4 = tail call i32 @ew32(i32 noundef %2, i32 noundef %3) #2
ret i32 0
}
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"e1000_hw", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
|
linux_drivers_net_ethernet_intel_e1000e_extr_mac.c_e1000e_cleanup_led_generic
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_ov511.c_show_bridge.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_ov511.c_show_bridge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@brglist = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_bridge], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_bridge(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @cd_to_ov(ptr noundef %0) #2
%5 = load i32, ptr @brglist, align 4, !tbaa !5
%6 = load i32, ptr %4, align 4, !tbaa !9
%7 = tail call ptr @symbolic(i32 noundef %5, i32 noundef %6) #2
%8 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef %7) #2
ret i32 %8
}
declare ptr @cd_to_ov(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @symbolic(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"usb_ov511", !6, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_ov511.c_show_bridge.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_ov511.c_show_bridge.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@brglist = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @show_bridge], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_bridge(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @cd_to_ov(ptr noundef %0) #2
%5 = load i32, ptr @brglist, align 4, !tbaa !6
%6 = load i32, ptr %4, align 4, !tbaa !10
%7 = tail call ptr @symbolic(i32 noundef %5, i32 noundef %6) #2
%8 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef %7) #2
ret i32 %8
}
declare ptr @cd_to_ov(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @symbolic(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"usb_ov511", !7, i64 0}
|
fastsocket_kernel_drivers_media_video_extr_ov511.c_show_bridge
|
; ModuleID = 'AnghaBench/tmux/extr_control-notify.c_control_notify_input.c'
source_filename = "AnghaBench/tmux/extr_control-notify.c_control_notify_input.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.client = type { i32, ptr }
%struct.window_pane = type { i8, i32 }
@CLIENT_CONTROL_NOOUTPUT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%%output %%%u \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\\%03o\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @control_notify_input(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds %struct.client, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %41, label %8
8: ; preds = %4
%9 = load i32, ptr %0, align 8, !tbaa !11
%10 = load i32, ptr @CLIENT_CONTROL_NOOUTPUT, align 4, !tbaa !12
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %41
13: ; preds = %8
%14 = getelementptr inbounds %struct.window_pane, ptr %1, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = tail call ptr @winlink_find_by_window(ptr noundef nonnull %6, i32 noundef %15) #2
%17 = icmp eq ptr %16, null
br i1 %17, label %41, label %18
18: ; preds = %13
%19 = tail call ptr (...) @evbuffer_new() #2
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = tail call i32 @fatalx(ptr noundef nonnull @.str) #2
br label %23
23: ; preds = %21, %18
%24 = load i8, ptr %1, align 4, !tbaa !15
%25 = tail call i32 @evbuffer_add_printf(ptr noundef %19, ptr noundef nonnull @.str.1, i8 noundef signext %24) #2
%26 = icmp eq i64 %3, 0
br i1 %26, label %38, label %27
27: ; preds = %23, %27
%28 = phi i64 [ %36, %27 ], [ 0, %23 ]
%29 = getelementptr inbounds i8, ptr %2, i64 %28
%30 = load i8, ptr %29, align 1, !tbaa !16
%31 = icmp slt i8 %30, 32
%32 = icmp eq i8 %30, 92
%33 = or i1 %31, %32
%34 = select i1 %33, ptr @.str.2, ptr @.str.3
%35 = tail call i32 @evbuffer_add_printf(ptr noundef %19, ptr noundef nonnull %34, i8 noundef signext %30) #2
%36 = add nuw i64 %28, 1
%37 = icmp eq i64 %36, %3
br i1 %37, label %38, label %27, !llvm.loop !17
38: ; preds = %27, %23
%39 = tail call i32 @control_write_buffer(ptr noundef nonnull %0, ptr noundef %19) #2
%40 = tail call i32 @evbuffer_free(ptr noundef %19) #2
br label %41
41: ; preds = %13, %38, %8, %4
ret void
}
declare ptr @winlink_find_by_window(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @evbuffer_new(...) local_unnamed_addr #1
declare i32 @fatalx(ptr noundef) local_unnamed_addr #1
declare i32 @evbuffer_add_printf(ptr noundef, ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @control_write_buffer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @evbuffer_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 = !{!"client", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"window_pane", !8, i64 0, !7, i64 4}
!15 = !{!14, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/tmux/extr_control-notify.c_control_notify_input.c'
source_filename = "AnghaBench/tmux/extr_control-notify.c_control_notify_input.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CLIENT_CONTROL_NOOUTPUT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%%output %%%u \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"\\%03o\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @control_notify_input(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %41, label %8
8: ; preds = %4
%9 = load i32, ptr %0, align 8, !tbaa !12
%10 = load i32, ptr @CLIENT_CONTROL_NOOUTPUT, align 4, !tbaa !13
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %41
13: ; preds = %8
%14 = getelementptr inbounds i8, ptr %1, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = tail call ptr @winlink_find_by_window(ptr noundef nonnull %6, i32 noundef %15) #2
%17 = icmp eq ptr %16, null
br i1 %17, label %41, label %18
18: ; preds = %13
%19 = tail call ptr @evbuffer_new() #2
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = tail call i32 @fatalx(ptr noundef nonnull @.str) #2
br label %23
23: ; preds = %21, %18
%24 = load i8, ptr %1, align 4, !tbaa !16
%25 = tail call i32 @evbuffer_add_printf(ptr noundef %19, ptr noundef nonnull @.str.1, i8 noundef signext %24) #2
%26 = icmp eq i64 %3, 0
br i1 %26, label %38, label %27
27: ; preds = %23, %27
%28 = phi i64 [ %36, %27 ], [ 0, %23 ]
%29 = getelementptr inbounds i8, ptr %2, i64 %28
%30 = load i8, ptr %29, align 1, !tbaa !17
%31 = icmp slt i8 %30, 32
%32 = icmp eq i8 %30, 92
%33 = or i1 %31, %32
%34 = select i1 %33, ptr @.str.2, ptr @.str.3
%35 = tail call i32 @evbuffer_add_printf(ptr noundef %19, ptr noundef nonnull %34, i8 noundef signext %30) #2
%36 = add nuw i64 %28, 1
%37 = icmp eq i64 %36, %3
br i1 %37, label %38, label %27, !llvm.loop !18
38: ; preds = %27, %23
%39 = tail call i32 @control_write_buffer(ptr noundef nonnull %0, ptr noundef %19) #2
%40 = tail call i32 @evbuffer_free(ptr noundef %19) #2
br label %41
41: ; preds = %13, %38, %8, %4
ret void
}
declare ptr @winlink_find_by_window(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @evbuffer_new(...) local_unnamed_addr #1
declare i32 @fatalx(ptr noundef) local_unnamed_addr #1
declare i32 @evbuffer_add_printf(ptr noundef, ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i32 @control_write_buffer(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @evbuffer_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 = !{!"client", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 4}
!15 = !{!"window_pane", !9, i64 0, !8, i64 4}
!16 = !{!15, !9, i64 0}
!17 = !{!9, !9, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
|
tmux_extr_control-notify.c_control_notify_input
|
; ModuleID = 'AnghaBench/linux/arch/mips/mm/extr_highmem.c_kunmap.c'
source_filename = "AnghaBench/linux/arch/mips/mm/extr_highmem.c_kunmap.c"
target datalayout = "e-m:e-p270:32:32-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 @kunmap(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 (...) @in_interrupt() #2
%3 = tail call i32 @BUG_ON(i32 noundef %2) #2
%4 = tail call i32 @PageHighMem(ptr noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @kunmap_high(ptr noundef %0) #2
br label %8
8: ; preds = %1, %6
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @in_interrupt(...) local_unnamed_addr #1
declare i32 @PageHighMem(ptr noundef) local_unnamed_addr #1
declare i32 @kunmap_high(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/arch/mips/mm/extr_highmem.c_kunmap.c'
source_filename = "AnghaBench/linux/arch/mips/mm/extr_highmem.c_kunmap.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 @kunmap(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @in_interrupt() #2
%3 = tail call i32 @BUG_ON(i32 noundef %2) #2
%4 = tail call i32 @PageHighMem(ptr noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @kunmap_high(ptr noundef %0) #2
br label %8
8: ; preds = %1, %6
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @in_interrupt(...) local_unnamed_addr #1
declare i32 @PageHighMem(ptr noundef) local_unnamed_addr #1
declare i32 @kunmap_high(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_arch_mips_mm_extr_highmem.c_kunmap
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_suba_32_pi.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_suba_32_pi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AX = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @m68k_op_suba_32_pi() local_unnamed_addr #0 {
%1 = tail call i64 (...) @OPER_AY_PI_32() #2
%2 = load i64, ptr @AX, align 8, !tbaa !5
%3 = sub nsw i64 %2, %1
%4 = tail call i64 @MASK_OUT_ABOVE_32(i64 noundef %3) #2
store i64 %4, ptr @AX, align 8, !tbaa !5
ret void
}
declare i64 @OPER_AY_PI_32(...) local_unnamed_addr #1
declare i64 @MASK_OUT_ABOVE_32(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_suba_32_pi.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopnz.c_m68k_op_suba_32_pi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AX = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @m68k_op_suba_32_pi() local_unnamed_addr #0 {
%1 = tail call i64 @OPER_AY_PI_32() #2
%2 = load i64, ptr @AX, align 8, !tbaa !6
%3 = sub nsw i64 %2, %1
%4 = tail call i64 @MASK_OUT_ABOVE_32(i64 noundef %3) #2
store i64 %4, ptr @AX, align 8, !tbaa !6
ret void
}
declare i64 @OPER_AY_PI_32(...) local_unnamed_addr #1
declare i64 @MASK_OUT_ABOVE_32(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kopnz.c_m68k_op_suba_32_pi
|
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lcode.c_patchtestreg.c'
source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lcode.c_patchtestreg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OP_TESTSET = dso_local local_unnamed_addr global i64 0, align 8
@NO_REG = dso_local local_unnamed_addr global i32 0, align 4
@OP_TEST = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @patchtestreg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @patchtestreg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @getjumpcontrol(ptr noundef %0, i32 noundef %1) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call i64 @GET_OPCODE(i32 noundef %5) #2
%7 = load i64, ptr @OP_TESTSET, align 8, !tbaa !9
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %26
9: ; preds = %3
%10 = load i32, ptr @NO_REG, align 4, !tbaa !5
%11 = icmp eq i32 %10, %2
br i1 %11, label %19, label %12
12: ; preds = %9
%13 = load i32, ptr %4, align 4, !tbaa !5
%14 = tail call i32 @GETARG_B(i32 noundef %13) #2
%15 = icmp eq i32 %14, %2
br i1 %15, label %19, label %16
16: ; preds = %12
%17 = load i32, ptr %4, align 4, !tbaa !5
%18 = tail call i32 @SETARG_A(i32 noundef %17, i32 noundef %2) #2
br label %26
19: ; preds = %12, %9
%20 = load i32, ptr @OP_TEST, align 4, !tbaa !5
%21 = load i32, ptr %4, align 4, !tbaa !5
%22 = tail call i32 @GETARG_B(i32 noundef %21) #2
%23 = load i32, ptr %4, align 4, !tbaa !5
%24 = tail call i32 @GETARG_C(i32 noundef %23) #2
%25 = tail call i32 @CREATE_ABC(i32 noundef %20, i32 noundef %22, i32 noundef 0, i32 noundef %24) #2
store i32 %25, ptr %4, align 4, !tbaa !5
br label %26
26: ; preds = %16, %19, %3
%27 = phi i32 [ 0, %3 ], [ 1, %19 ], [ 1, %16 ]
ret i32 %27
}
declare ptr @getjumpcontrol(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GET_OPCODE(i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_B(i32 noundef) local_unnamed_addr #1
declare i32 @SETARG_A(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CREATE_ABC(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_C(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lcode.c_patchtestreg.c'
source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_lcode.c_patchtestreg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OP_TESTSET = common local_unnamed_addr global i64 0, align 8
@NO_REG = common local_unnamed_addr global i32 0, align 4
@OP_TEST = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @patchtestreg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @patchtestreg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @getjumpcontrol(ptr noundef %0, i32 noundef %1) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call i64 @GET_OPCODE(i32 noundef %5) #2
%7 = load i64, ptr @OP_TESTSET, align 8, !tbaa !10
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %26
9: ; preds = %3
%10 = load i32, ptr @NO_REG, align 4, !tbaa !6
%11 = icmp eq i32 %10, %2
br i1 %11, label %19, label %12
12: ; preds = %9
%13 = load i32, ptr %4, align 4, !tbaa !6
%14 = tail call i32 @GETARG_B(i32 noundef %13) #2
%15 = icmp eq i32 %14, %2
br i1 %15, label %19, label %16
16: ; preds = %12
%17 = load i32, ptr %4, align 4, !tbaa !6
%18 = tail call i32 @SETARG_A(i32 noundef %17, i32 noundef %2) #2
br label %26
19: ; preds = %12, %9
%20 = load i32, ptr @OP_TEST, align 4, !tbaa !6
%21 = load i32, ptr %4, align 4, !tbaa !6
%22 = tail call i32 @GETARG_B(i32 noundef %21) #2
%23 = load i32, ptr %4, align 4, !tbaa !6
%24 = tail call i32 @GETARG_C(i32 noundef %23) #2
%25 = tail call i32 @CREATE_ABC(i32 noundef %20, i32 noundef %22, i32 noundef 0, i32 noundef %24) #2
store i32 %25, ptr %4, align 4, !tbaa !6
br label %26
26: ; preds = %16, %19, %3
%27 = phi i32 [ 0, %3 ], [ 1, %19 ], [ 1, %16 ]
ret i32 %27
}
declare ptr @getjumpcontrol(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @GET_OPCODE(i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_B(i32 noundef) local_unnamed_addr #1
declare i32 @SETARG_A(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CREATE_ABC(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GETARG_C(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
|
Provenance_Cores_FCEU_FCEU_lua_src_extr_lcode.c_patchtestreg
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/extr_gianfar.c_gfar_new_page.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/extr_gianfar.c_gfar_new_page.c"
target datalayout = "e-m:e-p270:32:32-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.gfar_rx_buff = type { i64, ptr, i32 }
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gfar_new_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @gfar_new_page(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call ptr (...) @dev_alloc_page() #2
%4 = icmp eq ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %22
8: ; preds = %2
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !10
%11 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !10
%12 = tail call i32 @dma_map_page(i32 noundef %9, ptr noundef %3, i32 noundef 0, i32 noundef %10, i32 noundef %11) #2
%13 = load i32, ptr %0, align 4, !tbaa !5
%14 = tail call i32 @dma_mapping_error(i32 noundef %13, i32 noundef %12) #2
%15 = tail call i64 @unlikely(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %8
%18 = tail call i32 @__free_page(ptr noundef %3) #2
br label %22
19: ; preds = %8
%20 = getelementptr inbounds %struct.gfar_rx_buff, ptr %1, i64 0, i32 2
store i32 %12, ptr %20, align 8, !tbaa !11
%21 = getelementptr inbounds %struct.gfar_rx_buff, ptr %1, i64 0, i32 1
store ptr %3, ptr %21, align 8, !tbaa !15
store i64 0, ptr %1, align 8, !tbaa !16
br label %22
22: ; preds = %2, %19, %17
%23 = phi i32 [ 0, %17 ], [ 1, %19 ], [ 0, %2 ]
ret i32 %23
}
declare ptr @dev_alloc_page(...) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @dma_map_page(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_mapping_error(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__free_page(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 = !{!"gfar_priv_rx_q", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 16}
!12 = !{!"gfar_rx_buff", !13, i64 0, !14, i64 8, !7, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!12, !14, i64 8}
!16 = !{!12, !13, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/extr_gianfar.c_gfar_new_page.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/extr_gianfar.c_gfar_new_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gfar_new_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @gfar_new_page(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call ptr @dev_alloc_page() #2
%4 = icmp eq ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %22
8: ; preds = %2
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11
%11 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !11
%12 = tail call i32 @dma_map_page(i32 noundef %9, ptr noundef %3, i32 noundef 0, i32 noundef %10, i32 noundef %11) #2
%13 = load i32, ptr %0, align 4, !tbaa !6
%14 = tail call i32 @dma_mapping_error(i32 noundef %13, i32 noundef %12) #2
%15 = tail call i64 @unlikely(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %8
%18 = tail call i32 @__free_page(ptr noundef %3) #2
br label %22
19: ; preds = %8
%20 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %12, ptr %20, align 8, !tbaa !12
%21 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %3, ptr %21, align 8, !tbaa !16
store i64 0, ptr %1, align 8, !tbaa !17
br label %22
22: ; preds = %2, %19, %17
%23 = phi i32 [ 0, %17 ], [ 1, %19 ], [ 0, %2 ]
ret i32 %23
}
declare ptr @dev_alloc_page(...) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @dma_map_page(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dma_mapping_error(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__free_page(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 = !{!"gfar_priv_rx_q", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 16}
!13 = !{!"gfar_rx_buff", !14, i64 0, !15, i64 8, !8, i64 16}
!14 = !{!"long", !9, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!13, !15, i64 8}
!17 = !{!13, !14, i64 0}
|
linux_drivers_net_ethernet_freescale_extr_gianfar.c_gfar_new_page
|
; ModuleID = 'AnghaBench/linux/drivers/nvmem/extr_core.c_nvmem_reg_read.c'
source_filename = "AnghaBench/linux/drivers/nvmem/extr_core.c_nvmem_reg_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nvmem_device = type { ptr, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nvmem_reg_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nvmem_reg_read(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = getelementptr inbounds %struct.nvmem_device, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 8, !tbaa !11
%10 = tail call i32 %5(i32 noundef %9, i32 noundef %1, ptr noundef %2, i64 noundef %3) #1
br label %14
11: ; preds = %4
%12 = load i32, ptr @EINVAL, align 4, !tbaa !12
%13 = sub nsw i32 0, %12
br label %14
14: ; preds = %11, %7
%15 = phi i32 [ %10, %7 ], [ %13, %11 ]
ret i32 %15
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nvmem_device", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/nvmem/extr_core.c_nvmem_reg_read.c'
source_filename = "AnghaBench/linux/drivers/nvmem/extr_core.c_nvmem_reg_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nvmem_reg_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nvmem_reg_read(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %11, label %7
7: ; preds = %4
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = tail call i32 %5(i32 noundef %9, i32 noundef %1, ptr noundef %2, i64 noundef %3) #1
br label %14
11: ; preds = %4
%12 = load i32, ptr @EINVAL, align 4, !tbaa !13
%13 = sub nsw i32 0, %12
br label %14
14: ; preds = %11, %7
%15 = phi i32 [ %10, %7 ], [ %13, %11 ]
ret i32 %15
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nvmem_device", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
|
linux_drivers_nvmem_extr_core.c_nvmem_reg_read
|
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen_mixer.c_mic_fmic_source_put.c'
source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen_mixer.c_mic_fmic_source_put.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CM9780_JACK = dso_local local_unnamed_addr global i32 0, align 4
@CM9780_FMIC2MIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mic_fmic_source_put], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mic_fmic_source_put(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @mutex_lock(ptr noundef %3) #2
%5 = load i32, ptr @CM9780_JACK, align 4, !tbaa !10
%6 = tail call i32 @oxygen_read_ac97(ptr noundef %3, i32 noundef 0, i32 noundef %5) #2
%7 = load ptr, ptr %1, align 8, !tbaa !12
%8 = load i64, ptr %7, align 8, !tbaa !16
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr @CM9780_FMIC2MIC, align 4, !tbaa !10
%11 = or i32 %10, %6
%12 = xor i32 %10, -1
%13 = and i32 %6, %12
%14 = select i1 %9, i32 %13, i32 %11
%15 = icmp ne i32 %14, %6
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load i32, ptr @CM9780_JACK, align 4, !tbaa !10
%18 = tail call i32 @oxygen_write_ac97(ptr noundef %3, i32 noundef 0, i32 noundef %17, i32 noundef %14) #2
br label %19
19: ; preds = %16, %2
%20 = zext i1 %15 to i32
%21 = tail call i32 @mutex_unlock(ptr noundef %3) #2
ret i32 %20
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @oxygen_read_ac97(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @oxygen_write_ac97(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_kcontrol", !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 0}
!13 = !{!"snd_ctl_elem_value", !14, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen_mixer.c_mic_fmic_source_put.c'
source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen_mixer.c_mic_fmic_source_put.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CM9780_JACK = common local_unnamed_addr global i32 0, align 4
@CM9780_FMIC2MIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mic_fmic_source_put], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @mic_fmic_source_put(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @mutex_lock(ptr noundef %3) #2
%5 = load i32, ptr @CM9780_JACK, align 4, !tbaa !11
%6 = tail call i32 @oxygen_read_ac97(ptr noundef %3, i32 noundef 0, i32 noundef %5) #2
%7 = load ptr, ptr %1, align 8, !tbaa !13
%8 = load i64, ptr %7, align 8, !tbaa !17
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr @CM9780_FMIC2MIC, align 4, !tbaa !11
%11 = or i32 %10, %6
%12 = xor i32 %10, -1
%13 = and i32 %6, %12
%14 = select i1 %9, i32 %13, i32 %11
%15 = icmp ne i32 %14, %6
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load i32, ptr @CM9780_JACK, align 4, !tbaa !11
%18 = tail call i32 @oxygen_write_ac97(ptr noundef %3, i32 noundef 0, i32 noundef %17, i32 noundef %14) #2
br label %19
19: ; preds = %16, %2
%20 = zext i1 %15 to i32
%21 = tail call i32 @mutex_unlock(ptr noundef %3) #2
ret i32 %20
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @oxygen_read_ac97(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @oxygen_write_ac97(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_kcontrol", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"snd_ctl_elem_value", !15, i64 0}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_3__", !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
|
linux_sound_pci_oxygen_extr_oxygen_mixer.c_mic_fmic_source_put
|
; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_device_pm.c_acpi_bus_power_manageable.c'
source_filename = "AnghaBench/linux/drivers/acpi/extr_device_pm.c_acpi_bus_power_manageable.c"
target datalayout = "e-m:e-p270:32:32-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 @acpi_bus_power_manageable(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = call i32 @acpi_bus_get_device(i32 noundef %0, ptr noundef nonnull %2) #3
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8, !tbaa !5
%7 = load i32, ptr %6, align 4, !tbaa !9
br label %8
8: ; preds = %1, %5
%9 = phi i32 [ %7, %5 ], [ 0, %1 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @acpi_bus_get_device(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"acpi_device", !11, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_device_pm.c_acpi_bus_power_manageable.c'
source_filename = "AnghaBench/linux/drivers/acpi/extr_device_pm.c_acpi_bus_power_manageable.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 @acpi_bus_power_manageable(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = call i32 @acpi_bus_get_device(i32 noundef %0, ptr noundef nonnull %2) #3
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8, !tbaa !6
%7 = load i32, ptr %6, align 4, !tbaa !10
br label %8
8: ; preds = %1, %5
%9 = phi i32 [ %7, %5 ], [ 0, %1 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %9
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @acpi_bus_get_device(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"acpi_device", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
|
linux_drivers_acpi_extr_device_pm.c_acpi_bus_power_manageable
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_intel_bios_port_aux_ch.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_intel_bios_port_aux_ch.c"
target datalayout = "e-m:e-p270:32:32-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.ddi_vbt_port_info = type { i32 }
@.str = private unnamed_addr constant [45 x i8] c"using AUX %c for port %c (platform default)\0A\00", align 1
@AUX_CH_A = dso_local local_unnamed_addr global i32 0, align 4
@AUX_CH_B = dso_local local_unnamed_addr global i32 0, align 4
@AUX_CH_C = dso_local local_unnamed_addr global i32 0, align 4
@AUX_CH_D = dso_local local_unnamed_addr global i32 0, align 4
@AUX_CH_E = dso_local local_unnamed_addr global i32 0, align 4
@AUX_CH_F = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"using AUX %c for port %c (VBT)\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @intel_bios_port_aux_ch(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = zext i32 %1 to i64
%5 = getelementptr inbounds %struct.ddi_vbt_port_info, ptr %3, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !11
switch i32 %6, label %12 [
i32 0, label %17
i32 133, label %14
i32 132, label %7
i32 131, label %8
i32 130, label %9
i32 129, label %10
i32 128, label %11
]
7: ; preds = %2
br label %14
8: ; preds = %2
br label %14
9: ; preds = %2
br label %14
10: ; preds = %2
br label %14
11: ; preds = %2
br label %14
12: ; preds = %2
%13 = tail call i32 @MISSING_CASE(i32 noundef %6) #2
br label %14
14: ; preds = %2, %12, %11, %10, %9, %8, %7
%15 = phi ptr [ @AUX_CH_A, %12 ], [ @AUX_CH_F, %11 ], [ @AUX_CH_E, %10 ], [ @AUX_CH_D, %9 ], [ @AUX_CH_C, %8 ], [ @AUX_CH_B, %7 ], [ @AUX_CH_A, %2 ]
%16 = load i32, ptr %15, align 4, !tbaa !14
br label %17
17: ; preds = %2, %14
%18 = phi i32 [ %16, %14 ], [ %1, %2 ]
%19 = phi ptr [ @.str.1, %14 ], [ @.str, %2 ]
%20 = tail call i32 @aux_ch_name(i32 noundef %18) #2
%21 = tail call i32 @port_name(i32 noundef %1) #2
%22 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull %19, i32 noundef %20, i32 noundef %21) #2
ret i32 %18
}
declare i32 @DRM_DEBUG_KMS(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @aux_ch_name(i32 noundef) local_unnamed_addr #1
declare i32 @port_name(i32 noundef) local_unnamed_addr #1
declare i32 @MISSING_CASE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"drm_i915_private", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"ddi_vbt_port_info", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_intel_bios_port_aux_ch.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_intel_bios_port_aux_ch.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ddi_vbt_port_info = type { i32 }
@.str = private unnamed_addr constant [45 x i8] c"using AUX %c for port %c (platform default)\0A\00", align 1
@AUX_CH_A = common local_unnamed_addr global i32 0, align 4
@AUX_CH_B = common local_unnamed_addr global i32 0, align 4
@AUX_CH_C = common local_unnamed_addr global i32 0, align 4
@AUX_CH_D = common local_unnamed_addr global i32 0, align 4
@AUX_CH_E = common local_unnamed_addr global i32 0, align 4
@AUX_CH_F = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"using AUX %c for port %c (VBT)\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @intel_bios_port_aux_ch(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = zext i32 %1 to i64
%5 = getelementptr inbounds %struct.ddi_vbt_port_info, ptr %3, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !12
switch i32 %6, label %12 [
i32 0, label %17
i32 133, label %14
i32 132, label %7
i32 131, label %8
i32 130, label %9
i32 129, label %10
i32 128, label %11
]
7: ; preds = %2
br label %14
8: ; preds = %2
br label %14
9: ; preds = %2
br label %14
10: ; preds = %2
br label %14
11: ; preds = %2
br label %14
12: ; preds = %2
%13 = tail call i32 @MISSING_CASE(i32 noundef %6) #2
br label %14
14: ; preds = %2, %12, %11, %10, %9, %8, %7
%15 = phi ptr [ @AUX_CH_A, %12 ], [ @AUX_CH_F, %11 ], [ @AUX_CH_E, %10 ], [ @AUX_CH_D, %9 ], [ @AUX_CH_C, %8 ], [ @AUX_CH_B, %7 ], [ @AUX_CH_A, %2 ]
%16 = load i32, ptr %15, align 4, !tbaa !15
br label %17
17: ; preds = %2, %14
%18 = phi i32 [ %16, %14 ], [ %1, %2 ]
%19 = phi ptr [ @.str.1, %14 ], [ @.str, %2 ]
%20 = tail call i32 @aux_ch_name(i32 noundef %18) #2
%21 = tail call i32 @port_name(i32 noundef %1) #2
%22 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull %19, i32 noundef %20, i32 noundef %21) #2
ret i32 %18
}
declare i32 @DRM_DEBUG_KMS(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @aux_ch_name(i32 noundef) local_unnamed_addr #1
declare i32 @port_name(i32 noundef) local_unnamed_addr #1
declare i32 @MISSING_CASE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"drm_i915_private", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"ddi_vbt_port_info", !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!14, !14, i64 0}
|
linux_drivers_gpu_drm_i915_display_extr_intel_bios.c_intel_bios_port_aux_ch
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_meye.c_mchip_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_meye.c_mchip_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@meye = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mchip_read], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @mchip_read(i32 noundef %0) #0 {
%2 = tail call i32 @mchip_sync(i32 noundef %0) #2
%3 = load i32, ptr @meye, align 4, !tbaa !5
%4 = add nsw i32 %3, %0
%5 = tail call i32 @readl(i32 noundef %4) #2
ret i32 %5
}
declare i32 @mchip_sync(i32 noundef) local_unnamed_addr #1
declare i32 @readl(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_meye.c_mchip_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_meye.c_mchip_read.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 }
@meye = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @mchip_read], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @mchip_read(i32 noundef %0) #0 {
%2 = tail call i32 @mchip_sync(i32 noundef %0) #2
%3 = load i32, ptr @meye, align 4, !tbaa !6
%4 = add nsw i32 %3, %0
%5 = tail call i32 @readl(i32 noundef %4) #2
ret i32 %5
}
declare i32 @mchip_sync(i32 noundef) local_unnamed_addr #1
declare i32 @readl(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_media_video_extr_meye.c_mchip_read
|
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_destblt.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_destblt.c"
target datalayout = "e-m:e-p270:32:32-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 @ui_destblt(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = tail call i32 @SET_FUNCTION(i32 noundef %1) #2
%8 = tail call i32 @FILL_RECTANGLE(i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2
%9 = tail call i32 @RESET_FUNCTION(i32 noundef %1) #2
ret void
}
declare i32 @SET_FUNCTION(i32 noundef) local_unnamed_addr #1
declare i32 @FILL_RECTANGLE(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RESET_FUNCTION(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_destblt.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_destblt.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 @ui_destblt(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = tail call i32 @SET_FUNCTION(i32 noundef %1) #2
%8 = tail call i32 @FILL_RECTANGLE(i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2
%9 = tail call i32 @RESET_FUNCTION(i32 noundef %1) #2
ret void
}
declare i32 @SET_FUNCTION(i32 noundef) local_unnamed_addr #1
declare i32 @FILL_RECTANGLE(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RESET_FUNCTION(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
reactos_modules_rosapps_applications_net_tsclient_rdesktop_extr_xwin.c_ui_destblt
|
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_toshiba_bluetooth.c_toshiba_bt_rfkill_remove.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_toshiba_bluetooth.c_toshiba_bt_rfkill_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @toshiba_bt_rfkill_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @toshiba_bt_rfkill_remove(ptr noundef %0) #0 {
%2 = tail call ptr @acpi_driver_data(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = tail call i32 @rfkill_unregister(i64 noundef %3) #2
%7 = load i64, ptr %2, align 8, !tbaa !5
%8 = tail call i32 @rfkill_destroy(i64 noundef %7) #2
br label %9
9: ; preds = %5, %1
%10 = tail call i32 @kfree(ptr noundef nonnull %2) #2
%11 = load i32, ptr %0, align 4, !tbaa !10
%12 = tail call i32 @toshiba_bluetooth_disable(i32 noundef %11) #2
ret i32 %12
}
declare ptr @acpi_driver_data(ptr noundef) local_unnamed_addr #1
declare i32 @rfkill_unregister(i64 noundef) local_unnamed_addr #1
declare i32 @rfkill_destroy(i64 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @toshiba_bluetooth_disable(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 = !{!"toshiba_bluetooth_dev", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"acpi_device", !12, i64 0}
!12 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_toshiba_bluetooth.c_toshiba_bt_rfkill_remove.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_toshiba_bluetooth.c_toshiba_bt_rfkill_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @toshiba_bt_rfkill_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @toshiba_bt_rfkill_remove(ptr noundef %0) #0 {
%2 = tail call ptr @acpi_driver_data(ptr noundef %0) #2
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = tail call i32 @rfkill_unregister(i64 noundef %3) #2
%7 = load i64, ptr %2, align 8, !tbaa !6
%8 = tail call i32 @rfkill_destroy(i64 noundef %7) #2
br label %9
9: ; preds = %5, %1
%10 = tail call i32 @kfree(ptr noundef nonnull %2) #2
%11 = load i32, ptr %0, align 4, !tbaa !11
%12 = tail call i32 @toshiba_bluetooth_disable(i32 noundef %11) #2
ret i32 %12
}
declare ptr @acpi_driver_data(ptr noundef) local_unnamed_addr #1
declare i32 @rfkill_unregister(i64 noundef) local_unnamed_addr #1
declare i32 @rfkill_destroy(i64 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @toshiba_bluetooth_disable(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 = !{!"toshiba_bluetooth_dev", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"acpi_device", !13, i64 0}
!13 = !{!"int", !9, i64 0}
|
linux_drivers_platform_x86_extr_toshiba_bluetooth.c_toshiba_bt_rfkill_remove
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_pxa27x_udc.c_should_disable_udc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_pxa27x_udc.c_should_disable_udc.c"
target datalayout = "e-m:e-p270:32:32-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.pxa_udc = type { i64, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @should_disable_udc], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @should_disable_udc(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.pxa_udc, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.pxa_udc, ptr %0, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %5, %1
%11 = phi i32 [ 1, %1 ], [ %9, %5 ]
%12 = getelementptr inbounds %struct.pxa_udc, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 8, !tbaa !12
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i64, ptr %0, align 8, !tbaa !13
%17 = icmp ne i64 %16, 0
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %15, %10
%20 = phi i32 [ 0, %10 ], [ %18, %15 ]
%21 = or i32 %20, %11
ret i32 %21
}
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, !10, i64 16}
!6 = !{!"pxa_udc", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 12}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_pxa27x_udc.c_should_disable_udc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_pxa27x_udc.c_should_disable_udc.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 @should_disable_udc], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @should_disable_udc(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %10, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 12
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %5, %1
%11 = phi i32 [ 1, %1 ], [ %9, %5 ]
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i32, ptr %12, align 8, !tbaa !13
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i64, ptr %0, align 8, !tbaa !14
%17 = icmp ne i64 %16, 0
%18 = zext i1 %17 to i32
br label %19
19: ; preds = %15, %10
%20 = phi i32 [ 0, %10 ], [ %18, %15 ]
%21 = or i32 %20, %11
ret i32 %21
}
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, !11, i64 16}
!7 = !{!"pxa_udc", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 12}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !8, i64 0}
|
fastsocket_kernel_drivers_usb_gadget_extr_pxa27x_udc.c_should_disable_udc
|
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_send.c_changed_xattr.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_send.c_changed_xattr.c"
target datalayout = "e-m:e-p270:32:32-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.send_ctx = type { i64, i32, i32, ptr }
@.str = private unnamed_addr constant [6 x i8] c"xattr\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@BTRFS_COMPARE_TREE_NEW = dso_local local_unnamed_addr global i32 0, align 4
@BTRFS_COMPARE_TREE_DELETED = dso_local local_unnamed_addr global i32 0, align 4
@BTRFS_COMPARE_TREE_CHANGED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @changed_xattr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @changed_xattr(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.send_ctx, ptr %0, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = icmp eq i64 %3, %6
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = tail call i32 @inconsistent_snapshot_error(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull @.str) #2
%10 = load i32, ptr @EIO, align 4, !tbaa !15
%11 = sub nsw i32 0, %10
br label %35
12: ; preds = %2
%13 = getelementptr inbounds %struct.send_ctx, ptr %0, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %35
16: ; preds = %12
%17 = getelementptr inbounds %struct.send_ctx, ptr %0, i64 0, i32 1
%18 = load i32, ptr %17, align 8, !tbaa !17
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %16
%21 = load i32, ptr @BTRFS_COMPARE_TREE_NEW, align 4, !tbaa !15
%22 = icmp eq i32 %21, %1
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = tail call i32 @process_new_xattr(ptr noundef nonnull %0) #2
br label %35
25: ; preds = %20
%26 = load i32, ptr @BTRFS_COMPARE_TREE_DELETED, align 4, !tbaa !15
%27 = icmp eq i32 %26, %1
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = tail call i32 @process_deleted_xattr(ptr noundef nonnull %0) #2
br label %35
30: ; preds = %25
%31 = load i32, ptr @BTRFS_COMPARE_TREE_CHANGED, align 4, !tbaa !15
%32 = icmp eq i32 %31, %1
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = tail call i32 @process_changed_xattr(ptr noundef nonnull %0) #2
br label %35
35: ; preds = %12, %16, %28, %33, %30, %23, %8
%36 = phi i32 [ %11, %8 ], [ 0, %12 ], [ 0, %16 ], [ %24, %23 ], [ %29, %28 ], [ %34, %33 ], [ 0, %30 ]
ret i32 %36
}
declare i32 @inconsistent_snapshot_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @process_new_xattr(ptr noundef) local_unnamed_addr #1
declare i32 @process_deleted_xattr(ptr noundef) local_unnamed_addr #1
declare i32 @process_changed_xattr(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 = !{!"send_ctx", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !10, i64 12}
!17 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_send.c_changed_xattr.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_send.c_changed_xattr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"xattr\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@BTRFS_COMPARE_TREE_NEW = common local_unnamed_addr global i32 0, align 4
@BTRFS_COMPARE_TREE_DELETED = common local_unnamed_addr global i32 0, align 4
@BTRFS_COMPARE_TREE_CHANGED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @changed_xattr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @changed_xattr(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = load i64, ptr %5, align 8, !tbaa !14
%7 = icmp eq i64 %3, %6
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = tail call i32 @inconsistent_snapshot_error(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull @.str) #2
%10 = load i32, ptr @EIO, align 4, !tbaa !16
%11 = sub nsw i32 0, %10
br label %35
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %0, i64 12
%14 = load i32, ptr %13, align 4, !tbaa !17
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %35
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !18
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %16
%21 = load i32, ptr @BTRFS_COMPARE_TREE_NEW, align 4, !tbaa !16
%22 = icmp eq i32 %21, %1
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = tail call i32 @process_new_xattr(ptr noundef nonnull %0) #2
br label %35
25: ; preds = %20
%26 = load i32, ptr @BTRFS_COMPARE_TREE_DELETED, align 4, !tbaa !16
%27 = icmp eq i32 %26, %1
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = tail call i32 @process_deleted_xattr(ptr noundef nonnull %0) #2
br label %35
30: ; preds = %25
%31 = load i32, ptr @BTRFS_COMPARE_TREE_CHANGED, align 4, !tbaa !16
%32 = icmp eq i32 %31, %1
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = tail call i32 @process_changed_xattr(ptr noundef nonnull %0) #2
br label %35
35: ; preds = %12, %16, %28, %33, %30, %23, %8
%36 = phi i32 [ %11, %8 ], [ 0, %12 ], [ 0, %16 ], [ %24, %23 ], [ %29, %28 ], [ %34, %33 ], [ 0, %30 ]
ret i32 %36
}
declare i32 @inconsistent_snapshot_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @process_new_xattr(ptr noundef) local_unnamed_addr #1
declare i32 @process_deleted_xattr(ptr noundef) local_unnamed_addr #1
declare i32 @process_changed_xattr(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 = !{!"send_ctx", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !11, i64 12}
!18 = !{!7, !11, i64 8}
|
linux_fs_btrfs_extr_send.c_changed_xattr
|
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-sch311x.c_sch311x_gpio_get_direction.c'
source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-sch311x.c_sch311x_gpio_get_direction.c"
target datalayout = "e-m:e-p270:32:32-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.sch311x_gpio_block = type { i32, ptr, i64 }
@SCH311X_GPIO_CONF_DIR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sch311x_gpio_get_direction], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sch311x_gpio_get_direction(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%4 = tail call i32 @spin_lock(ptr noundef %3) #2
%5 = getelementptr inbounds %struct.sch311x_gpio_block, ptr %3, i64 0, i32 2
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.sch311x_gpio_block, ptr %3, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = zext i32 %1 to i64
%10 = getelementptr inbounds i64, ptr %8, i64 %9
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = add nsw i64 %11, %6
%13 = tail call i32 @inb(i64 noundef %12) #2
%14 = tail call i32 @spin_unlock(ptr noundef %3) #2
%15 = load i32, ptr @SCH311X_GPIO_CONF_DIR, align 4, !tbaa !14
%16 = and i32 %15, %13
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i32
ret i32 %18
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @inb(i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"sch311x_gpio_block", !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 = !{!6, !10, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-sch311x.c_sch311x_gpio_get_direction.c'
source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-sch311x.c_sch311x_gpio_get_direction.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCH311X_GPIO_CONF_DIR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sch311x_gpio_get_direction], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @sch311x_gpio_get_direction(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @gpiochip_get_data(ptr noundef %0) #2
%4 = tail call i32 @spin_lock(ptr noundef %3) #2
%5 = getelementptr inbounds i8, ptr %3, i64 16
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %3, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = zext i32 %1 to i64
%10 = getelementptr inbounds i64, ptr %8, i64 %9
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = add nsw i64 %11, %6
%13 = tail call i32 @inb(i64 noundef %12) #2
%14 = tail call i32 @spin_unlock(ptr noundef %3) #2
%15 = load i32, ptr @SCH311X_GPIO_CONF_DIR, align 4, !tbaa !15
%16 = and i32 %15, %13
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i32
ret i32 %18
}
declare ptr @gpiochip_get_data(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @inb(i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"sch311x_gpio_block", !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 = !{!7, !11, i64 8}
!14 = !{!12, !12, i64 0}
!15 = !{!8, !8, i64 0}
|
linux_drivers_gpio_extr_gpio-sch311x.c_sch311x_gpio_get_direction
|
; ModuleID = 'AnghaBench/linux/net/llc/extr_llc_c_ev.c_llc_conn_ev_rx_rr_cmd_pbit_set_0.c'
source_filename = "AnghaBench/linux/net/llc/extr_llc_c_ev.c_llc_conn_ev_rx_rr_cmd_pbit_set_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LLC_2_PDU_CMD_RR = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @llc_conn_ev_rx_rr_cmd_pbit_set_0(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_pdu_sn_hdr(ptr noundef %1) #2
%4 = tail call i64 @LLC_PDU_IS_CMD(ptr noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %2
%7 = tail call i64 @LLC_PDU_TYPE_IS_S(ptr noundef %3) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %17, label %9
9: ; preds = %6
%10 = tail call i64 @LLC_S_PF_IS_0(ptr noundef %3) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %9
%13 = tail call i64 @LLC_S_PDU_CMD(ptr noundef %3) #2
%14 = load i64, ptr @LLC_2_PDU_CMD_RR, align 8, !tbaa !5
%15 = icmp ne i64 %13, %14
%16 = zext i1 %15 to i32
br label %17
17: ; preds = %12, %9, %6, %2
%18 = phi i32 [ 1, %9 ], [ 1, %6 ], [ 1, %2 ], [ %16, %12 ]
ret i32 %18
}
declare ptr @llc_pdu_sn_hdr(ptr noundef) local_unnamed_addr #1
declare i64 @LLC_PDU_IS_CMD(ptr noundef) local_unnamed_addr #1
declare i64 @LLC_PDU_TYPE_IS_S(ptr noundef) local_unnamed_addr #1
declare i64 @LLC_S_PF_IS_0(ptr noundef) local_unnamed_addr #1
declare i64 @LLC_S_PDU_CMD(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/net/llc/extr_llc_c_ev.c_llc_conn_ev_rx_rr_cmd_pbit_set_0.c'
source_filename = "AnghaBench/linux/net/llc/extr_llc_c_ev.c_llc_conn_ev_rx_rr_cmd_pbit_set_0.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LLC_2_PDU_CMD_RR = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @llc_conn_ev_rx_rr_cmd_pbit_set_0(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_pdu_sn_hdr(ptr noundef %1) #2
%4 = tail call i64 @LLC_PDU_IS_CMD(ptr noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %17, label %6
6: ; preds = %2
%7 = tail call i64 @LLC_PDU_TYPE_IS_S(ptr noundef %3) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %17, label %9
9: ; preds = %6
%10 = tail call i64 @LLC_S_PF_IS_0(ptr noundef %3) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %9
%13 = tail call i64 @LLC_S_PDU_CMD(ptr noundef %3) #2
%14 = load i64, ptr @LLC_2_PDU_CMD_RR, align 8, !tbaa !6
%15 = icmp ne i64 %13, %14
%16 = zext i1 %15 to i32
br label %17
17: ; preds = %12, %9, %6, %2
%18 = phi i32 [ 1, %9 ], [ 1, %6 ], [ 1, %2 ], [ %16, %12 ]
ret i32 %18
}
declare ptr @llc_pdu_sn_hdr(ptr noundef) local_unnamed_addr #1
declare i64 @LLC_PDU_IS_CMD(ptr noundef) local_unnamed_addr #1
declare i64 @LLC_PDU_TYPE_IS_S(ptr noundef) local_unnamed_addr #1
declare i64 @LLC_S_PF_IS_0(ptr noundef) local_unnamed_addr #1
declare i64 @LLC_S_PDU_CMD(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_net_llc_extr_llc_c_ev.c_llc_conn_ev_rx_rr_cmd_pbit_set_0
|
; ModuleID = 'AnghaBench/openssl/crypto/bn/extr_bn_sqr.c_bn_sqr_normal.c'
source_filename = "AnghaBench/openssl/crypto/bn/extr_bn_sqr.c_bn_sqr_normal.c"
target datalayout = "e-m:e-p270:32:32-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 @bn_sqr_normal(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = shl nsw i32 %2, 1
%6 = sext i32 %5 to i64
%7 = getelementptr i64, ptr %0, i64 %6
%8 = getelementptr i64, ptr %7, i64 -1
store i64 0, ptr %8, align 8, !tbaa !5
store i64 0, ptr %0, align 8, !tbaa !5
%9 = icmp sgt i32 %2, 1
br i1 %9, label %10, label %38
10: ; preds = %4
%11 = getelementptr inbounds i64, ptr %0, i64 1
%12 = add nsw i32 %2, -1
%13 = getelementptr inbounds i64, ptr %1, i64 1
%14 = load i64, ptr %1, align 8, !tbaa !5
%15 = tail call i64 @bn_mul_words(ptr noundef nonnull %11, ptr noundef nonnull %13, i32 noundef %12, i64 noundef %14) #2
%16 = zext nneg i32 %12 to i64
%17 = getelementptr inbounds i64, ptr %11, i64 %16
store i64 %15, ptr %17, align 8, !tbaa !5
%18 = icmp eq i32 %2, 2
br i1 %18, label %38, label %19
19: ; preds = %10
%20 = getelementptr inbounds i64, ptr %0, i64 3
%21 = add nsw i32 %2, -2
%22 = zext nneg i32 %2 to i64
%23 = add nsw i64 %22, -1
br label %24
24: ; preds = %19, %24
%25 = phi i64 [ %23, %19 ], [ %29, %24 ]
%26 = phi ptr [ %20, %19 ], [ %35, %24 ]
%27 = phi ptr [ %13, %19 ], [ %30, %24 ]
%28 = phi i32 [ %21, %19 ], [ %36, %24 ]
%29 = add nsw i64 %25, -1
%30 = getelementptr inbounds i64, ptr %27, i64 1
%31 = load i64, ptr %27, align 8, !tbaa !5
%32 = trunc i64 %29 to i32
%33 = tail call i64 @bn_mul_add_words(ptr noundef nonnull %26, ptr noundef nonnull %30, i32 noundef %32, i64 noundef %31) #2
%34 = getelementptr inbounds i64, ptr %26, i64 %29
store i64 %33, ptr %34, align 8, !tbaa !5
%35 = getelementptr inbounds i64, ptr %26, i64 2
%36 = add nsw i32 %28, -1
%37 = icmp ugt i32 %28, 1
br i1 %37, label %24, label %38, !llvm.loop !9
38: ; preds = %24, %4, %10
%39 = tail call i32 @bn_add_words(ptr noundef nonnull %0, ptr noundef nonnull %0, ptr noundef nonnull %0, i32 noundef %5) #2
%40 = tail call i32 @bn_sqr_words(ptr noundef %3, ptr noundef %1, i32 noundef %2) #2
%41 = tail call i32 @bn_add_words(ptr noundef nonnull %0, ptr noundef nonnull %0, ptr noundef %3, i32 noundef %5) #2
ret void
}
declare i64 @bn_mul_words(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @bn_mul_add_words(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bn_add_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bn_sqr_words(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/openssl/crypto/bn/extr_bn_sqr.c_bn_sqr_normal.c'
source_filename = "AnghaBench/openssl/crypto/bn/extr_bn_sqr.c_bn_sqr_normal.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 @bn_sqr_normal(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = shl nsw i32 %2, 1
%6 = sext i32 %5 to i64
%7 = getelementptr i64, ptr %0, i64 %6
%8 = getelementptr i8, ptr %7, i64 -8
store i64 0, ptr %8, align 8, !tbaa !6
store i64 0, ptr %0, align 8, !tbaa !6
%9 = icmp sgt i32 %2, 1
br i1 %9, label %10, label %38
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = add nsw i32 %2, -1
%13 = getelementptr inbounds i8, ptr %1, i64 8
%14 = load i64, ptr %1, align 8, !tbaa !6
%15 = tail call i64 @bn_mul_words(ptr noundef nonnull %11, ptr noundef nonnull %13, i32 noundef %12, i64 noundef %14) #2
%16 = zext nneg i32 %12 to i64
%17 = getelementptr inbounds i64, ptr %11, i64 %16
store i64 %15, ptr %17, align 8, !tbaa !6
%18 = icmp eq i32 %2, 2
br i1 %18, label %38, label %19
19: ; preds = %10
%20 = getelementptr inbounds i8, ptr %0, i64 24
%21 = add nsw i32 %2, -2
%22 = zext nneg i32 %2 to i64
%23 = add nsw i64 %22, -1
br label %24
24: ; preds = %19, %24
%25 = phi i64 [ %23, %19 ], [ %29, %24 ]
%26 = phi ptr [ %20, %19 ], [ %35, %24 ]
%27 = phi ptr [ %13, %19 ], [ %30, %24 ]
%28 = phi i32 [ %21, %19 ], [ %36, %24 ]
%29 = add nsw i64 %25, -1
%30 = getelementptr inbounds i8, ptr %27, i64 8
%31 = load i64, ptr %27, align 8, !tbaa !6
%32 = trunc nuw nsw i64 %29 to i32
%33 = tail call i64 @bn_mul_add_words(ptr noundef nonnull %26, ptr noundef nonnull %30, i32 noundef %32, i64 noundef %31) #2
%34 = getelementptr inbounds i64, ptr %26, i64 %29
store i64 %33, ptr %34, align 8, !tbaa !6
%35 = getelementptr inbounds i8, ptr %26, i64 16
%36 = add nsw i32 %28, -1
%37 = icmp ugt i32 %28, 1
br i1 %37, label %24, label %38, !llvm.loop !10
38: ; preds = %24, %4, %10
%39 = tail call i32 @bn_add_words(ptr noundef nonnull %0, ptr noundef nonnull %0, ptr noundef nonnull %0, i32 noundef %5) #2
%40 = tail call i32 @bn_sqr_words(ptr noundef %3, ptr noundef %1, i32 noundef %2) #2
%41 = tail call i32 @bn_add_words(ptr noundef nonnull %0, ptr noundef nonnull %0, ptr noundef %3, i32 noundef %5) #2
ret void
}
declare i64 @bn_mul_words(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @bn_mul_add_words(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bn_add_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bn_sqr_words(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
openssl_crypto_bn_extr_bn_sqr.c_bn_sqr_normal
|
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-output-delay.c_delay_active.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-output-delay.c_delay_active.c"
target datalayout = "e-m:e-p270:32:32-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 @delay_active], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @delay_active(ptr noundef %0) #0 {
%2 = tail call i32 @os_atomic_load_bool(ptr noundef %0) #2
ret i32 %2
}
declare i32 @os_atomic_load_bool(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)"}
|
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-output-delay.c_delay_active.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-output-delay.c_delay_active.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 @delay_active], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @delay_active(ptr noundef %0) #0 {
%2 = tail call i32 @os_atomic_load_bool(ptr noundef %0) #2
ret i32 %2
}
declare i32 @os_atomic_load_bool(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)"}
|
obs-studio_libobs_extr_obs-output-delay.c_delay_active
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8723b1ant.c_halbtc8723b1ant_action_wifi_multiport.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8723b1ant.c_halbtc8723b1ant_action_wifi_multiport.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BTC_PS_WIFI_NATIVE = dso_local local_unnamed_addr global i32 0, align 4
@NORMAL_EXEC = dso_local local_unnamed_addr global i32 0, align 4
@BTC_ANT_PATH_PTA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @halbtc8723b1ant_action_wifi_multiport], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @halbtc8723b1ant_action_wifi_multiport(ptr noundef %0) #0 {
%2 = load i32, ptr @BTC_PS_WIFI_NATIVE, align 4, !tbaa !5
%3 = tail call i32 @halbtc8723b1ant_power_save_state(ptr noundef %0, i32 noundef %2, i32 noundef 0, i32 noundef 0) #2
%4 = load i32, ptr @NORMAL_EXEC, align 4, !tbaa !5
%5 = tail call i32 @halbtc8723b1ant_ps_tdma(ptr noundef %0, i32 noundef %4, i32 noundef 0, i32 noundef 8) #2
%6 = load i32, ptr @BTC_ANT_PATH_PTA, align 4, !tbaa !5
%7 = load i32, ptr @NORMAL_EXEC, align 4, !tbaa !5
%8 = tail call i32 @halbtc8723b1ant_set_ant_path(ptr noundef %0, i32 noundef %6, i32 noundef %7, i32 noundef 0, i32 noundef 0) #2
%9 = load i32, ptr @NORMAL_EXEC, align 4, !tbaa !5
%10 = tail call i32 @halbtc8723b1ant_coex_table_with_type(ptr noundef %0, i32 noundef %9, i32 noundef 2) #2
ret void
}
declare i32 @halbtc8723b1ant_power_save_state(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @halbtc8723b1ant_ps_tdma(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @halbtc8723b1ant_set_ant_path(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @halbtc8723b1ant_coex_table_with_type(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8723b1ant.c_halbtc8723b1ant_action_wifi_multiport.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtc8723b1ant.c_halbtc8723b1ant_action_wifi_multiport.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BTC_PS_WIFI_NATIVE = common local_unnamed_addr global i32 0, align 4
@NORMAL_EXEC = common local_unnamed_addr global i32 0, align 4
@BTC_ANT_PATH_PTA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @halbtc8723b1ant_action_wifi_multiport], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @halbtc8723b1ant_action_wifi_multiport(ptr noundef %0) #0 {
%2 = load i32, ptr @BTC_PS_WIFI_NATIVE, align 4, !tbaa !6
%3 = tail call i32 @halbtc8723b1ant_power_save_state(ptr noundef %0, i32 noundef %2, i32 noundef 0, i32 noundef 0) #2
%4 = load i32, ptr @NORMAL_EXEC, align 4, !tbaa !6
%5 = tail call i32 @halbtc8723b1ant_ps_tdma(ptr noundef %0, i32 noundef %4, i32 noundef 0, i32 noundef 8) #2
%6 = load i32, ptr @BTC_ANT_PATH_PTA, align 4, !tbaa !6
%7 = load i32, ptr @NORMAL_EXEC, align 4, !tbaa !6
%8 = tail call i32 @halbtc8723b1ant_set_ant_path(ptr noundef %0, i32 noundef %6, i32 noundef %7, i32 noundef 0, i32 noundef 0) #2
%9 = load i32, ptr @NORMAL_EXEC, align 4, !tbaa !6
%10 = tail call i32 @halbtc8723b1ant_coex_table_with_type(ptr noundef %0, i32 noundef %9, i32 noundef 2) #2
ret void
}
declare i32 @halbtc8723b1ant_power_save_state(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @halbtc8723b1ant_ps_tdma(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @halbtc8723b1ant_set_ant_path(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @halbtc8723b1ant_coex_table_with_type(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_net_wireless_realtek_rtlwifi_btcoexist_extr_halbtc8723b1ant.c_halbtc8723b1ant_action_wifi_multiport
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_ibsendtrap.c_build_trap144_linkspeed.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_ibsendtrap.c_build_trap144_linkspeed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TRAP_144_MASK_LINK_SPEED_ENABLE_CHANGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @build_trap144_linkspeed], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @build_trap144_linkspeed(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @build_trap144_local(ptr noundef %0, ptr noundef %1) #2
%4 = load i32, ptr @TRAP_144_MASK_LINK_SPEED_ENABLE_CHANGE, align 4, !tbaa !5
store i32 %4, ptr %0, align 4, !tbaa !9
ret void
}
declare i32 @build_trap144_local(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_8__", !11, i64 0}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"TYPE_6__", !6, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_ibsendtrap.c_build_trap144_linkspeed.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_ibsendtrap.c_build_trap144_linkspeed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRAP_144_MASK_LINK_SPEED_ENABLE_CHANGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @build_trap144_linkspeed], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @build_trap144_linkspeed(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @build_trap144_local(ptr noundef %0, ptr noundef %1) #2
%4 = load i32, ptr @TRAP_144_MASK_LINK_SPEED_ENABLE_CHANGE, align 4, !tbaa !6
store i32 %4, ptr %0, align 4, !tbaa !10
ret void
}
declare i32 @build_trap144_local(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_8__", !12, i64 0}
!12 = !{!"TYPE_7__", !13, i64 0}
!13 = !{!"TYPE_6__", !7, i64 0}
|
freebsd_contrib_ofed_infiniband-diags_src_extr_ibsendtrap.c_build_trap144_linkspeed
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_main.c_xgene_enet_napi_add.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_main.c_xgene_enet_napi_add.c"
target datalayout = "e-m:e-p270:32:32-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.xgene_enet_pdata = type { i32, i32, i32, ptr, ptr }
@xgene_enet_napi = dso_local local_unnamed_addr global i32 0, align 4
@NAPI_POLL_WEIGHT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xgene_enet_napi_add], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xgene_enet_napi_add(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %0, i64 0, i32 4
%6 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %0, i64 0, i32 2
br label %14
7: ; preds = %14, %1
%8 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %41
11: ; preds = %7
%12 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %0, i64 0, i32 3
%13 = getelementptr inbounds %struct.xgene_enet_pdata, ptr %0, i64 0, i32 2
br label %27
14: ; preds = %4, %14
%15 = phi i64 [ 0, %4 ], [ %23, %14 ]
%16 = load ptr, ptr %5, align 8, !tbaa !12
%17 = getelementptr inbounds ptr, ptr %16, i64 %15
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = load i32, ptr %6, align 8, !tbaa !14
%20 = load i32, ptr @xgene_enet_napi, align 4, !tbaa !15
%21 = load i32, ptr @NAPI_POLL_WEIGHT, align 4, !tbaa !15
%22 = tail call i32 @netif_napi_add(i32 noundef %19, ptr noundef %18, i32 noundef %20, i32 noundef %21) #2
%23 = add nuw nsw i64 %15, 1
%24 = load i32, ptr %0, align 8, !tbaa !5
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %23, %25
br i1 %26, label %14, label %7, !llvm.loop !16
27: ; preds = %11, %27
%28 = phi i64 [ 0, %11 ], [ %37, %27 ]
%29 = load ptr, ptr %12, align 8, !tbaa !18
%30 = getelementptr inbounds ptr, ptr %29, i64 %28
%31 = load ptr, ptr %30, align 8, !tbaa !13
%32 = load ptr, ptr %31, align 8, !tbaa !19
%33 = load i32, ptr %13, align 8, !tbaa !14
%34 = load i32, ptr @xgene_enet_napi, align 4, !tbaa !15
%35 = load i32, ptr @NAPI_POLL_WEIGHT, align 4, !tbaa !15
%36 = tail call i32 @netif_napi_add(i32 noundef %33, ptr noundef %32, i32 noundef %34, i32 noundef %35) #2
%37 = add nuw nsw i64 %28, 1
%38 = load i32, ptr %8, align 4, !tbaa !11
%39 = sext i32 %38 to i64
%40 = icmp slt i64 %37, %39
br i1 %40, label %27, label %41, !llvm.loop !21
41: ; preds = %27, %7
ret void
}
declare i32 @netif_napi_add(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, !7, i64 0}
!6 = !{!"xgene_enet_pdata", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 24}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!6, !10, i64 16}
!19 = !{!20, !10, i64 0}
!20 = !{!"TYPE_5__", !10, i64 0}
!21 = distinct !{!21, !17}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_main.c_xgene_enet_napi_add.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_main.c_xgene_enet_napi_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xgene_enet_napi = common local_unnamed_addr global i32 0, align 4
@NAPI_POLL_WEIGHT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xgene_enet_napi_add], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xgene_enet_napi_add(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = getelementptr inbounds i8, ptr %0, i64 8
br label %14
7: ; preds = %14, %1
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %41
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = getelementptr inbounds i8, ptr %0, i64 8
br label %27
14: ; preds = %4, %14
%15 = phi i64 [ 0, %4 ], [ %23, %14 ]
%16 = load ptr, ptr %5, align 8, !tbaa !13
%17 = getelementptr inbounds ptr, ptr %16, i64 %15
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = load i32, ptr %6, align 8, !tbaa !15
%20 = load i32, ptr @xgene_enet_napi, align 4, !tbaa !16
%21 = load i32, ptr @NAPI_POLL_WEIGHT, align 4, !tbaa !16
%22 = tail call i32 @netif_napi_add(i32 noundef %19, ptr noundef %18, i32 noundef %20, i32 noundef %21) #2
%23 = add nuw nsw i64 %15, 1
%24 = load i32, ptr %0, align 8, !tbaa !6
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %23, %25
br i1 %26, label %14, label %7, !llvm.loop !17
27: ; preds = %11, %27
%28 = phi i64 [ 0, %11 ], [ %37, %27 ]
%29 = load ptr, ptr %12, align 8, !tbaa !19
%30 = getelementptr inbounds ptr, ptr %29, i64 %28
%31 = load ptr, ptr %30, align 8, !tbaa !14
%32 = load ptr, ptr %31, align 8, !tbaa !20
%33 = load i32, ptr %13, align 8, !tbaa !15
%34 = load i32, ptr @xgene_enet_napi, align 4, !tbaa !16
%35 = load i32, ptr @NAPI_POLL_WEIGHT, align 4, !tbaa !16
%36 = tail call i32 @netif_napi_add(i32 noundef %33, ptr noundef %32, i32 noundef %34, i32 noundef %35) #2
%37 = add nuw nsw i64 %28, 1
%38 = load i32, ptr %8, align 4, !tbaa !12
%39 = sext i32 %38 to i64
%40 = icmp slt i64 %37, %39
br i1 %40, label %27, label %41, !llvm.loop !22
41: ; preds = %27, %7
ret void
}
declare i32 @netif_napi_add(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, !8, i64 0}
!7 = !{!"xgene_enet_pdata", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 24}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!8, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !11, i64 16}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_5__", !11, i64 0}
!22 = distinct !{!22, !18}
|
linux_drivers_net_ethernet_apm_xgene_extr_xgene_enet_main.c_xgene_enet_napi_add
|
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/cosm/extr_cosm_sysfs.c_log_buf_len_store.c'
source_filename = "AnghaBench/linux/drivers/misc/mic/cosm/extr_cosm_sysfs.c_log_buf_len_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @log_buf_len_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @log_buf_len_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr @EINVAL, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %18
11: ; preds = %4
%12 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 16, ptr noundef nonnull %5) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i64, ptr %5, align 8, !tbaa !9
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %6, align 8, !tbaa !11
%17 = trunc i64 %3 to i32
br label %18
18: ; preds = %14, %11, %8
%19 = phi i32 [ %10, %8 ], [ %12, %11 ], [ %17, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtoul(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 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"cosm_device", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/cosm/extr_cosm_sysfs.c_log_buf_len_store.c'
source_filename = "AnghaBench/linux/drivers/misc/mic/cosm/extr_cosm_sysfs.c_log_buf_len_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @log_buf_len_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @log_buf_len_store(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr @EINVAL, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %18
11: ; preds = %4
%12 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 16, ptr noundef nonnull %5) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i64, ptr %5, align 8, !tbaa !10
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %6, align 8, !tbaa !12
%17 = trunc i64 %3 to i32
br label %18
18: ; preds = %14, %11, %8
%19 = phi i32 [ %10, %8 ], [ %12, %11 ], [ %17, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtoul(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 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"cosm_device", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
|
linux_drivers_misc_mic_cosm_extr_cosm_sysfs.c_log_buf_len_store
|
; ModuleID = 'AnghaBench/linux/net/dcb/extr_dcbnl.c_dcbnl_cee_get.c'
source_filename = "AnghaBench/linux/net/dcb/extr_dcbnl.c_dcbnl_cee_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dcbnl_cee_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dcbnl_cee_get(ptr noundef %0, ptr nocapture readnone %1, i32 %2, ptr nocapture readnone %3, ptr noundef %4) #0 {
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !10
%10 = sub nsw i32 0, %9
br label %13
11: ; preds = %5
%12 = tail call i32 @dcbnl_cee_fill(ptr noundef %4, ptr noundef nonnull %0) #2
br label %13
13: ; preds = %11, %8
%14 = phi i32 [ %12, %11 ], [ %10, %8 ]
ret i32 %14
}
declare i32 @dcbnl_cee_fill(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 = !{!"net_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/net/dcb/extr_dcbnl.c_dcbnl_cee_get.c'
source_filename = "AnghaBench/linux/net/dcb/extr_dcbnl.c_dcbnl_cee_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dcbnl_cee_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dcbnl_cee_get(ptr noundef %0, ptr nocapture readnone %1, i32 %2, ptr nocapture readnone %3, ptr noundef %4) #0 {
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %13
11: ; preds = %5
%12 = tail call i32 @dcbnl_cee_fill(ptr noundef %4, ptr noundef nonnull %0) #2
br label %13
13: ; preds = %11, %8
%14 = phi i32 [ %12, %11 ], [ %10, %8 ]
ret i32 %14
}
declare i32 @dcbnl_cee_fill(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 = !{!"net_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
|
linux_net_dcb_extr_dcbnl.c_dcbnl_cee_get
|
; ModuleID = 'AnghaBench/lab/engine/code/tools/lcc/cpp/extr_macro.c_builtin.c'
source_filename = "AnghaBench/lab/engine/code/tools/lcc/cpp/extr_macro.c_builtin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_8__ = type { i32, i8*, i32, %struct.TYPE_8__* }
%struct.TYPE_6__ = type { %struct.TYPE_7__* }
%struct.TYPE_7__ = type { i64, i32, i32, i32* }
@cursource = dso_local local_unnamed_addr global %struct.TYPE_8__* null, align 8
@STRING = dso_local local_unnamed_addr global i64 0, align 8
@outbufp = dso_local local_unnamed_addr global i8* null, align 8
@NUMBER = dso_local local_unnamed_addr global i64 0, align 8
@curtime = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"cpp botch: unknown internal macro\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @builtin(%struct.TYPE_6__* nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %0, i64 0, i32 0
%4 = load %struct.TYPE_7__*, %struct.TYPE_7__** %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %4, i64 1
store %struct.TYPE_7__* %5, %struct.TYPE_7__** %3, align 8, !tbaa !5
%6 = load %struct.TYPE_8__*, %struct.TYPE_8__** @cursource, align 8, !tbaa !10
%7 = icmp eq %struct.TYPE_8__* %6, null
br i1 %7, label %17, label %8
8: ; preds = %2, %13
%9 = phi %struct.TYPE_8__* [ %15, %13 ], [ %6, %2 ]
%10 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %9, i64 0, i32 0
%11 = load i32, i32* %10, align 8, !tbaa !11
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %17
13: ; preds = %8
%14 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %9, i64 0, i32 3
%15 = load %struct.TYPE_8__*, %struct.TYPE_8__** %14, align 8, !tbaa !10
%16 = icmp eq %struct.TYPE_8__* %15, null
br i1 %16, label %17, label %8, !llvm.loop !14
17: ; preds = %8, %13, %2
%18 = phi %struct.TYPE_8__* [ null, %2 ], [ %9, %8 ], [ %6, %13 ]
%19 = load i64, i64* @STRING, align 8, !tbaa !16
%20 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %4, i64 0, i32 0
store i64 %19, i64* %20, align 8, !tbaa !18
%21 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %4, i64 0, i32 1
%22 = load i32, i32* %21, align 8, !tbaa !20
%23 = icmp eq i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %17
%25 = load i8*, i8** @outbufp, align 8, !tbaa !10
%26 = getelementptr inbounds i8, i8* %25, i64 1
store i8* %26, i8** @outbufp, align 8, !tbaa !10
store i8 32, i8* %25, align 1, !tbaa !21
store i32 1, i32* %21, align 8, !tbaa !20
br label %27
27: ; preds = %24, %17
%28 = load i8*, i8** @outbufp, align 8, !tbaa !10
%29 = getelementptr inbounds i8, i8* %28, i64 1
store i8 34, i8* %28, align 1, !tbaa !21
switch i32 %1, label %70 [
i32 129, label %30
i32 130, label %35
i32 131, label %56
i32 128, label %65
]
30: ; preds = %27
%31 = load i64, i64* @NUMBER, align 8, !tbaa !16
store i64 %31, i64* %20, align 8, !tbaa !18
%32 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %18, i64 0, i32 2
%33 = load i32, i32* %32, align 8, !tbaa !22
%34 = tail call i8* @outnum(i8* noundef nonnull %28, i32 noundef %33) #2
br label %73
35: ; preds = %27
%36 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %18, i64 0, i32 1
%37 = load i8*, i8** %36, align 8, !tbaa !23
%38 = load i8, i8* %37, align 1, !tbaa !21
store i8 %38, i8* %29, align 1, !tbaa !21
%39 = icmp eq i8 %38, 0
br i1 %39, label %73, label %40
40: ; preds = %35
%41 = getelementptr inbounds i8, i8* %28, i64 2
br label %42
42: ; preds = %40, %51
%43 = phi i8* [ %54, %51 ], [ %41, %40 ]
%44 = phi i8* [ %46, %51 ], [ %37, %40 ]
%45 = phi i8* [ %52, %51 ], [ %29, %40 ]
%46 = getelementptr inbounds i8, i8* %44, i64 1
%47 = load i8, i8* %44, align 1, !tbaa !21
%48 = icmp eq i8 %47, 92
br i1 %48, label %49, label %51
49: ; preds = %42
%50 = getelementptr inbounds i8, i8* %45, i64 2
store i8 92, i8* %43, align 1, !tbaa !21
br label %51
51: ; preds = %49, %42
%52 = phi i8* [ %50, %49 ], [ %43, %42 ]
%53 = load i8, i8* %46, align 1, !tbaa !21
%54 = getelementptr inbounds i8, i8* %52, i64 1
store i8 %53, i8* %52, align 1, !tbaa !21
%55 = icmp eq i8 %53, 0
br i1 %55, label %73, label %42, !llvm.loop !24
56: ; preds = %27
%57 = load i32, i32* @curtime, align 4, !tbaa !25
%58 = add nsw i32 %57, 4
%59 = tail call i32 @strncpy(i8* noundef nonnull %29, i32 noundef %58, i32 noundef 7) #2
%60 = getelementptr inbounds i8, i8* %28, i64 8
%61 = load i32, i32* @curtime, align 4, !tbaa !25
%62 = add nsw i32 %61, 20
%63 = tail call i32 @strncpy(i8* noundef nonnull %60, i32 noundef %62, i32 noundef 4) #2
%64 = getelementptr inbounds i8, i8* %28, i64 12
br label %73
65: ; preds = %27
%66 = load i32, i32* @curtime, align 4, !tbaa !25
%67 = add nsw i32 %66, 11
%68 = tail call i32 @strncpy(i8* noundef nonnull %29, i32 noundef %67, i32 noundef 8) #2
%69 = getelementptr inbounds i8, i8* %28, i64 9
br label %73
70: ; preds = %27
%71 = load i32, i32* @ERROR, align 4, !tbaa !25
%72 = tail call i32 @error(i32 noundef %71, i8* noundef getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0)) #2
br label %89
73: ; preds = %51, %35, %65, %56, %30
%74 = phi i8* [ %69, %65 ], [ %64, %56 ], [ %34, %30 ], [ %29, %35 ], [ %52, %51 ]
%75 = load i64, i64* %20, align 8, !tbaa !18
%76 = load i64, i64* @STRING, align 8, !tbaa !16
%77 = icmp eq i64 %75, %76
br i1 %77, label %78, label %80
78: ; preds = %73
%79 = getelementptr inbounds i8, i8* %74, i64 1
store i8 34, i8* %74, align 1, !tbaa !21
br label %80
80: ; preds = %78, %73
%81 = phi i8* [ %79, %78 ], [ %74, %73 ]
%82 = load i32*, i32** bitcast (i8** @outbufp to i32**), align 8, !tbaa !10
%83 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %4, i64 0, i32 3
store i32* %82, i32** %83, align 8, !tbaa !26
%84 = ptrtoint i8* %81 to i64
%85 = ptrtoint i32* %82 to i64
%86 = sub i64 %84, %85
%87 = trunc i64 %86 to i32
%88 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %4, i64 0, i32 2
store i32 %87, i32* %88, align 4, !tbaa !27
store i8* %81, i8** @outbufp, align 8, !tbaa !10
br label %89
89: ; preds = %80, %70
ret void
}
declare i8* @outnum(i8* noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strncpy(i8* noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @error(i32 noundef, i8* noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_8__", !13, i64 0, !7, i64 8, !13, i64 16, !7, i64 24}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"TYPE_7__", !17, i64 0, !13, i64 8, !13, i64 12, !7, i64 16}
!20 = !{!19, !13, i64 8}
!21 = !{!8, !8, i64 0}
!22 = !{!12, !13, i64 16}
!23 = !{!12, !7, i64 8}
!24 = distinct !{!24, !15}
!25 = !{!13, !13, i64 0}
!26 = !{!19, !7, i64 16}
!27 = !{!19, !13, i64 12}
|
; ModuleID = 'AnghaBench/lab/engine/code/tools/lcc/cpp/extr_macro.c_builtin.c'
source_filename = "AnghaBench/lab/engine/code/tools/lcc/cpp/extr_macro.c_builtin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cursource = common local_unnamed_addr global ptr null, align 8
@STRING = common local_unnamed_addr global i64 0, align 8
@outbufp = common local_unnamed_addr global ptr null, align 8
@NUMBER = common local_unnamed_addr global i64 0, align 8
@curtime = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"cpp botch: unknown internal macro\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @builtin(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 24
store ptr %4, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr @cursource, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %15, label %7
7: ; preds = %2, %11
%8 = phi ptr [ %13, %11 ], [ %5, %2 ]
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %8, i64 24
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %7, !llvm.loop !15
15: ; preds = %7, %11, %2
%16 = phi ptr [ null, %2 ], [ %8, %7 ], [ %5, %11 ]
%17 = load i64, ptr @STRING, align 8, !tbaa !17
store i64 %17, ptr %3, align 8, !tbaa !19
%18 = getelementptr inbounds i8, ptr %3, i64 8
%19 = load i32, ptr %18, align 8, !tbaa !21
%20 = icmp eq i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %15
%22 = load ptr, ptr @outbufp, align 8, !tbaa !11
%23 = getelementptr inbounds i8, ptr %22, i64 1
store ptr %23, ptr @outbufp, align 8, !tbaa !11
store i8 32, ptr %22, align 1, !tbaa !22
store i32 1, ptr %18, align 8, !tbaa !21
br label %24
24: ; preds = %21, %15
%25 = load ptr, ptr @outbufp, align 8, !tbaa !11
%26 = getelementptr inbounds i8, ptr %25, i64 1
store i8 34, ptr %25, align 1, !tbaa !22
switch i32 %1, label %67 [
i32 129, label %27
i32 130, label %32
i32 131, label %53
i32 128, label %62
]
27: ; preds = %24
%28 = load i64, ptr @NUMBER, align 8, !tbaa !17
store i64 %28, ptr %3, align 8, !tbaa !19
%29 = getelementptr inbounds i8, ptr %16, i64 16
%30 = load i32, ptr %29, align 8, !tbaa !23
%31 = tail call ptr @outnum(ptr noundef nonnull %25, i32 noundef %30) #2
br label %70
32: ; preds = %24
%33 = getelementptr inbounds i8, ptr %16, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !24
%35 = load i8, ptr %34, align 1, !tbaa !22
store i8 %35, ptr %26, align 1, !tbaa !22
%36 = icmp eq i8 %35, 0
br i1 %36, label %70, label %37
37: ; preds = %32
%38 = getelementptr inbounds i8, ptr %25, i64 2
br label %39
39: ; preds = %37, %48
%40 = phi i8 [ %50, %48 ], [ %35, %37 ]
%41 = phi ptr [ %51, %48 ], [ %38, %37 ]
%42 = phi ptr [ %44, %48 ], [ %34, %37 ]
%43 = phi ptr [ %49, %48 ], [ %26, %37 ]
%44 = getelementptr inbounds i8, ptr %42, i64 1
%45 = icmp eq i8 %40, 92
br i1 %45, label %46, label %48
46: ; preds = %39
%47 = getelementptr inbounds i8, ptr %43, i64 2
store i8 92, ptr %41, align 1, !tbaa !22
br label %48
48: ; preds = %46, %39
%49 = phi ptr [ %47, %46 ], [ %41, %39 ]
%50 = load i8, ptr %44, align 1, !tbaa !22
%51 = getelementptr inbounds i8, ptr %49, i64 1
store i8 %50, ptr %49, align 1, !tbaa !22
%52 = icmp eq i8 %50, 0
br i1 %52, label %70, label %39, !llvm.loop !25
53: ; preds = %24
%54 = load i32, ptr @curtime, align 4, !tbaa !26
%55 = add nsw i32 %54, 4
%56 = tail call i32 @strncpy(ptr noundef nonnull %26, i32 noundef %55, i32 noundef 7) #2
%57 = getelementptr inbounds i8, ptr %25, i64 8
%58 = load i32, ptr @curtime, align 4, !tbaa !26
%59 = add nsw i32 %58, 20
%60 = tail call i32 @strncpy(ptr noundef nonnull %57, i32 noundef %59, i32 noundef 4) #2
%61 = getelementptr inbounds i8, ptr %25, i64 12
br label %70
62: ; preds = %24
%63 = load i32, ptr @curtime, align 4, !tbaa !26
%64 = add nsw i32 %63, 11
%65 = tail call i32 @strncpy(ptr noundef nonnull %26, i32 noundef %64, i32 noundef 8) #2
%66 = getelementptr inbounds i8, ptr %25, i64 9
br label %70
67: ; preds = %24
%68 = load i32, ptr @ERROR, align 4, !tbaa !26
%69 = tail call i32 @error(i32 noundef %68, ptr noundef nonnull @.str) #2
br label %86
70: ; preds = %48, %32, %62, %53, %27
%71 = phi ptr [ %66, %62 ], [ %61, %53 ], [ %31, %27 ], [ %26, %32 ], [ %49, %48 ]
%72 = load i64, ptr %3, align 8, !tbaa !19
%73 = load i64, ptr @STRING, align 8, !tbaa !17
%74 = icmp eq i64 %72, %73
br i1 %74, label %75, label %77
75: ; preds = %70
%76 = getelementptr inbounds i8, ptr %71, i64 1
store i8 34, ptr %71, align 1, !tbaa !22
br label %77
77: ; preds = %75, %70
%78 = phi ptr [ %76, %75 ], [ %71, %70 ]
%79 = load ptr, ptr @outbufp, align 8, !tbaa !11
%80 = getelementptr inbounds i8, ptr %3, i64 16
store ptr %79, ptr %80, align 8, !tbaa !27
%81 = ptrtoint ptr %78 to i64
%82 = ptrtoint ptr %79 to i64
%83 = sub i64 %81, %82
%84 = trunc i64 %83 to i32
%85 = getelementptr inbounds i8, ptr %3, i64 12
store i32 %84, ptr %85, align 4, !tbaa !28
store ptr %78, ptr @outbufp, align 8, !tbaa !11
br label %86
86: ; preds = %77, %67
ret void
}
declare ptr @outnum(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @error(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0, !8, i64 8, !14, i64 16, !8, i64 24}
!14 = !{!"int", !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"TYPE_7__", !18, i64 0, !14, i64 8, !14, i64 12, !8, i64 16}
!21 = !{!20, !14, i64 8}
!22 = !{!9, !9, i64 0}
!23 = !{!13, !14, i64 16}
!24 = !{!13, !8, i64 8}
!25 = distinct !{!25, !16}
!26 = !{!14, !14, i64 0}
!27 = !{!20, !8, i64 16}
!28 = !{!20, !14, i64 12}
|
lab_engine_code_tools_lcc_cpp_extr_macro.c_builtin
|
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_altera-a10sr.c_altr_a10sr_reg_readable.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_altera-a10sr.c_altr_a10sr_reg_readable.c"
target datalayout = "e-m:e-p270:32:32-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 @altr_a10sr_reg_readable], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @altr_a10sr_reg_readable(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = and i32 %1, -16
%4 = icmp eq i32 %3, 128
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_altera-a10sr.c_altr_a10sr_reg_readable.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_altera-a10sr.c_altr_a10sr_reg_readable.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 @altr_a10sr_reg_readable], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @altr_a10sr_reg_readable(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = and i32 %1, -16
%4 = icmp eq i32 %3, 128
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_mfd_extr_altera-a10sr.c_altr_a10sr_reg_readable
|
; ModuleID = 'AnghaBench/openssl/crypto/asn1/extr_asn1_lib.c_ASN1_STRING_get0_data.c'
source_filename = "AnghaBench/openssl/crypto/asn1/extr_asn1_lib.c_ASN1_STRING_get0_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local ptr @ASN1_STRING_get0_data(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/openssl/crypto/asn1/extr_asn1_lib.c_ASN1_STRING_get0_data.c'
source_filename = "AnghaBench/openssl/crypto/asn1/extr_asn1_lib.c_ASN1_STRING_get0_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define ptr @ASN1_STRING_get0_data(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
openssl_crypto_asn1_extr_asn1_lib.c_ASN1_STRING_get0_data
|
; ModuleID = 'AnghaBench/redis/src/extr_acl.c_ACLInitDefaultUser.c'
source_filename = "AnghaBench/redis/src/extr_acl.c_ACLInitDefaultUser.c"
target datalayout = "e-m:e-p270:32:32-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 [8 x i8] c"default\00", align 1
@DefaultUser = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"+@all\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"~*\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"nopass\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @ACLInitDefaultUser() local_unnamed_addr #0 {
%1 = tail call i32 @ACLCreateUser(ptr noundef nonnull @.str, i32 noundef 7) #2
store i32 %1, ptr @DefaultUser, align 4, !tbaa !5
%2 = tail call i32 @ACLSetUser(i32 noundef %1, ptr noundef nonnull @.str.1, i32 noundef -1) #2
%3 = load i32, ptr @DefaultUser, align 4, !tbaa !5
%4 = tail call i32 @ACLSetUser(i32 noundef %3, ptr noundef nonnull @.str.2, i32 noundef -1) #2
%5 = load i32, ptr @DefaultUser, align 4, !tbaa !5
%6 = tail call i32 @ACLSetUser(i32 noundef %5, ptr noundef nonnull @.str.3, i32 noundef -1) #2
%7 = load i32, ptr @DefaultUser, align 4, !tbaa !5
%8 = tail call i32 @ACLSetUser(i32 noundef %7, ptr noundef nonnull @.str.4, i32 noundef -1) #2
ret void
}
declare i32 @ACLCreateUser(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ACLSetUser(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/redis/src/extr_acl.c_ACLInitDefaultUser.c'
source_filename = "AnghaBench/redis/src/extr_acl.c_ACLInitDefaultUser.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"default\00", align 1
@DefaultUser = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"+@all\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"~*\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"nopass\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @ACLInitDefaultUser() local_unnamed_addr #0 {
%1 = tail call i32 @ACLCreateUser(ptr noundef nonnull @.str, i32 noundef 7) #2
store i32 %1, ptr @DefaultUser, align 4, !tbaa !6
%2 = tail call i32 @ACLSetUser(i32 noundef %1, ptr noundef nonnull @.str.1, i32 noundef -1) #2
%3 = load i32, ptr @DefaultUser, align 4, !tbaa !6
%4 = tail call i32 @ACLSetUser(i32 noundef %3, ptr noundef nonnull @.str.2, i32 noundef -1) #2
%5 = load i32, ptr @DefaultUser, align 4, !tbaa !6
%6 = tail call i32 @ACLSetUser(i32 noundef %5, ptr noundef nonnull @.str.3, i32 noundef -1) #2
%7 = load i32, ptr @DefaultUser, align 4, !tbaa !6
%8 = tail call i32 @ACLSetUser(i32 noundef %7, ptr noundef nonnull @.str.4, i32 noundef -1) #2
ret void
}
declare i32 @ACLCreateUser(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ACLSetUser(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
redis_src_extr_acl.c_ACLInitDefaultUser
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/microblaze/kernel/extr_traps.c_trap_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/microblaze/kernel/extr_traps.c_trap_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"
; Function Attrs: nounwind uwtable
define dso_local void @trap_init() local_unnamed_addr #0 {
%1 = tail call i32 (...) @__enable_hw_exceptions() #2
ret void
}
declare i32 @__enable_hw_exceptions(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/microblaze/kernel/extr_traps.c_trap_init.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/microblaze/kernel/extr_traps.c_trap_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @trap_init() local_unnamed_addr #0 {
%1 = tail call i32 @__enable_hw_exceptions() #2
ret void
}
declare i32 @__enable_hw_exceptions(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_arch_microblaze_kernel_extr_traps.c_trap_init
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/config/extr_mkmakefile.c_sanitize_envline.c'
source_filename = "AnghaBench/freebsd/usr.sbin/config/extr_mkmakefile.c_sanitize_envline.c"
target datalayout = "e-m:e-p270:32:32-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 @sanitize_envline], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sanitize_envline(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @strchr(ptr noundef %1, i8 noundef signext 61) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %93, label %5
5: ; preds = %2
%6 = icmp ugt ptr %3, %1
br i1 %6, label %22, label %33
7: ; preds = %28, %10
%8 = phi ptr [ %11, %10 ], [ %26, %28 ]
%9 = icmp ult ptr %8, %3
br i1 %9, label %10, label %93
10: ; preds = %7
%11 = getelementptr inbounds i8, ptr %8, i64 1
%12 = load i8, ptr %8, align 1, !tbaa !5
%13 = tail call i64 @isspace(i8 noundef signext %12) #2
%14 = icmp ne i64 %13, 0
%15 = icmp eq i8 %12, 34
%16 = or i1 %14, %15
br i1 %16, label %7, label %17, !llvm.loop !8
17: ; preds = %10, %28, %22
%18 = phi ptr [ %26, %22 ], [ %26, %28 ], [ %11, %10 ]
%19 = phi i8 [ %27, %22 ], [ %27, %28 ], [ %12, %10 ]
%20 = getelementptr inbounds i8, ptr %24, i64 1
store i8 %19, ptr %24, align 1, !tbaa !5
%21 = icmp ult ptr %18, %3
br i1 %21, label %22, label %33, !llvm.loop !11
22: ; preds = %5, %17
%23 = phi i1 [ true, %17 ], [ false, %5 ]
%24 = phi ptr [ %20, %17 ], [ %0, %5 ]
%25 = phi ptr [ %18, %17 ], [ %1, %5 ]
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %25, align 1, !tbaa !5
br i1 %23, label %17, label %28
28: ; preds = %22
%29 = tail call i64 @isspace(i8 noundef signext %27) #2
%30 = icmp ne i64 %29, 0
%31 = icmp eq i8 %27, 34
%32 = select i1 %30, i1 true, i1 %31
br i1 %32, label %7, label %17
33: ; preds = %17, %5
%34 = phi ptr [ %1, %5 ], [ %18, %17 ]
%35 = phi ptr [ %0, %5 ], [ %20, %17 ]
br i1 %6, label %36, label %93
36: ; preds = %33, %42
%37 = phi ptr [ %38, %42 ], [ %35, %33 ]
%38 = getelementptr inbounds i8, ptr %37, i64 -1
%39 = load i8, ptr %38, align 1, !tbaa !5
%40 = tail call i64 @isspace(i8 noundef signext %39) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %36, %43
br label %36, !llvm.loop !12
43: ; preds = %36
%44 = load i8, ptr %38, align 1, !tbaa !5
%45 = icmp eq i8 %44, 34
br i1 %45, label %42, label %46
46: ; preds = %43
%47 = getelementptr inbounds i8, ptr %34, i64 1
%48 = load i8, ptr %34, align 1, !tbaa !5
store i8 %48, ptr %37, align 1, !tbaa !5
%49 = getelementptr inbounds i8, ptr %37, i64 1
%50 = load i8, ptr %47, align 1, !tbaa !5
%51 = icmp eq i8 %50, 0
br i1 %51, label %81, label %52
52: ; preds = %46
%53 = getelementptr inbounds i8, ptr %34, i64 2
br label %54
54: ; preds = %52, %74
%55 = phi i8 [ %50, %52 ], [ %79, %74 ]
%56 = phi ptr [ %53, %52 ], [ %78, %74 ]
%57 = phi ptr [ %49, %52 ], [ %77, %74 ]
%58 = phi i1 [ false, %52 ], [ true, %74 ]
br i1 %58, label %74, label %59
59: ; preds = %54
%60 = tail call i64 @isspace(i8 noundef signext %55) #2
%61 = icmp ne i64 %60, 0
%62 = icmp eq i8 %55, 34
%63 = or i1 %62, %61
br i1 %63, label %64, label %74
64: ; preds = %59, %68
%65 = phi ptr [ %69, %68 ], [ %56, %59 ]
%66 = load i8, ptr %65, align 1, !tbaa !5
%67 = icmp eq i8 %66, 0
br i1 %67, label %93, label %68
68: ; preds = %64
%69 = getelementptr inbounds i8, ptr %65, i64 1
%70 = tail call i64 @isspace(i8 noundef signext %66) #2
%71 = icmp ne i64 %70, 0
%72 = icmp eq i8 %66, 34
%73 = or i1 %72, %71
br i1 %73, label %64, label %74, !llvm.loop !13
74: ; preds = %68, %59, %54
%75 = phi ptr [ %56, %54 ], [ %56, %59 ], [ %69, %68 ]
%76 = phi i8 [ %55, %54 ], [ %55, %59 ], [ %66, %68 ]
store i8 %76, ptr %57, align 1, !tbaa !5
%77 = getelementptr inbounds i8, ptr %57, i64 1
%78 = getelementptr inbounds i8, ptr %75, i64 1
%79 = load i8, ptr %75, align 1, !tbaa !5
%80 = icmp eq i8 %79, 0
br i1 %80, label %81, label %54, !llvm.loop !14
81: ; preds = %74, %46
%82 = phi ptr [ %49, %46 ], [ %77, %74 ]
br i1 %51, label %93, label %83
83: ; preds = %81, %89
%84 = phi ptr [ %85, %89 ], [ %82, %81 ]
%85 = getelementptr inbounds i8, ptr %84, i64 -1
%86 = load i8, ptr %85, align 1, !tbaa !5
%87 = tail call i64 @isspace(i8 noundef signext %86) #2
%88 = icmp eq i64 %87, 0
br i1 %88, label %90, label %89
89: ; preds = %83, %90
br label %83, !llvm.loop !15
90: ; preds = %83
%91 = load i8, ptr %85, align 1, !tbaa !5
%92 = icmp eq i8 %91, 34
br i1 %92, label %89, label %93
93: ; preds = %7, %64, %90, %81, %33, %2
%94 = phi ptr [ %0, %2 ], [ %0, %33 ], [ %82, %81 ], [ %84, %90 ], [ %57, %64 ], [ %0, %7 ]
store i8 0, ptr %94, align 1, !tbaa !5
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i64 @isspace(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9, !10}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!"llvm.loop.peeled.count", i32 1}
!11 = distinct !{!11, !9}
!12 = distinct !{!12, !9}
!13 = distinct !{!13, !9, !10}
!14 = distinct !{!14, !9}
!15 = distinct !{!15, !9}
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/config/extr_mkmakefile.c_sanitize_envline.c'
source_filename = "AnghaBench/freebsd/usr.sbin/config/extr_mkmakefile.c_sanitize_envline.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 @sanitize_envline], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sanitize_envline(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @strchr(ptr noundef %1, i8 noundef signext 61) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %93, label %5
5: ; preds = %2
%6 = icmp ugt ptr %3, %1
br i1 %6, label %22, label %33
7: ; preds = %28, %10
%8 = phi ptr [ %11, %10 ], [ %26, %28 ]
%9 = icmp ult ptr %8, %3
br i1 %9, label %10, label %93
10: ; preds = %7
%11 = getelementptr inbounds i8, ptr %8, i64 1
%12 = load i8, ptr %8, align 1, !tbaa !6
%13 = tail call i64 @isspace(i8 noundef signext %12) #2
%14 = icmp ne i64 %13, 0
%15 = icmp eq i8 %12, 34
%16 = or i1 %14, %15
br i1 %16, label %7, label %17, !llvm.loop !9
17: ; preds = %10, %28, %22
%18 = phi ptr [ %26, %22 ], [ %26, %28 ], [ %11, %10 ]
%19 = phi i8 [ %27, %22 ], [ %27, %28 ], [ %12, %10 ]
%20 = getelementptr inbounds i8, ptr %24, i64 1
store i8 %19, ptr %24, align 1, !tbaa !6
%21 = icmp ult ptr %18, %3
br i1 %21, label %22, label %33, !llvm.loop !12
22: ; preds = %5, %17
%23 = phi i1 [ true, %17 ], [ false, %5 ]
%24 = phi ptr [ %20, %17 ], [ %0, %5 ]
%25 = phi ptr [ %18, %17 ], [ %1, %5 ]
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i8, ptr %25, align 1, !tbaa !6
br i1 %23, label %17, label %28
28: ; preds = %22
%29 = tail call i64 @isspace(i8 noundef signext %27) #2
%30 = icmp ne i64 %29, 0
%31 = icmp eq i8 %27, 34
%32 = select i1 %30, i1 true, i1 %31
br i1 %32, label %7, label %17
33: ; preds = %17, %5
%34 = phi ptr [ %1, %5 ], [ %18, %17 ]
%35 = phi ptr [ %0, %5 ], [ %20, %17 ]
br i1 %6, label %36, label %93
36: ; preds = %33, %42
%37 = phi ptr [ %38, %42 ], [ %35, %33 ]
%38 = getelementptr inbounds i8, ptr %37, i64 -1
%39 = load i8, ptr %38, align 1, !tbaa !6
%40 = tail call i64 @isspace(i8 noundef signext %39) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %43, label %42
42: ; preds = %36, %43
br label %36, !llvm.loop !13
43: ; preds = %36
%44 = load i8, ptr %38, align 1, !tbaa !6
%45 = icmp eq i8 %44, 34
br i1 %45, label %42, label %46
46: ; preds = %43
%47 = getelementptr inbounds i8, ptr %34, i64 1
%48 = load i8, ptr %34, align 1, !tbaa !6
store i8 %48, ptr %37, align 1, !tbaa !6
%49 = getelementptr inbounds i8, ptr %37, i64 1
%50 = load i8, ptr %47, align 1, !tbaa !6
%51 = icmp eq i8 %50, 0
br i1 %51, label %81, label %52
52: ; preds = %46
%53 = getelementptr inbounds i8, ptr %34, i64 2
br label %54
54: ; preds = %52, %74
%55 = phi i8 [ %50, %52 ], [ %79, %74 ]
%56 = phi ptr [ %53, %52 ], [ %78, %74 ]
%57 = phi ptr [ %49, %52 ], [ %77, %74 ]
%58 = phi i1 [ false, %52 ], [ true, %74 ]
br i1 %58, label %74, label %59
59: ; preds = %54
%60 = tail call i64 @isspace(i8 noundef signext %55) #2
%61 = icmp ne i64 %60, 0
%62 = icmp eq i8 %55, 34
%63 = or i1 %62, %61
br i1 %63, label %64, label %74
64: ; preds = %59, %68
%65 = phi ptr [ %69, %68 ], [ %56, %59 ]
%66 = load i8, ptr %65, align 1, !tbaa !6
%67 = icmp eq i8 %66, 0
br i1 %67, label %93, label %68
68: ; preds = %64
%69 = getelementptr inbounds i8, ptr %65, i64 1
%70 = tail call i64 @isspace(i8 noundef signext %66) #2
%71 = icmp ne i64 %70, 0
%72 = icmp eq i8 %66, 34
%73 = or i1 %72, %71
br i1 %73, label %64, label %74, !llvm.loop !14
74: ; preds = %68, %59, %54
%75 = phi ptr [ %56, %54 ], [ %56, %59 ], [ %69, %68 ]
%76 = phi i8 [ %55, %54 ], [ %55, %59 ], [ %66, %68 ]
store i8 %76, ptr %57, align 1, !tbaa !6
%77 = getelementptr inbounds i8, ptr %57, i64 1
%78 = getelementptr inbounds i8, ptr %75, i64 1
%79 = load i8, ptr %75, align 1, !tbaa !6
%80 = icmp eq i8 %79, 0
br i1 %80, label %81, label %54, !llvm.loop !15
81: ; preds = %74, %46
%82 = phi ptr [ %49, %46 ], [ %77, %74 ]
br i1 %51, label %93, label %83
83: ; preds = %81, %89
%84 = phi ptr [ %85, %89 ], [ %82, %81 ]
%85 = getelementptr inbounds i8, ptr %84, i64 -1
%86 = load i8, ptr %85, align 1, !tbaa !6
%87 = tail call i64 @isspace(i8 noundef signext %86) #2
%88 = icmp eq i64 %87, 0
br i1 %88, label %90, label %89
89: ; preds = %83, %90
br label %83, !llvm.loop !16
90: ; preds = %83
%91 = load i8, ptr %85, align 1, !tbaa !6
%92 = icmp eq i8 %91, 34
br i1 %92, label %89, label %93
93: ; preds = %7, %64, %90, %81, %33, %2
%94 = phi ptr [ %0, %2 ], [ %0, %33 ], [ %82, %81 ], [ %84, %90 ], [ %57, %64 ], [ %0, %7 ]
store i8 0, ptr %94, align 1, !tbaa !6
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i64 @isspace(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.peeled.count", i32 1}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10, !11}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
|
freebsd_usr.sbin_config_extr_mkmakefile.c_sanitize_envline
|
; ModuleID = 'AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_shims.c_bsdthread_terminate.c'
source_filename = "AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_shims.c_bsdthread_terminate.c"
target datalayout = "e-m:e-p270:32:32-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.bsdthread_terminate_args = type { i32, i32, i32, i32 }
@THREAD_TAG_WORKQUEUE = dso_local local_unnamed_addr global i32 0, align 4
@pthread_functions = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @bsdthread_terminate(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 (...) @current_thread() #2
%5 = tail call i32 @thread_get_tag(i32 noundef %4) #2
%6 = load i32, ptr @THREAD_TAG_WORKQUEUE, align 4, !tbaa !5
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = tail call i32 @get_bsdthread_info(i32 noundef %4) #2
%11 = tail call i32 @workq_thread_terminate(ptr noundef %0, i32 noundef %10) #2
br label %12
12: ; preds = %9, %3
%13 = load ptr, ptr @pthread_functions, align 8, !tbaa !9
%14 = load ptr, ptr %13, align 8, !tbaa !11
%15 = getelementptr inbounds %struct.bsdthread_terminate_args, ptr %1, i64 0, i32 3
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = getelementptr inbounds %struct.bsdthread_terminate_args, ptr %1, i64 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = getelementptr inbounds %struct.bsdthread_terminate_args, ptr %1, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !16
%21 = load i32, ptr %1, align 4, !tbaa !17
%22 = tail call i32 %14(ptr noundef %0, i32 noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %21, ptr noundef %2) #2
ret i32 %22
}
declare i32 @current_thread(...) local_unnamed_addr #1
declare i32 @thread_get_tag(i32 noundef) local_unnamed_addr #1
declare i32 @workq_thread_terminate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_bsdthread_info(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!14, !6, i64 12}
!14 = !{!"bsdthread_terminate_args", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!15 = !{!14, !6, i64 8}
!16 = !{!14, !6, i64 4}
!17 = !{!14, !6, i64 0}
|
; ModuleID = 'AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_shims.c_bsdthread_terminate.c'
source_filename = "AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_shims.c_bsdthread_terminate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@THREAD_TAG_WORKQUEUE = common local_unnamed_addr global i32 0, align 4
@pthread_functions = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @bsdthread_terminate(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @current_thread() #2
%5 = tail call i32 @thread_get_tag(i32 noundef %4) #2
%6 = load i32, ptr @THREAD_TAG_WORKQUEUE, align 4, !tbaa !6
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = tail call i32 @get_bsdthread_info(i32 noundef %4) #2
%11 = tail call i32 @workq_thread_terminate(ptr noundef %0, i32 noundef %10) #2
br label %12
12: ; preds = %9, %3
%13 = load ptr, ptr @pthread_functions, align 8, !tbaa !10
%14 = load ptr, ptr %13, align 8, !tbaa !12
%15 = getelementptr inbounds i8, ptr %1, i64 12
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = getelementptr inbounds i8, ptr %1, i64 8
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = getelementptr inbounds i8, ptr %1, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !17
%21 = load i32, ptr %1, align 4, !tbaa !18
%22 = tail call i32 %14(ptr noundef %0, i32 noundef %16, i32 noundef %18, i32 noundef %20, i32 noundef %21, ptr noundef %2) #2
ret i32 %22
}
declare i32 @current_thread(...) local_unnamed_addr #1
declare i32 @thread_get_tag(i32 noundef) local_unnamed_addr #1
declare i32 @workq_thread_terminate(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_bsdthread_info(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!15, !7, i64 12}
!15 = !{!"bsdthread_terminate_args", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!16 = !{!15, !7, i64 8}
!17 = !{!15, !7, i64 4}
!18 = !{!15, !7, i64 0}
|
darwin-xnu_bsd_pthread_extr_pthread_shims.c_bsdthread_terminate
|
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_symbol.c_sym_validate_range.c'
source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_symbol.c_sym_validate_range.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.symbol = type { i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { %struct.TYPE_6__, %struct.TYPE_5__ }
%struct.TYPE_6__ = type { i32 }
%struct.TYPE_5__ = type { i32 }
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"0x%x\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @sym_validate_range], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sym_validate_range(ptr noundef %0) #0 {
%2 = alloca [64 x i8], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #3
%3 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %3, label %30 [
i32 128, label %5
i32 129, label %4
]
4: ; preds = %1
br label %5
5: ; preds = %1, %4
%6 = phi i32 [ 16, %4 ], [ 10, %1 ]
%7 = tail call ptr @sym_get_range_prop(ptr noundef nonnull %0) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %30, label %9
9: ; preds = %5
%10 = getelementptr inbounds %struct.symbol, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = tail call i32 @strtol(i32 noundef %11, ptr noundef null, i32 noundef %6) #3
%13 = load ptr, ptr %7, align 8, !tbaa !12
%14 = getelementptr inbounds %struct.TYPE_7__, ptr %13, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = tail call i32 @sym_get_range_val(i32 noundef %15, i32 noundef %6) #3
%17 = icmp slt i32 %12, %16
br i1 %17, label %23, label %18
18: ; preds = %9
%19 = load ptr, ptr %7, align 8, !tbaa !12
%20 = load i32, ptr %19, align 4, !tbaa !19
%21 = tail call i32 @sym_get_range_val(i32 noundef %20, i32 noundef %6) #3
%22 = icmp sgt i32 %12, %21
br i1 %22, label %23, label %30
23: ; preds = %18, %9
%24 = phi i32 [ %21, %18 ], [ %16, %9 ]
%25 = load i32, ptr %0, align 4, !tbaa !5
%26 = icmp eq i32 %25, 128
%27 = select i1 %26, ptr @.str, ptr @.str.1
%28 = call i32 @sprintf(ptr noundef nonnull %2, ptr noundef nonnull %27, i32 noundef %24) #3
%29 = call i32 @strdup(ptr noundef nonnull %2) #3
store i32 %29, ptr %10, align 4, !tbaa !11
br label %30
30: ; preds = %18, %5, %1, %23
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @sym_get_range_prop(ptr noundef) local_unnamed_addr #2
declare i32 @strtol(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sym_get_range_val(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strdup(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"symbol", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!13, !14, i64 0}
!13 = !{!"property", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !7, i64 4}
!16 = !{!"TYPE_7__", !17, i64 0, !18, i64 4}
!17 = !{!"TYPE_6__", !7, i64 0}
!18 = !{!"TYPE_5__", !7, i64 0}
!19 = !{!16, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_symbol.c_sym_validate_range.c'
source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_symbol.c_sym_validate_range.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"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"0x%x\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @sym_validate_range], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sym_validate_range(ptr noundef %0) #0 {
%2 = alloca [64 x i8], align 1
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #3
%3 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %3, label %30 [
i32 128, label %5
i32 129, label %4
]
4: ; preds = %1
br label %5
5: ; preds = %1, %4
%6 = phi i32 [ 16, %4 ], [ 10, %1 ]
%7 = tail call ptr @sym_get_range_prop(ptr noundef nonnull %0) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %30, label %9
9: ; preds = %5
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = tail call i32 @strtol(i32 noundef %11, ptr noundef null, i32 noundef %6) #3
%13 = load ptr, ptr %7, align 8, !tbaa !13
%14 = getelementptr inbounds i8, ptr %13, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !16
%16 = tail call i32 @sym_get_range_val(i32 noundef %15, i32 noundef %6) #3
%17 = icmp slt i32 %12, %16
br i1 %17, label %23, label %18
18: ; preds = %9
%19 = load ptr, ptr %7, align 8, !tbaa !13
%20 = load i32, ptr %19, align 4, !tbaa !20
%21 = tail call i32 @sym_get_range_val(i32 noundef %20, i32 noundef %6) #3
%22 = icmp sgt i32 %12, %21
br i1 %22, label %23, label %30
23: ; preds = %18, %9
%24 = phi i32 [ %21, %18 ], [ %16, %9 ]
%25 = load i32, ptr %0, align 4, !tbaa !6
%26 = icmp eq i32 %25, 128
%27 = select i1 %26, ptr @.str, ptr @.str.1
%28 = call i32 @sprintf(ptr noundef nonnull %2, ptr noundef nonnull %27, i32 noundef %24) #3
%29 = call i32 @strdup(ptr noundef nonnull %2) #3
store i32 %29, ptr %10, align 4, !tbaa !12
br label %30
30: ; preds = %18, %5, %1, %23
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @sym_get_range_prop(ptr noundef) local_unnamed_addr #2
declare i32 @strtol(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sym_get_range_val(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strdup(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"symbol", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!14, !15, i64 0}
!14 = !{!"property", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!17, !8, i64 4}
!17 = !{!"TYPE_7__", !18, i64 0, !19, i64 4}
!18 = !{!"TYPE_6__", !8, i64 0}
!19 = !{!"TYPE_5__", !8, i64 0}
!20 = !{!17, !8, i64 0}
|
fastsocket_kernel_scripts_kconfig_extr_symbol.c_sym_validate_range
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_utils.c_spv_new_cell.c'
source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_utils.c_spv_new_cell.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, ptr, i32 }
@SPV_ROWLEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @spv_new_cell], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @spv_new_cell(ptr nocapture noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = lshr i32 %1, 16
%5 = and i32 %4, 255
%6 = lshr i32 %1, 8
%7 = and i32 %6, 255
%8 = and i32 %1, 255
%9 = load i32, ptr %0, align 8, !tbaa !5
%10 = icmp sgt i32 %9, %1
br i1 %10, label %11, label %58
11: ; preds = %3
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %24
15: ; preds = %11
%16 = icmp eq i64 %2, 0
br i1 %16, label %17, label %18
17: ; preds = %15
store ptr null, ptr %12, align 8, !tbaa !11
br label %58
18: ; preds = %15
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%20 = load i32, ptr %19, align 8, !tbaa !12
%21 = load i32, ptr @SPV_ROWLEN, align 4, !tbaa !13
%22 = tail call ptr @spv_new_row(i32 noundef %20, i32 noundef %21) #2
store ptr %22, ptr %12, align 8, !tbaa !11
%23 = icmp eq ptr %22, null
br i1 %23, label %58, label %24
24: ; preds = %18, %11
%25 = phi ptr [ %22, %18 ], [ %13, %11 ]
%26 = zext nneg i32 %5 to i64
%27 = getelementptr inbounds ptr, ptr %25, i64 %26
%28 = load ptr, ptr %27, align 8, !tbaa !14
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %39
30: ; preds = %24
%31 = icmp eq i64 %2, 0
br i1 %31, label %32, label %33
32: ; preds = %30
store ptr null, ptr %27, align 8, !tbaa !14
br label %58
33: ; preds = %30
%34 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%35 = load i32, ptr %34, align 8, !tbaa !12
%36 = load i32, ptr @SPV_ROWLEN, align 4, !tbaa !13
%37 = tail call ptr @spv_new_row(i32 noundef %35, i32 noundef %36) #2
store ptr %37, ptr %27, align 8, !tbaa !14
%38 = icmp eq ptr %37, null
br i1 %38, label %58, label %39
39: ; preds = %33, %24
%40 = phi ptr [ %37, %33 ], [ %28, %24 ]
%41 = zext nneg i32 %7 to i64
%42 = getelementptr inbounds ptr, ptr %40, i64 %41
%43 = load ptr, ptr %42, align 8, !tbaa !14
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %54
45: ; preds = %39
%46 = icmp eq i64 %2, 0
br i1 %46, label %47, label %48
47: ; preds = %45
store ptr null, ptr %42, align 8, !tbaa !14
br label %58
48: ; preds = %45
%49 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%50 = load i32, ptr %49, align 8, !tbaa !12
%51 = load i32, ptr @SPV_ROWLEN, align 4, !tbaa !13
%52 = tail call ptr @spv_new_row(i32 noundef %50, i32 noundef %51) #2
store ptr %52, ptr %42, align 8, !tbaa !14
%53 = icmp eq ptr %52, null
br i1 %53, label %58, label %54
54: ; preds = %48, %39
%55 = phi ptr [ %52, %48 ], [ %43, %39 ]
%56 = zext nneg i32 %8 to i64
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
br label %58
58: ; preds = %47, %32, %17, %48, %33, %18, %3, %54
%59 = phi ptr [ %57, %54 ], [ null, %3 ], [ null, %18 ], [ null, %33 ], [ null, %48 ], [ null, %17 ], [ null, %32 ], [ null, %47 ]
ret ptr %59
}
declare ptr @spv_new_row(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 16}
!13 = !{!7, !7, i64 0}
!14 = !{!10, !10, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_utils.c_spv_new_cell.c'
source_filename = "AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_utils.c_spv_new_cell.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SPV_ROWLEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @spv_new_cell], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @spv_new_cell(ptr nocapture noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = lshr i32 %1, 16
%5 = and i32 %4, 255
%6 = lshr i32 %1, 8
%7 = and i32 %6, 255
%8 = and i32 %1, 255
%9 = load i32, ptr %0, align 8, !tbaa !6
%10 = icmp sgt i32 %9, %1
br i1 %10, label %11, label %58
11: ; preds = %3
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %24
15: ; preds = %11
%16 = icmp eq i64 %2, 0
br i1 %16, label %17, label %18
17: ; preds = %15
store ptr null, ptr %12, align 8, !tbaa !12
br label %58
18: ; preds = %15
%19 = getelementptr inbounds i8, ptr %0, i64 16
%20 = load i32, ptr %19, align 8, !tbaa !13
%21 = load i32, ptr @SPV_ROWLEN, align 4, !tbaa !14
%22 = tail call ptr @spv_new_row(i32 noundef %20, i32 noundef %21) #2
store ptr %22, ptr %12, align 8, !tbaa !12
%23 = icmp eq ptr %22, null
br i1 %23, label %58, label %24
24: ; preds = %18, %11
%25 = phi ptr [ %22, %18 ], [ %13, %11 ]
%26 = zext nneg i32 %5 to i64
%27 = getelementptr inbounds ptr, ptr %25, i64 %26
%28 = load ptr, ptr %27, align 8, !tbaa !15
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %39
30: ; preds = %24
%31 = icmp eq i64 %2, 0
br i1 %31, label %32, label %33
32: ; preds = %30
store ptr null, ptr %27, align 8, !tbaa !15
br label %58
33: ; preds = %30
%34 = getelementptr inbounds i8, ptr %0, i64 16
%35 = load i32, ptr %34, align 8, !tbaa !13
%36 = load i32, ptr @SPV_ROWLEN, align 4, !tbaa !14
%37 = tail call ptr @spv_new_row(i32 noundef %35, i32 noundef %36) #2
store ptr %37, ptr %27, align 8, !tbaa !15
%38 = icmp eq ptr %37, null
br i1 %38, label %58, label %39
39: ; preds = %33, %24
%40 = phi ptr [ %37, %33 ], [ %28, %24 ]
%41 = zext nneg i32 %7 to i64
%42 = getelementptr inbounds ptr, ptr %40, i64 %41
%43 = load ptr, ptr %42, align 8, !tbaa !15
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %54
45: ; preds = %39
%46 = icmp eq i64 %2, 0
br i1 %46, label %47, label %48
47: ; preds = %45
store ptr null, ptr %42, align 8, !tbaa !15
br label %58
48: ; preds = %45
%49 = getelementptr inbounds i8, ptr %0, i64 16
%50 = load i32, ptr %49, align 8, !tbaa !13
%51 = load i32, ptr @SPV_ROWLEN, align 4, !tbaa !14
%52 = tail call ptr @spv_new_row(i32 noundef %50, i32 noundef %51) #2
store ptr %52, ptr %42, align 8, !tbaa !15
%53 = icmp eq ptr %52, null
br i1 %53, label %58, label %54
54: ; preds = %48, %39
%55 = phi ptr [ %52, %48 ], [ %43, %39 ]
%56 = zext nneg i32 %8 to i64
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
br label %58
58: ; preds = %47, %32, %17, %48, %33, %18, %3, %54
%59 = phi ptr [ %57, %54 ], [ null, %3 ], [ null, %18 ], [ null, %33 ], [ null, %48 ], [ null, %17 ], [ null, %32 ], [ null, %47 ]
ret ptr %59
}
declare ptr @spv_new_row(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 16}
!14 = !{!8, !8, i64 0}
!15 = !{!11, !11, i64 0}
|
freebsd_sys_dev_ocs_fc_extr_ocs_utils.c_spv_new_cell
|
; ModuleID = 'AnghaBench/linux/fs/bfs/extr_inode.c_find_inode.c'
source_filename = "AnghaBench/linux/fs/bfs/extr_inode.c_find_inode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bfs_inode = type { i32 }
@BFS_ROOT_INO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Bad inode number %s:%08x\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@BFS_INODES_PER_BLOCK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Unable to read inode %s:%08x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_inode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @find_inode(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i32, ptr @BFS_ROOT_INO, align 4, !tbaa !5
%5 = icmp sgt i32 %4, %1
br i1 %5, label %10, label %6
6: ; preds = %3
%7 = tail call ptr @BFS_SB(ptr noundef %0) #2
%8 = load i32, ptr %7, align 4, !tbaa !9
%9 = icmp slt i32 %8, %1
br i1 %9, label %10, label %16
10: ; preds = %6, %3
%11 = load ptr, ptr %0, align 8, !tbaa !11
%12 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %11, i32 noundef %1) #2
%13 = load i32, ptr @EIO, align 4, !tbaa !5
%14 = sub nsw i32 0, %13
%15 = tail call ptr @ERR_PTR(i32 noundef %14) #2
br label %37
16: ; preds = %6
%17 = load i32, ptr @BFS_ROOT_INO, align 4, !tbaa !5
%18 = sub nsw i32 %1, %17
%19 = load i32, ptr @BFS_INODES_PER_BLOCK, align 4, !tbaa !5
%20 = sdiv i32 %18, %19
%21 = add nsw i32 %20, 1
%22 = tail call ptr @sb_bread(ptr noundef %0, i32 noundef %21) #2
store ptr %22, ptr %2, align 8, !tbaa !14
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %30
24: ; preds = %16
%25 = load ptr, ptr %0, align 8, !tbaa !11
%26 = tail call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %25, i32 noundef %18) #2
%27 = load i32, ptr @EIO, align 4, !tbaa !5
%28 = sub nsw i32 0, %27
%29 = tail call ptr @ERR_PTR(i32 noundef %28) #2
br label %37
30: ; preds = %16
%31 = load i64, ptr %22, align 8, !tbaa !15
%32 = inttoptr i64 %31 to ptr
%33 = load i32, ptr @BFS_INODES_PER_BLOCK, align 4, !tbaa !5
%34 = srem i32 %18, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds %struct.bfs_inode, ptr %32, i64 %35
br label %37
37: ; preds = %30, %24, %10
%38 = phi ptr [ %15, %10 ], [ %36, %30 ], [ %29, %24 ]
ret ptr %38
}
declare ptr @BFS_SB(ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @sb_bread(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"super_block", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"buffer_head", !17, i64 0}
!17 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/fs/bfs/extr_inode.c_find_inode.c'
source_filename = "AnghaBench/linux/fs/bfs/extr_inode.c_find_inode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.bfs_inode = type { i32 }
@BFS_ROOT_INO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Bad inode number %s:%08x\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@BFS_INODES_PER_BLOCK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Unable to read inode %s:%08x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @find_inode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @find_inode(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = load i32, ptr @BFS_ROOT_INO, align 4, !tbaa !6
%5 = icmp sgt i32 %4, %1
br i1 %5, label %10, label %6
6: ; preds = %3
%7 = tail call ptr @BFS_SB(ptr noundef %0) #2
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = icmp slt i32 %8, %1
br i1 %9, label %10, label %16
10: ; preds = %6, %3
%11 = load ptr, ptr %0, align 8, !tbaa !12
%12 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %11, i32 noundef %1) #2
%13 = load i32, ptr @EIO, align 4, !tbaa !6
%14 = sub nsw i32 0, %13
%15 = tail call ptr @ERR_PTR(i32 noundef %14) #2
br label %37
16: ; preds = %6
%17 = load i32, ptr @BFS_ROOT_INO, align 4, !tbaa !6
%18 = sub nsw i32 %1, %17
%19 = load i32, ptr @BFS_INODES_PER_BLOCK, align 4, !tbaa !6
%20 = sdiv i32 %18, %19
%21 = add nsw i32 %20, 1
%22 = tail call ptr @sb_bread(ptr noundef %0, i32 noundef %21) #2
store ptr %22, ptr %2, align 8, !tbaa !15
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %30
24: ; preds = %16
%25 = load ptr, ptr %0, align 8, !tbaa !12
%26 = tail call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %25, i32 noundef %18) #2
%27 = load i32, ptr @EIO, align 4, !tbaa !6
%28 = sub nsw i32 0, %27
%29 = tail call ptr @ERR_PTR(i32 noundef %28) #2
br label %37
30: ; preds = %16
%31 = load i64, ptr %22, align 8, !tbaa !16
%32 = inttoptr i64 %31 to ptr
%33 = load i32, ptr @BFS_INODES_PER_BLOCK, align 4, !tbaa !6
%34 = srem i32 %18, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds %struct.bfs_inode, ptr %32, i64 %35
br label %37
37: ; preds = %30, %24, %10
%38 = phi ptr [ %15, %10 ], [ %36, %30 ], [ %29, %24 ]
ret ptr %38
}
declare ptr @BFS_SB(ptr noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @sb_bread(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"super_block", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"buffer_head", !18, i64 0}
!18 = !{!"long", !8, i64 0}
|
linux_fs_bfs_extr_inode.c_find_inode
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_open.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_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 @alx_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @alx_open(ptr noundef %0) #0 {
%2 = tail call i32 @netdev_priv(ptr noundef %0) #2
%3 = tail call i32 @__alx_open(i32 noundef %2, i32 noundef 0) #2
ret i32 %3
}
declare i32 @__alx_open(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @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)"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_open.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_main.c_alx_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 @alx_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @alx_open(ptr noundef %0) #0 {
%2 = tail call i32 @netdev_priv(ptr noundef %0) #2
%3 = tail call i32 @__alx_open(i32 noundef %2, i32 noundef 0) #2
ret i32 %3
}
declare i32 @__alx_open(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @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)"}
|
linux_drivers_net_ethernet_atheros_alx_extr_main.c_alx_open
|
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-efm32.c_efm32_i2c_irq.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-efm32.c_efm32_i2c_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"
%struct.efm32_i2c_ddata = type { i64, i32, i32, ptr }
%struct.i2c_msg = type { i32 }
@REG_IF = dso_local local_unnamed_addr global i32 0, align 4
@REG_STATE = dso_local local_unnamed_addr global i32 0, align 4
@REG_IFC = dso_local local_unnamed_addr global i32 0, align 4
@REG_IFC__MASK = dso_local local_unnamed_addr global i32 0, align 4
@REG_STATE_STATE__MASK = dso_local local_unnamed_addr global i32 0, align 4
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@REG_CMD = dso_local local_unnamed_addr global i32 0, align 4
@REG_CMD_STOP = dso_local local_unnamed_addr global i32 0, align 4
@REG_CMD_ABORT = dso_local local_unnamed_addr global i32 0, align 4
@REG_CMD_CLEARTX = dso_local local_unnamed_addr global i32 0, align 4
@REG_CMD_CLEARPC = dso_local local_unnamed_addr global i32 0, align 4
@REG_STATE_NACKED = dso_local local_unnamed_addr global i32 0, align 4
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@I2C_M_RD = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @efm32_i2c_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @efm32_i2c_irq(i32 %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.efm32_i2c_ddata, ptr %1, i64 0, i32 3
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %1, align 8, !tbaa !12
%6 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 %5
%7 = load i32, ptr @REG_IF, align 4, !tbaa !13
%8 = tail call i32 @efm32_i2c_read32(ptr noundef nonnull %1, i32 noundef %7) #2
%9 = load i32, ptr @REG_STATE, align 4, !tbaa !13
%10 = tail call i32 @efm32_i2c_read32(ptr noundef nonnull %1, i32 noundef %9) #2
%11 = load i32, ptr @REG_IFC, align 4, !tbaa !13
%12 = load i32, ptr @REG_IFC__MASK, align 4, !tbaa !13
%13 = and i32 %12, %8
%14 = tail call i32 @efm32_i2c_write32(ptr noundef nonnull %1, i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr @REG_STATE_STATE__MASK, align 4, !tbaa !13
%16 = and i32 %15, %10
switch i32 %16, label %77 [
i32 130, label %17
i32 128, label %23
i32 131, label %65
i32 132, label %58
i32 133, label %38
]
17: ; preds = %2
%18 = load i32, ptr @EAGAIN, align 4, !tbaa !13
%19 = sub nsw i32 0, %18
%20 = getelementptr inbounds %struct.efm32_i2c_ddata, ptr %1, i64 0, i32 2
store i32 %19, ptr %20, align 4, !tbaa !14
%21 = getelementptr inbounds %struct.efm32_i2c_ddata, ptr %1, i64 0, i32 1
%22 = tail call i32 @complete(ptr noundef nonnull %21) #2
br label %77
23: ; preds = %2
%24 = load i32, ptr @EIO, align 4, !tbaa !13
%25 = sub nsw i32 0, %24
%26 = getelementptr inbounds %struct.efm32_i2c_ddata, ptr %1, i64 0, i32 2
store i32 %25, ptr %26, align 4, !tbaa !14
%27 = load i32, ptr @REG_CMD, align 4, !tbaa !13
%28 = load i32, ptr @REG_CMD_STOP, align 4, !tbaa !13
%29 = load i32, ptr @REG_CMD_ABORT, align 4, !tbaa !13
%30 = or i32 %29, %28
%31 = load i32, ptr @REG_CMD_CLEARTX, align 4, !tbaa !13
%32 = or i32 %30, %31
%33 = load i32, ptr @REG_CMD_CLEARPC, align 4, !tbaa !13
%34 = or i32 %32, %33
%35 = tail call i32 @efm32_i2c_write32(ptr noundef nonnull %1, i32 noundef %27, i32 noundef %34) #2
%36 = getelementptr inbounds %struct.efm32_i2c_ddata, ptr %1, i64 0, i32 1
%37 = tail call i32 @complete(ptr noundef nonnull %36) #2
br label %77
38: ; preds = %2
%39 = load i32, ptr @REG_STATE_NACKED, align 4, !tbaa !13
%40 = and i32 %39, %10
%41 = icmp eq i32 %40, 0
br i1 %41, label %51, label %42
42: ; preds = %38
%43 = load i32, ptr @REG_CMD, align 4, !tbaa !13
%44 = load i32, ptr @REG_CMD_STOP, align 4, !tbaa !13
%45 = tail call i32 @efm32_i2c_write32(ptr noundef nonnull %1, i32 noundef %43, i32 noundef %44) #2
%46 = load i32, ptr @ENXIO, align 4, !tbaa !13
%47 = sub nsw i32 0, %46
%48 = getelementptr inbounds %struct.efm32_i2c_ddata, ptr %1, i64 0, i32 2
store i32 %47, ptr %48, align 4, !tbaa !14
%49 = getelementptr inbounds %struct.efm32_i2c_ddata, ptr %1, i64 0, i32 1
%50 = tail call i32 @complete(ptr noundef nonnull %49) #2
br label %77
51: ; preds = %38
%52 = load i32, ptr %6, align 4, !tbaa !15
%53 = load i32, ptr @I2C_M_RD, align 4, !tbaa !13
%54 = and i32 %53, %52
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %77
56: ; preds = %51
%57 = tail call i32 @efm32_i2c_send_next_byte(ptr noundef nonnull %1) #2
br label %77
58: ; preds = %2
%59 = load i32, ptr %6, align 4, !tbaa !15
%60 = load i32, ptr @I2C_M_RD, align 4, !tbaa !13
%61 = and i32 %60, %59
%62 = icmp eq i32 %61, 0
br i1 %62, label %77, label %63
63: ; preds = %58
%64 = tail call i32 @efm32_i2c_recv_next_byte(ptr noundef nonnull %1) #2
br label %77
65: ; preds = %2
%66 = load i32, ptr @REG_STATE_NACKED, align 4, !tbaa !13
%67 = and i32 %66, %10
%68 = icmp eq i32 %67, 0
br i1 %68, label %75, label %69
69: ; preds = %65
%70 = load i32, ptr @REG_CMD, align 4, !tbaa !13
%71 = load i32, ptr @REG_CMD_STOP, align 4, !tbaa !13
%72 = tail call i32 @efm32_i2c_write32(ptr noundef nonnull %1, i32 noundef %70, i32 noundef %71) #2
%73 = getelementptr inbounds %struct.efm32_i2c_ddata, ptr %1, i64 0, i32 1
%74 = tail call i32 @complete(ptr noundef nonnull %73) #2
br label %77
75: ; preds = %65
%76 = tail call i32 @efm32_i2c_send_next_byte(ptr noundef nonnull %1) #2
br label %77
77: ; preds = %69, %75, %63, %58, %42, %51, %56, %2, %23, %17
%78 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !13
ret i32 %78
}
declare i32 @efm32_i2c_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @efm32_i2c_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
declare i32 @efm32_i2c_send_next_byte(ptr noundef) local_unnamed_addr #1
declare i32 @efm32_i2c_recv_next_byte(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"efm32_i2c_ddata", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 12}
!15 = !{!16, !10, i64 0}
!16 = !{!"i2c_msg", !10, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-efm32.c_efm32_i2c_irq.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-efm32.c_efm32_i2c_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.i2c_msg = type { i32 }
@REG_IF = common local_unnamed_addr global i32 0, align 4
@REG_STATE = common local_unnamed_addr global i32 0, align 4
@REG_IFC = common local_unnamed_addr global i32 0, align 4
@REG_IFC__MASK = common local_unnamed_addr global i32 0, align 4
@REG_STATE_STATE__MASK = common local_unnamed_addr global i32 0, align 4
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@REG_CMD = common local_unnamed_addr global i32 0, align 4
@REG_CMD_STOP = common local_unnamed_addr global i32 0, align 4
@REG_CMD_ABORT = common local_unnamed_addr global i32 0, align 4
@REG_CMD_CLEARTX = common local_unnamed_addr global i32 0, align 4
@REG_CMD_CLEARPC = common local_unnamed_addr global i32 0, align 4
@REG_STATE_NACKED = common local_unnamed_addr global i32 0, align 4
@ENXIO = common local_unnamed_addr global i32 0, align 4
@I2C_M_RD = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @efm32_i2c_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @efm32_i2c_irq(i32 %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %1, align 8, !tbaa !13
%6 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 %5
%7 = load i32, ptr @REG_IF, align 4, !tbaa !14
%8 = tail call i32 @efm32_i2c_read32(ptr noundef nonnull %1, i32 noundef %7) #2
%9 = load i32, ptr @REG_STATE, align 4, !tbaa !14
%10 = tail call i32 @efm32_i2c_read32(ptr noundef nonnull %1, i32 noundef %9) #2
%11 = load i32, ptr @REG_IFC, align 4, !tbaa !14
%12 = load i32, ptr @REG_IFC__MASK, align 4, !tbaa !14
%13 = and i32 %12, %8
%14 = tail call i32 @efm32_i2c_write32(ptr noundef nonnull %1, i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr @REG_STATE_STATE__MASK, align 4, !tbaa !14
%16 = and i32 %15, %10
switch i32 %16, label %77 [
i32 130, label %17
i32 128, label %23
i32 131, label %65
i32 132, label %58
i32 133, label %38
]
17: ; preds = %2
%18 = load i32, ptr @EAGAIN, align 4, !tbaa !14
%19 = sub nsw i32 0, %18
%20 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %19, ptr %20, align 4, !tbaa !15
%21 = getelementptr inbounds i8, ptr %1, i64 8
%22 = tail call i32 @complete(ptr noundef nonnull %21) #2
br label %77
23: ; preds = %2
%24 = load i32, ptr @EIO, align 4, !tbaa !14
%25 = sub nsw i32 0, %24
%26 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %25, ptr %26, align 4, !tbaa !15
%27 = load i32, ptr @REG_CMD, align 4, !tbaa !14
%28 = load i32, ptr @REG_CMD_STOP, align 4, !tbaa !14
%29 = load i32, ptr @REG_CMD_ABORT, align 4, !tbaa !14
%30 = or i32 %29, %28
%31 = load i32, ptr @REG_CMD_CLEARTX, align 4, !tbaa !14
%32 = or i32 %30, %31
%33 = load i32, ptr @REG_CMD_CLEARPC, align 4, !tbaa !14
%34 = or i32 %32, %33
%35 = tail call i32 @efm32_i2c_write32(ptr noundef nonnull %1, i32 noundef %27, i32 noundef %34) #2
%36 = getelementptr inbounds i8, ptr %1, i64 8
%37 = tail call i32 @complete(ptr noundef nonnull %36) #2
br label %77
38: ; preds = %2
%39 = load i32, ptr @REG_STATE_NACKED, align 4, !tbaa !14
%40 = and i32 %39, %10
%41 = icmp eq i32 %40, 0
br i1 %41, label %51, label %42
42: ; preds = %38
%43 = load i32, ptr @REG_CMD, align 4, !tbaa !14
%44 = load i32, ptr @REG_CMD_STOP, align 4, !tbaa !14
%45 = tail call i32 @efm32_i2c_write32(ptr noundef nonnull %1, i32 noundef %43, i32 noundef %44) #2
%46 = load i32, ptr @ENXIO, align 4, !tbaa !14
%47 = sub nsw i32 0, %46
%48 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %47, ptr %48, align 4, !tbaa !15
%49 = getelementptr inbounds i8, ptr %1, i64 8
%50 = tail call i32 @complete(ptr noundef nonnull %49) #2
br label %77
51: ; preds = %38
%52 = load i32, ptr %6, align 4, !tbaa !16
%53 = load i32, ptr @I2C_M_RD, align 4, !tbaa !14
%54 = and i32 %53, %52
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %77
56: ; preds = %51
%57 = tail call i32 @efm32_i2c_send_next_byte(ptr noundef nonnull %1) #2
br label %77
58: ; preds = %2
%59 = load i32, ptr %6, align 4, !tbaa !16
%60 = load i32, ptr @I2C_M_RD, align 4, !tbaa !14
%61 = and i32 %60, %59
%62 = icmp eq i32 %61, 0
br i1 %62, label %77, label %63
63: ; preds = %58
%64 = tail call i32 @efm32_i2c_recv_next_byte(ptr noundef nonnull %1) #2
br label %77
65: ; preds = %2
%66 = load i32, ptr @REG_STATE_NACKED, align 4, !tbaa !14
%67 = and i32 %66, %10
%68 = icmp eq i32 %67, 0
br i1 %68, label %75, label %69
69: ; preds = %65
%70 = load i32, ptr @REG_CMD, align 4, !tbaa !14
%71 = load i32, ptr @REG_CMD_STOP, align 4, !tbaa !14
%72 = tail call i32 @efm32_i2c_write32(ptr noundef nonnull %1, i32 noundef %70, i32 noundef %71) #2
%73 = getelementptr inbounds i8, ptr %1, i64 8
%74 = tail call i32 @complete(ptr noundef nonnull %73) #2
br label %77
75: ; preds = %65
%76 = tail call i32 @efm32_i2c_send_next_byte(ptr noundef nonnull %1) #2
br label %77
77: ; preds = %69, %75, %63, %58, %42, %51, %56, %2, %23, %17
%78 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !14
ret i32 %78
}
declare i32 @efm32_i2c_read32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @efm32_i2c_write32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @complete(ptr noundef) local_unnamed_addr #1
declare i32 @efm32_i2c_send_next_byte(ptr noundef) local_unnamed_addr #1
declare i32 @efm32_i2c_recv_next_byte(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"efm32_i2c_ddata", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 12}
!16 = !{!17, !11, i64 0}
!17 = !{!"i2c_msg", !11, i64 0}
|
linux_drivers_i2c_busses_extr_i2c-efm32.c_efm32_i2c_irq
|
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavformat/extr_ijkioapplication.c_ijkio_application_alloc.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavformat/extr_ijkioapplication.c_ijkio_application_alloc.c"
target datalayout = "e-m:e-p270:32:32-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 @ijkio_application_alloc(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @calloc(i32 noundef 1, i32 noundef 8) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %6, label %5
5: ; preds = %2
store ptr %1, ptr %3, align 8, !tbaa !5
store ptr %3, ptr %0, align 8, !tbaa !10
br label %6
6: ; preds = %2, %5
%7 = phi i32 [ 0, %5 ], [ -1, %2 ]
ret i32 %7
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavformat/extr_ijkioapplication.c_ijkio_application_alloc.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavformat/extr_ijkioapplication.c_ijkio_application_alloc.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 -1, 1) i32 @ijkio_application_alloc(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @calloc(i32 noundef 1, i32 noundef 8) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %6, label %5
5: ; preds = %2
store ptr %1, ptr %3, align 8, !tbaa !6
store ptr %3, ptr %0, align 8, !tbaa !11
br label %6
6: ; preds = %2, %5
%7 = phi i32 [ 0, %5 ], [ -1, %2 ]
ret i32 %7
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
ijkplayer_ijkmedia_ijkplayer_ijkavformat_extr_ijkioapplication.c_ijkio_application_alloc
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_t3_hw.c_t3_write_flash.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_t3_hw.c_t3_write_flash.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SF_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@SF_PROG_PAGE = dso_local local_unnamed_addr global i32 0, align 4
@SF_WR_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @t3_write_flash], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @t3_write_flash(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca [64 x i32], align 16
call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #4
%7 = and i32 %1, 255
%8 = add i32 %2, %1
%9 = load i32, ptr @SF_SIZE, align 4, !tbaa !5
%10 = icmp ugt i32 %8, %9
%11 = add i32 %7, %2
%12 = icmp ugt i32 %11, 256
%13 = or i1 %12, %10
br i1 %13, label %14, label %17
14: ; preds = %5
%15 = load i32, ptr @EINVAL, align 4, !tbaa !5
%16 = sub nsw i32 0, %15
br label %69
17: ; preds = %5
%18 = tail call i32 @swab32(i32 noundef %1) #4
%19 = load i32, ptr @SF_PROG_PAGE, align 4, !tbaa !5
%20 = load i32, ptr @SF_WR_ENABLE, align 4, !tbaa !5
%21 = tail call i32 @sf1_write(ptr noundef %0, i32 noundef 1, i32 noundef 0, i32 noundef %20) #4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %69
23: ; preds = %17
%24 = or i32 %19, %18
%25 = tail call i32 @sf1_write(ptr noundef %0, i32 noundef 4, i32 noundef 1, i32 noundef %24) #4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %69
27: ; preds = %23
%28 = icmp eq i32 %2, 0
br i1 %28, label %49, label %29
29: ; preds = %27
%30 = icmp eq i32 %4, 0
br label %34
31: ; preds = %43
%32 = sub i32 %35, %37
%33 = icmp eq i32 %32, 0
br i1 %33, label %49, label %34, !llvm.loop !9
34: ; preds = %29, %31
%35 = phi i32 [ %2, %29 ], [ %32, %31 ]
%36 = phi ptr [ %3, %29 ], [ %40, %31 ]
%37 = tail call i32 @min(i32 noundef %35, i32 noundef 4) #4
%38 = load i32, ptr %36, align 4, !tbaa !5
%39 = zext i32 %37 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
br i1 %30, label %43, label %41
41: ; preds = %34
%42 = tail call i32 @htonl(i32 noundef %38)
br label %43
43: ; preds = %41, %34
%44 = phi i32 [ %42, %41 ], [ %38, %34 ]
%45 = icmp ne i32 %37, %35
%46 = zext i1 %45 to i32
%47 = tail call i32 @sf1_write(ptr noundef %0, i32 noundef %37, i32 noundef %46, i32 noundef %44) #4
%48 = icmp eq i32 %47, 0
br i1 %48, label %31, label %69
49: ; preds = %31, %27
%50 = phi ptr [ %3, %27 ], [ %40, %31 ]
%51 = tail call i32 @flash_wait_op(ptr noundef %0, i32 noundef 5, i32 noundef 1) #4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %69
53: ; preds = %49
%54 = and i32 %1, -256
%55 = call i32 @ARRAY_SIZE(ptr noundef nonnull %6) #4
%56 = call i32 @t3_read_flash(ptr noundef %0, i32 noundef %54, i32 noundef %55, ptr noundef nonnull %6, i32 noundef %4) #4
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %69
58: ; preds = %53
%59 = zext i32 %2 to i64
%60 = sub nsw i64 0, %59
%61 = getelementptr inbounds i32, ptr %50, i64 %60
%62 = zext nneg i32 %7 to i64
%63 = getelementptr inbounds i32, ptr %6, i64 %62
%64 = call i64 @memcmp(ptr noundef %61, ptr noundef nonnull %63, i32 noundef %2) #4
%65 = icmp eq i64 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %58
%67 = load i32, ptr @EIO, align 4, !tbaa !5
%68 = sub nsw i32 0, %67
br label %69
69: ; preds = %43, %58, %53, %49, %17, %23, %66, %14
%70 = phi i32 [ %16, %14 ], [ %68, %66 ], [ %21, %17 ], [ %25, %23 ], [ %51, %49 ], [ %56, %53 ], [ 0, %58 ], [ %47, %43 ]
call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #4
ret i32 %70
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @swab32(i32 noundef) local_unnamed_addr #2
declare i32 @sf1_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @htonl(i32 noundef) local_unnamed_addr #3
declare i32 @flash_wait_op(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @t3_read_flash(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
declare i64 @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 = { nofree nosync nounwind memory(none) "no-trapping-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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_t3_hw.c_t3_write_flash.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_t3_hw.c_t3_write_flash.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SF_SIZE = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@SF_PROG_PAGE = common local_unnamed_addr global i32 0, align 4
@SF_WR_ENABLE = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @t3_write_flash], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @t3_write_flash(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca [64 x i32], align 4
call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #4
%7 = and i32 %1, 255
%8 = add i32 %2, %1
%9 = load i32, ptr @SF_SIZE, align 4, !tbaa !6
%10 = icmp ugt i32 %8, %9
%11 = add i32 %7, %2
%12 = icmp ugt i32 %11, 256
%13 = or i1 %12, %10
br i1 %13, label %14, label %17
14: ; preds = %5
%15 = load i32, ptr @EINVAL, align 4, !tbaa !6
%16 = sub nsw i32 0, %15
br label %69
17: ; preds = %5
%18 = tail call i32 @swab32(i32 noundef %1) #4
%19 = load i32, ptr @SF_PROG_PAGE, align 4, !tbaa !6
%20 = load i32, ptr @SF_WR_ENABLE, align 4, !tbaa !6
%21 = tail call i32 @sf1_write(ptr noundef %0, i32 noundef 1, i32 noundef 0, i32 noundef %20) #4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %69
23: ; preds = %17
%24 = or i32 %19, %18
%25 = tail call i32 @sf1_write(ptr noundef %0, i32 noundef 4, i32 noundef 1, i32 noundef %24) #4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %69
27: ; preds = %23
%28 = icmp eq i32 %2, 0
br i1 %28, label %49, label %29
29: ; preds = %27
%30 = icmp eq i32 %4, 0
br label %34
31: ; preds = %43
%32 = sub i32 %35, %37
%33 = icmp eq i32 %32, 0
br i1 %33, label %49, label %34, !llvm.loop !10
34: ; preds = %29, %31
%35 = phi i32 [ %2, %29 ], [ %32, %31 ]
%36 = phi ptr [ %3, %29 ], [ %40, %31 ]
%37 = tail call i32 @min(i32 noundef %35, i32 noundef 4) #4
%38 = load i32, ptr %36, align 4, !tbaa !6
%39 = zext i32 %37 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
br i1 %30, label %43, label %41
41: ; preds = %34
%42 = tail call i32 @htonl(i32 noundef %38)
br label %43
43: ; preds = %41, %34
%44 = phi i32 [ %42, %41 ], [ %38, %34 ]
%45 = icmp ne i32 %37, %35
%46 = zext i1 %45 to i32
%47 = tail call i32 @sf1_write(ptr noundef %0, i32 noundef %37, i32 noundef %46, i32 noundef %44) #4
%48 = icmp eq i32 %47, 0
br i1 %48, label %31, label %69
49: ; preds = %31, %27
%50 = phi ptr [ %3, %27 ], [ %40, %31 ]
%51 = tail call i32 @flash_wait_op(ptr noundef %0, i32 noundef 5, i32 noundef 1) #4
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %69
53: ; preds = %49
%54 = and i32 %1, -256
%55 = call i32 @ARRAY_SIZE(ptr noundef nonnull %6) #4
%56 = call i32 @t3_read_flash(ptr noundef %0, i32 noundef %54, i32 noundef %55, ptr noundef nonnull %6, i32 noundef %4) #4
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %69
58: ; preds = %53
%59 = zext i32 %2 to i64
%60 = sub nsw i64 0, %59
%61 = getelementptr inbounds i32, ptr %50, i64 %60
%62 = zext nneg i32 %7 to i64
%63 = getelementptr inbounds i32, ptr %6, i64 %62
%64 = call i64 @memcmp(ptr noundef %61, ptr noundef nonnull %63, i32 noundef %2) #4
%65 = icmp eq i64 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %58
%67 = load i32, ptr @EIO, align 4, !tbaa !6
%68 = sub nsw i32 0, %67
br label %69
69: ; preds = %43, %58, %53, %49, %17, %23, %66, %14
%70 = phi i32 [ %16, %14 ], [ %68, %66 ], [ %21, %17 ], [ %25, %23 ], [ %51, %49 ], [ %56, %53 ], [ 0, %58 ], [ %47, %43 ]
call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #4
ret i32 %70
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @swab32(i32 noundef) local_unnamed_addr #2
declare i32 @sf1_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @htonl(i32 noundef) local_unnamed_addr #3
declare i32 @flash_wait_op(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @t3_read_flash(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2
declare i64 @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 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
freebsd_sys_dev_cxgb_common_extr_cxgb_t3_hw.c_t3_write_flash
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/lockd/extr_clntproc.c_nlmclnt_rpc_release.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/lockd/extr_clntproc.c_nlmclnt_rpc_release.c"
target datalayout = "e-m:e-p270:32:32-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 @nlmclnt_rpc_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nlmclnt_rpc_release(ptr noundef %0) #0 {
%2 = tail call i32 (...) @lock_kernel() #2
%3 = tail call i32 @nlm_release_call(ptr noundef %0) #2
%4 = tail call i32 (...) @unlock_kernel() #2
ret void
}
declare i32 @lock_kernel(...) local_unnamed_addr #1
declare i32 @nlm_release_call(ptr noundef) local_unnamed_addr #1
declare i32 @unlock_kernel(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/lockd/extr_clntproc.c_nlmclnt_rpc_release.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/lockd/extr_clntproc.c_nlmclnt_rpc_release.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 @nlmclnt_rpc_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nlmclnt_rpc_release(ptr noundef %0) #0 {
%2 = tail call i32 @lock_kernel() #2
%3 = tail call i32 @nlm_release_call(ptr noundef %0) #2
%4 = tail call i32 @unlock_kernel() #2
ret void
}
declare i32 @lock_kernel(...) local_unnamed_addr #1
declare i32 @nlm_release_call(ptr noundef) local_unnamed_addr #1
declare i32 @unlock_kernel(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_fs_lockd_extr_clntproc.c_nlmclnt_rpc_release
|
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/z80/extr_z80asm.c_skipword.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/z80/extr_z80asm.c_skipword.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@sp = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @skipword], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @skipword(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @sp, align 4, !tbaa !5
%5 = call i32 @rd_expr(ptr noundef %0, i8 noundef signext %1, ptr noundef nonnull %3, i32 noundef %4, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @rd_expr(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/z80/extr_z80asm.c_skipword.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/z80/extr_z80asm.c_skipword.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sp = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @skipword], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @skipword(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @sp, align 4, !tbaa !6
%5 = call i32 @rd_expr(ptr noundef %0, i8 noundef signext %1, ptr noundef nonnull %3, i32 noundef %4, i32 noundef 0) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @rd_expr(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
radare2_libr_asm_arch_z80_extr_z80asm.c_skipword
|
; ModuleID = 'AnghaBench/linux/drivers/w1/slaves/extr_w1_therm.c_w1_therm_eeprom.c'
source_filename = "AnghaBench/linux/drivers/w1/slaves/extr_w1_therm.c_w1_therm_eeprom.c"
target datalayout = "e-m:e-p270:32:32-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.w1_slave = type { ptr, ptr }
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@W1_READ_PSUPPLY = dso_local local_unnamed_addr global i32 0, align 4
@w1_strong_pullup = dso_local local_unnamed_addr global i32 0, align 4
@W1_COPY_SCRATCHPAD = dso_local local_unnamed_addr global i32 0, align 4
@EINTR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @w1_therm_eeprom], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @w1_therm_eeprom(ptr noundef %0) #0 {
%2 = alloca [9 x i64], align 16
%3 = tail call ptr @dev_to_w1_slave(ptr noundef %0) #3
%4 = getelementptr inbounds %struct.w1_slave, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #3
%6 = load ptr, ptr %3, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr @ENODEV, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %70
11: ; preds = %1
%12 = tail call i32 @THERM_REFCNT(ptr noundef nonnull %6) #3
%13 = tail call i32 @atomic_inc(i32 noundef %12) #3
%14 = tail call i32 @mutex_lock_interruptible(ptr noundef %5) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %66
16: ; preds = %11
%17 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 72) #3
br label %18
18: ; preds = %16, %22
%19 = phi i32 [ 9, %16 ], [ %23, %22 ]
%20 = call i64 @w1_reset_select_slave(ptr noundef nonnull %3) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18, %25
%23 = add nsw i32 %19, -1
%24 = icmp eq i32 %19, 0
br i1 %24, label %63, label %18, !llvm.loop !13
25: ; preds = %18
%26 = load i32, ptr @W1_READ_PSUPPLY, align 4, !tbaa !11
%27 = call i32 @w1_write_8(ptr noundef %5, i32 noundef %26) #3
%28 = call i64 @w1_read_8(ptr noundef %5) #3
%29 = call i64 @w1_reset_select_slave(ptr noundef nonnull %3) #3
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %22
31: ; preds = %25
%32 = load i32, ptr @w1_strong_pullup, align 4
%33 = icmp eq i32 %32, 2
br i1 %33, label %38, label %34
34: ; preds = %31
%35 = icmp eq i64 %28, 0
%36 = icmp ne i32 %32, 0
%37 = and i1 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %34, %31
%39 = call i32 @w1_next_pullup(ptr noundef %5, i32 noundef 10) #3
br label %40
40: ; preds = %38, %34
%41 = load i32, ptr @W1_COPY_SCRATCHPAD, align 4, !tbaa !11
%42 = call i32 @w1_write_8(ptr noundef %5, i32 noundef %41) #3
%43 = icmp eq i64 %28, 0
br i1 %43, label %54, label %44
44: ; preds = %40
%45 = call i32 @mutex_unlock(ptr noundef %5) #3
%46 = call i64 @msleep_interruptible(i32 noundef 10) #3
%47 = icmp eq i64 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %44
%49 = load i32, ptr @EINTR, align 4, !tbaa !11
%50 = sub nsw i32 0, %49
br label %66
51: ; preds = %44
%52 = call i32 @mutex_lock_interruptible(ptr noundef %5) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %63, label %66
54: ; preds = %40
%55 = load i32, ptr @w1_strong_pullup, align 4, !tbaa !11
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %63
57: ; preds = %54
%58 = call i64 @msleep_interruptible(i32 noundef 10) #3
%59 = icmp eq i64 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %57
%61 = load i32, ptr @EINTR, align 4, !tbaa !11
%62 = sub nsw i32 0, %61
br label %63
63: ; preds = %22, %51, %57, %54, %60
%64 = phi i32 [ 0, %57 ], [ 0, %54 ], [ %62, %60 ], [ 0, %51 ], [ 0, %22 ]
%65 = call i32 @mutex_unlock(ptr noundef %5) #3
br label %66
66: ; preds = %51, %48, %11, %63
%67 = phi i32 [ %14, %11 ], [ %64, %63 ], [ %52, %51 ], [ %50, %48 ]
%68 = call i32 @THERM_REFCNT(ptr noundef nonnull %6) #3
%69 = call i32 @atomic_dec(i32 noundef %68) #3
br label %70
70: ; preds = %8, %66
%71 = phi i32 [ %67, %66 ], [ %10, %8 ]
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #3
ret i32 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_to_w1_slave(ptr noundef) local_unnamed_addr #2
declare i32 @atomic_inc(i32 noundef) local_unnamed_addr #2
declare i32 @THERM_REFCNT(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock_interruptible(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @w1_reset_select_slave(ptr noundef) local_unnamed_addr #2
declare i32 @w1_write_8(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @w1_read_8(ptr noundef) local_unnamed_addr #2
declare i32 @w1_next_pullup(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i64 @msleep_interruptible(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
declare i32 @atomic_dec(i32 noundef) local_unnamed_addr #2
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = !{!"w1_slave", !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, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/w1/slaves/extr_w1_therm.c_w1_therm_eeprom.c'
source_filename = "AnghaBench/linux/drivers/w1/slaves/extr_w1_therm.c_w1_therm_eeprom.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
@W1_READ_PSUPPLY = common local_unnamed_addr global i32 0, align 4
@w1_strong_pullup = common local_unnamed_addr global i32 0, align 4
@W1_COPY_SCRATCHPAD = common local_unnamed_addr global i32 0, align 4
@EINTR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @w1_therm_eeprom], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @w1_therm_eeprom(ptr noundef %0) #0 {
%2 = alloca [9 x i64], align 8
%3 = tail call ptr @dev_to_w1_slave(ptr noundef %0) #3
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #3
%6 = load ptr, ptr %3, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr @ENODEV, align 4, !tbaa !12
%10 = sub nsw i32 0, %9
br label %70
11: ; preds = %1
%12 = tail call i32 @THERM_REFCNT(ptr noundef nonnull %6) #3
%13 = tail call i32 @atomic_inc(i32 noundef %12) #3
%14 = tail call i32 @mutex_lock_interruptible(ptr noundef %5) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %66
16: ; preds = %11
%17 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 72) #3
br label %18
18: ; preds = %16, %22
%19 = phi i32 [ 9, %16 ], [ %23, %22 ]
%20 = call i64 @w1_reset_select_slave(ptr noundef nonnull %3) #3
%21 = icmp eq i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %18, %25
%23 = add nsw i32 %19, -1
%24 = icmp eq i32 %19, 0
br i1 %24, label %63, label %18, !llvm.loop !14
25: ; preds = %18
%26 = load i32, ptr @W1_READ_PSUPPLY, align 4, !tbaa !12
%27 = call i32 @w1_write_8(ptr noundef %5, i32 noundef %26) #3
%28 = call i64 @w1_read_8(ptr noundef %5) #3
%29 = call i64 @w1_reset_select_slave(ptr noundef nonnull %3) #3
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %22
31: ; preds = %25
%32 = load i32, ptr @w1_strong_pullup, align 4
%33 = icmp eq i32 %32, 2
br i1 %33, label %38, label %34
34: ; preds = %31
%35 = icmp eq i64 %28, 0
%36 = icmp ne i32 %32, 0
%37 = and i1 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %34, %31
%39 = call i32 @w1_next_pullup(ptr noundef %5, i32 noundef 10) #3
br label %40
40: ; preds = %38, %34
%41 = load i32, ptr @W1_COPY_SCRATCHPAD, align 4, !tbaa !12
%42 = call i32 @w1_write_8(ptr noundef %5, i32 noundef %41) #3
%43 = icmp eq i64 %28, 0
br i1 %43, label %54, label %44
44: ; preds = %40
%45 = call i32 @mutex_unlock(ptr noundef %5) #3
%46 = call i64 @msleep_interruptible(i32 noundef 10) #3
%47 = icmp eq i64 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %44
%49 = load i32, ptr @EINTR, align 4, !tbaa !12
%50 = sub nsw i32 0, %49
br label %66
51: ; preds = %44
%52 = call i32 @mutex_lock_interruptible(ptr noundef %5) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %63, label %66
54: ; preds = %40
%55 = load i32, ptr @w1_strong_pullup, align 4, !tbaa !12
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %63
57: ; preds = %54
%58 = call i64 @msleep_interruptible(i32 noundef 10) #3
%59 = icmp eq i64 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %57
%61 = load i32, ptr @EINTR, align 4, !tbaa !12
%62 = sub nsw i32 0, %61
br label %63
63: ; preds = %22, %51, %57, %54, %60
%64 = phi i32 [ %62, %60 ], [ 0, %51 ], [ 0, %54 ], [ 0, %57 ], [ 0, %22 ]
%65 = call i32 @mutex_unlock(ptr noundef %5) #3
br label %66
66: ; preds = %51, %48, %11, %63
%67 = phi i32 [ %14, %11 ], [ %64, %63 ], [ %52, %51 ], [ %50, %48 ]
%68 = call i32 @THERM_REFCNT(ptr noundef nonnull %6) #3
%69 = call i32 @atomic_dec(i32 noundef %68) #3
br label %70
70: ; preds = %8, %66
%71 = phi i32 [ %67, %66 ], [ %10, %8 ]
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #3
ret i32 %71
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_to_w1_slave(ptr noundef) local_unnamed_addr #2
declare i32 @atomic_inc(i32 noundef) local_unnamed_addr #2
declare i32 @THERM_REFCNT(ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock_interruptible(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @w1_reset_select_slave(ptr noundef) local_unnamed_addr #2
declare i32 @w1_write_8(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @w1_read_8(ptr noundef) local_unnamed_addr #2
declare i32 @w1_next_pullup(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
declare i64 @msleep_interruptible(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
declare i32 @atomic_dec(i32 noundef) local_unnamed_addr #2
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { 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 = !{!"w1_slave", !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, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_w1_slaves_extr_w1_therm.c_w1_therm_eeprom
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_pm.c_wil_pm_runtime_forbid.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_pm.c_wil_pm_runtime_forbid.c"
target datalayout = "e-m:e-p270:32:32-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 @wil_pm_runtime_forbid(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @wil_to_dev(ptr noundef %0) #2
%3 = tail call i32 @pm_runtime_forbid(ptr noundef %2) #2
%4 = tail call i32 @pm_runtime_get_noresume(ptr noundef %2) #2
ret void
}
declare ptr @wil_to_dev(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_forbid(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_get_noresume(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_pm.c_wil_pm_runtime_forbid.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/wil6210/extr_pm.c_wil_pm_runtime_forbid.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 @wil_pm_runtime_forbid(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @wil_to_dev(ptr noundef %0) #2
%3 = tail call i32 @pm_runtime_forbid(ptr noundef %2) #2
%4 = tail call i32 @pm_runtime_get_noresume(ptr noundef %2) #2
ret void
}
declare ptr @wil_to_dev(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_forbid(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_get_noresume(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_net_wireless_ath_wil6210_extr_pm.c_wil_pm_runtime_forbid
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_tas5720.c_tas5722_volume_get.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_tas5720.c_tas5722_volume_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TAS5720_VOLUME_CTRL_REG = dso_local local_unnamed_addr global i32 0, align 4
@TAS5722_DIGITAL_CTRL2_REG = dso_local local_unnamed_addr global i32 0, align 4
@TAS5722_VOL_CONTROL_LSB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tas5722_volume_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @tas5722_volume_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = load i32, ptr @TAS5720_VOLUME_CTRL_REG, align 4, !tbaa !5
%6 = call i32 @snd_soc_component_read(ptr noundef %4, i32 noundef %5, ptr noundef nonnull %3) #3
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = shl i32 %7, 1
%9 = load ptr, ptr %1, align 8, !tbaa !9
store i32 %8, ptr %9, align 4, !tbaa !5
%10 = load i32, ptr @TAS5722_DIGITAL_CTRL2_REG, align 4, !tbaa !5
%11 = call i32 @snd_soc_component_read(ptr noundef %4, i32 noundef %10, ptr noundef nonnull %3) #3
%12 = load i32, ptr %3, align 4, !tbaa !5
%13 = load i32, ptr @TAS5722_VOL_CONTROL_LSB, align 4, !tbaa !5
%14 = and i32 %13, %12
%15 = load ptr, ptr %1, align 8, !tbaa !9
%16 = load i32, ptr %15, align 4, !tbaa !5
%17 = or i32 %16, %14
store i32 %17, ptr %15, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #2
declare i32 @snd_soc_component_read(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 = !{!10, !13, i64 0}
!10 = !{!"snd_ctl_elem_value", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_tas5720.c_tas5722_volume_get.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_tas5720.c_tas5722_volume_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TAS5720_VOLUME_CTRL_REG = common local_unnamed_addr global i32 0, align 4
@TAS5722_DIGITAL_CTRL2_REG = common local_unnamed_addr global i32 0, align 4
@TAS5722_VOL_CONTROL_LSB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tas5722_volume_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @tas5722_volume_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca i32, align 4
%4 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%5 = load i32, ptr @TAS5720_VOLUME_CTRL_REG, align 4, !tbaa !6
%6 = call i32 @snd_soc_component_read(ptr noundef %4, i32 noundef %5, ptr noundef nonnull %3) #3
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = shl i32 %7, 1
%9 = load ptr, ptr %1, align 8, !tbaa !10
store i32 %8, ptr %9, align 4, !tbaa !6
%10 = load i32, ptr @TAS5722_DIGITAL_CTRL2_REG, align 4, !tbaa !6
%11 = call i32 @snd_soc_component_read(ptr noundef %4, i32 noundef %10, ptr noundef nonnull %3) #3
%12 = load i32, ptr %3, align 4, !tbaa !6
%13 = load i32, ptr @TAS5722_VOL_CONTROL_LSB, align 4, !tbaa !6
%14 = and i32 %13, %12
%15 = load ptr, ptr %1, align 8, !tbaa !10
%16 = load i32, ptr %15, align 4, !tbaa !6
%17 = or i32 %16, %14
store i32 %17, ptr %15, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #2
declare i32 @snd_soc_component_read(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 = !{!11, !14, i64 0}
!11 = !{!"snd_ctl_elem_value", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
|
linux_sound_soc_codecs_extr_tas5720.c_tas5722_volume_get
|
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/tools/extr_sslio.c_dump_blob.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/tools/extr_sslio.c_dump_blob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"%s (len = %lu)\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\0A%08lX \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dump_blob], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dump_blob(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 {
%4 = load i32, ptr @stderr, align 4, !tbaa !5
%5 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %0, i64 noundef %2) #2
%6 = icmp eq i64 %2, 0
br i1 %6, label %28, label %7
7: ; preds = %3, %20
%8 = phi i64 [ %26, %20 ], [ 0, %3 ]
%9 = and i64 %8, 15
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @stderr, align 4, !tbaa !5
%13 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef nonnull @.str.1, i64 noundef %8) #2
br label %20
14: ; preds = %7
%15 = and i64 %8, 7
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr @stderr, align 4, !tbaa !5
%19 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef nonnull @.str.2) #2
br label %20
20: ; preds = %14, %17, %11
%21 = load i32, ptr @stderr, align 4, !tbaa !5
%22 = getelementptr inbounds i8, ptr %1, i64 %8
%23 = load i8, ptr %22, align 1, !tbaa !9
%24 = zext i8 %23 to i32
%25 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef nonnull @.str.3, i32 noundef %24) #2
%26 = add nuw i64 %8, 1
%27 = icmp eq i64 %26, %2
br i1 %27, label %28, label %7, !llvm.loop !10
28: ; preds = %20, %3
%29 = load i32, ptr @stderr, align 4, !tbaa !5
%30 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef nonnull @.str.4) #2
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/tools/extr_sslio.c_dump_blob.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/tools/extr_sslio.c_dump_blob.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"%s (len = %lu)\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"\0A%08lX \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dump_blob], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dump_blob(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 {
%4 = load i32, ptr @stderr, align 4, !tbaa !6
%5 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %0, i64 noundef %2) #2
%6 = icmp eq i64 %2, 0
br i1 %6, label %28, label %7
7: ; preds = %3, %20
%8 = phi i64 [ %26, %20 ], [ 0, %3 ]
%9 = and i64 %8, 15
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @stderr, align 4, !tbaa !6
%13 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef nonnull @.str.1, i64 noundef %8) #2
br label %20
14: ; preds = %7
%15 = and i64 %8, 7
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = load i32, ptr @stderr, align 4, !tbaa !6
%19 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef nonnull @.str.2) #2
br label %20
20: ; preds = %14, %17, %11
%21 = load i32, ptr @stderr, align 4, !tbaa !6
%22 = getelementptr inbounds i8, ptr %1, i64 %8
%23 = load i8, ptr %22, align 1, !tbaa !10
%24 = zext i8 %23 to i32
%25 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef nonnull @.str.3, i32 noundef %24) #2
%26 = add nuw i64 %8, 1
%27 = icmp eq i64 %26, %2
br i1 %27, label %28, label %7, !llvm.loop !11
28: ; preds = %20, %3
%29 = load i32, ptr @stderr, align 4, !tbaa !6
%30 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef nonnull @.str.4) #2
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
freebsd_contrib_bearssl_tools_extr_sslio.c_dump_blob
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma_hw.c_ocrdma_ring_eq_db.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma_hw.c_ocrdma_ring_eq_db.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OCRDMA_EQ_ID_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OCRDMA_EQ_ID_EXT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OCRDMA_EQ_ID_EXT_MASK_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OCRDMA_REARM_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OCRDMA_EQ_CLR_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OCRDMA_EQ_TYPE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OCRDMA_NUM_EQE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OCRDMA_DB_EQ_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ocrdma_ring_eq_db], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ocrdma_ring_eq_db(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load i32, ptr @OCRDMA_EQ_ID_MASK, align 4, !tbaa !5
%7 = and i32 %6, %1
%8 = load i32, ptr @OCRDMA_EQ_ID_EXT_MASK, align 4, !tbaa !5
%9 = and i32 %8, %1
%10 = load i32, ptr @OCRDMA_EQ_ID_EXT_MASK_SHIFT, align 4, !tbaa !5
%11 = shl i32 %9, %10
%12 = or i32 %11, %7
%13 = icmp eq i32 %2, 0
%14 = load i32, ptr @OCRDMA_REARM_SHIFT, align 4
%15 = shl nuw i32 1, %14
%16 = select i1 %13, i32 0, i32 %15
%17 = or i32 %12, %16
%18 = icmp eq i32 %3, 0
%19 = load i32, ptr @OCRDMA_EQ_CLR_SHIFT, align 4
%20 = shl nuw i32 1, %19
%21 = select i1 %18, i32 0, i32 %20
%22 = or i32 %17, %21
%23 = load i32, ptr @OCRDMA_EQ_TYPE_SHIFT, align 4, !tbaa !5
%24 = shl nuw i32 1, %23
%25 = or i32 %22, %24
%26 = load i32, ptr @OCRDMA_NUM_EQE_SHIFT, align 4, !tbaa !5
%27 = shl i32 %4, %26
%28 = or i32 %25, %27
%29 = load i64, ptr %0, align 8, !tbaa !9
%30 = load i64, ptr @OCRDMA_DB_EQ_OFFSET, align 8, !tbaa !13
%31 = add nsw i64 %30, %29
%32 = tail call i32 @iowrite32(i32 noundef %28, i64 noundef %31) #2
ret void
}
declare i32 @iowrite32(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"ocrdma_dev", !11, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!12, !12, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma_hw.c_ocrdma_ring_eq_db.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ocrdma/extr_ocrdma_hw.c_ocrdma_ring_eq_db.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OCRDMA_EQ_ID_MASK = common local_unnamed_addr global i32 0, align 4
@OCRDMA_EQ_ID_EXT_MASK = common local_unnamed_addr global i32 0, align 4
@OCRDMA_EQ_ID_EXT_MASK_SHIFT = common local_unnamed_addr global i32 0, align 4
@OCRDMA_REARM_SHIFT = common local_unnamed_addr global i32 0, align 4
@OCRDMA_EQ_CLR_SHIFT = common local_unnamed_addr global i32 0, align 4
@OCRDMA_EQ_TYPE_SHIFT = common local_unnamed_addr global i32 0, align 4
@OCRDMA_NUM_EQE_SHIFT = common local_unnamed_addr global i32 0, align 4
@OCRDMA_DB_EQ_OFFSET = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ocrdma_ring_eq_db], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ocrdma_ring_eq_db(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load i32, ptr @OCRDMA_EQ_ID_MASK, align 4, !tbaa !6
%7 = and i32 %6, %1
%8 = load i32, ptr @OCRDMA_EQ_ID_EXT_MASK, align 4, !tbaa !6
%9 = and i32 %8, %1
%10 = load i32, ptr @OCRDMA_EQ_ID_EXT_MASK_SHIFT, align 4, !tbaa !6
%11 = shl i32 %9, %10
%12 = or i32 %11, %7
%13 = icmp eq i32 %2, 0
%14 = load i32, ptr @OCRDMA_REARM_SHIFT, align 4
%15 = shl nuw i32 1, %14
%16 = select i1 %13, i32 0, i32 %15
%17 = or i32 %12, %16
%18 = icmp eq i32 %3, 0
%19 = load i32, ptr @OCRDMA_EQ_CLR_SHIFT, align 4
%20 = shl nuw i32 1, %19
%21 = select i1 %18, i32 0, i32 %20
%22 = or i32 %17, %21
%23 = load i32, ptr @OCRDMA_EQ_TYPE_SHIFT, align 4, !tbaa !6
%24 = shl nuw i32 1, %23
%25 = or i32 %22, %24
%26 = load i32, ptr @OCRDMA_NUM_EQE_SHIFT, align 4, !tbaa !6
%27 = shl i32 %4, %26
%28 = or i32 %25, %27
%29 = load i64, ptr %0, align 8, !tbaa !10
%30 = load i64, ptr @OCRDMA_DB_EQ_OFFSET, align 8, !tbaa !14
%31 = add nsw i64 %30, %29
%32 = tail call i32 @iowrite32(i32 noundef %28, i64 noundef %31) #2
ret void
}
declare i32 @iowrite32(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"ocrdma_dev", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!13, !13, i64 0}
|
fastsocket_kernel_drivers_infiniband_hw_ocrdma_extr_ocrdma_hw.c_ocrdma_ring_eq_db
|
; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367.c_rtl8367_is_vlan_valid.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367.c_rtl8367_is_vlan_valid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RTL8367_NUM_VLANS = dso_local local_unnamed_addr global i32 0, align 4
@RTL8367_NUM_VIDS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8367_is_vlan_valid], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @rtl8367_is_vlan_valid(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @RTL8367_NUM_VLANS, align 4, !tbaa !5
%4 = load i64, ptr %0, align 8, !tbaa !9
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @RTL8367_NUM_VIDS, align 4
%7 = add nsw i32 %6, -1
%8 = select i1 %5, i32 %3, i32 %7
%9 = icmp ne i32 %1, 0
%10 = icmp ugt i32 %8, %1
%11 = select i1 %9, i1 %10, i1 false
%12 = zext i1 %11 to i32
ret i32 %12
}
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, !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 = !{!"rtl8366_smi", !11, i64 0}
!11 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367.c_rtl8367_is_vlan_valid.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367.c_rtl8367_is_vlan_valid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTL8367_NUM_VLANS = common local_unnamed_addr global i32 0, align 4
@RTL8367_NUM_VIDS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtl8367_is_vlan_valid], 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 @rtl8367_is_vlan_valid(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @RTL8367_NUM_VLANS, align 4, !tbaa !6
%4 = load i64, ptr %0, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @RTL8367_NUM_VIDS, align 4
%7 = add nsw i32 %6, -1
%8 = select i1 %5, i32 %3, i32 %7
%9 = icmp ne i32 %1, 0
%10 = icmp ugt i32 %8, %1
%11 = select i1 %9, i1 %10, i1 false
%12 = zext i1 %11 to i32
ret i32 %12
}
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, !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 = !{!"rtl8366_smi", !12, i64 0}
!12 = !{!"long", !8, i64 0}
|
openwrt_target_linux_generic_files_drivers_net_phy_extr_rtl8367.c_rtl8367_is_vlan_valid
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_mlx5.c_open_debug_file.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_mlx5.c_open_debug_file.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"MLX5_DEBUG_FILE\00", align 1
@stderr = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"aw+\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"Failed opening debug file %s, using stderr\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @open_debug_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @open_debug_file(ptr nocapture noundef writeonly %0) #0 {
%2 = tail call ptr @getenv(ptr noundef nonnull @.str)
%3 = icmp eq ptr %2, null
br i1 %3, label %10, label %4
4: ; preds = %1
%5 = tail call ptr @fopen(ptr noundef nonnull %2, ptr noundef nonnull @.str.1)
store ptr %5, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load ptr, ptr @stderr, align 8, !tbaa !10
%9 = tail call i32 @fprintf(ptr noundef %8, ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #4
br label %10
10: ; preds = %1, %7
%11 = load ptr, ptr @stderr, align 8, !tbaa !10
store ptr %11, ptr %0, align 8, !tbaa !5
br label %12
12: ; preds = %10, %4
ret void
}
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #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(ptr noundef, 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 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"mlx5_context", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx5/extr_mlx5.c_open_debug_file.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx5/extr_mlx5.c_open_debug_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [16 x i8] c"MLX5_DEBUG_FILE\00", align 1
@stderr = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [4 x i8] c"aw+\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"Failed opening debug file %s, using stderr\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @open_debug_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @open_debug_file(ptr nocapture noundef writeonly %0) #0 {
%2 = tail call ptr @getenv(ptr noundef nonnull @.str)
%3 = icmp eq ptr %2, null
br i1 %3, label %10, label %4
4: ; preds = %1
%5 = tail call ptr @fopen(ptr noundef nonnull %2, ptr noundef nonnull @.str.1)
store ptr %5, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load ptr, ptr @stderr, align 8, !tbaa !11
%9 = tail call i32 @fprintf(ptr noundef %8, ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #4
br label %10
10: ; preds = %1, %7
%11 = load ptr, ptr @stderr, align 8, !tbaa !11
store ptr %11, ptr %0, align 8, !tbaa !6
br label %12
12: ; preds = %10, %4
ret void
}
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #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(ptr noundef, 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 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"mlx5_context", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
freebsd_contrib_ofed_libmlx5_extr_mlx5.c_open_debug_file
|
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_package.c_lj_cf_package_seeall.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_package.c_lj_cf_package_seeall.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LUA_TTABLE = dso_local local_unnamed_addr global i32 0, align 4
@LUA_GLOBALSINDEX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"__index\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @lj_cf_package_seeall], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @lj_cf_package_seeall(ptr noundef %0) #0 {
%2 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !5
%3 = tail call i32 @luaL_checktype(ptr noundef %0, i32 noundef 1, i32 noundef %2) #2
%4 = tail call i32 @lua_getmetatable(ptr noundef %0, i32 noundef 1) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = tail call i32 @lua_createtable(ptr noundef %0, i32 noundef 0, i32 noundef 1) #2
%8 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef -1) #2
%9 = tail call i32 @lua_setmetatable(ptr noundef %0, i32 noundef 1) #2
br label %10
10: ; preds = %6, %1
%11 = load i32, ptr @LUA_GLOBALSINDEX, align 4, !tbaa !5
%12 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef %11) #2
%13 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef nonnull @.str) #2
ret i32 0
}
declare i32 @luaL_checktype(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_getmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_setmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_setfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_package.c_lj_cf_package_seeall.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_package.c_lj_cf_package_seeall.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LUA_TTABLE = common local_unnamed_addr global i32 0, align 4
@LUA_GLOBALSINDEX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"__index\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @lj_cf_package_seeall], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @lj_cf_package_seeall(ptr noundef %0) #0 {
%2 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !6
%3 = tail call i32 @luaL_checktype(ptr noundef %0, i32 noundef 1, i32 noundef %2) #2
%4 = tail call i32 @lua_getmetatable(ptr noundef %0, i32 noundef 1) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = tail call i32 @lua_createtable(ptr noundef %0, i32 noundef 0, i32 noundef 1) #2
%8 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef -1) #2
%9 = tail call i32 @lua_setmetatable(ptr noundef %0, i32 noundef 1) #2
br label %10
10: ; preds = %6, %1
%11 = load i32, ptr @LUA_GLOBALSINDEX, align 4, !tbaa !6
%12 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef %11) #2
%13 = tail call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef nonnull @.str) #2
ret i32 0
}
declare i32 @luaL_checktype(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_getmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_setmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_setfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
xLua_build_luajit-2.1.0b3_src_extr_lib_package.c_lj_cf_package_seeall
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mmc/core/extr_mmc.c_mmc_attach_bus_ops.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mmc/core/extr_mmc.c_mmc_attach_bus_ops.c"
target datalayout = "e-m:e-p270:32:32-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_bus_ops = type { i32 }
@MMC_CAP_NONREMOVABLE = dso_local local_unnamed_addr global i32 0, align 4
@mmc_ops_unsafe = dso_local global %struct.mmc_bus_ops zeroinitializer, align 4
@mmc_ops = dso_local global %struct.mmc_bus_ops zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mmc_attach_bus_ops], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mmc_attach_bus_ops(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @MMC_CAP_NONREMOVABLE, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
%6 = select i1 %5, ptr @mmc_ops, ptr @mmc_ops_unsafe
%7 = tail call i32 @mmc_attach_bus(ptr noundef nonnull %0, ptr noundef nonnull %6) #2
ret void
}
declare i32 @mmc_attach_bus(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 = !{!"mmc_host", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mmc/core/extr_mmc.c_mmc_attach_bus_ops.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mmc/core/extr_mmc.c_mmc_attach_bus_ops.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mmc_bus_ops = type { i32 }
@MMC_CAP_NONREMOVABLE = common local_unnamed_addr global i32 0, align 4
@mmc_ops_unsafe = common global %struct.mmc_bus_ops zeroinitializer, align 4
@mmc_ops = common global %struct.mmc_bus_ops zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @mmc_attach_bus_ops], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mmc_attach_bus_ops(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @MMC_CAP_NONREMOVABLE, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
%6 = select i1 %5, ptr @mmc_ops, ptr @mmc_ops_unsafe
%7 = tail call i32 @mmc_attach_bus(ptr noundef nonnull %0, ptr noundef nonnull %6) #2
ret void
}
declare i32 @mmc_attach_bus(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 = !{!"mmc_host", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
fastsocket_kernel_drivers_mmc_core_extr_mmc.c_mmc_attach_bus_ops
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_rt1011.c_rt1011_r0_cali_get.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_rt1011.c_rt1011_r0_cali_get.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @rt1011_r0_cali_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @rt1011_r0_cali_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %3) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load ptr, ptr %1, align 8, !tbaa !10
store i32 %5, ptr %6, align 4, !tbaa !15
ret i32 0
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"rt1011_priv", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 0}
!11 = !{!"snd_ctl_elem_value", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_rt1011.c_rt1011_r0_cali_get.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_rt1011.c_rt1011_r0_cali_get.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 @rt1011_r0_cali_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @rt1011_r0_cali_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %3) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load ptr, ptr %1, align 8, !tbaa !11
store i32 %5, ptr %6, align 4, !tbaa !16
ret i32 0
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"rt1011_priv", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !15, i64 0}
!12 = !{!"snd_ctl_elem_value", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!8, !8, i64 0}
|
linux_sound_soc_codecs_extr_rt1011.c_rt1011_r0_cali_get
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/sparc/extr_cs4231.c_snd_cs4231_timer_stop.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/sparc/extr_cs4231.c_snd_cs4231_timer_stop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_cs4231 = type { i32, ptr }
@CS4231_TIMER_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@CS4231_ALT_FEATURE_1 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_cs4231_timer_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_cs4231_timer_stop(ptr noundef %0) #0 {
%2 = tail call ptr @snd_timer_chip(ptr noundef %0) #2
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %2, i64 noundef undef) #2
%4 = load i32, ptr @CS4231_TIMER_ENABLE, align 4, !tbaa !5
%5 = xor i32 %4, -1
%6 = getelementptr inbounds %struct.snd_cs4231, ptr %2, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = load i64, ptr @CS4231_ALT_FEATURE_1, align 8, !tbaa !12
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = and i32 %10, %5
store i32 %11, ptr %9, align 4, !tbaa !5
%12 = tail call i32 @snd_cs4231_out(ptr noundef %2, i64 noundef %8, i32 noundef %11) #2
%13 = tail call i32 @spin_unlock_irqrestore(ptr noundef %2, i64 noundef undef) #2
ret i32 0
}
declare ptr @snd_timer_chip(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snd_cs4231_out(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"snd_cs4231", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/sparc/extr_cs4231.c_snd_cs4231_timer_stop.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/sparc/extr_cs4231.c_snd_cs4231_timer_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CS4231_TIMER_ENABLE = common local_unnamed_addr global i32 0, align 4
@CS4231_ALT_FEATURE_1 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_cs4231_timer_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @snd_cs4231_timer_stop(ptr noundef %0) #0 {
%2 = tail call ptr @snd_timer_chip(ptr noundef %0) #2
%3 = tail call i32 @spin_lock_irqsave(ptr noundef %2, i64 noundef undef) #2
%4 = load i32, ptr @CS4231_TIMER_ENABLE, align 4, !tbaa !6
%5 = xor i32 %4, -1
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = load i64, ptr @CS4231_ALT_FEATURE_1, align 8, !tbaa !13
%9 = getelementptr inbounds i32, ptr %7, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = and i32 %10, %5
store i32 %11, ptr %9, align 4, !tbaa !6
%12 = tail call i32 @snd_cs4231_out(ptr noundef %2, i64 noundef %8, i32 noundef %11) #2
%13 = tail call i32 @spin_unlock_irqrestore(ptr noundef %2, i64 noundef undef) #2
ret i32 0
}
declare ptr @snd_timer_chip(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snd_cs4231_out(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"snd_cs4231", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
|
fastsocket_kernel_sound_sparc_extr_cs4231.c_snd_cs4231_timer_stop
|
; ModuleID = 'AnghaBench/h2o/deps/mruby/src/extr_string.c_str_with_class.c'
source_filename = "AnghaBench/h2o/deps/mruby/src/extr_string.c_str_with_class.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @str_with_class], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @str_with_class(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = tail call ptr @mrb_str_ptr(i32 noundef %2) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
store i32 %5, ptr %1, align 4, !tbaa !10
ret void
}
declare ptr @mrb_str_ptr(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !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 = !{!"RString", !7, i64 0}
|
; ModuleID = 'AnghaBench/h2o/deps/mruby/src/extr_string.c_str_with_class.c'
source_filename = "AnghaBench/h2o/deps/mruby/src/extr_string.c_str_with_class.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 @str_with_class], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @str_with_class(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 {
%4 = tail call ptr @mrb_str_ptr(i32 noundef %2) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
store i32 %5, ptr %1, align 4, !tbaa !11
ret void
}
declare ptr @mrb_str_ptr(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"RString", !8, i64 0}
|
h2o_deps_mruby_src_extr_string.c_str_with_class
|
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..gfxvideo_display_server.c_video_display_server_get_output_options.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..gfxvideo_display_server.c_video_display_server_get_output_options.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@current_display_server = dso_local local_unnamed_addr global ptr null, align 8
@current_display_server_data = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @video_display_server_get_output_options() local_unnamed_addr #0 {
%1 = load ptr, ptr @current_display_server, align 8, !tbaa !5
%2 = icmp eq ptr %1, null
br i1 %2, label %9, label %3
3: ; preds = %0
%4 = load ptr, ptr %1, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr @current_display_server_data, align 4, !tbaa !11
%8 = tail call ptr %4(i32 noundef %7) #1
br label %9
9: ; preds = %0, %3, %6
%10 = phi ptr [ %8, %6 ], [ null, %3 ], [ null, %0 ]
ret ptr %10
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..gfxvideo_display_server.c_video_display_server_get_output_options.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..gfxvideo_display_server.c_video_display_server_get_output_options.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current_display_server = common local_unnamed_addr global ptr null, align 8
@current_display_server_data = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @video_display_server_get_output_options() local_unnamed_addr #0 {
%1 = load ptr, ptr @current_display_server, align 8, !tbaa !6
%2 = icmp eq ptr %1, null
br i1 %2, label %9, label %3
3: ; preds = %0
%4 = load ptr, ptr %1, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr @current_display_server_data, align 4, !tbaa !12
%8 = tail call ptr %4(i32 noundef %7) #1
br label %9
9: ; preds = %0, %3, %6
%10 = phi ptr [ %8, %6 ], [ null, %3 ], [ null, %0 ]
ret ptr %10
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
|
RetroArch_griffin_extr_..gfxvideo_display_server.c_video_display_server_get_output_options
|
; ModuleID = 'AnghaBench/linux/fs/squashfs/extr_page_actor.c_squashfs_page_actor_init.c'
source_filename = "AnghaBench/linux/fs/squashfs/extr_page_actor.c_squashfs_page_actor_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.squashfs_page_actor = type { i32, ptr, i32, i32, i32, i32, i64 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@cache_first_page = dso_local local_unnamed_addr global i32 0, align 4
@cache_next_page = dso_local local_unnamed_addr global i32 0, align 4
@cache_finish_page = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @squashfs_page_actor_init(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%5 = tail call ptr @kmalloc(i32 noundef 40, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %21, label %7
7: ; preds = %3
%8 = icmp eq i32 %2, 0
%9 = load i32, ptr @PAGE_SIZE, align 4
%10 = mul nsw i32 %9, %1
%11 = select i1 %8, i32 %10, i32 %2
store i32 %11, ptr %5, align 8, !tbaa !9
%12 = getelementptr inbounds %struct.squashfs_page_actor, ptr %5, i64 0, i32 1
store ptr %0, ptr %12, align 8, !tbaa !13
%13 = getelementptr inbounds %struct.squashfs_page_actor, ptr %5, i64 0, i32 2
store i32 %1, ptr %13, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.squashfs_page_actor, ptr %5, i64 0, i32 6
store i64 0, ptr %14, align 8, !tbaa !15
%15 = load i32, ptr @cache_first_page, align 4, !tbaa !5
%16 = getelementptr inbounds %struct.squashfs_page_actor, ptr %5, i64 0, i32 5
store i32 %15, ptr %16, align 4, !tbaa !16
%17 = load i32, ptr @cache_next_page, align 4, !tbaa !5
%18 = getelementptr inbounds %struct.squashfs_page_actor, ptr %5, i64 0, i32 4
store i32 %17, ptr %18, align 8, !tbaa !17
%19 = load i32, ptr @cache_finish_page, align 4, !tbaa !5
%20 = getelementptr inbounds %struct.squashfs_page_actor, ptr %5, i64 0, i32 3
store i32 %19, ptr %20, align 4, !tbaa !18
br label %21
21: ; preds = %3, %7
ret ptr %5
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"squashfs_page_actor", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !12, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !12, i64 32}
!16 = !{!10, !6, i64 28}
!17 = !{!10, !6, i64 24}
!18 = !{!10, !6, i64 20}
|
; ModuleID = 'AnghaBench/linux/fs/squashfs/extr_page_actor.c_squashfs_page_actor_init.c'
source_filename = "AnghaBench/linux/fs/squashfs/extr_page_actor.c_squashfs_page_actor_init.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
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@cache_first_page = common local_unnamed_addr global i32 0, align 4
@cache_next_page = common local_unnamed_addr global i32 0, align 4
@cache_finish_page = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @squashfs_page_actor_init(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%5 = tail call ptr @kmalloc(i32 noundef 40, i32 noundef %4) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %21, label %7
7: ; preds = %3
%8 = icmp eq i32 %2, 0
%9 = load i32, ptr @PAGE_SIZE, align 4
%10 = mul nsw i32 %9, %1
%11 = select i1 %8, i32 %10, i32 %2
store i32 %11, ptr %5, align 8, !tbaa !10
%12 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %0, ptr %12, align 8, !tbaa !14
%13 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %1, ptr %13, align 8, !tbaa !15
%14 = getelementptr inbounds i8, ptr %5, i64 32
store i64 0, ptr %14, align 8, !tbaa !16
%15 = load i32, ptr @cache_first_page, align 4, !tbaa !6
%16 = getelementptr inbounds i8, ptr %5, i64 28
store i32 %15, ptr %16, align 4, !tbaa !17
%17 = load i32, ptr @cache_next_page, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %5, i64 24
store i32 %17, ptr %18, align 8, !tbaa !18
%19 = load i32, ptr @cache_finish_page, align 4, !tbaa !6
%20 = getelementptr inbounds i8, ptr %5, i64 20
store i32 %19, ptr %20, align 4, !tbaa !19
br label %21
21: ; preds = %3, %7
ret ptr %5
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"squashfs_page_actor", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !13, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !7, i64 16}
!16 = !{!11, !13, i64 32}
!17 = !{!11, !7, i64 28}
!18 = !{!11, !7, i64 24}
!19 = !{!11, !7, i64 20}
|
linux_fs_squashfs_extr_page_actor.c_squashfs_page_actor_init
|
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-tegra.c_tegra_i2c_dma_submit.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-tegra.c_tegra_i2c_dma_submit.c"
target datalayout = "e-m:e-p270:32:32-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.tegra_i2c_dev = type { i32, i32, ptr, ptr, i64, i32 }
%struct.dma_async_tx_descriptor = type { ptr, i32 }
@.str = private unnamed_addr constant [30 x i8] c"starting DMA for length: %zu\0A\00", align 1
@DMA_DEV_TO_MEM = dso_local local_unnamed_addr global i32 0, align 4
@DMA_MEM_TO_DEV = dso_local local_unnamed_addr global i32 0, align 4
@DMA_PREP_INTERRUPT = dso_local local_unnamed_addr global i32 0, align 4
@DMA_CTRL_ACK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"failed to get DMA descriptor\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@tegra_i2c_dma_complete = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tegra_i2c_dma_submit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tegra_i2c_dma_submit(ptr noundef %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @dev_dbg(i32 noundef %3, ptr noundef nonnull @.str, i64 noundef %1) #2
%5 = getelementptr inbounds %struct.tegra_i2c_dev, ptr %0, i64 0, i32 5
%6 = tail call i32 @reinit_completion(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds %struct.tegra_i2c_dev, ptr %0, i64 0, i32 4
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr @DMA_DEV_TO_MEM, align 4
%11 = load i32, ptr @DMA_MEM_TO_DEV, align 4
%12 = select i1 %9, i32 %11, i32 %10
%13 = getelementptr inbounds %struct.tegra_i2c_dev, ptr %0, i64 0, i32 3
%14 = getelementptr inbounds %struct.tegra_i2c_dev, ptr %0, i64 0, i32 2
%15 = select i1 %9, ptr %14, ptr %13
%16 = load ptr, ptr %15, align 8, !tbaa !13
%17 = getelementptr inbounds %struct.tegra_i2c_dev, ptr %0, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = load i32, ptr @DMA_PREP_INTERRUPT, align 4, !tbaa !15
%20 = load i32, ptr @DMA_CTRL_ACK, align 4, !tbaa !15
%21 = or i32 %20, %19
%22 = tail call ptr @dmaengine_prep_slave_single(ptr noundef %16, i32 noundef %18, i64 noundef %1, i32 noundef %12, i32 noundef %21) #2
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %29
24: ; preds = %2
%25 = load i32, ptr %0, align 8, !tbaa !5
%26 = tail call i32 @dev_err(i32 noundef %25, ptr noundef nonnull @.str.1) #2
%27 = load i32, ptr @EINVAL, align 4, !tbaa !15
%28 = sub nsw i32 0, %27
br label %34
29: ; preds = %2
%30 = load i32, ptr @tegra_i2c_dma_complete, align 4, !tbaa !15
%31 = getelementptr inbounds %struct.dma_async_tx_descriptor, ptr %22, i64 0, i32 1
store i32 %30, ptr %31, align 8, !tbaa !16
store ptr %0, ptr %22, align 8, !tbaa !18
%32 = tail call i32 @dmaengine_submit(ptr noundef nonnull %22) #2
%33 = tail call i32 @dma_async_issue_pending(ptr noundef %16) #2
br label %34
34: ; preds = %29, %24
%35 = phi i32 [ 0, %29 ], [ %28, %24 ]
ret i32 %35
}
declare i32 @dev_dbg(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @reinit_completion(ptr noundef) local_unnamed_addr #1
declare ptr @dmaengine_prep_slave_single(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dmaengine_submit(ptr noundef) local_unnamed_addr #1
declare i32 @dma_async_issue_pending(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 = !{!"tegra_i2c_dev", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24, !7, 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, !11, i64 24}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 4}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !7, i64 8}
!17 = !{!"dma_async_tx_descriptor", !10, i64 0, !7, i64 8}
!18 = !{!17, !10, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-tegra.c_tegra_i2c_dma_submit.c'
source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-tegra.c_tegra_i2c_dma_submit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [30 x i8] c"starting DMA for length: %zu\0A\00", align 1
@DMA_DEV_TO_MEM = common local_unnamed_addr global i32 0, align 4
@DMA_MEM_TO_DEV = common local_unnamed_addr global i32 0, align 4
@DMA_PREP_INTERRUPT = common local_unnamed_addr global i32 0, align 4
@DMA_CTRL_ACK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"failed to get DMA descriptor\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@tegra_i2c_dma_complete = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tegra_i2c_dma_submit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @tegra_i2c_dma_submit(ptr noundef %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @dev_dbg(i32 noundef %3, ptr noundef nonnull @.str, i64 noundef %1) #2
%5 = getelementptr inbounds i8, ptr %0, i64 32
%6 = tail call i32 @reinit_completion(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds i8, ptr %0, i64 24
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = icmp eq i64 %8, 0
%10 = load i32, ptr @DMA_DEV_TO_MEM, align 4
%11 = load i32, ptr @DMA_MEM_TO_DEV, align 4
%12 = select i1 %9, i32 %11, i32 %10
%13 = select i1 %9, i64 8, i64 16
%14 = getelementptr inbounds i8, ptr %0, i64 %13
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = load i32, ptr @DMA_PREP_INTERRUPT, align 4, !tbaa !16
%19 = load i32, ptr @DMA_CTRL_ACK, align 4, !tbaa !16
%20 = or i32 %19, %18
%21 = tail call ptr @dmaengine_prep_slave_single(ptr noundef %15, i32 noundef %17, i64 noundef %1, i32 noundef %12, i32 noundef %20) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %28
23: ; preds = %2
%24 = load i32, ptr %0, align 8, !tbaa !6
%25 = tail call i32 @dev_err(i32 noundef %24, ptr noundef nonnull @.str.1) #2
%26 = load i32, ptr @EINVAL, align 4, !tbaa !16
%27 = sub nsw i32 0, %26
br label %33
28: ; preds = %2
%29 = load i32, ptr @tegra_i2c_dma_complete, align 4, !tbaa !16
%30 = getelementptr inbounds i8, ptr %21, i64 8
store i32 %29, ptr %30, align 8, !tbaa !17
store ptr %0, ptr %21, align 8, !tbaa !19
%31 = tail call i32 @dmaengine_submit(ptr noundef nonnull %21) #2
%32 = tail call i32 @dma_async_issue_pending(ptr noundef %15) #2
br label %33
33: ; preds = %28, %23
%34 = phi i32 [ 0, %28 ], [ %27, %23 ]
ret i32 %34
}
declare i32 @dev_dbg(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @reinit_completion(ptr noundef) local_unnamed_addr #1
declare ptr @dmaengine_prep_slave_single(ptr noundef, i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dmaengine_submit(ptr noundef) local_unnamed_addr #1
declare i32 @dma_async_issue_pending(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 = !{!"tegra_i2c_dev", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !12, i64 24, !8, 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 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 24}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !8, i64 4}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !8, i64 8}
!18 = !{!"dma_async_tx_descriptor", !11, i64 0, !8, i64 8}
!19 = !{!18, !11, i64 0}
|
linux_drivers_i2c_busses_extr_i2c-tegra.c_tegra_i2c_dma_submit
|
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_zopt2201.c_zopt2201_show_int_time_available.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_zopt2201.c_zopt2201_show_int_time_available.c"
target datalayout = "e-m:e-p270:32:32-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 }
@zopt2201_resolution = dso_local local_unnamed_addr global ptr null, align 8
@PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [9 x i8] c"0.%06lu \00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @zopt2201_show_int_time_available], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @zopt2201_show_int_time_available(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load ptr, ptr @zopt2201_resolution, align 8, !tbaa !5
%5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #2
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %3, %7
%8 = phi i64 [ %18, %7 ], [ 0, %3 ]
%9 = phi i64 [ %17, %7 ], [ 0, %3 ]
%10 = getelementptr inbounds i8, ptr %2, i64 %9
%11 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !9
%12 = sub i64 %11, %9
%13 = load ptr, ptr @zopt2201_resolution, align 8, !tbaa !5
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 %8
%15 = load i32, ptr %14, align 4, !tbaa !11
%16 = tail call i64 @scnprintf(ptr noundef %10, i64 noundef %12, ptr noundef nonnull @.str, i32 noundef %15) #2
%17 = add i64 %16, %9
%18 = add nuw nsw i64 %8, 1
%19 = load ptr, ptr @zopt2201_resolution, align 8, !tbaa !5
%20 = tail call i32 @ARRAY_SIZE(ptr noundef %19) #2
%21 = sext i32 %20 to i64
%22 = icmp slt i64 %18, %21
br i1 %22, label %7, label %23, !llvm.loop !14
23: ; preds = %7, %3
%24 = phi i64 [ 0, %3 ], [ %17, %7 ]
%25 = getelementptr i8, ptr %2, i64 %24
%26 = getelementptr i8, ptr %25, i64 -1
store i8 10, ptr %26, align 1, !tbaa !16
ret i64 %24
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @scnprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !13, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_zopt2201.c_zopt2201_show_int_time_available.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_zopt2201.c_zopt2201_show_int_time_available.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 { i32 }
@zopt2201_resolution = common local_unnamed_addr global ptr null, align 8
@PAGE_SIZE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [9 x i8] c"0.%06lu \00", align 1
@llvm.used = appending global [1 x ptr] [ptr @zopt2201_show_int_time_available], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @zopt2201_show_int_time_available(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load ptr, ptr @zopt2201_resolution, align 8, !tbaa !6
%5 = tail call i32 @ARRAY_SIZE(ptr noundef %4) #2
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %3, %7
%8 = phi i64 [ %18, %7 ], [ 0, %3 ]
%9 = phi i64 [ %17, %7 ], [ 0, %3 ]
%10 = getelementptr inbounds i8, ptr %2, i64 %9
%11 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !10
%12 = sub i64 %11, %9
%13 = load ptr, ptr @zopt2201_resolution, align 8, !tbaa !6
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 %8
%15 = load i32, ptr %14, align 4, !tbaa !12
%16 = tail call i64 @scnprintf(ptr noundef %10, i64 noundef %12, ptr noundef nonnull @.str, i32 noundef %15) #2
%17 = add i64 %16, %9
%18 = add nuw nsw i64 %8, 1
%19 = load ptr, ptr @zopt2201_resolution, align 8, !tbaa !6
%20 = tail call i32 @ARRAY_SIZE(ptr noundef %19) #2
%21 = sext i32 %20 to i64
%22 = icmp slt i64 %18, %21
br i1 %22, label %7, label %23, !llvm.loop !15
23: ; preds = %7, %3
%24 = phi i64 [ 0, %3 ], [ %17, %7 ]
%25 = getelementptr i8, ptr %2, i64 %24
%26 = getelementptr i8, ptr %25, i64 -1
store i8 10, ptr %26, align 1, !tbaa !17
ret i64 %24
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @scnprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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, !14, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!8, !8, i64 0}
|
linux_drivers_iio_light_extr_zopt2201.c_zopt2201_show_int_time_available
|
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_dma-axi-dmac.c_axi_dmac_interrupt_handler.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_dma-axi-dmac.c_axi_dmac_interrupt_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AXI_DMAC_REG_IRQ_PENDING = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@AXI_DMAC_IRQ_EOT = dso_local local_unnamed_addr global i32 0, align 4
@AXI_DMAC_REG_TRANSFER_DONE = dso_local local_unnamed_addr global i32 0, align 4
@AXI_DMAC_IRQ_SOT = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @axi_dmac_interrupt_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @axi_dmac_interrupt_handler(i32 %0, ptr noundef %1) #0 {
%3 = load i32, ptr @AXI_DMAC_REG_IRQ_PENDING, align 4, !tbaa !5
%4 = tail call i32 @axi_dmac_read(ptr noundef %1, i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %28, label %6
6: ; preds = %2
%7 = load i32, ptr @AXI_DMAC_REG_IRQ_PENDING, align 4, !tbaa !5
%8 = tail call i32 @axi_dmac_write(ptr noundef %1, i32 noundef %7, i32 noundef %4) #2
%9 = tail call i32 @spin_lock(ptr noundef %1) #2
%10 = load i32, ptr @AXI_DMAC_IRQ_EOT, align 4, !tbaa !5
%11 = and i32 %10, %4
%12 = icmp eq i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %6
%14 = load i32, ptr @AXI_DMAC_REG_TRANSFER_DONE, align 4, !tbaa !5
%15 = tail call i32 @axi_dmac_read(ptr noundef %1, i32 noundef %14) #2
%16 = tail call i32 @axi_dmac_transfer_done(ptr noundef %1, i32 noundef %15) #2
%17 = icmp ne i32 %16, 0
br label %18
18: ; preds = %13, %6
%19 = phi i1 [ %17, %13 ], [ false, %6 ]
%20 = load i32, ptr @AXI_DMAC_IRQ_SOT, align 4, !tbaa !5
%21 = and i32 %20, %4
%22 = icmp ne i32 %21, 0
%23 = select i1 %22, i1 true, i1 %19
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = tail call i32 @axi_dmac_start_transfer(ptr noundef %1) #2
br label %26
26: ; preds = %18, %24
%27 = tail call i32 @spin_unlock(ptr noundef %1) #2
br label %28
28: ; preds = %2, %26
%29 = phi ptr [ @IRQ_HANDLED, %26 ], [ @IRQ_NONE, %2 ]
%30 = load i32, ptr %29, align 4, !tbaa !5
ret i32 %30
}
declare i32 @axi_dmac_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @axi_dmac_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @axi_dmac_transfer_done(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @axi_dmac_start_transfer(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_dma-axi-dmac.c_axi_dmac_interrupt_handler.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_dma-axi-dmac.c_axi_dmac_interrupt_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AXI_DMAC_REG_IRQ_PENDING = common local_unnamed_addr global i32 0, align 4
@IRQ_NONE = common local_unnamed_addr global i32 0, align 4
@AXI_DMAC_IRQ_EOT = common local_unnamed_addr global i32 0, align 4
@AXI_DMAC_REG_TRANSFER_DONE = common local_unnamed_addr global i32 0, align 4
@AXI_DMAC_IRQ_SOT = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @axi_dmac_interrupt_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @axi_dmac_interrupt_handler(i32 %0, ptr noundef %1) #0 {
%3 = load i32, ptr @AXI_DMAC_REG_IRQ_PENDING, align 4, !tbaa !6
%4 = tail call i32 @axi_dmac_read(ptr noundef %1, i32 noundef %3) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %28, label %6
6: ; preds = %2
%7 = load i32, ptr @AXI_DMAC_REG_IRQ_PENDING, align 4, !tbaa !6
%8 = tail call i32 @axi_dmac_write(ptr noundef %1, i32 noundef %7, i32 noundef %4) #2
%9 = tail call i32 @spin_lock(ptr noundef %1) #2
%10 = load i32, ptr @AXI_DMAC_IRQ_EOT, align 4, !tbaa !6
%11 = and i32 %10, %4
%12 = icmp eq i32 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %6
%14 = load i32, ptr @AXI_DMAC_REG_TRANSFER_DONE, align 4, !tbaa !6
%15 = tail call i32 @axi_dmac_read(ptr noundef %1, i32 noundef %14) #2
%16 = tail call i32 @axi_dmac_transfer_done(ptr noundef %1, i32 noundef %15) #2
%17 = icmp ne i32 %16, 0
br label %18
18: ; preds = %13, %6
%19 = phi i1 [ %17, %13 ], [ false, %6 ]
%20 = load i32, ptr @AXI_DMAC_IRQ_SOT, align 4, !tbaa !6
%21 = and i32 %20, %4
%22 = icmp ne i32 %21, 0
%23 = select i1 %22, i1 true, i1 %19
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = tail call i32 @axi_dmac_start_transfer(ptr noundef %1) #2
br label %26
26: ; preds = %18, %24
%27 = tail call i32 @spin_unlock(ptr noundef %1) #2
br label %28
28: ; preds = %2, %26
%29 = phi ptr [ @IRQ_HANDLED, %26 ], [ @IRQ_NONE, %2 ]
%30 = load i32, ptr %29, align 4, !tbaa !6
ret i32 %30
}
declare i32 @axi_dmac_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @axi_dmac_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @axi_dmac_transfer_done(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @axi_dmac_start_transfer(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_dma_extr_dma-axi-dmac.c_axi_dmac_interrupt_handler
|
; ModuleID = 'AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_set_bkg_attr.c'
source_filename = "AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_set_bkg_attr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VBK_REG = dso_local local_unnamed_addr global i32 0, align 4
@bkgCGB = dso_local local_unnamed_addr global ptr null, align 8
@msg_tile = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @set_bkg_attr(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 {
store i32 1, ptr @VBK_REG, align 4, !tbaa !5
%6 = icmp sgt i64 %3, 0
br i1 %6, label %7, label %76
7: ; preds = %5
%8 = icmp sgt i64 %2, 0
%9 = and i64 %2, 3
%10 = icmp ult i64 %2, 4
%11 = and i64 %2, 9223372036854775804
%12 = icmp eq i64 %9, 0
br label %13
13: ; preds = %7, %70
%14 = phi i64 [ 0, %7 ], [ %74, %70 ]
%15 = phi ptr [ %4, %7 ], [ %71, %70 ]
%16 = load ptr, ptr @msg_tile, align 8, !tbaa !9
br i1 %8, label %17, label %70
17: ; preds = %13
%18 = load ptr, ptr @bkgCGB, align 8, !tbaa !9
br i1 %10, label %53, label %19
19: ; preds = %17, %19
%20 = phi i64 [ %50, %19 ], [ 0, %17 ]
%21 = phi ptr [ %49, %19 ], [ %15, %17 ]
%22 = phi i64 [ %51, %19 ], [ 0, %17 ]
%23 = load i8, ptr %21, align 1, !tbaa !11
%24 = zext i8 %23 to i64
%25 = getelementptr inbounds i32, ptr %18, i64 %24
%26 = load i32, ptr %25, align 4, !tbaa !5
%27 = getelementptr inbounds i32, ptr %16, i64 %20
store i32 %26, ptr %27, align 4, !tbaa !5
%28 = getelementptr inbounds i8, ptr %21, i64 1
%29 = or disjoint i64 %20, 1
%30 = load i8, ptr %28, align 1, !tbaa !11
%31 = zext i8 %30 to i64
%32 = getelementptr inbounds i32, ptr %18, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !5
%34 = getelementptr inbounds i32, ptr %16, i64 %29
store i32 %33, ptr %34, align 4, !tbaa !5
%35 = getelementptr inbounds i8, ptr %21, i64 2
%36 = or disjoint i64 %20, 2
%37 = load i8, ptr %35, align 1, !tbaa !11
%38 = zext i8 %37 to i64
%39 = getelementptr inbounds i32, ptr %18, i64 %38
%40 = load i32, ptr %39, align 4, !tbaa !5
%41 = getelementptr inbounds i32, ptr %16, i64 %36
store i32 %40, ptr %41, align 4, !tbaa !5
%42 = getelementptr inbounds i8, ptr %21, i64 3
%43 = or disjoint i64 %20, 3
%44 = load i8, ptr %42, align 1, !tbaa !11
%45 = zext i8 %44 to i64
%46 = getelementptr inbounds i32, ptr %18, i64 %45
%47 = load i32, ptr %46, align 4, !tbaa !5
%48 = getelementptr inbounds i32, ptr %16, i64 %43
store i32 %47, ptr %48, align 4, !tbaa !5
%49 = getelementptr inbounds i8, ptr %21, i64 4
%50 = add nuw nsw i64 %20, 4
%51 = add i64 %22, 4
%52 = icmp eq i64 %51, %11
br i1 %52, label %53, label %19, !llvm.loop !12
53: ; preds = %19, %17
%54 = phi ptr [ undef, %17 ], [ %49, %19 ]
%55 = phi i64 [ 0, %17 ], [ %50, %19 ]
%56 = phi ptr [ %15, %17 ], [ %49, %19 ]
br i1 %12, label %70, label %57
57: ; preds = %53, %57
%58 = phi i64 [ %67, %57 ], [ %55, %53 ]
%59 = phi ptr [ %66, %57 ], [ %56, %53 ]
%60 = phi i64 [ %68, %57 ], [ 0, %53 ]
%61 = load i8, ptr %59, align 1, !tbaa !11
%62 = zext i8 %61 to i64
%63 = getelementptr inbounds i32, ptr %18, i64 %62
%64 = load i32, ptr %63, align 4, !tbaa !5
%65 = getelementptr inbounds i32, ptr %16, i64 %58
store i32 %64, ptr %65, align 4, !tbaa !5
%66 = getelementptr inbounds i8, ptr %59, i64 1
%67 = add nuw nsw i64 %58, 1
%68 = add i64 %60, 1
%69 = icmp eq i64 %68, %9
br i1 %69, label %70, label %57, !llvm.loop !14
70: ; preds = %53, %57, %13
%71 = phi ptr [ %15, %13 ], [ %54, %53 ], [ %66, %57 ]
%72 = add nsw i64 %14, %1
%73 = tail call i32 @set_bkg_tiles(i64 noundef %0, i64 noundef %72, i64 noundef %2, i32 noundef 1, ptr noundef %16) #2
%74 = add nuw nsw i64 %14, 1
%75 = icmp eq i64 %74, %3
br i1 %75, label %76, label %13, !llvm.loop !16
76: ; preds = %70, %5
store i32 0, ptr @VBK_REG, align 4, !tbaa !5
ret void
}
declare i32 @set_bkg_tiles(i64 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.unroll.disable"}
!16 = distinct !{!16, !13}
|
; ModuleID = 'AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_set_bkg_attr.c'
source_filename = "AnghaBench/gb-studio/buildTools/win32-ia32/gbdk/examples/gb/dscan/extr_dscan.c_set_bkg_attr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VBK_REG = common local_unnamed_addr global i32 0, align 4
@bkgCGB = common local_unnamed_addr global ptr null, align 8
@msg_tile = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @set_bkg_attr(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 {
store i32 1, ptr @VBK_REG, align 4, !tbaa !6
%6 = icmp sgt i64 %3, 0
br i1 %6, label %7, label %32
7: ; preds = %5
%8 = icmp sgt i64 %2, 0
br label %9
9: ; preds = %7, %26
%10 = phi i64 [ 0, %7 ], [ %30, %26 ]
%11 = phi ptr [ %4, %7 ], [ %27, %26 ]
%12 = load ptr, ptr @msg_tile, align 8, !tbaa !10
br i1 %8, label %13, label %26
13: ; preds = %9
%14 = load ptr, ptr @bkgCGB, align 8, !tbaa !10
br label %15
15: ; preds = %13, %15
%16 = phi i64 [ 0, %13 ], [ %24, %15 ]
%17 = phi ptr [ %11, %13 ], [ %23, %15 ]
%18 = load i8, ptr %17, align 1, !tbaa !12
%19 = zext i8 %18 to i64
%20 = getelementptr inbounds i32, ptr %14, i64 %19
%21 = load i32, ptr %20, align 4, !tbaa !6
%22 = getelementptr inbounds i32, ptr %12, i64 %16
store i32 %21, ptr %22, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %17, i64 1
%24 = add nuw nsw i64 %16, 1
%25 = icmp eq i64 %24, %2
br i1 %25, label %26, label %15, !llvm.loop !13
26: ; preds = %15, %9
%27 = phi ptr [ %11, %9 ], [ %23, %15 ]
%28 = add nsw i64 %10, %1
%29 = tail call i32 @set_bkg_tiles(i64 noundef %0, i64 noundef %28, i64 noundef %2, i32 noundef 1, ptr noundef %12) #2
%30 = add nuw nsw i64 %10, 1
%31 = icmp eq i64 %30, %3
br i1 %31, label %32, label %9, !llvm.loop !15
32: ; preds = %26, %5
store i32 0, ptr @VBK_REG, align 4, !tbaa !6
ret void
}
declare i32 @set_bkg_tiles(i64 noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
|
gb-studio_buildTools_win32-ia32_gbdk_examples_gb_dscan_extr_dscan.c_set_bkg_attr
|
; ModuleID = 'AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-client.c_sd_dhcp_client_set_dhcp_option.c'
source_filename = "AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-client.c_sd_dhcp_client_set_dhcp_option.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@dhcp_option_hash_ops = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sd_dhcp_client_set_dhcp_option(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @EINVAL, align 4, !tbaa !5
%4 = sub nsw i32 0, %3
%5 = tail call i32 @assert_return(ptr noundef %0, i32 noundef %4) #2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
%8 = tail call i32 @assert_return(ptr noundef %1, i32 noundef %7) #2
%9 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%10 = tail call i32 @ordered_hashmap_ensure_allocated(ptr noundef nonnull %9, ptr noundef nonnull @dhcp_option_hash_ops) #2
%11 = icmp slt i32 %10, 0
br i1 %11, label %20, label %12
12: ; preds = %2
%13 = load i32, ptr %9, align 4, !tbaa !9
%14 = load i32, ptr %1, align 4, !tbaa !11
%15 = tail call i32 @UINT_TO_PTR(i32 noundef %14) #2
%16 = tail call i32 @ordered_hashmap_put(i32 noundef %13, i32 noundef %15, ptr noundef nonnull %1) #2
%17 = icmp slt i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %12
%19 = tail call i32 @sd_dhcp_option_ref(ptr noundef nonnull %1) #2
br label %20
20: ; preds = %12, %2, %18
%21 = phi i32 [ 0, %18 ], [ %10, %2 ], [ %16, %12 ]
ret i32 %21
}
declare i32 @assert_return(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ordered_hashmap_ensure_allocated(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ordered_hashmap_put(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UINT_TO_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @sd_dhcp_option_ref(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 4}
!10 = !{!"TYPE_8__", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-client.c_sd_dhcp_client_set_dhcp_option.c'
source_filename = "AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-client.c_sd_dhcp_client_set_dhcp_option.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@dhcp_option_hash_ops = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483648, 1) i32 @sd_dhcp_client_set_dhcp_option(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @EINVAL, align 4, !tbaa !6
%4 = sub nsw i32 0, %3
%5 = tail call i32 @assert_return(ptr noundef %0, i32 noundef %4) #2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
%8 = tail call i32 @assert_return(ptr noundef %1, i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = tail call i32 @ordered_hashmap_ensure_allocated(ptr noundef nonnull %9, ptr noundef nonnull @dhcp_option_hash_ops) #2
%11 = icmp slt i32 %10, 0
br i1 %11, label %20, label %12
12: ; preds = %2
%13 = load i32, ptr %9, align 4, !tbaa !10
%14 = load i32, ptr %1, align 4, !tbaa !12
%15 = tail call i32 @UINT_TO_PTR(i32 noundef %14) #2
%16 = tail call i32 @ordered_hashmap_put(i32 noundef %13, i32 noundef %15, ptr noundef nonnull %1) #2
%17 = icmp slt i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %12
%19 = tail call i32 @sd_dhcp_option_ref(ptr noundef nonnull %1) #2
br label %20
20: ; preds = %12, %2, %18
%21 = phi i32 [ 0, %18 ], [ %10, %2 ], [ %16, %12 ]
ret i32 %21
}
declare i32 @assert_return(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ordered_hashmap_ensure_allocated(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ordered_hashmap_put(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @UINT_TO_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @sd_dhcp_option_ref(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 4}
!11 = !{!"TYPE_8__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
|
systemd_src_libsystemd-network_extr_sd-dhcp-client.c_sd_dhcp_client_set_dhcp_option
|
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_read_coefex_idx.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_read_coefex_idx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AC_VERB_SET_COEF_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@AC_VERB_GET_PROC_COEF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alc_read_coefex_idx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @alc_read_coefex_idx(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @AC_VERB_SET_COEF_INDEX, align 4, !tbaa !5
%5 = tail call i32 @snd_hda_codec_write(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %4, i32 noundef %2) #2
%6 = load i32, ptr @AC_VERB_GET_PROC_COEF, align 4, !tbaa !5
%7 = tail call i32 @snd_hda_codec_read(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %6, i32 noundef 0) #2
ret i32 %7
}
declare i32 @snd_hda_codec_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_hda_codec_read(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_read_coefex_idx.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_read_coefex_idx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC_VERB_SET_COEF_INDEX = common local_unnamed_addr global i32 0, align 4
@AC_VERB_GET_PROC_COEF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alc_read_coefex_idx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @alc_read_coefex_idx(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @AC_VERB_SET_COEF_INDEX, align 4, !tbaa !6
%5 = tail call i32 @snd_hda_codec_write(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %4, i32 noundef %2) #2
%6 = load i32, ptr @AC_VERB_GET_PROC_COEF, align 4, !tbaa !6
%7 = tail call i32 @snd_hda_codec_read(ptr noundef %0, i32 noundef %1, i32 noundef 0, i32 noundef %6, i32 noundef 0) #2
ret i32 %7
}
declare i32 @snd_hda_codec_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_hda_codec_read(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_sound_pci_hda_extr_patch_realtek.c_alc_read_coefex_idx
|
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_prepare_v3.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_prepare_v3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SQLITE_PREPARE_SAVESQL = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_PREPARE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sqlite3_prepare_v3(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr @SQLITE_PREPARE_SAVESQL, align 4, !tbaa !5
%8 = load i32, ptr @SQLITE_PREPARE_MASK, align 4, !tbaa !5
%9 = and i32 %8, %3
%10 = or i32 %9, %7
%11 = tail call i32 @sqlite3LockAndPrepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %10, i32 noundef 0, ptr noundef %4, ptr noundef %5) #2
%12 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
%13 = icmp eq i32 %11, %12
%14 = icmp eq ptr %4, null
%15 = or i1 %14, %13
br i1 %15, label %20, label %16
16: ; preds = %6
%17 = load ptr, ptr %4, align 8, !tbaa !9
%18 = icmp eq ptr %17, null
%19 = zext i1 %18 to i32
br label %20
20: ; preds = %16, %6
%21 = phi i32 [ 1, %6 ], [ %19, %16 ]
%22 = tail call i32 @assert(i32 noundef %21) #2
ret i32 %11
}
declare i32 @sqlite3LockAndPrepare(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_prepare_v3.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3_prepare_v3.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_PREPARE_SAVESQL = common local_unnamed_addr global i32 0, align 4
@SQLITE_PREPARE_MASK = common local_unnamed_addr global i32 0, align 4
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sqlite3_prepare_v3(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 {
%7 = load i32, ptr @SQLITE_PREPARE_SAVESQL, align 4, !tbaa !6
%8 = load i32, ptr @SQLITE_PREPARE_MASK, align 4, !tbaa !6
%9 = and i32 %8, %3
%10 = or i32 %9, %7
%11 = tail call i32 @sqlite3LockAndPrepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %10, i32 noundef 0, ptr noundef %4, ptr noundef %5) #2
%12 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
%13 = icmp eq i32 %11, %12
%14 = icmp eq ptr %4, null
%15 = or i1 %14, %13
br i1 %15, label %20, label %16
16: ; preds = %6
%17 = load ptr, ptr %4, align 8, !tbaa !10
%18 = icmp eq ptr %17, null
%19 = zext i1 %18 to i32
br label %20
20: ; preds = %16, %6
%21 = phi i32 [ 1, %6 ], [ %19, %16 ]
%22 = tail call i32 @assert(i32 noundef %21) #2
ret i32 %11
}
declare i32 @sqlite3LockAndPrepare(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
|
mimikatz_modules_extr_sqlite3_omit.c_sqlite3_prepare_v3
|
; ModuleID = 'AnghaBench/freebsd/lib/librpcsec_gss/extr_svc_rpcsec_gss.c_svc_rpc_gss_nextverf.c'
source_filename = "AnghaBench/freebsd/lib/librpcsec_gss/extr_svc_rpcsec_gss.c_svc_rpc_gss_nextverf.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
%struct.TYPE_10__ = type { i64, i64 }
%struct.svc_rpc_gss_client = type { %struct.TYPE_10__, i32, i32, i32, i32 }
%struct.TYPE_7__ = type { i64, i64, i32 }
@.str = private unnamed_addr constant [26 x i8] c"in svc_rpc_gss_nextverf()\00", align 1
@GSS_S_COMPLETE = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [12 x i8] c"gss_get_mic\00", align 1
@CLIENT_STALE = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@RPCSEC_GSS = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @svc_rpc_gss_nextverf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @svc_rpc_gss_nextverf(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 {
%4 = alloca %struct.TYPE_9__, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i32 @log_debug(ptr noundef nonnull @.str) #3
%8 = tail call i32 @htonl(i64 noundef %2) #3
store i32 %8, ptr %6, align 4, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1
store ptr %6, ptr %9, align 8, !tbaa !9
store i32 4, ptr %4, align 8, !tbaa !12
%10 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %3
%14 = call i32 @gss_release_buffer(ptr noundef nonnull %5, ptr noundef nonnull %0) #3
br label %15
15: ; preds = %13, %3
%16 = getelementptr inbounds %struct.svc_rpc_gss_client, ptr %0, i64 0, i32 4
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = getelementptr inbounds %struct.svc_rpc_gss_client, ptr %0, i64 0, i32 3
%19 = load i32, ptr %18, align 8, !tbaa !18
%20 = call i64 @gss_get_mic(ptr noundef nonnull %5, i32 noundef %17, i32 noundef %19, ptr noundef nonnull %4, ptr noundef nonnull %0) #3
%21 = load i64, ptr @GSS_S_COMPLETE, align 8, !tbaa !19
%22 = icmp eq i64 %20, %21
br i1 %22, label %30, label %23
23: ; preds = %15
%24 = getelementptr inbounds %struct.svc_rpc_gss_client, ptr %0, i64 0, i32 2
%25 = load i32, ptr %24, align 4, !tbaa !20
%26 = load i64, ptr %5, align 8, !tbaa !19
%27 = call i32 @log_status(ptr noundef nonnull @.str.1, i32 noundef %25, i64 noundef %20, i64 noundef %26) #3
%28 = load i32, ptr @CLIENT_STALE, align 4, !tbaa !5
%29 = getelementptr inbounds %struct.svc_rpc_gss_client, ptr %0, i64 0, i32 1
store i32 %28, ptr %29, align 8, !tbaa !21
br label %35
30: ; preds = %15
%31 = load i32, ptr @RPCSEC_GSS, align 4, !tbaa !5
%32 = load ptr, ptr %1, align 8, !tbaa !22
%33 = getelementptr inbounds %struct.TYPE_7__, ptr %32, i64 0, i32 2
store i32 %31, ptr %33, align 8, !tbaa !24
%34 = load <2 x i64>, ptr %0, align 8, !tbaa !19
store <2 x i64> %34, ptr %32, align 8, !tbaa !19
br label %35
35: ; preds = %30, %23
%36 = phi ptr [ @FALSE, %23 ], [ @TRUE, %30 ]
%37 = load i32, ptr %36, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
ret i32 %37
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @log_debug(ptr noundef) local_unnamed_addr #2
declare i32 @htonl(i64 noundef) local_unnamed_addr #2
declare i32 @gss_release_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @gss_get_mic(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @log_status(ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_9__", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!14, !16, i64 8}
!14 = !{!"svc_rpc_gss_client", !15, i64 0, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28}
!15 = !{!"TYPE_10__", !16, i64 0, !16, i64 8}
!16 = !{!"long", !7, i64 0}
!17 = !{!14, !6, i64 28}
!18 = !{!14, !6, i64 24}
!19 = !{!16, !16, i64 0}
!20 = !{!14, !6, i64 20}
!21 = !{!14, !6, i64 16}
!22 = !{!23, !11, i64 0}
!23 = !{!"svc_req", !11, i64 0}
!24 = !{!25, !6, i64 16}
!25 = !{!"TYPE_8__", !26, i64 0}
!26 = !{!"TYPE_7__", !16, i64 0, !16, i64 8, !6, i64 16}
|
; ModuleID = 'AnghaBench/freebsd/lib/librpcsec_gss/extr_svc_rpcsec_gss.c_svc_rpc_gss_nextverf.c'
source_filename = "AnghaBench/freebsd/lib/librpcsec_gss/extr_svc_rpcsec_gss.c_svc_rpc_gss_nextverf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_9__ = type { i32, ptr }
@.str = private unnamed_addr constant [26 x i8] c"in svc_rpc_gss_nextverf()\00", align 1
@GSS_S_COMPLETE = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [12 x i8] c"gss_get_mic\00", align 1
@CLIENT_STALE = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@RPCSEC_GSS = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @svc_rpc_gss_nextverf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @svc_rpc_gss_nextverf(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 {
%4 = alloca %struct.TYPE_9__, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i32 @log_debug(ptr noundef nonnull @.str) #3
%8 = tail call i32 @htonl(i64 noundef %2) #3
store i32 %8, ptr %6, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %4, i64 8
store ptr %6, ptr %9, align 8, !tbaa !10
store i32 4, ptr %4, align 8, !tbaa !13
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %3
%14 = call i32 @gss_release_buffer(ptr noundef nonnull %5, ptr noundef nonnull %0) #3
br label %15
15: ; preds = %13, %3
%16 = getelementptr inbounds i8, ptr %0, i64 28
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = getelementptr inbounds i8, ptr %0, i64 24
%19 = load i32, ptr %18, align 8, !tbaa !19
%20 = call i64 @gss_get_mic(ptr noundef nonnull %5, i32 noundef %17, i32 noundef %19, ptr noundef nonnull %4, ptr noundef nonnull %0) #3
%21 = load i64, ptr @GSS_S_COMPLETE, align 8, !tbaa !20
%22 = icmp eq i64 %20, %21
br i1 %22, label %30, label %23
23: ; preds = %15
%24 = getelementptr inbounds i8, ptr %0, i64 20
%25 = load i32, ptr %24, align 4, !tbaa !21
%26 = load i64, ptr %5, align 8, !tbaa !20
%27 = call i32 @log_status(ptr noundef nonnull @.str.1, i32 noundef %25, i64 noundef %20, i64 noundef %26) #3
%28 = load i32, ptr @CLIENT_STALE, align 4, !tbaa !6
%29 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %28, ptr %29, align 8, !tbaa !22
br label %35
30: ; preds = %15
%31 = load i32, ptr @RPCSEC_GSS, align 4, !tbaa !6
%32 = load ptr, ptr %1, align 8, !tbaa !23
%33 = getelementptr inbounds i8, ptr %32, i64 16
store i32 %31, ptr %33, align 8, !tbaa !25
%34 = load <2 x i64>, ptr %0, align 8, !tbaa !20
store <2 x i64> %34, ptr %32, align 8, !tbaa !20
br label %35
35: ; preds = %30, %23
%36 = phi ptr [ @FALSE, %23 ], [ @TRUE, %30 ]
%37 = load i32, ptr %36, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
ret i32 %37
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @log_debug(ptr noundef) local_unnamed_addr #2
declare i32 @htonl(i64 noundef) local_unnamed_addr #2
declare i32 @gss_release_buffer(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @gss_get_mic(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @log_status(ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_9__", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!15, !17, i64 8}
!15 = !{!"svc_rpc_gss_client", !16, i64 0, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!16 = !{!"TYPE_10__", !17, i64 0, !17, i64 8}
!17 = !{!"long", !8, i64 0}
!18 = !{!15, !7, i64 28}
!19 = !{!15, !7, i64 24}
!20 = !{!17, !17, i64 0}
!21 = !{!15, !7, i64 20}
!22 = !{!15, !7, i64 16}
!23 = !{!24, !12, i64 0}
!24 = !{!"svc_req", !12, i64 0}
!25 = !{!26, !7, i64 16}
!26 = !{!"TYPE_8__", !27, i64 0}
!27 = !{!"TYPE_7__", !17, i64 0, !17, i64 8, !7, i64 16}
|
freebsd_lib_librpcsec_gss_extr_svc_rpcsec_gss.c_svc_rpc_gss_nextverf
|
; ModuleID = 'AnghaBench/linux/arch/unicore32/kernel/extr_process.c_arch_cpu_idle.c'
source_filename = "AnghaBench/linux/arch/unicore32/kernel/extr_process.c_arch_cpu_idle.c"
target datalayout = "e-m:e-p270:32:32-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 @arch_cpu_idle() local_unnamed_addr #0 {
%1 = tail call i32 (...) @cpu_do_idle() #2
%2 = tail call i32 (...) @local_irq_enable() #2
ret void
}
declare i32 @cpu_do_idle(...) local_unnamed_addr #1
declare i32 @local_irq_enable(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/arch/unicore32/kernel/extr_process.c_arch_cpu_idle.c'
source_filename = "AnghaBench/linux/arch/unicore32/kernel/extr_process.c_arch_cpu_idle.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 @arch_cpu_idle() local_unnamed_addr #0 {
%1 = tail call i32 @cpu_do_idle() #2
%2 = tail call i32 @local_irq_enable() #2
ret void
}
declare i32 @cpu_do_idle(...) local_unnamed_addr #1
declare i32 @local_irq_enable(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_arch_unicore32_kernel_extr_process.c_arch_cpu_idle
|
; ModuleID = 'AnghaBench/lwan/src/samples/techempower/extr_json.c_sb_free.c'
source_filename = "AnghaBench/lwan/src/samples/techempower/extr_json.c_sb_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @sb_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sb_free(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @free(i32 noundef %2) #2
ret void
}
declare i32 @free(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/lwan/src/samples/techempower/extr_json.c_sb_free.c'
source_filename = "AnghaBench/lwan/src/samples/techempower/extr_json.c_sb_free.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 @sb_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sb_free(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @free(i32 noundef %2) #2
ret void
}
declare i32 @free(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"}
|
lwan_src_samples_techempower_extr_json.c_sb_free
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/paride/extr_pt.c_pt_poll_dsc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/paride/extr_pt.c_pt_poll_dsc.c"
target datalayout = "e-m:e-p270:32:32-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.pt_unit = type { i32, ptr }
@STAT_ERR = dso_local local_unnamed_addr global i32 0, align 4
@STAT_SEEK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"%s: %s DSC timeout\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"%s: %s stat=0x%x err=0x%x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pt_poll_dsc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @pt_poll_dsc(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = getelementptr inbounds %struct.pt_unit, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = icmp sgt i32 %2, 0
br i1 %7, label %8, label %25
8: ; preds = %4, %8
%9 = phi i32 [ %11, %8 ], [ 0, %4 ]
%10 = tail call i32 @pt_sleep(i32 noundef %1) #2
%11 = add nuw nsw i32 %9, 1
%12 = tail call i32 @pi_connect(ptr noundef %6) #2
%13 = tail call i32 @DRIVE(ptr noundef %0) #2
%14 = tail call i32 @write_reg(ptr noundef %6, i32 noundef 6, i32 noundef %13) #2
%15 = tail call i32 @read_reg(ptr noundef %6, i32 noundef 7) #2
%16 = tail call i32 @read_reg(ptr noundef %6, i32 noundef 1) #2
%17 = tail call i32 @pi_disconnect(ptr noundef %6) #2
%18 = load i32, ptr @STAT_ERR, align 4, !tbaa !11
%19 = load i32, ptr @STAT_SEEK, align 4, !tbaa !11
%20 = or i32 %19, %18
%21 = and i32 %20, %15
%22 = icmp eq i32 %21, 0
%23 = icmp slt i32 %11, %2
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %8, label %25, !llvm.loop !12
25: ; preds = %8, %4
%26 = phi i32 [ 0, %4 ], [ %11, %8 ]
%27 = phi i32 [ 0, %4 ], [ %16, %8 ]
%28 = phi i32 [ 0, %4 ], [ %15, %8 ]
%29 = icmp slt i32 %26, %2
br i1 %29, label %30, label %34
30: ; preds = %25
%31 = load i32, ptr @STAT_ERR, align 4, !tbaa !11
%32 = and i32 %31, %28
%33 = icmp eq i32 %32, 0
br i1 %33, label %42, label %37
34: ; preds = %25
%35 = load i32, ptr %0, align 8, !tbaa !14
%36 = tail call i32 (ptr, i32, ptr, ...) @printk(ptr noundef nonnull @.str, i32 noundef %35, ptr noundef %3) #2
br label %40
37: ; preds = %30
%38 = load i32, ptr %0, align 8, !tbaa !14
%39 = tail call i32 (ptr, i32, ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %38, ptr noundef %3, i32 noundef %28, i32 noundef %27) #2
br label %40
40: ; preds = %37, %34
%41 = tail call i32 @pt_req_sense(ptr noundef nonnull %0, i32 noundef 0) #2
br label %42
42: ; preds = %30, %40
%43 = phi i32 [ 0, %40 ], [ 1, %30 ]
ret i32 %43
}
declare i32 @pt_sleep(i32 noundef) local_unnamed_addr #1
declare i32 @pi_connect(ptr noundef) local_unnamed_addr #1
declare i32 @write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DRIVE(ptr noundef) local_unnamed_addr #1
declare i32 @read_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pi_disconnect(ptr noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @pt_req_sense(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"pt_unit", !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/paride/extr_pt.c_pt_poll_dsc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/paride/extr_pt.c_pt_poll_dsc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STAT_ERR = common local_unnamed_addr global i32 0, align 4
@STAT_SEEK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"%s: %s DSC timeout\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"%s: %s stat=0x%x err=0x%x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pt_poll_dsc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @pt_poll_dsc(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = icmp sgt i32 %2, 0
br i1 %7, label %8, label %25
8: ; preds = %4, %8
%9 = phi i32 [ %11, %8 ], [ 0, %4 ]
%10 = tail call i32 @pt_sleep(i32 noundef %1) #2
%11 = add nuw nsw i32 %9, 1
%12 = tail call i32 @pi_connect(ptr noundef %6) #2
%13 = tail call i32 @DRIVE(ptr noundef %0) #2
%14 = tail call i32 @write_reg(ptr noundef %6, i32 noundef 6, i32 noundef %13) #2
%15 = tail call i32 @read_reg(ptr noundef %6, i32 noundef 7) #2
%16 = tail call i32 @read_reg(ptr noundef %6, i32 noundef 1) #2
%17 = tail call i32 @pi_disconnect(ptr noundef %6) #2
%18 = load i32, ptr @STAT_ERR, align 4, !tbaa !12
%19 = load i32, ptr @STAT_SEEK, align 4, !tbaa !12
%20 = or i32 %19, %18
%21 = and i32 %20, %15
%22 = icmp eq i32 %21, 0
%23 = icmp slt i32 %11, %2
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %8, label %25, !llvm.loop !13
25: ; preds = %8, %4
%26 = phi i32 [ 0, %4 ], [ %11, %8 ]
%27 = phi i32 [ 0, %4 ], [ %16, %8 ]
%28 = phi i32 [ 0, %4 ], [ %15, %8 ]
%29 = icmp slt i32 %26, %2
br i1 %29, label %30, label %34
30: ; preds = %25
%31 = load i32, ptr @STAT_ERR, align 4, !tbaa !12
%32 = and i32 %31, %28
%33 = icmp eq i32 %32, 0
br i1 %33, label %42, label %37
34: ; preds = %25
%35 = load i32, ptr %0, align 8, !tbaa !15
%36 = tail call i32 (ptr, i32, ptr, ...) @printk(ptr noundef nonnull @.str, i32 noundef %35, ptr noundef %3) #2
br label %40
37: ; preds = %30
%38 = load i32, ptr %0, align 8, !tbaa !15
%39 = tail call i32 (ptr, i32, ptr, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %38, ptr noundef %3, i32 noundef %28, i32 noundef %27) #2
br label %40
40: ; preds = %37, %34
%41 = tail call i32 @pt_req_sense(ptr noundef nonnull %0, i32 noundef 0) #2
br label %42
42: ; preds = %30, %40
%43 = phi i32 [ 0, %40 ], [ 1, %30 ]
ret i32 %43
}
declare i32 @pt_sleep(i32 noundef) local_unnamed_addr #1
declare i32 @pi_connect(ptr noundef) local_unnamed_addr #1
declare i32 @write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DRIVE(ptr noundef) local_unnamed_addr #1
declare i32 @read_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pi_disconnect(ptr noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @pt_req_sense(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"pt_unit", !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 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !8, i64 0}
|
fastsocket_kernel_drivers_block_paride_extr_pt.c_pt_poll_dsc
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mmc/extr_mmc.c_mmc_wait_for_req.c'
source_filename = "AnghaBench/freebsd/sys/dev/mmc/extr_mmc.c_mmc_wait_for_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.mmc_request = type { i32, ptr, ptr, i32 }
%struct.TYPE_4__ = type { i32, i32, ptr, i32, i32 }
%struct.mmc_softc = type { i32, i32 }
@mmc_wakeup = dso_local local_unnamed_addr global i32 0, align 4
@mmc_debug = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"REQUEST: CMD%d arg %#x flags %#x\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" data %d\0A\00", align 1
@MMC_REQ_DONE = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [7 x i8] c"mmcreq\00", align 1
@MMC_ERR_NONE = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [18 x i8] c"CMD%d RESULT: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mmc_wait_for_req], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @mmc_wait_for_req(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @mmc_wakeup, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.mmc_request, ptr %1, i64 0, i32 3
store i32 %3, ptr %4, align 8, !tbaa !9
%5 = getelementptr inbounds %struct.mmc_request, ptr %1, i64 0, i32 2
store ptr %0, ptr %5, align 8, !tbaa !12
%6 = load i32, ptr @mmc_debug, align 4, !tbaa !5
%7 = icmp sgt i32 %6, 1
%8 = zext i1 %7 to i32
%9 = tail call i64 @__predict_false(i32 noundef %8) #4
%10 = icmp eq i64 %9, 0
br i1 %10, label %32, label %11
11: ; preds = %2
%12 = load i32, ptr %0, align 4, !tbaa !13
%13 = getelementptr inbounds %struct.mmc_request, ptr %1, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 0, i32 4
%18 = load i32, ptr %17, align 4, !tbaa !18
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 0, i32 3
%20 = load i32, ptr %19, align 8, !tbaa !19
%21 = tail call i32 (i32, ptr, i32, i32, ...) @device_printf(i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %18, i32 noundef %20) #4
%22 = load ptr, ptr %13, align 8, !tbaa !15
%23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i64 0, i32 2
%24 = load ptr, ptr %23, align 8, !tbaa !20
%25 = icmp eq ptr %24, null
br i1 %25, label %30, label %26
26: ; preds = %11
%27 = load i64, ptr %24, align 8, !tbaa !21
%28 = trunc i64 %27 to i32
%29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %28)
br label %32
30: ; preds = %11
%31 = tail call i32 @putchar(i32 10)
br label %32
32: ; preds = %26, %30, %2
%33 = load i32, ptr %0, align 4, !tbaa !13
%34 = tail call i32 @device_get_parent(i32 noundef %33) #4
%35 = load i32, ptr %0, align 4, !tbaa !13
%36 = tail call i32 @MMCBR_REQUEST(i32 noundef %34, i32 noundef %35, ptr noundef nonnull %1) #4
%37 = tail call i32 @MMC_LOCK(ptr noundef nonnull %0) #4
%38 = load i32, ptr %1, align 8, !tbaa !24
%39 = load i32, ptr @MMC_REQ_DONE, align 4, !tbaa !5
%40 = and i32 %39, %38
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %50
42: ; preds = %32
%43 = getelementptr inbounds %struct.mmc_softc, ptr %0, i64 0, i32 1
br label %44
44: ; preds = %42, %44
%45 = tail call i32 @msleep(ptr noundef nonnull %1, ptr noundef nonnull %43, i32 noundef 0, ptr noundef nonnull @.str.3, i32 noundef 0) #4
%46 = load i32, ptr %1, align 8, !tbaa !24
%47 = load i32, ptr @MMC_REQ_DONE, align 4, !tbaa !5
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %44, label %50, !llvm.loop !25
50: ; preds = %44, %32
%51 = tail call i32 @MMC_UNLOCK(ptr noundef nonnull %0) #4
%52 = load i32, ptr @mmc_debug, align 4, !tbaa !5
%53 = icmp sgt i32 %52, 2
br i1 %53, label %63, label %54
54: ; preds = %50
%55 = icmp sgt i32 %52, 0
br i1 %55, label %56, label %63
56: ; preds = %54
%57 = getelementptr inbounds %struct.mmc_request, ptr %1, i64 0, i32 1
%58 = load ptr, ptr %57, align 8, !tbaa !15
%59 = load i32, ptr %58, align 8, !tbaa !27
%60 = load i32, ptr @MMC_ERR_NONE, align 4, !tbaa !5
%61 = icmp ne i32 %59, %60
%62 = zext i1 %61 to i32
br label %63
63: ; preds = %54, %56, %50
%64 = phi i32 [ 1, %50 ], [ 0, %54 ], [ %62, %56 ]
%65 = tail call i64 @__predict_false(i32 noundef %64) #4
%66 = icmp eq i64 %65, 0
br i1 %66, label %75, label %67
67: ; preds = %63
%68 = load i32, ptr %0, align 4, !tbaa !13
%69 = getelementptr inbounds %struct.mmc_request, ptr %1, i64 0, i32 1
%70 = load ptr, ptr %69, align 8, !tbaa !15
%71 = getelementptr inbounds %struct.TYPE_4__, ptr %70, i64 0, i32 1
%72 = load i32, ptr %71, align 4, !tbaa !16
%73 = load i32, ptr %70, align 8, !tbaa !27
%74 = tail call i32 (i32, ptr, i32, i32, ...) @device_printf(i32 noundef %68, ptr noundef nonnull @.str.4, i32 noundef %72, i32 noundef %73) #4
br label %75
75: ; preds = %67, %63
ret i32 0
}
declare i64 @__predict_false(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @MMCBR_REQUEST(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1
declare i32 @MMC_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MMC_UNLOCK(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(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 = { "no-trapping-math"="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 = { nofree nounwind }
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 = !{!10, !6, i64 24}
!10 = !{!"mmc_request", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!14, !6, i64 0}
!14 = !{!"mmc_softc", !6, i64 0, !6, i64 4}
!15 = !{!10, !11, i64 8}
!16 = !{!17, !6, i64 4}
!17 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16, !6, i64 20}
!18 = !{!17, !6, i64 20}
!19 = !{!17, !6, i64 16}
!20 = !{!17, !11, i64 8}
!21 = !{!22, !23, i64 0}
!22 = !{!"TYPE_3__", !23, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!10, !6, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!17, !6, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mmc/extr_mmc.c_mmc_wait_for_req.c'
source_filename = "AnghaBench/freebsd/sys/dev/mmc/extr_mmc.c_mmc_wait_for_req.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mmc_wakeup = common local_unnamed_addr global i32 0, align 4
@mmc_debug = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"REQUEST: CMD%d arg %#x flags %#x\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c" data %d\0A\00", align 1
@MMC_REQ_DONE = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [7 x i8] c"mmcreq\00", align 1
@MMC_ERR_NONE = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [18 x i8] c"CMD%d RESULT: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mmc_wait_for_req], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @mmc_wait_for_req(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @mmc_wakeup, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 24
store i32 %3, ptr %4, align 8, !tbaa !10
%5 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %0, ptr %5, align 8, !tbaa !13
%6 = load i32, ptr @mmc_debug, align 4, !tbaa !6
%7 = icmp sgt i32 %6, 1
%8 = zext i1 %7 to i32
%9 = tail call i64 @__predict_false(i32 noundef %8) #4
%10 = icmp eq i64 %9, 0
br i1 %10, label %32, label %11
11: ; preds = %2
%12 = load i32, ptr %0, align 4, !tbaa !14
%13 = getelementptr inbounds i8, ptr %1, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !16
%15 = getelementptr inbounds i8, ptr %14, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !17
%17 = getelementptr inbounds i8, ptr %14, i64 20
%18 = load i32, ptr %17, align 4, !tbaa !19
%19 = getelementptr inbounds i8, ptr %14, i64 16
%20 = load i32, ptr %19, align 8, !tbaa !20
%21 = tail call i32 (i32, ptr, i32, i32, ...) @device_printf(i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %16, i32 noundef %18, i32 noundef %20) #4
%22 = load ptr, ptr %13, align 8, !tbaa !16
%23 = getelementptr inbounds i8, ptr %22, i64 8
%24 = load ptr, ptr %23, align 8, !tbaa !21
%25 = icmp eq ptr %24, null
br i1 %25, label %30, label %26
26: ; preds = %11
%27 = load i64, ptr %24, align 8, !tbaa !22
%28 = trunc i64 %27 to i32
%29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %28)
br label %32
30: ; preds = %11
%31 = tail call i32 @putchar(i32 10)
br label %32
32: ; preds = %26, %30, %2
%33 = load i32, ptr %0, align 4, !tbaa !14
%34 = tail call i32 @device_get_parent(i32 noundef %33) #4
%35 = load i32, ptr %0, align 4, !tbaa !14
%36 = tail call i32 @MMCBR_REQUEST(i32 noundef %34, i32 noundef %35, ptr noundef nonnull %1) #4
%37 = tail call i32 @MMC_LOCK(ptr noundef nonnull %0) #4
%38 = load i32, ptr %1, align 8, !tbaa !25
%39 = load i32, ptr @MMC_REQ_DONE, align 4, !tbaa !6
%40 = and i32 %39, %38
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %50
42: ; preds = %32
%43 = getelementptr inbounds i8, ptr %0, i64 4
br label %44
44: ; preds = %42, %44
%45 = tail call i32 @msleep(ptr noundef nonnull %1, ptr noundef nonnull %43, i32 noundef 0, ptr noundef nonnull @.str.3, i32 noundef 0) #4
%46 = load i32, ptr %1, align 8, !tbaa !25
%47 = load i32, ptr @MMC_REQ_DONE, align 4, !tbaa !6
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %44, label %50, !llvm.loop !26
50: ; preds = %44, %32
%51 = tail call i32 @MMC_UNLOCK(ptr noundef nonnull %0) #4
%52 = load i32, ptr @mmc_debug, align 4, !tbaa !6
%53 = icmp sgt i32 %52, 2
br i1 %53, label %63, label %54
54: ; preds = %50
%55 = icmp sgt i32 %52, 0
br i1 %55, label %56, label %63
56: ; preds = %54
%57 = getelementptr inbounds i8, ptr %1, i64 8
%58 = load ptr, ptr %57, align 8, !tbaa !16
%59 = load i32, ptr %58, align 8, !tbaa !28
%60 = load i32, ptr @MMC_ERR_NONE, align 4, !tbaa !6
%61 = icmp ne i32 %59, %60
%62 = zext i1 %61 to i32
br label %63
63: ; preds = %54, %56, %50
%64 = phi i32 [ 1, %50 ], [ 0, %54 ], [ %62, %56 ]
%65 = tail call i64 @__predict_false(i32 noundef %64) #4
%66 = icmp eq i64 %65, 0
br i1 %66, label %75, label %67
67: ; preds = %63
%68 = load i32, ptr %0, align 4, !tbaa !14
%69 = getelementptr inbounds i8, ptr %1, i64 8
%70 = load ptr, ptr %69, align 8, !tbaa !16
%71 = getelementptr inbounds i8, ptr %70, i64 4
%72 = load i32, ptr %71, align 4, !tbaa !17
%73 = load i32, ptr %70, align 8, !tbaa !28
%74 = tail call i32 (i32, ptr, i32, i32, ...) @device_printf(i32 noundef %68, ptr noundef nonnull @.str.4, i32 noundef %72, i32 noundef %73) #4
br label %75
75: ; preds = %67, %63
ret i32 0
}
declare i64 @__predict_false(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @MMCBR_REQUEST(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1
declare i32 @MMC_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MMC_UNLOCK(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = { nofree nounwind }
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 = !{!11, !7, i64 24}
!11 = !{!"mmc_request", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!15, !7, i64 0}
!15 = !{!"mmc_softc", !7, i64 0, !7, i64 4}
!16 = !{!11, !12, i64 8}
!17 = !{!18, !7, i64 4}
!18 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16, !7, i64 20}
!19 = !{!18, !7, i64 20}
!20 = !{!18, !7, i64 16}
!21 = !{!18, !12, i64 8}
!22 = !{!23, !24, i64 0}
!23 = !{!"TYPE_3__", !24, i64 0}
!24 = !{!"long", !8, i64 0}
!25 = !{!11, !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!18, !7, i64 0}
|
freebsd_sys_dev_mmc_extr_mmc.c_mmc_wait_for_req
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/atl100/extr_atl.c_test_AtlAxAttachControl.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/atl100/extr_atl.c_test_AtlAxAttachControl.c"
target datalayout = "e-m:e-p270:32:32-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_INVALIDARG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [64 x i8] c"Expected AtlAxAttachControl to return E_INVALIDARG, got 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"Expected the output container pointer to be untouched, got %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"returned %p\0A\00", align 1
@CLSID_WebBrowser = dso_local global i32 0, align 4
@CLSCTX_INPROC_SERVER = dso_local local_unnamed_addr global i32 0, align 4
@CLSCTX_INPROC_HANDLER = dso_local local_unnamed_addr global i32 0, align 4
@IID_IOleObject = dso_local global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [54 x i8] c"Expected CoCreateInstance to return S_OK, got 0x%08x\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"Couldn't obtain a test IOleObject instance\0A\00", align 1
@S_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [59 x i8] c"Expected AtlAxAttachControl to return S_FALSE, got 0x%08x\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"got %p\0A\00", align 1
@GWLP_USERDATA = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [56 x i8] c"Expected AtlAxAttachControl to return S_OK, got 0x%08x\0A\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"returned %08x\0A\00", align 1
@.str.9 = private unnamed_addr constant [20 x i8] c"Expected not NULL!\0A\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"Expected unchanged, returned %08x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_AtlAxAttachControl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_AtlAxAttachControl() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = tail call i32 @AtlAxAttachControl(ptr noundef null, ptr noundef null, ptr noundef null) #3
%4 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !5
%5 = icmp eq i32 %3, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %3) #3
store ptr inttoptr (i64 3735928559 to ptr), ptr %2, align 8, !tbaa !9
%8 = call i32 @AtlAxAttachControl(ptr noundef null, ptr noundef null, ptr noundef nonnull %2) #3
%9 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !5
%10 = icmp eq i32 %8, %9
%11 = zext i1 %10 to i32
%12 = call i32 (i32, ptr, ...) @ok(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %8) #3
%13 = load ptr, ptr %2, align 8, !tbaa !9
%14 = icmp eq ptr %13, inttoptr (i64 3735928559 to ptr)
%15 = zext i1 %14 to i32
%16 = call i32 (i32, ptr, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %13) #3
%17 = call ptr (...) @create_container_window() #3
%18 = call i32 @AtlAxAttachControl(ptr noundef null, ptr noundef %17, ptr noundef null) #3
%19 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !5
%20 = icmp eq i32 %18, %19
%21 = zext i1 %20 to i32
%22 = call i32 (i32, ptr, ...) @ok(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %18) #3
%23 = call i32 @DestroyWindow(ptr noundef %17) #3
%24 = call ptr (...) @create_container_window() #3
store ptr inttoptr (i64 3735928559 to ptr), ptr %2, align 8, !tbaa !9
%25 = call i32 @AtlAxAttachControl(ptr noundef null, ptr noundef %24, ptr noundef nonnull %2) #3
%26 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !5
%27 = icmp eq i32 %25, %26
%28 = zext i1 %27 to i32
%29 = call i32 (i32, ptr, ...) @ok(i32 noundef %28, ptr noundef nonnull @.str, i32 noundef %25) #3
%30 = load ptr, ptr %2, align 8, !tbaa !9
%31 = icmp eq ptr %30, inttoptr (i64 3735928559 to ptr)
%32 = zext i1 %31 to i32
%33 = call i32 (i32, ptr, ...) @ok(i32 noundef %32, ptr noundef nonnull @.str.2, ptr noundef %30) #3
%34 = call i32 @DestroyWindow(ptr noundef %24) #3
%35 = load i32, ptr @CLSCTX_INPROC_SERVER, align 4, !tbaa !5
%36 = load i32, ptr @CLSCTX_INPROC_HANDLER, align 4, !tbaa !5
%37 = or i32 %36, %35
%38 = call i32 @CoCreateInstance(ptr noundef nonnull @CLSID_WebBrowser, ptr noundef null, i32 noundef %37, ptr noundef nonnull @IID_IOleObject, ptr noundef nonnull %1) #3
%39 = load i32, ptr @S_OK, align 4, !tbaa !5
%40 = icmp eq i32 %38, %39
%41 = zext i1 %40 to i32
%42 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.3, i32 noundef %38) #3
%43 = call i64 @FAILED(i32 noundef %38) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %47, label %45
45: ; preds = %0
%46 = call i32 @skip(ptr noundef nonnull @.str.4) #3
br label %104
47: ; preds = %0
%48 = load ptr, ptr %1, align 8, !tbaa !9
%49 = call i32 @AtlAxAttachControl(ptr noundef %48, ptr noundef null, ptr noundef null) #3
%50 = load i32, ptr @S_FALSE, align 4, !tbaa !5
%51 = icmp eq i32 %49, %50
%52 = zext i1 %51 to i32
%53 = call i32 (i32, ptr, ...) @ok(i32 noundef %52, ptr noundef nonnull @.str.5, i32 noundef %49) #3
store ptr null, ptr %2, align 8, !tbaa !9
%54 = load ptr, ptr %1, align 8, !tbaa !9
%55 = call i32 @AtlAxAttachControl(ptr noundef %54, ptr noundef null, ptr noundef nonnull %2) #3
%56 = load i32, ptr @S_FALSE, align 4, !tbaa !5
%57 = icmp eq i32 %55, %56
%58 = zext i1 %57 to i32
%59 = call i32 (i32, ptr, ...) @ok(i32 noundef %58, ptr noundef nonnull @.str.5, i32 noundef %55) #3
%60 = load ptr, ptr %2, align 8, !tbaa !9
%61 = icmp ne ptr %60, null
%62 = zext i1 %61 to i32
%63 = call i32 (i32, ptr, ...) @ok(i32 noundef %62, ptr noundef nonnull @.str.6, ptr noundef %60) #3
%64 = load ptr, ptr %2, align 8, !tbaa !9
%65 = call i32 @IUnknown_Release(ptr noundef %64) #3
%66 = call ptr (...) @create_container_window() #3
%67 = load i32, ptr @GWLP_USERDATA, align 4, !tbaa !5
%68 = call i32 @SetWindowLongW(ptr noundef %66, i32 noundef %67, i32 noundef -559038737) #3
%69 = load ptr, ptr %1, align 8, !tbaa !9
%70 = call i32 @AtlAxAttachControl(ptr noundef %69, ptr noundef %66, ptr noundef null) #3
%71 = load i32, ptr @S_OK, align 4, !tbaa !5
%72 = icmp eq i32 %70, %71
%73 = zext i1 %72 to i32
%74 = call i32 (i32, ptr, ...) @ok(i32 noundef %73, ptr noundef nonnull @.str.7, i32 noundef %70) #3
%75 = load i32, ptr @GWLP_USERDATA, align 4, !tbaa !5
%76 = call i32 @GetWindowLongW(ptr noundef %66, i32 noundef %75) #3
%77 = icmp eq i32 %76, -559038737
%78 = zext i1 %77 to i32
%79 = call i32 (i32, ptr, ...) @ok(i32 noundef %78, ptr noundef nonnull @.str.8, i32 noundef %76) #3
%80 = call i32 @DestroyWindow(ptr noundef %66) #3
%81 = call ptr (...) @create_container_window() #3
%82 = load i32, ptr @GWLP_USERDATA, align 4, !tbaa !5
%83 = call i32 @SetWindowLongW(ptr noundef %81, i32 noundef %82, i32 noundef -559038737) #3
store ptr null, ptr %2, align 8, !tbaa !9
%84 = load ptr, ptr %1, align 8, !tbaa !9
%85 = call i32 @AtlAxAttachControl(ptr noundef %84, ptr noundef %81, ptr noundef nonnull %2) #3
%86 = load i32, ptr @S_OK, align 4, !tbaa !5
%87 = icmp eq i32 %85, %86
%88 = zext i1 %87 to i32
%89 = call i32 (i32, ptr, ...) @ok(i32 noundef %88, ptr noundef nonnull @.str.7, i32 noundef %85) #3
%90 = load ptr, ptr %2, align 8, !tbaa !9
%91 = icmp ne ptr %90, null
%92 = zext i1 %91 to i32
%93 = call i32 (i32, ptr, ...) @ok(i32 noundef %92, ptr noundef nonnull @.str.9) #3
%94 = load ptr, ptr %2, align 8, !tbaa !9
%95 = call i32 @IUnknown_Release(ptr noundef %94) #3
%96 = load i32, ptr @GWLP_USERDATA, align 4, !tbaa !5
%97 = call i32 @GetWindowLongW(ptr noundef %81, i32 noundef %96) #3
%98 = icmp eq i32 %97, -559038737
%99 = zext i1 %98 to i32
%100 = call i32 (i32, ptr, ...) @ok(i32 noundef %99, ptr noundef nonnull @.str.10, i32 noundef %97) #3
%101 = call i32 @DestroyWindow(ptr noundef %81) #3
%102 = load ptr, ptr %1, align 8, !tbaa !9
%103 = call i32 @IUnknown_Release(ptr noundef %102) #3
br label %104
104: ; preds = %47, %45
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #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 @AtlAxAttachControl(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @create_container_window(...) local_unnamed_addr #2
declare i32 @DestroyWindow(ptr noundef) local_unnamed_addr #2
declare i32 @CoCreateInstance(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @skip(ptr noundef) local_unnamed_addr #2
declare i32 @IUnknown_Release(ptr noundef) local_unnamed_addr #2
declare i32 @SetWindowLongW(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetWindowLongW(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/atl100/extr_atl.c_test_AtlAxAttachControl.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/atl100/extr_atl.c_test_AtlAxAttachControl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E_INVALIDARG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [64 x i8] c"Expected AtlAxAttachControl to return E_INVALIDARG, got 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"Expected the output container pointer to be untouched, got %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"returned %p\0A\00", align 1
@CLSID_WebBrowser = common global i32 0, align 4
@CLSCTX_INPROC_SERVER = common local_unnamed_addr global i32 0, align 4
@CLSCTX_INPROC_HANDLER = common local_unnamed_addr global i32 0, align 4
@IID_IOleObject = common global i32 0, align 4
@S_OK = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [54 x i8] c"Expected CoCreateInstance to return S_OK, got 0x%08x\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"Couldn't obtain a test IOleObject instance\0A\00", align 1
@S_FALSE = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [59 x i8] c"Expected AtlAxAttachControl to return S_FALSE, got 0x%08x\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"got %p\0A\00", align 1
@GWLP_USERDATA = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [56 x i8] c"Expected AtlAxAttachControl to return S_OK, got 0x%08x\0A\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"returned %08x\0A\00", align 1
@.str.9 = private unnamed_addr constant [20 x i8] c"Expected not NULL!\0A\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"Expected unchanged, returned %08x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_AtlAxAttachControl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_AtlAxAttachControl() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = tail call i32 @AtlAxAttachControl(ptr noundef null, ptr noundef null, ptr noundef null) #3
%4 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !6
%5 = icmp eq i32 %3, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %3) #3
store ptr inttoptr (i64 3735928559 to ptr), ptr %2, align 8, !tbaa !10
%8 = call i32 @AtlAxAttachControl(ptr noundef null, ptr noundef null, ptr noundef nonnull %2) #3
%9 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !6
%10 = icmp eq i32 %8, %9
%11 = zext i1 %10 to i32
%12 = call i32 (i32, ptr, ...) @ok(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %8) #3
%13 = load ptr, ptr %2, align 8, !tbaa !10
%14 = icmp eq ptr %13, inttoptr (i64 3735928559 to ptr)
%15 = zext i1 %14 to i32
%16 = call i32 (i32, ptr, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %13) #3
%17 = call ptr @create_container_window() #3
%18 = call i32 @AtlAxAttachControl(ptr noundef null, ptr noundef %17, ptr noundef null) #3
%19 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !6
%20 = icmp eq i32 %18, %19
%21 = zext i1 %20 to i32
%22 = call i32 (i32, ptr, ...) @ok(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %18) #3
%23 = call i32 @DestroyWindow(ptr noundef %17) #3
%24 = call ptr @create_container_window() #3
store ptr inttoptr (i64 3735928559 to ptr), ptr %2, align 8, !tbaa !10
%25 = call i32 @AtlAxAttachControl(ptr noundef null, ptr noundef %24, ptr noundef nonnull %2) #3
%26 = load i32, ptr @E_INVALIDARG, align 4, !tbaa !6
%27 = icmp eq i32 %25, %26
%28 = zext i1 %27 to i32
%29 = call i32 (i32, ptr, ...) @ok(i32 noundef %28, ptr noundef nonnull @.str, i32 noundef %25) #3
%30 = load ptr, ptr %2, align 8, !tbaa !10
%31 = icmp eq ptr %30, inttoptr (i64 3735928559 to ptr)
%32 = zext i1 %31 to i32
%33 = call i32 (i32, ptr, ...) @ok(i32 noundef %32, ptr noundef nonnull @.str.2, ptr noundef %30) #3
%34 = call i32 @DestroyWindow(ptr noundef %24) #3
%35 = load i32, ptr @CLSCTX_INPROC_SERVER, align 4, !tbaa !6
%36 = load i32, ptr @CLSCTX_INPROC_HANDLER, align 4, !tbaa !6
%37 = or i32 %36, %35
%38 = call i32 @CoCreateInstance(ptr noundef nonnull @CLSID_WebBrowser, ptr noundef null, i32 noundef %37, ptr noundef nonnull @IID_IOleObject, ptr noundef nonnull %1) #3
%39 = load i32, ptr @S_OK, align 4, !tbaa !6
%40 = icmp eq i32 %38, %39
%41 = zext i1 %40 to i32
%42 = call i32 (i32, ptr, ...) @ok(i32 noundef %41, ptr noundef nonnull @.str.3, i32 noundef %38) #3
%43 = call i64 @FAILED(i32 noundef %38) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %47, label %45
45: ; preds = %0
%46 = call i32 @skip(ptr noundef nonnull @.str.4) #3
br label %104
47: ; preds = %0
%48 = load ptr, ptr %1, align 8, !tbaa !10
%49 = call i32 @AtlAxAttachControl(ptr noundef %48, ptr noundef null, ptr noundef null) #3
%50 = load i32, ptr @S_FALSE, align 4, !tbaa !6
%51 = icmp eq i32 %49, %50
%52 = zext i1 %51 to i32
%53 = call i32 (i32, ptr, ...) @ok(i32 noundef %52, ptr noundef nonnull @.str.5, i32 noundef %49) #3
store ptr null, ptr %2, align 8, !tbaa !10
%54 = load ptr, ptr %1, align 8, !tbaa !10
%55 = call i32 @AtlAxAttachControl(ptr noundef %54, ptr noundef null, ptr noundef nonnull %2) #3
%56 = load i32, ptr @S_FALSE, align 4, !tbaa !6
%57 = icmp eq i32 %55, %56
%58 = zext i1 %57 to i32
%59 = call i32 (i32, ptr, ...) @ok(i32 noundef %58, ptr noundef nonnull @.str.5, i32 noundef %55) #3
%60 = load ptr, ptr %2, align 8, !tbaa !10
%61 = icmp ne ptr %60, null
%62 = zext i1 %61 to i32
%63 = call i32 (i32, ptr, ...) @ok(i32 noundef %62, ptr noundef nonnull @.str.6, ptr noundef %60) #3
%64 = load ptr, ptr %2, align 8, !tbaa !10
%65 = call i32 @IUnknown_Release(ptr noundef %64) #3
%66 = call ptr @create_container_window() #3
%67 = load i32, ptr @GWLP_USERDATA, align 4, !tbaa !6
%68 = call i32 @SetWindowLongW(ptr noundef %66, i32 noundef %67, i32 noundef -559038737) #3
%69 = load ptr, ptr %1, align 8, !tbaa !10
%70 = call i32 @AtlAxAttachControl(ptr noundef %69, ptr noundef %66, ptr noundef null) #3
%71 = load i32, ptr @S_OK, align 4, !tbaa !6
%72 = icmp eq i32 %70, %71
%73 = zext i1 %72 to i32
%74 = call i32 (i32, ptr, ...) @ok(i32 noundef %73, ptr noundef nonnull @.str.7, i32 noundef %70) #3
%75 = load i32, ptr @GWLP_USERDATA, align 4, !tbaa !6
%76 = call i32 @GetWindowLongW(ptr noundef %66, i32 noundef %75) #3
%77 = icmp eq i32 %76, -559038737
%78 = zext i1 %77 to i32
%79 = call i32 (i32, ptr, ...) @ok(i32 noundef %78, ptr noundef nonnull @.str.8, i32 noundef %76) #3
%80 = call i32 @DestroyWindow(ptr noundef %66) #3
%81 = call ptr @create_container_window() #3
%82 = load i32, ptr @GWLP_USERDATA, align 4, !tbaa !6
%83 = call i32 @SetWindowLongW(ptr noundef %81, i32 noundef %82, i32 noundef -559038737) #3
store ptr null, ptr %2, align 8, !tbaa !10
%84 = load ptr, ptr %1, align 8, !tbaa !10
%85 = call i32 @AtlAxAttachControl(ptr noundef %84, ptr noundef %81, ptr noundef nonnull %2) #3
%86 = load i32, ptr @S_OK, align 4, !tbaa !6
%87 = icmp eq i32 %85, %86
%88 = zext i1 %87 to i32
%89 = call i32 (i32, ptr, ...) @ok(i32 noundef %88, ptr noundef nonnull @.str.7, i32 noundef %85) #3
%90 = load ptr, ptr %2, align 8, !tbaa !10
%91 = icmp ne ptr %90, null
%92 = zext i1 %91 to i32
%93 = call i32 (i32, ptr, ...) @ok(i32 noundef %92, ptr noundef nonnull @.str.9) #3
%94 = load ptr, ptr %2, align 8, !tbaa !10
%95 = call i32 @IUnknown_Release(ptr noundef %94) #3
%96 = load i32, ptr @GWLP_USERDATA, align 4, !tbaa !6
%97 = call i32 @GetWindowLongW(ptr noundef %81, i32 noundef %96) #3
%98 = icmp eq i32 %97, -559038737
%99 = zext i1 %98 to i32
%100 = call i32 (i32, ptr, ...) @ok(i32 noundef %99, ptr noundef nonnull @.str.10, i32 noundef %97) #3
%101 = call i32 @DestroyWindow(ptr noundef %81) #3
%102 = load ptr, ptr %1, align 8, !tbaa !10
%103 = call i32 @IUnknown_Release(ptr noundef %102) #3
br label %104
104: ; preds = %47, %45
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #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 @AtlAxAttachControl(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare ptr @create_container_window(...) local_unnamed_addr #2
declare i32 @DestroyWindow(ptr noundef) local_unnamed_addr #2
declare i32 @CoCreateInstance(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FAILED(i32 noundef) local_unnamed_addr #2
declare i32 @skip(ptr noundef) local_unnamed_addr #2
declare i32 @IUnknown_Release(ptr noundef) local_unnamed_addr #2
declare i32 @SetWindowLongW(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetWindowLongW(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
|
reactos_modules_rostests_winetests_atl100_extr_atl.c_test_AtlAxAttachControl
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibverbs/extr_verbs.c_get_grh_header_version.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibverbs/extr_verbs.c_get_grh_header_version.c"
target datalayout = "e-m:e-p270:32:32-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.ip = type { i32, i32, i64 }
@EPROTONOSUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_grh_header_version], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @get_grh_header_version(ptr noundef %0) #0 {
%2 = alloca %struct.ip, align 8
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @be32toh(i32 noundef %3) #3
%5 = getelementptr inbounds i8, ptr %0, i64 20
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
%6 = and i32 %4, -268435456
%7 = icmp eq i32 %6, 1610612736
br i1 %7, label %13, label %8
8: ; preds = %1
%9 = load i32, ptr %5, align 8, !tbaa !10
%10 = icmp eq i32 %9, 4
br i1 %10, label %25, label %11
11: ; preds = %8
%12 = load i32, ptr @EPROTONOSUPPORT, align 4, !tbaa !13
store i32 %12, ptr @errno, align 4, !tbaa !13
br label %25
13: ; preds = %1
%14 = getelementptr inbounds i8, ptr %0, i64 24
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = icmp eq i32 %15, 5
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef nonnull %5, i32 noundef 16) #3
%19 = getelementptr inbounds %struct.ip, ptr %2, i64 0, i32 2
store i64 0, ptr %19, align 8, !tbaa !15
%20 = call i64 @ipv4_calc_hdr_csum(ptr noundef nonnull %2, i32 noundef 10) #3
%21 = getelementptr inbounds i8, ptr %0, i64 28
%22 = load i64, ptr %21, align 8, !tbaa !15
%23 = icmp eq i64 %22, %20
%24 = select i1 %23, i32 4, i32 6
br label %25
25: ; preds = %17, %13, %8, %11
%26 = phi i32 [ -1, %11 ], [ 4, %8 ], [ 6, %13 ], [ %24, %17 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #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 @be32toh(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ipv4_calc_hdr_csum(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 = { 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 = { 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 = !{!"ibv_grh", !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 = !{!"ip", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!11, !7, i64 4}
!15 = !{!11, !12, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibverbs/extr_verbs.c_get_grh_header_version.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibverbs/extr_verbs.c_get_grh_header_version.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ip = type { i32, i32, i64 }
@EPROTONOSUPPORT = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_grh_header_version], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 -1, 7) i32 @get_grh_header_version(ptr noundef %0) #0 {
%2 = alloca %struct.ip, align 8
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @be32toh(i32 noundef %3) #3
%5 = getelementptr inbounds i8, ptr %0, i64 20
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3
%6 = and i32 %4, -268435456
%7 = icmp eq i32 %6, 1610612736
br i1 %7, label %13, label %8
8: ; preds = %1
%9 = load i32, ptr %5, align 8, !tbaa !11
%10 = icmp eq i32 %9, 4
br i1 %10, label %25, label %11
11: ; preds = %8
%12 = load i32, ptr @EPROTONOSUPPORT, align 4, !tbaa !14
store i32 %12, ptr @errno, align 4, !tbaa !14
br label %25
13: ; preds = %1
%14 = getelementptr inbounds i8, ptr %0, i64 24
%15 = load i32, ptr %14, align 4, !tbaa !15
%16 = icmp eq i32 %15, 5
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef nonnull %5, i32 noundef 16) #3
%19 = getelementptr inbounds i8, ptr %2, i64 8
store i64 0, ptr %19, align 8, !tbaa !16
%20 = call i64 @ipv4_calc_hdr_csum(ptr noundef nonnull %2, i32 noundef 10) #3
%21 = getelementptr inbounds i8, ptr %0, i64 28
%22 = load i64, ptr %21, align 8, !tbaa !16
%23 = icmp eq i64 %22, %20
%24 = select i1 %23, i32 4, i32 6
br label %25
25: ; preds = %17, %13, %8, %11
%26 = phi i32 [ -1, %11 ], [ 4, %8 ], [ 6, %13 ], [ %24, %17 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #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 @be32toh(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ipv4_calc_hdr_csum(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 = { 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 = { 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 = !{!"ibv_grh", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"ip", !8, i64 0, !8, i64 4, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!12, !8, i64 4}
!16 = !{!12, !13, i64 8}
|
freebsd_contrib_ofed_libibverbs_extr_verbs.c_get_grh_header_version
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv.c_kvmppc_free_vcores.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv.c_kvmppc_free_vcores.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, ptr }
@KVM_MAX_VCORES = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @kvmppc_free_vcores], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @kvmppc_free_vcores(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr @KVM_MAX_VCORES, align 8, !tbaa !5
%3 = icmp sgt i64 %2, 0
br i1 %3, label %4, label %15
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %12, %6 ]
%8 = load ptr, ptr %5, align 8, !tbaa !9
%9 = getelementptr inbounds i32, ptr %8, i64 %7
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = tail call i32 @kfree(i32 noundef %10) #2
%12 = add nuw nsw i64 %7, 1
%13 = load i64, ptr @KVM_MAX_VCORES, align 8, !tbaa !5
%14 = icmp slt i64 %12, %13
br i1 %14, label %6, label %15, !llvm.loop !15
15: ; preds = %6, %1
store i64 0, ptr %0, align 8, !tbaa !17
ret void
}
declare i32 @kfree(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, !12, i64 8}
!10 = !{!"kvm", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0, !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv.c_kvmppc_free_vcores.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_hv.c_kvmppc_free_vcores.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KVM_MAX_VCORES = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @kvmppc_free_vcores], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @kvmppc_free_vcores(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr @KVM_MAX_VCORES, align 8, !tbaa !6
%3 = icmp sgt i64 %2, 0
br i1 %3, label %4, label %15
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %12, %6 ]
%8 = load ptr, ptr %5, align 8, !tbaa !10
%9 = getelementptr inbounds i32, ptr %8, i64 %7
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = tail call i32 @kfree(i32 noundef %10) #2
%12 = add nuw nsw i64 %7, 1
%13 = load i64, ptr @KVM_MAX_VCORES, align 8, !tbaa !6
%14 = icmp slt i64 %12, %13
br i1 %14, label %6, label %15, !llvm.loop !16
15: ; preds = %6, %1
store i64 0, ptr %0, align 8, !tbaa !18
ret void
}
declare i32 @kfree(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, !13, i64 8}
!11 = !{!"kvm", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!11, !7, i64 0}
|
linux_arch_powerpc_kvm_extr_book3s_hv.c_kvmppc_free_vcores
|
; ModuleID = 'AnghaBench/freebsd/lib/libc/db/hash/extr_hash.c_hash_sync.c'
source_filename = "AnghaBench/freebsd/lib/libc/db/hash/extr_hash.c_hash_sync.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i64, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@ERROR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hash_sync], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hash_sync(ptr noundef readonly %0, i64 noundef %1) #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %7, label %4
4: ; preds = %2
%5 = load i32, ptr @EINVAL, align 4, !tbaa !5
store i32 %5, ptr @errno, align 4, !tbaa !5
%6 = load i32, ptr @ERROR, align 4, !tbaa !5
br label %35
7: ; preds = %2
%8 = icmp eq ptr %0, null
br i1 %8, label %9, label %11
9: ; preds = %7
%10 = load i32, ptr @ERROR, align 4, !tbaa !5
br label %35
11: ; preds = %7
%12 = load i64, ptr %0, align 8, !tbaa !9
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 2
%15 = load i32, ptr %14, align 8, !tbaa !12
%16 = icmp eq i32 %15, 0
br i1 %16, label %35, label %17
17: ; preds = %11
%18 = tail call i64 @__buf_free(ptr noundef nonnull %13, i32 noundef 0, i32 noundef 1) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = tail call i64 @flush_meta(ptr noundef nonnull %13) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20, %17
%24 = load i32, ptr @ERROR, align 4, !tbaa !5
br label %35
25: ; preds = %20
%26 = load i32, ptr %13, align 8, !tbaa !14
%27 = icmp eq i32 %26, -1
br i1 %27, label %33, label %28
28: ; preds = %25
%29 = tail call i64 @_fsync(i32 noundef %26) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %28
%32 = load i32, ptr @ERROR, align 4, !tbaa !5
br label %35
33: ; preds = %28, %25
%34 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 1
store i64 0, ptr %34, align 8, !tbaa !15
br label %35
35: ; preds = %11, %33, %31, %23, %9, %4
%36 = phi i32 [ %6, %4 ], [ %24, %23 ], [ %32, %31 ], [ 0, %33 ], [ %10, %9 ], [ 0, %11 ]
ret i32 %36
}
declare i64 @__buf_free(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @flush_meta(ptr noundef) local_unnamed_addr #1
declare i64 @_fsync(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_7__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !6, i64 16}
!13 = !{!"TYPE_6__", !6, i64 0, !11, i64 8, !6, i64 16}
!14 = !{!13, !6, i64 0}
!15 = !{!13, !11, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/lib/libc/db/hash/extr_hash.c_hash_sync.c'
source_filename = "AnghaBench/freebsd/lib/libc/db/hash/extr_hash.c_hash_sync.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@ERROR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hash_sync], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hash_sync(ptr noundef readonly %0, i64 noundef %1) #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %7, label %4
4: ; preds = %2
%5 = load i32, ptr @EINVAL, align 4, !tbaa !6
store i32 %5, ptr @errno, align 4, !tbaa !6
%6 = load i32, ptr @ERROR, align 4, !tbaa !6
br label %35
7: ; preds = %2
%8 = icmp eq ptr %0, null
br i1 %8, label %9, label %11
9: ; preds = %7
%10 = load i32, ptr @ERROR, align 4, !tbaa !6
br label %35
11: ; preds = %7
%12 = load i64, ptr %0, align 8, !tbaa !10
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds i8, ptr %13, i64 16
%15 = load i32, ptr %14, align 8, !tbaa !13
%16 = icmp eq i32 %15, 0
br i1 %16, label %35, label %17
17: ; preds = %11
%18 = tail call i64 @__buf_free(ptr noundef nonnull %13, i32 noundef 0, i32 noundef 1) #2
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = tail call i64 @flush_meta(ptr noundef nonnull %13) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20, %17
%24 = load i32, ptr @ERROR, align 4, !tbaa !6
br label %35
25: ; preds = %20
%26 = load i32, ptr %13, align 8, !tbaa !15
%27 = icmp eq i32 %26, -1
br i1 %27, label %33, label %28
28: ; preds = %25
%29 = tail call i64 @_fsync(i32 noundef %26) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %28
%32 = load i32, ptr @ERROR, align 4, !tbaa !6
br label %35
33: ; preds = %28, %25
%34 = getelementptr inbounds i8, ptr %13, i64 8
store i64 0, ptr %34, align 8, !tbaa !16
br label %35
35: ; preds = %11, %33, %31, %23, %9, %4
%36 = phi i32 [ %6, %4 ], [ %24, %23 ], [ %32, %31 ], [ 0, %33 ], [ %10, %9 ], [ 0, %11 ]
ret i32 %36
}
declare i64 @__buf_free(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @flush_meta(ptr noundef) local_unnamed_addr #1
declare i64 @_fsync(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_7__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"TYPE_6__", !7, i64 0, !12, i64 8, !7, i64 16}
!15 = !{!14, !7, i64 0}
!16 = !{!14, !12, i64 8}
|
freebsd_lib_libc_db_hash_extr_hash.c_hash_sync
|
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_switch_nx_gfx.c_switch_update_viewport.c'
source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_switch_nx_gfx.c_switch_update_viewport.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { float, float, %struct.TYPE_12__, i32, i64 }
%struct.TYPE_12__ = type { float, float, i32, i32, float, float }
%struct.TYPE_11__ = type { %struct.TYPE_9__, %struct.TYPE_8__ }
%struct.TYPE_9__ = type { i64 }
%struct.TYPE_8__ = type { i64 }
@.str = private unnamed_addr constant [20 x i8] c"[Video] Aspect: %f\0A\00", align 1
@ASPECT_RATIO_CUSTOM = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @switch_update_viewport], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @switch_update_viewport(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call ptr (...) @config_get_ptr() #3
%4 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
%5 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 1
%6 = load <2 x float>, ptr %4, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 4
%8 = load i64, ptr %7, align 8, !tbaa !9
%9 = icmp eq i64 %8, 0
br i1 %9, label %17, label %10
10: ; preds = %2
%11 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 2
%12 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 4
%13 = load <2 x float>, ptr %0, align 8, !tbaa !5
%14 = fsub <2 x float> %6, %13
%15 = fptosi <2 x float> %14 to <2 x i32>
%16 = sdiv <2 x i32> %15, <i32 2, i32 2>
store <2 x i32> %16, ptr %11, align 8, !tbaa !14
store <2 x float> %13, ptr %12, align 8, !tbaa !5
br label %85
17: ; preds = %2
%18 = tail call float (...) @video_driver_get_aspect_ratio() #3
%19 = tail call i32 @printf(ptr noundef nonnull @.str, float noundef %18) #3
%20 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 1
%21 = load i64, ptr %20, align 8, !tbaa !15
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %17
%24 = load float, ptr %4, align 8, !tbaa !19
%25 = load float, ptr %5, align 4, !tbaa !20
%26 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 3
%27 = load i32, ptr %26, align 8, !tbaa !21
%28 = tail call i32 @video_viewport_get_scaled_integer(ptr noundef nonnull %4, float noundef %24, float noundef %25, float noundef %18, i32 noundef %27) #3
br label %85
29: ; preds = %17
%30 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 3
%31 = load i32, ptr %30, align 8, !tbaa !21
%32 = icmp eq i32 %31, 0
br i1 %32, label %81, label %33
33: ; preds = %29
%34 = load float, ptr %4, align 8, !tbaa !19
%35 = load float, ptr %5, align 4, !tbaa !20
%36 = fdiv float %34, %35
%37 = fsub float %36, %18
%38 = tail call float @llvm.fabs.f32(float %37)
%39 = fcmp olt float %38, 0x3F1A36E2E0000000
%40 = extractelement <2 x float> %6, i64 0
%41 = extractelement <2 x float> %6, i64 1
br i1 %39, label %72, label %42
42: ; preds = %33
%43 = fcmp ogt float %36, %18
br i1 %43, label %44, label %58
44: ; preds = %42
%45 = fdiv float %18, %36
%46 = fadd float %45, -1.000000e+00
%47 = fmul float %46, 5.000000e-01
%48 = fadd float %47, 5.000000e-01
%49 = fsub float 5.000000e-01, %48
%50 = fmul float %40, %49
%51 = tail call i64 @roundf(float noundef %50) #3
%52 = trunc i64 %51 to i32
%53 = fmul float %40, 2.000000e+00
%54 = fmul float %53, %48
%55 = tail call i64 @roundf(float noundef %54) #3
%56 = trunc i64 %55 to i32
%57 = uitofp i32 %56 to float
br label %72
58: ; preds = %42
%59 = fdiv float %36, %18
%60 = fadd float %59, -1.000000e+00
%61 = fmul float %60, 5.000000e-01
%62 = fadd float %61, 5.000000e-01
%63 = fsub float 5.000000e-01, %62
%64 = fmul float %41, %63
%65 = tail call i64 @roundf(float noundef %64) #3
%66 = trunc i64 %65 to i32
%67 = fmul float %41, 2.000000e+00
%68 = fmul float %67, %62
%69 = tail call i64 @roundf(float noundef %68) #3
%70 = trunc i64 %69 to i32
%71 = uitofp i32 %70 to float
br label %72
72: ; preds = %44, %58, %33
%73 = phi i32 [ 0, %33 ], [ 0, %44 ], [ %66, %58 ]
%74 = phi float [ %40, %33 ], [ %57, %44 ], [ %40, %58 ]
%75 = phi float [ %41, %33 ], [ %41, %44 ], [ %71, %58 ]
%76 = phi i32 [ 0, %33 ], [ %52, %44 ], [ 0, %58 ]
%77 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 2
store i32 %76, ptr %77, align 8, !tbaa !22
%78 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 3
store i32 %73, ptr %78, align 4, !tbaa !23
%79 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 4
store float %74, ptr %79, align 8, !tbaa !24
%80 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 5
store float %75, ptr %80, align 4, !tbaa !25
br label %85
81: ; preds = %29
%82 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 3
store i32 0, ptr %82, align 4, !tbaa !23
%83 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 2
store i32 0, ptr %83, align 8, !tbaa !22
%84 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 4
store <2 x float> %6, ptr %84, align 8, !tbaa !5
br label %85
85: ; preds = %23, %81, %72, %10
ret void
}
declare ptr @config_get_ptr(...) local_unnamed_addr #1
declare float @video_driver_get_aspect_ratio(...) local_unnamed_addr #1
declare i32 @printf(ptr noundef, float noundef) local_unnamed_addr #1
declare i32 @video_viewport_get_scaled_integer(ptr noundef, float noundef, float noundef, float noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #2
declare i64 @roundf(float 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, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 40}
!10 = !{!"TYPE_10__", !6, i64 0, !6, i64 4, !11, i64 8, !12, i64 32, !13, i64 40}
!11 = !{!"TYPE_12__", !6, i64 0, !6, i64 4, !12, i64 8, !12, i64 12, !6, i64 16, !6, i64 20}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !13, i64 8}
!16 = !{!"TYPE_11__", !17, i64 0, !18, i64 8}
!17 = !{!"TYPE_9__", !13, i64 0}
!18 = !{!"TYPE_8__", !13, i64 0}
!19 = !{!10, !6, i64 8}
!20 = !{!10, !6, i64 12}
!21 = !{!10, !12, i64 32}
!22 = !{!10, !12, i64 16}
!23 = !{!10, !12, i64 20}
!24 = !{!10, !6, i64 24}
!25 = !{!10, !6, i64 28}
|
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_switch_nx_gfx.c_switch_update_viewport.c'
source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_switch_nx_gfx.c_switch_update_viewport.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 [20 x i8] c"[Video] Aspect: %f\0A\00", align 1
@ASPECT_RATIO_CUSTOM = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @switch_update_viewport], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @switch_update_viewport(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = tail call ptr @config_get_ptr() #3
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load float, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 12
%7 = load float, ptr %6, align 4, !tbaa !14
%8 = getelementptr inbounds i8, ptr %0, i64 40
%9 = load i64, ptr %8, align 8, !tbaa !15
%10 = icmp eq i64 %9, 0
br i1 %10, label %25, label %11
11: ; preds = %2
%12 = load float, ptr %0, align 8, !tbaa !16
%13 = getelementptr inbounds i8, ptr %0, i64 4
%14 = load float, ptr %13, align 4, !tbaa !17
%15 = fsub float %5, %12
%16 = fptosi float %15 to i32
%17 = sdiv i32 %16, 2
%18 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %17, ptr %18, align 8, !tbaa !18
%19 = fsub float %7, %14
%20 = fptosi float %19 to i32
%21 = sdiv i32 %20, 2
%22 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %21, ptr %22, align 4, !tbaa !19
%23 = getelementptr inbounds i8, ptr %0, i64 24
store float %12, ptr %23, align 8, !tbaa !20
%24 = getelementptr inbounds i8, ptr %0, i64 28
store float %14, ptr %24, align 4, !tbaa !21
br label %91
25: ; preds = %2
%26 = tail call float @video_driver_get_aspect_ratio() #3
%27 = tail call i32 @printf(ptr noundef nonnull @.str, float noundef %26) #3
%28 = getelementptr inbounds i8, ptr %3, i64 8
%29 = load i64, ptr %28, align 8, !tbaa !22
%30 = icmp eq i64 %29, 0
br i1 %30, label %37, label %31
31: ; preds = %25
%32 = load float, ptr %4, align 8, !tbaa !6
%33 = load float, ptr %6, align 4, !tbaa !14
%34 = getelementptr inbounds i8, ptr %0, i64 32
%35 = load i32, ptr %34, align 8, !tbaa !26
%36 = tail call i32 @video_viewport_get_scaled_integer(ptr noundef nonnull %4, float noundef %32, float noundef %33, float noundef %26, i32 noundef %35) #3
br label %91
37: ; preds = %25
%38 = getelementptr inbounds i8, ptr %0, i64 32
%39 = load i32, ptr %38, align 8, !tbaa !26
%40 = icmp eq i32 %39, 0
br i1 %40, label %87, label %41
41: ; preds = %37
%42 = load float, ptr %4, align 8, !tbaa !6
%43 = load float, ptr %6, align 4, !tbaa !14
%44 = fdiv float %42, %43
%45 = fsub float %44, %26
%46 = tail call float @llvm.fabs.f32(float %45)
%47 = fcmp olt float %46, 0x3F1A36E2E0000000
br i1 %47, label %78, label %48
48: ; preds = %41
%49 = fcmp ogt float %44, %26
br i1 %49, label %50, label %64
50: ; preds = %48
%51 = fdiv float %26, %44
%52 = fadd float %51, -1.000000e+00
%53 = fmul float %52, 5.000000e-01
%54 = fadd float %53, 5.000000e-01
%55 = fsub float 5.000000e-01, %54
%56 = fmul float %5, %55
%57 = tail call i64 @roundf(float noundef %56) #3
%58 = trunc i64 %57 to i32
%59 = fmul float %5, 2.000000e+00
%60 = fmul float %59, %54
%61 = tail call i64 @roundf(float noundef %60) #3
%62 = trunc i64 %61 to i32
%63 = uitofp i32 %62 to float
br label %78
64: ; preds = %48
%65 = fdiv float %44, %26
%66 = fadd float %65, -1.000000e+00
%67 = fmul float %66, 5.000000e-01
%68 = fadd float %67, 5.000000e-01
%69 = fsub float 5.000000e-01, %68
%70 = fmul float %7, %69
%71 = tail call i64 @roundf(float noundef %70) #3
%72 = trunc i64 %71 to i32
%73 = fmul float %7, 2.000000e+00
%74 = fmul float %73, %68
%75 = tail call i64 @roundf(float noundef %74) #3
%76 = trunc i64 %75 to i32
%77 = uitofp i32 %76 to float
br label %78
78: ; preds = %50, %64, %41
%79 = phi i32 [ 0, %41 ], [ 0, %50 ], [ %72, %64 ]
%80 = phi float [ %5, %41 ], [ %63, %50 ], [ %5, %64 ]
%81 = phi float [ %7, %41 ], [ %7, %50 ], [ %77, %64 ]
%82 = phi i32 [ 0, %41 ], [ %58, %50 ], [ 0, %64 ]
%83 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %82, ptr %83, align 8, !tbaa !18
%84 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %79, ptr %84, align 4, !tbaa !19
%85 = getelementptr inbounds i8, ptr %0, i64 24
store float %80, ptr %85, align 8, !tbaa !20
%86 = getelementptr inbounds i8, ptr %0, i64 28
store float %81, ptr %86, align 4, !tbaa !21
br label %91
87: ; preds = %37
%88 = getelementptr inbounds i8, ptr %0, i64 16
store <2 x i32> zeroinitializer, ptr %88, align 8, !tbaa !27
%89 = getelementptr inbounds i8, ptr %0, i64 24
store float %5, ptr %89, align 8, !tbaa !20
%90 = getelementptr inbounds i8, ptr %0, i64 28
store float %7, ptr %90, align 4, !tbaa !21
br label %91
91: ; preds = %31, %87, %78, %11
ret void
}
declare ptr @config_get_ptr(...) local_unnamed_addr #1
declare float @video_driver_get_aspect_ratio(...) local_unnamed_addr #1
declare i32 @printf(ptr noundef, float noundef) local_unnamed_addr #1
declare i32 @video_viewport_get_scaled_integer(ptr noundef, float noundef, float noundef, float noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #2
declare i64 @roundf(float 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_10__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 32, !13, i64 40}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_12__", !8, i64 0, !8, i64 4, !12, i64 8, !12, i64 12, !8, i64 16, !8, i64 20}
!12 = !{!"int", !9, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!7, !8, i64 12}
!15 = !{!7, !13, i64 40}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !8, i64 4}
!18 = !{!7, !12, i64 16}
!19 = !{!7, !12, i64 20}
!20 = !{!7, !8, i64 24}
!21 = !{!7, !8, i64 28}
!22 = !{!23, !13, i64 8}
!23 = !{!"TYPE_11__", !24, i64 0, !25, i64 8}
!24 = !{!"TYPE_9__", !13, i64 0}
!25 = !{!"TYPE_8__", !13, i64 0}
!26 = !{!7, !12, i64 32}
!27 = !{!12, !12, i64 0}
|
RetroArch_gfx_drivers_extr_switch_nx_gfx.c_switch_update_viewport
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_set_wol.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_set_wol.c"
target datalayout = "e-m:e-p270:32:32-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.b44 = type { ptr, i32, i32 }
@WAKE_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@B44_FLAG_WOL_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @b44_set_wol], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @b44_set_wol(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.b44, ptr %3, i64 0, i32 1
%5 = tail call i32 @spin_lock_irq(ptr noundef nonnull %4) #2
%6 = load i32, ptr %1, align 4, !tbaa !5
%7 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !10
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr @B44_FLAG_WOL_ENABLE, align 4, !tbaa !10
br i1 %9, label %15, label %11
11: ; preds = %2
%12 = getelementptr inbounds %struct.b44, ptr %3, i64 0, i32 2
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = or i32 %13, %10
store i32 %14, ptr %12, align 4, !tbaa !11
br label %20
15: ; preds = %2
%16 = xor i32 %10, -1
%17 = getelementptr inbounds %struct.b44, ptr %3, i64 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = and i32 %18, %16
store i32 %19, ptr %17, align 4, !tbaa !11
br label %20
20: ; preds = %15, %11
%21 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %4) #2
%22 = load ptr, ptr %3, align 8, !tbaa !14
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = load i32, ptr %1, align 4, !tbaa !5
%25 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !10
%26 = and i32 %25, %24
%27 = tail call i32 @device_set_wakeup_enable(i32 noundef %23, i32 noundef %26) #2
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @device_set_wakeup_enable(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 = !{!"ethtool_wolinfo", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 12}
!12 = !{!"b44", !13, i64 0, !7, i64 8, !7, i64 12}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!12, !13, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_2__", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_set_wol.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_b44.c_b44_set_wol.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WAKE_MAGIC = common local_unnamed_addr global i32 0, align 4
@B44_FLAG_WOL_ENABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @b44_set_wol], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @b44_set_wol(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = tail call i32 @spin_lock_irq(ptr noundef nonnull %4) #2
%6 = load i32, ptr %1, align 4, !tbaa !6
%7 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !11
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr @B44_FLAG_WOL_ENABLE, align 4, !tbaa !11
br i1 %9, label %15, label %11
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %3, i64 12
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = or i32 %13, %10
store i32 %14, ptr %12, align 4, !tbaa !12
br label %20
15: ; preds = %2
%16 = xor i32 %10, -1
%17 = getelementptr inbounds i8, ptr %3, i64 12
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = and i32 %18, %16
store i32 %19, ptr %17, align 4, !tbaa !12
br label %20
20: ; preds = %15, %11
%21 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %4) #2
%22 = load ptr, ptr %3, align 8, !tbaa !15
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = load i32, ptr %1, align 4, !tbaa !6
%25 = load i32, ptr @WAKE_MAGIC, align 4, !tbaa !11
%26 = and i32 %25, %24
%27 = tail call i32 @device_set_wakeup_enable(i32 noundef %23, i32 noundef %26) #2
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @device_set_wakeup_enable(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 = !{!"ethtool_wolinfo", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 12}
!13 = !{!"b44", !14, i64 0, !8, i64 8, !8, i64 12}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_2__", !8, i64 0}
|
linux_drivers_net_ethernet_broadcom_extr_b44.c_b44_set_wol
|
; ModuleID = 'AnghaBench/radare2/libr/bin/p/extr_bin_dyldcache.c_dumb_ctzll.c'
source_filename = "AnghaBench/radare2/libr/bin/p/extr_bin_dyldcache.c_dumb_ctzll.c"
target datalayout = "e-m:e-p270:32:32-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 @dumb_ctzll], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @dumb_ctzll(i32 noundef %0) #0 {
%2 = and i32 %0, 255
%3 = icmp eq i32 %2, 0
br i1 %3, label %39, label %4
4: ; preds = %43, %39, %1
%5 = phi i32 [ 0, %1 ], [ 8, %39 ], [ %46, %43 ]
%6 = phi i32 [ %0, %1 ], [ %40, %39 ], [ %48, %43 ]
%7 = add nuw nsw i32 %5, 8
%8 = and i32 %6, 1
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %49
10: ; preds = %4
%11 = or disjoint i32 %5, 1
%12 = and i32 %6, 2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %49
14: ; preds = %10
%15 = or disjoint i32 %5, 2
%16 = and i32 %6, 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %49
18: ; preds = %14
%19 = or disjoint i32 %5, 3
%20 = and i32 %6, 8
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %49
22: ; preds = %18
%23 = or disjoint i32 %5, 4
%24 = and i32 %6, 16
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %49
26: ; preds = %22
%27 = or disjoint i32 %5, 5
%28 = and i32 %6, 32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %49
30: ; preds = %26
%31 = or disjoint i32 %5, 6
%32 = and i32 %6, 64
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %49
34: ; preds = %30
%35 = or disjoint i32 %5, 7
%36 = and i32 %6, 128
%37 = icmp eq i32 %36, 0
%38 = select i1 %37, i32 %7, i32 %35
br label %49
39: ; preds = %1
%40 = ashr exact i32 %0, 8
%41 = and i32 %0, 65280
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %4
43: ; preds = %39
%44 = and i32 %0, 16711680
%45 = icmp eq i32 %44, 0
%46 = select i1 %45, i32 24, i32 16
%47 = select i1 %45, i32 24, i32 16
%48 = ashr exact i32 %0, %47
br label %4
49: ; preds = %34, %4, %10, %14, %18, %22, %26, %30
%50 = phi i32 [ %5, %4 ], [ %11, %10 ], [ %15, %14 ], [ %19, %18 ], [ %23, %22 ], [ %27, %26 ], [ %31, %30 ], [ %38, %34 ]
ret i32 %50
}
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/radare2/libr/bin/p/extr_bin_dyldcache.c_dumb_ctzll.c'
source_filename = "AnghaBench/radare2/libr/bin/p/extr_bin_dyldcache.c_dumb_ctzll.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 @dumb_ctzll], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal i32 @dumb_ctzll(i32 noundef %0) #0 {
%2 = and i32 %0, 255
%3 = icmp eq i32 %2, 0
br i1 %3, label %39, label %4
4: ; preds = %43, %39, %1
%5 = phi i32 [ 0, %1 ], [ 8, %39 ], [ %46, %43 ]
%6 = phi i32 [ %0, %1 ], [ %40, %39 ], [ %47, %43 ]
%7 = add nuw nsw i32 %5, 8
%8 = and i32 %6, 1
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %48
10: ; preds = %4
%11 = or disjoint i32 %5, 1
%12 = and i32 %6, 2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %48
14: ; preds = %10
%15 = or disjoint i32 %5, 2
%16 = and i32 %6, 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %48
18: ; preds = %14
%19 = or disjoint i32 %5, 3
%20 = and i32 %6, 8
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %48
22: ; preds = %18
%23 = or disjoint i32 %5, 4
%24 = and i32 %6, 16
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %48
26: ; preds = %22
%27 = or disjoint i32 %5, 5
%28 = and i32 %6, 32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %48
30: ; preds = %26
%31 = or disjoint i32 %5, 6
%32 = and i32 %6, 64
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %48
34: ; preds = %30
%35 = or disjoint i32 %5, 7
%36 = and i32 %6, 128
%37 = icmp eq i32 %36, 0
%38 = select i1 %37, i32 %7, i32 %35
br label %48
39: ; preds = %1
%40 = ashr exact i32 %0, 8
%41 = and i32 %0, 65280
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %4
43: ; preds = %39
%44 = and i32 %0, 16711680
%45 = icmp eq i32 %44, 0
%46 = select i1 %45, i32 24, i32 16
%47 = ashr exact i32 %0, %46
br label %4
48: ; preds = %34, %4, %10, %14, %18, %22, %26, %30
%49 = phi i32 [ %5, %4 ], [ %11, %10 ], [ %15, %14 ], [ %19, %18 ], [ %23, %22 ], [ %27, %26 ], [ %31, %30 ], [ %38, %34 ]
ret i32 %49
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
radare2_libr_bin_p_extr_bin_dyldcache.c_dumb_ctzll
|
; ModuleID = 'AnghaBench/esp-idf/components/fatfs/test/esp32/extr_test_fatfs_sdmmc.c_test_setup.c'
source_filename = "AnghaBench/esp-idf/components/fatfs/test/esp32/extr_test_fatfs_sdmmc.c_test_setup.c"
target datalayout = "e-m:e-p270:32:32-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 }
@__const.test_setup.mount_config = private unnamed_addr constant %struct.TYPE_3__ { i32 1, i32 5, i32 16384 }, align 4
@.str = private unnamed_addr constant [8 x i8] c"/sdcard\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_setup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_setup() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.TYPE_3__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
%4 = tail call i32 (...) @SDMMC_HOST_DEFAULT() #4
store i32 %4, ptr %1, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%5 = tail call i32 (...) @SDMMC_SLOT_CONFIG_DEFAULT() #4
store i32 %5, ptr %2, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) @__const.test_setup.mount_config, i64 12, i1 false)
%6 = call i32 @esp_vfs_fat_sdmmc_mount(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef null) #4
%7 = call i32 @TEST_ESP_OK(i32 noundef %6) #4
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
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 @SDMMC_HOST_DEFAULT(...) local_unnamed_addr #2
declare i32 @SDMMC_SLOT_CONFIG_DEFAULT(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @TEST_ESP_OK(i32 noundef) local_unnamed_addr #2
declare i32 @esp_vfs_fat_sdmmc_mount(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/esp-idf/components/fatfs/test/esp32/extr_test_fatfs_sdmmc.c_test_setup.c'
source_filename = "AnghaBench/esp-idf/components/fatfs/test/esp32/extr_test_fatfs_sdmmc.c_test_setup.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 { i32, i32, i32 }
@__const.test_setup.mount_config = private unnamed_addr constant %struct.TYPE_3__ { i32 1, i32 5, i32 16384 }, align 4
@.str = private unnamed_addr constant [8 x i8] c"/sdcard\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_setup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_setup() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.TYPE_3__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
%4 = tail call i32 @SDMMC_HOST_DEFAULT() #4
store i32 %4, ptr %1, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
%5 = tail call i32 @SDMMC_SLOT_CONFIG_DEFAULT() #4
store i32 %5, ptr %2, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) @__const.test_setup.mount_config, i64 12, i1 false)
%6 = call i32 @esp_vfs_fat_sdmmc_mount(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef null) #4
%7 = call i32 @TEST_ESP_OK(i32 noundef %6) #4
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
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 @SDMMC_HOST_DEFAULT(...) local_unnamed_addr #2
declare i32 @SDMMC_SLOT_CONFIG_DEFAULT(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @TEST_ESP_OK(i32 noundef) local_unnamed_addr #2
declare i32 @esp_vfs_fat_sdmmc_mount(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
esp-idf_components_fatfs_test_esp32_extr_test_fatfs_sdmmc.c_test_setup
|
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/scif/extr_scif_peer_bus.c_scif_peer_register_device.c'
source_filename = "AnghaBench/linux/drivers/misc/mic/scif/extr_scif_peer_bus.c_scif_peer_register_device.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.scif_dev = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @scif_peer_register_device(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mutex_lock(ptr noundef %0) #2
%3 = tail call i32 @scif_peer_initialize_device(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = getelementptr inbounds %struct.scif_dev, ptr %0, i64 0, i32 1
%7 = tail call i32 @schedule_work(ptr noundef nonnull %6) #2
br label %8
8: ; preds = %1, %5
%9 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @scif_peer_initialize_device(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/scif/extr_scif_peer_bus.c_scif_peer_register_device.c'
source_filename = "AnghaBench/linux/drivers/misc/mic/scif/extr_scif_peer_bus.c_scif_peer_register_device.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 @scif_peer_register_device(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @mutex_lock(ptr noundef %0) #2
%3 = tail call i32 @scif_peer_initialize_device(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = tail call i32 @schedule_work(ptr noundef nonnull %6) #2
br label %8
8: ; preds = %1, %5
%9 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @scif_peer_initialize_device(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_drivers_misc_mic_scif_extr_scif_peer_bus.c_scif_peer_register_device
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_l2_stop_multi.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_l2_stop_multi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i32 }
@ST_L2_4 = dso_local local_unnamed_addr global i32 0, align 4
@UA = dso_local local_unnamed_addr global i32 0, align 4
@RSP = dso_local local_unnamed_addr global i32 0, align 4
@INDICATION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @l2_stop_multi], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @l2_stop_multi(ptr noundef %0, i32 %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr @ST_L2_4, align 4, !tbaa !10
%6 = tail call i32 @FsmChangeState(ptr noundef nonnull %0, i32 noundef %5) #2
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1
%8 = tail call i32 @FsmDelTimer(ptr noundef nonnull %7, i32 noundef 3) #2
%9 = tail call i32 @stop_t200(ptr noundef %4, i32 noundef 4) #2
%10 = load i32, ptr @UA, align 4, !tbaa !10
%11 = tail call i32 @get_PollFlagFree(ptr noundef %4, ptr noundef %2) #2
%12 = or i32 %11, %10
%13 = load i32, ptr @RSP, align 4, !tbaa !10
%14 = tail call i32 @send_uframe(ptr noundef %4, i32 noundef %12, i32 noundef %13) #2
%15 = tail call i32 @skb_queue_purge(ptr noundef %4) #2
%16 = tail call i32 @freewin(ptr noundef %4) #2
%17 = load i32, ptr @INDICATION, align 4, !tbaa !10
%18 = tail call i32 @lapb_dl_release_l2l3(ptr noundef %4, i32 noundef %17) #2
ret void
}
declare i32 @FsmChangeState(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FsmDelTimer(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @stop_t200(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @send_uframe(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_PollFlagFree(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skb_queue_purge(ptr noundef) local_unnamed_addr #1
declare i32 @freewin(ptr noundef) local_unnamed_addr #1
declare i32 @lapb_dl_release_l2l3(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 = !{!"FsmInst", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_l2_stop_multi.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_isdnl2.c_l2_stop_multi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ST_L2_4 = common local_unnamed_addr global i32 0, align 4
@UA = common local_unnamed_addr global i32 0, align 4
@RSP = common local_unnamed_addr global i32 0, align 4
@INDICATION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @l2_stop_multi], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @l2_stop_multi(ptr noundef %0, i32 %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr @ST_L2_4, align 4, !tbaa !11
%6 = tail call i32 @FsmChangeState(ptr noundef nonnull %0, i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %4, i64 4
%8 = tail call i32 @FsmDelTimer(ptr noundef nonnull %7, i32 noundef 3) #2
%9 = tail call i32 @stop_t200(ptr noundef %4, i32 noundef 4) #2
%10 = load i32, ptr @UA, align 4, !tbaa !11
%11 = tail call i32 @get_PollFlagFree(ptr noundef %4, ptr noundef %2) #2
%12 = or i32 %11, %10
%13 = load i32, ptr @RSP, align 4, !tbaa !11
%14 = tail call i32 @send_uframe(ptr noundef %4, i32 noundef %12, i32 noundef %13) #2
%15 = tail call i32 @skb_queue_purge(ptr noundef %4) #2
%16 = tail call i32 @freewin(ptr noundef %4) #2
%17 = load i32, ptr @INDICATION, align 4, !tbaa !11
%18 = tail call i32 @lapb_dl_release_l2l3(ptr noundef %4, i32 noundef %17) #2
ret void
}
declare i32 @FsmChangeState(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FsmDelTimer(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @stop_t200(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @send_uframe(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_PollFlagFree(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @skb_queue_purge(ptr noundef) local_unnamed_addr #1
declare i32 @freewin(ptr noundef) local_unnamed_addr #1
declare i32 @lapb_dl_release_l2l3(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 = !{!"FsmInst", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
|
fastsocket_kernel_drivers_isdn_hisax_extr_isdnl2.c_l2_stop_multi
|
; ModuleID = 'AnghaBench/radare2/shlr/grub/fs/extr_nilfs2.c_grub_nilfs2_direct_lookup.c'
source_filename = "AnghaBench/radare2/shlr/grub/fs/extr_nilfs2.c_grub_nilfs2_direct_lookup.c"
target datalayout = "e-m:e-p270:32:32-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 @grub_nilfs2_direct_lookup], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @grub_nilfs2_direct_lookup(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = sext i32 %1 to i64
%5 = getelementptr i32, ptr %3, i64 %4
%6 = getelementptr i32, ptr %5, i64 1
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = tail call i32 @grub_le_to_cpu64(i32 noundef %7) #2
ret i32 %8
}
declare i32 @grub_le_to_cpu64(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"grub_nilfs2_inode", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/radare2/shlr/grub/fs/extr_nilfs2.c_grub_nilfs2_direct_lookup.c'
source_filename = "AnghaBench/radare2/shlr/grub/fs/extr_nilfs2.c_grub_nilfs2_direct_lookup.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 @grub_nilfs2_direct_lookup], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @grub_nilfs2_direct_lookup(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = sext i32 %1 to i64
%5 = getelementptr i32, ptr %3, i64 %4
%6 = getelementptr i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = tail call i32 @grub_le_to_cpu64(i32 noundef %7) #2
ret i32 %8
}
declare i32 @grub_le_to_cpu64(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"grub_nilfs2_inode", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
|
radare2_shlr_grub_fs_extr_nilfs2.c_grub_nilfs2_direct_lookup
|
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_loslib.c_os_clock.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_loslib.c_os_clock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CLOCKS_PER_SEC = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @os_clock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @os_clock(ptr noundef %0) #0 {
%2 = tail call i64 (...) @clock() #2
%3 = trunc i64 %2 to i32
%4 = load i64, ptr @CLOCKS_PER_SEC, align 8, !tbaa !5
%5 = trunc i64 %4 to i32
%6 = sdiv i32 %3, %5
%7 = tail call i32 @lua_pushnumber(ptr noundef %0, i32 noundef %6) #2
ret i32 1
}
declare i32 @lua_pushnumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @clock(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/skynet/3rd/lua/extr_loslib.c_os_clock.c'
source_filename = "AnghaBench/skynet/3rd/lua/extr_loslib.c_os_clock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CLOCKS_PER_SEC = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @os_clock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @os_clock(ptr noundef %0) #0 {
%2 = tail call i64 @clock() #2
%3 = trunc i64 %2 to i32
%4 = load i64, ptr @CLOCKS_PER_SEC, align 8, !tbaa !6
%5 = trunc i64 %4 to i32
%6 = sdiv i32 %3, %5
%7 = tail call i32 @lua_pushnumber(ptr noundef %0, i32 noundef %6) #2
ret i32 1
}
declare i32 @lua_pushnumber(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @clock(...) 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"}
|
skynet_3rd_lua_extr_loslib.c_os_clock
|
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_Curl_updatesocket.c'
source_filename = "AnghaBench/curl/lib/extr_multi.c_Curl_updatesocket.c"
target datalayout = "e-m:e-p270:32:32-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 @Curl_updatesocket(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @singlesocket(i32 noundef %2, ptr noundef nonnull %0) #2
ret void
}
declare i32 @singlesocket(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"Curl_easy", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_Curl_updatesocket.c'
source_filename = "AnghaBench/curl/lib/extr_multi.c_Curl_updatesocket.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 @Curl_updatesocket(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @singlesocket(i32 noundef %2, ptr noundef nonnull %0) #2
ret void
}
declare i32 @singlesocket(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"Curl_easy", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
curl_lib_extr_multi.c_Curl_updatesocket
|
; ModuleID = 'AnghaBench/linux/drivers/crypto/hisilicon/sec/extr_sec_algs.c_sec_alg_skcipher_setkey_des_cbc.c'
source_filename = "AnghaBench/linux/drivers/crypto/hisilicon/sec/extr_sec_algs.c_sec_alg_skcipher_setkey_des_cbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SEC_C_DES_CBC_64 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sec_alg_skcipher_setkey_des_cbc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sec_alg_skcipher_setkey_des_cbc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @verify_skcipher_des_key(ptr noundef %0, ptr noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = load i32, ptr @SEC_C_DES_CBC_64, align 4, !tbaa !5
%8 = tail call i32 @sec_alg_skcipher_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %7) #2
%9 = zext i32 %8 to i64
br label %10
10: ; preds = %3, %6
%11 = phi i64 [ %9, %6 ], [ %4, %3 ]
%12 = trunc i64 %11 to i32
ret i32 %12
}
declare i64 @verify_skcipher_des_key(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sec_alg_skcipher_setkey(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/crypto/hisilicon/sec/extr_sec_algs.c_sec_alg_skcipher_setkey_des_cbc.c'
source_filename = "AnghaBench/linux/drivers/crypto/hisilicon/sec/extr_sec_algs.c_sec_alg_skcipher_setkey_des_cbc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SEC_C_DES_CBC_64 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sec_alg_skcipher_setkey_des_cbc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sec_alg_skcipher_setkey_des_cbc(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @verify_skcipher_des_key(ptr noundef %0, ptr noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = load i32, ptr @SEC_C_DES_CBC_64, align 4, !tbaa !6
%8 = tail call i32 @sec_alg_skcipher_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %7) #2
%9 = zext i32 %8 to i64
br label %10
10: ; preds = %3, %6
%11 = phi i64 [ %9, %6 ], [ %4, %3 ]
%12 = trunc i64 %11 to i32
ret i32 %12
}
declare i64 @verify_skcipher_des_key(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sec_alg_skcipher_setkey(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_crypto_hisilicon_sec_extr_sec_algs.c_sec_alg_skcipher_setkey_des_cbc
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/ttm/extr_ttm_bo_util.c_ttm_bo_free_old_node.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/ttm/extr_ttm_bo_util.c_ttm_bo_free_old_node.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @ttm_bo_free_old_node(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @ttm_bo_mem_put(ptr noundef %0, ptr noundef %0) #2
ret void
}
declare i32 @ttm_bo_mem_put(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/ttm/extr_ttm_bo_util.c_ttm_bo_free_old_node.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/ttm/extr_ttm_bo_util.c_ttm_bo_free_old_node.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 @ttm_bo_free_old_node(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @ttm_bo_mem_put(ptr noundef %0, ptr noundef %0) #2
ret void
}
declare i32 @ttm_bo_mem_put(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_drivers_gpu_drm_ttm_extr_ttm_bo_util.c_ttm_bo_free_old_node
|
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_assert_reopen_fd.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_assert_reopen_fd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"/proc/self/fd/%d\00", align 1
@O_RDWR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"re-open of existing fd %d failed\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mfd_assert_reopen_fd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mfd_assert_reopen_fd(i32 noundef %0) #0 {
%2 = alloca [100 x i8], align 16
call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %2) #4
%3 = call i32 @sprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str, i32 noundef %0) #4
%4 = load i32, ptr @O_RDWR, align 4, !tbaa !5
%5 = call i32 @open(ptr noundef nonnull %2, i32 noundef %4) #4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %0) #4
%9 = call i32 (...) @abort() #5
unreachable
10: ; preds = %1
call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %2) #4
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @abort(...) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_assert_reopen_fd.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/memfd/extr_memfd_test.c_mfd_assert_reopen_fd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [17 x i8] c"/proc/self/fd/%d\00", align 1
@O_RDWR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"re-open of existing fd %d failed\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mfd_assert_reopen_fd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, -2147483648) i32 @mfd_assert_reopen_fd(i32 noundef %0) #0 {
%2 = alloca [100 x i8], align 1
call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %2) #4
%3 = call i32 @sprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str, i32 noundef %0) #4
%4 = load i32, ptr @O_RDWR, align 4, !tbaa !6
%5 = call i32 @open(ptr noundef nonnull %2, i32 noundef %4) #4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %0) #4
%9 = call i32 @abort() #5
unreachable
10: ; preds = %1
call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %2) #4
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @abort(...) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_tools_testing_selftests_memfd_extr_memfd_test.c_mfd_assert_reopen_fd
|
; ModuleID = 'AnghaBench/linux/drivers/nfc/extr_trf7970a.c_trf7970a_remove.c'
source_filename = "AnghaBench/linux/drivers/nfc/extr_trf7970a.c_trf7970a_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.trf7970a = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @trf7970a_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @trf7970a_remove(ptr noundef %0) #0 {
%2 = tail call ptr @spi_get_drvdata(ptr noundef %0) #2
%3 = tail call i32 @mutex_lock(ptr noundef %2) #2
%4 = tail call i32 @trf7970a_shutdown(ptr noundef %2) #2
%5 = tail call i32 @mutex_unlock(ptr noundef %2) #2
%6 = getelementptr inbounds %struct.trf7970a, ptr %2, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call i32 @nfc_digital_unregister_device(i32 noundef %7) #2
%9 = load i32, ptr %6, align 4, !tbaa !5
%10 = tail call i32 @nfc_digital_free_device(i32 noundef %9) #2
%11 = getelementptr inbounds %struct.trf7970a, ptr %2, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = tail call i32 @regulator_disable(i32 noundef %12) #2
%14 = tail call i32 @mutex_destroy(ptr noundef %2) #2
ret i32 0
}
declare ptr @spi_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @trf7970a_shutdown(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @nfc_digital_unregister_device(i32 noundef) local_unnamed_addr #1
declare i32 @nfc_digital_free_device(i32 noundef) local_unnamed_addr #1
declare i32 @regulator_disable(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"trf7970a", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/nfc/extr_trf7970a.c_trf7970a_remove.c'
source_filename = "AnghaBench/linux/drivers/nfc/extr_trf7970a.c_trf7970a_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @trf7970a_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @trf7970a_remove(ptr noundef %0) #0 {
%2 = tail call ptr @spi_get_drvdata(ptr noundef %0) #2
%3 = tail call i32 @mutex_lock(ptr noundef %2) #2
%4 = tail call i32 @trf7970a_shutdown(ptr noundef %2) #2
%5 = tail call i32 @mutex_unlock(ptr noundef %2) #2
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call i32 @nfc_digital_unregister_device(i32 noundef %7) #2
%9 = load i32, ptr %6, align 4, !tbaa !6
%10 = tail call i32 @nfc_digital_free_device(i32 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %2, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = tail call i32 @regulator_disable(i32 noundef %12) #2
%14 = tail call i32 @mutex_destroy(ptr noundef %2) #2
ret i32 0
}
declare ptr @spi_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @trf7970a_shutdown(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @nfc_digital_unregister_device(i32 noundef) local_unnamed_addr #1
declare i32 @nfc_digital_free_device(i32 noundef) local_unnamed_addr #1
declare i32 @regulator_disable(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"trf7970a", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
|
linux_drivers_nfc_extr_trf7970a.c_trf7970a_remove
|
; ModuleID = 'AnghaBench/redis/src/extr_redis-cli.c_clusterManagerNodeWithLeastReplicas.c'
source_filename = "AnghaBench/redis/src/extr_redis-cli.c_clusterManagerNodeWithLeastReplicas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_7__ = type { i32, i32 }
@cluster_manager = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4
@CLUSTER_MANAGER_FLAG_SLAVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @clusterManagerNodeWithLeastReplicas], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @clusterManagerNodeWithLeastReplicas() #0 {
%1 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
%2 = load i32, ptr @cluster_manager, align 4, !tbaa !5
%3 = call i32 @listRewind(i32 noundef %2, ptr noundef nonnull %1) #4
%4 = call ptr @listNext(ptr noundef nonnull %1) #4
%5 = icmp eq ptr %4, null
br i1 %5, label %28, label %6
6: ; preds = %0, %23
%7 = phi ptr [ %26, %23 ], [ %4, %0 ]
%8 = phi ptr [ %25, %23 ], [ null, %0 ]
%9 = phi i32 [ %24, %23 ], [ 0, %0 ]
%10 = load ptr, ptr %7, align 8, !tbaa !10
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = load i32, ptr @CLUSTER_MANAGER_FLAG_SLAVE, align 4, !tbaa !15
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %23, !llvm.loop !16
15: ; preds = %6
%16 = icmp eq ptr %8, null
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %10, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !18
br i1 %16, label %23, label %19
19: ; preds = %15
%20 = icmp slt i32 %18, %9
%21 = call i32 @llvm.smin.i32(i32 %18, i32 %9)
%22 = select i1 %20, ptr %10, ptr %8
br label %23
23: ; preds = %19, %15, %6
%24 = phi i32 [ %9, %6 ], [ %18, %15 ], [ %21, %19 ]
%25 = phi ptr [ %8, %6 ], [ %10, %15 ], [ %22, %19 ]
%26 = call ptr @listNext(ptr noundef nonnull %1) #4
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %6
28: ; preds = %23, %0
%29 = phi ptr [ null, %0 ], [ %25, %23 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
ret ptr %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @listRewind(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @listNext(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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_8__", !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_6__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_7__", !7, i64 0, !7, i64 4}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!14, !7, i64 4}
|
; ModuleID = 'AnghaBench/redis/src/extr_redis-cli.c_clusterManagerNodeWithLeastReplicas.c'
source_filename = "AnghaBench/redis/src/extr_redis-cli.c_clusterManagerNodeWithLeastReplicas.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i32 }
@cluster_manager = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4
@CLUSTER_MANAGER_FLAG_SLAVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @clusterManagerNodeWithLeastReplicas], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @clusterManagerNodeWithLeastReplicas() #0 {
%1 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
%2 = load i32, ptr @cluster_manager, align 4, !tbaa !6
%3 = call i32 @listRewind(i32 noundef %2, ptr noundef nonnull %1) #3
%4 = call ptr @listNext(ptr noundef nonnull %1) #3
%5 = icmp eq ptr %4, null
br i1 %5, label %28, label %6
6: ; preds = %0, %23
%7 = phi ptr [ %26, %23 ], [ %4, %0 ]
%8 = phi ptr [ %25, %23 ], [ null, %0 ]
%9 = phi i32 [ %24, %23 ], [ 0, %0 ]
%10 = load ptr, ptr %7, align 8, !tbaa !11
%11 = load i32, ptr %10, align 4, !tbaa !14
%12 = load i32, ptr @CLUSTER_MANAGER_FLAG_SLAVE, align 4, !tbaa !16
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %23, !llvm.loop !17
15: ; preds = %6
%16 = icmp eq ptr %8, null
%17 = getelementptr inbounds i8, ptr %10, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !19
%19 = icmp slt i32 %18, %9
%20 = select i1 %16, i1 true, i1 %19
%21 = select i1 %20, i32 %18, i32 %9
%22 = select i1 %20, ptr %10, ptr %8
br label %23
23: ; preds = %15, %6
%24 = phi i32 [ %9, %6 ], [ %21, %15 ]
%25 = phi ptr [ %8, %6 ], [ %22, %15 ]
%26 = call ptr @listNext(ptr noundef nonnull %1) #3
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %6
28: ; preds = %23, %0
%29 = phi ptr [ null, %0 ], [ %25, %23 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret ptr %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @listRewind(i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @listNext(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_7__", !8, i64 0, !8, i64 4}
!16 = !{!8, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!15, !8, i64 4}
|
redis_src_extr_redis-cli.c_clusterManagerNodeWithLeastReplicas
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.