IR_x86
stringlengths 592
249k
| IR_arm
stringlengths 558
250k
| filename
stringlengths 17
191
|
---|---|---|
; ModuleID = 'AnghaBench/linux/arch/mips/jazz/extr_jazzdma.c_vdma_disable.c'
source_filename = "AnghaBench/linux/arch/mips/jazz/extr_jazzdma.c_vdma_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"
@vdma_debug = dso_local local_unnamed_addr global i64 0, align 8
@JAZZ_R4030_CHNL_ENABLE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"vdma_disable: channel %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [70 x i8] c"VDMA: channel %d status: %04x (%s) mode: %02x addr: %06x count: %06x\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"ERROR\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"OK\00", align 1
@JAZZ_R4030_CHNL_MODE = dso_local local_unnamed_addr global i64 0, align 8
@JAZZ_R4030_CHNL_ADDR = dso_local local_unnamed_addr global i64 0, align 8
@JAZZ_R4030_CHNL_COUNT = dso_local local_unnamed_addr global i64 0, align 8
@R4030_CHNL_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@JAZZ_DUMMY_DEVICE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @vdma_disable(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @vdma_debug, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = shl i32 %0, 5
%6 = sext i32 %5 to i64
br label %27
7: ; preds = %1
%8 = load i64, ptr @JAZZ_R4030_CHNL_ENABLE, align 8, !tbaa !5
%9 = shl i32 %0, 5
%10 = sext i32 %9 to i64
%11 = add nsw i64 %8, %10
%12 = tail call i32 @r4030_read_reg32(i64 noundef %11) #2
%13 = tail call i32 (ptr, i32, ...) @printk(ptr noundef nonnull @.str, i32 noundef %0) #2
%14 = and i32 %12, 1536
%15 = icmp eq i32 %14, 0
%16 = select i1 %15, ptr @.str.3, ptr @.str.2
%17 = load i64, ptr @JAZZ_R4030_CHNL_MODE, align 8, !tbaa !5
%18 = add nsw i64 %17, %10
%19 = tail call i32 @r4030_read_reg32(i64 noundef %18) #2
%20 = load i64, ptr @JAZZ_R4030_CHNL_ADDR, align 8, !tbaa !5
%21 = add nsw i64 %20, %10
%22 = tail call i32 @r4030_read_reg32(i64 noundef %21) #2
%23 = load i64, ptr @JAZZ_R4030_CHNL_COUNT, align 8, !tbaa !5
%24 = add nsw i64 %23, %10
%25 = tail call i32 @r4030_read_reg32(i64 noundef %24) #2
%26 = tail call i32 (ptr, i32, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %0, i32 noundef %12, ptr noundef nonnull %16, i32 noundef %19, i32 noundef %22, i32 noundef %25) #2
br label %27
27: ; preds = %4, %7
%28 = phi i64 [ %6, %4 ], [ %10, %7 ]
%29 = load i64, ptr @JAZZ_R4030_CHNL_ENABLE, align 8, !tbaa !5
%30 = add nsw i64 %29, %28
%31 = tail call i32 @r4030_read_reg32(i64 noundef %30) #2
%32 = load i32, ptr @R4030_CHNL_ENABLE, align 4, !tbaa !9
%33 = xor i32 %32, -1
%34 = and i32 %31, %33
%35 = tail call i32 @r4030_write_reg32(i64 noundef %30, i32 noundef %34) #2
%36 = load i64, ptr @JAZZ_DUMMY_DEVICE, align 8, !tbaa !5
%37 = inttoptr i64 %36 to ptr
%38 = load volatile i32, ptr %37, align 4, !tbaa !9
ret void
}
declare i32 @r4030_read_reg32(i64 noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @r4030_write_reg32(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/arch/mips/jazz/extr_jazzdma.c_vdma_disable.c'
source_filename = "AnghaBench/linux/arch/mips/jazz/extr_jazzdma.c_vdma_disable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vdma_debug = common local_unnamed_addr global i64 0, align 8
@JAZZ_R4030_CHNL_ENABLE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [26 x i8] c"vdma_disable: channel %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [70 x i8] c"VDMA: channel %d status: %04x (%s) mode: %02x addr: %06x count: %06x\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"ERROR\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"OK\00", align 1
@JAZZ_R4030_CHNL_MODE = common local_unnamed_addr global i64 0, align 8
@JAZZ_R4030_CHNL_ADDR = common local_unnamed_addr global i64 0, align 8
@JAZZ_R4030_CHNL_COUNT = common local_unnamed_addr global i64 0, align 8
@R4030_CHNL_ENABLE = common local_unnamed_addr global i32 0, align 4
@JAZZ_DUMMY_DEVICE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @vdma_disable(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @vdma_debug, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = shl i32 %0, 5
%6 = sext i32 %5 to i64
br label %27
7: ; preds = %1
%8 = load i64, ptr @JAZZ_R4030_CHNL_ENABLE, align 8, !tbaa !6
%9 = shl i32 %0, 5
%10 = sext i32 %9 to i64
%11 = add nsw i64 %8, %10
%12 = tail call i32 @r4030_read_reg32(i64 noundef %11) #2
%13 = tail call i32 (ptr, i32, ...) @printk(ptr noundef nonnull @.str, i32 noundef %0) #2
%14 = and i32 %12, 1536
%15 = icmp eq i32 %14, 0
%16 = select i1 %15, ptr @.str.3, ptr @.str.2
%17 = load i64, ptr @JAZZ_R4030_CHNL_MODE, align 8, !tbaa !6
%18 = add nsw i64 %17, %10
%19 = tail call i32 @r4030_read_reg32(i64 noundef %18) #2
%20 = load i64, ptr @JAZZ_R4030_CHNL_ADDR, align 8, !tbaa !6
%21 = add nsw i64 %20, %10
%22 = tail call i32 @r4030_read_reg32(i64 noundef %21) #2
%23 = load i64, ptr @JAZZ_R4030_CHNL_COUNT, align 8, !tbaa !6
%24 = add nsw i64 %23, %10
%25 = tail call i32 @r4030_read_reg32(i64 noundef %24) #2
%26 = tail call i32 (ptr, i32, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %0, i32 noundef %12, ptr noundef nonnull %16, i32 noundef %19, i32 noundef %22, i32 noundef %25) #2
br label %27
27: ; preds = %4, %7
%28 = phi i64 [ %6, %4 ], [ %10, %7 ]
%29 = load i64, ptr @JAZZ_R4030_CHNL_ENABLE, align 8, !tbaa !6
%30 = add nsw i64 %29, %28
%31 = tail call i32 @r4030_read_reg32(i64 noundef %30) #2
%32 = load i32, ptr @R4030_CHNL_ENABLE, align 4, !tbaa !10
%33 = xor i32 %32, -1
%34 = and i32 %31, %33
%35 = tail call i32 @r4030_write_reg32(i64 noundef %30, i32 noundef %34) #2
%36 = load i64, ptr @JAZZ_DUMMY_DEVICE, align 8, !tbaa !6
%37 = inttoptr i64 %36 to ptr
%38 = load volatile i32, ptr %37, align 4, !tbaa !10
ret void
}
declare i32 @r4030_read_reg32(i64 noundef) local_unnamed_addr #1
declare i32 @printk(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @r4030_write_reg32(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
linux_arch_mips_jazz_extr_jazzdma.c_vdma_disable
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_osl.c_acpi_os_hotplug_execute.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_osl.c_acpi_os_hotplug_execute.c"
target datalayout = "e-m:e-p270:32:32-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_os_hotplug_execute(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @__acpi_os_execute(i32 noundef 0, i32 noundef %0, ptr noundef %1, i32 noundef 1) #2
ret i32 %3
}
declare i32 @__acpi_os_execute(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_osl.c_acpi_os_hotplug_execute.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_osl.c_acpi_os_hotplug_execute.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_os_hotplug_execute(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @__acpi_os_execute(i32 noundef 0, i32 noundef %0, ptr noundef %1, i32 noundef 1) #2
ret i32 %3
}
declare i32 @__acpi_os_execute(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_drivers_acpi_extr_osl.c_acpi_os_hotplug_execute
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_vpm.c_X509_VERIFY_PARAM_get_depth.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_vpm.c_X509_VERIFY_PARAM_get_depth.c"
target datalayout = "e-m:e-p270:32:32-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 @X509_VERIFY_PARAM_get_depth(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_vpm.c_X509_VERIFY_PARAM_get_depth.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_vpm.c_X509_VERIFY_PARAM_get_depth.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define i32 @X509_VERIFY_PARAM_get_depth(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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"}
|
freebsd_crypto_openssl_crypto_x509_extr_x509_vpm.c_X509_VERIFY_PARAM_get_depth
|
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_trackbar.c_TRACKBAR_SetPos.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_trackbar.c_TRACKBAR_SetPos.c"
target datalayout = "e-m:e-p270:32:32-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 { i64, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @TRACKBAR_SetPos], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @TRACKBAR_SetPos(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = tail call i64 @llvm.smax.i64(i64 %6, i64 %2)
%8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = tail call i64 @llvm.smin.i64(i64 %7, i64 %9)
store i64 %10, ptr %0, align 8
%11 = icmp eq i64 %1, 0
%12 = icmp eq i64 %4, %2
%13 = select i1 %11, i1 true, i1 %12
br i1 %13, label %17, label %14
14: ; preds = %3
%15 = tail call i32 @TRACKBAR_UpdateThumb(ptr noundef nonnull %0) #3
%16 = tail call i32 @TRACKBAR_InvalidateThumbMove(ptr noundef nonnull %0, i64 noundef %4, i64 noundef %2) #3
br label %17
17: ; preds = %14, %3
ret i32 0
}
declare i32 @TRACKBAR_UpdateThumb(ptr noundef) local_unnamed_addr #1
declare i32 @TRACKBAR_InvalidateThumbMove(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 16}
|
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_trackbar.c_TRACKBAR_SetPos.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_trackbar.c_TRACKBAR_SetPos.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 @TRACKBAR_SetPos], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal noundef i32 @TRACKBAR_SetPos(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = tail call i64 @llvm.smax.i64(i64 %6, i64 %2)
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = tail call i64 @llvm.smin.i64(i64 %7, i64 %9)
store i64 %10, ptr %0, align 8
%11 = icmp eq i64 %1, 0
%12 = icmp eq i64 %4, %2
%13 = select i1 %11, i1 true, i1 %12
br i1 %13, label %17, label %14
14: ; preds = %3
%15 = tail call i32 @TRACKBAR_UpdateThumb(ptr noundef nonnull %0) #3
%16 = tail call i32 @TRACKBAR_InvalidateThumbMove(ptr noundef nonnull %0, i64 noundef %4, i64 noundef %2) #3
br label %17
17: ; preds = %14, %3
ret i32 0
}
declare i32 @TRACKBAR_UpdateThumb(ptr noundef) local_unnamed_addr #1
declare i32 @TRACKBAR_InvalidateThumbMove(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 16}
|
reactos_dll_win32_comctl32_extr_trackbar.c_TRACKBAR_SetPos
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_psp.c_psp_xgmi_invoke.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_psp.c_psp_xgmi_invoke.c"
target datalayout = "e-m:e-p270:32:32-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.psp_context = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @psp_xgmi_invoke(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.psp_context, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i64 @amdgpu_sriov_vf(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %21
7: ; preds = %2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11
%9 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !11
%13 = sub nsw i32 0, %12
br label %21
14: ; preds = %7
%15 = getelementptr inbounds %struct.psp_context, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = tail call i32 @psp_prep_xgmi_ta_invoke_cmd_buf(ptr noundef nonnull %9, i32 noundef %1, i32 noundef %16) #2
%18 = load i32, ptr %0, align 4, !tbaa !13
%19 = tail call i32 @psp_cmd_submit_buf(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %9, i32 noundef %18) #2
%20 = tail call i32 @kfree(ptr noundef nonnull %9) #2
br label %21
21: ; preds = %2, %14, %11
%22 = phi i32 [ %19, %14 ], [ %13, %11 ], [ 0, %2 ]
ret i32 %22
}
declare i64 @amdgpu_sriov_vf(i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @psp_prep_xgmi_ta_invoke_cmd_buf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @psp_cmd_submit_buf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"psp_context", !7, i64 0, !10, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_psp.c_psp_xgmi_invoke.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_psp.c_psp_xgmi_invoke.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
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @psp_xgmi_invoke(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i64 @amdgpu_sriov_vf(i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %21
7: ; preds = %2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%9 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%13 = sub nsw i32 0, %12
br label %21
14: ; preds = %7
%15 = getelementptr inbounds i8, ptr %0, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @psp_prep_xgmi_ta_invoke_cmd_buf(ptr noundef nonnull %9, i32 noundef %1, i32 noundef %16) #2
%18 = load i32, ptr %0, align 4, !tbaa !14
%19 = tail call i32 @psp_cmd_submit_buf(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %9, i32 noundef %18) #2
%20 = tail call i32 @kfree(ptr noundef nonnull %9) #2
br label %21
21: ; preds = %2, %14, %11
%22 = phi i32 [ %19, %14 ], [ %13, %11 ], [ 0, %2 ]
ret i32 %22
}
declare i64 @amdgpu_sriov_vf(i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @psp_prep_xgmi_ta_invoke_cmd_buf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @psp_cmd_submit_buf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"psp_context", !8, i64 0, !11, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !8, i64 0}
|
linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_psp.c_psp_xgmi_invoke
|
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_header.c_HEADER_NCDestroy.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_header.c_HEADER_NCDestroy.c"
target datalayout = "e-m:e-p270:32:32-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 { i64, i32, ptr, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @HEADER_NCDestroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @HEADER_NCDestroy(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %23, label %5
5: ; preds = %1
%6 = load i64, ptr %0, align 8, !tbaa !12
%7 = icmp sgt i64 %6, 0
br i1 %7, label %8, label %20
8: ; preds = %5, %8
%9 = phi i64 [ %14, %8 ], [ 0, %5 ]
%10 = phi ptr [ %15, %8 ], [ %3, %5 ]
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i64 0, i32 4
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = tail call i32 @heap_free(ptr noundef %12) #2
%14 = add nuw nsw i64 %9, 1
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i64 1
%16 = load i64, ptr %0, align 8, !tbaa !12
%17 = icmp slt i64 %14, %16
br i1 %17, label %8, label %18, !llvm.loop !14
18: ; preds = %8
%19 = load ptr, ptr %2, align 8, !tbaa !5
br label %20
20: ; preds = %18, %5
%21 = phi ptr [ %19, %18 ], [ %3, %5 ]
%22 = tail call i32 @heap_free(ptr noundef %21) #2
br label %23
23: ; preds = %20, %1
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%25 = load ptr, ptr %24, align 8, !tbaa !16
%26 = tail call i32 @heap_free(ptr noundef %25) #2
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%28 = load i32, ptr %27, align 8, !tbaa !17
%29 = tail call i32 @SetWindowLongPtrW(i32 noundef %28, i32 noundef 0, i32 noundef 0) #2
%30 = tail call i32 @heap_free(ptr noundef nonnull %0) #2
ret i32 0
}
declare i32 @heap_free(ptr noundef) local_unnamed_addr #1
declare i32 @SetWindowLongPtrW(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, !11, i64 24}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!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 = !{!6, !11, i64 32}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !11, i64 16}
!17 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_header.c_HEADER_NCDestroy.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_header.c_HEADER_NCDestroy.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 @HEADER_NCDestroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @HEADER_NCDestroy(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %23, label %5
5: ; preds = %1
%6 = load i64, ptr %0, align 8, !tbaa !13
%7 = icmp sgt i64 %6, 0
br i1 %7, label %8, label %20
8: ; preds = %5, %8
%9 = phi i64 [ %14, %8 ], [ 0, %5 ]
%10 = phi ptr [ %15, %8 ], [ %3, %5 ]
%11 = getelementptr inbounds i8, ptr %10, i64 32
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = tail call i32 @heap_free(ptr noundef %12) #2
%14 = add nuw nsw i64 %9, 1
%15 = getelementptr inbounds i8, ptr %10, i64 40
%16 = load i64, ptr %0, align 8, !tbaa !13
%17 = icmp slt i64 %14, %16
br i1 %17, label %8, label %18, !llvm.loop !15
18: ; preds = %8
%19 = load ptr, ptr %2, align 8, !tbaa !6
br label %20
20: ; preds = %18, %5
%21 = phi ptr [ %19, %18 ], [ %3, %5 ]
%22 = tail call i32 @heap_free(ptr noundef %21) #2
br label %23
23: ; preds = %20, %1
%24 = getelementptr inbounds i8, ptr %0, i64 16
%25 = load ptr, ptr %24, align 8, !tbaa !17
%26 = tail call i32 @heap_free(ptr noundef %25) #2
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load i32, ptr %27, align 8, !tbaa !18
%29 = tail call i32 @SetWindowLongPtrW(i32 noundef %28, i32 noundef 0, i32 noundef 0) #2
%30 = tail call i32 @heap_free(ptr noundef nonnull %0) #2
ret i32 0
}
declare i32 @heap_free(ptr noundef) local_unnamed_addr #1
declare i32 @SetWindowLongPtrW(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, !12, i64 24}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!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 = !{!7, !12, i64 32}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!7, !12, i64 16}
!18 = !{!7, !11, i64 8}
|
reactos_dll_win32_comctl32_extr_header.c_HEADER_NCDestroy
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_qp.c_modify_raw_packet_qp_rq.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_qp.c_modify_raw_packet_qp_rq.c"
target datalayout = "e-m:e-p270:32:32-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.mlx5_modify_raw_qp_param = type { i32, i32 }
%struct.mlx5_ib_dev = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.mlx5_ib_rq = type { i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@modify_rq_in = dso_local local_unnamed_addr global ptr null, align 8
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@rq_state = dso_local local_unnamed_addr global i32 0, align 4
@uid = dso_local local_unnamed_addr global i32 0, align 4
@ctx = dso_local local_unnamed_addr global i32 0, align 4
@state = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_RAW_QP_MOD_SET_RQ_Q_CTR_ID = dso_local local_unnamed_addr global i32 0, align 4
@modify_rq_counter_set_id = dso_local local_unnamed_addr global i32 0, align 4
@modify_bitmask = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_MODIFY_RQ_IN_MODIFY_BITMASK_RQ_COUNTER_SET_ID = dso_local local_unnamed_addr global i32 0, align 4
@counter_set_id = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [56 x i8] c"RAW PACKET QP counters are not supported on current FW\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @modify_raw_packet_qp_rq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @modify_raw_packet_qp_rq(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4) #0 {
%6 = load ptr, ptr @modify_rq_in, align 8, !tbaa !5
%7 = tail call i32 @MLX5_ST_SZ_BYTES(ptr noundef %6) #2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !9
%9 = tail call ptr @kvzalloc(i32 noundef %7, i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %5
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%13 = sub nsw i32 0, %12
br label %59
14: ; preds = %5
%15 = load ptr, ptr @modify_rq_in, align 8, !tbaa !5
%16 = load i32, ptr @rq_state, align 4, !tbaa !9
%17 = load i32, ptr %1, align 4, !tbaa !11
%18 = tail call i32 @MLX5_SET(ptr noundef %15, ptr noundef nonnull %9, i32 noundef %16, i32 noundef %17) #2
%19 = load ptr, ptr @modify_rq_in, align 8, !tbaa !5
%20 = load i32, ptr @uid, align 4, !tbaa !9
%21 = tail call ptr @to_mpd(ptr noundef %4) #2
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = tail call i32 @MLX5_SET(ptr noundef %19, ptr noundef nonnull %9, i32 noundef %20, i32 noundef %22) #2
%24 = load ptr, ptr @modify_rq_in, align 8, !tbaa !5
%25 = load i32, ptr @ctx, align 4, !tbaa !9
%26 = tail call ptr @MLX5_ADDR_OF(ptr noundef %24, ptr noundef nonnull %9, i32 noundef %25) #2
%27 = load i32, ptr @state, align 4, !tbaa !9
%28 = tail call i32 @MLX5_SET(ptr noundef %26, ptr noundef %26, i32 noundef %27, i32 noundef %2) #2
%29 = load i32, ptr %3, align 4, !tbaa !17
%30 = load i32, ptr @MLX5_RAW_QP_MOD_SET_RQ_Q_CTR_ID, align 4, !tbaa !9
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
br i1 %32, label %50, label %33
33: ; preds = %14
%34 = load i32, ptr %0, align 4, !tbaa !19
%35 = load i32, ptr @modify_rq_counter_set_id, align 4, !tbaa !9
%36 = tail call i64 @MLX5_CAP_GEN(i32 noundef %34, i32 noundef %35) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %47, label %38
38: ; preds = %33
%39 = load ptr, ptr @modify_rq_in, align 8, !tbaa !5
%40 = load i32, ptr @modify_bitmask, align 4, !tbaa !9
%41 = load i32, ptr @MLX5_MODIFY_RQ_IN_MODIFY_BITMASK_RQ_COUNTER_SET_ID, align 4, !tbaa !9
%42 = tail call i32 @MLX5_SET64(ptr noundef %39, ptr noundef nonnull %9, i32 noundef %40, i32 noundef %41) #2
%43 = load i32, ptr @counter_set_id, align 4, !tbaa !9
%44 = getelementptr inbounds %struct.mlx5_modify_raw_qp_param, ptr %3, i64 0, i32 1
%45 = load i32, ptr %44, align 4, !tbaa !22
%46 = tail call i32 @MLX5_SET(ptr noundef %26, ptr noundef %26, i32 noundef %43, i32 noundef %45) #2
br label %50
47: ; preds = %33
%48 = getelementptr inbounds %struct.mlx5_ib_dev, ptr %0, i64 0, i32 1
%49 = tail call i32 @dev_info_once(ptr noundef nonnull %48, ptr noundef nonnull @.str) #2
br label %50
50: ; preds = %38, %47, %14
%51 = load i32, ptr %0, align 4, !tbaa !19
%52 = getelementptr inbounds %struct.mlx5_ib_rq, ptr %1, i64 0, i32 1
%53 = load i32, ptr %52, align 4, !tbaa !23
%54 = tail call i32 @mlx5_core_modify_rq(i32 noundef %51, i32 noundef %53, ptr noundef nonnull %9, i32 noundef %7) #2
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %50
store i32 %2, ptr %1, align 4, !tbaa !11
br label %57
57: ; preds = %50, %56
%58 = tail call i32 @kvfree(ptr noundef nonnull %9) #2
br label %59
59: ; preds = %57, %11
%60 = phi i32 [ %54, %57 ], [ %13, %11 ]
ret i32 %60
}
declare i32 @MLX5_ST_SZ_BYTES(ptr noundef) local_unnamed_addr #1
declare ptr @kvzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_SET(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @to_mpd(ptr noundef) local_unnamed_addr #1
declare ptr @MLX5_ADDR_OF(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @MLX5_CAP_GEN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_SET64(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_info_once(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_core_modify_rq(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kvfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"mlx5_ib_rq", !10, i64 0, !13, i64 4}
!13 = !{!"TYPE_7__", !14, i64 0}
!14 = !{!"TYPE_6__", !10, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_8__", !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"mlx5_modify_raw_qp_param", !10, i64 0, !10, i64 4}
!19 = !{!20, !10, i64 0}
!20 = !{!"mlx5_ib_dev", !10, i64 0, !21, i64 4}
!21 = !{!"TYPE_5__", !10, i64 0}
!22 = !{!18, !10, i64 4}
!23 = !{!12, !10, i64 4}
|
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_qp.c_modify_raw_packet_qp_rq.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_qp.c_modify_raw_packet_qp_rq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@modify_rq_in = common local_unnamed_addr global ptr null, align 8
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@rq_state = common local_unnamed_addr global i32 0, align 4
@uid = common local_unnamed_addr global i32 0, align 4
@ctx = common local_unnamed_addr global i32 0, align 4
@state = common local_unnamed_addr global i32 0, align 4
@MLX5_RAW_QP_MOD_SET_RQ_Q_CTR_ID = common local_unnamed_addr global i32 0, align 4
@modify_rq_counter_set_id = common local_unnamed_addr global i32 0, align 4
@modify_bitmask = common local_unnamed_addr global i32 0, align 4
@MLX5_MODIFY_RQ_IN_MODIFY_BITMASK_RQ_COUNTER_SET_ID = common local_unnamed_addr global i32 0, align 4
@counter_set_id = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [56 x i8] c"RAW PACKET QP counters are not supported on current FW\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @modify_raw_packet_qp_rq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @modify_raw_packet_qp_rq(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4) #0 {
%6 = load ptr, ptr @modify_rq_in, align 8, !tbaa !6
%7 = tail call i32 @MLX5_ST_SZ_BYTES(ptr noundef %6) #2
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10
%9 = tail call ptr @kvzalloc(i32 noundef %7, i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %5
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%13 = sub nsw i32 0, %12
br label %59
14: ; preds = %5
%15 = load ptr, ptr @modify_rq_in, align 8, !tbaa !6
%16 = load i32, ptr @rq_state, align 4, !tbaa !10
%17 = load i32, ptr %1, align 4, !tbaa !12
%18 = tail call i32 @MLX5_SET(ptr noundef %15, ptr noundef nonnull %9, i32 noundef %16, i32 noundef %17) #2
%19 = load ptr, ptr @modify_rq_in, align 8, !tbaa !6
%20 = load i32, ptr @uid, align 4, !tbaa !10
%21 = tail call ptr @to_mpd(ptr noundef %4) #2
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = tail call i32 @MLX5_SET(ptr noundef %19, ptr noundef nonnull %9, i32 noundef %20, i32 noundef %22) #2
%24 = load ptr, ptr @modify_rq_in, align 8, !tbaa !6
%25 = load i32, ptr @ctx, align 4, !tbaa !10
%26 = tail call ptr @MLX5_ADDR_OF(ptr noundef %24, ptr noundef nonnull %9, i32 noundef %25) #2
%27 = load i32, ptr @state, align 4, !tbaa !10
%28 = tail call i32 @MLX5_SET(ptr noundef %26, ptr noundef %26, i32 noundef %27, i32 noundef %2) #2
%29 = load i32, ptr %3, align 4, !tbaa !18
%30 = load i32, ptr @MLX5_RAW_QP_MOD_SET_RQ_Q_CTR_ID, align 4, !tbaa !10
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
br i1 %32, label %50, label %33
33: ; preds = %14
%34 = load i32, ptr %0, align 4, !tbaa !20
%35 = load i32, ptr @modify_rq_counter_set_id, align 4, !tbaa !10
%36 = tail call i64 @MLX5_CAP_GEN(i32 noundef %34, i32 noundef %35) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %47, label %38
38: ; preds = %33
%39 = load ptr, ptr @modify_rq_in, align 8, !tbaa !6
%40 = load i32, ptr @modify_bitmask, align 4, !tbaa !10
%41 = load i32, ptr @MLX5_MODIFY_RQ_IN_MODIFY_BITMASK_RQ_COUNTER_SET_ID, align 4, !tbaa !10
%42 = tail call i32 @MLX5_SET64(ptr noundef %39, ptr noundef nonnull %9, i32 noundef %40, i32 noundef %41) #2
%43 = load i32, ptr @counter_set_id, align 4, !tbaa !10
%44 = getelementptr inbounds i8, ptr %3, i64 4
%45 = load i32, ptr %44, align 4, !tbaa !23
%46 = tail call i32 @MLX5_SET(ptr noundef %26, ptr noundef %26, i32 noundef %43, i32 noundef %45) #2
br label %50
47: ; preds = %33
%48 = getelementptr inbounds i8, ptr %0, i64 4
%49 = tail call i32 @dev_info_once(ptr noundef nonnull %48, ptr noundef nonnull @.str) #2
br label %50
50: ; preds = %38, %47, %14
%51 = load i32, ptr %0, align 4, !tbaa !20
%52 = getelementptr inbounds i8, ptr %1, i64 4
%53 = load i32, ptr %52, align 4, !tbaa !24
%54 = tail call i32 @mlx5_core_modify_rq(i32 noundef %51, i32 noundef %53, ptr noundef nonnull %9, i32 noundef %7) #2
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %50
store i32 %2, ptr %1, align 4, !tbaa !12
br label %57
57: ; preds = %50, %56
%58 = tail call i32 @kvfree(ptr noundef nonnull %9) #2
br label %59
59: ; preds = %57, %11
%60 = phi i32 [ %54, %57 ], [ %13, %11 ]
ret i32 %60
}
declare i32 @MLX5_ST_SZ_BYTES(ptr noundef) local_unnamed_addr #1
declare ptr @kvzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_SET(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @to_mpd(ptr noundef) local_unnamed_addr #1
declare ptr @MLX5_ADDR_OF(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @MLX5_CAP_GEN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_SET64(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_info_once(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx5_core_modify_rq(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kvfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"mlx5_ib_rq", !11, i64 0, !14, i64 4}
!14 = !{!"TYPE_7__", !15, i64 0}
!15 = !{!"TYPE_6__", !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_8__", !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"mlx5_modify_raw_qp_param", !11, i64 0, !11, i64 4}
!20 = !{!21, !11, i64 0}
!21 = !{!"mlx5_ib_dev", !11, i64 0, !22, i64 4}
!22 = !{!"TYPE_5__", !11, i64 0}
!23 = !{!19, !11, i64 4}
!24 = !{!13, !11, i64 4}
|
linux_drivers_infiniband_hw_mlx5_extr_qp.c_modify_raw_packet_qp_rq
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/unix/extr_af_unix.c_unix_set_secdata.c'
source_filename = "AnghaBench/fastsocket/kernel/net/unix/extr_af_unix.c_unix_set_secdata.c"
target datalayout = "e-m:e-p270:32:32-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 @unix_set_secdata], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @unix_set_secdata(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/net/unix/extr_af_unix.c_unix_set_secdata.c'
source_filename = "AnghaBench/fastsocket/kernel/net/unix/extr_af_unix.c_unix_set_secdata.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 @unix_set_secdata], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @unix_set_secdata(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_net_unix_extr_af_unix.c_unix_set_secdata
|
; ModuleID = 'AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpc_parse.c'
source_filename = "AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpc_parse.c"
target datalayout = "e-m:e-p270:32:32-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 @mpc_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @mpc_input_new_string(ptr noundef %0, ptr noundef %1) #2
%6 = tail call i32 @mpc_parse_input(ptr noundef %5, ptr noundef %2, ptr noundef %3) #2
%7 = tail call i32 @mpc_input_delete(ptr noundef %5) #2
ret i32 %6
}
declare ptr @mpc_input_new_string(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mpc_parse_input(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mpc_input_delete(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/radare2/shlr/mpc/extr_mpc.c_mpc_parse.c'
source_filename = "AnghaBench/radare2/shlr/mpc/extr_mpc.c_mpc_parse.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 @mpc_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @mpc_input_new_string(ptr noundef %0, ptr noundef %1) #2
%6 = tail call i32 @mpc_parse_input(ptr noundef %5, ptr noundef %2, ptr noundef %3) #2
%7 = tail call i32 @mpc_input_delete(ptr noundef %5) #2
ret i32 %6
}
declare ptr @mpc_input_new_string(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mpc_parse_input(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mpc_input_delete(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)"}
|
radare2_shlr_mpc_extr_mpc.c_mpc_parse
|
; ModuleID = 'AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_object.c_kxld_object_is_32_bit.c'
source_filename = "AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_object.c_kxld_object_is_32_bit.c"
target datalayout = "e-m:e-p270:32:32-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 @kxld_object_is_32_bit(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @check(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i32 @kxld_is_32_bit(i32 noundef %3) #2
ret i32 %4
}
declare i32 @check(ptr noundef) local_unnamed_addr #1
declare i32 @kxld_is_32_bit(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_object.c_kxld_object_is_32_bit.c'
source_filename = "AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_object.c_kxld_object_is_32_bit.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 @kxld_object_is_32_bit(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @check(ptr noundef %0) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call i32 @kxld_is_32_bit(i32 noundef %3) #2
ret i32 %4
}
declare i32 @check(ptr noundef) local_unnamed_addr #1
declare i32 @kxld_is_32_bit(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
darwin-xnu_libkern_kxld_extr_kxld_object.c_kxld_object_is_32_bit
|
; ModuleID = 'AnghaBench/linux/arch/openrisc/kernel/extr_process.c_arch_cpu_idle.c'
source_filename = "AnghaBench/linux/arch/openrisc/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"
@SPR_UPR = dso_local local_unnamed_addr global i32 0, align 4
@SPR_UPR_PMP = dso_local local_unnamed_addr global i32 0, align 4
@SPR_PMR = dso_local local_unnamed_addr global i32 0, align 4
@SPR_PMR_DME = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @arch_cpu_idle() local_unnamed_addr #0 {
%1 = tail call i32 (...) @local_irq_enable() #2
%2 = load i32, ptr @SPR_UPR, align 4, !tbaa !5
%3 = tail call i32 @mfspr(i32 noundef %2) #2
%4 = load i32, ptr @SPR_UPR_PMP, align 4, !tbaa !5
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %13, label %7
7: ; preds = %0
%8 = load i32, ptr @SPR_PMR, align 4, !tbaa !5
%9 = tail call i32 @mfspr(i32 noundef %8) #2
%10 = load i32, ptr @SPR_PMR_DME, align 4, !tbaa !5
%11 = or i32 %10, %9
%12 = tail call i32 @mtspr(i32 noundef %8, i32 noundef %11) #2
br label %13
13: ; preds = %7, %0
ret void
}
declare i32 @local_irq_enable(...) local_unnamed_addr #1
declare i32 @mfspr(i32 noundef) local_unnamed_addr #1
declare i32 @mtspr(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/arch/openrisc/kernel/extr_process.c_arch_cpu_idle.c'
source_filename = "AnghaBench/linux/arch/openrisc/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"
@SPR_UPR = common local_unnamed_addr global i32 0, align 4
@SPR_UPR_PMP = common local_unnamed_addr global i32 0, align 4
@SPR_PMR = common local_unnamed_addr global i32 0, align 4
@SPR_PMR_DME = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @arch_cpu_idle() local_unnamed_addr #0 {
%1 = tail call i32 @local_irq_enable() #2
%2 = load i32, ptr @SPR_UPR, align 4, !tbaa !6
%3 = tail call i32 @mfspr(i32 noundef %2) #2
%4 = load i32, ptr @SPR_UPR_PMP, align 4, !tbaa !6
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %13, label %7
7: ; preds = %0
%8 = load i32, ptr @SPR_PMR, align 4, !tbaa !6
%9 = tail call i32 @mfspr(i32 noundef %8) #2
%10 = load i32, ptr @SPR_PMR_DME, align 4, !tbaa !6
%11 = or i32 %10, %9
%12 = tail call i32 @mtspr(i32 noundef %8, i32 noundef %11) #2
br label %13
13: ; preds = %7, %0
ret void
}
declare i32 @local_irq_enable(...) local_unnamed_addr #1
declare i32 @mfspr(i32 noundef) local_unnamed_addr #1
declare i32 @mtspr(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_arch_openrisc_kernel_extr_process.c_arch_cpu_idle
|
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cmd_seek.c_seek_to_register.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cmd_seek.c_seek_to_register.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @seek_to_register], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @seek_to_register(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3
%9 = load ptr, ptr %8, align 8, !tbaa !14
br i1 %7, label %13, label %10
10: ; preds = %3
%11 = tail call i32 @r_debug_reg_get(ptr noundef %9, ptr noundef %1) #2
%12 = icmp eq i32 %2, 0
br i1 %12, label %21, label %29
13: ; preds = %3
%14 = load ptr, ptr %9, align 8, !tbaa !15
%15 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 4
%16 = load ptr, ptr %15, align 8, !tbaa !17
%17 = load ptr, ptr %16, align 8, !tbaa !18
store ptr %17, ptr %9, align 8, !tbaa !15
%18 = tail call i32 @r_debug_reg_get(ptr noundef nonnull %9, ptr noundef %1) #2
%19 = load ptr, ptr %8, align 8, !tbaa !14
store ptr %14, ptr %19, align 8, !tbaa !15
%20 = icmp eq i32 %2, 0
br i1 %20, label %21, label %29
21: ; preds = %13, %10
%22 = phi i32 [ %11, %10 ], [ %18, %13 ]
%23 = load ptr, ptr %4, align 8, !tbaa !5
%24 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !20
%26 = load i32, ptr %0, align 8, !tbaa !21
%27 = tail call i32 @r_print_get_cursor(i32 noundef %26) #2
%28 = tail call i32 @r_io_sundo_push(ptr noundef %23, i32 noundef %25, i32 noundef %27) #2
br label %29
29: ; preds = %21, %13, %10
%30 = phi i32 [ %11, %10 ], [ %18, %13 ], [ %22, %21 ]
%31 = tail call i32 @r_core_seek(ptr noundef nonnull %0, i32 noundef %30, i32 noundef 1) #2
ret void
}
declare i32 @r_debug_reg_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r_io_sundo_push(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r_print_get_cursor(i32 noundef) local_unnamed_addr #1
declare i32 @r_core_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !10, i64 16}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_10__", !10, i64 0}
!17 = !{!6, !10, i64 24}
!18 = !{!19, !10, i64 0}
!19 = !{!"TYPE_7__", !10, i64 0}
!20 = !{!6, !7, i64 4}
!21 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cmd_seek.c_seek_to_register.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cmd_seek.c_seek_to_register.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 @seek_to_register], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @seek_to_register(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !15
br i1 %7, label %13, label %10
10: ; preds = %3
%11 = tail call i32 @r_debug_reg_get(ptr noundef %9, ptr noundef %1) #2
%12 = icmp eq i32 %2, 0
br i1 %12, label %21, label %29
13: ; preds = %3
%14 = load ptr, ptr %9, align 8, !tbaa !16
%15 = getelementptr inbounds i8, ptr %0, i64 24
%16 = load ptr, ptr %15, align 8, !tbaa !18
%17 = load ptr, ptr %16, align 8, !tbaa !19
store ptr %17, ptr %9, align 8, !tbaa !16
%18 = tail call i32 @r_debug_reg_get(ptr noundef nonnull %9, ptr noundef %1) #2
%19 = load ptr, ptr %8, align 8, !tbaa !15
store ptr %14, ptr %19, align 8, !tbaa !16
%20 = icmp eq i32 %2, 0
br i1 %20, label %21, label %29
21: ; preds = %13, %10
%22 = phi i32 [ %11, %10 ], [ %18, %13 ]
%23 = load ptr, ptr %4, align 8, !tbaa !6
%24 = getelementptr inbounds i8, ptr %0, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !21
%26 = load i32, ptr %0, align 8, !tbaa !22
%27 = tail call i32 @r_print_get_cursor(i32 noundef %26) #2
%28 = tail call i32 @r_io_sundo_push(ptr noundef %23, i32 noundef %25, i32 noundef %27) #2
br label %29
29: ; preds = %21, %13, %10
%30 = phi i32 [ %11, %10 ], [ %18, %13 ], [ %22, %21 ]
%31 = tail call i32 @r_core_seek(ptr noundef nonnull %0, i32 noundef %30, i32 noundef 1) #2
ret void
}
declare i32 @r_debug_reg_get(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @r_io_sundo_push(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @r_print_get_cursor(i32 noundef) local_unnamed_addr #1
declare i32 @r_core_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !11, i64 16}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_10__", !11, i64 0}
!18 = !{!7, !11, i64 24}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_7__", !11, i64 0}
!21 = !{!7, !8, i64 4}
!22 = !{!7, !8, i64 0}
|
radare2_libr_core_extr_cmd_seek.c_seek_to_register
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mlpdec.c_calculate_sign_huff.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mlpdec.c_calculate_sign_huff.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_7__ = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @calculate_sign_huff], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @calculate_sign_huff(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = zext i32 %1 to i64
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 %5
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 %5, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = zext i32 %2 to i64
%10 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = load ptr, ptr %6, align 8, !tbaa !15
%13 = getelementptr inbounds i32, ptr %12, i64 %9
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = sub nsw i32 %11, %14
%16 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 %9, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = icmp eq i32 %17, 0
%19 = sub nsw i32 2, %17
%20 = select i1 %18, i32 -1, i32 %19
%21 = add nsw i32 %20, %15
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 %9, i32 2
%23 = load i32, ptr %22, align 4, !tbaa !18
%24 = icmp sgt i32 %17, 0
%25 = shl i32 -7, %15
%26 = select i1 %24, i32 %25, i32 0
%27 = add i32 %26, %23
%28 = shl nsw i32 -1, %21
%29 = icmp slt i32 %21, 0
%30 = select i1 %29, i32 0, i32 %28
%31 = add i32 %27, %30
ret i32 %31
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_5__", !7, i64 0, !7, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_7__", !14, i64 0, !14, i64 4, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!11, !7, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!13, !14, i64 4}
!18 = !{!13, !14, i64 8}
|
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mlpdec.c_calculate_sign_huff.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mlpdec.c_calculate_sign_huff.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { ptr, ptr }
%struct.TYPE_7__ = type { i32, i32, i32 }
@llvm.used = appending global [1 x ptr] [ptr @calculate_sign_huff], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @calculate_sign_huff(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = zext i32 %1 to i64
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 %5
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = zext i32 %2 to i64
%10 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = load ptr, ptr %6, align 8, !tbaa !16
%13 = getelementptr inbounds i32, ptr %12, i64 %9
%14 = load i32, ptr %13, align 4, !tbaa !17
%15 = sub nsw i32 %11, %14
%16 = getelementptr inbounds i8, ptr %10, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = icmp eq i32 %17, 0
%19 = sub nsw i32 2, %17
%20 = select i1 %18, i32 -1, i32 %19
%21 = add nsw i32 %20, %15
%22 = getelementptr inbounds i8, ptr %10, i64 8
%23 = load i32, ptr %22, align 4, !tbaa !19
%24 = icmp sgt i32 %17, 0
%25 = shl i32 -7, %15
%26 = select i1 %24, i32 %25, i32 0
%27 = add i32 %26, %23
%28 = shl nsw i32 -1, %21
%29 = icmp slt i32 %21, 0
%30 = select i1 %29, i32 0, i32 %28
%31 = add i32 %27, %30
ret i32 %31
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 8}
!12 = !{!"TYPE_5__", !8, i64 0, !8, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_7__", !15, i64 0, !15, i64 4, !15, i64 8}
!15 = !{!"int", !9, i64 0}
!16 = !{!12, !8, i64 0}
!17 = !{!15, !15, i64 0}
!18 = !{!14, !15, i64 4}
!19 = !{!14, !15, i64 8}
|
FFmpeg_libavcodec_extr_mlpdec.c_calculate_sign_huff
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_ipa-cp.c_ipcp_method_compute_scale.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_ipa-cp.c_ipcp_method_compute_scale.c"
target datalayout = "e-m:e-p270:32:32-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.cgraph_node = type { i32, ptr }
%struct.cgraph_edge = type { i64, ptr }
@REG_BR_PROB_BASE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipcp_method_compute_scale], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ipcp_method_compute_scale(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.cgraph_node, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %14, label %5
5: ; preds = %1, %5
%6 = phi ptr [ %12, %5 ], [ %3, %1 ]
%7 = phi i32 [ %10, %5 ], [ 0, %1 ]
%8 = load i64, ptr %6, align 8, !tbaa !9
%9 = trunc i64 %8 to i32
%10 = add i32 %7, %9
%11 = getelementptr inbounds %struct.cgraph_edge, ptr %6, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %5, !llvm.loop !12
14: ; preds = %5, %1
%15 = phi i32 [ 0, %1 ], [ %10, %5 ]
%16 = load i32, ptr %0, align 8, !tbaa !14
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i32, ptr @REG_BR_PROB_BASE, align 4, !tbaa !17
%20 = mul nsw i32 %19, %15
%21 = sdiv i32 %20, %16
br label %22
22: ; preds = %14, %18
%23 = phi i32 [ %21, %18 ], [ 0, %14 ]
%24 = tail call i32 @ipcp_method_set_scale(ptr noundef nonnull %0, i32 noundef %23) #2
ret void
}
declare i32 @ipcp_method_set_scale(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, !11, i64 0}
!10 = !{!"cgraph_edge", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !16, i64 0}
!15 = !{!"cgraph_node", !16, i64 0, !6, i64 8}
!16 = !{!"int", !7, i64 0}
!17 = !{!16, !16, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_ipa-cp.c_ipcp_method_compute_scale.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_ipa-cp.c_ipcp_method_compute_scale.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_BR_PROB_BASE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipcp_method_compute_scale], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ipcp_method_compute_scale(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %14, label %5
5: ; preds = %1, %5
%6 = phi ptr [ %12, %5 ], [ %3, %1 ]
%7 = phi i32 [ %10, %5 ], [ 0, %1 ]
%8 = load i64, ptr %6, align 8, !tbaa !10
%9 = trunc i64 %8 to i32
%10 = add i32 %7, %9
%11 = getelementptr inbounds i8, ptr %6, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %5, !llvm.loop !13
14: ; preds = %5, %1
%15 = phi i32 [ 0, %1 ], [ %10, %5 ]
%16 = load i32, ptr %0, align 8, !tbaa !15
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i32, ptr @REG_BR_PROB_BASE, align 4, !tbaa !18
%20 = mul nsw i32 %19, %15
%21 = sdiv i32 %20, %16
br label %22
22: ; preds = %14, %18
%23 = phi i32 [ %21, %18 ], [ 0, %14 ]
%24 = tail call i32 @ipcp_method_set_scale(ptr noundef nonnull %0, i32 noundef %23) #2
ret void
}
declare i32 @ipcp_method_set_scale(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, !12, i64 0}
!11 = !{!"cgraph_edge", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !17, i64 0}
!16 = !{!"cgraph_node", !17, i64 0, !7, i64 8}
!17 = !{!"int", !8, i64 0}
!18 = !{!17, !17, i64 0}
|
freebsd_contrib_gcc_extr_ipa-cp.c_ipcp_method_compute_scale
|
; ModuleID = 'AnghaBench/linux/drivers/phy/allwinner/extr_phy-sun4i-usb.c_sun4i_usb_phy0_poll.c'
source_filename = "AnghaBench/linux/drivers/phy/allwinner/extr_phy-sun4i-usb.c_sun4i_usb_phy0_poll.c"
target datalayout = "e-m:e-p270:32:32-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.sun4i_usb_phy_data = type { i64, i64, ptr, i64, ptr, i64, i64 }
@sun6i_a31_phy = dso_local local_unnamed_addr global i64 0, align 8
@sun8i_a33_phy = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sun4i_usb_phy0_poll], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal noundef i32 @sun4i_usb_phy0_poll(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.sun4i_usb_phy_data, ptr %0, i64 0, i32 6
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i64, ptr %0, align 8, !tbaa !11
%7 = icmp slt i64 %6, 1
br i1 %7, label %35, label %8
8: ; preds = %5, %1
%9 = getelementptr inbounds %struct.sun4i_usb_phy_data, ptr %0, i64 0, i32 5
%10 = load i64, ptr %9, align 8, !tbaa !12
%11 = icmp eq i64 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %8
%13 = getelementptr inbounds %struct.sun4i_usb_phy_data, ptr %0, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = icmp slt i64 %14, 1
br i1 %15, label %35, label %16
16: ; preds = %12, %8
%17 = getelementptr inbounds %struct.sun4i_usb_phy_data, ptr %0, i64 0, i32 4
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = load i64, ptr %18, align 8, !tbaa !15
%20 = load i64, ptr @sun6i_a31_phy, align 8, !tbaa !17
%21 = icmp eq i64 %19, %20
%22 = load i64, ptr @sun8i_a33_phy, align 8
%23 = icmp eq i64 %19, %22
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %34
25: ; preds = %16
%26 = getelementptr inbounds %struct.sun4i_usb_phy_data, ptr %0, i64 0, i32 3
%27 = load i64, ptr %26, align 8, !tbaa !18
%28 = icmp eq i64 %27, 0
br i1 %28, label %34, label %29
29: ; preds = %25
%30 = getelementptr inbounds %struct.sun4i_usb_phy_data, ptr %0, i64 0, i32 2
%31 = load ptr, ptr %30, align 8, !tbaa !19
%32 = load i64, ptr %31, align 8, !tbaa !20
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %16, %29, %25
br label %35
35: ; preds = %29, %5, %12, %34
%36 = phi i32 [ 0, %34 ], [ 1, %12 ], [ 1, %5 ], [ 1, %29 ]
ret i32 %36
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 48}
!6 = !{!"sun4i_usb_phy_data", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !7, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 40}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !10, i64 32}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !7, i64 24}
!19 = !{!6, !10, i64 16}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_3__", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/phy/allwinner/extr_phy-sun4i-usb.c_sun4i_usb_phy0_poll.c'
source_filename = "AnghaBench/linux/drivers/phy/allwinner/extr_phy-sun4i-usb.c_sun4i_usb_phy0_poll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sun6i_a31_phy = common local_unnamed_addr global i64 0, align 8
@sun8i_a33_phy = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @sun4i_usb_phy0_poll], 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 @sun4i_usb_phy0_poll(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 48
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i64, ptr %0, align 8, !tbaa !12
%7 = icmp slt i64 %6, 1
br i1 %7, label %35, label %8
8: ; preds = %5, %1
%9 = getelementptr inbounds i8, ptr %0, i64 40
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = icmp eq i64 %10, 0
br i1 %11, label %16, label %12
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = icmp slt i64 %14, 1
br i1 %15, label %35, label %16
16: ; preds = %12, %8
%17 = getelementptr inbounds i8, ptr %0, i64 32
%18 = load ptr, ptr %17, align 8, !tbaa !15
%19 = load i64, ptr %18, align 8, !tbaa !16
%20 = load i64, ptr @sun6i_a31_phy, align 8, !tbaa !18
%21 = icmp eq i64 %19, %20
%22 = load i64, ptr @sun8i_a33_phy, align 8
%23 = icmp eq i64 %19, %22
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %34
25: ; preds = %16
%26 = getelementptr inbounds i8, ptr %0, i64 24
%27 = load i64, ptr %26, align 8, !tbaa !19
%28 = icmp eq i64 %27, 0
br i1 %28, label %34, label %29
29: ; preds = %25
%30 = getelementptr inbounds i8, ptr %0, i64 16
%31 = load ptr, ptr %30, align 8, !tbaa !20
%32 = load i64, ptr %31, align 8, !tbaa !21
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %16, %29, %25
br label %35
35: ; preds = %29, %5, %12, %34
%36 = phi i32 [ 0, %34 ], [ 1, %12 ], [ 1, %5 ], [ 1, %29 ]
ret i32 %36
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 48}
!7 = !{!"sun4i_usb_phy_data", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !8, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !8, i64 40}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !11, i64 32}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_4__", !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !8, i64 24}
!20 = !{!7, !11, i64 16}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_3__", !8, i64 0}
|
linux_drivers_phy_allwinner_extr_phy-sun4i-usb.c_sun4i_usb_phy0_poll
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_reader.c_codec_needs_batch_mode.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_reader.c_codec_needs_batch_mode.c"
target datalayout = "e-m:e-p270:32:32-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, i32 }
@mp4_codec_mapping = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @codec_needs_batch_mode], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal i32 @codec_needs_batch_mode(i64 noundef %0) #0 {
%2 = load ptr, ptr @mp4_codec_mapping, align 8, !tbaa !5
br label %3
3: ; preds = %3, %1
%4 = phi i64 [ %10, %3 ], [ 0, %1 ]
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %4
%6 = load i64, ptr %5, align 8, !tbaa !9
%7 = icmp eq i64 %6, 0
%8 = icmp eq i64 %6, %0
%9 = or i1 %7, %8
%10 = add nuw i64 %4, 1
br i1 %9, label %11, label %3, !llvm.loop !13
11: ; preds = %3
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %4, i32 1
%13 = load i32, ptr %12, align 8, !tbaa !15
ret i32 %13
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!10, !12, i64 8}
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_reader.c_codec_needs_batch_mode.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_reader.c_codec_needs_batch_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i32 }
@mp4_codec_mapping = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @codec_needs_batch_mode], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @codec_needs_batch_mode(i64 noundef %0) #0 {
%2 = load ptr, ptr @mp4_codec_mapping, align 8, !tbaa !6
br label %3
3: ; preds = %3, %1
%4 = phi i64 [ %10, %3 ], [ 0, %1 ]
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %4
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
%8 = icmp eq i64 %6, %0
%9 = or i1 %7, %8
%10 = add nuw nsw i64 %4, 1
br i1 %9, label %11, label %3, !llvm.loop !14
11: ; preds = %3
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 %4, i32 1
%13 = load i32, ptr %12, align 8, !tbaa !16
ret i32 %13
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!11, !13, i64 8}
|
RetroArch_gfx_include_userland_containers_mp4_extr_mp4_reader.c_codec_needs_batch_mode
|
; ModuleID = 'AnghaBench/linux/drivers/staging/isdn/hysdn/extr_hycapi.c_hycapi_proc_show.c'
source_filename = "AnghaBench/linux/drivers/staging/isdn/hysdn/extr_hycapi.c_hycapi_proc_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr, ptr }
%struct.TYPE_3__ = type { ptr, ptr, i32 }
@.str = private unnamed_addr constant [10 x i8] c"%-16s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"name\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%-16s 0x%x\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"io\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%-16s %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"irq\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"HYSDN Hycard\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"HYSDN Ergo2\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"HYSDN Metro4\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"HYSDN Champ2\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"HYSDN Plexus30\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"???\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"type\00", align 1
@VER_DRIVER = dso_local local_unnamed_addr global i64 0, align 8
@.str.13 = private unnamed_addr constant [11 x i8] c"ver_driver\00", align 1
@VER_CARDTYPE = dso_local local_unnamed_addr global i64 0, align 8
@.str.14 = private unnamed_addr constant [13 x i8] c"ver_cardtype\00", align 1
@VER_SERIAL = dso_local local_unnamed_addr global i64 0, align 8
@.str.15 = private unnamed_addr constant [11 x i8] c"ver_serial\00", align 1
@.str.16 = private unnamed_addr constant [9 x i8] c"cardname\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hycapi_proc_show], section "llvm.metadata"
@reltable.hycapi_proc_show = private unnamed_addr constant [5 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.10 to i64), i64 ptrtoint (ptr @reltable.hycapi_proc_show to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.hycapi_proc_show to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.8 to i64), i64 ptrtoint (ptr @reltable.hycapi_proc_show to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.hycapi_proc_show to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.9 to i64), i64 ptrtoint (ptr @reltable.hycapi_proc_show to i64)) to i32)], align 4
; Function Attrs: nounwind uwtable
define internal noundef i32 @hycapi_proc_show(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load ptr, ptr %5, align 8, !tbaa !15
%9 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %8) #3
%10 = load ptr, ptr %7, align 8, !tbaa !16
%11 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %10) #3
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !19
%14 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef %13) #3
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 2
%16 = load i32, ptr %15, align 8, !tbaa !20
%17 = add i32 %16, -128
%18 = icmp ult i32 %17, 5
br i1 %18, label %19, label %23
19: ; preds = %2
%20 = zext nneg i32 %17 to i64
%21 = shl i64 %20, 2
%22 = call ptr @llvm.load.relative.i64(ptr @reltable.hycapi_proc_show, i64 %21)
br label %23
23: ; preds = %2, %19
%24 = phi ptr [ %22, %19 ], [ @.str.11, %2 ]
%25 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.12, ptr noundef nonnull %24) #3
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !21
%28 = load i64, ptr @VER_DRIVER, align 8, !tbaa !22
%29 = getelementptr inbounds ptr, ptr %27, i64 %28
%30 = load ptr, ptr %29, align 8, !tbaa !23
%31 = icmp eq ptr %30, null
br i1 %31, label %35, label %32
32: ; preds = %23
%33 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.13, ptr noundef nonnull %30) #3
%34 = load ptr, ptr %26, align 8, !tbaa !21
br label %35
35: ; preds = %32, %23
%36 = phi ptr [ %34, %32 ], [ %27, %23 ]
%37 = load i64, ptr @VER_CARDTYPE, align 8, !tbaa !22
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
%39 = load ptr, ptr %38, align 8, !tbaa !23
%40 = icmp eq ptr %39, null
br i1 %40, label %44, label %41
41: ; preds = %35
%42 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.14, ptr noundef nonnull %39) #3
%43 = load ptr, ptr %26, align 8, !tbaa !21
br label %44
44: ; preds = %41, %35
%45 = phi ptr [ %43, %41 ], [ %36, %35 ]
%46 = load i64, ptr @VER_SERIAL, align 8, !tbaa !22
%47 = getelementptr inbounds ptr, ptr %45, i64 %46
%48 = load ptr, ptr %47, align 8, !tbaa !23
%49 = icmp eq ptr %48, null
br i1 %49, label %52, label %50
50: ; preds = %44
%51 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.15, ptr noundef nonnull %48) #3
br label %52
52: ; preds = %50, %44
%53 = load ptr, ptr %5, align 8, !tbaa !15
%54 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.16, ptr noundef %53) #3
ret i32 0
}
declare i32 @seq_printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #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 willreturn memory(argmem: read) }
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 = !{!"seq_file", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"capi_ctr", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"TYPE_4__", !7, i64 0, !7, i64 8, !7, i64 16}
!15 = !{!14, !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_3__", !7, i64 0, !7, i64 8, !18, i64 16}
!18 = !{!"int", !8, i64 0}
!19 = !{!17, !7, i64 8}
!20 = !{!17, !18, i64 16}
!21 = !{!14, !7, i64 8}
!22 = !{!12, !12, i64 0}
!23 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/staging/isdn/hysdn/extr_hycapi.c_hycapi_proc_show.c'
source_filename = "AnghaBench/linux/drivers/staging/isdn/hysdn/extr_hycapi.c_hycapi_proc_show.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 [10 x i8] c"%-16s %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"name\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"%-16s 0x%x\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"io\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%-16s %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"irq\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"HYSDN Hycard\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"HYSDN Ergo2\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"HYSDN Metro4\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"HYSDN Champ2\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"HYSDN Plexus30\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"???\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"type\00", align 1
@VER_DRIVER = common local_unnamed_addr global i64 0, align 8
@.str.13 = private unnamed_addr constant [11 x i8] c"ver_driver\00", align 1
@VER_CARDTYPE = common local_unnamed_addr global i64 0, align 8
@.str.14 = private unnamed_addr constant [13 x i8] c"ver_cardtype\00", align 1
@VER_SERIAL = common local_unnamed_addr global i64 0, align 8
@.str.15 = private unnamed_addr constant [11 x i8] c"ver_serial\00", align 1
@.str.16 = private unnamed_addr constant [9 x i8] c"cardname\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hycapi_proc_show], section "llvm.metadata"
@switch.table.hycapi_proc_show = private unnamed_addr constant [5 x ptr] [ptr @.str.10, ptr @.str.6, ptr @.str.8, ptr @.str.7, ptr @.str.9], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @hycapi_proc_show(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds i8, ptr %5, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load ptr, ptr %5, align 8, !tbaa !16
%9 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %8) #2
%10 = load ptr, ptr %7, align 8, !tbaa !17
%11 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %10) #2
%12 = getelementptr inbounds i8, ptr %7, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !20
%14 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef %13) #2
%15 = getelementptr inbounds i8, ptr %7, i64 16
%16 = load i32, ptr %15, align 8, !tbaa !21
%17 = add i32 %16, -128
%18 = icmp ult i32 %17, 5
br i1 %18, label %19, label %23
19: ; preds = %2
%20 = zext nneg i32 %17 to i64
%21 = getelementptr inbounds [5 x ptr], ptr @switch.table.hycapi_proc_show, i64 0, i64 %20
%22 = load ptr, ptr %21, align 8
br label %23
23: ; preds = %2, %19
%24 = phi ptr [ %22, %19 ], [ @.str.11, %2 ]
%25 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.12, ptr noundef nonnull %24) #2
%26 = getelementptr inbounds i8, ptr %5, i64 8
%27 = load ptr, ptr %26, align 8, !tbaa !22
%28 = load i64, ptr @VER_DRIVER, align 8, !tbaa !23
%29 = getelementptr inbounds ptr, ptr %27, i64 %28
%30 = load ptr, ptr %29, align 8, !tbaa !24
%31 = icmp eq ptr %30, null
br i1 %31, label %35, label %32
32: ; preds = %23
%33 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.13, ptr noundef nonnull %30) #2
%34 = load ptr, ptr %26, align 8, !tbaa !22
br label %35
35: ; preds = %32, %23
%36 = phi ptr [ %34, %32 ], [ %27, %23 ]
%37 = load i64, ptr @VER_CARDTYPE, align 8, !tbaa !23
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
%39 = load ptr, ptr %38, align 8, !tbaa !24
%40 = icmp eq ptr %39, null
br i1 %40, label %44, label %41
41: ; preds = %35
%42 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.14, ptr noundef nonnull %39) #2
%43 = load ptr, ptr %26, align 8, !tbaa !22
br label %44
44: ; preds = %41, %35
%45 = phi ptr [ %43, %41 ], [ %36, %35 ]
%46 = load i64, ptr @VER_SERIAL, align 8, !tbaa !23
%47 = getelementptr inbounds ptr, ptr %45, i64 %46
%48 = load ptr, ptr %47, align 8, !tbaa !24
%49 = icmp eq ptr %48, null
br i1 %49, label %52, label %50
50: ; preds = %44
%51 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.15, ptr noundef nonnull %48) #2
br label %52
52: ; preds = %50, %44
%53 = load ptr, ptr %5, align 8, !tbaa !16
%54 = tail call i32 @seq_printf(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.16, ptr noundef %53) #2
ret i32 0
}
declare i32 @seq_printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"seq_file", !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 = !{!"capi_ctr", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !8, i64 16}
!15 = !{!"TYPE_4__", !8, i64 0, !8, i64 8, !8, i64 16}
!16 = !{!15, !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_3__", !8, i64 0, !8, i64 8, !19, i64 16}
!19 = !{!"int", !9, i64 0}
!20 = !{!18, !8, i64 8}
!21 = !{!18, !19, i64 16}
!22 = !{!15, !8, i64 8}
!23 = !{!13, !13, i64 0}
!24 = !{!8, !8, i64 0}
|
linux_drivers_staging_isdn_hysdn_extr_hycapi.c_hycapi_proc_show
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpni.c_dpni_set_primary_mac_addr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpni.c_dpni_set_primary_mac_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DPNI_CMDID_SET_PRIM_MAC = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @dpni_set_primary_mac_addr(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = load i32, ptr @DPNI_CMDID_SET_PRIM_MAC, align 4, !tbaa !5
%6 = tail call i32 @mc_encode_cmd_header(i32 noundef %5, i32 noundef %1, i32 noundef %2) #2
unreachable
}
declare i32 @mc_encode_cmd_header(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/ethernet/freescale/dpaa2/extr_dpni.c_dpni_set_primary_mac_addr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpni.c_dpni_set_primary_mac_addr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DPNI_CMDID_SET_PRIM_MAC = common local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define noundef i32 @dpni_set_primary_mac_addr(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = load i32, ptr @DPNI_CMDID_SET_PRIM_MAC, align 4, !tbaa !6
%6 = tail call i32 @mc_encode_cmd_header(i32 noundef %5, i32 noundef %1, i32 noundef %2) #2
unreachable
}
declare i32 @mc_encode_cmd_header(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_ethernet_freescale_dpaa2_extr_dpni.c_dpni_set_primary_mac_addr
|
; ModuleID = 'AnghaBench/freebsd/sys/mips/mediatek/extr_mtk_intr_v2.c_pic_irq_unmask.c'
source_filename = "AnghaBench/freebsd/sys/mips/mediatek/extr_mtk_intr_v2.c_pic_irq_unmask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MTK_INTENA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pic_irq_unmask], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @pic_irq_unmask(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @MTK_INTENA, align 4, !tbaa !5
%4 = shl nuw i32 1, %1
%5 = tail call i32 @WRITE4(ptr noundef %0, i32 noundef %3, i32 noundef %4) #2
ret void
}
declare i32 @WRITE4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/sys/mips/mediatek/extr_mtk_intr_v2.c_pic_irq_unmask.c'
source_filename = "AnghaBench/freebsd/sys/mips/mediatek/extr_mtk_intr_v2.c_pic_irq_unmask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MTK_INTENA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pic_irq_unmask], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @pic_irq_unmask(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @MTK_INTENA, align 4, !tbaa !6
%4 = shl nuw i32 1, %1
%5 = tail call i32 @WRITE4(ptr noundef %0, i32 noundef %3, i32 noundef %4) #2
ret void
}
declare i32 @WRITE4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_sys_mips_mediatek_extr_mtk_intr_v2.c_pic_irq_unmask
|
; ModuleID = 'AnghaBench/freebsd/tests/sys/vm/extr_page_fault_signal.c_setup_signals.c'
source_filename = "AnghaBench/freebsd/tests/sys/vm/extr_page_fault_signal.c_setup_signals.c"
target datalayout = "e-m:e-p270:32:32-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.sigaction = type { i32, i32, i32 }
@sighandler = dso_local local_unnamed_addr global i32 0, align 4
@SA_RESTART = dso_local local_unnamed_addr global i32 0, align 4
@SA_RESETHAND = dso_local local_unnamed_addr global i32 0, align 4
@SA_SIGINFO = dso_local local_unnamed_addr global i32 0, align 4
@SIGILL = dso_local local_unnamed_addr global i32 0, align 4
@SIGBUS = dso_local local_unnamed_addr global i32 0, align 4
@SIGSEGV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @setup_signals], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @setup_signals() #0 {
%1 = alloca %struct.sigaction, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #3
%2 = load i32, ptr @sighandler, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.sigaction, ptr %1, i64 0, i32 2
store i32 %2, ptr %3, align 4, !tbaa !9
%4 = load i32, ptr @SA_RESTART, align 4, !tbaa !5
%5 = load i32, ptr @SA_RESETHAND, align 4, !tbaa !5
%6 = or i32 %5, %4
%7 = load i32, ptr @SA_SIGINFO, align 4, !tbaa !5
%8 = or i32 %6, %7
store i32 %8, ptr %1, align 4, !tbaa !11
%9 = getelementptr inbounds %struct.sigaction, ptr %1, i64 0, i32 1
%10 = call i32 @sigfillset(ptr noundef nonnull %9) #3
%11 = icmp ne i32 %10, -1
%12 = zext i1 %11 to i32
%13 = call i32 @ATF_REQUIRE(i32 noundef %12) #3
%14 = load i32, ptr @SIGILL, align 4, !tbaa !5
%15 = call i32 @sigaction(i32 noundef %14, ptr noundef nonnull %1, ptr noundef null) #3
%16 = icmp ne i32 %15, -1
%17 = zext i1 %16 to i32
%18 = call i32 @ATF_REQUIRE(i32 noundef %17) #3
%19 = load i32, ptr @SIGBUS, align 4, !tbaa !5
%20 = call i32 @sigaction(i32 noundef %19, ptr noundef nonnull %1, ptr noundef null) #3
%21 = icmp ne i32 %20, -1
%22 = zext i1 %21 to i32
%23 = call i32 @ATF_REQUIRE(i32 noundef %22) #3
%24 = load i32, ptr @SIGSEGV, align 4, !tbaa !5
%25 = call i32 @sigaction(i32 noundef %24, ptr noundef nonnull %1, ptr noundef null) #3
%26 = icmp ne i32 %25, -1
%27 = zext i1 %26 to i32
%28 = call i32 @ATF_REQUIRE(i32 noundef %27) #3
call void @llvm.lifetime.end.p0(i64 12, 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 @sigfillset(ptr noundef) local_unnamed_addr #2
declare i32 @ATF_REQUIRE(i32 noundef) local_unnamed_addr #2
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 8}
!10 = !{!"sigaction", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/tests/sys/vm/extr_page_fault_signal.c_setup_signals.c'
source_filename = "AnghaBench/freebsd/tests/sys/vm/extr_page_fault_signal.c_setup_signals.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sigaction = type { i32, i32, i32 }
@sighandler = common local_unnamed_addr global i32 0, align 4
@SA_RESTART = common local_unnamed_addr global i32 0, align 4
@SA_RESETHAND = common local_unnamed_addr global i32 0, align 4
@SA_SIGINFO = common local_unnamed_addr global i32 0, align 4
@SIGILL = common local_unnamed_addr global i32 0, align 4
@SIGBUS = common local_unnamed_addr global i32 0, align 4
@SIGSEGV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @setup_signals], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @setup_signals() #0 {
%1 = alloca %struct.sigaction, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #3
%2 = load i32, ptr @sighandler, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %2, ptr %3, align 4, !tbaa !10
%4 = load i32, ptr @SA_RESTART, align 4, !tbaa !6
%5 = load i32, ptr @SA_RESETHAND, align 4, !tbaa !6
%6 = or i32 %5, %4
%7 = load i32, ptr @SA_SIGINFO, align 4, !tbaa !6
%8 = or i32 %6, %7
store i32 %8, ptr %1, align 4, !tbaa !12
%9 = getelementptr inbounds i8, ptr %1, i64 4
%10 = call i32 @sigfillset(ptr noundef nonnull %9) #3
%11 = icmp ne i32 %10, -1
%12 = zext i1 %11 to i32
%13 = call i32 @ATF_REQUIRE(i32 noundef %12) #3
%14 = load i32, ptr @SIGILL, align 4, !tbaa !6
%15 = call i32 @sigaction(i32 noundef %14, ptr noundef nonnull %1, ptr noundef null) #3
%16 = icmp ne i32 %15, -1
%17 = zext i1 %16 to i32
%18 = call i32 @ATF_REQUIRE(i32 noundef %17) #3
%19 = load i32, ptr @SIGBUS, align 4, !tbaa !6
%20 = call i32 @sigaction(i32 noundef %19, ptr noundef nonnull %1, ptr noundef null) #3
%21 = icmp ne i32 %20, -1
%22 = zext i1 %21 to i32
%23 = call i32 @ATF_REQUIRE(i32 noundef %22) #3
%24 = load i32, ptr @SIGSEGV, align 4, !tbaa !6
%25 = call i32 @sigaction(i32 noundef %24, ptr noundef nonnull %1, ptr noundef null) #3
%26 = icmp ne i32 %25, -1
%27 = zext i1 %26 to i32
%28 = call i32 @ATF_REQUIRE(i32 noundef %27) #3
call void @llvm.lifetime.end.p0(i64 12, 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 @sigfillset(ptr noundef) local_unnamed_addr #2
declare i32 @ATF_REQUIRE(i32 noundef) local_unnamed_addr #2
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 8}
!11 = !{!"sigaction", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 0}
|
freebsd_tests_sys_vm_extr_page_fault_signal.c_setup_signals
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_x38_edac.c_eccerrlog_syndrome.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_x38_edac.c_eccerrlog_syndrome.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@X38_ECCERRLOG_SYNDROME_BITS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @eccerrlog_syndrome], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i64 @eccerrlog_syndrome(i32 noundef %0) #0 {
%2 = load i32, ptr @X38_ECCERRLOG_SYNDROME_BITS, align 4, !tbaa !5
%3 = and i32 %2, %0
%4 = ashr i32 %3, 16
%5 = sext i32 %4 to i64
ret i64 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_x38_edac.c_eccerrlog_syndrome.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_x38_edac.c_eccerrlog_syndrome.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@X38_ECCERRLOG_SYNDROME_BITS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @eccerrlog_syndrome], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i64 -32768, 32768) i64 @eccerrlog_syndrome(i32 noundef %0) #0 {
%2 = load i32, ptr @X38_ECCERRLOG_SYNDROME_BITS, align 4, !tbaa !6
%3 = and i32 %2, %0
%4 = ashr i32 %3, 16
%5 = sext i32 %4 to i64
ret i64 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_edac_extr_x38_edac.c_eccerrlog_syndrome
|
; ModuleID = 'AnghaBench/linux/net/iucv/extr_iucv.c_iucv_message_reject.c'
source_filename = "AnghaBench/linux/net/iucv/extr_iucv.c_iucv_message_reject.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32 }
%struct.iucv_message = type { i32, i32 }
@iucv_buffer_cpumask = dso_local global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@iucv_param = dso_local local_unnamed_addr global ptr null, align 8
@IUCV_IPTRGCLS = dso_local local_unnamed_addr global i32 0, align 4
@IUCV_IPFGMID = dso_local local_unnamed_addr global i32 0, align 4
@IUCV_IPFGPID = dso_local local_unnamed_addr global i32 0, align 4
@IUCV_REJECT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @iucv_message_reject(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @local_bh_disable() #2
%4 = tail call i64 @cpumask_empty(ptr noundef nonnull @iucv_buffer_cpumask) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr @EIO, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %29
9: ; preds = %2
%10 = load ptr, ptr @iucv_param, align 8, !tbaa !9
%11 = tail call i64 (...) @smp_processor_id() #2
%12 = getelementptr inbounds ptr, ptr %10, i64 %11
%13 = load ptr, ptr %12, align 8, !tbaa !9
%14 = tail call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 16) #2
%15 = load i32, ptr %0, align 4, !tbaa !11
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 3
store i32 %15, ptr %16, align 4, !tbaa !13
%17 = getelementptr inbounds %struct.iucv_message, ptr %1, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 2
store i32 %18, ptr %19, align 4, !tbaa !13
%20 = load i32, ptr %1, align 4, !tbaa !16
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 1
store i32 %20, ptr %21, align 4, !tbaa !13
%22 = load i32, ptr @IUCV_IPTRGCLS, align 4, !tbaa !5
%23 = load i32, ptr @IUCV_IPFGMID, align 4, !tbaa !5
%24 = or i32 %23, %22
%25 = load i32, ptr @IUCV_IPFGPID, align 4, !tbaa !5
%26 = or i32 %24, %25
store i32 %26, ptr %13, align 4, !tbaa !13
%27 = load i32, ptr @IUCV_REJECT, align 4, !tbaa !5
%28 = tail call i32 @iucv_call_b2f0(i32 noundef %27, ptr noundef nonnull %13) #2
br label %29
29: ; preds = %9, %6
%30 = phi i32 [ %8, %6 ], [ %28, %9 ]
%31 = tail call i32 (...) @local_bh_enable() #2
ret i32 %30
}
declare i32 @local_bh_disable(...) local_unnamed_addr #1
declare i64 @cpumask_empty(ptr noundef) local_unnamed_addr #1
declare i64 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iucv_call_b2f0(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @local_bh_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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"iucv_path", !6, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !6, i64 4}
!15 = !{!"iucv_message", !6, i64 0, !6, i64 4}
!16 = !{!15, !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/net/iucv/extr_iucv.c_iucv_message_reject.c'
source_filename = "AnghaBench/linux/net/iucv/extr_iucv.c_iucv_message_reject.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@iucv_buffer_cpumask = common global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@iucv_param = common local_unnamed_addr global ptr null, align 8
@IUCV_IPTRGCLS = common local_unnamed_addr global i32 0, align 4
@IUCV_IPFGMID = common local_unnamed_addr global i32 0, align 4
@IUCV_IPFGPID = common local_unnamed_addr global i32 0, align 4
@IUCV_REJECT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @iucv_message_reject(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @local_bh_disable() #2
%4 = tail call i64 @cpumask_empty(ptr noundef nonnull @iucv_buffer_cpumask) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr @EIO, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %29
9: ; preds = %2
%10 = load ptr, ptr @iucv_param, align 8, !tbaa !10
%11 = tail call i64 @smp_processor_id() #2
%12 = getelementptr inbounds ptr, ptr %10, i64 %11
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = tail call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 16) #2
%15 = load i32, ptr %0, align 4, !tbaa !12
%16 = getelementptr inbounds i8, ptr %13, i64 12
store i32 %15, ptr %16, align 4, !tbaa !14
%17 = getelementptr inbounds i8, ptr %1, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = getelementptr inbounds i8, ptr %13, i64 8
store i32 %18, ptr %19, align 4, !tbaa !14
%20 = load i32, ptr %1, align 4, !tbaa !17
%21 = getelementptr inbounds i8, ptr %13, i64 4
store i32 %20, ptr %21, align 4, !tbaa !14
%22 = load i32, ptr @IUCV_IPTRGCLS, align 4, !tbaa !6
%23 = load i32, ptr @IUCV_IPFGMID, align 4, !tbaa !6
%24 = or i32 %23, %22
%25 = load i32, ptr @IUCV_IPFGPID, align 4, !tbaa !6
%26 = or i32 %24, %25
store i32 %26, ptr %13, align 4, !tbaa !14
%27 = load i32, ptr @IUCV_REJECT, align 4, !tbaa !6
%28 = tail call i32 @iucv_call_b2f0(i32 noundef %27, ptr noundef nonnull %13) #2
br label %29
29: ; preds = %9, %6
%30 = phi i32 [ %8, %6 ], [ %28, %9 ]
%31 = tail call i32 @local_bh_enable() #2
ret i32 %30
}
declare i32 @local_bh_disable(...) local_unnamed_addr #1
declare i64 @cpumask_empty(ptr noundef) local_unnamed_addr #1
declare i64 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iucv_call_b2f0(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @local_bh_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)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"iucv_path", !7, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !7, i64 4}
!16 = !{!"iucv_message", !7, i64 0, !7, i64 4}
!17 = !{!16, !7, i64 0}
|
linux_net_iucv_extr_iucv.c_iucv_message_reject
|
; ModuleID = 'AnghaBench/linux/fs/afs/extr_fsclient.c_afs_deliver_fs_inline_bulk_status.c'
source_filename = "AnghaBench/linux/fs/afs/extr_fsclient.c_afs_deliver_fs_inline_bulk_status.c"
target datalayout = "e-m:e-p270:32:32-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.afs_call = type { i32, i64, i64, i32, ptr, ptr, i32 }
%struct.afs_status_cb = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"{%u}\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"extract status count\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"status count: %u/%u\00", align 1
@EBADMSG = dso_local local_unnamed_addr global i32 0, align 4
@afs_eproto_ibulkst_count = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"extract status array %u\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"extract CB count\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"CB count: %u\00", align 1
@afs_eproto_ibulkst_cb_count = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [17 x i8] c"extract CB array\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"unmarshall CB array\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c" = 0 [done]\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @afs_deliver_fs_inline_bulk_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @afs_deliver_fs_inline_bulk_status(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @_enter(ptr noundef nonnull @.str, i32 noundef %3) #3
%5 = load i32, ptr %0, align 8, !tbaa !5
switch i32 %5, label %116 [
i32 0, label %6
i32 1, label %10
i32 2, label %34
i32 3, label %59
i32 4, label %82
i32 5, label %105
]
6: ; preds = %1
%7 = tail call i32 @afs_extract_to_tmp(ptr noundef nonnull %0) #3
%8 = load i32, ptr %0, align 8, !tbaa !5
%9 = add nsw i32 %8, 1
store i32 %9, ptr %0, align 8, !tbaa !5
br label %10
10: ; preds = %1, %6
%11 = tail call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.1) #3
%12 = tail call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 1) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %118, label %14
14: ; preds = %10
%15 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 6
%16 = load i32, ptr %15, align 8, !tbaa !12
%17 = tail call i64 @ntohl(i32 noundef %16) #3
%18 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 1
%19 = load i64, ptr %18, align 8, !tbaa !13
%20 = tail call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.2, i64 noundef %17, i64 noundef %19) #3
%21 = load i64, ptr %18, align 8, !tbaa !13
%22 = icmp eq i64 %17, %21
br i1 %22, label %28, label %23
23: ; preds = %14
%24 = load i32, ptr @EBADMSG, align 4, !tbaa !14
%25 = sub nsw i32 0, %24
%26 = load i32, ptr @afs_eproto_ibulkst_count, align 4, !tbaa !14
%27 = tail call i32 @afs_protocol_error(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %26) #3
br label %118
28: ; preds = %14
%29 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 2
store i64 0, ptr %29, align 8, !tbaa !15
%30 = load i32, ptr %0, align 8, !tbaa !5
%31 = add nsw i32 %30, 1
store i32 %31, ptr %0, align 8, !tbaa !5
br label %32
32: ; preds = %49, %28
%33 = call i32 @afs_extract_to_buf(ptr noundef nonnull %0, i32 noundef 84) #3
br label %34
34: ; preds = %1, %32
%35 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 2
%36 = load i64, ptr %35, align 8, !tbaa !15
%37 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.3, i64 noundef %36) #3
%38 = call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 1) #3
%39 = icmp slt i32 %38, 0
br i1 %39, label %118, label %40
40: ; preds = %34
%41 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 4
%42 = load ptr, ptr %41, align 8, !tbaa !16
store ptr %42, ptr %2, align 8, !tbaa !17
%43 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 5
%44 = load ptr, ptr %43, align 8, !tbaa !18
%45 = load i64, ptr %35, align 8, !tbaa !15
%46 = getelementptr inbounds %struct.afs_status_cb, ptr %44, i64 %45
%47 = call i32 @xdr_decode_AFSFetchStatus(ptr noundef nonnull %2, ptr noundef nonnull %0, ptr noundef %46) #3
%48 = icmp slt i32 %47, 0
br i1 %48, label %118, label %49
49: ; preds = %40
%50 = load i64, ptr %35, align 8, !tbaa !15
%51 = add i64 %50, 1
store i64 %51, ptr %35, align 8, !tbaa !15
%52 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 1
%53 = load i64, ptr %52, align 8, !tbaa !13
%54 = icmp ult i64 %51, %53
br i1 %54, label %32, label %55
55: ; preds = %49
store i64 0, ptr %35, align 8, !tbaa !15
%56 = load i32, ptr %0, align 8, !tbaa !5
%57 = add nsw i32 %56, 1
store i32 %57, ptr %0, align 8, !tbaa !5
%58 = call i32 @afs_extract_to_tmp(ptr noundef nonnull %0) #3
br label %59
59: ; preds = %1, %55
%60 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.4) #3
%61 = call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 1) #3
%62 = icmp slt i32 %61, 0
br i1 %62, label %118, label %63
63: ; preds = %59
%64 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 6
%65 = load i32, ptr %64, align 8, !tbaa !12
%66 = call i64 @ntohl(i32 noundef %65) #3
%67 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.5, i64 noundef %66) #3
%68 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 1
%69 = load i64, ptr %68, align 8, !tbaa !13
%70 = icmp eq i64 %66, %69
br i1 %70, label %76, label %71
71: ; preds = %63
%72 = load i32, ptr @EBADMSG, align 4, !tbaa !14
%73 = sub nsw i32 0, %72
%74 = load i32, ptr @afs_eproto_ibulkst_cb_count, align 4, !tbaa !14
%75 = call i32 @afs_protocol_error(ptr noundef nonnull %0, i32 noundef %73, i32 noundef %74) #3
br label %118
76: ; preds = %63
%77 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 2
store i64 0, ptr %77, align 8, !tbaa !15
%78 = load i32, ptr %0, align 8, !tbaa !5
%79 = add nsw i32 %78, 1
store i32 %79, ptr %0, align 8, !tbaa !5
br label %80
80: ; preds = %86, %76
%81 = call i32 @afs_extract_to_buf(ptr noundef nonnull %0, i32 noundef 12) #3
br label %82
82: ; preds = %1, %80
%83 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.6) #3
%84 = call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 1) #3
%85 = icmp slt i32 %84, 0
br i1 %85, label %118, label %86
86: ; preds = %82
%87 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.7) #3
%88 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 4
%89 = load ptr, ptr %88, align 8, !tbaa !16
store ptr %89, ptr %2, align 8, !tbaa !17
%90 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 5
%91 = load ptr, ptr %90, align 8, !tbaa !18
%92 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 2
%93 = load i64, ptr %92, align 8, !tbaa !15
%94 = getelementptr inbounds %struct.afs_status_cb, ptr %91, i64 %93
%95 = call i32 @xdr_decode_AFSCallBack(ptr noundef nonnull %2, ptr noundef nonnull %0, ptr noundef %94) #3
%96 = load i64, ptr %92, align 8, !tbaa !15
%97 = add i64 %96, 1
store i64 %97, ptr %92, align 8, !tbaa !15
%98 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 1
%99 = load i64, ptr %98, align 8, !tbaa !13
%100 = icmp ult i64 %97, %99
br i1 %100, label %80, label %101
101: ; preds = %86
%102 = call i32 @afs_extract_to_buf(ptr noundef nonnull %0, i32 noundef 24) #3
%103 = load i32, ptr %0, align 8, !tbaa !5
%104 = add nsw i32 %103, 1
store i32 %104, ptr %0, align 8, !tbaa !5
br label %105
105: ; preds = %1, %101
%106 = call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 0) #3
%107 = icmp slt i32 %106, 0
br i1 %107, label %118, label %108
108: ; preds = %105
%109 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 4
%110 = load ptr, ptr %109, align 8, !tbaa !16
store ptr %110, ptr %2, align 8, !tbaa !17
%111 = getelementptr inbounds %struct.afs_call, ptr %0, i64 0, i32 3
%112 = load i32, ptr %111, align 8, !tbaa !19
%113 = call i32 @xdr_decode_AFSVolSync(ptr noundef nonnull %2, i32 noundef %112) #3
%114 = load i32, ptr %0, align 8, !tbaa !5
%115 = add nsw i32 %114, 1
store i32 %115, ptr %0, align 8, !tbaa !5
br label %116
116: ; preds = %1, %108
%117 = call i32 @_leave(ptr noundef nonnull @.str.8) #3
br label %118
118: ; preds = %105, %82, %59, %40, %34, %10, %116, %71, %23
%119 = phi i32 [ 0, %116 ], [ %75, %71 ], [ %27, %23 ], [ %12, %10 ], [ %38, %34 ], [ %47, %40 ], [ %61, %59 ], [ %84, %82 ], [ %106, %105 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %119
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @_enter(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @afs_extract_to_tmp(ptr noundef) local_unnamed_addr #2
declare i32 @_debug(ptr noundef, ...) local_unnamed_addr #2
declare i32 @afs_extract_data(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ntohl(i32 noundef) local_unnamed_addr #2
declare i32 @afs_protocol_error(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @afs_extract_to_buf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @xdr_decode_AFSFetchStatus(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xdr_decode_AFSCallBack(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xdr_decode_AFSVolSync(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_leave(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 = !{!"afs_call", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !11, i64 40, !7, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 48}
!13 = !{!6, !10, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !11, i64 32}
!17 = !{!11, !11, i64 0}
!18 = !{!6, !11, i64 40}
!19 = !{!6, !7, i64 24}
|
; ModuleID = 'AnghaBench/linux/fs/afs/extr_fsclient.c_afs_deliver_fs_inline_bulk_status.c'
source_filename = "AnghaBench/linux/fs/afs/extr_fsclient.c_afs_deliver_fs_inline_bulk_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.afs_status_cb = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"{%u}\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"extract status count\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"status count: %u/%u\00", align 1
@EBADMSG = common local_unnamed_addr global i32 0, align 4
@afs_eproto_ibulkst_count = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"extract status array %u\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"extract CB count\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"CB count: %u\00", align 1
@afs_eproto_ibulkst_cb_count = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [17 x i8] c"extract CB array\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"unmarshall CB array\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c" = 0 [done]\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @afs_deliver_fs_inline_bulk_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @afs_deliver_fs_inline_bulk_status(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @_enter(ptr noundef nonnull @.str, i32 noundef %3) #3
%5 = load i32, ptr %0, align 8, !tbaa !6
switch i32 %5, label %116 [
i32 0, label %6
i32 1, label %10
i32 2, label %34
i32 3, label %59
i32 4, label %82
i32 5, label %105
]
6: ; preds = %1
%7 = tail call i32 @afs_extract_to_tmp(ptr noundef nonnull %0) #3
%8 = load i32, ptr %0, align 8, !tbaa !6
%9 = add nsw i32 %8, 1
store i32 %9, ptr %0, align 8, !tbaa !6
br label %10
10: ; preds = %1, %6
%11 = tail call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.1) #3
%12 = tail call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 1) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %118, label %14
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %0, i64 48
%16 = load i32, ptr %15, align 8, !tbaa !13
%17 = tail call i64 @ntohl(i32 noundef %16) #3
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load i64, ptr %18, align 8, !tbaa !14
%20 = tail call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.2, i64 noundef %17, i64 noundef %19) #3
%21 = load i64, ptr %18, align 8, !tbaa !14
%22 = icmp eq i64 %17, %21
br i1 %22, label %28, label %23
23: ; preds = %14
%24 = load i32, ptr @EBADMSG, align 4, !tbaa !15
%25 = sub nsw i32 0, %24
%26 = load i32, ptr @afs_eproto_ibulkst_count, align 4, !tbaa !15
%27 = tail call i32 @afs_protocol_error(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %26) #3
br label %118
28: ; preds = %14
%29 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %29, align 8, !tbaa !16
%30 = load i32, ptr %0, align 8, !tbaa !6
%31 = add nsw i32 %30, 1
store i32 %31, ptr %0, align 8, !tbaa !6
br label %32
32: ; preds = %49, %28
%33 = call i32 @afs_extract_to_buf(ptr noundef nonnull %0, i32 noundef 84) #3
br label %34
34: ; preds = %1, %32
%35 = getelementptr inbounds i8, ptr %0, i64 16
%36 = load i64, ptr %35, align 8, !tbaa !16
%37 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.3, i64 noundef %36) #3
%38 = call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 1) #3
%39 = icmp slt i32 %38, 0
br i1 %39, label %118, label %40
40: ; preds = %34
%41 = getelementptr inbounds i8, ptr %0, i64 32
%42 = load ptr, ptr %41, align 8, !tbaa !17
store ptr %42, ptr %2, align 8, !tbaa !18
%43 = getelementptr inbounds i8, ptr %0, i64 40
%44 = load ptr, ptr %43, align 8, !tbaa !19
%45 = load i64, ptr %35, align 8, !tbaa !16
%46 = getelementptr inbounds %struct.afs_status_cb, ptr %44, i64 %45
%47 = call i32 @xdr_decode_AFSFetchStatus(ptr noundef nonnull %2, ptr noundef nonnull %0, ptr noundef %46) #3
%48 = icmp slt i32 %47, 0
br i1 %48, label %118, label %49
49: ; preds = %40
%50 = load i64, ptr %35, align 8, !tbaa !16
%51 = add i64 %50, 1
store i64 %51, ptr %35, align 8, !tbaa !16
%52 = getelementptr inbounds i8, ptr %0, i64 8
%53 = load i64, ptr %52, align 8, !tbaa !14
%54 = icmp ult i64 %51, %53
br i1 %54, label %32, label %55
55: ; preds = %49
store i64 0, ptr %35, align 8, !tbaa !16
%56 = load i32, ptr %0, align 8, !tbaa !6
%57 = add nsw i32 %56, 1
store i32 %57, ptr %0, align 8, !tbaa !6
%58 = call i32 @afs_extract_to_tmp(ptr noundef nonnull %0) #3
br label %59
59: ; preds = %1, %55
%60 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.4) #3
%61 = call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 1) #3
%62 = icmp slt i32 %61, 0
br i1 %62, label %118, label %63
63: ; preds = %59
%64 = getelementptr inbounds i8, ptr %0, i64 48
%65 = load i32, ptr %64, align 8, !tbaa !13
%66 = call i64 @ntohl(i32 noundef %65) #3
%67 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.5, i64 noundef %66) #3
%68 = getelementptr inbounds i8, ptr %0, i64 8
%69 = load i64, ptr %68, align 8, !tbaa !14
%70 = icmp eq i64 %66, %69
br i1 %70, label %76, label %71
71: ; preds = %63
%72 = load i32, ptr @EBADMSG, align 4, !tbaa !15
%73 = sub nsw i32 0, %72
%74 = load i32, ptr @afs_eproto_ibulkst_cb_count, align 4, !tbaa !15
%75 = call i32 @afs_protocol_error(ptr noundef nonnull %0, i32 noundef %73, i32 noundef %74) #3
br label %118
76: ; preds = %63
%77 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %77, align 8, !tbaa !16
%78 = load i32, ptr %0, align 8, !tbaa !6
%79 = add nsw i32 %78, 1
store i32 %79, ptr %0, align 8, !tbaa !6
br label %80
80: ; preds = %86, %76
%81 = call i32 @afs_extract_to_buf(ptr noundef nonnull %0, i32 noundef 12) #3
br label %82
82: ; preds = %1, %80
%83 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.6) #3
%84 = call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 1) #3
%85 = icmp slt i32 %84, 0
br i1 %85, label %118, label %86
86: ; preds = %82
%87 = call i32 (ptr, ...) @_debug(ptr noundef nonnull @.str.7) #3
%88 = getelementptr inbounds i8, ptr %0, i64 32
%89 = load ptr, ptr %88, align 8, !tbaa !17
store ptr %89, ptr %2, align 8, !tbaa !18
%90 = getelementptr inbounds i8, ptr %0, i64 40
%91 = load ptr, ptr %90, align 8, !tbaa !19
%92 = getelementptr inbounds i8, ptr %0, i64 16
%93 = load i64, ptr %92, align 8, !tbaa !16
%94 = getelementptr inbounds %struct.afs_status_cb, ptr %91, i64 %93
%95 = call i32 @xdr_decode_AFSCallBack(ptr noundef nonnull %2, ptr noundef %0, ptr noundef %94) #3
%96 = load i64, ptr %92, align 8, !tbaa !16
%97 = add i64 %96, 1
store i64 %97, ptr %92, align 8, !tbaa !16
%98 = getelementptr inbounds i8, ptr %0, i64 8
%99 = load i64, ptr %98, align 8, !tbaa !14
%100 = icmp ult i64 %97, %99
br i1 %100, label %80, label %101
101: ; preds = %86
%102 = call i32 @afs_extract_to_buf(ptr noundef nonnull %0, i32 noundef 24) #3
%103 = load i32, ptr %0, align 8, !tbaa !6
%104 = add nsw i32 %103, 1
store i32 %104, ptr %0, align 8, !tbaa !6
br label %105
105: ; preds = %1, %101
%106 = call i32 @afs_extract_data(ptr noundef nonnull %0, i32 noundef 0) #3
%107 = icmp slt i32 %106, 0
br i1 %107, label %118, label %108
108: ; preds = %105
%109 = getelementptr inbounds i8, ptr %0, i64 32
%110 = load ptr, ptr %109, align 8, !tbaa !17
store ptr %110, ptr %2, align 8, !tbaa !18
%111 = getelementptr inbounds i8, ptr %0, i64 24
%112 = load i32, ptr %111, align 8, !tbaa !20
%113 = call i32 @xdr_decode_AFSVolSync(ptr noundef nonnull %2, i32 noundef %112) #3
%114 = load i32, ptr %0, align 8, !tbaa !6
%115 = add nsw i32 %114, 1
store i32 %115, ptr %0, align 8, !tbaa !6
br label %116
116: ; preds = %1, %108
%117 = call i32 @_leave(ptr noundef nonnull @.str.8) #3
br label %118
118: ; preds = %105, %82, %59, %40, %34, %10, %116, %71, %23
%119 = phi i32 [ 0, %116 ], [ %75, %71 ], [ %27, %23 ], [ %12, %10 ], [ %38, %34 ], [ %47, %40 ], [ %61, %59 ], [ %84, %82 ], [ %106, %105 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %119
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @_enter(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @afs_extract_to_tmp(ptr noundef) local_unnamed_addr #2
declare i32 @_debug(ptr noundef, ...) local_unnamed_addr #2
declare i32 @afs_extract_data(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @ntohl(i32 noundef) local_unnamed_addr #2
declare i32 @afs_protocol_error(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @afs_extract_to_buf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @xdr_decode_AFSFetchStatus(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xdr_decode_AFSCallBack(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xdr_decode_AFSVolSync(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_leave(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 = !{!"afs_call", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !12, i64 32, !12, i64 40, !8, i64 48}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 48}
!14 = !{!7, !11, i64 8}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !11, i64 16}
!17 = !{!7, !12, i64 32}
!18 = !{!12, !12, i64 0}
!19 = !{!7, !12, i64 40}
!20 = !{!7, !8, i64 24}
|
linux_fs_afs_extr_fsclient.c_afs_deliver_fs_inline_bulk_status
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_vga.c_vga_load_palette2.c'
source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_vga.c_vga_load_palette2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i64 }
@V_ADP_PALETTE = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@PIXMASK = dso_local local_unnamed_addr global i32 0, align 4
@PALWADR = dso_local local_unnamed_addr global i32 0, align 4
@V_ADP_DAC8 = dso_local local_unnamed_addr global i32 0, align 4
@PALDATA = dso_local local_unnamed_addr global i32 0, align 4
@ATC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vga_load_palette2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vga_load_palette2(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5) #0 {
%7 = load i32, ptr @V_ADP_PALETTE, align 4, !tbaa !5
%8 = load i32, ptr @ENODEV, align 4, !tbaa !5
%9 = tail call i32 @prologue(ptr noundef %0, i32 noundef %7, i32 noundef %8) #2
%10 = load i32, ptr @PIXMASK, align 4, !tbaa !5
%11 = tail call i32 @outb(i32 noundef %10, i32 noundef 255) #2
%12 = load i32, ptr @PALWADR, align 4, !tbaa !5
%13 = tail call i32 @outb(i32 noundef %12, i32 noundef %1) #2
%14 = load i32, ptr %0, align 8, !tbaa !9
%15 = load i32, ptr @V_ADP_DAC8, align 4, !tbaa !5
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
%18 = select i1 %17, i32 2, i32 0
%19 = icmp sgt i32 %2, 0
br i1 %19, label %20, label %41
20: ; preds = %6
%21 = zext nneg i32 %2 to i64
br label %22
22: ; preds = %20, %22
%23 = phi i64 [ 0, %20 ], [ %39, %22 ]
%24 = load i32, ptr @PALDATA, align 4, !tbaa !5
%25 = getelementptr inbounds i32, ptr %3, i64 %23
%26 = load i32, ptr %25, align 4, !tbaa !5
%27 = ashr i32 %26, %18
%28 = tail call i32 @outb(i32 noundef %24, i32 noundef %27) #2
%29 = load i32, ptr @PALDATA, align 4, !tbaa !5
%30 = getelementptr inbounds i32, ptr %4, i64 %23
%31 = load i32, ptr %30, align 4, !tbaa !5
%32 = ashr i32 %31, %18
%33 = tail call i32 @outb(i32 noundef %29, i32 noundef %32) #2
%34 = load i32, ptr @PALDATA, align 4, !tbaa !5
%35 = getelementptr inbounds i32, ptr %5, i64 %23
%36 = load i32, ptr %35, align 4, !tbaa !5
%37 = ashr i32 %36, %18
%38 = tail call i32 @outb(i32 noundef %34, i32 noundef %37) #2
%39 = add nuw nsw i64 %23, 1
%40 = icmp eq i64 %39, %21
br i1 %40, label %41, label %22, !llvm.loop !12
41: ; preds = %22, %6
%42 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%43 = load i64, ptr %42, align 8, !tbaa !14
%44 = add nsw i64 %43, 6
%45 = tail call i32 @inb(i64 noundef %44) #2
%46 = load i32, ptr @ATC, align 4, !tbaa !5
%47 = tail call i32 @outb(i32 noundef %46, i32 noundef 32) #2
ret i32 0
}
declare i32 @prologue(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inb(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, !6, i64 0}
!10 = !{!"TYPE_4__", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!10, !11, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_vga.c_vga_load_palette2.c'
source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_vga.c_vga_load_palette2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@V_ADP_PALETTE = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@PIXMASK = common local_unnamed_addr global i32 0, align 4
@PALWADR = common local_unnamed_addr global i32 0, align 4
@V_ADP_DAC8 = common local_unnamed_addr global i32 0, align 4
@PALDATA = common local_unnamed_addr global i32 0, align 4
@ATC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vga_load_palette2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @vga_load_palette2(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5) #0 {
%7 = load i32, ptr @V_ADP_PALETTE, align 4, !tbaa !6
%8 = load i32, ptr @ENODEV, align 4, !tbaa !6
%9 = tail call i32 @prologue(ptr noundef %0, i32 noundef %7, i32 noundef %8) #2
%10 = load i32, ptr @PIXMASK, align 4, !tbaa !6
%11 = tail call i32 @outb(i32 noundef %10, i32 noundef 255) #2
%12 = load i32, ptr @PALWADR, align 4, !tbaa !6
%13 = tail call i32 @outb(i32 noundef %12, i32 noundef %1) #2
%14 = load i32, ptr %0, align 8, !tbaa !10
%15 = load i32, ptr @V_ADP_DAC8, align 4, !tbaa !6
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
%18 = select i1 %17, i32 2, i32 0
%19 = icmp sgt i32 %2, 0
br i1 %19, label %20, label %41
20: ; preds = %6
%21 = zext nneg i32 %2 to i64
br label %22
22: ; preds = %20, %22
%23 = phi i64 [ 0, %20 ], [ %39, %22 ]
%24 = load i32, ptr @PALDATA, align 4, !tbaa !6
%25 = getelementptr inbounds i32, ptr %3, i64 %23
%26 = load i32, ptr %25, align 4, !tbaa !6
%27 = ashr i32 %26, %18
%28 = tail call i32 @outb(i32 noundef %24, i32 noundef %27) #2
%29 = load i32, ptr @PALDATA, align 4, !tbaa !6
%30 = getelementptr inbounds i32, ptr %4, i64 %23
%31 = load i32, ptr %30, align 4, !tbaa !6
%32 = ashr i32 %31, %18
%33 = tail call i32 @outb(i32 noundef %29, i32 noundef %32) #2
%34 = load i32, ptr @PALDATA, align 4, !tbaa !6
%35 = getelementptr inbounds i32, ptr %5, i64 %23
%36 = load i32, ptr %35, align 4, !tbaa !6
%37 = ashr i32 %36, %18
%38 = tail call i32 @outb(i32 noundef %34, i32 noundef %37) #2
%39 = add nuw nsw i64 %23, 1
%40 = icmp eq i64 %39, %21
br i1 %40, label %41, label %22, !llvm.loop !13
41: ; preds = %22, %6
%42 = getelementptr inbounds i8, ptr %0, i64 8
%43 = load i64, ptr %42, align 8, !tbaa !15
%44 = add nsw i64 %43, 6
%45 = tail call i32 @inb(i64 noundef %44) #2
%46 = load i32, ptr @ATC, align 4, !tbaa !6
%47 = tail call i32 @outb(i32 noundef %46, i32 noundef 32) #2
ret i32 0
}
declare i32 @prologue(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inb(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, !7, i64 0}
!11 = !{!"TYPE_4__", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!11, !12, i64 8}
|
freebsd_sys_dev_fb_extr_vga.c_vga_load_palette2
|
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_ps3_ctx.c_gfx_ctx_ps3_get_api.c'
source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_ps3_ctx.c_gfx_ctx_ps3_get_api.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ps3_api = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gfx_ctx_ps3_get_api], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @gfx_ctx_ps3_get_api(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @ps3_api, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_ps3_ctx.c_gfx_ctx_ps3_get_api.c'
source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_ps3_ctx.c_gfx_ctx_ps3_get_api.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ps3_api = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gfx_ctx_ps3_get_api], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @gfx_ctx_ps3_get_api(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @ps3_api, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
RetroArch_gfx_drivers_context_extr_ps3_ctx.c_gfx_ctx_ps3_get_api
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_qla1280.c_qla1280_wait_for_single_command.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_qla1280.c_qla1280_wait_for_single_command.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@wait = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qla1280_wait_for_single_command], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qla1280_wait_for_single_command(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @wait, align 4, !tbaa !5
%4 = tail call i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef %3) #2
store ptr @wait, ptr %1, align 8, !tbaa !9
%5 = tail call i32 @_qla1280_wait_for_single_command(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @wait) #2
ret i32 %5
}
declare i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef) local_unnamed_addr #1
declare i32 @_qla1280_wait_for_single_command(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"srb", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_qla1280.c_qla1280_wait_for_single_command.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_qla1280.c_qla1280_wait_for_single_command.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@wait = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qla1280_wait_for_single_command], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @qla1280_wait_for_single_command(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @wait, align 4, !tbaa !6
%4 = tail call i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef %3) #2
store ptr @wait, ptr %1, align 8, !tbaa !10
%5 = tail call i32 @_qla1280_wait_for_single_command(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull @wait) #2
ret i32 %5
}
declare i32 @DECLARE_COMPLETION_ONSTACK(i32 noundef) local_unnamed_addr #1
declare i32 @_qla1280_wait_for_single_command(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"srb", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
|
linux_drivers_scsi_extr_qla1280.c_qla1280_wait_for_single_command
|
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/extr_lbaselib.c_luaB_rawget.c'
source_filename = "AnghaBench/nodemcu-firmware/app/lua/extr_lbaselib.c_luaB_rawget.c"
target datalayout = "e-m:e-p270:32:32-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 @luaB_rawget], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @luaB_rawget(ptr noundef %0) #0 {
%2 = tail call i32 @luaL_checkanytable(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @luaL_checkany(ptr noundef %0, i32 noundef 2) #2
%4 = tail call i32 @lua_settop(ptr noundef %0, i32 noundef 2) #2
%5 = tail call i32 @lua_rawget(ptr noundef %0, i32 noundef 1) #2
ret i32 1
}
declare i32 @luaL_checkanytable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_checkany(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_settop(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_rawget(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/extr_lbaselib.c_luaB_rawget.c'
source_filename = "AnghaBench/nodemcu-firmware/app/lua/extr_lbaselib.c_luaB_rawget.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 @luaB_rawget], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @luaB_rawget(ptr noundef %0) #0 {
%2 = tail call i32 @luaL_checkanytable(ptr noundef %0, i32 noundef 1) #2
%3 = tail call i32 @luaL_checkany(ptr noundef %0, i32 noundef 2) #2
%4 = tail call i32 @lua_settop(ptr noundef %0, i32 noundef 2) #2
%5 = tail call i32 @lua_rawget(ptr noundef %0, i32 noundef 1) #2
ret i32 1
}
declare i32 @luaL_checkanytable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_checkany(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_settop(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_rawget(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)"}
|
nodemcu-firmware_app_lua_extr_lbaselib.c_luaB_rawget
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_es2lan.c_e1000_release_swfw_sync_80003es2lan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_es2lan.c_e1000_release_swfw_sync_80003es2lan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SW_FW_SYNC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_release_swfw_sync_80003es2lan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @e1000_release_swfw_sync_80003es2lan(ptr noundef %0, i32 noundef %1) #0 {
br label %3
3: ; preds = %3, %2
%4 = tail call i64 @e1000e_get_hw_semaphore(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %3, !llvm.loop !5
6: ; preds = %3
%7 = load i32, ptr @SW_FW_SYNC, align 4, !tbaa !7
%8 = tail call i32 @er32(i32 noundef %7) #2
%9 = xor i32 %1, -1
%10 = and i32 %8, %9
%11 = load i32, ptr @SW_FW_SYNC, align 4, !tbaa !7
%12 = tail call i32 @ew32(i32 noundef %11, i32 noundef %10) #2
%13 = tail call i32 @e1000e_put_hw_semaphore(ptr noundef %0) #2
ret void
}
declare i64 @e1000e_get_hw_semaphore(ptr noundef) local_unnamed_addr #1
declare i32 @er32(i32 noundef) local_unnamed_addr #1
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @e1000e_put_hw_semaphore(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_es2lan.c_e1000_release_swfw_sync_80003es2lan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/e1000e/extr_es2lan.c_e1000_release_swfw_sync_80003es2lan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SW_FW_SYNC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @e1000_release_swfw_sync_80003es2lan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @e1000_release_swfw_sync_80003es2lan(ptr noundef %0, i32 noundef %1) #0 {
br label %3
3: ; preds = %3, %2
%4 = tail call i64 @e1000e_get_hw_semaphore(ptr noundef %0) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %3, !llvm.loop !6
6: ; preds = %3
%7 = load i32, ptr @SW_FW_SYNC, align 4, !tbaa !8
%8 = tail call i32 @er32(i32 noundef %7) #2
%9 = xor i32 %1, -1
%10 = and i32 %8, %9
%11 = load i32, ptr @SW_FW_SYNC, align 4, !tbaa !8
%12 = tail call i32 @ew32(i32 noundef %11, i32 noundef %10) #2
%13 = tail call i32 @e1000e_put_hw_semaphore(ptr noundef %0) #2
ret void
}
declare i64 @e1000e_get_hw_semaphore(ptr noundef) local_unnamed_addr #1
declare i32 @er32(i32 noundef) local_unnamed_addr #1
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @e1000e_put_hw_semaphore(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_net_e1000e_extr_es2lan.c_e1000_release_swfw_sync_80003es2lan
|
; ModuleID = 'AnghaBench/systemd/src/basic/extr_copy.h_copy_tree_at.c'
source_filename = "AnghaBench/systemd/src/basic/extr_copy.h_copy_tree_at.c"
target datalayout = "e-m:e-p270:32:32-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 @copy_tree_at], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @copy_tree_at(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = tail call i32 @copy_tree_at_full(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef null, ptr noundef null, ptr noundef null) #2
ret i32 %8
}
declare i32 @copy_tree_at_full(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/systemd/src/basic/extr_copy.h_copy_tree_at.c'
source_filename = "AnghaBench/systemd/src/basic/extr_copy.h_copy_tree_at.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 @copy_tree_at], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @copy_tree_at(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = tail call i32 @copy_tree_at_full(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef null, ptr noundef null, ptr noundef null) #2
ret i32 %8
}
declare i32 @copy_tree_at_full(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
systemd_src_basic_extr_copy.h_copy_tree_at
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/cannonkeys/ortho75/extr_ortho75.c_encoder_update_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/cannonkeys/ortho75/extr_ortho75.c_encoder_update_kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@layer = dso_local local_unnamed_addr global i32 0, align 4
@KC_VOLU = dso_local local_unnamed_addr global i32 0, align 4
@KC_MEDIA_NEXT_TRACK = dso_local local_unnamed_addr global i32 0, align 4
@KC_PGDN = dso_local local_unnamed_addr global i32 0, align 4
@KC_VOLD = dso_local local_unnamed_addr global i32 0, align 4
@KC_MEDIA_PREV_TRACK = dso_local local_unnamed_addr global i32 0, align 4
@KC_PGUP = dso_local local_unnamed_addr global i32 0, align 4
@MEDIA_KEY_DELAY = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @encoder_update_kb(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i64 %0, 0
br i1 %3, label %4, label %28
4: ; preds = %2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @layer, align 4, !tbaa !5
%7 = icmp eq i32 %6, 1
%8 = icmp eq i32 %6, 2
%9 = load i32, ptr @KC_PGUP, align 4
%10 = load i32, ptr @KC_MEDIA_PREV_TRACK, align 4
%11 = load i32, ptr @KC_VOLD, align 4
%12 = select i1 %7, i32 %10, i32 %11
%13 = select i1 %8, i32 %9, i32 %12
%14 = load i32, ptr @KC_PGDN, align 4
%15 = load i32, ptr @KC_MEDIA_NEXT_TRACK, align 4
%16 = load i32, ptr @KC_VOLU, align 4
%17 = select i1 %7, i32 %15, i32 %16
%18 = select i1 %8, i32 %14, i32 %17
%19 = select i1 %5, i32 %13, i32 %18
%20 = tail call i32 (...) @timer_read() #2
%21 = tail call i32 @register_code(i32 noundef %19) #2
br label %22
22: ; preds = %22, %4
%23 = tail call i64 @timer_elapsed(i32 noundef %20) #2
%24 = load i64, ptr @MEDIA_KEY_DELAY, align 8, !tbaa !9
%25 = icmp slt i64 %23, %24
br i1 %25, label %22, label %26, !llvm.loop !11
26: ; preds = %22
%27 = tail call i32 @unregister_code(i32 noundef %19) #2
br label %28
28: ; preds = %26, %2
ret void
}
declare i32 @timer_read(...) local_unnamed_addr #1
declare i32 @register_code(i32 noundef) local_unnamed_addr #1
declare i64 @timer_elapsed(i32 noundef) local_unnamed_addr #1
declare i32 @unregister_code(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}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/cannonkeys/ortho75/extr_ortho75.c_encoder_update_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/cannonkeys/ortho75/extr_ortho75.c_encoder_update_kb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@layer = common local_unnamed_addr global i32 0, align 4
@KC_VOLU = common local_unnamed_addr global i32 0, align 4
@KC_MEDIA_NEXT_TRACK = common local_unnamed_addr global i32 0, align 4
@KC_PGDN = common local_unnamed_addr global i32 0, align 4
@KC_VOLD = common local_unnamed_addr global i32 0, align 4
@KC_MEDIA_PREV_TRACK = common local_unnamed_addr global i32 0, align 4
@KC_PGUP = common local_unnamed_addr global i32 0, align 4
@MEDIA_KEY_DELAY = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @encoder_update_kb(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i64 %0, 0
br i1 %3, label %4, label %28
4: ; preds = %2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @layer, align 4, !tbaa !6
%7 = icmp eq i32 %6, 1
%8 = icmp eq i32 %6, 2
%9 = load i32, ptr @KC_PGUP, align 4
%10 = load i32, ptr @KC_MEDIA_PREV_TRACK, align 4
%11 = load i32, ptr @KC_VOLD, align 4
%12 = select i1 %7, i32 %10, i32 %11
%13 = select i1 %8, i32 %9, i32 %12
%14 = load i32, ptr @KC_PGDN, align 4
%15 = load i32, ptr @KC_MEDIA_NEXT_TRACK, align 4
%16 = load i32, ptr @KC_VOLU, align 4
%17 = select i1 %7, i32 %15, i32 %16
%18 = select i1 %8, i32 %14, i32 %17
%19 = select i1 %5, i32 %13, i32 %18
%20 = tail call i32 @timer_read() #2
%21 = tail call i32 @register_code(i32 noundef %19) #2
br label %22
22: ; preds = %22, %4
%23 = tail call i64 @timer_elapsed(i32 noundef %20) #2
%24 = load i64, ptr @MEDIA_KEY_DELAY, align 8, !tbaa !10
%25 = icmp slt i64 %23, %24
br i1 %25, label %22, label %26, !llvm.loop !12
26: ; preds = %22
%27 = tail call i32 @unregister_code(i32 noundef %19) #2
br label %28
28: ; preds = %26, %2
ret void
}
declare i32 @timer_read(...) local_unnamed_addr #1
declare i32 @register_code(i32 noundef) local_unnamed_addr #1
declare i64 @timer_elapsed(i32 noundef) local_unnamed_addr #1
declare i32 @unregister_code(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}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
qmk_firmware_keyboards_cannonkeys_ortho75_extr_ortho75.c_encoder_update_kb
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hs20/client/extr_oma_dm_client.c_oma_dm_sub_rem.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/hs20/client/extr_oma_dm_client.c_oma_dm_sub_rem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hs20_osu_client = type { i32, i32 }
@MSG_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"OMA-DM subscription remediation\00", align 1
@.str.1 = private unnamed_addr constant [82 x i8] c"Update wpa_supplicant credential based on updated PPS MO and request reconnection\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"INTERWORKING_SELECT auto\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Failed to request wpa_supplicant to reconnect\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @oma_dm_sub_rem(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
store ptr null, ptr %9, align 8, !tbaa !5
%10 = load i32, ptr @MSG_INFO, align 4, !tbaa !9
%11 = tail call i32 @wpa_printf(i32 noundef %10, ptr noundef nonnull @.str) #3
%12 = tail call i32 @write_summary(ptr noundef %0, ptr noundef nonnull @.str) #3
%13 = tail call ptr @build_oma_dm_1_sub_rem(ptr noundef %0, ptr noundef %1, i32 noundef 1) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %45, label %15
15: ; preds = %8
%16 = getelementptr inbounds %struct.hs20_osu_client, ptr %0, i64 0, i32 1
br label %17
17: ; preds = %15, %25
%18 = phi i32 [ 1, %15 ], [ %26, %25 ]
%19 = phi ptr [ %13, %15 ], [ %27, %25 ]
%20 = load ptr, ptr %9, align 8
%21 = icmp eq ptr %20, null
%22 = select i1 %21, ptr %1, ptr %20
%23 = call ptr @oma_dm_send_recv(ptr noundef %0, ptr noundef %22, ptr noundef nonnull %19, ptr noundef null, ptr noundef %5, ptr noundef %6, ptr noundef %3, ptr noundef %4) #3
%24 = icmp eq ptr %23, null
br i1 %24, label %45, label %25
25: ; preds = %17
%26 = add nuw nsw i32 %18, 1
%27 = call ptr @oma_dm_process(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %23, i32 noundef %26, ptr noundef nonnull %9, ptr noundef %7, ptr noundef %2) #3
%28 = load i32, ptr %16, align 4, !tbaa !11
%29 = call i32 @xml_node_free(i32 noundef %28, ptr noundef nonnull %23) #3
%30 = icmp eq ptr %27, null
br i1 %30, label %31, label %17, !llvm.loop !13
31: ; preds = %25
%32 = load ptr, ptr %9, align 8, !tbaa !5
%33 = call i32 @os_free(ptr noundef %32) #3
%34 = load i32, ptr @MSG_INFO, align 4, !tbaa !9
%35 = call i32 @wpa_printf(i32 noundef %34, ptr noundef nonnull @.str.1) #3
%36 = call i32 @write_summary(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3
%37 = call i32 @cmd_set_pps(ptr noundef nonnull %0, ptr noundef %2) #3
%38 = load i32, ptr %0, align 4, !tbaa !15
%39 = call i64 @wpa_command(i32 noundef %38, ptr noundef nonnull @.str.2) #3
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %31
%42 = load i32, ptr @MSG_INFO, align 4, !tbaa !9
%43 = call i32 @wpa_printf(i32 noundef %42, ptr noundef nonnull @.str.3) #3
%44 = call i32 @write_summary(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #3
br label %45
45: ; preds = %17, %31, %41, %8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #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 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @write_summary(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @build_oma_dm_1_sub_rem(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @oma_dm_send_recv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @oma_dm_process(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xml_node_free(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @os_free(ptr noundef) local_unnamed_addr #2
declare i32 @cmd_set_pps(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @wpa_command(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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"hs20_osu_client", !10, i64 0, !10, i64 4}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!12, !10, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hs20/client/extr_oma_dm_client.c_oma_dm_sub_rem.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/hs20/client/extr_oma_dm_client.c_oma_dm_sub_rem.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSG_INFO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"OMA-DM subscription remediation\00", align 1
@.str.1 = private unnamed_addr constant [82 x i8] c"Update wpa_supplicant credential based on updated PPS MO and request reconnection\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"INTERWORKING_SELECT auto\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Failed to request wpa_supplicant to reconnect\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @oma_dm_sub_rem(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
store ptr null, ptr %9, align 8, !tbaa !6
%10 = load i32, ptr @MSG_INFO, align 4, !tbaa !10
%11 = tail call i32 @wpa_printf(i32 noundef %10, ptr noundef nonnull @.str) #3
%12 = tail call i32 @write_summary(ptr noundef %0, ptr noundef nonnull @.str) #3
%13 = tail call ptr @build_oma_dm_1_sub_rem(ptr noundef %0, ptr noundef %1, i32 noundef 1) #3
%14 = icmp eq ptr %13, null
br i1 %14, label %45, label %15
15: ; preds = %8
%16 = getelementptr inbounds i8, ptr %0, i64 4
br label %17
17: ; preds = %15, %25
%18 = phi i32 [ 1, %15 ], [ %26, %25 ]
%19 = phi ptr [ %13, %15 ], [ %27, %25 ]
%20 = load ptr, ptr %9, align 8
%21 = icmp eq ptr %20, null
%22 = select i1 %21, ptr %1, ptr %20
%23 = call ptr @oma_dm_send_recv(ptr noundef %0, ptr noundef %22, ptr noundef nonnull %19, ptr noundef null, ptr noundef %5, ptr noundef %6, ptr noundef %3, ptr noundef %4) #3
%24 = icmp eq ptr %23, null
br i1 %24, label %45, label %25
25: ; preds = %17
%26 = add nuw nsw i32 %18, 1
%27 = call ptr @oma_dm_process(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %23, i32 noundef %26, ptr noundef nonnull %9, ptr noundef %7, ptr noundef %2) #3
%28 = load i32, ptr %16, align 4, !tbaa !12
%29 = call i32 @xml_node_free(i32 noundef %28, ptr noundef nonnull %23) #3
%30 = icmp eq ptr %27, null
br i1 %30, label %31, label %17, !llvm.loop !14
31: ; preds = %25
%32 = load ptr, ptr %9, align 8, !tbaa !6
%33 = call i32 @os_free(ptr noundef %32) #3
%34 = load i32, ptr @MSG_INFO, align 4, !tbaa !10
%35 = call i32 @wpa_printf(i32 noundef %34, ptr noundef nonnull @.str.1) #3
%36 = call i32 @write_summary(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3
%37 = call i32 @cmd_set_pps(ptr noundef nonnull %0, ptr noundef %2) #3
%38 = load i32, ptr %0, align 4, !tbaa !16
%39 = call i64 @wpa_command(i32 noundef %38, ptr noundef nonnull @.str.2) #3
%40 = icmp slt i64 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %31
%42 = load i32, ptr @MSG_INFO, align 4, !tbaa !10
%43 = call i32 @wpa_printf(i32 noundef %42, ptr noundef nonnull @.str.3) #3
%44 = call i32 @write_summary(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #3
br label %45
45: ; preds = %17, %31, %41, %8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #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 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @write_summary(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @build_oma_dm_1_sub_rem(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @oma_dm_send_recv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @oma_dm_process(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @xml_node_free(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @os_free(ptr noundef) local_unnamed_addr #2
declare i32 @cmd_set_pps(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @wpa_command(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, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"hs20_osu_client", !11, i64 0, !11, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!13, !11, i64 0}
|
freebsd_contrib_wpa_hs20_client_extr_oma_dm_client.c_oma_dm_sub_rem
|
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp2/extr_opj_dump.c_get_num_images.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp2/extr_opj_dump.c_get_num_images.c"
target datalayout = "e-m:e-p270:32:32-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 [26 x i8] c"Could not open Folder %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_num_images], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_num_images(ptr noundef %0) #0 {
%2 = tail call ptr @opendir(ptr noundef %0)
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call ptr @readdir(ptr noundef nonnull %2) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %29, label %26
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4, !tbaa !5
%9 = tail call i32 @fprintf(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef %0) #3
br label %32
10: ; preds = %26, %19
%11 = phi ptr [ %27, %26 ], [ %20, %19 ]
%12 = load i32, ptr %11, align 4, !tbaa !9
%13 = tail call i64 @strcmp(ptr noundef nonnull @.str.1, i32 noundef %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %10
%16 = load i32, ptr %11, align 4, !tbaa !9
%17 = tail call i64 @strcmp(ptr noundef nonnull @.str.2, i32 noundef %16) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15, %10
%20 = tail call ptr @readdir(ptr noundef nonnull %2) #3
%21 = icmp eq ptr %20, null
br i1 %21, label %29, label %10, !llvm.loop !11
22: ; preds = %15
%23 = add nuw nsw i32 %28, 1
%24 = tail call ptr @readdir(ptr noundef nonnull %2) #3
%25 = icmp eq ptr %24, null
br i1 %25, label %29, label %26, !llvm.loop !11
26: ; preds = %4, %22
%27 = phi ptr [ %24, %22 ], [ %5, %4 ]
%28 = phi i32 [ %23, %22 ], [ 0, %4 ]
br label %10
29: ; preds = %22, %19, %4
%30 = phi i32 [ 0, %4 ], [ %28, %19 ], [ %23, %22 ]
%31 = tail call i32 @closedir(ptr noundef nonnull %2)
br label %32
32: ; preds = %29, %7
%33 = phi i32 [ %30, %29 ], [ 0, %7 ]
ret i32 %33
}
; Function Attrs: nofree nounwind
declare noalias noundef ptr @opendir(ptr nocapture noundef readonly) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @readdir(ptr noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @closedir(ptr nocapture 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-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 = !{!"dirent", !6, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp2/extr_opj_dump.c_get_num_images.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp2/extr_opj_dump.c_get_num_images.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 [26 x i8] c"Could not open Folder %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @get_num_images], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_num_images(ptr noundef %0) #0 {
%2 = tail call ptr @opendir(ptr noundef %0)
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = tail call ptr @readdir(ptr noundef nonnull %2) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %29, label %26
7: ; preds = %1
%8 = load i32, ptr @stderr, align 4, !tbaa !6
%9 = tail call i32 @fprintf(i32 noundef %8, ptr noundef nonnull @.str, ptr noundef %0) #3
br label %32
10: ; preds = %26, %19
%11 = phi ptr [ %27, %26 ], [ %20, %19 ]
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = tail call i64 @strcmp(ptr noundef nonnull @.str.1, i32 noundef %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %10
%16 = load i32, ptr %11, align 4, !tbaa !10
%17 = tail call i64 @strcmp(ptr noundef nonnull @.str.2, i32 noundef %16) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15, %10
%20 = tail call ptr @readdir(ptr noundef nonnull %2) #3
%21 = icmp eq ptr %20, null
br i1 %21, label %29, label %10, !llvm.loop !12
22: ; preds = %15
%23 = add nuw nsw i32 %28, 1
%24 = tail call ptr @readdir(ptr noundef nonnull %2) #3
%25 = icmp eq ptr %24, null
br i1 %25, label %29, label %26, !llvm.loop !12
26: ; preds = %4, %22
%27 = phi ptr [ %24, %22 ], [ %5, %4 ]
%28 = phi i32 [ %23, %22 ], [ 0, %4 ]
br label %10
29: ; preds = %22, %19, %4
%30 = phi i32 [ 0, %4 ], [ %28, %19 ], [ %23, %22 ]
%31 = tail call i32 @closedir(ptr noundef nonnull %2)
br label %32
32: ; preds = %29, %7
%33 = phi i32 [ %30, %29 ], [ 0, %7 ]
ret i32 %33
}
; Function Attrs: nofree nounwind
declare noalias noundef ptr @opendir(ptr nocapture noundef readonly) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @readdir(ptr noundef) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @closedir(ptr nocapture 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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = !{!"dirent", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
|
sumatrapdf_ext_openjpeg_src_bin_jp2_extr_opj_dump.c_get_num_images
|
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-event.c_v4l2_event_src_merge.c'
source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-event.c_v4l2_event_src_merge.c"
target datalayout = "e-m:e-p270:32:32-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 @v4l2_event_src_merge], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @v4l2_event_src_merge(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = or i32 %4, %3
store i32 %5, ptr %1, align 4, !tbaa !5
ret void
}
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, !9, i64 0}
!6 = !{!"v4l2_event", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-event.c_v4l2_event_src_merge.c'
source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-event.c_v4l2_event_src_merge.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 @v4l2_event_src_merge], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @v4l2_event_src_merge(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = or i32 %4, %3
store i32 %5, ptr %1, align 4, !tbaa !6
ret void
}
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, !10, i64 0}
!7 = !{!"v4l2_event", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_media_v4l2-core_extr_v4l2-event.c_v4l2_event_src_merge
|
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_infttrace.c_read_from_register_save_state.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_infttrace.c_read_from_register_save_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TT_LWP_RUREGS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @read_from_register_save_state(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @TT_LWP_RUREGS, align 4, !tbaa !5
%6 = ptrtoint ptr %2 to i64
%7 = trunc i64 %6 to i32
%8 = tail call i32 @call_ttrace(i32 noundef %5, i32 noundef %0, i32 noundef %1, i32 noundef %3, i32 noundef %7) #2
%9 = icmp eq i32 %8, 1
%10 = select i1 %9, i32 0, i32 %8
ret i32 %10
}
declare i32 @call_ttrace(i32 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/freebsd/contrib/gdb/gdb/extr_infttrace.c_read_from_register_save_state.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_infttrace.c_read_from_register_save_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TT_LWP_RUREGS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 2, 1) i32 @read_from_register_save_state(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @TT_LWP_RUREGS, align 4, !tbaa !6
%6 = ptrtoint ptr %2 to i64
%7 = trunc i64 %6 to i32
%8 = tail call i32 @call_ttrace(i32 noundef %5, i32 noundef %0, i32 noundef %1, i32 noundef %3, i32 noundef %7) #2
%9 = icmp eq i32 %8, 1
%10 = select i1 %9, i32 0, i32 %8
ret i32 %10
}
declare i32 @call_ttrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_contrib_gdb_gdb_extr_infttrace.c_read_from_register_save_state
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cpia2/extr_cpia2_usb.c_write_packet.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cpia2/extr_cpia2_usb.c_write_packet.c"
target datalayout = "e-m:e-p270:32:32-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
@USB_TYPE_VENDOR = dso_local local_unnamed_addr global i32 0, align 4
@USB_RECIP_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_packet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @write_packet(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i64 noundef %4) #0 {
%6 = icmp eq ptr %2, null
%7 = icmp eq i64 %4, 0
%8 = or i1 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr @EINVAL, align 4, !tbaa !5
%11 = sub nsw i32 0, %10
br label %19
12: ; preds = %5
%13 = tail call i32 @usb_sndctrlpipe(ptr noundef %0, i32 noundef 0) #2
%14 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !5
%15 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !5
%16 = or i32 %15, %14
%17 = load i32, ptr @HZ, align 4, !tbaa !5
%18 = tail call i32 @usb_control_msg(ptr noundef %0, i32 noundef %13, i32 noundef %1, i32 noundef %16, i32 noundef %3, i32 noundef 0, ptr noundef nonnull %2, i64 noundef %4, i32 noundef %17) #2
br label %19
19: ; preds = %12, %9
%20 = phi i32 [ %11, %9 ], [ %18, %12 ]
ret i32 %20
}
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cpia2/extr_cpia2_usb.c_write_packet.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cpia2/extr_cpia2_usb.c_write_packet.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
@USB_TYPE_VENDOR = common local_unnamed_addr global i32 0, align 4
@USB_RECIP_DEVICE = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @write_packet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @write_packet(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i64 noundef %4) #0 {
%6 = icmp eq ptr %2, null
%7 = icmp eq i64 %4, 0
%8 = or i1 %6, %7
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = load i32, ptr @EINVAL, align 4, !tbaa !6
%11 = sub nsw i32 0, %10
br label %19
12: ; preds = %5
%13 = tail call i32 @usb_sndctrlpipe(ptr noundef %0, i32 noundef 0) #2
%14 = load i32, ptr @USB_TYPE_VENDOR, align 4, !tbaa !6
%15 = load i32, ptr @USB_RECIP_DEVICE, align 4, !tbaa !6
%16 = or i32 %15, %14
%17 = load i32, ptr @HZ, align 4, !tbaa !6
%18 = tail call i32 @usb_control_msg(ptr noundef %0, i32 noundef %13, i32 noundef %1, i32 noundef %16, i32 noundef %3, i32 noundef 0, ptr noundef nonnull %2, i64 noundef %4, i32 noundef %17) #2
br label %19
19: ; preds = %12, %9
%20 = phi i32 [ %11, %9 ], [ %18, %12 ]
ret i32 %20
}
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
fastsocket_kernel_drivers_media_video_cpia2_extr_cpia2_usb.c_write_packet
|
; ModuleID = 'AnghaBench/linux/sound/pci/extr_intel8x0.c_snd_intel8x0_chip_init.c'
source_filename = "AnghaBench/linux/sound/pci/extr_intel8x0.c_snd_intel8x0_chip_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.intel8x0 = type { i64, i32, ptr, ptr }
%struct.TYPE_4__ = type { i32, i64 }
@DEVICE_ALI = dso_local local_unnamed_addr global i64 0, align 8
@ICH_REG_OFF_CR = dso_local local_unnamed_addr global i64 0, align 8
@ICH_RESETREGS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"reset of registers failed?\0A\00", align 1
@ICH_REG_OFF_BDBAR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_intel8x0_chip_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_intel8x0_chip_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @DEVICE_ALI, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
br i1 %5, label %11, label %6
6: ; preds = %2
%7 = tail call i32 @snd_intel8x0_ich_chip_init(ptr noundef nonnull %0, i32 noundef %1) #2
%8 = icmp slt i32 %7, 0
br i1 %8, label %97, label %9
9: ; preds = %6
%10 = tail call i32 @iagetword(ptr noundef nonnull %0, i32 noundef 0) #2
br label %14
11: ; preds = %2
%12 = tail call i32 @snd_intel8x0_ali_chip_init(ptr noundef nonnull %0, i32 noundef %1) #2
%13 = icmp slt i32 %12, 0
br i1 %13, label %97, label %14
14: ; preds = %11, %9
%15 = getelementptr inbounds %struct.intel8x0, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 8, !tbaa !13
%17 = icmp eq i32 %16, 0
br i1 %17, label %97, label %18
18: ; preds = %14
%19 = getelementptr inbounds %struct.intel8x0, ptr %0, i64 0, i32 2
br label %24
20: ; preds = %24
%21 = icmp eq i32 %33, 0
br i1 %21, label %97, label %22
22: ; preds = %20
%23 = getelementptr inbounds %struct.intel8x0, ptr %0, i64 0, i32 2
br label %41
24: ; preds = %18, %24
%25 = phi i64 [ 0, %18 ], [ %32, %24 ]
%26 = load i64, ptr @ICH_REG_OFF_CR, align 8, !tbaa !12
%27 = load ptr, ptr %19, align 8, !tbaa !14
%28 = getelementptr inbounds %struct.TYPE_4__, ptr %27, i64 %25, i32 1
%29 = load i64, ptr %28, align 8, !tbaa !15
%30 = add nsw i64 %29, %26
%31 = tail call i32 @iputbyte(ptr noundef nonnull %0, i64 noundef %30, i32 noundef 0) #2
%32 = add nuw nsw i64 %25, 1
%33 = load i32, ptr %15, align 8, !tbaa !13
%34 = zext i32 %33 to i64
%35 = icmp ult i64 %32, %34
br i1 %35, label %24, label %20, !llvm.loop !17
36: ; preds = %41
%37 = icmp eq i32 %51, 0
br i1 %37, label %97, label %38
38: ; preds = %36
%39 = getelementptr inbounds %struct.intel8x0, ptr %0, i64 0, i32 2
%40 = getelementptr inbounds %struct.intel8x0, ptr %0, i64 0, i32 3
br label %54
41: ; preds = %22, %41
%42 = phi i64 [ 0, %22 ], [ %50, %41 ]
%43 = load i64, ptr @ICH_REG_OFF_CR, align 8, !tbaa !12
%44 = load ptr, ptr %23, align 8, !tbaa !14
%45 = getelementptr inbounds %struct.TYPE_4__, ptr %44, i64 %42, i32 1
%46 = load i64, ptr %45, align 8, !tbaa !15
%47 = add nsw i64 %46, %43
%48 = load i32, ptr @ICH_RESETREGS, align 4, !tbaa !19
%49 = tail call i32 @iputbyte(ptr noundef nonnull %0, i64 noundef %47, i32 noundef %48) #2
%50 = add nuw nsw i64 %42, 1
%51 = load i32, ptr %15, align 8, !tbaa !13
%52 = zext i32 %51 to i64
%53 = icmp ult i64 %50, %52
br i1 %53, label %41, label %36, !llvm.loop !20
54: ; preds = %38, %78
%55 = phi i64 [ 0, %38 ], [ %79, %78 ]
br label %60
56: ; preds = %78
%57 = icmp eq i32 %80, 0
br i1 %57, label %97, label %58
58: ; preds = %56
%59 = getelementptr inbounds %struct.intel8x0, ptr %0, i64 0, i32 2
br label %83
60: ; preds = %54, %64
%61 = phi i32 [ %62, %64 ], [ 100000, %54 ]
%62 = add nsw i32 %61, -1
%63 = icmp eq i32 %62, 0
br i1 %63, label %74, label %64
64: ; preds = %60
%65 = load i64, ptr @ICH_REG_OFF_CR, align 8, !tbaa !12
%66 = load ptr, ptr %39, align 8, !tbaa !14
%67 = getelementptr inbounds %struct.TYPE_4__, ptr %66, i64 %55, i32 1
%68 = load i64, ptr %67, align 8, !tbaa !15
%69 = add nsw i64 %68, %65
%70 = tail call i32 @igetbyte(ptr noundef nonnull %0, i64 noundef %69) #2
%71 = load i32, ptr @ICH_RESETREGS, align 4, !tbaa !19
%72 = and i32 %71, %70
%73 = icmp eq i32 %72, 0
br i1 %73, label %78, label %60, !llvm.loop !21
74: ; preds = %60
%75 = load ptr, ptr %40, align 8, !tbaa !22
%76 = load i32, ptr %75, align 4, !tbaa !23
%77 = tail call i32 @dev_err(i32 noundef %76, ptr noundef nonnull @.str) #2
br label %78
78: ; preds = %64, %74
%79 = add nuw nsw i64 %55, 1
%80 = load i32, ptr %15, align 8, !tbaa !13
%81 = zext i32 %80 to i64
%82 = icmp ult i64 %79, %81
br i1 %82, label %54, label %56, !llvm.loop !25
83: ; preds = %58, %83
%84 = phi i64 [ 0, %58 ], [ %93, %83 ]
%85 = load i64, ptr @ICH_REG_OFF_BDBAR, align 8, !tbaa !12
%86 = load ptr, ptr %59, align 8, !tbaa !14
%87 = getelementptr inbounds %struct.TYPE_4__, ptr %86, i64 %84
%88 = getelementptr inbounds %struct.TYPE_4__, ptr %86, i64 %84, i32 1
%89 = load i64, ptr %88, align 8, !tbaa !15
%90 = add nsw i64 %89, %85
%91 = load i32, ptr %87, align 8, !tbaa !26
%92 = tail call i32 @iputdword(ptr noundef nonnull %0, i64 noundef %90, i32 noundef %91) #2
%93 = add nuw nsw i64 %84, 1
%94 = load i32, ptr %15, align 8, !tbaa !13
%95 = zext i32 %94 to i64
%96 = icmp ult i64 %93, %95
br i1 %96, label %83, label %97, !llvm.loop !27
97: ; preds = %83, %14, %20, %36, %56, %11, %6
%98 = phi i32 [ %7, %6 ], [ %12, %11 ], [ 0, %56 ], [ 0, %36 ], [ 0, %20 ], [ 0, %14 ], [ 0, %83 ]
ret i32 %98
}
declare i32 @snd_intel8x0_ich_chip_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iagetword(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_intel8x0_ali_chip_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iputbyte(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @igetbyte(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iputdword(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"intel8x0", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24}
!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 = !{!7, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !11, i64 16}
!15 = !{!16, !7, i64 8}
!16 = !{!"TYPE_4__", !10, i64 0, !7, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!10, !10, i64 0}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = !{!6, !11, i64 24}
!23 = !{!24, !10, i64 0}
!24 = !{!"TYPE_3__", !10, i64 0}
!25 = distinct !{!25, !18}
!26 = !{!16, !10, i64 0}
!27 = distinct !{!27, !18}
|
; ModuleID = 'AnghaBench/linux/sound/pci/extr_intel8x0.c_snd_intel8x0_chip_init.c'
source_filename = "AnghaBench/linux/sound/pci/extr_intel8x0.c_snd_intel8x0_chip_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32, i64 }
@DEVICE_ALI = common local_unnamed_addr global i64 0, align 8
@ICH_REG_OFF_CR = common local_unnamed_addr global i64 0, align 8
@ICH_RESETREGS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"reset of registers failed?\0A\00", align 1
@ICH_REG_OFF_BDBAR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_intel8x0_chip_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @snd_intel8x0_chip_init(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @DEVICE_ALI, align 8, !tbaa !13
%5 = icmp eq i64 %3, %4
br i1 %5, label %11, label %6
6: ; preds = %2
%7 = tail call i32 @snd_intel8x0_ich_chip_init(ptr noundef nonnull %0, i32 noundef %1) #2
%8 = icmp slt i32 %7, 0
br i1 %8, label %92, label %9
9: ; preds = %6
%10 = tail call i32 @iagetword(ptr noundef nonnull %0, i32 noundef 0) #2
br label %14
11: ; preds = %2
%12 = tail call i32 @snd_intel8x0_ali_chip_init(ptr noundef nonnull %0, i32 noundef %1) #2
%13 = icmp slt i32 %12, 0
br i1 %13, label %92, label %14
14: ; preds = %11, %9
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !14
%17 = icmp eq i32 %16, 0
br i1 %17, label %92, label %18
18: ; preds = %14
%19 = getelementptr inbounds i8, ptr %0, i64 16
br label %22
20: ; preds = %22
%21 = icmp eq i32 %31, 0
br i1 %21, label %92, label %38
22: ; preds = %18, %22
%23 = phi i64 [ 0, %18 ], [ %30, %22 ]
%24 = load i64, ptr @ICH_REG_OFF_CR, align 8, !tbaa !13
%25 = load ptr, ptr %19, align 8, !tbaa !15
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i64 %23, i32 1
%27 = load i64, ptr %26, align 8, !tbaa !16
%28 = add nsw i64 %27, %24
%29 = tail call i32 @iputbyte(ptr noundef nonnull %0, i64 noundef %28, i32 noundef 0) #2
%30 = add nuw nsw i64 %23, 1
%31 = load i32, ptr %15, align 8, !tbaa !14
%32 = zext i32 %31 to i64
%33 = icmp ult i64 %30, %32
br i1 %33, label %22, label %20, !llvm.loop !18
34: ; preds = %38
%35 = icmp eq i32 %48, 0
br i1 %35, label %92, label %36
36: ; preds = %34
%37 = getelementptr inbounds i8, ptr %0, i64 24
br label %51
38: ; preds = %20, %38
%39 = phi i64 [ %47, %38 ], [ 0, %20 ]
%40 = load i64, ptr @ICH_REG_OFF_CR, align 8, !tbaa !13
%41 = load ptr, ptr %19, align 8, !tbaa !15
%42 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i64 %39, i32 1
%43 = load i64, ptr %42, align 8, !tbaa !16
%44 = add nsw i64 %43, %40
%45 = load i32, ptr @ICH_RESETREGS, align 4, !tbaa !20
%46 = tail call i32 @iputbyte(ptr noundef nonnull %0, i64 noundef %44, i32 noundef %45) #2
%47 = add nuw nsw i64 %39, 1
%48 = load i32, ptr %15, align 8, !tbaa !14
%49 = zext i32 %48 to i64
%50 = icmp ult i64 %47, %49
br i1 %50, label %38, label %34, !llvm.loop !21
51: ; preds = %36, %73
%52 = phi i64 [ 0, %36 ], [ %74, %73 ]
br label %55
53: ; preds = %73
%54 = icmp eq i32 %75, 0
br i1 %54, label %92, label %78
55: ; preds = %51, %59
%56 = phi i32 [ %57, %59 ], [ 100000, %51 ]
%57 = add nsw i32 %56, -1
%58 = icmp eq i32 %57, 0
br i1 %58, label %69, label %59
59: ; preds = %55
%60 = load i64, ptr @ICH_REG_OFF_CR, align 8, !tbaa !13
%61 = load ptr, ptr %19, align 8, !tbaa !15
%62 = getelementptr inbounds %struct.TYPE_4__, ptr %61, i64 %52, i32 1
%63 = load i64, ptr %62, align 8, !tbaa !16
%64 = add nsw i64 %63, %60
%65 = tail call i32 @igetbyte(ptr noundef nonnull %0, i64 noundef %64) #2
%66 = load i32, ptr @ICH_RESETREGS, align 4, !tbaa !20
%67 = and i32 %66, %65
%68 = icmp eq i32 %67, 0
br i1 %68, label %73, label %55, !llvm.loop !22
69: ; preds = %55
%70 = load ptr, ptr %37, align 8, !tbaa !23
%71 = load i32, ptr %70, align 4, !tbaa !24
%72 = tail call i32 @dev_err(i32 noundef %71, ptr noundef nonnull @.str) #2
br label %73
73: ; preds = %59, %69
%74 = add nuw nsw i64 %52, 1
%75 = load i32, ptr %15, align 8, !tbaa !14
%76 = zext i32 %75 to i64
%77 = icmp ult i64 %74, %76
br i1 %77, label %51, label %53, !llvm.loop !26
78: ; preds = %53, %78
%79 = phi i64 [ %88, %78 ], [ 0, %53 ]
%80 = load i64, ptr @ICH_REG_OFF_BDBAR, align 8, !tbaa !13
%81 = load ptr, ptr %19, align 8, !tbaa !15
%82 = getelementptr inbounds %struct.TYPE_4__, ptr %81, i64 %79
%83 = getelementptr inbounds i8, ptr %82, i64 8
%84 = load i64, ptr %83, align 8, !tbaa !16
%85 = add nsw i64 %84, %80
%86 = load i32, ptr %82, align 8, !tbaa !27
%87 = tail call i32 @iputdword(ptr noundef nonnull %0, i64 noundef %85, i32 noundef %86) #2
%88 = add nuw nsw i64 %79, 1
%89 = load i32, ptr %15, align 8, !tbaa !14
%90 = zext i32 %89 to i64
%91 = icmp ult i64 %88, %90
br i1 %91, label %78, label %92, !llvm.loop !28
92: ; preds = %78, %14, %20, %34, %53, %11, %6
%93 = phi i32 [ %7, %6 ], [ %12, %11 ], [ 0, %53 ], [ 0, %34 ], [ 0, %20 ], [ 0, %14 ], [ 0, %78 ]
ret i32 %93
}
declare i32 @snd_intel8x0_ich_chip_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iagetword(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_intel8x0_ali_chip_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iputbyte(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @igetbyte(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iputdword(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"intel8x0", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24}
!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 = !{!8, !8, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !12, i64 16}
!16 = !{!17, !8, i64 8}
!17 = !{!"TYPE_4__", !11, i64 0, !8, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!11, !11, i64 0}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = !{!7, !12, i64 24}
!24 = !{!25, !11, i64 0}
!25 = !{!"TYPE_3__", !11, i64 0}
!26 = distinct !{!26, !19}
!27 = !{!17, !11, i64 0}
!28 = distinct !{!28, !19}
|
linux_sound_pci_extr_intel8x0.c_snd_intel8x0_chip_init
|
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_hdmi.c_tegra_hdmi_pcm_prepare.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_hdmi.c_tegra_hdmi_pcm_prepare.c"
target datalayout = "e-m:e-p270:32:32-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 @tegra_hdmi_pcm_prepare], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tegra_hdmi_pcm_prepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = tail call i32 @generic_hdmi_playback_pcm_prepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2
%7 = icmp slt i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 @tegra_hdmi_set_format(ptr noundef %1, i32 noundef %3) #2
br label %10
10: ; preds = %5, %8
%11 = phi i32 [ 0, %8 ], [ %6, %5 ]
ret i32 %11
}
declare i32 @generic_hdmi_playback_pcm_prepare(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tegra_hdmi_set_format(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_hdmi.c_tegra_hdmi_pcm_prepare.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_hdmi.c_tegra_hdmi_pcm_prepare.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 @tegra_hdmi_pcm_prepare], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @tegra_hdmi_pcm_prepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = tail call i32 @generic_hdmi_playback_pcm_prepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2
%7 = icmp slt i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = tail call i32 @tegra_hdmi_set_format(ptr noundef %1, i32 noundef %3) #2
br label %10
10: ; preds = %5, %8
%11 = phi i32 [ 0, %8 ], [ %6, %5 ]
ret i32 %11
}
declare i32 @generic_hdmi_playback_pcm_prepare(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tegra_hdmi_set_format(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_sound_pci_hda_extr_patch_hdmi.c_tegra_hdmi_pcm_prepare
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cobalt/extr_cobalt-omnitek.c_get_dma_direction.c'
source_filename = "AnghaBench/linux/drivers/media/pci/cobalt/extr_cobalt-omnitek.c_get_dma_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"
@DIRECTIONAL_MSK = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"Input\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Output\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Bidirectional\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_dma_direction], section "llvm.metadata"
@reltable.get_dma_direction = private unnamed_addr constant [3 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.get_dma_direction to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.get_dma_direction to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.get_dma_direction to i64)) to i32)], align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal noundef nonnull ptr @get_dma_direction(i32 noundef %0) #0 {
%2 = load i32, ptr @DIRECTIONAL_MSK, align 4, !tbaa !5
%3 = and i32 %2, %0
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 3
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = zext nneg i32 %4 to i64
%8 = shl i64 %7, 2
%9 = call ptr @llvm.load.relative.i64(ptr @reltable.get_dma_direction, i64 %8)
br label %10
10: ; preds = %1, %6
%11 = phi ptr [ %9, %6 ], [ @.str.3, %1 ]
ret ptr %11
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare ptr @llvm.load.relative.i64(ptr, i64) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cobalt/extr_cobalt-omnitek.c_get_dma_direction.c'
source_filename = "AnghaBench/linux/drivers/media/pci/cobalt/extr_cobalt-omnitek.c_get_dma_direction.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DIRECTIONAL_MSK = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"Input\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Output\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Bidirectional\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@llvm.used = appending global [1 x ptr] [ptr @get_dma_direction], section "llvm.metadata"
@switch.table.get_dma_direction = private unnamed_addr constant [3 x ptr] [ptr @.str.1, ptr @.str, ptr @.str.2], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal noundef nonnull ptr @get_dma_direction(i32 noundef %0) #0 {
%2 = load i32, ptr @DIRECTIONAL_MSK, align 4, !tbaa !6
%3 = and i32 %2, %0
%4 = add i32 %3, -128
%5 = icmp ult i32 %4, 3
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = zext nneg i32 %4 to i64
%8 = getelementptr inbounds [3 x ptr], ptr @switch.table.get_dma_direction, i64 0, i64 %7
%9 = load ptr, ptr %8, align 8
br label %10
10: ; preds = %1, %6
%11 = phi ptr [ %9, %6 ], [ @.str.3, %1 ]
ret ptr %11
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_media_pci_cobalt_extr_cobalt-omnitek.c_get_dma_direction
|
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_cache.c_cache_destroy_net.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_cache.c_cache_destroy_net.c"
target datalayout = "e-m:e-p270:32:32-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 @cache_destroy_net(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @kfree(ptr noundef %3) #2
%5 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"cache_detail", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_cache.c_cache_destroy_net.c'
source_filename = "AnghaBench/linux/net/sunrpc/extr_cache.c_cache_destroy_net.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 @cache_destroy_net(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @kfree(ptr noundef %3) #2
%5 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"cache_detail", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_net_sunrpc_extr_cache.c_cache_destroy_net
|
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-score.c_score_elf_record_local_got_symbol.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-score.c_score_elf_record_local_got_symbol.c"
target datalayout = "e-m:e-p270:32:32-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.score_got_entry = type { i64, i64, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i32 }
%struct.score_got_info = type { i32, i32 }
@INSERT = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @score_elf_record_local_got_symbol], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @score_elf_record_local_got_symbol(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 {
%5 = alloca %struct.score_got_entry, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
%6 = getelementptr inbounds %struct.score_got_entry, ptr %5, i64 0, i32 3
store ptr %0, ptr %6, align 8, !tbaa !5
store i64 %1, ptr %5, align 8, !tbaa !13
%7 = getelementptr inbounds %struct.score_got_entry, ptr %5, i64 0, i32 2
store i32 %2, ptr %7, align 8, !tbaa !14
%8 = getelementptr inbounds %struct.score_got_info, ptr %3, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = load i32, ptr @INSERT, align 4, !tbaa !17
%11 = call i64 @htab_find_slot(i32 noundef %9, ptr noundef nonnull %5, i32 noundef %10) #3
%12 = inttoptr i64 %11 to ptr
%13 = load ptr, ptr %12, align 8, !tbaa !18
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %24
15: ; preds = %4
%16 = load i32, ptr %3, align 4, !tbaa !19
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4, !tbaa !19
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds %struct.score_got_entry, ptr %5, i64 0, i32 1
store i64 %18, ptr %19, align 8, !tbaa !20
%20 = call ptr @bfd_alloc(ptr noundef %0, i32 noundef 32) #3
store ptr %20, ptr %12, align 8, !tbaa !18
%21 = icmp eq ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %15
%23 = call i32 @memcpy(ptr noundef nonnull %20, ptr noundef nonnull %5, i32 noundef 32) #3
br label %24
24: ; preds = %15, %4, %22
%25 = phi ptr [ @TRUE, %22 ], [ @TRUE, %4 ], [ @FALSE, %15 ]
%26 = load i32, ptr %25, align 4, !tbaa !17
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #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 i64 @htab_find_slot(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @bfd_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !12, i64 24}
!6 = !{!"score_got_entry", !7, i64 0, !7, i64 8, !10, i64 16, !12, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !11, i64 16}
!15 = !{!16, !11, i64 4}
!16 = !{!"score_got_info", !11, i64 0, !11, i64 4}
!17 = !{!11, !11, i64 0}
!18 = !{!12, !12, i64 0}
!19 = !{!16, !11, i64 0}
!20 = !{!6, !7, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-score.c_score_elf_record_local_got_symbol.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-score.c_score_elf_record_local_got_symbol.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.score_got_entry = type { i64, i64, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i32 }
@INSERT = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @score_elf_record_local_got_symbol], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @score_elf_record_local_got_symbol(ptr noundef %0, i64 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 {
%5 = alloca %struct.score_got_entry, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
%6 = getelementptr inbounds i8, ptr %5, i64 24
store ptr %0, ptr %6, align 8, !tbaa !6
store i64 %1, ptr %5, align 8, !tbaa !14
%7 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %2, ptr %7, align 8, !tbaa !15
%8 = getelementptr inbounds i8, ptr %3, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !16
%10 = load i32, ptr @INSERT, align 4, !tbaa !18
%11 = call i64 @htab_find_slot(i32 noundef %9, ptr noundef nonnull %5, i32 noundef %10) #3
%12 = inttoptr i64 %11 to ptr
%13 = load ptr, ptr %12, align 8, !tbaa !19
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %24
15: ; preds = %4
%16 = load i32, ptr %3, align 4, !tbaa !20
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4, !tbaa !20
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds i8, ptr %5, i64 8
store i64 %18, ptr %19, align 8, !tbaa !21
%20 = call ptr @bfd_alloc(ptr noundef %0, i32 noundef 32) #3
store ptr %20, ptr %12, align 8, !tbaa !19
%21 = icmp eq ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %15
%23 = call i32 @memcpy(ptr noundef nonnull %20, ptr noundef nonnull %5, i32 noundef 32) #3
br label %24
24: ; preds = %15, %4, %22
%25 = phi ptr [ @TRUE, %22 ], [ @TRUE, %4 ], [ @FALSE, %15 ]
%26 = load i32, ptr %25, align 4, !tbaa !18
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #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 i64 @htab_find_slot(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @bfd_alloc(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !13, i64 24}
!7 = !{!"score_got_entry", !8, i64 0, !8, i64 8, !11, i64 16, !13, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !12, i64 16}
!16 = !{!17, !12, i64 4}
!17 = !{!"score_got_info", !12, i64 0, !12, i64 4}
!18 = !{!12, !12, i64 0}
!19 = !{!13, !13, i64 0}
!20 = !{!17, !12, i64 0}
!21 = !{!7, !8, i64 8}
|
freebsd_contrib_binutils_bfd_extr_elf32-score.c_score_elf_record_local_got_symbol
|
; ModuleID = 'AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_cpu_pmu_free_irq.c'
source_filename = "AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_cpu_pmu_free_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpu_pmu_free_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cpu_pmu_free_irq(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = tail call i32 @platform_get_irq(ptr noundef %2, i32 noundef 0) #2
%4 = icmp sgt i32 %3, -1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @free_irq(i32 noundef %3, ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_irq(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 = !{!"nds32_pmu", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_cpu_pmu_free_irq.c'
source_filename = "AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_cpu_pmu_free_irq.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 @cpu_pmu_free_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cpu_pmu_free_irq(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = tail call i32 @platform_get_irq(ptr noundef %2, i32 noundef 0) #2
%4 = icmp sgt i32 %3, -1
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @free_irq(i32 noundef %3, ptr noundef nonnull %0) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare i32 @platform_get_irq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free_irq(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 = !{!"nds32_pmu", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
linux_arch_nds32_kernel_extr_perf_event_cpu.c_cpu_pmu_free_irq
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_floppy.c_floppy_end_request.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_floppy.c_floppy_end_request.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@current_count_sectors = dso_local local_unnamed_addr global i32 0, align 4
@current_req = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @floppy_end_request], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @floppy_end_request(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @current_count_sectors, align 4, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %1, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 @blk_rq_cur_sectors(ptr noundef nonnull %0) #2
br label %10
10: ; preds = %8, %2
%11 = phi i32 [ %9, %8 ], [ %3, %2 ]
%12 = shl i32 %11, 9
%13 = tail call i64 @__blk_end_request(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = tail call i32 @floppy_off(i32 noundef %6) #2
store ptr null, ptr @current_req, align 8, !tbaa !15
br label %17
17: ; preds = %10, %15
ret void
}
declare i32 @blk_rq_cur_sectors(ptr noundef) local_unnamed_addr #1
declare i64 @__blk_end_request(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @floppy_off(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 = !{!"request", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!11, !11, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_floppy.c_floppy_end_request.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_floppy.c_floppy_end_request.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current_count_sectors = common local_unnamed_addr global i32 0, align 4
@current_req = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @floppy_end_request], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @floppy_end_request(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @current_count_sectors, align 4, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = load i64, ptr %4, align 8, !tbaa !13
%6 = trunc i64 %5 to i32
%7 = icmp eq i32 %1, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 @blk_rq_cur_sectors(ptr noundef nonnull %0) #2
br label %10
10: ; preds = %8, %2
%11 = phi i32 [ %9, %8 ], [ %3, %2 ]
%12 = shl i32 %11, 9
%13 = tail call i64 @__blk_end_request(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = tail call i32 @floppy_off(i32 noundef %6) #2
store ptr null, ptr @current_req, align 8, !tbaa !16
br label %17
17: ; preds = %10, %15
ret void
}
declare i32 @blk_rq_cur_sectors(ptr noundef) local_unnamed_addr #1
declare i64 @__blk_end_request(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @floppy_off(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 = !{!"request", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!12, !12, i64 0}
|
fastsocket_kernel_drivers_block_extr_floppy.c_floppy_end_request
|
; ModuleID = 'AnghaBench/esp-idf/components/vfs/test/extr_test_vfs_select.c_start_select_task.c'
source_filename = "AnghaBench/esp-idf/components/vfs/test/extr_test_vfs_select.c_start_select_task.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@select_task = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"select_task\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @start_select_task], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @start_select_task(ptr noundef %0) #0 {
%2 = load i32, ptr @select_task, align 4, !tbaa !5
%3 = tail call i32 @xTaskCreate(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef 4096, ptr noundef %0, i32 noundef 5, ptr noundef null) #2
ret void
}
declare i32 @xTaskCreate(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/esp-idf/components/vfs/test/extr_test_vfs_select.c_start_select_task.c'
source_filename = "AnghaBench/esp-idf/components/vfs/test/extr_test_vfs_select.c_start_select_task.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@select_task = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"select_task\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @start_select_task], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @start_select_task(ptr noundef %0) #0 {
%2 = load i32, ptr @select_task, align 4, !tbaa !6
%3 = tail call i32 @xTaskCreate(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef 4096, ptr noundef %0, i32 noundef 5, ptr noundef null) #2
ret void
}
declare i32 @xTaskCreate(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
esp-idf_components_vfs_test_extr_test_vfs_select.c_start_select_task
|
; ModuleID = 'AnghaBench/linux/drivers/misc/cardreader/extr_rts5209.c_rts5209_optimize_phy.c'
source_filename = "AnghaBench/linux/drivers/misc/cardreader/extr_rts5209.c_rts5209_optimize_phy.c"
target datalayout = "e-m:e-p270:32:32-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 @rts5209_optimize_phy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rts5209_optimize_phy(ptr noundef %0) #0 {
%2 = tail call i32 @rtsx_pci_write_phy_register(ptr noundef %0, i32 noundef 0, i32 noundef 47462) #2
ret i32 %2
}
declare i32 @rtsx_pci_write_phy_register(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/drivers/misc/cardreader/extr_rts5209.c_rts5209_optimize_phy.c'
source_filename = "AnghaBench/linux/drivers/misc/cardreader/extr_rts5209.c_rts5209_optimize_phy.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 @rts5209_optimize_phy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rts5209_optimize_phy(ptr noundef %0) #0 {
%2 = tail call i32 @rtsx_pci_write_phy_register(ptr noundef %0, i32 noundef 0, i32 noundef 47462) #2
ret i32 %2
}
declare i32 @rtsx_pci_write_phy_register(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)"}
|
linux_drivers_misc_cardreader_extr_rts5209.c_rts5209_optimize_phy
|
; ModuleID = 'AnghaBench/Craft/deps/glfw/src/extr_x11_init.c__glfwPlatformInit.c'
source_filename = "AnghaBench/Craft/deps/glfw/src/extr_x11_init.c__glfwPlatformInit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr, i32, i32, i32, i32, i32 }
@LC_CTYPE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@_glfw = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@.str.2 = private unnamed_addr constant [8 x i8] c"DISPLAY\00", align 1
@GLFW_PLATFORM_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"X11: Failed to open display %s\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"X11: The DISPLAY environment variable is missing\00", align 1
@GL_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@GL_TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @_glfwPlatformInit() local_unnamed_addr #0 {
%1 = load i32, ptr @LC_CTYPE, align 4, !tbaa !5
%2 = tail call i32 @setlocale(i32 noundef %1, ptr noundef null) #3
%3 = tail call i64 @strcmp(i32 noundef %2, ptr noundef nonnull @.str) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = load i32, ptr @LC_CTYPE, align 4, !tbaa !5
%7 = tail call i32 @setlocale(i32 noundef %6, ptr noundef nonnull @.str.1) #3
br label %8
8: ; preds = %5, %0
%9 = tail call i32 (...) @XInitThreads() #3
%10 = tail call i32 @XOpenDisplay(ptr noundef null) #3
store i32 %10, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 1), align 8, !tbaa !9
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = tail call ptr @getenv(ptr noundef nonnull @.str.2)
%14 = icmp eq ptr %13, null
%15 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !5
br i1 %14, label %18, label %16
16: ; preds = %12
%17 = tail call i32 (i32, ptr, ...) @_glfwInputError(i32 noundef %15, ptr noundef nonnull @.str.3, ptr noundef nonnull %13) #3
br label %50
18: ; preds = %12
%19 = tail call i32 (i32, ptr, ...) @_glfwInputError(i32 noundef %15, ptr noundef nonnull @.str.4) #3
br label %50
20: ; preds = %8
%21 = tail call i32 @DefaultScreen(i32 noundef %10) #3
store i32 %21, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 4), align 4, !tbaa !13
%22 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 1), align 8, !tbaa !9
%23 = tail call i32 @RootWindow(i32 noundef %22, i32 noundef %21) #3
store i32 %23, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 5), align 8, !tbaa !14
%24 = tail call i32 (...) @XUniqueContext() #3
store i32 %24, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 3), align 8, !tbaa !15
%25 = tail call i32 (...) @initExtensions() #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %50, label %27
27: ; preds = %20
%28 = tail call i32 (...) @createNULLCursor() #3
store i32 %28, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 2), align 4, !tbaa !16
%29 = tail call i64 (...) @XSupportsLocale() #3
%30 = icmp eq i64 %29, 0
br i1 %30, label %42, label %31
31: ; preds = %27
%32 = tail call i32 @XSetLocaleModifiers(ptr noundef nonnull @.str.1) #3
%33 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 1), align 8, !tbaa !9
%34 = tail call ptr @XOpenIM(i32 noundef %33, i32 noundef 0, ptr noundef null, ptr noundef null) #3
store ptr %34, ptr @_glfw, align 8, !tbaa !17
%35 = icmp eq ptr %34, null
br i1 %35, label %42, label %36
36: ; preds = %31
%37 = tail call i32 (...) @hasUsableInputMethodStyle() #3
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load ptr, ptr @_glfw, align 8, !tbaa !17
%41 = tail call i32 @XCloseIM(ptr noundef %40) #3
store ptr null, ptr @_glfw, align 8, !tbaa !17
br label %42
42: ; preds = %31, %39, %36, %27
%43 = tail call i32 (...) @_glfwInitContextAPI() #3
%44 = icmp eq i32 %43, 0
br i1 %44, label %50, label %45
45: ; preds = %42
%46 = tail call i32 (...) @_glfwInitJoysticks() #3
%47 = icmp eq i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %45
%49 = tail call i32 (...) @_glfwInitTimer() #3
br label %50
50: ; preds = %45, %42, %20, %16, %18, %48
%51 = phi ptr [ @GL_TRUE, %48 ], [ @GL_FALSE, %18 ], [ @GL_FALSE, %16 ], [ @GL_FALSE, %20 ], [ @GL_FALSE, %42 ], [ @GL_FALSE, %45 ]
%52 = load i32, ptr %51, align 4, !tbaa !5
ret i32 %52
}
declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @XInitThreads(...) local_unnamed_addr #1
declare i32 @XOpenDisplay(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @_glfwInputError(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @DefaultScreen(i32 noundef) local_unnamed_addr #1
declare i32 @RootWindow(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XUniqueContext(...) local_unnamed_addr #1
declare i32 @initExtensions(...) local_unnamed_addr #1
declare i32 @createNULLCursor(...) local_unnamed_addr #1
declare i64 @XSupportsLocale(...) local_unnamed_addr #1
declare i32 @XSetLocaleModifiers(ptr noundef) local_unnamed_addr #1
declare ptr @XOpenIM(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hasUsableInputMethodStyle(...) local_unnamed_addr #1
declare i32 @XCloseIM(ptr noundef) local_unnamed_addr #1
declare i32 @_glfwInitContextAPI(...) local_unnamed_addr #1
declare i32 @_glfwInitJoysticks(...) local_unnamed_addr #1
declare i32 @_glfwInitTimer(...) 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 = { 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 #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 8}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !6, i64 20}
!14 = !{!10, !6, i64 24}
!15 = !{!10, !6, i64 16}
!16 = !{!10, !6, i64 12}
!17 = !{!10, !12, i64 0}
|
; ModuleID = 'AnghaBench/Craft/deps/glfw/src/extr_x11_init.c__glfwPlatformInit.c'
source_filename = "AnghaBench/Craft/deps/glfw/src/extr_x11_init.c__glfwPlatformInit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { ptr, i32, i32, i32, i32, i32 }
@LC_CTYPE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@_glfw = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@.str.2 = private unnamed_addr constant [8 x i8] c"DISPLAY\00", align 1
@GLFW_PLATFORM_ERROR = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"X11: Failed to open display %s\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"X11: The DISPLAY environment variable is missing\00", align 1
@GL_FALSE = common local_unnamed_addr global i32 0, align 4
@GL_TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @_glfwPlatformInit() local_unnamed_addr #0 {
%1 = load i32, ptr @LC_CTYPE, align 4, !tbaa !6
%2 = tail call i32 @setlocale(i32 noundef %1, ptr noundef null) #3
%3 = tail call i64 @strcmp(i32 noundef %2, ptr noundef nonnull @.str) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = load i32, ptr @LC_CTYPE, align 4, !tbaa !6
%7 = tail call i32 @setlocale(i32 noundef %6, ptr noundef nonnull @.str.1) #3
br label %8
8: ; preds = %5, %0
%9 = tail call i32 @XInitThreads() #3
%10 = tail call i32 @XOpenDisplay(ptr noundef null) #3
store i32 %10, ptr getelementptr inbounds (i8, ptr @_glfw, i64 8), align 8, !tbaa !10
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = tail call ptr @getenv(ptr noundef nonnull @.str.2)
%14 = icmp eq ptr %13, null
%15 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !6
br i1 %14, label %18, label %16
16: ; preds = %12
%17 = tail call i32 (i32, ptr, ...) @_glfwInputError(i32 noundef %15, ptr noundef nonnull @.str.3, ptr noundef nonnull %13) #3
br label %50
18: ; preds = %12
%19 = tail call i32 (i32, ptr, ...) @_glfwInputError(i32 noundef %15, ptr noundef nonnull @.str.4) #3
br label %50
20: ; preds = %8
%21 = tail call i32 @DefaultScreen(i32 noundef %10) #3
store i32 %21, ptr getelementptr inbounds (i8, ptr @_glfw, i64 20), align 4, !tbaa !14
%22 = load i32, ptr getelementptr inbounds (i8, ptr @_glfw, i64 8), align 8, !tbaa !10
%23 = tail call i32 @RootWindow(i32 noundef %22, i32 noundef %21) #3
store i32 %23, ptr getelementptr inbounds (i8, ptr @_glfw, i64 24), align 8, !tbaa !15
%24 = tail call i32 @XUniqueContext() #3
store i32 %24, ptr getelementptr inbounds (i8, ptr @_glfw, i64 16), align 8, !tbaa !16
%25 = tail call i32 @initExtensions() #3
%26 = icmp eq i32 %25, 0
br i1 %26, label %50, label %27
27: ; preds = %20
%28 = tail call i32 @createNULLCursor() #3
store i32 %28, ptr getelementptr inbounds (i8, ptr @_glfw, i64 12), align 4, !tbaa !17
%29 = tail call i64 @XSupportsLocale() #3
%30 = icmp eq i64 %29, 0
br i1 %30, label %42, label %31
31: ; preds = %27
%32 = tail call i32 @XSetLocaleModifiers(ptr noundef nonnull @.str.1) #3
%33 = load i32, ptr getelementptr inbounds (i8, ptr @_glfw, i64 8), align 8, !tbaa !10
%34 = tail call ptr @XOpenIM(i32 noundef %33, i32 noundef 0, ptr noundef null, ptr noundef null) #3
store ptr %34, ptr @_glfw, align 8, !tbaa !18
%35 = icmp eq ptr %34, null
br i1 %35, label %42, label %36
36: ; preds = %31
%37 = tail call i32 @hasUsableInputMethodStyle() #3
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load ptr, ptr @_glfw, align 8, !tbaa !18
%41 = tail call i32 @XCloseIM(ptr noundef %40) #3
store ptr null, ptr @_glfw, align 8, !tbaa !18
br label %42
42: ; preds = %31, %39, %36, %27
%43 = tail call i32 @_glfwInitContextAPI() #3
%44 = icmp eq i32 %43, 0
br i1 %44, label %50, label %45
45: ; preds = %42
%46 = tail call i32 @_glfwInitJoysticks() #3
%47 = icmp eq i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %45
%49 = tail call i32 @_glfwInitTimer() #3
br label %50
50: ; preds = %45, %42, %20, %16, %18, %48
%51 = phi ptr [ @GL_TRUE, %48 ], [ @GL_FALSE, %18 ], [ @GL_FALSE, %16 ], [ @GL_FALSE, %20 ], [ @GL_FALSE, %42 ], [ @GL_FALSE, %45 ]
%52 = load i32, ptr %51, align 4, !tbaa !6
ret i32 %52
}
declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @XInitThreads(...) local_unnamed_addr #1
declare i32 @XOpenDisplay(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2
declare i32 @_glfwInputError(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @DefaultScreen(i32 noundef) local_unnamed_addr #1
declare i32 @RootWindow(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XUniqueContext(...) local_unnamed_addr #1
declare i32 @initExtensions(...) local_unnamed_addr #1
declare i32 @createNULLCursor(...) local_unnamed_addr #1
declare i64 @XSupportsLocale(...) local_unnamed_addr #1
declare i32 @XSetLocaleModifiers(ptr noundef) local_unnamed_addr #1
declare ptr @XOpenIM(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hasUsableInputMethodStyle(...) local_unnamed_addr #1
declare i32 @XCloseIM(ptr noundef) local_unnamed_addr #1
declare i32 @_glfwInitContextAPI(...) local_unnamed_addr #1
declare i32 @_glfwInitJoysticks(...) local_unnamed_addr #1
declare i32 @_glfwInitTimer(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 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 #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 8}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !7, i64 20}
!15 = !{!11, !7, i64 24}
!16 = !{!11, !7, i64 16}
!17 = !{!11, !7, i64 12}
!18 = !{!11, !13, i64 0}
|
Craft_deps_glfw_src_extr_x11_init.c__glfwPlatformInit
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/ubi/extr_build.c_free_user_volumes.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/ubi/extr_build.c_free_user_volumes.c"
target datalayout = "e-m:e-p270:32:32-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.ubi_device = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @free_user_volumes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @free_user_volumes(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 %26
4: ; preds = %1
%5 = getelementptr inbounds %struct.ubi_device, ptr %0, i64 0, i32 1
br label %6
6: ; preds = %4, %21
%7 = phi i32 [ %2, %4 ], [ %22, %21 ]
%8 = phi i64 [ 0, %4 ], [ %23, %21 ]
%9 = load ptr, ptr %5, align 8, !tbaa !11
%10 = getelementptr inbounds ptr, ptr %9, i64 %8
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = icmp eq ptr %11, null
br i1 %12, label %21, label %13
13: ; preds = %6
%14 = load ptr, ptr %11, align 8, !tbaa !13
%15 = tail call i32 @kfree(ptr noundef %14) #2
%16 = load ptr, ptr %5, align 8, !tbaa !11
%17 = getelementptr inbounds ptr, ptr %16, i64 %8
%18 = load ptr, ptr %17, align 8, !tbaa !12
%19 = tail call i32 @kfree(ptr noundef %18) #2
%20 = load i32, ptr %0, align 8, !tbaa !5
br label %21
21: ; preds = %6, %13
%22 = phi i32 [ %7, %6 ], [ %20, %13 ]
%23 = add nuw nsw i64 %8, 1
%24 = sext i32 %22 to i64
%25 = icmp slt i64 %23, %24
br i1 %25, label %6, label %26, !llvm.loop !15
26: ; preds = %21, %1
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ubi_device", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_2__", !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/ubi/extr_build.c_free_user_volumes.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/ubi/extr_build.c_free_user_volumes.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 @free_user_volumes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @free_user_volumes(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 %26
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
br label %6
6: ; preds = %4, %21
%7 = phi i32 [ %2, %4 ], [ %22, %21 ]
%8 = phi i64 [ 0, %4 ], [ %23, %21 ]
%9 = load ptr, ptr %5, align 8, !tbaa !12
%10 = getelementptr inbounds ptr, ptr %9, i64 %8
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = icmp eq ptr %11, null
br i1 %12, label %21, label %13
13: ; preds = %6
%14 = load ptr, ptr %11, align 8, !tbaa !14
%15 = tail call i32 @kfree(ptr noundef %14) #2
%16 = load ptr, ptr %5, align 8, !tbaa !12
%17 = getelementptr inbounds ptr, ptr %16, i64 %8
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = tail call i32 @kfree(ptr noundef %18) #2
%20 = load i32, ptr %0, align 8, !tbaa !6
br label %21
21: ; preds = %6, %13
%22 = phi i32 [ %7, %6 ], [ %20, %13 ]
%23 = add nuw nsw i64 %8, 1
%24 = sext i32 %22 to i64
%25 = icmp slt i64 %23, %24
br i1 %25, label %6, label %26, !llvm.loop !16
26: ; preds = %21, %1
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ubi_device", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_2__", !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
fastsocket_kernel_drivers_mtd_ubi_extr_build.c_free_user_volumes
|
; ModuleID = 'AnghaBench/linux/virt/kvm/arm/extr_mmu.c_kvm_arch_flush_shadow_all.c'
source_filename = "AnghaBench/linux/virt/kvm/arm/extr_mmu.c_kvm_arch_flush_shadow_all.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @kvm_arch_flush_shadow_all(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @kvm_free_stage2_pgd(ptr noundef %0) #2
ret void
}
declare i32 @kvm_free_stage2_pgd(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/virt/kvm/arm/extr_mmu.c_kvm_arch_flush_shadow_all.c'
source_filename = "AnghaBench/linux/virt/kvm/arm/extr_mmu.c_kvm_arch_flush_shadow_all.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 @kvm_arch_flush_shadow_all(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @kvm_free_stage2_pgd(ptr noundef %0) #2
ret void
}
declare i32 @kvm_free_stage2_pgd(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_virt_kvm_arm_extr_mmu.c_kvm_arch_flush_shadow_all
|
; ModuleID = 'AnghaBench/linux/security/apparmor/extr_crypto.c_aa_hash_size.c'
source_filename = "AnghaBench/linux/security/apparmor/extr_crypto.c_aa_hash_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@apparmor_hash_size = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @aa_hash_size() local_unnamed_addr #0 {
%1 = load i32, ptr @apparmor_hash_size, align 4, !tbaa !5
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/security/apparmor/extr_crypto.c_aa_hash_size.c'
source_filename = "AnghaBench/linux/security/apparmor/extr_crypto.c_aa_hash_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@apparmor_hash_size = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @aa_hash_size() local_unnamed_addr #0 {
%1 = load i32, ptr @apparmor_hash_size, align 4, !tbaa !6
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_security_apparmor_extr_crypto.c_aa_hash_size
|
; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_print_def_summary.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_print_def_summary.c"
target datalayout = "e-m:e-p270:32:32-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 }
@conf = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str = private unnamed_addr constant [6 x i8] c"items\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_def_summary], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_def_summary(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @conf, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
%5 = add nsw i32 %1, 1
%6 = add nsw i32 %1, 2
%7 = select i1 %4, i32 0, i32 %5
%8 = select i1 %4, i32 0, i32 %6
%9 = tail call i32 @fpopen_obj_attr(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7) #2
%10 = tail call i32 @print_def_overall_requests(ptr noundef %0, i32 noundef %8) #2
%11 = tail call i32 @print_def_overall_valid_reqs(ptr noundef %0, i32 noundef %8) #2
%12 = tail call i32 @print_def_overall_invalid_reqs(ptr noundef %0, i32 noundef %8) #2
%13 = tail call i32 @print_def_overall_processed_time(ptr noundef %0, i32 noundef %8) #2
%14 = tail call i32 @print_def_overall_visitors(ptr noundef %0, i32 noundef %8) #2
%15 = tail call i32 @print_def_overall_files(ptr noundef %0, i32 noundef %8) #2
%16 = tail call i32 @print_def_overall_excluded(ptr noundef %0, i32 noundef %8) #2
%17 = tail call i32 @print_def_overall_refs(ptr noundef %0, i32 noundef %8) #2
%18 = tail call i32 @print_def_overall_notfound(ptr noundef %0, i32 noundef %8) #2
%19 = tail call i32 @print_def_overall_static_files(ptr noundef %0, i32 noundef %8) #2
%20 = tail call i32 @print_def_overall_log_size(ptr noundef %0, i32 noundef %8) #2
%21 = tail call i32 @print_def_overall_bandwidth(ptr noundef %0, i32 noundef %8) #2
%22 = tail call i32 @fpclose_obj(ptr noundef %0, i32 noundef %7, i32 noundef 1) #2
ret void
}
declare i32 @fpopen_obj_attr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_requests(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_valid_reqs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_invalid_reqs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_processed_time(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_visitors(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_files(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_excluded(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_refs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_notfound(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_static_files(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_log_size(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_bandwidth(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fpclose_obj(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 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/goaccess/src/extr_output.c_print_def_summary.c'
source_filename = "AnghaBench/goaccess/src/extr_output.c_print_def_summary.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64 }
@conf = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@.str = private unnamed_addr constant [6 x i8] c"items\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_def_summary], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_def_summary(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i64, ptr @conf, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
%5 = add nsw i32 %1, 1
%6 = add nsw i32 %1, 2
%7 = select i1 %4, i32 0, i32 %5
%8 = select i1 %4, i32 0, i32 %6
%9 = tail call i32 @fpopen_obj_attr(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7) #2
%10 = tail call i32 @print_def_overall_requests(ptr noundef %0, i32 noundef %8) #2
%11 = tail call i32 @print_def_overall_valid_reqs(ptr noundef %0, i32 noundef %8) #2
%12 = tail call i32 @print_def_overall_invalid_reqs(ptr noundef %0, i32 noundef %8) #2
%13 = tail call i32 @print_def_overall_processed_time(ptr noundef %0, i32 noundef %8) #2
%14 = tail call i32 @print_def_overall_visitors(ptr noundef %0, i32 noundef %8) #2
%15 = tail call i32 @print_def_overall_files(ptr noundef %0, i32 noundef %8) #2
%16 = tail call i32 @print_def_overall_excluded(ptr noundef %0, i32 noundef %8) #2
%17 = tail call i32 @print_def_overall_refs(ptr noundef %0, i32 noundef %8) #2
%18 = tail call i32 @print_def_overall_notfound(ptr noundef %0, i32 noundef %8) #2
%19 = tail call i32 @print_def_overall_static_files(ptr noundef %0, i32 noundef %8) #2
%20 = tail call i32 @print_def_overall_log_size(ptr noundef %0, i32 noundef %8) #2
%21 = tail call i32 @print_def_overall_bandwidth(ptr noundef %0, i32 noundef %8) #2
%22 = tail call i32 @fpclose_obj(ptr noundef %0, i32 noundef %7, i32 noundef 1) #2
ret void
}
declare i32 @fpopen_obj_attr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_requests(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_valid_reqs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_invalid_reqs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_processed_time(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_visitors(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_files(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_excluded(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_refs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_notfound(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_static_files(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_log_size(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @print_def_overall_bandwidth(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fpclose_obj(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 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
|
goaccess_src_extr_output.c_print_def_summary
|
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_hugetlb.c_vma_commit_reservation.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_hugetlb.c_vma_commit_reservation.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vm_area_struct = type { i32, ptr }
@VM_MAYSHARE = dso_local local_unnamed_addr global i32 0, align 4
@HPAGE_RESV_OWNER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vma_commit_reservation], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vma_commit_reservation(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = load i32, ptr %1, align 8, !tbaa !5
%5 = load i32, ptr @VM_MAYSHARE, align 4, !tbaa !11
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %3
%9 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = tail call i64 @vma_hugecache_offset(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %2) #2
%14 = load ptr, ptr %12, align 8, !tbaa !17
%15 = add nsw i64 %13, 1
%16 = tail call i32 @region_add(ptr noundef %14, i64 noundef %13, i64 noundef %15) #2
br label %26
17: ; preds = %3
%18 = load i32, ptr @HPAGE_RESV_OWNER, align 4, !tbaa !11
%19 = tail call i64 @is_vma_resv_set(ptr noundef nonnull %1, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = tail call i64 @vma_hugecache_offset(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %2) #2
%23 = tail call ptr @vma_resv_map(ptr noundef nonnull %1) #2
%24 = add nsw i64 %22, 1
%25 = tail call i32 @region_add(ptr noundef %23, i64 noundef %22, i64 noundef %24) #2
br label %26
26: ; preds = %17, %21, %8
ret void
}
declare i64 @vma_hugecache_offset(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @region_add(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @is_vma_resv_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @vma_resv_map(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vm_area_struct", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_4__", !10, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"address_space", !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"inode", !10, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_hugetlb.c_vma_commit_reservation.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_hugetlb.c_vma_commit_reservation.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VM_MAYSHARE = common local_unnamed_addr global i32 0, align 4
@HPAGE_RESV_OWNER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vma_commit_reservation], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vma_commit_reservation(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = load i32, ptr %1, align 8, !tbaa !6
%5 = load i32, ptr @VM_MAYSHARE, align 4, !tbaa !12
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %17, label %8
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = load ptr, ptr %11, align 8, !tbaa !16
%13 = tail call i64 @vma_hugecache_offset(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %2) #2
%14 = load ptr, ptr %12, align 8, !tbaa !18
%15 = add nsw i64 %13, 1
%16 = tail call i32 @region_add(ptr noundef %14, i64 noundef %13, i64 noundef %15) #2
br label %26
17: ; preds = %3
%18 = load i32, ptr @HPAGE_RESV_OWNER, align 4, !tbaa !12
%19 = tail call i64 @is_vma_resv_set(ptr noundef nonnull %1, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %17
%22 = tail call i64 @vma_hugecache_offset(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %2) #2
%23 = tail call ptr @vma_resv_map(ptr noundef nonnull %1) #2
%24 = add nsw i64 %22, 1
%25 = tail call i32 @region_add(ptr noundef %23, i64 noundef %22, i64 noundef %24) #2
br label %26
26: ; preds = %17, %21, %8
ret void
}
declare i64 @vma_hugecache_offset(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @region_add(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @is_vma_resv_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @vma_resv_map(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vm_area_struct", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_4__", !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"address_space", !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"inode", !11, i64 0}
|
fastsocket_kernel_mm_extr_hugetlb.c_vma_commit_reservation
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mfi/extr_mfi.c_mfi_poll.c'
source_filename = "AnghaBench/freebsd/sys/dev/mfi/extr_mfi.c_mfi_poll.c"
target datalayout = "e-m:e-p270:32:32-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.mfi_softc = type { i64, i32, i32, ptr }
@POLLIN = dso_local local_unnamed_addr global i32 0, align 4
@POLLRDNORM = dso_local local_unnamed_addr global i32 0, align 4
@POLLERR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mfi_poll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mfi_poll(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr @POLLIN, align 4, !tbaa !10
%6 = load i32, ptr @POLLRDNORM, align 4, !tbaa !10
%7 = or i32 %6, %5
%8 = and i32 %7, %1
%9 = icmp eq i32 %8, 0
br i1 %9, label %27, label %10
10: ; preds = %3
%11 = load i64, ptr %4, align 8, !tbaa !12
%12 = icmp eq i64 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %10
store i64 0, ptr %4, align 8, !tbaa !12
br label %14
14: ; preds = %10, %13
%15 = phi i32 [ %8, %13 ], [ 0, %10 ]
%16 = getelementptr inbounds %struct.mfi_softc, ptr %4, i64 0, i32 3
%17 = load ptr, ptr %16, align 8, !tbaa !15
%18 = icmp eq ptr %17, null
%19 = load i32, ptr @POLLERR, align 4
%20 = select i1 %18, i32 %19, i32 0
%21 = or i32 %20, %15
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %14
%24 = getelementptr inbounds %struct.mfi_softc, ptr %4, i64 0, i32 1
store i32 1, ptr %24, align 8, !tbaa !16
%25 = getelementptr inbounds %struct.mfi_softc, ptr %4, i64 0, i32 2
%26 = tail call i32 @selrecord(ptr noundef %2, ptr noundef nonnull %25) #2
br label %27
27: ; preds = %3, %23, %14
%28 = phi i32 [ 0, %23 ], [ %21, %14 ], [ 0, %3 ]
ret i32 %28
}
declare i32 @selrecord(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 = !{!"cdev", !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, !14, i64 0}
!13 = !{!"mfi_softc", !14, i64 0, !11, i64 8, !11, i64 12, !7, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !7, i64 16}
!16 = !{!13, !11, i64 8}
|
; ModuleID = 'AnghaBench/freebsd/sys/dev/mfi/extr_mfi.c_mfi_poll.c'
source_filename = "AnghaBench/freebsd/sys/dev/mfi/extr_mfi.c_mfi_poll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@POLLIN = common local_unnamed_addr global i32 0, align 4
@POLLRDNORM = common local_unnamed_addr global i32 0, align 4
@POLLERR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mfi_poll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mfi_poll(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr @POLLIN, align 4, !tbaa !11
%6 = load i32, ptr @POLLRDNORM, align 4, !tbaa !11
%7 = or i32 %6, %5
%8 = and i32 %7, %1
%9 = icmp eq i32 %8, 0
br i1 %9, label %27, label %10
10: ; preds = %3
%11 = load i64, ptr %4, align 8, !tbaa !13
%12 = icmp eq i64 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %10
store i64 0, ptr %4, align 8, !tbaa !13
br label %14
14: ; preds = %10, %13
%15 = phi i32 [ %8, %13 ], [ 0, %10 ]
%16 = getelementptr inbounds i8, ptr %4, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = icmp eq ptr %17, null
%19 = load i32, ptr @POLLERR, align 4
%20 = select i1 %18, i32 %19, i32 0
%21 = or i32 %20, %15
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %14
%24 = getelementptr inbounds i8, ptr %4, i64 8
store i32 1, ptr %24, align 8, !tbaa !17
%25 = getelementptr inbounds i8, ptr %4, i64 12
%26 = tail call i32 @selrecord(ptr noundef %2, ptr noundef nonnull %25) #2
br label %27
27: ; preds = %3, %23, %14
%28 = phi i32 [ 0, %23 ], [ %21, %14 ], [ 0, %3 ]
ret i32 %28
}
declare i32 @selrecord(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 = !{!"cdev", !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, !15, i64 0}
!14 = !{!"mfi_softc", !15, i64 0, !12, i64 8, !12, i64 12, !8, i64 16}
!15 = !{!"long", !9, i64 0}
!16 = !{!14, !8, i64 16}
!17 = !{!14, !12, i64 8}
|
freebsd_sys_dev_mfi_extr_mfi.c_mfi_poll
|
; ModuleID = 'AnghaBench/linux/drivers/crypto/virtio/extr_virtio_crypto_mgr.c_virtcrypto_dev_started.c'
source_filename = "AnghaBench/linux/drivers/crypto/virtio/extr_virtio_crypto_mgr.c_virtcrypto_dev_started.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VIRTIO_CRYPTO_S_HW_READY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @virtcrypto_dev_started(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @VIRTIO_CRYPTO_S_HW_READY, align 4, !tbaa !10
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"virtio_crypto", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/crypto/virtio/extr_virtio_crypto_mgr.c_virtcrypto_dev_started.c'
source_filename = "AnghaBench/linux/drivers/crypto/virtio/extr_virtio_crypto_mgr.c_virtcrypto_dev_started.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VIRTIO_CRYPTO_S_HW_READY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @virtcrypto_dev_started(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @VIRTIO_CRYPTO_S_HW_READY, align 4, !tbaa !11
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"virtio_crypto", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
|
linux_drivers_crypto_virtio_extr_virtio_crypto_mgr.c_virtcrypto_dev_started
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/programs/extr_benchfn.c_BMK_benchTimedFn.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/programs/extr_benchfn.c_BMK_benchTimedFn.c"
target datalayout = "e-m:e-p270:32:32-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, double, i64, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { double }
; Function Attrs: nounwind uwtable
define dso_local i32 @BMK_benchTimedFn(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = sdiv i32 %3, 2
%5 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
%6 = load double, ptr %5, align 8, !tbaa.struct !13
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%9 = sdiv i32 %3, 50
%10 = sitofp i32 %9 to double
%11 = sitofp i32 %3 to double
%12 = sitofp i32 %4 to double
%13 = load double, ptr %7, align 8, !tbaa !15
%14 = tail call i32 @BMK_benchFunction(i32 noundef %1, double noundef %13) #2
%15 = tail call i32 @BMK_isSuccessful_runOutcome(i32 noundef %14) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %51, label %17
17: ; preds = %2, %41
%18 = phi i32 [ %44, %41 ], [ %14, %2 ]
%19 = tail call double @BMK_extract_runTime(i32 noundef %18) #2
%20 = load double, ptr %7, align 8, !tbaa !15
%21 = fmul double %19, %20
%22 = fptoui double %21 to i64
%23 = load i64, ptr %8, align 8, !tbaa !16
%24 = add i64 %23, %22
store i64 %24, ptr %8, align 8, !tbaa !16
%25 = fcmp ogt double %21, %10
br i1 %25, label %26, label %32
26: ; preds = %17
%27 = tail call double @MIN(double noundef %6, double noundef %19) #2
%28 = fdiv double %11, %27
%29 = fptoui double %28 to i32
%30 = add i32 %29, 1
%31 = uitofp i32 %30 to double
br label %38
32: ; preds = %17
%33 = fcmp olt double %20, 0x41B9999999000000
%34 = zext i1 %33 to i32
%35 = tail call i32 @assert(i32 noundef %34) #2
%36 = load double, ptr %7, align 8, !tbaa !15
%37 = fmul double %36, 1.000000e+01
br label %38
38: ; preds = %32, %26
%39 = phi double [ %37, %32 ], [ %31, %26 ]
store double %39, ptr %7, align 8, !tbaa !15
%40 = fcmp olt double %21, %12
br i1 %40, label %41, label %47
41: ; preds = %38
%42 = tail call i32 @assert(i32 noundef 1) #2
%43 = load double, ptr %7, align 8, !tbaa !15
%44 = tail call i32 @BMK_benchFunction(i32 noundef %1, double noundef %43) #2
%45 = tail call i32 @BMK_isSuccessful_runOutcome(i32 noundef %44) #2
%46 = icmp eq i32 %45, 0
br i1 %46, label %51, label %17
47: ; preds = %38
%48 = fcmp olt double %19, %6
%49 = select i1 %48, double %19, double %6
%50 = tail call i32 @BMK_setValid_runTime(double %49) #2
br label %51
51: ; preds = %41, %2, %47
%52 = phi i32 [ %50, %47 ], [ %14, %2 ], [ %44, %41 ]
ret i32 %52
}
declare i32 @BMK_benchFunction(i32 noundef, double noundef) local_unnamed_addr #1
declare i32 @BMK_isSuccessful_runOutcome(i32 noundef) local_unnamed_addr #1
declare double @BMK_extract_runTime(i32 noundef) local_unnamed_addr #1
declare double @MIN(double noundef, double noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @BMK_setValid_runTime(double) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"long long", !8, i64 0}
!12 = !{!"TYPE_7__", !10, i64 0}
!13 = !{i64 0, i64 8, !14}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !11, i64 16}
|
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/programs/extr_benchfn.c_BMK_benchTimedFn.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/programs/extr_benchfn.c_BMK_benchTimedFn.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { double }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @BMK_benchTimedFn(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = sdiv i32 %3, 2
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load double, ptr %5, align 8, !tbaa !14
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = sdiv i32 %3, 50
%10 = sitofp i32 %9 to double
%11 = sitofp i32 %3 to double
%12 = sitofp i32 %4 to double
%13 = load double, ptr %7, align 8, !tbaa !15
%14 = tail call i32 @BMK_benchFunction(i32 noundef %1, double noundef %13) #2
%15 = tail call i32 @BMK_isSuccessful_runOutcome(i32 noundef %14) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %53, label %17
17: ; preds = %2, %42
%18 = phi i32 [ %45, %42 ], [ %14, %2 ]
%19 = tail call %struct.TYPE_7__ @BMK_extract_runTime(i32 noundef %18) #2
%20 = extractvalue %struct.TYPE_7__ %19, 0
%21 = load double, ptr %7, align 8, !tbaa !15
%22 = fmul double %20, %21
%23 = fptoui double %22 to i64
%24 = load i64, ptr %8, align 8, !tbaa !16
%25 = add i64 %24, %23
store i64 %25, ptr %8, align 8, !tbaa !16
%26 = fcmp ogt double %22, %10
br i1 %26, label %27, label %33
27: ; preds = %17
%28 = tail call double @MIN(double noundef %6, double noundef %20) #2
%29 = fdiv double %11, %28
%30 = fptoui double %29 to i32
%31 = add i32 %30, 1
%32 = uitofp i32 %31 to double
br label %39
33: ; preds = %17
%34 = fcmp olt double %21, 0x41B9999999000000
%35 = zext i1 %34 to i32
%36 = tail call i32 @assert(i32 noundef %35) #2
%37 = load double, ptr %7, align 8, !tbaa !15
%38 = fmul double %37, 1.000000e+01
br label %39
39: ; preds = %33, %27
%40 = phi double [ %38, %33 ], [ %32, %27 ]
store double %40, ptr %7, align 8, !tbaa !15
%41 = fcmp olt double %22, %12
br i1 %41, label %42, label %48
42: ; preds = %39
%43 = tail call i32 @assert(i32 noundef 1) #2
%44 = load double, ptr %7, align 8, !tbaa !15
%45 = tail call i32 @BMK_benchFunction(i32 noundef %1, double noundef %44) #2
%46 = tail call i32 @BMK_isSuccessful_runOutcome(i32 noundef %45) #2
%47 = icmp eq i32 %46, 0
br i1 %47, label %53, label %17
48: ; preds = %39
%49 = fcmp olt double %20, %6
%50 = select i1 %49, double %20, double %6
%51 = insertvalue [1 x double] poison, double %50, 0
%52 = tail call i32 @BMK_setValid_runTime([1 x double] %51) #2
br label %53
53: ; preds = %42, %2, %48
%54 = phi i32 [ %52, %48 ], [ %14, %2 ], [ %45, %42 ]
ret i32 %54
}
declare i32 @BMK_benchFunction(i32 noundef, double noundef) local_unnamed_addr #1
declare i32 @BMK_isSuccessful_runOutcome(i32 noundef) local_unnamed_addr #1
declare %struct.TYPE_7__ @BMK_extract_runTime(i32 noundef) local_unnamed_addr #1
declare double @MIN(double noundef, double noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @BMK_setValid_runTime([1 x double]) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !12, i64 16, !13, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"double", !9, i64 0}
!12 = !{!"long long", !9, i64 0}
!13 = !{!"TYPE_7__", !11, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !12, i64 16}
|
freebsd_sys_contrib_zstd_programs_extr_benchfn.c_BMK_benchTimedFn
|
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libopts/extr_usage.c_prt_ini_list.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libopts/extr_usage.c_prt_ini_list.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.stat = type { i32 }
@AG_PATH_MAX = dso_local local_unnamed_addr global i32 0, align 4
@zPresetIntro = dso_local local_unnamed_addr global ptr null, align 8
@option_usage_fp = dso_local local_unnamed_addr global i32 0, align 4
@zPathFmt = dso_local local_unnamed_addr global ptr null, align 8
@NUL = dso_local local_unnamed_addr constant i8 0, align 1
@DIRCH = dso_local local_unnamed_addr global i32 0, align 4
@NL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @prt_ini_list], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @prt_ini_list(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.stat, align 4
%5 = load i32, ptr @AG_PATH_MAX, align 4, !tbaa !5
%6 = add nsw i32 %5, 1
%7 = zext i32 %6 to i64
%8 = alloca i8, i64 %7, align 16
%9 = load ptr, ptr @zPresetIntro, align 8, !tbaa !9
%10 = load i32, ptr @option_usage_fp, align 4, !tbaa !5
%11 = tail call i32 @fputs(ptr noundef %9, i32 noundef %10) #3
%12 = load ptr, ptr %0, align 8, !tbaa !9
%13 = icmp eq ptr %12, null
br i1 %13, label %55, label %14
14: ; preds = %3, %49
%15 = phi ptr [ %53, %49 ], [ %12, %3 ]
%16 = phi ptr [ %17, %49 ], [ %0, %3 ]
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = call i32 @optionMakePath(ptr noundef nonnull %8, i32 noundef %6, ptr noundef nonnull %15, ptr noundef %2) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %27, label %20
20: ; preds = %14
%21 = load i8, ptr %15, align 1, !tbaa !11
%22 = icmp eq i8 %21, 36
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %15, i64 1
%25 = load i8, ptr %24, align 1, !tbaa !11
switch i8 %25, label %27 [
i8 36, label %26
i8 64, label %26
]
26: ; preds = %23, %23
br label %27
27: ; preds = %23, %14, %20, %26
%28 = phi ptr [ %8, %26 ], [ %15, %20 ], [ %15, %14 ], [ %15, %23 ]
%29 = phi ptr [ %8, %26 ], [ %8, %20 ], [ %15, %14 ], [ %8, %23 ]
%30 = load i32, ptr @option_usage_fp, align 4, !tbaa !5
%31 = load ptr, ptr @zPathFmt, align 8, !tbaa !9
%32 = call i32 @fprintf(i32 noundef %30, ptr noundef %31, ptr noundef nonnull %28) #3
%33 = load i8, ptr %1, align 1, !tbaa !11
%34 = icmp eq i8 %33, 0
br i1 %34, label %49, label %35
35: ; preds = %27
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%36 = call i64 @stat(ptr noundef nonnull %29, ptr noundef nonnull %4) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %48
38: ; preds = %35
%39 = load i32, ptr %4, align 4, !tbaa !12
%40 = call i64 @S_ISDIR(i32 noundef %39) #3
%41 = icmp eq i64 %40, 0
br i1 %41, label %48, label %42
42: ; preds = %38
%43 = load i32, ptr @DIRCH, align 4, !tbaa !5
%44 = load i32, ptr @option_usage_fp, align 4, !tbaa !5
%45 = call i32 @fputc(i32 noundef %43, i32 noundef %44) #3
%46 = load i32, ptr @option_usage_fp, align 4, !tbaa !5
%47 = call i32 @fputs(ptr noundef nonnull %1, i32 noundef %46) #3
br label %48
48: ; preds = %42, %38, %35
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %49
49: ; preds = %27, %48
%50 = load i32, ptr @NL, align 4, !tbaa !5
%51 = load i32, ptr @option_usage_fp, align 4, !tbaa !5
%52 = call i32 @fputc(i32 noundef %50, i32 noundef %51) #3
%53 = load ptr, ptr %17, align 8, !tbaa !9
%54 = icmp eq ptr %53, null
br i1 %54, label %55, label %14
55: ; preds = %49, %3
ret void
}
declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @optionMakePath(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @stat(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #1
declare i32 @fputc(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!13, !6, i64 0}
!13 = !{!"stat", !6, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libopts/extr_usage.c_prt_ini_list.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libopts/extr_usage.c_prt_ini_list.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i32 }
@AG_PATH_MAX = common local_unnamed_addr global i32 0, align 4
@zPresetIntro = common local_unnamed_addr global ptr null, align 8
@option_usage_fp = common local_unnamed_addr global i32 0, align 4
@zPathFmt = common local_unnamed_addr global ptr null, align 8
@NUL = common local_unnamed_addr global i8 0, align 1
@DIRCH = common local_unnamed_addr global i32 0, align 4
@NL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @prt_ini_list], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @prt_ini_list(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.stat, align 4
%5 = load i32, ptr @AG_PATH_MAX, align 4, !tbaa !6
%6 = add nsw i32 %5, 1
%7 = zext i32 %6 to i64
%8 = alloca i8, i64 %7, align 1
%9 = load ptr, ptr @zPresetIntro, align 8, !tbaa !10
%10 = load i32, ptr @option_usage_fp, align 4, !tbaa !6
%11 = tail call i32 @fputs(ptr noundef %9, i32 noundef %10) #3
%12 = load ptr, ptr %0, align 8, !tbaa !10
%13 = icmp eq ptr %12, null
br i1 %13, label %56, label %14
14: ; preds = %3, %50
%15 = phi ptr [ %54, %50 ], [ %12, %3 ]
%16 = phi ptr [ %17, %50 ], [ %0, %3 ]
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = call i32 @optionMakePath(ptr noundef nonnull %8, i32 noundef %6, ptr noundef nonnull %15, ptr noundef %2) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %27, label %20
20: ; preds = %14
%21 = load i8, ptr %15, align 1, !tbaa !12
%22 = icmp eq i8 %21, 36
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %15, i64 1
%25 = load i8, ptr %24, align 1, !tbaa !12
switch i8 %25, label %27 [
i8 36, label %26
i8 64, label %26
]
26: ; preds = %23, %23
br label %27
27: ; preds = %23, %14, %20, %26
%28 = phi ptr [ %8, %26 ], [ %15, %20 ], [ %15, %14 ], [ %15, %23 ]
%29 = phi ptr [ %8, %26 ], [ %8, %20 ], [ %15, %14 ], [ %8, %23 ]
%30 = load i32, ptr @option_usage_fp, align 4, !tbaa !6
%31 = load ptr, ptr @zPathFmt, align 8, !tbaa !10
%32 = call i32 @fprintf(i32 noundef %30, ptr noundef %31, ptr noundef nonnull %28) #3
%33 = load i8, ptr %1, align 1, !tbaa !12
%34 = load i8, ptr @NUL, align 1, !tbaa !12
%35 = icmp eq i8 %33, %34
br i1 %35, label %50, label %36
36: ; preds = %27
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%37 = call i64 @stat(ptr noundef nonnull %29, ptr noundef nonnull %4) #3
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load i32, ptr %4, align 4, !tbaa !13
%41 = call i64 @S_ISDIR(i32 noundef %40) #3
%42 = icmp eq i64 %41, 0
br i1 %42, label %49, label %43
43: ; preds = %39
%44 = load i32, ptr @DIRCH, align 4, !tbaa !6
%45 = load i32, ptr @option_usage_fp, align 4, !tbaa !6
%46 = call i32 @fputc(i32 noundef %44, i32 noundef %45) #3
%47 = load i32, ptr @option_usage_fp, align 4, !tbaa !6
%48 = call i32 @fputs(ptr noundef nonnull %1, i32 noundef %47) #3
br label %49
49: ; preds = %43, %39, %36
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
br label %50
50: ; preds = %27, %49
%51 = load i32, ptr @NL, align 4, !tbaa !6
%52 = load i32, ptr @option_usage_fp, align 4, !tbaa !6
%53 = call i32 @fputc(i32 noundef %51, i32 noundef %52) #3
%54 = load ptr, ptr %17, align 8, !tbaa !10
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %14
56: ; preds = %50, %3
ret void
}
declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @optionMakePath(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @stat(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #1
declare i32 @fputc(i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!14, !7, i64 0}
!14 = !{!"stat", !7, i64 0}
|
freebsd_contrib_ntp_sntp_libopts_extr_usage.c_prt_ini_list
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/scripting-engines/extr_..srccode.h_srccode_state_init.c'
source_filename = "AnghaBench/linux/tools/perf/util/scripting-engines/extr_..srccode.h_srccode_state_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @srccode_state_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @srccode_state_init(ptr nocapture noundef writeonly %0) #0 {
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/tools/perf/util/scripting-engines/extr_..srccode.h_srccode_state_init.c'
source_filename = "AnghaBench/linux/tools/perf/util/scripting-engines/extr_..srccode.h_srccode_state_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @srccode_state_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @srccode_state_init(ptr nocapture noundef writeonly %0) #0 {
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_tools_perf_util_scripting-engines_extr_..srccode.h_srccode_state_init
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_port_enabled.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_port_enabled.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SDVO_PIPE_SEL_MASK_CPT = dso_local local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_SHIFT_CPT = dso_local local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_MASK_CHV = dso_local local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_SHIFT_CHV = dso_local local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_MASK = dso_local local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@SDVO_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @intel_sdvo_port_enabled(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call i32 @I915_READ(i32 noundef %1) #2
%5 = tail call i64 @HAS_PCH_CPT(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = tail call i64 @IS_CHERRYVIEW(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, ptr @SDVO_PIPE_SEL_MASK, ptr @SDVO_PIPE_SEL_MASK_CHV
%11 = select i1 %9, ptr @SDVO_PIPE_SEL_SHIFT, ptr @SDVO_PIPE_SEL_SHIFT_CHV
br label %12
12: ; preds = %7, %3
%13 = phi ptr [ @SDVO_PIPE_SEL_MASK_CPT, %3 ], [ %10, %7 ]
%14 = phi ptr [ @SDVO_PIPE_SEL_SHIFT_CPT, %3 ], [ %11, %7 ]
%15 = load i32, ptr %13, align 4, !tbaa !5
%16 = and i32 %15, %4
%17 = load i32, ptr %14, align 4, !tbaa !5
%18 = ashr i32 %16, %17
store i32 %18, ptr %2, align 4, !tbaa !5
%19 = load i32, ptr @SDVO_ENABLE, align 4, !tbaa !5
%20 = and i32 %19, %4
ret i32 %20
}
declare i32 @I915_READ(i32 noundef) local_unnamed_addr #1
declare i64 @HAS_PCH_CPT(ptr noundef) local_unnamed_addr #1
declare i64 @IS_CHERRYVIEW(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/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_port_enabled.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_sdvo.c_intel_sdvo_port_enabled.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SDVO_PIPE_SEL_MASK_CPT = common local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_SHIFT_CPT = common local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_MASK_CHV = common local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_SHIFT_CHV = common local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_MASK = common local_unnamed_addr global i32 0, align 4
@SDVO_PIPE_SEL_SHIFT = common local_unnamed_addr global i32 0, align 4
@SDVO_ENABLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @intel_sdvo_port_enabled(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call i32 @I915_READ(i32 noundef %1) #2
%5 = tail call i64 @HAS_PCH_CPT(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = tail call i64 @IS_CHERRYVIEW(ptr noundef %0) #2
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, ptr @SDVO_PIPE_SEL_MASK, ptr @SDVO_PIPE_SEL_MASK_CHV
%11 = select i1 %9, ptr @SDVO_PIPE_SEL_SHIFT, ptr @SDVO_PIPE_SEL_SHIFT_CHV
br label %12
12: ; preds = %7, %3
%13 = phi ptr [ @SDVO_PIPE_SEL_MASK_CPT, %3 ], [ %10, %7 ]
%14 = phi ptr [ @SDVO_PIPE_SEL_SHIFT_CPT, %3 ], [ %11, %7 ]
%15 = load i32, ptr %13, align 4, !tbaa !6
%16 = and i32 %15, %4
%17 = load i32, ptr %14, align 4, !tbaa !6
%18 = ashr i32 %16, %17
store i32 %18, ptr %2, align 4, !tbaa !6
%19 = load i32, ptr @SDVO_ENABLE, align 4, !tbaa !6
%20 = and i32 %19, %4
ret i32 %20
}
declare i32 @I915_READ(i32 noundef) local_unnamed_addr #1
declare i64 @HAS_PCH_CPT(ptr noundef) local_unnamed_addr #1
declare i64 @IS_CHERRYVIEW(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_gpu_drm_i915_display_extr_intel_sdvo.c_intel_sdvo_port_enabled
|
; ModuleID = 'AnghaBench/freebsd/share/examples/scsi_target/extr_scsi_target.c_usage.c'
source_filename = "AnghaBench/freebsd/share/examples/scsi_target/extr_scsi_target.c_usage.c"
target datalayout = "e-m:e-p270:32:32-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 [125 x i8] c"Usage: scsi_target [-AdSTY] [-b bufsize] [-c sectorsize]\0A\09\09[-r numbufs] [-s volsize] [-W 8,16,32]\0A\09\09bus:target:lun filename\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @usage() #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !5
%2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #3
%3 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/share/examples/scsi_target/extr_scsi_target.c_usage.c'
source_filename = "AnghaBench/freebsd/share/examples/scsi_target/extr_scsi_target.c_usage.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 [125 x i8] c"Usage: scsi_target [-AdSTY] [-b bufsize] [-c sectorsize]\0A\09\09[-r numbufs] [-s volsize] [-W 8,16,32]\0A\09\09bus:target:lun filename\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @usage() #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !6
%2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #3
%3 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_share_examples_scsi_target_extr_scsi_target.c_usage
|
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/omnikeyish/extr_omnikeyish.c_led_set_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/omnikeyish/extr_omnikeyish.c_led_set_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@USB_LED_NUM_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@NUMLOCKLEDPIN = dso_local local_unnamed_addr global i32 0, align 4
@USB_LED_CAPS_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@CAPSLOCKLEDPIN = dso_local local_unnamed_addr global i32 0, align 4
@USB_LED_SCROLL_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@SCROLLLOCKLEDPIN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @led_set_user(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @USB_LED_NUM_LOCK, align 4, !tbaa !5
%3 = tail call i64 @IS_LED_ON(i32 noundef %0, i32 noundef %2) #2
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @NUMLOCKLEDPIN, align 4, !tbaa !5
br i1 %4, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @writePinHigh(i32 noundef %5) #2
br label %10
8: ; preds = %1
%9 = tail call i32 @writePinLow(i32 noundef %5) #2
br label %10
10: ; preds = %8, %6
%11 = load i32, ptr @USB_LED_CAPS_LOCK, align 4, !tbaa !5
%12 = tail call i64 @IS_LED_ON(i32 noundef %0, i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr @CAPSLOCKLEDPIN, align 4, !tbaa !5
br i1 %13, label %17, label %15
15: ; preds = %10
%16 = tail call i32 @writePinHigh(i32 noundef %14) #2
br label %19
17: ; preds = %10
%18 = tail call i32 @writePinLow(i32 noundef %14) #2
br label %19
19: ; preds = %17, %15
%20 = load i32, ptr @USB_LED_SCROLL_LOCK, align 4, !tbaa !5
%21 = tail call i64 @IS_LED_ON(i32 noundef %0, i32 noundef %20) #2
%22 = icmp eq i64 %21, 0
%23 = load i32, ptr @SCROLLLOCKLEDPIN, align 4, !tbaa !5
br i1 %22, label %26, label %24
24: ; preds = %19
%25 = tail call i32 @writePinHigh(i32 noundef %23) #2
br label %28
26: ; preds = %19
%27 = tail call i32 @writePinLow(i32 noundef %23) #2
br label %28
28: ; preds = %26, %24
ret void
}
declare i64 @IS_LED_ON(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writePinHigh(i32 noundef) local_unnamed_addr #1
declare i32 @writePinLow(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/qmk_firmware/keyboards/omnikeyish/extr_omnikeyish.c_led_set_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/omnikeyish/extr_omnikeyish.c_led_set_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USB_LED_NUM_LOCK = common local_unnamed_addr global i32 0, align 4
@NUMLOCKLEDPIN = common local_unnamed_addr global i32 0, align 4
@USB_LED_CAPS_LOCK = common local_unnamed_addr global i32 0, align 4
@CAPSLOCKLEDPIN = common local_unnamed_addr global i32 0, align 4
@USB_LED_SCROLL_LOCK = common local_unnamed_addr global i32 0, align 4
@SCROLLLOCKLEDPIN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @led_set_user(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @USB_LED_NUM_LOCK, align 4, !tbaa !6
%3 = tail call i64 @IS_LED_ON(i32 noundef %0, i32 noundef %2) #2
%4 = icmp eq i64 %3, 0
%5 = load i32, ptr @NUMLOCKLEDPIN, align 4, !tbaa !6
br i1 %4, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @writePinHigh(i32 noundef %5) #2
br label %10
8: ; preds = %1
%9 = tail call i32 @writePinLow(i32 noundef %5) #2
br label %10
10: ; preds = %8, %6
%11 = load i32, ptr @USB_LED_CAPS_LOCK, align 4, !tbaa !6
%12 = tail call i64 @IS_LED_ON(i32 noundef %0, i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr @CAPSLOCKLEDPIN, align 4, !tbaa !6
br i1 %13, label %17, label %15
15: ; preds = %10
%16 = tail call i32 @writePinHigh(i32 noundef %14) #2
br label %19
17: ; preds = %10
%18 = tail call i32 @writePinLow(i32 noundef %14) #2
br label %19
19: ; preds = %17, %15
%20 = load i32, ptr @USB_LED_SCROLL_LOCK, align 4, !tbaa !6
%21 = tail call i64 @IS_LED_ON(i32 noundef %0, i32 noundef %20) #2
%22 = icmp eq i64 %21, 0
%23 = load i32, ptr @SCROLLLOCKLEDPIN, align 4, !tbaa !6
br i1 %22, label %26, label %24
24: ; preds = %19
%25 = tail call i32 @writePinHigh(i32 noundef %23) #2
br label %28
26: ; preds = %19
%27 = tail call i32 @writePinLow(i32 noundef %23) #2
br label %28
28: ; preds = %26, %24
ret void
}
declare i64 @IS_LED_ON(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @writePinHigh(i32 noundef) local_unnamed_addr #1
declare i32 @writePinLow(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"}
|
qmk_firmware_keyboards_omnikeyish_extr_omnikeyish.c_led_set_user
|
; ModuleID = 'AnghaBench/libgit2/src/xdiff/extr_xprepare.c_xdl_free_ctx.c'
source_filename = "AnghaBench/libgit2/src/xdiff/extr_xprepare.c_xdl_free_ctx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i64, i64, i64, i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @xdl_free_ctx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xdl_free_ctx(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @xdl_free(i64 noundef %3) #2
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @xdl_free(i64 noundef %6) #2
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = add nsw i64 %9, -1
%11 = tail call i32 @xdl_free(i64 noundef %10) #2
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = tail call i32 @xdl_free(i64 noundef %13) #2
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !14
%17 = tail call i32 @xdl_free(i64 noundef %16) #2
%18 = tail call i32 @xdl_cha_free(ptr noundef %0) #2
ret void
}
declare i32 @xdl_free(i64 noundef) local_unnamed_addr #1
declare i32 @xdl_cha_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 40}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 32}
!12 = !{!6, !10, i64 24}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 8}
|
; ModuleID = 'AnghaBench/libgit2/src/xdiff/extr_xprepare.c_xdl_free_ctx.c'
source_filename = "AnghaBench/libgit2/src/xdiff/extr_xprepare.c_xdl_free_ctx.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 @xdl_free_ctx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xdl_free_ctx(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 40
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @xdl_free(i64 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 32
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = tail call i32 @xdl_free(i64 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 24
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = add nsw i64 %9, -1
%11 = tail call i32 @xdl_free(i64 noundef %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = tail call i32 @xdl_free(i64 noundef %13) #2
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !15
%17 = tail call i32 @xdl_free(i64 noundef %16) #2
%18 = tail call i32 @xdl_cha_free(ptr noundef %0) #2
ret void
}
declare i32 @xdl_free(i64 noundef) local_unnamed_addr #1
declare i32 @xdl_cha_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 40}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 32}
!13 = !{!7, !11, i64 24}
!14 = !{!7, !11, i64 16}
!15 = !{!7, !11, i64 8}
|
libgit2_src_xdiff_extr_xprepare.c_xdl_free_ctx
|
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-palmas.c_palmas_clks_prepare.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-palmas.c_palmas_clks_prepare.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_2__ = type { i64, 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_prepare], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @palmas_clks_prepare(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 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = load i32, ptr @PALMAS_RESOURCE_BASE, align 4, !tbaa !11
%6 = load ptr, ptr %2, align 8, !tbaa !12
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
%8 = load i32, ptr %7, align 8, !tbaa !13
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 2
%10 = load i32, ptr %9, align 4, !tbaa !16
%11 = tail call i32 @palmas_update_bits(i32 noundef %4, i32 noundef %5, i32 noundef %8, i32 noundef %10, i32 noundef %10) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %1
%14 = getelementptr inbounds %struct.palmas_clock_info, ptr %2, i64 0, i32 1
%15 = load i32, ptr %14, align 8, !tbaa !17
%16 = load ptr, ptr %2, align 8, !tbaa !12
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 1
%18 = load i32, ptr %17, align 8, !tbaa !13
%19 = tail call i32 @dev_err(i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %18, i32 noundef %11) #2
br label %26
20: ; preds = %1
%21 = load ptr, ptr %2, align 8, !tbaa !12
%22 = load i64, ptr %21, align 8, !tbaa !18
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = tail call i32 @udelay(i64 noundef %22) #2
br label %26
26: ; preds = %20, %24, %13
ret i32 %11
}
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
declare i32 @udelay(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, !10, i64 12}
!6 = !{!"palmas_clock_info", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"TYPE_2__", !15, i64 0, !10, i64 8, !10, i64 12}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !10, i64 12}
!17 = !{!6, !10, i64 8}
!18 = !{!14, !15, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-palmas.c_palmas_clks_prepare.c'
source_filename = "AnghaBench/linux/drivers/clk/extr_clk-palmas.c_palmas_clks_prepare.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_prepare], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @palmas_clks_prepare(ptr noundef %0) #0 {
%2 = tail call ptr @to_palmas_clks_info(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 12
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = load i32, ptr @PALMAS_RESOURCE_BASE, align 4, !tbaa !12
%6 = load ptr, ptr %2, align 8, !tbaa !13
%7 = getelementptr inbounds i8, ptr %6, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !14
%9 = getelementptr inbounds i8, ptr %6, i64 12
%10 = load i32, ptr %9, align 4, !tbaa !17
%11 = tail call i32 @palmas_update_bits(i32 noundef %4, i32 noundef %5, i32 noundef %8, i32 noundef %10, i32 noundef %10) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %20
13: ; preds = %1
%14 = getelementptr inbounds i8, ptr %2, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !18
%16 = load ptr, ptr %2, align 8, !tbaa !13
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !14
%19 = tail call i32 @dev_err(i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %18, i32 noundef %11) #2
br label %26
20: ; preds = %1
%21 = load ptr, ptr %2, align 8, !tbaa !13
%22 = load i64, ptr %21, align 8, !tbaa !19
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = tail call i32 @udelay(i64 noundef %22) #2
br label %26
26: ; preds = %20, %24, %13
ret i32 %11
}
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
declare i32 @udelay(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, !11, i64 12}
!7 = !{!"palmas_clock_info", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"TYPE_2__", !16, i64 0, !11, i64 8, !11, i64 12}
!16 = !{!"long", !9, i64 0}
!17 = !{!15, !11, i64 12}
!18 = !{!7, !11, i64 8}
!19 = !{!15, !16, i64 0}
|
linux_drivers_clk_extr_clk-palmas.c_palmas_clks_prepare
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ltc4245.c_ltc4245_show_alarm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ltc4245.c_ltc4245_show_alarm.c"
target datalayout = "e-m:e-p270:32:32-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.sensor_device_attribute_2 = type { i64, i32 }
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ltc4245_show_alarm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ltc4245_show_alarm(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr_2(ptr noundef %1) #2
%5 = tail call ptr @ltc4245_update_device(ptr noundef %0) #2
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i64, ptr %4, align 8, !tbaa !10
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = getelementptr inbounds %struct.sensor_device_attribute_2, ptr %4, i64 0, i32 1
%11 = load i32, ptr %10, align 8, !tbaa !15
%12 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !14
%13 = and i32 %11, %9
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %15) #2
ret i32 %16
}
declare ptr @to_sensor_dev_attr_2(ptr noundef) local_unnamed_addr #1
declare ptr @ltc4245_update_device(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ltc4245_data", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"sensor_device_attribute_2", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !13, i64 8}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ltc4245.c_ltc4245_show_alarm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ltc4245.c_ltc4245_show_alarm.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
@.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ltc4245_show_alarm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ltc4245_show_alarm(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr_2(ptr noundef %1) #2
%5 = tail call ptr @ltc4245_update_device(ptr noundef %0) #2
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i64, ptr %4, align 8, !tbaa !11
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = getelementptr inbounds i8, ptr %4, i64 8
%11 = load i32, ptr %10, align 8, !tbaa !16
%12 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !15
%13 = and i32 %11, %9
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %12, ptr noundef nonnull @.str, i32 noundef %15) #2
ret i32 %16
}
declare ptr @to_sensor_dev_attr_2(ptr noundef) local_unnamed_addr #1
declare ptr @ltc4245_update_device(ptr noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ltc4245_data", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"sensor_device_attribute_2", !13, i64 0, !14, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !14, i64 8}
|
fastsocket_kernel_drivers_hwmon_extr_ltc4245.c_ltc4245_show_alarm
|
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4proc.c__nfs4_do_setattr.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4proc.c__nfs4_do_setattr.c"
target datalayout = "e-m:e-p270:32:32-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.rpc_message = type { ptr, ptr, ptr, ptr }
%struct.nfs_setattrres = type { i32, i32 }
%struct.nfs_setattrargs = type { i32, i32, ptr }
@nfs4_procedures = dso_local local_unnamed_addr global ptr null, align 8
@NFSPROC4_CLNT_SETATTR = dso_local local_unnamed_addr global i64 0, align 8
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@ATTR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@FMODE_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@EBADF = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@zero_stateid = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_nfs4_do_setattr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @_nfs4_do_setattr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca %struct.rpc_message, align 8
%7 = alloca ptr, align 8
%8 = tail call ptr @NFS_SERVER(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
store ptr %3, ptr %6, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.rpc_message, ptr %6, i64 0, i32 1
store ptr %2, ptr %9, align 8, !tbaa !10
%10 = getelementptr inbounds %struct.rpc_message, ptr %6, i64 0, i32 2
store ptr %1, ptr %10, align 8, !tbaa !11
%11 = getelementptr inbounds %struct.rpc_message, ptr %6, i64 0, i32 3
%12 = load ptr, ptr @nfs4_procedures, align 8, !tbaa !12
%13 = load i64, ptr @NFSPROC4_CLNT_SETATTR, align 8, !tbaa !13
%14 = getelementptr inbounds i32, ptr %12, i64 %13
store ptr %14, ptr %11, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
store ptr null, ptr %7, align 8, !tbaa !12
%15 = load i64, ptr @jiffies, align 8, !tbaa !13
%16 = getelementptr inbounds %struct.nfs_setattrres, ptr %2, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = tail call i32 @nfs_fattr_init(i32 noundef %17) #3
%19 = getelementptr inbounds %struct.nfs_setattrargs, ptr %1, i64 0, i32 2
%20 = load ptr, ptr %19, align 8, !tbaa !19
%21 = load i32, ptr %20, align 4, !tbaa !21
%22 = load i32, ptr @ATTR_SIZE, align 4, !tbaa !23
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %57, label %25
25: ; preds = %5
%26 = load i32, ptr @FMODE_WRITE, align 4, !tbaa !23
%27 = call i64 @nfs4_copy_delegation_stateid(ptr noundef %0, i32 noundef %26, ptr noundef nonnull %1, ptr noundef nonnull %7) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %59
29: ; preds = %25
%30 = icmp eq ptr %4, null
br i1 %30, label %57, label %31
31: ; preds = %29
%32 = load i64, ptr %4, align 8, !tbaa !24
%33 = icmp eq i64 %32, 0
br i1 %33, label %57, label %34
34: ; preds = %31
%35 = call i32 @nfs4_valid_open_stateid(i64 noundef %32) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr @EBADF, align 4, !tbaa !23
%39 = sub nsw i32 0, %38
br label %76
40: ; preds = %34
%41 = call ptr @nfs_get_lock_context(ptr noundef nonnull %4) #3
%42 = call i64 @IS_ERR(ptr noundef %41) #3
%43 = icmp eq i64 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = call i32 @PTR_ERR(ptr noundef %41) #3
br label %76
46: ; preds = %40
%47 = load i64, ptr %4, align 8, !tbaa !24
%48 = load i32, ptr @FMODE_WRITE, align 4, !tbaa !23
%49 = call i32 @nfs4_select_rw_stateid(i64 noundef %47, i32 noundef %48, ptr noundef %41, ptr noundef nonnull %1, ptr noundef nonnull %7) #3
%50 = call i32 @nfs_put_lock_context(ptr noundef %41) #3
%51 = load i32, ptr @EIO, align 4, !tbaa !23
%52 = sub nsw i32 0, %51
%53 = icmp eq i32 %49, %52
br i1 %53, label %54, label %59
54: ; preds = %46
%55 = load i32, ptr @EBADF, align 4, !tbaa !23
%56 = sub nsw i32 0, %55
br label %76
57: ; preds = %29, %31, %5
%58 = call i32 @nfs4_stateid_copy(ptr noundef nonnull %1, ptr noundef nonnull @zero_stateid) #3
br label %59
59: ; preds = %46, %57, %25
%60 = load ptr, ptr %7, align 8, !tbaa !12
%61 = icmp eq ptr %60, null
br i1 %61, label %63, label %62
62: ; preds = %59
store ptr %60, ptr %6, align 8, !tbaa !5
br label %63
63: ; preds = %62, %59
%64 = load i32, ptr %8, align 4, !tbaa !26
%65 = getelementptr inbounds %struct.nfs_setattrargs, ptr %1, i64 0, i32 1
%66 = call i32 @nfs4_call_sync(i32 noundef %64, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %65, ptr noundef nonnull %2, i32 noundef 1) #3
%67 = load ptr, ptr %7, align 8, !tbaa !12
%68 = call i32 @put_cred(ptr noundef %67) #3
%69 = icmp eq i32 %66, 0
%70 = icmp ne ptr %4, null
%71 = and i1 %70, %69
br i1 %71, label %72, label %74
72: ; preds = %63
%73 = call i32 @renew_lease(ptr noundef nonnull %8, i64 noundef %15) #3
br label %74
74: ; preds = %72, %63
%75 = call i32 @trace_nfs4_setattr(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %66) #3
br label %76
76: ; preds = %37, %54, %44, %74
%77 = phi i32 [ %66, %74 ], [ %39, %37 ], [ %56, %54 ], [ %45, %44 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
ret i32 %77
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @NFS_SERVER(ptr noundef) local_unnamed_addr #2
declare i32 @nfs_fattr_init(i32 noundef) local_unnamed_addr #2
declare i64 @nfs4_copy_delegation_stateid(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_valid_open_stateid(i64 noundef) local_unnamed_addr #2
declare ptr @nfs_get_lock_context(ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_select_rw_stateid(i64 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs_put_lock_context(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @nfs4_stateid_copy(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_call_sync(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_cred(ptr noundef) local_unnamed_addr #2
declare i32 @renew_lease(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @trace_nfs4_setattr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"rpc_message", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 16}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 24}
!16 = !{!17, !18, i64 4}
!17 = !{!"nfs_setattrres", !18, i64 0, !18, i64 4}
!18 = !{!"int", !8, i64 0}
!19 = !{!20, !7, i64 8}
!20 = !{!"nfs_setattrargs", !18, i64 0, !18, i64 4, !7, i64 8}
!21 = !{!22, !18, i64 0}
!22 = !{!"TYPE_2__", !18, i64 0}
!23 = !{!18, !18, i64 0}
!24 = !{!25, !14, i64 0}
!25 = !{!"nfs_open_context", !14, i64 0}
!26 = !{!27, !18, i64 0}
!27 = !{!"nfs_server", !18, i64 0}
|
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_nfs4proc.c__nfs4_do_setattr.c'
source_filename = "AnghaBench/linux/fs/nfs/extr_nfs4proc.c__nfs4_do_setattr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.rpc_message = type { ptr, ptr, ptr, ptr }
@nfs4_procedures = common local_unnamed_addr global ptr null, align 8
@NFSPROC4_CLNT_SETATTR = common local_unnamed_addr global i64 0, align 8
@jiffies = common local_unnamed_addr global i64 0, align 8
@ATTR_SIZE = common local_unnamed_addr global i32 0, align 4
@FMODE_WRITE = common local_unnamed_addr global i32 0, align 4
@EBADF = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@zero_stateid = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_nfs4_do_setattr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @_nfs4_do_setattr(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca %struct.rpc_message, align 8
%7 = alloca ptr, align 8
%8 = tail call ptr @NFS_SERVER(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
store ptr %3, ptr %6, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %6, i64 8
store ptr %2, ptr %9, align 8, !tbaa !11
%10 = getelementptr inbounds i8, ptr %6, i64 16
store ptr %1, ptr %10, align 8, !tbaa !12
%11 = getelementptr inbounds i8, ptr %6, i64 24
%12 = load ptr, ptr @nfs4_procedures, align 8, !tbaa !13
%13 = load i64, ptr @NFSPROC4_CLNT_SETATTR, align 8, !tbaa !14
%14 = getelementptr inbounds i32, ptr %12, i64 %13
store ptr %14, ptr %11, align 8, !tbaa !16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
store ptr null, ptr %7, align 8, !tbaa !13
%15 = load i64, ptr @jiffies, align 8, !tbaa !14
%16 = getelementptr inbounds i8, ptr %2, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = tail call i32 @nfs_fattr_init(i32 noundef %17) #3
%19 = getelementptr inbounds i8, ptr %1, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !20
%21 = load i32, ptr %20, align 4, !tbaa !22
%22 = load i32, ptr @ATTR_SIZE, align 4, !tbaa !24
%23 = and i32 %22, %21
%24 = icmp eq i32 %23, 0
br i1 %24, label %57, label %25
25: ; preds = %5
%26 = load i32, ptr @FMODE_WRITE, align 4, !tbaa !24
%27 = call i64 @nfs4_copy_delegation_stateid(ptr noundef %0, i32 noundef %26, ptr noundef nonnull %1, ptr noundef nonnull %7) #3
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %59
29: ; preds = %25
%30 = icmp eq ptr %4, null
br i1 %30, label %57, label %31
31: ; preds = %29
%32 = load i64, ptr %4, align 8, !tbaa !25
%33 = icmp eq i64 %32, 0
br i1 %33, label %57, label %34
34: ; preds = %31
%35 = call i32 @nfs4_valid_open_stateid(i64 noundef %32) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr @EBADF, align 4, !tbaa !24
%39 = sub nsw i32 0, %38
br label %76
40: ; preds = %34
%41 = call ptr @nfs_get_lock_context(ptr noundef nonnull %4) #3
%42 = call i64 @IS_ERR(ptr noundef %41) #3
%43 = icmp eq i64 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = call i32 @PTR_ERR(ptr noundef %41) #3
br label %76
46: ; preds = %40
%47 = load i64, ptr %4, align 8, !tbaa !25
%48 = load i32, ptr @FMODE_WRITE, align 4, !tbaa !24
%49 = call i32 @nfs4_select_rw_stateid(i64 noundef %47, i32 noundef %48, ptr noundef %41, ptr noundef nonnull %1, ptr noundef nonnull %7) #3
%50 = call i32 @nfs_put_lock_context(ptr noundef %41) #3
%51 = load i32, ptr @EIO, align 4, !tbaa !24
%52 = sub nsw i32 0, %51
%53 = icmp eq i32 %49, %52
br i1 %53, label %54, label %59
54: ; preds = %46
%55 = load i32, ptr @EBADF, align 4, !tbaa !24
%56 = sub nsw i32 0, %55
br label %76
57: ; preds = %29, %31, %5
%58 = call i32 @nfs4_stateid_copy(ptr noundef nonnull %1, ptr noundef nonnull @zero_stateid) #3
br label %59
59: ; preds = %46, %57, %25
%60 = load ptr, ptr %7, align 8, !tbaa !13
%61 = icmp eq ptr %60, null
br i1 %61, label %63, label %62
62: ; preds = %59
store ptr %60, ptr %6, align 8, !tbaa !6
br label %63
63: ; preds = %62, %59
%64 = load i32, ptr %8, align 4, !tbaa !27
%65 = getelementptr inbounds i8, ptr %1, i64 4
%66 = call i32 @nfs4_call_sync(i32 noundef %64, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %65, ptr noundef nonnull %2, i32 noundef 1) #3
%67 = load ptr, ptr %7, align 8, !tbaa !13
%68 = call i32 @put_cred(ptr noundef %67) #3
%69 = icmp eq i32 %66, 0
%70 = icmp ne ptr %4, null
%71 = and i1 %70, %69
br i1 %71, label %72, label %74
72: ; preds = %63
%73 = call i32 @renew_lease(ptr noundef nonnull %8, i64 noundef %15) #3
br label %74
74: ; preds = %72, %63
%75 = call i32 @trace_nfs4_setattr(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %66) #3
br label %76
76: ; preds = %37, %54, %44, %74
%77 = phi i32 [ %66, %74 ], [ %39, %37 ], [ %56, %54 ], [ %45, %44 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
ret i32 %77
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @NFS_SERVER(ptr noundef) local_unnamed_addr #2
declare i32 @nfs_fattr_init(i32 noundef) local_unnamed_addr #2
declare i64 @nfs4_copy_delegation_stateid(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_valid_open_stateid(i64 noundef) local_unnamed_addr #2
declare ptr @nfs_get_lock_context(ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_select_rw_stateid(i64 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs_put_lock_context(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @nfs4_stateid_copy(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfs4_call_sync(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_cred(ptr noundef) local_unnamed_addr #2
declare i32 @renew_lease(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @trace_nfs4_setattr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"rpc_message", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 16}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !8, i64 24}
!17 = !{!18, !19, i64 4}
!18 = !{!"nfs_setattrres", !19, i64 0, !19, i64 4}
!19 = !{!"int", !9, i64 0}
!20 = !{!21, !8, i64 8}
!21 = !{!"nfs_setattrargs", !19, i64 0, !19, i64 4, !8, i64 8}
!22 = !{!23, !19, i64 0}
!23 = !{!"TYPE_2__", !19, i64 0}
!24 = !{!19, !19, i64 0}
!25 = !{!26, !15, i64 0}
!26 = !{!"nfs_open_context", !15, i64 0}
!27 = !{!28, !19, i64 0}
!28 = !{!"nfs_server", !19, i64 0}
|
linux_fs_nfs_extr_nfs4proc.c__nfs4_do_setattr
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/qmgr/extr_job.c_setup.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/qmgr/extr_job.c_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"
@test_manager = dso_local global ptr null, align 8
@test_job = dso_local global ptr null, align 8
@test_jobId = dso_local global i32 0, align 4
@BG_JOB_TYPE_DOWNLOAD = dso_local local_unnamed_addr global i32 0, align 4
@test_type = dso_local local_unnamed_addr global i32 0, align 4
@CLSID_BackgroundCopyManager = dso_local global i32 0, align 4
@CLSCTX_LOCAL_SERVER = dso_local local_unnamed_addr global i32 0, align 4
@IID_IBackgroundCopyManager = dso_local global i32 0, align 4
@S_OK = dso_local local_unnamed_addr global i64 0, align 8
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@test_displayName = 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 @setup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @setup() #0 {
store ptr null, ptr @test_manager, align 8, !tbaa !5
store ptr null, ptr @test_job, align 8, !tbaa !5
%1 = tail call i32 @memset(ptr noundef nonnull @test_jobId, i32 noundef 0, i32 noundef 4) #2
%2 = load i32, ptr @BG_JOB_TYPE_DOWNLOAD, align 4, !tbaa !9
store i32 %2, ptr @test_type, align 4, !tbaa !9
%3 = load i32, ptr @CLSCTX_LOCAL_SERVER, align 4, !tbaa !9
%4 = tail call i64 @CoCreateInstance(ptr noundef nonnull @CLSID_BackgroundCopyManager, ptr noundef null, i32 noundef %3, ptr noundef nonnull @IID_IBackgroundCopyManager, ptr noundef nonnull @test_manager) #2
%5 = load i64, ptr @S_OK, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %17
7: ; preds = %0
%8 = load ptr, ptr @test_manager, align 8, !tbaa !5
%9 = load i32, ptr @test_displayName, align 4, !tbaa !9
%10 = load i32, ptr @test_type, align 4, !tbaa !9
%11 = tail call i64 @IBackgroundCopyManager_CreateJob(ptr noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef nonnull @test_jobId, ptr noundef nonnull @test_job) #2
%12 = load i64, ptr @S_OK, align 8, !tbaa !11
%13 = icmp eq i64 %11, %12
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = load ptr, ptr @test_manager, align 8, !tbaa !5
%16 = tail call i32 @IBackgroundCopyManager_Release(ptr noundef %15) #2
br label %17
17: ; preds = %7, %0, %14
%18 = phi ptr [ @FALSE, %14 ], [ @FALSE, %0 ], [ @TRUE, %7 ]
%19 = load i32, ptr %18, align 4, !tbaa !9
ret i32 %19
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @CoCreateInstance(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IBackgroundCopyManager_CreateJob(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IBackgroundCopyManager_Release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
|
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/qmgr/extr_job.c_setup.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/qmgr/extr_job.c_setup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@test_manager = common global ptr null, align 8
@test_job = common global ptr null, align 8
@test_jobId = common global i32 0, align 4
@BG_JOB_TYPE_DOWNLOAD = common local_unnamed_addr global i32 0, align 4
@test_type = common local_unnamed_addr global i32 0, align 4
@CLSID_BackgroundCopyManager = common global i32 0, align 4
@CLSCTX_LOCAL_SERVER = common local_unnamed_addr global i32 0, align 4
@IID_IBackgroundCopyManager = common global i32 0, align 4
@S_OK = common local_unnamed_addr global i64 0, align 8
@FALSE = common local_unnamed_addr global i32 0, align 4
@test_displayName = 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 @setup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @setup() #0 {
store ptr null, ptr @test_manager, align 8, !tbaa !6
store ptr null, ptr @test_job, align 8, !tbaa !6
%1 = tail call i32 @memset(ptr noundef nonnull @test_jobId, i32 noundef 0, i32 noundef 4) #2
%2 = load i32, ptr @BG_JOB_TYPE_DOWNLOAD, align 4, !tbaa !10
store i32 %2, ptr @test_type, align 4, !tbaa !10
%3 = load i32, ptr @CLSCTX_LOCAL_SERVER, align 4, !tbaa !10
%4 = tail call i64 @CoCreateInstance(ptr noundef nonnull @CLSID_BackgroundCopyManager, ptr noundef null, i32 noundef %3, ptr noundef nonnull @IID_IBackgroundCopyManager, ptr noundef nonnull @test_manager) #2
%5 = load i64, ptr @S_OK, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %17
7: ; preds = %0
%8 = load ptr, ptr @test_manager, align 8, !tbaa !6
%9 = load i32, ptr @test_displayName, align 4, !tbaa !10
%10 = load i32, ptr @test_type, align 4, !tbaa !10
%11 = tail call i64 @IBackgroundCopyManager_CreateJob(ptr noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef nonnull @test_jobId, ptr noundef nonnull @test_job) #2
%12 = load i64, ptr @S_OK, align 8, !tbaa !12
%13 = icmp eq i64 %11, %12
br i1 %13, label %17, label %14
14: ; preds = %7
%15 = load ptr, ptr @test_manager, align 8, !tbaa !6
%16 = tail call i32 @IBackgroundCopyManager_Release(ptr noundef %15) #2
br label %17
17: ; preds = %7, %0, %14
%18 = phi ptr [ @FALSE, %14 ], [ @FALSE, %0 ], [ @TRUE, %7 ]
%19 = load i32, ptr %18, align 4, !tbaa !10
ret i32 %19
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @CoCreateInstance(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @IBackgroundCopyManager_CreateJob(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IBackgroundCopyManager_Release(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
|
reactos_modules_rostests_winetests_qmgr_extr_job.c_setup
|
; ModuleID = 'AnghaBench/kphp-kdb/vkext/extr_vkext_schema_memcache.c_tlsub_push_type_var.c'
source_filename = "AnghaBench/kphp-kdb/vkext/extr_vkext_schema_memcache.c_tlsub_push_type_var.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TLUNI_NEXT = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noalias ptr @tlsub_push_type_var(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = ptrtoint ptr %5 to i64
%7 = getelementptr inbounds ptr, ptr %3, i64 %6
%8 = load ptr, ptr %7, align 8, !tbaa !5
store ptr %8, ptr %1, align 8, !tbaa !5
%9 = tail call i32 @INC_REF(ptr noundef %8) #2
ret ptr undef
}
declare i32 @INC_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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/kphp-kdb/vkext/extr_vkext_schema_memcache.c_tlsub_push_type_var.c'
source_filename = "AnghaBench/kphp-kdb/vkext/extr_vkext_schema_memcache.c_tlsub_push_type_var.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TLUNI_NEXT = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noalias ptr @tlsub_push_type_var(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = ptrtoint ptr %5 to i64
%7 = getelementptr inbounds ptr, ptr %3, i64 %6
%8 = load ptr, ptr %7, align 8, !tbaa !6
store ptr %8, ptr %1, align 8, !tbaa !6
%9 = tail call i32 @INC_REF(ptr noundef %8) #2
ret ptr undef
}
declare i32 @INC_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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
kphp-kdb_vkext_extr_vkext_schema_memcache.c_tlsub_push_type_var
|
; ModuleID = 'AnghaBench/php-src/sapi/phpdbg/extr_phpdbg_eol.c_phpdbg_eol_convert.c'
source_filename = "AnghaBench/php-src/sapi/phpdbg/extr_phpdbg_eol.c_phpdbg_eol_convert.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@flags = dso_local local_unnamed_addr global i32 0, align 4
@PHPDBG_IS_REMOTE = dso_local local_unnamed_addr global i32 0, align 4
@PHPDBG_EOL_CRLF = dso_local local_unnamed_addr global i32 0, align 4
@eol = dso_local local_unnamed_addr global i32 0, align 4
@PHPDBG_EOL_LF = dso_local local_unnamed_addr global i32 0, align 4
@PHPDBG_EOL_CR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @phpdbg_eol_convert(ptr nocapture noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %1, align 4, !tbaa !9
%5 = load i32, ptr @flags, align 4, !tbaa !9
%6 = tail call i32 @PHPDBG_G(i32 noundef %5) #2
%7 = load i32, ptr @PHPDBG_IS_REMOTE, align 4, !tbaa !9
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, %7
br i1 %9, label %10, label %142
10: ; preds = %2
%11 = load i32, ptr @PHPDBG_EOL_CRLF, align 4, !tbaa !9
%12 = load i32, ptr @eol, align 4, !tbaa !9
%13 = tail call i32 @PHPDBG_G(i32 noundef %12) #2
%14 = icmp eq i32 %11, %13
br i1 %14, label %15, label %58
15: ; preds = %10
%16 = tail call i32 @count_lf_and_cr(ptr noundef %3, i32 noundef %4) #2
%17 = add nsw i32 %16, %4
%18 = tail call i64 @emalloc(i32 noundef %17) #2
%19 = inttoptr i64 %18 to ptr
%20 = icmp sgt i32 %4, 0
br i1 %20, label %21, label %136
21: ; preds = %15
%22 = load i8, ptr %3, align 1, !tbaa !11
%23 = zext nneg i32 %4 to i64
%24 = zext nneg i32 %4 to i64
br label %25
25: ; preds = %21, %47
%26 = phi i64 [ 0, %21 ], [ %53, %47 ]
%27 = phi i8 [ %22, %21 ], [ %56, %47 ]
%28 = phi i8 [ %22, %21 ], [ %50, %47 ]
%29 = phi i32 [ 0, %21 ], [ %54, %47 ]
%30 = icmp eq i8 %27, 10
%31 = icmp ne i8 %28, 13
%32 = select i1 %30, i1 %31, i1 false
br i1 %32, label %42, label %33
33: ; preds = %25
%34 = icmp eq i8 %27, 13
br i1 %34, label %35, label %47
35: ; preds = %33
%36 = add nuw nsw i64 %26, 1
%37 = icmp ult i64 %36, %23
br i1 %37, label %38, label %47
38: ; preds = %35
%39 = getelementptr inbounds i8, ptr %3, i64 %36
%40 = load i8, ptr %39, align 1, !tbaa !11
%41 = icmp eq i8 %40, 10
br i1 %41, label %47, label %42
42: ; preds = %38, %25
%43 = phi i8 [ %28, %25 ], [ 10, %38 ]
%44 = sext i32 %29 to i64
%45 = getelementptr inbounds i8, ptr %19, i64 %44
store i8 13, ptr %45, align 1, !tbaa !11
%46 = add nsw i32 %29, 1
br label %47
47: ; preds = %42, %33, %35, %38
%48 = phi i32 [ %29, %38 ], [ %29, %35 ], [ %29, %33 ], [ %46, %42 ]
%49 = phi i8 [ 13, %38 ], [ 13, %35 ], [ %27, %33 ], [ 10, %42 ]
%50 = phi i8 [ 13, %38 ], [ 13, %35 ], [ %27, %33 ], [ %43, %42 ]
%51 = sext i32 %48 to i64
%52 = getelementptr inbounds i8, ptr %19, i64 %51
store i8 %49, ptr %52, align 1, !tbaa !11
%53 = add nuw nsw i64 %26, 1
%54 = add nsw i32 %48, 1
%55 = getelementptr inbounds i8, ptr %3, i64 %53
%56 = load i8, ptr %55, align 1, !tbaa !11
%57 = icmp eq i64 %53, %24
br i1 %57, label %136, label %25, !llvm.loop !12
58: ; preds = %10
%59 = load i32, ptr @PHPDBG_EOL_LF, align 4, !tbaa !9
%60 = load i32, ptr @eol, align 4, !tbaa !9
%61 = tail call i32 @PHPDBG_G(i32 noundef %60) #2
%62 = icmp eq i32 %59, %61
br i1 %62, label %68, label %63
63: ; preds = %58
%64 = load i32, ptr @PHPDBG_EOL_CR, align 4, !tbaa !9
%65 = load i32, ptr @eol, align 4, !tbaa !9
%66 = tail call i32 @PHPDBG_G(i32 noundef %65) #2
%67 = icmp eq i32 %64, %66
br i1 %67, label %68, label %142
68: ; preds = %63, %58
%69 = load i32, ptr @PHPDBG_EOL_LF, align 4, !tbaa !9
%70 = load i32, ptr @eol, align 4, !tbaa !9
%71 = tail call i32 @PHPDBG_G(i32 noundef %70) #2
%72 = icmp eq i32 %69, %71
%73 = select i1 %72, i8 10, i8 13
%74 = select i1 %72, i32 13, i32 10
%75 = tail call i64 @emalloc(i32 noundef %4) #2
%76 = inttoptr i64 %75 to ptr
%77 = icmp sgt i32 %4, 0
br i1 %77, label %78, label %136
78: ; preds = %68
%79 = load i8, ptr %3, align 1, !tbaa !11
%80 = zext nneg i32 %4 to i64
%81 = and i64 %80, 1
%82 = icmp eq i32 %4, 1
br i1 %82, label %120, label %83
83: ; preds = %78
%84 = and i64 %80, 2147483646
br label %85
85: ; preds = %114, %83
%86 = phi i64 [ 0, %83 ], [ %115, %114 ]
%87 = phi i8 [ %79, %83 ], [ %117, %114 ]
%88 = phi i8 [ %79, %83 ], [ %103, %114 ]
%89 = phi i64 [ 0, %83 ], [ %118, %114 ]
%90 = sext i8 %87 to i32
%91 = icmp eq i32 %74, %90
br i1 %91, label %97, label %92
92: ; preds = %85
%93 = icmp eq i8 %73, %87
br i1 %93, label %94, label %97
94: ; preds = %92
%95 = sext i8 %88 to i32
%96 = icmp eq i32 %74, %95
br i1 %96, label %100, label %97
97: ; preds = %92, %94, %85
%98 = phi i8 [ %73, %85 ], [ %73, %94 ], [ %87, %92 ]
%99 = getelementptr inbounds i8, ptr %76, i64 %86
store i8 %98, ptr %99, align 1, !tbaa !11
br label %100
100: ; preds = %97, %94
%101 = or disjoint i64 %86, 1
%102 = getelementptr inbounds i8, ptr %3, i64 %101
%103 = load i8, ptr %102, align 1, !tbaa !11
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %74, %104
br i1 %105, label %111, label %106
106: ; preds = %100
%107 = icmp eq i8 %73, %103
br i1 %107, label %108, label %111
108: ; preds = %106
%109 = sext i8 %87 to i32
%110 = icmp eq i32 %74, %109
br i1 %110, label %114, label %111
111: ; preds = %108, %106, %100
%112 = phi i8 [ %73, %100 ], [ %73, %108 ], [ %103, %106 ]
%113 = getelementptr inbounds i8, ptr %76, i64 %101
store i8 %112, ptr %113, align 1, !tbaa !11
br label %114
114: ; preds = %111, %108
%115 = add nuw nsw i64 %86, 2
%116 = getelementptr inbounds i8, ptr %3, i64 %115
%117 = load i8, ptr %116, align 1, !tbaa !11
%118 = add i64 %89, 2
%119 = icmp eq i64 %118, %84
br i1 %119, label %120, label %85, !llvm.loop !14
120: ; preds = %114, %78
%121 = phi i64 [ 0, %78 ], [ %115, %114 ]
%122 = phi i8 [ %79, %78 ], [ %117, %114 ]
%123 = phi i8 [ %79, %78 ], [ %103, %114 ]
%124 = icmp eq i64 %81, 0
br i1 %124, label %136, label %125
125: ; preds = %120
%126 = sext i8 %122 to i32
%127 = icmp eq i32 %74, %126
br i1 %127, label %133, label %128
128: ; preds = %125
%129 = icmp eq i8 %73, %122
br i1 %129, label %130, label %133
130: ; preds = %128
%131 = sext i8 %123 to i32
%132 = icmp eq i32 %74, %131
br i1 %132, label %136, label %133
133: ; preds = %130, %128, %125
%134 = phi i8 [ %73, %125 ], [ %73, %130 ], [ %122, %128 ]
%135 = getelementptr inbounds i8, ptr %76, i64 %121
store i8 %134, ptr %135, align 1, !tbaa !11
br label %136
136: ; preds = %120, %133, %130, %47, %68, %15
%137 = phi ptr [ %19, %15 ], [ %76, %68 ], [ %19, %47 ], [ %76, %130 ], [ %76, %133 ], [ %76, %120 ]
%138 = phi i32 [ 0, %15 ], [ 0, %68 ], [ %54, %47 ], [ %4, %130 ], [ %4, %133 ], [ %4, %120 ]
%139 = load ptr, ptr %0, align 8, !tbaa !5
%140 = tail call i32 @efree(ptr noundef %139) #2
%141 = tail call ptr @erealloc(ptr noundef %137, i32 noundef %138) #2
store ptr %141, ptr %0, align 8, !tbaa !5
store i32 %138, ptr %1, align 4, !tbaa !9
br label %142
142: ; preds = %63, %2, %136
ret void
}
declare i32 @PHPDBG_G(i32 noundef) local_unnamed_addr #1
declare i64 @emalloc(i32 noundef) local_unnamed_addr #1
declare i32 @count_lf_and_cr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @efree(ptr noundef) local_unnamed_addr #1
declare ptr @erealloc(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 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
|
; ModuleID = 'AnghaBench/php-src/sapi/phpdbg/extr_phpdbg_eol.c_phpdbg_eol_convert.c'
source_filename = "AnghaBench/php-src/sapi/phpdbg/extr_phpdbg_eol.c_phpdbg_eol_convert.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@flags = common local_unnamed_addr global i32 0, align 4
@PHPDBG_IS_REMOTE = common local_unnamed_addr global i32 0, align 4
@PHPDBG_EOL_CRLF = common local_unnamed_addr global i32 0, align 4
@eol = common local_unnamed_addr global i32 0, align 4
@PHPDBG_EOL_LF = common local_unnamed_addr global i32 0, align 4
@PHPDBG_EOL_CR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @phpdbg_eol_convert(ptr nocapture noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %1, align 4, !tbaa !10
%5 = load i32, ptr @flags, align 4, !tbaa !10
%6 = tail call i32 @PHPDBG_G(i32 noundef %5) #2
%7 = load i32, ptr @PHPDBG_IS_REMOTE, align 4, !tbaa !10
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, %7
br i1 %9, label %10, label %105
10: ; preds = %2
%11 = load i32, ptr @PHPDBG_EOL_CRLF, align 4, !tbaa !10
%12 = load i32, ptr @eol, align 4, !tbaa !10
%13 = tail call i32 @PHPDBG_G(i32 noundef %12) #2
%14 = icmp eq i32 %11, %13
br i1 %14, label %15, label %57
15: ; preds = %10
%16 = tail call i32 @count_lf_and_cr(ptr noundef %3, i32 noundef %4) #2
%17 = add nsw i32 %16, %4
%18 = tail call i64 @emalloc(i32 noundef %17) #2
%19 = inttoptr i64 %18 to ptr
%20 = icmp sgt i32 %4, 0
br i1 %20, label %21, label %99
21: ; preds = %15
%22 = load i8, ptr %3, align 1, !tbaa !12
%23 = zext nneg i32 %4 to i64
br label %24
24: ; preds = %21, %46
%25 = phi i64 [ 0, %21 ], [ %52, %46 ]
%26 = phi i8 [ %22, %21 ], [ %55, %46 ]
%27 = phi i8 [ %22, %21 ], [ %49, %46 ]
%28 = phi i32 [ 0, %21 ], [ %53, %46 ]
%29 = icmp eq i8 %26, 10
%30 = icmp ne i8 %27, 13
%31 = select i1 %29, i1 %30, i1 false
br i1 %31, label %41, label %32
32: ; preds = %24
%33 = icmp eq i8 %26, 13
br i1 %33, label %34, label %46
34: ; preds = %32
%35 = add nuw nsw i64 %25, 1
%36 = icmp ult i64 %35, %23
br i1 %36, label %37, label %46
37: ; preds = %34
%38 = getelementptr inbounds i8, ptr %3, i64 %35
%39 = load i8, ptr %38, align 1, !tbaa !12
%40 = icmp eq i8 %39, 10
br i1 %40, label %46, label %41
41: ; preds = %37, %24
%42 = phi i8 [ %27, %24 ], [ 10, %37 ]
%43 = sext i32 %28 to i64
%44 = getelementptr inbounds i8, ptr %19, i64 %43
store i8 13, ptr %44, align 1, !tbaa !12
%45 = add nsw i32 %28, 1
br label %46
46: ; preds = %41, %32, %34, %37
%47 = phi i32 [ %28, %37 ], [ %28, %34 ], [ %28, %32 ], [ %45, %41 ]
%48 = phi i8 [ 13, %37 ], [ 13, %34 ], [ %26, %32 ], [ 10, %41 ]
%49 = phi i8 [ 13, %37 ], [ 13, %34 ], [ %26, %32 ], [ %42, %41 ]
%50 = sext i32 %47 to i64
%51 = getelementptr inbounds i8, ptr %19, i64 %50
store i8 %48, ptr %51, align 1, !tbaa !12
%52 = add nuw nsw i64 %25, 1
%53 = add nsw i32 %47, 1
%54 = getelementptr inbounds i8, ptr %3, i64 %52
%55 = load i8, ptr %54, align 1, !tbaa !12
%56 = icmp eq i64 %52, %23
br i1 %56, label %99, label %24, !llvm.loop !13
57: ; preds = %10
%58 = load i32, ptr @PHPDBG_EOL_LF, align 4, !tbaa !10
%59 = load i32, ptr @eol, align 4, !tbaa !10
%60 = tail call i32 @PHPDBG_G(i32 noundef %59) #2
%61 = icmp eq i32 %58, %60
br i1 %61, label %67, label %62
62: ; preds = %57
%63 = load i32, ptr @PHPDBG_EOL_CR, align 4, !tbaa !10
%64 = load i32, ptr @eol, align 4, !tbaa !10
%65 = tail call i32 @PHPDBG_G(i32 noundef %64) #2
%66 = icmp eq i32 %63, %65
br i1 %66, label %67, label %105
67: ; preds = %62, %57
%68 = load i32, ptr @PHPDBG_EOL_LF, align 4, !tbaa !10
%69 = load i32, ptr @eol, align 4, !tbaa !10
%70 = tail call i32 @PHPDBG_G(i32 noundef %69) #2
%71 = icmp eq i32 %68, %70
%72 = select i1 %71, i8 10, i8 13
%73 = select i1 %71, i32 13, i32 10
%74 = tail call i64 @emalloc(i32 noundef %4) #2
%75 = inttoptr i64 %74 to ptr
%76 = icmp sgt i32 %4, 0
br i1 %76, label %77, label %99
77: ; preds = %67
%78 = load i8, ptr %3, align 1, !tbaa !12
%79 = zext nneg i32 %4 to i64
br label %80
80: ; preds = %77, %94
%81 = phi i64 [ 0, %77 ], [ %95, %94 ]
%82 = phi i8 [ %78, %77 ], [ %97, %94 ]
%83 = phi i8 [ %78, %77 ], [ %82, %94 ]
%84 = sext i8 %82 to i32
%85 = icmp eq i32 %73, %84
br i1 %85, label %91, label %86
86: ; preds = %80
%87 = icmp eq i8 %72, %82
br i1 %87, label %88, label %91
88: ; preds = %86
%89 = sext i8 %83 to i32
%90 = icmp eq i32 %73, %89
br i1 %90, label %94, label %91
91: ; preds = %86, %88, %80
%92 = phi i8 [ %72, %80 ], [ %72, %88 ], [ %82, %86 ]
%93 = getelementptr inbounds i8, ptr %75, i64 %81
store i8 %92, ptr %93, align 1, !tbaa !12
br label %94
94: ; preds = %91, %88
%95 = add nuw nsw i64 %81, 1
%96 = getelementptr inbounds i8, ptr %3, i64 %95
%97 = load i8, ptr %96, align 1, !tbaa !12
%98 = icmp eq i64 %95, %79
br i1 %98, label %99, label %80, !llvm.loop !15
99: ; preds = %94, %46, %67, %15
%100 = phi ptr [ %19, %15 ], [ %75, %67 ], [ %19, %46 ], [ %75, %94 ]
%101 = phi i32 [ 0, %15 ], [ 0, %67 ], [ %53, %46 ], [ %4, %94 ]
%102 = load ptr, ptr %0, align 8, !tbaa !6
%103 = tail call i32 @efree(ptr noundef %102) #2
%104 = tail call ptr @erealloc(ptr noundef %100, i32 noundef %101) #2
store ptr %104, ptr %0, align 8, !tbaa !6
store i32 %101, ptr %1, align 4, !tbaa !10
br label %105
105: ; preds = %62, %2, %99
ret void
}
declare i32 @PHPDBG_G(i32 noundef) local_unnamed_addr #1
declare i64 @emalloc(i32 noundef) local_unnamed_addr #1
declare i32 @count_lf_and_cr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @efree(ptr noundef) local_unnamed_addr #1
declare ptr @erealloc(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 = !{!"int", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
|
php-src_sapi_phpdbg_extr_phpdbg_eol.c_phpdbg_eol_convert
|
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_match.c_cmp_key_mbs.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_match.c_cmp_key_mbs.c"
target datalayout = "e-m:e-p270:32:32-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 @cmp_key_mbs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cmp_key_mbs(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%4 = call i32 @archive_mstring_get_mbs(ptr noundef null, ptr noundef %0, ptr noundef nonnull %3) #4
%5 = load ptr, ptr %3, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) %1)
br label %9
9: ; preds = %2, %7
%10 = phi i32 [ %8, %7 ], [ -1, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @archive_mstring_get_mbs(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_match.c_cmp_key_mbs.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_match.c_cmp_key_mbs.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 @cmp_key_mbs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cmp_key_mbs(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%4 = call i32 @archive_mstring_get_mbs(ptr noundef null, ptr noundef %0, ptr noundef nonnull %3) #4
%5 = load ptr, ptr %3, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) %1) #4
br label %9
9: ; preds = %2, %7
%10 = phi i32 [ %8, %7 ], [ -1, %2 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret i32 %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @archive_mstring_get_mbs(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
freebsd_contrib_libarchive_libarchive_extr_archive_match.c_cmp_key_mbs
|
; ModuleID = 'AnghaBench/Craft/deps/glfw/src/extr_x11_window.c__glfwPlatformCreateStandardCursor.c'
source_filename = "AnghaBench/Craft/deps/glfw/src/extr_x11_window.c__glfwPlatformCreateStandardCursor.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@_glfw = dso_local local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4
@GLFW_PLATFORM_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"X11: Failed to create standard cursor\00", align 1
@GL_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@GL_TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @_glfwPlatformCreateStandardCursor(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @_glfw, align 4, !tbaa !5
%4 = tail call i32 @translateCursorShape(i32 noundef %1) #2
%5 = tail call i32 @XCreateFontCursor(i32 noundef %3, i32 noundef %4) #2
store i32 %5, ptr %0, align 4, !tbaa !11
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !14
%9 = tail call i32 @_glfwInputError(i32 noundef %8, ptr noundef nonnull @.str) #2
br label %10
10: ; preds = %2, %7
%11 = phi ptr [ @GL_FALSE, %7 ], [ @GL_TRUE, %2 ]
%12 = load i32, ptr %11, align 4, !tbaa !14
ret i32 %12
}
declare i32 @XCreateFontCursor(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @translateCursorShape(i32 noundef) local_unnamed_addr #1
declare i32 @_glfwInputError(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_8__", !13, i64 0}
!13 = !{!"TYPE_7__", !8, i64 0}
!14 = !{!8, !8, i64 0}
|
; ModuleID = 'AnghaBench/Craft/deps/glfw/src/extr_x11_window.c__glfwPlatformCreateStandardCursor.c'
source_filename = "AnghaBench/Craft/deps/glfw/src/extr_x11_window.c__glfwPlatformCreateStandardCursor.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 { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@_glfw = common local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4
@GLFW_PLATFORM_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"X11: Failed to create standard cursor\00", align 1
@GL_FALSE = common local_unnamed_addr global i32 0, align 4
@GL_TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @_glfwPlatformCreateStandardCursor(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @_glfw, align 4, !tbaa !6
%4 = tail call i32 @translateCursorShape(i32 noundef %1) #2
%5 = tail call i32 @XCreateFontCursor(i32 noundef %3, i32 noundef %4) #2
store i32 %5, ptr %0, align 4, !tbaa !12
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !15
%9 = tail call i32 @_glfwInputError(i32 noundef %8, ptr noundef nonnull @.str) #2
br label %10
10: ; preds = %2, %7
%11 = phi ptr [ @GL_FALSE, %7 ], [ @GL_TRUE, %2 ]
%12 = load i32, ptr %11, align 4, !tbaa !15
ret i32 %12
}
declare i32 @XCreateFontCursor(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @translateCursorShape(i32 noundef) local_unnamed_addr #1
declare i32 @_glfwInputError(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0}
!14 = !{!"TYPE_7__", !9, i64 0}
!15 = !{!9, !9, i64 0}
|
Craft_deps_glfw_src_extr_x11_window.c__glfwPlatformCreateStandardCursor
|
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/venus/extr_helpers.c_session_process_buf.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/venus/extr_helpers.c_session_process_buf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hfi_frame_data = type { i64, i64, i32, i32, i32, i32, i32, i32 }
%struct.vb2_v4l2_buffer = type { i32, %struct.vb2_buffer }
%struct.vb2_buffer = type { i32, ptr, i32, i32 }
%struct.venus_inst = type { i64, i32 }
@NSEC_PER_USEC = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = dso_local local_unnamed_addr global i32 0, align 4
@HFI_BUFFER_INPUT = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_BUF_FLAG_LAST = dso_local local_unnamed_addr global i32 0, align 4
@HFI_BUFFERFLAG_EOS = dso_local local_unnamed_addr global i32 0, align 4
@VIDC_SESSION_TYPE_DEC = dso_local local_unnamed_addr global i64 0, align 8
@V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = dso_local local_unnamed_addr global i32 0, align 4
@VIDC_SESSION_TYPE_ENC = dso_local local_unnamed_addr global i64 0, align 8
@HFI_BUFFER_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @session_process_buf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @session_process_buf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.hfi_frame_data, align 8
%4 = tail call ptr @to_venus_buffer(ptr noundef %1) #4
%5 = getelementptr inbounds %struct.vb2_v4l2_buffer, ptr %1, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
%7 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 40) #4
%8 = getelementptr inbounds %struct.hfi_frame_data, ptr %3, i64 0, i32 6
%9 = load <2 x i32>, ptr %4, align 4, !tbaa !11
store <2 x i32> %9, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds %struct.vb2_v4l2_buffer, ptr %1, i64 0, i32 1, i32 3
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = getelementptr inbounds %struct.hfi_frame_data, ptr %3, i64 0, i32 5
store i32 %11, ptr %12, align 4, !tbaa !13
%13 = load i32, ptr @NSEC_PER_USEC, align 4, !tbaa !11
%14 = call i32 @do_div(i32 noundef %11, i32 noundef %13) #4
%15 = getelementptr inbounds %struct.hfi_frame_data, ptr %3, i64 0, i32 3
store i32 0, ptr %15, align 4, !tbaa !16
%16 = getelementptr inbounds %struct.vb2_v4l2_buffer, ptr %1, i64 0, i32 1, i32 2
%17 = load i32, ptr %16, align 8, !tbaa !17
%18 = getelementptr inbounds %struct.hfi_frame_data, ptr %3, i64 0, i32 4
store i32 %17, ptr %18, align 8, !tbaa !19
%19 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE, align 4, !tbaa !11
%20 = icmp eq i32 %6, %19
br i1 %20, label %21, label %45
21: ; preds = %2
%22 = load i32, ptr @HFI_BUFFER_INPUT, align 4, !tbaa !11
%23 = getelementptr inbounds %struct.hfi_frame_data, ptr %3, i64 0, i32 2
store i32 %22, ptr %23, align 8, !tbaa !20
%24 = call i64 @vb2_get_plane_payload(ptr noundef nonnull %5, i32 noundef 0) #4
%25 = getelementptr inbounds %struct.hfi_frame_data, ptr %3, i64 0, i32 1
store i64 %24, ptr %25, align 8, !tbaa !21
%26 = getelementptr inbounds %struct.vb2_v4l2_buffer, ptr %1, i64 0, i32 1, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !22
%28 = load i64, ptr %27, align 8, !tbaa !23
store i64 %28, ptr %3, align 8, !tbaa !25
%29 = load i32, ptr %1, align 8, !tbaa !26
%30 = load i32, ptr @V4L2_BUF_FLAG_LAST, align 4, !tbaa !11
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
%33 = icmp ne i64 %24, 0
%34 = select i1 %32, i1 %33, i1 false
br i1 %34, label %39, label %35
35: ; preds = %21
%36 = load i32, ptr @HFI_BUFFERFLAG_EOS, align 4, !tbaa !11
%37 = load i32, ptr %15, align 4, !tbaa !16
%38 = or i32 %37, %36
store i32 %38, ptr %15, align 4, !tbaa !16
br label %39
39: ; preds = %21, %35
%40 = load i64, ptr %0, align 8, !tbaa !27
%41 = load i64, ptr @VIDC_SESSION_TYPE_DEC, align 8, !tbaa !29
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = call i32 @put_ts_metadata(ptr noundef nonnull %0, ptr noundef nonnull %1) #4
br label %56
45: ; preds = %2
%46 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, align 4, !tbaa !11
%47 = icmp eq i32 %6, %46
br i1 %47, label %48, label %56
48: ; preds = %45
%49 = load i64, ptr %0, align 8, !tbaa !27
%50 = load i64, ptr @VIDC_SESSION_TYPE_ENC, align 8, !tbaa !29
%51 = icmp eq i64 %49, %50
%52 = getelementptr inbounds %struct.venus_inst, ptr %0, i64 0, i32 1
%53 = select i1 %51, ptr @HFI_BUFFER_OUTPUT, ptr %52
%54 = load i32, ptr %53, align 4, !tbaa !11
%55 = getelementptr inbounds %struct.hfi_frame_data, ptr %3, i64 0, i32 2
store i32 %54, ptr %55, align 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
br label %56
56: ; preds = %45, %48, %39, %43
%57 = call i32 @hfi_session_process_buf(ptr noundef %0, ptr noundef nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
ret i32 %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_venus_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @do_div(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @vb2_get_plane_payload(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_ts_metadata(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hfi_session_process_buf(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vb2_buffer", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 20}
!13 = !{!14, !7, i64 28}
!14 = !{!"hfi_frame_data", !15, i64 0, !15, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !7, i64 20}
!17 = !{!18, !7, i64 24}
!18 = !{!"vb2_v4l2_buffer", !7, i64 0, !6, i64 8}
!19 = !{!14, !7, i64 24}
!20 = !{!14, !7, i64 16}
!21 = !{!14, !15, i64 8}
!22 = !{!6, !10, i64 8}
!23 = !{!24, !15, i64 0}
!24 = !{!"TYPE_2__", !15, i64 0}
!25 = !{!14, !15, i64 0}
!26 = !{!18, !7, i64 0}
!27 = !{!28, !15, i64 0}
!28 = !{!"venus_inst", !15, i64 0, !7, i64 8}
!29 = !{!15, !15, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/media/platform/qcom/venus/extr_helpers.c_session_process_buf.c'
source_filename = "AnghaBench/linux/drivers/media/platform/qcom/venus/extr_helpers.c_session_process_buf.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hfi_frame_data = type { i64, i64, i32, i32, i32, i32, i32, i32 }
@NSEC_PER_USEC = common local_unnamed_addr global i32 0, align 4
@V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = common local_unnamed_addr global i32 0, align 4
@HFI_BUFFER_INPUT = common local_unnamed_addr global i32 0, align 4
@V4L2_BUF_FLAG_LAST = common local_unnamed_addr global i32 0, align 4
@HFI_BUFFERFLAG_EOS = common local_unnamed_addr global i32 0, align 4
@VIDC_SESSION_TYPE_DEC = common local_unnamed_addr global i64 0, align 8
@V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = common local_unnamed_addr global i32 0, align 4
@VIDC_SESSION_TYPE_ENC = common local_unnamed_addr global i64 0, align 8
@HFI_BUFFER_OUTPUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @session_process_buf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @session_process_buf(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.hfi_frame_data, align 8
%4 = tail call ptr @to_venus_buffer(ptr noundef %1) #4
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
%7 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 40) #4
%8 = getelementptr inbounds i8, ptr %3, i64 32
%9 = load <2 x i32>, ptr %4, align 4, !tbaa !12
store <2 x i32> %9, ptr %8, align 8, !tbaa !12
%10 = getelementptr inbounds i8, ptr %1, i64 28
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = getelementptr inbounds i8, ptr %3, i64 28
store i32 %11, ptr %12, align 4, !tbaa !14
%13 = load i32, ptr @NSEC_PER_USEC, align 4, !tbaa !12
%14 = call i32 @do_div(i32 noundef %11, i32 noundef %13) #4
%15 = getelementptr inbounds i8, ptr %3, i64 20
store i32 0, ptr %15, align 4, !tbaa !17
%16 = getelementptr inbounds i8, ptr %1, i64 24
%17 = load i32, ptr %16, align 8, !tbaa !18
%18 = getelementptr inbounds i8, ptr %3, i64 24
store i32 %17, ptr %18, align 8, !tbaa !20
%19 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE, align 4, !tbaa !12
%20 = icmp eq i32 %6, %19
br i1 %20, label %21, label %45
21: ; preds = %2
%22 = load i32, ptr @HFI_BUFFER_INPUT, align 4, !tbaa !12
%23 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %22, ptr %23, align 8, !tbaa !21
%24 = call i64 @vb2_get_plane_payload(ptr noundef nonnull %5, i32 noundef 0) #4
%25 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %24, ptr %25, align 8, !tbaa !22
%26 = getelementptr inbounds i8, ptr %1, i64 16
%27 = load ptr, ptr %26, align 8, !tbaa !23
%28 = load i64, ptr %27, align 8, !tbaa !24
store i64 %28, ptr %3, align 8, !tbaa !26
%29 = load i32, ptr %1, align 8, !tbaa !27
%30 = load i32, ptr @V4L2_BUF_FLAG_LAST, align 4, !tbaa !12
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
%33 = icmp ne i64 %24, 0
%34 = select i1 %32, i1 %33, i1 false
br i1 %34, label %39, label %35
35: ; preds = %21
%36 = load i32, ptr @HFI_BUFFERFLAG_EOS, align 4, !tbaa !12
%37 = load i32, ptr %15, align 4, !tbaa !17
%38 = or i32 %37, %36
store i32 %38, ptr %15, align 4, !tbaa !17
br label %39
39: ; preds = %21, %35
%40 = load i64, ptr %0, align 8, !tbaa !28
%41 = load i64, ptr @VIDC_SESSION_TYPE_DEC, align 8, !tbaa !30
%42 = icmp eq i64 %40, %41
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = call i32 @put_ts_metadata(ptr noundef nonnull %0, ptr noundef nonnull %1) #4
br label %56
45: ; preds = %2
%46 = load i32, ptr @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE, align 4, !tbaa !12
%47 = icmp eq i32 %6, %46
br i1 %47, label %48, label %56
48: ; preds = %45
%49 = load i64, ptr %0, align 8, !tbaa !28
%50 = load i64, ptr @VIDC_SESSION_TYPE_ENC, align 8, !tbaa !30
%51 = icmp eq i64 %49, %50
%52 = getelementptr inbounds i8, ptr %0, i64 8
%53 = select i1 %51, ptr @HFI_BUFFER_OUTPUT, ptr %52
%54 = load i32, ptr %53, align 4, !tbaa !12
%55 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %54, ptr %55, align 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
br label %56
56: ; preds = %45, %48, %39, %43
%57 = call i32 @hfi_session_process_buf(ptr noundef %0, ptr noundef nonnull %3) #4
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
ret i32 %57
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_venus_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @do_div(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @vb2_get_plane_payload(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_ts_metadata(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hfi_session_process_buf(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vb2_buffer", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 20}
!14 = !{!15, !8, i64 28}
!15 = !{!"hfi_frame_data", !16, i64 0, !16, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36}
!16 = !{!"long", !9, i64 0}
!17 = !{!15, !8, i64 20}
!18 = !{!19, !8, i64 24}
!19 = !{!"vb2_v4l2_buffer", !8, i64 0, !7, i64 8}
!20 = !{!15, !8, i64 24}
!21 = !{!15, !8, i64 16}
!22 = !{!15, !16, i64 8}
!23 = !{!7, !11, i64 8}
!24 = !{!25, !16, i64 0}
!25 = !{!"TYPE_2__", !16, i64 0}
!26 = !{!15, !16, i64 0}
!27 = !{!19, !8, i64 0}
!28 = !{!29, !16, i64 0}
!29 = !{!"venus_inst", !16, i64 0, !8, i64 8}
!30 = !{!16, !16, i64 0}
|
linux_drivers_media_platform_qcom_venus_extr_helpers.c_session_process_buf
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_booke.c_kvmppc_set_tsr_bits.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_booke.c_kvmppc_set_tsr_bits.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KVM_REQ_PENDING_TIMER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @kvmppc_set_tsr_bits(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @set_bits(i32 noundef %1, ptr noundef %0) #2
%4 = tail call i32 (...) @smp_wmb() #2
%5 = load i32, ptr @KVM_REQ_PENDING_TIMER, align 4, !tbaa !5
%6 = tail call i32 @kvm_make_request(i32 noundef %5, ptr noundef %0) #2
%7 = tail call i32 @kvm_vcpu_kick(ptr noundef %0) #2
ret void
}
declare i32 @set_bits(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @smp_wmb(...) local_unnamed_addr #1
declare i32 @kvm_make_request(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kvm_vcpu_kick(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_booke.c_kvmppc_set_tsr_bits.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_booke.c_kvmppc_set_tsr_bits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KVM_REQ_PENDING_TIMER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @kvmppc_set_tsr_bits(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @set_bits(i32 noundef %1, ptr noundef %0) #2
%4 = tail call i32 @smp_wmb() #2
%5 = load i32, ptr @KVM_REQ_PENDING_TIMER, align 4, !tbaa !6
%6 = tail call i32 @kvm_make_request(i32 noundef %5, ptr noundef %0) #2
%7 = tail call i32 @kvm_vcpu_kick(ptr noundef %0) #2
ret void
}
declare i32 @set_bits(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @smp_wmb(...) local_unnamed_addr #1
declare i32 @kvm_make_request(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kvm_vcpu_kick(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_arch_powerpc_kvm_extr_booke.c_kvmppc_set_tsr_bits
|
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_pmc_atom.c_pmc_setup_dev.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_pmc_atom.c_pmc_setup_dev.c"
target datalayout = "e-m:e-p270:32:32-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.pmc_dev = type { i32, i32, ptr, i32 }
@pmc_device = dso_local global %struct.pmc_dev zeroinitializer, align 8
@ACPI_BASE_ADDR_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@acpi_base_addr = dso_local global i32 0, align 4
@ACPI_BASE_ADDR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@pm_power_off = dso_local local_unnamed_addr global ptr null, align 8
@pmc_power_off = dso_local local_unnamed_addr global ptr null, align 8
@PMC_BASE_ADDR_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@PMC_BASE_ADDR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PMC_MMIO_REG_LEN = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"error: ioremap failed\0A\00", align 1
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"platform clocks register failed: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pmc_setup_dev], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pmc_setup_dev(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i32, ptr @ACPI_BASE_ADDR_OFFSET, align 4, !tbaa !13
%7 = tail call i32 @pci_read_config_dword(ptr noundef %0, i32 noundef %6, ptr noundef nonnull @acpi_base_addr) #2
%8 = load i32, ptr @ACPI_BASE_ADDR_MASK, align 4, !tbaa !13
%9 = load i32, ptr @acpi_base_addr, align 4, !tbaa !13
%10 = and i32 %9, %8
store i32 %10, ptr @acpi_base_addr, align 4, !tbaa !13
%11 = icmp ne i32 %10, 0
%12 = load ptr, ptr @pm_power_off, align 8
%13 = icmp eq ptr %12, null
%14 = select i1 %11, i1 %13, i1 false
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = load ptr, ptr @pmc_power_off, align 8, !tbaa !15
store ptr %16, ptr @pm_power_off, align 8, !tbaa !15
br label %17
17: ; preds = %15, %2
%18 = load i32, ptr @PMC_BASE_ADDR_OFFSET, align 4, !tbaa !13
%19 = tail call i32 @pci_read_config_dword(ptr noundef %0, i32 noundef %18, ptr noundef nonnull getelementptr inbounds (%struct.pmc_dev, ptr @pmc_device, i64 0, i32 3)) #2
%20 = load i32, ptr @PMC_BASE_ADDR_MASK, align 4, !tbaa !13
%21 = load i32, ptr getelementptr inbounds (%struct.pmc_dev, ptr @pmc_device, i64 0, i32 3), align 8, !tbaa !16
%22 = and i32 %21, %20
store i32 %22, ptr getelementptr inbounds (%struct.pmc_dev, ptr @pmc_device, i64 0, i32 3), align 8, !tbaa !16
%23 = load i32, ptr @PMC_MMIO_REG_LEN, align 4, !tbaa !13
%24 = tail call i32 @ioremap_nocache(i32 noundef %22, i32 noundef %23) #2
store i32 %24, ptr getelementptr inbounds (%struct.pmc_dev, ptr @pmc_device, i64 0, i32 1), align 4, !tbaa !18
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %17
%27 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2
%28 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%29 = sub nsw i32 0, %28
br label %39
30: ; preds = %17
store ptr %5, ptr getelementptr inbounds (%struct.pmc_dev, ptr @pmc_device, i64 0, i32 2), align 8, !tbaa !19
%31 = tail call i32 @pmc_hw_reg_setup(ptr noundef nonnull @pmc_device) #2
%32 = tail call i32 @pmc_dbgfs_register(ptr noundef nonnull @pmc_device) #2
%33 = load i32, ptr getelementptr inbounds (%struct.pmc_dev, ptr @pmc_device, i64 0, i32 1), align 4, !tbaa !18
%34 = tail call i32 @pmc_setup_clks(ptr noundef %0, i32 noundef %33, ptr noundef nonnull %4) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %30
%37 = tail call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %34) #2
br label %38
38: ; preds = %36, %30
store i32 1, ptr @pmc_device, align 8, !tbaa !20
br label %39
39: ; preds = %38, %26
%40 = phi i32 [ %34, %38 ], [ %29, %26 ]
ret i32 %40
}
declare i32 @pci_read_config_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ioremap_nocache(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pmc_hw_reg_setup(ptr noundef) local_unnamed_addr #1
declare i32 @pmc_dbgfs_register(ptr noundef) local_unnamed_addr #1
declare i32 @pmc_setup_clks(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pci_device_id", !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 = !{!"pmc_data", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !14, i64 16}
!17 = !{!"pmc_dev", !14, i64 0, !14, i64 4, !12, i64 8, !14, i64 16}
!18 = !{!17, !14, i64 4}
!19 = !{!17, !12, i64 8}
!20 = !{!17, !14, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_pmc_atom.c_pmc_setup_dev.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_pmc_atom.c_pmc_setup_dev.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pmc_dev = type { i32, i32, ptr, i32 }
@pmc_device = common global %struct.pmc_dev zeroinitializer, align 8
@ACPI_BASE_ADDR_OFFSET = common local_unnamed_addr global i32 0, align 4
@acpi_base_addr = common global i32 0, align 4
@ACPI_BASE_ADDR_MASK = common local_unnamed_addr global i32 0, align 4
@pm_power_off = common local_unnamed_addr global ptr null, align 8
@pmc_power_off = common local_unnamed_addr global ptr null, align 8
@PMC_BASE_ADDR_OFFSET = common local_unnamed_addr global i32 0, align 4
@PMC_BASE_ADDR_MASK = common local_unnamed_addr global i32 0, align 4
@PMC_MMIO_REG_LEN = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"error: ioremap failed\0A\00", align 1
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"platform clocks register failed: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pmc_setup_dev], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pmc_setup_dev(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i32, ptr @ACPI_BASE_ADDR_OFFSET, align 4, !tbaa !14
%7 = tail call i32 @pci_read_config_dword(ptr noundef %0, i32 noundef %6, ptr noundef nonnull @acpi_base_addr) #2
%8 = load i32, ptr @ACPI_BASE_ADDR_MASK, align 4, !tbaa !14
%9 = load i32, ptr @acpi_base_addr, align 4, !tbaa !14
%10 = and i32 %9, %8
store i32 %10, ptr @acpi_base_addr, align 4, !tbaa !14
%11 = icmp ne i32 %10, 0
%12 = load ptr, ptr @pm_power_off, align 8
%13 = icmp eq ptr %12, null
%14 = select i1 %11, i1 %13, i1 false
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = load ptr, ptr @pmc_power_off, align 8, !tbaa !16
store ptr %16, ptr @pm_power_off, align 8, !tbaa !16
br label %17
17: ; preds = %15, %2
%18 = load i32, ptr @PMC_BASE_ADDR_OFFSET, align 4, !tbaa !14
%19 = tail call i32 @pci_read_config_dword(ptr noundef %0, i32 noundef %18, ptr noundef nonnull getelementptr inbounds (i8, ptr @pmc_device, i64 16)) #2
%20 = load i32, ptr @PMC_BASE_ADDR_MASK, align 4, !tbaa !14
%21 = load i32, ptr getelementptr inbounds (i8, ptr @pmc_device, i64 16), align 8, !tbaa !17
%22 = and i32 %21, %20
store i32 %22, ptr getelementptr inbounds (i8, ptr @pmc_device, i64 16), align 8, !tbaa !17
%23 = load i32, ptr @PMC_MMIO_REG_LEN, align 4, !tbaa !14
%24 = tail call i32 @ioremap_nocache(i32 noundef %22, i32 noundef %23) #2
store i32 %24, ptr getelementptr inbounds (i8, ptr @pmc_device, i64 4), align 4, !tbaa !19
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %30
26: ; preds = %17
%27 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2
%28 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%29 = sub nsw i32 0, %28
br label %39
30: ; preds = %17
store ptr %5, ptr getelementptr inbounds (i8, ptr @pmc_device, i64 8), align 8, !tbaa !20
%31 = tail call i32 @pmc_hw_reg_setup(ptr noundef nonnull @pmc_device) #2
%32 = tail call i32 @pmc_dbgfs_register(ptr noundef nonnull @pmc_device) #2
%33 = load i32, ptr getelementptr inbounds (i8, ptr @pmc_device, i64 4), align 4, !tbaa !19
%34 = tail call i32 @pmc_setup_clks(ptr noundef %0, i32 noundef %33, ptr noundef nonnull %4) #2
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %30
%37 = tail call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %34) #2
br label %38
38: ; preds = %36, %30
store i32 1, ptr @pmc_device, align 8, !tbaa !21
br label %39
39: ; preds = %38, %26
%40 = phi i32 [ %34, %38 ], [ %29, %26 ]
ret i32 %40
}
declare i32 @pci_read_config_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ioremap_nocache(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pmc_hw_reg_setup(ptr noundef) local_unnamed_addr #1
declare i32 @pmc_dbgfs_register(ptr noundef) local_unnamed_addr #1
declare i32 @pmc_setup_clks(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pci_device_id", !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 = !{!"pmc_data", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !15, i64 16}
!18 = !{!"pmc_dev", !15, i64 0, !15, i64 4, !13, i64 8, !15, i64 16}
!19 = !{!18, !15, i64 4}
!20 = !{!18, !13, i64 8}
!21 = !{!18, !15, i64 0}
|
linux_drivers_platform_x86_extr_pmc_atom.c_pmc_setup_dev
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mx1/extr_clock.c_perclk2_round_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mx1/extr_clock.c_perclk2_round_rate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @perclk2_round_rate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @perclk2_round_rate(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @_clk_simple_round_rate(ptr noundef %0, i64 noundef %1, i32 noundef 16) #2
ret i64 %3
}
declare i64 @_clk_simple_round_rate(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mx1/extr_clock.c_perclk2_round_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mx1/extr_clock.c_perclk2_round_rate.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 @perclk2_round_rate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @perclk2_round_rate(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @_clk_simple_round_rate(ptr noundef %0, i64 noundef %1, i32 noundef 16) #2
ret i64 %3
}
declare i64 @_clk_simple_round_rate(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
fastsocket_kernel_arch_arm_mach-mx1_extr_clock.c_perclk2_round_rate
|
; ModuleID = 'AnghaBench/lwan/src/samples/techempower/extr_database.c_db_disconnect.c'
source_filename = "AnghaBench/lwan/src/samples/techempower/extr_database.c_db_disconnect.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/lwan/src/samples/techempower/extr_database.c_db_disconnect.c'
source_filename = "AnghaBench/lwan/src/samples/techempower/extr_database.c_db_disconnect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
lwan_src_samples_techempower_extr_database.c_db_disconnect
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/extr_addrinfo.c_ucma_convert_in6.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/extr_addrinfo.c_ucma_convert_in6.c"
target datalayout = "e-m:e-p270:32:32-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.sockaddr_ib = type { i32, i32, i32, i32, i32 }
%struct.sockaddr_in6 = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { ptr }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@AF_IB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ucma_convert_in6], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ucma_convert_in6(i32 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2, ptr noundef %3, i32 %4) #0 {
%6 = tail call ptr @calloc(i32 noundef 1, i32 noundef 20) #2
store ptr %6, ptr %1, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%10 = tail call i32 @ERR(i32 noundef %9) #2
br label %35
11: ; preds = %5
%12 = load i32, ptr @AF_IB, align 4, !tbaa !9
%13 = getelementptr inbounds %struct.sockaddr_ib, ptr %6, i64 0, i32 4
store i32 %12, ptr %13, align 4, !tbaa !11
%14 = tail call i32 @htobe16(i32 noundef 65535) #2
%15 = load ptr, ptr %1, align 8, !tbaa !5
%16 = getelementptr inbounds %struct.sockaddr_ib, ptr %15, i64 0, i32 3
store i32 %14, ptr %16, align 4, !tbaa !13
%17 = getelementptr inbounds %struct.sockaddr_in6, ptr %3, i64 0, i32 2
%18 = load i32, ptr %17, align 8, !tbaa !14
%19 = getelementptr inbounds %struct.sockaddr_ib, ptr %15, i64 0, i32 2
store i32 %18, ptr %19, align 4, !tbaa !17
%20 = getelementptr inbounds %struct.sockaddr_ib, ptr %15, i64 0, i32 1
%21 = getelementptr inbounds %struct.sockaddr_in6, ptr %3, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !18
%23 = load i32, ptr %22, align 4, !tbaa !9
%24 = getelementptr inbounds i32, ptr %22, i64 1
%25 = load i32, ptr %24, align 4, !tbaa !9
%26 = getelementptr inbounds i32, ptr %22, i64 2
%27 = load i32, ptr %26, align 4, !tbaa !9
%28 = getelementptr inbounds i32, ptr %22, i64 3
%29 = load i32, ptr %28, align 4, !tbaa !9
%30 = tail call i32 @ib_addr_set(ptr noundef nonnull %20, i32 noundef %23, i32 noundef %25, i32 noundef %27, i32 noundef %29) #2
%31 = load ptr, ptr %1, align 8, !tbaa !5
%32 = tail call i32 @ucma_set_sid(i32 noundef %0, ptr noundef %3, ptr noundef %31) #2
%33 = load i32, ptr %3, align 8, !tbaa !19
%34 = load ptr, ptr %1, align 8, !tbaa !5
store i32 %33, ptr %34, align 4, !tbaa !20
store i32 20, ptr %2, align 4, !tbaa !9
br label %35
35: ; preds = %11, %8
%36 = phi i32 [ 0, %11 ], [ %10, %8 ]
ret i32 %36
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR(i32 noundef) local_unnamed_addr #1
declare i32 @htobe16(i32 noundef) local_unnamed_addr #1
declare i32 @ib_addr_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ucma_set_sid(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"sockaddr_ib", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16}
!13 = !{!12, !10, i64 12}
!14 = !{!15, !10, i64 16}
!15 = !{!"sockaddr_in6", !10, i64 0, !16, i64 8, !10, i64 16}
!16 = !{!"TYPE_2__", !6, i64 0}
!17 = !{!12, !10, i64 8}
!18 = !{!15, !6, i64 8}
!19 = !{!15, !10, i64 0}
!20 = !{!12, !10, i64 0}
|
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/librdmacm/extr_addrinfo.c_ucma_convert_in6.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/librdmacm/extr_addrinfo.c_ucma_convert_in6.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@AF_IB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ucma_convert_in6], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ucma_convert_in6(i32 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2, ptr noundef %3, i32 %4) #0 {
%6 = tail call ptr @calloc(i32 noundef 1, i32 noundef 20) #2
store ptr %6, ptr %1, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%10 = tail call i32 @ERR(i32 noundef %9) #2
br label %35
11: ; preds = %5
%12 = load i32, ptr @AF_IB, align 4, !tbaa !10
%13 = getelementptr inbounds i8, ptr %6, i64 16
store i32 %12, ptr %13, align 4, !tbaa !12
%14 = tail call i32 @htobe16(i32 noundef 65535) #2
%15 = load ptr, ptr %1, align 8, !tbaa !6
%16 = getelementptr inbounds i8, ptr %15, i64 12
store i32 %14, ptr %16, align 4, !tbaa !14
%17 = getelementptr inbounds i8, ptr %3, i64 16
%18 = load i32, ptr %17, align 8, !tbaa !15
%19 = getelementptr inbounds i8, ptr %15, i64 8
store i32 %18, ptr %19, align 4, !tbaa !18
%20 = getelementptr inbounds i8, ptr %15, i64 4
%21 = getelementptr inbounds i8, ptr %3, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !19
%23 = load i32, ptr %22, align 4, !tbaa !10
%24 = getelementptr inbounds i8, ptr %22, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !10
%26 = getelementptr inbounds i8, ptr %22, i64 8
%27 = load i32, ptr %26, align 4, !tbaa !10
%28 = getelementptr inbounds i8, ptr %22, i64 12
%29 = load i32, ptr %28, align 4, !tbaa !10
%30 = tail call i32 @ib_addr_set(ptr noundef nonnull %20, i32 noundef %23, i32 noundef %25, i32 noundef %27, i32 noundef %29) #2
%31 = load ptr, ptr %1, align 8, !tbaa !6
%32 = tail call i32 @ucma_set_sid(i32 noundef %0, ptr noundef %3, ptr noundef %31) #2
%33 = load i32, ptr %3, align 8, !tbaa !20
%34 = load ptr, ptr %1, align 8, !tbaa !6
store i32 %33, ptr %34, align 4, !tbaa !21
store i32 20, ptr %2, align 4, !tbaa !10
br label %35
35: ; preds = %11, %8
%36 = phi i32 [ 0, %11 ], [ %10, %8 ]
ret i32 %36
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR(i32 noundef) local_unnamed_addr #1
declare i32 @htobe16(i32 noundef) local_unnamed_addr #1
declare i32 @ib_addr_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ucma_set_sid(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"sockaddr_ib", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16}
!14 = !{!13, !11, i64 12}
!15 = !{!16, !11, i64 16}
!16 = !{!"sockaddr_in6", !11, i64 0, !17, i64 8, !11, i64 16}
!17 = !{!"TYPE_2__", !7, i64 0}
!18 = !{!13, !11, i64 8}
!19 = !{!16, !7, i64 8}
!20 = !{!16, !11, i64 0}
!21 = !{!13, !11, i64 0}
|
freebsd_contrib_ofed_librdmacm_extr_addrinfo.c_ucma_convert_in6
|
; ModuleID = 'AnghaBench/winfile/src/extr_wfdrives.c_DriveFromPoint.c'
source_filename = "AnghaBench/winfile/src/extr_wfdrives.c_DriveFromPoint.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i32, i32, i32 }
@bDriveBar = dso_local local_unnamed_addr global i32 0, align 4
@hwndDriveBar = dso_local local_unnamed_addr global i64 0, align 8
@cDrives = dso_local local_unnamed_addr global i64 0, align 8
@dxDrive = dso_local local_unnamed_addr global i32 0, align 4
@dyDrive = dso_local local_unnamed_addr global i32 0, align 4
@dyBorder = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @DriveFromPoint(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_5__, align 4
%4 = alloca %struct.TYPE_5__, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
%5 = load i32, ptr @bDriveBar, align 4, !tbaa !5
%6 = icmp ne i32 %5, 0
%7 = load i64, ptr @hwndDriveBar, align 8
%8 = icmp eq i64 %7, %0
%9 = select i1 %6, i1 %8, i1 false
br i1 %9, label %10, label %49
10: ; preds = %2
%11 = call i32 @GetClientRect(i64 noundef %0, ptr noundef nonnull %3) #3
%12 = load i64, ptr @cDrives, align 8, !tbaa !9
%13 = icmp sgt i64 %12, 0
br i1 %13, label %14, label %49
14: ; preds = %10
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3
%18 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 1
%19 = load i32, ptr @dxDrive, align 4, !tbaa !5
%20 = load i32, ptr @dyDrive, align 4, !tbaa !5
br label %21
21: ; preds = %14, %36
%22 = phi i32 [ %20, %14 ], [ %42, %36 ]
%23 = phi i32 [ %19, %14 ], [ %37, %36 ]
%24 = phi i64 [ 0, %14 ], [ %46, %36 ]
%25 = phi i32 [ 0, %14 ], [ %45, %36 ]
%26 = phi i32 [ 0, %14 ], [ %43, %36 ]
store i32 %26, ptr %4, align 4, !tbaa !11
%27 = add nsw i32 %23, %26
store i32 %27, ptr %15, align 4, !tbaa !13
store i32 %25, ptr %16, align 4, !tbaa !14
%28 = add nsw i32 %22, %25
store i32 %28, ptr %17, align 4, !tbaa !15
%29 = load i32, ptr @dyBorder, align 4, !tbaa !5
%30 = sub nsw i32 0, %29
%31 = call i32 @InflateRect(ptr noundef nonnull %4, i32 noundef %30, i32 noundef %30) #3
%32 = call i64 @PtInRect(ptr noundef nonnull %4, i32 noundef %1) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %21
%35 = trunc i64 %24 to i32
br label %49
36: ; preds = %21
%37 = load i32, ptr @dxDrive, align 4, !tbaa !5
%38 = add nsw i32 %37, %26
%39 = add nsw i32 %38, %37
%40 = load i32, ptr %18, align 4, !tbaa !13
%41 = icmp sgt i32 %39, %40
%42 = load i32, ptr @dyDrive, align 4
%43 = select i1 %41, i32 0, i32 %38
%44 = select i1 %41, i32 %42, i32 0
%45 = add nsw i32 %44, %25
%46 = add nuw nsw i64 %24, 1
%47 = load i64, ptr @cDrives, align 8, !tbaa !9
%48 = icmp slt i64 %46, %47
br i1 %48, label %21, label %49, !llvm.loop !16
49: ; preds = %36, %10, %2, %34
%50 = phi i32 [ %35, %34 ], [ -1, %2 ], [ -1, %10 ], [ -1, %36 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %50
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @GetClientRect(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @InflateRect(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @PtInRect(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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_5__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!13 = !{!12, !6, i64 4}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !6, i64 12}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/winfile/src/extr_wfdrives.c_DriveFromPoint.c'
source_filename = "AnghaBench/winfile/src/extr_wfdrives.c_DriveFromPoint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i32, i32, i32, i32 }
@bDriveBar = common local_unnamed_addr global i32 0, align 4
@hwndDriveBar = common local_unnamed_addr global i64 0, align 8
@cDrives = common local_unnamed_addr global i64 0, align 8
@dxDrive = common local_unnamed_addr global i32 0, align 4
@dyDrive = common local_unnamed_addr global i32 0, align 4
@dyBorder = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @DriveFromPoint(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_5__, align 4
%4 = alloca %struct.TYPE_5__, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
%5 = load i32, ptr @bDriveBar, align 4, !tbaa !6
%6 = icmp ne i32 %5, 0
%7 = load i64, ptr @hwndDriveBar, align 8
%8 = icmp eq i64 %7, %0
%9 = select i1 %6, i1 %8, i1 false
br i1 %9, label %10, label %49
10: ; preds = %2
%11 = call i32 @GetClientRect(i64 noundef %0, ptr noundef nonnull %3) #3
%12 = load i64, ptr @cDrives, align 8, !tbaa !10
%13 = icmp sgt i64 %12, 0
br i1 %13, label %14, label %49
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %4, i64 4
%16 = getelementptr inbounds i8, ptr %4, i64 8
%17 = getelementptr inbounds i8, ptr %4, i64 12
%18 = getelementptr inbounds i8, ptr %3, i64 4
%19 = load i32, ptr @dxDrive, align 4, !tbaa !6
%20 = load i32, ptr @dyDrive, align 4, !tbaa !6
br label %21
21: ; preds = %14, %36
%22 = phi i32 [ %20, %14 ], [ %42, %36 ]
%23 = phi i32 [ %19, %14 ], [ %37, %36 ]
%24 = phi i64 [ 0, %14 ], [ %46, %36 ]
%25 = phi i32 [ 0, %14 ], [ %45, %36 ]
%26 = phi i32 [ 0, %14 ], [ %43, %36 ]
store i32 %26, ptr %4, align 4, !tbaa !12
%27 = add nsw i32 %23, %26
store i32 %27, ptr %15, align 4, !tbaa !14
store i32 %25, ptr %16, align 4, !tbaa !15
%28 = add nsw i32 %22, %25
store i32 %28, ptr %17, align 4, !tbaa !16
%29 = load i32, ptr @dyBorder, align 4, !tbaa !6
%30 = sub nsw i32 0, %29
%31 = call i32 @InflateRect(ptr noundef nonnull %4, i32 noundef %30, i32 noundef %30) #3
%32 = call i64 @PtInRect(ptr noundef nonnull %4, i32 noundef %1) #3
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %21
%35 = trunc i64 %24 to i32
br label %49
36: ; preds = %21
%37 = load i32, ptr @dxDrive, align 4, !tbaa !6
%38 = add nsw i32 %37, %26
%39 = add nsw i32 %38, %37
%40 = load i32, ptr %18, align 4, !tbaa !14
%41 = icmp sgt i32 %39, %40
%42 = load i32, ptr @dyDrive, align 4
%43 = select i1 %41, i32 0, i32 %38
%44 = select i1 %41, i32 %42, i32 0
%45 = add nsw i32 %44, %25
%46 = add nuw nsw i64 %24, 1
%47 = load i64, ptr @cDrives, align 8, !tbaa !10
%48 = icmp slt i64 %46, %47
br i1 %48, label %21, label %49, !llvm.loop !17
49: ; preds = %36, %10, %2, %34
%50 = phi i32 [ %35, %34 ], [ -1, %2 ], [ -1, %10 ], [ -1, %36 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %50
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @GetClientRect(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @InflateRect(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @PtInRect(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 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!14 = !{!13, !7, i64 4}
!15 = !{!13, !7, i64 8}
!16 = !{!13, !7, i64 12}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
|
winfile_src_extr_wfdrives.c_DriveFromPoint
|
; ModuleID = 'AnghaBench/linux/drivers/bcma/extr_driver_pci.c_bcma_pcicore_serdes_workaround.c'
source_filename = "AnghaBench/linux/drivers/bcma/extr_driver_pci.c_bcma_pcicore_serdes_workaround.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BCMA_CORE_PCI_MDIODATA_DEV_RX = dso_local local_unnamed_addr global i32 0, align 4
@BCMA_CORE_PCI_SERDES_RX_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@BCMA_CORE_PCI_MDIODATA_DEV_PLL = dso_local local_unnamed_addr global i32 0, align 4
@BCMA_CORE_PCI_SERDES_PLL_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@BCMA_CORE_PCI_PLL_CTRL_FREQDET_EN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcma_pcicore_serdes_workaround], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bcma_pcicore_serdes_workaround(ptr noundef %0) #0 {
%2 = load i32, ptr @BCMA_CORE_PCI_MDIODATA_DEV_RX, align 4, !tbaa !5
%3 = load i32, ptr @BCMA_CORE_PCI_SERDES_RX_CTRL, align 4, !tbaa !5
%4 = tail call i32 @bcma_pcicore_polarity_workaround(ptr noundef %0) #2
%5 = tail call i32 @bcma_pcie_mdio_write(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr @BCMA_CORE_PCI_MDIODATA_DEV_PLL, align 4, !tbaa !5
%7 = load i32, ptr @BCMA_CORE_PCI_SERDES_PLL_CTRL, align 4, !tbaa !5
%8 = tail call i32 @bcma_pcie_mdio_read(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2
%9 = load i32, ptr @BCMA_CORE_PCI_PLL_CTRL_FREQDET_EN, align 4, !tbaa !5
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %1
%13 = load i32, ptr @BCMA_CORE_PCI_MDIODATA_DEV_PLL, align 4, !tbaa !5
%14 = load i32, ptr @BCMA_CORE_PCI_SERDES_PLL_CTRL, align 4, !tbaa !5
%15 = xor i32 %9, -1
%16 = and i32 %8, %15
%17 = tail call i32 @bcma_pcie_mdio_write(ptr noundef %0, i32 noundef %13, i32 noundef %14, i32 noundef %16) #2
br label %18
18: ; preds = %12, %1
ret void
}
declare i32 @bcma_pcie_mdio_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcma_pcicore_polarity_workaround(ptr noundef) local_unnamed_addr #1
declare i32 @bcma_pcie_mdio_read(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/bcma/extr_driver_pci.c_bcma_pcicore_serdes_workaround.c'
source_filename = "AnghaBench/linux/drivers/bcma/extr_driver_pci.c_bcma_pcicore_serdes_workaround.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BCMA_CORE_PCI_MDIODATA_DEV_RX = common local_unnamed_addr global i32 0, align 4
@BCMA_CORE_PCI_SERDES_RX_CTRL = common local_unnamed_addr global i32 0, align 4
@BCMA_CORE_PCI_MDIODATA_DEV_PLL = common local_unnamed_addr global i32 0, align 4
@BCMA_CORE_PCI_SERDES_PLL_CTRL = common local_unnamed_addr global i32 0, align 4
@BCMA_CORE_PCI_PLL_CTRL_FREQDET_EN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bcma_pcicore_serdes_workaround], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bcma_pcicore_serdes_workaround(ptr noundef %0) #0 {
%2 = load i32, ptr @BCMA_CORE_PCI_MDIODATA_DEV_RX, align 4, !tbaa !6
%3 = load i32, ptr @BCMA_CORE_PCI_SERDES_RX_CTRL, align 4, !tbaa !6
%4 = tail call i32 @bcma_pcicore_polarity_workaround(ptr noundef %0) #2
%5 = tail call i32 @bcma_pcie_mdio_write(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
%6 = load i32, ptr @BCMA_CORE_PCI_MDIODATA_DEV_PLL, align 4, !tbaa !6
%7 = load i32, ptr @BCMA_CORE_PCI_SERDES_PLL_CTRL, align 4, !tbaa !6
%8 = tail call i32 @bcma_pcie_mdio_read(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2
%9 = load i32, ptr @BCMA_CORE_PCI_PLL_CTRL_FREQDET_EN, align 4, !tbaa !6
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %1
%13 = load i32, ptr @BCMA_CORE_PCI_MDIODATA_DEV_PLL, align 4, !tbaa !6
%14 = load i32, ptr @BCMA_CORE_PCI_SERDES_PLL_CTRL, align 4, !tbaa !6
%15 = xor i32 %9, -1
%16 = and i32 %8, %15
%17 = tail call i32 @bcma_pcie_mdio_write(ptr noundef %0, i32 noundef %13, i32 noundef %14, i32 noundef %16) #2
br label %18
18: ; preds = %12, %1
ret void
}
declare i32 @bcma_pcie_mdio_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcma_pcicore_polarity_workaround(ptr noundef) local_unnamed_addr #1
declare i32 @bcma_pcie_mdio_read(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_bcma_extr_driver_pci.c_bcma_pcicore_serdes_workaround
|
; ModuleID = 'AnghaBench/openssl/crypto/property/extr_property.c_ossl_method_cache_flush_all.c'
source_filename = "AnghaBench/openssl/crypto/property/extr_property.c_ossl_method_cache_flush_all.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, i32 }
@impl_cache_flush_alg = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ossl_method_cache_flush_all], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ossl_method_cache_flush_all(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = tail call i32 @ossl_sa_ALGORITHM_doall(i32 noundef %3, ptr noundef nonnull @impl_cache_flush_alg) #2
store i64 0, ptr %0, align 8, !tbaa !11
ret void
}
declare i32 @ossl_sa_ALGORITHM_doall(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, !10, i64 8}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
|
; ModuleID = 'AnghaBench/openssl/crypto/property/extr_property.c_ossl_method_cache_flush_all.c'
source_filename = "AnghaBench/openssl/crypto/property/extr_property.c_ossl_method_cache_flush_all.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@impl_cache_flush_alg = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ossl_method_cache_flush_all], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ossl_method_cache_flush_all(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = tail call i32 @ossl_sa_ALGORITHM_doall(i32 noundef %3, ptr noundef nonnull @impl_cache_flush_alg) #2
store i64 0, ptr %0, align 8, !tbaa !12
ret void
}
declare i32 @ossl_sa_ALGORITHM_doall(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, !11, i64 8}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
|
openssl_crypto_property_extr_property.c_ossl_method_cache_flush_all
|
; ModuleID = 'AnghaBench/citus/src/backend/distributed/commands/extr_rename.c_PlanRenameStmt.c'
source_filename = "AnghaBench/citus/src/backend/distributed/commands/extr_rename.c_PlanRenameStmt.c"
target datalayout = "e-m:e-p270:32:32-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 { i32, i32, i32 }
%struct.TYPE_11__ = type { i32, ptr, i32, i32 }
@InvalidOid = dso_local local_unnamed_addr global i32 0, align 4
@NIL = dso_local local_unnamed_addr global ptr null, align 8
@AccessExclusiveLock = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @PlanRenameStmt(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @IsAlterTableRenameStmt(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %13
5: ; preds = %2
%6 = tail call i32 @IsIndexRenameStmt(ptr noundef %0) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %5
%9 = tail call i32 @IsPolicyRenameStmt(ptr noundef %0) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = load ptr, ptr @NIL, align 8, !tbaa !5
br label %44
13: ; preds = %8, %5, %2
%14 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !9
%16 = load i32, ptr @AccessExclusiveLock, align 4, !tbaa !12
%17 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = tail call i32 @RangeVarGetRelid(i32 noundef %15, i32 noundef %16, i32 noundef %18) #2
%20 = tail call i32 @OidIsValid(i32 noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %13
%23 = load ptr, ptr @NIL, align 8, !tbaa !5
br label %44
24: ; preds = %13
%25 = load i32, ptr %0, align 4, !tbaa !14
switch i32 %25, label %28 [
i32 128, label %30
i32 132, label %30
i32 133, label %30
i32 129, label %30
i32 130, label %30
i32 131, label %26
]
26: ; preds = %24
%27 = tail call i32 @IndexGetRelation(i32 noundef %19, i32 noundef 0) #2
br label %30
28: ; preds = %24
%29 = load ptr, ptr @NIL, align 8, !tbaa !5
br label %44
30: ; preds = %24, %24, %24, %24, %24, %26
%31 = phi i32 [ %27, %26 ], [ %19, %24 ], [ %19, %24 ], [ %19, %24 ], [ %19, %24 ], [ %19, %24 ]
%32 = tail call i32 @IsDistributedTable(i32 noundef %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load ptr, ptr @NIL, align 8, !tbaa !5
br label %44
36: ; preds = %30
%37 = tail call i32 @ErrorIfUnsupportedRenameStmt(ptr noundef nonnull %0) #2
%38 = tail call ptr @palloc0(i32 noundef 24) #2
%39 = getelementptr inbounds %struct.TYPE_11__, ptr %38, i64 0, i32 3
store i32 %31, ptr %39, align 4, !tbaa !15
store i32 0, ptr %38, align 8, !tbaa !17
%40 = getelementptr inbounds %struct.TYPE_11__, ptr %38, i64 0, i32 1
store ptr %1, ptr %40, align 8, !tbaa !18
%41 = tail call i32 @DDLTaskList(i32 noundef %31, ptr noundef %1) #2
%42 = getelementptr inbounds %struct.TYPE_11__, ptr %38, i64 0, i32 2
store i32 %41, ptr %42, align 8, !tbaa !19
%43 = tail call ptr @list_make1(ptr noundef nonnull %38) #2
br label %44
44: ; preds = %36, %34, %28, %22, %11
%45 = phi ptr [ %29, %28 ], [ %43, %36 ], [ %35, %34 ], [ %23, %22 ], [ %12, %11 ]
ret ptr %45
}
declare i32 @IsAlterTableRenameStmt(ptr noundef) local_unnamed_addr #1
declare i32 @IsIndexRenameStmt(ptr noundef) local_unnamed_addr #1
declare i32 @IsPolicyRenameStmt(ptr noundef) local_unnamed_addr #1
declare i32 @RangeVarGetRelid(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OidIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @IndexGetRelation(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IsDistributedTable(i32 noundef) local_unnamed_addr #1
declare i32 @ErrorIfUnsupportedRenameStmt(ptr noundef) local_unnamed_addr #1
declare ptr @palloc0(i32 noundef) local_unnamed_addr #1
declare i32 @DDLTaskList(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @list_make1(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_10__", !11, i64 0, !11, i64 4, !11, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 4}
!14 = !{!10, !11, i64 0}
!15 = !{!16, !11, i64 20}
!16 = !{!"TYPE_11__", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20}
!17 = !{!16, !11, i64 0}
!18 = !{!16, !6, i64 8}
!19 = !{!16, !11, i64 16}
|
; ModuleID = 'AnghaBench/citus/src/backend/distributed/commands/extr_rename.c_PlanRenameStmt.c'
source_filename = "AnghaBench/citus/src/backend/distributed/commands/extr_rename.c_PlanRenameStmt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@InvalidOid = common local_unnamed_addr global i32 0, align 4
@NIL = common local_unnamed_addr global ptr null, align 8
@AccessExclusiveLock = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @PlanRenameStmt(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @IsAlterTableRenameStmt(ptr noundef %0) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %13
5: ; preds = %2
%6 = tail call i32 @IsIndexRenameStmt(ptr noundef %0) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %5
%9 = tail call i32 @IsPolicyRenameStmt(ptr noundef %0) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = load ptr, ptr @NIL, align 8, !tbaa !6
br label %44
13: ; preds = %8, %5, %2
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = load i32, ptr %14, align 4, !tbaa !10
%16 = load i32, ptr @AccessExclusiveLock, align 4, !tbaa !13
%17 = getelementptr inbounds i8, ptr %0, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = tail call i32 @RangeVarGetRelid(i32 noundef %15, i32 noundef %16, i32 noundef %18) #2
%20 = tail call i32 @OidIsValid(i32 noundef %19) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %13
%23 = load ptr, ptr @NIL, align 8, !tbaa !6
br label %44
24: ; preds = %13
%25 = load i32, ptr %0, align 4, !tbaa !15
switch i32 %25, label %28 [
i32 128, label %30
i32 132, label %30
i32 133, label %30
i32 129, label %30
i32 130, label %30
i32 131, label %26
]
26: ; preds = %24
%27 = tail call i32 @IndexGetRelation(i32 noundef %19, i32 noundef 0) #2
br label %30
28: ; preds = %24
%29 = load ptr, ptr @NIL, align 8, !tbaa !6
br label %44
30: ; preds = %24, %24, %24, %24, %24, %26
%31 = phi i32 [ %27, %26 ], [ %19, %24 ], [ %19, %24 ], [ %19, %24 ], [ %19, %24 ], [ %19, %24 ]
%32 = tail call i32 @IsDistributedTable(i32 noundef %31) #2
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load ptr, ptr @NIL, align 8, !tbaa !6
br label %44
36: ; preds = %30
%37 = tail call i32 @ErrorIfUnsupportedRenameStmt(ptr noundef nonnull %0) #2
%38 = tail call ptr @palloc0(i32 noundef 24) #2
%39 = getelementptr inbounds i8, ptr %38, i64 20
store i32 %31, ptr %39, align 4, !tbaa !16
store i32 0, ptr %38, align 8, !tbaa !18
%40 = getelementptr inbounds i8, ptr %38, i64 8
store ptr %1, ptr %40, align 8, !tbaa !19
%41 = tail call i32 @DDLTaskList(i32 noundef %31, ptr noundef %1) #2
%42 = getelementptr inbounds i8, ptr %38, i64 16
store i32 %41, ptr %42, align 8, !tbaa !20
%43 = tail call ptr @list_make1(ptr noundef nonnull %38) #2
br label %44
44: ; preds = %36, %34, %28, %22, %11
%45 = phi ptr [ %29, %28 ], [ %43, %36 ], [ %35, %34 ], [ %23, %22 ], [ %12, %11 ]
ret ptr %45
}
declare i32 @IsAlterTableRenameStmt(ptr noundef) local_unnamed_addr #1
declare i32 @IsIndexRenameStmt(ptr noundef) local_unnamed_addr #1
declare i32 @IsPolicyRenameStmt(ptr noundef) local_unnamed_addr #1
declare i32 @RangeVarGetRelid(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OidIsValid(i32 noundef) local_unnamed_addr #1
declare i32 @IndexGetRelation(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @IsDistributedTable(i32 noundef) local_unnamed_addr #1
declare i32 @ErrorIfUnsupportedRenameStmt(ptr noundef) local_unnamed_addr #1
declare ptr @palloc0(i32 noundef) local_unnamed_addr #1
declare i32 @DDLTaskList(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @list_make1(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_10__", !12, i64 0, !12, i64 4, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 4}
!15 = !{!11, !12, i64 0}
!16 = !{!17, !12, i64 20}
!17 = !{!"TYPE_11__", !12, i64 0, !7, i64 8, !12, i64 16, !12, i64 20}
!18 = !{!17, !12, i64 0}
!19 = !{!17, !7, i64 8}
!20 = !{!17, !12, i64 16}
|
citus_src_backend_distributed_commands_extr_rename.c_PlanRenameStmt
|
; ModuleID = 'AnghaBench/beanstalkd/extr_walg.c_walresvmigrate.c'
source_filename = "AnghaBench/beanstalkd/extr_walg.c_walresvmigrate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { %struct.TYPE_6__, ptr }
%struct.TYPE_6__ = type { i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @walresvmigrate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @walresvmigrate(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call i64 @strlen(i32 noundef %5) #2
%7 = load i64, ptr %1, align 8, !tbaa !15
%8 = add i64 %6, 8
%9 = add i64 %8, %7
%10 = trunc i64 %9 to i32
%11 = tail call i32 @reserve(ptr noundef %0, i32 noundef %10) #2
ret i32 %11
}
declare i64 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @reserve(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, !11, i64 8}
!6 = !{!"TYPE_7__", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!6, !8, i64 0}
|
; ModuleID = 'AnghaBench/beanstalkd/extr_walg.c_walresvmigrate.c'
source_filename = "AnghaBench/beanstalkd/extr_walg.c_walresvmigrate.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 @walresvmigrate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @walresvmigrate(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = tail call i64 @strlen(i32 noundef %5) #2
%7 = load i64, ptr %1, align 8, !tbaa !16
%8 = add i64 %6, 8
%9 = add i64 %8, %7
%10 = trunc i64 %9 to i32
%11 = tail call i32 @reserve(ptr noundef %0, i32 noundef %10) #2
ret i32 %11
}
declare i64 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @reserve(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, !12, i64 8}
!7 = !{!"TYPE_7__", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"int", !10, i64 0}
!16 = !{!7, !9, i64 0}
|
beanstalkd_extr_walg.c_walresvmigrate
|
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_af_dynaudnorm.c_cqueue_pop.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_af_dynaudnorm.c_cqueue_pop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @cqueue_pop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @cqueue_pop(ptr noundef %0) #0 {
%2 = tail call i32 @cqueue_empty(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @av_assert2(i32 noundef %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = add nsw i32 %6, 1
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = srem i32 %7, %9
store i32 %10, ptr %0, align 4, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = add nsw i32 %12, -1
store i32 %13, ptr %11, align 4, !tbaa !11
ret i32 0
}
declare i32 @av_assert2(i32 noundef) local_unnamed_addr #1
declare i32 @cqueue_empty(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, 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}
!11 = !{!6, !7, i64 8}
|
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_af_dynaudnorm.c_cqueue_pop.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_af_dynaudnorm.c_cqueue_pop.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 @cqueue_pop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @cqueue_pop(ptr noundef %0) #0 {
%2 = tail call i32 @cqueue_empty(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @av_assert2(i32 noundef %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = add nsw i32 %6, 1
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = srem i32 %7, %9
store i32 %10, ptr %0, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = add nsw i32 %12, -1
store i32 %13, ptr %11, align 4, !tbaa !12
ret i32 0
}
declare i32 @av_assert2(i32 noundef) local_unnamed_addr #1
declare i32 @cqueue_empty(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 8}
|
FFmpeg_libavfilter_extr_af_dynaudnorm.c_cqueue_pop
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/titan/extr_titan.c_TitanSetBlendingMode.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/titan/extr_titan.c_TitanSetBlendingMode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { ptr, i32 }
@TITAN_BLEND_BOTTOM = dso_local local_unnamed_addr global i32 0, align 4
@TitanBlendPixelsBottom = dso_local local_unnamed_addr global i32 0, align 4
@tt_context = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@TitanTransBit = dso_local local_unnamed_addr global ptr null, align 8
@TITAN_BLEND_ADD = dso_local local_unnamed_addr global i32 0, align 4
@TitanBlendPixelsAdd = dso_local local_unnamed_addr global i32 0, align 4
@TitanBlendPixelsTop = dso_local local_unnamed_addr global i32 0, align 4
@TitanTransAlpha = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define dso_local void @TitanSetBlendingMode(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @TITAN_BLEND_BOTTOM, align 4, !tbaa !5
%3 = icmp eq i32 %2, %0
%4 = load i32, ptr @TITAN_BLEND_ADD, align 4
%5 = icmp eq i32 %4, %0
%6 = select i1 %3, i1 true, i1 %5
%7 = load i32, ptr @TitanBlendPixelsBottom, align 4
%8 = load i32, ptr @TitanBlendPixelsAdd, align 4
%9 = load i32, ptr @TitanBlendPixelsTop, align 4
%10 = select i1 %5, i32 %8, i32 %9
%11 = select i1 %3, i32 %7, i32 %10
store i32 %11, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @tt_context, i64 0, i32 1), align 8, !tbaa !9
%12 = load ptr, ptr @TitanTransBit, align 8
%13 = load ptr, ptr @TitanTransAlpha, align 8
%14 = select i1 %6, ptr %12, ptr %13
store ptr %14, ptr @tt_context, align 8, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_2__", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
|
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/titan/extr_titan.c_TitanSetBlendingMode.c'
source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/titan/extr_titan.c_TitanSetBlendingMode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, i32 }
@TITAN_BLEND_BOTTOM = common local_unnamed_addr global i32 0, align 4
@TitanBlendPixelsBottom = common local_unnamed_addr global i32 0, align 4
@tt_context = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@TitanTransBit = common local_unnamed_addr global ptr null, align 8
@TITAN_BLEND_ADD = common local_unnamed_addr global i32 0, align 4
@TitanBlendPixelsAdd = common local_unnamed_addr global i32 0, align 4
@TitanBlendPixelsTop = common local_unnamed_addr global i32 0, align 4
@TitanTransAlpha = common local_unnamed_addr global ptr null, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync)
define void @TitanSetBlendingMode(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @TITAN_BLEND_BOTTOM, align 4, !tbaa !6
%3 = icmp eq i32 %2, %0
%4 = load i32, ptr @TITAN_BLEND_ADD, align 4
%5 = icmp eq i32 %4, %0
%6 = select i1 %3, i1 true, i1 %5
%7 = load i32, ptr @TitanBlendPixelsBottom, align 4
%8 = load i32, ptr @TitanBlendPixelsAdd, align 4
%9 = load i32, ptr @TitanBlendPixelsTop, align 4
%10 = select i1 %5, i32 %8, i32 %9
%11 = select i1 %3, i32 %7, i32 %10
store i32 %11, ptr getelementptr inbounds (i8, ptr @tt_context, i64 8), align 8, !tbaa !10
%12 = load ptr, ptr @TitanTransBit, align 8
%13 = load ptr, ptr @TitanTransAlpha, align 8
%14 = select i1 %6, ptr %12, ptr %13
store ptr %14, ptr @tt_context, align 8, !tbaa !13
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
|
Provenance_Cores_Yabause_yabause_src_titan_extr_titan.c_TitanSetBlendingMode
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/intelfb/extr_intelfbhw.c_intelfbhw_disable_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/intelfb/extr_intelfbhw.c_intelfbhw_disable_irq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.intelfb_info = type { ptr, i32, %struct.TYPE_4__, i32 }
%struct.TYPE_4__ = type { i32, i64 }
@DSPABASE = dso_local local_unnamed_addr global i32 0, align 4
@HWSTAM = dso_local local_unnamed_addr global i32 0, align 4
@IMR = dso_local local_unnamed_addr global i32 0, align 4
@IER = dso_local local_unnamed_addr global i32 0, align 4
@IIR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @intelfbhw_disable_irq(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.intelfb_info, ptr %0, i64 0, i32 3
%3 = tail call i64 @test_and_clear_bit(i32 noundef 0, ptr noundef nonnull %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %30, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.intelfb_info, ptr %0, i64 0, i32 2, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = icmp eq i64 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %5
%10 = getelementptr inbounds %struct.intelfb_info, ptr %0, i64 0, i32 2
store i64 0, ptr %6, align 8, !tbaa !5
%11 = load i32, ptr @DSPABASE, align 4, !tbaa !13
%12 = load i32, ptr %10, align 8, !tbaa !14
%13 = tail call i32 @OUTREG(i32 noundef %11, i32 noundef %12) #2
br label %14
14: ; preds = %9, %5
%15 = getelementptr inbounds %struct.intelfb_info, ptr %0, i64 0, i32 1
%16 = tail call i32 @spin_lock_irq(ptr noundef nonnull %15) #2
%17 = load i32, ptr @HWSTAM, align 4, !tbaa !13
%18 = tail call i32 @OUTREG16(i32 noundef %17, i32 noundef 65535) #2
%19 = load i32, ptr @IMR, align 4, !tbaa !13
%20 = tail call i32 @OUTREG16(i32 noundef %19, i32 noundef 65535) #2
%21 = load i32, ptr @IER, align 4, !tbaa !13
%22 = tail call i32 @OUTREG16(i32 noundef %21, i32 noundef 0) #2
%23 = load i32, ptr @IIR, align 4, !tbaa !13
%24 = tail call i32 @INREG16(i32 noundef %23) #2
%25 = tail call i32 @OUTREG16(i32 noundef %23, i32 noundef %24) #2
%26 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %15) #2
%27 = load ptr, ptr %0, align 8, !tbaa !15
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = tail call i32 @free_irq(i32 noundef %28, ptr noundef nonnull %0) #2
br label %30
30: ; preds = %14, %1
ret void
}
declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @OUTREG(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @OUTREG16(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INREG16(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @free_irq(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, !12, i64 24}
!6 = !{!"intelfb_info", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_4__", !10, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 16}
!15 = !{!6, !7, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"TYPE_3__", !10, i64 0}
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/intelfb/extr_intelfbhw.c_intelfbhw_disable_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/intelfb/extr_intelfbhw.c_intelfbhw_disable_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DSPABASE = common local_unnamed_addr global i32 0, align 4
@HWSTAM = common local_unnamed_addr global i32 0, align 4
@IMR = common local_unnamed_addr global i32 0, align 4
@IER = common local_unnamed_addr global i32 0, align 4
@IIR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @intelfbhw_disable_irq(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 32
%3 = tail call i64 @test_and_clear_bit(i32 noundef 0, ptr noundef nonnull %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %30, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = icmp eq i64 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %5
%10 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %6, align 8, !tbaa !6
%11 = load i32, ptr @DSPABASE, align 4, !tbaa !14
%12 = load i32, ptr %10, align 8, !tbaa !15
%13 = tail call i32 @OUTREG(i32 noundef %11, i32 noundef %12) #2
br label %14
14: ; preds = %9, %5
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = tail call i32 @spin_lock_irq(ptr noundef nonnull %15) #2
%17 = load i32, ptr @HWSTAM, align 4, !tbaa !14
%18 = tail call i32 @OUTREG16(i32 noundef %17, i32 noundef 65535) #2
%19 = load i32, ptr @IMR, align 4, !tbaa !14
%20 = tail call i32 @OUTREG16(i32 noundef %19, i32 noundef 65535) #2
%21 = load i32, ptr @IER, align 4, !tbaa !14
%22 = tail call i32 @OUTREG16(i32 noundef %21, i32 noundef 0) #2
%23 = load i32, ptr @IIR, align 4, !tbaa !14
%24 = tail call i32 @INREG16(i32 noundef %23) #2
%25 = tail call i32 @OUTREG16(i32 noundef %23, i32 noundef %24) #2
%26 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %15) #2
%27 = load ptr, ptr %0, align 8, !tbaa !16
%28 = load i32, ptr %27, align 4, !tbaa !17
%29 = tail call i32 @free_irq(i32 noundef %28, ptr noundef nonnull %0) #2
br label %30
30: ; preds = %14, %1
ret void
}
declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @OUTREG(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @OUTREG16(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INREG16(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @free_irq(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, !13, i64 24}
!7 = !{!"intelfb_info", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 32}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_4__", !11, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 16}
!16 = !{!7, !8, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_3__", !11, i64 0}
|
fastsocket_kernel_drivers_video_intelfb_extr_intelfbhw.c_intelfbhw_disable_irq
|
; ModuleID = 'AnghaBench/stb/deprecated/extr_stb_image.c_stbi_info_from_callbacks.c'
source_filename = "AnghaBench/stb/deprecated/extr_stb_image.c_stbi_info_from_callbacks.c"
target datalayout = "e-m:e-p270:32:32-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 @stbi_info_from_callbacks(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = call i32 @start_callbacks(ptr noundef nonnull %6, ptr noundef %0, ptr noundef %1) #3
%8 = call i32 @stbi_info_main(ptr noundef nonnull %6, ptr noundef %2, ptr noundef %3, ptr noundef %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @start_callbacks(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @stbi_info_main(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/stb/deprecated/extr_stb_image.c_stbi_info_from_callbacks.c'
source_filename = "AnghaBench/stb/deprecated/extr_stb_image.c_stbi_info_from_callbacks.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 @stbi_info_from_callbacks(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = call i32 @start_callbacks(ptr noundef nonnull %6, ptr noundef %0, ptr noundef %1) #3
%8 = call i32 @stbi_info_main(ptr noundef nonnull %6, ptr noundef %2, ptr noundef %3, ptr noundef %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @start_callbacks(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @stbi_info_main(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
stb_deprecated_extr_stb_image.c_stbi_info_from_callbacks
|
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_sockbuf.c_sbdrop_locked.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_sockbuf.c_sbdrop_locked.c"
target datalayout = "e-m:e-p270:32:32-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 @sbdrop_locked(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @SOCKBUF_LOCK_ASSERT(ptr noundef %0) #2
%4 = tail call i32 @sbcut_internal(ptr noundef %0, i32 noundef %1) #2
%5 = tail call i32 @m_freem(i32 noundef %4) #2
ret void
}
declare i32 @SOCKBUF_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @m_freem(i32 noundef) local_unnamed_addr #1
declare i32 @sbcut_internal(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_sockbuf.c_sbdrop_locked.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_sockbuf.c_sbdrop_locked.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 @sbdrop_locked(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @SOCKBUF_LOCK_ASSERT(ptr noundef %0) #2
%4 = tail call i32 @sbcut_internal(ptr noundef %0, i32 noundef %1) #2
%5 = tail call i32 @m_freem(i32 noundef %4) #2
ret void
}
declare i32 @SOCKBUF_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @m_freem(i32 noundef) local_unnamed_addr #1
declare i32 @sbcut_internal(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
freebsd_sys_kern_extr_uipc_sockbuf.c_sbdrop_locked
|
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_cper.c_cper_next_record_id.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_cper.c_cper_next_record_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@cper_next_record_id.seq = internal global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @cper_next_record_id() local_unnamed_addr #0 {
%1 = tail call i32 @atomic64_read(ptr noundef nonnull @cper_next_record_id.seq) #2
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i64 (...) @get_seconds() #2
%5 = tail call i32 @atomic64_set(ptr noundef nonnull @cper_next_record_id.seq, i32 noundef poison) #2
br label %6
6: ; preds = %3, %0
%7 = tail call i32 @atomic64_inc_return(ptr noundef nonnull @cper_next_record_id.seq) #2
ret i32 %7
}
declare i32 @atomic64_read(ptr noundef) local_unnamed_addr #1
declare i32 @atomic64_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @get_seconds(...) local_unnamed_addr #1
declare i32 @atomic64_inc_return(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/acpi/apei/extr_cper.c_cper_next_record_id.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_cper.c_cper_next_record_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cper_next_record_id.seq = internal global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @cper_next_record_id() local_unnamed_addr #0 {
%1 = tail call i32 @atomic64_read(ptr noundef nonnull @cper_next_record_id.seq) #2
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i64 @get_seconds() #2
%5 = tail call i32 @atomic64_set(ptr noundef nonnull @cper_next_record_id.seq, i32 noundef poison) #2
br label %6
6: ; preds = %3, %0
%7 = tail call i32 @atomic64_inc_return(ptr noundef nonnull @cper_next_record_id.seq) #2
ret i32 %7
}
declare i32 @atomic64_read(ptr noundef) local_unnamed_addr #1
declare i32 @atomic64_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @get_seconds(...) local_unnamed_addr #1
declare i32 @atomic64_inc_return(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_acpi_apei_extr_cper.c_cper_next_record_id
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wcd-clsh-v2.c_wcd_clsh_ctrl_free.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wcd-clsh-v2.c_wcd_clsh_ctrl_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @wcd_clsh_ctrl_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @kfree(ptr noundef %0) #2
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wcd-clsh-v2.c_wcd_clsh_ctrl_free.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wcd-clsh-v2.c_wcd_clsh_ctrl_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @wcd_clsh_ctrl_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @kfree(ptr noundef %0) #2
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
|
linux_sound_soc_codecs_extr_wcd-clsh-v2.c_wcd_clsh_ctrl_free
|
; ModuleID = 'AnghaBench/zstd/lib/common/extr_pool.c_POOL_sizeof.c'
source_filename = "AnghaBench/zstd/lib/common/extr_pool.c_POOL_sizeof.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@g_ctx = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i64 @POOL_sizeof(ptr noundef readnone %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = icmp eq ptr %0, @g_ctx
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
br label %7
7: ; preds = %1, %3
%8 = phi i64 [ 4, %3 ], [ 0, %1 ]
ret i64 %8
}
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)"}
|
; ModuleID = 'AnghaBench/zstd/lib/common/extr_pool.c_POOL_sizeof.c'
source_filename = "AnghaBench/zstd/lib/common/extr_pool.c_POOL_sizeof.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_ctx = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i64 0, 5) i64 @POOL_sizeof(ptr noundef readnone %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = icmp eq ptr %0, @g_ctx
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 noundef %5) #2
br label %7
7: ; preds = %1, %3
%8 = phi i64 [ 4, %3 ], [ 0, %1 ]
ret i64 %8
}
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)"}
|
zstd_lib_common_extr_pool.c_POOL_sizeof
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_resume.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_resume.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"failed to wake up target: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath10k_pci_resume], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ath10k_pci_resume(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call ptr @ath10k_pci_priv(ptr noundef %0) #3
%4 = load ptr, ptr %3, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = tail call i32 @ath10k_pci_force_wake(ptr noundef %0) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = tail call i32 @ath10k_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %5) #3
br label %17
9: ; preds = %1
%10 = call i32 @pci_read_config_dword(ptr noundef %4, i32 noundef 64, ptr noundef nonnull %2) #3
%11 = load i32, ptr %2, align 4, !tbaa !10
%12 = and i32 %11, 65280
%13 = icmp eq i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = and i32 %11, -65281
%16 = call i32 @pci_write_config_dword(ptr noundef %4, i32 noundef 64, i32 noundef %15) #3
br label %17
17: ; preds = %9, %14, %7
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
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 ptr @ath10k_pci_priv(ptr noundef) local_unnamed_addr #2
declare i32 @ath10k_pci_force_wake(ptr noundef) local_unnamed_addr #2
declare i32 @ath10k_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pci_read_config_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pci_write_config_dword(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, !7, i64 0}
!6 = !{!"ath10k_pci", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_resume.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_pci.c_ath10k_pci_resume.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"failed to wake up target: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ath10k_pci_resume], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ath10k_pci_resume(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call ptr @ath10k_pci_priv(ptr noundef %0) #3
%4 = load ptr, ptr %3, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%5 = tail call i32 @ath10k_pci_force_wake(ptr noundef %0) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = tail call i32 @ath10k_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %5) #3
br label %17
9: ; preds = %1
%10 = call i32 @pci_read_config_dword(ptr noundef %4, i32 noundef 64, ptr noundef nonnull %2) #3
%11 = load i32, ptr %2, align 4, !tbaa !11
%12 = and i32 %11, 65280
%13 = icmp eq i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = and i32 %11, -65281
%16 = call i32 @pci_write_config_dword(ptr noundef %4, i32 noundef 64, i32 noundef %15) #3
br label %17
17: ; preds = %9, %14, %7
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
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 ptr @ath10k_pci_priv(ptr noundef) local_unnamed_addr #2
declare i32 @ath10k_pci_force_wake(ptr noundef) local_unnamed_addr #2
declare i32 @ath10k_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pci_read_config_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pci_write_config_dword(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, !8, i64 0}
!7 = !{!"ath10k_pci", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
|
linux_drivers_net_wireless_ath_ath10k_extr_pci.c_ath10k_pci_resume
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_phy_reg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_phy_reg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KS_P1MBCR = dso_local local_unnamed_addr global i32 0, align 4
@KS_P1MBSR = dso_local local_unnamed_addr global i32 0, align 4
@KS_PHY1ILR = dso_local local_unnamed_addr global i32 0, align 4
@KS_PHY1IHR = dso_local local_unnamed_addr global i32 0, align 4
@KS_P1ANAR = dso_local local_unnamed_addr global i32 0, align 4
@KS_P1ANLPR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ks_phy_reg], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @ks_phy_reg(i32 noundef %0) #0 {
switch i32 %0, label %14 [
i32 132, label %2
i32 131, label %4
i32 129, label %6
i32 128, label %8
i32 133, label %10
i32 130, label %12
]
2: ; preds = %1
%3 = load i32, ptr @KS_P1MBCR, align 4, !tbaa !5
br label %14
4: ; preds = %1
%5 = load i32, ptr @KS_P1MBSR, align 4, !tbaa !5
br label %14
6: ; preds = %1
%7 = load i32, ptr @KS_PHY1ILR, align 4, !tbaa !5
br label %14
8: ; preds = %1
%9 = load i32, ptr @KS_PHY1IHR, align 4, !tbaa !5
br label %14
10: ; preds = %1
%11 = load i32, ptr @KS_P1ANAR, align 4, !tbaa !5
br label %14
12: ; preds = %1
%13 = load i32, ptr @KS_P1ANLPR, align 4, !tbaa !5
br label %14
14: ; preds = %1, %12, %10, %8, %6, %4, %2
%15 = phi i32 [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ], [ 0, %1 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_phy_reg.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_phy_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KS_P1MBCR = common local_unnamed_addr global i32 0, align 4
@KS_P1MBSR = common local_unnamed_addr global i32 0, align 4
@KS_PHY1ILR = common local_unnamed_addr global i32 0, align 4
@KS_PHY1IHR = common local_unnamed_addr global i32 0, align 4
@KS_P1ANAR = common local_unnamed_addr global i32 0, align 4
@KS_P1ANLPR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ks_phy_reg], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @ks_phy_reg(i32 noundef %0) #0 {
switch i32 %0, label %14 [
i32 132, label %2
i32 131, label %4
i32 129, label %6
i32 128, label %8
i32 133, label %10
i32 130, label %12
]
2: ; preds = %1
%3 = load i32, ptr @KS_P1MBCR, align 4, !tbaa !6
br label %14
4: ; preds = %1
%5 = load i32, ptr @KS_P1MBSR, align 4, !tbaa !6
br label %14
6: ; preds = %1
%7 = load i32, ptr @KS_PHY1ILR, align 4, !tbaa !6
br label %14
8: ; preds = %1
%9 = load i32, ptr @KS_PHY1IHR, align 4, !tbaa !6
br label %14
10: ; preds = %1
%11 = load i32, ptr @KS_P1ANAR, align 4, !tbaa !6
br label %14
12: ; preds = %1
%13 = load i32, ptr @KS_P1ANLPR, align 4, !tbaa !6
br label %14
14: ; preds = %1, %12, %10, %8, %6, %4, %2
%15 = phi i32 [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ], [ 0, %1 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
linux_drivers_net_ethernet_micrel_extr_ks8851_mll.c_ks_phy_reg
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/client/brcmjpeg/extr_brcmjpeg.c_brcmjpeg_init_encoder.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/client/brcmjpeg/extr_brcmjpeg.c_brcmjpeg_init_encoder.c"
target datalayout = "e-m:e-p270:32:32-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 { ptr, i32, i32, ptr }
%struct.TYPE_9__ = type { i32, i32, i32, ptr }
@BRCMJPEG_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@MMAL_COMPONENT_IMAGE_ENCODE = dso_local local_unnamed_addr global i32 0, align 4
@INIT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"failed to create encoder\00", align 1
@brcmjpeg_mmal_cb = dso_local local_unnamed_addr global i32 0, align 4
@MMAL_PARAMETER_EXIF_DISABLE = dso_local local_unnamed_addr global i32 0, align 4
@MMAL_TRUE = dso_local local_unnamed_addr global i32 0, align 4
@MMAL_ENCODING_JPEG = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"failed to commit output port format\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"failed to enable output port\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"encoder initialised (output chunk size %i)\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @brcmjpeg_init_encoder], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @brcmjpeg_init_encoder(ptr noundef %0) #0 {
%2 = load i32, ptr @MMAL_COMPONENT_IMAGE_ENCODE, align 4, !tbaa !5
%3 = tail call i32 @mmal_wrapper_create(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @INIT, align 4, !tbaa !5
%5 = tail call i32 @CHECK_MMAL_STATUS(i32 noundef %3, i32 noundef %4, ptr noundef nonnull @.str) #2
%6 = load ptr, ptr %0, align 8, !tbaa !9
%7 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 3
store ptr %0, ptr %7, align 8, !tbaa !12
%8 = load i32, ptr @brcmjpeg_mmal_cb, align 4, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 2
store i32 %8, ptr %9, align 4, !tbaa !14
%10 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 1
%11 = load i32, ptr %10, align 8, !tbaa !15
%12 = load i32, ptr @MMAL_PARAMETER_EXIF_DISABLE, align 4, !tbaa !5
%13 = load i32, ptr @MMAL_TRUE, align 4, !tbaa !5
%14 = tail call i32 @mmal_port_parameter_set_boolean(i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @MMAL_ENCODING_JPEG, align 4, !tbaa !5
%16 = load ptr, ptr %0, align 8, !tbaa !9
%17 = load ptr, ptr %16, align 8, !tbaa !16
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = getelementptr inbounds %struct.TYPE_9__, ptr %18, i64 0, i32 3
%20 = load ptr, ptr %19, align 8, !tbaa !18
store i32 %15, ptr %20, align 4, !tbaa !20
%21 = tail call i32 @mmal_port_format_commit(ptr noundef %18) #2
%22 = load i32, ptr @INIT, align 4, !tbaa !5
%23 = tail call i32 @CHECK_MMAL_STATUS(i32 noundef %21, i32 noundef %22, ptr noundef nonnull @.str.1) #2
%24 = load ptr, ptr %0, align 8, !tbaa !9
%25 = load ptr, ptr %24, align 8, !tbaa !16
%26 = load ptr, ptr %25, align 8, !tbaa !17
%27 = getelementptr inbounds %struct.TYPE_9__, ptr %26, i64 0, i32 2
%28 = load i32, ptr %27, align 8, !tbaa !22
%29 = getelementptr inbounds %struct.TYPE_9__, ptr %26, i64 0, i32 1
store i32 %28, ptr %29, align 4, !tbaa !23
store i32 3, ptr %26, align 8, !tbaa !24
%30 = tail call i32 @mmal_wrapper_port_enable(ptr noundef nonnull %26, i32 noundef 0) #2
%31 = load i32, ptr @INIT, align 4, !tbaa !5
%32 = tail call i32 @CHECK_MMAL_STATUS(i32 noundef %30, i32 noundef %31, ptr noundef nonnull @.str.2) #2
%33 = load ptr, ptr %0, align 8, !tbaa !9
%34 = load ptr, ptr %33, align 8, !tbaa !16
%35 = load ptr, ptr %34, align 8, !tbaa !17
%36 = getelementptr inbounds %struct.TYPE_9__, ptr %35, i64 0, i32 1
%37 = load i32, ptr %36, align 4, !tbaa !23
%38 = tail call i32 @LOG_DEBUG(ptr noundef nonnull @.str.3, i32 noundef %37) #2
%39 = load i32, ptr @BRCMJPEG_SUCCESS, align 4, !tbaa !5
ret i32 %39
}
declare i32 @mmal_wrapper_create(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CHECK_MMAL_STATUS(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mmal_port_parameter_set_boolean(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mmal_port_format_commit(ptr noundef) local_unnamed_addr #1
declare i32 @mmal_wrapper_port_enable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LOG_DEBUG(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, !11, i64 0}
!10 = !{!"TYPE_8__", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"TYPE_10__", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16}
!14 = !{!13, !6, i64 12}
!15 = !{!13, !6, i64 8}
!16 = !{!13, !11, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !11, i64 16}
!19 = !{!"TYPE_9__", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16}
!20 = !{!21, !6, i64 0}
!21 = !{!"TYPE_7__", !6, i64 0}
!22 = !{!19, !6, i64 8}
!23 = !{!19, !6, i64 4}
!24 = !{!19, !6, i64 0}
|
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/client/brcmjpeg/extr_brcmjpeg.c_brcmjpeg_init_encoder.c'
source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/client/brcmjpeg/extr_brcmjpeg.c_brcmjpeg_init_encoder.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BRCMJPEG_SUCCESS = common local_unnamed_addr global i32 0, align 4
@MMAL_COMPONENT_IMAGE_ENCODE = common local_unnamed_addr global i32 0, align 4
@INIT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"failed to create encoder\00", align 1
@brcmjpeg_mmal_cb = common local_unnamed_addr global i32 0, align 4
@MMAL_PARAMETER_EXIF_DISABLE = common local_unnamed_addr global i32 0, align 4
@MMAL_TRUE = common local_unnamed_addr global i32 0, align 4
@MMAL_ENCODING_JPEG = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [36 x i8] c"failed to commit output port format\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"failed to enable output port\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"encoder initialised (output chunk size %i)\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @brcmjpeg_init_encoder], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @brcmjpeg_init_encoder(ptr noundef %0) #0 {
%2 = load i32, ptr @MMAL_COMPONENT_IMAGE_ENCODE, align 4, !tbaa !6
%3 = tail call i32 @mmal_wrapper_create(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @INIT, align 4, !tbaa !6
%5 = tail call i32 @CHECK_MMAL_STATUS(i32 noundef %3, i32 noundef %4, ptr noundef nonnull @.str) #2
%6 = load ptr, ptr %0, align 8, !tbaa !10
%7 = getelementptr inbounds i8, ptr %6, i64 16
store ptr %0, ptr %7, align 8, !tbaa !13
%8 = load i32, ptr @brcmjpeg_mmal_cb, align 4, !tbaa !6
%9 = getelementptr inbounds i8, ptr %6, i64 12
store i32 %8, ptr %9, align 4, !tbaa !15
%10 = getelementptr inbounds i8, ptr %6, i64 8
%11 = load i32, ptr %10, align 8, !tbaa !16
%12 = load i32, ptr @MMAL_PARAMETER_EXIF_DISABLE, align 4, !tbaa !6
%13 = load i32, ptr @MMAL_TRUE, align 4, !tbaa !6
%14 = tail call i32 @mmal_port_parameter_set_boolean(i32 noundef %11, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr @MMAL_ENCODING_JPEG, align 4, !tbaa !6
%16 = load ptr, ptr %0, align 8, !tbaa !10
%17 = load ptr, ptr %16, align 8, !tbaa !17
%18 = load ptr, ptr %17, align 8, !tbaa !18
%19 = getelementptr inbounds i8, ptr %18, i64 16
%20 = load ptr, ptr %19, align 8, !tbaa !19
store i32 %15, ptr %20, align 4, !tbaa !21
%21 = tail call i32 @mmal_port_format_commit(ptr noundef %18) #2
%22 = load i32, ptr @INIT, align 4, !tbaa !6
%23 = tail call i32 @CHECK_MMAL_STATUS(i32 noundef %21, i32 noundef %22, ptr noundef nonnull @.str.1) #2
%24 = load ptr, ptr %0, align 8, !tbaa !10
%25 = load ptr, ptr %24, align 8, !tbaa !17
%26 = load ptr, ptr %25, align 8, !tbaa !18
%27 = getelementptr inbounds i8, ptr %26, i64 8
%28 = load i32, ptr %27, align 8, !tbaa !23
%29 = getelementptr inbounds i8, ptr %26, i64 4
store i32 %28, ptr %29, align 4, !tbaa !24
store i32 3, ptr %26, align 8, !tbaa !25
%30 = tail call i32 @mmal_wrapper_port_enable(ptr noundef nonnull %26, i32 noundef 0) #2
%31 = load i32, ptr @INIT, align 4, !tbaa !6
%32 = tail call i32 @CHECK_MMAL_STATUS(i32 noundef %30, i32 noundef %31, ptr noundef nonnull @.str.2) #2
%33 = load ptr, ptr %0, align 8, !tbaa !10
%34 = load ptr, ptr %33, align 8, !tbaa !17
%35 = load ptr, ptr %34, align 8, !tbaa !18
%36 = getelementptr inbounds i8, ptr %35, i64 4
%37 = load i32, ptr %36, align 4, !tbaa !24
%38 = tail call i32 @LOG_DEBUG(ptr noundef nonnull @.str.3, i32 noundef %37) #2
%39 = load i32, ptr @BRCMJPEG_SUCCESS, align 4, !tbaa !6
ret i32 %39
}
declare i32 @mmal_wrapper_create(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CHECK_MMAL_STATUS(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mmal_port_parameter_set_boolean(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mmal_port_format_commit(ptr noundef) local_unnamed_addr #1
declare i32 @mmal_wrapper_port_enable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LOG_DEBUG(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, !12, i64 0}
!11 = !{!"TYPE_8__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"TYPE_10__", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16}
!15 = !{!14, !7, i64 12}
!16 = !{!14, !7, i64 8}
!17 = !{!14, !12, i64 0}
!18 = !{!12, !12, i64 0}
!19 = !{!20, !12, i64 16}
!20 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_7__", !7, i64 0}
!23 = !{!20, !7, i64 8}
!24 = !{!20, !7, i64 4}
!25 = !{!20, !7, i64 0}
|
RetroArch_gfx_include_userland_interface_mmal_client_brcmjpeg_extr_brcmjpeg.c_brcmjpeg_init_encoder
|
; ModuleID = 'AnghaBench/kphp-kdb/filesys/extr_filesys-engine.c_sigterm_handler.c'
source_filename = "AnghaBench/kphp-kdb/filesys/extr_filesys-engine.c_sigterm_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"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"SIGTERM handled.\0A\00", align 1
@EXIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sigterm_handler], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @sigterm_handler(i32 %0) #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !5
%3 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str) #3
%4 = tail call i32 (...) @flush_binlog_last() #3
%5 = tail call i32 @sync_binlog(i32 noundef 2) #3
%6 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5
%7 = tail call i32 @exit(i32 noundef %6) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @flush_binlog_last(...) local_unnamed_addr #1
declare i32 @sync_binlog(i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
|
; ModuleID = 'AnghaBench/kphp-kdb/filesys/extr_filesys-engine.c_sigterm_handler.c'
source_filename = "AnghaBench/kphp-kdb/filesys/extr_filesys-engine.c_sigterm_handler.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 [18 x i8] c"SIGTERM handled.\0A\00", align 1
@EXIT_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sigterm_handler], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @sigterm_handler(i32 %0) #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !6
%3 = tail call i32 @fprintf(i32 noundef %2, ptr noundef nonnull @.str) #3
%4 = tail call i32 @flush_binlog_last() #3
%5 = tail call i32 @sync_binlog(i32 noundef 2) #3
%6 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6
%7 = tail call i32 @exit(i32 noundef %6) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @flush_binlog_last(...) local_unnamed_addr #1
declare i32 @sync_binlog(i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
|
kphp-kdb_filesys_extr_filesys-engine.c_sigterm_handler
|
; ModuleID = 'AnghaBench/openssl/crypto/cms/extr_cms_env.c_CMS_RecipientInfo_kekri_id_cmp.c'
source_filename = "AnghaBench/openssl/crypto/cms/extr_cms_env.c_CMS_RecipientInfo_kekri_id_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.TYPE_12__ = type { ptr, i32, i64, i32 }
%struct.TYPE_10__ = type { i64, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { ptr }
@CMS_RECIPINFO_KEK = dso_local local_unnamed_addr global i64 0, align 8
@CMS_F_CMS_RECIPIENTINFO_KEKRI_ID_CMP = dso_local local_unnamed_addr global i32 0, align 4
@CMS_R_NOT_KEK = dso_local local_unnamed_addr global i32 0, align 4
@V_ASN1_OCTET_STRING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @CMS_RecipientInfo_kekri_id_cmp(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_12__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
%5 = load i64, ptr %0, align 8, !tbaa !5
%6 = load i64, ptr @CMS_RECIPINFO_KEK, align 8, !tbaa !12
%7 = icmp eq i64 %5, %6
br i1 %7, label %12, label %8
8: ; preds = %3
%9 = load i32, ptr @CMS_F_CMS_RECIPIENTINFO_KEKRI_ID_CMP, align 4, !tbaa !13
%10 = load i32, ptr @CMS_R_NOT_KEK, align 4, !tbaa !13
%11 = tail call i32 @CMSerr(i32 noundef %9, i32 noundef %10) #3
br label %23
12: ; preds = %3
%13 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = load i32, ptr @V_ASN1_OCTET_STRING, align 4, !tbaa !13
%16 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 3
store i32 %15, ptr %16, align 8, !tbaa !16
%17 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 2
store i64 0, ptr %17, align 8, !tbaa !18
store ptr %1, ptr %4, align 8, !tbaa !19
%18 = trunc i64 %2 to i32
%19 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 1
store i32 %18, ptr %19, align 8, !tbaa !20
%20 = load ptr, ptr %14, align 8, !tbaa !21
%21 = load i32, ptr %20, align 4, !tbaa !23
%22 = call i32 @ASN1_OCTET_STRING_cmp(ptr noundef nonnull %4, i32 noundef %21) #3
br label %23
23: ; preds = %12, %8
%24 = phi i32 [ -2, %8 ], [ %22, %12 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @CMSerr(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ASN1_OCTET_STRING_cmp(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_10__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_9__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!6, !11, i64 8}
!16 = !{!17, !14, i64 24}
!17 = !{!"TYPE_12__", !11, i64 0, !14, i64 8, !7, i64 16, !14, i64 24}
!18 = !{!17, !7, i64 16}
!19 = !{!17, !11, i64 0}
!20 = !{!17, !14, i64 8}
!21 = !{!22, !11, i64 0}
!22 = !{!"TYPE_11__", !11, i64 0}
!23 = !{!24, !14, i64 0}
!24 = !{!"TYPE_8__", !14, i64 0}
|
; ModuleID = 'AnghaBench/openssl/crypto/cms/extr_cms_env.c_CMS_RecipientInfo_kekri_id_cmp.c'
source_filename = "AnghaBench/openssl/crypto/cms/extr_cms_env.c_CMS_RecipientInfo_kekri_id_cmp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_12__ = type { ptr, i32, i64, i32 }
@CMS_RECIPINFO_KEK = common local_unnamed_addr global i64 0, align 8
@CMS_F_CMS_RECIPIENTINFO_KEKRI_ID_CMP = common local_unnamed_addr global i32 0, align 4
@CMS_R_NOT_KEK = common local_unnamed_addr global i32 0, align 4
@V_ASN1_OCTET_STRING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @CMS_RecipientInfo_kekri_id_cmp(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_12__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
%5 = load i64, ptr %0, align 8, !tbaa !6
%6 = load i64, ptr @CMS_RECIPINFO_KEK, align 8, !tbaa !13
%7 = icmp eq i64 %5, %6
br i1 %7, label %12, label %8
8: ; preds = %3
%9 = load i32, ptr @CMS_F_CMS_RECIPIENTINFO_KEKRI_ID_CMP, align 4, !tbaa !14
%10 = load i32, ptr @CMS_R_NOT_KEK, align 4, !tbaa !14
%11 = tail call i32 @CMSerr(i32 noundef %9, i32 noundef %10) #3
br label %23
12: ; preds = %3
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !16
%15 = load i32, ptr @V_ASN1_OCTET_STRING, align 4, !tbaa !14
%16 = getelementptr inbounds i8, ptr %4, i64 24
store i32 %15, ptr %16, align 8, !tbaa !17
%17 = getelementptr inbounds i8, ptr %4, i64 16
store i64 0, ptr %17, align 8, !tbaa !19
store ptr %1, ptr %4, align 8, !tbaa !20
%18 = trunc i64 %2 to i32
%19 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %18, ptr %19, align 8, !tbaa !21
%20 = load ptr, ptr %14, align 8, !tbaa !22
%21 = load i32, ptr %20, align 4, !tbaa !24
%22 = call i32 @ASN1_OCTET_STRING_cmp(ptr noundef nonnull %4, i32 noundef %21) #3
br label %23
23: ; preds = %12, %8
%24 = phi i32 [ -2, %8 ], [ %22, %12 ]
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
ret i32 %24
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @CMSerr(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ASN1_OCTET_STRING_cmp(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_10__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_9__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!7, !12, i64 8}
!17 = !{!18, !15, i64 24}
!18 = !{!"TYPE_12__", !12, i64 0, !15, i64 8, !8, i64 16, !15, i64 24}
!19 = !{!18, !8, i64 16}
!20 = !{!18, !12, i64 0}
!21 = !{!18, !15, i64 8}
!22 = !{!23, !12, i64 0}
!23 = !{!"TYPE_11__", !12, i64 0}
!24 = !{!25, !15, i64 0}
!25 = !{!"TYPE_8__", !15, i64 0}
|
openssl_crypto_cms_extr_cms_env.c_CMS_RecipientInfo_kekri_id_cmp
|
; ModuleID = 'AnghaBench/linux/security/smack/extr_smack_lsm.c_smack_inode_copy_up.c'
source_filename = "AnghaBench/linux/security/smack/extr_smack_lsm.c_smack_inode_copy_up.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @smack_inode_copy_up], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @smack_inode_copy_up(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = tail call ptr (...) @prepare_creds() #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%10 = sub nsw i32 0, %9
br label %18
11: ; preds = %5, %2
%12 = phi ptr [ %6, %5 ], [ %3, %2 ]
%13 = tail call ptr @smack_cred(ptr noundef nonnull %12) #2
%14 = load i32, ptr %0, align 4, !tbaa !11
%15 = tail call i32 @d_inode(i32 noundef %14) #2
%16 = tail call ptr @smack_inode(i32 noundef %15) #2
%17 = load ptr, ptr %16, align 8, !tbaa !13
store ptr %17, ptr %13, align 8, !tbaa !15
store ptr %12, ptr %1, align 8, !tbaa !5
br label %18
18: ; preds = %11, %8
%19 = phi i32 [ %10, %8 ], [ 0, %11 ]
ret i32 %19
}
declare ptr @prepare_creds(...) local_unnamed_addr #1
declare ptr @smack_cred(ptr noundef) local_unnamed_addr #1
declare ptr @smack_inode(i32 noundef) local_unnamed_addr #1
declare i32 @d_inode(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"dentry", !10, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"inode_smack", !6, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"task_smack", !6, i64 0}
|
; ModuleID = 'AnghaBench/linux/security/smack/extr_smack_lsm.c_smack_inode_copy_up.c'
source_filename = "AnghaBench/linux/security/smack/extr_smack_lsm.c_smack_inode_copy_up.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @smack_inode_copy_up], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @smack_inode_copy_up(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = tail call ptr @prepare_creds() #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%10 = sub nsw i32 0, %9
br label %18
11: ; preds = %5, %2
%12 = phi ptr [ %6, %5 ], [ %3, %2 ]
%13 = tail call ptr @smack_cred(ptr noundef nonnull %12) #2
%14 = load i32, ptr %0, align 4, !tbaa !12
%15 = tail call i32 @d_inode(i32 noundef %14) #2
%16 = tail call ptr @smack_inode(i32 noundef %15) #2
%17 = load ptr, ptr %16, align 8, !tbaa !14
store ptr %17, ptr %13, align 8, !tbaa !16
store ptr %12, ptr %1, align 8, !tbaa !6
br label %18
18: ; preds = %11, %8
%19 = phi i32 [ %10, %8 ], [ 0, %11 ]
ret i32 %19
}
declare ptr @prepare_creds(...) local_unnamed_addr #1
declare ptr @smack_cred(ptr noundef) local_unnamed_addr #1
declare ptr @smack_inode(i32 noundef) local_unnamed_addr #1
declare i32 @d_inode(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"dentry", !11, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"inode_smack", !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"task_smack", !7, i64 0}
|
linux_security_smack_extr_smack_lsm.c_smack_inode_copy_up
|
; ModuleID = 'AnghaBench/linux/net/core/extr_skbuff.c_skb_complete_tx_timestamp.c'
source_filename = "AnghaBench/linux/net/core/extr_skbuff.c_skb_complete_tx_timestamp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SCM_TSTAMP_SND = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @skb_complete_tx_timestamp(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @skb_may_tx_timestamp(ptr noundef %3, i32 noundef 0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %16, label %6
6: ; preds = %2
%7 = tail call i32 @refcount_inc_not_zero(ptr noundef %3) #2
%8 = tail call i64 @likely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %6
%11 = tail call ptr @skb_hwtstamps(ptr noundef nonnull %0) #2
%12 = load i32, ptr %1, align 4, !tbaa !10
store i32 %12, ptr %11, align 4, !tbaa !10
%13 = load i32, ptr @SCM_TSTAMP_SND, align 4, !tbaa !10
%14 = tail call i32 @__skb_complete_tx_timestamp(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %13, i32 noundef 0) #2
%15 = tail call i32 @sock_put(ptr noundef %3) #2
br label %18
16: ; preds = %6, %2
%17 = tail call i32 @kfree_skb(ptr noundef nonnull %0) #2
br label %18
18: ; preds = %16, %10
ret void
}
declare i32 @skb_may_tx_timestamp(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @refcount_inc_not_zero(ptr noundef) local_unnamed_addr #1
declare ptr @skb_hwtstamps(ptr noundef) local_unnamed_addr #1
declare i32 @__skb_complete_tx_timestamp(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sock_put(ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(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 = !{!"sk_buff", !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/core/extr_skbuff.c_skb_complete_tx_timestamp.c'
source_filename = "AnghaBench/linux/net/core/extr_skbuff.c_skb_complete_tx_timestamp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCM_TSTAMP_SND = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @skb_complete_tx_timestamp(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @skb_may_tx_timestamp(ptr noundef %3, i32 noundef 0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %16, label %6
6: ; preds = %2
%7 = tail call i32 @refcount_inc_not_zero(ptr noundef %3) #2
%8 = tail call i64 @likely(i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %6
%11 = tail call ptr @skb_hwtstamps(ptr noundef nonnull %0) #2
%12 = load i32, ptr %1, align 4, !tbaa !11
store i32 %12, ptr %11, align 4, !tbaa !11
%13 = load i32, ptr @SCM_TSTAMP_SND, align 4, !tbaa !11
%14 = tail call i32 @__skb_complete_tx_timestamp(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %13, i32 noundef 0) #2
%15 = tail call i32 @sock_put(ptr noundef %3) #2
br label %18
16: ; preds = %6, %2
%17 = tail call i32 @kfree_skb(ptr noundef nonnull %0) #2
br label %18
18: ; preds = %16, %10
ret void
}
declare i32 @skb_may_tx_timestamp(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @refcount_inc_not_zero(ptr noundef) local_unnamed_addr #1
declare ptr @skb_hwtstamps(ptr noundef) local_unnamed_addr #1
declare i32 @__skb_complete_tx_timestamp(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sock_put(ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(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 = !{!"sk_buff", !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_core_extr_skbuff.c_skb_complete_tx_timestamp
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_uart.c_pci_uart_init.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_uart.c_pci_uart_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.pci_devinst = type { i32, i32, ptr }
@PCIBAR_IO = dso_local local_unnamed_addr global i32 0, align 4
@UART_IO_BAR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@PCIR_DEVICE = dso_local local_unnamed_addr global i32 0, align 4
@COM_DEV = dso_local local_unnamed_addr global i32 0, align 4
@PCIR_VENDOR = dso_local local_unnamed_addr global i32 0, align 4
@COM_VENDOR = dso_local local_unnamed_addr global i32 0, align 4
@PCIR_CLASS = dso_local local_unnamed_addr global i32 0, align 4
@PCIC_SIMPLECOMM = dso_local local_unnamed_addr global i32 0, align 4
@pci_uart_intr_assert = dso_local local_unnamed_addr global i32 0, align 4
@pci_uart_intr_deassert = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [57 x i8] c"Unable to initialize backend '%s' for pci uart at %d:%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pci_uart_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @pci_uart_init(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @PCIBAR_IO, align 4, !tbaa !5
%5 = load i32, ptr @UART_IO_BAR_SIZE, align 4, !tbaa !5
%6 = tail call i32 @pci_emul_alloc_bar(ptr noundef %1, i32 noundef 0, i32 noundef %4, i32 noundef %5) #2
%7 = tail call i32 @pci_lintr_request(ptr noundef %1) #2
%8 = load i32, ptr @PCIR_DEVICE, align 4, !tbaa !5
%9 = load i32, ptr @COM_DEV, align 4, !tbaa !5
%10 = tail call i32 @pci_set_cfgdata16(ptr noundef %1, i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @PCIR_VENDOR, align 4, !tbaa !5
%12 = load i32, ptr @COM_VENDOR, align 4, !tbaa !5
%13 = tail call i32 @pci_set_cfgdata16(ptr noundef %1, i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr @PCIR_CLASS, align 4, !tbaa !5
%15 = load i32, ptr @PCIC_SIMPLECOMM, align 4, !tbaa !5
%16 = tail call i32 @pci_set_cfgdata8(ptr noundef %1, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @pci_uart_intr_assert, align 4, !tbaa !5
%18 = load i32, ptr @pci_uart_intr_deassert, align 4, !tbaa !5
%19 = tail call ptr @uart_init(i32 noundef %17, i32 noundef %18, ptr noundef %1) #2
%20 = getelementptr inbounds %struct.pci_devinst, ptr %1, i64 0, i32 2
store ptr %19, ptr %20, align 8, !tbaa !9
%21 = tail call i64 @uart_set_backend(ptr noundef %19, ptr noundef %2) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %3
%24 = load i32, ptr @stderr, align 4, !tbaa !5
%25 = load i32, ptr %1, align 8, !tbaa !12
%26 = getelementptr inbounds %struct.pci_devinst, ptr %1, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !13
%28 = tail call i32 @fprintf(i32 noundef %24, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %25, i32 noundef %27) #2
br label %29
29: ; preds = %3, %23
%30 = phi i32 [ -1, %23 ], [ 0, %3 ]
ret i32 %30
}
declare i32 @pci_emul_alloc_bar(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_lintr_request(ptr noundef) local_unnamed_addr #1
declare i32 @pci_set_cfgdata16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_set_cfgdata8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @uart_init(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @uart_set_backend(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"pci_devinst", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !6, i64 4}
|
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_uart.c_pci_uart_init.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_uart.c_pci_uart_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCIBAR_IO = common local_unnamed_addr global i32 0, align 4
@UART_IO_BAR_SIZE = common local_unnamed_addr global i32 0, align 4
@PCIR_DEVICE = common local_unnamed_addr global i32 0, align 4
@COM_DEV = common local_unnamed_addr global i32 0, align 4
@PCIR_VENDOR = common local_unnamed_addr global i32 0, align 4
@COM_VENDOR = common local_unnamed_addr global i32 0, align 4
@PCIR_CLASS = common local_unnamed_addr global i32 0, align 4
@PCIC_SIMPLECOMM = common local_unnamed_addr global i32 0, align 4
@pci_uart_intr_assert = common local_unnamed_addr global i32 0, align 4
@pci_uart_intr_deassert = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [57 x i8] c"Unable to initialize backend '%s' for pci uart at %d:%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pci_uart_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @pci_uart_init(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @PCIBAR_IO, align 4, !tbaa !6
%5 = load i32, ptr @UART_IO_BAR_SIZE, align 4, !tbaa !6
%6 = tail call i32 @pci_emul_alloc_bar(ptr noundef %1, i32 noundef 0, i32 noundef %4, i32 noundef %5) #2
%7 = tail call i32 @pci_lintr_request(ptr noundef %1) #2
%8 = load i32, ptr @PCIR_DEVICE, align 4, !tbaa !6
%9 = load i32, ptr @COM_DEV, align 4, !tbaa !6
%10 = tail call i32 @pci_set_cfgdata16(ptr noundef %1, i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @PCIR_VENDOR, align 4, !tbaa !6
%12 = load i32, ptr @COM_VENDOR, align 4, !tbaa !6
%13 = tail call i32 @pci_set_cfgdata16(ptr noundef %1, i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr @PCIR_CLASS, align 4, !tbaa !6
%15 = load i32, ptr @PCIC_SIMPLECOMM, align 4, !tbaa !6
%16 = tail call i32 @pci_set_cfgdata8(ptr noundef %1, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @pci_uart_intr_assert, align 4, !tbaa !6
%18 = load i32, ptr @pci_uart_intr_deassert, align 4, !tbaa !6
%19 = tail call ptr @uart_init(i32 noundef %17, i32 noundef %18, ptr noundef %1) #2
%20 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %19, ptr %20, align 8, !tbaa !10
%21 = tail call i64 @uart_set_backend(ptr noundef %19, ptr noundef %2) #2
%22 = icmp eq i64 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %3
%24 = load i32, ptr @stderr, align 4, !tbaa !6
%25 = load i32, ptr %1, align 8, !tbaa !13
%26 = getelementptr inbounds i8, ptr %1, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !14
%28 = tail call i32 @fprintf(i32 noundef %24, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %25, i32 noundef %27) #2
br label %29
29: ; preds = %3, %23
%30 = phi i32 [ -1, %23 ], [ 0, %3 ]
ret i32 %30
}
declare i32 @pci_emul_alloc_bar(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_lintr_request(ptr noundef) local_unnamed_addr #1
declare i32 @pci_set_cfgdata16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_set_cfgdata8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @uart_init(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @uart_set_backend(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"pci_devinst", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !7, i64 4}
|
freebsd_usr.sbin_bhyve_extr_pci_uart.c_pci_uart_init
|
; ModuleID = 'AnghaBench/linux/drivers/bus/fsl-mc/extr_fsl-mc-bus.c_mc_get_version.c'
source_filename = "AnghaBench/linux/drivers/bus/fsl-mc/extr_fsl-mc-bus.c_mc_get_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.fsl_mc_command = type { i64, i32, i32 }
%struct.dpmng_rsp_get_version = type { i32, i32, i32 }
%struct.mc_version = type { ptr, ptr, ptr }
@DPMNG_CMDID_GET_VERSION = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mc_get_version], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mc_get_version(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca %struct.fsl_mc_command, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
%5 = load i32, ptr @DPMNG_CMDID_GET_VERSION, align 4, !tbaa !5
%6 = tail call i32 @mc_encode_cmd_header(i32 noundef %5, i32 noundef %1, i32 noundef 0) #4
%7 = getelementptr inbounds %struct.fsl_mc_command, ptr %4, i64 0, i32 1
store i32 %6, ptr %7, align 8, !tbaa !9
%8 = call i32 @mc_send_command(ptr noundef %0, ptr noundef nonnull %4) #4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %23
10: ; preds = %3
%11 = load i64, ptr %4, align 8, !tbaa !12
%12 = inttoptr i64 %11 to ptr
%13 = getelementptr inbounds %struct.dpmng_rsp_get_version, ptr %12, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = call ptr @le32_to_cpu(i32 noundef %14) #4
%16 = getelementptr inbounds %struct.mc_version, ptr %2, i64 0, i32 2
store ptr %15, ptr %16, align 8, !tbaa !15
%17 = getelementptr inbounds %struct.dpmng_rsp_get_version, ptr %12, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !18
%19 = call ptr @le32_to_cpu(i32 noundef %18) #4
%20 = getelementptr inbounds %struct.mc_version, ptr %2, i64 0, i32 1
store ptr %19, ptr %20, align 8, !tbaa !19
%21 = load i32, ptr %12, align 4, !tbaa !20
%22 = call ptr @le32_to_cpu(i32 noundef %21) #4
store ptr %22, ptr %2, align 8, !tbaa !21
br label %23
23: ; preds = %3, %10
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @mc_encode_cmd_header(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mc_send_command(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @le32_to_cpu(i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"fsl_mc_command", !11, i64 0, !6, i64 8, !6, i64 12}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"dpmng_rsp_get_version", !6, i64 0, !6, i64 4, !6, i64 8}
!15 = !{!16, !17, i64 16}
!16 = !{!"mc_version", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!14, !6, i64 4}
!19 = !{!16, !17, i64 8}
!20 = !{!14, !6, i64 0}
!21 = !{!16, !17, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/bus/fsl-mc/extr_fsl-mc-bus.c_mc_get_version.c'
source_filename = "AnghaBench/linux/drivers/bus/fsl-mc/extr_fsl-mc-bus.c_mc_get_version.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.fsl_mc_command = type { i64, i32, i32 }
@DPMNG_CMDID_GET_VERSION = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mc_get_version], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mc_get_version(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca %struct.fsl_mc_command, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
%5 = load i32, ptr @DPMNG_CMDID_GET_VERSION, align 4, !tbaa !6
%6 = tail call i32 @mc_encode_cmd_header(i32 noundef %5, i32 noundef %1, i32 noundef 0) #4
%7 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %6, ptr %7, align 8, !tbaa !10
%8 = call i32 @mc_send_command(ptr noundef %0, ptr noundef nonnull %4) #4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %23
10: ; preds = %3
%11 = load i64, ptr %4, align 8, !tbaa !13
%12 = inttoptr i64 %11 to ptr
%13 = getelementptr inbounds i8, ptr %12, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = call ptr @le32_to_cpu(i32 noundef %14) #4
%16 = getelementptr inbounds i8, ptr %2, i64 16
store ptr %15, ptr %16, align 8, !tbaa !16
%17 = getelementptr inbounds i8, ptr %12, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !19
%19 = call ptr @le32_to_cpu(i32 noundef %18) #4
%20 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %19, ptr %20, align 8, !tbaa !20
%21 = load i32, ptr %12, align 4, !tbaa !21
%22 = call ptr @le32_to_cpu(i32 noundef %21) #4
store ptr %22, ptr %2, align 8, !tbaa !22
br label %23
23: ; preds = %3, %10
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
ret i32 %8
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @mc_encode_cmd_header(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @mc_send_command(ptr noundef, ptr noundef) local_unnamed_addr #3
declare ptr @le32_to_cpu(i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"fsl_mc_command", !12, i64 0, !7, i64 8, !7, i64 12}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !7, i64 8}
!15 = !{!"dpmng_rsp_get_version", !7, i64 0, !7, i64 4, !7, i64 8}
!16 = !{!17, !18, i64 16}
!17 = !{!"mc_version", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!15, !7, i64 4}
!20 = !{!17, !18, i64 8}
!21 = !{!15, !7, i64 0}
!22 = !{!17, !18, i64 0}
|
linux_drivers_bus_fsl-mc_extr_fsl-mc-bus.c_mc_get_version
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_ap.c_ap_sta_hash_del.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_ap.c_ap_sta_hash_del.c"
target datalayout = "e-m:e-p270:32:32-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.sta_info = type { i32, ptr }
@.str = private unnamed_addr constant [46 x i8] c"AP: could not remove STA %pM from hash table\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ap_sta_hash_del], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ap_sta_hash_del(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %1, align 8, !tbaa !10
%5 = tail call i64 @STA_HASH(i32 noundef %4) #2
%6 = getelementptr inbounds ptr, ptr %3, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = icmp eq ptr %7, null
br i1 %8, label %43, label %9
9: ; preds = %2
%10 = load i32, ptr %7, align 8, !tbaa !10
%11 = load i32, ptr %1, align 8, !tbaa !10
%12 = tail call i64 @ether_addr_equal(i32 noundef %10, i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = getelementptr inbounds %struct.sta_info, ptr %7, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !14
br i1 %13, label %16, label %18
16: ; preds = %9
%17 = icmp eq ptr %15, null
br i1 %17, label %40, label %23
18: ; preds = %9
%19 = load ptr, ptr %0, align 8, !tbaa !5
%20 = load i32, ptr %1, align 8, !tbaa !10
%21 = tail call i64 @STA_HASH(i32 noundef %20) #2
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
store ptr %15, ptr %22, align 8, !tbaa !13
br label %43
23: ; preds = %16, %31
%24 = phi ptr [ %33, %31 ], [ %15, %16 ]
%25 = phi ptr [ %32, %31 ], [ %14, %16 ]
%26 = load i32, ptr %24, align 8, !tbaa !10
%27 = load i32, ptr %1, align 8, !tbaa !10
%28 = tail call i64 @ether_addr_equal(i32 noundef %26, i32 noundef %27) #2
%29 = icmp eq i64 %28, 0
%30 = load ptr, ptr %25, align 8, !tbaa !14
br i1 %29, label %31, label %35
31: ; preds = %23
%32 = getelementptr inbounds %struct.sta_info, ptr %30, i64 0, i32 1
%33 = load ptr, ptr %32, align 8, !tbaa !14
%34 = icmp eq ptr %33, null
br i1 %34, label %40, label %23, !llvm.loop !15
35: ; preds = %23
%36 = icmp eq ptr %30, null
br i1 %36, label %40, label %37
37: ; preds = %35
%38 = getelementptr inbounds %struct.sta_info, ptr %30, i64 0, i32 1
%39 = load ptr, ptr %38, align 8, !tbaa !14
store ptr %39, ptr %25, align 8, !tbaa !14
br label %43
40: ; preds = %31, %16, %35
%41 = load i32, ptr %1, align 8, !tbaa !10
%42 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %41) #2
br label %43
43: ; preds = %37, %40, %2, %18
ret void
}
declare i64 @STA_HASH(i32 noundef) local_unnamed_addr #1
declare i64 @ether_addr_equal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printk(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 = !{!"ap_data", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"sta_info", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!11, !7, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_ap.c_ap_sta_hash_del.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/hostap/extr_hostap_ap.c_ap_sta_hash_del.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 [46 x i8] c"AP: could not remove STA %pM from hash table\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ap_sta_hash_del], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ap_sta_hash_del(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %1, align 8, !tbaa !11
%5 = tail call i64 @STA_HASH(i32 noundef %4) #2
%6 = getelementptr inbounds ptr, ptr %3, i64 %5
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = icmp eq ptr %7, null
br i1 %8, label %43, label %9
9: ; preds = %2
%10 = load i32, ptr %7, align 8, !tbaa !11
%11 = load i32, ptr %1, align 8, !tbaa !11
%12 = tail call i64 @ether_addr_equal(i32 noundef %10, i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
%14 = getelementptr inbounds i8, ptr %7, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !15
br i1 %13, label %16, label %18
16: ; preds = %9
%17 = icmp eq ptr %15, null
br i1 %17, label %40, label %23
18: ; preds = %9
%19 = load ptr, ptr %0, align 8, !tbaa !6
%20 = load i32, ptr %1, align 8, !tbaa !11
%21 = tail call i64 @STA_HASH(i32 noundef %20) #2
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
store ptr %15, ptr %22, align 8, !tbaa !14
br label %43
23: ; preds = %16, %31
%24 = phi ptr [ %33, %31 ], [ %15, %16 ]
%25 = phi ptr [ %32, %31 ], [ %14, %16 ]
%26 = load i32, ptr %24, align 8, !tbaa !11
%27 = load i32, ptr %1, align 8, !tbaa !11
%28 = tail call i64 @ether_addr_equal(i32 noundef %26, i32 noundef %27) #2
%29 = icmp eq i64 %28, 0
%30 = load ptr, ptr %25, align 8, !tbaa !15
br i1 %29, label %31, label %35
31: ; preds = %23
%32 = getelementptr inbounds i8, ptr %30, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !15
%34 = icmp eq ptr %33, null
br i1 %34, label %40, label %23, !llvm.loop !16
35: ; preds = %23
%36 = icmp eq ptr %30, null
br i1 %36, label %40, label %37
37: ; preds = %35
%38 = getelementptr inbounds i8, ptr %30, i64 8
%39 = load ptr, ptr %38, align 8, !tbaa !15
store ptr %39, ptr %25, align 8, !tbaa !15
br label %43
40: ; preds = %31, %16, %35
%41 = load i32, ptr %1, align 8, !tbaa !11
%42 = tail call i32 @printk(ptr noundef nonnull @.str, i32 noundef %41) #2
br label %43
43: ; preds = %37, %40, %2, %18
ret void
}
declare i64 @STA_HASH(i32 noundef) local_unnamed_addr #1
declare i64 @ether_addr_equal(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printk(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 = !{!"ap_data", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"sta_info", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!12, !8, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
|
linux_drivers_net_wireless_intersil_hostap_extr_hostap_ap.c_ap_sta_hash_del
|
; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_ymf753_spdif_output_pin_get.c'
source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_ymf753_spdif_output_pin_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"
@AC97_YMF7X3_DIT_CTRL = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ac97_ymf753_spdif_output_pin_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_ac97_ymf753_spdif_output_pin_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr @AC97_YMF7X3_DIT_CTRL, align 8, !tbaa !10
%6 = getelementptr inbounds i16, ptr %4, i64 %5
%7 = load i16, ptr %6, align 2, !tbaa !12
%8 = zext i16 %7 to i32
%9 = and i32 %8, 8
%10 = icmp eq i32 %9, 0
%11 = lshr i32 %8, 5
%12 = and i32 %11, 1
%13 = select i1 %10, i32 %12, i32 2
%14 = load ptr, ptr %1, align 8, !tbaa !14
store i32 %13, ptr %14, align 4, !tbaa !18
ret i32 0
}
declare ptr @snd_kcontrol_chip(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_ac97", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"snd_ctl_elem_value", !16, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"TYPE_3__", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_ymf753_spdif_output_pin_get.c'
source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_ymf753_spdif_output_pin_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC97_YMF7X3_DIT_CTRL = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_ac97_ymf753_spdif_output_pin_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @snd_ac97_ymf753_spdif_output_pin_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr @AC97_YMF7X3_DIT_CTRL, align 8, !tbaa !11
%6 = getelementptr inbounds i16, ptr %4, i64 %5
%7 = load i16, ptr %6, align 2, !tbaa !13
%8 = zext i16 %7 to i32
%9 = and i32 %8, 8
%10 = icmp eq i32 %9, 0
%11 = lshr i32 %8, 5
%12 = and i32 %11, 1
%13 = select i1 %10, i32 %12, i32 2
%14 = load ptr, ptr %1, align 8, !tbaa !15
store i32 %13, ptr %14, align 4, !tbaa !19
ret i32 0
}
declare ptr @snd_kcontrol_chip(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_ac97", !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 = !{!"long", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"snd_ctl_elem_value", !17, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"TYPE_3__", !8, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !9, i64 0}
|
linux_sound_pci_ac97_extr_ac97_patch.c_snd_ac97_ymf753_spdif_output_pin_get
|
; ModuleID = 'AnghaBench/redis/deps/jemalloc/src/extr_pages.c_pages_nohuge_impl.c'
source_filename = "AnghaBench/redis/deps/jemalloc/src/extr_pages.c_pages_nohuge_impl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MADV_NOHUGEPAGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pages_nohuge_impl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @pages_nohuge_impl(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %14, label %5
5: ; preds = %3
%6 = tail call ptr @HUGEPAGE_ADDR2BASE(ptr noundef %0) #2
%7 = icmp eq ptr %6, %0
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 noundef %8) #2
%10 = tail call i64 @HUGEPAGE_CEILING(i64 noundef %1) #2
%11 = icmp eq i64 %10, %1
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 noundef %12) #2
br label %14
14: ; preds = %5, %3
ret i32 0
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @HUGEPAGE_ADDR2BASE(ptr noundef) local_unnamed_addr #1
declare i64 @HUGEPAGE_CEILING(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
|
; ModuleID = 'AnghaBench/redis/deps/jemalloc/src/extr_pages.c_pages_nohuge_impl.c'
source_filename = "AnghaBench/redis/deps/jemalloc/src/extr_pages.c_pages_nohuge_impl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MADV_NOHUGEPAGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pages_nohuge_impl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @pages_nohuge_impl(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = icmp eq i32 %2, 0
br i1 %4, label %14, label %5
5: ; preds = %3
%6 = tail call ptr @HUGEPAGE_ADDR2BASE(ptr noundef %0) #2
%7 = icmp eq ptr %6, %0
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 noundef %8) #2
%10 = tail call i64 @HUGEPAGE_CEILING(i64 noundef %1) #2
%11 = icmp eq i64 %10, %1
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 noundef %12) #2
br label %14
14: ; preds = %5, %3
ret i32 0
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare ptr @HUGEPAGE_ADDR2BASE(ptr noundef) local_unnamed_addr #1
declare i64 @HUGEPAGE_CEILING(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)"}
|
redis_deps_jemalloc_src_extr_pages.c_pages_nohuge_impl
|
; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dpb_count_v6.c'
source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dpb_count_v6.c"
target datalayout = "e-m:e-p270:32:32-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 @s5p_mfc_get_dpb_count_v6], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s5p_mfc_get_dpb_count_v6(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = tail call i32 @readl(i32 noundef %3) #2
ret i32 %4
}
declare i32 @readl(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 = !{!"s5p_mfc_dev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dpb_count_v6.c'
source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dpb_count_v6.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 @s5p_mfc_get_dpb_count_v6], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s5p_mfc_get_dpb_count_v6(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = tail call i32 @readl(i32 noundef %3) #2
ret i32 %4
}
declare i32 @readl(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 = !{!"s5p_mfc_dev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
|
linux_drivers_media_platform_s5p-mfc_extr_s5p_mfc_opr_v6.c_s5p_mfc_get_dpb_count_v6
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/virtio/extr_virtgpu_fence.c_virtio_gpu_fence_emit.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/virtio/extr_virtgpu_fence.c_virtio_gpu_fence_emit.c"
target datalayout = "e-m:e-p270:32:32-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.virtio_gpu_fence_driver = type { i32, i32, i64 }
%struct.virtio_gpu_fence = type { %struct.TYPE_3__, i32 }
%struct.TYPE_3__ = type { i64 }
%struct.virtio_gpu_ctrl_hdr = type { i32, i32 }
@VIRTIO_GPU_FLAG_FENCE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @virtio_gpu_fence_emit(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%5 = getelementptr inbounds %struct.virtio_gpu_fence_driver, ptr %0, i64 0, i32 2
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = add nsw i64 %6, 1
store i64 %7, ptr %5, align 8, !tbaa !5
store i64 %7, ptr %2, align 8, !tbaa !11
%8 = tail call i32 @dma_fence_get(ptr noundef nonnull %2) #2
%9 = getelementptr inbounds %struct.virtio_gpu_fence, ptr %2, i64 0, i32 1
%10 = getelementptr inbounds %struct.virtio_gpu_fence_driver, ptr %0, i64 0, i32 1
%11 = tail call i32 @list_add_tail(ptr noundef nonnull %9, ptr noundef nonnull %10) #2
%12 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
%13 = tail call i32 @trace_dma_fence_emit(ptr noundef nonnull %2) #2
%14 = load i32, ptr @VIRTIO_GPU_FLAG_FENCE, align 4, !tbaa !14
%15 = tail call i32 @cpu_to_le32(i32 noundef %14) #2
%16 = getelementptr inbounds %struct.virtio_gpu_ctrl_hdr, ptr %1, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = or i32 %17, %15
store i32 %18, ptr %16, align 4, !tbaa !15
%19 = load i64, ptr %2, align 8, !tbaa !11
%20 = tail call i32 @cpu_to_le64(i64 noundef %19) #2
store i32 %20, ptr %1, align 4, !tbaa !17
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dma_fence_get(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @trace_dma_fence_emit(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le64(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, !10, i64 8}
!6 = !{!"virtio_gpu_fence_driver", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"virtio_gpu_fence", !13, i64 0, !7, i64 8}
!13 = !{!"TYPE_3__", !10, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 4}
!16 = !{!"virtio_gpu_ctrl_hdr", !7, i64 0, !7, i64 4}
!17 = !{!16, !7, i64 0}
|
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/virtio/extr_virtgpu_fence.c_virtio_gpu_fence_emit.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/virtio/extr_virtgpu_fence.c_virtio_gpu_fence_emit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VIRTIO_GPU_FLAG_FENCE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @virtio_gpu_fence_emit(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = add nsw i64 %6, 1
store i64 %7, ptr %5, align 8, !tbaa !6
store i64 %7, ptr %2, align 8, !tbaa !12
%8 = tail call i32 @dma_fence_get(ptr noundef nonnull %2) #2
%9 = getelementptr inbounds i8, ptr %2, i64 8
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = tail call i32 @list_add_tail(ptr noundef nonnull %9, ptr noundef nonnull %10) #2
%12 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
%13 = tail call i32 @trace_dma_fence_emit(ptr noundef nonnull %2) #2
%14 = load i32, ptr @VIRTIO_GPU_FLAG_FENCE, align 4, !tbaa !15
%15 = tail call i32 @cpu_to_le32(i32 noundef %14) #2
%16 = getelementptr inbounds i8, ptr %1, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = or i32 %17, %15
store i32 %18, ptr %16, align 4, !tbaa !16
%19 = load i64, ptr %2, align 8, !tbaa !12
%20 = tail call i32 @cpu_to_le64(i64 noundef %19) #2
store i32 %20, ptr %1, align 4, !tbaa !18
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @dma_fence_get(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @trace_dma_fence_emit(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le64(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, !11, i64 8}
!7 = !{!"virtio_gpu_fence_driver", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"virtio_gpu_fence", !14, i64 0, !8, i64 8}
!14 = !{!"TYPE_3__", !11, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 4}
!17 = !{!"virtio_gpu_ctrl_hdr", !8, i64 0, !8, i64 4}
!18 = !{!17, !8, i64 0}
|
linux_drivers_gpu_drm_virtio_extr_virtgpu_fence.c_virtio_gpu_fence_emit
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.