IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/bin/test/extr_test.c_getq.c'
source_filename = "AnghaBench/freebsd/bin/test/extr_test.c_getq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@errno = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [15 x i8] c"%s: bad number\00", align 1
@EINVAL = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [17 x i8] c"%s: out of range\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @getq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @getq(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr @errno, align 8, !tbaa !5
%3 = call i32 @strtoimax(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 10) #3
%4 = load ptr, ptr %2, align 8, !tbaa !9
%5 = icmp eq ptr %4, %0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @error(ptr noundef nonnull @.str, ptr noundef %0) #3
br label %8
8: ; preds = %6, %1
%9 = load i64, ptr @errno, align 8, !tbaa !5
%10 = icmp eq i64 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = load i64, ptr @EINVAL, align 8, !tbaa !5
%13 = icmp eq i64 %9, %12
%14 = select i1 %13, ptr @.str, ptr @.str.1
%15 = call i32 @error(ptr noundef nonnull %14, ptr noundef %0) #3
br label %16
16: ; preds = %11, %8
%17 = load ptr, ptr %2, align 8, !tbaa !9
%18 = load i8, ptr %17, align 1, !tbaa !11
%19 = call i64 @isspace(i8 noundef zeroext %18) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %16, %21
%22 = load ptr, ptr %2, align 8, !tbaa !9
%23 = getelementptr inbounds i8, ptr %22, i64 1
store ptr %23, ptr %2, align 8, !tbaa !9
%24 = load i8, ptr %23, align 1, !tbaa !11
%25 = call i64 @isspace(i8 noundef zeroext %24) #3
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %21, !llvm.loop !12
27: ; preds = %21, %16
%28 = load ptr, ptr %2, align 8, !tbaa !9
%29 = load i8, ptr %28, align 1, !tbaa !11
%30 = icmp eq i8 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %27
%32 = call i32 @error(ptr noundef nonnull @.str, ptr noundef %0) #3
br label %33
33: ; preds = %31, %27
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %3
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @strtoimax(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @isspace(i8 noundef zeroext) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/bin/test/extr_test.c_getq.c'
source_filename = "AnghaBench/freebsd/bin/test/extr_test.c_getq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [15 x i8] c"%s: bad number\00", align 1
@EINVAL = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [17 x i8] c"%s: out of range\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @getq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @getq(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr @errno, align 8, !tbaa !6
%3 = call i32 @strtoimax(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 10) #3
%4 = load ptr, ptr %2, align 8, !tbaa !10
%5 = icmp eq ptr %4, %0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @error(ptr noundef nonnull @.str, ptr noundef %0) #3
br label %8
8: ; preds = %6, %1
%9 = load i64, ptr @errno, align 8, !tbaa !6
%10 = icmp eq i64 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %8
%12 = load i64, ptr @EINVAL, align 8, !tbaa !6
%13 = icmp eq i64 %9, %12
%14 = select i1 %13, ptr @.str, ptr @.str.1
%15 = call i32 @error(ptr noundef nonnull %14, ptr noundef %0) #3
br label %16
16: ; preds = %11, %8
%17 = load ptr, ptr %2, align 8, !tbaa !10
%18 = load i8, ptr %17, align 1, !tbaa !12
%19 = call i64 @isspace(i8 noundef zeroext %18) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %16, %21
%22 = load ptr, ptr %2, align 8, !tbaa !10
%23 = getelementptr inbounds i8, ptr %22, i64 1
store ptr %23, ptr %2, align 8, !tbaa !10
%24 = load i8, ptr %23, align 1, !tbaa !12
%25 = call i64 @isspace(i8 noundef zeroext %24) #3
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %21, !llvm.loop !13
27: ; preds = %21, %16
%28 = load ptr, ptr %2, align 8, !tbaa !10
%29 = load i8, ptr %28, align 1, !tbaa !12
%30 = icmp eq i8 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %27
%32 = call i32 @error(ptr noundef nonnull @.str, ptr noundef %0) #3
br label %33
33: ; preds = %31, %27
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %3
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @strtoimax(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @isspace(i8 noundef zeroext) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| freebsd_bin_test_extr_test.c_getq |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_debug.h_ath5k_debug_init_device.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_debug.h_ath5k_debug_init_device.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath5k_debug_init_device], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @ath5k_debug_init_device(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_debug.h_ath5k_debug_init_device.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_debug.h_ath5k_debug_init_device.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 @ath5k_debug_init_device], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @ath5k_debug_init_device(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_wireless_ath_ath5k_extr_debug.h_ath5k_debug_init_device |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_fast_pac.c_eap_fast_parse_pac_type.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_fast_pac.c_eap_fast_parse_pac_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Cannot parse pac type\00", align 1
@PAC_TYPE_TUNNEL_PAC = dso_local local_unnamed_addr global i64 0, align 8
@PAC_TYPE_USER_AUTHORIZATION = dso_local local_unnamed_addr global i64 0, align 8
@PAC_TYPE_MACHINE_AUTHENTICATION = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [22 x i8] c"Unrecognized PAC-Type\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @eap_fast_parse_pac_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @eap_fast_parse_pac_type(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %15, label %4
4: ; preds = %2
%5 = tail call i64 @atoi(ptr noundef nonnull %1) #2
store i64 %5, ptr %0, align 8, !tbaa !5
%6 = load i64, ptr @PAC_TYPE_TUNNEL_PAC, align 8, !tbaa !10
%7 = icmp eq i64 %5, %6
%8 = load i64, ptr @PAC_TYPE_USER_AUTHORIZATION, align 8
%9 = icmp eq i64 %5, %8
%10 = select i1 %7, i1 true, i1 %9
%11 = load i64, ptr @PAC_TYPE_MACHINE_AUTHENTICATION, align 8
%12 = icmp eq i64 %5, %11
%13 = select i1 %10, i1 true, i1 %12
%14 = select i1 %13, ptr null, ptr @.str.1
br label %15
15: ; preds = %4, %2
%16 = phi ptr [ @.str, %2 ], [ %14, %4 ]
ret ptr %16
}
declare i64 @atoi(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 = !{!"eap_fast_pac", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_fast_pac.c_eap_fast_parse_pac_type.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_fast_pac.c_eap_fast_parse_pac_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [22 x i8] c"Cannot parse pac type\00", align 1
@PAC_TYPE_TUNNEL_PAC = common local_unnamed_addr global i64 0, align 8
@PAC_TYPE_USER_AUTHORIZATION = common local_unnamed_addr global i64 0, align 8
@PAC_TYPE_MACHINE_AUTHENTICATION = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [22 x i8] c"Unrecognized PAC-Type\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @eap_fast_parse_pac_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @eap_fast_parse_pac_type(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %15, label %4
4: ; preds = %2
%5 = tail call i64 @atoi(ptr noundef nonnull %1) #2
store i64 %5, ptr %0, align 8, !tbaa !6
%6 = load i64, ptr @PAC_TYPE_TUNNEL_PAC, align 8, !tbaa !11
%7 = icmp eq i64 %5, %6
%8 = load i64, ptr @PAC_TYPE_USER_AUTHORIZATION, align 8
%9 = icmp eq i64 %5, %8
%10 = select i1 %7, i1 true, i1 %9
%11 = load i64, ptr @PAC_TYPE_MACHINE_AUTHENTICATION, align 8
%12 = icmp eq i64 %5, %11
%13 = select i1 %10, i1 true, i1 %12
%14 = select i1 %13, ptr null, ptr @.str.1
br label %15
15: ; preds = %4, %2
%16 = phi ptr [ @.str, %2 ], [ %14, %4 ]
ret ptr %16
}
declare i64 @atoi(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 = !{!"eap_fast_pac", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_contrib_wpa_src_eap_peer_extr_eap_fast_pac.c_eap_fast_parse_pac_type |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_btc_dpm.c_btc_cg_clock_gating_default.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_btc_dpm.c_btc_cg_clock_gating_default.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CHIP_BARTS = dso_local local_unnamed_addr global i64 0, align 8
@barts_cgcg_cgls_default = dso_local global i32 0, align 4
@BARTS_CGCG_CGLS_DEFAULT_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@CHIP_TURKS = dso_local local_unnamed_addr global i64 0, align 8
@turks_cgcg_cgls_default = dso_local global i32 0, align 4
@TURKS_CGCG_CGLS_DEFAULT_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@CHIP_CAICOS = dso_local local_unnamed_addr global i64 0, align 8
@caicos_cgcg_cgls_default = dso_local global i32 0, align 4
@CAICOS_CGCG_CGLS_DEFAULT_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @btc_cg_clock_gating_default], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @btc_cg_clock_gating_default(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @CHIP_BARTS, align 8, !tbaa !10
%4 = icmp eq i64 %2, %3
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = load i64, ptr @CHIP_TURKS, align 8, !tbaa !10
%7 = icmp eq i64 %2, %6
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i64, ptr @CHIP_CAICOS, align 8, !tbaa !10
%10 = icmp eq i64 %2, %9
br i1 %10, label %11, label %16
11: ; preds = %8, %5, %1
%12 = phi ptr [ @BARTS_CGCG_CGLS_DEFAULT_LENGTH, %1 ], [ @TURKS_CGCG_CGLS_DEFAULT_LENGTH, %5 ], [ @CAICOS_CGCG_CGLS_DEFAULT_LENGTH, %8 ]
%13 = phi ptr [ @barts_cgcg_cgls_default, %1 ], [ @turks_cgcg_cgls_default, %5 ], [ @caicos_cgcg_cgls_default, %8 ]
%14 = load i32, ptr %12, align 4, !tbaa !11
%15 = tail call i32 @btc_program_mgcg_hw_sequence(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %14) #2
br label %16
16: ; preds = %8, %11
ret void
}
declare i32 @btc_program_mgcg_hw_sequence(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 = !{!"radeon_device", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_btc_dpm.c_btc_cg_clock_gating_default.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_btc_dpm.c_btc_cg_clock_gating_default.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CHIP_BARTS = common local_unnamed_addr global i64 0, align 8
@barts_cgcg_cgls_default = common global i32 0, align 4
@BARTS_CGCG_CGLS_DEFAULT_LENGTH = common local_unnamed_addr global i32 0, align 4
@CHIP_TURKS = common local_unnamed_addr global i64 0, align 8
@turks_cgcg_cgls_default = common global i32 0, align 4
@TURKS_CGCG_CGLS_DEFAULT_LENGTH = common local_unnamed_addr global i32 0, align 4
@CHIP_CAICOS = common local_unnamed_addr global i64 0, align 8
@caicos_cgcg_cgls_default = common global i32 0, align 4
@CAICOS_CGCG_CGLS_DEFAULT_LENGTH = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @btc_cg_clock_gating_default], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @btc_cg_clock_gating_default(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @CHIP_BARTS, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = load i64, ptr @CHIP_TURKS, align 8, !tbaa !11
%7 = icmp eq i64 %2, %6
br i1 %7, label %11, label %8
8: ; preds = %5
%9 = load i64, ptr @CHIP_CAICOS, align 8, !tbaa !11
%10 = icmp eq i64 %2, %9
br i1 %10, label %11, label %16
11: ; preds = %8, %5, %1
%12 = phi ptr [ @BARTS_CGCG_CGLS_DEFAULT_LENGTH, %1 ], [ @TURKS_CGCG_CGLS_DEFAULT_LENGTH, %5 ], [ @CAICOS_CGCG_CGLS_DEFAULT_LENGTH, %8 ]
%13 = phi ptr [ @barts_cgcg_cgls_default, %1 ], [ @turks_cgcg_cgls_default, %5 ], [ @caicos_cgcg_cgls_default, %8 ]
%14 = load i32, ptr %12, align 4, !tbaa !12
%15 = tail call i32 @btc_program_mgcg_hw_sequence(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %14) #2
br label %16
16: ; preds = %8, %11
ret void
}
declare i32 @btc_program_mgcg_hw_sequence(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 = !{!"radeon_device", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_gpu_drm_radeon_extr_btc_dpm.c_btc_cg_clock_gating_default |
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_bd70528-charger.c_bd70528_get_present.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_bd70528-charger.c_bd70528_get_present.c"
target datalayout = "e-m:e-p270:32:32-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.bd70528_psy = type { i32, i32 }
@BD70528_REG_CHG_BAT_STAT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Battery state read failure %d\0A\00", align 1
@BD70528_MASK_CHG_BAT_DETECT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bd70528_get_present], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bd70528_get_present(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.bd70528_psy, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr @BD70528_REG_CHG_BAT_STAT, align 4, !tbaa !10
%7 = call i32 @regmap_read(i32 noundef %5, i32 noundef %6, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load i32, ptr %0, align 4, !tbaa !11
%11 = call i32 @dev_err(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %7) #3
br label %18
12: ; preds = %2
%13 = load i32, ptr %3, align 4, !tbaa !10
%14 = load i32, ptr @BD70528_MASK_CHG_BAT_DETECT, align 4, !tbaa !10
%15 = and i32 %14, %13
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i32
store i32 %17, ptr %1, align 4, !tbaa !10
br label %18
18: ; preds = %12, %9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"bd70528_psy", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_bd70528-charger.c_bd70528_get_present.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_bd70528-charger.c_bd70528_get_present.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BD70528_REG_CHG_BAT_STAT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Battery state read failure %d\0A\00", align 1
@BD70528_MASK_CHG_BAT_DETECT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bd70528_get_present], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bd70528_get_present(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr @BD70528_REG_CHG_BAT_STAT, align 4, !tbaa !11
%7 = call i32 @regmap_read(i32 noundef %5, i32 noundef %6, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load i32, ptr %0, align 4, !tbaa !12
%11 = call i32 @dev_err(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %7) #3
br label %18
12: ; preds = %2
%13 = load i32, ptr %3, align 4, !tbaa !11
%14 = load i32, ptr @BD70528_MASK_CHG_BAT_DETECT, align 4, !tbaa !11
%15 = and i32 %14, %13
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i32
store i32 %17, ptr %1, align 4, !tbaa !11
br label %18
18: ; preds = %12, %9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"bd70528_psy", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| linux_drivers_power_supply_extr_bd70528-charger.c_bd70528_get_present |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-calib.c_il4965_init_sensitivity.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-calib.c_il4965_init_sensitivity.c"
target datalayout = "e-m:e-p270:32:32-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.il_priv = type { %struct.il_sensitivity_data, i64, %struct.TYPE_2__ }
%struct.il_sensitivity_data = type { i64, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, i64, i64, i64, ptr, ptr, i64 }
%struct.TYPE_2__ = type { ptr }
%struct.il_sensitivity_ranges = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [31 x i8] c"Start il4965_init_sensitivity\0A\00", align 1
@IL_FA_TOO_MANY = dso_local local_unnamed_addr global ptr null, align 8
@NRG_NUM_PREV_STAT_L = dso_local local_unnamed_addr global i32 0, align 4
@AUTO_CORR_CCK_MIN_VAL_DEF = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"<<return 0x%X\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @il4965_init_sensitivity(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !14
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %39
7: ; preds = %1
%8 = tail call i32 (ptr, ...) @D_CALIB(ptr noundef nonnull @.str) #3
%9 = icmp eq ptr %3, null
br i1 %9, label %39, label %10
10: ; preds = %7
%11 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 144) #3
%12 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 22
store i64 0, ptr %12, align 8, !tbaa !15
%13 = load ptr, ptr @IL_FA_TOO_MANY, align 8, !tbaa !16
%14 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 21
store ptr %13, ptr %14, align 8, !tbaa !17
%15 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 20
store ptr %13, ptr %15, align 8, !tbaa !18
%16 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 17
%17 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %16, i8 0, i64 24, i1 false)
%18 = load ptr, ptr %17, align 8, !tbaa !19
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %18, i8 0, i64 80, i1 false), !tbaa !20
%19 = load i32, ptr @NRG_NUM_PREV_STAT_L, align 4, !tbaa !21
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %10
%22 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 15
%23 = load ptr, ptr %22, align 8, !tbaa !22
%24 = zext nneg i32 %19 to i64
%25 = shl nuw nsw i64 %24, 3
tail call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 %25, i1 false), !tbaa !20
br label %26
26: ; preds = %21, %10
%27 = getelementptr inbounds %struct.il_sensitivity_ranges, ptr %3, i64 0, i32 6
%28 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 11
%29 = load <4 x i32>, ptr %27, align 4, !tbaa !21
store <4 x i32> %29, ptr %28, align 4, !tbaa !21
%30 = load i32, ptr @AUTO_CORR_CCK_MIN_VAL_DEF, align 4, !tbaa !21
%31 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 10
store i32 %30, ptr %31, align 8, !tbaa !23
%32 = getelementptr inbounds %struct.il_sensitivity_ranges, ptr %3, i64 0, i32 4
%33 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 8
%34 = load <2 x i32>, ptr %32, align 4, !tbaa !21
store <2 x i32> %34, ptr %33, align 8, !tbaa !21
%35 = getelementptr inbounds %struct.il_sensitivity_data, ptr %0, i64 0, i32 4
%36 = load <4 x i32>, ptr %3, align 4, !tbaa !21
store <4 x i32> %36, ptr %35, align 8, !tbaa !21
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 0, i64 32, i1 false)
%37 = tail call i32 @il4965_sensitivity_write(ptr noundef nonnull %0) #3
%38 = tail call i32 (ptr, ...) @D_CALIB(ptr noundef nonnull @.str.1, i32 noundef %37) #3
br label %39
39: ; preds = %7, %1, %26
ret void
}
declare i32 @D_CALIB(ptr noundef, ...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il4965_sensitivity_write(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !12, i64 152}
!6 = !{!"il_priv", !7, i64 0, !8, i64 144, !13, i64 152}
!7 = !{!"il_sensitivity_data", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !12, i64 80, !12, i64 88, !8, i64 96, !8, i64 104, !8, i64 112, !12, i64 120, !12, i64 128, !8, i64 136}
!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 = !{!"TYPE_2__", !12, i64 0}
!14 = !{!6, !8, i64 144}
!15 = !{!7, !8, i64 136}
!16 = !{!12, !12, i64 0}
!17 = !{!7, !12, i64 128}
!18 = !{!7, !12, i64 120}
!19 = !{!7, !12, i64 88}
!20 = !{!8, !8, i64 0}
!21 = !{!11, !11, i64 0}
!22 = !{!7, !12, i64 80}
!23 = !{!7, !11, i64 56}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-calib.c_il4965_init_sensitivity.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-calib.c_il4965_init_sensitivity.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 [31 x i8] c"Start il4965_init_sensitivity\0A\00", align 1
@IL_FA_TOO_MANY = common local_unnamed_addr global ptr null, align 8
@NRG_NUM_PREV_STAT_L = common local_unnamed_addr global i32 0, align 4
@AUTO_CORR_CCK_MIN_VAL_DEF = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"<<return 0x%X\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @il4965_init_sensitivity(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 152
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 144
%5 = load i64, ptr %4, align 8, !tbaa !15
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %39
7: ; preds = %1
%8 = tail call i32 (ptr, ...) @D_CALIB(ptr noundef nonnull @.str) #3
%9 = icmp eq ptr %3, null
br i1 %9, label %39, label %10
10: ; preds = %7
%11 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 144) #3
%12 = getelementptr inbounds i8, ptr %0, i64 136
store i64 0, ptr %12, align 8, !tbaa !16
%13 = load ptr, ptr @IL_FA_TOO_MANY, align 8, !tbaa !17
%14 = getelementptr inbounds i8, ptr %0, i64 128
store ptr %13, ptr %14, align 8, !tbaa !18
%15 = getelementptr inbounds i8, ptr %0, i64 120
store ptr %13, ptr %15, align 8, !tbaa !19
%16 = getelementptr inbounds i8, ptr %0, i64 96
%17 = getelementptr inbounds i8, ptr %0, i64 88
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %16, i8 0, i64 24, i1 false)
%18 = load ptr, ptr %17, align 8, !tbaa !20
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %18, i8 0, i64 80, i1 false), !tbaa !21
%19 = load i32, ptr @NRG_NUM_PREV_STAT_L, align 4, !tbaa !22
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %10
%22 = getelementptr inbounds i8, ptr %0, i64 80
%23 = load ptr, ptr %22, align 8, !tbaa !23
%24 = zext nneg i32 %19 to i64
%25 = shl nuw nsw i64 %24, 3
tail call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 %25, i1 false), !tbaa !21
br label %26
26: ; preds = %21, %10
%27 = getelementptr inbounds i8, ptr %3, i64 24
%28 = getelementptr inbounds i8, ptr %0, i64 60
%29 = load <4 x i32>, ptr %27, align 4, !tbaa !22
store <4 x i32> %29, ptr %28, align 4, !tbaa !22
%30 = load i32, ptr @AUTO_CORR_CCK_MIN_VAL_DEF, align 4, !tbaa !22
%31 = getelementptr inbounds i8, ptr %0, i64 56
store i32 %30, ptr %31, align 8, !tbaa !24
%32 = getelementptr inbounds i8, ptr %3, i64 16
%33 = getelementptr inbounds i8, ptr %0, i64 48
%34 = load <2 x i32>, ptr %32, align 4, !tbaa !22
store <2 x i32> %34, ptr %33, align 8, !tbaa !22
%35 = getelementptr inbounds i8, ptr %0, i64 32
%36 = load <4 x i32>, ptr %3, align 4, !tbaa !22
store <4 x i32> %36, ptr %35, align 8, !tbaa !22
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 0, i64 32, i1 false)
%37 = tail call i32 @il4965_sensitivity_write(ptr noundef nonnull %0) #3
%38 = tail call i32 (ptr, ...) @D_CALIB(ptr noundef nonnull @.str.1, i32 noundef %37) #3
br label %39
39: ; preds = %7, %1, %26
ret void
}
declare i32 @D_CALIB(ptr noundef, ...) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @il4965_sensitivity_write(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !13, i64 152}
!7 = !{!"il_priv", !8, i64 0, !9, i64 144, !14, i64 152}
!8 = !{!"il_sensitivity_data", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !13, i64 80, !13, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !13, i64 120, !13, i64 128, !9, i64 136}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"TYPE_2__", !13, i64 0}
!15 = !{!7, !9, i64 144}
!16 = !{!8, !9, i64 136}
!17 = !{!13, !13, i64 0}
!18 = !{!8, !13, i64 128}
!19 = !{!8, !13, i64 120}
!20 = !{!8, !13, i64 88}
!21 = !{!9, !9, i64 0}
!22 = !{!12, !12, i64 0}
!23 = !{!8, !13, i64 80}
!24 = !{!8, !12, i64 56}
| fastsocket_kernel_drivers_net_wireless_iwlegacy_extr_4965-calib.c_il4965_init_sensitivity |
; ModuleID = 'AnghaBench/linux/drivers/phy/tegra/extr_phy-tegra194-p2u.c_p2u_writel.c'
source_filename = "AnghaBench/linux/drivers/phy/tegra/extr_phy-tegra194-p2u.c_p2u_writel.c"
target datalayout = "e-m:e-p270:32:32-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 @p2u_writel], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @p2u_writel(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = add nsw i64 %4, %2
%6 = tail call i32 @writel_relaxed(i64 noundef %1, i64 noundef %5) #2
ret void
}
declare i32 @writel_relaxed(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"tegra_p2u", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/phy/tegra/extr_phy-tegra194-p2u.c_p2u_writel.c'
source_filename = "AnghaBench/linux/drivers/phy/tegra/extr_phy-tegra194-p2u.c_p2u_writel.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 @p2u_writel], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @p2u_writel(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = add nsw i64 %4, %2
%6 = tail call i32 @writel_relaxed(i64 noundef %1, i64 noundef %5) #2
ret void
}
declare i32 @writel_relaxed(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"tegra_p2u", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_phy_tegra_extr_phy-tegra194-p2u.c_p2u_writel |
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_helpers.c_regulator_set_voltage_sel_regmap.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_helpers.c_regulator_set_voltage_sel_regmap.c"
target datalayout = "e-m:e-p270:32:32-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.regulator_dev = type { ptr, i32 }
%struct.TYPE_2__ = type { i32, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @regulator_set_voltage_sel_regmap(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = tail call i32 @llvm.cttz.i32(i32 %4, i1 true), !range !13
%6 = icmp eq i32 %4, 0
%7 = select i1 %6, i32 -1, i32 %5
%8 = shl i32 %1, %7
%9 = getelementptr inbounds %struct.regulator_dev, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 3
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = tail call i32 @regmap_update_bits(i32 noundef %10, i32 noundef %12, i32 noundef %4, i32 noundef %8) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %2
%16 = load ptr, ptr %0, align 8, !tbaa !5
%17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = icmp eq i32 %18, 0
br i1 %19, label %25, label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 8, !tbaa !14
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 2
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = tail call i32 @regmap_update_bits(i32 noundef %21, i32 noundef %23, i32 noundef %18, i32 noundef %18) #3
br label %25
25: ; preds = %15, %20, %2
%26 = phi i32 [ %13, %2 ], [ %24, %20 ], [ 0, %15 ]
ret i32 %26
}
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.cttz.i32(i32, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree 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 = !{!"regulator_dev", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!13 = !{i32 0, i32 33}
!14 = !{!6, !10, i64 8}
!15 = !{!12, !10, i64 12}
!16 = !{!12, !10, i64 4}
!17 = !{!12, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_helpers.c_regulator_set_voltage_sel_regmap.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_helpers.c_regulator_set_voltage_sel_regmap.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 @regulator_set_voltage_sel_regmap(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = tail call range(i32 0, 33) i32 @llvm.cttz.i32(i32 %4, i1 true)
%6 = icmp eq i32 %4, 0
%7 = select i1 %6, i32 -1, i32 %5
%8 = shl i32 %1, %7
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = getelementptr inbounds i8, ptr %3, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = tail call i32 @regmap_update_bits(i32 noundef %10, i32 noundef %12, i32 noundef %4, i32 noundef %8) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %25
15: ; preds = %2
%16 = load ptr, ptr %0, align 8, !tbaa !6
%17 = getelementptr inbounds i8, ptr %16, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = icmp eq i32 %18, 0
br i1 %19, label %25, label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 8, !tbaa !14
%22 = getelementptr inbounds i8, ptr %16, i64 8
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = tail call i32 @regmap_update_bits(i32 noundef %21, i32 noundef %23, i32 noundef %18, i32 noundef %18) #3
br label %25
25: ; preds = %15, %20, %2
%26 = phi i32 [ %13, %2 ], [ %24, %20 ], [ 0, %15 ]
ret i32 %26
}
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.cttz.i32(i32, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree 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 = !{!"regulator_dev", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!14 = !{!7, !11, i64 8}
!15 = !{!13, !11, i64 12}
!16 = !{!13, !11, i64 4}
!17 = !{!13, !11, i64 8}
| linux_drivers_regulator_extr_helpers.c_regulator_set_voltage_sel_regmap |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_freebsd.c_ar9300_reset_cal_valid_freebsd.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_freebsd.c_ar9300_reset_cal_valid_freebsd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AH_TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ar9300_reset_cal_valid_freebsd(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @AH_TRUE, align 4, !tbaa !5
store i32 %4, ptr %3, align 4, !tbaa !5
%5 = call i32 @ar9300_reset_cal_valid(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef -1) #3
%6 = load i32, ptr %3, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ar9300_reset_cal_valid(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_freebsd.c_ar9300_reset_cal_valid_freebsd.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_freebsd.c_ar9300_reset_cal_valid_freebsd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AH_TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ar9300_reset_cal_valid_freebsd(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr @AH_TRUE, align 4, !tbaa !6
store i32 %4, ptr %3, align 4, !tbaa !6
%5 = call i32 @ar9300_reset_cal_valid(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3, i32 noundef -1) #3
%6 = load i32, ptr %3, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ar9300_reset_cal_valid(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_contrib_dev_ath_ath_hal_ar9300_extr_ar9300_freebsd.c_ar9300_reset_cal_valid_freebsd |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext4/extr_extents.c_ext4_ext_put_in_cache.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext4/extr_extents.c_ext4_ext_put_in_cache.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, %struct.ext4_ext_cache }
%struct.ext4_ext_cache = type { i32, i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ext4_ext_put_in_cache], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ext4_ext_put_in_cache(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = icmp eq i64 %2, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = tail call ptr @EXT4_I(ptr noundef %0) #2
%9 = tail call i32 @spin_lock(ptr noundef %8) #2
%10 = tail call ptr @EXT4_I(ptr noundef %0) #2
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1, i32 2
store i32 %1, ptr %12, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1, i32 1
store i64 %2, ptr %13, align 8, !tbaa !11
store i32 %3, ptr %11, align 8, !tbaa !12
%14 = tail call ptr @EXT4_I(ptr noundef %0) #2
%15 = tail call i32 @spin_unlock(ptr noundef %14) #2
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @EXT4_I(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"ext4_ext_cache", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ext4/extr_extents.c_ext4_ext_put_in_cache.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ext4/extr_extents.c_ext4_ext_put_in_cache.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 @ext4_ext_put_in_cache], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ext4_ext_put_in_cache(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = icmp eq i64 %2, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @BUG_ON(i32 noundef %6) #2
%8 = tail call ptr @EXT4_I(ptr noundef %0) #2
%9 = tail call i32 @spin_lock(ptr noundef %8) #2
%10 = tail call ptr @EXT4_I(ptr noundef %0) #2
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = getelementptr inbounds i8, ptr %10, i64 24
store i32 %1, ptr %12, align 8, !tbaa !6
%13 = getelementptr inbounds i8, ptr %10, i64 16
store i64 %2, ptr %13, align 8, !tbaa !12
store i32 %3, ptr %11, align 8, !tbaa !13
%14 = tail call ptr @EXT4_I(ptr noundef %0) #2
%15 = tail call i32 @spin_unlock(ptr noundef %14) #2
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare ptr @EXT4_I(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"ext4_ext_cache", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 0}
| fastsocket_kernel_fs_ext4_extr_extents.c_ext4_ext_put_in_cache |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-ilitek-ili9881c.c_ili9881c_dsi_remove.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-ilitek-ili9881c.c_ili9881c_dsi_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ili9881c = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ili9881c_dsi_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ili9881c_dsi_remove(ptr noundef %0) #0 {
%2 = tail call ptr @mipi_dsi_get_drvdata(ptr noundef %0) #2
%3 = tail call i32 @mipi_dsi_detach(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.ili9881c, ptr %2, i64 0, i32 1
%5 = tail call i32 @drm_panel_remove(ptr noundef nonnull %4) #2
%6 = load ptr, ptr %2, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @put_device(ptr noundef nonnull %6) #2
br label %10
10: ; preds = %8, %1
ret i32 0
}
declare ptr @mipi_dsi_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mipi_dsi_detach(ptr noundef) local_unnamed_addr #1
declare i32 @drm_panel_remove(ptr noundef) local_unnamed_addr #1
declare i32 @put_device(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ili9881c", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-ilitek-ili9881c.c_ili9881c_dsi_remove.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-ilitek-ili9881c.c_ili9881c_dsi_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ili9881c_dsi_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ili9881c_dsi_remove(ptr noundef %0) #0 {
%2 = tail call ptr @mipi_dsi_get_drvdata(ptr noundef %0) #2
%3 = tail call i32 @mipi_dsi_detach(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %2, i64 8
%5 = tail call i32 @drm_panel_remove(ptr noundef nonnull %4) #2
%6 = load ptr, ptr %2, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @put_device(ptr noundef nonnull %6) #2
br label %10
10: ; preds = %8, %1
ret i32 0
}
declare ptr @mipi_dsi_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @mipi_dsi_detach(ptr noundef) local_unnamed_addr #1
declare i32 @drm_panel_remove(ptr noundef) local_unnamed_addr #1
declare i32 @put_device(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ili9881c", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
| linux_drivers_gpu_drm_panel_extr_panel-ilitek-ili9881c.c_ili9881c_dsi_remove |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/extr_display_rq_dlg_calc_20v2.c_dml20v2_rq_dlg_get_dlg_reg.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/extr_display_rq_dlg_calc_20v2.c_dml20v2_rq_dlg_get_dlg_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"
%struct.TYPE_21__ = type { i32, i32 }
%struct.TYPE_23__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_22__ = type { %struct.TYPE_20__ }
%struct.TYPE_20__ = type { i32 }
@.str = private unnamed_addr constant [42 x i8] c"DML_DLG: Calculation for pipe[%d] start\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"DML_DLG: Calculation for pipe[%d] end\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @dml20v2_rq_dlg_get_dlg_reg(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) local_unnamed_addr #0 {
%12 = alloca %struct.TYPE_21__, align 8
%13 = alloca %struct.TYPE_23__, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
store i64 0, ptr %12, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #3
%14 = getelementptr inbounds i8, ptr %13, i64 32
store i64 0, ptr %14, align 8
%15 = tail call i32 @get_wm_urgent(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%16 = getelementptr inbounds %struct.TYPE_23__, ptr %13, i64 0, i32 8
store i32 %15, ptr %16, align 8, !tbaa !5
%17 = tail call i32 @get_clk_dcf_deepsleep(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
store i32 %17, ptr %13, align 8, !tbaa !10
%18 = tail call i32 @get_urgent_extra_latency(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%19 = getelementptr inbounds %struct.TYPE_23__, ptr %13, i64 0, i32 7
store i32 %18, ptr %19, align 4, !tbaa !11
%20 = tail call i32 @get_wm_memory_trip(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%21 = getelementptr inbounds %struct.TYPE_23__, ptr %13, i64 0, i32 6
store i32 %20, ptr %21, align 8, !tbaa !12
%22 = tail call i32 @get_wm_dram_clock_change(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%23 = getelementptr inbounds %struct.TYPE_23__, ptr %13, i64 0, i32 5
store i32 %22, ptr %23, align 4, !tbaa !13
%24 = tail call i32 @get_wm_stutter_enter_exit(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%25 = getelementptr inbounds %struct.TYPE_23__, ptr %13, i64 0, i32 4
store i32 %24, ptr %25, align 8, !tbaa !14
%26 = tail call i32 @get_total_immediate_flip_bw(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%27 = getelementptr inbounds %struct.TYPE_23__, ptr %13, i64 0, i32 3
store i32 %26, ptr %27, align 4, !tbaa !15
%28 = tail call i32 @get_total_immediate_flip_bytes(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%29 = getelementptr inbounds %struct.TYPE_23__, ptr %13, i64 0, i32 2
store i32 %28, ptr %29, align 8, !tbaa !16
%30 = load i32, ptr %0, align 4, !tbaa !17
%31 = sdiv i32 %30, %17
%32 = getelementptr inbounds %struct.TYPE_23__, ptr %13, i64 0, i32 1
store i32 %31, ptr %32, align 4, !tbaa !20
%33 = tail call i32 @print__dlg_sys_params_st(ptr noundef nonnull %0, ptr noundef nonnull byval(%struct.TYPE_23__) align 8 %13) #3
%34 = tail call i32 @dml_print(ptr noundef nonnull @.str, i32 noundef %5) #3
%35 = zext i32 %5 to i64
%36 = getelementptr inbounds %struct.TYPE_22__, ptr %3, i64 %35
%37 = load i32, ptr %36, align 4, !tbaa !21
%38 = call i32 @dml20v2_rq_dlg_get_rq_params(ptr noundef nonnull %0, ptr noundef nonnull %12, i32 noundef %37) #3
%39 = load i32, ptr %12, align 8, !tbaa !24
%40 = call i32 @dml20v2_rq_dlg_get_dlg_params(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %1, ptr noundef %2, i32 noundef %39, ptr noundef nonnull byval(%struct.TYPE_23__) align 8 %13, i32 noundef %6, i32 noundef %7) #3
%41 = call i32 @dml_print(ptr noundef nonnull @.str.1, i32 noundef %5) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #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 @get_wm_urgent(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_clk_dcf_deepsleep(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_urgent_extra_latency(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_wm_memory_trip(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_wm_dram_clock_change(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_wm_stutter_enter_exit(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_total_immediate_flip_bw(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_total_immediate_flip_bytes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @print__dlg_sys_params_st(ptr noundef, ptr noundef byval(%struct.TYPE_23__) align 8) local_unnamed_addr #2
declare i32 @dml_print(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dml20v2_rq_dlg_get_rq_params(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dml20v2_rq_dlg_get_dlg_params(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef byval(%struct.TYPE_23__) align 8, 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 32}
!6 = !{!"TYPE_23__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!6, !7, i64 28}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !7, i64 20}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !7, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"display_mode_lib", !19, i64 0}
!19 = !{!"TYPE_19__", !7, i64 0}
!20 = !{!6, !7, i64 4}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_22__", !23, i64 0}
!23 = !{!"TYPE_20__", !7, i64 0}
!24 = !{!25, !7, i64 0}
!25 = !{!"TYPE_21__", !7, i64 0, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/extr_display_rq_dlg_calc_20v2.c_dml20v2_rq_dlg_get_dlg_reg.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/extr_display_rq_dlg_calc_20v2.c_dml20v2_rq_dlg_get_dlg_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_21__ = type { i32, i32 }
%struct.TYPE_23__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_22__ = type { %struct.TYPE_20__ }
%struct.TYPE_20__ = type { i32 }
@.str = private unnamed_addr constant [42 x i8] c"DML_DLG: Calculation for pipe[%d] start\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"DML_DLG: Calculation for pipe[%d] end\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @dml20v2_rq_dlg_get_dlg_reg(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10) local_unnamed_addr #0 {
%12 = alloca %struct.TYPE_21__, align 8
%13 = alloca %struct.TYPE_23__, align 4
%14 = alloca %struct.TYPE_23__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
store i64 0, ptr %12, align 8
%15 = tail call i32 @get_wm_urgent(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%16 = tail call i32 @get_clk_dcf_deepsleep(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%17 = tail call i32 @get_urgent_extra_latency(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%18 = tail call i32 @get_wm_memory_trip(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%19 = tail call i32 @get_wm_dram_clock_change(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%20 = tail call i32 @get_wm_stutter_enter_exit(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%21 = tail call i32 @get_total_immediate_flip_bw(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%22 = tail call i32 @get_total_immediate_flip_bytes(ptr noundef %0, ptr noundef %3, i32 noundef %4) #3
%23 = load i32, ptr %0, align 4, !tbaa !6
%24 = sdiv i32 %23, %16
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #3
store i32 %16, ptr %13, align 4, !tbaa !12
%25 = getelementptr inbounds i8, ptr %13, i64 4
store i32 %24, ptr %25, align 4, !tbaa !12
%26 = getelementptr inbounds i8, ptr %13, i64 8
store i32 %22, ptr %26, align 4, !tbaa !12
%27 = getelementptr inbounds i8, ptr %13, i64 12
store i32 %21, ptr %27, align 4, !tbaa !12
%28 = getelementptr inbounds i8, ptr %13, i64 16
store i32 %20, ptr %28, align 4, !tbaa !12
%29 = getelementptr inbounds i8, ptr %13, i64 20
store i32 %19, ptr %29, align 4, !tbaa !12
%30 = getelementptr inbounds i8, ptr %13, i64 24
store i32 %18, ptr %30, align 4, !tbaa !12
%31 = getelementptr inbounds i8, ptr %13, i64 28
store i32 %17, ptr %31, align 4, !tbaa !12
%32 = getelementptr inbounds i8, ptr %13, i64 32
store i32 %15, ptr %32, align 4, !tbaa !12
%33 = getelementptr inbounds i8, ptr %13, i64 36
store i32 0, ptr %33, align 4, !tbaa !12
%34 = call i32 @print__dlg_sys_params_st(ptr noundef nonnull %0, ptr noundef nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #3
%35 = call i32 @dml_print(ptr noundef nonnull @.str, i32 noundef %5) #3
%36 = zext i32 %5 to i64
%37 = getelementptr inbounds %struct.TYPE_22__, ptr %3, i64 %36
%38 = load i32, ptr %37, align 4, !tbaa !13
%39 = call i32 @dml20v2_rq_dlg_get_rq_params(ptr noundef nonnull %0, ptr noundef nonnull %12, i32 noundef %38) #3
%40 = load i32, ptr %12, align 8, !tbaa !16
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #3
store i32 %16, ptr %14, align 4, !tbaa !12
%41 = getelementptr inbounds i8, ptr %14, i64 4
store i32 %24, ptr %41, align 4, !tbaa !12
%42 = getelementptr inbounds i8, ptr %14, i64 8
store i32 %22, ptr %42, align 4, !tbaa !12
%43 = getelementptr inbounds i8, ptr %14, i64 12
store i32 %21, ptr %43, align 4, !tbaa !12
%44 = getelementptr inbounds i8, ptr %14, i64 16
store i32 %20, ptr %44, align 4, !tbaa !12
%45 = getelementptr inbounds i8, ptr %14, i64 20
store i32 %19, ptr %45, align 4, !tbaa !12
%46 = getelementptr inbounds i8, ptr %14, i64 24
store i32 %18, ptr %46, align 4, !tbaa !12
%47 = getelementptr inbounds i8, ptr %14, i64 28
store i32 %17, ptr %47, align 4, !tbaa !12
%48 = getelementptr inbounds i8, ptr %14, i64 32
store i32 %15, ptr %48, align 4, !tbaa !12
%49 = getelementptr inbounds i8, ptr %14, i64 36
store i32 0, ptr %49, align 4, !tbaa !12
%50 = call i32 @dml20v2_rq_dlg_get_dlg_params(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %1, ptr noundef %2, i32 noundef %40, ptr noundef nonnull %14, i32 noundef %6, i32 noundef %7) #3
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #3
%51 = call i32 @dml_print(ptr noundef nonnull @.str.1, i32 noundef %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #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 @get_wm_urgent(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_clk_dcf_deepsleep(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_urgent_extra_latency(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_wm_memory_trip(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_wm_dram_clock_change(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_wm_stutter_enter_exit(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_total_immediate_flip_bw(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_total_immediate_flip_bytes(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @print__dlg_sys_params_st(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
declare i32 @dml_print(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dml20v2_rq_dlg_get_rq_params(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dml20v2_rq_dlg_get_dlg_params(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 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, !9, i64 0}
!7 = !{!"display_mode_lib", !8, i64 0}
!8 = !{!"TYPE_19__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
!13 = !{!14, !9, i64 0}
!14 = !{!"TYPE_22__", !15, i64 0}
!15 = !{!"TYPE_20__", !9, i64 0}
!16 = !{!17, !9, i64 0}
!17 = !{!"TYPE_21__", !9, i64 0, !9, i64 4}
| linux_drivers_gpu_drm_amd_display_dc_dml_dcn20_extr_display_rq_dlg_calc_20v2.c_dml20v2_rq_dlg_get_dlg_reg |
; ModuleID = 'AnghaBench/linux/drivers/staging/most/dim2/extr_hal.c_dim_detach_buffers.c'
source_filename = "AnghaBench/linux/drivers/staging/most/dim2/extr_hal.c_dim_detach_buffers.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DIM_ERR_DRIVER_NOT_INITIALIZED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"Bad channel\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @dim_detach_buffers(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = load i32, ptr @DIM_ERR_DRIVER_NOT_INITIALIZED, align 4, !tbaa !5
%6 = tail call i32 @dim_on_error(i32 noundef %5, ptr noundef nonnull @.str) #2
br label %9
7: ; preds = %2
%8 = tail call i32 @channel_detach_buffers(ptr noundef nonnull %0, i32 noundef %1) #2
br label %9
9: ; preds = %7, %4
%10 = phi i32 [ %8, %7 ], [ %6, %4 ]
ret i32 %10
}
declare i32 @dim_on_error(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @channel_detach_buffers(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/most/dim2/extr_hal.c_dim_detach_buffers.c'
source_filename = "AnghaBench/linux/drivers/staging/most/dim2/extr_hal.c_dim_detach_buffers.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DIM_ERR_DRIVER_NOT_INITIALIZED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"Bad channel\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dim_detach_buffers(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = load i32, ptr @DIM_ERR_DRIVER_NOT_INITIALIZED, align 4, !tbaa !6
%6 = tail call i32 @dim_on_error(i32 noundef %5, ptr noundef nonnull @.str) #2
br label %9
7: ; preds = %2
%8 = tail call i32 @channel_detach_buffers(ptr noundef nonnull %0, i32 noundef %1) #2
br label %9
9: ; preds = %7, %4
%10 = phi i32 [ %8, %7 ], [ %6, %4 ]
ret i32 %10
}
declare i32 @dim_on_error(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @channel_detach_buffers(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_staging_most_dim2_extr_hal.c_dim_detach_buffers |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_pl2303.c_pl2303_buf_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_pl2303.c_pl2303_buf_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @pl2303_buf_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pl2303_buf_free(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @kfree(ptr noundef %4) #2
%6 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %3, %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 = !{!"pl2303_buf", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_pl2303.c_pl2303_buf_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/serial/extr_pl2303.c_pl2303_buf_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @pl2303_buf_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pl2303_buf_free(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @kfree(ptr noundef %4) #2
%6 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %3, %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 = !{!"pl2303_buf", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_usb_serial_extr_pl2303.c_pl2303_buf_free |
; ModuleID = 'AnghaBench/sumatrapdf/ext/bzip2/extr_bzip2.c_mkCell.c'
source_filename = "AnghaBench/sumatrapdf/ext/bzip2/extr_bzip2.c_mkCell.c"
target datalayout = "e-m:e-p270:32:32-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 @mkCell], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @mkCell() #0 {
%1 = tail call i64 @myMalloc(i32 noundef 16) #3
%2 = inttoptr i64 %1 to ptr
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
ret ptr %2
}
declare i64 @myMalloc(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/bzip2/extr_bzip2.c_mkCell.c'
source_filename = "AnghaBench/sumatrapdf/ext/bzip2/extr_bzip2.c_mkCell.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 @mkCell], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @mkCell() #0 {
%1 = tail call i64 @myMalloc(i32 noundef 16) #3
%2 = inttoptr i64 %1 to ptr
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
ret ptr %2
}
declare i64 @myMalloc(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| sumatrapdf_ext_bzip2_extr_bzip2.c_mkCell |
; ModuleID = 'AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-python.c_obs_python_unload.c'
source_filename = "AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-python.c_obs_python_unload.c"
target datalayout = "e-m:e-p270:32:32-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, ptr }
@python_loaded_at_all = dso_local local_unnamed_addr global i32 0, align 4
@python_loaded = dso_local local_unnamed_addr global i64 0, align 8
@py_obspython = dso_local local_unnamed_addr global i32 0, align 4
@python_tick = dso_local local_unnamed_addr global i32 0, align 4
@python_paths = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 8
@tick_mutex = dso_local global i32 0, align 4
@timer_mutex = dso_local global i32 0, align 4
@cur_py_log_chunk = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @obs_python_unload() local_unnamed_addr #0 {
%1 = load i32, ptr @python_loaded_at_all, align 4, !tbaa !5
%2 = icmp eq i32 %1, 0
br i1 %2, label %35, label %3
3: ; preds = %0
%4 = load i64, ptr @python_loaded, align 8, !tbaa !9
%5 = icmp eq i64 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %3
%7 = tail call i64 (...) @Py_IsInitialized() #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %6
%10 = tail call i32 (...) @PyGILState_Ensure() #2
%11 = load i32, ptr @py_obspython, align 4, !tbaa !5
%12 = tail call i32 @Py_XDECREF(i32 noundef %11) #2
%13 = tail call i32 (...) @Py_Finalize() #2
br label %14
14: ; preds = %9, %6, %3
%15 = load i32, ptr @python_tick, align 4, !tbaa !5
%16 = tail call i32 @obs_remove_tick_callback(i32 noundef %15, ptr noundef null) #2
%17 = load i64, ptr @python_paths, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %26, %14
%20 = phi i64 [ 0, %14 ], [ %33, %26 ]
%21 = load ptr, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @python_paths, i64 0, i32 1), align 8
%22 = tail call i32 @da_free(i64 %20, ptr %21) #2
%23 = tail call i32 @pthread_mutex_destroy(ptr noundef nonnull @tick_mutex) #2
%24 = tail call i32 @pthread_mutex_destroy(ptr noundef nonnull @timer_mutex) #2
%25 = tail call i32 @dstr_free(ptr noundef nonnull @cur_py_log_chunk) #2
store i32 0, ptr @python_loaded_at_all, align 4, !tbaa !5
br label %35
26: ; preds = %14, %26
%27 = phi i64 [ %32, %26 ], [ 0, %14 ]
%28 = load ptr, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @python_paths, i64 0, i32 1), align 8, !tbaa !11
%29 = getelementptr inbounds i32, ptr %28, i64 %27
%30 = load i32, ptr %29, align 4, !tbaa !5
%31 = tail call i32 @bfree(i32 noundef %30) #2
%32 = add nuw i64 %27, 1
%33 = load i64, ptr @python_paths, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %26, label %19, !llvm.loop !14
35: ; preds = %0, %19
ret void
}
declare i64 @Py_IsInitialized(...) local_unnamed_addr #1
declare i32 @PyGILState_Ensure(...) local_unnamed_addr #1
declare i32 @Py_XDECREF(i32 noundef) local_unnamed_addr #1
declare i32 @Py_Finalize(...) local_unnamed_addr #1
declare i32 @obs_remove_tick_callback(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bfree(i32 noundef) local_unnamed_addr #1
declare i32 @da_free(i64, ptr) local_unnamed_addr #1
declare i32 @pthread_mutex_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @dstr_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"TYPE_3__", !10, i64 0, !13, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-python.c_obs_python_unload.c'
source_filename = "AnghaBench/obs-studio/deps/obs-scripting/extr_obs-scripting-python.c_obs_python_unload.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64, ptr }
@python_loaded_at_all = common local_unnamed_addr global i32 0, align 4
@python_loaded = common local_unnamed_addr global i64 0, align 8
@py_obspython = common local_unnamed_addr global i32 0, align 4
@python_tick = common local_unnamed_addr global i32 0, align 4
@python_paths = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 8
@tick_mutex = common global i32 0, align 4
@timer_mutex = common global i32 0, align 4
@cur_py_log_chunk = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @obs_python_unload() local_unnamed_addr #0 {
%1 = load i32, ptr @python_loaded_at_all, align 4, !tbaa !6
%2 = icmp eq i32 %1, 0
br i1 %2, label %37, label %3
3: ; preds = %0
%4 = load i64, ptr @python_loaded, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %14, label %6
6: ; preds = %3
%7 = tail call i64 @Py_IsInitialized() #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %14, label %9
9: ; preds = %6
%10 = tail call i32 @PyGILState_Ensure() #2
%11 = load i32, ptr @py_obspython, align 4, !tbaa !6
%12 = tail call i32 @Py_XDECREF(i32 noundef %11) #2
%13 = tail call i32 @Py_Finalize() #2
br label %14
14: ; preds = %9, %6, %3
%15 = load i32, ptr @python_tick, align 4, !tbaa !6
%16 = tail call i32 @obs_remove_tick_callback(i32 noundef %15, ptr noundef null) #2
%17 = load i64, ptr @python_paths, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %28
19: ; preds = %28, %14
%20 = phi i64 [ 0, %14 ], [ %35, %28 ]
%21 = insertvalue [2 x i64] poison, i64 %20, 0
%22 = load i64, ptr getelementptr inbounds (i8, ptr @python_paths, i64 8), align 8
%23 = insertvalue [2 x i64] %21, i64 %22, 1
%24 = tail call i32 @da_free([2 x i64] %23) #2
%25 = tail call i32 @pthread_mutex_destroy(ptr noundef nonnull @tick_mutex) #2
%26 = tail call i32 @pthread_mutex_destroy(ptr noundef nonnull @timer_mutex) #2
%27 = tail call i32 @dstr_free(ptr noundef nonnull @cur_py_log_chunk) #2
store i32 0, ptr @python_loaded_at_all, align 4, !tbaa !6
br label %37
28: ; preds = %14, %28
%29 = phi i64 [ %34, %28 ], [ 0, %14 ]
%30 = load ptr, ptr getelementptr inbounds (i8, ptr @python_paths, i64 8), align 8, !tbaa !12
%31 = getelementptr inbounds i32, ptr %30, i64 %29
%32 = load i32, ptr %31, align 4, !tbaa !6
%33 = tail call i32 @bfree(i32 noundef %32) #2
%34 = add nuw i64 %29, 1
%35 = load i64, ptr @python_paths, align 8
%36 = icmp ult i64 %34, %35
br i1 %36, label %28, label %19, !llvm.loop !15
37: ; preds = %0, %19
ret void
}
declare i64 @Py_IsInitialized(...) local_unnamed_addr #1
declare i32 @PyGILState_Ensure(...) local_unnamed_addr #1
declare i32 @Py_XDECREF(i32 noundef) local_unnamed_addr #1
declare i32 @Py_Finalize(...) local_unnamed_addr #1
declare i32 @obs_remove_tick_callback(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bfree(i32 noundef) local_unnamed_addr #1
declare i32 @da_free([2 x i64]) local_unnamed_addr #1
declare i32 @pthread_mutex_destroy(ptr noundef) local_unnamed_addr #1
declare i32 @dstr_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"TYPE_3__", !11, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| obs-studio_deps_obs-scripting_extr_obs-scripting-python.c_obs_python_unload |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_rev_file.c_init_revision_file.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_rev_file.c_init_revision_file.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @init_revision_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @init_revision_file(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @create_revision_file(ptr noundef %0, ptr noundef %2) #2
%5 = tail call i32 @svn_fs_x__is_packed_rev(ptr noundef %0, i32 noundef %1) #2
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
store i32 %5, ptr %6, align 4, !tbaa !5
%7 = tail call i32 @svn_fs_x__packed_base_rev(ptr noundef %0, i32 noundef %1) #2
store i32 %7, ptr %4, align 4, !tbaa !11
ret ptr %4
}
declare ptr @create_revision_file(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_fs_x__is_packed_rev(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @svn_fs_x__packed_base_rev(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 4}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_rev_file.c_init_revision_file.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_rev_file.c_init_revision_file.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 @init_revision_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @init_revision_file(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @create_revision_file(ptr noundef %0, ptr noundef %2) #2
%5 = tail call i32 @svn_fs_x__is_packed_rev(ptr noundef %0, i32 noundef %1) #2
%6 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %5, ptr %6, align 4, !tbaa !6
%7 = tail call i32 @svn_fs_x__packed_base_rev(ptr noundef %0, i32 noundef %1) #2
store i32 %7, ptr %4, align 4, !tbaa !12
ret ptr %4
}
declare ptr @create_revision_file(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_fs_x__is_packed_rev(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @svn_fs_x__packed_base_rev(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 4}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_rev_file.c_init_revision_file |
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ff_ffplay.c_frame_queue_signal.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ff_ffplay.c_frame_queue_signal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @frame_queue_signal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @frame_queue_signal(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @SDL_LockMutex(i32 noundef %2) #2
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = tail call i32 @SDL_CondSignal(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = tail call i32 @SDL_UnlockMutex(i32 noundef %7) #2
ret void
}
declare i32 @SDL_LockMutex(i32 noundef) local_unnamed_addr #1
declare i32 @SDL_CondSignal(i32 noundef) local_unnamed_addr #1
declare i32 @SDL_UnlockMutex(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ff_ffplay.c_frame_queue_signal.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/extr_ff_ffplay.c_frame_queue_signal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @frame_queue_signal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @frame_queue_signal(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @SDL_LockMutex(i32 noundef %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call i32 @SDL_CondSignal(i32 noundef %5) #2
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = tail call i32 @SDL_UnlockMutex(i32 noundef %7) #2
ret void
}
declare i32 @SDL_LockMutex(i32 noundef) local_unnamed_addr #1
declare i32 @SDL_CondSignal(i32 noundef) local_unnamed_addr #1
declare i32 @SDL_UnlockMutex(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| ijkplayer_ijkmedia_ijkplayer_extr_ff_ffplay.c_frame_queue_signal |
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_hisi504_nand.c_hisi_nfc_send_cmd_status.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_hisi504_nand.c_hisi_nfc_send_cmd_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"
@HINFC504_NANDINFO_LEN = dso_local local_unnamed_addr global i32 0, align 4
@HINFC504_DATA_NUM = dso_local local_unnamed_addr global i32 0, align 4
@NAND_CMD_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@HINFC504_CMD = dso_local local_unnamed_addr global i32 0, align 4
@HINFC504_OP_CMD1_EN = dso_local local_unnamed_addr global i32 0, align 4
@HINFC504_OP_READ_DATA_EN = dso_local local_unnamed_addr global i32 0, align 4
@HINFC504_OP_NF_CS_MASK = dso_local local_unnamed_addr global i32 0, align 4
@HINFC504_OP_NF_CS_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@HINFC504_OP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hisi_nfc_send_cmd_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @hisi_nfc_send_cmd_status(ptr noundef %0) #0 {
%2 = load i32, ptr @HINFC504_NANDINFO_LEN, align 4, !tbaa !5
%3 = load i32, ptr @HINFC504_DATA_NUM, align 4, !tbaa !5
%4 = tail call i32 @hinfc_write(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @NAND_CMD_STATUS, align 4, !tbaa !5
%6 = load i32, ptr @HINFC504_CMD, align 4, !tbaa !5
%7 = tail call i32 @hinfc_write(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @HINFC504_OP_CMD1_EN, align 4, !tbaa !5
%9 = load i32, ptr @HINFC504_OP_READ_DATA_EN, align 4, !tbaa !5
%10 = or i32 %9, %8
%11 = load i32, ptr %0, align 4, !tbaa !9
%12 = load i32, ptr @HINFC504_OP_NF_CS_MASK, align 4, !tbaa !5
%13 = and i32 %12, %11
%14 = load i32, ptr @HINFC504_OP_NF_CS_SHIFT, align 4, !tbaa !5
%15 = shl i32 %13, %14
%16 = or i32 %10, %15
%17 = load i32, ptr @HINFC504_OP, align 4, !tbaa !5
%18 = tail call i32 @hinfc_write(ptr noundef nonnull %0, i32 noundef %16, i32 noundef %17) #2
%19 = tail call i32 @wait_controller_finished(ptr noundef nonnull %0) #2
ret i32 0
}
declare i32 @hinfc_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wait_controller_finished(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"hinfc_host", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_hisi504_nand.c_hisi_nfc_send_cmd_status.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_hisi504_nand.c_hisi_nfc_send_cmd_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HINFC504_NANDINFO_LEN = common local_unnamed_addr global i32 0, align 4
@HINFC504_DATA_NUM = common local_unnamed_addr global i32 0, align 4
@NAND_CMD_STATUS = common local_unnamed_addr global i32 0, align 4
@HINFC504_CMD = common local_unnamed_addr global i32 0, align 4
@HINFC504_OP_CMD1_EN = common local_unnamed_addr global i32 0, align 4
@HINFC504_OP_READ_DATA_EN = common local_unnamed_addr global i32 0, align 4
@HINFC504_OP_NF_CS_MASK = common local_unnamed_addr global i32 0, align 4
@HINFC504_OP_NF_CS_SHIFT = common local_unnamed_addr global i32 0, align 4
@HINFC504_OP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hisi_nfc_send_cmd_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @hisi_nfc_send_cmd_status(ptr noundef %0) #0 {
%2 = load i32, ptr @HINFC504_NANDINFO_LEN, align 4, !tbaa !6
%3 = load i32, ptr @HINFC504_DATA_NUM, align 4, !tbaa !6
%4 = tail call i32 @hinfc_write(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @NAND_CMD_STATUS, align 4, !tbaa !6
%6 = load i32, ptr @HINFC504_CMD, align 4, !tbaa !6
%7 = tail call i32 @hinfc_write(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @HINFC504_OP_CMD1_EN, align 4, !tbaa !6
%9 = load i32, ptr @HINFC504_OP_READ_DATA_EN, align 4, !tbaa !6
%10 = or i32 %9, %8
%11 = load i32, ptr %0, align 4, !tbaa !10
%12 = load i32, ptr @HINFC504_OP_NF_CS_MASK, align 4, !tbaa !6
%13 = and i32 %12, %11
%14 = load i32, ptr @HINFC504_OP_NF_CS_SHIFT, align 4, !tbaa !6
%15 = shl i32 %13, %14
%16 = or i32 %10, %15
%17 = load i32, ptr @HINFC504_OP, align 4, !tbaa !6
%18 = tail call i32 @hinfc_write(ptr noundef nonnull %0, i32 noundef %16, i32 noundef %17) #2
%19 = tail call i32 @wait_controller_finished(ptr noundef nonnull %0) #2
ret i32 0
}
declare i32 @hinfc_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wait_controller_finished(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"hinfc_host", !7, i64 0}
| linux_drivers_mtd_nand_raw_extr_hisi504_nand.c_hisi_nfc_send_cmd_status |
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-ioctl.c_dm_poll.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-ioctl.c_dm_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"
@dm_global_eventq = dso_local global i32 0, align 4
@dm_global_event_nr = dso_local global i32 0, align 4
@EPOLLIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dm_poll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dm_poll(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @poll_wait(ptr noundef nonnull %0, ptr noundef nonnull @dm_global_eventq, ptr noundef %1) #2
%5 = tail call i64 @atomic_read(ptr noundef nonnull @dm_global_event_nr) #2
%6 = load i64, ptr %3, align 8, !tbaa !10
%7 = sub nsw i64 %5, %6
%8 = trunc i64 %7 to i32
%9 = icmp sgt i32 %8, 0
%10 = load i32, ptr @EPOLLIN, align 4
%11 = select i1 %9, i32 %10, i32 0
ret i32 %11
}
declare i32 @poll_wait(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"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 = !{!"dm_file", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-ioctl.c_dm_poll.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-ioctl.c_dm_poll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dm_global_eventq = common global i32 0, align 4
@dm_global_event_nr = common global i32 0, align 4
@EPOLLIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dm_poll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dm_poll(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @poll_wait(ptr noundef nonnull %0, ptr noundef nonnull @dm_global_eventq, ptr noundef %1) #2
%5 = tail call i64 @atomic_read(ptr noundef nonnull @dm_global_event_nr) #2
%6 = load i64, ptr %3, align 8, !tbaa !11
%7 = sub nsw i64 %5, %6
%8 = trunc i64 %7 to i32
%9 = icmp sgt i32 %8, 0
%10 = load i32, ptr @EPOLLIN, align 4
%11 = select i1 %9, i32 %10, i32 0
ret i32 %11
}
declare i32 @poll_wait(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"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 = !{!"dm_file", !13, i64 0}
!13 = !{!"long", !9, i64 0}
| linux_drivers_md_extr_dm-ioctl.c_dm_poll |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/external/sbc/plc/extr_sbc_plc.c_sbc_plc_deinit.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/external/sbc/plc/extr_sbc_plc.c_sbc_plc_deinit.c"
target datalayout = "e-m:e-p270:32:32-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 }
; Function Attrs: nounwind uwtable
define dso_local void @sbc_plc_deinit(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @memset(i32 noundef %3, i32 noundef 0, i32 noundef 4) #3
ret void
}
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/external/sbc/plc/extr_sbc_plc.c_sbc_plc_deinit.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/external/sbc/plc/extr_sbc_plc.c_sbc_plc_deinit.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 @sbc_plc_deinit(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @memset(i32 noundef %3, i32 noundef 0, i32 noundef 4) #3
ret void
}
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
| esp-idf_components_bt_host_bluedroid_external_sbc_plc_extr_sbc_plc.c_sbc_plc_deinit |
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_stmt_isexplain.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_stmt_isexplain.c"
target datalayout = "e-m:e-p270:32:32-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 @sqlite3_stmt_isexplain(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !5
br label %5
5: ; preds = %1, %3
%6 = phi i32 [ %4, %3 ], [ 0, %1 ]
ret i32 %6
}
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_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_stmt_isexplain.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_stmt_isexplain.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 @sqlite3_stmt_isexplain(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %5, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !6
br label %5
5: ; preds = %1, %3
%6 = phi i32 [ %4, %3 ], [ 0, %1 ]
ret i32 %6
}
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_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_sqlite3_extr_sqlite3.c_sqlite3_stmt_isexplain |
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/pseries/extr_lparcfg.c_cpu_get_purr.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/pseries/extr_lparcfg.c_cpu_get_purr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SPRN_PURR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cpu_get_purr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cpu_get_purr(ptr noundef %0) #0 {
%2 = load i32, ptr @SPRN_PURR, align 4, !tbaa !5
%3 = tail call i32 @mfspr(i32 noundef %2) #2
%4 = tail call i32 @atomic64_add(i32 noundef %3, ptr noundef %0) #2
ret void
}
declare i32 @atomic64_add(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mfspr(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/pseries/extr_lparcfg.c_cpu_get_purr.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/pseries/extr_lparcfg.c_cpu_get_purr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SPRN_PURR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cpu_get_purr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cpu_get_purr(ptr noundef %0) #0 {
%2 = load i32, ptr @SPRN_PURR, align 4, !tbaa !6
%3 = tail call i32 @mfspr(i32 noundef %2) #2
%4 = tail call i32 @atomic64_add(i32 noundef %3, ptr noundef %0) #2
ret void
}
declare i32 @atomic64_add(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mfspr(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_powerpc_platforms_pseries_extr_lparcfg.c_cpu_get_purr |
; ModuleID = 'AnghaBench/freebsd/tools/regression/p1003_1b/extr_fifo.c_fifo.c'
source_filename = "AnghaBench/freebsd/tools/regression/p1003_1b/extr_fifo.c_fifo.c"
target datalayout = "e-m:e-p270:32:32-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.sched_param = type { i32 }
%struct.timespec = type { i32 }
%struct.timeval = type { i32 }
@.str = private unnamed_addr constant [22 x i8] c"sched_rr_get_interval\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@PROT_READ = dso_local local_unnamed_addr global i32 0, align 4
@PROT_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@MAP_ANON = dso_local local_unnamed_addr global i32 0, align 4
@MAP_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@SCHED_FIFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"sched_setscheduler\00", align 1
@child = dso_local global i64 0, align 8
@tidyup = dso_local local_unnamed_addr global i32 0, align 4
@ticked = dso_local local_unnamed_addr global i64 0, align 8
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [44 x i8] c"SCHED_FIFO had erroneous context switches:\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%d %g\0A\00", align 1
@SCHED_RR = dso_local local_unnamed_addr global i32 0, align 4
@ITIMER_REAL = dso_local local_unnamed_addr global i32 0, align 4
@MAX_RANAT = dso_local local_unnamed_addr global i32 0, align 4
@SIGALRM = dso_local local_unnamed_addr global i32 0, align 4
@tick = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @fifo(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
%4 = alloca %struct.sched_param, align 4
%5 = alloca %struct.timespec, align 4
%6 = alloca [32 x %struct.timeval], align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3)
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %6) #4
%7 = call i32 @sched_rr_get_interval(i32 noundef 0, ptr noundef nonnull %5) #4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = call i32 @perror(ptr noundef nonnull @.str) #4
%11 = load i32, ptr @errno, align 4, !tbaa !5
%12 = call i32 @exit(i32 noundef %11) #5
unreachable
13: ; preds = %2
store i32 1, ptr %4, align 4, !tbaa !9
%14 = load i32, ptr @PROT_READ, align 4, !tbaa !5
%15 = load i32, ptr @PROT_WRITE, align 4, !tbaa !5
%16 = or i32 %15, %14
%17 = load i32, ptr @MAP_ANON, align 4, !tbaa !5
%18 = load i32, ptr @MAP_SHARED, align 4, !tbaa !5
%19 = or i32 %18, %17
%20 = call i64 @mmap(i32 noundef 0, i32 noundef 8, i32 noundef %16, i32 noundef %19, i32 noundef -1, i32 noundef 0) #4
%21 = inttoptr i64 %20 to ptr
%22 = icmp eq ptr %21, inttoptr (i64 -1 to ptr)
br i1 %22, label %23, label %26
23: ; preds = %13
%24 = load i32, ptr @errno, align 4, !tbaa !5
%25 = call i32 @err(i32 noundef %24, ptr noundef nonnull @.str.1) #4
br label %26
26: ; preds = %23, %13
store volatile i64 0, ptr %21, align 8, !tbaa !11
%27 = load i32, ptr @SCHED_FIFO, align 4, !tbaa !5
%28 = call i32 @sched_setscheduler(i64 noundef 0, i32 noundef %27, ptr noundef nonnull %4) #4
%29 = icmp eq i32 %28, -1
br i1 %29, label %90, label %30
30: ; preds = %26
%31 = call i64 (...) @getpid() #4
store volatile i64 %31, ptr %3, align 8, !tbaa !11
%32 = call i64 (...) @fork() #4
store volatile i64 %32, ptr @child, align 8, !tbaa !11
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = call i64 (...) @getpid() #4
store volatile i64 %35, ptr %3, align 8, !tbaa !11
br label %36
36: ; preds = %36, %34
%37 = load volatile i64, ptr %3, align 8, !tbaa !11
store volatile i64 %37, ptr %21, align 8, !tbaa !11
br label %36
38: ; preds = %30
%39 = load i32, ptr @tidyup, align 4, !tbaa !5
%40 = call i32 @atexit(i32 noundef %39) #4
%41 = load volatile i64, ptr %3, align 8, !tbaa !11
store volatile i64 %41, ptr %21, align 8, !tbaa !11
store i64 0, ptr @ticked, align 8, !tbaa !11
%42 = call i32 @gettimeofday(ptr noundef nonnull %6, i32 noundef 0) #4
%43 = load i64, ptr @ticked, align 8, !tbaa !11
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %74
45: ; preds = %38, %51
%46 = phi i32 [ %55, %51 ], [ 1, %38 ]
br label %47
47: ; preds = %47, %45
%48 = load volatile i64, ptr %21, align 8, !tbaa !11
%49 = load volatile i64, ptr @child, align 8, !tbaa !11
%50 = icmp eq i64 %48, %49
br i1 %50, label %51, label %47, !llvm.loop !13
51: ; preds = %47
%52 = zext nneg i32 %46 to i64
%53 = getelementptr inbounds %struct.timeval, ptr %6, i64 %52
%54 = call i32 @gettimeofday(ptr noundef nonnull %53, i32 noundef 0) #4
store volatile i64 0, ptr %21, align 8, !tbaa !11
%55 = add nuw nsw i32 %46, 1
%56 = load i64, ptr @ticked, align 8, !tbaa !11
%57 = icmp eq i64 %56, 0
%58 = icmp ult i32 %46, 31
%59 = select i1 %57, i1 %58, i1 false
br i1 %59, label %45, label %60, !llvm.loop !13
60: ; preds = %51
%61 = load i32, ptr @stderr, align 4, !tbaa !5
%62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef nonnull @.str.3) #4
%63 = zext nneg i32 %55 to i64
br label %64
64: ; preds = %60, %64
%65 = phi i64 [ 1, %60 ], [ %72, %64 ]
%66 = load i32, ptr @stderr, align 4, !tbaa !5
%67 = getelementptr inbounds %struct.timeval, ptr %6, i64 %65
%68 = getelementptr inbounds %struct.timeval, ptr %67, i64 -1
%69 = call double @tvsub(ptr noundef nonnull %67, ptr noundef nonnull %68) #4
%70 = trunc i64 %65 to i32
%71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef nonnull @.str.4, i32 noundef %70, double noundef %69) #4
%72 = add nuw nsw i64 %65, 1
%73 = icmp eq i64 %72, %63
br i1 %73, label %92, label %64, !llvm.loop !15
74: ; preds = %38
%75 = load volatile i64, ptr @child, align 8, !tbaa !11
%76 = load i32, ptr @SCHED_RR, align 4, !tbaa !5
%77 = call i32 @sched_setscheduler(i64 noundef %75, i32 noundef %76, ptr noundef nonnull %4) #4
%78 = icmp eq i32 %77, -1
br i1 %78, label %90, label %79
79: ; preds = %74
%80 = load i32, ptr @SCHED_RR, align 4, !tbaa !5
%81 = call i32 @sched_setscheduler(i64 noundef 0, i32 noundef %80, ptr noundef nonnull %4) #4
%82 = icmp eq i32 %81, -1
br i1 %82, label %90, label %83
83: ; preds = %79
store i64 0, ptr @ticked, align 8, !tbaa !11
br label %84
84: ; preds = %83, %84
%85 = load volatile i64, ptr %21, align 8, !tbaa !11
%86 = load volatile i64, ptr @child, align 8, !tbaa !11
%87 = icmp eq i64 %85, %86
br i1 %87, label %88, label %84, !llvm.loop !16
88: ; preds = %84
%89 = call i32 @exit(i32 noundef 0) #5
unreachable
90: ; preds = %74, %79, %26
%91 = call i32 @perror(ptr noundef nonnull @.str.2) #4
br label %92
92: ; preds = %64, %90
call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3)
ret i32 -1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sched_rr_get_interval(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sched_setscheduler(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @getpid(...) local_unnamed_addr #2
declare i64 @fork(...) local_unnamed_addr #2
declare i32 @atexit(i32 noundef) local_unnamed_addr #2
declare i32 @gettimeofday(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare double @tvsub(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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"sched_param", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
| ; ModuleID = 'AnghaBench/freebsd/tools/regression/p1003_1b/extr_fifo.c_fifo.c'
source_filename = "AnghaBench/freebsd/tools/regression/p1003_1b/extr_fifo.c_fifo.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sched_param = type { i32 }
%struct.timespec = type { i32 }
%struct.timeval = type { i32 }
@.str = private unnamed_addr constant [22 x i8] c"sched_rr_get_interval\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@PROT_READ = common local_unnamed_addr global i32 0, align 4
@PROT_WRITE = common local_unnamed_addr global i32 0, align 4
@MAP_ANON = common local_unnamed_addr global i32 0, align 4
@MAP_SHARED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@SCHED_FIFO = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"sched_setscheduler\00", align 1
@child = common global i64 0, align 8
@tidyup = common local_unnamed_addr global i32 0, align 4
@ticked = common local_unnamed_addr global i64 0, align 8
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [44 x i8] c"SCHED_FIFO had erroneous context switches:\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%d %g\0A\00", align 1
@SCHED_RR = common local_unnamed_addr global i32 0, align 4
@ITIMER_REAL = common local_unnamed_addr global i32 0, align 4
@MAX_RANAT = common local_unnamed_addr global i32 0, align 4
@SIGALRM = common local_unnamed_addr global i32 0, align 4
@tick = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @fifo(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
%4 = alloca %struct.sched_param, align 4
%5 = alloca %struct.timespec, align 4
%6 = alloca [32 x %struct.timeval], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3)
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %6) #4
%7 = call i32 @sched_rr_get_interval(i32 noundef 0, ptr noundef nonnull %5) #4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = call i32 @perror(ptr noundef nonnull @.str) #4
%11 = load i32, ptr @errno, align 4, !tbaa !6
%12 = call i32 @exit(i32 noundef %11) #5
unreachable
13: ; preds = %2
store i32 1, ptr %4, align 4, !tbaa !10
%14 = load i32, ptr @PROT_READ, align 4, !tbaa !6
%15 = load i32, ptr @PROT_WRITE, align 4, !tbaa !6
%16 = or i32 %15, %14
%17 = load i32, ptr @MAP_ANON, align 4, !tbaa !6
%18 = load i32, ptr @MAP_SHARED, align 4, !tbaa !6
%19 = or i32 %18, %17
%20 = call i64 @mmap(i32 noundef 0, i32 noundef 8, i32 noundef %16, i32 noundef %19, i32 noundef -1, i32 noundef 0) #4
%21 = inttoptr i64 %20 to ptr
%22 = icmp eq i64 %20, -1
br i1 %22, label %23, label %26
23: ; preds = %13
%24 = load i32, ptr @errno, align 4, !tbaa !6
%25 = call i32 @err(i32 noundef %24, ptr noundef nonnull @.str.1) #4
br label %26
26: ; preds = %23, %13
store volatile i64 0, ptr %21, align 8, !tbaa !12
%27 = load i32, ptr @SCHED_FIFO, align 4, !tbaa !6
%28 = call i32 @sched_setscheduler(i64 noundef 0, i32 noundef %27, ptr noundef nonnull %4) #4
%29 = icmp eq i32 %28, -1
br i1 %29, label %90, label %30
30: ; preds = %26
%31 = call i64 @getpid() #4
store volatile i64 %31, ptr %3, align 8, !tbaa !12
%32 = call i64 @fork() #4
store volatile i64 %32, ptr @child, align 8, !tbaa !12
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = call i64 @getpid() #4
store volatile i64 %35, ptr %3, align 8, !tbaa !12
br label %36
36: ; preds = %36, %34
%37 = load volatile i64, ptr %3, align 8, !tbaa !12
store volatile i64 %37, ptr %21, align 8, !tbaa !12
br label %36
38: ; preds = %30
%39 = load i32, ptr @tidyup, align 4, !tbaa !6
%40 = call i32 @atexit(i32 noundef %39) #4
%41 = load volatile i64, ptr %3, align 8, !tbaa !12
store volatile i64 %41, ptr %21, align 8, !tbaa !12
store i64 0, ptr @ticked, align 8, !tbaa !12
%42 = call i32 @gettimeofday(ptr noundef nonnull %6, i32 noundef 0) #4
%43 = load i64, ptr @ticked, align 8, !tbaa !12
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %74
45: ; preds = %38, %51
%46 = phi i32 [ %55, %51 ], [ 1, %38 ]
br label %47
47: ; preds = %47, %45
%48 = load volatile i64, ptr %21, align 8, !tbaa !12
%49 = load volatile i64, ptr @child, align 8, !tbaa !12
%50 = icmp eq i64 %48, %49
br i1 %50, label %51, label %47, !llvm.loop !14
51: ; preds = %47
%52 = zext nneg i32 %46 to i64
%53 = getelementptr inbounds %struct.timeval, ptr %6, i64 %52
%54 = call i32 @gettimeofday(ptr noundef nonnull %53, i32 noundef 0) #4
store volatile i64 0, ptr %21, align 8, !tbaa !12
%55 = add nuw nsw i32 %46, 1
%56 = load i64, ptr @ticked, align 8, !tbaa !12
%57 = icmp eq i64 %56, 0
%58 = icmp ult i32 %46, 31
%59 = select i1 %57, i1 %58, i1 false
br i1 %59, label %45, label %60, !llvm.loop !14
60: ; preds = %51
%61 = load i32, ptr @stderr, align 4, !tbaa !6
%62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef nonnull @.str.3) #4
%63 = zext nneg i32 %55 to i64
br label %64
64: ; preds = %60, %64
%65 = phi i64 [ 1, %60 ], [ %72, %64 ]
%66 = load i32, ptr @stderr, align 4, !tbaa !6
%67 = getelementptr inbounds %struct.timeval, ptr %6, i64 %65
%68 = getelementptr inbounds i8, ptr %67, i64 -4
%69 = call double @tvsub(ptr noundef nonnull %67, ptr noundef nonnull %68) #4
%70 = trunc nuw nsw i64 %65 to i32
%71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef nonnull @.str.4, i32 noundef %70, double noundef %69) #4
%72 = add nuw nsw i64 %65, 1
%73 = icmp eq i64 %72, %63
br i1 %73, label %92, label %64, !llvm.loop !16
74: ; preds = %38
%75 = load volatile i64, ptr @child, align 8, !tbaa !12
%76 = load i32, ptr @SCHED_RR, align 4, !tbaa !6
%77 = call i32 @sched_setscheduler(i64 noundef %75, i32 noundef %76, ptr noundef nonnull %4) #4
%78 = icmp eq i32 %77, -1
br i1 %78, label %90, label %79
79: ; preds = %74
%80 = load i32, ptr @SCHED_RR, align 4, !tbaa !6
%81 = call i32 @sched_setscheduler(i64 noundef 0, i32 noundef %80, ptr noundef nonnull %4) #4
%82 = icmp eq i32 %81, -1
br i1 %82, label %90, label %83
83: ; preds = %79
store i64 0, ptr @ticked, align 8, !tbaa !12
br label %84
84: ; preds = %83, %84
%85 = load volatile i64, ptr %21, align 8, !tbaa !12
%86 = load volatile i64, ptr @child, align 8, !tbaa !12
%87 = icmp eq i64 %85, %86
br i1 %87, label %88, label %84, !llvm.loop !17
88: ; preds = %84
%89 = call i32 @exit(i32 noundef 0) #5
unreachable
90: ; preds = %74, %79, %26
%91 = call i32 @perror(ptr noundef nonnull @.str.2) #4
br label %92
92: ; preds = %64, %90
call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3)
ret i32 -1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sched_rr_get_interval(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i64 @mmap(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sched_setscheduler(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @getpid(...) local_unnamed_addr #2
declare i64 @fork(...) local_unnamed_addr #2
declare i32 @atexit(i32 noundef) local_unnamed_addr #2
declare i32 @gettimeofday(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare double @tvsub(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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"sched_param", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
| freebsd_tools_regression_p1003_1b_extr_fifo.c_fifo |
; ModuleID = 'AnghaBench/linux/drivers/char/xillybus/extr_xillybus_pcie.c_xilly_pci_unmap.c'
source_filename = "AnghaBench/linux/drivers/char/xillybus/extr_xillybus_pcie.c_xilly_pci_unmap.c"
target datalayout = "e-m:e-p270:32:32-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.xilly_mapping = type { i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @xilly_pci_unmap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xilly_pci_unmap(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.xilly_mapping, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.xilly_mapping, ptr %0, i64 0, i32 2
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.xilly_mapping, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = load i32, ptr %0, align 4, !tbaa !12
%9 = tail call i32 @pci_unmap_single(i32 noundef %3, i32 noundef %5, i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @pci_unmap_single(i32 noundef, i32 noundef, i32 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 12}
!6 = !{!"xilly_mapping", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/char/xillybus/extr_xillybus_pcie.c_xilly_pci_unmap.c'
source_filename = "AnghaBench/linux/drivers/char/xillybus/extr_xillybus_pcie.c_xilly_pci_unmap.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 @xilly_pci_unmap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xilly_pci_unmap(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 12
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = load i32, ptr %0, align 4, !tbaa !13
%9 = tail call i32 @pci_unmap_single(i32 noundef %3, i32 noundef %5, i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret void
}
declare i32 @pci_unmap_single(i32 noundef, i32 noundef, i32 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 12}
!7 = !{!"xilly_mapping", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 0}
| linux_drivers_char_xillybus_extr_xillybus_pcie.c_xilly_pci_unmap |
; ModuleID = 'AnghaBench/redis/deps/linenoise/extr_linenoise.c_linenoise.c'
source_filename = "AnghaBench/redis/deps/linenoise/extr_linenoise.c_linenoise.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LINENOISE_MAX_LINE = dso_local local_unnamed_addr global i32 0, align 4
@STDIN_FILENO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@stdin = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @linenoise(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @LINENOISE_MAX_LINE, align 4, !tbaa !5
%3 = zext i32 %2 to i64
%4 = alloca i8, i64 %3, align 16
%5 = load i32, ptr @STDIN_FILENO, align 4, !tbaa !5
%6 = tail call i32 @isatty(i32 noundef %5) #4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call ptr (...) @linenoiseNoTTY() #4
br label %41
10: ; preds = %1
%11 = tail call i64 (...) @isUnsupportedTerm() #4
%12 = icmp eq i64 %11, 0
br i1 %12, label %35, label %13
13: ; preds = %10
%14 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %0) #4
%15 = load i32, ptr @stdout, align 4, !tbaa !5
%16 = tail call i32 @fflush(i32 noundef %15) #4
%17 = load i32, ptr @LINENOISE_MAX_LINE, align 4, !tbaa !5
%18 = load i32, ptr @stdin, align 4, !tbaa !5
%19 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef %17, i32 noundef %18) #4
%20 = icmp eq ptr %19, null
br i1 %20, label %41, label %21
21: ; preds = %13
%22 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %4)
%23 = getelementptr i8, ptr %4, i64 -1
%24 = icmp eq i64 %22, 0
br i1 %24, label %33, label %25
25: ; preds = %21, %29
%26 = phi i64 [ %30, %29 ], [ %22, %21 ]
%27 = getelementptr i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1, !tbaa !9
switch i8 %28, label %33 [
i8 10, label %29
i8 13, label %29
]
29: ; preds = %25, %25
%30 = add i64 %26, -1
%31 = getelementptr inbounds i8, ptr %4, i64 %30
store i8 0, ptr %31, align 1, !tbaa !9
%32 = icmp eq i64 %30, 0
br i1 %32, label %33, label %25, !llvm.loop !10
33: ; preds = %29, %25, %21
%34 = call ptr @strdup(ptr noundef nonnull %4)
br label %41
35: ; preds = %10
%36 = load i32, ptr @LINENOISE_MAX_LINE, align 4, !tbaa !5
%37 = call i32 @linenoiseRaw(ptr noundef nonnull %4, i32 noundef %36, ptr noundef %0) #4
%38 = icmp eq i32 %37, -1
br i1 %38, label %41, label %39
39: ; preds = %35
%40 = call ptr @strdup(ptr noundef nonnull %4)
br label %41
41: ; preds = %35, %33, %13, %39, %8
%42 = phi ptr [ %40, %39 ], [ %9, %8 ], [ %34, %33 ], [ null, %13 ], [ null, %35 ]
ret ptr %42
}
declare i32 @isatty(i32 noundef) local_unnamed_addr #1
declare ptr @linenoiseNoTTY(...) local_unnamed_addr #1
declare i64 @isUnsupportedTerm(...) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fflush(i32 noundef) local_unnamed_addr #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3
declare i32 @linenoiseRaw(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/redis/deps/linenoise/extr_linenoise.c_linenoise.c'
source_filename = "AnghaBench/redis/deps/linenoise/extr_linenoise.c_linenoise.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LINENOISE_MAX_LINE = common local_unnamed_addr global i32 0, align 4
@STDIN_FILENO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = common local_unnamed_addr global i32 0, align 4
@stdin = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @linenoise(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @LINENOISE_MAX_LINE, align 4, !tbaa !6
%3 = zext i32 %2 to i64
%4 = alloca i8, i64 %3, align 1
%5 = load i32, ptr @STDIN_FILENO, align 4, !tbaa !6
%6 = tail call i32 @isatty(i32 noundef %5) #4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call ptr @linenoiseNoTTY() #4
br label %41
10: ; preds = %1
%11 = tail call i64 @isUnsupportedTerm() #4
%12 = icmp eq i64 %11, 0
br i1 %12, label %35, label %13
13: ; preds = %10
%14 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %0) #4
%15 = load i32, ptr @stdout, align 4, !tbaa !6
%16 = tail call i32 @fflush(i32 noundef %15) #4
%17 = load i32, ptr @LINENOISE_MAX_LINE, align 4, !tbaa !6
%18 = load i32, ptr @stdin, align 4, !tbaa !6
%19 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef %17, i32 noundef %18) #4
%20 = icmp eq ptr %19, null
br i1 %20, label %41, label %21
21: ; preds = %13
%22 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %4)
%23 = getelementptr i8, ptr %4, i64 -1
%24 = icmp eq i64 %22, 0
br i1 %24, label %33, label %25
25: ; preds = %21, %29
%26 = phi i64 [ %30, %29 ], [ %22, %21 ]
%27 = getelementptr i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1, !tbaa !10
switch i8 %28, label %33 [
i8 10, label %29
i8 13, label %29
]
29: ; preds = %25, %25
%30 = add i64 %26, -1
%31 = getelementptr inbounds i8, ptr %4, i64 %30
store i8 0, ptr %31, align 1, !tbaa !10
%32 = icmp eq i64 %30, 0
br i1 %32, label %33, label %25, !llvm.loop !11
33: ; preds = %29, %25, %21
%34 = call ptr @strdup(ptr noundef nonnull %4)
br label %41
35: ; preds = %10
%36 = load i32, ptr @LINENOISE_MAX_LINE, align 4, !tbaa !6
%37 = call i32 @linenoiseRaw(ptr noundef nonnull %4, i32 noundef %36, ptr noundef %0) #4
%38 = icmp eq i32 %37, -1
br i1 %38, label %41, label %39
39: ; preds = %35
%40 = call ptr @strdup(ptr noundef nonnull %4)
br label %41
41: ; preds = %35, %33, %13, %39, %8
%42 = phi ptr [ %40, %39 ], [ %9, %8 ], [ %34, %33 ], [ null, %13 ], [ null, %35 ]
ret ptr %42
}
declare i32 @isatty(i32 noundef) local_unnamed_addr #1
declare ptr @linenoiseNoTTY(...) local_unnamed_addr #1
declare i64 @isUnsupportedTerm(...) local_unnamed_addr #1
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fflush(i32 noundef) local_unnamed_addr #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3
declare i32 @linenoiseRaw(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { 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 #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| redis_deps_linenoise_extr_linenoise.c_linenoise |
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/extr_ti_spi.c_ti_spi_gcd.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/extr_ti_spi.c_ti_spi_gcd.c"
target datalayout = "e-m:e-p270:32:32-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 @ti_spi_gcd], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable
define internal i32 @ti_spi_gcd(i32 noundef %0, i32 noundef %1) #0 {
br label %3
3: ; preds = %3, %2
%4 = phi i32 [ %1, %2 ], [ %6, %3 ]
%5 = phi i32 [ %0, %2 ], [ %4, %3 ]
%6 = srem i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %3, !llvm.loop !5
8: ; preds = %3
ret i32 %4
}
attributes #0 = { nofree norecurse nosync nounwind 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)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/extr_ti_spi.c_ti_spi_gcd.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/extr_ti_spi.c_ti_spi_gcd.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 @ti_spi_gcd], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(none) uwtable(sync)
define internal i32 @ti_spi_gcd(i32 noundef %0, i32 noundef %1) #0 {
br label %3
3: ; preds = %3, %2
%4 = phi i32 [ %1, %2 ], [ %6, %3 ]
%5 = phi i32 [ %0, %2 ], [ %4, %3 ]
%6 = srem i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %3, !llvm.loop !6
8: ; preds = %3
ret i32 %4
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_arm_ti_extr_ti_spi.c_ti_spi_gcd |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_linker.c_linker_file_lookup_set.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_linker.c_linker_file_lookup_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@kld_sx = dso_local global i32 0, align 4
@SA_LOCKED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @linker_file_lookup_set(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @SA_LOCKED, align 4, !tbaa !5
%7 = tail call i32 @sx_assert(ptr noundef nonnull @kld_sx, i32 noundef %6) #2
%8 = tail call i32 @LINKER_LOOKUP_SET(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2
ret i32 %8
}
declare i32 @sx_assert(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LINKER_LOOKUP_SET(i32 noundef, ptr noundef, 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"}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_linker.c_linker_file_lookup_set.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_linker.c_linker_file_lookup_set.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@kld_sx = common global i32 0, align 4
@SA_LOCKED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @linker_file_lookup_set(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = load i32, ptr @SA_LOCKED, align 4, !tbaa !6
%7 = tail call i32 @sx_assert(ptr noundef nonnull @kld_sx, i32 noundef %6) #2
%8 = tail call i32 @LINKER_LOOKUP_SET(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #2
ret i32 %8
}
declare i32 @sx_assert(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LINKER_LOOKUP_SET(i32 noundef, 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_kern_extr_kern_linker.c_linker_file_lookup_set |
; ModuleID = 'AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_turkish.c_r_mark_nUz.c'
source_filename = "AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_turkish.c_r_mark_nUz.c"
target datalayout = "e-m:e-p270:32:32-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.SN_env = type { i32, i32, ptr }
@a_17 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @r_mark_nUz], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @r_mark_nUz(ptr noundef %0) #0 {
%2 = tail call i32 @r_check_vowel_harmony(ptr noundef %0) #2
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %23
4: ; preds = %1
%5 = load i32, ptr %0, align 8, !tbaa !5
%6 = add nsw i32 %5, -2
%7 = getelementptr inbounds %struct.SN_env, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = icmp sgt i32 %6, %8
br i1 %9, label %10, label %23
10: ; preds = %4
%11 = getelementptr inbounds %struct.SN_env, ptr %0, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = sext i32 %5 to i64
%14 = getelementptr i32, ptr %12, i64 %13
%15 = getelementptr i32, ptr %14, i64 -1
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = icmp eq i32 %16, 122
br i1 %17, label %18, label %23
18: ; preds = %10
%19 = load i32, ptr @a_17, align 4, !tbaa !13
%20 = tail call i32 @find_among_b(ptr noundef nonnull %0, i32 noundef %19, i32 noundef 4) #2
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
br label %23
23: ; preds = %1, %18, %4, %10
%24 = phi i32 [ %2, %1 ], [ 0, %10 ], [ 0, %4 ], [ %22, %18 ]
ret i32 %24
}
declare i32 @r_check_vowel_harmony(ptr noundef) local_unnamed_addr #1
declare i32 @find_among_b(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 = !{!"SN_env", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_turkish.c_r_mark_nUz.c'
source_filename = "AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_turkish.c_r_mark_nUz.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@a_17 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @r_mark_nUz], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @r_mark_nUz(ptr noundef %0) #0 {
%2 = tail call i32 @r_check_vowel_harmony(ptr noundef %0) #2
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %23
4: ; preds = %1
%5 = load i32, ptr %0, align 8, !tbaa !6
%6 = add nsw i32 %5, -2
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = icmp sgt i32 %6, %8
br i1 %9, label %10, label %23
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = sext i32 %5 to i64
%14 = getelementptr i32, ptr %12, i64 %13
%15 = getelementptr i8, ptr %14, i64 -4
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = icmp eq i32 %16, 122
br i1 %17, label %18, label %23
18: ; preds = %10
%19 = load i32, ptr @a_17, align 4, !tbaa !14
%20 = tail call i32 @find_among_b(ptr noundef nonnull %0, i32 noundef %19, i32 noundef 4) #2
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i32
br label %23
23: ; preds = %1, %18, %4, %10
%24 = phi i32 [ %2, %1 ], [ 0, %10 ], [ 0, %4 ], [ %22, %18 ]
ret i32 %24
}
declare i32 @r_check_vowel_harmony(ptr noundef) local_unnamed_addr #1
declare i32 @find_among_b(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 = !{!"SN_env", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 8}
!14 = !{!8, !8, i64 0}
| postgres_src_backend_snowball_libstemmer_extr_stem_UTF_8_turkish.c_r_mark_nUz |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_icm.c_mlx4_MAP_ICM_AUX.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_icm.c_mlx4_MAP_ICM_AUX.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MLX4_CMD_MAP_ICM_AUX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mlx4_MAP_ICM_AUX(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MLX4_CMD_MAP_ICM_AUX, align 4, !tbaa !5
%4 = tail call i32 @mlx4_map_cmd(ptr noundef %0, i32 noundef %3, ptr noundef %1, i32 noundef -1) #2
ret i32 %4
}
declare i32 @mlx4_map_cmd(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_icm.c_mlx4_MAP_ICM_AUX.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx4/mlx4_core/extr_mlx4_icm.c_mlx4_MAP_ICM_AUX.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MLX4_CMD_MAP_ICM_AUX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mlx4_MAP_ICM_AUX(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MLX4_CMD_MAP_ICM_AUX, align 4, !tbaa !6
%4 = tail call i32 @mlx4_map_cmd(ptr noundef %0, i32 noundef %3, ptr noundef %1, i32 noundef -1) #2
ret i32 %4
}
declare i32 @mlx4_map_cmd(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_mlx4_mlx4_core_extr_mlx4_icm.c_mlx4_MAP_ICM_AUX |
; ModuleID = 'AnghaBench/xhyve/src/extr_xhyve.c_firmware_parse.c'
source_filename = "AnghaBench/xhyve/src/extr_xhyve.c_firmware_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"
@.str = private unnamed_addr constant [6 x i8] c"kexec\00", align 1
@kexec = dso_local local_unnamed_addr global i64 0, align 8
@fw_func = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"fbsd\00", align 1
@fbsd_load = dso_local local_unnamed_addr global i64 0, align 8
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [122 x i8] c"Invalid firmware argument\0A -f kexec,'kernel','initrd','\22cmdline\22'\0A -f fbsd,'userboot','boot volume','\22kernel env\22'\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @firmware_parse], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @firmware_parse(ptr nocapture noundef readonly %0) #0 {
%2 = tail call ptr @strdup(ptr noundef %0)
%3 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef 5) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.1, i64 noundef 4) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %39
8: ; preds = %5, %1
%9 = phi ptr [ @kexec, %1 ], [ @fbsd_load, %5 ]
%10 = load i64, ptr %9, align 8, !tbaa !5
store i64 %10, ptr @fw_func, align 8, !tbaa !5
%11 = tail call ptr @strchr(ptr noundef %2, i8 noundef signext 44) #3
%12 = icmp eq ptr %11, null
br i1 %12, label %39, label %13
13: ; preds = %8
store i8 0, ptr %11, align 1, !tbaa !9
%14 = getelementptr inbounds i8, ptr %11, i64 1
%15 = tail call ptr @strchr(ptr noundef nonnull %14, i8 noundef signext 44) #3
%16 = icmp eq ptr %15, null
br i1 %16, label %39, label %17
17: ; preds = %13
store i8 0, ptr %15, align 1, !tbaa !9
%18 = getelementptr inbounds i8, ptr %15, i64 1
%19 = tail call ptr @strchr(ptr noundef nonnull %18, i8 noundef signext 44) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %39, label %21
21: ; preds = %17
store i8 0, ptr %19, align 1, !tbaa !9
%22 = getelementptr inbounds i8, ptr %19, i64 1
%23 = load i8, ptr %18, align 1
%24 = icmp eq i8 %23, 0
%25 = select i1 %24, ptr null, ptr %18
%26 = load i8, ptr %22, align 1
%27 = icmp eq i8 %26, 0
%28 = select i1 %27, ptr null, ptr %22
%29 = load i64, ptr @fw_func, align 8, !tbaa !5
%30 = load i64, ptr @kexec, align 8, !tbaa !5
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %34
32: ; preds = %21
%33 = tail call i32 @kexec_init(ptr noundef nonnull %14, ptr noundef %25, ptr noundef %28) #3
br label %42
34: ; preds = %21
%35 = load i64, ptr @fbsd_load, align 8, !tbaa !5
%36 = icmp eq i64 %29, %35
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = tail call i32 @fbsd_init(ptr noundef nonnull %14, ptr noundef %25, ptr noundef %28, ptr noundef null) #3
br label %42
39: ; preds = %34, %17, %13, %8, %5
%40 = load i32, ptr @stderr, align 4, !tbaa !10
%41 = tail call i32 @fprintf(i32 noundef %40, ptr noundef nonnull @.str.2) #3
br label %42
42: ; preds = %32, %37, %39
%43 = phi i32 [ -1, %39 ], [ 0, %37 ], [ 0, %32 ]
ret i32 %43
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @kexec_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fbsd_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/xhyve/src/extr_xhyve.c_firmware_parse.c'
source_filename = "AnghaBench/xhyve/src/extr_xhyve.c_firmware_parse.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"kexec\00", align 1
@kexec = common local_unnamed_addr global i64 0, align 8
@fw_func = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"fbsd\00", align 1
@fbsd_load = common local_unnamed_addr global i64 0, align 8
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [122 x i8] c"Invalid firmware argument\0A -f kexec,'kernel','initrd','\22cmdline\22'\0A -f fbsd,'userboot','boot volume','\22kernel env\22'\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @firmware_parse], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @firmware_parse(ptr nocapture noundef readonly %0) #0 {
%2 = tail call ptr @strdup(ptr noundef %0) #3
%3 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str, i64 noundef 5) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = tail call i64 @strncmp(ptr noundef %2, ptr noundef nonnull @.str.1, i64 noundef 4) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %39
8: ; preds = %5, %1
%9 = phi ptr [ @kexec, %1 ], [ @fbsd_load, %5 ]
%10 = load i64, ptr %9, align 8, !tbaa !6
store i64 %10, ptr @fw_func, align 8, !tbaa !6
%11 = tail call ptr @strchr(ptr noundef %2, i8 noundef signext 44) #3
%12 = icmp eq ptr %11, null
br i1 %12, label %39, label %13
13: ; preds = %8
store i8 0, ptr %11, align 1, !tbaa !10
%14 = getelementptr inbounds i8, ptr %11, i64 1
%15 = tail call ptr @strchr(ptr noundef nonnull %14, i8 noundef signext 44) #3
%16 = icmp eq ptr %15, null
br i1 %16, label %39, label %17
17: ; preds = %13
store i8 0, ptr %15, align 1, !tbaa !10
%18 = getelementptr inbounds i8, ptr %15, i64 1
%19 = tail call ptr @strchr(ptr noundef nonnull %18, i8 noundef signext 44) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %39, label %21
21: ; preds = %17
store i8 0, ptr %19, align 1, !tbaa !10
%22 = getelementptr inbounds i8, ptr %19, i64 1
%23 = load i8, ptr %18, align 1
%24 = icmp eq i8 %23, 0
%25 = select i1 %24, ptr null, ptr %18
%26 = load i8, ptr %22, align 1
%27 = icmp eq i8 %26, 0
%28 = select i1 %27, ptr null, ptr %22
%29 = load i64, ptr @fw_func, align 8, !tbaa !6
%30 = load i64, ptr @kexec, align 8, !tbaa !6
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %34
32: ; preds = %21
%33 = tail call i32 @kexec_init(ptr noundef nonnull %14, ptr noundef %25, ptr noundef %28) #3
br label %42
34: ; preds = %21
%35 = load i64, ptr @fbsd_load, align 8, !tbaa !6
%36 = icmp eq i64 %29, %35
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = tail call i32 @fbsd_init(ptr noundef nonnull %14, ptr noundef %25, ptr noundef %28, ptr noundef null) #3
br label %42
39: ; preds = %34, %17, %13, %8, %5
%40 = load i32, ptr @stderr, align 4, !tbaa !11
%41 = tail call i32 @fprintf(i32 noundef %40, ptr noundef nonnull @.str.2) #3
br label %42
42: ; preds = %32, %37, %39
%43 = phi i32 [ -1, %39 ], [ 0, %37 ], [ 0, %32 ]
ret i32 %43
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @kexec_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fbsd_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| xhyve_src_extr_xhyve.c_firmware_parse |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_set_rx_csum.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_set_rx_csum.c"
target datalayout = "e-m:e-p270:32:32-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.port_info = type { i32, i32, i32 }
@T3_RX_CSUM = dso_local local_unnamed_addr global i32 0, align 4
@T3_LRO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_rx_csum], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @set_rx_csum(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = icmp eq i64 %1, 0
%5 = load i32, ptr @T3_RX_CSUM, align 4, !tbaa !5
br i1 %4, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr %3, align 4, !tbaa !9
%8 = or i32 %7, %5
store i32 %8, ptr %3, align 4, !tbaa !9
br label %29
9: ; preds = %2
%10 = load i32, ptr @T3_LRO, align 4, !tbaa !5
%11 = or i32 %10, %5
%12 = xor i32 %11, -1
%13 = load i32, ptr %3, align 4, !tbaa !9
%14 = and i32 %13, %12
store i32 %14, ptr %3, align 4, !tbaa !9
%15 = getelementptr inbounds %struct.port_info, ptr %3, i64 0, i32 1
%16 = getelementptr inbounds %struct.port_info, ptr %3, i64 0, i32 2
%17 = load i32, ptr %16, align 4, !tbaa !11
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %9
%20 = load i32, ptr %15, align 4, !tbaa !12
br label %21
21: ; preds = %19, %21
%22 = phi i32 [ %24, %21 ], [ %20, %19 ]
%23 = tail call i32 @set_qset_lro(ptr noundef %0, i32 noundef %22, i32 noundef 0) #2
%24 = add nsw i32 %22, 1
%25 = load i32, ptr %15, align 4, !tbaa !12
%26 = load i32, ptr %16, align 4, !tbaa !11
%27 = add nsw i32 %26, %25
%28 = icmp slt i32 %24, %27
br i1 %28, label %21, label %29, !llvm.loop !13
29: ; preds = %21, %9, %6
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @set_qset_lro(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, !6, i64 0}
!10 = !{!"port_info", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 4}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_set_rx_csum.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb3/extr_cxgb3_main.c_set_rx_csum.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@T3_RX_CSUM = common local_unnamed_addr global i32 0, align 4
@T3_LRO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_rx_csum], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @set_rx_csum(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = icmp eq i64 %1, 0
%5 = load i32, ptr @T3_RX_CSUM, align 4, !tbaa !6
br i1 %4, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr %3, align 4, !tbaa !10
%8 = or i32 %7, %5
store i32 %8, ptr %3, align 4, !tbaa !10
br label %29
9: ; preds = %2
%10 = load i32, ptr @T3_LRO, align 4, !tbaa !6
%11 = or i32 %10, %5
%12 = xor i32 %11, -1
%13 = load i32, ptr %3, align 4, !tbaa !10
%14 = and i32 %13, %12
store i32 %14, ptr %3, align 4, !tbaa !10
%15 = getelementptr inbounds i8, ptr %3, i64 4
%16 = getelementptr inbounds i8, ptr %3, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %9
%20 = load i32, ptr %15, align 4, !tbaa !13
br label %21
21: ; preds = %19, %21
%22 = phi i32 [ %24, %21 ], [ %20, %19 ]
%23 = tail call i32 @set_qset_lro(ptr noundef %0, i32 noundef %22, i32 noundef 0) #2
%24 = add nsw i32 %22, 1
%25 = load i32, ptr %15, align 4, !tbaa !13
%26 = load i32, ptr %16, align 4, !tbaa !12
%27 = add nsw i32 %26, %25
%28 = icmp slt i32 %24, %27
br i1 %28, label %21, label %29, !llvm.loop !14
29: ; preds = %21, %9, %6
ret i32 0
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @set_qset_lro(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, !7, i64 0}
!11 = !{!"port_info", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_net_cxgb3_extr_cxgb3_main.c_set_rx_csum |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_msm_serial.c_msm_reset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_msm_serial.c_msm_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UART_CR_CMD_RESET_RX = dso_local local_unnamed_addr global i32 0, align 4
@UART_CR = dso_local local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_RESET_TX = dso_local local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_RESET_ERR = dso_local local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_RESET_BREAK_INT = dso_local local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_RESET_CTS = dso_local local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_SET_RFR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @msm_reset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @msm_reset(ptr noundef %0) #0 {
%2 = load i32, ptr @UART_CR_CMD_RESET_RX, align 4, !tbaa !5
%3 = load i32, ptr @UART_CR, align 4, !tbaa !5
%4 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @UART_CR_CMD_RESET_TX, align 4, !tbaa !5
%6 = load i32, ptr @UART_CR, align 4, !tbaa !5
%7 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @UART_CR_CMD_RESET_ERR, align 4, !tbaa !5
%9 = load i32, ptr @UART_CR, align 4, !tbaa !5
%10 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @UART_CR_CMD_RESET_BREAK_INT, align 4, !tbaa !5
%12 = load i32, ptr @UART_CR, align 4, !tbaa !5
%13 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr @UART_CR_CMD_RESET_CTS, align 4, !tbaa !5
%15 = load i32, ptr @UART_CR, align 4, !tbaa !5
%16 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @UART_CR_CMD_SET_RFR, align 4, !tbaa !5
%18 = load i32, ptr @UART_CR, align 4, !tbaa !5
%19 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %17, i32 noundef %18) #2
ret void
}
declare i32 @msm_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_msm_serial.c_msm_reset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_msm_serial.c_msm_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UART_CR_CMD_RESET_RX = common local_unnamed_addr global i32 0, align 4
@UART_CR = common local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_RESET_TX = common local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_RESET_ERR = common local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_RESET_BREAK_INT = common local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_RESET_CTS = common local_unnamed_addr global i32 0, align 4
@UART_CR_CMD_SET_RFR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @msm_reset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @msm_reset(ptr noundef %0) #0 {
%2 = load i32, ptr @UART_CR_CMD_RESET_RX, align 4, !tbaa !6
%3 = load i32, ptr @UART_CR, align 4, !tbaa !6
%4 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @UART_CR_CMD_RESET_TX, align 4, !tbaa !6
%6 = load i32, ptr @UART_CR, align 4, !tbaa !6
%7 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @UART_CR_CMD_RESET_ERR, align 4, !tbaa !6
%9 = load i32, ptr @UART_CR, align 4, !tbaa !6
%10 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @UART_CR_CMD_RESET_BREAK_INT, align 4, !tbaa !6
%12 = load i32, ptr @UART_CR, align 4, !tbaa !6
%13 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2
%14 = load i32, ptr @UART_CR_CMD_RESET_CTS, align 4, !tbaa !6
%15 = load i32, ptr @UART_CR, align 4, !tbaa !6
%16 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2
%17 = load i32, ptr @UART_CR_CMD_SET_RFR, align 4, !tbaa !6
%18 = load i32, ptr @UART_CR, align 4, !tbaa !6
%19 = tail call i32 @msm_write(ptr noundef %0, i32 noundef %17, i32 noundef %18) #2
ret void
}
declare i32 @msm_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_serial_extr_msm_serial.c_msm_reset |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_pcache1Create.c'
source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_pcache1Create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i32, i32, i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32, ptr, ptr }
%struct.TYPE_10__ = type { i32, i32, i32, i32, i64, i64, ptr }
@pcache1 = dso_local global %struct.TYPE_11__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @pcache1Create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @pcache1Create(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @llvm.ctpop.i32(i32 %0), !range !5
%5 = icmp ult i32 %4, 2
%6 = add i32 %0, -512
%7 = icmp ult i32 %6, 65025
%8 = and i1 %5, %7
%9 = zext i1 %8 to i32
%10 = tail call i32 @assert(i32 noundef %9) #3
%11 = icmp slt i32 %1, 300
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 noundef %12) #3
%14 = load i32, ptr @pcache1, align 8, !tbaa !6
%15 = mul i32 %14, 40
%16 = add i32 %15, 40
%17 = tail call i64 @sqlite3MallocZero(i32 noundef %16) #3
%18 = inttoptr i64 %17 to ptr
%19 = icmp eq i64 %17, 0
br i1 %19, label %61, label %20
20: ; preds = %3
%21 = load i32, ptr @pcache1, align 8, !tbaa !6
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 1
store i32 10, ptr %24, align 8, !tbaa !14
br label %25
25: ; preds = %20, %23
%26 = phi ptr [ %24, %23 ], [ getelementptr inbounds (%struct.TYPE_11__, ptr @pcache1, i64 0, i32 1), %20 ]
%27 = getelementptr inbounds %struct.TYPE_9__, ptr %26, i64 0, i32 3
%28 = load i32, ptr %27, align 8, !tbaa !15
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %25
store i32 1, ptr %27, align 8, !tbaa !15
%31 = getelementptr inbounds %struct.TYPE_9__, ptr %26, i64 0, i32 3, i32 1
store ptr %27, ptr %31, align 8, !tbaa !16
%32 = getelementptr inbounds %struct.TYPE_9__, ptr %26, i64 0, i32 3, i32 2
store ptr %27, ptr %32, align 8, !tbaa !17
br label %33
33: ; preds = %30, %25
%34 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 0, i32 6
store ptr %26, ptr %34, align 8, !tbaa !18
store i32 %0, ptr %18, align 8, !tbaa !21
%35 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 0, i32 1
store i32 %1, ptr %35, align 4, !tbaa !22
%36 = add nsw i32 %1, %0
%37 = sext i32 %36 to i64
%38 = tail call i64 @ROUND8(i32 noundef 4) #3
%39 = add nsw i64 %38, %37
%40 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 0, i32 5
store i64 %39, ptr %40, align 8, !tbaa !23
%41 = icmp ne i32 %2, 0
%42 = zext i1 %41 to i32
%43 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 0, i32 2
store i32 %42, ptr %43, align 8, !tbaa !24
%44 = tail call i32 @pcache1EnterMutex(ptr noundef nonnull %26) #3
%45 = tail call i32 @pcache1ResizeHash(ptr noundef nonnull %18) #3
br i1 %41, label %46, label %54
46: ; preds = %33
%47 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 0, i32 3
store i32 10, ptr %47, align 4, !tbaa !25
%48 = getelementptr inbounds %struct.TYPE_9__, ptr %26, i64 0, i32 1
%49 = load i32, ptr %48, align 4, !tbaa !26
%50 = add nsw i32 %49, 10
store i32 %50, ptr %48, align 4, !tbaa !26
%51 = getelementptr inbounds %struct.TYPE_9__, ptr %26, i64 0, i32 2
%52 = load i32, ptr %51, align 8, !tbaa !27
%53 = sub i32 %52, %49
store i32 %53, ptr %26, align 8, !tbaa !14
br label %54
54: ; preds = %46, %33
%55 = tail call i32 @pcache1LeaveMutex(ptr noundef nonnull %26) #3
%56 = getelementptr inbounds %struct.TYPE_10__, ptr %18, i64 0, i32 4
%57 = load i64, ptr %56, align 8, !tbaa !28
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %54
%60 = tail call i32 @pcache1Destroy(ptr noundef nonnull %18) #3
br label %61
61: ; preds = %54, %59, %3
%62 = phi ptr [ null, %59 ], [ %18, %54 ], [ null, %3 ]
ret ptr %62
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3MallocZero(i32 noundef) local_unnamed_addr #1
declare i64 @ROUND8(i32 noundef) local_unnamed_addr #1
declare i32 @pcache1EnterMutex(ptr noundef) local_unnamed_addr #1
declare i32 @pcache1ResizeHash(ptr noundef) local_unnamed_addr #1
declare i32 @pcache1LeaveMutex(ptr noundef) local_unnamed_addr #1
declare i32 @pcache1Destroy(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.ctpop.i32(i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{i32 0, i32 33}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_11__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !8, i64 8, !12, i64 16}
!12 = !{!"TYPE_8__", !8, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!11, !8, i64 0}
!15 = !{!11, !8, i64 16}
!16 = !{!11, !13, i64 24}
!17 = !{!11, !13, i64 32}
!18 = !{!19, !13, i64 32}
!19 = !{!"TYPE_10__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !20, i64 16, !20, i64 24, !13, i64 32}
!20 = !{!"long", !9, i64 0}
!21 = !{!19, !8, i64 0}
!22 = !{!19, !8, i64 4}
!23 = !{!19, !20, i64 24}
!24 = !{!19, !8, i64 8}
!25 = !{!19, !8, i64 12}
!26 = !{!11, !8, i64 4}
!27 = !{!11, !8, i64 8}
!28 = !{!19, !20, i64 16}
| ; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_pcache1Create.c'
source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_pcache1Create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_11__ = type { i32, %struct.TYPE_9__ }
%struct.TYPE_9__ = type { i32, i32, i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32, ptr, ptr }
@pcache1 = common global %struct.TYPE_11__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @pcache1Create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @pcache1Create(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call range(i32 0, 33) i32 @llvm.ctpop.i32(i32 %0)
%5 = icmp ult i32 %4, 2
%6 = add i32 %0, -512
%7 = icmp ult i32 %6, 65025
%8 = and i1 %5, %7
%9 = zext i1 %8 to i32
%10 = tail call i32 @assert(i32 noundef %9) #3
%11 = icmp slt i32 %1, 300
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 noundef %12) #3
%14 = load i32, ptr @pcache1, align 8, !tbaa !6
%15 = mul i32 %14, 40
%16 = add i32 %15, 40
%17 = tail call i64 @sqlite3MallocZero(i32 noundef %16) #3
%18 = inttoptr i64 %17 to ptr
%19 = icmp eq i64 %17, 0
br i1 %19, label %61, label %20
20: ; preds = %3
%21 = load i32, ptr @pcache1, align 8, !tbaa !6
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %18, i64 40
store i32 10, ptr %24, align 8, !tbaa !14
br label %25
25: ; preds = %20, %23
%26 = phi ptr [ %24, %23 ], [ getelementptr inbounds (i8, ptr @pcache1, i64 8), %20 ]
%27 = getelementptr inbounds i8, ptr %26, i64 16
%28 = load i32, ptr %27, align 8, !tbaa !15
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %25
store i32 1, ptr %27, align 8, !tbaa !15
%31 = getelementptr inbounds i8, ptr %26, i64 24
store ptr %27, ptr %31, align 8, !tbaa !16
%32 = getelementptr inbounds i8, ptr %26, i64 32
store ptr %27, ptr %32, align 8, !tbaa !17
br label %33
33: ; preds = %30, %25
%34 = getelementptr inbounds i8, ptr %18, i64 32
store ptr %26, ptr %34, align 8, !tbaa !18
store i32 %0, ptr %18, align 8, !tbaa !21
%35 = getelementptr inbounds i8, ptr %18, i64 4
store i32 %1, ptr %35, align 4, !tbaa !22
%36 = add nsw i32 %1, %0
%37 = sext i32 %36 to i64
%38 = tail call i64 @ROUND8(i32 noundef 4) #3
%39 = add nsw i64 %38, %37
%40 = getelementptr inbounds i8, ptr %18, i64 24
store i64 %39, ptr %40, align 8, !tbaa !23
%41 = icmp ne i32 %2, 0
%42 = zext i1 %41 to i32
%43 = getelementptr inbounds i8, ptr %18, i64 8
store i32 %42, ptr %43, align 8, !tbaa !24
%44 = tail call i32 @pcache1EnterMutex(ptr noundef nonnull %26) #3
%45 = tail call i32 @pcache1ResizeHash(ptr noundef nonnull %18) #3
br i1 %41, label %46, label %54
46: ; preds = %33
%47 = getelementptr inbounds i8, ptr %18, i64 12
store i32 10, ptr %47, align 4, !tbaa !25
%48 = getelementptr inbounds i8, ptr %26, i64 4
%49 = load i32, ptr %48, align 4, !tbaa !26
%50 = add nsw i32 %49, 10
store i32 %50, ptr %48, align 4, !tbaa !26
%51 = getelementptr inbounds i8, ptr %26, i64 8
%52 = load i32, ptr %51, align 8, !tbaa !27
%53 = sub i32 %52, %49
store i32 %53, ptr %26, align 8, !tbaa !14
br label %54
54: ; preds = %46, %33
%55 = tail call i32 @pcache1LeaveMutex(ptr noundef nonnull %26) #3
%56 = getelementptr inbounds i8, ptr %18, i64 16
%57 = load i64, ptr %56, align 8, !tbaa !28
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %54
%60 = tail call i32 @pcache1Destroy(ptr noundef nonnull %18) #3
br label %61
61: ; preds = %54, %59, %3
%62 = phi ptr [ null, %59 ], [ %18, %54 ], [ null, %3 ]
ret ptr %62
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i64 @sqlite3MallocZero(i32 noundef) local_unnamed_addr #1
declare i64 @ROUND8(i32 noundef) local_unnamed_addr #1
declare i32 @pcache1EnterMutex(ptr noundef) local_unnamed_addr #1
declare i32 @pcache1ResizeHash(ptr noundef) local_unnamed_addr #1
declare i32 @pcache1LeaveMutex(ptr noundef) local_unnamed_addr #1
declare i32 @pcache1Destroy(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.ctpop.i32(i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_11__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !8, i64 8, !12, i64 16}
!12 = !{!"TYPE_8__", !8, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!11, !8, i64 0}
!15 = !{!11, !8, i64 16}
!16 = !{!11, !13, i64 24}
!17 = !{!11, !13, i64 32}
!18 = !{!19, !13, i64 32}
!19 = !{!"TYPE_10__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !20, i64 16, !20, i64 24, !13, i64 32}
!20 = !{!"long", !9, i64 0}
!21 = !{!19, !8, i64 0}
!22 = !{!19, !8, i64 4}
!23 = !{!19, !20, i64 24}
!24 = !{!19, !8, i64 8}
!25 = !{!19, !8, i64 12}
!26 = !{!11, !8, i64 4}
!27 = !{!11, !8, i64 8}
!28 = !{!19, !20, i64 16}
| nodemcu-firmware_app_sqlite3_extr_sqlite3.c_pcache1Create |
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_set_pin_targets.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_set_pin_targets.c"
target datalayout = "e-m:e-p270:32:32-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 @set_pin_targets], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @set_pin_targets(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = icmp sgt i32 %1, 0
br i1 %5, label %6, label %15
6: ; preds = %4
%7 = zext nneg i32 %1 to i64
br label %8
8: ; preds = %6, %8
%9 = phi i64 [ 0, %6 ], [ %13, %8 ]
%10 = getelementptr inbounds i32, ptr %2, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = tail call i32 @set_pin_target(ptr noundef %0, i32 noundef %11, i32 noundef %3, i32 noundef 0) #2
%13 = add nuw nsw i64 %9, 1
%14 = icmp eq i64 %13, %7
br i1 %14, label %15, label %8, !llvm.loop !9
15: ; preds = %8, %4
ret void
}
declare i32 @set_pin_target(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_set_pin_targets.c'
source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_set_pin_targets.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 @set_pin_targets], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @set_pin_targets(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = icmp sgt i32 %1, 0
br i1 %5, label %6, label %15
6: ; preds = %4
%7 = zext nneg i32 %1 to i64
br label %8
8: ; preds = %6, %8
%9 = phi i64 [ 0, %6 ], [ %13, %8 ]
%10 = getelementptr inbounds i32, ptr %2, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = tail call i32 @set_pin_target(ptr noundef %0, i32 noundef %11, i32 noundef %3, i32 noundef 0) #2
%13 = add nuw nsw i64 %9, 1
%14 = icmp eq i64 %13, %7
br i1 %14, label %15, label %8, !llvm.loop !10
15: ; preds = %8, %4
ret void
}
declare i32 @set_pin_target(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_sound_pci_hda_extr_hda_generic.c_set_pin_targets |
; ModuleID = 'AnghaBench/linux/arch/powerpc/boot/extr_ugecon.c_ug_is_txfifo_ready.c'
source_filename = "AnghaBench/linux/arch/powerpc/boot/extr_ugecon.c_ug_is_txfifo_ready.c"
target datalayout = "e-m:e-p270:32:32-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 @ug_is_txfifo_ready], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ug_is_txfifo_ready() #0 {
%1 = tail call i32 @ug_io_transaction(i32 noundef -1073741824) #2
%2 = and i32 %1, 67108864
ret i32 %2
}
declare i32 @ug_io_transaction(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/boot/extr_ugecon.c_ug_is_txfifo_ready.c'
source_filename = "AnghaBench/linux/arch/powerpc/boot/extr_ugecon.c_ug_is_txfifo_ready.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 @ug_is_txfifo_ready], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 67108865) i32 @ug_is_txfifo_ready() #0 {
%1 = tail call i32 @ug_io_transaction(i32 noundef -1073741824) #2
%2 = and i32 %1, 67108864
ret i32 %2
}
declare i32 @ug_io_transaction(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_powerpc_boot_extr_ugecon.c_ug_is_txfifo_ready |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wnm_sta.c_wnm_deallocate_memory.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wnm_sta.c_wnm_deallocate_memory.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.wpa_supplicant = type { i32, ptr, ptr }
%struct.TYPE_2__ = type { ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @wnm_deallocate_memory(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %20
4: ; preds = %1
%5 = getelementptr inbounds %struct.wpa_supplicant, ptr %0, i64 0, i32 2
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %16, %6 ]
%8 = load ptr, ptr %5, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %7, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = tail call i32 @os_free(ptr noundef %10) #2
%12 = load ptr, ptr %5, align 8, !tbaa !11
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %7
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = tail call i32 @os_free(ptr noundef %14) #2
%16 = add nuw nsw i64 %7, 1
%17 = load i32, ptr %0, align 8, !tbaa !5
%18 = sext i32 %17 to i64
%19 = icmp slt i64 %16, %18
br i1 %19, label %6, label %20, !llvm.loop !15
20: ; preds = %6, %1
store i32 0, ptr %0, align 8, !tbaa !5
%21 = getelementptr inbounds %struct.wpa_supplicant, ptr %0, i64 0, i32 2
%22 = load ptr, ptr %21, align 8, !tbaa !11
%23 = tail call i32 @os_free(ptr noundef %22) #2
store ptr null, ptr %21, align 8, !tbaa !11
%24 = getelementptr inbounds %struct.wpa_supplicant, ptr %0, i64 0, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !17
%26 = tail call i32 @wpabuf_free(ptr noundef %25) #2
store ptr null, ptr %24, align 8, !tbaa !17
ret void
}
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
declare i32 @wpabuf_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"wpa_supplicant", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!13, !10, i64 8}
!13 = !{!"TYPE_2__", !10, i64 0, !10, i64 8}
!14 = !{!13, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wnm_sta.c_wnm_deallocate_memory.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wnm_sta.c_wnm_deallocate_memory.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, ptr }
; Function Attrs: nounwind ssp uwtable(sync)
define void @wnm_deallocate_memory(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %20
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 16
br label %6
6: ; preds = %4, %6
%7 = phi i64 [ 0, %4 ], [ %16, %6 ]
%8 = load ptr, ptr %5, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 %7, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = tail call i32 @os_free(ptr noundef %10) #2
%12 = load ptr, ptr %5, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %7
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = tail call i32 @os_free(ptr noundef %14) #2
%16 = add nuw nsw i64 %7, 1
%17 = load i32, ptr %0, align 8, !tbaa !6
%18 = sext i32 %17 to i64
%19 = icmp slt i64 %16, %18
br i1 %19, label %6, label %20, !llvm.loop !16
20: ; preds = %6, %1
store i32 0, ptr %0, align 8, !tbaa !6
%21 = getelementptr inbounds i8, ptr %0, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !12
%23 = tail call i32 @os_free(ptr noundef %22) #2
store ptr null, ptr %21, align 8, !tbaa !12
%24 = getelementptr inbounds i8, ptr %0, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !18
%26 = tail call i32 @wpabuf_free(ptr noundef %25) #2
store ptr null, ptr %24, align 8, !tbaa !18
ret void
}
declare i32 @os_free(ptr noundef) local_unnamed_addr #1
declare i32 @wpabuf_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"wpa_supplicant", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!14, !11, i64 8}
!14 = !{!"TYPE_2__", !11, i64 0, !11, i64 8}
!15 = !{!14, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!7, !11, i64 8}
| freebsd_contrib_wpa_wpa_supplicant_extr_wnm_sta.c_wnm_deallocate_memory |
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_gpio.c_ar71xx_gpio_pin_get.c'
source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_gpio.c_ar71xx_gpio_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"
%struct.ar71xx_gpio_softc = type { i32, ptr }
%struct.TYPE_2__ = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@AR71XX_GPIO_IN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ar71xx_gpio_pin_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ar71xx_gpio_pin_get(i32 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @device_get_softc(i32 noundef %0) #2
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %3
%8 = getelementptr inbounds %struct.ar71xx_gpio_softc, ptr %4, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = zext nneg i32 %5 to i64
br label %14
11: ; preds = %14
%12 = add nuw nsw i64 %15, 1
%13 = icmp eq i64 %12, %10
br i1 %13, label %19, label %14, !llvm.loop !12
14: ; preds = %7, %11
%15 = phi i64 [ 0, %7 ], [ %12, %11 ]
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = icmp eq i32 %17, %1
br i1 %18, label %21, label %11
19: ; preds = %11, %3
%20 = load i32, ptr @EINVAL, align 4, !tbaa !16
br label %26
21: ; preds = %14
%22 = load i32, ptr @AR71XX_GPIO_IN, align 4, !tbaa !16
%23 = tail call i32 @GPIO_READ(ptr noundef nonnull %4, i32 noundef %22) #2
%24 = lshr i32 %23, %1
%25 = and i32 %24, 1
store i32 %25, ptr %2, align 4, !tbaa !16
br label %26
26: ; preds = %21, %19
%27 = phi i32 [ %20, %19 ], [ 0, %21 ]
ret i32 %27
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @GPIO_READ(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 = !{!"ar71xx_gpio_softc", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_2__", !7, i64 0}
!16 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_gpio.c_ar71xx_gpio_pin_get.c'
source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_ar71xx_gpio.c_ar71xx_gpio_pin_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@AR71XX_GPIO_IN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ar71xx_gpio_pin_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ar71xx_gpio_pin_get(i32 noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @device_get_softc(i32 noundef %0) #2
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %4, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = zext nneg i32 %5 to i64
br label %14
11: ; preds = %14
%12 = add nuw nsw i64 %15, 1
%13 = icmp eq i64 %12, %10
br i1 %13, label %19, label %14, !llvm.loop !13
14: ; preds = %7, %11
%15 = phi i64 [ 0, %7 ], [ %12, %11 ]
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %15
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = icmp eq i32 %17, %1
br i1 %18, label %21, label %11
19: ; preds = %11, %3
%20 = load i32, ptr @EINVAL, align 4, !tbaa !17
br label %26
21: ; preds = %14
%22 = load i32, ptr @AR71XX_GPIO_IN, align 4, !tbaa !17
%23 = tail call i32 @GPIO_READ(ptr noundef nonnull %4, i32 noundef %22) #2
%24 = lshr i32 %23, %1
%25 = and i32 %24, 1
store i32 %25, ptr %2, align 4, !tbaa !17
br label %26
26: ; preds = %21, %19
%27 = phi i32 [ %20, %19 ], [ 0, %21 ]
ret i32 %27
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @GPIO_READ(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 = !{!"ar71xx_gpio_softc", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_2__", !8, i64 0}
!17 = !{!8, !8, i64 0}
| freebsd_sys_mips_atheros_extr_ar71xx_gpio.c_ar71xx_gpio_pin_get |
; ModuleID = 'AnghaBench/freebsd/sys/arm64/arm64/extr_gic_v3.c_gic_v3_redist_alloc.c'
source_filename = "AnghaBench/freebsd/sys/arm64/arm64/extr_gic_v3.c_gic_v3_redist_alloc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@mp_maxid = dso_local local_unnamed_addr global i64 0, align 8
@all_cpus = dso_local global i32 0, align 4
@M_GIC_V3 = dso_local local_unnamed_addr global i32 0, align 4
@M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gic_v3_redist_alloc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @gic_v3_redist_alloc(ptr nocapture noundef readonly %0) #0 {
br label %2
2: ; preds = %1, %10
%3 = phi i64 [ 0, %1 ], [ %14, %10 ]
%4 = tail call i64 @CPU_ISSET(i64 noundef %3, ptr noundef nonnull @all_cpus) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = load i32, ptr @M_GIC_V3, align 4, !tbaa !5
%8 = load i32, ptr @M_WAITOK, align 4, !tbaa !5
%9 = tail call ptr @malloc(i32 noundef 4, i32 noundef %7, i32 noundef %8) #2
br label %10
10: ; preds = %2, %6
%11 = phi ptr [ %9, %6 ], [ null, %2 ]
%12 = load ptr, ptr %0, align 8, !tbaa !9
%13 = getelementptr inbounds ptr, ptr %12, i64 %3
store ptr %11, ptr %13, align 8, !tbaa !13
%14 = add i64 %3, 1
%15 = load i64, ptr @mp_maxid, align 8, !tbaa !14
%16 = icmp ugt i64 %14, %15
br i1 %16, label %17, label %2, !llvm.loop !16
17: ; preds = %10
ret i32 0
}
declare i64 @CPU_ISSET(i64 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"gic_v3_softc", !11, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm64/arm64/extr_gic_v3.c_gic_v3_redist_alloc.c'
source_filename = "AnghaBench/freebsd/sys/arm64/arm64/extr_gic_v3.c_gic_v3_redist_alloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mp_maxid = common local_unnamed_addr global i64 0, align 8
@all_cpus = common global i32 0, align 4
@M_GIC_V3 = common local_unnamed_addr global i32 0, align 4
@M_WAITOK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gic_v3_redist_alloc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @gic_v3_redist_alloc(ptr nocapture noundef readonly %0) #0 {
br label %2
2: ; preds = %1, %10
%3 = phi i64 [ 0, %1 ], [ %14, %10 ]
%4 = tail call i64 @CPU_ISSET(i64 noundef %3, ptr noundef nonnull @all_cpus) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = load i32, ptr @M_GIC_V3, align 4, !tbaa !6
%8 = load i32, ptr @M_WAITOK, align 4, !tbaa !6
%9 = tail call ptr @malloc(i32 noundef 4, i32 noundef %7, i32 noundef %8) #2
br label %10
10: ; preds = %2, %6
%11 = phi ptr [ %9, %6 ], [ null, %2 ]
%12 = load ptr, ptr %0, align 8, !tbaa !10
%13 = getelementptr inbounds ptr, ptr %12, i64 %3
store ptr %11, ptr %13, align 8, !tbaa !14
%14 = add i64 %3, 1
%15 = load i64, ptr @mp_maxid, align 8, !tbaa !15
%16 = icmp ugt i64 %14, %15
br i1 %16, label %17, label %2, !llvm.loop !17
17: ; preds = %10
ret i32 0
}
declare i64 @CPU_ISSET(i64 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"gic_v3_softc", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_arm64_arm64_extr_gic_v3.c_gic_v3_redist_alloc |
; ModuleID = 'AnghaBench/linux/drivers/fsi/extr_fsi-master-gpio.c_fsi_master_gpio_init_external.c'
source_filename = "AnghaBench/linux/drivers/fsi/extr_fsi-master-gpio.c_fsi_master_gpio_init_external.c"
target datalayout = "e-m:e-p270:32:32-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.fsi_master_gpio = type { i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @fsi_master_gpio_init_external], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fsi_master_gpio_init_external(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.fsi_master_gpio, ptr %0, i64 0, i32 4
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @gpiod_direction_output(i32 noundef %3, i32 noundef 0) #2
%5 = getelementptr inbounds %struct.fsi_master_gpio, ptr %0, i64 0, i32 3
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @gpiod_direction_output(i32 noundef %6, i32 noundef 0) #2
%8 = getelementptr inbounds %struct.fsi_master_gpio, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = tail call i32 @gpiod_direction_output(i32 noundef %9, i32 noundef 1) #2
%11 = getelementptr inbounds %struct.fsi_master_gpio, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i32 @gpiod_direction_input(i32 noundef %12) #2
%14 = load i32, ptr %0, align 4, !tbaa !13
%15 = tail call i32 @gpiod_direction_input(i32 noundef %14) #2
ret void
}
declare i32 @gpiod_direction_output(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gpiod_direction_input(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"fsi_master_gpio", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 12}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/fsi/extr_fsi-master-gpio.c_fsi_master_gpio_init_external.c'
source_filename = "AnghaBench/linux/drivers/fsi/extr_fsi-master-gpio.c_fsi_master_gpio_init_external.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 @fsi_master_gpio_init_external], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fsi_master_gpio_init_external(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @gpiod_direction_output(i32 noundef %3, i32 noundef 0) #2
%5 = getelementptr inbounds i8, ptr %0, i64 12
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @gpiod_direction_output(i32 noundef %6, i32 noundef 0) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = tail call i32 @gpiod_direction_output(i32 noundef %9, i32 noundef 1) #2
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @gpiod_direction_input(i32 noundef %12) #2
%14 = load i32, ptr %0, align 4, !tbaa !14
%15 = tail call i32 @gpiod_direction_input(i32 noundef %14) #2
ret void
}
declare i32 @gpiod_direction_output(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @gpiod_direction_input(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"fsi_master_gpio", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 12}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !8, i64 0}
| linux_drivers_fsi_extr_fsi-master-gpio.c_fsi_master_gpio_init_external |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_scl_vop_cal_scl_fac.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_scl_vop_cal_scl_fac.c"
target datalayout = "e-m:e-p270:32:32-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.drm_format_info = type { i32, i32, i64 }
@SCALE_NONE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [35 x i8] c"Maximum dst width (3840) exceeded\0A\00", align 1
@scale_yrgb_x = dso_local local_unnamed_addr global i32 0, align 4
@scale_yrgb_y = dso_local local_unnamed_addr global i32 0, align 4
@scale_cbcr_x = dso_local local_unnamed_addr global i32 0, align 4
@scale_cbcr_y = dso_local local_unnamed_addr global i32 0, align 4
@SCALE_DOWN = dso_local local_unnamed_addr global i64 0, align 8
@LB_RGB_3840X2 = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [26 x i8] c"not allow yrgb ver scale\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"not allow cbcr ver scale\0A\00", align 1
@SCALE_UP_BIL = dso_local local_unnamed_addr global i64 0, align 8
@LB_RGB_2560X4 = dso_local local_unnamed_addr global i64 0, align 8
@SCALE_UP_BIC = dso_local local_unnamed_addr global i64 0, align 8
@vsd_yrgb_gt4 = dso_local local_unnamed_addr global i64 0, align 8
@vsd_yrgb_gt2 = dso_local local_unnamed_addr global i64 0, align 8
@yrgb_hsd_mode = dso_local local_unnamed_addr global i64 0, align 8
@SCALE_DOWN_BIL = dso_local local_unnamed_addr global i64 0, align 8
@yrgb_vsd_mode = dso_local local_unnamed_addr global i64 0, align 8
@yrgb_vsu_mode = dso_local local_unnamed_addr global i64 0, align 8
@vsd_cbcr_gt4 = dso_local local_unnamed_addr global i64 0, align 8
@vsd_cbcr_gt2 = dso_local local_unnamed_addr global i64 0, align 8
@cbcr_hsd_mode = dso_local local_unnamed_addr global i64 0, align 8
@cbcr_vsd_mode = dso_local local_unnamed_addr global i64 0, align 8
@cbcr_vsu_mode = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @scl_vop_cal_scl_fac], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @scl_vop_cal_scl_fac(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef readonly %6) #0 {
%8 = alloca i32, align 4
%9 = load i64, ptr @SCALE_NONE, align 8, !tbaa !5
%10 = load i32, ptr %6, align 8, !tbaa !9
%11 = sdiv i32 %2, %10
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds %struct.drm_format_info, ptr %6, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = sdiv i32 %3, %14
%16 = sext i32 %15 to i64
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
%17 = getelementptr inbounds %struct.drm_format_info, ptr %6, i64 0, i32 2
%18 = load i64, ptr %17, align 8, !tbaa !13
%19 = icmp eq i64 %18, 0
%20 = icmp sgt i32 %4, 3840
br i1 %20, label %21, label %24
21: ; preds = %7
%22 = load i32, ptr %0, align 4, !tbaa !14
%23 = tail call i32 @DRM_DEV_ERROR(i32 noundef %22, ptr noundef nonnull @.str) #3
br label %144
24: ; preds = %7
%25 = load ptr, ptr %1, align 8, !tbaa !16
%26 = load ptr, ptr %25, align 8, !tbaa !19
%27 = load i32, ptr %26, align 4, !tbaa !21
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %45
29: ; preds = %24
%30 = load i32, ptr @scale_yrgb_x, align 4, !tbaa !23
%31 = sext i32 %2 to i64
%32 = tail call i32 @scl_cal_scale2(i64 noundef %31, i32 noundef %4) #3
%33 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %30, i32 noundef %32) #3
%34 = load i32, ptr @scale_yrgb_y, align 4, !tbaa !23
%35 = sext i32 %3 to i64
%36 = tail call i32 @scl_cal_scale2(i64 noundef %35, i32 noundef %5) #3
%37 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %34, i32 noundef %36) #3
br i1 %19, label %144, label %38
38: ; preds = %29
%39 = load i32, ptr @scale_cbcr_x, align 4, !tbaa !23
%40 = tail call i32 @scl_cal_scale2(i64 noundef %12, i32 noundef %4) #3
%41 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %39, i32 noundef %40) #3
%42 = load i32, ptr @scale_cbcr_y, align 4, !tbaa !23
%43 = tail call i32 @scl_cal_scale2(i64 noundef %16, i32 noundef %5) #3
%44 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %42, i32 noundef %43) #3
br label %144
45: ; preds = %24
%46 = sext i32 %2 to i64
%47 = tail call i64 @scl_get_scl_mode(i64 noundef %46, i32 noundef %4) #3
%48 = sext i32 %3 to i64
%49 = tail call i64 @scl_get_scl_mode(i64 noundef %48, i32 noundef %5) #3
br i1 %19, label %59, label %50
50: ; preds = %45
%51 = tail call i64 @scl_get_scl_mode(i64 noundef %12, i32 noundef %4) #3
%52 = tail call i64 @scl_get_scl_mode(i64 noundef %16, i32 noundef %5) #3
%53 = load i64, ptr @SCALE_DOWN, align 8, !tbaa !5
%54 = icmp eq i64 %51, %53
br i1 %54, label %55, label %57
55: ; preds = %50
%56 = tail call i64 @scl_vop_cal_lb_mode(i32 noundef %4, i32 noundef 1) #3
br label %66
57: ; preds = %50
%58 = tail call i64 @scl_vop_cal_lb_mode(i32 noundef %11, i32 noundef 1) #3
br label %66
59: ; preds = %45
%60 = load i64, ptr @SCALE_DOWN, align 8, !tbaa !5
%61 = icmp eq i64 %47, %60
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = tail call i64 @scl_vop_cal_lb_mode(i32 noundef %4, i32 noundef 0) #3
br label %66
64: ; preds = %59
%65 = tail call i64 @scl_vop_cal_lb_mode(i32 noundef %2, i32 noundef 0) #3
br label %66
66: ; preds = %62, %64, %55, %57
%67 = phi i64 [ %52, %55 ], [ %52, %57 ], [ %9, %62 ], [ %9, %64 ]
%68 = phi i64 [ %51, %55 ], [ %51, %57 ], [ %9, %62 ], [ %9, %64 ]
%69 = phi i64 [ %56, %55 ], [ %58, %57 ], [ %63, %62 ], [ %65, %64 ]
%70 = tail call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %69, i64 noundef %69) #3
%71 = load i64, ptr @LB_RGB_3840X2, align 8, !tbaa !5
%72 = icmp eq i64 %69, %71
br i1 %72, label %73, label %84
73: ; preds = %66
%74 = load i64, ptr @SCALE_NONE, align 8, !tbaa !5
%75 = icmp eq i64 %49, %74
br i1 %75, label %79, label %76
76: ; preds = %73
%77 = load i32, ptr %0, align 4, !tbaa !14
%78 = tail call i32 @DRM_DEV_ERROR(i32 noundef %77, ptr noundef nonnull @.str.1) #3
br label %144
79: ; preds = %73
%80 = icmp eq i64 %67, %49
br i1 %80, label %88, label %81
81: ; preds = %79
%82 = load i32, ptr %0, align 4, !tbaa !14
%83 = tail call i32 @DRM_DEV_ERROR(i32 noundef %82, ptr noundef nonnull @.str.2) #3
br label %144
84: ; preds = %66
%85 = load i64, ptr @LB_RGB_2560X4, align 8, !tbaa !5
%86 = icmp eq i64 %69, %85
%87 = select i1 %86, ptr @SCALE_UP_BIL, ptr @SCALE_UP_BIC
br label %88
88: ; preds = %84, %79
%89 = phi ptr [ @SCALE_UP_BIL, %79 ], [ %87, %84 ]
%90 = load i64, ptr %89, align 8, !tbaa !5
%91 = tail call i32 @scl_vop_cal_scale(i64 noundef %47, i64 noundef %46, i32 noundef %4, i32 noundef 1, i64 noundef 0, ptr noundef null) #3
%92 = load i32, ptr @scale_yrgb_x, align 4, !tbaa !23
%93 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %92, i32 noundef %91) #3
%94 = call i32 @scl_vop_cal_scale(i64 noundef %49, i64 noundef %48, i32 noundef %5, i32 noundef 0, i64 noundef %90, ptr noundef nonnull %8) #3
%95 = load i32, ptr @scale_yrgb_y, align 4, !tbaa !23
%96 = call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %95, i32 noundef %94) #3
%97 = load i64, ptr @vsd_yrgb_gt4, align 8, !tbaa !5
%98 = load i32, ptr %8, align 4, !tbaa !23
%99 = icmp eq i32 %98, 4
%100 = zext i1 %99 to i64
%101 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %97, i64 noundef %100) #3
%102 = load i64, ptr @vsd_yrgb_gt2, align 8, !tbaa !5
%103 = load i32, ptr %8, align 4, !tbaa !23
%104 = icmp eq i32 %103, 2
%105 = zext i1 %104 to i64
%106 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %102, i64 noundef %105) #3
%107 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %47, i64 noundef %47) #3
%108 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %49, i64 noundef %49) #3
%109 = load i64, ptr @yrgb_hsd_mode, align 8, !tbaa !5
%110 = load i64, ptr @SCALE_DOWN_BIL, align 8, !tbaa !5
%111 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %109, i64 noundef %110) #3
%112 = load i64, ptr @yrgb_vsd_mode, align 8, !tbaa !5
%113 = load i64, ptr @SCALE_DOWN_BIL, align 8, !tbaa !5
%114 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %112, i64 noundef %113) #3
%115 = load i64, ptr @yrgb_vsu_mode, align 8, !tbaa !5
%116 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %115, i64 noundef %90) #3
br i1 %19, label %144, label %117
117: ; preds = %88
%118 = call i32 @scl_vop_cal_scale(i64 noundef %68, i64 noundef %12, i32 noundef %4, i32 noundef 1, i64 noundef 0, ptr noundef null) #3
%119 = load i32, ptr @scale_cbcr_x, align 4, !tbaa !23
%120 = call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %119, i32 noundef %118) #3
%121 = call i32 @scl_vop_cal_scale(i64 noundef %67, i64 noundef %16, i32 noundef %5, i32 noundef 0, i64 noundef %90, ptr noundef nonnull %8) #3
%122 = load i32, ptr @scale_cbcr_y, align 4, !tbaa !23
%123 = call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %122, i32 noundef %121) #3
%124 = load i64, ptr @vsd_cbcr_gt4, align 8, !tbaa !5
%125 = load i32, ptr %8, align 4, !tbaa !23
%126 = icmp eq i32 %125, 4
%127 = zext i1 %126 to i64
%128 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %124, i64 noundef %127) #3
%129 = load i64, ptr @vsd_cbcr_gt2, align 8, !tbaa !5
%130 = load i32, ptr %8, align 4, !tbaa !23
%131 = icmp eq i32 %130, 2
%132 = zext i1 %131 to i64
%133 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %129, i64 noundef %132) #3
%134 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %68, i64 noundef %68) #3
%135 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %67, i64 noundef %67) #3
%136 = load i64, ptr @cbcr_hsd_mode, align 8, !tbaa !5
%137 = load i64, ptr @SCALE_DOWN_BIL, align 8, !tbaa !5
%138 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %136, i64 noundef %137) #3
%139 = load i64, ptr @cbcr_vsd_mode, align 8, !tbaa !5
%140 = load i64, ptr @SCALE_DOWN_BIL, align 8, !tbaa !5
%141 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %139, i64 noundef %140) #3
%142 = load i64, ptr @cbcr_vsu_mode, align 8, !tbaa !5
%143 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %142, i64 noundef %90) #3
br label %144
144: ; preds = %88, %117, %29, %38, %81, %76, %21
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #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 @DRM_DEV_ERROR(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @VOP_SCL_SET(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @scl_cal_scale2(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @scl_get_scl_mode(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @scl_vop_cal_lb_mode(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @VOP_SCL_SET_EXT(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @scl_vop_cal_scale(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"drm_format_info", !11, i64 0, !11, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!10, !6, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"vop", !11, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"vop_win_data", !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"TYPE_4__", !18, i64 0}
!21 = !{!22, !11, i64 0}
!22 = !{!"TYPE_3__", !11, i64 0}
!23 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_scl_vop_cal_scl_fac.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/rockchip/extr_rockchip_drm_vop.c_scl_vop_cal_scl_fac.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCALE_NONE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [35 x i8] c"Maximum dst width (3840) exceeded\0A\00", align 1
@scale_yrgb_x = common local_unnamed_addr global i32 0, align 4
@scale_yrgb_y = common local_unnamed_addr global i32 0, align 4
@scale_cbcr_x = common local_unnamed_addr global i32 0, align 4
@scale_cbcr_y = common local_unnamed_addr global i32 0, align 4
@SCALE_DOWN = common local_unnamed_addr global i64 0, align 8
@LB_RGB_3840X2 = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [26 x i8] c"not allow yrgb ver scale\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"not allow cbcr ver scale\0A\00", align 1
@SCALE_UP_BIL = common local_unnamed_addr global i64 0, align 8
@LB_RGB_2560X4 = common local_unnamed_addr global i64 0, align 8
@SCALE_UP_BIC = common local_unnamed_addr global i64 0, align 8
@vsd_yrgb_gt4 = common local_unnamed_addr global i64 0, align 8
@vsd_yrgb_gt2 = common local_unnamed_addr global i64 0, align 8
@yrgb_hsd_mode = common local_unnamed_addr global i64 0, align 8
@SCALE_DOWN_BIL = common local_unnamed_addr global i64 0, align 8
@yrgb_vsd_mode = common local_unnamed_addr global i64 0, align 8
@yrgb_vsu_mode = common local_unnamed_addr global i64 0, align 8
@vsd_cbcr_gt4 = common local_unnamed_addr global i64 0, align 8
@vsd_cbcr_gt2 = common local_unnamed_addr global i64 0, align 8
@cbcr_hsd_mode = common local_unnamed_addr global i64 0, align 8
@cbcr_vsd_mode = common local_unnamed_addr global i64 0, align 8
@cbcr_vsu_mode = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @scl_vop_cal_scl_fac], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @scl_vop_cal_scl_fac(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef readonly %6) #0 {
%8 = alloca i32, align 4
%9 = load i64, ptr @SCALE_NONE, align 8, !tbaa !6
%10 = load i32, ptr %6, align 8, !tbaa !10
%11 = sdiv i32 %2, %10
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %6, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = sdiv i32 %3, %14
%16 = sext i32 %15 to i64
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
%17 = getelementptr inbounds i8, ptr %6, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !14
%19 = icmp eq i64 %18, 0
%20 = icmp sgt i32 %4, 3840
br i1 %20, label %21, label %24
21: ; preds = %7
%22 = load i32, ptr %0, align 4, !tbaa !15
%23 = tail call i32 @DRM_DEV_ERROR(i32 noundef %22, ptr noundef nonnull @.str) #3
br label %144
24: ; preds = %7
%25 = load ptr, ptr %1, align 8, !tbaa !17
%26 = load ptr, ptr %25, align 8, !tbaa !20
%27 = load i32, ptr %26, align 4, !tbaa !22
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %45
29: ; preds = %24
%30 = load i32, ptr @scale_yrgb_x, align 4, !tbaa !24
%31 = sext i32 %2 to i64
%32 = tail call i32 @scl_cal_scale2(i64 noundef %31, i32 noundef %4) #3
%33 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %30, i32 noundef %32) #3
%34 = load i32, ptr @scale_yrgb_y, align 4, !tbaa !24
%35 = sext i32 %3 to i64
%36 = tail call i32 @scl_cal_scale2(i64 noundef %35, i32 noundef %5) #3
%37 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %34, i32 noundef %36) #3
br i1 %19, label %144, label %38
38: ; preds = %29
%39 = load i32, ptr @scale_cbcr_x, align 4, !tbaa !24
%40 = tail call i32 @scl_cal_scale2(i64 noundef %12, i32 noundef %4) #3
%41 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %39, i32 noundef %40) #3
%42 = load i32, ptr @scale_cbcr_y, align 4, !tbaa !24
%43 = tail call i32 @scl_cal_scale2(i64 noundef %16, i32 noundef %5) #3
%44 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %42, i32 noundef %43) #3
br label %144
45: ; preds = %24
%46 = sext i32 %2 to i64
%47 = tail call i64 @scl_get_scl_mode(i64 noundef %46, i32 noundef %4) #3
%48 = sext i32 %3 to i64
%49 = tail call i64 @scl_get_scl_mode(i64 noundef %48, i32 noundef %5) #3
br i1 %19, label %59, label %50
50: ; preds = %45
%51 = tail call i64 @scl_get_scl_mode(i64 noundef %12, i32 noundef %4) #3
%52 = tail call i64 @scl_get_scl_mode(i64 noundef %16, i32 noundef %5) #3
%53 = load i64, ptr @SCALE_DOWN, align 8, !tbaa !6
%54 = icmp eq i64 %51, %53
br i1 %54, label %55, label %57
55: ; preds = %50
%56 = tail call i64 @scl_vop_cal_lb_mode(i32 noundef %4, i32 noundef 1) #3
br label %66
57: ; preds = %50
%58 = tail call i64 @scl_vop_cal_lb_mode(i32 noundef %11, i32 noundef 1) #3
br label %66
59: ; preds = %45
%60 = load i64, ptr @SCALE_DOWN, align 8, !tbaa !6
%61 = icmp eq i64 %47, %60
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = tail call i64 @scl_vop_cal_lb_mode(i32 noundef %4, i32 noundef 0) #3
br label %66
64: ; preds = %59
%65 = tail call i64 @scl_vop_cal_lb_mode(i32 noundef %2, i32 noundef 0) #3
br label %66
66: ; preds = %62, %64, %55, %57
%67 = phi i64 [ %52, %55 ], [ %52, %57 ], [ %9, %62 ], [ %9, %64 ]
%68 = phi i64 [ %51, %55 ], [ %51, %57 ], [ %9, %62 ], [ %9, %64 ]
%69 = phi i64 [ %56, %55 ], [ %58, %57 ], [ %63, %62 ], [ %65, %64 ]
%70 = tail call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %69, i64 noundef %69) #3
%71 = load i64, ptr @LB_RGB_3840X2, align 8, !tbaa !6
%72 = icmp eq i64 %69, %71
br i1 %72, label %73, label %84
73: ; preds = %66
%74 = load i64, ptr @SCALE_NONE, align 8, !tbaa !6
%75 = icmp eq i64 %49, %74
br i1 %75, label %79, label %76
76: ; preds = %73
%77 = load i32, ptr %0, align 4, !tbaa !15
%78 = tail call i32 @DRM_DEV_ERROR(i32 noundef %77, ptr noundef nonnull @.str.1) #3
br label %144
79: ; preds = %73
%80 = icmp eq i64 %67, %49
br i1 %80, label %88, label %81
81: ; preds = %79
%82 = load i32, ptr %0, align 4, !tbaa !15
%83 = tail call i32 @DRM_DEV_ERROR(i32 noundef %82, ptr noundef nonnull @.str.2) #3
br label %144
84: ; preds = %66
%85 = load i64, ptr @LB_RGB_2560X4, align 8, !tbaa !6
%86 = icmp eq i64 %69, %85
%87 = select i1 %86, ptr @SCALE_UP_BIL, ptr @SCALE_UP_BIC
br label %88
88: ; preds = %84, %79
%89 = phi ptr [ @SCALE_UP_BIL, %79 ], [ %87, %84 ]
%90 = load i64, ptr %89, align 8, !tbaa !6
%91 = tail call i32 @scl_vop_cal_scale(i64 noundef %47, i64 noundef %46, i32 noundef %4, i32 noundef 1, i64 noundef 0, ptr noundef null) #3
%92 = load i32, ptr @scale_yrgb_x, align 4, !tbaa !24
%93 = tail call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %92, i32 noundef %91) #3
%94 = call i32 @scl_vop_cal_scale(i64 noundef %49, i64 noundef %48, i32 noundef %5, i32 noundef 0, i64 noundef %90, ptr noundef nonnull %8) #3
%95 = load i32, ptr @scale_yrgb_y, align 4, !tbaa !24
%96 = call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %95, i32 noundef %94) #3
%97 = load i64, ptr @vsd_yrgb_gt4, align 8, !tbaa !6
%98 = load i32, ptr %8, align 4, !tbaa !24
%99 = icmp eq i32 %98, 4
%100 = zext i1 %99 to i64
%101 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %97, i64 noundef %100) #3
%102 = load i64, ptr @vsd_yrgb_gt2, align 8, !tbaa !6
%103 = load i32, ptr %8, align 4, !tbaa !24
%104 = icmp eq i32 %103, 2
%105 = zext i1 %104 to i64
%106 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %102, i64 noundef %105) #3
%107 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %47, i64 noundef %47) #3
%108 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %49, i64 noundef %49) #3
%109 = load i64, ptr @yrgb_hsd_mode, align 8, !tbaa !6
%110 = load i64, ptr @SCALE_DOWN_BIL, align 8, !tbaa !6
%111 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %109, i64 noundef %110) #3
%112 = load i64, ptr @yrgb_vsd_mode, align 8, !tbaa !6
%113 = load i64, ptr @SCALE_DOWN_BIL, align 8, !tbaa !6
%114 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %112, i64 noundef %113) #3
%115 = load i64, ptr @yrgb_vsu_mode, align 8, !tbaa !6
%116 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %115, i64 noundef %90) #3
br i1 %19, label %144, label %117
117: ; preds = %88
%118 = call i32 @scl_vop_cal_scale(i64 noundef %68, i64 noundef %12, i32 noundef %4, i32 noundef 1, i64 noundef 0, ptr noundef null) #3
%119 = load i32, ptr @scale_cbcr_x, align 4, !tbaa !24
%120 = call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %119, i32 noundef %118) #3
%121 = call i32 @scl_vop_cal_scale(i64 noundef %67, i64 noundef %16, i32 noundef %5, i32 noundef 0, i64 noundef %90, ptr noundef nonnull %8) #3
%122 = load i32, ptr @scale_cbcr_y, align 4, !tbaa !24
%123 = call i32 @VOP_SCL_SET(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %122, i32 noundef %121) #3
%124 = load i64, ptr @vsd_cbcr_gt4, align 8, !tbaa !6
%125 = load i32, ptr %8, align 4, !tbaa !24
%126 = icmp eq i32 %125, 4
%127 = zext i1 %126 to i64
%128 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %124, i64 noundef %127) #3
%129 = load i64, ptr @vsd_cbcr_gt2, align 8, !tbaa !6
%130 = load i32, ptr %8, align 4, !tbaa !24
%131 = icmp eq i32 %130, 2
%132 = zext i1 %131 to i64
%133 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %129, i64 noundef %132) #3
%134 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %68, i64 noundef %68) #3
%135 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %67, i64 noundef %67) #3
%136 = load i64, ptr @cbcr_hsd_mode, align 8, !tbaa !6
%137 = load i64, ptr @SCALE_DOWN_BIL, align 8, !tbaa !6
%138 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %136, i64 noundef %137) #3
%139 = load i64, ptr @cbcr_vsd_mode, align 8, !tbaa !6
%140 = load i64, ptr @SCALE_DOWN_BIL, align 8, !tbaa !6
%141 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %139, i64 noundef %140) #3
%142 = load i64, ptr @cbcr_vsu_mode, align 8, !tbaa !6
%143 = call i32 @VOP_SCL_SET_EXT(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %142, i64 noundef %90) #3
br label %144
144: ; preds = %88, %117, %29, %38, %81, %76, %21
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #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 @DRM_DEV_ERROR(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @VOP_SCL_SET(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @scl_cal_scale2(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @scl_get_scl_mode(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @scl_vop_cal_lb_mode(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @VOP_SCL_SET_EXT(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @scl_vop_cal_scale(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"drm_format_info", !12, i64 0, !12, i64 4, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
!14 = !{!11, !7, i64 8}
!15 = !{!16, !12, i64 0}
!16 = !{!"vop", !12, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"vop_win_data", !19, i64 0}
!19 = !{!"any pointer", !8, i64 0}
!20 = !{!21, !19, i64 0}
!21 = !{!"TYPE_4__", !19, i64 0}
!22 = !{!23, !12, i64 0}
!23 = !{!"TYPE_3__", !12, i64 0}
!24 = !{!12, !12, i64 0}
| linux_drivers_gpu_drm_rockchip_extr_rockchip_drm_vop.c_scl_vop_cal_scl_fac |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/ovcamchip/extr_ov6x30.c_ov6x30_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/ovcamchip/extr_ov6x30.c_ov6x30_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.ov6x30 = type { i32, i32 }
@.str = private unnamed_addr constant [8 x i8] c"entered\00", align 1
@regvals_init_6x30 = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ov6x30_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ov6x30_init(ptr noundef %0) #0 {
%2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%3 = tail call i32 @DDEBUG(i32 noundef 4, ptr noundef %0, ptr noundef nonnull @.str) #2
%4 = load i32, ptr @regvals_init_6x30, align 4, !tbaa !5
%5 = tail call i32 @ov_write_regvals(ptr noundef %0, i32 noundef %4) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %16, label %7
7: ; preds = %1
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%9 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %8) #2
store ptr %9, ptr %2, align 8, !tbaa !9
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%13 = sub nsw i32 0, %12
br label %16
14: ; preds = %7
store i32 1, ptr %9, align 4, !tbaa !12
%15 = getelementptr inbounds %struct.ov6x30, ptr %9, i64 0, i32 1
store i32 1, ptr %15, align 4, !tbaa !14
br label %16
16: ; preds = %1, %14, %11
%17 = phi i32 [ %5, %14 ], [ %13, %11 ], [ %5, %1 ]
ret i32 %17
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @DDEBUG(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ov_write_regvals(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"ovcamchip", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"ov6x30", !6, i64 0, !6, i64 4}
!14 = !{!13, !6, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/ovcamchip/extr_ov6x30.c_ov6x30_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/ovcamchip/extr_ov6x30.c_ov6x30_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [8 x i8] c"entered\00", align 1
@regvals_init_6x30 = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ov6x30_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ov6x30_init(ptr noundef %0) #0 {
%2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%3 = tail call i32 @DDEBUG(i32 noundef 4, ptr noundef %0, ptr noundef nonnull @.str) #2
%4 = load i32, ptr @regvals_init_6x30, align 4, !tbaa !6
%5 = tail call i32 @ov_write_regvals(ptr noundef %0, i32 noundef %4) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %15, label %7
7: ; preds = %1
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%9 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %8) #2
store ptr %9, ptr %2, align 8, !tbaa !10
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%13 = sub nsw i32 0, %12
br label %15
14: ; preds = %7
store <2 x i32> <i32 1, i32 1>, ptr %9, align 4, !tbaa !6
br label %15
15: ; preds = %1, %14, %11
%16 = phi i32 [ %5, %14 ], [ %13, %11 ], [ %5, %1 ]
ret i32 %16
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @DDEBUG(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ov_write_regvals(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"ovcamchip", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_drivers_media_video_ovcamchip_extr_ov6x30.c_ov6x30_init |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-v3-abi.c__initialize_gnu_v3_abi.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-v3-abi.c__initialize_gnu_v3_abi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@gnu_v3_abi_ops = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @_initialize_gnu_v3_abi() local_unnamed_addr #0 {
%1 = tail call i32 (...) @init_gnuv3_ops() #2
%2 = tail call i32 @register_cp_abi(ptr noundef nonnull @gnu_v3_abi_ops) #2
ret void
}
declare i32 @init_gnuv3_ops(...) local_unnamed_addr #1
declare i32 @register_cp_abi(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-v3-abi.c__initialize_gnu_v3_abi.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-v3-abi.c__initialize_gnu_v3_abi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@gnu_v3_abi_ops = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @_initialize_gnu_v3_abi() local_unnamed_addr #0 {
%1 = tail call i32 @init_gnuv3_ops() #2
%2 = tail call i32 @register_cp_abi(ptr noundef nonnull @gnu_v3_abi_ops) #2
ret void
}
declare i32 @init_gnuv3_ops(...) local_unnamed_addr #1
declare i32 @register_cp_abi(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gdb_gdb_extr_gnu-v3-abi.c__initialize_gnu_v3_abi |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_msg.c_check_cobisetup.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_msg.c_check_cobisetup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.uni_cobisetup = type { i32, i32, i32, i32, i32, i32 }
@UNI_IE_FACILITY = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_CALLED = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_CALLEDSUB = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_CALLING = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_NOTIFY = dso_local local_unnamed_addr global i32 0, align 4
@UNI_IE_UNREC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_cobisetup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @check_cobisetup(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @UNI_IE_FACILITY, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.uni_cobisetup, ptr %0, i64 0, i32 5
%5 = tail call i32 @uni_check_ie(i32 noundef %3, ptr noundef nonnull %4, ptr noundef %1) #2
%6 = load i32, ptr @UNI_IE_CALLED, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.uni_cobisetup, ptr %0, i64 0, i32 4
%8 = tail call i32 @uni_check_ie(i32 noundef %6, ptr noundef nonnull %7, ptr noundef %1) #2
%9 = or i32 %8, %5
%10 = load i32, ptr @UNI_IE_CALLEDSUB, align 4, !tbaa !5
%11 = getelementptr inbounds %struct.uni_cobisetup, ptr %0, i64 0, i32 3
%12 = tail call i32 @uni_check_ie(i32 noundef %10, ptr noundef nonnull %11, ptr noundef %1) #2
%13 = or i32 %9, %12
%14 = load i32, ptr @UNI_IE_CALLING, align 4, !tbaa !5
%15 = getelementptr inbounds %struct.uni_cobisetup, ptr %0, i64 0, i32 2
%16 = tail call i32 @uni_check_ie(i32 noundef %14, ptr noundef nonnull %15, ptr noundef %1) #2
%17 = or i32 %13, %16
%18 = load i32, ptr @UNI_IE_NOTIFY, align 4, !tbaa !5
%19 = getelementptr inbounds %struct.uni_cobisetup, ptr %0, i64 0, i32 1
%20 = tail call i32 @uni_check_ie(i32 noundef %18, ptr noundef nonnull %19, ptr noundef %1) #2
%21 = or i32 %17, %20
%22 = load i32, ptr @UNI_IE_UNREC, align 4, !tbaa !5
%23 = tail call i32 @uni_check_ie(i32 noundef %22, ptr noundef %0, ptr noundef %1) #2
%24 = or i32 %21, %23
ret i32 %24
}
declare i32 @uni_check_ie(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_msg.c_check_cobisetup.c'
source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/msg/extr_uni_msg.c_check_cobisetup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UNI_IE_FACILITY = common local_unnamed_addr global i32 0, align 4
@UNI_IE_CALLED = common local_unnamed_addr global i32 0, align 4
@UNI_IE_CALLEDSUB = common local_unnamed_addr global i32 0, align 4
@UNI_IE_CALLING = common local_unnamed_addr global i32 0, align 4
@UNI_IE_NOTIFY = common local_unnamed_addr global i32 0, align 4
@UNI_IE_UNREC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @check_cobisetup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @check_cobisetup(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @UNI_IE_FACILITY, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 20
%5 = tail call i32 @uni_check_ie(i32 noundef %3, ptr noundef nonnull %4, ptr noundef %1) #2
%6 = load i32, ptr @UNI_IE_CALLED, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 16
%8 = tail call i32 @uni_check_ie(i32 noundef %6, ptr noundef nonnull %7, ptr noundef %1) #2
%9 = or i32 %8, %5
%10 = load i32, ptr @UNI_IE_CALLEDSUB, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %0, i64 12
%12 = tail call i32 @uni_check_ie(i32 noundef %10, ptr noundef nonnull %11, ptr noundef %1) #2
%13 = or i32 %9, %12
%14 = load i32, ptr @UNI_IE_CALLING, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = tail call i32 @uni_check_ie(i32 noundef %14, ptr noundef nonnull %15, ptr noundef %1) #2
%17 = or i32 %13, %16
%18 = load i32, ptr @UNI_IE_NOTIFY, align 4, !tbaa !6
%19 = getelementptr inbounds i8, ptr %0, i64 4
%20 = tail call i32 @uni_check_ie(i32 noundef %18, ptr noundef nonnull %19, ptr noundef %1) #2
%21 = or i32 %17, %20
%22 = load i32, ptr @UNI_IE_UNREC, align 4, !tbaa !6
%23 = tail call i32 @uni_check_ie(i32 noundef %22, ptr noundef %0, ptr noundef %1) #2
%24 = or i32 %21, %23
ret i32 %24
}
declare i32 @uni_check_ie(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_contrib_ngatm_netnatm_msg_extr_uni_msg.c_check_cobisetup |
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_slice_filter_module.c_ngx_http_slice_add_variables.c'
source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_slice_filter_module.c_ngx_http_slice_add_variables.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ngx_http_slice_range_name = dso_local global i32 0, align 4
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_slice_range_variable = dso_local local_unnamed_addr global i32 0, align 4
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_slice_add_variables], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ngx_http_slice_add_variables(ptr noundef %0) #0 {
%2 = tail call ptr @ngx_http_add_variable(ptr noundef %0, ptr noundef nonnull @ngx_http_slice_range_name, i32 noundef 0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = load i32, ptr @ngx_http_slice_range_variable, align 4, !tbaa !5
store i32 %5, ptr %2, align 4, !tbaa !9
br label %6
6: ; preds = %1, %4
%7 = phi ptr [ @NGX_OK, %4 ], [ @NGX_ERROR, %1 ]
%8 = load i32, ptr %7, align 4, !tbaa !5
ret i32 %8
}
declare ptr @ngx_http_add_variable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_slice_filter_module.c_ngx_http_slice_add_variables.c'
source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_slice_filter_module.c_ngx_http_slice_add_variables.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ngx_http_slice_range_name = common global i32 0, align 4
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@ngx_http_slice_range_variable = common local_unnamed_addr global i32 0, align 4
@NGX_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_slice_add_variables], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ngx_http_slice_add_variables(ptr noundef %0) #0 {
%2 = tail call ptr @ngx_http_add_variable(ptr noundef %0, ptr noundef nonnull @ngx_http_slice_range_name, i32 noundef 0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = load i32, ptr @ngx_http_slice_range_variable, align 4, !tbaa !6
store i32 %5, ptr %2, align 4, !tbaa !10
br label %6
6: ; preds = %1, %4
%7 = phi ptr [ @NGX_OK, %4 ], [ @NGX_ERROR, %1 ]
%8 = load i32, ptr %7, align 4, !tbaa !6
ret i32 %8
}
declare ptr @ngx_http_add_variable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0}
| nginx_src_http_modules_extr_ngx_http_slice_filter_module.c_ngx_http_slice_add_variables |
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_isa.c_isa_alloc_resource.c'
source_filename = "AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_isa.c_isa_alloc_resource.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ISA_PNP_NPORT = dso_local local_unnamed_addr global i32 0, align 4
@ISA_PNP_NIRQ = dso_local local_unnamed_addr global i32 0, align 4
@ISA_PNP_NMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @isa_alloc_resource(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #0 {
%9 = tail call ptr @DEVTOISA(i32 noundef %1) #2
%10 = tail call i64 @RMAN_IS_DEFAULT_RANGE(i32 noundef %4, i32 noundef %5) #2
%11 = icmp ne i64 %10, 0
%12 = tail call i32 @device_get_parent(i32 noundef %1) #2
%13 = icmp ne i32 %12, %0
%14 = select i1 %13, i1 true, i1 %11
br i1 %14, label %34, label %15
15: ; preds = %8
%16 = load i32, ptr %3, align 4, !tbaa !5
%17 = tail call ptr @resource_list_find(ptr noundef %9, i32 noundef %2, i32 noundef %16) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %34
19: ; preds = %15
switch i32 %2, label %26 [
i32 130, label %20
i32 129, label %22
i32 128, label %24
]
20: ; preds = %19
%21 = load i32, ptr @ISA_PNP_NPORT, align 4, !tbaa !5
br label %26
22: ; preds = %19
%23 = load i32, ptr @ISA_PNP_NIRQ, align 4, !tbaa !5
br label %26
24: ; preds = %19
%25 = load i32, ptr @ISA_PNP_NMEM, align 4, !tbaa !5
br label %26
26: ; preds = %19, %24, %22, %20
%27 = phi i32 [ %25, %24 ], [ %23, %22 ], [ %21, %20 ], [ 0, %19 ]
%28 = load i32, ptr %3, align 4, !tbaa !5
%29 = icmp sgt i32 %28, -1
%30 = icmp slt i32 %28, %27
%31 = select i1 %29, i1 %30, i1 false
br i1 %31, label %32, label %36
32: ; preds = %26
%33 = tail call i32 @resource_list_add(ptr noundef %9, i32 noundef %2, i32 noundef %28, i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
br label %34
34: ; preds = %32, %15, %8
%35 = tail call ptr @resource_list_alloc(ptr noundef %9, i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
br label %36
36: ; preds = %26, %34
%37 = phi ptr [ %35, %34 ], [ null, %26 ]
ret ptr %37
}
declare ptr @DEVTOISA(i32 noundef) local_unnamed_addr #1
declare i64 @RMAN_IS_DEFAULT_RANGE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1
declare ptr @resource_list_find(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @resource_list_add(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @resource_list_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_isa.c_isa_alloc_resource.c'
source_filename = "AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_isa.c_isa_alloc_resource.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ISA_PNP_NPORT = common local_unnamed_addr global i32 0, align 4
@ISA_PNP_NIRQ = common local_unnamed_addr global i32 0, align 4
@ISA_PNP_NMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @isa_alloc_resource(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #0 {
%9 = tail call ptr @DEVTOISA(i32 noundef %1) #2
%10 = tail call i64 @RMAN_IS_DEFAULT_RANGE(i32 noundef %4, i32 noundef %5) #2
%11 = icmp ne i64 %10, 0
%12 = tail call i32 @device_get_parent(i32 noundef %1) #2
%13 = icmp ne i32 %12, %0
%14 = select i1 %13, i1 true, i1 %11
br i1 %14, label %34, label %15
15: ; preds = %8
%16 = load i32, ptr %3, align 4, !tbaa !6
%17 = tail call ptr @resource_list_find(ptr noundef %9, i32 noundef %2, i32 noundef %16) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %34
19: ; preds = %15
switch i32 %2, label %26 [
i32 130, label %20
i32 129, label %22
i32 128, label %24
]
20: ; preds = %19
%21 = load i32, ptr @ISA_PNP_NPORT, align 4, !tbaa !6
br label %26
22: ; preds = %19
%23 = load i32, ptr @ISA_PNP_NIRQ, align 4, !tbaa !6
br label %26
24: ; preds = %19
%25 = load i32, ptr @ISA_PNP_NMEM, align 4, !tbaa !6
br label %26
26: ; preds = %19, %24, %22, %20
%27 = phi i32 [ %25, %24 ], [ %23, %22 ], [ %21, %20 ], [ 0, %19 ]
%28 = load i32, ptr %3, align 4, !tbaa !6
%29 = icmp sgt i32 %28, -1
%30 = icmp slt i32 %28, %27
%31 = select i1 %29, i1 %30, i1 false
br i1 %31, label %32, label %36
32: ; preds = %26
%33 = tail call i32 @resource_list_add(ptr noundef %9, i32 noundef %2, i32 noundef %28, i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
br label %34
34: ; preds = %32, %15, %8
%35 = tail call ptr @resource_list_alloc(ptr noundef %9, i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #2
br label %36
36: ; preds = %26, %34
%37 = phi ptr [ %35, %34 ], [ null, %26 ]
ret ptr %37
}
declare ptr @DEVTOISA(i32 noundef) local_unnamed_addr #1
declare i64 @RMAN_IS_DEFAULT_RANGE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1
declare ptr @resource_list_find(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @resource_list_add(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @resource_list_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_powerpc_mpc85xx_extr_isa.c_isa_alloc_resource |
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_octeon-wdt-main.c_octeon_wdt_cpu_online.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_octeon-wdt-main.c_octeon_wdt_cpu_online.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64 }
@octeon_wdt_nmi_stage2 = dso_local local_unnamed_addr global i64 0, align 8
@octeon_wdt_bootvector = dso_local local_unnamed_addr global ptr null, align 8
@countdown_reset = dso_local local_unnamed_addr global i32 0, align 4
@per_cpu_countdown = dso_local local_unnamed_addr global ptr null, align 8
@OCTEON_FEATURE_CIU3 = dso_local local_unnamed_addr global i32 0, align 4
@WD_BLOCK_NUMBER = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_EDGE_RISING = dso_local local_unnamed_addr global i32 0, align 4
@OCTEON_IRQ_WDOG0 = dso_local local_unnamed_addr global i32 0, align 4
@octeon_wdt_poke_irq = dso_local local_unnamed_addr global i32 0, align 4
@IRQF_NO_THREAD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"octeon_wdt\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"octeon_wdt: Couldn't obtain irq %d\00", align 1
@irq_enabled_cpus = dso_local global i32 0, align 4
@timeout_cnt = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @octeon_wdt_cpu_online], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @octeon_wdt_cpu_online(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call i32 @cpu2core(i32 noundef %0) #3
%4 = tail call i32 @cpu_to_node(i32 noundef %0) #3
%5 = load i64, ptr @octeon_wdt_nmi_stage2, align 8, !tbaa !5
%6 = load ptr, ptr @octeon_wdt_bootvector, align 8, !tbaa !9
%7 = zext i32 %3 to i64
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 %7
store i64 %5, ptr %8, align 8, !tbaa !11
%9 = tail call i32 @CVMX_CIU_WDOGX(i32 noundef %3) #3
%10 = tail call i32 @cvmx_write_csr_node(i32 noundef %4, i32 noundef %9, i32 noundef 0) #3
%11 = load i32, ptr @countdown_reset, align 4, !tbaa !13
%12 = load ptr, ptr @per_cpu_countdown, align 8, !tbaa !9
%13 = zext i32 %0 to i64
%14 = getelementptr inbounds i32, ptr %12, i64 %13
store i32 %11, ptr %14, align 4, !tbaa !13
%15 = load i32, ptr @OCTEON_FEATURE_CIU3, align 4, !tbaa !13
%16 = tail call i64 @octeon_has_feature(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %29, label %18
18: ; preds = %1
%19 = load i32, ptr @WD_BLOCK_NUMBER, align 4, !tbaa !13
%20 = tail call ptr @octeon_irq_get_block_domain(i32 noundef %4, i32 noundef %19) #3
%21 = load i32, ptr @WD_BLOCK_NUMBER, align 4, !tbaa !13
%22 = shl i32 %21, 12
%23 = or i32 %3, %22
%24 = or i32 %23, 512
%25 = tail call i32 @irq_create_mapping(ptr noundef %20, i32 noundef %24) #3
%26 = tail call i32 @irq_get_irq_data(i32 noundef %25) #3
%27 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !13
%28 = tail call i32 @irqd_set_trigger_type(i32 noundef %26, i32 noundef %27) #3
br label %32
29: ; preds = %1
%30 = load i32, ptr @OCTEON_IRQ_WDOG0, align 4, !tbaa !13
%31 = add i32 %30, %3
br label %32
32: ; preds = %29, %18
%33 = phi i32 [ %25, %18 ], [ %31, %29 ]
%34 = load i32, ptr @octeon_wdt_poke_irq, align 4, !tbaa !13
%35 = load i32, ptr @IRQF_NO_THREAD, align 4, !tbaa !13
%36 = tail call i64 @request_irq(i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef nonnull @.str, i32 noundef %34) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %32
%39 = tail call i32 @panic(ptr noundef nonnull @.str.1, i32 noundef %33) #3
br label %40
40: ; preds = %38, %32
%41 = load i32, ptr @OCTEON_FEATURE_CIU3, align 4, !tbaa !13
%42 = tail call i64 @octeon_has_feature(i32 noundef %41) #3
%43 = icmp eq i64 %42, 0
br i1 %43, label %48, label %44
44: ; preds = %40
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%45 = call i32 @cpumask_clear(ptr noundef nonnull %2) #3
%46 = call i32 @cpumask_set_cpu(i32 noundef %0, ptr noundef nonnull %2) #3
%47 = call i32 @irq_set_affinity(i32 noundef %33, ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %48
48: ; preds = %44, %40
%49 = call i32 @cpumask_set_cpu(i32 noundef %0, ptr noundef nonnull @irq_enabled_cpus) #3
%50 = call i32 @CVMX_CIU_PP_POKEX(i32 noundef %3) #3
%51 = call i32 @cvmx_write_csr_node(i32 noundef %4, i32 noundef %50, i32 noundef 1) #3
%52 = call i32 @CVMX_CIU_WDOGX(i32 noundef %3) #3
%53 = call i32 @cvmx_write_csr_node(i32 noundef %4, i32 noundef %52, i32 noundef 3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cpu2core(i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_node(i32 noundef) local_unnamed_addr #2
declare i32 @cvmx_write_csr_node(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CVMX_CIU_WDOGX(i32 noundef) local_unnamed_addr #2
declare i64 @octeon_has_feature(i32 noundef) local_unnamed_addr #2
declare ptr @octeon_irq_get_block_domain(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @irq_create_mapping(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @irqd_set_trigger_type(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @irq_get_irq_data(i32 noundef) local_unnamed_addr #2
declare i64 @request_irq(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @panic(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpumask_clear(ptr noundef) local_unnamed_addr #2
declare i32 @cpumask_set_cpu(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @irq_set_affinity(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
declare i32 @CVMX_CIU_PP_POKEX(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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_4__", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_octeon-wdt-main.c_octeon_wdt_cpu_online.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_octeon-wdt-main.c_octeon_wdt_cpu_online.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i64 }
@octeon_wdt_nmi_stage2 = common local_unnamed_addr global i64 0, align 8
@octeon_wdt_bootvector = common local_unnamed_addr global ptr null, align 8
@countdown_reset = common local_unnamed_addr global i32 0, align 4
@per_cpu_countdown = common local_unnamed_addr global ptr null, align 8
@OCTEON_FEATURE_CIU3 = common local_unnamed_addr global i32 0, align 4
@WD_BLOCK_NUMBER = common local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_EDGE_RISING = common local_unnamed_addr global i32 0, align 4
@OCTEON_IRQ_WDOG0 = common local_unnamed_addr global i32 0, align 4
@octeon_wdt_poke_irq = common local_unnamed_addr global i32 0, align 4
@IRQF_NO_THREAD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"octeon_wdt\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"octeon_wdt: Couldn't obtain irq %d\00", align 1
@irq_enabled_cpus = common global i32 0, align 4
@timeout_cnt = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @octeon_wdt_cpu_online], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @octeon_wdt_cpu_online(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = tail call i32 @cpu2core(i32 noundef %0) #3
%4 = tail call i32 @cpu_to_node(i32 noundef %0) #3
%5 = load i64, ptr @octeon_wdt_nmi_stage2, align 8, !tbaa !6
%6 = load ptr, ptr @octeon_wdt_bootvector, align 8, !tbaa !10
%7 = zext i32 %3 to i64
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 %7
store i64 %5, ptr %8, align 8, !tbaa !12
%9 = tail call i32 @CVMX_CIU_WDOGX(i32 noundef %3) #3
%10 = tail call i32 @cvmx_write_csr_node(i32 noundef %4, i32 noundef %9, i32 noundef 0) #3
%11 = load i32, ptr @countdown_reset, align 4, !tbaa !14
%12 = load ptr, ptr @per_cpu_countdown, align 8, !tbaa !10
%13 = zext i32 %0 to i64
%14 = getelementptr inbounds i32, ptr %12, i64 %13
store i32 %11, ptr %14, align 4, !tbaa !14
%15 = load i32, ptr @OCTEON_FEATURE_CIU3, align 4, !tbaa !14
%16 = tail call i64 @octeon_has_feature(i32 noundef %15) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %29, label %18
18: ; preds = %1
%19 = load i32, ptr @WD_BLOCK_NUMBER, align 4, !tbaa !14
%20 = tail call ptr @octeon_irq_get_block_domain(i32 noundef %4, i32 noundef %19) #3
%21 = load i32, ptr @WD_BLOCK_NUMBER, align 4, !tbaa !14
%22 = shl i32 %21, 12
%23 = or i32 %3, %22
%24 = or i32 %23, 512
%25 = tail call i32 @irq_create_mapping(ptr noundef %20, i32 noundef %24) #3
%26 = tail call i32 @irq_get_irq_data(i32 noundef %25) #3
%27 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !14
%28 = tail call i32 @irqd_set_trigger_type(i32 noundef %26, i32 noundef %27) #3
br label %32
29: ; preds = %1
%30 = load i32, ptr @OCTEON_IRQ_WDOG0, align 4, !tbaa !14
%31 = add i32 %30, %3
br label %32
32: ; preds = %29, %18
%33 = phi i32 [ %25, %18 ], [ %31, %29 ]
%34 = load i32, ptr @octeon_wdt_poke_irq, align 4, !tbaa !14
%35 = load i32, ptr @IRQF_NO_THREAD, align 4, !tbaa !14
%36 = tail call i64 @request_irq(i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef nonnull @.str, i32 noundef %34) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %32
%39 = tail call i32 @panic(ptr noundef nonnull @.str.1, i32 noundef %33) #3
br label %40
40: ; preds = %38, %32
%41 = load i32, ptr @OCTEON_FEATURE_CIU3, align 4, !tbaa !14
%42 = tail call i64 @octeon_has_feature(i32 noundef %41) #3
%43 = icmp eq i64 %42, 0
br i1 %43, label %48, label %44
44: ; preds = %40
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%45 = call i32 @cpumask_clear(ptr noundef nonnull %2) #3
%46 = call i32 @cpumask_set_cpu(i32 noundef %0, ptr noundef nonnull %2) #3
%47 = call i32 @irq_set_affinity(i32 noundef %33, ptr noundef nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
br label %48
48: ; preds = %44, %40
%49 = call i32 @cpumask_set_cpu(i32 noundef %0, ptr noundef nonnull @irq_enabled_cpus) #3
%50 = call i32 @CVMX_CIU_PP_POKEX(i32 noundef %3) #3
%51 = call i32 @cvmx_write_csr_node(i32 noundef %4, i32 noundef %50, i32 noundef 1) #3
%52 = call i32 @CVMX_CIU_WDOGX(i32 noundef %3) #3
%53 = call i32 @cvmx_write_csr_node(i32 noundef %4, i32 noundef %52, i32 noundef 3) #3
ret i32 0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cpu2core(i32 noundef) local_unnamed_addr #2
declare i32 @cpu_to_node(i32 noundef) local_unnamed_addr #2
declare i32 @cvmx_write_csr_node(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @CVMX_CIU_WDOGX(i32 noundef) local_unnamed_addr #2
declare i64 @octeon_has_feature(i32 noundef) local_unnamed_addr #2
declare ptr @octeon_irq_get_block_domain(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @irq_create_mapping(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @irqd_set_trigger_type(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @irq_get_irq_data(i32 noundef) local_unnamed_addr #2
declare i64 @request_irq(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @panic(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpumask_clear(ptr noundef) local_unnamed_addr #2
declare i32 @cpumask_set_cpu(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @irq_set_affinity(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
declare i32 @CVMX_CIU_PP_POKEX(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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
| linux_drivers_watchdog_extr_octeon-wdt-main.c_octeon_wdt_cpu_online |
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_cyttsp4_core.c_cyttsp4_free_si_ptrs.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_cyttsp4_core.c_cyttsp4_free_si_ptrs.c"
target datalayout = "e-m:e-p270:32:32-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.cyttsp4_sysinfo = type { i32, i32, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @cyttsp4_free_si_ptrs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cyttsp4_free_si_ptrs(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %33, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 4
%5 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 4, i32 5
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i32 @kfree(i32 noundef %6) #2
%8 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 4, i32 4
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = tail call i32 @kfree(i32 noundef %9) #2
%11 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 4, i32 3
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i32 @kfree(i32 noundef %12) #2
%14 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 4, i32 2
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = tail call i32 @kfree(i32 noundef %15) #2
%17 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 4, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !14
%19 = tail call i32 @kfree(i32 noundef %18) #2
%20 = load i32, ptr %4, align 4, !tbaa !15
%21 = tail call i32 @kfree(i32 noundef %20) #2
%22 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 3
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = tail call i32 @kfree(i32 noundef %23) #2
%25 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 2
%26 = load i32, ptr %25, align 4, !tbaa !17
%27 = tail call i32 @kfree(i32 noundef %26) #2
%28 = getelementptr inbounds %struct.cyttsp4_sysinfo, ptr %0, i64 0, i32 1
%29 = load i32, ptr %28, align 4, !tbaa !18
%30 = tail call i32 @kfree(i32 noundef %29) #2
%31 = load i32, ptr %0, align 4, !tbaa !19
%32 = tail call i32 @kfree(i32 noundef %31) #2
br label %33
33: ; preds = %1, %3
ret void
}
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 36}
!6 = !{!"cyttsp4_sysinfo", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!11 = !{!6, !7, i64 32}
!12 = !{!6, !7, i64 28}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !7, i64 20}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !7, i64 12}
!17 = !{!6, !7, i64 8}
!18 = !{!6, !7, i64 4}
!19 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_cyttsp4_core.c_cyttsp4_free_si_ptrs.c'
source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_cyttsp4_core.c_cyttsp4_free_si_ptrs.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 @cyttsp4_free_si_ptrs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cyttsp4_free_si_ptrs(ptr noundef readonly %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %33, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = getelementptr inbounds i8, ptr %0, i64 36
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i32 @kfree(i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 32
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = tail call i32 @kfree(i32 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 28
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @kfree(i32 noundef %12) #2
%14 = getelementptr inbounds i8, ptr %0, i64 24
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = tail call i32 @kfree(i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %0, i64 20
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = tail call i32 @kfree(i32 noundef %18) #2
%20 = load i32, ptr %4, align 4, !tbaa !16
%21 = tail call i32 @kfree(i32 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %0, i64 12
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = tail call i32 @kfree(i32 noundef %23) #2
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = load i32, ptr %25, align 4, !tbaa !18
%27 = tail call i32 @kfree(i32 noundef %26) #2
%28 = getelementptr inbounds i8, ptr %0, i64 4
%29 = load i32, ptr %28, align 4, !tbaa !19
%30 = tail call i32 @kfree(i32 noundef %29) #2
%31 = load i32, ptr %0, align 4, !tbaa !20
%32 = tail call i32 @kfree(i32 noundef %31) #2
br label %33
33: ; preds = %1, %3
ret void
}
declare i32 @kfree(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 36}
!7 = !{!"cyttsp4_sysinfo", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!12 = !{!7, !8, i64 32}
!13 = !{!7, !8, i64 28}
!14 = !{!7, !8, i64 24}
!15 = !{!7, !8, i64 20}
!16 = !{!7, !8, i64 16}
!17 = !{!7, !8, i64 12}
!18 = !{!7, !8, i64 8}
!19 = !{!7, !8, i64 4}
!20 = !{!7, !8, i64 0}
| linux_drivers_input_touchscreen_extr_cyttsp4_core.c_cyttsp4_free_si_ptrs |
; ModuleID = 'AnghaBench/freebsd/tests/sys/netmap/extr_ctrl-api-test.c_legacy_regif_12.c'
source_filename = "AnghaBench/freebsd/tests/sys/netmap/extr_ctrl-api-test.c_legacy_regif_12.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NR_REG_ALL_NIC = dso_local local_unnamed_addr global i32 0, align 4
@NETMAP_API_NIOCREGIF = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @legacy_regif_12], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @legacy_regif_12(ptr noundef %0) #0 {
%2 = load i32, ptr @NR_REG_ALL_NIC, align 4, !tbaa !5
store i32 %2, ptr %0, align 4, !tbaa !9
%3 = load i64, ptr @NETMAP_API_NIOCREGIF, align 8, !tbaa !11
%4 = add nsw i64 %3, 1
%5 = tail call i32 @niocregif(ptr noundef nonnull %0, i64 noundef %4) #2
ret i32 %5
}
declare i32 @niocregif(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TestContext", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/tests/sys/netmap/extr_ctrl-api-test.c_legacy_regif_12.c'
source_filename = "AnghaBench/freebsd/tests/sys/netmap/extr_ctrl-api-test.c_legacy_regif_12.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NR_REG_ALL_NIC = common local_unnamed_addr global i32 0, align 4
@NETMAP_API_NIOCREGIF = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @legacy_regif_12], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @legacy_regif_12(ptr noundef %0) #0 {
%2 = load i32, ptr @NR_REG_ALL_NIC, align 4, !tbaa !6
store i32 %2, ptr %0, align 4, !tbaa !10
%3 = load i64, ptr @NETMAP_API_NIOCREGIF, align 8, !tbaa !12
%4 = add nsw i64 %3, 1
%5 = tail call i32 @niocregif(ptr noundef nonnull %0, i64 noundef %4) #2
ret i32 %5
}
declare i32 @niocregif(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TestContext", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
| freebsd_tests_sys_netmap_extr_ctrl-api-test.c_legacy_regif_12 |
; ModuleID = 'AnghaBench/linux/arch/unicore32/kernel/extr_traps.c_verify_stack.c'
source_filename = "AnghaBench/linux/arch/unicore32/kernel/extr_traps.c_verify_stack.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PAGE_OFFSET = dso_local local_unnamed_addr global i64 0, align 8
@high_memory = dso_local local_unnamed_addr global ptr null, align 8
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @verify_stack], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @verify_stack(i64 noundef %0) #0 {
%2 = load i64, ptr @PAGE_OFFSET, align 8, !tbaa !5
%3 = icmp ugt i64 %2, %0
br i1 %3, label %10, label %4
4: ; preds = %1
%5 = load ptr, ptr @high_memory, align 8
%6 = ptrtoint ptr %5 to i64
%7 = icmp ult i64 %6, %0
%8 = icmp ne ptr %5, null
%9 = and i1 %8, %7
br i1 %9, label %10, label %13
10: ; preds = %4, %1
%11 = load i32, ptr @EFAULT, align 4, !tbaa !9
%12 = sub nsw i32 0, %11
br label %13
13: ; preds = %4, %10
%14 = phi i32 [ %12, %10 ], [ 0, %4 ]
ret i32 %14
}
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 = !{!"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/unicore32/kernel/extr_traps.c_verify_stack.c'
source_filename = "AnghaBench/linux/arch/unicore32/kernel/extr_traps.c_verify_stack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_OFFSET = common local_unnamed_addr global i64 0, align 8
@high_memory = common local_unnamed_addr global ptr null, align 8
@EFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @verify_stack], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @verify_stack(i64 noundef %0) #0 {
%2 = load i64, ptr @PAGE_OFFSET, align 8, !tbaa !6
%3 = icmp ugt i64 %2, %0
br i1 %3, label %10, label %4
4: ; preds = %1
%5 = load ptr, ptr @high_memory, align 8
%6 = ptrtoint ptr %5 to i64
%7 = icmp ult i64 %6, %0
%8 = icmp ne ptr %5, null
%9 = and i1 %8, %7
br i1 %9, label %10, label %13
10: ; preds = %4, %1
%11 = load i32, ptr @EFAULT, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %13
13: ; preds = %4, %10
%14 = phi i32 [ %12, %10 ], [ 0, %4 ]
ret i32 %14
}
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 = !{!"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_unicore32_kernel_extr_traps.c_verify_stack |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_avr32dci.c_avr32dci_device_non_isoc_start.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_avr32dci.c_avr32dci_device_non_isoc_start.c"
target datalayout = "e-m:e-p270:32:32-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 @avr32dci_device_non_isoc_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @avr32dci_device_non_isoc_start(ptr noundef %0) #0 {
%2 = tail call i32 @avr32dci_setup_standard_chain(ptr noundef %0) #2
%3 = tail call i32 @avr32dci_start_standard_chain(ptr noundef %0) #2
ret void
}
declare i32 @avr32dci_setup_standard_chain(ptr noundef) local_unnamed_addr #1
declare i32 @avr32dci_start_standard_chain(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_avr32dci.c_avr32dci_device_non_isoc_start.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_avr32dci.c_avr32dci_device_non_isoc_start.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 @avr32dci_device_non_isoc_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @avr32dci_device_non_isoc_start(ptr noundef %0) #0 {
%2 = tail call i32 @avr32dci_setup_standard_chain(ptr noundef %0) #2
%3 = tail call i32 @avr32dci_start_standard_chain(ptr noundef %0) #2
ret void
}
declare i32 @avr32dci_setup_standard_chain(ptr noundef) local_unnamed_addr #1
declare i32 @avr32dci_start_standard_chain(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_usb_controller_extr_avr32dci.c_avr32dci_device_non_isoc_start |
; ModuleID = 'AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-v4.c_kvm_vgic_v4_enable_doorbell.c'
source_filename = "AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-v4.c_kvm_vgic_v4_enable_doorbell.c"
target datalayout = "e-m:e-p270:32:32-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.kvm_vcpu = type { %struct.TYPE_8__, i32 }
%struct.TYPE_8__ = type { %struct.TYPE_7__ }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
; Function Attrs: nounwind uwtable
define dso_local void @kvm_vgic_v4_enable_doorbell(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i64 @vgic_supports_direct_msis(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 4, !tbaa !14
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @enable_irq(i32 noundef %7) #2
br label %11
11: ; preds = %6, %9, %1
ret void
}
declare i64 @vgic_supports_direct_msis(i32 noundef) local_unnamed_addr #1
declare i32 @enable_irq(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 4}
!6 = !{!"kvm_vcpu", !7, i64 0, !11, i64 4}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"TYPE_6__", !10, i64 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C/C++ TBAA"}
!14 = !{!6, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-v4.c_kvm_vgic_v4_enable_doorbell.c'
source_filename = "AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-v4.c_kvm_vgic_v4_enable_doorbell.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_vgic_v4_enable_doorbell(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i64 @vgic_supports_direct_msis(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 4, !tbaa !15
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @enable_irq(i32 noundef %7) #2
br label %11
11: ; preds = %6, %9, %1
ret void
}
declare i64 @vgic_supports_direct_msis(i32 noundef) local_unnamed_addr #1
declare i32 @enable_irq(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 4}
!7 = !{!"kvm_vcpu", !8, i64 0, !12, i64 4}
!8 = !{!"TYPE_8__", !9, i64 0}
!9 = !{!"TYPE_7__", !10, i64 0}
!10 = !{!"TYPE_6__", !11, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"int", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C/C++ TBAA"}
!15 = !{!7, !12, i64 0}
| linux_virt_kvm_arm_vgic_extr_vgic-v4.c_kvm_vgic_v4_enable_doorbell |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_nodemgr.c_nodemgr_node_scan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_nodemgr.c_nodemgr_node_scan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hpsb_host = type { i32, i64 }
%struct.selfid = type { i32, i64 }
@LOCAL_BUS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nodemgr_node_scan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nodemgr_node_scan(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %28, label %5
5: ; preds = %2
%6 = load i32, ptr @LOCAL_BUS, align 4, !tbaa !11
%7 = getelementptr inbounds %struct.hpsb_host, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = inttoptr i64 %8 to ptr
br label %10
10: ; preds = %5, %23
%11 = phi i32 [ %24, %23 ], [ %6, %5 ]
%12 = phi ptr [ %26, %23 ], [ %9, %5 ]
%13 = phi i32 [ %25, %23 ], [ %3, %5 ]
%14 = getelementptr inbounds %struct.selfid, ptr %12, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %10
%18 = load i32, ptr %12, align 8, !tbaa !15
%19 = icmp eq i32 %18, 0
%20 = add nsw i32 %11, 1
br i1 %19, label %23, label %21
21: ; preds = %17
%22 = tail call i32 @nodemgr_node_scan_one(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %1) #2
br label %23
23: ; preds = %17, %10, %21
%24 = phi i32 [ %11, %10 ], [ %20, %21 ], [ %20, %17 ]
%25 = add nsw i32 %13, -1
%26 = getelementptr inbounds %struct.selfid, ptr %12, i64 1
%27 = icmp eq i32 %25, 0
br i1 %27, label %28, label %10, !llvm.loop !16
28: ; preds = %23, %2
ret void
}
declare i32 @nodemgr_node_scan_one(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 = !{!"hpsb_host", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !10, i64 8}
!14 = !{!"selfid", !7, i64 0, !10, i64 8}
!15 = !{!14, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_nodemgr.c_nodemgr_node_scan.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_nodemgr.c_nodemgr_node_scan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LOCAL_BUS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nodemgr_node_scan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nodemgr_node_scan(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %28, label %5
5: ; preds = %2
%6 = load i32, ptr @LOCAL_BUS, align 4, !tbaa !12
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = inttoptr i64 %8 to ptr
br label %10
10: ; preds = %5, %23
%11 = phi i32 [ %24, %23 ], [ %6, %5 ]
%12 = phi ptr [ %26, %23 ], [ %9, %5 ]
%13 = phi i32 [ %25, %23 ], [ %3, %5 ]
%14 = getelementptr inbounds i8, ptr %12, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !14
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %10
%18 = load i32, ptr %12, align 8, !tbaa !16
%19 = icmp eq i32 %18, 0
%20 = add nsw i32 %11, 1
br i1 %19, label %23, label %21
21: ; preds = %17
%22 = tail call i32 @nodemgr_node_scan_one(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %1) #2
br label %23
23: ; preds = %17, %10, %21
%24 = phi i32 [ %11, %10 ], [ %20, %21 ], [ %20, %17 ]
%25 = add nsw i32 %13, -1
%26 = getelementptr inbounds i8, ptr %12, i64 16
%27 = icmp eq i32 %25, 0
br i1 %27, label %28, label %10, !llvm.loop !17
28: ; preds = %23, %2
ret void
}
declare i32 @nodemgr_node_scan_one(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 = !{!"hpsb_host", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !11, i64 8}
!15 = !{!"selfid", !8, i64 0, !11, i64 8}
!16 = !{!15, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_ieee1394_extr_nodemgr.c_nodemgr_node_scan |
; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest7.c_testPagesize.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest7.c_testPagesize.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LSM_CONFIG_PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@LSM_CONFIG_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @testPagesize], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @testPagesize(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %18
9: ; preds = %4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 0, ptr %6, align 4, !tbaa !5
%10 = load i32, ptr @LSM_CONFIG_PAGE_SIZE, align 4, !tbaa !5
%11 = call i32 @lsm_config(ptr noundef %0, i32 noundef %10, ptr noundef nonnull %5) #3
%12 = load i32, ptr @LSM_CONFIG_BLOCK_SIZE, align 4, !tbaa !5
%13 = call i32 @lsm_config(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %6) #3
%14 = load i32, ptr %5, align 4, !tbaa !5
%15 = call i32 @testCompareInt(i32 noundef %14, i32 noundef %1, ptr noundef nonnull %3) #3
%16 = load i32, ptr %6, align 4, !tbaa !5
%17 = call i32 @testCompareInt(i32 noundef %16, i32 noundef %2, ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %18
18: ; preds = %9, %4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @lsm_config(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @testCompareInt(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest7.c_testPagesize.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest7.c_testPagesize.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LSM_CONFIG_PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@LSM_CONFIG_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @testPagesize], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @testPagesize(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %18
9: ; preds = %4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
store i32 0, ptr %5, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 0, ptr %6, align 4, !tbaa !6
%10 = load i32, ptr @LSM_CONFIG_PAGE_SIZE, align 4, !tbaa !6
%11 = call i32 @lsm_config(ptr noundef %0, i32 noundef %10, ptr noundef nonnull %5) #3
%12 = load i32, ptr @LSM_CONFIG_BLOCK_SIZE, align 4, !tbaa !6
%13 = call i32 @lsm_config(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %6) #3
%14 = load i32, ptr %5, align 4, !tbaa !6
%15 = call i32 @testCompareInt(i32 noundef %14, i32 noundef %1, ptr noundef nonnull %3) #3
%16 = load i32, ptr %6, align 4, !tbaa !6
%17 = call i32 @testCompareInt(i32 noundef %16, i32 noundef %2, ptr noundef nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %18
18: ; preds = %9, %4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @lsm_config(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @testCompareInt(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| sqlcipher_ext_lsm1_lsm-test_extr_lsmtest7.c_testPagesize |
; ModuleID = 'AnghaBench/freebsd/sys/dev/cfi/extr_cfi_core.c_cfi_amd_write.c'
source_filename = "AnghaBench/freebsd/sys/dev/cfi/extr_cfi_core.c_cfi_amd_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AMD_ADDR_START = dso_local local_unnamed_addr global i64 0, align 8
@CFI_AMD_UNLOCK = dso_local local_unnamed_addr global i64 0, align 8
@AMD_ADDR_ACK = dso_local local_unnamed_addr global i64 0, align 8
@CFI_AMD_UNLOCK_ACK = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @cfi_amd_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cfi_amd_write(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load i64, ptr @AMD_ADDR_START, align 8, !tbaa !5
%6 = add nsw i64 %5, %1
%7 = load i64, ptr @CFI_AMD_UNLOCK, align 8, !tbaa !5
%8 = tail call i32 @cfi_write(ptr noundef %0, i64 noundef %6, i64 noundef %7) #2
%9 = load i64, ptr @AMD_ADDR_ACK, align 8, !tbaa !5
%10 = add nsw i64 %9, %1
%11 = load i64, ptr @CFI_AMD_UNLOCK_ACK, align 8, !tbaa !5
%12 = tail call i32 @cfi_write(ptr noundef %0, i64 noundef %10, i64 noundef %11) #2
%13 = add nsw i64 %2, %1
%14 = tail call i32 @cfi_write(ptr noundef %0, i64 noundef %13, i64 noundef %3) #2
ret void
}
declare i32 @cfi_write(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/cfi/extr_cfi_core.c_cfi_amd_write.c'
source_filename = "AnghaBench/freebsd/sys/dev/cfi/extr_cfi_core.c_cfi_amd_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AMD_ADDR_START = common local_unnamed_addr global i64 0, align 8
@CFI_AMD_UNLOCK = common local_unnamed_addr global i64 0, align 8
@AMD_ADDR_ACK = common local_unnamed_addr global i64 0, align 8
@CFI_AMD_UNLOCK_ACK = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @cfi_amd_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cfi_amd_write(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load i64, ptr @AMD_ADDR_START, align 8, !tbaa !6
%6 = add nsw i64 %5, %1
%7 = load i64, ptr @CFI_AMD_UNLOCK, align 8, !tbaa !6
%8 = tail call i32 @cfi_write(ptr noundef %0, i64 noundef %6, i64 noundef %7) #2
%9 = load i64, ptr @AMD_ADDR_ACK, align 8, !tbaa !6
%10 = add nsw i64 %9, %1
%11 = load i64, ptr @CFI_AMD_UNLOCK_ACK, align 8, !tbaa !6
%12 = tail call i32 @cfi_write(ptr noundef %0, i64 noundef %10, i64 noundef %11) #2
%13 = add nsw i64 %2, %1
%14 = tail call i32 @cfi_write(ptr noundef %0, i64 noundef %13, i64 noundef %3) #2
ret void
}
declare i32 @cfi_write(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_cfi_extr_cfi_core.c_cfi_amd_write |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_srq.c_mlx4_srq_arm.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_srq.c_mlx4_srq_arm.c"
target datalayout = "e-m:e-p270:32:32-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 @mlx4_srq_arm(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = tail call i32 @mlx4_ARM_SRQ(ptr noundef %0, i32 noundef %4, i32 noundef %2) #2
ret i32 %5
}
declare i32 @mlx4_ARM_SRQ(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 = !{!"mlx4_srq", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_srq.c_mlx4_srq_arm.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_srq.c_mlx4_srq_arm.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 @mlx4_srq_arm(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = tail call i32 @mlx4_ARM_SRQ(ptr noundef %0, i32 noundef %4, i32 noundef %2) #2
ret i32 %5
}
declare i32 @mlx4_ARM_SRQ(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 = !{!"mlx4_srq", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_mellanox_mlx4_extr_srq.c_mlx4_srq_arm |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-video.c_show_compression.c'
source_filename = "AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-video.c_show_compression.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@ISOC_MODE_COMPRESS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_compression], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @show_compression(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_video_device(ptr noundef %0) #2
%5 = tail call ptr @video_get_drvdata(ptr noundef %4) #2
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = load i64, ptr @ISOC_MODE_COMPRESS, align 8, !tbaa !10
%8 = icmp eq i64 %6, %7
%9 = zext i1 %8 to i32
%10 = tail call ptr @YES_NO(i32 noundef %9) #2
%11 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef %10) #2
ret i32 %11
}
declare ptr @to_video_device(ptr noundef) local_unnamed_addr #1
declare ptr @video_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @YES_NO(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 = !{!"usb_usbvision", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-video.c_show_compression.c'
source_filename = "AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-video.c_show_compression.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@ISOC_MODE_COMPRESS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @show_compression], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @show_compression(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_video_device(ptr noundef %0) #2
%5 = tail call ptr @video_get_drvdata(ptr noundef %4) #2
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = load i64, ptr @ISOC_MODE_COMPRESS, align 8, !tbaa !11
%8 = icmp eq i64 %6, %7
%9 = zext i1 %8 to i32
%10 = tail call ptr @YES_NO(i32 noundef %9) #2
%11 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef %10) #2
ret i32 %11
}
declare ptr @to_video_device(ptr noundef) local_unnamed_addr #1
declare ptr @video_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @YES_NO(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 = !{!"usb_usbvision", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_media_usb_usbvision_extr_usbvision-video.c_show_compression |
; ModuleID = 'AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_usb.c_send_tx_packet.c'
source_filename = "AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_usb.c_send_tx_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"
%struct.usb_tx = type { i32, i32 }
@gdm_usb_send_complete = dso_local local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"usb_submit_urb failed: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @send_tx_packet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @send_tx_packet(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = and i32 %2, 511
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = or disjoint i32 %6, %2
%8 = load i32, ptr %1, align 4, !tbaa !5
%9 = tail call i32 @usb_sndbulkpipe(ptr noundef %0, i32 noundef 2) #2
%10 = getelementptr inbounds %struct.usb_tx, ptr %1, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !10
%12 = load i32, ptr @gdm_usb_send_complete, align 4, !tbaa !11
%13 = tail call i32 @usb_fill_bulk_urb(i32 noundef %8, ptr noundef %0, i32 noundef %9, i32 noundef %11, i32 noundef %7, i32 noundef %12, ptr noundef nonnull %1) #2
%14 = load i32, ptr %1, align 4, !tbaa !5
%15 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !11
%16 = tail call i32 @usb_submit_urb(i32 noundef %14, i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %3
%19 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %16) #2
br label %20
20: ; preds = %18, %3
%21 = tail call i32 @usb_mark_last_busy(ptr noundef %0) #2
ret i32 %16
}
declare i32 @usb_fill_bulk_urb(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_sndbulkpipe(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_submit_urb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_mark_last_busy(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 = !{!"usb_tx", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_usb.c_send_tx_packet.c'
source_filename = "AnghaBench/linux/drivers/staging/gdm724x/extr_gdm_usb.c_send_tx_packet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@gdm_usb_send_complete = common local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"usb_submit_urb failed: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @send_tx_packet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @send_tx_packet(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = and i32 %2, 511
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = or disjoint i32 %6, %2
%8 = load i32, ptr %1, align 4, !tbaa !6
%9 = tail call i32 @usb_sndbulkpipe(ptr noundef %0, i32 noundef 2) #2
%10 = getelementptr inbounds i8, ptr %1, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = load i32, ptr @gdm_usb_send_complete, align 4, !tbaa !12
%13 = tail call i32 @usb_fill_bulk_urb(i32 noundef %8, ptr noundef %0, i32 noundef %9, i32 noundef %11, i32 noundef %7, i32 noundef %12, ptr noundef nonnull %1) #2
%14 = load i32, ptr %1, align 4, !tbaa !6
%15 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !12
%16 = tail call i32 @usb_submit_urb(i32 noundef %14, i32 noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %3
%19 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %16) #2
br label %20
20: ; preds = %18, %3
%21 = tail call i32 @usb_mark_last_busy(ptr noundef %0) #2
ret i32 %16
}
declare i32 @usb_fill_bulk_urb(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_sndbulkpipe(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_submit_urb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_mark_last_busy(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 = !{!"usb_tx", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!8, !8, i64 0}
| linux_drivers_staging_gdm724x_extr_gdm_usb.c_send_tx_packet |
; ModuleID = 'AnghaBench/mruby/mrbgems/mruby-compiler/core/extr_codegen.c_genop_W.c'
source_filename = "AnghaBench/mruby/mrbgems/mruby-compiler/core/extr_codegen.c_genop_W.c"
target datalayout = "e-m:e-p270:32:32-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 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @genop_W], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @genop_W(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = lshr i32 %2, 16
%5 = and i32 %4, 255
%6 = lshr i32 %2, 8
%7 = and i32 %6, 255
%8 = and i32 %2, 255
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
store i32 %9, ptr %10, align 4, !tbaa !10
%11 = tail call i32 @gen_B(ptr noundef nonnull %0, i32 noundef %1) #2
%12 = tail call i32 @gen_B(ptr noundef nonnull %0, i32 noundef %5) #2
%13 = tail call i32 @gen_B(ptr noundef nonnull %0, i32 noundef %7) #2
%14 = tail call i32 @gen_B(ptr noundef nonnull %0, i32 noundef %8) #2
ret void
}
declare i32 @gen_B(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/mruby/mrbgems/mruby-compiler/core/extr_codegen.c_genop_W.c'
source_filename = "AnghaBench/mruby/mrbgems/mruby-compiler/core/extr_codegen.c_genop_W.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 @genop_W], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @genop_W(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = lshr i32 %2, 16
%5 = and i32 %4, 255
%6 = lshr i32 %2, 8
%7 = and i32 %6, 255
%8 = and i32 %2, 255
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %9, ptr %10, align 4, !tbaa !11
%11 = tail call i32 @gen_B(ptr noundef nonnull %0, i32 noundef %1) #2
%12 = tail call i32 @gen_B(ptr noundef nonnull %0, i32 noundef %5) #2
%13 = tail call i32 @gen_B(ptr noundef nonnull %0, i32 noundef %7) #2
%14 = tail call i32 @gen_B(ptr noundef nonnull %0, i32 noundef %8) #2
ret void
}
declare i32 @gen_B(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| mruby_mrbgems_mruby-compiler_core_extr_codegen.c_genop_W |
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_GetTipTextColor.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_GetTipTextColor.c"
target datalayout = "e-m:e-p270:32:32-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 @TOOLTIPS_GetTipTextColor], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @TOOLTIPS_GetTipTextColor(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { inlinehint 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/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_GetTipTextColor.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_tooltips.c_TOOLTIPS_GetTipTextColor.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 @TOOLTIPS_GetTipTextColor], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @TOOLTIPS_GetTipTextColor(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { inlinehint 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"}
| reactos_dll_win32_comctl32_extr_tooltips.c_TOOLTIPS_GetTipTextColor |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn23xx_pf_device.c_cn23xx_handle_pf_mbox_intr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn23xx_pf_device.c_cn23xx_handle_pf_mbox_intr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { %struct.delayed_work }
%struct.delayed_work = type { i32 }
%struct.octeon_device = type { ptr, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @cn23xx_handle_pf_mbox_intr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cn23xx_handle_pf_mbox_intr(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !12
%4 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = tail call i32 @readq(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.octeon_device, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !18
%9 = icmp eq i64 %8, 0
br i1 %9, label %41, label %10
10: ; preds = %1
%11 = getelementptr inbounds %struct.octeon_device, ptr %0, i64 0, i32 1, i32 1
br label %12
12: ; preds = %10, %37
%13 = phi i64 [ 0, %10 ], [ %38, %37 ]
%14 = load i64, ptr %11, align 8, !tbaa !19
%15 = mul i64 %14, %13
%16 = tail call i32 @BIT_ULL(i64 noundef %15) #2
%17 = and i32 %16, %6
%18 = icmp eq i32 %17, 0
br i1 %18, label %37, label %19
19: ; preds = %12
%20 = tail call i32 @BIT_ULL(i64 noundef %15) #2
%21 = load ptr, ptr %0, align 8, !tbaa !5
%22 = load ptr, ptr %21, align 8, !tbaa !12
%23 = getelementptr inbounds %struct.TYPE_6__, ptr %22, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = tail call i32 @writeq(i32 noundef %20, i32 noundef %24) #2
%26 = load ptr, ptr %0, align 8, !tbaa !5
%27 = getelementptr inbounds ptr, ptr %26, i64 %15
%28 = load ptr, ptr %27, align 8, !tbaa !12
%29 = tail call i64 @octeon_mbox_read(ptr noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %37, label %31
31: ; preds = %19
%32 = load ptr, ptr %0, align 8, !tbaa !5
%33 = getelementptr inbounds ptr, ptr %32, i64 %15
%34 = load ptr, ptr %33, align 8, !tbaa !12
%35 = tail call i32 @msecs_to_jiffies(i32 noundef 0) #2
%36 = tail call i32 @schedule_delayed_work(ptr noundef %34, i32 noundef %35) #2
br label %37
37: ; preds = %12, %31, %19
%38 = add nuw i64 %13, 1
%39 = load i64, ptr %7, align 8, !tbaa !18
%40 = icmp ult i64 %38, %39
br i1 %40, label %12, label %41, !llvm.loop !20
41: ; preds = %37, %1
ret void
}
declare i32 @readq(i32 noundef) local_unnamed_addr #1
declare i32 @BIT_ULL(i64 noundef) local_unnamed_addr #1
declare i32 @writeq(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @octeon_mbox_read(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"octeon_device", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0, !11, i64 8}
!11 = !{!"long", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !17, i64 4}
!14 = !{!"TYPE_6__", !15, i64 0, !17, i64 4}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"delayed_work", !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!6, !11, i64 8}
!19 = !{!6, !11, i64 16}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn23xx_pf_device.c_cn23xx_handle_pf_mbox_intr.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn23xx_pf_device.c_cn23xx_handle_pf_mbox_intr.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 @cn23xx_handle_pf_mbox_intr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cn23xx_handle_pf_mbox_intr(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !13
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !14
%6 = tail call i32 @readq(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !19
%9 = icmp eq i64 %8, 0
br i1 %9, label %41, label %10
10: ; preds = %1
%11 = getelementptr inbounds i8, ptr %0, i64 16
br label %12
12: ; preds = %10, %37
%13 = phi i64 [ 0, %10 ], [ %38, %37 ]
%14 = load i64, ptr %11, align 8, !tbaa !20
%15 = mul i64 %14, %13
%16 = tail call i32 @BIT_ULL(i64 noundef %15) #2
%17 = and i32 %16, %6
%18 = icmp eq i32 %17, 0
br i1 %18, label %37, label %19
19: ; preds = %12
%20 = tail call i32 @BIT_ULL(i64 noundef %15) #2
%21 = load ptr, ptr %0, align 8, !tbaa !6
%22 = load ptr, ptr %21, align 8, !tbaa !13
%23 = getelementptr inbounds i8, ptr %22, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !14
%25 = tail call i32 @writeq(i32 noundef %20, i32 noundef %24) #2
%26 = load ptr, ptr %0, align 8, !tbaa !6
%27 = getelementptr inbounds ptr, ptr %26, i64 %15
%28 = load ptr, ptr %27, align 8, !tbaa !13
%29 = tail call i64 @octeon_mbox_read(ptr noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %37, label %31
31: ; preds = %19
%32 = load ptr, ptr %0, align 8, !tbaa !6
%33 = getelementptr inbounds ptr, ptr %32, i64 %15
%34 = load ptr, ptr %33, align 8, !tbaa !13
%35 = tail call i32 @msecs_to_jiffies(i32 noundef 0) #2
%36 = tail call i32 @schedule_delayed_work(ptr noundef %34, i32 noundef %35) #2
br label %37
37: ; preds = %12, %31, %19
%38 = add nuw i64 %13, 1
%39 = load i64, ptr %7, align 8, !tbaa !19
%40 = icmp ult i64 %38, %39
br i1 %40, label %12, label %41, !llvm.loop !21
41: ; preds = %37, %1
ret void
}
declare i32 @readq(i32 noundef) local_unnamed_addr #1
declare i32 @BIT_ULL(i64 noundef) local_unnamed_addr #1
declare i32 @writeq(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @octeon_mbox_read(ptr noundef) local_unnamed_addr #1
declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"octeon_device", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0, !12, i64 8}
!12 = !{!"long", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !18, i64 4}
!15 = !{!"TYPE_6__", !16, i64 0, !18, i64 4}
!16 = !{!"TYPE_5__", !17, i64 0}
!17 = !{!"delayed_work", !18, i64 0}
!18 = !{!"int", !9, i64 0}
!19 = !{!7, !12, i64 8}
!20 = !{!7, !12, i64 16}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_cavium_liquidio_extr_cn23xx_pf_device.c_cn23xx_handle_pf_mbox_intr |
; ModuleID = 'AnghaBench/linux/drivers/cpuidle/extr_cpuidle-powernv.c_snooze_loop.c'
source_filename = "AnghaBench/linux/drivers/cpuidle/extr_cpuidle-powernv.c_snooze_loop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TIF_POLLING_NRFLAG = dso_local local_unnamed_addr global i32 0, align 4
@snooze_timeout_en = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snooze_loop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snooze_loop(ptr noundef %0, ptr noundef %1, i32 noundef returned %2) #0 {
%4 = load i32, ptr @TIF_POLLING_NRFLAG, align 4, !tbaa !5
%5 = tail call i32 @set_thread_flag(i32 noundef %4) #2
%6 = tail call i32 (...) @local_irq_enable() #2
%7 = tail call i64 (...) @get_tb() #2
%8 = tail call i64 @get_snooze_timeout(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%9 = add nsw i64 %8, %7
%10 = tail call i32 (...) @ppc64_runlatch_off() #2
%11 = tail call i32 (...) @HMT_very_low() #2
%12 = tail call i32 (...) @need_resched() #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %28
14: ; preds = %3, %25
%15 = load i32, ptr @snooze_timeout_en, align 4, !tbaa !5
%16 = tail call i64 @likely(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %25, label %18
18: ; preds = %14
%19 = tail call i64 (...) @get_tb() #2
%20 = icmp sgt i64 %19, %9
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, ptr @TIF_POLLING_NRFLAG, align 4, !tbaa !5
%23 = tail call i32 @clear_thread_flag(i32 noundef %22) #2
%24 = tail call i32 (...) @smp_mb() #2
br label %28
25: ; preds = %18, %14
%26 = tail call i32 (...) @need_resched() #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %14, label %28, !llvm.loop !9
28: ; preds = %25, %3, %21
%29 = tail call i32 (...) @HMT_medium() #2
%30 = tail call i32 (...) @ppc64_runlatch_on() #2
%31 = load i32, ptr @TIF_POLLING_NRFLAG, align 4, !tbaa !5
%32 = tail call i32 @clear_thread_flag(i32 noundef %31) #2
%33 = tail call i32 (...) @local_irq_disable() #2
ret i32 %2
}
declare i32 @set_thread_flag(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_enable(...) local_unnamed_addr #1
declare i64 @get_tb(...) local_unnamed_addr #1
declare i64 @get_snooze_timeout(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ppc64_runlatch_off(...) local_unnamed_addr #1
declare i32 @HMT_very_low(...) local_unnamed_addr #1
declare i32 @need_resched(...) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @clear_thread_flag(i32 noundef) local_unnamed_addr #1
declare i32 @smp_mb(...) local_unnamed_addr #1
declare i32 @HMT_medium(...) local_unnamed_addr #1
declare i32 @ppc64_runlatch_on(...) local_unnamed_addr #1
declare i32 @local_irq_disable(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/cpuidle/extr_cpuidle-powernv.c_snooze_loop.c'
source_filename = "AnghaBench/linux/drivers/cpuidle/extr_cpuidle-powernv.c_snooze_loop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIF_POLLING_NRFLAG = common local_unnamed_addr global i32 0, align 4
@snooze_timeout_en = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snooze_loop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @snooze_loop(ptr noundef %0, ptr noundef %1, i32 noundef returned %2) #0 {
%4 = load i32, ptr @TIF_POLLING_NRFLAG, align 4, !tbaa !6
%5 = tail call i32 @set_thread_flag(i32 noundef %4) #2
%6 = tail call i32 @local_irq_enable() #2
%7 = tail call i64 @get_tb() #2
%8 = tail call i64 @get_snooze_timeout(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
%9 = add nsw i64 %8, %7
%10 = tail call i32 @ppc64_runlatch_off() #2
%11 = tail call i32 @HMT_very_low() #2
%12 = tail call i32 @need_resched() #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %28
14: ; preds = %3, %25
%15 = load i32, ptr @snooze_timeout_en, align 4, !tbaa !6
%16 = tail call i64 @likely(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %25, label %18
18: ; preds = %14
%19 = tail call i64 @get_tb() #2
%20 = icmp sgt i64 %19, %9
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, ptr @TIF_POLLING_NRFLAG, align 4, !tbaa !6
%23 = tail call i32 @clear_thread_flag(i32 noundef %22) #2
%24 = tail call i32 @smp_mb() #2
br label %28
25: ; preds = %18, %14
%26 = tail call i32 @need_resched() #2
%27 = icmp eq i32 %26, 0
br i1 %27, label %14, label %28, !llvm.loop !10
28: ; preds = %25, %3, %21
%29 = tail call i32 @HMT_medium() #2
%30 = tail call i32 @ppc64_runlatch_on() #2
%31 = load i32, ptr @TIF_POLLING_NRFLAG, align 4, !tbaa !6
%32 = tail call i32 @clear_thread_flag(i32 noundef %31) #2
%33 = tail call i32 @local_irq_disable() #2
ret i32 %2
}
declare i32 @set_thread_flag(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_enable(...) local_unnamed_addr #1
declare i64 @get_tb(...) local_unnamed_addr #1
declare i64 @get_snooze_timeout(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ppc64_runlatch_off(...) local_unnamed_addr #1
declare i32 @HMT_very_low(...) local_unnamed_addr #1
declare i32 @need_resched(...) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @clear_thread_flag(i32 noundef) local_unnamed_addr #1
declare i32 @smp_mb(...) local_unnamed_addr #1
declare i32 @HMT_medium(...) local_unnamed_addr #1
declare i32 @ppc64_runlatch_on(...) local_unnamed_addr #1
declare i32 @local_irq_disable(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_drivers_cpuidle_extr_cpuidle-powernv.c_snooze_loop |
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_sctp_asconf.c_sctp_asconf_process_param_ack.c'
source_filename = "AnghaBench/freebsd/sys/netinet/extr_sctp_asconf.c_sctp_asconf_process_param_ack.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.sctp_asconf_addr = type { i64, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
@SCTP_DEBUG_ASCONF1 = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"process_param_ack: added IP address\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"process_param_ack: deleted IP address\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"process_param_ack: set primary IP address\0A\00", align 1
@next = dso_local local_unnamed_addr global i32 0, align 4
@SCTP_M_ASC_ADDR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sctp_asconf_process_param_ack], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sctp_asconf_process_param_ack(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.sctp_asconf_addr, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 8, !tbaa !5
switch i32 %5, label %17 [
i32 130, label %6
i32 129, label %11
i32 128, label %14
]
6: ; preds = %3
%7 = load i32, ptr @SCTP_DEBUG_ASCONF1, align 4, !tbaa !14
%8 = tail call i32 @SCTPDBG(i32 noundef %7, ptr noundef nonnull @.str) #2
%9 = load i64, ptr %1, align 8, !tbaa !15
%10 = tail call i32 @sctp_asconf_addr_mgmt_ack(ptr noundef %0, i64 noundef %9, i32 noundef %2) #2
br label %17
11: ; preds = %3
%12 = load i32, ptr @SCTP_DEBUG_ASCONF1, align 4, !tbaa !14
%13 = tail call i32 @SCTPDBG(i32 noundef %12, ptr noundef nonnull @.str.1) #2
br label %17
14: ; preds = %3
%15 = load i32, ptr @SCTP_DEBUG_ASCONF1, align 4, !tbaa !14
%16 = tail call i32 @SCTPDBG(i32 noundef %15, ptr noundef nonnull @.str.2) #2
br label %17
17: ; preds = %3, %14, %11, %6
%18 = load i32, ptr @next, align 4, !tbaa !14
%19 = tail call i32 @TAILQ_REMOVE(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %18) #2
%20 = load i64, ptr %1, align 8, !tbaa !15
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = tail call i32 @sctp_free_ifa(i64 noundef %20) #2
br label %24
24: ; preds = %22, %17
%25 = load i32, ptr @SCTP_M_ASC_ADDR, align 4, !tbaa !14
%26 = tail call i32 @SCTP_FREE(ptr noundef nonnull %1, i32 noundef %25) #2
ret void
}
declare i32 @SCTPDBG(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sctp_asconf_addr_mgmt_ack(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sctp_free_ifa(i64 noundef) local_unnamed_addr #1
declare i32 @SCTP_FREE(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, !13, i64 8}
!6 = !{!"sctp_asconf_addr", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_7__", !11, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_sctp_asconf.c_sctp_asconf_process_param_ack.c'
source_filename = "AnghaBench/freebsd/sys/netinet/extr_sctp_asconf.c_sctp_asconf_process_param_ack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCTP_DEBUG_ASCONF1 = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"process_param_ack: added IP address\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"process_param_ack: deleted IP address\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"process_param_ack: set primary IP address\0A\00", align 1
@next = common local_unnamed_addr global i32 0, align 4
@SCTP_M_ASC_ADDR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sctp_asconf_process_param_ack], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sctp_asconf_process_param_ack(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load i32, ptr %4, align 8, !tbaa !6
switch i32 %5, label %17 [
i32 130, label %6
i32 129, label %11
i32 128, label %14
]
6: ; preds = %3
%7 = load i32, ptr @SCTP_DEBUG_ASCONF1, align 4, !tbaa !15
%8 = tail call i32 @SCTPDBG(i32 noundef %7, ptr noundef nonnull @.str) #2
%9 = load i64, ptr %1, align 8, !tbaa !16
%10 = tail call i32 @sctp_asconf_addr_mgmt_ack(ptr noundef %0, i64 noundef %9, i32 noundef %2) #2
br label %17
11: ; preds = %3
%12 = load i32, ptr @SCTP_DEBUG_ASCONF1, align 4, !tbaa !15
%13 = tail call i32 @SCTPDBG(i32 noundef %12, ptr noundef nonnull @.str.1) #2
br label %17
14: ; preds = %3
%15 = load i32, ptr @SCTP_DEBUG_ASCONF1, align 4, !tbaa !15
%16 = tail call i32 @SCTPDBG(i32 noundef %15, ptr noundef nonnull @.str.2) #2
br label %17
17: ; preds = %3, %14, %11, %6
%18 = load i32, ptr @next, align 4, !tbaa !15
%19 = tail call i32 @TAILQ_REMOVE(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %18) #2
%20 = load i64, ptr %1, align 8, !tbaa !16
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = tail call i32 @sctp_free_ifa(i64 noundef %20) #2
br label %24
24: ; preds = %22, %17
%25 = load i32, ptr @SCTP_M_ASC_ADDR, align 4, !tbaa !15
%26 = tail call i32 @SCTP_FREE(ptr noundef nonnull %1, i32 noundef %25) #2
ret void
}
declare i32 @SCTPDBG(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @sctp_asconf_addr_mgmt_ack(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TAILQ_REMOVE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sctp_free_ifa(i64 noundef) local_unnamed_addr #1
declare i32 @SCTP_FREE(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, !14, i64 8}
!7 = !{!"sctp_asconf_addr", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!7, !8, i64 0}
| freebsd_sys_netinet_extr_sctp_asconf.c_sctp_asconf_process_param_ack |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega12_hwmgr.c_vega12_set_default_registry_data.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega12_hwmgr.c_vega12_set_default_registry_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vega12_hwmgr = type { %struct.TYPE_2__, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
@PPVEGA12_VEGA12GFXCLKAVERAGEALPHA_DFLT = dso_local local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12SOCCLKAVERAGEALPHA_DFLT = dso_local local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12UCLKCLKAVERAGEALPHA_DFLT = dso_local local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12GFXACTIVITYAVERAGEALPHA_DFLT = dso_local local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12LOWESTUCLKRESERVEDFORULV_DFLT = dso_local local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12DISPLAYVOLTAGEMODE_DFLT = dso_local local_unnamed_addr global i32 0, align 4
@PPREGKEY_VEGA12QUADRATICEQUATION_DFLT = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vega12_set_default_registry_data], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal void @vega12_set_default_registry_data(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr @PPVEGA12_VEGA12GFXCLKAVERAGEALPHA_DFLT, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 18
store i32 %4, ptr %5, align 4, !tbaa !12
%6 = load i32, ptr @PPVEGA12_VEGA12SOCCLKAVERAGEALPHA_DFLT, align 4, !tbaa !10
%7 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 17
store i32 %6, ptr %7, align 8, !tbaa !16
%8 = load i32, ptr @PPVEGA12_VEGA12UCLKCLKAVERAGEALPHA_DFLT, align 4, !tbaa !10
%9 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 16
store i32 %8, ptr %9, align 4, !tbaa !17
%10 = load i32, ptr @PPVEGA12_VEGA12GFXACTIVITYAVERAGEALPHA_DFLT, align 4, !tbaa !10
%11 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 15
store i32 %10, ptr %11, align 8, !tbaa !18
%12 = load i32, ptr @PPVEGA12_VEGA12LOWESTUCLKRESERVEDFORULV_DFLT, align 4, !tbaa !10
%13 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 14
store i32 %12, ptr %13, align 4, !tbaa !19
%14 = load i32, ptr @PPVEGA12_VEGA12DISPLAYVOLTAGEMODE_DFLT, align 4, !tbaa !10
%15 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 13
store i32 %14, ptr %15, align 8, !tbaa !20
%16 = load ptr, ptr @PPREGKEY_VEGA12QUADRATICEQUATION_DFLT, align 8, !tbaa !21
%17 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 12
store ptr %16, ptr %17, align 8, !tbaa !22
%18 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 11
store ptr %16, ptr %18, align 8, !tbaa !23
%19 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 10
store ptr %16, ptr %19, align 8, !tbaa !24
%20 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 9
store ptr %16, ptr %20, align 8, !tbaa !25
%21 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 8
store ptr %16, ptr %21, align 8, !tbaa !26
%22 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 7
store ptr %16, ptr %22, align 8, !tbaa !27
%23 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 6
store ptr %16, ptr %23, align 8, !tbaa !28
%24 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 5
store ptr %16, ptr %24, align 8, !tbaa !29
%25 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 4
store ptr %16, ptr %25, align 8, !tbaa !30
%26 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 3
store ptr %16, ptr %26, align 8, !tbaa !31
%27 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 2
store ptr %16, ptr %27, align 8, !tbaa !32
%28 = getelementptr inbounds %struct.vega12_hwmgr, ptr %3, i64 0, i32 1
store ptr %16, ptr %28, align 8, !tbaa !33
store i32 0, ptr %3, align 8, !tbaa !34
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 40
store i64 0, ptr %29, align 8, !tbaa !35
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
store i32 1, ptr %30, align 4, !tbaa !36
%31 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 38
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %31, i8 0, i64 16, i1 false)
store i32 1, ptr %32, align 8, !tbaa !37
%33 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 37
store i64 0, ptr %33, align 8, !tbaa !38
%34 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 3
store i32 75, ptr %34, align 4, !tbaa !39
%35 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 36
store i64 0, ptr %35, align 8, !tbaa !40
%36 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 7
store <4 x i32> <i32 255, i32 255, i32 -1, i32 1>, ptr %36, align 4, !tbaa !10
%37 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 28
%38 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 11
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %37, i8 0, i64 16, i1 false)
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 24
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %39, i8 0, i64 32, i1 false)
store <4 x i32> <i32 65535, i32 65535, i32 1, i32 421072655>, ptr %38, align 4, !tbaa !10
%40 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 15
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 22
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %41, i8 0, i64 16, i1 false)
store <4 x i32> <i32 421075225, i32 3850, i32 1, i32 1>, ptr %40, align 4, !tbaa !10
%42 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 21
store i64 0, ptr %42, align 8, !tbaa !41
%43 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 19
store i32 100, ptr %43, align 4, !tbaa !42
%44 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 20
store i32 50, ptr %44, align 8, !tbaa !43
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pp_hwmgr", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 364}
!13 = !{!"vega12_hwmgr", !14, i64 0, !15, i64 248, !15, i64 256, !15, i64 264, !15, i64 272, !15, i64 280, !15, i64 288, !15, i64 296, !15, i64 304, !15, i64 312, !15, i64 320, !15, i64 328, !15, i64 336, !11, i64 344, !11, i64 348, !11, i64 352, !11, i64 356, !11, i64 360, !11, i64 364}
!14 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!13, !11, i64 360}
!17 = !{!13, !11, i64 356}
!18 = !{!13, !11, i64 352}
!19 = !{!13, !11, i64 348}
!20 = !{!13, !11, i64 344}
!21 = !{!15, !15, i64 0}
!22 = !{!13, !15, i64 336}
!23 = !{!13, !15, i64 328}
!24 = !{!13, !15, i64 320}
!25 = !{!13, !15, i64 312}
!26 = !{!13, !15, i64 304}
!27 = !{!13, !15, i64 296}
!28 = !{!13, !15, i64 288}
!29 = !{!13, !15, i64 280}
!30 = !{!13, !15, i64 272}
!31 = !{!13, !15, i64 264}
!32 = !{!13, !15, i64 256}
!33 = !{!13, !15, i64 248}
!34 = !{!13, !11, i64 0}
!35 = !{!13, !7, i64 240}
!36 = !{!13, !11, i64 4}
!37 = !{!13, !11, i64 8}
!38 = !{!13, !7, i64 216}
!39 = !{!13, !11, i64 12}
!40 = !{!13, !7, i64 208}
!41 = !{!13, !7, i64 88}
!42 = !{!13, !11, i64 76}
!43 = !{!13, !11, i64 80}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega12_hwmgr.c_vega12_set_default_registry_data.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega12_hwmgr.c_vega12_set_default_registry_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PPVEGA12_VEGA12GFXCLKAVERAGEALPHA_DFLT = common local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12SOCCLKAVERAGEALPHA_DFLT = common local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12UCLKCLKAVERAGEALPHA_DFLT = common local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12GFXACTIVITYAVERAGEALPHA_DFLT = common local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12LOWESTUCLKRESERVEDFORULV_DFLT = common local_unnamed_addr global i32 0, align 4
@PPVEGA12_VEGA12DISPLAYVOLTAGEMODE_DFLT = common local_unnamed_addr global i32 0, align 4
@PPREGKEY_VEGA12QUADRATICEQUATION_DFLT = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @vega12_set_default_registry_data], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @vega12_set_default_registry_data(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = inttoptr i64 %2 to ptr
%4 = load i32, ptr @PPVEGA12_VEGA12GFXCLKAVERAGEALPHA_DFLT, align 4, !tbaa !11
%5 = getelementptr inbounds i8, ptr %3, i64 364
store i32 %4, ptr %5, align 4, !tbaa !13
%6 = load i32, ptr @PPVEGA12_VEGA12SOCCLKAVERAGEALPHA_DFLT, align 4, !tbaa !11
%7 = getelementptr inbounds i8, ptr %3, i64 360
store i32 %6, ptr %7, align 8, !tbaa !17
%8 = load i32, ptr @PPVEGA12_VEGA12UCLKCLKAVERAGEALPHA_DFLT, align 4, !tbaa !11
%9 = getelementptr inbounds i8, ptr %3, i64 356
store i32 %8, ptr %9, align 4, !tbaa !18
%10 = load i32, ptr @PPVEGA12_VEGA12GFXACTIVITYAVERAGEALPHA_DFLT, align 4, !tbaa !11
%11 = getelementptr inbounds i8, ptr %3, i64 352
store i32 %10, ptr %11, align 8, !tbaa !19
%12 = load i32, ptr @PPVEGA12_VEGA12LOWESTUCLKRESERVEDFORULV_DFLT, align 4, !tbaa !11
%13 = getelementptr inbounds i8, ptr %3, i64 348
store i32 %12, ptr %13, align 4, !tbaa !20
%14 = load i32, ptr @PPVEGA12_VEGA12DISPLAYVOLTAGEMODE_DFLT, align 4, !tbaa !11
%15 = getelementptr inbounds i8, ptr %3, i64 344
store i32 %14, ptr %15, align 8, !tbaa !21
%16 = load ptr, ptr @PPREGKEY_VEGA12QUADRATICEQUATION_DFLT, align 8, !tbaa !22
%17 = getelementptr inbounds i8, ptr %3, i64 336
store ptr %16, ptr %17, align 8, !tbaa !23
%18 = getelementptr inbounds i8, ptr %3, i64 328
store ptr %16, ptr %18, align 8, !tbaa !24
%19 = getelementptr inbounds i8, ptr %3, i64 320
store ptr %16, ptr %19, align 8, !tbaa !25
%20 = getelementptr inbounds i8, ptr %3, i64 312
store ptr %16, ptr %20, align 8, !tbaa !26
%21 = getelementptr inbounds i8, ptr %3, i64 304
store ptr %16, ptr %21, align 8, !tbaa !27
%22 = getelementptr inbounds i8, ptr %3, i64 296
store ptr %16, ptr %22, align 8, !tbaa !28
%23 = getelementptr inbounds i8, ptr %3, i64 288
store ptr %16, ptr %23, align 8, !tbaa !29
%24 = getelementptr inbounds i8, ptr %3, i64 280
store ptr %16, ptr %24, align 8, !tbaa !30
%25 = getelementptr inbounds i8, ptr %3, i64 272
store ptr %16, ptr %25, align 8, !tbaa !31
%26 = getelementptr inbounds i8, ptr %3, i64 264
store ptr %16, ptr %26, align 8, !tbaa !32
%27 = getelementptr inbounds i8, ptr %3, i64 256
store ptr %16, ptr %27, align 8, !tbaa !33
%28 = getelementptr inbounds i8, ptr %3, i64 248
store ptr %16, ptr %28, align 8, !tbaa !34
store i32 0, ptr %3, align 8, !tbaa !35
%29 = getelementptr inbounds i8, ptr %3, i64 240
store i64 0, ptr %29, align 8, !tbaa !36
%30 = getelementptr inbounds i8, ptr %3, i64 4
%31 = getelementptr inbounds i8, ptr %3, i64 224
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %31, i8 0, i64 16, i1 false)
store <2 x i32> <i32 1, i32 1>, ptr %30, align 4, !tbaa !11
%32 = getelementptr inbounds i8, ptr %3, i64 216
store i64 0, ptr %32, align 8, !tbaa !37
%33 = getelementptr inbounds i8, ptr %3, i64 12
store i32 75, ptr %33, align 4, !tbaa !38
%34 = getelementptr inbounds i8, ptr %3, i64 208
store i64 0, ptr %34, align 8, !tbaa !39
%35 = getelementptr inbounds i8, ptr %3, i64 28
store <4 x i32> <i32 255, i32 255, i32 -1, i32 1>, ptr %35, align 4, !tbaa !11
%36 = getelementptr inbounds i8, ptr %3, i64 144
%37 = getelementptr inbounds i8, ptr %3, i64 44
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %36, i8 0, i64 16, i1 false)
%38 = getelementptr inbounds i8, ptr %3, i64 112
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %38, i8 0, i64 32, i1 false)
store <4 x i32> <i32 65535, i32 65535, i32 1, i32 421072655>, ptr %37, align 4, !tbaa !11
%39 = getelementptr inbounds i8, ptr %3, i64 60
%40 = getelementptr inbounds i8, ptr %3, i64 96
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %40, i8 0, i64 16, i1 false)
store <4 x i32> <i32 421075225, i32 3850, i32 1, i32 1>, ptr %39, align 4, !tbaa !11
%41 = getelementptr inbounds i8, ptr %3, i64 88
store i64 0, ptr %41, align 8, !tbaa !40
%42 = getelementptr inbounds i8, ptr %3, i64 76
store <2 x i32> <i32 100, i32 50>, ptr %42, align 4, !tbaa !11
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pp_hwmgr", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 364}
!14 = !{!"vega12_hwmgr", !15, i64 0, !16, i64 248, !16, i64 256, !16, i64 264, !16, i64 272, !16, i64 280, !16, i64 288, !16, i64 296, !16, i64 304, !16, i64 312, !16, i64 320, !16, i64 328, !16, i64 336, !12, i64 344, !12, i64 348, !12, i64 352, !12, i64 356, !12, i64 360, !12, i64 364}
!15 = !{!"TYPE_2__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !8, i64 88, !8, i64 96, !8, i64 104, !8, i64 112, !8, i64 120, !8, i64 128, !8, i64 136, !8, i64 144, !8, i64 152, !8, i64 160, !8, i64 168, !8, i64 176, !8, i64 184, !8, i64 192, !8, i64 200, !8, i64 208, !8, i64 216, !8, i64 224, !8, i64 232, !8, i64 240}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!14, !12, i64 360}
!18 = !{!14, !12, i64 356}
!19 = !{!14, !12, i64 352}
!20 = !{!14, !12, i64 348}
!21 = !{!14, !12, i64 344}
!22 = !{!16, !16, i64 0}
!23 = !{!14, !16, i64 336}
!24 = !{!14, !16, i64 328}
!25 = !{!14, !16, i64 320}
!26 = !{!14, !16, i64 312}
!27 = !{!14, !16, i64 304}
!28 = !{!14, !16, i64 296}
!29 = !{!14, !16, i64 288}
!30 = !{!14, !16, i64 280}
!31 = !{!14, !16, i64 272}
!32 = !{!14, !16, i64 264}
!33 = !{!14, !16, i64 256}
!34 = !{!14, !16, i64 248}
!35 = !{!14, !12, i64 0}
!36 = !{!14, !8, i64 240}
!37 = !{!14, !8, i64 216}
!38 = !{!14, !12, i64 12}
!39 = !{!14, !8, i64 208}
!40 = !{!14, !8, i64 88}
| linux_drivers_gpu_drm_amd_powerplay_hwmgr_extr_vega12_hwmgr.c_vega12_set_default_registry_data |
; ModuleID = 'AnghaBench/wcdb/repair/extr_sqliterk_btree.c_sqliterkBtreeGetType.c'
source_filename = "AnghaBench/wcdb/repair/extr_sqliterk_btree.c_sqliterkBtreeGetType.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@sqliterk_btree_type_unknown = 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 @sqliterkBtreeGetType(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = select i1 %2, ptr @sqliterk_btree_type_unknown, ptr %0
%4 = load i32, ptr %3, align 4, !tbaa !5
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/wcdb/repair/extr_sqliterk_btree.c_sqliterkBtreeGetType.c'
source_filename = "AnghaBench/wcdb/repair/extr_sqliterk_btree.c_sqliterkBtreeGetType.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sqliterk_btree_type_unknown = 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 @sqliterkBtreeGetType(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
%3 = select i1 %2, ptr @sqliterk_btree_type_unknown, ptr %0
%4 = load i32, ptr %3, align 4, !tbaa !6
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| wcdb_repair_extr_sqliterk_btree.c_sqliterkBtreeGetType |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_uncore.c_fw_domain_get.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_uncore.c_fw_domain_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"
@FORCEWAKE_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fw_domain_get], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @fw_domain_get(ptr noundef %0) #0 {
%2 = load i32, ptr @FORCEWAKE_KERNEL, align 4, !tbaa !5
%3 = tail call i32 @fw_set(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @fw_set(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_uncore.c_fw_domain_get.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_uncore.c_fw_domain_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FORCEWAKE_KERNEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fw_domain_get], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @fw_domain_get(ptr noundef %0) #0 {
%2 = load i32, ptr @FORCEWAKE_KERNEL, align 4, !tbaa !6
%3 = tail call i32 @fw_set(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @fw_set(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_i915_extr_intel_uncore.c_fw_domain_get |
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/regress/unittests/sshkey/extr_common.c_load_file.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/regress/unittests/sshkey/extr_common.c_load_file.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @load_file(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr (...) @sshbuf_new() #2
%3 = tail call i32 @ASSERT_PTR_NE(ptr noundef %2, ptr noundef null) #2
%4 = tail call i32 @test_data_file(ptr noundef %0) #2
%5 = load i32, ptr @O_RDONLY, align 4, !tbaa !5
%6 = tail call i32 @open(i32 noundef %4, i32 noundef %5) #2
%7 = tail call i32 @ASSERT_INT_NE(i32 noundef %6, i32 noundef -1) #2
%8 = tail call i32 @sshkey_load_file(i32 noundef %6, ptr noundef %2) #2
%9 = tail call i32 @ASSERT_INT_EQ(i32 noundef %8, i32 noundef 0) #2
%10 = tail call i32 @close(i32 noundef %6) #2
ret ptr %2
}
declare i32 @ASSERT_PTR_NE(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @sshbuf_new(...) local_unnamed_addr #1
declare i32 @ASSERT_INT_NE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @open(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @test_data_file(ptr noundef) local_unnamed_addr #1
declare i32 @ASSERT_INT_EQ(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sshkey_load_file(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @close(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/crypto/openssh/regress/unittests/sshkey/extr_common.c_load_file.c'
source_filename = "AnghaBench/freebsd/crypto/openssh/regress/unittests/sshkey/extr_common.c_load_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @load_file(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @sshbuf_new() #2
%3 = tail call i32 @ASSERT_PTR_NE(ptr noundef %2, ptr noundef null) #2
%4 = tail call i32 @test_data_file(ptr noundef %0) #2
%5 = load i32, ptr @O_RDONLY, align 4, !tbaa !6
%6 = tail call i32 @open(i32 noundef %4, i32 noundef %5) #2
%7 = tail call i32 @ASSERT_INT_NE(i32 noundef %6, i32 noundef -1) #2
%8 = tail call i32 @sshkey_load_file(i32 noundef %6, ptr noundef %2) #2
%9 = tail call i32 @ASSERT_INT_EQ(i32 noundef %8, i32 noundef 0) #2
%10 = tail call i32 @close(i32 noundef %6) #2
ret ptr %2
}
declare i32 @ASSERT_PTR_NE(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @sshbuf_new(...) local_unnamed_addr #1
declare i32 @ASSERT_INT_NE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @open(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @test_data_file(ptr noundef) local_unnamed_addr #1
declare i32 @ASSERT_INT_EQ(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sshkey_load_file(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @close(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_crypto_openssh_regress_unittests_sshkey_extr_common.c_load_file |
; ModuleID = 'AnghaBench/hashcat/src/extr_brain.c_brain_server_db_attack_free.c'
source_filename = "AnghaBench/hashcat/src/extr_brain.c_brain_server_db_attack_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"
%struct.TYPE_3__ = type { i32, i64, i64, ptr, i64, i64, ptr, i64, i64, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @brain_server_db_attack_free(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 10
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @hc_thread_mutex_delete(i32 noundef %3) #3
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 9
%6 = load i32, ptr %5, align 8, !tbaa !12
%7 = tail call i32 @hc_thread_mutex_delete(i32 noundef %6) #3
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = tail call i32 @hcfree(ptr noundef %9) #3
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = tail call i32 @hcfree(ptr noundef %12) #3
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i32 0, ptr %0, align 8, !tbaa !15
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
ret void
}
declare i32 @hc_thread_mutex_delete(i32 noundef) local_unnamed_addr #1
declare i32 @hcfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 76}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !10, i64 32, !10, i64 40, !11, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !7, i64 76}
!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 72}
!13 = !{!6, !11, i64 48}
!14 = !{!6, !11, i64 24}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/hashcat/src/extr_brain.c_brain_server_db_attack_free.c'
source_filename = "AnghaBench/hashcat/src/extr_brain.c_brain_server_db_attack_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 @brain_server_db_attack_free(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 76
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @hc_thread_mutex_delete(i32 noundef %3) #3
%5 = getelementptr inbounds i8, ptr %0, i64 72
%6 = load i32, ptr %5, align 8, !tbaa !13
%7 = tail call i32 @hc_thread_mutex_delete(i32 noundef %6) #3
%8 = getelementptr inbounds i8, ptr %0, i64 48
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = tail call i32 @hcfree(ptr noundef %9) #3
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load ptr, ptr %11, align 8, !tbaa !15
%13 = tail call i32 @hcfree(ptr noundef %12) #3
%14 = getelementptr inbounds i8, ptr %0, i64 8
store i32 0, ptr %0, align 8, !tbaa !16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %14, i8 0, i64 64, i1 false)
ret void
}
declare i32 @hc_thread_mutex_delete(i32 noundef) local_unnamed_addr #1
declare i32 @hcfree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 76}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !11, i64 56, !11, i64 64, !8, i64 72, !8, i64 76}
!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 72}
!14 = !{!7, !12, i64 48}
!15 = !{!7, !12, i64 24}
!16 = !{!7, !8, i64 0}
| hashcat_src_extr_brain.c_brain_server_db_attack_free |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/ia32/extr_binfmt_elf32.c_ia32_setup_arg_pages.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/ia32/extr_binfmt_elf32.c_ia32_setup_arg_pages.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IA32_STACK_TOP = dso_local local_unnamed_addr global i32 0, align 4
@current = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @ia32_setup_arg_pages(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @IA32_STACK_TOP, align 4, !tbaa !5
%4 = tail call i32 @setup_arg_pages(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = tail call i32 (...) @ia32_init_pp_list() #2
%8 = load ptr, ptr @current, align 8, !tbaa !9
store i32 %7, ptr %8, align 4, !tbaa !11
br label %9
9: ; preds = %6, %2
ret i32 %4
}
declare i32 @setup_arg_pages(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ia32_init_pp_list(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/ia32/extr_binfmt_elf32.c_ia32_setup_arg_pages.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/ia32/extr_binfmt_elf32.c_ia32_setup_arg_pages.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IA32_STACK_TOP = common local_unnamed_addr global i32 0, align 4
@current = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ia32_setup_arg_pages(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @IA32_STACK_TOP, align 4, !tbaa !6
%4 = tail call i32 @setup_arg_pages(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = tail call i32 @ia32_init_pp_list() #2
%8 = load ptr, ptr @current, align 8, !tbaa !10
store i32 %7, ptr %8, align 4, !tbaa !12
br label %9
9: ; preds = %6, %2
ret i32 %4
}
declare i32 @setup_arg_pages(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ia32_init_pp_list(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !7, i64 0}
| fastsocket_kernel_arch_ia64_ia32_extr_binfmt_elf32.c_ia32_setup_arg_pages |
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_vibes.c_sv_power.c'
source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_vibes.c_sv_power.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SV_REG_ANALOG_PWR = dso_local local_unnamed_addr global i32 0, align 4
@SV_ANALOG_OFF = dso_local local_unnamed_addr global i32 0, align 4
@SV_ANALOG_OFF_SRS = dso_local local_unnamed_addr global i32 0, align 4
@SV_ANALOG_OFF_SPLL = dso_local local_unnamed_addr global i32 0, align 4
@SV_REG_DIGITAL_PWR = dso_local local_unnamed_addr global i32 0, align 4
@SV_DIGITAL_OFF = dso_local local_unnamed_addr global i32 0, align 4
@SV_DIGITAL_OFF_SYN = dso_local local_unnamed_addr global i32 0, align 4
@SV_DIGITAL_OFF_MU = dso_local local_unnamed_addr global i32 0, align 4
@SV_DIGITAL_OFF_GP = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Power state %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @sv_power], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sv_power(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
%4 = load i32, ptr @SV_REG_ANALOG_PWR, align 4, !tbaa !5
%5 = tail call i32 @sv_indirect_get(ptr noundef %0, i32 noundef %4) #2
%6 = load i32, ptr @SV_ANALOG_OFF, align 4, !tbaa !5
br i1 %3, label %7, label %27
7: ; preds = %2
%8 = xor i32 %6, -1
%9 = and i32 %5, %8
%10 = load i32, ptr @SV_ANALOG_OFF_SRS, align 4, !tbaa !5
%11 = load i32, ptr @SV_ANALOG_OFF_SPLL, align 4, !tbaa !5
%12 = or i32 %9, %10
%13 = or i32 %12, %11
%14 = load i32, ptr @SV_REG_ANALOG_PWR, align 4, !tbaa !5
%15 = tail call i32 @sv_indirect_set(ptr noundef %0, i32 noundef %14, i32 noundef %13) #2
%16 = load i32, ptr @SV_REG_DIGITAL_PWR, align 4, !tbaa !5
%17 = tail call i32 @sv_indirect_get(ptr noundef %0, i32 noundef %16) #2
%18 = load i32, ptr @SV_DIGITAL_OFF, align 4, !tbaa !5
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
%21 = load i32, ptr @SV_DIGITAL_OFF_SYN, align 4, !tbaa !5
%22 = load i32, ptr @SV_DIGITAL_OFF_MU, align 4, !tbaa !5
%23 = load i32, ptr @SV_DIGITAL_OFF_GP, align 4, !tbaa !5
%24 = or i32 %20, %21
%25 = or i32 %24, %22
%26 = or i32 %25, %23
br label %34
27: ; preds = %2
%28 = or i32 %6, %5
%29 = load i32, ptr @SV_REG_ANALOG_PWR, align 4, !tbaa !5
%30 = tail call i32 @sv_indirect_set(ptr noundef %0, i32 noundef %29, i32 noundef %28) #2
%31 = load i32, ptr @SV_REG_DIGITAL_PWR, align 4, !tbaa !5
%32 = tail call i32 @sv_indirect_get(ptr noundef %0, i32 noundef %31) #2
%33 = load i32, ptr @SV_DIGITAL_OFF, align 4, !tbaa !5
br label %34
34: ; preds = %27, %7
%35 = phi i32 [ %33, %27 ], [ %26, %7 ]
%36 = load i32, ptr @SV_REG_DIGITAL_PWR, align 4, !tbaa !5
%37 = tail call i32 @sv_indirect_set(ptr noundef %0, i32 noundef %36, i32 noundef %35) #2
%38 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %1) #2
%39 = tail call i32 @DEB(i32 noundef %38) #2
ret void
}
declare i32 @sv_indirect_get(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sv_indirect_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DEB(i32 noundef) local_unnamed_addr #1
declare i32 @printf(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/freebsd/sys/dev/sound/pci/extr_vibes.c_sv_power.c'
source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_vibes.c_sv_power.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SV_REG_ANALOG_PWR = common local_unnamed_addr global i32 0, align 4
@SV_ANALOG_OFF = common local_unnamed_addr global i32 0, align 4
@SV_ANALOG_OFF_SRS = common local_unnamed_addr global i32 0, align 4
@SV_ANALOG_OFF_SPLL = common local_unnamed_addr global i32 0, align 4
@SV_REG_DIGITAL_PWR = common local_unnamed_addr global i32 0, align 4
@SV_DIGITAL_OFF = common local_unnamed_addr global i32 0, align 4
@SV_DIGITAL_OFF_SYN = common local_unnamed_addr global i32 0, align 4
@SV_DIGITAL_OFF_MU = common local_unnamed_addr global i32 0, align 4
@SV_DIGITAL_OFF_GP = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"Power state %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @sv_power], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sv_power(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
%4 = load i32, ptr @SV_REG_ANALOG_PWR, align 4, !tbaa !6
%5 = tail call i32 @sv_indirect_get(ptr noundef %0, i32 noundef %4) #2
%6 = load i32, ptr @SV_ANALOG_OFF, align 4, !tbaa !6
br i1 %3, label %7, label %27
7: ; preds = %2
%8 = xor i32 %6, -1
%9 = and i32 %5, %8
%10 = load i32, ptr @SV_ANALOG_OFF_SRS, align 4, !tbaa !6
%11 = load i32, ptr @SV_ANALOG_OFF_SPLL, align 4, !tbaa !6
%12 = or i32 %9, %10
%13 = or i32 %12, %11
%14 = load i32, ptr @SV_REG_ANALOG_PWR, align 4, !tbaa !6
%15 = tail call i32 @sv_indirect_set(ptr noundef %0, i32 noundef %14, i32 noundef %13) #2
%16 = load i32, ptr @SV_REG_DIGITAL_PWR, align 4, !tbaa !6
%17 = tail call i32 @sv_indirect_get(ptr noundef %0, i32 noundef %16) #2
%18 = load i32, ptr @SV_DIGITAL_OFF, align 4, !tbaa !6
%19 = xor i32 %18, -1
%20 = and i32 %17, %19
%21 = load i32, ptr @SV_DIGITAL_OFF_SYN, align 4, !tbaa !6
%22 = load i32, ptr @SV_DIGITAL_OFF_MU, align 4, !tbaa !6
%23 = load i32, ptr @SV_DIGITAL_OFF_GP, align 4, !tbaa !6
%24 = or i32 %20, %21
%25 = or i32 %24, %22
%26 = or i32 %25, %23
br label %34
27: ; preds = %2
%28 = or i32 %6, %5
%29 = load i32, ptr @SV_REG_ANALOG_PWR, align 4, !tbaa !6
%30 = tail call i32 @sv_indirect_set(ptr noundef %0, i32 noundef %29, i32 noundef %28) #2
%31 = load i32, ptr @SV_REG_DIGITAL_PWR, align 4, !tbaa !6
%32 = tail call i32 @sv_indirect_get(ptr noundef %0, i32 noundef %31) #2
%33 = load i32, ptr @SV_DIGITAL_OFF, align 4, !tbaa !6
br label %34
34: ; preds = %27, %7
%35 = phi i32 [ %33, %27 ], [ %26, %7 ]
%36 = load i32, ptr @SV_REG_DIGITAL_PWR, align 4, !tbaa !6
%37 = tail call i32 @sv_indirect_set(ptr noundef %0, i32 noundef %36, i32 noundef %35) #2
%38 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %1) #2
%39 = tail call i32 @DEB(i32 noundef %38) #2
ret void
}
declare i32 @sv_indirect_get(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sv_indirect_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DEB(i32 noundef) local_unnamed_addr #1
declare i32 @printf(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"}
| freebsd_sys_dev_sound_pci_extr_vibes.c_sv_power |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_main.c_lan743x_dmac_rx_wait_till_stopped.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_main.c_lan743x_dmac_rx_wait_till_stopped.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DMAC_CHANNEL_STATE_STOP_PENDING = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lan743x_dmac_rx_wait_till_stopped], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lan743x_dmac_rx_wait_till_stopped(ptr noundef %0, i32 noundef %1) #0 {
br label %3
3: ; preds = %2, %8
%4 = phi i32 [ 100, %2 ], [ %10, %8 ]
%5 = tail call i32 @lan743x_dmac_rx_get_state(ptr noundef %0, i32 noundef %1) #2
%6 = load i32, ptr @DMAC_CHANNEL_STATE_STOP_PENDING, align 4, !tbaa !5
%7 = icmp eq i32 %5, %6
br i1 %7, label %8, label %14
8: ; preds = %3
%9 = tail call i32 @usleep_range(i32 noundef 1000, i32 noundef 20000) #2
%10 = add nsw i32 %4, -1
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %3, !llvm.loop !9
12: ; preds = %8
%13 = load i32, ptr @DMAC_CHANNEL_STATE_STOP_PENDING, align 4, !tbaa !5
br label %14
14: ; preds = %3, %12
%15 = phi i32 [ %13, %12 ], [ %6, %3 ]
%16 = icmp eq i32 %5, %15
%17 = load i32, ptr @ENODEV, align 4
%18 = sub nsw i32 0, %17
%19 = select i1 %16, i32 %18, i32 %5
ret i32 %19
}
declare i32 @lan743x_dmac_rx_get_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_main.c_lan743x_dmac_rx_wait_till_stopped.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_main.c_lan743x_dmac_rx_wait_till_stopped.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DMAC_CHANNEL_STATE_STOP_PENDING = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lan743x_dmac_rx_wait_till_stopped], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @lan743x_dmac_rx_wait_till_stopped(ptr noundef %0, i32 noundef %1) #0 {
br label %3
3: ; preds = %2, %8
%4 = phi i32 [ 100, %2 ], [ %10, %8 ]
%5 = tail call i32 @lan743x_dmac_rx_get_state(ptr noundef %0, i32 noundef %1) #2
%6 = load i32, ptr @DMAC_CHANNEL_STATE_STOP_PENDING, align 4, !tbaa !6
%7 = icmp eq i32 %5, %6
br i1 %7, label %8, label %14
8: ; preds = %3
%9 = tail call i32 @usleep_range(i32 noundef 1000, i32 noundef 20000) #2
%10 = add nsw i32 %4, -1
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %3, !llvm.loop !10
12: ; preds = %8
%13 = load i32, ptr @DMAC_CHANNEL_STATE_STOP_PENDING, align 4, !tbaa !6
br label %14
14: ; preds = %3, %12
%15 = phi i32 [ %13, %12 ], [ %6, %3 ]
%16 = icmp eq i32 %5, %15
%17 = load i32, ptr @ENODEV, align 4
%18 = sub nsw i32 0, %17
%19 = select i1 %16, i32 %18, i32 %5
ret i32 %19
}
declare i32 @lan743x_dmac_rx_get_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_microchip_extr_lan743x_main.c_lan743x_dmac_rx_wait_till_stopped |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc03_mmi.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc03_mmi.c"
target datalayout = "e-m:e-p270:32:32-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 @ff_avg_h264_qpel16_mc03_mmi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca [336 x i32], align 16
%5 = alloca [256 x i32], align 16
call void @llvm.lifetime.start.p0(i64 1344, ptr nonnull %4) #3
%6 = getelementptr inbounds i32, ptr %4, i64 32
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3
%7 = shl nsw i32 %2, 1
%8 = sext i32 %7 to i64
%9 = sub nsw i64 0, %8
%10 = getelementptr inbounds i32, ptr %1, i64 %9
%11 = call i32 @copy_block16_mmi(ptr noundef nonnull %4, ptr noundef %10, i32 noundef 16, i32 noundef %2, i32 noundef 21) #3
%12 = call i32 @put_h264_qpel16_v_lowpass_mmi(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef 16, i32 noundef 16) #3
%13 = getelementptr inbounds i32, ptr %4, i64 48
%14 = call i32 @ff_avg_pixels16_l2_8_mmi(ptr noundef %0, ptr noundef nonnull %13, ptr noundef nonnull %5, i32 noundef %2, i32 noundef 16, i32 noundef 16, i32 noundef 16) #3
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 1344, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @copy_block16_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_h264_qpel16_v_lowpass_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ff_avg_pixels16_l2_8_mmi(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 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)"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc03_mmi.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc03_mmi.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 @ff_avg_h264_qpel16_mc03_mmi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca [336 x i32], align 4
%5 = alloca [256 x i32], align 4
call void @llvm.lifetime.start.p0(i64 1344, ptr nonnull %4) #3
%6 = getelementptr inbounds i8, ptr %4, i64 128
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3
%7 = shl nsw i32 %2, 1
%8 = sext i32 %7 to i64
%9 = sub nsw i64 0, %8
%10 = getelementptr inbounds i32, ptr %1, i64 %9
%11 = call i32 @copy_block16_mmi(ptr noundef nonnull %4, ptr noundef %10, i32 noundef 16, i32 noundef %2, i32 noundef 21) #3
%12 = call i32 @put_h264_qpel16_v_lowpass_mmi(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef 16, i32 noundef 16) #3
%13 = getelementptr inbounds i8, ptr %4, i64 192
%14 = call i32 @ff_avg_pixels16_l2_8_mmi(ptr noundef %0, ptr noundef nonnull %13, ptr noundef nonnull %5, i32 noundef %2, i32 noundef 16, i32 noundef 16, i32 noundef 16) #3
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 1344, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @copy_block16_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @put_h264_qpel16_v_lowpass_mmi(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ff_avg_pixels16_l2_8_mmi(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 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)"}
| FFmpeg_libavcodec_mips_extr_h264qpel_mmi.c_ff_avg_h264_qpel16_mc03_mmi |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-nat.c_parse_int_arg.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-nat.c_parse_int_arg.c"
target datalayout = "e-m:e-p270:32:32-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 [57 x i8] c"Illegal argument for \22%s\22 command, should be an integer.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_int_arg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parse_int_arg(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = icmp eq ptr %0, null
br i1 %4, label %15, label %5
5: ; preds = %2
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%6 = call i32 @strtoul(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef 10)
%7 = load i8, ptr %0, align 1, !tbaa !5
%8 = icmp eq i8 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %5
%10 = load ptr, ptr %3, align 8, !tbaa !8
%11 = load i8, ptr %10, align 1, !tbaa !5
%12 = icmp eq i8 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %5, %9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
br label %15
14: ; preds = %9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
br label %18
15: ; preds = %13, %2
%16 = phi i32 [ undef, %2 ], [ %6, %13 ]
%17 = tail call i32 @error(ptr noundef nonnull @.str, ptr noundef %1) #4
br label %18
18: ; preds = %14, %15
%19 = phi i32 [ %6, %14 ], [ %16, %15 ]
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn
declare i32 @strtoul(ptr noundef readonly, ptr nocapture 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
declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-nat.c_parse_int_arg.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_gnu-nat.c_parse_int_arg.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 [57 x i8] c"Illegal argument for \22%s\22 command, should be an integer.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @parse_int_arg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parse_int_arg(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = icmp eq ptr %0, null
br i1 %4, label %15, label %5
5: ; preds = %2
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
%6 = call i32 @strtoul(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef 10)
%7 = load i8, ptr %0, align 1, !tbaa !6
%8 = icmp eq i8 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %5
%10 = load ptr, ptr %3, align 8, !tbaa !9
%11 = load i8, ptr %10, align 1, !tbaa !6
%12 = icmp eq i8 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %5, %9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
br label %15
14: ; preds = %9
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
br label %18
15: ; preds = %13, %2
%16 = phi i32 [ undef, %2 ], [ %6, %13 ]
%17 = tail call i32 @error(ptr noundef nonnull @.str, ptr noundef %1) #4
br label %18
18: ; preds = %14, %15
%19 = phi i32 [ %6, %14 ], [ %16, %15 ]
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nofree nounwind willreturn
declare i32 @strtoul(ptr noundef readonly, ptr nocapture 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
declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
| freebsd_contrib_gdb_gdb_extr_gnu-nat.c_parse_int_arg |
; ModuleID = 'AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-ipc.c_sst_hsw_runtime_module_free.c'
source_filename = "AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-ipc.c_sst_hsw_runtime_module_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 @sst_hsw_runtime_module_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sst_module_runtime_free_blocks(ptr noundef %0) #2
%3 = tail call i32 @sst_module_runtime_free(ptr noundef %0) #2
ret void
}
declare i32 @sst_module_runtime_free_blocks(ptr noundef) local_unnamed_addr #1
declare i32 @sst_module_runtime_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)"}
| ; ModuleID = 'AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-ipc.c_sst_hsw_runtime_module_free.c'
source_filename = "AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-ipc.c_sst_hsw_runtime_module_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 @sst_hsw_runtime_module_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sst_module_runtime_free_blocks(ptr noundef %0) #2
%3 = tail call i32 @sst_module_runtime_free(ptr noundef %0) #2
ret void
}
declare i32 @sst_module_runtime_free_blocks(ptr noundef) local_unnamed_addr #1
declare i32 @sst_module_runtime_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)"}
| linux_sound_soc_intel_haswell_extr_sst-haswell-ipc.c_sst_hsw_runtime_module_free |
; ModuleID = 'AnghaBench/linux/drivers/iio/humidity/extr_am2315.c_am2315_crc.c'
source_filename = "AnghaBench/linux/drivers/iio/humidity/extr_am2315.c_am2315_crc.c"
target datalayout = "e-m:e-p270:32:32-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 @am2315_crc], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal i32 @am2315_crc(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %53, label %4
4: ; preds = %2, %4
%5 = phi i32 [ %8, %4 ], [ %1, %2 ]
%6 = phi i32 [ %50, %4 ], [ 65535, %2 ]
%7 = phi ptr [ %51, %4 ], [ %0, %2 ]
%8 = add nsw i32 %5, -1
%9 = load i32, ptr %7, align 4, !tbaa !5
%10 = xor i32 %9, %6
%11 = and i32 %10, 1
%12 = icmp eq i32 %11, 0
%13 = ashr i32 %10, 1
%14 = xor i32 %13, 40961
%15 = select i1 %12, i32 %13, i32 %14
%16 = and i32 %15, 1
%17 = icmp eq i32 %16, 0
%18 = ashr i32 %15, 1
%19 = xor i32 %18, 40961
%20 = select i1 %17, i32 %18, i32 %19
%21 = and i32 %20, 1
%22 = icmp eq i32 %21, 0
%23 = ashr i32 %20, 1
%24 = xor i32 %23, 40961
%25 = select i1 %22, i32 %23, i32 %24
%26 = and i32 %25, 1
%27 = icmp eq i32 %26, 0
%28 = ashr i32 %25, 1
%29 = xor i32 %28, 40961
%30 = select i1 %27, i32 %28, i32 %29
%31 = and i32 %30, 1
%32 = icmp eq i32 %31, 0
%33 = ashr i32 %30, 1
%34 = xor i32 %33, 40961
%35 = select i1 %32, i32 %33, i32 %34
%36 = and i32 %35, 1
%37 = icmp eq i32 %36, 0
%38 = ashr i32 %35, 1
%39 = xor i32 %38, 40961
%40 = select i1 %37, i32 %38, i32 %39
%41 = and i32 %40, 1
%42 = icmp eq i32 %41, 0
%43 = ashr i32 %40, 1
%44 = xor i32 %43, 40961
%45 = select i1 %42, i32 %43, i32 %44
%46 = and i32 %45, 1
%47 = icmp eq i32 %46, 0
%48 = ashr i32 %45, 1
%49 = xor i32 %48, 40961
%50 = select i1 %47, i32 %48, i32 %49
%51 = getelementptr inbounds i32, ptr %7, i64 1
%52 = icmp eq i32 %8, 0
br i1 %52, label %53, label %4, !llvm.loop !9
53: ; preds = %4, %2
%54 = phi i32 [ 65535, %2 ], [ %50, %4 ]
ret i32 %54
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/humidity/extr_am2315.c_am2315_crc.c'
source_filename = "AnghaBench/linux/drivers/iio/humidity/extr_am2315.c_am2315_crc.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 @am2315_crc], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @am2315_crc(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %53, label %4
4: ; preds = %2, %4
%5 = phi i32 [ %8, %4 ], [ %1, %2 ]
%6 = phi i32 [ %50, %4 ], [ 65535, %2 ]
%7 = phi ptr [ %51, %4 ], [ %0, %2 ]
%8 = add nsw i32 %5, -1
%9 = load i32, ptr %7, align 4, !tbaa !6
%10 = xor i32 %9, %6
%11 = and i32 %10, 1
%12 = icmp eq i32 %11, 0
%13 = ashr i32 %10, 1
%14 = xor i32 %13, 40961
%15 = select i1 %12, i32 %13, i32 %14
%16 = and i32 %15, 1
%17 = icmp eq i32 %16, 0
%18 = ashr i32 %15, 1
%19 = xor i32 %18, 40961
%20 = select i1 %17, i32 %18, i32 %19
%21 = and i32 %20, 1
%22 = icmp eq i32 %21, 0
%23 = ashr i32 %20, 1
%24 = xor i32 %23, 40961
%25 = select i1 %22, i32 %23, i32 %24
%26 = and i32 %25, 1
%27 = icmp eq i32 %26, 0
%28 = ashr i32 %25, 1
%29 = xor i32 %28, 40961
%30 = select i1 %27, i32 %28, i32 %29
%31 = and i32 %30, 1
%32 = icmp eq i32 %31, 0
%33 = ashr i32 %30, 1
%34 = xor i32 %33, 40961
%35 = select i1 %32, i32 %33, i32 %34
%36 = and i32 %35, 1
%37 = icmp eq i32 %36, 0
%38 = ashr i32 %35, 1
%39 = xor i32 %38, 40961
%40 = select i1 %37, i32 %38, i32 %39
%41 = and i32 %40, 1
%42 = icmp eq i32 %41, 0
%43 = ashr i32 %40, 1
%44 = xor i32 %43, 40961
%45 = select i1 %42, i32 %43, i32 %44
%46 = and i32 %45, 1
%47 = icmp eq i32 %46, 0
%48 = ashr i32 %45, 1
%49 = xor i32 %48, 40961
%50 = select i1 %47, i32 %48, i32 %49
%51 = getelementptr inbounds i8, ptr %7, i64 4
%52 = icmp eq i32 %8, 0
br i1 %52, label %53, label %4, !llvm.loop !10
53: ; preds = %4, %2
%54 = phi i32 [ 65535, %2 ], [ %50, %4 ]
ret i32 %54
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_drivers_iio_humidity_extr_am2315.c_am2315_crc |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/vsp1/extr_vsp1_drm.c_vsp1_du_pipeline_set_rwpf_format.c'
source_filename = "AnghaBench/linux/drivers/media/platform/vsp1/extr_vsp1_drm.c_vsp1_du_pipeline_set_rwpf_format.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vsp1_format_info = type { i32, i32 }
%struct.vsp1_rwpf = type { %struct.TYPE_4__, ptr }
%struct.TYPE_4__ = type { i32, ptr }
%struct.TYPE_3__ = type { i32 }
@.str = private unnamed_addr constant [31 x i8] c"Unsupported pixel format %08x\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vsp1_du_pipeline_set_rwpf_format], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vsp1_du_pipeline_set_rwpf_format(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @vsp1_get_format_info(ptr noundef %0, i32 noundef %2) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = tail call i32 @dev_dbg(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %2) #2
%10 = load i32, ptr @EINVAL, align 4, !tbaa !10
%11 = sub nsw i32 0, %10
br label %25
12: ; preds = %4
%13 = load i32, ptr %5, align 4, !tbaa !11
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = getelementptr inbounds %struct.vsp1_format_info, ptr %5, i64 0, i32 1
%17 = load i32, ptr %16, align 4, !tbaa !13
br label %18
18: ; preds = %12, %15
%19 = phi i32 [ %17, %15 ], [ 1, %12 ]
%20 = getelementptr inbounds %struct.vsp1_rwpf, ptr %1, i64 0, i32 1
store ptr %5, ptr %20, align 8, !tbaa !14
store i32 %13, ptr %1, align 8, !tbaa !18
%21 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !19
store i32 %3, ptr %22, align 4, !tbaa !20
%23 = udiv i32 %3, %19
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 1
store i32 %23, ptr %24, align 4, !tbaa !20
br label %25
25: ; preds = %18, %7
%26 = phi i32 [ 0, %18 ], [ %11, %7 ]
ret i32 %26
}
declare ptr @vsp1_get_format_info(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(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 = !{!"vsp1_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"vsp1_format_info", !7, i64 0, !7, i64 4}
!13 = !{!12, !7, i64 4}
!14 = !{!15, !17, i64 16}
!15 = !{!"vsp1_rwpf", !16, i64 0, !17, i64 16}
!16 = !{!"TYPE_4__", !7, i64 0, !17, i64 8}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!15, !7, i64 0}
!19 = !{!15, !17, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/vsp1/extr_vsp1_drm.c_vsp1_du_pipeline_set_rwpf_format.c'
source_filename = "AnghaBench/linux/drivers/media/platform/vsp1/extr_vsp1_drm.c_vsp1_du_pipeline_set_rwpf_format.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 [31 x i8] c"Unsupported pixel format %08x\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vsp1_du_pipeline_set_rwpf_format], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @vsp1_du_pipeline_set_rwpf_format(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call ptr @vsp1_get_format_info(ptr noundef %0, i32 noundef %2) #2
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = tail call i32 @dev_dbg(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %2) #2
%10 = load i32, ptr @EINVAL, align 4, !tbaa !11
%11 = sub nsw i32 0, %10
br label %25
12: ; preds = %4
%13 = load i32, ptr %5, align 4, !tbaa !12
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = getelementptr inbounds i8, ptr %5, i64 4
%17 = load i32, ptr %16, align 4, !tbaa !14
br label %18
18: ; preds = %12, %15
%19 = phi i32 [ %17, %15 ], [ 1, %12 ]
%20 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %5, ptr %20, align 8, !tbaa !15
store i32 %13, ptr %1, align 8, !tbaa !19
%21 = getelementptr inbounds i8, ptr %1, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !20
store i32 %3, ptr %22, align 4, !tbaa !21
%23 = udiv i32 %3, %19
%24 = getelementptr inbounds i8, ptr %22, i64 4
store i32 %23, ptr %24, align 4, !tbaa !21
br label %25
25: ; preds = %18, %7
%26 = phi i32 [ 0, %18 ], [ %11, %7 ]
ret i32 %26
}
declare ptr @vsp1_get_format_info(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_dbg(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 = !{!"vsp1_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"vsp1_format_info", !8, i64 0, !8, i64 4}
!14 = !{!13, !8, i64 4}
!15 = !{!16, !18, i64 16}
!16 = !{!"vsp1_rwpf", !17, i64 0, !18, i64 16}
!17 = !{!"TYPE_4__", !8, i64 0, !18, i64 8}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!16, !8, i64 0}
!20 = !{!16, !18, i64 8}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_3__", !8, i64 0}
| linux_drivers_media_platform_vsp1_extr_vsp1_drm.c_vsp1_du_pipeline_set_rwpf_format |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_maya44.c_wm8776_write.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_maya44.c_wm8776_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_wm8776 = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @wm8776_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wm8776_write(ptr noundef %0, ptr nocapture noundef readonly %1, i8 noundef zeroext %2, i16 noundef zeroext %3) #0 {
%5 = getelementptr inbounds %struct.snd_wm8776, ptr %1, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !5
%7 = zext i8 %2 to i16
%8 = shl nuw nsw i16 %7, 1
%9 = lshr i16 %3, 8
%10 = and i16 %9, 1
%11 = or disjoint i16 %10, %8
%12 = trunc i16 %11 to i8
%13 = and i16 %3, 255
%14 = tail call i32 @snd_vt1724_write_i2c(ptr noundef %0, i32 noundef %6, i8 noundef zeroext %12, i16 noundef zeroext %13) #2
%15 = load ptr, ptr %1, align 8, !tbaa !11
%16 = zext i8 %2 to i64
%17 = getelementptr inbounds i16, ptr %15, i64 %16
store i16 %3, ptr %17, align 2, !tbaa !12
ret void
}
declare i32 @snd_vt1724_write_i2c(ptr noundef, i32 noundef, i8 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"snd_wm8776", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_maya44.c_wm8776_write.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_maya44.c_wm8776_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @wm8776_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wm8776_write(ptr noundef %0, ptr nocapture noundef readonly %1, i8 noundef zeroext %2, i16 noundef zeroext %3) #0 {
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !6
%7 = zext i8 %2 to i16
%8 = shl nuw nsw i16 %7, 1
%9 = lshr i16 %3, 8
%10 = and i16 %9, 1
%11 = or disjoint i16 %10, %8
%12 = trunc i16 %11 to i8
%13 = and i16 %3, 255
%14 = tail call i32 @snd_vt1724_write_i2c(ptr noundef %0, i32 noundef %6, i8 noundef zeroext %12, i16 noundef zeroext %13) #2
%15 = load ptr, ptr %1, align 8, !tbaa !12
%16 = zext i8 %2 to i64
%17 = getelementptr inbounds i16, ptr %15, i64 %16
store i16 %3, ptr %17, align 2, !tbaa !13
ret void
}
declare i32 @snd_vt1724_write_i2c(ptr noundef, i32 noundef, i8 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"snd_wm8776", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !9, i64 0}
| fastsocket_kernel_sound_pci_ice1712_extr_maya44.c_wm8776_write |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/noxary/280/extr_280.c_matrix_init_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/noxary/280/extr_280.c_matrix_init_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"
@D5 = dso_local local_unnamed_addr global i32 0, align 4
@D0 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @matrix_init_kb() local_unnamed_addr #0 {
%1 = load i32, ptr @D5, align 4, !tbaa !5
%2 = tail call i32 @setPinOutput(i32 noundef %1) #2
%3 = load i32, ptr @D0, align 4, !tbaa !5
%4 = tail call i32 @setPinOutput(i32 noundef %3) #2
%5 = tail call i32 (...) @matrix_init_user() #2
ret void
}
declare i32 @setPinOutput(i32 noundef) local_unnamed_addr #1
declare i32 @matrix_init_user(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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/noxary/280/extr_280.c_matrix_init_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/noxary/280/extr_280.c_matrix_init_kb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@D5 = common local_unnamed_addr global i32 0, align 4
@D0 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @matrix_init_kb() local_unnamed_addr #0 {
%1 = load i32, ptr @D5, align 4, !tbaa !6
%2 = tail call i32 @setPinOutput(i32 noundef %1) #2
%3 = load i32, ptr @D0, align 4, !tbaa !6
%4 = tail call i32 @setPinOutput(i32 noundef %3) #2
%5 = tail call i32 @matrix_init_user() #2
ret void
}
declare i32 @setPinOutput(i32 noundef) local_unnamed_addr #1
declare i32 @matrix_init_user(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| qmk_firmware_keyboards_noxary_280_extr_280.c_matrix_init_kb |
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_deflate.c_deflate_decompress.c'
source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_deflate.c_deflate_decompress.c"
target datalayout = "e-m:e-p270:32:32-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.z_stream_s = type { i32, i32, i32, ptr, ptr }
@Z_OK = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@Z_SYNC_FLUSH = dso_local local_unnamed_addr global i32 0, align 4
@Z_FINISH = dso_local local_unnamed_addr global i32 0, align 4
@Z_STREAM_END = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @deflate_decompress], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @deflate_decompress(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr nocapture noundef %4) #0 {
%6 = alloca i32, align 4
%7 = tail call ptr @crypto_tfm_ctx(ptr noundef %0) #3
%8 = tail call i32 @zlib_inflateReset(ptr noundef %7) #3
%9 = load i32, ptr @Z_OK, align 4, !tbaa !5
%10 = icmp eq i32 %8, %9
br i1 %10, label %14, label %11
11: ; preds = %5
%12 = load i32, ptr @EINVAL, align 4, !tbaa !5
%13 = sub nsw i32 0, %12
br label %42
14: ; preds = %5
%15 = getelementptr inbounds %struct.z_stream_s, ptr %7, i64 0, i32 3
store ptr %1, ptr %15, align 8, !tbaa !9
store i32 %2, ptr %7, align 8, !tbaa !12
%16 = getelementptr inbounds %struct.z_stream_s, ptr %7, i64 0, i32 4
store ptr %3, ptr %16, align 8, !tbaa !13
%17 = load i32, ptr %4, align 4, !tbaa !5
%18 = getelementptr inbounds %struct.z_stream_s, ptr %7, i64 0, i32 1
store i32 %17, ptr %18, align 4, !tbaa !14
%19 = load i32, ptr @Z_SYNC_FLUSH, align 4, !tbaa !5
%20 = tail call i32 @zlib_inflate(ptr noundef nonnull %7, i32 noundef %19) #3
%21 = load i32, ptr @Z_OK, align 4, !tbaa !5
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %32
23: ; preds = %14
%24 = load i32, ptr %7, align 8, !tbaa !12
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i32, ptr %18, align 4, !tbaa !14
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %26
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 0, ptr %6, align 4, !tbaa !5
store ptr %6, ptr %15, align 8, !tbaa !9
store i32 1, ptr %7, align 8, !tbaa !12
%30 = load i32, ptr @Z_FINISH, align 4, !tbaa !5
%31 = call i32 @zlib_inflate(ptr noundef nonnull %7, i32 noundef %30) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
br label %32
32: ; preds = %29, %26, %23, %14
%33 = phi i32 [ %20, %23 ], [ %31, %29 ], [ %20, %26 ], [ %20, %14 ]
%34 = load i32, ptr @Z_STREAM_END, align 4, !tbaa !5
%35 = icmp eq i32 %33, %34
br i1 %35, label %39, label %36
36: ; preds = %32
%37 = load i32, ptr @EINVAL, align 4, !tbaa !5
%38 = sub nsw i32 0, %37
br label %42
39: ; preds = %32
%40 = getelementptr inbounds %struct.z_stream_s, ptr %7, i64 0, i32 2
%41 = load i32, ptr %40, align 8, !tbaa !15
store i32 %41, ptr %4, align 4, !tbaa !5
br label %42
42: ; preds = %39, %36, %11
%43 = phi i32 [ %13, %11 ], [ %38, %36 ], [ 0, %39 ]
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @crypto_tfm_ctx(ptr noundef) local_unnamed_addr #2
declare i32 @zlib_inflateReset(ptr noundef) local_unnamed_addr #2
declare i32 @zlib_inflate(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"z_stream_s", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !11, i64 24}
!14 = !{!10, !6, i64 4}
!15 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_deflate.c_deflate_decompress.c'
source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_deflate.c_deflate_decompress.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Z_OK = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@Z_SYNC_FLUSH = common local_unnamed_addr global i32 0, align 4
@Z_FINISH = common local_unnamed_addr global i32 0, align 4
@Z_STREAM_END = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @deflate_decompress], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @deflate_decompress(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr nocapture noundef %4) #0 {
%6 = alloca i32, align 4
%7 = tail call ptr @crypto_tfm_ctx(ptr noundef %0) #3
%8 = tail call i32 @zlib_inflateReset(ptr noundef %7) #3
%9 = load i32, ptr @Z_OK, align 4, !tbaa !6
%10 = icmp eq i32 %8, %9
br i1 %10, label %14, label %11
11: ; preds = %5
%12 = load i32, ptr @EINVAL, align 4, !tbaa !6
%13 = sub nsw i32 0, %12
br label %42
14: ; preds = %5
%15 = getelementptr inbounds i8, ptr %7, i64 16
store ptr %1, ptr %15, align 8, !tbaa !10
store i32 %2, ptr %7, align 8, !tbaa !13
%16 = getelementptr inbounds i8, ptr %7, i64 24
store ptr %3, ptr %16, align 8, !tbaa !14
%17 = load i32, ptr %4, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %7, i64 4
store i32 %17, ptr %18, align 4, !tbaa !15
%19 = load i32, ptr @Z_SYNC_FLUSH, align 4, !tbaa !6
%20 = tail call i32 @zlib_inflate(ptr noundef nonnull %7, i32 noundef %19) #3
%21 = load i32, ptr @Z_OK, align 4, !tbaa !6
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %32
23: ; preds = %14
%24 = load i32, ptr %7, align 8, !tbaa !13
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i32, ptr %18, align 4, !tbaa !15
%28 = icmp eq i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %26
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
store i32 0, ptr %6, align 4, !tbaa !6
store ptr %6, ptr %15, align 8, !tbaa !10
store i32 1, ptr %7, align 8, !tbaa !13
%30 = load i32, ptr @Z_FINISH, align 4, !tbaa !6
%31 = call i32 @zlib_inflate(ptr noundef nonnull %7, i32 noundef %30) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
br label %32
32: ; preds = %29, %26, %23, %14
%33 = phi i32 [ %20, %23 ], [ %31, %29 ], [ %20, %26 ], [ %20, %14 ]
%34 = load i32, ptr @Z_STREAM_END, align 4, !tbaa !6
%35 = icmp eq i32 %33, %34
br i1 %35, label %39, label %36
36: ; preds = %32
%37 = load i32, ptr @EINVAL, align 4, !tbaa !6
%38 = sub nsw i32 0, %37
br label %42
39: ; preds = %32
%40 = getelementptr inbounds i8, ptr %7, i64 8
%41 = load i32, ptr %40, align 8, !tbaa !16
store i32 %41, ptr %4, align 4, !tbaa !6
br label %42
42: ; preds = %39, %36, %11
%43 = phi i32 [ %13, %11 ], [ %38, %36 ], [ 0, %39 ]
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @crypto_tfm_ctx(ptr noundef) local_unnamed_addr #2
declare i32 @zlib_inflateReset(ptr noundef) local_unnamed_addr #2
declare i32 @zlib_inflate(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"z_stream_s", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !12, i64 24}
!15 = !{!11, !7, i64 4}
!16 = !{!11, !7, i64 8}
| fastsocket_kernel_crypto_extr_deflate.c_deflate_decompress |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc.c_enetc_free_rxtx_rings.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc.c_enetc_free_rxtx_rings.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.enetc_ndev_priv = type { i32, i32, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @enetc_free_rxtx_rings], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @enetc_free_rxtx_rings(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 %6
4: ; preds = %1
%5 = getelementptr inbounds %struct.enetc_ndev_priv, ptr %0, i64 0, i32 3
br label %12
6: ; preds = %12, %1
%7 = getelementptr inbounds %struct.enetc_ndev_priv, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %32
10: ; preds = %6
%11 = getelementptr inbounds %struct.enetc_ndev_priv, ptr %0, i64 0, i32 2
br label %22
12: ; preds = %4, %12
%13 = phi i64 [ 0, %4 ], [ %18, %12 ]
%14 = load ptr, ptr %5, align 8, !tbaa !12
%15 = getelementptr inbounds i32, ptr %14, i64 %13
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @enetc_free_rx_ring(i32 noundef %16) #2
%18 = add nuw nsw i64 %13, 1
%19 = load i32, ptr %0, align 8, !tbaa !5
%20 = sext i32 %19 to i64
%21 = icmp slt i64 %18, %20
br i1 %21, label %12, label %6, !llvm.loop !14
22: ; preds = %10, %22
%23 = phi i64 [ 0, %10 ], [ %28, %22 ]
%24 = load ptr, ptr %11, align 8, !tbaa !16
%25 = getelementptr inbounds i32, ptr %24, i64 %23
%26 = load i32, ptr %25, align 4, !tbaa !13
%27 = tail call i32 @enetc_free_tx_ring(i32 noundef %26) #2
%28 = add nuw nsw i64 %23, 1
%29 = load i32, ptr %7, align 4, !tbaa !11
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %22, label %32, !llvm.loop !17
32: ; preds = %22, %6
ret void
}
declare i32 @enetc_free_rx_ring(i32 noundef) local_unnamed_addr #1
declare i32 @enetc_free_tx_ring(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 = !{!"enetc_ndev_priv", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 16}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !10, i64 8}
!17 = distinct !{!17, !15}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc.c_enetc_free_rxtx_rings.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/enetc/extr_enetc.c_enetc_free_rxtx_rings.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 @enetc_free_rxtx_rings], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @enetc_free_rxtx_rings(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 %6
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 16
br label %12
6: ; preds = %12, %1
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %32
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %0, i64 8
br label %22
12: ; preds = %4, %12
%13 = phi i64 [ 0, %4 ], [ %18, %12 ]
%14 = load ptr, ptr %5, align 8, !tbaa !13
%15 = getelementptr inbounds i32, ptr %14, i64 %13
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @enetc_free_rx_ring(i32 noundef %16) #2
%18 = add nuw nsw i64 %13, 1
%19 = load i32, ptr %0, align 8, !tbaa !6
%20 = sext i32 %19 to i64
%21 = icmp slt i64 %18, %20
br i1 %21, label %12, label %6, !llvm.loop !15
22: ; preds = %10, %22
%23 = phi i64 [ 0, %10 ], [ %28, %22 ]
%24 = load ptr, ptr %11, align 8, !tbaa !17
%25 = getelementptr inbounds i32, ptr %24, i64 %23
%26 = load i32, ptr %25, align 4, !tbaa !14
%27 = tail call i32 @enetc_free_tx_ring(i32 noundef %26) #2
%28 = add nuw nsw i64 %23, 1
%29 = load i32, ptr %7, align 4, !tbaa !12
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %28, %30
br i1 %31, label %22, label %32, !llvm.loop !18
32: ; preds = %22, %6
ret void
}
declare i32 @enetc_free_rx_ring(i32 noundef) local_unnamed_addr #1
declare i32 @enetc_free_tx_ring(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 = !{!"enetc_ndev_priv", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 16}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!7, !11, i64 8}
!18 = distinct !{!18, !16}
| linux_drivers_net_ethernet_freescale_enetc_extr_enetc.c_enetc_free_rxtx_rings |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_compat_ioctl.c_ioc_settimeout.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_compat_ioctl.c_ioc_settimeout.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AUTOFS_IOC_SETTIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ioc_settimeout], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ioc_settimeout(i32 noundef %0, i32 %1, i64 noundef %2) #0 {
%4 = load i32, ptr @AUTOFS_IOC_SETTIMEOUT, align 4, !tbaa !5
%5 = tail call i32 @rw_long(i32 noundef %0, i32 noundef %4, i64 noundef %2) #2
ret i32 %5
}
declare i32 @rw_long(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_compat_ioctl.c_ioc_settimeout.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_compat_ioctl.c_ioc_settimeout.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AUTOFS_IOC_SETTIMEOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ioc_settimeout], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ioc_settimeout(i32 noundef %0, i32 %1, i64 noundef %2) #0 {
%4 = load i32, ptr @AUTOFS_IOC_SETTIMEOUT, align 4, !tbaa !6
%5 = tail call i32 @rw_long(i32 noundef %0, i32 noundef %4, i64 noundef %2) #2
ret i32 %5
}
declare i32 @rw_long(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_fs_extr_compat_ioctl.c_ioc_settimeout |
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_ab8500-debugfs.c_ab8500_address_open.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_ab8500-debugfs.c_ab8500_address_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ab8500_address_print = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ab8500_address_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ab8500_address_open(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr @ab8500_address_print, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call i32 @single_open(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @single_open(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, !6, i64 0}
!10 = !{!"inode", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_ab8500-debugfs.c_ab8500_address_open.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_ab8500-debugfs.c_ab8500_address_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ab8500_address_print = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ab8500_address_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ab8500_address_open(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr @ab8500_address_print, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @single_open(ptr noundef %1, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @single_open(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, !7, i64 0}
!11 = !{!"inode", !7, i64 0}
| linux_drivers_mfd_extr_ab8500-debugfs.c_ab8500_address_open |
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_loaddisksection.c'
source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_loaddisksection.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, i32 }
@nil = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @loaddisksection(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @pesection(ptr noundef %0, ptr noundef %1) #2
%5 = load ptr, ptr @nil, align 8, !tbaa !5
%6 = icmp eq ptr %4, %5
br i1 %6, label %13, label %7
7: ; preds = %3
%8 = load i32, ptr %0, align 4, !tbaa !9
%9 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i32, ptr %4, align 4, !tbaa !14
%12 = tail call i32 @readblock(i32 noundef %8, ptr noundef %2, i32 noundef %10, i32 noundef %11) #2
br label %13
13: ; preds = %3, %7
%14 = phi i32 [ %12, %7 ], [ -1, %3 ]
ret i32 %14
}
declare ptr @pesection(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @readblock(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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_8__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"TYPE_7__", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 0}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_loaddisksection.c'
source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_pe.c_loaddisksection.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nil = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @loaddisksection(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @pesection(ptr noundef %0, ptr noundef %1) #2
%5 = load ptr, ptr @nil, align 8, !tbaa !6
%6 = icmp eq ptr %4, %5
br i1 %6, label %13, label %7
7: ; preds = %3
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = getelementptr inbounds i8, ptr %4, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = load i32, ptr %4, align 4, !tbaa !15
%12 = tail call i32 @readblock(i32 noundef %8, ptr noundef %2, i32 noundef %10, i32 noundef %11) #2
br label %13
13: ; preds = %3, %7
%14 = phi i32 [ %12, %7 ], [ -1, %3 ]
ret i32 %14
}
declare ptr @pesection(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @readblock(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_8__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"TYPE_7__", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 0}
| reactos_sdk_lib_rossym_extr_pe.c_loaddisksection |
; ModuleID = 'AnghaBench/micropython/ports/cc3200/hal/extr_uart.c_UARTFIFOLevelGet.c'
source_filename = "AnghaBench/micropython/ports/cc3200/hal/extr_uart.c_UARTFIFOLevelGet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UART_O_IFLS = dso_local local_unnamed_addr global i64 0, align 8
@UART_IFLS_TX_M = dso_local local_unnamed_addr global i64 0, align 8
@UART_IFLS_RX_M = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @UARTFIFOLevelGet(i64 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call i32 @UARTBaseValid(i64 noundef %0) #2
%5 = tail call i32 @ASSERT(i32 noundef %4) #2
%6 = load i64, ptr @UART_O_IFLS, align 8, !tbaa !5
%7 = add i64 %6, %0
%8 = tail call i64 @HWREG(i64 noundef %7) #2
%9 = load i64, ptr @UART_IFLS_TX_M, align 8, !tbaa !5
%10 = and i64 %9, %8
store i64 %10, ptr %1, align 8, !tbaa !5
%11 = load i64, ptr @UART_IFLS_RX_M, align 8, !tbaa !5
%12 = and i64 %11, %8
store i64 %12, ptr %2, align 8, !tbaa !5
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @UARTBaseValid(i64 noundef) local_unnamed_addr #1
declare i64 @HWREG(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/micropython/ports/cc3200/hal/extr_uart.c_UARTFIFOLevelGet.c'
source_filename = "AnghaBench/micropython/ports/cc3200/hal/extr_uart.c_UARTFIFOLevelGet.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UART_O_IFLS = common local_unnamed_addr global i64 0, align 8
@UART_IFLS_TX_M = common local_unnamed_addr global i64 0, align 8
@UART_IFLS_RX_M = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @UARTFIFOLevelGet(i64 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = tail call i32 @UARTBaseValid(i64 noundef %0) #2
%5 = tail call i32 @ASSERT(i32 noundef %4) #2
%6 = load i64, ptr @UART_O_IFLS, align 8, !tbaa !6
%7 = add i64 %6, %0
%8 = tail call i64 @HWREG(i64 noundef %7) #2
%9 = load i64, ptr @UART_IFLS_TX_M, align 8, !tbaa !6
%10 = and i64 %9, %8
store i64 %10, ptr %1, align 8, !tbaa !6
%11 = load i64, ptr @UART_IFLS_RX_M, align 8, !tbaa !6
%12 = and i64 %11, %8
store i64 %12, ptr %2, align 8, !tbaa !6
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @UARTBaseValid(i64 noundef) local_unnamed_addr #1
declare i64 @HWREG(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| micropython_ports_cc3200_hal_extr_uart.c_UARTFIFOLevelGet |
; ModuleID = 'AnghaBench/linux/arch/arm/mach-sa1100/extr_simpad.c_cs3_gpio_direction_input.c'
source_filename = "AnghaBench/linux/arch/arm/mach-sa1100/extr_simpad.c_cs3_gpio_direction_input.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cs3_gpio_direction_input], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @cs3_gpio_direction_input(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = icmp ugt i32 %1, 15
%4 = load i32, ptr @EINVAL, align 4
%5 = sub nsw i32 0, %4
%6 = select i1 %3, i32 0, i32 %5
ret i32 %6
}
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)"}
| ; ModuleID = 'AnghaBench/linux/arch/arm/mach-sa1100/extr_simpad.c_cs3_gpio_direction_input.c'
source_filename = "AnghaBench/linux/arch/arm/mach-sa1100/extr_simpad.c_cs3_gpio_direction_input.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cs3_gpio_direction_input], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @cs3_gpio_direction_input(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = icmp ugt i32 %1, 15
%4 = load i32, ptr @EINVAL, align 4
%5 = sub nsw i32 0, %4
%6 = select i1 %3, i32 0, i32 %5
ret i32 %6
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_arm_mach-sa1100_extr_simpad.c_cs3_gpio_direction_input |
; ModuleID = 'AnghaBench/linux/drivers/net/extr_tun.c_tun_sock_writeable.c'
source_filename = "AnghaBench/linux/drivers/net/extr_tun.c_tun_sock_writeable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IFF_UP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tun_sock_writeable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tun_sock_writeable(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = load i32, ptr @IFF_UP, align 4, !tbaa !13
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %13, label %8
8: ; preds = %2
%9 = load ptr, ptr %1, align 8, !tbaa !14
%10 = tail call i64 @sock_writeable(ptr noundef %9) #2
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %8, %2
%14 = phi i32 [ 0, %2 ], [ %12, %8 ]
ret i32 %14
}
declare i64 @sock_writeable(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 = !{!"tun_struct", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"tun_file", !16, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/extr_tun.c_tun_sock_writeable.c'
source_filename = "AnghaBench/linux/drivers/net/extr_tun.c_tun_sock_writeable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IFF_UP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tun_sock_writeable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @tun_sock_writeable(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = load i32, ptr @IFF_UP, align 4, !tbaa !14
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %13, label %8
8: ; preds = %2
%9 = load ptr, ptr %1, align 8, !tbaa !15
%10 = tail call i64 @sock_writeable(ptr noundef %9) #2
%11 = icmp ne i64 %10, 0
%12 = zext i1 %11 to i32
br label %13
13: ; preds = %8, %2
%14 = phi i32 [ 0, %2 ], [ %12, %8 ]
ret i32 %14
}
declare i64 @sock_writeable(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 = !{!"tun_struct", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"tun_file", !17, i64 0}
!17 = !{!"TYPE_3__", !8, i64 0}
| linux_drivers_net_extr_tun.c_tun_sock_writeable |
; ModuleID = 'AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_parse.c'
source_filename = "AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_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"
@yy_buf = dso_local local_unnamed_addr global i32 0, align 4
@yy_text = dso_local local_unnamed_addr global i32 0, align 4
@yy_pos = dso_local local_unnamed_addr global i32 0, align 4
@yy_line = dso_local local_unnamed_addr global i32 0, align 4
@YY_EOF = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"<EOF> expected, got\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @parse() #0 {
%1 = load i32, ptr @yy_buf, align 4, !tbaa !5
store i32 %1, ptr @yy_text, align 4, !tbaa !5
store i32 %1, ptr @yy_pos, align 4, !tbaa !5
store i32 1, ptr @yy_line, align 4, !tbaa !5
%2 = tail call i32 (...) @get_sym() #2
%3 = tail call i32 @parse_declarations(i32 noundef %2) #2
%4 = load i32, ptr @YY_EOF, align 4, !tbaa !5
%5 = icmp eq i32 %3, %4
br i1 %5, label %8, label %6
6: ; preds = %0
%7 = tail call i32 @yy_error_sym(ptr noundef nonnull @.str, i32 noundef %3) #2
br label %8
8: ; preds = %6, %0
ret void
}
declare i32 @parse_declarations(i32 noundef) local_unnamed_addr #1
declare i32 @get_sym(...) local_unnamed_addr #1
declare i32 @yy_error_sym(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/php-src/ext/ffi/extr_ffi_parser.c_parse.c'
source_filename = "AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_parse.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@yy_buf = common local_unnamed_addr global i32 0, align 4
@yy_text = common local_unnamed_addr global i32 0, align 4
@yy_pos = common local_unnamed_addr global i32 0, align 4
@yy_line = common local_unnamed_addr global i32 0, align 4
@YY_EOF = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"<EOF> expected, got\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @parse], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @parse() #0 {
%1 = load i32, ptr @yy_buf, align 4, !tbaa !6
store i32 %1, ptr @yy_text, align 4, !tbaa !6
store i32 %1, ptr @yy_pos, align 4, !tbaa !6
store i32 1, ptr @yy_line, align 4, !tbaa !6
%2 = tail call i32 @get_sym() #2
%3 = tail call i32 @parse_declarations(i32 noundef %2) #2
%4 = load i32, ptr @YY_EOF, align 4, !tbaa !6
%5 = icmp eq i32 %3, %4
br i1 %5, label %8, label %6
6: ; preds = %0
%7 = tail call i32 @yy_error_sym(ptr noundef nonnull @.str, i32 noundef %3) #2
br label %8
8: ; preds = %6, %0
ret void
}
declare i32 @parse_declarations(i32 noundef) local_unnamed_addr #1
declare i32 @get_sym(...) local_unnamed_addr #1
declare i32 @yy_error_sym(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"}
| php-src_ext_ffi_extr_ffi_parser.c_parse |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fat/extr_inode.c_fat_calc_dir_size.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/fat/extr_inode.c_fat_calc_dir_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"
%struct.inode = type { i32, i32 }
@FAT_ENT_EOF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fat_calc_dir_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fat_calc_dir_size(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = tail call ptr @MSDOS_SB(i32 noundef %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %0, align 4, !tbaa !10
%7 = tail call ptr @MSDOS_I(ptr noundef nonnull %0) #3
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = icmp eq i64 %8, 0
br i1 %9, label %19, label %10
10: ; preds = %1
%11 = load i32, ptr @FAT_ENT_EOF, align 4, !tbaa !14
%12 = call i32 @fat_get_cluster(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %10
%15 = load i32, ptr %2, align 4, !tbaa !14
%16 = add nsw i32 %15, 1
%17 = load i32, ptr %6, align 4, !tbaa !15
%18 = shl i32 %16, %17
store i32 %18, ptr %0, align 4, !tbaa !10
br label %19
19: ; preds = %10, %1, %14
%20 = phi i32 [ 0, %14 ], [ 0, %1 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @MSDOS_SB(i32 noundef) local_unnamed_addr #2
declare ptr @MSDOS_I(ptr noundef) local_unnamed_addr #2
declare i32 @fat_get_cluster(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"inode", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"msdos_sb_info", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fat/extr_inode.c_fat_calc_dir_size.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/fat/extr_inode.c_fat_calc_dir_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FAT_ENT_EOF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fat_calc_dir_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @fat_calc_dir_size(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = tail call ptr @MSDOS_SB(i32 noundef %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %0, align 4, !tbaa !11
%7 = tail call ptr @MSDOS_I(ptr noundef nonnull %0) #3
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp eq i64 %8, 0
br i1 %9, label %19, label %10
10: ; preds = %1
%11 = load i32, ptr @FAT_ENT_EOF, align 4, !tbaa !15
%12 = call i32 @fat_get_cluster(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %19, label %14
14: ; preds = %10
%15 = load i32, ptr %2, align 4, !tbaa !15
%16 = add nsw i32 %15, 1
%17 = load i32, ptr %6, align 4, !tbaa !16
%18 = shl i32 %16, %17
store i32 %18, ptr %0, align 4, !tbaa !11
br label %19
19: ; preds = %10, %1, %14
%20 = phi i32 [ 0, %14 ], [ 0, %1 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @MSDOS_SB(i32 noundef) local_unnamed_addr #2
declare ptr @MSDOS_I(ptr noundef) local_unnamed_addr #2
declare i32 @fat_get_cluster(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"inode", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"msdos_sb_info", !8, i64 0}
| fastsocket_kernel_fs_fat_extr_inode.c_fat_calc_dir_size |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_dir.c_nfs_dentry_delete.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_dir.c_nfs_dentry_delete.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.dentry = type { i32, ptr, ptr, %struct.TYPE_7__, ptr }
%struct.TYPE_7__ = type { i32 }
@VFS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"NFS: dentry_delete(%s/%s, %x)\0A\00", align 1
@DCACHE_NFSFS_RENAMED = dso_local local_unnamed_addr global i32 0, align 4
@MS_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nfs_dentry_delete], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nfs_dentry_delete(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @VFS, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.dentry, ptr %0, i64 0, i32 4
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = getelementptr inbounds %struct.dentry, ptr %0, i64 0, i32 3
%7 = load i32, ptr %6, align 8, !tbaa !16
%8 = load i32, ptr %0, align 8, !tbaa !17
%9 = tail call i32 @dfprintk(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.dentry, ptr %0, i64 0, i32 2
%11 = load ptr, ptr %10, align 8, !tbaa !18
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %1
%14 = tail call i64 @NFS_STALE(ptr noundef nonnull %11) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %29
16: ; preds = %13, %1
%17 = load i32, ptr %0, align 8, !tbaa !17
%18 = load i32, ptr @DCACHE_NFSFS_RENAMED, align 4, !tbaa !5
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = getelementptr inbounds %struct.dentry, ptr %0, i64 0, i32 1
%23 = load ptr, ptr %22, align 8, !tbaa !19
%24 = load i32, ptr %23, align 4, !tbaa !20
%25 = load i32, ptr @MS_ACTIVE, align 4, !tbaa !5
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
%28 = zext i1 %27 to i32
br label %29
29: ; preds = %21, %16, %13
%30 = phi i32 [ 1, %13 ], [ 1, %16 ], [ %28, %21 ]
ret i32 %30
}
declare i32 @dfprintk(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @NFS_STALE(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 32}
!10 = !{!"dentry", !6, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !11, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_7__", !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !6, i64 0}
!16 = !{!10, !6, i64 24}
!17 = !{!10, !6, i64 0}
!18 = !{!10, !11, i64 16}
!19 = !{!10, !11, i64 8}
!20 = !{!21, !6, i64 0}
!21 = !{!"TYPE_8__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_dir.c_nfs_dentry_delete.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_dir.c_nfs_dentry_delete.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VFS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"NFS: dentry_delete(%s/%s, %x)\0A\00", align 1
@DCACHE_NFSFS_RENAMED = common local_unnamed_addr global i32 0, align 4
@MS_ACTIVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nfs_dentry_delete], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @nfs_dentry_delete(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @VFS, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr %4, align 4, !tbaa !14
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load i32, ptr %6, align 8, !tbaa !17
%8 = load i32, ptr %0, align 8, !tbaa !18
%9 = tail call i32 @dfprintk(i32 noundef %2, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = load ptr, ptr %10, align 8, !tbaa !19
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %1
%14 = tail call i64 @NFS_STALE(ptr noundef nonnull %11) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %29
16: ; preds = %13, %1
%17 = load i32, ptr %0, align 8, !tbaa !18
%18 = load i32, ptr @DCACHE_NFSFS_RENAMED, align 4, !tbaa !6
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = load ptr, ptr %22, align 8, !tbaa !20
%24 = load i32, ptr %23, align 4, !tbaa !21
%25 = load i32, ptr @MS_ACTIVE, align 4, !tbaa !6
%26 = and i32 %25, %24
%27 = icmp eq i32 %26, 0
%28 = zext i1 %27 to i32
br label %29
29: ; preds = %21, %16, %13
%30 = phi i32 [ 1, %13 ], [ 1, %16 ], [ %28, %21 ]
ret i32 %30
}
declare i32 @dfprintk(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @NFS_STALE(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 32}
!11 = !{!"dentry", !7, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !12, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_7__", !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !7, i64 0}
!17 = !{!11, !7, i64 24}
!18 = !{!11, !7, i64 0}
!19 = !{!11, !12, i64 16}
!20 = !{!11, !12, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_8__", !7, i64 0}
| fastsocket_kernel_fs_nfs_extr_dir.c_nfs_dentry_delete |
; ModuleID = 'AnghaBench/reactos/drivers/bus/acpi/acpica/tables/extr_tbfadt.c_AcpiTbInitGenericAddress.c'
source_filename = "AnghaBench/reactos/drivers/bus/acpi/acpica/tables/extr_tbfadt.c_AcpiTbInitGenericAddress.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i64, i64, i32 }
@ACPI_FADT_GPE_REGISTER = dso_local local_unnamed_addr global i32 0, align 4
@AE_INFO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @AcpiTbInitGenericAddress], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @AcpiTbInitGenericAddress(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture readnone %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
store i32 %3, ptr %7, align 4, !tbaa !5
%8 = shl nsw i32 %2, 3
%9 = icmp sgt i32 %2, 31
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load i32, ptr @ACPI_FADT_GPE_REGISTER, align 4, !tbaa !5
%12 = and i32 %11, %5
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = tail call i32 @ACPI_ERROR(i32 noundef %8) #3
br label %16
16: ; preds = %10, %14, %6
%17 = phi i32 [ %8, %6 ], [ 255, %14 ], [ 255, %10 ]
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%19 = call i32 @ACPI_MOVE_64_TO_64(ptr noundef nonnull %18, ptr noundef nonnull %7) #3
store i32 %1, ptr %0, align 8, !tbaa !9
%20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i32 %17, ptr %20, align 4, !tbaa !12
%21 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %21, i8 0, i64 16, i1 false)
ret void
}
declare i32 @ACPI_ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @ACPI_MOVE_64_TO_64(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !6, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/reactos/drivers/bus/acpi/acpica/tables/extr_tbfadt.c_AcpiTbInitGenericAddress.c'
source_filename = "AnghaBench/reactos/drivers/bus/acpi/acpica/tables/extr_tbfadt.c_AcpiTbInitGenericAddress.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACPI_FADT_GPE_REGISTER = common local_unnamed_addr global i32 0, align 4
@AE_INFO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @AcpiTbInitGenericAddress], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @AcpiTbInitGenericAddress(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture readnone %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
store i32 %3, ptr %7, align 4, !tbaa !6
%8 = shl nsw i32 %2, 3
%9 = icmp sgt i32 %2, 31
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load i32, ptr @ACPI_FADT_GPE_REGISTER, align 4, !tbaa !6
%12 = and i32 %11, %5
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = tail call i32 @ACPI_ERROR(i32 noundef %8) #3
br label %16
16: ; preds = %10, %14, %6
%17 = phi i32 [ %8, %6 ], [ 255, %14 ], [ 255, %10 ]
%18 = getelementptr inbounds i8, ptr %0, i64 24
%19 = call i32 @ACPI_MOVE_64_TO_64(ptr noundef nonnull %18, ptr noundef nonnull %7) #3
store i32 %1, ptr %0, align 8, !tbaa !10
%20 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %17, ptr %20, align 4, !tbaa !13
%21 = getelementptr inbounds i8, ptr %0, i64 8
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %21, i8 0, i64 16, i1 false)
ret void
}
declare i32 @ACPI_ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @ACPI_MOVE_64_TO_64(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !7, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 4}
| reactos_drivers_bus_acpi_acpica_tables_extr_tbfadt.c_AcpiTbInitGenericAddress |
; ModuleID = 'AnghaBench/freebsd/sys/arm/allwinner/clkng/extr_ccu_h6.c_ccu_h6_probe.c'
source_filename = "AnghaBench/freebsd/sys/arm/allwinner/clkng/extr_ccu_h6.c_ccu_h6_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"allwinner,sun50i-h6-ccu\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Allwinner H6 Clock Control Unit NG\00", align 1
@BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccu_h6_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ccu_h6_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = tail call i32 @ofw_bus_is_compatible(i32 noundef %0, ptr noundef nonnull @.str) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %9
9: ; preds = %4, %1, %7
%10 = phi ptr [ @BUS_PROBE_DEFAULT, %7 ], [ @ENXIO, %1 ], [ @ENXIO, %4 ]
%11 = load i32, ptr %10, align 4, !tbaa !5
ret i32 %11
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_is_compatible(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/allwinner/clkng/extr_ccu_h6.c_ccu_h6_probe.c'
source_filename = "AnghaBench/freebsd/sys/arm/allwinner/clkng/extr_ccu_h6.c_ccu_h6_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"allwinner,sun50i-h6-ccu\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Allwinner H6 Clock Control Unit NG\00", align 1
@BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ccu_h6_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ccu_h6_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %1
%5 = tail call i32 @ofw_bus_is_compatible(i32 noundef %0, ptr noundef nonnull @.str) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2
br label %9
9: ; preds = %4, %1, %7
%10 = phi ptr [ @BUS_PROBE_DEFAULT, %7 ], [ @ENXIO, %1 ], [ @ENXIO, %4 ]
%11 = load i32, ptr %10, align 4, !tbaa !6
ret i32 %11
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare i32 @ofw_bus_is_compatible(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_arm_allwinner_clkng_extr_ccu_h6.c_ccu_h6_probe |
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cmd_type.c_stdiffunc.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cmd_type.c_stdiffunc.c"
target datalayout = "e-m:e-p270:32:32-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 [5 x i8] c"func\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @stdiffunc], section "llvm.metadata"
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) uwtable
define internal i32 @stdiffunc(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(5) @.str, i64 noundef 5)
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { mustprogress nofree 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" }
attributes #1 = { 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" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/radare2/libr/core/extr_cmd_type.c_stdiffunc.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cmd_type.c_stdiffunc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [5 x i8] c"func\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @stdiffunc], section "llvm.metadata"
; Function Attrs: mustprogress nofree nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @stdiffunc(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(5) @.str, i64 noundef 5)
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { mustprogress nofree 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" }
attributes #1 = { 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| radare2_libr_core_extr_cmd_type.c_stdiffunc |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_mount.c_vfs_equalopts.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_mount.c_vfs_equalopts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"no\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @vfs_equalopts], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @vfs_equalopts(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %66, label %5
5: ; preds = %2
%6 = tail call i64 @strncmp(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 2) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %5
%9 = getelementptr inbounds i8, ptr %0, i64 2
%10 = tail call i64 @strcmp(ptr noundef nonnull %9, ptr noundef %1) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %66, label %12
12: ; preds = %8, %5
%13 = tail call i64 @strncmp(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 2) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = getelementptr inbounds i8, ptr %1, i64 2
%17 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %66, label %19
19: ; preds = %15, %12
%20 = tail call ptr @strchr(ptr noundef %0, i8 noundef signext 46) #2
%21 = icmp eq ptr %20, null
br i1 %21, label %51, label %22
22: ; preds = %19, %48
%23 = phi ptr [ %49, %48 ], [ %20, %19 ]
%24 = phi ptr [ %34, %48 ], [ %1, %19 ]
%25 = phi ptr [ %26, %48 ], [ %0, %19 ]
%26 = getelementptr inbounds i8, ptr %23, i64 1
%27 = ptrtoint ptr %26 to i64
%28 = ptrtoint ptr %25 to i64
%29 = sub i64 %27, %28
%30 = trunc i64 %29 to i32
%31 = tail call i64 @strncmp(ptr noundef %25, ptr noundef %24, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %51
33: ; preds = %22
%34 = getelementptr inbounds i8, ptr %24, i64 %29
%35 = tail call i64 @strncmp(ptr noundef nonnull %26, ptr noundef nonnull @.str, i32 noundef 2) #2
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = getelementptr inbounds i8, ptr %23, i64 3
%39 = tail call i64 @strcmp(ptr noundef nonnull %38, ptr noundef %34) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %66, label %41
41: ; preds = %37, %33
%42 = tail call i64 @strncmp(ptr noundef %34, ptr noundef nonnull @.str, i32 noundef 2) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %41
%45 = getelementptr inbounds i8, ptr %34, i64 2
%46 = tail call i64 @strcmp(ptr noundef nonnull %26, ptr noundef nonnull %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %66, label %48
48: ; preds = %44, %41
%49 = tail call ptr @strchr(ptr noundef nonnull %26, i8 noundef signext 46) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %22, !llvm.loop !5
51: ; preds = %22, %48, %19
%52 = phi ptr [ %0, %19 ], [ %26, %48 ], [ %25, %22 ]
%53 = phi ptr [ %1, %19 ], [ %34, %48 ], [ %24, %22 ]
%54 = tail call i64 @vfs_isopt_ro(ptr noundef %52) #2
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %51
%57 = tail call i64 @vfs_isopt_rw(ptr noundef %52) #2
%58 = icmp eq i64 %57, 0
br i1 %58, label %65, label %59
59: ; preds = %56, %51
%60 = tail call i64 @vfs_isopt_ro(ptr noundef %53) #2
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = tail call i64 @vfs_isopt_rw(ptr noundef %53) #2
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %62, %56
br label %66
66: ; preds = %44, %37, %59, %62, %15, %8, %2, %65
%67 = phi i32 [ 0, %65 ], [ 1, %2 ], [ 1, %8 ], [ 1, %15 ], [ 1, %62 ], [ 1, %59 ], [ 1, %37 ], [ 1, %44 ]
ret i32 %67
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i64 @vfs_isopt_ro(ptr noundef) local_unnamed_addr #1
declare i64 @vfs_isopt_rw(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_mount.c_vfs_equalopts.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_mount.c_vfs_equalopts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"no\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @vfs_equalopts], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @vfs_equalopts(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @strcmp(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %66, label %5
5: ; preds = %2
%6 = tail call i64 @strncmp(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 2) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %5
%9 = getelementptr inbounds i8, ptr %0, i64 2
%10 = tail call i64 @strcmp(ptr noundef nonnull %9, ptr noundef %1) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %66, label %12
12: ; preds = %8, %5
%13 = tail call i64 @strncmp(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 2) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = getelementptr inbounds i8, ptr %1, i64 2
%17 = tail call i64 @strcmp(ptr noundef %0, ptr noundef nonnull %16) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %66, label %19
19: ; preds = %15, %12
%20 = tail call ptr @strchr(ptr noundef %0, i8 noundef signext 46) #2
%21 = icmp eq ptr %20, null
br i1 %21, label %51, label %22
22: ; preds = %19, %48
%23 = phi ptr [ %49, %48 ], [ %20, %19 ]
%24 = phi ptr [ %34, %48 ], [ %1, %19 ]
%25 = phi ptr [ %26, %48 ], [ %0, %19 ]
%26 = getelementptr inbounds i8, ptr %23, i64 1
%27 = ptrtoint ptr %26 to i64
%28 = ptrtoint ptr %25 to i64
%29 = sub i64 %27, %28
%30 = trunc i64 %29 to i32
%31 = tail call i64 @strncmp(ptr noundef %25, ptr noundef %24, i32 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %51
33: ; preds = %22
%34 = getelementptr inbounds i8, ptr %24, i64 %29
%35 = tail call i64 @strncmp(ptr noundef nonnull %26, ptr noundef nonnull @.str, i32 noundef 2) #2
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = getelementptr inbounds i8, ptr %23, i64 3
%39 = tail call i64 @strcmp(ptr noundef nonnull %38, ptr noundef %34) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %66, label %41
41: ; preds = %37, %33
%42 = tail call i64 @strncmp(ptr noundef %34, ptr noundef nonnull @.str, i32 noundef 2) #2
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %41
%45 = getelementptr inbounds i8, ptr %34, i64 2
%46 = tail call i64 @strcmp(ptr noundef nonnull %26, ptr noundef nonnull %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %66, label %48
48: ; preds = %44, %41
%49 = tail call ptr @strchr(ptr noundef nonnull %26, i8 noundef signext 46) #2
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %22, !llvm.loop !6
51: ; preds = %22, %48, %19
%52 = phi ptr [ %0, %19 ], [ %26, %48 ], [ %25, %22 ]
%53 = phi ptr [ %1, %19 ], [ %34, %48 ], [ %24, %22 ]
%54 = tail call i64 @vfs_isopt_ro(ptr noundef %52) #2
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %51
%57 = tail call i64 @vfs_isopt_rw(ptr noundef %52) #2
%58 = icmp eq i64 %57, 0
br i1 %58, label %65, label %59
59: ; preds = %56, %51
%60 = tail call i64 @vfs_isopt_ro(ptr noundef %53) #2
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = tail call i64 @vfs_isopt_rw(ptr noundef %53) #2
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %62, %56
br label %66
66: ; preds = %44, %37, %59, %62, %15, %8, %2, %65
%67 = phi i32 [ 0, %65 ], [ 1, %2 ], [ 1, %8 ], [ 1, %15 ], [ 1, %62 ], [ 1, %59 ], [ 1, %37 ], [ 1, %44 ]
ret i32 %67
}
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1
declare i64 @vfs_isopt_ro(ptr noundef) local_unnamed_addr #1
declare i64 @vfs_isopt_rw(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"}
| freebsd_sys_kern_extr_vfs_mount.c_vfs_equalopts |
; ModuleID = 'AnghaBench/linux/drivers/pnp/extr_driver.c_compare_func.c'
source_filename = "AnghaBench/linux/drivers/pnp/extr_driver.c_compare_func.c"
target datalayout = "e-m:e-p270:32:32-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 @compare_func], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @compare_func(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 3
%4 = load i8, ptr %3, align 1, !tbaa !5
%5 = icmp eq i8 %4, 88
br i1 %5, label %15, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 3
%8 = load i8, ptr %7, align 1, !tbaa !5
%9 = icmp eq i8 %8, 88
br i1 %9, label %15, label %10
10: ; preds = %6
%11 = tail call i64 @toupper(i8 noundef signext %4) #2
%12 = load i8, ptr %7, align 1, !tbaa !5
%13 = tail call i64 @toupper(i8 noundef signext %12) #2
%14 = icmp eq i64 %11, %13
br i1 %14, label %15, label %55
15: ; preds = %2, %6, %10
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = load i8, ptr %16, align 1, !tbaa !5
%18 = icmp eq i8 %17, 88
br i1 %18, label %28, label %19
19: ; preds = %15
%20 = getelementptr inbounds i8, ptr %1, i64 4
%21 = load i8, ptr %20, align 1, !tbaa !5
%22 = icmp eq i8 %21, 88
br i1 %22, label %28, label %23
23: ; preds = %19
%24 = tail call i64 @toupper(i8 noundef signext %17) #2
%25 = load i8, ptr %20, align 1, !tbaa !5
%26 = tail call i64 @toupper(i8 noundef signext %25) #2
%27 = icmp eq i64 %24, %26
br i1 %27, label %28, label %55
28: ; preds = %23, %19, %15
%29 = getelementptr inbounds i8, ptr %0, i64 5
%30 = load i8, ptr %29, align 1, !tbaa !5
%31 = icmp eq i8 %30, 88
br i1 %31, label %41, label %32
32: ; preds = %28
%33 = getelementptr inbounds i8, ptr %1, i64 5
%34 = load i8, ptr %33, align 1, !tbaa !5
%35 = icmp eq i8 %34, 88
br i1 %35, label %41, label %36
36: ; preds = %32
%37 = tail call i64 @toupper(i8 noundef signext %30) #2
%38 = load i8, ptr %33, align 1, !tbaa !5
%39 = tail call i64 @toupper(i8 noundef signext %38) #2
%40 = icmp eq i64 %37, %39
br i1 %40, label %41, label %55
41: ; preds = %36, %32, %28
%42 = getelementptr inbounds i8, ptr %0, i64 6
%43 = load i8, ptr %42, align 1, !tbaa !5
%44 = icmp eq i8 %43, 88
br i1 %44, label %54, label %45
45: ; preds = %41
%46 = getelementptr inbounds i8, ptr %1, i64 6
%47 = load i8, ptr %46, align 1, !tbaa !5
%48 = icmp eq i8 %47, 88
br i1 %48, label %54, label %49
49: ; preds = %45
%50 = tail call i64 @toupper(i8 noundef signext %43) #2
%51 = load i8, ptr %46, align 1, !tbaa !5
%52 = tail call i64 @toupper(i8 noundef signext %51) #2
%53 = icmp eq i64 %50, %52
br i1 %53, label %54, label %55
54: ; preds = %49, %45, %41
br label %55
55: ; preds = %54, %49, %36, %23, %10
%56 = phi i32 [ 0, %10 ], [ 0, %23 ], [ 0, %36 ], [ 0, %49 ], [ 1, %54 ]
ret i32 %56
}
declare i64 @toupper(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/pnp/extr_driver.c_compare_func.c'
source_filename = "AnghaBench/linux/drivers/pnp/extr_driver.c_compare_func.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 @compare_func], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @compare_func(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 3
%4 = load i8, ptr %3, align 1, !tbaa !6
%5 = icmp eq i8 %4, 88
br i1 %5, label %15, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 3
%8 = load i8, ptr %7, align 1, !tbaa !6
%9 = icmp eq i8 %8, 88
br i1 %9, label %15, label %10
10: ; preds = %6
%11 = tail call i64 @toupper(i8 noundef signext %4) #2
%12 = load i8, ptr %7, align 1, !tbaa !6
%13 = tail call i64 @toupper(i8 noundef signext %12) #2
%14 = icmp eq i64 %11, %13
br i1 %14, label %15, label %55
15: ; preds = %2, %6, %10
%16 = getelementptr inbounds i8, ptr %0, i64 4
%17 = load i8, ptr %16, align 1, !tbaa !6
%18 = icmp eq i8 %17, 88
br i1 %18, label %28, label %19
19: ; preds = %15
%20 = getelementptr inbounds i8, ptr %1, i64 4
%21 = load i8, ptr %20, align 1, !tbaa !6
%22 = icmp eq i8 %21, 88
br i1 %22, label %28, label %23
23: ; preds = %19
%24 = tail call i64 @toupper(i8 noundef signext %17) #2
%25 = load i8, ptr %20, align 1, !tbaa !6
%26 = tail call i64 @toupper(i8 noundef signext %25) #2
%27 = icmp eq i64 %24, %26
br i1 %27, label %28, label %55
28: ; preds = %23, %19, %15
%29 = getelementptr inbounds i8, ptr %0, i64 5
%30 = load i8, ptr %29, align 1, !tbaa !6
%31 = icmp eq i8 %30, 88
br i1 %31, label %41, label %32
32: ; preds = %28
%33 = getelementptr inbounds i8, ptr %1, i64 5
%34 = load i8, ptr %33, align 1, !tbaa !6
%35 = icmp eq i8 %34, 88
br i1 %35, label %41, label %36
36: ; preds = %32
%37 = tail call i64 @toupper(i8 noundef signext %30) #2
%38 = load i8, ptr %33, align 1, !tbaa !6
%39 = tail call i64 @toupper(i8 noundef signext %38) #2
%40 = icmp eq i64 %37, %39
br i1 %40, label %41, label %55
41: ; preds = %36, %32, %28
%42 = getelementptr inbounds i8, ptr %0, i64 6
%43 = load i8, ptr %42, align 1, !tbaa !6
%44 = icmp eq i8 %43, 88
br i1 %44, label %54, label %45
45: ; preds = %41
%46 = getelementptr inbounds i8, ptr %1, i64 6
%47 = load i8, ptr %46, align 1, !tbaa !6
%48 = icmp eq i8 %47, 88
br i1 %48, label %54, label %49
49: ; preds = %45
%50 = tail call i64 @toupper(i8 noundef signext %43) #2
%51 = load i8, ptr %46, align 1, !tbaa !6
%52 = tail call i64 @toupper(i8 noundef signext %51) #2
%53 = icmp eq i64 %50, %52
br i1 %53, label %54, label %55
54: ; preds = %49, %45, %41
br label %55
55: ; preds = %54, %49, %36, %23, %10
%56 = phi i32 [ 0, %10 ], [ 0, %23 ], [ 0, %36 ], [ 0, %49 ], [ 1, %54 ]
ret i32 %56
}
declare i64 @toupper(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| linux_drivers_pnp_extr_driver.c_compare_func |
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_i5100_edac.c_i5100_spdcmd_create.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_i5100_edac.c_i5100_spdcmd_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @i5100_spdcmd_create], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @i5100_spdcmd_create(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = shl i32 %0, 28
%8 = shl i32 %1, 27
%9 = and i32 %8, 134217728
%10 = or disjoint i32 %9, %7
%11 = shl i32 %2, 24
%12 = and i32 %11, 117440512
%13 = or disjoint i32 %10, %12
%14 = shl i32 %3, 16
%15 = and i32 %14, 16711680
%16 = or disjoint i32 %13, %15
%17 = shl i32 %4, 8
%18 = and i32 %17, 65280
%19 = or disjoint i32 %16, %18
%20 = and i32 %5, 1
%21 = or disjoint i32 %19, %20
ret i32 %21
}
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/linux/drivers/edac/extr_i5100_edac.c_i5100_spdcmd_create.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_i5100_edac.c_i5100_spdcmd_create.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 @i5100_spdcmd_create], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal i32 @i5100_spdcmd_create(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = shl i32 %0, 28
%8 = shl i32 %1, 27
%9 = and i32 %8, 134217728
%10 = or disjoint i32 %9, %7
%11 = shl i32 %2, 24
%12 = and i32 %11, 117440512
%13 = or disjoint i32 %10, %12
%14 = shl i32 %3, 16
%15 = and i32 %14, 16711680
%16 = or disjoint i32 %13, %15
%17 = shl i32 %4, 8
%18 = and i32 %17, 65280
%19 = or disjoint i32 %16, %18
%20 = and i32 %5, 1
%21 = or disjoint i32 %19, %20
ret i32 %21
}
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)"}
| linux_drivers_edac_extr_i5100_edac.c_i5100_spdcmd_create |
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_vector_transports.c_build_raw_transport_data.c'
source_filename = "AnghaBench/linux/arch/um/drivers/extr_vector_transports.c_build_raw_transport_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vector_private = type { i32, i32, ptr, ptr, ptr, ptr }
%struct.TYPE_3__ = type { i32, i32 }
%struct.TYPE_4__ = type { i32, i32 }
@raw_form_header = dso_local global i32 0, align 4
@raw_verify_header = dso_local global i32 0, align 4
@NETIF_F_TSO = dso_local local_unnamed_addr global i32 0, align 4
@NETIF_F_GRO = dso_local local_unnamed_addr global i32 0, align 4
@NETIF_F_RXCSUM = dso_local local_unnamed_addr global i32 0, align 4
@NETIF_F_HW_CSUM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"raw: using vnet headers for tso and tx/rx checksum\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @build_raw_transport_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @build_raw_transport_data(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.vector_private, ptr %0, i64 0, i32 5
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = tail call i64 @uml_raw_enable_vnet_headers(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %35, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8, !tbaa !5
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = tail call i64 @uml_raw_enable_vnet_headers(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %35, label %13
13: ; preds = %8
%14 = getelementptr inbounds %struct.vector_private, ptr %0, i64 0, i32 4
store ptr @raw_form_header, ptr %14, align 8, !tbaa !14
%15 = getelementptr inbounds %struct.vector_private, ptr %0, i64 0, i32 3
store ptr @raw_verify_header, ptr %15, align 8, !tbaa !15
store i32 4, ptr %0, align 8, !tbaa !16
%16 = getelementptr inbounds %struct.vector_private, ptr %0, i64 0, i32 1
store i32 4, ptr %16, align 4, !tbaa !17
%17 = load i32, ptr @NETIF_F_TSO, align 4, !tbaa !18
%18 = load i32, ptr @NETIF_F_GRO, align 4, !tbaa !18
%19 = or i32 %18, %17
%20 = getelementptr inbounds %struct.vector_private, ptr %0, i64 0, i32 2
%21 = load ptr, ptr %20, align 8, !tbaa !19
%22 = load i32, ptr %21, align 4, !tbaa !20
%23 = or i32 %19, %22
store i32 %23, ptr %21, align 4, !tbaa !20
%24 = load i32, ptr @NETIF_F_RXCSUM, align 4, !tbaa !18
%25 = load i32, ptr @NETIF_F_HW_CSUM, align 4, !tbaa !18
%26 = or i32 %25, %24
%27 = load i32, ptr @NETIF_F_TSO, align 4, !tbaa !18
%28 = or i32 %26, %27
%29 = load i32, ptr @NETIF_F_GRO, align 4, !tbaa !18
%30 = or i32 %28, %29
%31 = getelementptr inbounds %struct.TYPE_4__, ptr %21, i64 0, i32 1
%32 = load i32, ptr %31, align 4, !tbaa !22
%33 = or i32 %30, %32
store i32 %33, ptr %31, align 4, !tbaa !22
%34 = tail call i32 @netdev_info(ptr noundef nonnull %21, ptr noundef nonnull @.str) #2
br label %35
35: ; preds = %1, %13, %8
%36 = phi i32 [ -1, %8 ], [ 0, %13 ], [ 0, %1 ]
ret i32 %36
}
declare i64 @uml_raw_enable_vnet_headers(i32 noundef) local_unnamed_addr #1
declare i32 @netdev_info(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 32}
!6 = !{!"vector_private", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 4}
!12 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!13 = !{!12, !7, i64 0}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !7, i64 4}
!18 = !{!7, !7, i64 0}
!19 = !{!6, !10, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!22 = !{!21, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_vector_transports.c_build_raw_transport_data.c'
source_filename = "AnghaBench/linux/arch/um/drivers/extr_vector_transports.c_build_raw_transport_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@raw_form_header = common global i32 0, align 4
@raw_verify_header = common global i32 0, align 4
@NETIF_F_TSO = common local_unnamed_addr global i32 0, align 4
@NETIF_F_GRO = common local_unnamed_addr global i32 0, align 4
@NETIF_F_RXCSUM = common local_unnamed_addr global i32 0, align 4
@NETIF_F_HW_CSUM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"raw: using vnet headers for tso and tx/rx checksum\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @build_raw_transport_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @build_raw_transport_data(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 32
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call i64 @uml_raw_enable_vnet_headers(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %34, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8, !tbaa !6
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = tail call i64 @uml_raw_enable_vnet_headers(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %34, label %13
13: ; preds = %8
%14 = getelementptr inbounds i8, ptr %0, i64 24
store ptr @raw_form_header, ptr %14, align 8, !tbaa !15
%15 = getelementptr inbounds i8, ptr %0, i64 16
store ptr @raw_verify_header, ptr %15, align 8, !tbaa !16
store <2 x i32> <i32 4, i32 4>, ptr %0, align 8, !tbaa !17
%16 = load i32, ptr @NETIF_F_TSO, align 4, !tbaa !17
%17 = load i32, ptr @NETIF_F_GRO, align 4, !tbaa !17
%18 = or i32 %17, %16
%19 = getelementptr inbounds i8, ptr %0, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !18
%21 = load i32, ptr %20, align 4, !tbaa !19
%22 = or i32 %18, %21
store i32 %22, ptr %20, align 4, !tbaa !19
%23 = load i32, ptr @NETIF_F_RXCSUM, align 4, !tbaa !17
%24 = load i32, ptr @NETIF_F_HW_CSUM, align 4, !tbaa !17
%25 = or i32 %24, %23
%26 = load i32, ptr @NETIF_F_TSO, align 4, !tbaa !17
%27 = or i32 %25, %26
%28 = load i32, ptr @NETIF_F_GRO, align 4, !tbaa !17
%29 = or i32 %27, %28
%30 = getelementptr inbounds i8, ptr %20, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !21
%32 = or i32 %29, %31
store i32 %32, ptr %30, align 4, !tbaa !21
%33 = tail call i32 @netdev_info(ptr noundef nonnull %20, ptr noundef nonnull @.str) #2
br label %34
34: ; preds = %1, %13, %8
%35 = phi i32 [ -1, %8 ], [ 0, %13 ], [ 0, %1 ]
ret i32 %35
}
declare i64 @uml_raw_enable_vnet_headers(i32 noundef) local_unnamed_addr #1
declare i32 @netdev_info(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 32}
!7 = !{!"vector_private", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 4}
!13 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!14 = !{!13, !8, i64 0}
!15 = !{!7, !11, i64 24}
!16 = !{!7, !11, i64 16}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !11, i64 8}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!21 = !{!20, !8, i64 4}
| linux_arch_um_drivers_extr_vector_transports.c_build_raw_transport_data |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c__initialize_valops.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c__initialize_valops.c"
target datalayout = "e-m:e-p270:32:32-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 [20 x i8] c"overload-resolution\00", align 1
@class_support = dso_local local_unnamed_addr global i32 0, align 4
@var_boolean = dso_local local_unnamed_addr global i32 0, align 4
@overload_resolution = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [53 x i8] c"Set overload resolution in evaluating C++ functions.\00", align 1
@setlist = dso_local global i32 0, align 4
@showlist = dso_local global i32 0, align 4
@auto_abandon = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @_initialize_valops() local_unnamed_addr #0 {
%1 = load i32, ptr @class_support, align 4, !tbaa !5
%2 = load i32, ptr @var_boolean, align 4, !tbaa !5
%3 = tail call i32 @add_set_cmd(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2, ptr noundef nonnull @overload_resolution, ptr noundef nonnull @.str.1, ptr noundef nonnull @setlist) #2
%4 = tail call i32 @add_show_from_set(i32 noundef %3, ptr noundef nonnull @showlist) #2
store i32 1, ptr @overload_resolution, align 4, !tbaa !5
ret void
}
declare i32 @add_show_from_set(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @add_set_cmd(ptr noundef, i32 noundef, i32 noundef, 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"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c__initialize_valops.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_valops.c__initialize_valops.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [20 x i8] c"overload-resolution\00", align 1
@class_support = common local_unnamed_addr global i32 0, align 4
@var_boolean = common local_unnamed_addr global i32 0, align 4
@overload_resolution = common global i32 0, align 4
@.str.1 = private unnamed_addr constant [53 x i8] c"Set overload resolution in evaluating C++ functions.\00", align 1
@setlist = common global i32 0, align 4
@showlist = common global i32 0, align 4
@auto_abandon = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @_initialize_valops() local_unnamed_addr #0 {
%1 = load i32, ptr @class_support, align 4, !tbaa !6
%2 = load i32, ptr @var_boolean, align 4, !tbaa !6
%3 = tail call i32 @add_set_cmd(ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2, ptr noundef nonnull @overload_resolution, ptr noundef nonnull @.str.1, ptr noundef nonnull @setlist) #2
%4 = tail call i32 @add_show_from_set(i32 noundef %3, ptr noundef nonnull @showlist) #2
store i32 1, ptr @overload_resolution, align 4, !tbaa !6
ret void
}
declare i32 @add_show_from_set(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @add_set_cmd(ptr noundef, i32 noundef, i32 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_extr_valops.c__initialize_valops |
; ModuleID = 'AnghaBench/redis/deps/lua/src/extr_lundump.c_LoadChar.c'
source_filename = "AnghaBench/redis/deps/lua/src/extr_lundump.c_LoadChar.c"
target datalayout = "e-m:e-p270:32:32-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 @LoadChar], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @LoadChar(ptr noundef %0) #0 {
%2 = tail call i32 @LoadVar(ptr noundef %0, i8 noundef signext undef) #2
ret i32 0
}
declare i32 @LoadVar(ptr noundef, i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/redis/deps/lua/src/extr_lundump.c_LoadChar.c'
source_filename = "AnghaBench/redis/deps/lua/src/extr_lundump.c_LoadChar.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 @LoadChar], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @LoadChar(ptr noundef %0) #0 {
%2 = tail call i32 @LoadVar(ptr noundef %0, i8 noundef signext undef) #2
ret i32 0
}
declare i32 @LoadVar(ptr noundef, i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| redis_deps_lua_src_extr_lundump.c_LoadChar |
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_journal.c_pack_inode.c'
source_filename = "AnghaBench/linux/fs/ubifs/extr_journal.c_pack_inode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ubifs_ino_node = type { i32, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.inode = type { i32, i32, %struct.TYPE_8__, %struct.TYPE_7__, %struct.TYPE_6__, i32 }
%struct.TYPE_8__ = type { i32, i32 }
%struct.TYPE_7__ = type { i32, i32 }
%struct.TYPE_6__ = type { i32, i32 }
%struct.ubifs_inode = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@UBIFS_INO_NODE = dso_local local_unnamed_addr global i32 0, align 4
@UBIFS_INO_NODE_SZ = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @pack_inode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pack_inode(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
%7 = tail call ptr @ubifs_inode(ptr noundef nonnull %2) #2
%8 = load i32, ptr @UBIFS_INO_NODE, align 4, !tbaa !13
%9 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 20
store i32 %8, ptr %9, align 4, !tbaa !14
%10 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 19
%11 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 5
%12 = load i32, ptr %11, align 4, !tbaa !18
%13 = tail call i32 @ino_key_init_flash(ptr noundef %0, ptr noundef nonnull %10, i32 noundef %12) #2
%14 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 8
%15 = load i32, ptr %14, align 4, !tbaa !19
%16 = tail call ptr @cpu_to_le64(i32 noundef %15) #2
%17 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 18
store ptr %16, ptr %17, align 8, !tbaa !21
%18 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 4
%19 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 4, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !22
%21 = tail call ptr @cpu_to_le64(i32 noundef %20) #2
%22 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 17
store ptr %21, ptr %22, align 8, !tbaa !23
%23 = load i32, ptr %18, align 4, !tbaa !24
%24 = tail call ptr @cpu_to_le32(i32 noundef %23) #2
%25 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 16
store ptr %24, ptr %25, align 8, !tbaa !25
%26 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 3
%27 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 3, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !26
%29 = tail call ptr @cpu_to_le64(i32 noundef %28) #2
%30 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 15
store ptr %29, ptr %30, align 8, !tbaa !27
%31 = load i32, ptr %26, align 4, !tbaa !28
%32 = tail call ptr @cpu_to_le32(i32 noundef %31) #2
%33 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 14
store ptr %32, ptr %33, align 8, !tbaa !29
%34 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 2
%35 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 2, i32 1
%36 = load i32, ptr %35, align 4, !tbaa !30
%37 = tail call ptr @cpu_to_le64(i32 noundef %36) #2
%38 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 13
store ptr %37, ptr %38, align 8, !tbaa !31
%39 = load i32, ptr %34, align 4, !tbaa !32
%40 = tail call ptr @cpu_to_le32(i32 noundef %39) #2
%41 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 12
store ptr %40, ptr %41, align 8, !tbaa !33
%42 = tail call i32 @i_uid_read(ptr noundef nonnull %2) #2
%43 = tail call ptr @cpu_to_le32(i32 noundef %42) #2
%44 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 11
store ptr %43, ptr %44, align 8, !tbaa !34
%45 = tail call i32 @i_gid_read(ptr noundef nonnull %2) #2
%46 = tail call ptr @cpu_to_le32(i32 noundef %45) #2
%47 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 10
store ptr %46, ptr %47, align 8, !tbaa !35
%48 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 1
%49 = load i32, ptr %48, align 4, !tbaa !36
%50 = tail call ptr @cpu_to_le32(i32 noundef %49) #2
%51 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 9
store ptr %50, ptr %51, align 8, !tbaa !37
%52 = load i32, ptr %7, align 4, !tbaa !38
%53 = tail call ptr @cpu_to_le32(i32 noundef %52) #2
%54 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 8
store ptr %53, ptr %54, align 8, !tbaa !39
%55 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 7
%56 = load i32, ptr %55, align 4, !tbaa !40
%57 = tail call ptr @cpu_to_le64(i32 noundef %56) #2
%58 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 7
store ptr %57, ptr %58, align 8, !tbaa !41
%59 = load i32, ptr %2, align 4, !tbaa !5
%60 = tail call ptr @cpu_to_le32(i32 noundef %59) #2
%61 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 6
store ptr %60, ptr %61, align 8, !tbaa !42
%62 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 6
%63 = load i32, ptr %62, align 4, !tbaa !43
%64 = tail call i32 @cpu_to_le16(i32 noundef %63) #2
%65 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 5
store i32 %64, ptr %65, align 8, !tbaa !44
%66 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 1
%67 = load i32, ptr %66, align 4, !tbaa !45
%68 = tail call ptr @cpu_to_le32(i32 noundef %67) #2
%69 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 4
store ptr %68, ptr %69, align 8, !tbaa !46
%70 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 2
%71 = load i32, ptr %70, align 4, !tbaa !47
%72 = tail call ptr @cpu_to_le32(i32 noundef %71) #2
%73 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 3
store ptr %72, ptr %73, align 8, !tbaa !48
%74 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 3
%75 = load i32, ptr %74, align 4, !tbaa !49
%76 = tail call ptr @cpu_to_le32(i32 noundef %75) #2
%77 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 2
store ptr %76, ptr %77, align 8, !tbaa !50
%78 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 4
%79 = load i32, ptr %78, align 4, !tbaa !51
%80 = tail call ptr @cpu_to_le32(i32 noundef %79) #2
%81 = getelementptr inbounds %struct.ubifs_ino_node, ptr %1, i64 0, i32 1
store ptr %80, ptr %81, align 8, !tbaa !52
%82 = tail call i32 @zero_ino_node_unused(ptr noundef %1) #2
br i1 %6, label %91, label %83
83: ; preds = %4
%84 = load i32, ptr %1, align 8, !tbaa !53
%85 = getelementptr inbounds %struct.ubifs_inode, ptr %7, i64 0, i32 5
%86 = load i32, ptr %85, align 4, !tbaa !54
%87 = load i32, ptr %66, align 4, !tbaa !45
%88 = tail call i32 @memcpy(i32 noundef %84, i32 noundef %86, i32 noundef %87) #2
%89 = load i32, ptr %66, align 4, !tbaa !45
%90 = sext i32 %89 to i64
br label %91
91: ; preds = %83, %4
%92 = phi i64 [ 0, %4 ], [ %90, %83 ]
%93 = load i64, ptr @UBIFS_INO_NODE_SZ, align 8, !tbaa !55
%94 = add nsw i64 %93, %92
%95 = tail call i32 @ubifs_prep_grp_node(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %94, i32 noundef %3) #2
ret void
}
declare ptr @ubifs_inode(ptr noundef) local_unnamed_addr #1
declare i32 @ino_key_init_flash(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le64(i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @i_uid_read(ptr noundef) local_unnamed_addr #1
declare i32 @i_gid_read(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @zero_ino_node_unused(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ubifs_prep_grp_node(ptr noundef, 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 = !{!"inode", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !12, i64 24, !7, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !7, i64 0, !7, i64 4}
!11 = !{!"TYPE_7__", !7, i64 0, !7, i64 4}
!12 = !{!"TYPE_6__", !7, i64 0, !7, i64 4}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 156}
!15 = !{!"ubifs_ino_node", !7, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !7, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !7, i64 152, !17, i64 156}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"TYPE_5__", !7, i64 0}
!18 = !{!6, !7, i64 32}
!19 = !{!20, !7, i64 32}
!20 = !{!"ubifs_inode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32}
!21 = !{!15, !16, i64 144}
!22 = !{!6, !7, i64 28}
!23 = !{!15, !16, i64 136}
!24 = !{!6, !7, i64 24}
!25 = !{!15, !16, i64 128}
!26 = !{!6, !7, i64 20}
!27 = !{!15, !16, i64 120}
!28 = !{!6, !7, i64 16}
!29 = !{!15, !16, i64 112}
!30 = !{!6, !7, i64 12}
!31 = !{!15, !16, i64 104}
!32 = !{!6, !7, i64 8}
!33 = !{!15, !16, i64 96}
!34 = !{!15, !16, i64 88}
!35 = !{!15, !16, i64 80}
!36 = !{!6, !7, i64 4}
!37 = !{!15, !16, i64 72}
!38 = !{!20, !7, i64 0}
!39 = !{!15, !16, i64 64}
!40 = !{!20, !7, i64 28}
!41 = !{!15, !16, i64 56}
!42 = !{!15, !16, i64 48}
!43 = !{!20, !7, i64 24}
!44 = !{!15, !7, i64 40}
!45 = !{!20, !7, i64 4}
!46 = !{!15, !16, i64 32}
!47 = !{!20, !7, i64 8}
!48 = !{!15, !16, i64 24}
!49 = !{!20, !7, i64 12}
!50 = !{!15, !16, i64 16}
!51 = !{!20, !7, i64 16}
!52 = !{!15, !16, i64 8}
!53 = !{!15, !7, i64 0}
!54 = !{!20, !7, i64 20}
!55 = !{!56, !56, i64 0}
!56 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_journal.c_pack_inode.c'
source_filename = "AnghaBench/linux/fs/ubifs/extr_journal.c_pack_inode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UBIFS_INO_NODE = common local_unnamed_addr global i32 0, align 4
@UBIFS_INO_NODE_SZ = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @pack_inode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pack_inode(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
%7 = tail call ptr @ubifs_inode(ptr noundef nonnull %2) #2
%8 = load i32, ptr @UBIFS_INO_NODE, align 4, !tbaa !14
%9 = getelementptr inbounds i8, ptr %1, i64 156
store i32 %8, ptr %9, align 4, !tbaa !15
%10 = getelementptr inbounds i8, ptr %1, i64 152
%11 = getelementptr inbounds i8, ptr %2, i64 32
%12 = load i32, ptr %11, align 4, !tbaa !19
%13 = tail call i32 @ino_key_init_flash(ptr noundef %0, ptr noundef nonnull %10, i32 noundef %12) #2
%14 = getelementptr inbounds i8, ptr %7, i64 32
%15 = load i32, ptr %14, align 4, !tbaa !20
%16 = tail call ptr @cpu_to_le64(i32 noundef %15) #2
%17 = getelementptr inbounds i8, ptr %1, i64 144
store ptr %16, ptr %17, align 8, !tbaa !22
%18 = getelementptr inbounds i8, ptr %2, i64 24
%19 = getelementptr inbounds i8, ptr %2, i64 28
%20 = load i32, ptr %19, align 4, !tbaa !23
%21 = tail call ptr @cpu_to_le64(i32 noundef %20) #2
%22 = getelementptr inbounds i8, ptr %1, i64 136
store ptr %21, ptr %22, align 8, !tbaa !24
%23 = load i32, ptr %18, align 4, !tbaa !25
%24 = tail call ptr @cpu_to_le32(i32 noundef %23) #2
%25 = getelementptr inbounds i8, ptr %1, i64 128
store ptr %24, ptr %25, align 8, !tbaa !26
%26 = getelementptr inbounds i8, ptr %2, i64 16
%27 = getelementptr inbounds i8, ptr %2, i64 20
%28 = load i32, ptr %27, align 4, !tbaa !27
%29 = tail call ptr @cpu_to_le64(i32 noundef %28) #2
%30 = getelementptr inbounds i8, ptr %1, i64 120
store ptr %29, ptr %30, align 8, !tbaa !28
%31 = load i32, ptr %26, align 4, !tbaa !29
%32 = tail call ptr @cpu_to_le32(i32 noundef %31) #2
%33 = getelementptr inbounds i8, ptr %1, i64 112
store ptr %32, ptr %33, align 8, !tbaa !30
%34 = getelementptr inbounds i8, ptr %2, i64 8
%35 = getelementptr inbounds i8, ptr %2, i64 12
%36 = load i32, ptr %35, align 4, !tbaa !31
%37 = tail call ptr @cpu_to_le64(i32 noundef %36) #2
%38 = getelementptr inbounds i8, ptr %1, i64 104
store ptr %37, ptr %38, align 8, !tbaa !32
%39 = load i32, ptr %34, align 4, !tbaa !33
%40 = tail call ptr @cpu_to_le32(i32 noundef %39) #2
%41 = getelementptr inbounds i8, ptr %1, i64 96
store ptr %40, ptr %41, align 8, !tbaa !34
%42 = tail call i32 @i_uid_read(ptr noundef nonnull %2) #2
%43 = tail call ptr @cpu_to_le32(i32 noundef %42) #2
%44 = getelementptr inbounds i8, ptr %1, i64 88
store ptr %43, ptr %44, align 8, !tbaa !35
%45 = tail call i32 @i_gid_read(ptr noundef nonnull %2) #2
%46 = tail call ptr @cpu_to_le32(i32 noundef %45) #2
%47 = getelementptr inbounds i8, ptr %1, i64 80
store ptr %46, ptr %47, align 8, !tbaa !36
%48 = getelementptr inbounds i8, ptr %2, i64 4
%49 = load i32, ptr %48, align 4, !tbaa !37
%50 = tail call ptr @cpu_to_le32(i32 noundef %49) #2
%51 = getelementptr inbounds i8, ptr %1, i64 72
store ptr %50, ptr %51, align 8, !tbaa !38
%52 = load i32, ptr %7, align 4, !tbaa !39
%53 = tail call ptr @cpu_to_le32(i32 noundef %52) #2
%54 = getelementptr inbounds i8, ptr %1, i64 64
store ptr %53, ptr %54, align 8, !tbaa !40
%55 = getelementptr inbounds i8, ptr %7, i64 28
%56 = load i32, ptr %55, align 4, !tbaa !41
%57 = tail call ptr @cpu_to_le64(i32 noundef %56) #2
%58 = getelementptr inbounds i8, ptr %1, i64 56
store ptr %57, ptr %58, align 8, !tbaa !42
%59 = load i32, ptr %2, align 4, !tbaa !6
%60 = tail call ptr @cpu_to_le32(i32 noundef %59) #2
%61 = getelementptr inbounds i8, ptr %1, i64 48
store ptr %60, ptr %61, align 8, !tbaa !43
%62 = getelementptr inbounds i8, ptr %7, i64 24
%63 = load i32, ptr %62, align 4, !tbaa !44
%64 = tail call i32 @cpu_to_le16(i32 noundef %63) #2
%65 = getelementptr inbounds i8, ptr %1, i64 40
store i32 %64, ptr %65, align 8, !tbaa !45
%66 = getelementptr inbounds i8, ptr %7, i64 4
%67 = load i32, ptr %66, align 4, !tbaa !46
%68 = tail call ptr @cpu_to_le32(i32 noundef %67) #2
%69 = getelementptr inbounds i8, ptr %1, i64 32
store ptr %68, ptr %69, align 8, !tbaa !47
%70 = getelementptr inbounds i8, ptr %7, i64 8
%71 = load i32, ptr %70, align 4, !tbaa !48
%72 = tail call ptr @cpu_to_le32(i32 noundef %71) #2
%73 = getelementptr inbounds i8, ptr %1, i64 24
store ptr %72, ptr %73, align 8, !tbaa !49
%74 = getelementptr inbounds i8, ptr %7, i64 12
%75 = load i32, ptr %74, align 4, !tbaa !50
%76 = tail call ptr @cpu_to_le32(i32 noundef %75) #2
%77 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %76, ptr %77, align 8, !tbaa !51
%78 = getelementptr inbounds i8, ptr %7, i64 16
%79 = load i32, ptr %78, align 4, !tbaa !52
%80 = tail call ptr @cpu_to_le32(i32 noundef %79) #2
%81 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %80, ptr %81, align 8, !tbaa !53
%82 = tail call i32 @zero_ino_node_unused(ptr noundef %1) #2
br i1 %6, label %91, label %83
83: ; preds = %4
%84 = load i32, ptr %1, align 8, !tbaa !54
%85 = getelementptr inbounds i8, ptr %7, i64 20
%86 = load i32, ptr %85, align 4, !tbaa !55
%87 = load i32, ptr %66, align 4, !tbaa !46
%88 = tail call i32 @memcpy(i32 noundef %84, i32 noundef %86, i32 noundef %87) #2
%89 = load i32, ptr %66, align 4, !tbaa !46
%90 = sext i32 %89 to i64
br label %91
91: ; preds = %83, %4
%92 = phi i64 [ 0, %4 ], [ %90, %83 ]
%93 = load i64, ptr @UBIFS_INO_NODE_SZ, align 8, !tbaa !56
%94 = add nsw i64 %93, %92
%95 = tail call i32 @ubifs_prep_grp_node(ptr noundef %0, ptr noundef nonnull %1, i64 noundef %94, i32 noundef %3) #2
ret void
}
declare ptr @ubifs_inode(ptr noundef) local_unnamed_addr #1
declare i32 @ino_key_init_flash(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le64(i32 noundef) local_unnamed_addr #1
declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1
declare i32 @i_uid_read(ptr noundef) local_unnamed_addr #1
declare i32 @i_gid_read(ptr noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @zero_ino_node_unused(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ubifs_prep_grp_node(ptr noundef, 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 = !{!"inode", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !13, i64 24, !8, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !8, i64 0, !8, i64 4}
!12 = !{!"TYPE_7__", !8, i64 0, !8, i64 4}
!13 = !{!"TYPE_6__", !8, i64 0, !8, i64 4}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 156}
!16 = !{!"ubifs_ino_node", !8, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !8, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !17, i64 120, !17, i64 128, !17, i64 136, !17, i64 144, !8, i64 152, !18, i64 156}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!"TYPE_5__", !8, i64 0}
!19 = !{!7, !8, i64 32}
!20 = !{!21, !8, i64 32}
!21 = !{!"ubifs_inode", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32}
!22 = !{!16, !17, i64 144}
!23 = !{!7, !8, i64 28}
!24 = !{!16, !17, i64 136}
!25 = !{!7, !8, i64 24}
!26 = !{!16, !17, i64 128}
!27 = !{!7, !8, i64 20}
!28 = !{!16, !17, i64 120}
!29 = !{!7, !8, i64 16}
!30 = !{!16, !17, i64 112}
!31 = !{!7, !8, i64 12}
!32 = !{!16, !17, i64 104}
!33 = !{!7, !8, i64 8}
!34 = !{!16, !17, i64 96}
!35 = !{!16, !17, i64 88}
!36 = !{!16, !17, i64 80}
!37 = !{!7, !8, i64 4}
!38 = !{!16, !17, i64 72}
!39 = !{!21, !8, i64 0}
!40 = !{!16, !17, i64 64}
!41 = !{!21, !8, i64 28}
!42 = !{!16, !17, i64 56}
!43 = !{!16, !17, i64 48}
!44 = !{!21, !8, i64 24}
!45 = !{!16, !8, i64 40}
!46 = !{!21, !8, i64 4}
!47 = !{!16, !17, i64 32}
!48 = !{!21, !8, i64 8}
!49 = !{!16, !17, i64 24}
!50 = !{!21, !8, i64 12}
!51 = !{!16, !17, i64 16}
!52 = !{!21, !8, i64 16}
!53 = !{!16, !17, i64 8}
!54 = !{!16, !8, i64 0}
!55 = !{!21, !8, i64 20}
!56 = !{!57, !57, i64 0}
!57 = !{!"long", !9, i64 0}
| linux_fs_ubifs_extr_journal.c_pack_inode |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/sldns/extr_parse.c_sldns_bgetc.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/sldns/extr_parse.c_sldns_bgetc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOF = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sldns_bgetc(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @sldns_buffer_available_at(ptr noundef nonnull %0, i32 noundef %2, i32 noundef 4) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = tail call i32 @sldns_buffer_limit(ptr noundef nonnull %0) #2
%7 = tail call i32 @sldns_buffer_set_position(ptr noundef nonnull %0, i32 noundef %6) #2
%8 = load i32, ptr @EOF, align 4, !tbaa !10
br label %12
9: ; preds = %1
%10 = tail call i64 @sldns_buffer_read_u8(ptr noundef nonnull %0) #2
%11 = trunc i64 %10 to i32
br label %12
12: ; preds = %9, %5
%13 = phi i32 [ %11, %9 ], [ %8, %5 ]
ret i32 %13
}
declare i32 @sldns_buffer_available_at(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sldns_buffer_set_position(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sldns_buffer_limit(ptr noundef) local_unnamed_addr #1
declare i64 @sldns_buffer_read_u8(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_7__", !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/freebsd/contrib/unbound/sldns/extr_parse.c_sldns_bgetc.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/sldns/extr_parse.c_sldns_bgetc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOF = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sldns_bgetc(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @sldns_buffer_available_at(ptr noundef nonnull %0, i32 noundef %2, i32 noundef 4) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = tail call i32 @sldns_buffer_limit(ptr noundef nonnull %0) #2
%7 = tail call i32 @sldns_buffer_set_position(ptr noundef nonnull %0, i32 noundef %6) #2
%8 = load i32, ptr @EOF, align 4, !tbaa !11
br label %12
9: ; preds = %1
%10 = tail call i64 @sldns_buffer_read_u8(ptr noundef nonnull %0) #2
%11 = trunc i64 %10 to i32
br label %12
12: ; preds = %9, %5
%13 = phi i32 [ %11, %9 ], [ %8, %5 ]
ret i32 %13
}
declare i32 @sldns_buffer_available_at(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sldns_buffer_set_position(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sldns_buffer_limit(ptr noundef) local_unnamed_addr #1
declare i64 @sldns_buffer_read_u8(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_7__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_contrib_unbound_sldns_extr_parse.c_sldns_bgetc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.