IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/crypto/rockchip/extr_rk3288_crypto_ahash.c_rk_ahash_init.c' source_filename = "AnghaBench/linux/drivers/crypto/rockchip/extr_rk3288_crypto_ahash.c_rk_ahash_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" @CRYPTO_TFM_REQ_MAY_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rk_ahash_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rk_ahash_init(ptr noundef %0) #0 { %2 = tail call ptr @ahash_request_ctx(ptr noundef %0) #2 %3 = tail call ptr @crypto_ahash_reqtfm(ptr noundef %0) #2 %4 = tail call ptr @crypto_ahash_ctx(ptr noundef %3) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @ahash_request_set_tfm(ptr noundef %2, i32 noundef %5) #2 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = load i32, ptr @CRYPTO_TFM_REQ_MAY_SLEEP, align 4, !tbaa !13 %9 = and i32 %8, %7 store i32 %9, ptr %2, align 4, !tbaa !14 %10 = tail call i32 @crypto_ahash_init(ptr noundef nonnull %2) #2 ret i32 %10 } declare ptr @ahash_request_ctx(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ahash_reqtfm(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ahash_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @ahash_request_set_tfm(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_ahash_init(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 = !{!"rk_ahash_ctx", !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 = !{!"ahash_request", !12, i64 0} !12 = !{!"TYPE_6__", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"rk_ahash_rctx", !16, i64 0} !16 = !{!"TYPE_7__", !17, i64 0} !17 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/rockchip/extr_rk3288_crypto_ahash.c_rk_ahash_init.c' source_filename = "AnghaBench/linux/drivers/crypto/rockchip/extr_rk3288_crypto_ahash.c_rk_ahash_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYPTO_TFM_REQ_MAY_SLEEP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rk_ahash_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rk_ahash_init(ptr noundef %0) #0 { %2 = tail call ptr @ahash_request_ctx(ptr noundef %0) #2 %3 = tail call ptr @crypto_ahash_reqtfm(ptr noundef %0) #2 %4 = tail call ptr @crypto_ahash_ctx(ptr noundef %3) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @ahash_request_set_tfm(ptr noundef %2, i32 noundef %5) #2 %7 = load i32, ptr %0, align 4, !tbaa !11 %8 = load i32, ptr @CRYPTO_TFM_REQ_MAY_SLEEP, align 4, !tbaa !14 %9 = and i32 %8, %7 store i32 %9, ptr %2, align 4, !tbaa !15 %10 = tail call i32 @crypto_ahash_init(ptr noundef nonnull %2) #2 ret i32 %10 } declare ptr @ahash_request_ctx(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ahash_reqtfm(ptr noundef) local_unnamed_addr #1 declare ptr @crypto_ahash_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @ahash_request_set_tfm(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_ahash_init(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 = !{!"rk_ahash_ctx", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"ahash_request", !13, i64 0} !13 = !{!"TYPE_6__", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"rk_ahash_rctx", !17, i64 0} !17 = !{!"TYPE_7__", !18, i64 0} !18 = !{!"TYPE_5__", !8, i64 0}
linux_drivers_crypto_rockchip_extr_rk3288_crypto_ahash.c_rk_ahash_init
; ModuleID = 'AnghaBench/radare2/shlr/tcc/extr_tccpp.c_tok_alloc_new.c' source_filename = "AnghaBench/radare2/shlr/tcc/extr_tccpp.c_tok_alloc_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, i64 } @tok_ident = dso_local local_unnamed_addr global i64 0, align 8 @SYM_FIRST_ANOM = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [12 x i8] c"memory full\00", align 1 @TOK_IDENT = dso_local local_unnamed_addr global i64 0, align 8 @TOK_ALLOC_INCR = dso_local local_unnamed_addr global i32 0, align 4 @table_ident = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @tok_alloc_new], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @tok_alloc_new(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr @tok_ident, align 8, !tbaa !5 %5 = load i64, ptr @SYM_FIRST_ANOM, align 8, !tbaa !5 %6 = icmp slt i64 %4, %5 br i1 %6, label %10, label %7 7: ; preds = %3 %8 = tail call i32 @tcc_error(ptr noundef nonnull @.str) #3 %9 = load i64, ptr @tok_ident, align 8, !tbaa !5 br label %10 10: ; preds = %7, %3 %11 = phi i64 [ %9, %7 ], [ %4, %3 ] %12 = load i64, ptr @TOK_IDENT, align 8, !tbaa !5 %13 = sub nsw i64 %11, %12 %14 = trunc i64 %13 to i32 %15 = load i32, ptr @TOK_ALLOC_INCR, align 4, !tbaa !9 %16 = srem i32 %14, %15 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %10 %19 = load ptr, ptr @table_ident, align 8, !tbaa !11 %20 = add nsw i32 %15, %14 %21 = shl i32 %20, 3 %22 = tail call ptr @realloc(ptr noundef %19, i32 noundef %21) #3 store ptr %22, ptr @table_ident, align 8, !tbaa !11 br label %23 23: ; preds = %18, %10 %24 = sext i32 %2 to i64 %25 = add i32 %2, 64 %26 = tail call ptr @malloc(i32 noundef %25) #3 %27 = load ptr, ptr @table_ident, align 8, !tbaa !11 %28 = shl i64 %13, 32 %29 = ashr exact i64 %28, 32 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 store ptr %26, ptr %30, align 8, !tbaa !11 %31 = load i64, ptr @tok_ident, align 8, !tbaa !5 %32 = add nsw i64 %31, 1 store i64 %32, ptr @tok_ident, align 8, !tbaa !5 %33 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 0, i32 7 store i64 %31, ptr %33, align 8, !tbaa !13 %34 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 0, i32 3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %34, i8 0, i64 32, i1 false) store i32 %2, ptr %26, align 8, !tbaa !15 %35 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 0, i32 2 store ptr null, ptr %35, align 8, !tbaa !16 %36 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 0, i32 1 %37 = load ptr, ptr %36, align 8, !tbaa !17 %38 = tail call i32 @memcpy(ptr noundef %37, ptr noundef %1, i32 noundef %2) #3 %39 = load ptr, ptr %36, align 8, !tbaa !17 %40 = getelementptr inbounds i8, ptr %39, i64 %24 store i8 0, ptr %40, align 1, !tbaa !18 store ptr %26, ptr %0, align 8, !tbaa !11 ret ptr %26 } declare i32 @tcc_error(ptr noundef) local_unnamed_addr #1 declare ptr @realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 56} !14 = !{!"TYPE_8__", !10, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !6, i64 56} !15 = !{!14, !10, i64 0} !16 = !{!14, !12, i64 16} !17 = !{!14, !12, i64 8} !18 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/radare2/shlr/tcc/extr_tccpp.c_tok_alloc_new.c' source_filename = "AnghaBench/radare2/shlr/tcc/extr_tccpp.c_tok_alloc_new.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @tok_ident = common local_unnamed_addr global i64 0, align 8 @SYM_FIRST_ANOM = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [12 x i8] c"memory full\00", align 1 @TOK_IDENT = common local_unnamed_addr global i64 0, align 8 @TOK_ALLOC_INCR = common local_unnamed_addr global i32 0, align 4 @table_ident = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @tok_alloc_new], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @tok_alloc_new(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr @tok_ident, align 8, !tbaa !6 %5 = load i64, ptr @SYM_FIRST_ANOM, align 8, !tbaa !6 %6 = icmp slt i64 %4, %5 br i1 %6, label %10, label %7 7: ; preds = %3 %8 = tail call i32 @tcc_error(ptr noundef nonnull @.str) #3 %9 = load i64, ptr @tok_ident, align 8, !tbaa !6 br label %10 10: ; preds = %7, %3 %11 = phi i64 [ %9, %7 ], [ %4, %3 ] %12 = load i64, ptr @TOK_IDENT, align 8, !tbaa !6 %13 = sub nsw i64 %11, %12 %14 = trunc i64 %13 to i32 %15 = load i32, ptr @TOK_ALLOC_INCR, align 4, !tbaa !10 %16 = srem i32 %14, %15 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %10 %19 = load ptr, ptr @table_ident, align 8, !tbaa !12 %20 = add nsw i32 %15, %14 %21 = shl i32 %20, 3 %22 = tail call ptr @realloc(ptr noundef %19, i32 noundef %21) #3 store ptr %22, ptr @table_ident, align 8, !tbaa !12 br label %23 23: ; preds = %18, %10 %24 = sext i32 %2 to i64 %25 = add i32 %2, 64 %26 = tail call ptr @malloc(i32 noundef %25) #3 %27 = load ptr, ptr @table_ident, align 8, !tbaa !12 %28 = shl i64 %13, 32 %29 = ashr exact i64 %28, 29 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store ptr %26, ptr %30, align 8, !tbaa !12 %31 = load i64, ptr @tok_ident, align 8, !tbaa !6 %32 = add nsw i64 %31, 1 store i64 %32, ptr @tok_ident, align 8, !tbaa !6 %33 = getelementptr inbounds i8, ptr %26, i64 56 store i64 %31, ptr %33, align 8, !tbaa !14 %34 = getelementptr inbounds i8, ptr %26, i64 24 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %34, i8 0, i64 32, i1 false) store i32 %2, ptr %26, align 8, !tbaa !16 %35 = getelementptr inbounds i8, ptr %26, i64 16 store ptr null, ptr %35, align 8, !tbaa !17 %36 = getelementptr inbounds i8, ptr %26, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !18 %38 = tail call i32 @memcpy(ptr noundef %37, ptr noundef %1, i32 noundef %2) #3 %39 = load ptr, ptr %36, align 8, !tbaa !18 %40 = getelementptr inbounds i8, ptr %39, i64 %24 store i8 0, ptr %40, align 1, !tbaa !19 store ptr %26, ptr %0, align 8, !tbaa !12 ret ptr %26 } declare i32 @tcc_error(ptr noundef) local_unnamed_addr #1 declare ptr @realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 56} !15 = !{!"TYPE_8__", !11, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !7, i64 56} !16 = !{!15, !11, i64 0} !17 = !{!15, !13, i64 16} !18 = !{!15, !13, i64 8} !19 = !{!8, !8, i64 0}
radare2_shlr_tcc_extr_tccpp.c_tok_alloc_new
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db.c_svn_wc__db_base_remove.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db.c_svn_wc__db_base_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" @svn_depth_infinity = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_wc__db_base_remove(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 %12 = tail call i32 @svn_dirent_is_absolute(ptr noundef %1) #3 %13 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %12) #3 %14 = call i32 @svn_wc__db_wcroot_parse_local_abspath(ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %0, ptr noundef %1, ptr noundef %8, ptr noundef %8) #3 %15 = call i32 @SVN_ERR(i32 noundef %14) #3 %16 = load ptr, ptr %10, align 8, !tbaa !5 %17 = call i32 @VERIFY_USABLE_WCROOT(ptr noundef %16) #3 %18 = load ptr, ptr %10, align 8, !tbaa !5 %19 = load ptr, ptr %11, align 8, !tbaa !5 %20 = call i32 @db_base_remove(ptr noundef %18, ptr noundef %19, ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #3 %21 = load ptr, ptr %10, align 8, !tbaa !5 %22 = call i32 @SVN_WC__DB_WITH_TXN(i32 noundef %20, ptr noundef %21) #3 %23 = load ptr, ptr %10, align 8, !tbaa !5 %24 = load i32, ptr @svn_depth_infinity, align 4, !tbaa !9 %25 = call i32 @flush_entries(ptr noundef %23, ptr noundef %1, i32 noundef %24, ptr noundef %8) #3 %26 = call i32 @SVN_ERR(i32 noundef %25) #3 %27 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3 ret ptr %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR_ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @svn_dirent_is_absolute(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_wc__db_wcroot_parse_local_abspath(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @VERIFY_USABLE_WCROOT(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_WC__DB_WITH_TXN(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @db_base_remove(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @flush_entries(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db.c_svn_wc__db_base_remove.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db.c_svn_wc__db_base_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @svn_depth_infinity = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_wc__db_base_remove(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 %12 = tail call i32 @svn_dirent_is_absolute(ptr noundef %1) #3 %13 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %12) #3 %14 = call i32 @svn_wc__db_wcroot_parse_local_abspath(ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %0, ptr noundef %1, ptr noundef %8, ptr noundef %8) #3 %15 = call i32 @SVN_ERR(i32 noundef %14) #3 %16 = load ptr, ptr %10, align 8, !tbaa !6 %17 = call i32 @VERIFY_USABLE_WCROOT(ptr noundef %16) #3 %18 = load ptr, ptr %10, align 8, !tbaa !6 %19 = load ptr, ptr %11, align 8, !tbaa !6 %20 = call i32 @db_base_remove(ptr noundef %18, ptr noundef %19, ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #3 %21 = load ptr, ptr %10, align 8, !tbaa !6 %22 = call i32 @SVN_WC__DB_WITH_TXN(i32 noundef %20, ptr noundef %21) #3 %23 = load ptr, ptr %10, align 8, !tbaa !6 %24 = load i32, ptr @svn_depth_infinity, align 4, !tbaa !10 %25 = call i32 @flush_entries(ptr noundef %23, ptr noundef %1, i32 noundef %24, ptr noundef %8) #3 %26 = call i32 @SVN_ERR(i32 noundef %25) #3 %27 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3 ret ptr %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR_ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @svn_dirent_is_absolute(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_wc__db_wcroot_parse_local_abspath(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @VERIFY_USABLE_WCROOT(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_WC__DB_WITH_TXN(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @db_base_remove(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @flush_entries(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_contrib_subversion_subversion_libsvn_wc_extr_wc_db.c_svn_wc__db_base_remove
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_softmac_wx.c_ieee80211_wx_get_rate_rsl.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_softmac_wx.c_ieee80211_wx_get_rate_rsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ieee80211_wx_get_rate(ptr noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 { %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call i32 @TxCountToDataRate(ptr noundef nonnull %0, i32 noundef %5) #2 %7 = mul nsw i32 %6, 500000 store i32 %7, ptr %2, align 4, !tbaa !11 ret i32 0 } declare i32 @TxCountToDataRate(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"ieee80211_device", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!9, !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_softmac_wx.c_ieee80211_wx_get_rate_rsl.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_softmac_wx.c_ieee80211_wx_get_rate_rsl.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 noundef i32 @ieee80211_wx_get_rate(ptr noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 { %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call i32 @TxCountToDataRate(ptr noundef nonnull %0, i32 noundef %5) #2 %7 = mul nsw i32 %6, 500000 store i32 %7, ptr %2, align 4, !tbaa !12 ret i32 0 } declare i32 @TxCountToDataRate(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"ieee80211_device", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!10, !10, i64 0}
linux_drivers_staging_rtl8192u_ieee80211_extr_ieee80211_softmac_wx.c_ieee80211_wx_get_rate_rsl
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_cra_init.c' source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_cra_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.ccp_ctx = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } @ccp_aes_gcm_complete = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ccp_aes_gcm_cra_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ccp_aes_gcm_cra_init(ptr noundef %0) #0 { %2 = tail call ptr @crypto_aead_ctx(ptr noundef %0) #2 %3 = load i32, ptr @ccp_aes_gcm_complete, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.ccp_ctx, ptr %2, i64 0, i32 1 store i32 %3, ptr %4, align 8, !tbaa !9 store i64 0, ptr %2, align 8, !tbaa !14 %5 = tail call i32 @crypto_aead_set_reqsize(ptr noundef %0, i32 noundef 4) #2 ret i32 0 } declare ptr @crypto_aead_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_aead_set_reqsize(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 8} !10 = !{!"ccp_ctx", !11, i64 0, !6, i64 8} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!10, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_cra_init.c' source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_cra_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ccp_aes_gcm_complete = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ccp_aes_gcm_cra_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ccp_aes_gcm_cra_init(ptr noundef %0) #0 { %2 = tail call ptr @crypto_aead_ctx(ptr noundef %0) #2 %3 = load i32, ptr @ccp_aes_gcm_complete, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %3, ptr %4, align 8, !tbaa !10 store i64 0, ptr %2, align 8, !tbaa !15 %5 = tail call i32 @crypto_aead_set_reqsize(ptr noundef %0, i32 noundef 4) #2 ret i32 0 } declare ptr @crypto_aead_ctx(ptr noundef) local_unnamed_addr #1 declare i32 @crypto_aead_set_reqsize(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 8} !11 = !{!"ccp_ctx", !12, i64 0, !7, i64 8} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!11, !14, i64 0}
linux_drivers_crypto_ccp_extr_ccp-crypto-aes-galois.c_ccp_aes_gcm_cra_init
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_be_aas_bspc.c_BotImport_PointContents.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_be_aas_bspc.c_BotImport_PointContents.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @worldmodel = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @BotImport_PointContents(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @worldmodel, align 4, !tbaa !5 %3 = tail call i32 @CM_PointContents(i32 noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @CM_PointContents(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/lab/engine/code/bspc/extr_be_aas_bspc.c_BotImport_PointContents.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_be_aas_bspc.c_BotImport_PointContents.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @worldmodel = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @BotImport_PointContents(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @worldmodel, align 4, !tbaa !6 %3 = tail call i32 @CM_PointContents(i32 noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @CM_PointContents(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"}
lab_engine_code_bspc_extr_be_aas_bspc.c_BotImport_PointContents
; ModuleID = 'AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_item_tag.c' source_filename = "AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_item_tag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @item_cur = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local signext i8 @item_tag() local_unnamed_addr #0 { %1 = load ptr, ptr @item_cur, align 8, !tbaa !5 %2 = load i8, ptr %1, align 1, !tbaa !9 ret i8 %2 } 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !7, i64 0} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_item_tag.c' source_filename = "AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_item_tag.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @item_cur = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define signext i8 @item_tag() local_unnamed_addr #0 { %1 = load ptr, ptr @item_cur, align 8, !tbaa !6 %2 = load i8, ptr %1, align 1, !tbaa !10 ret i8 %2 } 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !8, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_3__", !8, i64 0}
linux_scripts_kconfig_lxdialog_extr_util.c_item_tag
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/platform/java/extr_mupdf_native.c_SeekableInputStream_drop.c' source_filename = "AnghaBench/sumatrapdf/mupdf/platform/java/extr_mupdf_native.c_SeekableInputStream_drop.c" target datalayout = "e-m:e-p270:32:32-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 } @.str = private unnamed_addr constant [71 x i8] c"cannot attach to JVM in SeekableInputStream_drop; leaking input stream\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @SeekableInputStream_drop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @SeekableInputStream_drop(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call ptr @jni_attach_thread(ptr noundef %0, ptr noundef nonnull %3) #3 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %2 %7 = call i32 @fz_warn(ptr noundef %0, ptr noundef nonnull @.str) #3 br label %21 8: ; preds = %2 %9 = load ptr, ptr %4, align 8, !tbaa !5 %10 = load ptr, ptr %9, align 8, !tbaa !9 %11 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = call i32 %10(ptr noundef nonnull %4, i32 noundef %12) #3 %14 = load ptr, ptr %4, align 8, !tbaa !5 %15 = load ptr, ptr %14, align 8, !tbaa !9 %16 = load i32, ptr %1, align 4, !tbaa !14 %17 = call i32 %15(ptr noundef nonnull %4, i32 noundef %16) #3 %18 = call i32 @fz_free(ptr noundef %0, ptr noundef nonnull %1) #3 %19 = load i32, ptr %3, align 4, !tbaa !15 %20 = call i32 @jni_detach_thread(i32 noundef %19) #3 br label %21 21: ; preds = %8, %6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @jni_attach_thread(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fz_warn(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fz_free(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jni_detach_thread(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_8__", !6, i64 0} !11 = !{!12, !13, i64 4} !12 = !{!"TYPE_7__", !13, i64 0, !13, i64 4} !13 = !{!"int", !7, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/platform/java/extr_mupdf_native.c_SeekableInputStream_drop.c' source_filename = "AnghaBench/sumatrapdf/mupdf/platform/java/extr_mupdf_native.c_SeekableInputStream_drop.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 [71 x i8] c"cannot attach to JVM in SeekableInputStream_drop; leaking input stream\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @SeekableInputStream_drop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @SeekableInputStream_drop(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call ptr @jni_attach_thread(ptr noundef %0, ptr noundef nonnull %3) #3 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %2 %7 = call i32 @fz_warn(ptr noundef %0, ptr noundef nonnull @.str) #3 br label %21 8: ; preds = %2 %9 = load ptr, ptr %4, align 8, !tbaa !6 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = getelementptr inbounds i8, ptr %1, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = call i32 %10(ptr noundef nonnull %4, i32 noundef %12) #3 %14 = load ptr, ptr %4, align 8, !tbaa !6 %15 = load ptr, ptr %14, align 8, !tbaa !10 %16 = load i32, ptr %1, align 4, !tbaa !15 %17 = call i32 %15(ptr noundef nonnull %4, i32 noundef %16) #3 %18 = call i32 @fz_free(ptr noundef %0, ptr noundef nonnull %1) #3 %19 = load i32, ptr %3, align 4, !tbaa !16 %20 = call i32 @jni_detach_thread(i32 noundef %19) #3 br label %21 21: ; preds = %8, %6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @jni_attach_thread(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fz_warn(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fz_free(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jni_detach_thread(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_8__", !7, i64 0} !12 = !{!13, !14, i64 4} !13 = !{!"TYPE_7__", !14, i64 0, !14, i64 4} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!14, !14, i64 0}
sumatrapdf_mupdf_platform_java_extr_mupdf_native.c_SeekableInputStream_drop
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/gl860/extr_gl860.c_sd_stop0.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/gl860/extr_gl860.c_sd_stop0.c" target datalayout = "e-m:e-p270:32:32-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.sd = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @sd_stop0], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sd_stop0(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = load ptr, ptr %0, align 8, !tbaa !12 tail call void %6(ptr noundef nonnull %0) #1 br label %7 7: ; preds = %1, %5 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"sd", !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_2__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/gl860/extr_gl860.c_sd_stop0.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/gl860/extr_gl860.c_sd_stop0.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @sd_stop0], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sd_stop0(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = load ptr, ptr %0, align 8, !tbaa !13 tail call void %6(ptr noundef nonnull %0) #1 br label %7 7: ; preds = %1, %5 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"sd", !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_2__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0}
linux_drivers_media_usb_gspca_gl860_extr_gl860.c_sd_stop0
; ModuleID = 'AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_InvalidateDistRelationCacheCallback.c' source_filename = "AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_InvalidateDistRelationCacheCallback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i64 } @InvalidOid = dso_local local_unnamed_addr global i64 0, align 8 @DistTableCacheHash = dso_local local_unnamed_addr global i32 0, align 4 @HASH_FIND = dso_local local_unnamed_addr global i32 0, align 4 @MetadataCache = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @InvalidateDistRelationCacheCallback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @InvalidateDistRelationCacheCallback(i32 %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i64 %1, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @InvalidOid, align 8, !tbaa !5 %6 = icmp eq i64 %5, %1 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = tail call i32 (...) @InvalidateDistTableCache() #3 %9 = tail call i32 (...) @InvalidateDistObjectCache() #3 br label %31 10: ; preds = %2 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !9 %11 = load i32, ptr @DistTableCacheHash, align 4, !tbaa !9 %12 = load i32, ptr @HASH_FIND, align 4, !tbaa !9 %13 = call ptr @hash_search(i32 noundef %11, ptr noundef nonnull %3, i32 noundef %12, ptr noundef nonnull %4) #3 %14 = load i32, ptr %4, align 4, !tbaa !9 %15 = icmp eq i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %10 store i32 0, ptr %13, align 4, !tbaa !11 br label %17 17: ; preds = %16, %10 %18 = load i64, ptr %3, align 8, !tbaa !5 %19 = load i64, ptr @MetadataCache, align 8, !tbaa !13 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = call i32 (...) @InvalidateMetadataSystemCache() #3 %23 = load i64, ptr %3, align 8, !tbaa !5 br label %24 24: ; preds = %21, %17 %25 = phi i64 [ %23, %21 ], [ %18, %17 ] %26 = load i64, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @MetadataCache, i64 0, i32 1), align 8, !tbaa !15 %27 = icmp eq i64 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 (...) @InvalidateDistObjectCache() #3 br label %30 30: ; preds = %28, %24 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %31 31: ; preds = %30, %7 ret void } declare i32 @InvalidateDistTableCache(...) local_unnamed_addr #1 declare i32 @InvalidateDistObjectCache(...) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare ptr @hash_search(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @InvalidateMetadataSystemCache(...) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_4__", !10, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_5__", !6, i64 0, !6, i64 8} !15 = !{!14, !6, i64 8}
; ModuleID = 'AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_InvalidateDistRelationCacheCallback.c' source_filename = "AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_InvalidateDistRelationCacheCallback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i64, i64 } @InvalidOid = common local_unnamed_addr global i64 0, align 8 @DistTableCacheHash = common local_unnamed_addr global i32 0, align 4 @HASH_FIND = common local_unnamed_addr global i32 0, align 4 @MetadataCache = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @InvalidateDistRelationCacheCallback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @InvalidateDistRelationCacheCallback(i32 %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i64 %1, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @InvalidOid, align 8, !tbaa !6 %6 = icmp eq i64 %5, %1 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = tail call i32 @InvalidateDistTableCache() #3 %9 = tail call i32 @InvalidateDistObjectCache() #3 br label %31 10: ; preds = %2 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !10 %11 = load i32, ptr @DistTableCacheHash, align 4, !tbaa !10 %12 = load i32, ptr @HASH_FIND, align 4, !tbaa !10 %13 = call ptr @hash_search(i32 noundef %11, ptr noundef nonnull %3, i32 noundef %12, ptr noundef nonnull %4) #3 %14 = load i32, ptr %4, align 4, !tbaa !10 %15 = icmp eq i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %10 store i32 0, ptr %13, align 4, !tbaa !12 br label %17 17: ; preds = %16, %10 %18 = load i64, ptr %3, align 8, !tbaa !6 %19 = load i64, ptr @MetadataCache, align 8, !tbaa !14 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %17 %22 = call i32 @InvalidateMetadataSystemCache() #3 %23 = load i64, ptr %3, align 8, !tbaa !6 br label %24 24: ; preds = %21, %17 %25 = phi i64 [ %23, %21 ], [ %18, %17 ] %26 = load i64, ptr getelementptr inbounds (i8, ptr @MetadataCache, i64 8), align 8, !tbaa !16 %27 = icmp eq i64 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @InvalidateDistObjectCache() #3 br label %30 30: ; preds = %28, %24 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %31 31: ; preds = %30, %7 ret void } declare i32 @InvalidateDistTableCache(...) local_unnamed_addr #1 declare i32 @InvalidateDistObjectCache(...) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare ptr @hash_search(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @InvalidateMetadataSystemCache(...) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_4__", !11, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_5__", !7, i64 0, !7, i64 8} !16 = !{!15, !7, i64 8}
citus_src_backend_distributed_utils_extr_metadata_cache.c_InvalidateDistRelationCacheCallback
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/hotplug/extr_pciehp_hpc.c_pcie_enable_notification.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/hotplug/extr_pciehp_hpc.c_pcie_enable_notification.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PCI_EXP_SLTCTL_PDCE = dso_local local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_ABPE = dso_local local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_PFDE = dso_local local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_MRLSCE = dso_local local_unnamed_addr global i32 0, align 4 @pciehp_poll_mode = dso_local local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_HPIE = dso_local local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_CCIE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Cannot enable software notification\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @pcie_enable_notification(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @PCI_EXP_SLTCTL_PDCE, align 4, !tbaa !5 %3 = tail call i64 @ATTN_BUTTN(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 %5 = load i32, ptr @PCI_EXP_SLTCTL_ABPE, align 4 %6 = select i1 %4, i32 0, i32 %5 %7 = or i32 %6, %2 %8 = tail call i64 @POWER_CTRL(ptr noundef %0) #2 %9 = icmp eq i64 %8, 0 %10 = load i32, ptr @PCI_EXP_SLTCTL_PFDE, align 4 %11 = select i1 %9, i32 0, i32 %10 %12 = or i32 %7, %11 %13 = tail call i64 @MRL_SENS(ptr noundef %0) #2 %14 = icmp eq i64 %13, 0 %15 = load i32, ptr @PCI_EXP_SLTCTL_MRLSCE, align 4 %16 = select i1 %14, i32 0, i32 %15 %17 = or i32 %12, %16 %18 = load i32, ptr @pciehp_poll_mode, align 4, !tbaa !5 %19 = icmp eq i32 %18, 0 %20 = load i32, ptr @PCI_EXP_SLTCTL_HPIE, align 4 %21 = load i32, ptr @PCI_EXP_SLTCTL_CCIE, align 4 %22 = or i32 %21, %20 %23 = select i1 %19, i32 %22, i32 0 %24 = or i32 %17, %23 %25 = load i32, ptr @PCI_EXP_SLTCTL_PDCE, align 4, !tbaa !5 %26 = load i32, ptr @PCI_EXP_SLTCTL_ABPE, align 4, !tbaa !5 %27 = load i32, ptr @PCI_EXP_SLTCTL_PFDE, align 4, !tbaa !5 %28 = or i32 %25, %26 %29 = or i32 %28, %27 %30 = or i32 %29, %20 %31 = or i32 %30, %21 %32 = or i32 %31, %15 %33 = tail call i64 @pcie_write_cmd(ptr noundef %0, i32 noundef %24, i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %1 %36 = tail call i32 @ctrl_err(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %37 37: ; preds = %1, %35 %38 = phi i32 [ -1, %35 ], [ 0, %1 ] ret i32 %38 } declare i64 @ATTN_BUTTN(ptr noundef) local_unnamed_addr #1 declare i64 @POWER_CTRL(ptr noundef) local_unnamed_addr #1 declare i64 @MRL_SENS(ptr noundef) local_unnamed_addr #1 declare i64 @pcie_write_cmd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ctrl_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/hotplug/extr_pciehp_hpc.c_pcie_enable_notification.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/hotplug/extr_pciehp_hpc.c_pcie_enable_notification.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCI_EXP_SLTCTL_PDCE = common local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_ABPE = common local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_PFDE = common local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_MRLSCE = common local_unnamed_addr global i32 0, align 4 @pciehp_poll_mode = common local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_HPIE = common local_unnamed_addr global i32 0, align 4 @PCI_EXP_SLTCTL_CCIE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Cannot enable software notification\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @pcie_enable_notification(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @PCI_EXP_SLTCTL_PDCE, align 4, !tbaa !6 %3 = tail call i64 @ATTN_BUTTN(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 %5 = load i32, ptr @PCI_EXP_SLTCTL_ABPE, align 4 %6 = select i1 %4, i32 0, i32 %5 %7 = or i32 %6, %2 %8 = tail call i64 @POWER_CTRL(ptr noundef %0) #2 %9 = icmp eq i64 %8, 0 %10 = load i32, ptr @PCI_EXP_SLTCTL_PFDE, align 4 %11 = select i1 %9, i32 0, i32 %10 %12 = or i32 %7, %11 %13 = tail call i64 @MRL_SENS(ptr noundef %0) #2 %14 = icmp eq i64 %13, 0 %15 = load i32, ptr @PCI_EXP_SLTCTL_MRLSCE, align 4 %16 = select i1 %14, i32 0, i32 %15 %17 = or i32 %12, %16 %18 = load i32, ptr @pciehp_poll_mode, align 4, !tbaa !6 %19 = icmp eq i32 %18, 0 %20 = load i32, ptr @PCI_EXP_SLTCTL_HPIE, align 4 %21 = load i32, ptr @PCI_EXP_SLTCTL_CCIE, align 4 %22 = or i32 %21, %20 %23 = select i1 %19, i32 %22, i32 0 %24 = or i32 %17, %23 %25 = load i32, ptr @PCI_EXP_SLTCTL_PDCE, align 4, !tbaa !6 %26 = load i32, ptr @PCI_EXP_SLTCTL_ABPE, align 4, !tbaa !6 %27 = load i32, ptr @PCI_EXP_SLTCTL_PFDE, align 4, !tbaa !6 %28 = or i32 %25, %26 %29 = or i32 %28, %27 %30 = or i32 %29, %20 %31 = or i32 %30, %21 %32 = or i32 %31, %15 %33 = tail call i64 @pcie_write_cmd(ptr noundef %0, i32 noundef %24, i32 noundef %32) #2 %34 = icmp eq i64 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %1 %36 = tail call i32 @ctrl_err(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %37 37: ; preds = %1, %35 %38 = phi i32 [ -1, %35 ], [ 0, %1 ] ret i32 %38 } declare i64 @ATTN_BUTTN(ptr noundef) local_unnamed_addr #1 declare i64 @POWER_CTRL(ptr noundef) local_unnamed_addr #1 declare i64 @MRL_SENS(ptr noundef) local_unnamed_addr #1 declare i64 @pcie_write_cmd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ctrl_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_pci_hotplug_extr_pciehp_hpc.c_pcie_enable_notification
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_scheduler.c_i915_global_scheduler_shrink.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_scheduler.c_i915_global_scheduler_shrink.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @global = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @i915_global_scheduler_shrink], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @i915_global_scheduler_shrink() #0 { %1 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @global, i64 0, i32 1), align 4, !tbaa !5 %2 = tail call i32 @kmem_cache_shrink(i32 noundef %1) #2 %3 = load i32, ptr @global, align 4, !tbaa !10 %4 = tail call i32 @kmem_cache_shrink(i32 noundef %3) #2 ret void } declare i32 @kmem_cache_shrink(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_scheduler.c_i915_global_scheduler_shrink.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_scheduler.c_i915_global_scheduler_shrink.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, i32 } @global = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @i915_global_scheduler_shrink], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @i915_global_scheduler_shrink() #0 { %1 = load i32, ptr getelementptr inbounds (i8, ptr @global, i64 4), align 4, !tbaa !6 %2 = tail call i32 @kmem_cache_shrink(i32 noundef %1) #2 %3 = load i32, ptr @global, align 4, !tbaa !11 %4 = tail call i32 @kmem_cache_shrink(i32 noundef %3) #2 ret void } declare i32 @kmem_cache_shrink(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_2__", !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}
linux_drivers_gpu_drm_i915_extr_i915_scheduler.c_i915_global_scheduler_shrink
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_hpet.c_hpet_start_counter.c' source_filename = "AnghaBench/linux/arch/x86/kernel/extr_hpet.c_hpet_start_counter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HPET_CFG = dso_local local_unnamed_addr global i32 0, align 4 @HPET_CFG_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hpet_start_counter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hpet_start_counter() #0 { %1 = load i32, ptr @HPET_CFG, align 4, !tbaa !5 %2 = tail call i32 @hpet_readl(i32 noundef %1) #2 %3 = load i32, ptr @HPET_CFG_ENABLE, align 4, !tbaa !5 %4 = or i32 %3, %2 %5 = load i32, ptr @HPET_CFG, align 4, !tbaa !5 %6 = tail call i32 @hpet_writel(i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @hpet_readl(i32 noundef) local_unnamed_addr #1 declare i32 @hpet_writel(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_hpet.c_hpet_start_counter.c' source_filename = "AnghaBench/linux/arch/x86/kernel/extr_hpet.c_hpet_start_counter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HPET_CFG = common local_unnamed_addr global i32 0, align 4 @HPET_CFG_ENABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hpet_start_counter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hpet_start_counter() #0 { %1 = load i32, ptr @HPET_CFG, align 4, !tbaa !6 %2 = tail call i32 @hpet_readl(i32 noundef %1) #2 %3 = load i32, ptr @HPET_CFG_ENABLE, align 4, !tbaa !6 %4 = or i32 %3, %2 %5 = load i32, ptr @HPET_CFG, align 4, !tbaa !6 %6 = tail call i32 @hpet_writel(i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @hpet_readl(i32 noundef) local_unnamed_addr #1 declare i32 @hpet_writel(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_x86_kernel_extr_hpet.c_hpet_start_counter
; ModuleID = 'AnghaBench/hashcat/deps/secp256k1/src/extr_group_impl.h_secp256k1_ge_to_storage.c' source_filename = "AnghaBench/hashcat/deps/secp256k1/src/extr_group_impl.h_secp256k1_ge_to_storage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32, i32 } %struct.TYPE_5__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @secp256k1_ge_to_storage], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @secp256k1_ge_to_storage(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 %9 = tail call i32 @VERIFY_CHECK(i32 noundef %8) #3 %10 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !10 store i32 %11, ptr %3, align 4, !tbaa !11 %12 = call i32 @secp256k1_fe_normalize(ptr noundef nonnull %3) #3 %13 = load i32, ptr %1, align 4, !tbaa !12 store i32 %13, ptr %4, align 4, !tbaa !11 %14 = call i32 @secp256k1_fe_normalize(ptr noundef nonnull %4) #3 %15 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %16 = call i32 @secp256k1_fe_to_storage(ptr noundef nonnull %15, ptr noundef nonnull %3) #3 %17 = call i32 @secp256k1_fe_to_storage(ptr noundef %0, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @VERIFY_CHECK(i32 noundef) local_unnamed_addr #2 declare i32 @secp256k1_fe_normalize(ptr noundef) local_unnamed_addr #2 declare i32 @secp256k1_fe_to_storage(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 8} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/hashcat/deps/secp256k1/src/extr_group_impl.h_secp256k1_ge_to_storage.c' source_filename = "AnghaBench/hashcat/deps/secp256k1/src/extr_group_impl.h_secp256k1_ge_to_storage.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 @secp256k1_ge_to_storage], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @secp256k1_ge_to_storage(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 %9 = tail call i32 @VERIFY_CHECK(i32 noundef %8) #3 %10 = getelementptr inbounds i8, ptr %1, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !11 store i32 %11, ptr %3, align 4, !tbaa !12 %12 = call i32 @secp256k1_fe_normalize(ptr noundef nonnull %3) #3 %13 = load i32, ptr %1, align 4, !tbaa !13 store i32 %13, ptr %4, align 4, !tbaa !12 %14 = call i32 @secp256k1_fe_normalize(ptr noundef nonnull %4) #3 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = call i32 @secp256k1_fe_to_storage(ptr noundef nonnull %15, ptr noundef nonnull %3) #3 %17 = call i32 @secp256k1_fe_to_storage(ptr noundef %0, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @VERIFY_CHECK(i32 noundef) local_unnamed_addr #2 declare i32 @secp256k1_fe_normalize(ptr noundef) local_unnamed_addr #2 declare i32 @secp256k1_fe_to_storage(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 8} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0}
hashcat_deps_secp256k1_src_extr_group_impl.h_secp256k1_ge_to_storage
; ModuleID = 'AnghaBench/Cinder/src/freetype/pshinter/extr_pshrec.c_ps_hint_table_ensure.c' source_filename = "AnghaBench/Cinder/src/freetype/pshinter/extr_pshrec.c_ps_hint_table_ensure.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i64, i32 } @FT_Err_Ok = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ps_hint_table_ensure], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ps_hint_table_ensure(ptr nocapture noundef %0, i64 noundef %1, i32 %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i32, ptr @FT_Err_Ok, align 4, !tbaa !11 %6 = icmp slt i64 %4, %1 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = tail call i64 @FT_PAD_CEIL(i64 noundef %1, i32 noundef 8) #2 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @FT_RENEW_ARRAY(i32 noundef %10, i64 noundef %4, i64 noundef %8) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %7 store i64 %8, ptr %0, align 8, !tbaa !5 br label %14 14: ; preds = %7, %13, %3 ret i32 %5 } declare i64 @FT_PAD_CEIL(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FT_RENEW_ARRAY(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/Cinder/src/freetype/pshinter/extr_pshrec.c_ps_hint_table_ensure.c' source_filename = "AnghaBench/Cinder/src/freetype/pshinter/extr_pshrec.c_ps_hint_table_ensure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FT_Err_Ok = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ps_hint_table_ensure], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ps_hint_table_ensure(ptr nocapture noundef %0, i64 noundef %1, i32 %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr @FT_Err_Ok, align 4, !tbaa !12 %6 = icmp slt i64 %4, %1 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = tail call i64 @FT_PAD_CEIL(i64 noundef %1, i32 noundef 8) #2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @FT_RENEW_ARRAY(i32 noundef %10, i64 noundef %4, i64 noundef %8) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %7 store i64 %8, ptr %0, align 8, !tbaa !6 br label %14 14: ; preds = %7, %13, %3 ret i32 %5 } declare i64 @FT_PAD_CEIL(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @FT_RENEW_ARRAY(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8}
Cinder_src_freetype_pshinter_extr_pshrec.c_ps_hint_table_ensure
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_bo_vm.c_ttm_bo_io_mem_pfn.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_bo_vm.c_ttm_bo_io_mem_pfn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ttm_buffer_object = type { %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i64, i64 } @PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ttm_bo_io_mem_pfn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @ttm_bo_io_mem_pfn(ptr noundef %0, i64 noundef %1) #0 { %3 = getelementptr inbounds %struct.ttm_buffer_object, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = load ptr, ptr %5, align 8, !tbaa !15 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i64 %6(ptr noundef nonnull %0, i64 noundef %1) #1 br label %18 10: ; preds = %2 %11 = load i64, ptr %0, align 8, !tbaa !17 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !18 %14 = add i64 %13, %11 %15 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !19 %16 = lshr i64 %14, %15 %17 = add i64 %16, %1 br label %18 18: ; preds = %10, %8 %19 = phi i64 [ %9, %8 ], [ %17, %10 ] ret i64 %19 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 16} !6 = !{!"ttm_buffer_object", !7, i64 0, !12, i64 16} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0, !9, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"ttm_bo_device", !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_4__", !12, i64 0} !17 = !{!6, !9, i64 0} !18 = !{!6, !9, i64 8} !19 = !{!9, !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_bo_vm.c_ttm_bo_io_mem_pfn.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/ttm/extr_ttm_bo_vm.c_ttm_bo_io_mem_pfn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ttm_bo_io_mem_pfn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @ttm_bo_io_mem_pfn(ptr noundef %0, i64 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !14 %6 = load ptr, ptr %5, align 8, !tbaa !16 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i64 %6(ptr noundef nonnull %0, i64 noundef %1) #1 br label %18 10: ; preds = %2 %11 = load i64, ptr %0, align 8, !tbaa !18 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !19 %14 = add i64 %13, %11 %15 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !20 %16 = lshr i64 %14, %15 %17 = add i64 %16, %1 br label %18 18: ; preds = %10, %8 %19 = phi i64 [ %9, %8 ], [ %17, %10 ] ret i64 %19 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 16} !7 = !{!"ttm_buffer_object", !8, i64 0, !13, i64 16} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"TYPE_5__", !10, i64 0, !10, i64 8} !10 = !{!"long", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"any pointer", !11, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"ttm_bo_device", !13, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"TYPE_4__", !13, i64 0} !18 = !{!7, !10, i64 0} !19 = !{!7, !10, i64 8} !20 = !{!10, !10, i64 0}
linux_drivers_gpu_drm_ttm_extr_ttm_bo_vm.c_ttm_bo_io_mem_pfn
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ppc-sysv-tdep.c_ppc_sysv_abi_return_value.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ppc-sysv-tdep.c_ppc_sysv_abi_return_value.c" target datalayout = "e-m:e-p270:32:32-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 @ppc_sysv_abi_return_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @do_ppc_sysv_return_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef 0) #2 ret i32 %6 } declare i32 @do_ppc_sysv_return_value(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ppc-sysv-tdep.c_ppc_sysv_abi_return_value.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ppc-sysv-tdep.c_ppc_sysv_abi_return_value.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 @ppc_sysv_abi_return_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call i32 @do_ppc_sysv_return_value(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef 0) #2 ret i32 %6 } declare i32 @do_ppc_sysv_return_value(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_gdb_gdb_extr_ppc-sysv-tdep.c_ppc_sysv_abi_return_value
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgb/extr_ixgb_ee.c_ixgb_wait_eeprom_command.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgb/extr_ixgb_ee.c_ixgb_wait_eeprom_command.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EECD = dso_local local_unnamed_addr global i32 0, align 4 @IXGB_EECD_DO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ixgb_wait_eeprom_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ixgb_wait_eeprom_command(ptr noundef %0) #0 { %2 = tail call i32 @ixgb_standby_eeprom(ptr noundef %0) #2 br label %3 3: ; preds = %1, %10 %4 = phi i32 [ 0, %1 ], [ %12, %10 ] %5 = load i32, ptr @EECD, align 4, !tbaa !5 %6 = tail call i32 @IXGB_READ_REG(ptr noundef %0, i32 noundef %5) #2 %7 = load i32, ptr @IXGB_EECD_DO, align 4, !tbaa !5 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %3 %11 = tail call i32 @udelay(i32 noundef 50) #2 %12 = add nuw nsw i32 %4, 1 %13 = icmp eq i32 %12, 200 br i1 %13, label %14, label %3, !llvm.loop !9 14: ; preds = %10 %15 = tail call i32 @ASSERT(i32 noundef 0) #2 br label %16 16: ; preds = %3, %14 %17 = phi i32 [ 0, %14 ], [ 1, %3 ] ret i32 %17 } declare i32 @ixgb_standby_eeprom(ptr noundef) local_unnamed_addr #1 declare i32 @IXGB_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgb/extr_ixgb_ee.c_ixgb_wait_eeprom_command.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgb/extr_ixgb_ee.c_ixgb_wait_eeprom_command.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EECD = common local_unnamed_addr global i32 0, align 4 @IXGB_EECD_DO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ixgb_wait_eeprom_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @ixgb_wait_eeprom_command(ptr noundef %0) #0 { %2 = tail call i32 @ixgb_standby_eeprom(ptr noundef %0) #2 br label %3 3: ; preds = %1, %10 %4 = phi i32 [ 0, %1 ], [ %12, %10 ] %5 = load i32, ptr @EECD, align 4, !tbaa !6 %6 = tail call i32 @IXGB_READ_REG(ptr noundef %0, i32 noundef %5) #2 %7 = load i32, ptr @IXGB_EECD_DO, align 4, !tbaa !6 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %3 %11 = tail call i32 @udelay(i32 noundef 50) #2 %12 = add nuw nsw i32 %4, 1 %13 = icmp eq i32 %12, 200 br i1 %13, label %14, label %3, !llvm.loop !10 14: ; preds = %10 %15 = tail call i32 @ASSERT(i32 noundef 0) #2 br label %16 16: ; preds = %3, %14 %17 = phi i32 [ 0, %14 ], [ 1, %3 ] ret i32 %17 } declare i32 @ixgb_standby_eeprom(ptr noundef) local_unnamed_addr #1 declare i32 @IXGB_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_intel_ixgb_extr_ixgb_ee.c_ixgb_wait_eeprom_command
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/1upkeyboards/sweet16/keymaps/ridingintraffic/extr_keymap.c_tdexample1.c' source_filename = "AnghaBench/qmk_firmware/keyboards/1upkeyboards/sweet16/keymaps/ridingintraffic/extr_keymap.c_tdexample1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EXAMPLESTRING1 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @tdexample1(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = icmp sgt i32 %3, 1 br i1 %4, label %5, label %9 5: ; preds = %2 %6 = load i32, ptr @EXAMPLESTRING1, align 4, !tbaa !10 %7 = tail call i32 @SEND_STRING(i32 noundef %6) #2 %8 = tail call i32 @reset_tap_dance(ptr noundef nonnull %0) #2 br label %9 9: ; preds = %5, %2 ret void } declare i32 @SEND_STRING(i32 noundef) local_unnamed_addr #1 declare i32 @reset_tap_dance(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/1upkeyboards/sweet16/keymaps/ridingintraffic/extr_keymap.c_tdexample1.c' source_filename = "AnghaBench/qmk_firmware/keyboards/1upkeyboards/sweet16/keymaps/ridingintraffic/extr_keymap.c_tdexample1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXAMPLESTRING1 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @tdexample1(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = icmp sgt i32 %3, 1 br i1 %4, label %5, label %9 5: ; preds = %2 %6 = load i32, ptr @EXAMPLESTRING1, align 4, !tbaa !11 %7 = tail call i32 @SEND_STRING(i32 noundef %6) #2 %8 = tail call i32 @reset_tap_dance(ptr noundef nonnull %0) #2 br label %9 9: ; preds = %5, %2 ret void } declare i32 @SEND_STRING(i32 noundef) local_unnamed_addr #1 declare i32 @reset_tap_dance(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
qmk_firmware_keyboards_1upkeyboards_sweet16_keymaps_ridingintraffic_extr_keymap.c_tdexample1
; ModuleID = 'AnghaBench/goaccess/src/extr_json.c_set_json_buffer.c' source_filename = "AnghaBench/goaccess/src/extr_json.c_set_json_buffer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i64, ptr } @INIT_BUF_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [32 x i8] c"Unable to realloc JSON buffer.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_json_buffer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @set_json_buffer(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = add i32 %1, 1 %5 = add i32 %4, %3 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = icmp ult i64 %8, %6 br i1 %9, label %10, label %25 10: ; preds = %2 %11 = icmp eq i64 %8, 0 %12 = load i64, ptr @INIT_BUF_SIZE, align 8 %13 = lshr i64 %8, 1 %14 = add i64 %13, %8 %15 = select i1 %11, i64 %12, i64 %14 %16 = tail call i64 @llvm.umax.i64(i64 %15, i64 %6) %17 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = tail call ptr @realloc(ptr noundef %18, i64 noundef %16) %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %10 %22 = tail call i32 @free_json(ptr noundef nonnull %0) #4 %23 = tail call i32 @FATAL(ptr noundef nonnull @.str) #4 br label %24 24: ; preds = %21, %10 store ptr %19, ptr %17, align 8, !tbaa !13 store i64 %16, ptr %7, align 8, !tbaa !12 br label %25 25: ; preds = %2, %24 ret void } ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free_json(ptr noundef) local_unnamed_addr #2 declare i32 @FATAL(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #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 nounwind willreturn allockind("realloc") allocsize(1) 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/goaccess/src/extr_json.c_set_json_buffer.c' source_filename = "AnghaBench/goaccess/src/extr_json.c_set_json_buffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INIT_BUF_SIZE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [32 x i8] c"Unable to realloc JSON buffer.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @set_json_buffer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @set_json_buffer(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = add i32 %1, 1 %5 = add i32 %4, %3 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = icmp ult i64 %8, %6 br i1 %9, label %10, label %25 10: ; preds = %2 %11 = icmp eq i64 %8, 0 %12 = load i64, ptr @INIT_BUF_SIZE, align 8 %13 = lshr i64 %8, 1 %14 = add i64 %13, %8 %15 = select i1 %11, i64 %12, i64 %14 %16 = tail call i64 @llvm.umax.i64(i64 %15, i64 %6) %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load ptr, ptr %17, align 8, !tbaa !14 %19 = tail call ptr @realloc(ptr noundef %18, i64 noundef %16) %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %10 %22 = tail call i32 @free_json(ptr noundef nonnull %0) #4 %23 = tail call i32 @FATAL(ptr noundef nonnull @.str) #4 br label %24 24: ; preds = %21, %10 store ptr %19, ptr %17, align 8, !tbaa !14 store i64 %16, ptr %7, align 8, !tbaa !13 br label %25 25: ; preds = %2, %24 ret void } ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free_json(ptr noundef) local_unnamed_addr #2 declare i32 @FATAL(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #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 nounwind willreturn allockind("realloc") allocsize(1) 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !12, i64 16}
goaccess_src_extr_json.c_set_json_buffer
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-laptop.c_touchpad_led_on.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-laptop.c_touchpad_led_on.c" target datalayout = "e-m:e-p270:32:32-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 @touchpad_led_on], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @touchpad_led_on() #0 { %1 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #3 store i8 1, ptr %1, align 1, !tbaa !5 %2 = call i32 @i8042_command(ptr noundef nonnull %1, i32 noundef 4247) #3 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i8042_command(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-laptop.c_touchpad_led_on.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-laptop.c_touchpad_led_on.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 @touchpad_led_on], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @touchpad_led_on() #0 { %1 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %1) #3 store i8 1, ptr %1, align 1, !tbaa !6 %2 = call i32 @i8042_command(ptr noundef nonnull %1, i32 noundef 4247) #3 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @i8042_command(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
linux_drivers_platform_x86_extr_dell-laptop.c_touchpad_led_on
; ModuleID = 'AnghaBench/linux/scripts/extr_unifdef.c_op_eq.c' source_filename = "AnghaBench/linux/scripts/extr_unifdef.c_op_eq.c" target datalayout = "e-m:e-p270:32:32-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 @op_eq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @op_eq(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = icmp eq i32 %2, %4 %7 = zext i1 %6 to i32 %8 = tail call i32 @op_strict(ptr noundef %0, i32 noundef %7, i32 noundef %1, i32 noundef %3) #2 ret i32 %8 } declare i32 @op_strict(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)"}
; ModuleID = 'AnghaBench/linux/scripts/extr_unifdef.c_op_eq.c' source_filename = "AnghaBench/linux/scripts/extr_unifdef.c_op_eq.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 @op_eq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @op_eq(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = icmp eq i32 %2, %4 %7 = zext i1 %6 to i32 %8 = tail call i32 @op_strict(ptr noundef %0, i32 noundef %7, i32 noundef %1, i32 noundef %3) #2 ret i32 %8 } declare i32 @op_strict(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)"}
linux_scripts_extr_unifdef.c_op_eq
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aacsbr_template.c_read_sbr_envelope.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aacsbr_template.c_read_sbr_envelope.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, ptr } %struct.TYPE_9__ = type { i32, ptr, ptr, ptr, i64 } %struct.TYPE_11__ = type { ptr } @vlc_sbr = dso_local local_unnamed_addr global ptr null, align 8 @T_HUFFMAN_ENV_BAL_3_0DB = dso_local local_unnamed_addr global i64 0, align 8 @vlc_sbr_lav = dso_local local_unnamed_addr global ptr null, align 8 @F_HUFFMAN_ENV_BAL_3_0DB = dso_local local_unnamed_addr global i64 0, align 8 @T_HUFFMAN_ENV_BAL_1_5DB = dso_local local_unnamed_addr global i64 0, align 8 @F_HUFFMAN_ENV_BAL_1_5DB = dso_local local_unnamed_addr global i64 0, align 8 @T_HUFFMAN_ENV_3_0DB = dso_local local_unnamed_addr global i64 0, align 8 @F_HUFFMAN_ENV_3_0DB = dso_local local_unnamed_addr global i64 0, align 8 @T_HUFFMAN_ENV_1_5DB = dso_local local_unnamed_addr global i64 0, align 8 @F_HUFFMAN_ENV_1_5DB = dso_local local_unnamed_addr global i64 0, align 8 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"env_facs_q %d is invalid\0A\00", align 1 @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_sbr_envelope], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_sbr_envelope(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4) #0 { %6 = icmp eq i32 %4, 1 %7 = load i32, ptr %1, align 8, !tbaa !5 %8 = icmp eq i32 %7, 1 %9 = and i1 %6, %8 %10 = zext i1 %9 to i32 %11 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !11 %13 = getelementptr inbounds i32, ptr %12, i64 1 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = and i32 %14, 1 %16 = icmp ne i32 %7, 0 %17 = icmp ne i32 %4, 0 %18 = and i1 %17, %16 %19 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 4 %20 = load i64, ptr %19, align 8, !tbaa !13 %21 = icmp eq i64 %20, 0 %22 = load ptr, ptr @vlc_sbr, align 8, !tbaa !16 %23 = load ptr, ptr @vlc_sbr_lav, align 8, !tbaa !16 br i1 %18, label %24, label %28 24: ; preds = %5 %25 = select i1 %21, ptr @T_HUFFMAN_ENV_BAL_1_5DB, ptr @T_HUFFMAN_ENV_BAL_3_0DB %26 = select i1 %21, ptr @F_HUFFMAN_ENV_BAL_1_5DB, ptr @F_HUFFMAN_ENV_BAL_3_0DB %27 = select i1 %21, i32 6, i32 5 br label %32 28: ; preds = %5 %29 = select i1 %21, ptr @T_HUFFMAN_ENV_1_5DB, ptr @T_HUFFMAN_ENV_3_0DB %30 = select i1 %21, ptr @F_HUFFMAN_ENV_1_5DB, ptr @F_HUFFMAN_ENV_3_0DB %31 = select i1 %21, i32 7, i32 6 br label %32 32: ; preds = %28, %24 %33 = phi ptr [ %25, %24 ], [ %29, %28 ] %34 = phi ptr [ %26, %24 ], [ %30, %28 ] %35 = phi i32 [ %27, %24 ], [ %31, %28 ] %36 = load i64, ptr %33, align 8, !tbaa !17 %37 = getelementptr inbounds %struct.TYPE_11__, ptr %22, i64 %36 %38 = getelementptr inbounds i32, ptr %23, i64 %36 %39 = load i64, ptr %34, align 8, !tbaa !17 %40 = getelementptr inbounds %struct.TYPE_11__, ptr %22, i64 %39 %41 = getelementptr inbounds i32, ptr %23, i64 %39 %42 = load i32, ptr %41, align 4, !tbaa !12 %43 = load i32, ptr %38, align 4, !tbaa !12 %44 = load ptr, ptr %40, align 8, !tbaa !18 %45 = load ptr, ptr %37, align 8, !tbaa !18 %46 = load i32, ptr %3, align 8, !tbaa !20 %47 = icmp sgt i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %32 %49 = sext i32 %46 to i64 br label %263 50: ; preds = %32 %51 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 3 %52 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 1 %53 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 2 br label %54 54: ; preds = %50, %255 %55 = phi ptr [ %12, %50 ], [ %257, %255 ] %56 = phi ptr [ %12, %50 ], [ %258, %255 ] %57 = phi ptr [ %12, %50 ], [ %259, %255 ] %58 = phi i64 [ 0, %50 ], [ %256, %255 ] %59 = load ptr, ptr %51, align 8, !tbaa !21 %60 = getelementptr inbounds i64, ptr %59, i64 %58 %61 = load i64, ptr %60, align 8, !tbaa !17 %62 = icmp eq i64 %61, 0 br i1 %62, label %211, label %63 63: ; preds = %54 %64 = load ptr, ptr %52, align 8, !tbaa !22 %65 = add nuw nsw i64 %58, 1 %66 = getelementptr inbounds i64, ptr %64, i64 %65 %67 = load i64, ptr %66, align 8, !tbaa !17 %68 = getelementptr inbounds i64, ptr %64, i64 %58 %69 = load i64, ptr %68, align 8, !tbaa !17 %70 = icmp eq i64 %67, %69 br i1 %70, label %71, label %108 71: ; preds = %63 %72 = getelementptr inbounds i32, ptr %55, i64 %67 %73 = load i32, ptr %72, align 4, !tbaa !12 %74 = icmp sgt i32 %73, 0 br i1 %74, label %75, label %255 75: ; preds = %71 %76 = load ptr, ptr %53, align 8, !tbaa !23 br label %87 77: ; preds = %87 %78 = add nuw nsw i64 %89, 1 %79 = load ptr, ptr %11, align 8, !tbaa !11 %80 = load ptr, ptr %52, align 8, !tbaa !22 %81 = getelementptr inbounds i64, ptr %80, i64 %65 %82 = load i64, ptr %81, align 8, !tbaa !17 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4, !tbaa !12 %85 = sext i32 %84 to i64 %86 = icmp slt i64 %78, %85 br i1 %86, label %87, label %255, !llvm.loop !24 87: ; preds = %75, %77 %88 = phi ptr [ %76, %75 ], [ %98, %77 ] %89 = phi i64 [ 0, %75 ], [ %78, %77 ] %90 = getelementptr inbounds ptr, ptr %88, i64 %58 %91 = load ptr, ptr %90, align 8, !tbaa !16 %92 = getelementptr inbounds i32, ptr %91, i64 %89 %93 = load i32, ptr %92, align 4, !tbaa !12 %94 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %45, i32 noundef 9, i32 noundef 3) #2 %95 = sub nsw i32 %94, %43 %96 = shl i32 %95, %10 %97 = add nsw i32 %96, %93 %98 = load ptr, ptr %53, align 8, !tbaa !23 %99 = getelementptr inbounds ptr, ptr %98, i64 %65 %100 = load ptr, ptr %99, align 8, !tbaa !16 %101 = getelementptr inbounds i32, ptr %100, i64 %89 store i32 %97, ptr %101, align 4, !tbaa !12 %102 = icmp ugt i32 %97, 127 br i1 %102, label %103, label %77 103: ; preds = %87 %104 = load i32, ptr %0, align 4, !tbaa !26 %105 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !12 %106 = tail call i32 @av_log(i32 noundef %104, i32 noundef %105, ptr noundef nonnull @.str, i32 noundef %97) #2 %107 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12 br label %271 108: ; preds = %63 %109 = icmp eq i64 %67, 0 br i1 %109, label %116, label %110 110: ; preds = %108 %111 = getelementptr inbounds i32, ptr %57, i64 %67 %112 = load i32, ptr %111, align 4, !tbaa !12 %113 = icmp sgt i32 %112, 0 br i1 %113, label %114, label %255 114: ; preds = %110 %115 = load ptr, ptr %53, align 8, !tbaa !23 br label %150 116: ; preds = %108 %117 = load i32, ptr %56, align 4, !tbaa !12 %118 = icmp sgt i32 %117, 0 br i1 %118, label %119, label %255 119: ; preds = %116 %120 = load ptr, ptr %53, align 8, !tbaa !23 %121 = getelementptr inbounds ptr, ptr %120, i64 %58 %122 = load ptr, ptr %121, align 8, !tbaa !16 %123 = load i32, ptr %122, align 4, !tbaa !12 %124 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %45, i32 noundef 9, i32 noundef 3) #2 %125 = sub nsw i32 %124, %43 %126 = shl i32 %125, %10 %127 = add nsw i32 %126, %123 %128 = load ptr, ptr %53, align 8, !tbaa !23 %129 = getelementptr inbounds ptr, ptr %128, i64 %65 %130 = load ptr, ptr %129, align 8, !tbaa !16 store i32 %127, ptr %130, align 4, !tbaa !12 %131 = icmp ugt i32 %127, 127 br i1 %131, label %205, label %132 132: ; preds = %119 %133 = load ptr, ptr %11, align 8, !tbaa !11 %134 = load ptr, ptr %52, align 8, !tbaa !22 %135 = getelementptr inbounds i64, ptr %134, i64 %65 %136 = load i64, ptr %135, align 8, !tbaa !17 %137 = getelementptr inbounds i32, ptr %133, i64 %136 %138 = load i32, ptr %137, align 4, !tbaa !12 %139 = icmp sgt i32 %138, 1 br i1 %139, label %185, label %255 140: ; preds = %150 %141 = add nuw nsw i64 %152, 1 %142 = load ptr, ptr %11, align 8, !tbaa !11 %143 = load ptr, ptr %52, align 8, !tbaa !22 %144 = getelementptr inbounds i64, ptr %143, i64 %65 %145 = load i64, ptr %144, align 8, !tbaa !17 %146 = getelementptr inbounds i32, ptr %142, i64 %145 %147 = load i32, ptr %146, align 4, !tbaa !12 %148 = sext i32 %147 to i64 %149 = icmp slt i64 %141, %148 br i1 %149, label %150, label %255, !llvm.loop !28 150: ; preds = %114, %140 %151 = phi ptr [ %115, %114 ], [ %165, %140 ] %152 = phi i64 [ 0, %114 ], [ %141, %140 ] %153 = trunc i64 %152 to i32 %154 = add i32 %15, %153 %155 = lshr i32 %154, 1 %156 = getelementptr inbounds ptr, ptr %151, i64 %58 %157 = load ptr, ptr %156, align 8, !tbaa !16 %158 = zext nneg i32 %155 to i64 %159 = getelementptr inbounds i32, ptr %157, i64 %158 %160 = load i32, ptr %159, align 4, !tbaa !12 %161 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %45, i32 noundef 9, i32 noundef 3) #2 %162 = sub nsw i32 %161, %43 %163 = shl i32 %162, %10 %164 = add nsw i32 %163, %160 %165 = load ptr, ptr %53, align 8, !tbaa !23 %166 = getelementptr inbounds ptr, ptr %165, i64 %65 %167 = load ptr, ptr %166, align 8, !tbaa !16 %168 = getelementptr inbounds i32, ptr %167, i64 %152 store i32 %164, ptr %168, align 4, !tbaa !12 %169 = icmp ugt i32 %164, 127 br i1 %169, label %170, label %140 170: ; preds = %150 %171 = load i32, ptr %0, align 4, !tbaa !26 %172 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !12 %173 = tail call i32 @av_log(i32 noundef %171, i32 noundef %172, ptr noundef nonnull @.str, i32 noundef %164) #2 %174 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12 br label %271 175: ; preds = %185 %176 = add nuw nsw i64 %187, 1 %177 = load ptr, ptr %11, align 8, !tbaa !11 %178 = load ptr, ptr %52, align 8, !tbaa !22 %179 = getelementptr inbounds i64, ptr %178, i64 %65 %180 = load i64, ptr %179, align 8, !tbaa !17 %181 = getelementptr inbounds i32, ptr %177, i64 %180 %182 = load i32, ptr %181, align 4, !tbaa !12 %183 = sext i32 %182 to i64 %184 = icmp slt i64 %176, %183 br i1 %184, label %185, label %255, !llvm.loop !29 185: ; preds = %132, %175 %186 = phi ptr [ %200, %175 ], [ %128, %132 ] %187 = phi i64 [ %176, %175 ], [ 1, %132 ] %188 = trunc i64 %187 to i32 %189 = shl i32 %188, 1 %190 = sub nsw i32 %189, %15 %191 = getelementptr inbounds ptr, ptr %186, i64 %58 %192 = load ptr, ptr %191, align 8, !tbaa !16 %193 = sext i32 %190 to i64 %194 = getelementptr inbounds i32, ptr %192, i64 %193 %195 = load i32, ptr %194, align 4, !tbaa !12 %196 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %45, i32 noundef 9, i32 noundef 3) #2 %197 = sub nsw i32 %196, %43 %198 = shl i32 %197, %10 %199 = add nsw i32 %198, %195 %200 = load ptr, ptr %53, align 8, !tbaa !23 %201 = getelementptr inbounds ptr, ptr %200, i64 %65 %202 = load ptr, ptr %201, align 8, !tbaa !16 %203 = getelementptr inbounds i32, ptr %202, i64 %187 store i32 %199, ptr %203, align 4, !tbaa !12 %204 = icmp ugt i32 %199, 127 br i1 %204, label %205, label %175 205: ; preds = %119, %185 %206 = phi i32 [ %199, %185 ], [ %127, %119 ] %207 = load i32, ptr %0, align 4, !tbaa !26 %208 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !12 %209 = tail call i32 @av_log(i32 noundef %207, i32 noundef %208, ptr noundef nonnull @.str, i32 noundef %206) #2 %210 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12 br label %271 211: ; preds = %54 %212 = tail call i32 @get_bits(ptr noundef %2, i32 noundef %35) #2 %213 = shl i32 %212, %10 %214 = load ptr, ptr %53, align 8, !tbaa !23 %215 = add nuw nsw i64 %58, 1 %216 = getelementptr inbounds ptr, ptr %214, i64 %215 %217 = load ptr, ptr %216, align 8, !tbaa !16 store i32 %213, ptr %217, align 4, !tbaa !12 %218 = load ptr, ptr %11, align 8, !tbaa !11 %219 = load ptr, ptr %52, align 8, !tbaa !22 %220 = getelementptr inbounds i64, ptr %219, i64 %215 %221 = load i64, ptr %220, align 8, !tbaa !17 %222 = getelementptr inbounds i32, ptr %218, i64 %221 %223 = load i32, ptr %222, align 4, !tbaa !12 %224 = icmp sgt i32 %223, 1 br i1 %224, label %235, label %255 225: ; preds = %235 %226 = add nuw nsw i64 %237, 1 %227 = load ptr, ptr %11, align 8, !tbaa !11 %228 = load ptr, ptr %52, align 8, !tbaa !22 %229 = getelementptr inbounds i64, ptr %228, i64 %215 %230 = load i64, ptr %229, align 8, !tbaa !17 %231 = getelementptr inbounds i32, ptr %227, i64 %230 %232 = load i32, ptr %231, align 4, !tbaa !12 %233 = sext i32 %232 to i64 %234 = icmp slt i64 %226, %233 br i1 %234, label %235, label %255, !llvm.loop !31 235: ; preds = %211, %225 %236 = phi ptr [ %247, %225 ], [ %217, %211 ] %237 = phi i64 [ %226, %225 ], [ 1, %211 ] %238 = getelementptr i32, ptr %236, i64 %237 %239 = getelementptr i32, ptr %238, i64 -1 %240 = load i32, ptr %239, align 4, !tbaa !12 %241 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %44, i32 noundef 9, i32 noundef 3) #2 %242 = sub nsw i32 %241, %42 %243 = shl i32 %242, %10 %244 = add nsw i32 %243, %240 %245 = load ptr, ptr %53, align 8, !tbaa !23 %246 = getelementptr inbounds ptr, ptr %245, i64 %215 %247 = load ptr, ptr %246, align 8, !tbaa !16 %248 = getelementptr inbounds i32, ptr %247, i64 %237 store i32 %244, ptr %248, align 4, !tbaa !12 %249 = icmp ugt i32 %244, 127 br i1 %249, label %250, label %225 250: ; preds = %235 %251 = load i32, ptr %0, align 4, !tbaa !26 %252 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !12 %253 = tail call i32 @av_log(i32 noundef %251, i32 noundef %252, ptr noundef nonnull @.str, i32 noundef %244) #2 %254 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !12 br label %271 255: ; preds = %140, %175, %77, %225, %132, %110, %116, %71, %211 %256 = phi i64 [ %65, %110 ], [ %65, %116 ], [ %65, %71 ], [ %215, %211 ], [ %65, %132 ], [ %215, %225 ], [ %65, %77 ], [ %65, %175 ], [ %65, %140 ] %257 = phi ptr [ %55, %110 ], [ %55, %116 ], [ %55, %71 ], [ %218, %211 ], [ %133, %132 ], [ %227, %225 ], [ %79, %77 ], [ %177, %175 ], [ %142, %140 ] %258 = phi ptr [ %56, %110 ], [ %56, %116 ], [ %55, %71 ], [ %218, %211 ], [ %133, %132 ], [ %227, %225 ], [ %79, %77 ], [ %177, %175 ], [ %142, %140 ] %259 = phi ptr [ %57, %110 ], [ %56, %116 ], [ %55, %71 ], [ %218, %211 ], [ %133, %132 ], [ %227, %225 ], [ %79, %77 ], [ %177, %175 ], [ %142, %140 ] %260 = load i32, ptr %3, align 8, !tbaa !20 %261 = sext i32 %260 to i64 %262 = icmp slt i64 %256, %261 br i1 %262, label %54, label %263, !llvm.loop !32 263: ; preds = %255, %48 %264 = phi i64 [ %49, %48 ], [ %261, %255 ] %265 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 2 %266 = load ptr, ptr %265, align 8, !tbaa !23 %267 = load ptr, ptr %266, align 8, !tbaa !16 %268 = getelementptr inbounds ptr, ptr %266, i64 %264 %269 = load ptr, ptr %268, align 8, !tbaa !16 %270 = tail call i32 @memcpy(ptr noundef %267, ptr noundef %269, i32 noundef 8) #2 br label %271 271: ; preds = %263, %250, %205, %170, %103 %272 = phi i32 [ %107, %103 ], [ %174, %170 ], [ %210, %205 ], [ %254, %250 ], [ 0, %263 ] ret i32 %272 } declare i32 @get_vlc2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !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 = !{!7, !7, i64 0} !13 = !{!14, !15, i64 32} !14 = !{!"TYPE_9__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !15, i64 32} !15 = !{!"long", !8, i64 0} !16 = !{!10, !10, i64 0} !17 = !{!15, !15, i64 0} !18 = !{!19, !10, i64 0} !19 = !{!"TYPE_11__", !10, i64 0} !20 = !{!14, !7, i64 0} !21 = !{!14, !10, i64 24} !22 = !{!14, !10, i64 8} !23 = !{!14, !10, i64 16} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!27, !7, i64 0} !27 = !{!"TYPE_10__", !7, i64 0} !28 = distinct !{!28, !25} !29 = distinct !{!29, !25, !30} !30 = !{!"llvm.loop.peeled.count", i32 1} !31 = distinct !{!31, !25} !32 = distinct !{!32, !25}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aacsbr_template.c_read_sbr_envelope.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aacsbr_template.c_read_sbr_envelope.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 { ptr } @vlc_sbr = common local_unnamed_addr global ptr null, align 8 @T_HUFFMAN_ENV_BAL_3_0DB = common local_unnamed_addr global i64 0, align 8 @vlc_sbr_lav = common local_unnamed_addr global ptr null, align 8 @F_HUFFMAN_ENV_BAL_3_0DB = common local_unnamed_addr global i64 0, align 8 @T_HUFFMAN_ENV_BAL_1_5DB = common local_unnamed_addr global i64 0, align 8 @F_HUFFMAN_ENV_BAL_1_5DB = common local_unnamed_addr global i64 0, align 8 @T_HUFFMAN_ENV_3_0DB = common local_unnamed_addr global i64 0, align 8 @F_HUFFMAN_ENV_3_0DB = common local_unnamed_addr global i64 0, align 8 @T_HUFFMAN_ENV_1_5DB = common local_unnamed_addr global i64 0, align 8 @F_HUFFMAN_ENV_1_5DB = common local_unnamed_addr global i64 0, align 8 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"env_facs_q %d is invalid\0A\00", align 1 @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_sbr_envelope], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @read_sbr_envelope(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4) #0 { %6 = icmp eq i32 %4, 1 %7 = load i32, ptr %1, align 8, !tbaa !6 %8 = icmp eq i32 %7, 1 %9 = and i1 %6, %8 %10 = zext i1 %9 to i32 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = getelementptr inbounds i8, ptr %12, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = and i32 %14, 1 %16 = icmp ne i32 %7, 0 %17 = icmp ne i32 %4, 0 %18 = and i1 %17, %16 %19 = getelementptr inbounds i8, ptr %3, i64 32 %20 = load i64, ptr %19, align 8, !tbaa !14 %21 = icmp eq i64 %20, 0 %22 = load ptr, ptr @vlc_sbr, align 8, !tbaa !17 %23 = load ptr, ptr @vlc_sbr_lav, align 8, !tbaa !17 br i1 %18, label %24, label %28 24: ; preds = %5 %25 = select i1 %21, ptr @T_HUFFMAN_ENV_BAL_1_5DB, ptr @T_HUFFMAN_ENV_BAL_3_0DB %26 = select i1 %21, ptr @F_HUFFMAN_ENV_BAL_1_5DB, ptr @F_HUFFMAN_ENV_BAL_3_0DB %27 = select i1 %21, i32 6, i32 5 br label %32 28: ; preds = %5 %29 = select i1 %21, ptr @T_HUFFMAN_ENV_1_5DB, ptr @T_HUFFMAN_ENV_3_0DB %30 = select i1 %21, ptr @F_HUFFMAN_ENV_1_5DB, ptr @F_HUFFMAN_ENV_3_0DB %31 = select i1 %21, i32 7, i32 6 br label %32 32: ; preds = %28, %24 %33 = phi ptr [ %25, %24 ], [ %29, %28 ] %34 = phi ptr [ %26, %24 ], [ %30, %28 ] %35 = phi i32 [ %27, %24 ], [ %31, %28 ] %36 = load i64, ptr %33, align 8, !tbaa !18 %37 = getelementptr inbounds %struct.TYPE_11__, ptr %22, i64 %36 %38 = getelementptr inbounds i32, ptr %23, i64 %36 %39 = load i64, ptr %34, align 8, !tbaa !18 %40 = getelementptr inbounds %struct.TYPE_11__, ptr %22, i64 %39 %41 = getelementptr inbounds i32, ptr %23, i64 %39 %42 = load i32, ptr %41, align 4, !tbaa !13 %43 = load i32, ptr %38, align 4, !tbaa !13 %44 = load ptr, ptr %40, align 8, !tbaa !19 %45 = load ptr, ptr %37, align 8, !tbaa !19 %46 = load i32, ptr %3, align 8, !tbaa !21 %47 = icmp sgt i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %32 %49 = sext i32 %46 to i64 br label %263 50: ; preds = %32 %51 = getelementptr inbounds i8, ptr %3, i64 24 %52 = getelementptr inbounds i8, ptr %3, i64 8 %53 = getelementptr inbounds i8, ptr %3, i64 16 br label %54 54: ; preds = %50, %255 %55 = phi ptr [ %12, %50 ], [ %257, %255 ] %56 = phi ptr [ %12, %50 ], [ %258, %255 ] %57 = phi ptr [ %12, %50 ], [ %259, %255 ] %58 = phi i64 [ 0, %50 ], [ %256, %255 ] %59 = load ptr, ptr %51, align 8, !tbaa !22 %60 = getelementptr inbounds i64, ptr %59, i64 %58 %61 = load i64, ptr %60, align 8, !tbaa !18 %62 = icmp eq i64 %61, 0 br i1 %62, label %211, label %63 63: ; preds = %54 %64 = load ptr, ptr %52, align 8, !tbaa !23 %65 = add nuw nsw i64 %58, 1 %66 = getelementptr inbounds i64, ptr %64, i64 %65 %67 = load i64, ptr %66, align 8, !tbaa !18 %68 = getelementptr inbounds i64, ptr %64, i64 %58 %69 = load i64, ptr %68, align 8, !tbaa !18 %70 = icmp eq i64 %67, %69 br i1 %70, label %71, label %108 71: ; preds = %63 %72 = getelementptr inbounds i32, ptr %55, i64 %67 %73 = load i32, ptr %72, align 4, !tbaa !13 %74 = icmp sgt i32 %73, 0 br i1 %74, label %75, label %255 75: ; preds = %71 %76 = load ptr, ptr %53, align 8, !tbaa !24 br label %87 77: ; preds = %87 %78 = add nuw nsw i64 %89, 1 %79 = load ptr, ptr %11, align 8, !tbaa !12 %80 = load ptr, ptr %52, align 8, !tbaa !23 %81 = getelementptr inbounds i64, ptr %80, i64 %65 %82 = load i64, ptr %81, align 8, !tbaa !18 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4, !tbaa !13 %85 = sext i32 %84 to i64 %86 = icmp slt i64 %78, %85 br i1 %86, label %87, label %255, !llvm.loop !25 87: ; preds = %75, %77 %88 = phi ptr [ %76, %75 ], [ %98, %77 ] %89 = phi i64 [ 0, %75 ], [ %78, %77 ] %90 = getelementptr inbounds ptr, ptr %88, i64 %58 %91 = load ptr, ptr %90, align 8, !tbaa !17 %92 = getelementptr inbounds i32, ptr %91, i64 %89 %93 = load i32, ptr %92, align 4, !tbaa !13 %94 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %45, i32 noundef 9, i32 noundef 3) #2 %95 = sub nsw i32 %94, %43 %96 = shl i32 %95, %10 %97 = add nsw i32 %96, %93 %98 = load ptr, ptr %53, align 8, !tbaa !24 %99 = getelementptr inbounds ptr, ptr %98, i64 %65 %100 = load ptr, ptr %99, align 8, !tbaa !17 %101 = getelementptr inbounds i32, ptr %100, i64 %89 store i32 %97, ptr %101, align 4, !tbaa !13 %102 = icmp ugt i32 %97, 127 br i1 %102, label %103, label %77 103: ; preds = %87 %104 = load i32, ptr %0, align 4, !tbaa !27 %105 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !13 %106 = tail call i32 @av_log(i32 noundef %104, i32 noundef %105, ptr noundef nonnull @.str, i32 noundef %97) #2 %107 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13 br label %271 108: ; preds = %63 %109 = icmp eq i64 %67, 0 br i1 %109, label %116, label %110 110: ; preds = %108 %111 = getelementptr inbounds i32, ptr %57, i64 %67 %112 = load i32, ptr %111, align 4, !tbaa !13 %113 = icmp sgt i32 %112, 0 br i1 %113, label %114, label %255 114: ; preds = %110 %115 = load ptr, ptr %53, align 8, !tbaa !24 br label %150 116: ; preds = %108 %117 = load i32, ptr %56, align 4, !tbaa !13 %118 = icmp sgt i32 %117, 0 br i1 %118, label %119, label %255 119: ; preds = %116 %120 = load ptr, ptr %53, align 8, !tbaa !24 %121 = getelementptr inbounds ptr, ptr %120, i64 %58 %122 = load ptr, ptr %121, align 8, !tbaa !17 %123 = load i32, ptr %122, align 4, !tbaa !13 %124 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %45, i32 noundef 9, i32 noundef 3) #2 %125 = sub nsw i32 %124, %43 %126 = shl i32 %125, %10 %127 = add nsw i32 %126, %123 %128 = load ptr, ptr %53, align 8, !tbaa !24 %129 = getelementptr inbounds ptr, ptr %128, i64 %65 %130 = load ptr, ptr %129, align 8, !tbaa !17 store i32 %127, ptr %130, align 4, !tbaa !13 %131 = icmp ugt i32 %127, 127 br i1 %131, label %205, label %132 132: ; preds = %119 %133 = load ptr, ptr %11, align 8, !tbaa !12 %134 = load ptr, ptr %52, align 8, !tbaa !23 %135 = getelementptr inbounds i64, ptr %134, i64 %65 %136 = load i64, ptr %135, align 8, !tbaa !18 %137 = getelementptr inbounds i32, ptr %133, i64 %136 %138 = load i32, ptr %137, align 4, !tbaa !13 %139 = icmp sgt i32 %138, 1 br i1 %139, label %185, label %255 140: ; preds = %150 %141 = add nuw nsw i64 %152, 1 %142 = load ptr, ptr %11, align 8, !tbaa !12 %143 = load ptr, ptr %52, align 8, !tbaa !23 %144 = getelementptr inbounds i64, ptr %143, i64 %65 %145 = load i64, ptr %144, align 8, !tbaa !18 %146 = getelementptr inbounds i32, ptr %142, i64 %145 %147 = load i32, ptr %146, align 4, !tbaa !13 %148 = sext i32 %147 to i64 %149 = icmp slt i64 %141, %148 br i1 %149, label %150, label %255, !llvm.loop !29 150: ; preds = %114, %140 %151 = phi ptr [ %115, %114 ], [ %165, %140 ] %152 = phi i64 [ 0, %114 ], [ %141, %140 ] %153 = trunc i64 %152 to i32 %154 = add i32 %15, %153 %155 = lshr i32 %154, 1 %156 = getelementptr inbounds ptr, ptr %151, i64 %58 %157 = load ptr, ptr %156, align 8, !tbaa !17 %158 = zext nneg i32 %155 to i64 %159 = getelementptr inbounds i32, ptr %157, i64 %158 %160 = load i32, ptr %159, align 4, !tbaa !13 %161 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %45, i32 noundef 9, i32 noundef 3) #2 %162 = sub nsw i32 %161, %43 %163 = shl i32 %162, %10 %164 = add nsw i32 %163, %160 %165 = load ptr, ptr %53, align 8, !tbaa !24 %166 = getelementptr inbounds ptr, ptr %165, i64 %65 %167 = load ptr, ptr %166, align 8, !tbaa !17 %168 = getelementptr inbounds i32, ptr %167, i64 %152 store i32 %164, ptr %168, align 4, !tbaa !13 %169 = icmp ugt i32 %164, 127 br i1 %169, label %170, label %140 170: ; preds = %150 %171 = load i32, ptr %0, align 4, !tbaa !27 %172 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !13 %173 = tail call i32 @av_log(i32 noundef %171, i32 noundef %172, ptr noundef nonnull @.str, i32 noundef %164) #2 %174 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13 br label %271 175: ; preds = %185 %176 = add nuw nsw i64 %187, 1 %177 = load ptr, ptr %11, align 8, !tbaa !12 %178 = load ptr, ptr %52, align 8, !tbaa !23 %179 = getelementptr inbounds i64, ptr %178, i64 %65 %180 = load i64, ptr %179, align 8, !tbaa !18 %181 = getelementptr inbounds i32, ptr %177, i64 %180 %182 = load i32, ptr %181, align 4, !tbaa !13 %183 = sext i32 %182 to i64 %184 = icmp slt i64 %176, %183 br i1 %184, label %185, label %255, !llvm.loop !30 185: ; preds = %132, %175 %186 = phi ptr [ %200, %175 ], [ %128, %132 ] %187 = phi i64 [ %176, %175 ], [ 1, %132 ] %188 = trunc i64 %187 to i32 %189 = shl i32 %188, 1 %190 = sub nsw i32 %189, %15 %191 = getelementptr inbounds ptr, ptr %186, i64 %58 %192 = load ptr, ptr %191, align 8, !tbaa !17 %193 = sext i32 %190 to i64 %194 = getelementptr inbounds i32, ptr %192, i64 %193 %195 = load i32, ptr %194, align 4, !tbaa !13 %196 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %45, i32 noundef 9, i32 noundef 3) #2 %197 = sub nsw i32 %196, %43 %198 = shl i32 %197, %10 %199 = add nsw i32 %198, %195 %200 = load ptr, ptr %53, align 8, !tbaa !24 %201 = getelementptr inbounds ptr, ptr %200, i64 %65 %202 = load ptr, ptr %201, align 8, !tbaa !17 %203 = getelementptr inbounds i32, ptr %202, i64 %187 store i32 %199, ptr %203, align 4, !tbaa !13 %204 = icmp ugt i32 %199, 127 br i1 %204, label %205, label %175 205: ; preds = %119, %185 %206 = phi i32 [ %199, %185 ], [ %127, %119 ] %207 = load i32, ptr %0, align 4, !tbaa !27 %208 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !13 %209 = tail call i32 @av_log(i32 noundef %207, i32 noundef %208, ptr noundef nonnull @.str, i32 noundef %206) #2 %210 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13 br label %271 211: ; preds = %54 %212 = tail call i32 @get_bits(ptr noundef %2, i32 noundef %35) #2 %213 = shl i32 %212, %10 %214 = load ptr, ptr %53, align 8, !tbaa !24 %215 = add nuw nsw i64 %58, 1 %216 = getelementptr inbounds ptr, ptr %214, i64 %215 %217 = load ptr, ptr %216, align 8, !tbaa !17 store i32 %213, ptr %217, align 4, !tbaa !13 %218 = load ptr, ptr %11, align 8, !tbaa !12 %219 = load ptr, ptr %52, align 8, !tbaa !23 %220 = getelementptr inbounds i64, ptr %219, i64 %215 %221 = load i64, ptr %220, align 8, !tbaa !18 %222 = getelementptr inbounds i32, ptr %218, i64 %221 %223 = load i32, ptr %222, align 4, !tbaa !13 %224 = icmp sgt i32 %223, 1 br i1 %224, label %235, label %255 225: ; preds = %235 %226 = add nuw nsw i64 %237, 1 %227 = load ptr, ptr %11, align 8, !tbaa !12 %228 = load ptr, ptr %52, align 8, !tbaa !23 %229 = getelementptr inbounds i64, ptr %228, i64 %215 %230 = load i64, ptr %229, align 8, !tbaa !18 %231 = getelementptr inbounds i32, ptr %227, i64 %230 %232 = load i32, ptr %231, align 4, !tbaa !13 %233 = sext i32 %232 to i64 %234 = icmp slt i64 %226, %233 br i1 %234, label %235, label %255, !llvm.loop !32 235: ; preds = %211, %225 %236 = phi ptr [ %247, %225 ], [ %217, %211 ] %237 = phi i64 [ %226, %225 ], [ 1, %211 ] %238 = getelementptr i32, ptr %236, i64 %237 %239 = getelementptr i8, ptr %238, i64 -4 %240 = load i32, ptr %239, align 4, !tbaa !13 %241 = tail call i32 @get_vlc2(ptr noundef %2, ptr noundef %44, i32 noundef 9, i32 noundef 3) #2 %242 = sub nsw i32 %241, %42 %243 = shl i32 %242, %10 %244 = add nsw i32 %243, %240 %245 = load ptr, ptr %53, align 8, !tbaa !24 %246 = getelementptr inbounds ptr, ptr %245, i64 %215 %247 = load ptr, ptr %246, align 8, !tbaa !17 %248 = getelementptr inbounds i32, ptr %247, i64 %237 store i32 %244, ptr %248, align 4, !tbaa !13 %249 = icmp ugt i32 %244, 127 br i1 %249, label %250, label %225 250: ; preds = %235 %251 = load i32, ptr %0, align 4, !tbaa !27 %252 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !13 %253 = tail call i32 @av_log(i32 noundef %251, i32 noundef %252, ptr noundef nonnull @.str, i32 noundef %244) #2 %254 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13 br label %271 255: ; preds = %140, %175, %77, %225, %132, %110, %116, %71, %211 %256 = phi i64 [ %65, %110 ], [ %65, %116 ], [ %65, %71 ], [ %215, %211 ], [ %65, %132 ], [ %215, %225 ], [ %65, %77 ], [ %65, %175 ], [ %65, %140 ] %257 = phi ptr [ %55, %110 ], [ %55, %116 ], [ %55, %71 ], [ %218, %211 ], [ %133, %132 ], [ %227, %225 ], [ %79, %77 ], [ %177, %175 ], [ %142, %140 ] %258 = phi ptr [ %56, %110 ], [ %56, %116 ], [ %55, %71 ], [ %218, %211 ], [ %133, %132 ], [ %227, %225 ], [ %79, %77 ], [ %177, %175 ], [ %142, %140 ] %259 = phi ptr [ %57, %110 ], [ %56, %116 ], [ %55, %71 ], [ %218, %211 ], [ %133, %132 ], [ %227, %225 ], [ %79, %77 ], [ %177, %175 ], [ %142, %140 ] %260 = load i32, ptr %3, align 8, !tbaa !21 %261 = sext i32 %260 to i64 %262 = icmp slt i64 %256, %261 br i1 %262, label %54, label %263, !llvm.loop !33 263: ; preds = %255, %48 %264 = phi i64 [ %49, %48 ], [ %261, %255 ] %265 = getelementptr inbounds i8, ptr %3, i64 16 %266 = load ptr, ptr %265, align 8, !tbaa !24 %267 = load ptr, ptr %266, align 8, !tbaa !17 %268 = getelementptr inbounds ptr, ptr %266, i64 %264 %269 = load ptr, ptr %268, align 8, !tbaa !17 %270 = tail call i32 @memcpy(ptr noundef %267, ptr noundef %269, i32 noundef 8) #2 br label %271 271: ; preds = %263, %250, %205, %170, %103 %272 = phi i32 [ %107, %103 ], [ %174, %170 ], [ %210, %205 ], [ %254, %250 ], [ 0, %263 ] ret i32 %272 } declare i32 @get_vlc2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_log(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !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 = !{!8, !8, i64 0} !14 = !{!15, !16, i64 32} !15 = !{!"TYPE_9__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !16, i64 32} !16 = !{!"long", !9, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!16, !16, i64 0} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_11__", !11, i64 0} !21 = !{!15, !8, i64 0} !22 = !{!15, !11, i64 24} !23 = !{!15, !11, i64 8} !24 = !{!15, !11, i64 16} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!28, !8, i64 0} !28 = !{!"TYPE_10__", !8, i64 0} !29 = distinct !{!29, !26} !30 = distinct !{!30, !26, !31} !31 = !{!"llvm.loop.peeled.count", i32 1} !32 = distinct !{!32, !26} !33 = distinct !{!33, !26}
FFmpeg_libavcodec_extr_aacsbr_template.c_read_sbr_envelope
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp2.c_ScspUpdateSlotAddress.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp2.c_ScspUpdateSlotAddress.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.TYPE_4__ = type { i32, i32, i32, i32, i32, i32, i64, ptr } @scsp = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 4 @SoundRam = dso_local local_unnamed_addr global ptr null, align 8 @SCSP_FREQ_LOW_BITS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ScspUpdateSlotAddress], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @ScspUpdateSlotAddress(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 6 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp ne i64 %3, 0 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = and i32 %5, -2 %7 = select i1 %4, i32 %6, i32 %5 %8 = load i32, ptr @scsp, align 4, !tbaa !13 %9 = and i32 %7, %8 store i32 %9, ptr %0, align 8, !tbaa !12 %10 = load ptr, ptr @SoundRam, align 8, !tbaa !15 %11 = sext i32 %9 to i64 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 7 store ptr %12, ptr %13, align 8, !tbaa !16 %14 = sub nsw i32 %8, %9 %15 = zext i1 %4 to i32 %16 = ashr i32 %14, %15 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = icmp sgt i32 %18, %16 br i1 %19, label %20, label %21 20: ; preds = %1 store i32 %16, ptr %17, align 4, !tbaa !17 br label %21 21: ; preds = %20, %1 %22 = phi i32 [ %16, %20 ], [ %18, %1 ] %23 = load i32, ptr @SCSP_FREQ_LOW_BITS, align 4, !tbaa !18 %24 = shl i32 %22, %23 %25 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 store i32 %24, ptr %25, align 8, !tbaa !19 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %27 = load i32, ptr %26, align 4, !tbaa !20 %28 = icmp sgt i32 %27, %16 br i1 %28, label %29, label %30 29: ; preds = %21 store i32 %16, ptr %26, align 4, !tbaa !20 br label %30 30: ; preds = %29, %21 %31 = phi i32 [ %16, %29 ], [ %27, %21 ] %32 = add nsw i32 %31, 1 %33 = shl i32 %32, %23 %34 = add nsw i32 %33, -1 %35 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 store i32 %34, ptr %35, align 8, !tbaa !21 %36 = sub i32 %33, %24 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5 store i32 %36, ptr %37, align 4, !tbaa !22 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !11, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_5__", !7, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!6, !11, i64 32} !17 = !{!6, !7, i64 4} !18 = !{!7, !7, i64 0} !19 = !{!6, !7, i64 8} !20 = !{!6, !7, i64 12} !21 = !{!6, !7, i64 16} !22 = !{!6, !7, i64 20}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp2.c_ScspUpdateSlotAddress.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp2.c_ScspUpdateSlotAddress.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32 } @scsp = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 4 @SoundRam = common local_unnamed_addr global ptr null, align 8 @SCSP_FREQ_LOW_BITS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ScspUpdateSlotAddress], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @ScspUpdateSlotAddress(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp ne i64 %3, 0 %5 = load i32, ptr %0, align 8, !tbaa !13 %6 = and i32 %5, -2 %7 = select i1 %4, i32 %6, i32 %5 %8 = load i32, ptr @scsp, align 4, !tbaa !14 %9 = and i32 %7, %8 store i32 %9, ptr %0, align 8, !tbaa !13 %10 = load ptr, ptr @SoundRam, align 8, !tbaa !16 %11 = sext i32 %9 to i64 %12 = getelementptr inbounds i32, ptr %10, i64 %11 %13 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %12, ptr %13, align 8, !tbaa !17 %14 = sub nsw i32 %8, %9 %15 = zext i1 %4 to i32 %16 = ashr i32 %14, %15 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = icmp sgt i32 %18, %16 br i1 %19, label %20, label %21 20: ; preds = %1 store i32 %16, ptr %17, align 4, !tbaa !18 br label %21 21: ; preds = %20, %1 %22 = phi i32 [ %16, %20 ], [ %18, %1 ] %23 = load i32, ptr @SCSP_FREQ_LOW_BITS, align 4, !tbaa !19 %24 = shl i32 %22, %23 %25 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %24, ptr %25, align 8, !tbaa !20 %26 = getelementptr inbounds i8, ptr %0, i64 12 %27 = load i32, ptr %26, align 4, !tbaa !21 %28 = icmp sgt i32 %27, %16 br i1 %28, label %29, label %30 29: ; preds = %21 store i32 %16, ptr %26, align 4, !tbaa !21 br label %30 30: ; preds = %29, %21 %31 = phi i32 [ %16, %29 ], [ %27, %21 ] %32 = add nsw i32 %31, 1 %33 = shl i32 %32, %23 %34 = add nsw i32 %33, -1 %35 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %34, ptr %35, align 8, !tbaa !22 %36 = sub i32 %33, %24 %37 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %36, ptr %37, align 4, !tbaa !23 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !11, i64 24, !12, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_5__", !8, i64 0} !16 = !{!12, !12, i64 0} !17 = !{!7, !12, i64 32} !18 = !{!7, !8, i64 4} !19 = !{!8, !8, i64 0} !20 = !{!7, !8, i64 8} !21 = !{!7, !8, i64 12} !22 = !{!7, !8, i64 16} !23 = !{!7, !8, i64 20}
Provenance_Cores_Yabause_yabause_src_extr_scsp2.c_ScspUpdateSlotAddress
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_cafe_ccic.c_cafe_ctlr_irq_disable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_cafe_ccic.c_cafe_ctlr_irq_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REG_IRQMASK = dso_local local_unnamed_addr global i32 0, align 4 @FRAMEIRQS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cafe_ctlr_irq_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cafe_ctlr_irq_disable(ptr noundef %0) #0 { %2 = load i32, ptr @REG_IRQMASK, align 4, !tbaa !5 %3 = load i32, ptr @FRAMEIRQS, align 4, !tbaa !5 %4 = tail call i32 @cafe_reg_clear_bit(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @cafe_reg_clear_bit(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/media/video/extr_cafe_ccic.c_cafe_ctlr_irq_disable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_cafe_ccic.c_cafe_ctlr_irq_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_IRQMASK = common local_unnamed_addr global i32 0, align 4 @FRAMEIRQS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cafe_ctlr_irq_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cafe_ctlr_irq_disable(ptr noundef %0) #0 { %2 = load i32, ptr @REG_IRQMASK, align 4, !tbaa !6 %3 = load i32, ptr @FRAMEIRQS, align 4, !tbaa !6 %4 = tail call i32 @cafe_reg_clear_bit(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @cafe_reg_clear_bit(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_media_video_extr_cafe_ccic.c_cafe_ctlr_irq_disable
; ModuleID = 'AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_rtreeCheckReset.c' source_filename = "AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_rtreeCheckReset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtreeCheckReset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rtreeCheckReset(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @sqlite3_reset(ptr noundef %1) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %8 7: ; preds = %2 store i32 %3, ptr %0, align 4, !tbaa !5 br label %8 8: ; preds = %7, %2 ret void } declare i32 @sqlite3_reset(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_rtreeCheckReset.c' source_filename = "AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_rtreeCheckReset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rtreeCheckReset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rtreeCheckReset(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @sqlite3_reset(ptr noundef %1) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @SQLITE_OK, align 4, !tbaa !11 %6 = icmp eq i32 %4, %5 br i1 %6, label %7, label %8 7: ; preds = %2 store i32 %3, ptr %0, align 4, !tbaa !6 br label %8 8: ; preds = %7, %2 ret void } declare i32 @sqlite3_reset(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
sqlcipher_ext_rtree_extr_rtree.c_rtreeCheckReset
; ModuleID = 'AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_sockets.c_fpm_socket_unix_test_connect.c' source_filename = "AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_sockets.c_fpm_socket_unix_test_connect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AF_UNIX = dso_local local_unnamed_addr global i64 0, align 8 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @fpm_socket_unix_test_connect(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %17, label %4 4: ; preds = %2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = load i64, ptr @AF_UNIX, align 8, !tbaa !10 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !11 %10 = tail call i32 @socket(i64 noundef %5, i32 noundef %9, i32 noundef 0) #2 %11 = icmp slt i32 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %8 %13 = tail call i32 @connect(i32 noundef %10, ptr noundef nonnull %0, i64 noundef %1) #2 %14 = icmp eq i32 %13, -1 %15 = tail call i32 @close(i32 noundef %10) #2 %16 = sext i1 %14 to i32 br label %17 17: ; preds = %12, %8, %2, %4 %18 = phi i32 [ -1, %4 ], [ -1, %2 ], [ -1, %8 ], [ %16, %12 ] ret i32 %18 } declare i32 @socket(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @connect(i32 noundef, ptr noundef, i64 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, !7, i64 0} !6 = !{!"sockaddr_un", !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/php-src/sapi/fpm/fpm/extr_fpm_sockets.c_fpm_socket_unix_test_connect.c' source_filename = "AnghaBench/php-src/sapi/fpm/fpm/extr_fpm_sockets.c_fpm_socket_unix_test_connect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AF_UNIX = common local_unnamed_addr global i64 0, align 8 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @fpm_socket_unix_test_connect(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %17, label %4 4: ; preds = %2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = load i64, ptr @AF_UNIX, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !12 %10 = tail call i32 @socket(i64 noundef %5, i32 noundef %9, i32 noundef 0) #2 %11 = icmp slt i32 %10, 0 br i1 %11, label %17, label %12 12: ; preds = %8 %13 = tail call i32 @connect(i32 noundef %10, ptr noundef nonnull %0, i64 noundef %1) #2 %14 = icmp eq i32 %13, -1 %15 = tail call i32 @close(i32 noundef %10) #2 %16 = sext i1 %14 to i32 br label %17 17: ; preds = %12, %8, %2, %4 %18 = phi i32 [ -1, %4 ], [ -1, %2 ], [ -1, %8 ], [ %16, %12 ] ret i32 %18 } declare i32 @socket(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @connect(i32 noundef, ptr noundef, i64 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, !8, i64 0} !7 = !{!"sockaddr_un", !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}
php-src_sapi_fpm_fpm_extr_fpm_sockets.c_fpm_socket_unix_test_connect
; ModuleID = 'AnghaBench/libevent/test/extr_regress_bufferevent.c_wm_writecb.c' source_filename = "AnghaBench/libevent/test/extr_regress_bufferevent.c_wm_writecb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @test_ok = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm_writecb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wm_writecb(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @evbuffer_get_length(i32 noundef %3) #2 %5 = icmp slt i32 %4, 101 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = tail call i32 @evbuffer_get_length(i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr %0, align 4, !tbaa !5 %13 = tail call i32 @evbuffer_get_length(i32 noundef %12) #2 %14 = tail call i32 @evbuffer_drain(i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @test_ok, align 4, !tbaa !10 %16 = add nsw i32 %15, 1 store i32 %16, ptr @test_ok, align 4, !tbaa !10 br label %17 17: ; preds = %11, %2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_get_length(i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_drain(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 = !{!"bufferevent", !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/libevent/test/extr_regress_bufferevent.c_wm_writecb.c' source_filename = "AnghaBench/libevent/test/extr_regress_bufferevent.c_wm_writecb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @test_ok = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wm_writecb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wm_writecb(ptr nocapture noundef readonly %0, ptr nocapture readnone %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @evbuffer_get_length(i32 noundef %3) #2 %5 = icmp slt i32 %4, 101 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = tail call i32 @evbuffer_get_length(i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr %0, align 4, !tbaa !6 %13 = tail call i32 @evbuffer_get_length(i32 noundef %12) #2 %14 = tail call i32 @evbuffer_drain(i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @test_ok, align 4, !tbaa !11 %16 = add nsw i32 %15, 1 store i32 %16, ptr @test_ok, align 4, !tbaa !11 br label %17 17: ; preds = %11, %2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_get_length(i32 noundef) local_unnamed_addr #1 declare i32 @evbuffer_drain(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 = !{!"bufferevent", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
libevent_test_extr_regress_bufferevent.c_wm_writecb
; ModuleID = 'AnghaBench/linux/drivers/staging/qlge/extr_qlge_main.c_ql_update_mac_hdr_len.c' source_filename = "AnghaBench/linux/drivers/staging/qlge/extr_qlge_main.c_ql_update_mac_hdr_len.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NETIF_F_HW_VLAN_CTAG_RX = dso_local local_unnamed_addr global i32 0, align 4 @IB_MAC_IOCB_RSP_V = dso_local local_unnamed_addr global i32 0, align 4 @ETH_P_8021Q = dso_local local_unnamed_addr global i64 0, align 8 @VLAN_HLEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ql_update_mac_hdr_len], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @ql_update_mac_hdr_len(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = load i32, ptr @NETIF_F_HW_VLAN_CTAG_RX, align 4, !tbaa !13 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %34 10: ; preds = %4 %11 = load i32, ptr %1, align 4, !tbaa !14 %12 = load i32, ptr @IB_MAC_IOCB_RSP_V, align 4, !tbaa !13 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %34, label %15 15: ; preds = %10 %16 = getelementptr inbounds i64, ptr %2, i64 6 %17 = load i64, ptr %16, align 8, !tbaa !16 %18 = load i64, ptr @ETH_P_8021Q, align 8, !tbaa !16 %19 = icmp eq i64 %17, %18 br i1 %19, label %20, label %27 20: ; preds = %15 %21 = getelementptr inbounds i64, ptr %2, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = icmp eq i64 %22, %17 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load i32, ptr @VLAN_HLEN, align 4, !tbaa !13 %26 = shl nsw i32 %25, 1 br label %29 27: ; preds = %20, %15 %28 = load i32, ptr @VLAN_HLEN, align 4, !tbaa !13 br label %29 29: ; preds = %24, %27 %30 = phi i32 [ %28, %27 ], [ %26, %24 ] %31 = sext i32 %30 to i64 %32 = load i64, ptr %3, align 8, !tbaa !16 %33 = add i64 %32, %31 store i64 %33, ptr %3, align 8, !tbaa !16 br label %34 34: ; preds = %29, %10, %4 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ql_adapter", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"ib_mac_iocb_rsp", !12, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/qlge/extr_qlge_main.c_ql_update_mac_hdr_len.c' source_filename = "AnghaBench/linux/drivers/staging/qlge/extr_qlge_main.c_ql_update_mac_hdr_len.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NETIF_F_HW_VLAN_CTAG_RX = common local_unnamed_addr global i32 0, align 4 @IB_MAC_IOCB_RSP_V = common local_unnamed_addr global i32 0, align 4 @ETH_P_8021Q = common local_unnamed_addr global i64 0, align 8 @VLAN_HLEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ql_update_mac_hdr_len], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @ql_update_mac_hdr_len(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr @NETIF_F_HW_VLAN_CTAG_RX, align 4, !tbaa !14 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %34 10: ; preds = %4 %11 = load i32, ptr %1, align 4, !tbaa !15 %12 = load i32, ptr @IB_MAC_IOCB_RSP_V, align 4, !tbaa !14 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %34, label %15 15: ; preds = %10 %16 = getelementptr inbounds i8, ptr %2, i64 48 %17 = load i64, ptr %16, align 8, !tbaa !17 %18 = load i64, ptr @ETH_P_8021Q, align 8, !tbaa !17 %19 = icmp eq i64 %17, %18 br i1 %19, label %20, label %27 20: ; preds = %15 %21 = getelementptr inbounds i8, ptr %2, i64 64 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = icmp eq i64 %22, %17 br i1 %23, label %24, label %27 24: ; preds = %20 %25 = load i32, ptr @VLAN_HLEN, align 4, !tbaa !14 %26 = shl nsw i32 %25, 1 br label %29 27: ; preds = %20, %15 %28 = load i32, ptr @VLAN_HLEN, align 4, !tbaa !14 br label %29 29: ; preds = %24, %27 %30 = phi i32 [ %28, %27 ], [ %26, %24 ] %31 = sext i32 %30 to i64 %32 = load i64, ptr %3, align 8, !tbaa !17 %33 = add i64 %32, %31 store i64 %33, ptr %3, align 8, !tbaa !17 br label %34 34: ; preds = %29, %10, %4 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"ql_adapter", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"ib_mac_iocb_rsp", !13, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !9, i64 0}
linux_drivers_staging_qlge_extr_qlge_main.c_ql_update_mac_hdr_len
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_debugfs.c__sdes_seq_stop.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_debugfs.c__sdes_seq_stop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @_sdes_seq_stop], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @_sdes_seq_stop(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_debugfs.c__sdes_seq_stop.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_debugfs.c__sdes_seq_stop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @_sdes_seq_stop], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @_sdes_seq_stop(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_infiniband_hw_hfi1_extr_debugfs.c__sdes_seq_stop
; ModuleID = 'AnghaBench/reactos/win32ss/printing/providers/localspl/extr_jobs.c__GetNextJobID.c' source_filename = "AnghaBench/reactos/win32ss/printing/providers/localspl/extr_jobs.c__GetNextJobID.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @_dwLastJobID = dso_local global i64 0, align 8 @GlobalJobList = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Job ID %lu isn't valid!\0A\00", align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_GetNextJobID], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_GetNextJobID(ptr nocapture noundef writeonly %0) #0 { br label %2 2: ; preds = %2, %1 %3 = load i64, ptr @_dwLastJobID, align 8, !tbaa !5 %4 = add nsw i64 %3, 1 store i64 %4, ptr @_dwLastJobID, align 8, !tbaa !5 %5 = tail call i64 @LookupElementSkiplist(ptr noundef nonnull @GlobalJobList, ptr noundef nonnull @_dwLastJobID, ptr noundef null) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %2, !llvm.loop !9 7: ; preds = %2 %8 = load i64, ptr @_dwLastJobID, align 8, !tbaa !5 %9 = tail call i32 @IS_VALID_JOB_ID(i64 noundef %8) #2 %10 = icmp eq i32 %9, 0 %11 = load i64, ptr @_dwLastJobID, align 8, !tbaa !5 br i1 %10, label %12, label %14 12: ; preds = %7 %13 = tail call i32 @ERR(ptr noundef nonnull @.str, i64 noundef %11) #2 br label %15 14: ; preds = %7 store i64 %11, ptr %0, align 8, !tbaa !5 br label %15 15: ; preds = %14, %12 %16 = phi ptr [ @TRUE, %14 ], [ @FALSE, %12 ] %17 = load i32, ptr %16, align 4, !tbaa !11 ret i32 %17 } declare i64 @LookupElementSkiplist(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IS_VALID_JOB_ID(i64 noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/win32ss/printing/providers/localspl/extr_jobs.c__GetNextJobID.c' source_filename = "AnghaBench/reactos/win32ss/printing/providers/localspl/extr_jobs.c__GetNextJobID.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_dwLastJobID = common global i64 0, align 8 @GlobalJobList = common global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"Job ID %lu isn't valid!\0A\00", align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_GetNextJobID], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @_GetNextJobID(ptr nocapture noundef writeonly %0) #0 { br label %2 2: ; preds = %2, %1 %3 = load i64, ptr @_dwLastJobID, align 8, !tbaa !6 %4 = add nsw i64 %3, 1 store i64 %4, ptr @_dwLastJobID, align 8, !tbaa !6 %5 = tail call i64 @LookupElementSkiplist(ptr noundef nonnull @GlobalJobList, ptr noundef nonnull @_dwLastJobID, ptr noundef null) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %2, !llvm.loop !10 7: ; preds = %2 %8 = load i64, ptr @_dwLastJobID, align 8, !tbaa !6 %9 = tail call i32 @IS_VALID_JOB_ID(i64 noundef %8) #2 %10 = icmp eq i32 %9, 0 %11 = load i64, ptr @_dwLastJobID, align 8, !tbaa !6 br i1 %10, label %12, label %14 12: ; preds = %7 %13 = tail call i32 @ERR(ptr noundef nonnull @.str, i64 noundef %11) #2 br label %15 14: ; preds = %7 store i64 %11, ptr %0, align 8, !tbaa !6 br label %15 15: ; preds = %14, %12 %16 = phi ptr [ @TRUE, %14 ], [ @FALSE, %12 ] %17 = load i32, ptr %16, align 4, !tbaa !12 ret i32 %17 } declare i64 @LookupElementSkiplist(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IS_VALID_JOB_ID(i64 noundef) local_unnamed_addr #1 declare i32 @ERR(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
reactos_win32ss_printing_providers_localspl_extr_jobs.c__GetNextJobID
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/mod/extr_file2alias.c_do_usb_entry_multi.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/mod/extr_file2alias.c_do_usb_entry_multi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.usb_device_id = type { i32, i32, i32, i32, i32, i32, i32 } @USB_DEVICE_ID_MATCH_DEV_LO = dso_local local_unnamed_addr global i32 0, align 4 @USB_DEVICE_ID_MATCH_DEV_HI = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_usb_entry_multi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_usb_entry_multi(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @TO_NATIVE(i32 noundef %3) #2 store i32 %4, ptr %0, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.usb_device_id, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @TO_NATIVE(i32 noundef %6) #2 store i32 %7, ptr %5, align 4, !tbaa !10 %8 = getelementptr inbounds %struct.usb_device_id, ptr %0, i64 0, i32 2 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @TO_NATIVE(i32 noundef %9) #2 store i32 %10, ptr %8, align 4, !tbaa !11 %11 = load i32, ptr %0, align 4, !tbaa !5 %12 = load i32, ptr @USB_DEVICE_ID_MATCH_DEV_LO, align 4, !tbaa !12 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %2 %16 = getelementptr inbounds %struct.usb_device_id, ptr %0, i64 0, i32 3 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = tail call i32 @TO_NATIVE(i32 noundef %17) #2 %19 = load i32, ptr %0, align 4, !tbaa !5 br label %20 20: ; preds = %2, %15 %21 = phi i32 [ %19, %15 ], [ %11, %2 ] %22 = phi i32 [ %18, %15 ], [ 0, %2 ] %23 = load i32, ptr @USB_DEVICE_ID_MATCH_DEV_HI, align 4, !tbaa !12 %24 = and i32 %23, %21 %25 = icmp eq i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %20 %27 = getelementptr inbounds %struct.usb_device_id, ptr %0, i64 0, i32 4 %28 = load i32, ptr %27, align 4, !tbaa !14 %29 = tail call i32 @TO_NATIVE(i32 noundef %28) #2 br label %30 30: ; preds = %20, %26 %31 = phi i32 [ %29, %26 ], [ -1, %20 ] %32 = load i32, ptr %5, align 4, !tbaa !10 %33 = load i32, ptr %8, align 4, !tbaa !11 %34 = or i32 %33, %32 %35 = getelementptr inbounds %struct.usb_device_id, ptr %0, i64 0, i32 5 %36 = load i32, ptr %35, align 4, !tbaa !15 %37 = or i32 %34, %36 %38 = getelementptr inbounds %struct.usb_device_id, ptr %0, i64 0, i32 6 %39 = load i32, ptr %38, align 4, !tbaa !16 %40 = or i32 %37, %39 %41 = icmp eq i32 %40, 0 %42 = icmp ugt i32 %22, %31 %43 = select i1 %41, i1 true, i1 %42 br i1 %43, label %78, label %44 44: ; preds = %30, %74 %45 = phi i32 [ %76, %74 ], [ 7, %30 ] %46 = phi i32 [ %69, %74 ], [ %22, %30 ] %47 = phi i32 [ %75, %74 ], [ %31, %30 ] %48 = trunc i32 %46 to i8 %49 = and i8 %48, 15 %50 = trunc i32 %47 to i8 %51 = and i8 %50, 15 %52 = and i32 %47, 14 %53 = icmp ugt i32 %52, 9 %54 = select i1 %53, i8 9, i8 %51 %55 = lshr i32 %46, 4 %56 = lshr i32 %47, 4 %57 = icmp ne i32 %55, %56 %58 = icmp ne i32 %45, 0 %59 = select i1 %57, i1 %58, i1 false br i1 %59, label %62, label %60 60: ; preds = %44 %61 = tail call i32 @do_usb_entry(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %45, i8 noundef zeroext %49, i8 noundef zeroext %54, ptr noundef %1) #2 br label %78 62: ; preds = %44 %63 = and i32 %46, 15 %64 = icmp eq i32 %63, 0 br i1 %64, label %68, label %65 65: ; preds = %62 %66 = add nuw nsw i32 %55, 1 %67 = tail call i32 @do_usb_entry(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %45, i8 noundef zeroext %49, i8 noundef zeroext 9, ptr noundef %1) #2 br label %68 68: ; preds = %65, %62 %69 = phi i32 [ %66, %65 ], [ %55, %62 ] %70 = icmp ult i8 %54, 9 br i1 %70, label %71, label %74 71: ; preds = %68 %72 = add nsw i32 %56, -1 %73 = tail call i32 @do_usb_entry(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %45, i8 noundef zeroext 0, i8 noundef zeroext %54, ptr noundef %1) #2 br label %74 74: ; preds = %68, %71 %75 = phi i32 [ %72, %71 ], [ %56, %68 ] %76 = add nsw i32 %45, -1 %77 = icmp ugt i32 %69, %75 br i1 %77, label %78, label %44, !llvm.loop !17 78: ; preds = %74, %60, %30 ret void } declare i32 @TO_NATIVE(i32 noundef) local_unnamed_addr #1 declare i32 @do_usb_entry(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, 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_device_id", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!6, !7, i64 8} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 12} !14 = !{!6, !7, i64 16} !15 = !{!6, !7, i64 20} !16 = !{!6, !7, i64 24} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/mod/extr_file2alias.c_do_usb_entry_multi.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/mod/extr_file2alias.c_do_usb_entry_multi.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USB_DEVICE_ID_MATCH_DEV_LO = common local_unnamed_addr global i32 0, align 4 @USB_DEVICE_ID_MATCH_DEV_HI = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_usb_entry_multi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_usb_entry_multi(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @TO_NATIVE(i32 noundef %3) #2 store i32 %4, ptr %0, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @TO_NATIVE(i32 noundef %6) #2 store i32 %7, ptr %5, align 4, !tbaa !11 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @TO_NATIVE(i32 noundef %9) #2 store i32 %10, ptr %8, align 4, !tbaa !12 %11 = load i32, ptr %0, align 4, !tbaa !6 %12 = load i32, ptr @USB_DEVICE_ID_MATCH_DEV_LO, align 4, !tbaa !13 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %2 %16 = getelementptr inbounds i8, ptr %0, i64 12 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = tail call i32 @TO_NATIVE(i32 noundef %17) #2 %19 = load i32, ptr %0, align 4, !tbaa !6 br label %20 20: ; preds = %2, %15 %21 = phi i32 [ %19, %15 ], [ %11, %2 ] %22 = phi i32 [ %18, %15 ], [ 0, %2 ] %23 = load i32, ptr @USB_DEVICE_ID_MATCH_DEV_HI, align 4, !tbaa !13 %24 = and i32 %23, %21 %25 = icmp eq i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %20 %27 = getelementptr inbounds i8, ptr %0, i64 16 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = tail call i32 @TO_NATIVE(i32 noundef %28) #2 br label %30 30: ; preds = %20, %26 %31 = phi i32 [ %29, %26 ], [ -1, %20 ] %32 = load i32, ptr %5, align 4, !tbaa !11 %33 = load i32, ptr %8, align 4, !tbaa !12 %34 = or i32 %33, %32 %35 = getelementptr inbounds i8, ptr %0, i64 20 %36 = load i32, ptr %35, align 4, !tbaa !16 %37 = or i32 %34, %36 %38 = getelementptr inbounds i8, ptr %0, i64 24 %39 = load i32, ptr %38, align 4, !tbaa !17 %40 = or i32 %37, %39 %41 = icmp eq i32 %40, 0 %42 = icmp ugt i32 %22, %31 %43 = select i1 %41, i1 true, i1 %42 br i1 %43, label %78, label %44 44: ; preds = %30, %74 %45 = phi i32 [ %76, %74 ], [ 7, %30 ] %46 = phi i32 [ %69, %74 ], [ %22, %30 ] %47 = phi i32 [ %75, %74 ], [ %31, %30 ] %48 = trunc i32 %46 to i8 %49 = and i8 %48, 15 %50 = trunc i32 %47 to i8 %51 = and i8 %50, 15 %52 = and i32 %47, 14 %53 = icmp ugt i32 %52, 9 %54 = select i1 %53, i8 9, i8 %51 %55 = lshr i32 %46, 4 %56 = lshr i32 %47, 4 %57 = icmp ne i32 %55, %56 %58 = icmp ne i32 %45, 0 %59 = select i1 %57, i1 %58, i1 false br i1 %59, label %62, label %60 60: ; preds = %44 %61 = tail call i32 @do_usb_entry(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %45, i8 noundef zeroext %49, i8 noundef zeroext %54, ptr noundef %1) #2 br label %78 62: ; preds = %44 %63 = and i32 %46, 15 %64 = icmp eq i32 %63, 0 br i1 %64, label %68, label %65 65: ; preds = %62 %66 = add nuw nsw i32 %55, 1 %67 = tail call i32 @do_usb_entry(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %45, i8 noundef zeroext %49, i8 noundef zeroext 9, ptr noundef %1) #2 br label %68 68: ; preds = %65, %62 %69 = phi i32 [ %66, %65 ], [ %55, %62 ] %70 = icmp ult i8 %54, 9 br i1 %70, label %71, label %74 71: ; preds = %68 %72 = add nsw i32 %56, -1 %73 = tail call i32 @do_usb_entry(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %45, i8 noundef zeroext 0, i8 noundef zeroext %54, ptr noundef %1) #2 br label %74 74: ; preds = %68, %71 %75 = phi i32 [ %72, %71 ], [ %56, %68 ] %76 = add nsw i32 %45, -1 %77 = icmp ugt i32 %69, %75 br i1 %77, label %78, label %44, !llvm.loop !18 78: ; preds = %74, %60, %30 ret void } declare i32 @TO_NATIVE(i32 noundef) local_unnamed_addr #1 declare i32 @do_usb_entry(ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, 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_device_id", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!7, !8, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 12} !15 = !{!7, !8, i64 16} !16 = !{!7, !8, i64 20} !17 = !{!7, !8, i64 24} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_scripts_mod_extr_file2alias.c_do_usb_entry_multi
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_adv76xx_reset.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_adv76xx_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @adv76xx_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @adv76xx_reset(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %1 %5 = tail call i32 @gpiod_set_value_cansleep(i64 noundef %2, i32 noundef 0) #2 %6 = tail call i32 @usleep_range(i32 noundef 5000, i32 noundef 10000) #2 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = tail call i32 @gpiod_set_value_cansleep(i64 noundef %7, i32 noundef 1) #2 %9 = tail call i32 @usleep_range(i32 noundef 5000, i32 noundef 10000) #2 br label %10 10: ; preds = %4, %1 ret void } declare i32 @gpiod_set_value_cansleep(i64 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, !7, i64 0} !6 = !{!"adv76xx_state", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_adv76xx_reset.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_adv76xx_reset.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 @adv76xx_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @adv76xx_reset(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %1 %5 = tail call i32 @gpiod_set_value_cansleep(i64 noundef %2, i32 noundef 0) #2 %6 = tail call i32 @usleep_range(i32 noundef 5000, i32 noundef 10000) #2 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = tail call i32 @gpiod_set_value_cansleep(i64 noundef %7, i32 noundef 1) #2 %9 = tail call i32 @usleep_range(i32 noundef 5000, i32 noundef 10000) #2 br label %10 10: ; preds = %4, %1 ret void } declare i32 @gpiod_set_value_cansleep(i64 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, !8, i64 0} !7 = !{!"adv76xx_state", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_i2c_extr_adv7604.c_adv76xx_reset
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c___target_execute_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c___target_execute_cmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.se_cmd = type { i32, i32, ptr } @CMD_T_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @CMD_T_SENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__target_execute_cmd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__target_execute_cmd(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.se_cmd, ptr %0, i64 0, i32 1 %3 = tail call i32 @spin_lock_irq(ptr noundef nonnull %2) #2 %4 = load i32, ptr @CMD_T_BUSY, align 4, !tbaa !5 %5 = load i32, ptr @CMD_T_SENT, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = load i32, ptr %0, align 8, !tbaa !9 %8 = or i32 %6, %7 store i32 %8, ptr %0, align 8, !tbaa !9 %9 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %2) #2 %10 = getelementptr inbounds %struct.se_cmd, ptr %0, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = icmp eq ptr %11, null br i1 %12, label %26, label %13 13: ; preds = %1 %14 = tail call i64 %11(ptr noundef nonnull %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %26, label %16 16: ; preds = %13 %17 = tail call i32 @spin_lock_irq(ptr noundef nonnull %2) #2 %18 = load i32, ptr @CMD_T_BUSY, align 4, !tbaa !5 %19 = load i32, ptr @CMD_T_SENT, align 4, !tbaa !5 %20 = or i32 %19, %18 %21 = xor i32 %20, -1 %22 = load i32, ptr %0, align 8, !tbaa !9 %23 = and i32 %22, %21 store i32 %23, ptr %0, align 8, !tbaa !9 %24 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %2) #2 %25 = tail call i32 @transport_generic_request_failure(ptr noundef nonnull %0, i64 noundef %14) #2 br label %26 26: ; preds = %13, %16, %1 ret void } declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @transport_generic_request_failure(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 = !{!"se_cmd", !6, i64 0, !6, i64 4, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c___target_execute_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c___target_execute_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CMD_T_BUSY = common local_unnamed_addr global i32 0, align 4 @CMD_T_SENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__target_execute_cmd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__target_execute_cmd(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @spin_lock_irq(ptr noundef nonnull %2) #2 %4 = load i32, ptr @CMD_T_BUSY, align 4, !tbaa !6 %5 = load i32, ptr @CMD_T_SENT, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = load i32, ptr %0, align 8, !tbaa !10 %8 = or i32 %6, %7 store i32 %8, ptr %0, align 8, !tbaa !10 %9 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %2) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = icmp eq ptr %11, null br i1 %12, label %26, label %13 13: ; preds = %1 %14 = tail call i64 %11(ptr noundef nonnull %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %26, label %16 16: ; preds = %13 %17 = tail call i32 @spin_lock_irq(ptr noundef nonnull %2) #2 %18 = load i32, ptr @CMD_T_BUSY, align 4, !tbaa !6 %19 = load i32, ptr @CMD_T_SENT, align 4, !tbaa !6 %20 = or i32 %19, %18 %21 = xor i32 %20, -1 %22 = load i32, ptr %0, align 8, !tbaa !10 %23 = and i32 %22, %21 store i32 %23, ptr %0, align 8, !tbaa !10 %24 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %2) #2 %25 = tail call i32 @transport_generic_request_failure(ptr noundef nonnull %0, i64 noundef %14) #2 br label %26 26: ; preds = %13, %16, %1 ret void } declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @transport_generic_request_failure(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 = !{!"se_cmd", !7, i64 0, !7, i64 4, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8}
fastsocket_kernel_drivers_target_extr_target_core_transport.c___target_execute_cmd
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_emit_insert_with_nameref.c' source_filename = "AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_emit_insert_with_nameref.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, ptr } @H2O_HPACK_ENCODE_INT_MAX_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @emit_insert_with_nameref], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @emit_insert_with_nameref(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i64 %5) #0 { %7 = trunc i64 %5 to i32 %8 = lshr i64 %5, 32 %9 = trunc i64 %8 to i32 %10 = load i32, ptr %2, align 8, !tbaa !5 %11 = load i32, ptr @H2O_HPACK_ENCODE_INT_MAX_LENGTH, align 4, !tbaa !11 %12 = shl nsw i32 %11, 1 %13 = add i32 %10, %7 %14 = add i32 %13, %12 %15 = tail call i32 @h2o_vector_reserve(ptr noundef %1, ptr noundef nonnull %2, i32 noundef %14) #2 %16 = icmp eq i32 %3, 0 %17 = select i1 %16, i32 128, i32 192 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !12 %20 = load i32, ptr %2, align 8, !tbaa !5 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 store i32 %17, ptr %22, align 4, !tbaa !11 %23 = tail call i32 @flatten_int(ptr noundef nonnull %2, i32 noundef %4, i32 noundef 6) #2 %24 = tail call i32 @flatten_string(ptr noundef nonnull %2, i32 noundef %9, i32 noundef %7, i32 noundef 7, i32 noundef 0) #2 ret void } declare i32 @h2o_vector_reserve(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @flatten_int(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @flatten_string(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, !7, i64 0} !6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_emit_insert_with_nameref.c' source_filename = "AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_emit_insert_with_nameref.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @H2O_HPACK_ENCODE_INT_MAX_LENGTH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @emit_insert_with_nameref], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @emit_insert_with_nameref(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i64 %5) #0 { %7 = trunc i64 %5 to i32 %8 = lshr i64 %5, 32 %9 = trunc nuw i64 %8 to i32 %10 = load i32, ptr %2, align 8, !tbaa !6 %11 = load i32, ptr @H2O_HPACK_ENCODE_INT_MAX_LENGTH, align 4, !tbaa !12 %12 = shl nsw i32 %11, 1 %13 = add i32 %10, %7 %14 = add i32 %13, %12 %15 = tail call i32 @h2o_vector_reserve(ptr noundef %1, ptr noundef nonnull %2, i32 noundef %14) #2 %16 = icmp eq i32 %3, 0 %17 = select i1 %16, i32 128, i32 192 %18 = getelementptr inbounds i8, ptr %2, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = load i32, ptr %2, align 8, !tbaa !6 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 store i32 %17, ptr %22, align 4, !tbaa !12 %23 = tail call i32 @flatten_int(ptr noundef nonnull %2, i32 noundef %4, i32 noundef 6) #2 %24 = tail call i32 @flatten_string(ptr noundef nonnull %2, i32 noundef %9, i32 noundef %7, i32 noundef 7, i32 noundef 0) #2 ret void } declare i32 @h2o_vector_reserve(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @flatten_int(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @flatten_string(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, !8, i64 0} !7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8}
h2o_t_00unit_lib_http3_extr_........libhttp3qpack.c_emit_insert_with_nameref
; ModuleID = 'AnghaBench/freebsd/sys/contrib/alpine-hal/extr_al_hal_serdes_hssp.c_al_serdes_tx_advanced_params_set.c' source_filename = "AnghaBench/freebsd/sys/contrib/alpine-hal/extr_al_hal_serdes_hssp.c_al_serdes_tx_advanced_params_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" %struct.al_serdes_adv_tx_params = type { i32, i32, i32, i32, i32, i32, i32 } @AL_SRDS_REG_TYPE_PMA = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_FLD_TX_DRV_OVERRIDE_EN_REG_NUM = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_FLD_TX_DRV_OVERRIDE_EN = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_HLEV_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_HLEV_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_LEVN_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_LEVN_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_REG_NUM = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_LEVNM1_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_LEVNM1_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_LEVNM2_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_LEVNM2_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_REG_NUM = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_LEVNP1_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_LEVNP1_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_SLEW_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_SLEW_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_REG_NUM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @al_serdes_tx_advanced_params_set], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @al_serdes_tx_advanced_params_set(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds %struct.al_serdes_adv_tx_params, ptr %2, i64 0, i32 6 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @AL_SRDS_REG_TYPE_PMA, align 4, !tbaa !10 %8 = load i32, ptr @SERDES_IREG_FLD_TX_DRV_OVERRIDE_EN_REG_NUM, align 4, !tbaa !10 %9 = load i32, ptr @SERDES_IREG_FLD_TX_DRV_OVERRIDE_EN, align 4, !tbaa !10 br i1 %6, label %10, label %12 10: ; preds = %3 %11 = tail call i32 @al_serdes_grp_reg_masked_write(ptr noundef %0, i32 noundef %1, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %9) #2 br label %52 12: ; preds = %3 %13 = tail call i32 @al_serdes_grp_reg_masked_write(ptr noundef %0, i32 noundef %1, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 0) #2 %14 = load i32, ptr @SERDES_IREG_TX_DRV_1_HLEV_MASK, align 4, !tbaa !10 %15 = load i32, ptr @SERDES_IREG_TX_DRV_1_HLEV_SHIFT, align 4, !tbaa !10 %16 = getelementptr inbounds %struct.al_serdes_adv_tx_params, ptr %2, i64 0, i32 5 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %14, i32 noundef %15, i32 noundef %17) #2 %19 = load i32, ptr @SERDES_IREG_TX_DRV_1_LEVN_MASK, align 4, !tbaa !10 %20 = load i32, ptr @SERDES_IREG_TX_DRV_1_LEVN_SHIFT, align 4, !tbaa !10 %21 = getelementptr inbounds %struct.al_serdes_adv_tx_params, ptr %2, i64 0, i32 4 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %19, i32 noundef %20, i32 noundef %22) #2 %24 = load i32, ptr @AL_SRDS_REG_TYPE_PMA, align 4, !tbaa !10 %25 = load i32, ptr @SERDES_IREG_TX_DRV_1_REG_NUM, align 4, !tbaa !10 %26 = tail call i32 @al_serdes_grp_reg_write(ptr noundef %0, i32 noundef %1, i32 noundef %24, i32 noundef %25, i64 noundef 0) #2 %27 = load i32, ptr @SERDES_IREG_TX_DRV_2_LEVNM1_MASK, align 4, !tbaa !10 %28 = load i32, ptr @SERDES_IREG_TX_DRV_2_LEVNM1_SHIFT, align 4, !tbaa !10 %29 = getelementptr inbounds %struct.al_serdes_adv_tx_params, ptr %2, i64 0, i32 3 %30 = load i32, ptr %29, align 4, !tbaa !13 %31 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %27, i32 noundef %28, i32 noundef %30) #2 %32 = load i32, ptr @SERDES_IREG_TX_DRV_2_LEVNM2_MASK, align 4, !tbaa !10 %33 = load i32, ptr @SERDES_IREG_TX_DRV_2_LEVNM2_SHIFT, align 4, !tbaa !10 %34 = getelementptr inbounds %struct.al_serdes_adv_tx_params, ptr %2, i64 0, i32 2 %35 = load i32, ptr %34, align 4, !tbaa !14 %36 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %32, i32 noundef %33, i32 noundef %35) #2 %37 = load i32, ptr @AL_SRDS_REG_TYPE_PMA, align 4, !tbaa !10 %38 = load i32, ptr @SERDES_IREG_TX_DRV_2_REG_NUM, align 4, !tbaa !10 %39 = tail call i32 @al_serdes_grp_reg_write(ptr noundef %0, i32 noundef %1, i32 noundef %37, i32 noundef %38, i64 noundef 0) #2 %40 = load i32, ptr @SERDES_IREG_TX_DRV_3_LEVNP1_MASK, align 4, !tbaa !10 %41 = load i32, ptr @SERDES_IREG_TX_DRV_3_LEVNP1_SHIFT, align 4, !tbaa !10 %42 = getelementptr inbounds %struct.al_serdes_adv_tx_params, ptr %2, i64 0, i32 1 %43 = load i32, ptr %42, align 4, !tbaa !15 %44 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %40, i32 noundef %41, i32 noundef %43) #2 %45 = load i32, ptr @SERDES_IREG_TX_DRV_3_SLEW_MASK, align 4, !tbaa !10 %46 = load i32, ptr @SERDES_IREG_TX_DRV_3_SLEW_SHIFT, align 4, !tbaa !10 %47 = load i32, ptr %2, align 4, !tbaa !16 %48 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %45, i32 noundef %46, i32 noundef %47) #2 %49 = load i32, ptr @AL_SRDS_REG_TYPE_PMA, align 4, !tbaa !10 %50 = load i32, ptr @SERDES_IREG_TX_DRV_3_REG_NUM, align 4, !tbaa !10 %51 = tail call i32 @al_serdes_grp_reg_write(ptr noundef %0, i32 noundef %1, i32 noundef %49, i32 noundef %50, i64 noundef 0) #2 br label %52 52: ; preds = %12, %10 ret void } declare i32 @al_serdes_grp_reg_masked_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AL_REG_FIELD_SET(i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @al_serdes_grp_reg_write(ptr noundef, i32 noundef, 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, !7, i64 24} !6 = !{!"al_serdes_adv_tx_params", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24} !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 20} !12 = !{!6, !7, i64 16} !13 = !{!6, !7, i64 12} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/alpine-hal/extr_al_hal_serdes_hssp.c_al_serdes_tx_advanced_params_set.c' source_filename = "AnghaBench/freebsd/sys/contrib/alpine-hal/extr_al_hal_serdes_hssp.c_al_serdes_tx_advanced_params_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AL_SRDS_REG_TYPE_PMA = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_FLD_TX_DRV_OVERRIDE_EN_REG_NUM = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_FLD_TX_DRV_OVERRIDE_EN = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_HLEV_MASK = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_HLEV_SHIFT = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_LEVN_MASK = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_LEVN_SHIFT = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_1_REG_NUM = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_LEVNM1_MASK = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_LEVNM1_SHIFT = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_LEVNM2_MASK = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_LEVNM2_SHIFT = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_2_REG_NUM = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_LEVNP1_MASK = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_LEVNP1_SHIFT = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_SLEW_MASK = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_SLEW_SHIFT = common local_unnamed_addr global i32 0, align 4 @SERDES_IREG_TX_DRV_3_REG_NUM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @al_serdes_tx_advanced_params_set], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @al_serdes_tx_advanced_params_set(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds i8, ptr %2, i64 24 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @AL_SRDS_REG_TYPE_PMA, align 4, !tbaa !11 %8 = load i32, ptr @SERDES_IREG_FLD_TX_DRV_OVERRIDE_EN_REG_NUM, align 4, !tbaa !11 %9 = load i32, ptr @SERDES_IREG_FLD_TX_DRV_OVERRIDE_EN, align 4, !tbaa !11 br i1 %6, label %10, label %12 10: ; preds = %3 %11 = tail call i32 @al_serdes_grp_reg_masked_write(ptr noundef %0, i32 noundef %1, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %9) #2 br label %52 12: ; preds = %3 %13 = tail call i32 @al_serdes_grp_reg_masked_write(ptr noundef %0, i32 noundef %1, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef 0) #2 %14 = load i32, ptr @SERDES_IREG_TX_DRV_1_HLEV_MASK, align 4, !tbaa !11 %15 = load i32, ptr @SERDES_IREG_TX_DRV_1_HLEV_SHIFT, align 4, !tbaa !11 %16 = getelementptr inbounds i8, ptr %2, i64 20 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %14, i32 noundef %15, i32 noundef %17) #2 %19 = load i32, ptr @SERDES_IREG_TX_DRV_1_LEVN_MASK, align 4, !tbaa !11 %20 = load i32, ptr @SERDES_IREG_TX_DRV_1_LEVN_SHIFT, align 4, !tbaa !11 %21 = getelementptr inbounds i8, ptr %2, i64 16 %22 = load i32, ptr %21, align 4, !tbaa !13 %23 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %19, i32 noundef %20, i32 noundef %22) #2 %24 = load i32, ptr @AL_SRDS_REG_TYPE_PMA, align 4, !tbaa !11 %25 = load i32, ptr @SERDES_IREG_TX_DRV_1_REG_NUM, align 4, !tbaa !11 %26 = tail call i32 @al_serdes_grp_reg_write(ptr noundef %0, i32 noundef %1, i32 noundef %24, i32 noundef %25, i64 noundef 0) #2 %27 = load i32, ptr @SERDES_IREG_TX_DRV_2_LEVNM1_MASK, align 4, !tbaa !11 %28 = load i32, ptr @SERDES_IREG_TX_DRV_2_LEVNM1_SHIFT, align 4, !tbaa !11 %29 = getelementptr inbounds i8, ptr %2, i64 12 %30 = load i32, ptr %29, align 4, !tbaa !14 %31 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %27, i32 noundef %28, i32 noundef %30) #2 %32 = load i32, ptr @SERDES_IREG_TX_DRV_2_LEVNM2_MASK, align 4, !tbaa !11 %33 = load i32, ptr @SERDES_IREG_TX_DRV_2_LEVNM2_SHIFT, align 4, !tbaa !11 %34 = getelementptr inbounds i8, ptr %2, i64 8 %35 = load i32, ptr %34, align 4, !tbaa !15 %36 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %32, i32 noundef %33, i32 noundef %35) #2 %37 = load i32, ptr @AL_SRDS_REG_TYPE_PMA, align 4, !tbaa !11 %38 = load i32, ptr @SERDES_IREG_TX_DRV_2_REG_NUM, align 4, !tbaa !11 %39 = tail call i32 @al_serdes_grp_reg_write(ptr noundef %0, i32 noundef %1, i32 noundef %37, i32 noundef %38, i64 noundef 0) #2 %40 = load i32, ptr @SERDES_IREG_TX_DRV_3_LEVNP1_MASK, align 4, !tbaa !11 %41 = load i32, ptr @SERDES_IREG_TX_DRV_3_LEVNP1_SHIFT, align 4, !tbaa !11 %42 = getelementptr inbounds i8, ptr %2, i64 4 %43 = load i32, ptr %42, align 4, !tbaa !16 %44 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %40, i32 noundef %41, i32 noundef %43) #2 %45 = load i32, ptr @SERDES_IREG_TX_DRV_3_SLEW_MASK, align 4, !tbaa !11 %46 = load i32, ptr @SERDES_IREG_TX_DRV_3_SLEW_SHIFT, align 4, !tbaa !11 %47 = load i32, ptr %2, align 4, !tbaa !17 %48 = tail call i32 @AL_REG_FIELD_SET(i64 noundef 0, i32 noundef %45, i32 noundef %46, i32 noundef %47) #2 %49 = load i32, ptr @AL_SRDS_REG_TYPE_PMA, align 4, !tbaa !11 %50 = load i32, ptr @SERDES_IREG_TX_DRV_3_REG_NUM, align 4, !tbaa !11 %51 = tail call i32 @al_serdes_grp_reg_write(ptr noundef %0, i32 noundef %1, i32 noundef %49, i32 noundef %50, i64 noundef 0) #2 br label %52 52: ; preds = %12, %10 ret void } declare i32 @al_serdes_grp_reg_masked_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AL_REG_FIELD_SET(i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @al_serdes_grp_reg_write(ptr noundef, i32 noundef, 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, !8, i64 24} !7 = !{!"al_serdes_adv_tx_params", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24} !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 20} !13 = !{!7, !8, i64 16} !14 = !{!7, !8, i64 12} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 4} !17 = !{!7, !8, i64 0}
freebsd_sys_contrib_alpine-hal_extr_al_hal_serdes_hssp.c_al_serdes_tx_advanced_params_set
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_statem_clnt.c_tls_process_key_exchange.c' source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_statem_clnt.c_tls_process_key_exchange.c" target datalayout = "e-m:e-p270:32:32-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_19__ = type { %struct.TYPE_18__, ptr } %struct.TYPE_18__ = type { ptr, i32 } %struct.TYPE_17__ = type { i64, i32 } @SSL_PSK = dso_local local_unnamed_addr global i64 0, align 8 @SSL_kPSK = dso_local local_unnamed_addr global i64 0, align 8 @SSL_kRSAPSK = dso_local local_unnamed_addr global i64 0, align 8 @SSL_kSRP = dso_local local_unnamed_addr global i64 0, align 8 @SSL_kDHE = dso_local local_unnamed_addr global i64 0, align 8 @SSL_kDHEPSK = dso_local local_unnamed_addr global i64 0, align 8 @SSL_kECDHE = dso_local local_unnamed_addr global i64 0, align 8 @SSL_kECDHEPSK = dso_local local_unnamed_addr global i64 0, align 8 @SSL_AD_UNEXPECTED_MESSAGE = dso_local local_unnamed_addr global i32 0, align 4 @SSL_F_TLS_PROCESS_KEY_EXCHANGE = dso_local local_unnamed_addr global i32 0, align 4 @SSL_R_UNEXPECTED_MESSAGE = dso_local local_unnamed_addr global i32 0, align 4 @SSL_AD_DECODE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SSL_R_LENGTH_TOO_SHORT = dso_local local_unnamed_addr global i32 0, align 4 @SSL_AD_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SSL_R_LENGTH_MISMATCH = dso_local local_unnamed_addr global i32 0, align 4 @SSL_R_WRONG_SIGNATURE_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_EVP_LIB = dso_local local_unnamed_addr global i32 0, align 4 @RSA_PKCS1_PSS_PADDING = dso_local local_unnamed_addr global i32 0, align 4 @RSA_PSS_SALTLEN_DIGEST = dso_local local_unnamed_addr global i32 0, align 4 @SSL_AD_DECRYPT_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SSL_R_BAD_SIGNATURE = dso_local local_unnamed_addr global i32 0, align 4 @SSL_aNULL = dso_local local_unnamed_addr global i32 0, align 4 @SSL_aSRP = dso_local local_unnamed_addr global i32 0, align 4 @SSL_R_BAD_DATA = dso_local local_unnamed_addr global i32 0, align 4 @SSL_R_EXTRA_DATA_IN_MESSAGE = dso_local local_unnamed_addr global i32 0, align 4 @MSG_PROCESS_CONTINUE_READING = dso_local local_unnamed_addr global i32 0, align 4 @MSG_PROCESS_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @tls_process_key_exchange(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %11 = load ptr, ptr %0, align 8, !tbaa !9 %12 = load ptr, ptr %11, align 8, !tbaa !11 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = load i32, ptr %1, align 4, !tbaa !18 store i32 %14, ptr %5, align 4, !tbaa !18 %15 = getelementptr inbounds %struct.TYPE_19__, ptr %11, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !19 %17 = tail call i32 @EVP_PKEY_free(ptr noundef %16) #3 %18 = load ptr, ptr %0, align 8, !tbaa !9 %19 = getelementptr inbounds %struct.TYPE_19__, ptr %18, i64 0, i32 1 store ptr null, ptr %19, align 8, !tbaa !19 %20 = load i64, ptr @SSL_PSK, align 8, !tbaa !20 %21 = and i64 %20, %13 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %2 %24 = tail call i32 @tls_process_ske_psk_preamble(ptr noundef nonnull %0, ptr noundef nonnull %1) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %232, label %26 26: ; preds = %23, %2 %27 = load i64, ptr @SSL_kPSK, align 8, !tbaa !20 %28 = load i64, ptr @SSL_kRSAPSK, align 8, !tbaa !20 %29 = or i64 %28, %27 %30 = and i64 %29, %13 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %64 32: ; preds = %26 %33 = load i64, ptr @SSL_kSRP, align 8, !tbaa !20 %34 = and i64 %33, %13 %35 = icmp eq i64 %34, 0 br i1 %35, label %39, label %36 36: ; preds = %32 %37 = call i32 @tls_process_ske_srp(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %38 = icmp eq i32 %37, 0 br i1 %38, label %232, label %64 39: ; preds = %32 %40 = load i64, ptr @SSL_kDHE, align 8, !tbaa !20 %41 = load i64, ptr @SSL_kDHEPSK, align 8, !tbaa !20 %42 = or i64 %41, %40 %43 = and i64 %42, %13 %44 = icmp eq i64 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %39 %46 = call i32 @tls_process_ske_dhe(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %232, label %64 48: ; preds = %39 %49 = load i64, ptr @SSL_kECDHE, align 8, !tbaa !20 %50 = load i64, ptr @SSL_kECDHEPSK, align 8, !tbaa !20 %51 = or i64 %50, %49 %52 = and i64 %51, %13 %53 = icmp eq i64 %52, 0 br i1 %53, label %57, label %54 54: ; preds = %48 %55 = call i32 @tls_process_ske_ecdhe(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %232, label %64 57: ; preds = %48 %58 = icmp eq i64 %13, 0 br i1 %58, label %64, label %59 59: ; preds = %57 %60 = load i32, ptr @SSL_AD_UNEXPECTED_MESSAGE, align 4, !tbaa !18 %61 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %62 = load i32, ptr @SSL_R_UNEXPECTED_MESSAGE, align 4, !tbaa !18 %63 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %61, i32 noundef %62) #3 br label %232 64: ; preds = %36, %54, %57, %45, %26 %65 = load ptr, ptr %3, align 8, !tbaa !5 %66 = icmp eq ptr %65, null br i1 %66, label %202, label %67 67: ; preds = %64 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 store ptr null, ptr %8, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 %68 = call i64 @PACKET_remaining(ptr noundef nonnull %5) #3 %69 = call i64 @PACKET_remaining(ptr noundef nonnull %1) #3 %70 = sub i64 %68, %69 %71 = call i32 @PACKET_get_sub_packet(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %70) #3 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %78 73: ; preds = %67 %74 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !18 %75 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %76 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !18 %77 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %74, i32 noundef %75, i32 noundef %76) #3 br label %199 78: ; preds = %67 %79 = call i64 @SSL_USE_SIGALGS(ptr noundef nonnull %0) #3 %80 = icmp eq i64 %79, 0 br i1 %80, label %94, label %81 81: ; preds = %78 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 %82 = call i32 @PACKET_get_net_2(ptr noundef nonnull %1, ptr noundef nonnull %10) #3 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %89 84: ; preds = %81 %85 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !18 %86 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %87 = load i32, ptr @SSL_R_LENGTH_TOO_SHORT, align 4, !tbaa !18 %88 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %85, i32 noundef %86, i32 noundef %87) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 br label %199 89: ; preds = %81 %90 = load i32, ptr %10, align 4, !tbaa !18 %91 = load ptr, ptr %3, align 8, !tbaa !5 %92 = call i64 @tls12_check_peer_sigalg(ptr noundef nonnull %0, i32 noundef %90, ptr noundef %91) #3 %93 = icmp sgt i64 %92, 0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 br i1 %93, label %103, label %201 94: ; preds = %78 %95 = load ptr, ptr %3, align 8, !tbaa !5 %96 = call i32 @tls1_set_peer_legacy_sigalg(ptr noundef nonnull %0, ptr noundef %95) #3 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %103 98: ; preds = %94 %99 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !18 %100 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %101 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !18 %102 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %99, i32 noundef %100, i32 noundef %101) #3 br label %199 103: ; preds = %94, %89 %104 = load ptr, ptr %0, align 8, !tbaa !9 %105 = getelementptr inbounds %struct.TYPE_18__, ptr %104, i64 0, i32 1 %106 = load i32, ptr %105, align 8, !tbaa !21 %107 = call i32 @tls1_lookup_md(i32 noundef %106, ptr noundef nonnull %8) #3 %108 = icmp eq i32 %107, 0 br i1 %108, label %109, label %114 109: ; preds = %103 %110 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !18 %111 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %112 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !18 %113 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %110, i32 noundef %111, i32 noundef %112) #3 br label %199 114: ; preds = %103 %115 = call i32 @PACKET_get_length_prefixed_2(ptr noundef nonnull %1, ptr noundef nonnull %6) #3 %116 = icmp eq i32 %115, 0 br i1 %116, label %120, label %117 117: ; preds = %114 %118 = call i64 @PACKET_remaining(ptr noundef nonnull %1) #3 %119 = icmp eq i64 %118, 0 br i1 %119, label %125, label %120 120: ; preds = %117, %114 %121 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !18 %122 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %123 = load i32, ptr @SSL_R_LENGTH_MISMATCH, align 4, !tbaa !18 %124 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %121, i32 noundef %122, i32 noundef %123) #3 br label %199 125: ; preds = %117 %126 = load ptr, ptr %3, align 8, !tbaa !5 %127 = call i32 @EVP_PKEY_size(ptr noundef %126) #3 %128 = icmp slt i32 %127, 0 br i1 %128, label %129, label %134 129: ; preds = %125 %130 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !18 %131 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %132 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !18 %133 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %130, i32 noundef %131, i32 noundef %132) #3 br label %199 134: ; preds = %125 %135 = call i64 @PACKET_remaining(ptr noundef nonnull %6) #3 %136 = zext nneg i32 %127 to i64 %137 = icmp ugt i64 %135, %136 br i1 %137, label %138, label %143 138: ; preds = %134 %139 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !18 %140 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %141 = load i32, ptr @SSL_R_WRONG_SIGNATURE_LENGTH, align 4, !tbaa !18 %142 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %139, i32 noundef %140, i32 noundef %141) #3 br label %199 143: ; preds = %134 %144 = call ptr (...) @EVP_MD_CTX_new() #3 %145 = icmp eq ptr %144, null br i1 %145, label %146, label %151 146: ; preds = %143 %147 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !18 %148 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %149 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !18 %150 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %147, i32 noundef %148, i32 noundef %149) #3 br label %199 151: ; preds = %143 %152 = load ptr, ptr %8, align 8, !tbaa !5 %153 = load ptr, ptr %3, align 8, !tbaa !5 %154 = call i64 @EVP_DigestVerifyInit(ptr noundef nonnull %144, ptr noundef nonnull %4, ptr noundef %152, ptr noundef null, ptr noundef %153) #3 %155 = icmp slt i64 %154, 1 br i1 %155, label %156, label %161 156: ; preds = %151 %157 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !18 %158 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %159 = load i32, ptr @ERR_R_EVP_LIB, align 4, !tbaa !18 %160 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %157, i32 noundef %158, i32 noundef %159) #3 br label %199 161: ; preds = %151 %162 = call i64 @SSL_USE_PSS(ptr noundef nonnull %0) #3 %163 = icmp eq i64 %162, 0 br i1 %163, label %179, label %164 164: ; preds = %161 %165 = load ptr, ptr %4, align 8, !tbaa !5 %166 = load i32, ptr @RSA_PKCS1_PSS_PADDING, align 4, !tbaa !18 %167 = call i64 @EVP_PKEY_CTX_set_rsa_padding(ptr noundef %165, i32 noundef %166) #3 %168 = icmp slt i64 %167, 1 br i1 %168, label %174, label %169 169: ; preds = %164 %170 = load ptr, ptr %4, align 8, !tbaa !5 %171 = load i32, ptr @RSA_PSS_SALTLEN_DIGEST, align 4, !tbaa !18 %172 = call i64 @EVP_PKEY_CTX_set_rsa_pss_saltlen(ptr noundef %170, i32 noundef %171) #3 %173 = icmp slt i64 %172, 1 br i1 %173, label %174, label %179 174: ; preds = %169, %164 %175 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !18 %176 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %177 = load i32, ptr @ERR_R_EVP_LIB, align 4, !tbaa !18 %178 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %175, i32 noundef %176, i32 noundef %177) #3 br label %199 179: ; preds = %169, %161 %180 = call i32 @PACKET_data(ptr noundef nonnull %7) #3 %181 = call i64 @PACKET_remaining(ptr noundef nonnull %7) #3 %182 = call i64 @construct_key_exchange_tbs(ptr noundef nonnull %0, ptr noundef nonnull %9, i32 noundef %180, i64 noundef %181) #3 %183 = icmp eq i64 %182, 0 br i1 %183, label %199, label %184 184: ; preds = %179 %185 = call i32 @PACKET_data(ptr noundef nonnull %6) #3 %186 = call i64 @PACKET_remaining(ptr noundef nonnull %6) #3 %187 = load ptr, ptr %9, align 8, !tbaa !5 %188 = call i32 @EVP_DigestVerify(ptr noundef nonnull %144, i32 noundef %185, i64 noundef %186, ptr noundef %187, i64 noundef %182) #3 %189 = load ptr, ptr %9, align 8, !tbaa !5 %190 = call i32 @OPENSSL_free(ptr noundef %189) #3 %191 = icmp slt i32 %188, 1 br i1 %191, label %192, label %197 192: ; preds = %184 %193 = load i32, ptr @SSL_AD_DECRYPT_ERROR, align 4, !tbaa !18 %194 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %195 = load i32, ptr @SSL_R_BAD_SIGNATURE, align 4, !tbaa !18 %196 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %193, i32 noundef %194, i32 noundef %195) #3 br label %199 197: ; preds = %184 %198 = call i32 @EVP_MD_CTX_free(ptr noundef nonnull %144) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %235 199: ; preds = %120, %129, %138, %146, %156, %174, %192, %109, %98, %73, %179, %84 %200 = phi ptr [ null, %84 ], [ %144, %179 ], [ null, %73 ], [ null, %98 ], [ null, %109 ], [ %144, %192 ], [ %144, %174 ], [ %144, %156 ], [ null, %146 ], [ null, %138 ], [ null, %129 ], [ null, %120 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %232 201: ; preds = %89 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %232 202: ; preds = %64 %203 = load ptr, ptr %0, align 8, !tbaa !9 %204 = load ptr, ptr %203, align 8, !tbaa !11 %205 = getelementptr inbounds %struct.TYPE_17__, ptr %204, i64 0, i32 1 %206 = load i32, ptr %205, align 8, !tbaa !22 %207 = load i32, ptr @SSL_aNULL, align 4, !tbaa !18 %208 = load i32, ptr @SSL_aSRP, align 4, !tbaa !18 %209 = or i32 %208, %207 %210 = and i32 %209, %206 %211 = icmp eq i32 %210, 0 br i1 %211, label %212, label %224 212: ; preds = %202 %213 = load i64, ptr @SSL_PSK, align 8, !tbaa !20 %214 = and i64 %213, %13 %215 = icmp eq i64 %214, 0 br i1 %215, label %216, label %224 216: ; preds = %212 %217 = call i64 @ssl3_check_cert_and_algorithm(ptr noundef nonnull %0) #3 %218 = icmp eq i64 %217, 0 br i1 %218, label %232, label %219 219: ; preds = %216 %220 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !18 %221 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %222 = load i32, ptr @SSL_R_BAD_DATA, align 4, !tbaa !18 %223 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %220, i32 noundef %221, i32 noundef %222) #3 br label %232 224: ; preds = %212, %202 %225 = call i64 @PACKET_remaining(ptr noundef nonnull %1) #3 %226 = icmp eq i64 %225, 0 br i1 %226, label %235, label %227 227: ; preds = %224 %228 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !18 %229 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !18 %230 = load i32, ptr @SSL_R_EXTRA_DATA_IN_MESSAGE, align 4, !tbaa !18 %231 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %228, i32 noundef %229, i32 noundef %230) #3 br label %232 232: ; preds = %201, %199, %216, %219, %54, %45, %36, %23, %227, %59 %233 = phi ptr [ null, %201 ], [ null, %227 ], [ null, %219 ], [ null, %216 ], [ null, %36 ], [ null, %45 ], [ null, %54 ], [ null, %59 ], [ null, %23 ], [ %200, %199 ] %234 = call i32 @EVP_MD_CTX_free(ptr noundef %233) #3 br label %235 235: ; preds = %224, %197, %232 %236 = phi ptr [ @MSG_PROCESS_ERROR, %232 ], [ @MSG_PROCESS_CONTINUE_READING, %197 ], [ @MSG_PROCESS_CONTINUE_READING, %224 ] %237 = load i32, ptr %236, align 4, !tbaa !18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %237 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #2 declare i32 @tls_process_ske_psk_preamble(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls_process_ske_srp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls_process_ske_dhe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls_process_ske_ecdhe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PACKET_get_sub_packet(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @PACKET_remaining(ptr noundef) local_unnamed_addr #2 declare i64 @SSL_USE_SIGALGS(ptr noundef) local_unnamed_addr #2 declare i32 @PACKET_get_net_2(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tls12_check_peer_sigalg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @tls1_set_peer_legacy_sigalg(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls1_lookup_md(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PACKET_get_length_prefixed_2(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_size(ptr noundef) local_unnamed_addr #2 declare ptr @EVP_MD_CTX_new(...) local_unnamed_addr #2 declare i64 @EVP_DigestVerifyInit(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @SSL_USE_PSS(ptr noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_CTX_set_rsa_padding(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_CTX_set_rsa_pss_saltlen(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @construct_key_exchange_tbs(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @PACKET_data(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_DigestVerify(ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_MD_CTX_free(ptr noundef) local_unnamed_addr #2 declare i64 @ssl3_check_cert_and_algorithm(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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_20__", !6, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_19__", !13, i64 0, !6, i64 16} !13 = !{!"TYPE_18__", !6, i64 0, !14, i64 8} !14 = !{!"int", !7, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_17__", !17, i64 0, !14, i64 8} !17 = !{!"long", !7, i64 0} !18 = !{!14, !14, i64 0} !19 = !{!12, !6, i64 16} !20 = !{!17, !17, i64 0} !21 = !{!12, !14, i64 8} !22 = !{!16, !14, i64 8}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_statem_clnt.c_tls_process_key_exchange.c' source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_statem_clnt.c_tls_process_key_exchange.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SSL_PSK = common local_unnamed_addr global i64 0, align 8 @SSL_kPSK = common local_unnamed_addr global i64 0, align 8 @SSL_kRSAPSK = common local_unnamed_addr global i64 0, align 8 @SSL_kSRP = common local_unnamed_addr global i64 0, align 8 @SSL_kDHE = common local_unnamed_addr global i64 0, align 8 @SSL_kDHEPSK = common local_unnamed_addr global i64 0, align 8 @SSL_kECDHE = common local_unnamed_addr global i64 0, align 8 @SSL_kECDHEPSK = common local_unnamed_addr global i64 0, align 8 @SSL_AD_UNEXPECTED_MESSAGE = common local_unnamed_addr global i32 0, align 4 @SSL_F_TLS_PROCESS_KEY_EXCHANGE = common local_unnamed_addr global i32 0, align 4 @SSL_R_UNEXPECTED_MESSAGE = common local_unnamed_addr global i32 0, align 4 @SSL_AD_DECODE_ERROR = common local_unnamed_addr global i32 0, align 4 @ERR_R_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @SSL_R_LENGTH_TOO_SHORT = common local_unnamed_addr global i32 0, align 4 @SSL_AD_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @SSL_R_LENGTH_MISMATCH = common local_unnamed_addr global i32 0, align 4 @SSL_R_WRONG_SIGNATURE_LENGTH = common local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4 @ERR_R_EVP_LIB = common local_unnamed_addr global i32 0, align 4 @RSA_PKCS1_PSS_PADDING = common local_unnamed_addr global i32 0, align 4 @RSA_PSS_SALTLEN_DIGEST = common local_unnamed_addr global i32 0, align 4 @SSL_AD_DECRYPT_ERROR = common local_unnamed_addr global i32 0, align 4 @SSL_R_BAD_SIGNATURE = common local_unnamed_addr global i32 0, align 4 @SSL_aNULL = common local_unnamed_addr global i32 0, align 4 @SSL_aSRP = common local_unnamed_addr global i32 0, align 4 @SSL_R_BAD_DATA = common local_unnamed_addr global i32 0, align 4 @SSL_R_EXTRA_DATA_IN_MESSAGE = common local_unnamed_addr global i32 0, align 4 @MSG_PROCESS_CONTINUE_READING = common local_unnamed_addr global i32 0, align 4 @MSG_PROCESS_ERROR = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @tls_process_key_exchange(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %11 = load ptr, ptr %0, align 8, !tbaa !10 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = load i64, ptr %12, align 8, !tbaa !16 %14 = load i32, ptr %1, align 4, !tbaa !19 store i32 %14, ptr %5, align 4, !tbaa !19 %15 = getelementptr inbounds i8, ptr %11, i64 16 %16 = load ptr, ptr %15, align 8, !tbaa !20 %17 = tail call i32 @EVP_PKEY_free(ptr noundef %16) #3 %18 = load ptr, ptr %0, align 8, !tbaa !10 %19 = getelementptr inbounds i8, ptr %18, i64 16 store ptr null, ptr %19, align 8, !tbaa !20 %20 = load i64, ptr @SSL_PSK, align 8, !tbaa !21 %21 = and i64 %20, %13 %22 = icmp eq i64 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %2 %24 = tail call i32 @tls_process_ske_psk_preamble(ptr noundef nonnull %0, ptr noundef nonnull %1) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %232, label %26 26: ; preds = %23, %2 %27 = load i64, ptr @SSL_kPSK, align 8, !tbaa !21 %28 = load i64, ptr @SSL_kRSAPSK, align 8, !tbaa !21 %29 = or i64 %28, %27 %30 = and i64 %29, %13 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %64 32: ; preds = %26 %33 = load i64, ptr @SSL_kSRP, align 8, !tbaa !21 %34 = and i64 %33, %13 %35 = icmp eq i64 %34, 0 br i1 %35, label %39, label %36 36: ; preds = %32 %37 = call i32 @tls_process_ske_srp(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %38 = icmp eq i32 %37, 0 br i1 %38, label %232, label %64 39: ; preds = %32 %40 = load i64, ptr @SSL_kDHE, align 8, !tbaa !21 %41 = load i64, ptr @SSL_kDHEPSK, align 8, !tbaa !21 %42 = or i64 %41, %40 %43 = and i64 %42, %13 %44 = icmp eq i64 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %39 %46 = call i32 @tls_process_ske_dhe(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %232, label %64 48: ; preds = %39 %49 = load i64, ptr @SSL_kECDHE, align 8, !tbaa !21 %50 = load i64, ptr @SSL_kECDHEPSK, align 8, !tbaa !21 %51 = or i64 %50, %49 %52 = and i64 %51, %13 %53 = icmp eq i64 %52, 0 br i1 %53, label %57, label %54 54: ; preds = %48 %55 = call i32 @tls_process_ske_ecdhe(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %232, label %64 57: ; preds = %48 %58 = icmp eq i64 %13, 0 br i1 %58, label %64, label %59 59: ; preds = %57 %60 = load i32, ptr @SSL_AD_UNEXPECTED_MESSAGE, align 4, !tbaa !19 %61 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %62 = load i32, ptr @SSL_R_UNEXPECTED_MESSAGE, align 4, !tbaa !19 %63 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %61, i32 noundef %62) #3 br label %232 64: ; preds = %36, %54, %57, %45, %26 %65 = load ptr, ptr %3, align 8, !tbaa !6 %66 = icmp eq ptr %65, null br i1 %66, label %202, label %67 67: ; preds = %64 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 store ptr null, ptr %8, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 %68 = call i64 @PACKET_remaining(ptr noundef nonnull %5) #3 %69 = call i64 @PACKET_remaining(ptr noundef nonnull %1) #3 %70 = sub i64 %68, %69 %71 = call i32 @PACKET_get_sub_packet(ptr noundef nonnull %5, ptr noundef nonnull %7, i64 noundef %70) #3 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %78 73: ; preds = %67 %74 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !19 %75 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %76 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !19 %77 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %74, i32 noundef %75, i32 noundef %76) #3 br label %199 78: ; preds = %67 %79 = call i64 @SSL_USE_SIGALGS(ptr noundef nonnull %0) #3 %80 = icmp eq i64 %79, 0 br i1 %80, label %94, label %81 81: ; preds = %78 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 %82 = call i32 @PACKET_get_net_2(ptr noundef nonnull %1, ptr noundef nonnull %10) #3 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %89 84: ; preds = %81 %85 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !19 %86 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %87 = load i32, ptr @SSL_R_LENGTH_TOO_SHORT, align 4, !tbaa !19 %88 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %85, i32 noundef %86, i32 noundef %87) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 br label %199 89: ; preds = %81 %90 = load i32, ptr %10, align 4, !tbaa !19 %91 = load ptr, ptr %3, align 8, !tbaa !6 %92 = call i64 @tls12_check_peer_sigalg(ptr noundef nonnull %0, i32 noundef %90, ptr noundef %91) #3 %93 = icmp sgt i64 %92, 0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3 br i1 %93, label %103, label %201 94: ; preds = %78 %95 = load ptr, ptr %3, align 8, !tbaa !6 %96 = call i32 @tls1_set_peer_legacy_sigalg(ptr noundef nonnull %0, ptr noundef %95) #3 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %103 98: ; preds = %94 %99 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !19 %100 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %101 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !19 %102 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %99, i32 noundef %100, i32 noundef %101) #3 br label %199 103: ; preds = %94, %89 %104 = load ptr, ptr %0, align 8, !tbaa !10 %105 = getelementptr inbounds i8, ptr %104, i64 8 %106 = load i32, ptr %105, align 8, !tbaa !22 %107 = call i32 @tls1_lookup_md(i32 noundef %106, ptr noundef nonnull %8) #3 %108 = icmp eq i32 %107, 0 br i1 %108, label %109, label %114 109: ; preds = %103 %110 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !19 %111 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %112 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !19 %113 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %110, i32 noundef %111, i32 noundef %112) #3 br label %199 114: ; preds = %103 %115 = call i32 @PACKET_get_length_prefixed_2(ptr noundef nonnull %1, ptr noundef nonnull %6) #3 %116 = icmp eq i32 %115, 0 br i1 %116, label %120, label %117 117: ; preds = %114 %118 = call i64 @PACKET_remaining(ptr noundef nonnull %1) #3 %119 = icmp eq i64 %118, 0 br i1 %119, label %125, label %120 120: ; preds = %117, %114 %121 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !19 %122 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %123 = load i32, ptr @SSL_R_LENGTH_MISMATCH, align 4, !tbaa !19 %124 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %121, i32 noundef %122, i32 noundef %123) #3 br label %199 125: ; preds = %117 %126 = load ptr, ptr %3, align 8, !tbaa !6 %127 = call i32 @EVP_PKEY_size(ptr noundef %126) #3 %128 = icmp slt i32 %127, 0 br i1 %128, label %129, label %134 129: ; preds = %125 %130 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !19 %131 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %132 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !19 %133 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %130, i32 noundef %131, i32 noundef %132) #3 br label %199 134: ; preds = %125 %135 = call i64 @PACKET_remaining(ptr noundef nonnull %6) #3 %136 = zext nneg i32 %127 to i64 %137 = icmp ugt i64 %135, %136 br i1 %137, label %138, label %143 138: ; preds = %134 %139 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !19 %140 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %141 = load i32, ptr @SSL_R_WRONG_SIGNATURE_LENGTH, align 4, !tbaa !19 %142 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %139, i32 noundef %140, i32 noundef %141) #3 br label %199 143: ; preds = %134 %144 = call ptr @EVP_MD_CTX_new() #3 %145 = icmp eq ptr %144, null br i1 %145, label %146, label %151 146: ; preds = %143 %147 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !19 %148 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %149 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !19 %150 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %147, i32 noundef %148, i32 noundef %149) #3 br label %199 151: ; preds = %143 %152 = load ptr, ptr %8, align 8, !tbaa !6 %153 = load ptr, ptr %3, align 8, !tbaa !6 %154 = call i64 @EVP_DigestVerifyInit(ptr noundef nonnull %144, ptr noundef nonnull %4, ptr noundef %152, ptr noundef null, ptr noundef %153) #3 %155 = icmp slt i64 %154, 1 br i1 %155, label %156, label %161 156: ; preds = %151 %157 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !19 %158 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %159 = load i32, ptr @ERR_R_EVP_LIB, align 4, !tbaa !19 %160 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %157, i32 noundef %158, i32 noundef %159) #3 br label %199 161: ; preds = %151 %162 = call i64 @SSL_USE_PSS(ptr noundef nonnull %0) #3 %163 = icmp eq i64 %162, 0 br i1 %163, label %179, label %164 164: ; preds = %161 %165 = load ptr, ptr %4, align 8, !tbaa !6 %166 = load i32, ptr @RSA_PKCS1_PSS_PADDING, align 4, !tbaa !19 %167 = call i64 @EVP_PKEY_CTX_set_rsa_padding(ptr noundef %165, i32 noundef %166) #3 %168 = icmp slt i64 %167, 1 br i1 %168, label %174, label %169 169: ; preds = %164 %170 = load ptr, ptr %4, align 8, !tbaa !6 %171 = load i32, ptr @RSA_PSS_SALTLEN_DIGEST, align 4, !tbaa !19 %172 = call i64 @EVP_PKEY_CTX_set_rsa_pss_saltlen(ptr noundef %170, i32 noundef %171) #3 %173 = icmp slt i64 %172, 1 br i1 %173, label %174, label %179 174: ; preds = %169, %164 %175 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !19 %176 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %177 = load i32, ptr @ERR_R_EVP_LIB, align 4, !tbaa !19 %178 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %175, i32 noundef %176, i32 noundef %177) #3 br label %199 179: ; preds = %169, %161 %180 = call i32 @PACKET_data(ptr noundef nonnull %7) #3 %181 = call i64 @PACKET_remaining(ptr noundef nonnull %7) #3 %182 = call i64 @construct_key_exchange_tbs(ptr noundef nonnull %0, ptr noundef nonnull %9, i32 noundef %180, i64 noundef %181) #3 %183 = icmp eq i64 %182, 0 br i1 %183, label %199, label %184 184: ; preds = %179 %185 = call i32 @PACKET_data(ptr noundef nonnull %6) #3 %186 = call i64 @PACKET_remaining(ptr noundef nonnull %6) #3 %187 = load ptr, ptr %9, align 8, !tbaa !6 %188 = call i32 @EVP_DigestVerify(ptr noundef nonnull %144, i32 noundef %185, i64 noundef %186, ptr noundef %187, i64 noundef %182) #3 %189 = load ptr, ptr %9, align 8, !tbaa !6 %190 = call i32 @OPENSSL_free(ptr noundef %189) #3 %191 = icmp slt i32 %188, 1 br i1 %191, label %192, label %197 192: ; preds = %184 %193 = load i32, ptr @SSL_AD_DECRYPT_ERROR, align 4, !tbaa !19 %194 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %195 = load i32, ptr @SSL_R_BAD_SIGNATURE, align 4, !tbaa !19 %196 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %193, i32 noundef %194, i32 noundef %195) #3 br label %199 197: ; preds = %184 %198 = call i32 @EVP_MD_CTX_free(ptr noundef nonnull %144) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %235 199: ; preds = %120, %129, %138, %146, %156, %174, %192, %109, %98, %73, %179, %84 %200 = phi ptr [ null, %84 ], [ %144, %179 ], [ null, %73 ], [ null, %98 ], [ null, %109 ], [ %144, %192 ], [ %144, %174 ], [ %144, %156 ], [ null, %146 ], [ null, %138 ], [ null, %129 ], [ null, %120 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %232 201: ; preds = %89 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 br label %232 202: ; preds = %64 %203 = load ptr, ptr %0, align 8, !tbaa !10 %204 = load ptr, ptr %203, align 8, !tbaa !12 %205 = getelementptr inbounds i8, ptr %204, i64 8 %206 = load i32, ptr %205, align 8, !tbaa !23 %207 = load i32, ptr @SSL_aNULL, align 4, !tbaa !19 %208 = load i32, ptr @SSL_aSRP, align 4, !tbaa !19 %209 = or i32 %208, %207 %210 = and i32 %209, %206 %211 = icmp eq i32 %210, 0 br i1 %211, label %212, label %224 212: ; preds = %202 %213 = load i64, ptr @SSL_PSK, align 8, !tbaa !21 %214 = and i64 %213, %13 %215 = icmp eq i64 %214, 0 br i1 %215, label %216, label %224 216: ; preds = %212 %217 = call i64 @ssl3_check_cert_and_algorithm(ptr noundef nonnull %0) #3 %218 = icmp eq i64 %217, 0 br i1 %218, label %232, label %219 219: ; preds = %216 %220 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !19 %221 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %222 = load i32, ptr @SSL_R_BAD_DATA, align 4, !tbaa !19 %223 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %220, i32 noundef %221, i32 noundef %222) #3 br label %232 224: ; preds = %212, %202 %225 = call i64 @PACKET_remaining(ptr noundef nonnull %1) #3 %226 = icmp eq i64 %225, 0 br i1 %226, label %235, label %227 227: ; preds = %224 %228 = load i32, ptr @SSL_AD_DECODE_ERROR, align 4, !tbaa !19 %229 = load i32, ptr @SSL_F_TLS_PROCESS_KEY_EXCHANGE, align 4, !tbaa !19 %230 = load i32, ptr @SSL_R_EXTRA_DATA_IN_MESSAGE, align 4, !tbaa !19 %231 = call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %228, i32 noundef %229, i32 noundef %230) #3 br label %232 232: ; preds = %201, %199, %216, %219, %54, %45, %36, %23, %227, %59 %233 = phi ptr [ null, %201 ], [ null, %227 ], [ null, %219 ], [ null, %216 ], [ null, %36 ], [ null, %45 ], [ null, %54 ], [ null, %59 ], [ null, %23 ], [ %200, %199 ] %234 = call i32 @EVP_MD_CTX_free(ptr noundef %233) #3 br label %235 235: ; preds = %224, %197, %232 %236 = phi ptr [ @MSG_PROCESS_ERROR, %232 ], [ @MSG_PROCESS_CONTINUE_READING, %197 ], [ @MSG_PROCESS_CONTINUE_READING, %224 ] %237 = load i32, ptr %236, align 4, !tbaa !19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %237 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @EVP_PKEY_free(ptr noundef) local_unnamed_addr #2 declare i32 @tls_process_ske_psk_preamble(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls_process_ske_srp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls_process_ske_dhe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls_process_ske_ecdhe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PACKET_get_sub_packet(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @PACKET_remaining(ptr noundef) local_unnamed_addr #2 declare i64 @SSL_USE_SIGALGS(ptr noundef) local_unnamed_addr #2 declare i32 @PACKET_get_net_2(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tls12_check_peer_sigalg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @tls1_set_peer_legacy_sigalg(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tls1_lookup_md(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PACKET_get_length_prefixed_2(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @EVP_PKEY_size(ptr noundef) local_unnamed_addr #2 declare ptr @EVP_MD_CTX_new(...) local_unnamed_addr #2 declare i64 @EVP_DigestVerifyInit(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @SSL_USE_PSS(ptr noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_CTX_set_rsa_padding(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @EVP_PKEY_CTX_set_rsa_pss_saltlen(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @construct_key_exchange_tbs(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @PACKET_data(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_DigestVerify(ptr noundef, i32 noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #2 declare i32 @EVP_MD_CTX_free(ptr noundef) local_unnamed_addr #2 declare i64 @ssl3_check_cert_and_algorithm(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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_20__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_19__", !14, i64 0, !7, i64 16} !14 = !{!"TYPE_18__", !7, i64 0, !15, i64 8} !15 = !{!"int", !8, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_17__", !18, i64 0, !15, i64 8} !18 = !{!"long", !8, i64 0} !19 = !{!15, !15, i64 0} !20 = !{!13, !7, i64 16} !21 = !{!18, !18, i64 0} !22 = !{!13, !15, i64 8} !23 = !{!17, !15, i64 8}
freebsd_crypto_openssl_ssl_statem_extr_statem_clnt.c_tls_process_key_exchange
; ModuleID = 'AnghaBench/libuv/test/extr_test-fork.c_assert_run_work.c' source_filename = "AnghaBench/libuv/test/extr_test-fork.c_assert_run_work.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @work_cb_count = dso_local local_unnamed_addr global i32 0, align 4 @after_work_cb_count = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"Queue in %d\0A\00", align 1 @work_cb = dso_local local_unnamed_addr global i32 0, align 4 @after_work_cb = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"Running in %d\0A\00", align 1 @UV_RUN_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @assert_run_work], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @assert_run_work(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @work_cb_count, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5) #3 %7 = load i32, ptr @after_work_cb_count, align 4, !tbaa !5 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i32 @ASSERT(i32 noundef %9) #3 %11 = tail call i32 (...) @getpid() #3 %12 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %11) #3 %13 = load i32, ptr @work_cb, align 4, !tbaa !5 %14 = load i32, ptr @after_work_cb, align 4, !tbaa !5 %15 = call i32 @uv_queue_work(ptr noundef %0, ptr noundef nonnull %2, i32 noundef %13, i32 noundef %14) #3 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @ASSERT(i32 noundef %17) #3 %19 = call i32 (...) @getpid() #3 %20 = call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %19) #3 %21 = load i32, ptr @UV_RUN_DEFAULT, align 4, !tbaa !5 %22 = call i32 @uv_run(ptr noundef %0, i32 noundef %21) #3 %23 = load i32, ptr @work_cb_count, align 4, !tbaa !5 %24 = icmp eq i32 %23, 1 %25 = zext i1 %24 to i32 %26 = call i32 @ASSERT(i32 noundef %25) #3 %27 = load i32, ptr @after_work_cb_count, align 4, !tbaa !5 %28 = icmp eq i32 %27, 1 %29 = zext i1 %28 to i32 %30 = call i32 @ASSERT(i32 noundef %29) #3 store i32 0, ptr @work_cb_count, align 4, !tbaa !5 store i32 0, ptr @after_work_cb_count, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @getpid(...) local_unnamed_addr #2 declare i32 @uv_queue_work(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @uv_run(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/libuv/test/extr_test-fork.c_assert_run_work.c' source_filename = "AnghaBench/libuv/test/extr_test-fork.c_assert_run_work.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @work_cb_count = common local_unnamed_addr global i32 0, align 4 @after_work_cb_count = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"Queue in %d\0A\00", align 1 @work_cb = common local_unnamed_addr global i32 0, align 4 @after_work_cb = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"Running in %d\0A\00", align 1 @UV_RUN_DEFAULT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @assert_run_work], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @assert_run_work(ptr noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = load i32, ptr @work_cb_count, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5) #3 %7 = load i32, ptr @after_work_cb_count, align 4, !tbaa !6 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i32 @ASSERT(i32 noundef %9) #3 %11 = tail call i32 @getpid() #3 %12 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %11) #3 %13 = load i32, ptr @work_cb, align 4, !tbaa !6 %14 = load i32, ptr @after_work_cb, align 4, !tbaa !6 %15 = call i32 @uv_queue_work(ptr noundef %0, ptr noundef nonnull %2, i32 noundef %13, i32 noundef %14) #3 %16 = icmp eq i32 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @ASSERT(i32 noundef %17) #3 %19 = call i32 @getpid() #3 %20 = call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %19) #3 %21 = load i32, ptr @UV_RUN_DEFAULT, align 4, !tbaa !6 %22 = call i32 @uv_run(ptr noundef %0, i32 noundef %21) #3 %23 = load i32, ptr @work_cb_count, align 4, !tbaa !6 %24 = icmp eq i32 %23, 1 %25 = zext i1 %24 to i32 %26 = call i32 @ASSERT(i32 noundef %25) #3 %27 = load i32, ptr @after_work_cb_count, align 4, !tbaa !6 %28 = icmp eq i32 %27, 1 %29 = zext i1 %28 to i32 %30 = call i32 @ASSERT(i32 noundef %29) #3 store i32 0, ptr @work_cb_count, align 4, !tbaa !6 store i32 0, ptr @after_work_cb_count, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @getpid(...) local_unnamed_addr #2 declare i32 @uv_queue_work(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @uv_run(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"}
libuv_test_extr_test-fork.c_assert_run_work
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-loopback-test.c_spi_test_run_iter.c' source_filename = "AnghaBench/linux/drivers/spi/extr_spi-loopback-test.c_spi_test_run_iter.c" target datalayout = "e-m:e-p270:32:32-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.spi_test = type { i32, i32, ptr, i32 } %struct.TYPE_2__ = type { i64, i64, i64 } @.str = private unnamed_addr constant [60 x i8] c"%s: iterate_tx_off configured with tx_buf==NULL - ignoring\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c"%s: iterate_rx_off configured with rx_buf==NULL - ignoring\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Running test %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c" with iteration values: len = %zu, tx_off = %zu, rx_off = %zu\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @spi_test_run_iter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @spi_test_run_iter(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca %struct.spi_test, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3 %9 = call i32 @memcpy(ptr noundef nonnull %8, ptr noundef %1, i32 noundef 24) #3 %10 = load i32, ptr %8, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.spi_test, ptr %8, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = call i32 @BIT(i32 noundef %12) #3 %14 = add nsw i32 %13, -1 %15 = and i32 %14, %10 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %7 store i32 1, ptr %8, align 8, !tbaa !5 br label %18 18: ; preds = %17, %7 %19 = load i32, ptr %11, align 4, !tbaa !11 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %81 21: ; preds = %18 %22 = getelementptr inbounds %struct.spi_test, ptr %8, i64 0, i32 2 %23 = load ptr, ptr %22, align 8, !tbaa !12 %24 = zext nneg i32 %19 to i64 %25 = and i64 %24, 1 %26 = icmp eq i32 %19, 1 br i1 %26, label %58, label %27 27: ; preds = %21 %28 = and i64 %24, 2147483646 br label %29 29: ; preds = %29, %27 %30 = phi i64 [ 0, %27 ], [ %55, %29 ] %31 = phi i32 [ 0, %27 ], [ %54, %29 ] %32 = phi i32 [ 0, %27 ], [ %49, %29 ] %33 = phi i64 [ 0, %27 ], [ %56, %29 ] %34 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %30, i32 2 %35 = load i64, ptr %34, align 8, !tbaa !13 %36 = icmp ne i64 %35, 0 %37 = zext i1 %36 to i32 %38 = add nuw nsw i32 %32, %37 %39 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %30, i32 1 %40 = load i64, ptr %39, align 8, !tbaa !16 %41 = icmp ne i64 %40, 0 %42 = zext i1 %41 to i32 %43 = add nuw nsw i32 %31, %42 %44 = or disjoint i64 %30, 1 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %44, i32 2 %46 = load i64, ptr %45, align 8, !tbaa !13 %47 = icmp ne i64 %46, 0 %48 = zext i1 %47 to i32 %49 = add nuw nsw i32 %38, %48 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %44, i32 1 %51 = load i64, ptr %50, align 8, !tbaa !16 %52 = icmp ne i64 %51, 0 %53 = zext i1 %52 to i32 %54 = add nuw nsw i32 %43, %53 %55 = add nuw nsw i64 %30, 2 %56 = add i64 %33, 2 %57 = icmp eq i64 %56, %28 br i1 %57, label %58, label %29, !llvm.loop !17 58: ; preds = %29, %21 %59 = phi i32 [ undef, %21 ], [ %49, %29 ] %60 = phi i32 [ undef, %21 ], [ %54, %29 ] %61 = phi i64 [ 0, %21 ], [ %55, %29 ] %62 = phi i32 [ 0, %21 ], [ %54, %29 ] %63 = phi i32 [ 0, %21 ], [ %49, %29 ] %64 = icmp eq i64 %25, 0 br i1 %64, label %76, label %65 65: ; preds = %58 %66 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %61, i32 2 %67 = load i64, ptr %66, align 8, !tbaa !13 %68 = icmp ne i64 %67, 0 %69 = zext i1 %68 to i32 %70 = add nuw nsw i32 %63, %69 %71 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %61, i32 1 %72 = load i64, ptr %71, align 8, !tbaa !16 %73 = icmp ne i64 %72, 0 %74 = zext i1 %73 to i32 %75 = add nuw nsw i32 %62, %74 br label %76 76: ; preds = %58, %65 %77 = phi i32 [ %59, %58 ], [ %70, %65 ] %78 = phi i32 [ %60, %58 ], [ %75, %65 ] %79 = icmp ne i32 %77, 0 %80 = icmp ne i32 %78, 0 br label %81 81: ; preds = %76, %18 %82 = phi i1 [ false, %18 ], [ %79, %76 ] %83 = phi i1 [ false, %18 ], [ %80, %76 ] %84 = icmp eq i64 %5, 0 %85 = select i1 %84, i1 true, i1 %82 br i1 %85, label %90, label %86 86: ; preds = %81 %87 = getelementptr inbounds %struct.spi_test, ptr %8, i64 0, i32 3 %88 = load i32, ptr %87, align 8, !tbaa !19 %89 = call i32 @dev_warn_once(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %88) #3 br label %140 90: ; preds = %81 %91 = icmp eq i64 %6, 0 %92 = select i1 %91, i1 true, i1 %83 br i1 %92, label %97, label %93 93: ; preds = %90 %94 = getelementptr inbounds %struct.spi_test, ptr %8, i64 0, i32 3 %95 = load i32, ptr %94, align 8, !tbaa !19 %96 = call i32 @dev_warn_once(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %95) #3 br label %140 97: ; preds = %90 %98 = or i64 %5, %4 %99 = or i64 %98, %6 %100 = icmp eq i64 %99, 0 br i1 %100, label %101, label %106 101: ; preds = %97 %102 = getelementptr inbounds %struct.spi_test, ptr %8, i64 0, i32 3 %103 = load i32, ptr %102, align 8, !tbaa !19 %104 = sext i32 %103 to i64 %105 = call i32 (ptr, ptr, i64, ...) @dev_info(ptr noundef %0, ptr noundef nonnull @.str.2, i64 noundef %104) #3 br label %108 106: ; preds = %97 %107 = call i32 (ptr, ptr, i64, ...) @dev_info(ptr noundef %0, ptr noundef nonnull @.str.3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #3 br label %108 108: ; preds = %106, %101 %109 = load i32, ptr %11, align 4, !tbaa !11 %110 = icmp sgt i32 %109, 0 br i1 %110, label %111, label %138 111: ; preds = %108 %112 = getelementptr inbounds %struct.spi_test, ptr %8, i64 0, i32 2 br label %113 113: ; preds = %111, %133 %114 = phi i64 [ 0, %111 ], [ %134, %133 ] %115 = load i32, ptr %8, align 8, !tbaa !5 %116 = trunc i64 %114 to i32 %117 = call i32 @BIT(i32 noundef %116) #3 %118 = and i32 %117, %115 %119 = icmp eq i32 %118, 0 br i1 %119, label %133, label %120 120: ; preds = %113 %121 = load ptr, ptr %112, align 8, !tbaa !12 %122 = getelementptr inbounds %struct.TYPE_2__, ptr %121, i64 %114 store i64 %4, ptr %122, align 8, !tbaa !20 %123 = getelementptr inbounds %struct.TYPE_2__, ptr %121, i64 %114, i32 2 %124 = load i64, ptr %123, align 8, !tbaa !13 %125 = icmp eq i64 %124, 0 br i1 %125, label %133, label %126 126: ; preds = %120 %127 = add i64 %124, %5 store i64 %127, ptr %123, align 8, !tbaa !13 %128 = icmp eq i64 %127, 0 br i1 %128, label %133, label %129 129: ; preds = %126 %130 = getelementptr inbounds %struct.TYPE_2__, ptr %121, i64 %114, i32 1 %131 = load i64, ptr %130, align 8, !tbaa !16 %132 = add i64 %131, %6 store i64 %132, ptr %130, align 8, !tbaa !16 br label %133 133: ; preds = %120, %126, %129, %113 %134 = add nuw nsw i64 %114, 1 %135 = load i32, ptr %11, align 4, !tbaa !11 %136 = sext i32 %135 to i64 %137 = icmp slt i64 %134, %136 br i1 %137, label %113, label %138, !llvm.loop !21 138: ; preds = %133, %108 %139 = call i32 @_spi_test_run_iter(ptr noundef %0, ptr noundef nonnull %8, ptr noundef %2, ptr noundef %3) #3 br label %140 140: ; preds = %138, %93, %86 %141 = phi i32 [ %139, %138 ], [ 0, %93 ], [ 0, %86 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3 ret i32 %141 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BIT(i32 noundef) local_unnamed_addr #2 declare i32 @dev_warn_once(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_info(ptr noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #2 declare i32 @_spi_test_run_iter(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"spi_test", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !10, i64 8} !13 = !{!14, !15, i64 16} !14 = !{!"TYPE_2__", !15, i64 0, !15, i64 8, !15, i64 16} !15 = !{!"long", !8, i64 0} !16 = !{!14, !15, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!6, !7, i64 16} !20 = !{!14, !15, i64 0} !21 = distinct !{!21, !18}
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-loopback-test.c_spi_test_run_iter.c' source_filename = "AnghaBench/linux/drivers/spi/extr_spi-loopback-test.c_spi_test_run_iter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.spi_test = type { i32, i32, ptr, i32 } %struct.TYPE_2__ = type { i64, i64, i64 } @.str = private unnamed_addr constant [60 x i8] c"%s: iterate_tx_off configured with tx_buf==NULL - ignoring\0A\00", align 1 @.str.1 = private unnamed_addr constant [60 x i8] c"%s: iterate_rx_off configured with rx_buf==NULL - ignoring\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Running test %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c" with iteration values: len = %zu, tx_off = %zu, rx_off = %zu\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @spi_test_run_iter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @spi_test_run_iter(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #0 { %8 = alloca %struct.spi_test, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4 %9 = call i32 @memcpy(ptr noundef nonnull %8, ptr noundef %1, i32 noundef 24) #4 %10 = load i32, ptr %8, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %8, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = call i32 @BIT(i32 noundef %12) #4 %14 = add nsw i32 %13, -1 %15 = and i32 %14, %10 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %7 store i32 1, ptr %8, align 8, !tbaa !6 br label %18 18: ; preds = %17, %7 %19 = load i32, ptr %11, align 4, !tbaa !12 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %118 21: ; preds = %18 %22 = getelementptr inbounds i8, ptr %8, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !13 %24 = zext nneg i32 %19 to i64 %25 = icmp ult i32 %19, 17 br i1 %25, label %95, label %26 26: ; preds = %21 %27 = and i64 %24, 15 %28 = icmp eq i64 %27, 0 %29 = select i1 %28, i64 16, i64 %27 %30 = sub nsw i64 %24, %29 br label %31 31: ; preds = %31, %26 %32 = phi i64 [ 0, %26 ], [ %84, %31 ] %33 = phi <4 x i32> [ zeroinitializer, %26 ], [ %80, %31 ] %34 = phi <4 x i32> [ zeroinitializer, %26 ], [ %81, %31 ] %35 = phi <4 x i32> [ zeroinitializer, %26 ], [ %82, %31 ] %36 = phi <4 x i32> [ zeroinitializer, %26 ], [ %83, %31 ] %37 = phi <4 x i32> [ zeroinitializer, %26 ], [ %68, %31 ] %38 = phi <4 x i32> [ zeroinitializer, %26 ], [ %69, %31 ] %39 = phi <4 x i32> [ zeroinitializer, %26 ], [ %70, %31 ] %40 = phi <4 x i32> [ zeroinitializer, %26 ], [ %71, %31 ] %41 = or disjoint i64 %32, 4 %42 = or disjoint i64 %32, 8 %43 = or disjoint i64 %32, 12 %44 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %32, i32 1 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %41, i32 1 %46 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %42, i32 1 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %43, i32 1 %48 = load <12 x i64>, ptr %44, align 8, !tbaa !14 %49 = load <12 x i64>, ptr %45, align 8, !tbaa !14 %50 = load <12 x i64>, ptr %46, align 8, !tbaa !14 %51 = load <12 x i64>, ptr %47, align 8, !tbaa !14 %52 = shufflevector <12 x i64> %48, <12 x i64> poison, <4 x i32> <i32 0, i32 3, i32 6, i32 9> %53 = shufflevector <12 x i64> %49, <12 x i64> poison, <4 x i32> <i32 0, i32 3, i32 6, i32 9> %54 = shufflevector <12 x i64> %50, <12 x i64> poison, <4 x i32> <i32 0, i32 3, i32 6, i32 9> %55 = shufflevector <12 x i64> %51, <12 x i64> poison, <4 x i32> <i32 0, i32 3, i32 6, i32 9> %56 = shufflevector <12 x i64> %48, <12 x i64> poison, <4 x i32> <i32 1, i32 4, i32 7, i32 10> %57 = shufflevector <12 x i64> %49, <12 x i64> poison, <4 x i32> <i32 1, i32 4, i32 7, i32 10> %58 = shufflevector <12 x i64> %50, <12 x i64> poison, <4 x i32> <i32 1, i32 4, i32 7, i32 10> %59 = shufflevector <12 x i64> %51, <12 x i64> poison, <4 x i32> <i32 1, i32 4, i32 7, i32 10> %60 = icmp ne <4 x i64> %56, zeroinitializer %61 = icmp ne <4 x i64> %57, zeroinitializer %62 = icmp ne <4 x i64> %58, zeroinitializer %63 = icmp ne <4 x i64> %59, zeroinitializer %64 = zext <4 x i1> %60 to <4 x i32> %65 = zext <4 x i1> %61 to <4 x i32> %66 = zext <4 x i1> %62 to <4 x i32> %67 = zext <4 x i1> %63 to <4 x i32> %68 = add <4 x i32> %37, %64 %69 = add <4 x i32> %38, %65 %70 = add <4 x i32> %39, %66 %71 = add <4 x i32> %40, %67 %72 = icmp ne <4 x i64> %52, zeroinitializer %73 = icmp ne <4 x i64> %53, zeroinitializer %74 = icmp ne <4 x i64> %54, zeroinitializer %75 = icmp ne <4 x i64> %55, zeroinitializer %76 = zext <4 x i1> %72 to <4 x i32> %77 = zext <4 x i1> %73 to <4 x i32> %78 = zext <4 x i1> %74 to <4 x i32> %79 = zext <4 x i1> %75 to <4 x i32> %80 = add <4 x i32> %33, %76 %81 = add <4 x i32> %34, %77 %82 = add <4 x i32> %35, %78 %83 = add <4 x i32> %36, %79 %84 = add nuw i64 %32, 16 %85 = icmp eq i64 %84, %30 br i1 %85, label %86, label %31, !llvm.loop !16 86: ; preds = %31 %87 = add <4 x i32> %81, %80 %88 = add <4 x i32> %82, %87 %89 = add <4 x i32> %83, %88 %90 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %89) %91 = add <4 x i32> %69, %68 %92 = add <4 x i32> %70, %91 %93 = add <4 x i32> %71, %92 %94 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %93) br label %95 95: ; preds = %86, %21 %96 = phi i64 [ 0, %21 ], [ %30, %86 ] %97 = phi i32 [ 0, %21 ], [ %90, %86 ] %98 = phi i32 [ 0, %21 ], [ %94, %86 ] br label %99 99: ; preds = %95, %99 %100 = phi i64 [ %113, %99 ], [ %96, %95 ] %101 = phi i32 [ %112, %99 ], [ %97, %95 ] %102 = phi i32 [ %107, %99 ], [ %98, %95 ] %103 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %100, i32 2 %104 = load i64, ptr %103, align 8, !tbaa !20 %105 = icmp ne i64 %104, 0 %106 = zext i1 %105 to i32 %107 = add nuw nsw i32 %102, %106 %108 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %100, i32 1 %109 = load i64, ptr %108, align 8, !tbaa !22 %110 = icmp ne i64 %109, 0 %111 = zext i1 %110 to i32 %112 = add nuw nsw i32 %101, %111 %113 = add nuw nsw i64 %100, 1 %114 = icmp eq i64 %113, %24 br i1 %114, label %115, label %99, !llvm.loop !23 115: ; preds = %99 %116 = icmp ne i32 %107, 0 %117 = icmp ne i32 %112, 0 br label %118 118: ; preds = %115, %18 %119 = phi i1 [ false, %18 ], [ %116, %115 ] %120 = phi i1 [ false, %18 ], [ %117, %115 ] %121 = icmp eq i64 %5, 0 %122 = select i1 %121, i1 true, i1 %119 br i1 %122, label %127, label %123 123: ; preds = %118 %124 = getelementptr inbounds i8, ptr %8, i64 16 %125 = load i32, ptr %124, align 8, !tbaa !24 %126 = call i32 @dev_warn_once(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %125) #4 br label %177 127: ; preds = %118 %128 = icmp eq i64 %6, 0 %129 = select i1 %128, i1 true, i1 %120 br i1 %129, label %134, label %130 130: ; preds = %127 %131 = getelementptr inbounds i8, ptr %8, i64 16 %132 = load i32, ptr %131, align 8, !tbaa !24 %133 = call i32 @dev_warn_once(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %132) #4 br label %177 134: ; preds = %127 %135 = or i64 %5, %4 %136 = or i64 %135, %6 %137 = icmp eq i64 %136, 0 br i1 %137, label %138, label %143 138: ; preds = %134 %139 = getelementptr inbounds i8, ptr %8, i64 16 %140 = load i32, ptr %139, align 8, !tbaa !24 %141 = sext i32 %140 to i64 %142 = call i32 (ptr, ptr, i64, ...) @dev_info(ptr noundef %0, ptr noundef nonnull @.str.2, i64 noundef %141) #4 br label %145 143: ; preds = %134 %144 = call i32 (ptr, ptr, i64, ...) @dev_info(ptr noundef %0, ptr noundef nonnull @.str.3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #4 br label %145 145: ; preds = %143, %138 %146 = load i32, ptr %11, align 4, !tbaa !12 %147 = icmp sgt i32 %146, 0 br i1 %147, label %148, label %175 148: ; preds = %145 %149 = getelementptr inbounds i8, ptr %8, i64 8 br label %150 150: ; preds = %148, %170 %151 = phi i64 [ 0, %148 ], [ %171, %170 ] %152 = load i32, ptr %8, align 8, !tbaa !6 %153 = trunc nuw nsw i64 %151 to i32 %154 = call i32 @BIT(i32 noundef %153) #4 %155 = and i32 %154, %152 %156 = icmp eq i32 %155, 0 br i1 %156, label %170, label %157 157: ; preds = %150 %158 = load ptr, ptr %149, align 8, !tbaa !13 %159 = getelementptr inbounds %struct.TYPE_2__, ptr %158, i64 %151 store i64 %4, ptr %159, align 8, !tbaa !25 %160 = getelementptr inbounds %struct.TYPE_2__, ptr %158, i64 %151, i32 2 %161 = load i64, ptr %160, align 8, !tbaa !20 %162 = icmp eq i64 %161, 0 br i1 %162, label %170, label %163 163: ; preds = %157 %164 = add i64 %161, %5 store i64 %164, ptr %160, align 8, !tbaa !20 %165 = icmp eq i64 %164, 0 br i1 %165, label %170, label %166 166: ; preds = %163 %167 = getelementptr inbounds i8, ptr %159, i64 8 %168 = load i64, ptr %167, align 8, !tbaa !22 %169 = add i64 %168, %6 store i64 %169, ptr %167, align 8, !tbaa !22 br label %170 170: ; preds = %157, %163, %166, %150 %171 = add nuw nsw i64 %151, 1 %172 = load i32, ptr %11, align 4, !tbaa !12 %173 = sext i32 %172 to i64 %174 = icmp slt i64 %171, %173 br i1 %174, label %150, label %175, !llvm.loop !26 175: ; preds = %170, %145 %176 = call i32 @_spi_test_run_iter(ptr noundef %0, ptr noundef nonnull %8, ptr noundef %2, ptr noundef %3) #4 br label %177 177: ; preds = %175, %130, %123 %178 = phi i32 [ %176, %175 ], [ 0, %130 ], [ 0, %123 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4 ret i32 %178 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BIT(i32 noundef) local_unnamed_addr #2 declare i32 @dev_warn_once(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_info(ptr noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #2 declare i32 @_spi_test_run_iter(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"spi_test", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !11, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = distinct !{!16, !17, !18, !19} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!"llvm.loop.isvectorized", i32 1} !19 = !{!"llvm.loop.unroll.runtime.disable"} !20 = !{!21, !15, i64 16} !21 = !{!"TYPE_2__", !15, i64 0, !15, i64 8, !15, i64 16} !22 = !{!21, !15, i64 8} !23 = distinct !{!23, !17, !19, !18} !24 = !{!7, !8, i64 16} !25 = !{!21, !15, i64 0} !26 = distinct !{!26, !17}
linux_drivers_spi_extr_spi-loopback-test.c_spi_test_run_iter
; ModuleID = 'AnghaBench/micropython/ports/cc3200/hal/extr_adc.c_ADCFIFORead.c' source_filename = "AnghaBench/micropython/ports/cc3200/hal/extr_adc.c_ADCFIFORead.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ADC_O_channel0FIFODATA = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @ADCFIFORead(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @ADC_O_channel0FIFODATA, align 8, !tbaa !5 %4 = add i64 %1, %0 %5 = add i64 %4, %3 %6 = tail call i64 @HWREG(i64 noundef %5) #2 ret i64 %6 } 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_adc.c_ADCFIFORead.c' source_filename = "AnghaBench/micropython/ports/cc3200/hal/extr_adc.c_ADCFIFORead.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADC_O_channel0FIFODATA = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @ADCFIFORead(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @ADC_O_channel0FIFODATA, align 8, !tbaa !6 %4 = add i64 %1, %0 %5 = add i64 %4, %3 %6 = tail call i64 @HWREG(i64 noundef %5) #2 ret i64 %6 } 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_adc.c_ADCFIFORead
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_fence.c_nouveau_fence_unref.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_fence.c_nouveau_fence_unref.c" target datalayout = "e-m:e-p270:32:32-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 @nouveau_fence_unref(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @dma_fence_put(ptr noundef nonnull %2) #2 br label %6 6: ; preds = %4, %1 store ptr null, ptr %0, align 8, !tbaa !5 ret void } declare i32 @dma_fence_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_fence.c_nouveau_fence_unref.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_fence.c_nouveau_fence_unref.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 @nouveau_fence_unref(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @dma_fence_put(ptr noundef nonnull %2) #2 br label %6 6: ; preds = %4, %1 store ptr null, ptr %0, align 8, !tbaa !6 ret void } declare i32 @dma_fence_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_nouveau_extr_nouveau_fence.c_nouveau_fence_unref
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_ntpd/extr_mac_ntpd.c_ntpd_priv_grant.c' source_filename = "AnghaBench/freebsd/sys/security/mac_ntpd/extr_mac_ntpd.c_ntpd_priv_grant.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ntpd_enabled = dso_local local_unnamed_addr global i64 0, align 8 @ntpd_uid = dso_local local_unnamed_addr global i64 0, align 8 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ntpd_priv_grant], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @ntpd_priv_grant(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr @ntpd_enabled, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %12, label %5 5: ; preds = %2 %6 = load i64, ptr %0, align 8, !tbaa !9 %7 = load i64, ptr @ntpd_uid, align 8, !tbaa !5 %8 = icmp eq i64 %6, %7 %9 = add i32 %1, -128 %10 = icmp ult i32 %9, 5 %11 = and i1 %10, %8 br i1 %11, label %14, label %12 12: ; preds = %5, %2 %13 = load i32, ptr @EPERM, align 4, !tbaa !11 br label %14 14: ; preds = %5, %12 %15 = phi i32 [ %13, %12 ], [ 0, %5 ] ret i32 %15 } 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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ucred", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_ntpd/extr_mac_ntpd.c_ntpd_priv_grant.c' source_filename = "AnghaBench/freebsd/sys/security/mac_ntpd/extr_mac_ntpd.c_ntpd_priv_grant.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ntpd_enabled = common local_unnamed_addr global i64 0, align 8 @ntpd_uid = common local_unnamed_addr global i64 0, align 8 @EPERM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ntpd_priv_grant], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @ntpd_priv_grant(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr @ntpd_enabled, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %12, label %5 5: ; preds = %2 %6 = load i64, ptr %0, align 8, !tbaa !10 %7 = load i64, ptr @ntpd_uid, align 8, !tbaa !6 %8 = icmp eq i64 %6, %7 %9 = add i32 %1, -128 %10 = icmp ult i32 %9, 5 %11 = and i1 %10, %8 br i1 %11, label %14, label %12 12: ; preds = %5, %2 %13 = load i32, ptr @EPERM, align 4, !tbaa !12 br label %14 14: ; preds = %5, %12 %15 = phi i32 [ %13, %12 ], [ 0, %5 ] ret i32 %15 } 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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ucred", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
freebsd_sys_security_mac_ntpd_extr_mac_ntpd.c_ntpd_priv_grant
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_reset_hba.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_reset_hba.c" target datalayout = "e-m:e-p270:32:32-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.lpfc_hba = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @LPFC_HBA_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_SLI_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_MBX_WAIT = dso_local local_unnamed_addr global i32 0, align 4 @LPFC_MBX_NO_WAIT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @lpfc_reset_hba(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @LPFC_HBA_ERROR, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1 store i32 %6, ptr %7, align 4, !tbaa !12 br label %21 8: ; preds = %1 %9 = load i32, ptr %0, align 4, !tbaa !13 %10 = load i32, ptr @LPFC_SLI_ACTIVE, align 4, !tbaa !11 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @LPFC_MBX_NO_WAIT, align 4 %14 = load i32, ptr @LPFC_MBX_WAIT, align 4 %15 = select i1 %12, i32 %13, i32 %14 %16 = tail call i32 @lpfc_offline_prep(ptr noundef nonnull %0, i32 noundef %15) #2 %17 = tail call i32 @lpfc_offline(ptr noundef nonnull %0) #2 %18 = tail call i32 @lpfc_sli_brdrestart(ptr noundef nonnull %0) #2 %19 = tail call i32 @lpfc_online(ptr noundef nonnull %0) #2 %20 = tail call i32 @lpfc_unblock_mgmt_io(ptr noundef nonnull %0) #2 br label %21 21: ; preds = %8, %5 ret void } declare i32 @lpfc_offline_prep(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lpfc_offline(ptr noundef) local_unnamed_addr #1 declare i32 @lpfc_sli_brdrestart(ptr noundef) local_unnamed_addr #1 declare i32 @lpfc_online(ptr noundef) local_unnamed_addr #1 declare i32 @lpfc_unblock_mgmt_io(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 8} !6 = !{!"lpfc_hba", !7, i64 0, !8, i64 4, !8, i64 8} !7 = !{!"TYPE_2__", !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 = !{!6, !8, i64 4} !13 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_reset_hba.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_reset_hba.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LPFC_HBA_ERROR = common local_unnamed_addr global i32 0, align 4 @LPFC_SLI_ACTIVE = common local_unnamed_addr global i32 0, align 4 @LPFC_MBX_WAIT = common local_unnamed_addr global i32 0, align 4 @LPFC_MBX_NO_WAIT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @lpfc_reset_hba(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @LPFC_HBA_ERROR, align 4, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %6, ptr %7, align 4, !tbaa !13 br label %21 8: ; preds = %1 %9 = load i32, ptr %0, align 4, !tbaa !14 %10 = load i32, ptr @LPFC_SLI_ACTIVE, align 4, !tbaa !12 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @LPFC_MBX_NO_WAIT, align 4 %14 = load i32, ptr @LPFC_MBX_WAIT, align 4 %15 = select i1 %12, i32 %13, i32 %14 %16 = tail call i32 @lpfc_offline_prep(ptr noundef nonnull %0, i32 noundef %15) #2 %17 = tail call i32 @lpfc_offline(ptr noundef nonnull %0) #2 %18 = tail call i32 @lpfc_sli_brdrestart(ptr noundef nonnull %0) #2 %19 = tail call i32 @lpfc_online(ptr noundef nonnull %0) #2 %20 = tail call i32 @lpfc_unblock_mgmt_io(ptr noundef nonnull %0) #2 br label %21 21: ; preds = %8, %5 ret void } declare i32 @lpfc_offline_prep(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lpfc_offline(ptr noundef) local_unnamed_addr #1 declare i32 @lpfc_sli_brdrestart(ptr noundef) local_unnamed_addr #1 declare i32 @lpfc_online(ptr noundef) local_unnamed_addr #1 declare i32 @lpfc_unblock_mgmt_io(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 8} !7 = !{!"lpfc_hba", !8, i64 0, !9, i64 4, !9, i64 8} !8 = !{!"TYPE_2__", !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 = !{!7, !9, i64 4} !14 = !{!7, !9, i64 0}
linux_drivers_scsi_lpfc_extr_lpfc_init.c_lpfc_reset_hba
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_enable.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_enable.c" target datalayout = "e-m:e-p270:32:32-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.omap_dm_timer = type { i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @omap_dm_timer_enable(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %11 4: ; preds = %1 %5 = getelementptr inbounds %struct.omap_dm_timer, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @omap_dm_clk_enable(i32 noundef %6) #2 %8 = getelementptr inbounds %struct.omap_dm_timer, ptr %0, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @omap_dm_clk_enable(i32 noundef %9) #2 store i32 1, ptr %0, align 4, !tbaa !5 br label %11 11: ; preds = %1, %4 ret void } declare i32 @omap_dm_clk_enable(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 = !{!"omap_dm_timer", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_enable.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-omap/extr_dmtimer.c_omap_dm_timer_enable.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 @omap_dm_timer_enable(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %11 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @omap_dm_clk_enable(i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @omap_dm_clk_enable(i32 noundef %9) #2 store i32 1, ptr %0, align 4, !tbaa !6 br label %11 11: ; preds = %1, %4 ret void } declare i32 @omap_dm_clk_enable(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 = !{!"omap_dm_timer", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 4}
fastsocket_kernel_arch_arm_plat-omap_extr_dmtimer.c_omap_dm_timer_enable
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_ctree.c_read_block_for_search.c' source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_ctree.c_read_block_for_search.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EIO = dso_local local_unnamed_addr global i32 0, align 4 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_block_for_search], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_block_for_search(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef readonly %6, i32 %7) #0 { %9 = load ptr, ptr %3, align 8, !tbaa !5 %10 = tail call i32 @btrfs_node_blockptr(ptr noundef %9, i32 noundef %5) #2 %11 = tail call i32 @btrfs_node_ptr_generation(ptr noundef %9, i32 noundef %5) #2 %12 = add nsw i32 %4, -1 %13 = tail call i32 @btrfs_level_size(ptr noundef %1, i32 noundef %12) #2 %14 = tail call ptr @btrfs_find_tree_block(ptr noundef %1, i32 noundef %10, i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %37, label %16 16: ; preds = %8 %17 = tail call i64 @btrfs_buffer_uptodate(ptr noundef nonnull %14, i32 noundef 0, i32 noundef 1) #2 %18 = icmp sgt i64 %17, 0 br i1 %18, label %19, label %37 19: ; preds = %16 %20 = tail call i64 @btrfs_buffer_uptodate(ptr noundef nonnull %14, i32 noundef %11, i32 noundef 1) #2 %21 = icmp sgt i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %19 store ptr %14, ptr %3, align 8, !tbaa !5 br label %60 23: ; preds = %19 %24 = tail call i32 @free_extent_buffer(ptr noundef nonnull %14) #2 %25 = tail call i32 @btrfs_set_path_blocking(ptr noundef %2) #2 %26 = tail call ptr @read_tree_block(ptr noundef %1, i32 noundef %10, i32 noundef %13, i32 noundef %11) #2 %27 = icmp eq ptr %26, null br i1 %27, label %32, label %28 28: ; preds = %23 %29 = tail call i64 @btrfs_buffer_uptodate(ptr noundef nonnull %26, i32 noundef %11, i32 noundef 0) #2 %30 = icmp sgt i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %28 store ptr %26, ptr %3, align 8, !tbaa !5 br label %60 32: ; preds = %28, %23 %33 = tail call i32 @free_extent_buffer(ptr noundef %26) #2 %34 = tail call i32 @btrfs_release_path(ptr noundef %2) #2 %35 = load i32, ptr @EIO, align 4, !tbaa !9 %36 = sub nsw i32 0, %35 br label %60 37: ; preds = %16, %8 %38 = add nsw i32 %4, 1 %39 = tail call i32 @btrfs_unlock_up_safe(ptr noundef %2, i32 noundef %38) #2 %40 = tail call i32 @btrfs_set_path_blocking(ptr noundef %2) #2 %41 = tail call i32 @free_extent_buffer(ptr noundef %14) #2 %42 = load i64, ptr %2, align 8, !tbaa !11 %43 = icmp eq i64 %42, 0 br i1 %43, label %47, label %44 44: ; preds = %37 %45 = load i32, ptr %6, align 4, !tbaa !14 %46 = tail call i32 @reada_for_search(ptr noundef %1, ptr noundef nonnull %2, i32 noundef %4, i32 noundef %5, i32 noundef %45) #2 br label %47 47: ; preds = %44, %37 %48 = tail call i32 @btrfs_release_path(ptr noundef nonnull %2) #2 %49 = load i32, ptr @EAGAIN, align 4, !tbaa !9 %50 = sub nsw i32 0, %49 %51 = tail call ptr @read_tree_block(ptr noundef %1, i32 noundef %10, i32 noundef %13, i32 noundef 0) #2 %52 = icmp eq ptr %51, null br i1 %52, label %60, label %53 53: ; preds = %47 %54 = tail call i64 @btrfs_buffer_uptodate(ptr noundef nonnull %51, i32 noundef 0, i32 noundef 0) #2 %55 = icmp eq i64 %54, 0 %56 = load i32, ptr @EIO, align 4 %57 = sub nsw i32 0, %56 %58 = select i1 %55, i32 %57, i32 %50 %59 = tail call i32 @free_extent_buffer(ptr noundef nonnull %51) #2 br label %60 60: ; preds = %47, %53, %32, %31, %22 %61 = phi i32 [ 0, %22 ], [ 0, %31 ], [ %36, %32 ], [ %58, %53 ], [ %50, %47 ] ret i32 %61 } declare i32 @btrfs_node_blockptr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_node_ptr_generation(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_level_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @btrfs_find_tree_block(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @btrfs_buffer_uptodate(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_extent_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_set_path_blocking(ptr noundef) local_unnamed_addr #1 declare ptr @read_tree_block(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_release_path(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_unlock_up_safe(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @reada_for_search(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"btrfs_path", !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"btrfs_key", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/btrfs/extr_ctree.c_read_block_for_search.c' source_filename = "AnghaBench/fastsocket/kernel/fs/btrfs/extr_ctree.c_read_block_for_search.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_block_for_search], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @read_block_for_search(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef readonly %6, i32 %7) #0 { %9 = load ptr, ptr %3, align 8, !tbaa !6 %10 = tail call i32 @btrfs_node_blockptr(ptr noundef %9, i32 noundef %5) #2 %11 = tail call i32 @btrfs_node_ptr_generation(ptr noundef %9, i32 noundef %5) #2 %12 = add nsw i32 %4, -1 %13 = tail call i32 @btrfs_level_size(ptr noundef %1, i32 noundef %12) #2 %14 = tail call ptr @btrfs_find_tree_block(ptr noundef %1, i32 noundef %10, i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %37, label %16 16: ; preds = %8 %17 = tail call i64 @btrfs_buffer_uptodate(ptr noundef nonnull %14, i32 noundef 0, i32 noundef 1) #2 %18 = icmp sgt i64 %17, 0 br i1 %18, label %19, label %37 19: ; preds = %16 %20 = tail call i64 @btrfs_buffer_uptodate(ptr noundef nonnull %14, i32 noundef %11, i32 noundef 1) #2 %21 = icmp sgt i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %19 store ptr %14, ptr %3, align 8, !tbaa !6 br label %60 23: ; preds = %19 %24 = tail call i32 @free_extent_buffer(ptr noundef nonnull %14) #2 %25 = tail call i32 @btrfs_set_path_blocking(ptr noundef %2) #2 %26 = tail call ptr @read_tree_block(ptr noundef %1, i32 noundef %10, i32 noundef %13, i32 noundef %11) #2 %27 = icmp eq ptr %26, null br i1 %27, label %32, label %28 28: ; preds = %23 %29 = tail call i64 @btrfs_buffer_uptodate(ptr noundef nonnull %26, i32 noundef %11, i32 noundef 0) #2 %30 = icmp sgt i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %28 store ptr %26, ptr %3, align 8, !tbaa !6 br label %60 32: ; preds = %28, %23 %33 = tail call i32 @free_extent_buffer(ptr noundef %26) #2 %34 = tail call i32 @btrfs_release_path(ptr noundef %2) #2 %35 = load i32, ptr @EIO, align 4, !tbaa !10 %36 = sub nsw i32 0, %35 br label %60 37: ; preds = %16, %8 %38 = add nsw i32 %4, 1 %39 = tail call i32 @btrfs_unlock_up_safe(ptr noundef %2, i32 noundef %38) #2 %40 = tail call i32 @btrfs_set_path_blocking(ptr noundef %2) #2 %41 = tail call i32 @free_extent_buffer(ptr noundef %14) #2 %42 = load i64, ptr %2, align 8, !tbaa !12 %43 = icmp eq i64 %42, 0 br i1 %43, label %47, label %44 44: ; preds = %37 %45 = load i32, ptr %6, align 4, !tbaa !15 %46 = tail call i32 @reada_for_search(ptr noundef %1, ptr noundef nonnull %2, i32 noundef %4, i32 noundef %5, i32 noundef %45) #2 br label %47 47: ; preds = %44, %37 %48 = tail call i32 @btrfs_release_path(ptr noundef nonnull %2) #2 %49 = load i32, ptr @EAGAIN, align 4, !tbaa !10 %50 = sub nsw i32 0, %49 %51 = tail call ptr @read_tree_block(ptr noundef %1, i32 noundef %10, i32 noundef %13, i32 noundef 0) #2 %52 = icmp eq ptr %51, null br i1 %52, label %60, label %53 53: ; preds = %47 %54 = tail call i64 @btrfs_buffer_uptodate(ptr noundef nonnull %51, i32 noundef 0, i32 noundef 0) #2 %55 = icmp eq i64 %54, 0 %56 = load i32, ptr @EIO, align 4 %57 = sub nsw i32 0, %56 %58 = select i1 %55, i32 %57, i32 %50 %59 = tail call i32 @free_extent_buffer(ptr noundef nonnull %51) #2 br label %60 60: ; preds = %47, %53, %32, %31, %22 %61 = phi i32 [ 0, %22 ], [ 0, %31 ], [ %36, %32 ], [ %58, %53 ], [ %50, %47 ] ret i32 %61 } declare i32 @btrfs_node_blockptr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_node_ptr_generation(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_level_size(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @btrfs_find_tree_block(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @btrfs_buffer_uptodate(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_extent_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_set_path_blocking(ptr noundef) local_unnamed_addr #1 declare ptr @read_tree_block(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btrfs_release_path(ptr noundef) local_unnamed_addr #1 declare i32 @btrfs_unlock_up_safe(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @reada_for_search(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"btrfs_path", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"btrfs_key", !11, i64 0}
fastsocket_kernel_fs_btrfs_extr_ctree.c_read_block_for_search
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson02/1/bl4ckout31/src/extr_printf.c_a2d.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson02/1/bl4ckout31/src/extr_printf.c_a2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @a2d], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @a2d(i8 noundef signext %0) #0 { %2 = sext i8 %0 to i32 %3 = add i8 %0, -48 %4 = icmp ult i8 %3, 10 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = add nsw i32 %2, -48 br label %17 7: ; preds = %1 %8 = add i8 %0, -97 %9 = icmp ult i8 %8, 6 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = add nsw i32 %2, -87 br label %17 12: ; preds = %7 %13 = add i8 %0, -65 %14 = icmp ult i8 %13, 6 %15 = add nsw i32 %2, -55 %16 = select i1 %14, i32 %15, i32 -1 br label %17 17: ; preds = %12, %10, %5 %18 = phi i32 [ %6, %5 ], [ %11, %10 ], [ %16, %12 ] ret i32 %18 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson02/1/bl4ckout31/src/extr_printf.c_a2d.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson02/1/bl4ckout31/src/extr_printf.c_a2d.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @a2d], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 -1, 16) i32 @a2d(i8 noundef signext %0) #0 { %2 = sext i8 %0 to i32 %3 = add i8 %0, -48 %4 = icmp ult i8 %3, 10 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = add nsw i32 %2, -48 br label %17 7: ; preds = %1 %8 = add i8 %0, -97 %9 = icmp ult i8 %8, 6 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = add nsw i32 %2, -87 br label %17 12: ; preds = %7 %13 = add i8 %0, -65 %14 = icmp ult i8 %13, 6 %15 = add nsw i32 %2, -55 %16 = select i1 %14, i32 %15, i32 -1 br label %17 17: ; preds = %12, %10, %5 %18 = phi i32 [ %6, %5 ], [ %11, %10 ], [ %16, %12 ] ret i32 %18 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
raspberry-pi-os_exercises_lesson02_1_bl4ckout31_src_extr_printf.c_a2d
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata.h_ata_acpi_on_suspend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata.h_ata_acpi_on_suspend.c" target datalayout = "e-m:e-p270:32:32-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 @ata_acpi_on_suspend], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ata_acpi_on_suspend(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata.h_ata_acpi_on_suspend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata.h_ata_acpi_on_suspend.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 @ata_acpi_on_suspend], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ata_acpi_on_suspend(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_ata_extr_libata.h_ata_acpi_on_suspend
; ModuleID = 'AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_get_debugfs_dir.c' source_filename = "AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_get_debugfs_dir.c" target datalayout = "e-m:e-p270:32:32-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 ptr @pmbus_get_debugfs_dir(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 ret ptr %3 } declare ptr @i2c_get_clientdata(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 = !{!"pmbus_data", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_get_debugfs_dir.c' source_filename = "AnghaBench/linux/drivers/hwmon/pmbus/extr_pmbus_core.c_pmbus_get_debugfs_dir.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 ptr @pmbus_get_debugfs_dir(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 ret ptr %3 } declare ptr @i2c_get_clientdata(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 = !{!"pmbus_data", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_hwmon_pmbus_extr_pmbus_core.c_pmbus_get_debugfs_dir
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_namelen.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_namelen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @dsl_dataset_namelen(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dsl_dataset_get_snapname(ptr noundef %0) #2 %3 = tail call i32 @VERIFY0(i32 noundef %2) #2 %4 = tail call i32 @mutex_enter(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @dsl_dir_namelen(i32 noundef %6) #2 %8 = add nsw i32 %7, 1 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = tail call i32 @strlen(i32 noundef %10) #2 %12 = add nsw i32 %8, %11 %13 = tail call i32 @mutex_exit(ptr noundef %0) #2 ret i32 %12 } declare i32 @VERIFY0(i32 noundef) local_unnamed_addr #1 declare i32 @dsl_dataset_get_snapname(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1 declare i32 @dsl_dir_namelen(i32 noundef) local_unnamed_addr #1 declare i32 @strlen(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_namelen.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_namelen.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 @dsl_dataset_namelen(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @dsl_dataset_get_snapname(ptr noundef %0) #2 %3 = tail call i32 @VERIFY0(i32 noundef %2) #2 %4 = tail call i32 @mutex_enter(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @dsl_dir_namelen(i32 noundef %6) #2 %8 = add nsw i32 %7, 1 %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = tail call i32 @strlen(i32 noundef %10) #2 %12 = add nsw i32 %8, %11 %13 = tail call i32 @mutex_exit(ptr noundef %0) #2 ret i32 %12 } declare i32 @VERIFY0(i32 noundef) local_unnamed_addr #1 declare i32 @dsl_dataset_get_snapname(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1 declare i32 @dsl_dir_namelen(i32 noundef) local_unnamed_addr #1 declare i32 @strlen(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_dsl_dataset.c_dsl_dataset_namelen
; ModuleID = 'AnghaBench/openssl/apps/extr_speed.c_print_message.c' source_filename = "AnghaBench/openssl/apps/extr_speed.c_print_message.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @bio_err = dso_local local_unnamed_addr global i32 0, align 4 @mr = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"+DN:%s:%ld:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"Doing %s %ld times on %d size blocks: \00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_message], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @print_message(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 %3) #0 { %5 = load i32, ptr @bio_err, align 4, !tbaa !5 %6 = load i64, ptr @mr, align 8, !tbaa !9 %7 = icmp eq i64 %6, 0 %8 = select i1 %7, ptr @.str.1, ptr @.str %9 = tail call i32 @BIO_printf(i32 noundef %5, ptr noundef nonnull %8, ptr noundef %0, i64 noundef %1, i32 noundef %2) #2 %10 = load i32, ptr @bio_err, align 4, !tbaa !5 %11 = tail call i32 @BIO_flush(i32 noundef %10) #2 ret void } declare i32 @BIO_printf(i32 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIO_flush(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/openssl/apps/extr_speed.c_print_message.c' source_filename = "AnghaBench/openssl/apps/extr_speed.c_print_message.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bio_err = common local_unnamed_addr global i32 0, align 4 @mr = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"+DN:%s:%ld:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"Doing %s %ld times on %d size blocks: \00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_message], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @print_message(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 %3) #0 { %5 = load i32, ptr @bio_err, align 4, !tbaa !6 %6 = load i64, ptr @mr, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 %8 = select i1 %7, ptr @.str.1, ptr @.str %9 = tail call i32 @BIO_printf(i32 noundef %5, ptr noundef nonnull %8, ptr noundef %0, i64 noundef %1, i32 noundef %2) #2 %10 = load i32, ptr @bio_err, align 4, !tbaa !6 %11 = tail call i32 @BIO_flush(i32 noundef %10) #2 ret void } declare i32 @BIO_printf(i32 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIO_flush(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
openssl_apps_extr_speed.c_print_message
; ModuleID = 'AnghaBench/openssl/test/extr_tls13ccstest.c_test_tls13ccs.c' source_filename = "AnghaBench/openssl/test/extr_tls13ccstest.c_test_tls13ccs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__const.test_tls13ccs.msg = private unnamed_addr constant [11 x i8] c"Dummy data\00", align 1 @ccsbeforesh = dso_local local_unnamed_addr global ptr null, align 8 @ccsaftersh = dso_local local_unnamed_addr global ptr null, align 8 @sccsseen = dso_local local_unnamed_addr global ptr null, align 8 @shseen = dso_local local_unnamed_addr global ptr null, align 8 @chseen = dso_local local_unnamed_addr global ptr null, align 8 @badsessid = dso_local local_unnamed_addr global ptr null, align 8 @badvers = dso_local local_unnamed_addr global ptr null, align 8 @badccs = dso_local local_unnamed_addr global ptr null, align 8 @cappdataseen = dso_local local_unnamed_addr global ptr null, align 8 @sappdataseen = dso_local local_unnamed_addr global ptr null, align 8 @chsessidlen = dso_local local_unnamed_addr global i64 0, align 8 @TLS1_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @cert = dso_local local_unnamed_addr global i32 0, align 4 @privkey = dso_local local_unnamed_addr global i32 0, align 4 @SSL3_RT_MAX_PLAIN_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @SSL_OP_ENABLE_MIDDLEBOX_COMPAT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Invalid test value\00", align 1 @SSL_ERROR_NONE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"P-256\00", align 1 @s_to_c_fbio = dso_local local_unnamed_addr global ptr null, align 8 @c_to_s_fbio = dso_local local_unnamed_addr global ptr null, align 8 @SSL_READ_EARLY_DATA_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @SSL_READ_EARLY_DATA_FINISH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_tls13ccs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @test_tls13ccs(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [11 x i8], align 1 %7 = alloca [80 x i8], align 16 %8 = alloca i64, align 8 %9 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 store ptr null, ptr %2, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 store ptr null, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 store ptr null, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 store ptr null, ptr %5, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %6) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(11) %6, ptr noundef nonnull align 1 dereferenceable(11) @__const.test_tls13ccs.msg, i64 11, i1 false) call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4 store ptr null, ptr @ccsbeforesh, align 8, !tbaa !5 store ptr null, ptr @ccsaftersh, align 8, !tbaa !5 store ptr null, ptr @sccsseen, align 8, !tbaa !5 store ptr null, ptr @shseen, align 8, !tbaa !5 store ptr null, ptr @chseen, align 8, !tbaa !5 store ptr null, ptr @badsessid, align 8, !tbaa !5 store ptr null, ptr @badvers, align 8, !tbaa !5 store ptr null, ptr @badccs, align 8, !tbaa !5 store ptr null, ptr @cappdataseen, align 8, !tbaa !5 store ptr null, ptr @sappdataseen, align 8, !tbaa !5 store i64 0, ptr @chsessidlen, align 8, !tbaa !9 %10 = tail call i32 (...) @TLS_server_method() #4 %11 = tail call i32 (...) @TLS_client_method() #4 %12 = load i32, ptr @TLS1_VERSION, align 4, !tbaa !11 %13 = load i32, ptr @cert, align 4, !tbaa !11 %14 = load i32, ptr @privkey, align 4, !tbaa !11 %15 = call ptr @create_ssl_ctx_pair(i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %13, i32 noundef %14) #4 %16 = call i32 @TEST_true(ptr noundef %15) #4 %17 = icmp eq i32 %16, 0 br i1 %17, label %349, label %18 18: ; preds = %1 %19 = load ptr, ptr %2, align 8, !tbaa !5 %20 = load i32, ptr @SSL3_RT_MAX_PLAIN_LENGTH, align 4, !tbaa !11 %21 = call ptr @SSL_CTX_set_max_early_data(ptr noundef %19, i32 noundef %20) #4 %22 = call i32 @TEST_true(ptr noundef %21) #4 %23 = icmp eq i32 %22, 0 br i1 %23, label %349, label %24 24: ; preds = %18 switch i32 %0, label %26 [ i32 0, label %33 i32 3, label %33 i32 6, label %33 i32 9, label %33 i32 1, label %28 i32 4, label %28 i32 7, label %28 i32 10, label %28 i32 2, label %25 i32 5, label %25 i32 8, label %25 i32 11, label %25 ] 25: ; preds = %24, %24, %24, %24 br label %28 26: ; preds = %24 %27 = call i32 @TEST_error(ptr noundef nonnull @.str) #4 br label %349 28: ; preds = %24, %24, %24, %24, %25 %29 = phi ptr [ %2, %25 ], [ %3, %24 ], [ %3, %24 ], [ %3, %24 ], [ %3, %24 ] %30 = load ptr, ptr %29, align 8, !tbaa !5 %31 = load i32, ptr @SSL_OP_ENABLE_MIDDLEBOX_COMPAT, align 4, !tbaa !11 %32 = call i32 @SSL_CTX_clear_options(ptr noundef %30, i32 noundef %31) #4 br label %33 33: ; preds = %28, %24, %24, %24, %24 %34 = icmp ugt i32 %0, 5 br i1 %34, label %35, label %62 35: ; preds = %33 %36 = load ptr, ptr %2, align 8, !tbaa !5 %37 = load ptr, ptr %3, align 8, !tbaa !5 %38 = call ptr @create_ssl_objects(ptr noundef %36, ptr noundef %37, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef null, ptr noundef null) #4 %39 = call i32 @TEST_true(ptr noundef %38) #4 %40 = icmp eq i32 %39, 0 br i1 %40, label %349, label %41 41: ; preds = %35 %42 = load ptr, ptr %4, align 8, !tbaa !5 %43 = load ptr, ptr %5, align 8, !tbaa !5 %44 = load i32, ptr @SSL_ERROR_NONE, align 4, !tbaa !11 %45 = call ptr @create_ssl_connection(ptr noundef %42, ptr noundef %43, i32 noundef %44) #4 %46 = call i32 @TEST_true(ptr noundef %45) #4 %47 = icmp eq i32 %46, 0 br i1 %47, label %349, label %48 48: ; preds = %41 %49 = load ptr, ptr %5, align 8, !tbaa !5 %50 = call ptr @SSL_get1_session(ptr noundef %49) #4 %51 = call i32 @TEST_ptr(ptr noundef %50) #4 %52 = icmp eq i32 %51, 0 br i1 %52, label %349, label %53 53: ; preds = %48 %54 = load ptr, ptr %5, align 8, !tbaa !5 %55 = call i32 @SSL_shutdown(ptr noundef %54) #4 %56 = load ptr, ptr %4, align 8, !tbaa !5 %57 = call i32 @SSL_shutdown(ptr noundef %56) #4 %58 = load ptr, ptr %4, align 8, !tbaa !5 %59 = call i32 @SSL_free(ptr noundef %58) #4 %60 = load ptr, ptr %5, align 8, !tbaa !5 %61 = call i32 @SSL_free(ptr noundef %60) #4 store ptr null, ptr %5, align 8, !tbaa !5 store ptr null, ptr %4, align 8, !tbaa !5 br label %62 62: ; preds = %53, %33 %63 = phi ptr [ %50, %53 ], [ null, %33 ] %64 = add nsw i32 %0, -3 %65 = icmp ult i32 %64, 3 %66 = icmp ugt i32 %0, 8 %67 = or i1 %66, %65 br i1 %67, label %68, label %73 68: ; preds = %62 %69 = load ptr, ptr %2, align 8, !tbaa !5 %70 = call ptr @SSL_CTX_set1_groups_list(ptr noundef %69, ptr noundef nonnull @.str.1) #4 %71 = call i32 @TEST_true(ptr noundef %70) #4 %72 = icmp eq i32 %71, 0 br i1 %72, label %349, label %73 73: ; preds = %68, %62 %74 = call i32 (...) @bio_f_watchccs_filter() #4 %75 = call ptr @BIO_new(i32 noundef %74) #4 store ptr %75, ptr @s_to_c_fbio, align 8, !tbaa !5 %76 = call i32 (...) @bio_f_watchccs_filter() #4 %77 = call ptr @BIO_new(i32 noundef %76) #4 store ptr %77, ptr @c_to_s_fbio, align 8, !tbaa !5 %78 = load ptr, ptr @s_to_c_fbio, align 8, !tbaa !5 %79 = call i32 @TEST_ptr(ptr noundef %78) #4 %80 = icmp eq i32 %79, 0 br i1 %80, label %85, label %81 81: ; preds = %73 %82 = load ptr, ptr @c_to_s_fbio, align 8, !tbaa !5 %83 = call i32 @TEST_ptr(ptr noundef %82) #4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %90 85: ; preds = %81, %73 %86 = load ptr, ptr @s_to_c_fbio, align 8, !tbaa !5 %87 = call i32 @BIO_free(ptr noundef %86) #4 %88 = load ptr, ptr @c_to_s_fbio, align 8, !tbaa !5 %89 = call i32 @BIO_free(ptr noundef %88) #4 br label %349 90: ; preds = %81 %91 = load ptr, ptr %2, align 8, !tbaa !5 %92 = load ptr, ptr %3, align 8, !tbaa !5 %93 = load ptr, ptr @s_to_c_fbio, align 8, !tbaa !5 %94 = load ptr, ptr @c_to_s_fbio, align 8, !tbaa !5 %95 = call ptr @create_ssl_objects(ptr noundef %91, ptr noundef %92, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %93, ptr noundef %94) #4 %96 = call i32 @TEST_true(ptr noundef %95) #4 %97 = icmp eq i32 %96, 0 br i1 %97, label %349, label %98 98: ; preds = %90 br i1 %34, label %99, label %134 99: ; preds = %98 %100 = load ptr, ptr %5, align 8, !tbaa !5 %101 = call ptr @SSL_set_session(ptr noundef %100, ptr noundef %63) #4 %102 = call i32 @TEST_true(ptr noundef %101) #4 %103 = icmp eq i32 %102, 0 br i1 %103, label %349, label %104 104: ; preds = %99 %105 = load ptr, ptr %5, align 8, !tbaa !5 %106 = call i32 @strlen(ptr noundef nonnull %6) #4 %107 = call ptr @SSL_write_early_data(ptr noundef %105, ptr noundef nonnull %6, i32 noundef %106, ptr noundef nonnull %8) #4 %108 = call i32 @TEST_true(ptr noundef %107) #4 %109 = icmp eq i32 %108, 0 br i1 %109, label %349, label %110 110: ; preds = %104 %111 = icmp ult i32 %0, 9 br i1 %111, label %112, label %123 112: ; preds = %110 %113 = load ptr, ptr %4, align 8, !tbaa !5 %114 = call i32 @SSL_read_early_data(ptr noundef %113, ptr noundef nonnull %7, i32 noundef 80, ptr noundef nonnull %9) #4 %115 = load i32, ptr @SSL_READ_EARLY_DATA_SUCCESS, align 4, !tbaa !11 %116 = call i32 @TEST_int_eq(i32 noundef %114, i32 noundef %115) #4 %117 = icmp eq i32 %116, 0 br i1 %117, label %349, label %118 118: ; preds = %112 %119 = load ptr, ptr %5, align 8, !tbaa !5 %120 = call i32 @SSL_connect(ptr noundef %119) #4 %121 = call i32 @TEST_int_gt(i32 noundef %120, i32 noundef 0) #4 %122 = icmp eq i32 %121, 0 br i1 %122, label %349, label %128 123: ; preds = %110 %124 = load ptr, ptr %5, align 8, !tbaa !5 %125 = call i32 @SSL_connect(ptr noundef %124) #4 %126 = call i32 @TEST_int_le(i32 noundef %125, i32 noundef 0) #4 %127 = icmp eq i32 %126, 0 br i1 %127, label %349, label %128 128: ; preds = %123, %118 %129 = load ptr, ptr %4, align 8, !tbaa !5 %130 = call i32 @SSL_read_early_data(ptr noundef %129, ptr noundef nonnull %7, i32 noundef 80, ptr noundef nonnull %9) #4 %131 = load i32, ptr @SSL_READ_EARLY_DATA_FINISH, align 4, !tbaa !11 %132 = call i32 @TEST_int_eq(i32 noundef %130, i32 noundef %131) #4 %133 = icmp eq i32 %132, 0 br i1 %133, label %349, label %134 134: ; preds = %128, %98 %135 = load ptr, ptr %4, align 8, !tbaa !5 %136 = load ptr, ptr %5, align 8, !tbaa !5 %137 = load i32, ptr @SSL_ERROR_NONE, align 4, !tbaa !11 %138 = call ptr @create_ssl_connection(ptr noundef %135, ptr noundef %136, i32 noundef %137) #4 %139 = call i32 @TEST_true(ptr noundef %138) #4 %140 = icmp eq i32 %139, 0 br i1 %140, label %349, label %141 141: ; preds = %134 %142 = load ptr, ptr @badccs, align 8, !tbaa !5 %143 = call i32 @TEST_false(ptr noundef %142) #4 %144 = icmp eq i32 %143, 0 br i1 %144, label %349, label %145 145: ; preds = %141 %146 = load ptr, ptr @badvers, align 8, !tbaa !5 %147 = call i32 @TEST_false(ptr noundef %146) #4 %148 = icmp eq i32 %147, 0 br i1 %148, label %349, label %149 149: ; preds = %145 %150 = load ptr, ptr @badsessid, align 8, !tbaa !5 %151 = call i32 @TEST_false(ptr noundef %150) #4 %152 = icmp eq i32 %151, 0 br i1 %152, label %349, label %153 153: ; preds = %149 switch i32 %0, label %346 [ i32 0, label %154 i32 1, label %170 i32 2, label %186 i32 3, label %202 i32 4, label %218 i32 5, label %234 i32 6, label %250 i32 7, label %266 i32 8, label %282 i32 9, label %298 i32 10, label %314 i32 11, label %330 ] 154: ; preds = %153 %155 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %156 = call i32 @TEST_true(ptr noundef %155) #4 %157 = icmp eq i32 %156, 0 br i1 %157, label %349, label %158 158: ; preds = %154 %159 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %160 = call i32 @TEST_true(ptr noundef %159) #4 %161 = icmp eq i32 %160, 0 br i1 %161, label %349, label %162 162: ; preds = %158 %163 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %164 = call i32 @TEST_false(ptr noundef %163) #4 %165 = icmp eq i32 %164, 0 br i1 %165, label %349, label %166 166: ; preds = %162 %167 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %168 = call i32 @TEST_size_t_gt(i64 noundef %167, i32 noundef 0) #4 %169 = icmp eq i32 %168, 0 br i1 %169, label %349, label %348 170: ; preds = %153 %171 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %172 = call i32 @TEST_true(ptr noundef %171) #4 %173 = icmp eq i32 %172, 0 br i1 %173, label %349, label %174 174: ; preds = %170 %175 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %176 = call i32 @TEST_false(ptr noundef %175) #4 %177 = icmp eq i32 %176, 0 br i1 %177, label %349, label %178 178: ; preds = %174 %179 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %180 = call i32 @TEST_false(ptr noundef %179) #4 %181 = icmp eq i32 %180, 0 br i1 %181, label %349, label %182 182: ; preds = %178 %183 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %184 = call i32 @TEST_size_t_eq(i64 noundef %183, i32 noundef 0) #4 %185 = icmp eq i32 %184, 0 br i1 %185, label %349, label %348 186: ; preds = %153 %187 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %188 = call i32 @TEST_false(ptr noundef %187) #4 %189 = icmp eq i32 %188, 0 br i1 %189, label %349, label %190 190: ; preds = %186 %191 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %192 = call i32 @TEST_true(ptr noundef %191) #4 %193 = icmp eq i32 %192, 0 br i1 %193, label %349, label %194 194: ; preds = %190 %195 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %196 = call i32 @TEST_false(ptr noundef %195) #4 %197 = icmp eq i32 %196, 0 br i1 %197, label %349, label %198 198: ; preds = %194 %199 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %200 = call i32 @TEST_size_t_gt(i64 noundef %199, i32 noundef 0) #4 %201 = icmp eq i32 %200, 0 br i1 %201, label %349, label %348 202: ; preds = %153 %203 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %204 = call i32 @TEST_true(ptr noundef %203) #4 %205 = icmp eq i32 %204, 0 br i1 %205, label %349, label %206 206: ; preds = %202 %207 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %208 = call i32 @TEST_true(ptr noundef %207) #4 %209 = icmp eq i32 %208, 0 br i1 %209, label %349, label %210 210: ; preds = %206 %211 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %212 = call i32 @TEST_false(ptr noundef %211) #4 %213 = icmp eq i32 %212, 0 br i1 %213, label %349, label %214 214: ; preds = %210 %215 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %216 = call i32 @TEST_size_t_gt(i64 noundef %215, i32 noundef 0) #4 %217 = icmp eq i32 %216, 0 br i1 %217, label %349, label %348 218: ; preds = %153 %219 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %220 = call i32 @TEST_true(ptr noundef %219) #4 %221 = icmp eq i32 %220, 0 br i1 %221, label %349, label %222 222: ; preds = %218 %223 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %224 = call i32 @TEST_false(ptr noundef %223) #4 %225 = icmp eq i32 %224, 0 br i1 %225, label %349, label %226 226: ; preds = %222 %227 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %228 = call i32 @TEST_false(ptr noundef %227) #4 %229 = icmp eq i32 %228, 0 br i1 %229, label %349, label %230 230: ; preds = %226 %231 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %232 = call i32 @TEST_size_t_eq(i64 noundef %231, i32 noundef 0) #4 %233 = icmp eq i32 %232, 0 br i1 %233, label %349, label %348 234: ; preds = %153 %235 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %236 = call i32 @TEST_false(ptr noundef %235) #4 %237 = icmp eq i32 %236, 0 br i1 %237, label %349, label %238 238: ; preds = %234 %239 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %240 = call i32 @TEST_true(ptr noundef %239) #4 %241 = icmp eq i32 %240, 0 br i1 %241, label %349, label %242 242: ; preds = %238 %243 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %244 = call i32 @TEST_false(ptr noundef %243) #4 %245 = icmp eq i32 %244, 0 br i1 %245, label %349, label %246 246: ; preds = %242 %247 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %248 = call i32 @TEST_size_t_gt(i64 noundef %247, i32 noundef 0) #4 %249 = icmp eq i32 %248, 0 br i1 %249, label %349, label %348 250: ; preds = %153 %251 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %252 = call i32 @TEST_true(ptr noundef %251) #4 %253 = icmp eq i32 %252, 0 br i1 %253, label %349, label %254 254: ; preds = %250 %255 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %256 = call i32 @TEST_false(ptr noundef %255) #4 %257 = icmp eq i32 %256, 0 br i1 %257, label %349, label %258 258: ; preds = %254 %259 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %260 = call i32 @TEST_true(ptr noundef %259) #4 %261 = icmp eq i32 %260, 0 br i1 %261, label %349, label %262 262: ; preds = %258 %263 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %264 = call i32 @TEST_size_t_gt(i64 noundef %263, i32 noundef 0) #4 %265 = icmp eq i32 %264, 0 br i1 %265, label %349, label %348 266: ; preds = %153 %267 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %268 = call i32 @TEST_true(ptr noundef %267) #4 %269 = icmp eq i32 %268, 0 br i1 %269, label %349, label %270 270: ; preds = %266 %271 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %272 = call i32 @TEST_false(ptr noundef %271) #4 %273 = icmp eq i32 %272, 0 br i1 %273, label %349, label %274 274: ; preds = %270 %275 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %276 = call i32 @TEST_false(ptr noundef %275) #4 %277 = icmp eq i32 %276, 0 br i1 %277, label %349, label %278 278: ; preds = %274 %279 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %280 = call i32 @TEST_size_t_eq(i64 noundef %279, i32 noundef 0) #4 %281 = icmp eq i32 %280, 0 br i1 %281, label %349, label %348 282: ; preds = %153 %283 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %284 = call i32 @TEST_false(ptr noundef %283) #4 %285 = icmp eq i32 %284, 0 br i1 %285, label %349, label %286 286: ; preds = %282 %287 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %288 = call i32 @TEST_false(ptr noundef %287) #4 %289 = icmp eq i32 %288, 0 br i1 %289, label %349, label %290 290: ; preds = %286 %291 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %292 = call i32 @TEST_true(ptr noundef %291) #4 %293 = icmp eq i32 %292, 0 br i1 %293, label %349, label %294 294: ; preds = %290 %295 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %296 = call i32 @TEST_size_t_gt(i64 noundef %295, i32 noundef 0) #4 %297 = icmp eq i32 %296, 0 br i1 %297, label %349, label %348 298: ; preds = %153 %299 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %300 = call i32 @TEST_true(ptr noundef %299) #4 %301 = icmp eq i32 %300, 0 br i1 %301, label %349, label %302 302: ; preds = %298 %303 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %304 = call i32 @TEST_false(ptr noundef %303) #4 %305 = icmp eq i32 %304, 0 br i1 %305, label %349, label %306 306: ; preds = %302 %307 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %308 = call i32 @TEST_true(ptr noundef %307) #4 %309 = icmp eq i32 %308, 0 br i1 %309, label %349, label %310 310: ; preds = %306 %311 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %312 = call i32 @TEST_size_t_gt(i64 noundef %311, i32 noundef 0) #4 %313 = icmp eq i32 %312, 0 br i1 %313, label %349, label %348 314: ; preds = %153 %315 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %316 = call i32 @TEST_true(ptr noundef %315) #4 %317 = icmp eq i32 %316, 0 br i1 %317, label %349, label %318 318: ; preds = %314 %319 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %320 = call i32 @TEST_false(ptr noundef %319) #4 %321 = icmp eq i32 %320, 0 br i1 %321, label %349, label %322 322: ; preds = %318 %323 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %324 = call i32 @TEST_false(ptr noundef %323) #4 %325 = icmp eq i32 %324, 0 br i1 %325, label %349, label %326 326: ; preds = %322 %327 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %328 = call i32 @TEST_size_t_eq(i64 noundef %327, i32 noundef 0) #4 %329 = icmp eq i32 %328, 0 br i1 %329, label %349, label %348 330: ; preds = %153 %331 = load ptr, ptr @sccsseen, align 8, !tbaa !5 %332 = call i32 @TEST_false(ptr noundef %331) #4 %333 = icmp eq i32 %332, 0 br i1 %333, label %349, label %334 334: ; preds = %330 %335 = load ptr, ptr @ccsaftersh, align 8, !tbaa !5 %336 = call i32 @TEST_false(ptr noundef %335) #4 %337 = icmp eq i32 %336, 0 br i1 %337, label %349, label %338 338: ; preds = %334 %339 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !5 %340 = call i32 @TEST_true(ptr noundef %339) #4 %341 = icmp eq i32 %340, 0 br i1 %341, label %349, label %342 342: ; preds = %338 %343 = load i64, ptr @chsessidlen, align 8, !tbaa !9 %344 = call i32 @TEST_size_t_gt(i64 noundef %343, i32 noundef 0) #4 %345 = icmp eq i32 %344, 0 br i1 %345, label %349, label %348 346: ; preds = %153 %347 = call i32 @TEST_error(ptr noundef nonnull @.str) #4 br label %349 348: ; preds = %342, %326, %310, %294, %278, %262, %246, %230, %214, %198, %182, %166 br label %349 349: ; preds = %330, %334, %338, %342, %314, %318, %322, %326, %298, %302, %306, %310, %282, %286, %290, %294, %266, %270, %274, %278, %250, %254, %258, %262, %234, %238, %242, %246, %218, %222, %226, %230, %202, %206, %210, %214, %186, %190, %194, %198, %170, %174, %178, %182, %154, %158, %162, %166, %141, %145, %149, %134, %128, %123, %118, %99, %104, %112, %90, %68, %48, %35, %41, %1, %18, %348, %346, %85, %26 %350 = phi i32 [ 0, %26 ], [ 0, %346 ], [ 1, %348 ], [ 0, %342 ], [ 0, %338 ], [ 0, %334 ], [ 0, %330 ], [ 0, %326 ], [ 0, %322 ], [ 0, %318 ], [ 0, %314 ], [ 0, %310 ], [ 0, %306 ], [ 0, %302 ], [ 0, %298 ], [ 0, %294 ], [ 0, %290 ], [ 0, %286 ], [ 0, %282 ], [ 0, %278 ], [ 0, %274 ], [ 0, %270 ], [ 0, %266 ], [ 0, %262 ], [ 0, %258 ], [ 0, %254 ], [ 0, %250 ], [ 0, %246 ], [ 0, %242 ], [ 0, %238 ], [ 0, %234 ], [ 0, %230 ], [ 0, %226 ], [ 0, %222 ], [ 0, %218 ], [ 0, %214 ], [ 0, %210 ], [ 0, %206 ], [ 0, %202 ], [ 0, %198 ], [ 0, %194 ], [ 0, %190 ], [ 0, %186 ], [ 0, %182 ], [ 0, %178 ], [ 0, %174 ], [ 0, %170 ], [ 0, %166 ], [ 0, %162 ], [ 0, %158 ], [ 0, %154 ], [ 0, %149 ], [ 0, %145 ], [ 0, %141 ], [ 0, %134 ], [ 0, %128 ], [ 0, %118 ], [ 0, %123 ], [ 0, %112 ], [ 0, %104 ], [ 0, %99 ], [ 0, %90 ], [ 0, %85 ], [ 0, %68 ], [ 0, %48 ], [ 0, %41 ], [ 0, %35 ], [ 0, %18 ], [ 0, %1 ] %351 = phi ptr [ null, %26 ], [ %63, %346 ], [ %63, %348 ], [ %63, %342 ], [ %63, %338 ], [ %63, %334 ], [ %63, %330 ], [ %63, %326 ], [ %63, %322 ], [ %63, %318 ], [ %63, %314 ], [ %63, %310 ], [ %63, %306 ], [ %63, %302 ], [ %63, %298 ], [ %63, %294 ], [ %63, %290 ], [ %63, %286 ], [ %63, %282 ], [ %63, %278 ], [ %63, %274 ], [ %63, %270 ], [ %63, %266 ], [ %63, %262 ], [ %63, %258 ], [ %63, %254 ], [ %63, %250 ], [ %63, %246 ], [ %63, %242 ], [ %63, %238 ], [ %63, %234 ], [ %63, %230 ], [ %63, %226 ], [ %63, %222 ], [ %63, %218 ], [ %63, %214 ], [ %63, %210 ], [ %63, %206 ], [ %63, %202 ], [ %63, %198 ], [ %63, %194 ], [ %63, %190 ], [ %63, %186 ], [ %63, %182 ], [ %63, %178 ], [ %63, %174 ], [ %63, %170 ], [ %63, %166 ], [ %63, %162 ], [ %63, %158 ], [ %63, %154 ], [ %63, %149 ], [ %63, %145 ], [ %63, %141 ], [ %63, %134 ], [ %63, %128 ], [ %63, %118 ], [ %63, %123 ], [ %63, %112 ], [ %63, %104 ], [ %63, %99 ], [ %63, %90 ], [ %63, %85 ], [ %63, %68 ], [ %50, %48 ], [ null, %41 ], [ null, %35 ], [ null, %18 ], [ null, %1 ] %352 = call i32 @SSL_SESSION_free(ptr noundef %351) #4 %353 = load ptr, ptr %4, align 8, !tbaa !5 %354 = call i32 @SSL_free(ptr noundef %353) #4 %355 = load ptr, ptr %5, align 8, !tbaa !5 %356 = call i32 @SSL_free(ptr noundef %355) #4 %357 = load ptr, ptr %2, align 8, !tbaa !5 %358 = call i32 @SSL_CTX_free(ptr noundef %357) #4 %359 = load ptr, ptr %3, align 8, !tbaa !5 %360 = call i32 @SSL_CTX_free(ptr noundef %359) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4 ret i32 %350 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @TEST_true(ptr noundef) local_unnamed_addr #3 declare ptr @create_ssl_ctx_pair(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TLS_server_method(...) local_unnamed_addr #3 declare i32 @TLS_client_method(...) local_unnamed_addr #3 declare ptr @SSL_CTX_set_max_early_data(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @SSL_CTX_clear_options(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TEST_error(ptr noundef) local_unnamed_addr #3 declare ptr @create_ssl_objects(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @create_ssl_connection(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare ptr @SSL_get1_session(ptr noundef) local_unnamed_addr #3 declare i32 @TEST_ptr(ptr noundef) local_unnamed_addr #3 declare i32 @SSL_shutdown(ptr noundef) local_unnamed_addr #3 declare i32 @SSL_free(ptr noundef) local_unnamed_addr #3 declare ptr @SSL_CTX_set1_groups_list(ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @BIO_new(i32 noundef) local_unnamed_addr #3 declare i32 @bio_f_watchccs_filter(...) local_unnamed_addr #3 declare i32 @BIO_free(ptr noundef) local_unnamed_addr #3 declare ptr @SSL_set_session(ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @SSL_write_early_data(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @strlen(ptr noundef) local_unnamed_addr #3 declare i32 @TEST_int_eq(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @SSL_read_early_data(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @TEST_int_gt(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @SSL_connect(ptr noundef) local_unnamed_addr #3 declare i32 @TEST_int_le(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TEST_false(ptr noundef) local_unnamed_addr #3 declare i32 @TEST_size_t_gt(i64 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TEST_size_t_eq(i64 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @SSL_SESSION_free(ptr noundef) local_unnamed_addr #3 declare i32 @SSL_CTX_free(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/openssl/test/extr_tls13ccstest.c_test_tls13ccs.c' source_filename = "AnghaBench/openssl/test/extr_tls13ccstest.c_test_tls13ccs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.test_tls13ccs.msg = private unnamed_addr constant [11 x i8] c"Dummy data\00", align 1 @ccsbeforesh = common local_unnamed_addr global ptr null, align 8 @ccsaftersh = common local_unnamed_addr global ptr null, align 8 @sccsseen = common local_unnamed_addr global ptr null, align 8 @shseen = common local_unnamed_addr global ptr null, align 8 @chseen = common local_unnamed_addr global ptr null, align 8 @badsessid = common local_unnamed_addr global ptr null, align 8 @badvers = common local_unnamed_addr global ptr null, align 8 @badccs = common local_unnamed_addr global ptr null, align 8 @cappdataseen = common local_unnamed_addr global ptr null, align 8 @sappdataseen = common local_unnamed_addr global ptr null, align 8 @chsessidlen = common local_unnamed_addr global i64 0, align 8 @TLS1_VERSION = common local_unnamed_addr global i32 0, align 4 @cert = common local_unnamed_addr global i32 0, align 4 @privkey = common local_unnamed_addr global i32 0, align 4 @SSL3_RT_MAX_PLAIN_LENGTH = common local_unnamed_addr global i32 0, align 4 @SSL_OP_ENABLE_MIDDLEBOX_COMPAT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"Invalid test value\00", align 1 @SSL_ERROR_NONE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"P-256\00", align 1 @s_to_c_fbio = common local_unnamed_addr global ptr null, align 8 @c_to_s_fbio = common local_unnamed_addr global ptr null, align 8 @SSL_READ_EARLY_DATA_SUCCESS = common local_unnamed_addr global i32 0, align 4 @SSL_READ_EARLY_DATA_FINISH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @test_tls13ccs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @test_tls13ccs(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [11 x i8], align 1 %7 = alloca [80 x i8], align 1 %8 = alloca i64, align 8 %9 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 store ptr null, ptr %2, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 store ptr null, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 store ptr null, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 store ptr null, ptr %5, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 11, ptr nonnull %6) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(11) %6, ptr noundef nonnull align 1 dereferenceable(11) @__const.test_tls13ccs.msg, i64 11, i1 false) call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4 store ptr null, ptr @ccsbeforesh, align 8, !tbaa !6 store ptr null, ptr @ccsaftersh, align 8, !tbaa !6 store ptr null, ptr @sccsseen, align 8, !tbaa !6 store ptr null, ptr @shseen, align 8, !tbaa !6 store ptr null, ptr @chseen, align 8, !tbaa !6 store ptr null, ptr @badsessid, align 8, !tbaa !6 store ptr null, ptr @badvers, align 8, !tbaa !6 store ptr null, ptr @badccs, align 8, !tbaa !6 store ptr null, ptr @cappdataseen, align 8, !tbaa !6 store ptr null, ptr @sappdataseen, align 8, !tbaa !6 store i64 0, ptr @chsessidlen, align 8, !tbaa !10 %10 = tail call i32 @TLS_server_method() #4 %11 = tail call i32 @TLS_client_method() #4 %12 = load i32, ptr @TLS1_VERSION, align 4, !tbaa !12 %13 = load i32, ptr @cert, align 4, !tbaa !12 %14 = load i32, ptr @privkey, align 4, !tbaa !12 %15 = call ptr @create_ssl_ctx_pair(i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %13, i32 noundef %14) #4 %16 = call i32 @TEST_true(ptr noundef %15) #4 %17 = icmp eq i32 %16, 0 br i1 %17, label %337, label %18 18: ; preds = %1 %19 = load ptr, ptr %2, align 8, !tbaa !6 %20 = load i32, ptr @SSL3_RT_MAX_PLAIN_LENGTH, align 4, !tbaa !12 %21 = call ptr @SSL_CTX_set_max_early_data(ptr noundef %19, i32 noundef %20) #4 %22 = call i32 @TEST_true(ptr noundef %21) #4 %23 = icmp eq i32 %22, 0 br i1 %23, label %337, label %24 24: ; preds = %18 switch i32 %0, label %26 [ i32 0, label %33 i32 3, label %33 i32 6, label %33 i32 9, label %33 i32 1, label %28 i32 4, label %28 i32 7, label %28 i32 10, label %28 i32 2, label %25 i32 5, label %25 i32 8, label %25 i32 11, label %25 ] 25: ; preds = %24, %24, %24, %24 br label %28 26: ; preds = %24 %27 = call i32 @TEST_error(ptr noundef nonnull @.str) #4 br label %337 28: ; preds = %24, %24, %24, %24, %25 %29 = phi ptr [ %2, %25 ], [ %3, %24 ], [ %3, %24 ], [ %3, %24 ], [ %3, %24 ] %30 = load ptr, ptr %29, align 8, !tbaa !6 %31 = load i32, ptr @SSL_OP_ENABLE_MIDDLEBOX_COMPAT, align 4, !tbaa !12 %32 = call i32 @SSL_CTX_clear_options(ptr noundef %30, i32 noundef %31) #4 br label %33 33: ; preds = %28, %24, %24, %24, %24 %34 = icmp ugt i32 %0, 5 br i1 %34, label %35, label %62 35: ; preds = %33 %36 = load ptr, ptr %2, align 8, !tbaa !6 %37 = load ptr, ptr %3, align 8, !tbaa !6 %38 = call ptr @create_ssl_objects(ptr noundef %36, ptr noundef %37, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef null, ptr noundef null) #4 %39 = call i32 @TEST_true(ptr noundef %38) #4 %40 = icmp eq i32 %39, 0 br i1 %40, label %337, label %41 41: ; preds = %35 %42 = load ptr, ptr %4, align 8, !tbaa !6 %43 = load ptr, ptr %5, align 8, !tbaa !6 %44 = load i32, ptr @SSL_ERROR_NONE, align 4, !tbaa !12 %45 = call ptr @create_ssl_connection(ptr noundef %42, ptr noundef %43, i32 noundef %44) #4 %46 = call i32 @TEST_true(ptr noundef %45) #4 %47 = icmp eq i32 %46, 0 br i1 %47, label %337, label %48 48: ; preds = %41 %49 = load ptr, ptr %5, align 8, !tbaa !6 %50 = call ptr @SSL_get1_session(ptr noundef %49) #4 %51 = call i32 @TEST_ptr(ptr noundef %50) #4 %52 = icmp eq i32 %51, 0 br i1 %52, label %337, label %53 53: ; preds = %48 %54 = load ptr, ptr %5, align 8, !tbaa !6 %55 = call i32 @SSL_shutdown(ptr noundef %54) #4 %56 = load ptr, ptr %4, align 8, !tbaa !6 %57 = call i32 @SSL_shutdown(ptr noundef %56) #4 %58 = load ptr, ptr %4, align 8, !tbaa !6 %59 = call i32 @SSL_free(ptr noundef %58) #4 %60 = load ptr, ptr %5, align 8, !tbaa !6 %61 = call i32 @SSL_free(ptr noundef %60) #4 store ptr null, ptr %5, align 8, !tbaa !6 store ptr null, ptr %4, align 8, !tbaa !6 br label %62 62: ; preds = %53, %33 %63 = phi ptr [ %50, %53 ], [ null, %33 ] %64 = add nsw i32 %0, -3 %65 = icmp ult i32 %64, 3 %66 = icmp ugt i32 %0, 8 %67 = or i1 %66, %65 br i1 %67, label %68, label %73 68: ; preds = %62 %69 = load ptr, ptr %2, align 8, !tbaa !6 %70 = call ptr @SSL_CTX_set1_groups_list(ptr noundef %69, ptr noundef nonnull @.str.1) #4 %71 = call i32 @TEST_true(ptr noundef %70) #4 %72 = icmp eq i32 %71, 0 br i1 %72, label %337, label %73 73: ; preds = %68, %62 %74 = call i32 @bio_f_watchccs_filter() #4 %75 = call ptr @BIO_new(i32 noundef %74) #4 store ptr %75, ptr @s_to_c_fbio, align 8, !tbaa !6 %76 = call i32 @bio_f_watchccs_filter() #4 %77 = call ptr @BIO_new(i32 noundef %76) #4 store ptr %77, ptr @c_to_s_fbio, align 8, !tbaa !6 %78 = load ptr, ptr @s_to_c_fbio, align 8, !tbaa !6 %79 = call i32 @TEST_ptr(ptr noundef %78) #4 %80 = icmp eq i32 %79, 0 br i1 %80, label %85, label %81 81: ; preds = %73 %82 = load ptr, ptr @c_to_s_fbio, align 8, !tbaa !6 %83 = call i32 @TEST_ptr(ptr noundef %82) #4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %90 85: ; preds = %81, %73 %86 = load ptr, ptr @s_to_c_fbio, align 8, !tbaa !6 %87 = call i32 @BIO_free(ptr noundef %86) #4 %88 = load ptr, ptr @c_to_s_fbio, align 8, !tbaa !6 %89 = call i32 @BIO_free(ptr noundef %88) #4 br label %337 90: ; preds = %81 %91 = load ptr, ptr %2, align 8, !tbaa !6 %92 = load ptr, ptr %3, align 8, !tbaa !6 %93 = load ptr, ptr @s_to_c_fbio, align 8, !tbaa !6 %94 = load ptr, ptr @c_to_s_fbio, align 8, !tbaa !6 %95 = call ptr @create_ssl_objects(ptr noundef %91, ptr noundef %92, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %93, ptr noundef %94) #4 %96 = call i32 @TEST_true(ptr noundef %95) #4 %97 = icmp eq i32 %96, 0 br i1 %97, label %337, label %98 98: ; preds = %90 br i1 %34, label %99, label %134 99: ; preds = %98 %100 = load ptr, ptr %5, align 8, !tbaa !6 %101 = call ptr @SSL_set_session(ptr noundef %100, ptr noundef %63) #4 %102 = call i32 @TEST_true(ptr noundef %101) #4 %103 = icmp eq i32 %102, 0 br i1 %103, label %337, label %104 104: ; preds = %99 %105 = load ptr, ptr %5, align 8, !tbaa !6 %106 = call i32 @strlen(ptr noundef nonnull %6) #4 %107 = call ptr @SSL_write_early_data(ptr noundef %105, ptr noundef nonnull %6, i32 noundef %106, ptr noundef nonnull %8) #4 %108 = call i32 @TEST_true(ptr noundef %107) #4 %109 = icmp eq i32 %108, 0 br i1 %109, label %337, label %110 110: ; preds = %104 %111 = icmp ult i32 %0, 9 br i1 %111, label %112, label %123 112: ; preds = %110 %113 = load ptr, ptr %4, align 8, !tbaa !6 %114 = call i32 @SSL_read_early_data(ptr noundef %113, ptr noundef nonnull %7, i32 noundef 80, ptr noundef nonnull %9) #4 %115 = load i32, ptr @SSL_READ_EARLY_DATA_SUCCESS, align 4, !tbaa !12 %116 = call i32 @TEST_int_eq(i32 noundef %114, i32 noundef %115) #4 %117 = icmp eq i32 %116, 0 br i1 %117, label %337, label %118 118: ; preds = %112 %119 = load ptr, ptr %5, align 8, !tbaa !6 %120 = call i32 @SSL_connect(ptr noundef %119) #4 %121 = call i32 @TEST_int_gt(i32 noundef %120, i32 noundef 0) #4 %122 = icmp eq i32 %121, 0 br i1 %122, label %337, label %128 123: ; preds = %110 %124 = load ptr, ptr %5, align 8, !tbaa !6 %125 = call i32 @SSL_connect(ptr noundef %124) #4 %126 = call i32 @TEST_int_le(i32 noundef %125, i32 noundef 0) #4 %127 = icmp eq i32 %126, 0 br i1 %127, label %337, label %128 128: ; preds = %123, %118 %129 = load ptr, ptr %4, align 8, !tbaa !6 %130 = call i32 @SSL_read_early_data(ptr noundef %129, ptr noundef nonnull %7, i32 noundef 80, ptr noundef nonnull %9) #4 %131 = load i32, ptr @SSL_READ_EARLY_DATA_FINISH, align 4, !tbaa !12 %132 = call i32 @TEST_int_eq(i32 noundef %130, i32 noundef %131) #4 %133 = icmp eq i32 %132, 0 br i1 %133, label %337, label %134 134: ; preds = %128, %98 %135 = load ptr, ptr %4, align 8, !tbaa !6 %136 = load ptr, ptr %5, align 8, !tbaa !6 %137 = load i32, ptr @SSL_ERROR_NONE, align 4, !tbaa !12 %138 = call ptr @create_ssl_connection(ptr noundef %135, ptr noundef %136, i32 noundef %137) #4 %139 = call i32 @TEST_true(ptr noundef %138) #4 %140 = icmp eq i32 %139, 0 br i1 %140, label %337, label %141 141: ; preds = %134 %142 = load ptr, ptr @badccs, align 8, !tbaa !6 %143 = call i32 @TEST_false(ptr noundef %142) #4 %144 = icmp eq i32 %143, 0 br i1 %144, label %337, label %145 145: ; preds = %141 %146 = load ptr, ptr @badvers, align 8, !tbaa !6 %147 = call i32 @TEST_false(ptr noundef %146) #4 %148 = icmp eq i32 %147, 0 br i1 %148, label %337, label %149 149: ; preds = %145 %150 = load ptr, ptr @badsessid, align 8, !tbaa !6 %151 = call i32 @TEST_false(ptr noundef %150) #4 %152 = icmp eq i32 %151, 0 br i1 %152, label %337, label %153 153: ; preds = %149 %154 = load ptr, ptr @sccsseen, align 8, !tbaa !6 switch i32 %0, label %335 [ i32 0, label %155 i32 1, label %170 i32 2, label %185 i32 3, label %200 i32 4, label %215 i32 5, label %230 i32 6, label %245 i32 7, label %260 i32 8, label %275 i32 9, label %290 i32 10, label %305 i32 11, label %320 ] 155: ; preds = %153 %156 = call i32 @TEST_true(ptr noundef %154) #4 %157 = icmp eq i32 %156, 0 br i1 %157, label %337, label %158 158: ; preds = %155 %159 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %160 = call i32 @TEST_true(ptr noundef %159) #4 %161 = icmp eq i32 %160, 0 br i1 %161, label %337, label %162 162: ; preds = %158 %163 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %164 = call i32 @TEST_false(ptr noundef %163) #4 %165 = icmp eq i32 %164, 0 br i1 %165, label %337, label %166 166: ; preds = %162 %167 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %168 = call i32 @TEST_size_t_gt(i64 noundef %167, i32 noundef 0) #4 %169 = icmp eq i32 %168, 0 br i1 %169, label %337, label %336 170: ; preds = %153 %171 = call i32 @TEST_true(ptr noundef %154) #4 %172 = icmp eq i32 %171, 0 br i1 %172, label %337, label %173 173: ; preds = %170 %174 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %175 = call i32 @TEST_false(ptr noundef %174) #4 %176 = icmp eq i32 %175, 0 br i1 %176, label %337, label %177 177: ; preds = %173 %178 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %179 = call i32 @TEST_false(ptr noundef %178) #4 %180 = icmp eq i32 %179, 0 br i1 %180, label %337, label %181 181: ; preds = %177 %182 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %183 = call i32 @TEST_size_t_eq(i64 noundef %182, i32 noundef 0) #4 %184 = icmp eq i32 %183, 0 br i1 %184, label %337, label %336 185: ; preds = %153 %186 = call i32 @TEST_false(ptr noundef %154) #4 %187 = icmp eq i32 %186, 0 br i1 %187, label %337, label %188 188: ; preds = %185 %189 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %190 = call i32 @TEST_true(ptr noundef %189) #4 %191 = icmp eq i32 %190, 0 br i1 %191, label %337, label %192 192: ; preds = %188 %193 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %194 = call i32 @TEST_false(ptr noundef %193) #4 %195 = icmp eq i32 %194, 0 br i1 %195, label %337, label %196 196: ; preds = %192 %197 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %198 = call i32 @TEST_size_t_gt(i64 noundef %197, i32 noundef 0) #4 %199 = icmp eq i32 %198, 0 br i1 %199, label %337, label %336 200: ; preds = %153 %201 = call i32 @TEST_true(ptr noundef %154) #4 %202 = icmp eq i32 %201, 0 br i1 %202, label %337, label %203 203: ; preds = %200 %204 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %205 = call i32 @TEST_true(ptr noundef %204) #4 %206 = icmp eq i32 %205, 0 br i1 %206, label %337, label %207 207: ; preds = %203 %208 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %209 = call i32 @TEST_false(ptr noundef %208) #4 %210 = icmp eq i32 %209, 0 br i1 %210, label %337, label %211 211: ; preds = %207 %212 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %213 = call i32 @TEST_size_t_gt(i64 noundef %212, i32 noundef 0) #4 %214 = icmp eq i32 %213, 0 br i1 %214, label %337, label %336 215: ; preds = %153 %216 = call i32 @TEST_true(ptr noundef %154) #4 %217 = icmp eq i32 %216, 0 br i1 %217, label %337, label %218 218: ; preds = %215 %219 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %220 = call i32 @TEST_false(ptr noundef %219) #4 %221 = icmp eq i32 %220, 0 br i1 %221, label %337, label %222 222: ; preds = %218 %223 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %224 = call i32 @TEST_false(ptr noundef %223) #4 %225 = icmp eq i32 %224, 0 br i1 %225, label %337, label %226 226: ; preds = %222 %227 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %228 = call i32 @TEST_size_t_eq(i64 noundef %227, i32 noundef 0) #4 %229 = icmp eq i32 %228, 0 br i1 %229, label %337, label %336 230: ; preds = %153 %231 = call i32 @TEST_false(ptr noundef %154) #4 %232 = icmp eq i32 %231, 0 br i1 %232, label %337, label %233 233: ; preds = %230 %234 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %235 = call i32 @TEST_true(ptr noundef %234) #4 %236 = icmp eq i32 %235, 0 br i1 %236, label %337, label %237 237: ; preds = %233 %238 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %239 = call i32 @TEST_false(ptr noundef %238) #4 %240 = icmp eq i32 %239, 0 br i1 %240, label %337, label %241 241: ; preds = %237 %242 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %243 = call i32 @TEST_size_t_gt(i64 noundef %242, i32 noundef 0) #4 %244 = icmp eq i32 %243, 0 br i1 %244, label %337, label %336 245: ; preds = %153 %246 = call i32 @TEST_true(ptr noundef %154) #4 %247 = icmp eq i32 %246, 0 br i1 %247, label %337, label %248 248: ; preds = %245 %249 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %250 = call i32 @TEST_false(ptr noundef %249) #4 %251 = icmp eq i32 %250, 0 br i1 %251, label %337, label %252 252: ; preds = %248 %253 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %254 = call i32 @TEST_true(ptr noundef %253) #4 %255 = icmp eq i32 %254, 0 br i1 %255, label %337, label %256 256: ; preds = %252 %257 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %258 = call i32 @TEST_size_t_gt(i64 noundef %257, i32 noundef 0) #4 %259 = icmp eq i32 %258, 0 br i1 %259, label %337, label %336 260: ; preds = %153 %261 = call i32 @TEST_true(ptr noundef %154) #4 %262 = icmp eq i32 %261, 0 br i1 %262, label %337, label %263 263: ; preds = %260 %264 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %265 = call i32 @TEST_false(ptr noundef %264) #4 %266 = icmp eq i32 %265, 0 br i1 %266, label %337, label %267 267: ; preds = %263 %268 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %269 = call i32 @TEST_false(ptr noundef %268) #4 %270 = icmp eq i32 %269, 0 br i1 %270, label %337, label %271 271: ; preds = %267 %272 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %273 = call i32 @TEST_size_t_eq(i64 noundef %272, i32 noundef 0) #4 %274 = icmp eq i32 %273, 0 br i1 %274, label %337, label %336 275: ; preds = %153 %276 = call i32 @TEST_false(ptr noundef %154) #4 %277 = icmp eq i32 %276, 0 br i1 %277, label %337, label %278 278: ; preds = %275 %279 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %280 = call i32 @TEST_false(ptr noundef %279) #4 %281 = icmp eq i32 %280, 0 br i1 %281, label %337, label %282 282: ; preds = %278 %283 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %284 = call i32 @TEST_true(ptr noundef %283) #4 %285 = icmp eq i32 %284, 0 br i1 %285, label %337, label %286 286: ; preds = %282 %287 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %288 = call i32 @TEST_size_t_gt(i64 noundef %287, i32 noundef 0) #4 %289 = icmp eq i32 %288, 0 br i1 %289, label %337, label %336 290: ; preds = %153 %291 = call i32 @TEST_true(ptr noundef %154) #4 %292 = icmp eq i32 %291, 0 br i1 %292, label %337, label %293 293: ; preds = %290 %294 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %295 = call i32 @TEST_false(ptr noundef %294) #4 %296 = icmp eq i32 %295, 0 br i1 %296, label %337, label %297 297: ; preds = %293 %298 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %299 = call i32 @TEST_true(ptr noundef %298) #4 %300 = icmp eq i32 %299, 0 br i1 %300, label %337, label %301 301: ; preds = %297 %302 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %303 = call i32 @TEST_size_t_gt(i64 noundef %302, i32 noundef 0) #4 %304 = icmp eq i32 %303, 0 br i1 %304, label %337, label %336 305: ; preds = %153 %306 = call i32 @TEST_true(ptr noundef %154) #4 %307 = icmp eq i32 %306, 0 br i1 %307, label %337, label %308 308: ; preds = %305 %309 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %310 = call i32 @TEST_false(ptr noundef %309) #4 %311 = icmp eq i32 %310, 0 br i1 %311, label %337, label %312 312: ; preds = %308 %313 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %314 = call i32 @TEST_false(ptr noundef %313) #4 %315 = icmp eq i32 %314, 0 br i1 %315, label %337, label %316 316: ; preds = %312 %317 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %318 = call i32 @TEST_size_t_eq(i64 noundef %317, i32 noundef 0) #4 %319 = icmp eq i32 %318, 0 br i1 %319, label %337, label %336 320: ; preds = %153 %321 = call i32 @TEST_false(ptr noundef %154) #4 %322 = icmp eq i32 %321, 0 br i1 %322, label %337, label %323 323: ; preds = %320 %324 = load ptr, ptr @ccsaftersh, align 8, !tbaa !6 %325 = call i32 @TEST_false(ptr noundef %324) #4 %326 = icmp eq i32 %325, 0 br i1 %326, label %337, label %327 327: ; preds = %323 %328 = load ptr, ptr @ccsbeforesh, align 8, !tbaa !6 %329 = call i32 @TEST_true(ptr noundef %328) #4 %330 = icmp eq i32 %329, 0 br i1 %330, label %337, label %331 331: ; preds = %327 %332 = load i64, ptr @chsessidlen, align 8, !tbaa !10 %333 = call i32 @TEST_size_t_gt(i64 noundef %332, i32 noundef 0) #4 %334 = icmp eq i32 %333, 0 br i1 %334, label %337, label %336 335: ; preds = %153 unreachable 336: ; preds = %331, %316, %301, %286, %271, %256, %241, %226, %211, %196, %181, %166 br label %337 337: ; preds = %320, %323, %327, %331, %305, %308, %312, %316, %290, %293, %297, %301, %275, %278, %282, %286, %260, %263, %267, %271, %245, %248, %252, %256, %230, %233, %237, %241, %215, %218, %222, %226, %200, %203, %207, %211, %185, %188, %192, %196, %170, %173, %177, %181, %155, %158, %162, %166, %141, %145, %149, %134, %128, %123, %118, %99, %104, %112, %90, %68, %48, %35, %41, %1, %18, %336, %85, %26 %338 = phi i32 [ 0, %26 ], [ 1, %336 ], [ 0, %331 ], [ 0, %327 ], [ 0, %323 ], [ 0, %320 ], [ 0, %316 ], [ 0, %312 ], [ 0, %308 ], [ 0, %305 ], [ 0, %301 ], [ 0, %297 ], [ 0, %293 ], [ 0, %290 ], [ 0, %286 ], [ 0, %282 ], [ 0, %278 ], [ 0, %275 ], [ 0, %271 ], [ 0, %267 ], [ 0, %263 ], [ 0, %260 ], [ 0, %256 ], [ 0, %252 ], [ 0, %248 ], [ 0, %245 ], [ 0, %241 ], [ 0, %237 ], [ 0, %233 ], [ 0, %230 ], [ 0, %226 ], [ 0, %222 ], [ 0, %218 ], [ 0, %215 ], [ 0, %211 ], [ 0, %207 ], [ 0, %203 ], [ 0, %200 ], [ 0, %196 ], [ 0, %192 ], [ 0, %188 ], [ 0, %185 ], [ 0, %181 ], [ 0, %177 ], [ 0, %173 ], [ 0, %170 ], [ 0, %166 ], [ 0, %162 ], [ 0, %158 ], [ 0, %155 ], [ 0, %149 ], [ 0, %145 ], [ 0, %141 ], [ 0, %134 ], [ 0, %128 ], [ 0, %118 ], [ 0, %123 ], [ 0, %112 ], [ 0, %104 ], [ 0, %99 ], [ 0, %90 ], [ 0, %85 ], [ 0, %68 ], [ 0, %48 ], [ 0, %41 ], [ 0, %35 ], [ 0, %18 ], [ 0, %1 ] %339 = phi ptr [ null, %26 ], [ %63, %336 ], [ %63, %331 ], [ %63, %327 ], [ %63, %323 ], [ %63, %320 ], [ %63, %316 ], [ %63, %312 ], [ %63, %308 ], [ %63, %305 ], [ %63, %301 ], [ %63, %297 ], [ %63, %293 ], [ %63, %290 ], [ %63, %286 ], [ %63, %282 ], [ %63, %278 ], [ %63, %275 ], [ %63, %271 ], [ %63, %267 ], [ %63, %263 ], [ %63, %260 ], [ %63, %256 ], [ %63, %252 ], [ %63, %248 ], [ %63, %245 ], [ %63, %241 ], [ %63, %237 ], [ %63, %233 ], [ %63, %230 ], [ %63, %226 ], [ %63, %222 ], [ %63, %218 ], [ %63, %215 ], [ %63, %211 ], [ %63, %207 ], [ %63, %203 ], [ %63, %200 ], [ %63, %196 ], [ %63, %192 ], [ %63, %188 ], [ %63, %185 ], [ %63, %181 ], [ %63, %177 ], [ %63, %173 ], [ %63, %170 ], [ %63, %166 ], [ %63, %162 ], [ %63, %158 ], [ %63, %155 ], [ %63, %149 ], [ %63, %145 ], [ %63, %141 ], [ %63, %134 ], [ %63, %128 ], [ %63, %118 ], [ %63, %123 ], [ %63, %112 ], [ %63, %104 ], [ %63, %99 ], [ %63, %90 ], [ %63, %85 ], [ %63, %68 ], [ %50, %48 ], [ null, %41 ], [ null, %35 ], [ null, %18 ], [ null, %1 ] %340 = call i32 @SSL_SESSION_free(ptr noundef %339) #4 %341 = load ptr, ptr %4, align 8, !tbaa !6 %342 = call i32 @SSL_free(ptr noundef %341) #4 %343 = load ptr, ptr %5, align 8, !tbaa !6 %344 = call i32 @SSL_free(ptr noundef %343) #4 %345 = load ptr, ptr %2, align 8, !tbaa !6 %346 = call i32 @SSL_CTX_free(ptr noundef %345) #4 %347 = load ptr, ptr %3, align 8, !tbaa !6 %348 = call i32 @SSL_CTX_free(ptr noundef %347) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 11, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4 ret i32 %338 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @TEST_true(ptr noundef) local_unnamed_addr #3 declare ptr @create_ssl_ctx_pair(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TLS_server_method(...) local_unnamed_addr #3 declare i32 @TLS_client_method(...) local_unnamed_addr #3 declare ptr @SSL_CTX_set_max_early_data(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @SSL_CTX_clear_options(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TEST_error(ptr noundef) local_unnamed_addr #3 declare ptr @create_ssl_objects(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @create_ssl_connection(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare ptr @SSL_get1_session(ptr noundef) local_unnamed_addr #3 declare i32 @TEST_ptr(ptr noundef) local_unnamed_addr #3 declare i32 @SSL_shutdown(ptr noundef) local_unnamed_addr #3 declare i32 @SSL_free(ptr noundef) local_unnamed_addr #3 declare ptr @SSL_CTX_set1_groups_list(ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @BIO_new(i32 noundef) local_unnamed_addr #3 declare i32 @bio_f_watchccs_filter(...) local_unnamed_addr #3 declare i32 @BIO_free(ptr noundef) local_unnamed_addr #3 declare ptr @SSL_set_session(ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @SSL_write_early_data(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @strlen(ptr noundef) local_unnamed_addr #3 declare i32 @TEST_int_eq(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @SSL_read_early_data(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @TEST_int_gt(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @SSL_connect(ptr noundef) local_unnamed_addr #3 declare i32 @TEST_int_le(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TEST_false(ptr noundef) local_unnamed_addr #3 declare i32 @TEST_size_t_gt(i64 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @TEST_size_t_eq(i64 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @SSL_SESSION_free(ptr noundef) local_unnamed_addr #3 declare i32 @SSL_CTX_free(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
openssl_test_extr_tls13ccstest.c_test_tls13ccs
; ModuleID = 'AnghaBench/postgres/src/bin/psql/extr_command.c_SyncVariables.c' source_filename = "AnghaBench/postgres/src/bin/psql/extr_command.c_SyncVariables.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32, i32, i32, i32, i32, %struct.TYPE_5__ } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @pset = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4 @.str = private unnamed_addr constant [7 x i8] c"DBNAME\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"USER\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"HOST\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"PORT\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"ENCODING\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"server_version\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"SERVER_VERSION_NAME\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"SERVER_VERSION_NUM\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @SyncVariables() local_unnamed_addr #0 { %1 = alloca [32 x i8], align 16 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #3 %2 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %3 = tail call i32 @PQclientEncoding(i32 noundef %2) #3 store i32 %3, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 5), align 4, !tbaa !12 store i32 %3, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 6), align 4, !tbaa !13 %4 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %5 = tail call i32 @PQserverVersion(i32 noundef %4) #3 store i32 %5, ptr @pset, align 4, !tbaa !14 %6 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 4), align 4, !tbaa !15 %7 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %8 = tail call ptr @PQdb(i32 noundef %7) #3 %9 = tail call i32 @SetVariable(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %8) #3 %10 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 4), align 4, !tbaa !15 %11 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %12 = tail call ptr @PQuser(i32 noundef %11) #3 %13 = tail call i32 @SetVariable(i32 noundef %10, ptr noundef nonnull @.str.1, ptr noundef %12) #3 %14 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 4), align 4, !tbaa !15 %15 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %16 = tail call ptr @PQhost(i32 noundef %15) #3 %17 = tail call i32 @SetVariable(i32 noundef %14, ptr noundef nonnull @.str.2, ptr noundef %16) #3 %18 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 4), align 4, !tbaa !15 %19 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %20 = tail call ptr @PQport(i32 noundef %19) #3 %21 = tail call i32 @SetVariable(i32 noundef %18, ptr noundef nonnull @.str.3, ptr noundef %20) #3 %22 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 4), align 4, !tbaa !15 %23 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 5), align 4, !tbaa !12 %24 = tail call ptr @pg_encoding_to_char(i32 noundef %23) #3 %25 = tail call i32 @SetVariable(i32 noundef %22, ptr noundef nonnull @.str.4, ptr noundef %24) #3 %26 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %27 = tail call ptr @PQparameterStatus(i32 noundef %26, ptr noundef nonnull @.str.5) #3 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %0 %30 = load i32, ptr @pset, align 4, !tbaa !14 %31 = call i32 @formatPGVersionNumber(i32 noundef %30, i32 noundef 1, ptr noundef nonnull %1, i32 noundef 32) #3 br label %32 32: ; preds = %29, %0 %33 = phi ptr [ %27, %0 ], [ %1, %29 ] %34 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 4), align 4, !tbaa !15 %35 = call i32 @SetVariable(i32 noundef %34, ptr noundef nonnull @.str.6, ptr noundef nonnull %33) #3 %36 = load i32, ptr @pset, align 4, !tbaa !14 %37 = call i32 @snprintf(ptr noundef nonnull %1, i32 noundef 32, ptr noundef nonnull @.str.7, i32 noundef %36) #3 %38 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 4), align 4, !tbaa !15 %39 = call i32 @SetVariable(i32 noundef %38, ptr noundef nonnull @.str.8, ptr noundef nonnull %1) #3 %40 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %41 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 3), align 4, !tbaa !16 %42 = call i32 @PQsetErrorVerbosity(i32 noundef %40, i32 noundef %41) #3 %43 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 2), align 4, !tbaa !5 %44 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @pset, i64 0, i32 1), align 4, !tbaa !17 %45 = call i32 @PQsetErrorContextVisibility(i32 noundef %43, i32 noundef %44) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @PQclientEncoding(i32 noundef) local_unnamed_addr #2 declare i32 @PQserverVersion(i32 noundef) local_unnamed_addr #2 declare i32 @SetVariable(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @PQdb(i32 noundef) local_unnamed_addr #2 declare ptr @PQuser(i32 noundef) local_unnamed_addr #2 declare ptr @PQhost(i32 noundef) local_unnamed_addr #2 declare ptr @PQport(i32 noundef) local_unnamed_addr #2 declare ptr @pg_encoding_to_char(i32 noundef) local_unnamed_addr #2 declare ptr @PQparameterStatus(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @formatPGVersionNumber(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PQsetErrorVerbosity(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PQsetErrorContextVisibility(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 8} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_5__", !11, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!6, !7, i64 20} !13 = !{!6, !7, i64 24} !14 = !{!6, !7, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!6, !7, i64 12} !17 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/postgres/src/bin/psql/extr_command.c_SyncVariables.c' source_filename = "AnghaBench/postgres/src/bin/psql/extr_command.c_SyncVariables.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i32, i32, i32, i32, i32, i32, %struct.TYPE_5__ } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @pset = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4 @.str = private unnamed_addr constant [7 x i8] c"DBNAME\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"USER\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"HOST\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"PORT\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"ENCODING\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"server_version\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"SERVER_VERSION_NAME\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"SERVER_VERSION_NUM\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @SyncVariables() local_unnamed_addr #0 { %1 = alloca [32 x i8], align 1 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #3 %2 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %3 = tail call i32 @PQclientEncoding(i32 noundef %2) #3 store i32 %3, ptr getelementptr inbounds (i8, ptr @pset, i64 20), align 4, !tbaa !13 store i32 %3, ptr getelementptr inbounds (i8, ptr @pset, i64 24), align 4, !tbaa !14 %4 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %5 = tail call i32 @PQserverVersion(i32 noundef %4) #3 store i32 %5, ptr @pset, align 4, !tbaa !15 %6 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 16), align 4, !tbaa !16 %7 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %8 = tail call ptr @PQdb(i32 noundef %7) #3 %9 = tail call i32 @SetVariable(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %8) #3 %10 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 16), align 4, !tbaa !16 %11 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %12 = tail call ptr @PQuser(i32 noundef %11) #3 %13 = tail call i32 @SetVariable(i32 noundef %10, ptr noundef nonnull @.str.1, ptr noundef %12) #3 %14 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 16), align 4, !tbaa !16 %15 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %16 = tail call ptr @PQhost(i32 noundef %15) #3 %17 = tail call i32 @SetVariable(i32 noundef %14, ptr noundef nonnull @.str.2, ptr noundef %16) #3 %18 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 16), align 4, !tbaa !16 %19 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %20 = tail call ptr @PQport(i32 noundef %19) #3 %21 = tail call i32 @SetVariable(i32 noundef %18, ptr noundef nonnull @.str.3, ptr noundef %20) #3 %22 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 16), align 4, !tbaa !16 %23 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 20), align 4, !tbaa !13 %24 = tail call ptr @pg_encoding_to_char(i32 noundef %23) #3 %25 = tail call i32 @SetVariable(i32 noundef %22, ptr noundef nonnull @.str.4, ptr noundef %24) #3 %26 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %27 = tail call ptr @PQparameterStatus(i32 noundef %26, ptr noundef nonnull @.str.5) #3 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %0 %30 = load i32, ptr @pset, align 4, !tbaa !15 %31 = call i32 @formatPGVersionNumber(i32 noundef %30, i32 noundef 1, ptr noundef nonnull %1, i32 noundef 32) #3 br label %32 32: ; preds = %29, %0 %33 = phi ptr [ %27, %0 ], [ %1, %29 ] %34 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 16), align 4, !tbaa !16 %35 = call i32 @SetVariable(i32 noundef %34, ptr noundef nonnull @.str.6, ptr noundef nonnull %33) #3 %36 = load i32, ptr @pset, align 4, !tbaa !15 %37 = call i32 @snprintf(ptr noundef nonnull %1, i32 noundef 32, ptr noundef nonnull @.str.7, i32 noundef %36) #3 %38 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 16), align 4, !tbaa !16 %39 = call i32 @SetVariable(i32 noundef %38, ptr noundef nonnull @.str.8, ptr noundef nonnull %1) #3 %40 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %41 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 12), align 4, !tbaa !17 %42 = call i32 @PQsetErrorVerbosity(i32 noundef %40, i32 noundef %41) #3 %43 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 4, !tbaa !6 %44 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 4), align 4, !tbaa !18 %45 = call i32 @PQsetErrorContextVisibility(i32 noundef %43, i32 noundef %44) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @PQclientEncoding(i32 noundef) local_unnamed_addr #2 declare i32 @PQserverVersion(i32 noundef) local_unnamed_addr #2 declare i32 @SetVariable(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @PQdb(i32 noundef) local_unnamed_addr #2 declare ptr @PQuser(i32 noundef) local_unnamed_addr #2 declare ptr @PQhost(i32 noundef) local_unnamed_addr #2 declare ptr @PQport(i32 noundef) local_unnamed_addr #2 declare ptr @pg_encoding_to_char(i32 noundef) local_unnamed_addr #2 declare ptr @PQparameterStatus(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @formatPGVersionNumber(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PQsetErrorVerbosity(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PQsetErrorContextVisibility(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!7, !8, i64 20} !14 = !{!7, !8, i64 24} !15 = !{!7, !8, i64 0} !16 = !{!7, !8, i64 16} !17 = !{!7, !8, i64 12} !18 = !{!7, !8, i64 4}
postgres_src_bin_psql_extr_command.c_SyncVariables
; ModuleID = 'AnghaBench/freebsd/sys/cddl/dev/dtrace/extr_dtrace_ioctl.c_dtrace_ioctl_helper.c' source_filename = "AnghaBench/freebsd/sys/cddl/dev/dtrace/extr_dtrace_ioctl.c_dtrace_ioctl_helper.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32 } %struct.proc = type { i32, ptr, i32 } @curproc = dso_local local_unnamed_addr global ptr null, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @P_TRACED = dso_local local_unnamed_addr global i32 0, align 4 @P_WEXIT = dso_local local_unnamed_addr global i32 0, align 4 @dtrace_lock = dso_local global i32 0, align 4 @ENOTTY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dtrace_ioctl_helper], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dtrace_ioctl_helper(ptr nocapture readnone %0, i32 noundef %1, i64 noundef %2, i32 %3, ptr nocapture readnone %4) #0 { %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 store i32 0, ptr %6, align 4, !tbaa !5 switch i32 %1, label %73 [ i32 129, label %7 i32 128, label %67 ] 7: ; preds = %5 %8 = inttoptr i64 %2 to ptr %9 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 2 %10 = load i32, ptr %9, align 4, !tbaa !9 %11 = sext i32 %10 to i64 %12 = load ptr, ptr @curproc, align 8, !tbaa !11 %13 = getelementptr inbounds %struct.proc, ptr %12, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !13 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %8, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = icmp eq i32 %14, %16 br i1 %17, label %18, label %20 18: ; preds = %7 %19 = call ptr @dtrace_dof_copyin(i64 noundef %11, ptr noundef nonnull %6) #3 br label %44 20: ; preds = %7 %21 = tail call ptr @pfind(i32 noundef %16) #3 %22 = icmp eq ptr %21, null br i1 %22, label %75, label %23 23: ; preds = %20 %24 = tail call i32 @P_SHOULDSTOP(ptr noundef nonnull %21) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %38, label %26 26: ; preds = %23 %27 = load i32, ptr %21, align 8, !tbaa !16 %28 = load i32, ptr @P_TRACED, align 4, !tbaa !5 %29 = load i32, ptr @P_WEXIT, align 4, !tbaa !5 %30 = or i32 %29, %28 %31 = and i32 %30, %27 %32 = icmp eq i32 %31, %28 br i1 %32, label %33, label %38 33: ; preds = %26 %34 = getelementptr inbounds %struct.proc, ptr %21, i64 0, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !17 %36 = load ptr, ptr @curproc, align 8, !tbaa !11 %37 = icmp eq ptr %35, %36 br i1 %37, label %40, label %38 38: ; preds = %33, %26, %23 %39 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %21) #3 br label %75 40: ; preds = %33 %41 = tail call i32 @_PHOLD(ptr noundef nonnull %21) #3 %42 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %21) #3 %43 = call ptr @dtrace_dof_copyin_proc(ptr noundef nonnull %21, i64 noundef %11, ptr noundef nonnull %6) #3 br label %44 44: ; preds = %40, %18 %45 = phi ptr [ %12, %18 ], [ %21, %40 ] %46 = phi ptr [ %19, %18 ], [ %43, %40 ] %47 = icmp eq ptr %46, null br i1 %47, label %48, label %53 48: ; preds = %44 %49 = load ptr, ptr @curproc, align 8, !tbaa !11 %50 = icmp eq ptr %45, %49 br i1 %50, label %75, label %51 51: ; preds = %48 %52 = call i32 @PRELE(ptr noundef nonnull %45) #3 br label %75 53: ; preds = %44 %54 = call i32 @mutex_enter(ptr noundef nonnull @dtrace_lock) #3 %55 = call i32 @dtrace_helper_slurp(ptr noundef nonnull %46, ptr noundef nonnull %8, ptr noundef nonnull %45) #3 %56 = icmp eq i32 %55, -1 br i1 %56, label %58, label %57 57: ; preds = %53 store i32 %55, ptr %8, align 4, !tbaa !18 br label %60 58: ; preds = %53 %59 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %60 60: ; preds = %58, %57 %61 = phi i32 [ %59, %58 ], [ 0, %57 ] store i32 %61, ptr %6, align 4, !tbaa !5 %62 = call i32 @mutex_exit(ptr noundef nonnull @dtrace_lock) #3 %63 = load ptr, ptr @curproc, align 8, !tbaa !11 %64 = icmp eq ptr %45, %63 br i1 %64, label %75, label %65 65: ; preds = %60 %66 = call i32 @PRELE(ptr noundef nonnull %45) #3 br label %75 67: ; preds = %5 %68 = tail call i32 @mutex_enter(ptr noundef nonnull @dtrace_lock) #3 %69 = inttoptr i64 %2 to ptr %70 = load i32, ptr %69, align 4, !tbaa !5 %71 = tail call i32 @dtrace_helper_destroygen(ptr noundef null, i32 noundef %70) #3 store i32 %71, ptr %6, align 4, !tbaa !5 %72 = tail call i32 @mutex_exit(ptr noundef nonnull @dtrace_lock) #3 br label %75 73: ; preds = %5 %74 = load i32, ptr @ENOTTY, align 4, !tbaa !5 store i32 %74, ptr %6, align 4, !tbaa !5 br label %75 75: ; preds = %67, %73, %51, %48, %65, %60, %20, %38 %76 = phi ptr [ @EINVAL, %38 ], [ @EINVAL, %20 ], [ %6, %60 ], [ %6, %65 ], [ %6, %48 ], [ %6, %51 ], [ %6, %73 ], [ %6, %67 ] %77 = load i32, ptr %76, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %77 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dtrace_dof_copyin(i64 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @pfind(i32 noundef) local_unnamed_addr #2 declare i32 @P_SHOULDSTOP(ptr noundef) local_unnamed_addr #2 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #2 declare i32 @_PHOLD(ptr noundef) local_unnamed_addr #2 declare ptr @dtrace_dof_copyin_proc(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PRELE(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #2 declare i32 @dtrace_helper_slurp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2 declare i32 @dtrace_helper_destroygen(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 16} !14 = !{!"proc", !6, i64 0, !12, i64 8, !6, i64 16} !15 = !{!10, !6, i64 4} !16 = !{!14, !6, i64 0} !17 = !{!14, !12, i64 8} !18 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/dev/dtrace/extr_dtrace_ioctl.c_dtrace_ioctl_helper.c' source_filename = "AnghaBench/freebsd/sys/cddl/dev/dtrace/extr_dtrace_ioctl.c_dtrace_ioctl_helper.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @curproc = common local_unnamed_addr global ptr null, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @P_TRACED = common local_unnamed_addr global i32 0, align 4 @P_WEXIT = common local_unnamed_addr global i32 0, align 4 @dtrace_lock = common global i32 0, align 4 @ENOTTY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dtrace_ioctl_helper], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dtrace_ioctl_helper(ptr nocapture readnone %0, i32 noundef %1, i64 noundef %2, i32 %3, ptr nocapture readnone %4) #0 { %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 store i32 0, ptr %6, align 4, !tbaa !6 switch i32 %1, label %73 [ i32 129, label %7 i32 128, label %67 ] 7: ; preds = %5 %8 = inttoptr i64 %2 to ptr %9 = getelementptr inbounds i8, ptr %8, i64 8 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = sext i32 %10 to i64 %12 = load ptr, ptr @curproc, align 8, !tbaa !12 %13 = getelementptr inbounds i8, ptr %12, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !14 %15 = getelementptr inbounds i8, ptr %8, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = icmp eq i32 %14, %16 br i1 %17, label %18, label %20 18: ; preds = %7 %19 = call ptr @dtrace_dof_copyin(i64 noundef %11, ptr noundef nonnull %6) #3 br label %44 20: ; preds = %7 %21 = tail call ptr @pfind(i32 noundef %16) #3 %22 = icmp eq ptr %21, null br i1 %22, label %75, label %23 23: ; preds = %20 %24 = tail call i32 @P_SHOULDSTOP(ptr noundef nonnull %21) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %38, label %26 26: ; preds = %23 %27 = load i32, ptr %21, align 8, !tbaa !17 %28 = load i32, ptr @P_TRACED, align 4, !tbaa !6 %29 = load i32, ptr @P_WEXIT, align 4, !tbaa !6 %30 = or i32 %29, %28 %31 = and i32 %30, %27 %32 = icmp eq i32 %31, %28 br i1 %32, label %33, label %38 33: ; preds = %26 %34 = getelementptr inbounds i8, ptr %21, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !18 %36 = load ptr, ptr @curproc, align 8, !tbaa !12 %37 = icmp eq ptr %35, %36 br i1 %37, label %40, label %38 38: ; preds = %33, %26, %23 %39 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %21) #3 br label %75 40: ; preds = %33 %41 = tail call i32 @_PHOLD(ptr noundef nonnull %21) #3 %42 = tail call i32 @PROC_UNLOCK(ptr noundef nonnull %21) #3 %43 = call ptr @dtrace_dof_copyin_proc(ptr noundef nonnull %21, i64 noundef %11, ptr noundef nonnull %6) #3 br label %44 44: ; preds = %40, %18 %45 = phi ptr [ %12, %18 ], [ %21, %40 ] %46 = phi ptr [ %19, %18 ], [ %43, %40 ] %47 = icmp eq ptr %46, null br i1 %47, label %48, label %53 48: ; preds = %44 %49 = load ptr, ptr @curproc, align 8, !tbaa !12 %50 = icmp eq ptr %45, %49 br i1 %50, label %75, label %51 51: ; preds = %48 %52 = call i32 @PRELE(ptr noundef nonnull %45) #3 br label %75 53: ; preds = %44 %54 = call i32 @mutex_enter(ptr noundef nonnull @dtrace_lock) #3 %55 = call i32 @dtrace_helper_slurp(ptr noundef nonnull %46, ptr noundef nonnull %8, ptr noundef nonnull %45) #3 %56 = icmp eq i32 %55, -1 br i1 %56, label %58, label %57 57: ; preds = %53 store i32 %55, ptr %8, align 4, !tbaa !19 br label %60 58: ; preds = %53 %59 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %60 60: ; preds = %58, %57 %61 = phi i32 [ %59, %58 ], [ 0, %57 ] store i32 %61, ptr %6, align 4, !tbaa !6 %62 = call i32 @mutex_exit(ptr noundef nonnull @dtrace_lock) #3 %63 = load ptr, ptr @curproc, align 8, !tbaa !12 %64 = icmp eq ptr %45, %63 br i1 %64, label %75, label %65 65: ; preds = %60 %66 = call i32 @PRELE(ptr noundef nonnull %45) #3 br label %75 67: ; preds = %5 %68 = tail call i32 @mutex_enter(ptr noundef nonnull @dtrace_lock) #3 %69 = inttoptr i64 %2 to ptr %70 = load i32, ptr %69, align 4, !tbaa !6 %71 = tail call i32 @dtrace_helper_destroygen(ptr noundef null, i32 noundef %70) #3 store i32 %71, ptr %6, align 4, !tbaa !6 %72 = tail call i32 @mutex_exit(ptr noundef nonnull @dtrace_lock) #3 br label %75 73: ; preds = %5 %74 = load i32, ptr @ENOTTY, align 4, !tbaa !6 store i32 %74, ptr %6, align 4, !tbaa !6 br label %75 75: ; preds = %67, %73, %51, %48, %65, %60, %20, %38 %76 = phi ptr [ @EINVAL, %38 ], [ @EINVAL, %20 ], [ %6, %60 ], [ %6, %65 ], [ %6, %48 ], [ %6, %51 ], [ %6, %73 ], [ %6, %67 ] %77 = load i32, ptr %76, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %77 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dtrace_dof_copyin(i64 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @pfind(i32 noundef) local_unnamed_addr #2 declare i32 @P_SHOULDSTOP(ptr noundef) local_unnamed_addr #2 declare i32 @PROC_UNLOCK(ptr noundef) local_unnamed_addr #2 declare i32 @_PHOLD(ptr noundef) local_unnamed_addr #2 declare ptr @dtrace_dof_copyin_proc(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PRELE(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #2 declare i32 @dtrace_helper_slurp(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2 declare i32 @dtrace_helper_destroygen(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 16} !15 = !{!"proc", !7, i64 0, !13, i64 8, !7, i64 16} !16 = !{!11, !7, i64 4} !17 = !{!15, !7, i64 0} !18 = !{!15, !13, i64 8} !19 = !{!11, !7, i64 0}
freebsd_sys_cddl_dev_dtrace_extr_dtrace_ioctl.c_dtrace_ioctl_helper
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_set_refreservation_sync_impl.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_set_refreservation_sync_impl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { ptr, i32, i64, i32 } @ZFS_PROP_REFRESERVATION = dso_local local_unnamed_addr global i32 0, align 4 @DD_USED_REFRSRV = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dsl_dataset_set_refreservation_sync_impl(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %2, ptr %5, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %7 = load i32, ptr @ZFS_PROP_REFRESERVATION, align 4, !tbaa !9 %8 = tail call i32 @zfs_prop_to_name(i32 noundef %7) #3 %9 = call i32 @dsl_prop_set_sync_impl(ptr noundef %0, i32 noundef %8, i32 noundef %1, i32 noundef 8, i32 noundef 1, ptr noundef nonnull %5, ptr noundef %3) #3 %10 = load i32, ptr @ZFS_PROP_REFRESERVATION, align 4, !tbaa !9 %11 = call i32 @zfs_prop_to_name(i32 noundef %10) #3 %12 = call i32 @dsl_prop_get_int_ds(ptr noundef %0, i32 noundef %11, ptr noundef nonnull %6) #3 %13 = call i32 @VERIFY0(i32 noundef %12) #3 %14 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 %15 = load i32, ptr %14, align 8, !tbaa !11 %16 = call i32 @dmu_buf_will_dirty(i32 noundef %15, ptr noundef %3) #3 %17 = load ptr, ptr %0, align 8, !tbaa !14 %18 = call i32 @mutex_enter(ptr noundef %17) #3 %19 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %20 = call i32 @mutex_enter(ptr noundef nonnull %19) #3 %21 = call i32 @DS_UNIQUE_IS_ACCURATE(ptr noundef nonnull %0) #3 %22 = call i32 @ASSERT(i32 noundef %21) #3 %23 = call ptr @dsl_dataset_phys(ptr noundef nonnull %0) #3 %24 = load i64, ptr %23, align 8, !tbaa !15 %25 = load i64, ptr %6, align 8, !tbaa !5 %26 = sub nsw i64 %25, %24 %27 = call i64 @MAX(i32 noundef 0, i64 noundef %26) #3 %28 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %29 = load i64, ptr %28, align 8, !tbaa !17 %30 = sub nsw i64 %29, %24 %31 = call i64 @MAX(i32 noundef 0, i64 noundef %30) #3 %32 = sub nsw i64 %27, %31 %33 = load i64, ptr %6, align 8, !tbaa !5 store i64 %33, ptr %28, align 8, !tbaa !17 %34 = call i32 @mutex_exit(ptr noundef nonnull %19) #3 %35 = load ptr, ptr %0, align 8, !tbaa !14 %36 = load i32, ptr @DD_USED_REFRSRV, align 4, !tbaa !9 %37 = call i32 @dsl_dir_diduse_space(ptr noundef %35, i32 noundef %36, i64 noundef %32, i32 noundef 0, i32 noundef 0, ptr noundef %3) #3 %38 = load ptr, ptr %0, align 8, !tbaa !14 %39 = call i32 @mutex_exit(ptr noundef %38) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #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 @dsl_prop_set_sync_impl(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zfs_prop_to_name(i32 noundef) local_unnamed_addr #2 declare i32 @VERIFY0(i32 noundef) local_unnamed_addr #2 declare i32 @dsl_prop_get_int_ds(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dmu_buf_will_dirty(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #2 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @DS_UNIQUE_IS_ACCURATE(ptr noundef) local_unnamed_addr #2 declare ptr @dsl_dataset_phys(ptr noundef) local_unnamed_addr #2 declare i64 @MAX(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2 declare i32 @dsl_dir_diduse_space(ptr noundef, i32 noundef, i64 noundef, 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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 24} !12 = !{!"TYPE_9__", !13, i64 0, !10, i64 8, !6, i64 16, !10, i64 24} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_11__", !6, i64 0} !17 = !{!12, !6, i64 16}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_set_refreservation_sync_impl.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dataset.c_dsl_dataset_set_refreservation_sync_impl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZFS_PROP_REFRESERVATION = common local_unnamed_addr global i32 0, align 4 @DD_USED_REFRSRV = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dsl_dataset_set_refreservation_sync_impl(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %2, ptr %5, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %7 = load i32, ptr @ZFS_PROP_REFRESERVATION, align 4, !tbaa !10 %8 = tail call i32 @zfs_prop_to_name(i32 noundef %7) #3 %9 = call i32 @dsl_prop_set_sync_impl(ptr noundef %0, i32 noundef %8, i32 noundef %1, i32 noundef 8, i32 noundef 1, ptr noundef nonnull %5, ptr noundef %3) #3 %10 = load i32, ptr @ZFS_PROP_REFRESERVATION, align 4, !tbaa !10 %11 = call i32 @zfs_prop_to_name(i32 noundef %10) #3 %12 = call i32 @dsl_prop_get_int_ds(ptr noundef %0, i32 noundef %11, ptr noundef nonnull %6) #3 %13 = call i32 @VERIFY0(i32 noundef %12) #3 %14 = getelementptr inbounds i8, ptr %0, i64 24 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = call i32 @dmu_buf_will_dirty(i32 noundef %15, ptr noundef %3) #3 %17 = load ptr, ptr %0, align 8, !tbaa !15 %18 = call i32 @mutex_enter(ptr noundef %17) #3 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = call i32 @mutex_enter(ptr noundef nonnull %19) #3 %21 = call i32 @DS_UNIQUE_IS_ACCURATE(ptr noundef nonnull %0) #3 %22 = call i32 @ASSERT(i32 noundef %21) #3 %23 = call ptr @dsl_dataset_phys(ptr noundef nonnull %0) #3 %24 = load i64, ptr %23, align 8, !tbaa !16 %25 = load i64, ptr %6, align 8, !tbaa !6 %26 = sub nsw i64 %25, %24 %27 = call i64 @MAX(i32 noundef 0, i64 noundef %26) #3 %28 = getelementptr inbounds i8, ptr %0, i64 16 %29 = load i64, ptr %28, align 8, !tbaa !18 %30 = sub nsw i64 %29, %24 %31 = call i64 @MAX(i32 noundef 0, i64 noundef %30) #3 %32 = sub nsw i64 %27, %31 %33 = load i64, ptr %6, align 8, !tbaa !6 store i64 %33, ptr %28, align 8, !tbaa !18 %34 = call i32 @mutex_exit(ptr noundef nonnull %19) #3 %35 = load ptr, ptr %0, align 8, !tbaa !15 %36 = load i32, ptr @DD_USED_REFRSRV, align 4, !tbaa !10 %37 = call i32 @dsl_dir_diduse_space(ptr noundef %35, i32 noundef %36, i64 noundef %32, i32 noundef 0, i32 noundef 0, ptr noundef %3) #3 %38 = load ptr, ptr %0, align 8, !tbaa !15 %39 = call i32 @mutex_exit(ptr noundef %38) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #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 @dsl_prop_set_sync_impl(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @zfs_prop_to_name(i32 noundef) local_unnamed_addr #2 declare i32 @VERIFY0(i32 noundef) local_unnamed_addr #2 declare i32 @dsl_prop_get_int_ds(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dmu_buf_will_dirty(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #2 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @DS_UNIQUE_IS_ACCURATE(ptr noundef) local_unnamed_addr #2 declare ptr @dsl_dataset_phys(ptr noundef) local_unnamed_addr #2 declare i64 @MAX(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2 declare i32 @dsl_dir_diduse_space(ptr noundef, i32 noundef, i64 noundef, 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 = !{!"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 24} !13 = !{!"TYPE_9__", !14, i64 0, !11, i64 8, !7, i64 16, !11, i64 24} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_11__", !7, i64 0} !18 = !{!13, !7, i64 16}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_dsl_dataset.c_dsl_dataset_set_refreservation_sync_impl
; ModuleID = 'AnghaBench/linux/drivers/mtd/devices/extr_sst25l.c_sst25l_read.c' source_filename = "AnghaBench/linux/drivers/mtd/devices/extr_sst25l.c_sst25l_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.spi_transfer = type { ptr, i32, ptr } %struct.spi_message = type { i32 } %struct.sst25l_flash = type { i32, i32 } @SST25L_CMD_READ = dso_local local_unnamed_addr global i8 0, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sst25l_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sst25l_read(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca [2 x %struct.spi_transfer], align 16 %7 = alloca %struct.spi_message, align 4 %8 = alloca [4 x i8], align 1 %9 = tail call ptr @to_sst25l_flash(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %10 = call i32 @spi_message_init(ptr noundef nonnull %7) #3 %11 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 48) #3 %12 = load i8, ptr @SST25L_CMD_READ, align 1, !tbaa !5 store i8 %12, ptr %8, align 1, !tbaa !5 %13 = lshr i32 %1, 16 %14 = trunc i32 %13 to i8 %15 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 1 store i8 %14, ptr %15, align 1, !tbaa !5 %16 = lshr i32 %1, 8 %17 = trunc i32 %16 to i8 %18 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 2 store i8 %17, ptr %18, align 1, !tbaa !5 %19 = trunc i32 %1 to i8 %20 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 3 store i8 %19, ptr %20, align 1, !tbaa !5 store ptr %8, ptr %6, align 16, !tbaa !8 %21 = getelementptr inbounds %struct.spi_transfer, ptr %6, i64 0, i32 1 store i32 4, ptr %21, align 8, !tbaa !12 %22 = call i32 @spi_message_add_tail(ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %23 = getelementptr inbounds [2 x %struct.spi_transfer], ptr %6, i64 0, i64 1 %24 = getelementptr inbounds [2 x %struct.spi_transfer], ptr %6, i64 0, i64 1, i32 2 store ptr %4, ptr %24, align 8, !tbaa !13 %25 = trunc i64 %2 to i32 %26 = getelementptr inbounds [2 x %struct.spi_transfer], ptr %6, i64 0, i64 1, i32 1 store i32 %25, ptr %26, align 16, !tbaa !12 %27 = call i32 @spi_message_add_tail(ptr noundef nonnull %23, ptr noundef nonnull %7) #3 %28 = call i32 @mutex_lock(ptr noundef %9) #3 %29 = call i32 @sst25l_wait_till_ready(ptr noundef %9) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %5 %32 = call i32 @mutex_unlock(ptr noundef %9) #3 br label %48 33: ; preds = %5 %34 = getelementptr inbounds %struct.sst25l_flash, ptr %9, i64 0, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !14 %36 = call i32 @spi_sync(i32 noundef %35, ptr noundef nonnull %7) #3 %37 = icmp ne ptr %3, null %38 = load i32, ptr %7, align 4 %39 = icmp ugt i32 %38, 4 %40 = select i1 %37, i1 %39, i1 false br i1 %40, label %41, label %46 41: ; preds = %33 %42 = sext i32 %38 to i64 %43 = add nsw i64 %42, -4 %44 = load i64, ptr %3, align 8, !tbaa !16 %45 = add i64 %43, %44 store i64 %45, ptr %3, align 8, !tbaa !16 br label %46 46: ; preds = %41, %33 %47 = call i32 @mutex_unlock(ptr noundef nonnull %9) #3 br label %48 48: ; preds = %46, %31 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #3 ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_sst25l_flash(ptr noundef) local_unnamed_addr #2 declare i32 @spi_message_init(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spi_message_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @sst25l_wait_till_ready(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @spi_sync(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !10, i64 0} !9 = !{!"spi_transfer", !10, i64 0, !11, i64 8, !10, i64 16} !10 = !{!"any pointer", !6, i64 0} !11 = !{!"int", !6, i64 0} !12 = !{!9, !11, i64 8} !13 = !{!9, !10, i64 16} !14 = !{!15, !11, i64 4} !15 = !{!"sst25l_flash", !11, i64 0, !11, i64 4} !16 = !{!17, !17, i64 0} !17 = !{!"long", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/mtd/devices/extr_sst25l.c_sst25l_read.c' source_filename = "AnghaBench/linux/drivers/mtd/devices/extr_sst25l.c_sst25l_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.spi_transfer = type { ptr, i32, ptr } %struct.spi_message = type { i32 } @SST25L_CMD_READ = common local_unnamed_addr global i8 0, align 1 @llvm.used = appending global [1 x ptr] [ptr @sst25l_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sst25l_read(ptr noundef %0, i32 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca [2 x %struct.spi_transfer], align 8 %7 = alloca %struct.spi_message, align 4 %8 = alloca [4 x i8], align 1 %9 = tail call ptr @to_sst25l_flash(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %10 = call i32 @spi_message_init(ptr noundef nonnull %7) #3 %11 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 48) #3 %12 = load i8, ptr @SST25L_CMD_READ, align 1, !tbaa !6 store i8 %12, ptr %8, align 1, !tbaa !6 %13 = lshr i32 %1, 16 %14 = trunc i32 %13 to i8 %15 = getelementptr inbounds i8, ptr %8, i64 1 store i8 %14, ptr %15, align 1, !tbaa !6 %16 = lshr i32 %1, 8 %17 = trunc i32 %16 to i8 %18 = getelementptr inbounds i8, ptr %8, i64 2 store i8 %17, ptr %18, align 1, !tbaa !6 %19 = trunc i32 %1 to i8 %20 = getelementptr inbounds i8, ptr %8, i64 3 store i8 %19, ptr %20, align 1, !tbaa !6 store ptr %8, ptr %6, align 8, !tbaa !9 %21 = getelementptr inbounds i8, ptr %6, i64 8 store i32 4, ptr %21, align 8, !tbaa !13 %22 = call i32 @spi_message_add_tail(ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %23 = getelementptr inbounds i8, ptr %6, i64 24 %24 = getelementptr inbounds i8, ptr %6, i64 40 store ptr %4, ptr %24, align 8, !tbaa !14 %25 = trunc i64 %2 to i32 %26 = getelementptr inbounds i8, ptr %6, i64 32 store i32 %25, ptr %26, align 8, !tbaa !13 %27 = call i32 @spi_message_add_tail(ptr noundef nonnull %23, ptr noundef nonnull %7) #3 %28 = call i32 @mutex_lock(ptr noundef %9) #3 %29 = call i32 @sst25l_wait_till_ready(ptr noundef %9) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %33, label %31 31: ; preds = %5 %32 = call i32 @mutex_unlock(ptr noundef %9) #3 br label %48 33: ; preds = %5 %34 = getelementptr inbounds i8, ptr %9, i64 4 %35 = load i32, ptr %34, align 4, !tbaa !15 %36 = call i32 @spi_sync(i32 noundef %35, ptr noundef nonnull %7) #3 %37 = icmp ne ptr %3, null %38 = load i32, ptr %7, align 4 %39 = icmp ugt i32 %38, 4 %40 = select i1 %37, i1 %39, i1 false br i1 %40, label %41, label %46 41: ; preds = %33 %42 = sext i32 %38 to i64 %43 = add nsw i64 %42, -4 %44 = load i64, ptr %3, align 8, !tbaa !17 %45 = add i64 %43, %44 store i64 %45, ptr %3, align 8, !tbaa !17 br label %46 46: ; preds = %41, %33 %47 = call i32 @mutex_unlock(ptr noundef nonnull %9) #3 br label %48 48: ; preds = %46, %31 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #3 ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_sst25l_flash(ptr noundef) local_unnamed_addr #2 declare i32 @spi_message_init(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @spi_message_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @sst25l_wait_till_ready(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @spi_sync(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"spi_transfer", !11, i64 0, !12, i64 8, !11, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!10, !12, i64 8} !14 = !{!10, !11, i64 16} !15 = !{!16, !12, i64 4} !16 = !{!"sst25l_flash", !12, i64 0, !12, i64 4} !17 = !{!18, !18, i64 0} !18 = !{!"long", !7, i64 0}
linux_drivers_mtd_devices_extr_sst25l.c_sst25l_read
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-cs2000-cp.c_cs2000_wait_pll_lock.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-cs2000-cp.c_cs2000_wait_pll_lock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DEVICE_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @PLL_UNLOCK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"pll lock failed\0A\00", align 1 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cs2000_wait_pll_lock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cs2000_wait_pll_lock(ptr noundef %0) #0 { %2 = tail call ptr @priv_to_dev(ptr noundef %0) #2 br label %3 3: ; preds = %1, %12 %4 = phi i32 [ 0, %1 ], [ %14, %12 ] %5 = load i32, ptr @DEVICE_CTRL, align 4, !tbaa !5 %6 = tail call i32 @cs2000_read(ptr noundef %0, i32 noundef %5) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %20, label %8 8: ; preds = %3 %9 = load i32, ptr @PLL_UNLOCK, align 4, !tbaa !5 %10 = and i32 %9, %6 %11 = icmp eq i32 %10, 0 br i1 %11, label %20, label %12 12: ; preds = %8 %13 = tail call i32 @udelay(i32 noundef 1) #2 %14 = add nuw nsw i32 %4, 1 %15 = icmp eq i32 %14, 256 br i1 %15, label %16, label %3, !llvm.loop !9 16: ; preds = %12 %17 = tail call i32 @dev_err(ptr noundef %2, ptr noundef nonnull @.str) #2 %18 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !5 %19 = sub nsw i32 0, %18 br label %20 20: ; preds = %8, %3, %16 %21 = phi i32 [ %19, %16 ], [ 0, %8 ], [ %6, %3 ] ret i32 %21 } declare ptr @priv_to_dev(ptr noundef) local_unnamed_addr #1 declare i32 @cs2000_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-cs2000-cp.c_cs2000_wait_pll_lock.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-cs2000-cp.c_cs2000_wait_pll_lock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DEVICE_CTRL = common local_unnamed_addr global i32 0, align 4 @PLL_UNLOCK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"pll lock failed\0A\00", align 1 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cs2000_wait_pll_lock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cs2000_wait_pll_lock(ptr noundef %0) #0 { %2 = tail call ptr @priv_to_dev(ptr noundef %0) #2 br label %3 3: ; preds = %1, %12 %4 = phi i32 [ 0, %1 ], [ %14, %12 ] %5 = load i32, ptr @DEVICE_CTRL, align 4, !tbaa !6 %6 = tail call i32 @cs2000_read(ptr noundef %0, i32 noundef %5) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %20, label %8 8: ; preds = %3 %9 = load i32, ptr @PLL_UNLOCK, align 4, !tbaa !6 %10 = and i32 %9, %6 %11 = icmp eq i32 %10, 0 br i1 %11, label %20, label %12 12: ; preds = %8 %13 = tail call i32 @udelay(i32 noundef 1) #2 %14 = add nuw nsw i32 %4, 1 %15 = icmp eq i32 %14, 256 br i1 %15, label %16, label %3, !llvm.loop !10 16: ; preds = %12 %17 = tail call i32 @dev_err(ptr noundef %2, ptr noundef nonnull @.str) #2 %18 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !6 %19 = sub nsw i32 0, %18 br label %20 20: ; preds = %8, %3, %16 %21 = phi i32 [ %19, %16 ], [ 0, %8 ], [ %6, %3 ] ret i32 %21 } declare ptr @priv_to_dev(ptr noundef) local_unnamed_addr #1 declare i32 @cs2000_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_clk_extr_clk-cs2000-cp.c_cs2000_wait_pll_lock
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_hso.c_set_serial_by_index.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_hso.c_set_serial_by_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @serial_table_lock = dso_local global i32 0, align 4 @serial_table = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_serial_by_index], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @set_serial_by_index(i32 noundef %0, ptr noundef readonly %1) #0 { %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @serial_table_lock, i64 noundef undef) #2 %4 = icmp eq ptr %1, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = load ptr, ptr %1, align 8, !tbaa !5 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] %9 = load ptr, ptr @serial_table, align 8, !tbaa !10 %10 = zext i32 %0 to i64 %11 = getelementptr inbounds ptr, ptr %9, i64 %10 store ptr %8, ptr %11, align 8, !tbaa !10 %12 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @serial_table_lock, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"hso_serial", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_hso.c_set_serial_by_index.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_hso.c_set_serial_by_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @serial_table_lock = common global i32 0, align 4 @serial_table = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @set_serial_by_index], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @set_serial_by_index(i32 noundef %0, ptr noundef readonly %1) #0 { %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @serial_table_lock, i64 noundef undef) #2 %4 = icmp eq ptr %1, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = load ptr, ptr %1, align 8, !tbaa !6 br label %7 7: ; preds = %2, %5 %8 = phi ptr [ %6, %5 ], [ null, %2 ] %9 = load ptr, ptr @serial_table, align 8, !tbaa !11 %10 = zext i32 %0 to i64 %11 = getelementptr inbounds ptr, ptr %9, i64 %10 store ptr %8, ptr %11, align 8, !tbaa !11 %12 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @serial_table_lock, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"hso_serial", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_usb_extr_hso.c_set_serial_by_index
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_osf.c_nft_osf_eval.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nft_osf.c_nft_osf_eval.c" target datalayout = "e-m:e-p270:32:32-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.nf_osf_data = type { ptr, ptr } %struct.tcphdr = type { i32 } %struct.nft_regs = type { %struct.TYPE_2__, ptr } %struct.TYPE_2__ = type { ptr } %struct.nft_osf = type { i64, i32, i32 } @NFT_OSF_MAXGENRELEN = dso_local local_unnamed_addr global i32 0, align 4 @NFT_BREAK = dso_local local_unnamed_addr global ptr null, align 8 @nf_osf_fingers = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @NFT_OSF_F_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nft_osf_eval], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nft_osf_eval(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca %struct.nf_osf_data, align 8 %5 = alloca %struct.tcphdr, align 4 %6 = tail call ptr @nft_expr_priv(ptr noundef %0) #3 %7 = getelementptr inbounds %struct.nft_regs, ptr %1, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i64, ptr %6, align 8, !tbaa !11 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load ptr, ptr %2, align 8, !tbaa !15 %12 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !17 %13 = add nsw i32 %12, 1 %14 = zext i32 %13 to i64 %15 = alloca i8, i64 %14, align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %16 = tail call i32 @ip_hdrlen(ptr noundef %11) #3 %17 = call ptr @skb_header_pointer(ptr noundef %11, i32 noundef %16, i32 noundef 4, ptr noundef nonnull %5) #3 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %3 %20 = load ptr, ptr @NFT_BREAK, align 8, !tbaa !18 store ptr %20, ptr %1, align 8, !tbaa !19 br label %54 21: ; preds = %3 %22 = load i32, ptr %17, align 4, !tbaa !20 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = load ptr, ptr @NFT_BREAK, align 8, !tbaa !18 store ptr %25, ptr %1, align 8, !tbaa !19 br label %54 26: ; preds = %21 %27 = load i32, ptr @nf_osf_fingers, align 4, !tbaa !17 %28 = getelementptr inbounds %struct.nft_osf, ptr %6, i64 0, i32 2 %29 = load i32, ptr %28, align 4, !tbaa !22 %30 = call i32 @nf_osf_find(ptr noundef %11, i32 noundef %27, i32 noundef %29, ptr noundef nonnull %4) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %26 %33 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !17 %34 = call i32 @strncpy(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %33) #3 br label %54 35: ; preds = %26 %36 = getelementptr inbounds %struct.nft_osf, ptr %6, i64 0, i32 1 %37 = load i32, ptr %36, align 8, !tbaa !23 %38 = load i32, ptr @NFT_OSF_F_VERSION, align 4, !tbaa !17 %39 = and i32 %38, %37 %40 = icmp eq i32 %39, 0 br i1 %40, label %47, label %41 41: ; preds = %35 %42 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !17 %43 = load ptr, ptr %4, align 8, !tbaa !24 %44 = getelementptr inbounds %struct.nf_osf_data, ptr %4, i64 0, i32 1 %45 = load ptr, ptr %44, align 8, !tbaa !26 %46 = call i32 @snprintf(ptr noundef nonnull %15, i32 noundef %42, ptr noundef nonnull @.str.1, ptr noundef %43, ptr noundef %45) #3 br label %51 47: ; preds = %35 %48 = load ptr, ptr %4, align 8, !tbaa !24 %49 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !17 %50 = call i32 @strlcpy(ptr noundef nonnull %15, ptr noundef %48, i32 noundef %49) #3 br label %51 51: ; preds = %47, %41 %52 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !17 %53 = call i32 @strncpy(ptr noundef %10, ptr noundef nonnull %15, i32 noundef %52) #3 br label %54 54: ; preds = %32, %51, %24, %19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 16, 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 ptr @nft_expr_priv(ptr noundef) local_unnamed_addr #2 declare ptr @skb_header_pointer(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ip_hdrlen(ptr noundef) local_unnamed_addr #2 declare i32 @nf_osf_find(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlcpy(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, !8, i64 8} !6 = !{!"nft_regs", !7, i64 0, !8, i64 8} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"nft_osf", !13, i64 0, !14, i64 8, !14, i64 12} !13 = !{!"long", !9, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"nft_pktinfo", !8, i64 0} !17 = !{!14, !14, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!6, !8, i64 0} !20 = !{!21, !14, i64 0} !21 = !{!"tcphdr", !14, i64 0} !22 = !{!12, !14, i64 12} !23 = !{!12, !14, i64 8} !24 = !{!25, !8, i64 0} !25 = !{!"nf_osf_data", !8, i64 0, !8, i64 8} !26 = !{!25, !8, i64 8}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nft_osf.c_nft_osf_eval.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nft_osf.c_nft_osf_eval.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nf_osf_data = type { ptr, ptr } %struct.tcphdr = type { i32 } @NFT_OSF_MAXGENRELEN = common local_unnamed_addr global i32 0, align 4 @NFT_BREAK = common local_unnamed_addr global ptr null, align 8 @nf_osf_fingers = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @NFT_OSF_F_VERSION = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nft_osf_eval], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nft_osf_eval(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca %struct.nf_osf_data, align 8 %5 = alloca %struct.tcphdr, align 4 %6 = tail call ptr @nft_expr_priv(ptr noundef %0) #3 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i64, ptr %6, align 8, !tbaa !12 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load ptr, ptr %2, align 8, !tbaa !16 %12 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !18 %13 = add nsw i32 %12, 1 %14 = zext i32 %13 to i64 %15 = alloca i8, i64 %14, align 1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %16 = tail call i32 @ip_hdrlen(ptr noundef %11) #3 %17 = call ptr @skb_header_pointer(ptr noundef %11, i32 noundef %16, i32 noundef 4, ptr noundef nonnull %5) #3 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %21 19: ; preds = %3 %20 = load ptr, ptr @NFT_BREAK, align 8, !tbaa !19 store ptr %20, ptr %1, align 8, !tbaa !20 br label %54 21: ; preds = %3 %22 = load i32, ptr %17, align 4, !tbaa !21 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = load ptr, ptr @NFT_BREAK, align 8, !tbaa !19 store ptr %25, ptr %1, align 8, !tbaa !20 br label %54 26: ; preds = %21 %27 = load i32, ptr @nf_osf_fingers, align 4, !tbaa !18 %28 = getelementptr inbounds i8, ptr %6, i64 12 %29 = load i32, ptr %28, align 4, !tbaa !23 %30 = call i32 @nf_osf_find(ptr noundef %11, i32 noundef %27, i32 noundef %29, ptr noundef nonnull %4) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %26 %33 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !18 %34 = call i32 @strncpy(ptr noundef %10, ptr noundef nonnull @.str, i32 noundef %33) #3 br label %54 35: ; preds = %26 %36 = getelementptr inbounds i8, ptr %6, i64 8 %37 = load i32, ptr %36, align 8, !tbaa !24 %38 = load i32, ptr @NFT_OSF_F_VERSION, align 4, !tbaa !18 %39 = and i32 %38, %37 %40 = icmp eq i32 %39, 0 br i1 %40, label %47, label %41 41: ; preds = %35 %42 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !18 %43 = load ptr, ptr %4, align 8, !tbaa !25 %44 = getelementptr inbounds i8, ptr %4, i64 8 %45 = load ptr, ptr %44, align 8, !tbaa !27 %46 = call i32 @snprintf(ptr noundef nonnull %15, i32 noundef %42, ptr noundef nonnull @.str.1, ptr noundef %43, ptr noundef %45) #3 br label %51 47: ; preds = %35 %48 = load ptr, ptr %4, align 8, !tbaa !25 %49 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !18 %50 = call i32 @strlcpy(ptr noundef nonnull %15, ptr noundef %48, i32 noundef %49) #3 br label %51 51: ; preds = %47, %41 %52 = load i32, ptr @NFT_OSF_MAXGENRELEN, align 4, !tbaa !18 %53 = call i32 @strncpy(ptr noundef %10, ptr noundef nonnull %15, i32 noundef %52) #3 br label %54 54: ; preds = %32, %51, %24, %19 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 16, 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 ptr @nft_expr_priv(ptr noundef) local_unnamed_addr #2 declare ptr @skb_header_pointer(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ip_hdrlen(ptr noundef) local_unnamed_addr #2 declare i32 @nf_osf_find(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlcpy(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, !9, i64 8} !7 = !{!"nft_regs", !8, i64 0, !9, i64 8} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !14, i64 0} !13 = !{!"nft_osf", !14, i64 0, !15, i64 8, !15, i64 12} !14 = !{!"long", !10, i64 0} !15 = !{!"int", !10, i64 0} !16 = !{!17, !9, i64 0} !17 = !{!"nft_pktinfo", !9, i64 0} !18 = !{!15, !15, i64 0} !19 = !{!9, !9, i64 0} !20 = !{!7, !9, i64 0} !21 = !{!22, !15, i64 0} !22 = !{!"tcphdr", !15, i64 0} !23 = !{!13, !15, i64 12} !24 = !{!13, !15, i64 8} !25 = !{!26, !9, i64 0} !26 = !{!"nf_osf_data", !9, i64 0, !9, i64 8} !27 = !{!26, !9, i64 8}
linux_net_netfilter_extr_nft_osf.c_nft_osf_eval
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_t613.c_seteffect.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_t613.c_seteffect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @effects_table = dso_local local_unnamed_addr global ptr null, align 8 @D_CONF = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"This effect have been disabled for webcam \22safety\22\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @seteffect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @seteffect(ptr noundef %0) #0 { %2 = load ptr, ptr @effects_table, align 8, !tbaa !5 %3 = load i64, ptr %0, align 8, !tbaa !9 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = tail call i32 @reg_w_buf(ptr noundef nonnull %0, i32 noundef %5, i32 noundef 4) #2 %7 = load i64, ptr %0, align 8, !tbaa !9 switch i64 %7, label %13 [ i64 1, label %8 i64 5, label %8 i64 4, label %11 ] 8: ; preds = %1, %1 %9 = load i32, ptr @D_CONF, align 4, !tbaa !12 %10 = tail call i32 @PDEBUG(i32 noundef %9, ptr noundef nonnull @.str) #2 br label %15 11: ; preds = %1 %12 = tail call i32 @reg_w(ptr noundef nonnull %0, i32 noundef 19110) #2 br label %15 13: ; preds = %1 %14 = tail call i32 @reg_w(ptr noundef nonnull %0, i32 noundef 64166) #2 br label %15 15: ; preds = %11, %13, %8 ret void } declare i32 @reg_w_buf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PDEBUG(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @reg_w(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"sd", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_t613.c_seteffect.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_t613.c_seteffect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @effects_table = common local_unnamed_addr global ptr null, align 8 @D_CONF = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"This effect have been disabled for webcam \22safety\22\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @seteffect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @seteffect(ptr noundef %0) #0 { %2 = load ptr, ptr @effects_table, align 8, !tbaa !6 %3 = load i64, ptr %0, align 8, !tbaa !10 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = tail call i32 @reg_w_buf(ptr noundef nonnull %0, i32 noundef %5, i32 noundef 4) #2 %7 = load i64, ptr %0, align 8, !tbaa !10 switch i64 %7, label %13 [ i64 1, label %8 i64 5, label %8 i64 4, label %11 ] 8: ; preds = %1, %1 %9 = load i32, ptr @D_CONF, align 4, !tbaa !13 %10 = tail call i32 @PDEBUG(i32 noundef %9, ptr noundef nonnull @.str) #2 br label %15 11: ; preds = %1 %12 = tail call i32 @reg_w(ptr noundef nonnull %0, i32 noundef 19110) #2 br label %15 13: ; preds = %1 %14 = tail call i32 @reg_w(ptr noundef nonnull %0, i32 noundef 64166) #2 br label %15 15: ; preds = %11, %13, %8 ret void } declare i32 @reg_w_buf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PDEBUG(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @reg_w(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"sd", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
fastsocket_kernel_drivers_media_video_gspca_extr_t613.c_seteffect
; ModuleID = 'AnghaBench/exploitdb/exploits/android/local/extr_16099.c_clear_hotplug.c' source_filename = "AnghaBench/exploitdb/exploits/android/local/extr_16099.c_clear_hotplug.c" target datalayout = "e-m:e-p270:32:32-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 [25 x i8] c"/proc/sys/kernel/hotplug\00", align 1 @O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4 @O_TRUNC = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: nounwind uwtable define dso_local void @clear_hotplug() local_unnamed_addr #0 { %1 = load i32, ptr @O_WRONLY, align 4, !tbaa !5 %2 = load i32, ptr @O_TRUNC, align 4, !tbaa !5 %3 = or i32 %2, %1 %4 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = tail call i32 @write(i32 noundef %4, ptr noundef nonnull @.str.1, i32 noundef 1) #2 %6 = tail call i32 @close(i32 noundef %4) #2 ret void } declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write(i32 noundef, ptr noundef, i32 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/exploitdb/exploits/android/local/extr_16099.c_clear_hotplug.c' source_filename = "AnghaBench/exploitdb/exploits/android/local/extr_16099.c_clear_hotplug.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 [25 x i8] c"/proc/sys/kernel/hotplug\00", align 1 @O_WRONLY = common local_unnamed_addr global i32 0, align 4 @O_TRUNC = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @clear_hotplug() local_unnamed_addr #0 { %1 = load i32, ptr @O_WRONLY, align 4, !tbaa !6 %2 = load i32, ptr @O_TRUNC, align 4, !tbaa !6 %3 = or i32 %2, %1 %4 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = tail call i32 @write(i32 noundef %4, ptr noundef nonnull @.str.1, i32 noundef 1) #2 %6 = tail call i32 @close(i32 noundef %4) #2 ret void } declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write(i32 noundef, ptr noundef, i32 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"}
exploitdb_exploits_android_local_extr_16099.c_clear_hotplug
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_generateColumnNames.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_generateColumnNames.c" target datalayout = "e-m:e-p270:32:32-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_24__ = type { i32, i64, ptr, ptr } %struct.TYPE_21__ = type { i32, i64 } %struct.TYPE_25__ = type { i32, ptr } %struct.TYPE_23__ = type { i32, ptr } %struct.TYPE_20__ = type { ptr, i32, ptr } %struct.TYPE_26__ = type { i64, i32, i64 } %struct.TYPE_18__ = type { i64, ptr } %struct.TYPE_22__ = type { i32, i32, i32, ptr } %struct.TYPE_19__ = type { ptr } @SQLITE_FullColNames = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_ShortColNames = dso_local local_unnamed_addr global i32 0, align 4 @COLNAME_NAME = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_TRANSIENT = dso_local local_unnamed_addr global i32 0, align 4 @TK_COLUMN = dso_local local_unnamed_addr global i64 0, align 8 @TK_AGG_COLUMN = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"rowid\00", align 1 @SQLITE_DYNAMIC = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s.%s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @generateColumnNames], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @generateColumnNames(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 3 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %166 11: ; preds = %3 %12 = load i32, ptr %0, align 8, !tbaa !14 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %166 14: ; preds = %11 %15 = icmp eq ptr %5, null %16 = zext i1 %15 to i32 %17 = tail call i64 @NEVER(i32 noundef %16) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %166 19: ; preds = %14 %20 = getelementptr inbounds %struct.TYPE_21__, ptr %7, i64 0, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !15 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %166 23: ; preds = %19 store i32 1, ptr %0, align 8, !tbaa !14 %24 = load i32, ptr %7, align 8, !tbaa !17 %25 = load i32, ptr @SQLITE_FullColNames, align 4, !tbaa !18 %26 = and i32 %25, %24 %27 = icmp ne i32 %26, 0 %28 = load i32, ptr @SQLITE_ShortColNames, align 4, !tbaa !18 %29 = load i32, ptr %2, align 8, !tbaa !19 %30 = tail call i32 @sqlite3VdbeSetNumCols(ptr noundef %5, i32 noundef %29) #2 %31 = load i32, ptr %2, align 8, !tbaa !19 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %164 33: ; preds = %23 %34 = and i32 %28, %24 %35 = icmp ne i32 %34, 0 %36 = getelementptr inbounds %struct.TYPE_25__, ptr %2, i64 0, i32 1 %37 = icmp ne ptr %1, null %38 = icmp eq ptr %1, null %39 = getelementptr inbounds %struct.TYPE_23__, ptr %1, i64 0, i32 1 %40 = select i1 %35, i1 true, i1 %27 br label %41 41: ; preds = %33, %159 %42 = phi i64 [ 0, %33 ], [ %160, %159 ] %43 = load ptr, ptr %36, align 8, !tbaa !21 %44 = getelementptr inbounds %struct.TYPE_20__, ptr %43, i64 %42, i32 2 %45 = load ptr, ptr %44, align 8, !tbaa !22 %46 = icmp eq ptr %45, null %47 = zext i1 %46 to i32 %48 = tail call i64 @NEVER(i32 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %159 50: ; preds = %41 %51 = load ptr, ptr %36, align 8, !tbaa !21 %52 = getelementptr inbounds %struct.TYPE_20__, ptr %51, i64 %42 %53 = load ptr, ptr %52, align 8, !tbaa !24 %54 = icmp eq ptr %53, null br i1 %54, label %60, label %55 55: ; preds = %50 %56 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !18 %57 = load i32, ptr @SQLITE_TRANSIENT, align 4, !tbaa !18 %58 = trunc i64 %42 to i32 %59 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %58, i32 noundef %56, ptr noundef nonnull %53, i32 noundef %57) #2 br label %159 60: ; preds = %50 %61 = load i64, ptr %45, align 8, !tbaa !25 %62 = load i64, ptr @TK_COLUMN, align 8, !tbaa !27 %63 = icmp eq i64 %61, %62 br i1 %63, label %68, label %64 64: ; preds = %60 %65 = load i64, ptr @TK_AGG_COLUMN, align 8, !tbaa !27 %66 = icmp eq i64 %61, %65 %67 = and i1 %37, %66 br i1 %67, label %69, label %151 68: ; preds = %60 br i1 %38, label %151, label %69 69: ; preds = %64, %68 %70 = getelementptr inbounds %struct.TYPE_26__, ptr %45, i64 0, i32 1 %71 = load i32, ptr %70, align 8, !tbaa !28 %72 = load i32, ptr %1, align 8, !tbaa !29 %73 = icmp sgt i32 %72, 0 %74 = zext i1 %73 to i32 %75 = tail call i64 @ALWAYS(i32 noundef %74) #2 %76 = icmp eq i64 %75, 0 br i1 %76, label %96, label %77 77: ; preds = %69 %78 = getelementptr inbounds %struct.TYPE_26__, ptr %45, i64 0, i32 2 br label %79 79: ; preds = %77, %86 %80 = phi i64 [ 0, %77 ], [ %87, %86 ] %81 = load ptr, ptr %39, align 8, !tbaa !31 %82 = getelementptr inbounds %struct.TYPE_18__, ptr %81, i64 %80 %83 = load i64, ptr %82, align 8, !tbaa !32 %84 = load i64, ptr %78, align 8, !tbaa !34 %85 = icmp eq i64 %83, %84 br i1 %85, label %94, label %86 86: ; preds = %79 %87 = add nuw i64 %80, 1 %88 = trunc i64 %87 to i32 %89 = load i32, ptr %1, align 8, !tbaa !29 %90 = icmp sgt i32 %89, %88 %91 = zext i1 %90 to i32 %92 = tail call i64 @ALWAYS(i32 noundef %91) #2 %93 = icmp eq i64 %92, 0 br i1 %93, label %96, label %79, !llvm.loop !35 94: ; preds = %79 %95 = trunc i64 %80 to i32 br label %96 96: ; preds = %86, %94, %69 %97 = phi i32 [ 0, %69 ], [ %95, %94 ], [ %88, %86 ] %98 = load i32, ptr %1, align 8, !tbaa !29 %99 = icmp slt i32 %97, %98 %100 = zext i1 %99 to i32 %101 = tail call i32 @assert(i32 noundef %100) #2 %102 = load ptr, ptr %39, align 8, !tbaa !31 %103 = zext nneg i32 %97 to i64 %104 = getelementptr inbounds %struct.TYPE_18__, ptr %102, i64 %103, i32 1 %105 = load ptr, ptr %104, align 8, !tbaa !37 %106 = icmp slt i32 %71, 0 br i1 %106, label %107, label %114 107: ; preds = %96 %108 = load i32, ptr %105, align 8, !tbaa !38 %109 = icmp sgt i32 %108, -1 br i1 %109, label %114, label %110 110: ; preds = %107 %111 = icmp eq i32 %108, -1 %112 = zext i1 %111 to i32 %113 = tail call i32 @assert(i32 noundef %112) #2 br label %126 114: ; preds = %107, %96 %115 = phi i32 [ %71, %96 ], [ %108, %107 ] %116 = getelementptr inbounds %struct.TYPE_22__, ptr %105, i64 0, i32 1 %117 = load i32, ptr %116, align 4, !tbaa !40 %118 = icmp slt i32 %115, %117 %119 = zext i1 %118 to i32 %120 = tail call i32 @assert(i32 noundef %119) #2 %121 = getelementptr inbounds %struct.TYPE_22__, ptr %105, i64 0, i32 3 %122 = load ptr, ptr %121, align 8, !tbaa !41 %123 = zext nneg i32 %115 to i64 %124 = getelementptr inbounds %struct.TYPE_19__, ptr %122, i64 %123 %125 = load ptr, ptr %124, align 8, !tbaa !42 br label %126 126: ; preds = %110, %114 %127 = phi ptr [ %125, %114 ], [ @.str, %110 ] br i1 %40, label %137, label %128 128: ; preds = %126 %129 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !18 %130 = load ptr, ptr %36, align 8, !tbaa !21 %131 = getelementptr inbounds %struct.TYPE_20__, ptr %130, i64 %42, i32 1 %132 = load i32, ptr %131, align 8, !tbaa !44 %133 = tail call ptr @sqlite3DbStrDup(ptr noundef nonnull %7, i32 noundef %132) #2 %134 = load i32, ptr @SQLITE_DYNAMIC, align 4, !tbaa !18 %135 = trunc i64 %42 to i32 %136 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %135, i32 noundef %129, ptr noundef %133, i32 noundef %134) #2 br label %159 137: ; preds = %126 br i1 %27, label %138, label %146 138: ; preds = %137 %139 = getelementptr inbounds %struct.TYPE_22__, ptr %105, i64 0, i32 2 %140 = load i32, ptr %139, align 8, !tbaa !45 %141 = tail call ptr @sqlite3MPrintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.1, i32 noundef %140, ptr noundef %127) #2 %142 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !18 %143 = load i32, ptr @SQLITE_DYNAMIC, align 4, !tbaa !18 %144 = trunc i64 %42 to i32 %145 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %144, i32 noundef %142, ptr noundef %141, i32 noundef %143) #2 br label %159 146: ; preds = %137 %147 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !18 %148 = load i32, ptr @SQLITE_TRANSIENT, align 4, !tbaa !18 %149 = trunc i64 %42 to i32 %150 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %149, i32 noundef %147, ptr noundef %127, i32 noundef %148) #2 br label %159 151: ; preds = %68, %64 %152 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !18 %153 = getelementptr inbounds %struct.TYPE_20__, ptr %51, i64 %42, i32 1 %154 = load i32, ptr %153, align 8, !tbaa !44 %155 = tail call ptr @sqlite3DbStrDup(ptr noundef nonnull %7, i32 noundef %154) #2 %156 = load i32, ptr @SQLITE_DYNAMIC, align 4, !tbaa !18 %157 = trunc i64 %42 to i32 %158 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %157, i32 noundef %152, ptr noundef %155, i32 noundef %156) #2 br label %159 159: ; preds = %55, %151, %138, %146, %128, %41 %160 = add nuw nsw i64 %42, 1 %161 = load i32, ptr %2, align 8, !tbaa !19 %162 = sext i32 %161 to i64 %163 = icmp slt i64 %160, %162 br i1 %163, label %41, label %164, !llvm.loop !46 164: ; preds = %159, %23 %165 = tail call i32 @generateColumnTypes(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2) #2 br label %166 166: ; preds = %11, %14, %19, %3, %164 ret void } declare i64 @NEVER(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3VdbeSetNumCols(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3VdbeSetColName(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ALWAYS(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @sqlite3DbStrDup(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @sqlite3MPrintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @generateColumnTypes(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, !11, i64 24} !6 = !{!"TYPE_24__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !11, i64 16} !13 = !{!6, !10, i64 8} !14 = !{!6, !7, i64 0} !15 = !{!16, !10, i64 8} !16 = !{!"TYPE_21__", !7, i64 0, !10, i64 8} !17 = !{!16, !7, i64 0} !18 = !{!7, !7, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_25__", !7, i64 0, !11, i64 8} !21 = !{!20, !11, i64 8} !22 = !{!23, !11, i64 16} !23 = !{!"TYPE_20__", !11, i64 0, !7, i64 8, !11, i64 16} !24 = !{!23, !11, i64 0} !25 = !{!26, !10, i64 0} !26 = !{!"TYPE_26__", !10, i64 0, !7, i64 8, !10, i64 16} !27 = !{!10, !10, i64 0} !28 = !{!26, !7, i64 8} !29 = !{!30, !7, i64 0} !30 = !{!"TYPE_23__", !7, i64 0, !11, i64 8} !31 = !{!30, !11, i64 8} !32 = !{!33, !10, i64 0} !33 = !{!"TYPE_18__", !10, i64 0, !11, i64 8} !34 = !{!26, !10, i64 16} !35 = distinct !{!35, !36} !36 = !{!"llvm.loop.mustprogress"} !37 = !{!33, !11, i64 8} !38 = !{!39, !7, i64 0} !39 = !{!"TYPE_22__", !7, i64 0, !7, i64 4, !7, i64 8, !11, i64 16} !40 = !{!39, !7, i64 4} !41 = !{!39, !11, i64 16} !42 = !{!43, !11, i64 0} !43 = !{!"TYPE_19__", !11, i64 0} !44 = !{!23, !7, i64 8} !45 = !{!39, !7, i64 8} !46 = distinct !{!46, !36}
; ModuleID = 'AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_generateColumnNames.c' source_filename = "AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_generateColumnNames.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_20__ = type { ptr, i32, ptr } %struct.TYPE_18__ = type { i64, ptr } %struct.TYPE_19__ = type { ptr } @SQLITE_FullColNames = common local_unnamed_addr global i32 0, align 4 @SQLITE_ShortColNames = common local_unnamed_addr global i32 0, align 4 @COLNAME_NAME = common local_unnamed_addr global i32 0, align 4 @SQLITE_TRANSIENT = common local_unnamed_addr global i32 0, align 4 @TK_COLUMN = common local_unnamed_addr global i64 0, align 8 @TK_AGG_COLUMN = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"rowid\00", align 1 @SQLITE_DYNAMIC = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s.%s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @generateColumnNames], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @generateColumnNames(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !14 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %166 11: ; preds = %3 %12 = load i32, ptr %0, align 8, !tbaa !15 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %166 14: ; preds = %11 %15 = icmp eq ptr %5, null %16 = zext i1 %15 to i32 %17 = tail call i64 @NEVER(i32 noundef %16) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %166 19: ; preds = %14 %20 = getelementptr inbounds i8, ptr %7, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !16 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %166 23: ; preds = %19 store i32 1, ptr %0, align 8, !tbaa !15 %24 = load i32, ptr %7, align 8, !tbaa !18 %25 = load i32, ptr @SQLITE_FullColNames, align 4, !tbaa !19 %26 = and i32 %25, %24 %27 = icmp ne i32 %26, 0 %28 = load i32, ptr @SQLITE_ShortColNames, align 4, !tbaa !19 %29 = load i32, ptr %2, align 8, !tbaa !20 %30 = tail call i32 @sqlite3VdbeSetNumCols(ptr noundef %5, i32 noundef %29) #2 %31 = load i32, ptr %2, align 8, !tbaa !20 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %164 33: ; preds = %23 %34 = and i32 %28, %24 %35 = icmp ne i32 %34, 0 %36 = getelementptr inbounds i8, ptr %2, i64 8 %37 = icmp ne ptr %1, null %38 = icmp eq ptr %1, null %39 = getelementptr inbounds i8, ptr %1, i64 8 %40 = select i1 %35, i1 true, i1 %27 br label %41 41: ; preds = %33, %159 %42 = phi i64 [ 0, %33 ], [ %160, %159 ] %43 = load ptr, ptr %36, align 8, !tbaa !22 %44 = getelementptr inbounds %struct.TYPE_20__, ptr %43, i64 %42, i32 2 %45 = load ptr, ptr %44, align 8, !tbaa !23 %46 = icmp eq ptr %45, null %47 = zext i1 %46 to i32 %48 = tail call i64 @NEVER(i32 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %159 50: ; preds = %41 %51 = load ptr, ptr %36, align 8, !tbaa !22 %52 = getelementptr inbounds %struct.TYPE_20__, ptr %51, i64 %42 %53 = load ptr, ptr %52, align 8, !tbaa !25 %54 = icmp eq ptr %53, null br i1 %54, label %60, label %55 55: ; preds = %50 %56 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !19 %57 = load i32, ptr @SQLITE_TRANSIENT, align 4, !tbaa !19 %58 = trunc nuw nsw i64 %42 to i32 %59 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %58, i32 noundef %56, ptr noundef nonnull %53, i32 noundef %57) #2 br label %159 60: ; preds = %50 %61 = load i64, ptr %45, align 8, !tbaa !26 %62 = load i64, ptr @TK_COLUMN, align 8, !tbaa !28 %63 = icmp eq i64 %61, %62 br i1 %63, label %68, label %64 64: ; preds = %60 %65 = load i64, ptr @TK_AGG_COLUMN, align 8, !tbaa !28 %66 = icmp eq i64 %61, %65 %67 = and i1 %37, %66 br i1 %67, label %69, label %151 68: ; preds = %60 br i1 %38, label %151, label %69 69: ; preds = %64, %68 %70 = getelementptr inbounds i8, ptr %45, i64 8 %71 = load i32, ptr %70, align 8, !tbaa !29 %72 = load i32, ptr %1, align 8, !tbaa !30 %73 = icmp sgt i32 %72, 0 %74 = zext i1 %73 to i32 %75 = tail call i64 @ALWAYS(i32 noundef %74) #2 %76 = icmp eq i64 %75, 0 br i1 %76, label %96, label %77 77: ; preds = %69 %78 = getelementptr inbounds i8, ptr %45, i64 16 br label %79 79: ; preds = %77, %86 %80 = phi i64 [ 0, %77 ], [ %87, %86 ] %81 = load ptr, ptr %39, align 8, !tbaa !32 %82 = getelementptr inbounds %struct.TYPE_18__, ptr %81, i64 %80 %83 = load i64, ptr %82, align 8, !tbaa !33 %84 = load i64, ptr %78, align 8, !tbaa !35 %85 = icmp eq i64 %83, %84 br i1 %85, label %94, label %86 86: ; preds = %79 %87 = add nuw nsw i64 %80, 1 %88 = trunc i64 %87 to i32 %89 = load i32, ptr %1, align 8, !tbaa !30 %90 = icmp sgt i32 %89, %88 %91 = zext i1 %90 to i32 %92 = tail call i64 @ALWAYS(i32 noundef %91) #2 %93 = icmp eq i64 %92, 0 br i1 %93, label %96, label %79, !llvm.loop !36 94: ; preds = %79 %95 = trunc nuw nsw i64 %80 to i32 br label %96 96: ; preds = %86, %94, %69 %97 = phi i32 [ 0, %69 ], [ %95, %94 ], [ %88, %86 ] %98 = load i32, ptr %1, align 8, !tbaa !30 %99 = icmp slt i32 %97, %98 %100 = zext i1 %99 to i32 %101 = tail call i32 @assert(i32 noundef %100) #2 %102 = load ptr, ptr %39, align 8, !tbaa !32 %103 = zext nneg i32 %97 to i64 %104 = getelementptr inbounds %struct.TYPE_18__, ptr %102, i64 %103, i32 1 %105 = load ptr, ptr %104, align 8, !tbaa !38 %106 = icmp slt i32 %71, 0 br i1 %106, label %107, label %114 107: ; preds = %96 %108 = load i32, ptr %105, align 8, !tbaa !39 %109 = icmp sgt i32 %108, -1 br i1 %109, label %114, label %110 110: ; preds = %107 %111 = icmp eq i32 %108, -1 %112 = zext i1 %111 to i32 %113 = tail call i32 @assert(i32 noundef %112) #2 br label %126 114: ; preds = %107, %96 %115 = phi i32 [ %71, %96 ], [ %108, %107 ] %116 = getelementptr inbounds i8, ptr %105, i64 4 %117 = load i32, ptr %116, align 4, !tbaa !41 %118 = icmp slt i32 %115, %117 %119 = zext i1 %118 to i32 %120 = tail call i32 @assert(i32 noundef %119) #2 %121 = getelementptr inbounds i8, ptr %105, i64 16 %122 = load ptr, ptr %121, align 8, !tbaa !42 %123 = zext nneg i32 %115 to i64 %124 = getelementptr inbounds %struct.TYPE_19__, ptr %122, i64 %123 %125 = load ptr, ptr %124, align 8, !tbaa !43 br label %126 126: ; preds = %110, %114 %127 = phi ptr [ %125, %114 ], [ @.str, %110 ] br i1 %40, label %137, label %128 128: ; preds = %126 %129 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !19 %130 = load ptr, ptr %36, align 8, !tbaa !22 %131 = getelementptr inbounds %struct.TYPE_20__, ptr %130, i64 %42, i32 1 %132 = load i32, ptr %131, align 8, !tbaa !45 %133 = tail call ptr @sqlite3DbStrDup(ptr noundef nonnull %7, i32 noundef %132) #2 %134 = load i32, ptr @SQLITE_DYNAMIC, align 4, !tbaa !19 %135 = trunc nuw nsw i64 %42 to i32 %136 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %135, i32 noundef %129, ptr noundef %133, i32 noundef %134) #2 br label %159 137: ; preds = %126 br i1 %27, label %138, label %146 138: ; preds = %137 %139 = getelementptr inbounds i8, ptr %105, i64 8 %140 = load i32, ptr %139, align 8, !tbaa !46 %141 = tail call ptr @sqlite3MPrintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.1, i32 noundef %140, ptr noundef %127) #2 %142 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !19 %143 = load i32, ptr @SQLITE_DYNAMIC, align 4, !tbaa !19 %144 = trunc nuw nsw i64 %42 to i32 %145 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %144, i32 noundef %142, ptr noundef %141, i32 noundef %143) #2 br label %159 146: ; preds = %137 %147 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !19 %148 = load i32, ptr @SQLITE_TRANSIENT, align 4, !tbaa !19 %149 = trunc nuw nsw i64 %42 to i32 %150 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %149, i32 noundef %147, ptr noundef %127, i32 noundef %148) #2 br label %159 151: ; preds = %68, %64 %152 = load i32, ptr @COLNAME_NAME, align 4, !tbaa !19 %153 = getelementptr inbounds %struct.TYPE_20__, ptr %51, i64 %42, i32 1 %154 = load i32, ptr %153, align 8, !tbaa !45 %155 = tail call ptr @sqlite3DbStrDup(ptr noundef nonnull %7, i32 noundef %154) #2 %156 = load i32, ptr @SQLITE_DYNAMIC, align 4, !tbaa !19 %157 = trunc nuw nsw i64 %42 to i32 %158 = tail call i32 @sqlite3VdbeSetColName(ptr noundef %5, i32 noundef %157, i32 noundef %152, ptr noundef %155, i32 noundef %156) #2 br label %159 159: ; preds = %55, %151, %138, %146, %128, %41 %160 = add nuw nsw i64 %42, 1 %161 = load i32, ptr %2, align 8, !tbaa !20 %162 = sext i32 %161 to i64 %163 = icmp slt i64 %160, %162 br i1 %163, label %41, label %164, !llvm.loop !47 164: ; preds = %159, %23 %165 = tail call i32 @generateColumnTypes(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull %2) #2 br label %166 166: ; preds = %11, %14, %19, %3, %164 ret void } declare i64 @NEVER(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3VdbeSetNumCols(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3VdbeSetColName(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ALWAYS(i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @sqlite3DbStrDup(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @sqlite3MPrintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @generateColumnTypes(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, !12, i64 24} !7 = !{!"TYPE_24__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !12, i64 16} !14 = !{!7, !11, i64 8} !15 = !{!7, !8, i64 0} !16 = !{!17, !11, i64 8} !17 = !{!"TYPE_21__", !8, i64 0, !11, i64 8} !18 = !{!17, !8, i64 0} !19 = !{!8, !8, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_25__", !8, i64 0, !12, i64 8} !22 = !{!21, !12, i64 8} !23 = !{!24, !12, i64 16} !24 = !{!"TYPE_20__", !12, i64 0, !8, i64 8, !12, i64 16} !25 = !{!24, !12, i64 0} !26 = !{!27, !11, i64 0} !27 = !{!"TYPE_26__", !11, i64 0, !8, i64 8, !11, i64 16} !28 = !{!11, !11, i64 0} !29 = !{!27, !8, i64 8} !30 = !{!31, !8, i64 0} !31 = !{!"TYPE_23__", !8, i64 0, !12, i64 8} !32 = !{!31, !12, i64 8} !33 = !{!34, !11, i64 0} !34 = !{!"TYPE_18__", !11, i64 0, !12, i64 8} !35 = !{!27, !11, i64 16} !36 = distinct !{!36, !37} !37 = !{!"llvm.loop.mustprogress"} !38 = !{!34, !12, i64 8} !39 = !{!40, !8, i64 0} !40 = !{!"TYPE_22__", !8, i64 0, !8, i64 4, !8, i64 8, !12, i64 16} !41 = !{!40, !8, i64 4} !42 = !{!40, !12, i64 16} !43 = !{!44, !12, i64 0} !44 = !{!"TYPE_19__", !12, i64 0} !45 = !{!24, !8, i64 8} !46 = !{!40, !8, i64 8} !47 = distinct !{!47, !37}
mongoose_examples_api_server_extr_sqlite3.c_generateColumnNames
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_rw.c_fdt_set_name.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_rw.c_fdt_set_name.c" target datalayout = "e-m:e-p270:32:32-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 @fdt_set_name(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @FDT_RW_CHECK_HEADER(ptr noundef %0) #3 %6 = call i64 @fdt_get_name(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4) #3 %7 = inttoptr i64 %6 to ptr %8 = icmp eq i64 %6, 0 br i1 %8, label %9, label %11 9: ; preds = %3 %10 = load i32, ptr %4, align 4, !tbaa !5 br label %22 11: ; preds = %3 %12 = call i32 @strlen(ptr noundef %2) #3 %13 = load i32, ptr %4, align 4, !tbaa !5 %14 = add nsw i32 %13, 1 %15 = call i32 @FDT_TAGALIGN(i32 noundef %14) #3 %16 = add nsw i32 %12, 1 %17 = call i32 @FDT_TAGALIGN(i32 noundef %16) #3 %18 = call i32 @_fdt_splice_struct(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %15, i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %11 %21 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %2, i32 noundef %16) #3 br label %22 22: ; preds = %11, %20, %9 %23 = phi i32 [ 0, %20 ], [ %10, %9 ], [ %18, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @FDT_RW_CHECK_HEADER(ptr noundef) local_unnamed_addr #2 declare i64 @fdt_get_name(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @_fdt_splice_struct(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FDT_TAGALIGN(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_rw.c_fdt_set_name.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/opensrc/helpers/libfdt/extr_fdt_rw.c_fdt_set_name.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 @fdt_set_name(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @FDT_RW_CHECK_HEADER(ptr noundef %0) #3 %6 = call i64 @fdt_get_name(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %4) #3 %7 = inttoptr i64 %6 to ptr %8 = icmp eq i64 %6, 0 br i1 %8, label %9, label %11 9: ; preds = %3 %10 = load i32, ptr %4, align 4, !tbaa !6 br label %22 11: ; preds = %3 %12 = call i32 @strlen(ptr noundef %2) #3 %13 = load i32, ptr %4, align 4, !tbaa !6 %14 = add nsw i32 %13, 1 %15 = call i32 @FDT_TAGALIGN(i32 noundef %14) #3 %16 = add nsw i32 %12, 1 %17 = call i32 @FDT_TAGALIGN(i32 noundef %16) #3 %18 = call i32 @_fdt_splice_struct(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %15, i32 noundef %17) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %11 %21 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %2, i32 noundef %16) #3 br label %22 22: ; preds = %11, %20, %9 %23 = phi i32 [ 0, %20 ], [ %10, %9 ], [ %18, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %23 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @FDT_RW_CHECK_HEADER(ptr noundef) local_unnamed_addr #2 declare i64 @fdt_get_name(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @_fdt_splice_struct(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FDT_TAGALIGN(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_gfx_include_userland_opensrc_helpers_libfdt_extr_fdt_rw.c_fdt_set_name
; ModuleID = 'AnghaBench/openwrt/package/libs/libiconv/src/extr_iconv.c_latin9_translit.c' source_filename = "AnghaBench/openwrt/package/libs/libiconv/src/extr_iconv.c_latin9_translit.c" target datalayout = "e-m:e-p270:32:32-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 @latin9_translit], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @latin9_translit(i32 noundef %0) #0 { switch i32 %0, label %9 [ i32 8364, label %10 i32 352, label %2 i32 353, label %3 i32 381, label %4 i32 382, label %5 i32 338, label %6 i32 339, label %7 i32 376, label %8 ] 2: ; preds = %1 br label %10 3: ; preds = %1 br label %10 4: ; preds = %1 br label %10 5: ; preds = %1 br label %10 6: ; preds = %1 br label %10 7: ; preds = %1 br label %10 8: ; preds = %1 br label %10 9: ; preds = %1 br label %10 10: ; preds = %1, %9, %8, %7, %6, %5, %4, %3, %2 %11 = phi i32 [ 65533, %9 ], [ 190, %8 ], [ 189, %7 ], [ 188, %6 ], [ 184, %5 ], [ 180, %4 ], [ 168, %3 ], [ 166, %2 ], [ 164, %1 ] ret i32 %11 } 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/openwrt/package/libs/libiconv/src/extr_iconv.c_latin9_translit.c' source_filename = "AnghaBench/openwrt/package/libs/libiconv/src/extr_iconv.c_latin9_translit.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 @latin9_translit], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 164, 65534) i32 @latin9_translit(i32 noundef %0) #0 { switch i32 %0, label %9 [ i32 8364, label %10 i32 352, label %2 i32 353, label %3 i32 381, label %4 i32 382, label %5 i32 338, label %6 i32 339, label %7 i32 376, label %8 ] 2: ; preds = %1 br label %10 3: ; preds = %1 br label %10 4: ; preds = %1 br label %10 5: ; preds = %1 br label %10 6: ; preds = %1 br label %10 7: ; preds = %1 br label %10 8: ; preds = %1 br label %10 9: ; preds = %1 br label %10 10: ; preds = %1, %9, %8, %7, %6, %5, %4, %3, %2 %11 = phi i32 [ 65533, %9 ], [ 190, %8 ], [ 189, %7 ], [ 188, %6 ], [ 184, %5 ], [ 180, %4 ], [ 168, %3 ], [ 166, %2 ], [ 164, %1 ] ret i32 %11 } 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)"}
openwrt_package_libs_libiconv_src_extr_iconv.c_latin9_translit
; ModuleID = 'AnghaBench/git/extr_merge-recursive.c_record_df_conflict_files.c' source_filename = "AnghaBench/git/extr_merge-recursive.c_record_df_conflict_files.c" target datalayout = "e-m:e-p270:32:32-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.string_list = type { i32, ptr, i32 } %struct.TYPE_4__ = type { %struct.string_list, i64 } %struct.string_list_item = type { ptr, ptr } %struct.TYPE_5__ = type { i32 } @STRING_LIST_INIT_NODUP = dso_local local_unnamed_addr global %struct.string_list zeroinitializer, align 8 @string_list_df_name_compare = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @record_df_conflict_files], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @record_df_conflict_files(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.string_list, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) @STRING_LIST_INIT_NODUP, i64 24, i1 false), !tbaa.struct !5 %4 = load ptr, ptr %0, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !14 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %83 8: ; preds = %2 %9 = load i32, ptr %1, align 8, !tbaa !18 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %8 %12 = getelementptr inbounds %struct.string_list, ptr %1, i64 0, i32 1 br label %13 13: ; preds = %11, %13 %14 = phi i64 [ 0, %11 ], [ %21, %13 ] %15 = load ptr, ptr %12, align 8, !tbaa !19 %16 = getelementptr inbounds %struct.string_list_item, ptr %15, i64 %14 %17 = getelementptr inbounds %struct.string_list_item, ptr %15, i64 %14, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !20 %19 = load ptr, ptr %16, align 8, !tbaa !22 %20 = call ptr @string_list_append(ptr noundef nonnull %3, ptr noundef %19) #4 store ptr %18, ptr %20, align 8, !tbaa !23 %21 = add nuw nsw i64 %14, 1 %22 = load i32, ptr %1, align 8, !tbaa !18 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %21, %23 br i1 %24, label %13, label %25, !llvm.loop !25 25: ; preds = %13, %8 %26 = load i32, ptr @string_list_df_name_compare, align 4, !tbaa !6 %27 = getelementptr inbounds %struct.string_list, ptr %3, i64 0, i32 2 store i32 %26, ptr %27, align 8, !tbaa !27 %28 = call i32 @string_list_sort(ptr noundef nonnull %3) #4 %29 = load ptr, ptr %0, align 8, !tbaa !12 %30 = call i32 @string_list_clear(ptr noundef %29, i32 noundef 1) #4 %31 = load i32, ptr %3, align 8, !tbaa !18 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %81 33: ; preds = %25 %34 = getelementptr inbounds %struct.string_list, ptr %3, i64 0, i32 1 br label %35 35: ; preds = %33, %74 %36 = phi i64 [ 0, %33 ], [ %77, %74 ] %37 = phi ptr [ null, %33 ], [ %76, %74 ] %38 = phi i32 [ 0, %33 ], [ %75, %74 ] %39 = load ptr, ptr %34, align 8, !tbaa !19 %40 = getelementptr inbounds %struct.string_list_item, ptr %39, i64 %36 %41 = load ptr, ptr %40, align 8, !tbaa !22 %42 = call i32 @strlen(ptr noundef %41) #4 %43 = load ptr, ptr %34, align 8, !tbaa !19 %44 = getelementptr inbounds %struct.string_list_item, ptr %43, i64 %36, i32 1 %45 = load ptr, ptr %44, align 8, !tbaa !20 %46 = icmp ne ptr %37, null %47 = icmp sgt i32 %42, %38 %48 = select i1 %46, i1 %47, i1 false br i1 %48, label %49, label %60 49: ; preds = %35 %50 = call i64 @memcmp(ptr noundef %41, ptr noundef nonnull %37, i32 noundef %38) #4 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %60 52: ; preds = %49 %53 = sext i32 %38 to i64 %54 = getelementptr inbounds i8, ptr %41, i64 %53 %55 = load i8, ptr %54, align 1, !tbaa !28 %56 = icmp eq i8 %55, 47 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load ptr, ptr %0, align 8, !tbaa !12 %59 = call i32 @string_list_insert(ptr noundef %58, ptr noundef nonnull %37) #4 br label %60 60: ; preds = %57, %52, %49, %35 %61 = load ptr, ptr %45, align 8, !tbaa !29 %62 = getelementptr inbounds %struct.TYPE_5__, ptr %61, i64 2 %63 = load i32, ptr %62, align 4, !tbaa !31 %64 = call i64 @S_ISREG(i32 noundef %63) #4 %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %74 66: ; preds = %60 %67 = load ptr, ptr %45, align 8, !tbaa !29 %68 = getelementptr inbounds %struct.TYPE_5__, ptr %67, i64 2 %69 = load i32, ptr %68, align 4, !tbaa !31 %70 = call i64 @S_ISLNK(i32 noundef %69) #4 %71 = icmp eq i64 %70, 0 %72 = select i1 %71, i32 %38, i32 %42 %73 = select i1 %71, ptr null, ptr %41 br label %74 74: ; preds = %66, %60 %75 = phi i32 [ %42, %60 ], [ %72, %66 ] %76 = phi ptr [ %41, %60 ], [ %73, %66 ] %77 = add nuw nsw i64 %36, 1 %78 = load i32, ptr %3, align 8, !tbaa !18 %79 = sext i32 %78 to i64 %80 = icmp slt i64 %77, %79 br i1 %80, label %35, label %81, !llvm.loop !33 81: ; preds = %74, %25 %82 = call i32 @string_list_clear(ptr noundef nonnull %3, i32 noundef 0) #4 br label %83 83: ; preds = %2, %81 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #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 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @string_list_append(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @string_list_sort(ptr noundef) local_unnamed_addr #3 declare i32 @string_list_clear(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strlen(ptr noundef) local_unnamed_addr #3 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @string_list_insert(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #3 declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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 = !{i64 0, i64 4, !6, i64 8, i64 8, !10, i64 16, i64 4, !6} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"merge_options", !11, i64 0} !14 = !{!15, !17, i64 24} !15 = !{!"TYPE_4__", !16, i64 0, !17, i64 24} !16 = !{!"string_list", !7, i64 0, !11, i64 8, !7, i64 16} !17 = !{!"long", !8, i64 0} !18 = !{!16, !7, i64 0} !19 = !{!16, !11, i64 8} !20 = !{!21, !11, i64 8} !21 = !{!"string_list_item", !11, i64 0, !11, i64 8} !22 = !{!21, !11, i64 0} !23 = !{!24, !11, i64 0} !24 = !{!"TYPE_6__", !11, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!16, !7, i64 16} !28 = !{!8, !8, i64 0} !29 = !{!30, !11, i64 0} !30 = !{!"stage_data", !11, i64 0} !31 = !{!32, !7, i64 0} !32 = !{!"TYPE_5__", !7, i64 0} !33 = distinct !{!33, !26}
; ModuleID = 'AnghaBench/git/extr_merge-recursive.c_record_df_conflict_files.c' source_filename = "AnghaBench/git/extr_merge-recursive.c_record_df_conflict_files.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.string_list = type { i32, ptr, i32 } %struct.string_list_item = type { ptr, ptr } @STRING_LIST_INIT_NODUP = common local_unnamed_addr global %struct.string_list zeroinitializer, align 8 @string_list_df_name_compare = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @record_df_conflict_files], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @record_df_conflict_files(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.string_list, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) @STRING_LIST_INIT_NODUP, i64 24, i1 false), !tbaa.struct !6 %4 = load ptr, ptr %0, align 8, !tbaa !13 %5 = getelementptr inbounds i8, ptr %4, i64 24 %6 = load i64, ptr %5, align 8, !tbaa !15 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %83 8: ; preds = %2 %9 = load i32, ptr %1, align 8, !tbaa !19 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %1, i64 8 br label %13 13: ; preds = %11, %13 %14 = phi i64 [ 0, %11 ], [ %21, %13 ] %15 = load ptr, ptr %12, align 8, !tbaa !20 %16 = getelementptr inbounds %struct.string_list_item, ptr %15, i64 %14 %17 = getelementptr inbounds i8, ptr %16, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !21 %19 = load ptr, ptr %16, align 8, !tbaa !23 %20 = call ptr @string_list_append(ptr noundef nonnull %3, ptr noundef %19) #4 store ptr %18, ptr %20, align 8, !tbaa !24 %21 = add nuw nsw i64 %14, 1 %22 = load i32, ptr %1, align 8, !tbaa !19 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %21, %23 br i1 %24, label %13, label %25, !llvm.loop !26 25: ; preds = %13, %8 %26 = load i32, ptr @string_list_df_name_compare, align 4, !tbaa !7 %27 = getelementptr inbounds i8, ptr %3, i64 16 store i32 %26, ptr %27, align 8, !tbaa !28 %28 = call i32 @string_list_sort(ptr noundef nonnull %3) #4 %29 = load ptr, ptr %0, align 8, !tbaa !13 %30 = call i32 @string_list_clear(ptr noundef %29, i32 noundef 1) #4 %31 = load i32, ptr %3, align 8, !tbaa !19 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %81 33: ; preds = %25 %34 = getelementptr inbounds i8, ptr %3, i64 8 br label %35 35: ; preds = %33, %74 %36 = phi i64 [ 0, %33 ], [ %77, %74 ] %37 = phi ptr [ null, %33 ], [ %76, %74 ] %38 = phi i32 [ 0, %33 ], [ %75, %74 ] %39 = load ptr, ptr %34, align 8, !tbaa !20 %40 = getelementptr inbounds %struct.string_list_item, ptr %39, i64 %36 %41 = load ptr, ptr %40, align 8, !tbaa !23 %42 = call i32 @strlen(ptr noundef %41) #4 %43 = load ptr, ptr %34, align 8, !tbaa !20 %44 = getelementptr inbounds %struct.string_list_item, ptr %43, i64 %36, i32 1 %45 = load ptr, ptr %44, align 8, !tbaa !21 %46 = icmp ne ptr %37, null %47 = icmp sgt i32 %42, %38 %48 = select i1 %46, i1 %47, i1 false br i1 %48, label %49, label %60 49: ; preds = %35 %50 = call i64 @memcmp(ptr noundef %41, ptr noundef nonnull %37, i32 noundef %38) #4 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %60 52: ; preds = %49 %53 = sext i32 %38 to i64 %54 = getelementptr inbounds i8, ptr %41, i64 %53 %55 = load i8, ptr %54, align 1, !tbaa !29 %56 = icmp eq i8 %55, 47 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load ptr, ptr %0, align 8, !tbaa !13 %59 = call i32 @string_list_insert(ptr noundef %58, ptr noundef nonnull %37) #4 br label %60 60: ; preds = %57, %52, %49, %35 %61 = load ptr, ptr %45, align 8, !tbaa !30 %62 = getelementptr inbounds i8, ptr %61, i64 8 %63 = load i32, ptr %62, align 4, !tbaa !32 %64 = call i64 @S_ISREG(i32 noundef %63) #4 %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %74 66: ; preds = %60 %67 = load ptr, ptr %45, align 8, !tbaa !30 %68 = getelementptr inbounds i8, ptr %67, i64 8 %69 = load i32, ptr %68, align 4, !tbaa !32 %70 = call i64 @S_ISLNK(i32 noundef %69) #4 %71 = icmp eq i64 %70, 0 %72 = select i1 %71, i32 %38, i32 %42 %73 = select i1 %71, ptr null, ptr %41 br label %74 74: ; preds = %66, %60 %75 = phi i32 [ %42, %60 ], [ %72, %66 ] %76 = phi ptr [ %41, %60 ], [ %73, %66 ] %77 = add nuw nsw i64 %36, 1 %78 = load i32, ptr %3, align 8, !tbaa !19 %79 = sext i32 %78 to i64 %80 = icmp slt i64 %77, %79 br i1 %80, label %35, label %81, !llvm.loop !34 81: ; preds = %74, %25 %82 = call i32 @string_list_clear(ptr noundef nonnull %3, i32 noundef 0) #4 br label %83 83: ; preds = %2, %81 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #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 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @string_list_append(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @string_list_sort(ptr noundef) local_unnamed_addr #3 declare i32 @string_list_clear(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strlen(ptr noundef) local_unnamed_addr #3 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @string_list_insert(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #3 declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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 = !{i64 0, i64 4, !7, i64 8, i64 8, !11, i64 16, i64 4, !7} !7 = !{!8, !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"merge_options", !12, i64 0} !15 = !{!16, !18, i64 24} !16 = !{!"TYPE_4__", !17, i64 0, !18, i64 24} !17 = !{!"string_list", !8, i64 0, !12, i64 8, !8, i64 16} !18 = !{!"long", !9, i64 0} !19 = !{!17, !8, i64 0} !20 = !{!17, !12, i64 8} !21 = !{!22, !12, i64 8} !22 = !{!"string_list_item", !12, i64 0, !12, i64 8} !23 = !{!22, !12, i64 0} !24 = !{!25, !12, i64 0} !25 = !{!"TYPE_6__", !12, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!17, !8, i64 16} !29 = !{!9, !9, i64 0} !30 = !{!31, !12, i64 0} !31 = !{!"stage_data", !12, i64 0} !32 = !{!33, !8, i64 0} !33 = !{!"TYPE_5__", !8, i64 0} !34 = distinct !{!34, !27}
git_extr_merge-recursive.c_record_df_conflict_files
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa_history.c_spa_history_log.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa_history.c_spa_history_log.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ZPOOL_HIST_CMD = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @spa_history_log(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr (...) @fnvlist_alloc() #2 %4 = load i32, ptr @ZPOOL_HIST_CMD, align 4, !tbaa !5 %5 = tail call i32 @fnvlist_add_string(ptr noundef %3, i32 noundef %4, ptr noundef %1) #2 %6 = tail call i32 @spa_history_log_nvl(ptr noundef %0, ptr noundef %3) #2 %7 = tail call i32 @fnvlist_free(ptr noundef %3) #2 ret i32 %6 } declare ptr @fnvlist_alloc(...) local_unnamed_addr #1 declare i32 @fnvlist_add_string(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spa_history_log_nvl(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fnvlist_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa_history.c_spa_history_log.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa_history.c_spa_history_log.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZPOOL_HIST_CMD = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @spa_history_log(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @fnvlist_alloc() #2 %4 = load i32, ptr @ZPOOL_HIST_CMD, align 4, !tbaa !6 %5 = tail call i32 @fnvlist_add_string(ptr noundef %3, i32 noundef %4, ptr noundef %1) #2 %6 = tail call i32 @spa_history_log_nvl(ptr noundef %0, ptr noundef %3) #2 %7 = tail call i32 @fnvlist_free(ptr noundef %3) #2 ret i32 %6 } declare ptr @fnvlist_alloc(...) local_unnamed_addr #1 declare i32 @fnvlist_add_string(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spa_history_log_nvl(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fnvlist_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_spa_history.c_spa_history_log
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_panel-tpo-td043mtea1.c_tpo_td043_disable.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_panel-tpo-td043mtea1.c_tpo_td043_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.panel_drv_data = type { i32, ptr } %struct.omap_dss_device = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr } @OMAP_DSS_DISPLAY_DISABLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tpo_td043_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tpo_td043_disable(ptr noundef %0) #0 { %2 = tail call ptr @to_panel_data(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.panel_drv_data, ptr %2, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @omapdss_device_is_enabled(ptr noundef %0) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %18, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.omap_dss_device, ptr %4, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = tail call i32 %10(ptr noundef %4) #2 %12 = load i32, ptr %2, align 8, !tbaa !16 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %7 %15 = tail call i32 @tpo_td043_power_off(ptr noundef nonnull %2) #2 br label %16 16: ; preds = %14, %7 %17 = load i32, ptr @OMAP_DSS_DISPLAY_DISABLED, align 4, !tbaa !17 store i32 %17, ptr %0, align 8, !tbaa !18 br label %18 18: ; preds = %1, %16 ret void } declare ptr @to_panel_data(ptr noundef) local_unnamed_addr #1 declare i32 @omapdss_device_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @tpo_td043_power_off(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"panel_drv_data", !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 = !{!12, !10, i64 8} !12 = !{!"omap_dss_device", !7, i64 0, !13, i64 8} !13 = !{!"TYPE_4__", !10, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"TYPE_3__", !10, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_panel-tpo-td043mtea1.c_tpo_td043_disable.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_panel-tpo-td043mtea1.c_tpo_td043_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OMAP_DSS_DISPLAY_DISABLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tpo_td043_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tpo_td043_disable(ptr noundef %0) #0 { %2 = tail call ptr @to_panel_data(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @omapdss_device_is_enabled(ptr noundef %0) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %18, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %4, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load ptr, ptr %9, align 8, !tbaa !15 %11 = tail call i32 %10(ptr noundef %4) #2 %12 = load i32, ptr %2, align 8, !tbaa !17 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %7 %15 = tail call i32 @tpo_td043_power_off(ptr noundef nonnull %2) #2 br label %16 16: ; preds = %14, %7 %17 = load i32, ptr @OMAP_DSS_DISPLAY_DISABLED, align 4, !tbaa !18 store i32 %17, ptr %0, align 8, !tbaa !19 br label %18 18: ; preds = %1, %16 ret void } declare ptr @to_panel_data(ptr noundef) local_unnamed_addr #1 declare i32 @omapdss_device_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @tpo_td043_power_off(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"panel_drv_data", !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 = !{!13, !11, i64 8} !13 = !{!"omap_dss_device", !8, i64 0, !14, i64 8} !14 = !{!"TYPE_4__", !11, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_3__", !11, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!13, !8, i64 0}
linux_drivers_video_fbdev_omap2_omapfb_displays_extr_panel-tpo-td043mtea1.c_tpo_td043_disable
; ModuleID = 'AnghaBench/macvim/src/extr_screen.c_screen_start.c' source_filename = "AnghaBench/macvim/src/extr_screen.c_screen_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" @screen_cur_col = dso_local local_unnamed_addr global i32 0, align 4 @screen_cur_row = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @screen_start() local_unnamed_addr #0 { store i32 9999, ptr @screen_cur_col, align 4, !tbaa !5 store i32 9999, ptr @screen_cur_row, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/macvim/src/extr_screen.c_screen_start.c' source_filename = "AnghaBench/macvim/src/extr_screen.c_screen_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @screen_cur_col = common local_unnamed_addr global i32 0, align 4 @screen_cur_row = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @screen_start() local_unnamed_addr #0 { store i32 9999, ptr @screen_cur_col, align 4, !tbaa !6 store i32 9999, ptr @screen_cur_row, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
macvim_src_extr_screen.c_screen_start
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_adv76xx_subscribe_event.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_adv76xx_subscribe_event.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @adv76xx_subscribe_event], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @adv76xx_subscribe_event(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !5 switch i32 %4, label %9 [ i32 128, label %5 i32 129, label %7 ] 5: ; preds = %3 %6 = tail call i32 @v4l2_src_change_event_subdev_subscribe(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2) #2 br label %12 7: ; preds = %3 %8 = tail call i32 @v4l2_ctrl_subdev_subscribe_event(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2) #2 br label %12 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !10 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %7, %5 %13 = phi i32 [ %11, %9 ], [ %8, %7 ], [ %6, %5 ] ret i32 %13 } declare i32 @v4l2_src_change_event_subdev_subscribe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_ctrl_subdev_subscribe_event(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_event_subscription", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_adv76xx_subscribe_event.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_adv76xx_subscribe_event.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 @adv76xx_subscribe_event], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @adv76xx_subscribe_event(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !6 switch i32 %4, label %9 [ i32 128, label %5 i32 129, label %7 ] 5: ; preds = %3 %6 = tail call i32 @v4l2_src_change_event_subdev_subscribe(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2) #2 br label %12 7: ; preds = %3 %8 = tail call i32 @v4l2_ctrl_subdev_subscribe_event(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2) #2 br label %12 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !11 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %7, %5 %13 = phi i32 [ %11, %9 ], [ %8, %7 ], [ %6, %5 ] ret i32 %13 } declare i32 @v4l2_src_change_event_subdev_subscribe(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @v4l2_ctrl_subdev_subscribe_event(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_event_subscription", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_media_i2c_extr_adv7604.c_adv76xx_subscribe_event
; ModuleID = 'AnghaBench/linux/arch/sh/kernel/cpu/sh4a/extr_clock-sh7722.c_dll_recalc.c' source_filename = "AnghaBench/linux/arch/sh/kernel/cpu/sh4a/extr_clock-sh7722.c_dll_recalc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PLLCR = dso_local local_unnamed_addr global i32 0, align 4 @DLLFRQ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dll_recalc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @dll_recalc(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @PLLCR, align 4, !tbaa !5 %3 = tail call i32 @__raw_readl(i32 noundef %2) #2 %4 = and i32 %3, 4096 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i32, ptr @DLLFRQ, align 4, !tbaa !5 %8 = tail call i32 @__raw_readl(i32 noundef %7) #2 %9 = sext i32 %8 to i64 br label %10 10: ; preds = %1, %6 %11 = phi i64 [ %9, %6 ], [ 0, %1 ] %12 = load ptr, ptr %0, align 8, !tbaa !9 %13 = load i64, ptr %12, align 8, !tbaa !12 %14 = mul i64 %13, %11 ret i64 %14 } declare i32 @__raw_readl(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"clk", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/sh/kernel/cpu/sh4a/extr_clock-sh7722.c_dll_recalc.c' source_filename = "AnghaBench/linux/arch/sh/kernel/cpu/sh4a/extr_clock-sh7722.c_dll_recalc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PLLCR = common local_unnamed_addr global i32 0, align 4 @DLLFRQ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dll_recalc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @dll_recalc(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @PLLCR, align 4, !tbaa !6 %3 = tail call i32 @__raw_readl(i32 noundef %2) #2 %4 = and i32 %3, 4096 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i32, ptr @DLLFRQ, align 4, !tbaa !6 %8 = tail call i32 @__raw_readl(i32 noundef %7) #2 %9 = sext i32 %8 to i64 br label %10 10: ; preds = %1, %6 %11 = phi i64 [ %9, %6 ], [ 0, %1 ] %12 = load ptr, ptr %0, align 8, !tbaa !10 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = mul i64 %13, %11 ret i64 %14 } declare i32 @__raw_readl(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"clk", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"long", !8, i64 0}
linux_arch_sh_kernel_cpu_sh4a_extr_clock-sh7722.c_dll_recalc
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_tt.c_ipc_thread_terminate.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_tt.c_ipc_thread_terminate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i64, i64, i64, i64, i64, i32, ptr } %struct.TYPE_6__ = type { i64 } @IP_NULL = dso_local local_unnamed_addr global i64 0, align 8 @FIRST_EXCEPTION = dso_local local_unnamed_addr global i32 0, align 4 @EXC_TYPES_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ipc_thread_terminate(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @IP_NULL, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 br i1 %4, label %45, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = tail call i64 @IP_VALID(i64 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %5 %11 = load i64, ptr %6, align 8, !tbaa !13 %12 = tail call i32 @ipc_port_release_send(i64 noundef %11) #2 br label %13 13: ; preds = %10, %5 %14 = load i64, ptr @IP_NULL, align 8, !tbaa !12 store i64 %14, ptr %0, align 8, !tbaa !5 store i64 %14, ptr %6, align 8, !tbaa !13 %15 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6 %16 = load ptr, ptr %15, align 8, !tbaa !14 %17 = icmp eq ptr %16, null br i1 %17, label %43, label %18 18: ; preds = %13 %19 = load i32, ptr @FIRST_EXCEPTION, align 4, !tbaa !15 %20 = load i32, ptr @EXC_TYPES_COUNT, align 4, !tbaa !15 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %41 22: ; preds = %18 %23 = sext i32 %19 to i64 br label %24 24: ; preds = %22, %36 %25 = phi i64 [ %23, %22 ], [ %37, %36 ] %26 = load ptr, ptr %15, align 8, !tbaa !14 %27 = getelementptr inbounds %struct.TYPE_6__, ptr %26, i64 %25 %28 = load i64, ptr %27, align 8, !tbaa !16 %29 = tail call i64 @IP_VALID(i64 noundef %28) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %36, label %31 31: ; preds = %24 %32 = load ptr, ptr %15, align 8, !tbaa !14 %33 = getelementptr inbounds %struct.TYPE_6__, ptr %32, i64 %25 %34 = load i64, ptr %33, align 8, !tbaa !16 %35 = tail call i32 @ipc_port_release_send(i64 noundef %34) #2 br label %36 36: ; preds = %24, %31 %37 = add nsw i64 %25, 1 %38 = load i32, ptr @EXC_TYPES_COUNT, align 4, !tbaa !15 %39 = sext i32 %38 to i64 %40 = icmp slt i64 %37, %39 br i1 %40, label %24, label %41, !llvm.loop !18 41: ; preds = %36, %18 %42 = tail call i32 @ipc_thread_destroy_exc_actions(ptr noundef nonnull %0) #2 br label %43 43: ; preds = %41, %13 %44 = tail call i32 @ipc_port_dealloc_kernel(i64 noundef %2) #2 br label %45 45: ; preds = %43, %1 %46 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3 %47 = load i64, ptr %46, align 8, !tbaa !20 %48 = tail call i64 @IP_VALID(i64 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %53, label %50 50: ; preds = %45 %51 = load i32, ptr @TRUE, align 4, !tbaa !15 %52 = tail call i32 @ipc_port_unbind_special_reply_port(ptr noundef nonnull %0, i32 noundef %51) #2 br label %53 53: ; preds = %50, %45 %54 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5 %55 = tail call i32 @ipc_kmsg_queue_empty(ptr noundef nonnull %54) #2 %56 = tail call i32 @assert(i32 noundef %55) #2 %57 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4 %58 = load i64, ptr %57, align 8, !tbaa !21 %59 = load i64, ptr @IP_NULL, align 8, !tbaa !12 %60 = icmp eq i64 %58, %59 br i1 %60, label %64, label %61 61: ; preds = %53 %62 = tail call i32 @ipc_port_dealloc_reply(i64 noundef %58) #2 %63 = load i64, ptr @IP_NULL, align 8, !tbaa !12 br label %64 64: ; preds = %61, %53 %65 = phi i64 [ %63, %61 ], [ %58, %53 ] store i64 %65, ptr %57, align 8, !tbaa !21 ret void } declare i64 @IP_VALID(i64 noundef) local_unnamed_addr #1 declare i32 @ipc_port_release_send(i64 noundef) local_unnamed_addr #1 declare i32 @ipc_thread_destroy_exc_actions(ptr noundef) local_unnamed_addr #1 declare i32 @ipc_port_dealloc_kernel(i64 noundef) local_unnamed_addr #1 declare i32 @ipc_port_unbind_special_reply_port(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @ipc_kmsg_queue_empty(ptr noundef) local_unnamed_addr #1 declare i32 @ipc_port_dealloc_reply(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 48} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!6, !11, i64 48} !15 = !{!10, !10, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_6__", !7, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!6, !7, i64 24} !21 = !{!6, !7, i64 32}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_tt.c_ipc_thread_terminate.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_tt.c_ipc_thread_terminate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_6__ = type { i64 } @IP_NULL = common local_unnamed_addr global i64 0, align 8 @FIRST_EXCEPTION = common local_unnamed_addr global i32 0, align 4 @EXC_TYPES_COUNT = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ipc_thread_terminate(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @IP_NULL, align 8, !tbaa !13 %4 = icmp eq i64 %2, %3 br i1 %4, label %45, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !14 %8 = tail call i64 @IP_VALID(i64 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %5 %11 = load i64, ptr %6, align 8, !tbaa !14 %12 = tail call i32 @ipc_port_release_send(i64 noundef %11) #2 br label %13 13: ; preds = %10, %5 %14 = load i64, ptr @IP_NULL, align 8, !tbaa !13 store i64 %14, ptr %0, align 8, !tbaa !6 store i64 %14, ptr %6, align 8, !tbaa !14 %15 = getelementptr inbounds i8, ptr %0, i64 48 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = icmp eq ptr %16, null br i1 %17, label %43, label %18 18: ; preds = %13 %19 = load i32, ptr @FIRST_EXCEPTION, align 4, !tbaa !16 %20 = load i32, ptr @EXC_TYPES_COUNT, align 4, !tbaa !16 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %41 22: ; preds = %18 %23 = sext i32 %19 to i64 br label %24 24: ; preds = %22, %36 %25 = phi i64 [ %23, %22 ], [ %37, %36 ] %26 = load ptr, ptr %15, align 8, !tbaa !15 %27 = getelementptr inbounds %struct.TYPE_6__, ptr %26, i64 %25 %28 = load i64, ptr %27, align 8, !tbaa !17 %29 = tail call i64 @IP_VALID(i64 noundef %28) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %36, label %31 31: ; preds = %24 %32 = load ptr, ptr %15, align 8, !tbaa !15 %33 = getelementptr inbounds %struct.TYPE_6__, ptr %32, i64 %25 %34 = load i64, ptr %33, align 8, !tbaa !17 %35 = tail call i32 @ipc_port_release_send(i64 noundef %34) #2 br label %36 36: ; preds = %24, %31 %37 = add nsw i64 %25, 1 %38 = load i32, ptr @EXC_TYPES_COUNT, align 4, !tbaa !16 %39 = sext i32 %38 to i64 %40 = icmp slt i64 %37, %39 br i1 %40, label %24, label %41, !llvm.loop !19 41: ; preds = %36, %18 %42 = tail call i32 @ipc_thread_destroy_exc_actions(ptr noundef nonnull %0) #2 br label %43 43: ; preds = %41, %13 %44 = tail call i32 @ipc_port_dealloc_kernel(i64 noundef %2) #2 br label %45 45: ; preds = %43, %1 %46 = getelementptr inbounds i8, ptr %0, i64 24 %47 = load i64, ptr %46, align 8, !tbaa !21 %48 = tail call i64 @IP_VALID(i64 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %53, label %50 50: ; preds = %45 %51 = load i32, ptr @TRUE, align 4, !tbaa !16 %52 = tail call i32 @ipc_port_unbind_special_reply_port(ptr noundef nonnull %0, i32 noundef %51) #2 br label %53 53: ; preds = %50, %45 %54 = getelementptr inbounds i8, ptr %0, i64 40 %55 = tail call i32 @ipc_kmsg_queue_empty(ptr noundef nonnull %54) #2 %56 = tail call i32 @assert(i32 noundef %55) #2 %57 = getelementptr inbounds i8, ptr %0, i64 32 %58 = load i64, ptr %57, align 8, !tbaa !22 %59 = load i64, ptr @IP_NULL, align 8, !tbaa !13 %60 = icmp eq i64 %58, %59 br i1 %60, label %64, label %61 61: ; preds = %53 %62 = tail call i32 @ipc_port_dealloc_reply(i64 noundef %58) #2 %63 = load i64, ptr @IP_NULL, align 8, !tbaa !13 br label %64 64: ; preds = %61, %53 %65 = phi i64 [ %63, %61 ], [ %58, %53 ] store i64 %65, ptr %57, align 8, !tbaa !22 ret void } declare i64 @IP_VALID(i64 noundef) local_unnamed_addr #1 declare i32 @ipc_port_release_send(i64 noundef) local_unnamed_addr #1 declare i32 @ipc_thread_destroy_exc_actions(ptr noundef) local_unnamed_addr #1 declare i32 @ipc_port_dealloc_kernel(i64 noundef) local_unnamed_addr #1 declare i32 @ipc_port_unbind_special_reply_port(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @ipc_kmsg_queue_empty(ptr noundef) local_unnamed_addr #1 declare i32 @ipc_port_dealloc_reply(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !11, i64 40, !12, i64 48} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!7, !12, i64 48} !16 = !{!11, !11, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_6__", !8, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!7, !8, i64 24} !22 = !{!7, !8, i64 32}
darwin-xnu_osfmk_kern_extr_ipc_tt.c_ipc_thread_terminate
; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispresizer.c_resizer_enum_mbus_code.c' source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispresizer.c_resizer_enum_mbus_code.c" target datalayout = "e-m:e-p270:32:32-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.v4l2_subdev_mbus_code_enum = type { i64, i64, i32, i32 } @RESZ_PAD_SINK = dso_local local_unnamed_addr global i64 0, align 8 @resizer_formats = dso_local local_unnamed_addr global ptr null, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @resizer_enum_mbus_code], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @resizer_enum_mbus_code(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) #0 { %4 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2 %5 = load i64, ptr %2, align 8, !tbaa !5 %6 = load i64, ptr @RESZ_PAD_SINK, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 %8 = getelementptr inbounds %struct.v4l2_subdev_mbus_code_enum, ptr %2, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !12 br i1 %7, label %10, label %23 10: ; preds = %3 %11 = load ptr, ptr @resizer_formats, align 8, !tbaa !13 %12 = tail call i64 @ARRAY_SIZE(ptr noundef %11) #2 %13 = icmp ult i64 %9, %12 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr @EINVAL, align 4, !tbaa !15 %16 = sub nsw i32 0, %15 br label %34 17: ; preds = %10 %18 = load ptr, ptr @resizer_formats, align 8, !tbaa !13 %19 = load i64, ptr %8, align 8, !tbaa !12 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !15 %22 = getelementptr inbounds %struct.v4l2_subdev_mbus_code_enum, ptr %2, i64 0, i32 2 store i32 %21, ptr %22, align 8, !tbaa !16 br label %34 23: ; preds = %3 %24 = icmp eq i64 %9, 0 br i1 %24, label %28, label %25 25: ; preds = %23 %26 = load i32, ptr @EINVAL, align 4, !tbaa !15 %27 = sub nsw i32 0, %26 br label %34 28: ; preds = %23 %29 = getelementptr inbounds %struct.v4l2_subdev_mbus_code_enum, ptr %2, i64 0, i32 3 %30 = load i32, ptr %29, align 4, !tbaa !17 %31 = tail call ptr @__resizer_get_format(ptr noundef %4, ptr noundef %1, i64 noundef %6, i32 noundef %30) #2 %32 = load i32, ptr %31, align 4, !tbaa !18 %33 = getelementptr inbounds %struct.v4l2_subdev_mbus_code_enum, ptr %2, i64 0, i32 2 store i32 %32, ptr %33, align 8, !tbaa !16 br label %34 34: ; preds = %17, %28, %25, %14 %35 = phi i32 [ %16, %14 ], [ %27, %25 ], [ 0, %28 ], [ 0, %17 ] ret i32 %35 } declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1 declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare ptr @__resizer_get_format(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 = !{!"v4l2_subdev_mbus_code_enum", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!6, !10, i64 16} !17 = !{!6, !10, i64 20} !18 = !{!19, !10, i64 0} !19 = !{!"v4l2_mbus_framefmt", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispresizer.c_resizer_enum_mbus_code.c' source_filename = "AnghaBench/linux/drivers/media/platform/omap3isp/extr_ispresizer.c_resizer_enum_mbus_code.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RESZ_PAD_SINK = common local_unnamed_addr global i64 0, align 8 @resizer_formats = common local_unnamed_addr global ptr null, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @resizer_enum_mbus_code], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @resizer_enum_mbus_code(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) #0 { %4 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2 %5 = load i64, ptr %2, align 8, !tbaa !6 %6 = load i64, ptr @RESZ_PAD_SINK, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 %8 = getelementptr inbounds i8, ptr %2, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !13 br i1 %7, label %10, label %23 10: ; preds = %3 %11 = load ptr, ptr @resizer_formats, align 8, !tbaa !14 %12 = tail call i64 @ARRAY_SIZE(ptr noundef %11) #2 %13 = icmp ult i64 %9, %12 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr @EINVAL, align 4, !tbaa !16 %16 = sub nsw i32 0, %15 br label %34 17: ; preds = %10 %18 = load ptr, ptr @resizer_formats, align 8, !tbaa !14 %19 = load i64, ptr %8, align 8, !tbaa !13 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !16 %22 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %21, ptr %22, align 8, !tbaa !17 br label %34 23: ; preds = %3 %24 = icmp eq i64 %9, 0 br i1 %24, label %28, label %25 25: ; preds = %23 %26 = load i32, ptr @EINVAL, align 4, !tbaa !16 %27 = sub nsw i32 0, %26 br label %34 28: ; preds = %23 %29 = getelementptr inbounds i8, ptr %2, i64 20 %30 = load i32, ptr %29, align 4, !tbaa !18 %31 = tail call ptr @__resizer_get_format(ptr noundef %4, ptr noundef %1, i64 noundef %6, i32 noundef %30) #2 %32 = load i32, ptr %31, align 4, !tbaa !19 %33 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %32, ptr %33, align 8, !tbaa !17 br label %34 34: ; preds = %17, %28, %25, %14 %35 = phi i32 [ %16, %14 ], [ %27, %25 ], [ 0, %28 ], [ 0, %17 ] ret i32 %35 } declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1 declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare ptr @__resizer_get_format(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 = !{!"v4l2_subdev_mbus_code_enum", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!7, !11, i64 16} !18 = !{!7, !11, i64 20} !19 = !{!20, !11, i64 0} !20 = !{!"v4l2_mbus_framefmt", !11, i64 0}
linux_drivers_media_platform_omap3isp_extr_ispresizer.c_resizer_enum_mbus_code
; ModuleID = 'AnghaBench/TDengine/src/system/detail/src/extr_mgmtSupertableQuery.c_mgmtJoinFilterCallback.c' source_filename = "AnghaBench/TDengine/src/system/detail/src/extr_mgmtSupertableQuery.c_mgmtJoinFilterCallback.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.TYPE_8__ = type { i64, ptr, ptr, i32, ptr, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @mgmtJoinFilterCallback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mgmtJoinFilterCallback(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = alloca %struct.TYPE_7__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i64 0, ptr %3, align 8 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = inttoptr i64 %4 to ptr %6 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 6 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = call ptr @mgmtMeterGetTag(ptr noundef %5, i32 noundef %7, ptr noundef nonnull %3) #3 %9 = load i64, ptr %1, align 8, !tbaa !14 %10 = icmp eq i64 %9, 0 br i1 %10, label %55, label %11 11: ; preds = %2 %12 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 %13 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 5 br label %14 14: ; preds = %11, %51 %15 = phi i64 [ 0, %11 ], [ %52, %51 ] %16 = load ptr, ptr %12, align 8, !tbaa !15 %17 = getelementptr inbounds i32, ptr %16, i64 %15 %18 = load i32, ptr %17, align 4, !tbaa !16 %19 = load i32, ptr %13, align 8, !tbaa !17 %20 = load i32, ptr %3, align 8, !tbaa !18 %21 = call i64 @doCompare(ptr noundef %8, i32 noundef %18, i32 noundef %19, i32 noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %51 23: ; preds = %14 %24 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2 %25 = load ptr, ptr %24, align 8, !tbaa !20 %26 = getelementptr inbounds i32, ptr %25, i64 %15 %27 = load i32, ptr %26, align 4, !tbaa !16 %28 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 4 %29 = load ptr, ptr %28, align 8, !tbaa !21 %30 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 3 %31 = load i32, ptr %30, align 8, !tbaa !22 %32 = add nsw i32 %31, 1 store i32 %32, ptr %30, align 8, !tbaa !22 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds i32, ptr %29, i64 %33 store i32 %27, ptr %34, align 4, !tbaa !16 %35 = load i64, ptr %1, align 8, !tbaa !14 %36 = add i64 %35, -1 %37 = icmp ult i64 %15, %36 br i1 %37, label %38, label %49 38: ; preds = %23 %39 = load ptr, ptr %12, align 8, !tbaa !15 %40 = getelementptr inbounds i32, ptr %39, i64 %15 %41 = load i32, ptr %40, align 4, !tbaa !16 %42 = add nuw i64 %15, 1 %43 = getelementptr inbounds i32, ptr %39, i64 %42 %44 = load i32, ptr %43, align 4, !tbaa !16 %45 = sub i64 %35, %42 %46 = call i32 @memmove(i32 noundef %41, i32 noundef %44, i64 noundef %45) #3 %47 = load i64, ptr %1, align 8, !tbaa !14 %48 = add i64 %47, -1 br label %49 49: ; preds = %38, %23 %50 = phi i64 [ %48, %38 ], [ %36, %23 ] store i64 %50, ptr %1, align 8, !tbaa !14 br label %55 51: ; preds = %14 %52 = add nuw i64 %15, 1 %53 = load i64, ptr %1, align 8, !tbaa !14 %54 = icmp ult i64 %52, %53 br i1 %54, label %14, label %55, !llvm.loop !23 55: ; preds = %51, %2, %49 %56 = phi i32 [ 1, %49 ], [ 0, %2 ], [ 0, %51 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @mgmtMeterGetTag(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @doCompare(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memmove(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 44} !11 = !{!"TYPE_8__", !7, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !12, i64 32, !13, i64 40, !13, i64 44} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !7, i64 0} !15 = !{!11, !12, i64 8} !16 = !{!13, !13, i64 0} !17 = !{!11, !13, i64 40} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_7__", !13, i64 0, !13, i64 4} !20 = !{!11, !12, i64 16} !21 = !{!11, !12, i64 32} !22 = !{!11, !13, i64 24} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/TDengine/src/system/detail/src/extr_mgmtSupertableQuery.c_mgmtJoinFilterCallback.c' source_filename = "AnghaBench/TDengine/src/system/detail/src/extr_mgmtSupertableQuery.c_mgmtJoinFilterCallback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { i32, i32 } @llvm.used = appending global [1 x ptr] [ptr @mgmtJoinFilterCallback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mgmtJoinFilterCallback(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = alloca %struct.TYPE_7__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i64 0, ptr %3, align 8 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = inttoptr i64 %4 to ptr %6 = getelementptr inbounds i8, ptr %1, i64 44 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = call ptr @mgmtMeterGetTag(ptr noundef %5, i32 noundef %7, ptr noundef nonnull %3) #3 %9 = load i64, ptr %1, align 8, !tbaa !15 %10 = icmp eq i64 %9, 0 br i1 %10, label %55, label %11 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %1, i64 8 %13 = getelementptr inbounds i8, ptr %1, i64 40 br label %14 14: ; preds = %11, %51 %15 = phi i64 [ 0, %11 ], [ %52, %51 ] %16 = load ptr, ptr %12, align 8, !tbaa !16 %17 = getelementptr inbounds i32, ptr %16, i64 %15 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = load i32, ptr %13, align 8, !tbaa !18 %20 = load i32, ptr %3, align 8, !tbaa !19 %21 = call i64 @doCompare(ptr noundef %8, i32 noundef %18, i32 noundef %19, i32 noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %51 23: ; preds = %14 %24 = getelementptr inbounds i8, ptr %1, i64 16 %25 = load ptr, ptr %24, align 8, !tbaa !21 %26 = getelementptr inbounds i32, ptr %25, i64 %15 %27 = load i32, ptr %26, align 4, !tbaa !17 %28 = getelementptr inbounds i8, ptr %1, i64 32 %29 = load ptr, ptr %28, align 8, !tbaa !22 %30 = getelementptr inbounds i8, ptr %1, i64 24 %31 = load i32, ptr %30, align 8, !tbaa !23 %32 = add nsw i32 %31, 1 store i32 %32, ptr %30, align 8, !tbaa !23 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds i32, ptr %29, i64 %33 store i32 %27, ptr %34, align 4, !tbaa !17 %35 = load i64, ptr %1, align 8, !tbaa !15 %36 = add i64 %35, -1 %37 = icmp ult i64 %15, %36 br i1 %37, label %38, label %49 38: ; preds = %23 %39 = load ptr, ptr %12, align 8, !tbaa !16 %40 = getelementptr inbounds i32, ptr %39, i64 %15 %41 = load i32, ptr %40, align 4, !tbaa !17 %42 = add nuw i64 %15, 1 %43 = getelementptr inbounds i32, ptr %39, i64 %42 %44 = load i32, ptr %43, align 4, !tbaa !17 %45 = sub i64 %35, %42 %46 = call i32 @memmove(i32 noundef %41, i32 noundef %44, i64 noundef %45) #3 %47 = load i64, ptr %1, align 8, !tbaa !15 %48 = add i64 %47, -1 br label %49 49: ; preds = %38, %23 %50 = phi i64 [ %48, %38 ], [ %36, %23 ] store i64 %50, ptr %1, align 8, !tbaa !15 br label %55 51: ; preds = %14 %52 = add nuw i64 %15, 1 %53 = load i64, ptr %1, align 8, !tbaa !15 %54 = icmp ult i64 %52, %53 br i1 %54, label %14, label %55, !llvm.loop !24 55: ; preds = %51, %2, %49 %56 = phi i32 [ 1, %49 ], [ 0, %2 ], [ 0, %51 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @mgmtMeterGetTag(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @doCompare(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memmove(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 44} !12 = !{!"TYPE_8__", !8, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !13, i64 32, !14, i64 40, !14, i64 44} !13 = !{!"any pointer", !9, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!12, !8, i64 0} !16 = !{!12, !13, i64 8} !17 = !{!14, !14, i64 0} !18 = !{!12, !14, i64 40} !19 = !{!20, !14, i64 0} !20 = !{!"TYPE_7__", !14, i64 0, !14, i64 4} !21 = !{!12, !13, i64 16} !22 = !{!12, !13, i64 32} !23 = !{!12, !14, i64 24} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
TDengine_src_system_detail_src_extr_mgmtSupertableQuery.c_mgmtJoinFilterCallback
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcs_lport.c_bfa_fcs_lport_ns_sm_sending_rspn_id.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcs_lport.c_bfa_fcs_lport_ns_sm_sending_rspn_id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } %struct.bfa_fcs_lport_ns_s = type { ptr, i32 } @bfa_fcs_lport_ns_sm_rspn_id = dso_local local_unnamed_addr global i32 0, align 4 @bfa_fcs_lport_ns_sm_offline = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_fcs_lport_ns_sm_sending_rspn_id], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bfa_fcs_lport_ns_sm_sending_rspn_id(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !14 %7 = tail call i32 @bfa_trc(i32 noundef %4, i32 noundef %6) #2 %8 = load ptr, ptr %0, align 8, !tbaa !5 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @bfa_trc(i32 noundef %9, i32 noundef %1) #2 switch i32 %1, label %21 [ i32 128, label %11 i32 129, label %14 ] 11: ; preds = %2 %12 = load i32, ptr @bfa_fcs_lport_ns_sm_rspn_id, align 4, !tbaa !15 %13 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %12) #2 br label %25 14: ; preds = %2 %15 = load i32, ptr @bfa_fcs_lport_ns_sm_offline, align 4, !tbaa !15 %16 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %15) #2 %17 = load ptr, ptr %0, align 8, !tbaa !5 %18 = tail call i32 @BFA_FCS_GET_HAL_FROM_PORT(ptr noundef %17) #2 %19 = getelementptr inbounds %struct.bfa_fcs_lport_ns_s, ptr %0, i64 0, i32 1 %20 = tail call i32 @bfa_fcxp_walloc_cancel(i32 noundef %18, ptr noundef nonnull %19) #2 br label %25 21: ; preds = %2 %22 = load ptr, ptr %0, align 8, !tbaa !5 %23 = load i32, ptr %22, align 4, !tbaa !11 %24 = tail call i32 @bfa_sm_fault(i32 noundef %23, i32 noundef %1) #2 br label %25 25: ; preds = %21, %14, %11 ret void } declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_sm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_fcxp_walloc_cancel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BFA_FCS_GET_HAL_FROM_PORT(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_fault(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 = !{!"bfa_fcs_lport_ns_s", !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_4__", !10, i64 0, !13, i64 4} !13 = !{!"TYPE_3__", !10, i64 0} !14 = !{!12, !10, i64 4} !15 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcs_lport.c_bfa_fcs_lport_ns_sm_sending_rspn_id.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcs_lport.c_bfa_fcs_lport_ns_sm_sending_rspn_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bfa_fcs_lport_ns_sm_rspn_id = common local_unnamed_addr global i32 0, align 4 @bfa_fcs_lport_ns_sm_offline = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bfa_fcs_lport_ns_sm_sending_rspn_id], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bfa_fcs_lport_ns_sm_sending_rspn_id(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = getelementptr inbounds i8, ptr %3, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !15 %7 = tail call i32 @bfa_trc(i32 noundef %4, i32 noundef %6) #2 %8 = load ptr, ptr %0, align 8, !tbaa !6 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @bfa_trc(i32 noundef %9, i32 noundef %1) #2 switch i32 %1, label %21 [ i32 128, label %11 i32 129, label %14 ] 11: ; preds = %2 %12 = load i32, ptr @bfa_fcs_lport_ns_sm_rspn_id, align 4, !tbaa !16 %13 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %12) #2 br label %25 14: ; preds = %2 %15 = load i32, ptr @bfa_fcs_lport_ns_sm_offline, align 4, !tbaa !16 %16 = tail call i32 @bfa_sm_set_state(ptr noundef nonnull %0, i32 noundef %15) #2 %17 = load ptr, ptr %0, align 8, !tbaa !6 %18 = tail call i32 @BFA_FCS_GET_HAL_FROM_PORT(ptr noundef %17) #2 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = tail call i32 @bfa_fcxp_walloc_cancel(i32 noundef %18, ptr noundef nonnull %19) #2 br label %25 21: ; preds = %2 %22 = load ptr, ptr %0, align 8, !tbaa !6 %23 = load i32, ptr %22, align 4, !tbaa !12 %24 = tail call i32 @bfa_sm_fault(i32 noundef %23, i32 noundef %1) #2 br label %25 25: ; preds = %21, %14, %11 ret void } declare i32 @bfa_trc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_sm_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bfa_fcxp_walloc_cancel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @BFA_FCS_GET_HAL_FROM_PORT(ptr noundef) local_unnamed_addr #1 declare i32 @bfa_sm_fault(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 = !{!"bfa_fcs_lport_ns_s", !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_4__", !11, i64 0, !14, i64 4} !14 = !{!"TYPE_3__", !11, i64 0} !15 = !{!13, !11, i64 4} !16 = !{!11, !11, i64 0}
linux_drivers_scsi_bfa_extr_bfa_fcs_lport.c_bfa_fcs_lport_ns_sm_sending_rspn_id
; ModuleID = 'AnghaBench/libgit2/src/extr_merge.c_create_virtual_base.c' source_filename = "AnghaBench/libgit2/src/extr_merge.c_create_virtual_base.c" target datalayout = "e-m:e-p270:32:32-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_16__ = type { i32 } %struct.TYPE_17__ = type { i32, ptr, i32 } @GIT_MERGE_OPTIONS_INIT = dso_local local_unnamed_addr global %struct.TYPE_16__ zeroinitializer, align 4 @GIT_MERGE_FAIL_ON_CONFLICT = dso_local local_unnamed_addr global i32 0, align 4 @GIT_MERGE__VIRTUAL_BASE = dso_local local_unnamed_addr global i32 0, align 4 @GIT_ANNOTATED_COMMIT_VIRTUAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @create_virtual_base], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @create_virtual_base(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca %struct.TYPE_16__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = load i32, ptr @GIT_MERGE_OPTIONS_INIT, align 4, !tbaa !9 store i32 %9, ptr %8, align 4, !tbaa !9 %10 = icmp eq ptr %4, null br i1 %10, label %14, label %11 11: ; preds = %6 %12 = call i32 @memcpy(ptr noundef nonnull %8, ptr noundef nonnull %4, i32 noundef 4) #3 %13 = load i32, ptr %8, align 4, !tbaa !11 br label %14 14: ; preds = %11, %6 %15 = phi i32 [ %13, %11 ], [ %9, %6 ] %16 = load i32, ptr @GIT_MERGE_FAIL_ON_CONFLICT, align 4, !tbaa !9 %17 = xor i32 %16, -1 %18 = and i32 %15, %17 %19 = load i32, ptr @GIT_MERGE__VIRTUAL_BASE, align 4, !tbaa !9 %20 = or i32 %19, %18 store i32 %20, ptr %8, align 4, !tbaa !11 %21 = add i64 %5, 1 %22 = call i64 @merge_annotated_commits(ptr noundef nonnull %7, ptr noundef null, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %21, ptr noundef nonnull %8) #3 %23 = icmp slt i64 %22, 0 br i1 %23, label %33, label %24 24: ; preds = %14 %25 = call ptr @git__calloc(i32 noundef 1, i32 noundef 24) #3 %26 = call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %25) #3 %27 = load i32, ptr @GIT_ANNOTATED_COMMIT_VIRTUAL, align 4, !tbaa !9 %28 = getelementptr inbounds %struct.TYPE_17__, ptr %25, i64 0, i32 2 store i32 %27, ptr %28, align 8, !tbaa !13 %29 = load ptr, ptr %7, align 8, !tbaa !5 %30 = getelementptr inbounds %struct.TYPE_17__, ptr %25, i64 0, i32 1 store ptr %29, ptr %30, align 8, !tbaa !15 %31 = call i32 @insert_head_ids(ptr noundef %25, ptr noundef %2) #3 %32 = call i32 @insert_head_ids(ptr noundef %25, ptr noundef %3) #3 store ptr %25, ptr %0, align 8, !tbaa !5 br label %33 33: ; preds = %14, %24 %34 = phi i32 [ 0, %24 ], [ -1, %14 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @merge_annotated_commits(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @git__calloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #2 declare i32 @insert_head_ids(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_16__", !10, i64 0} !13 = !{!14, !10, i64 16} !14 = !{!"TYPE_17__", !10, i64 0, !6, i64 8, !10, i64 16} !15 = !{!14, !6, i64 8}
; ModuleID = 'AnghaBench/libgit2/src/extr_merge.c_create_virtual_base.c' source_filename = "AnghaBench/libgit2/src/extr_merge.c_create_virtual_base.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_16__ = type { i32 } @GIT_MERGE_OPTIONS_INIT = common local_unnamed_addr global %struct.TYPE_16__ zeroinitializer, align 4 @GIT_MERGE_FAIL_ON_CONFLICT = common local_unnamed_addr global i32 0, align 4 @GIT_MERGE__VIRTUAL_BASE = common local_unnamed_addr global i32 0, align 4 @GIT_ANNOTATED_COMMIT_VIRTUAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @create_virtual_base], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @create_virtual_base(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca %struct.TYPE_16__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = load i32, ptr @GIT_MERGE_OPTIONS_INIT, align 4, !tbaa !10 store i32 %9, ptr %8, align 4, !tbaa !10 %10 = icmp eq ptr %4, null br i1 %10, label %14, label %11 11: ; preds = %6 %12 = call i32 @memcpy(ptr noundef nonnull %8, ptr noundef nonnull %4, i32 noundef 4) #3 %13 = load i32, ptr %8, align 4, !tbaa !12 br label %14 14: ; preds = %11, %6 %15 = phi i32 [ %13, %11 ], [ %9, %6 ] %16 = load i32, ptr @GIT_MERGE_FAIL_ON_CONFLICT, align 4, !tbaa !10 %17 = xor i32 %16, -1 %18 = and i32 %15, %17 %19 = load i32, ptr @GIT_MERGE__VIRTUAL_BASE, align 4, !tbaa !10 %20 = or i32 %19, %18 store i32 %20, ptr %8, align 4, !tbaa !12 %21 = add i64 %5, 1 %22 = call i64 @merge_annotated_commits(ptr noundef nonnull %7, ptr noundef null, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %21, ptr noundef nonnull %8) #3 %23 = icmp slt i64 %22, 0 br i1 %23, label %33, label %24 24: ; preds = %14 %25 = call ptr @git__calloc(i32 noundef 1, i32 noundef 24) #3 %26 = call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %25) #3 %27 = load i32, ptr @GIT_ANNOTATED_COMMIT_VIRTUAL, align 4, !tbaa !10 %28 = getelementptr inbounds i8, ptr %25, i64 16 store i32 %27, ptr %28, align 8, !tbaa !14 %29 = load ptr, ptr %7, align 8, !tbaa !6 %30 = getelementptr inbounds i8, ptr %25, i64 8 store ptr %29, ptr %30, align 8, !tbaa !16 %31 = call i32 @insert_head_ids(ptr noundef %25, ptr noundef %2) #3 %32 = call i32 @insert_head_ids(ptr noundef %25, ptr noundef %3) #3 store ptr %25, ptr %0, align 8, !tbaa !6 br label %33 33: ; preds = %14, %24 %34 = phi i32 [ 0, %24 ], [ -1, %14 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @merge_annotated_commits(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @git__calloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #2 declare i32 @insert_head_ids(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_16__", !11, i64 0} !14 = !{!15, !11, i64 16} !15 = !{!"TYPE_17__", !11, i64 0, !7, i64 8, !11, i64 16} !16 = !{!15, !7, i64 8}
libgit2_src_extr_merge.c_create_virtual_base
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_alloc_rx_data_list.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_alloc_rx_data_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.urtw_softc = type { ptr, i32, i32 } @URTW_RX_DATA_LIST_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @MCLBYTES = dso_local local_unnamed_addr global i32 0, align 4 @next = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @urtw_alloc_rx_data_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @urtw_alloc_rx_data_list(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @URTW_RX_DATA_LIST_COUNT, align 4, !tbaa !11 %4 = load i32, ptr @MCLBYTES, align 4, !tbaa !11 %5 = tail call i32 @urtw_alloc_data_list(ptr noundef nonnull %0, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef null) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %1 %8 = getelementptr inbounds %struct.urtw_softc, ptr %0, i64 0, i32 2 %9 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %8) #2 %10 = getelementptr inbounds %struct.urtw_softc, ptr %0, i64 0, i32 1 %11 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %10) #2 %12 = load i32, ptr @URTW_RX_DATA_LIST_COUNT, align 4, !tbaa !11 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %7, %14 %15 = phi i64 [ %20, %14 ], [ 0, %7 ] %16 = load ptr, ptr %0, align 8, !tbaa !5 %17 = getelementptr inbounds i32, ptr %16, i64 %15 %18 = load i32, ptr @next, align 4, !tbaa !11 %19 = tail call i32 @STAILQ_INSERT_HEAD(ptr noundef nonnull %10, ptr noundef %17, i32 noundef %18) #2 %20 = add nuw nsw i64 %15, 1 %21 = load i32, ptr @URTW_RX_DATA_LIST_COUNT, align 4, !tbaa !11 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label %14, label %24, !llvm.loop !12 24: ; preds = %14, %7, %1 %25 = phi i32 [ %5, %1 ], [ 0, %7 ], [ 0, %14 ] ret i32 %25 } declare i32 @urtw_alloc_data_list(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @STAILQ_INSERT_HEAD(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 = !{!"urtw_softc", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_alloc_rx_data_list.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_urtw.c_urtw_alloc_rx_data_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @URTW_RX_DATA_LIST_COUNT = common local_unnamed_addr global i32 0, align 4 @MCLBYTES = common local_unnamed_addr global i32 0, align 4 @next = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @urtw_alloc_rx_data_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @urtw_alloc_rx_data_list(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @URTW_RX_DATA_LIST_COUNT, align 4, !tbaa !12 %4 = load i32, ptr @MCLBYTES, align 4, !tbaa !12 %5 = tail call i32 @urtw_alloc_data_list(ptr noundef nonnull %0, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef null) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 12 %9 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %8) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = tail call i32 @STAILQ_INIT(ptr noundef nonnull %10) #2 %12 = load i32, ptr @URTW_RX_DATA_LIST_COUNT, align 4, !tbaa !12 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %7, %14 %15 = phi i64 [ %20, %14 ], [ 0, %7 ] %16 = load ptr, ptr %0, align 8, !tbaa !6 %17 = getelementptr inbounds i32, ptr %16, i64 %15 %18 = load i32, ptr @next, align 4, !tbaa !12 %19 = tail call i32 @STAILQ_INSERT_HEAD(ptr noundef nonnull %10, ptr noundef %17, i32 noundef %18) #2 %20 = add nuw nsw i64 %15, 1 %21 = load i32, ptr @URTW_RX_DATA_LIST_COUNT, align 4, !tbaa !12 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %20, %22 br i1 %23, label %14, label %24, !llvm.loop !13 24: ; preds = %14, %7, %1 %25 = phi i32 [ %5, %1 ], [ 0, %7 ], [ 0, %14 ] ret i32 %25 } declare i32 @urtw_alloc_data_list(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @STAILQ_INIT(ptr noundef) local_unnamed_addr #1 declare i32 @STAILQ_INSERT_HEAD(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 = !{!"urtw_softc", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_usb_wlan_extr_if_urtw.c_urtw_alloc_rx_data_list
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_hptiop.c_hptiop_enable_intr_itl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_hptiop.c_hptiop_enable_intr_itl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IOPMU_OUTBOUND_INT_POSTQUEUE = dso_local local_unnamed_addr global i32 0, align 4 @IOPMU_OUTBOUND_INT_MSG0 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hptiop_enable_intr_itl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hptiop_enable_intr_itl(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @IOPMU_OUTBOUND_INT_POSTQUEUE, align 4, !tbaa !5 %3 = load i32, ptr @IOPMU_OUTBOUND_INT_MSG0, align 4, !tbaa !5 %4 = or i32 %3, %2 %5 = xor i32 %4, -1 %6 = load ptr, ptr %0, align 8, !tbaa !9 %7 = tail call i32 @writel(i32 noundef %5, ptr noundef %6) #2 ret void } declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !13, i64 0} !10 = !{!"hptiop_hba", !11, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_hptiop.c_hptiop_enable_intr_itl.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_hptiop.c_hptiop_enable_intr_itl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IOPMU_OUTBOUND_INT_POSTQUEUE = common local_unnamed_addr global i32 0, align 4 @IOPMU_OUTBOUND_INT_MSG0 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hptiop_enable_intr_itl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hptiop_enable_intr_itl(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @IOPMU_OUTBOUND_INT_POSTQUEUE, align 4, !tbaa !6 %3 = load i32, ptr @IOPMU_OUTBOUND_INT_MSG0, align 4, !tbaa !6 %4 = or i32 %3, %2 %5 = xor i32 %4, -1 %6 = load ptr, ptr %0, align 8, !tbaa !10 %7 = tail call i32 @writel(i32 noundef %5, ptr noundef %6) #2 ret void } declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 0} !11 = !{!"hptiop_hba", !12, i64 0} !12 = !{!"TYPE_6__", !13, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_drivers_scsi_extr_hptiop.c_hptiop_enable_intr_itl
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_types.c_ctf_array_info.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_types.c_ctf_array_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i32, i32 } %struct.TYPE_9__ = type { i32, i32, i32 } @CTF_ERR = dso_local local_unnamed_addr global i32 0, align 4 @CTF_K_ARRAY = dso_local local_unnamed_addr global i64 0, align 8 @ECTF_NOTARRAY = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ctf_array_info(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = call ptr @ctf_lookup_by_id(ptr noundef nonnull %4, i32 noundef %1) #3 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %3 %9 = load i32, ptr @CTF_ERR, align 4, !tbaa !9 br label %30 10: ; preds = %3 %11 = load ptr, ptr %4, align 8, !tbaa !5 %12 = load i32, ptr %6, align 4, !tbaa !11 %13 = call i64 @LCTF_INFO_KIND(ptr noundef %11, i32 noundef %12) #3 %14 = load i64, ptr @CTF_K_ARRAY, align 8, !tbaa !13 %15 = icmp eq i64 %13, %14 br i1 %15, label %19, label %16 16: ; preds = %10 %17 = load i32, ptr @ECTF_NOTARRAY, align 4, !tbaa !9 %18 = call i32 @ctf_set_errno(ptr noundef %0, i32 noundef %17) #3 br label %30 19: ; preds = %10 %20 = load ptr, ptr %4, align 8, !tbaa !5 %21 = call i32 @ctf_get_ctt_size(ptr noundef %20, ptr noundef nonnull %6, ptr noundef null, ptr noundef nonnull %5) #3 %22 = ptrtoint ptr %6 to i64 %23 = load i64, ptr %5, align 8, !tbaa !13 %24 = add i64 %23, %22 %25 = inttoptr i64 %24 to ptr %26 = getelementptr inbounds %struct.TYPE_8__, ptr %25, i64 0, i32 2 %27 = load i32, ptr %26, align 4, !tbaa !15 %28 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 2 store i32 %27, ptr %28, align 4, !tbaa !17 %29 = load <2 x i32>, ptr %25, align 4, !tbaa !9 store <2 x i32> %29, ptr %2, align 4, !tbaa !9 br label %30 30: ; preds = %19, %16, %8 %31 = phi i32 [ %9, %8 ], [ %18, %16 ], [ 0, %19 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ctf_lookup_by_id(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @LCTF_INFO_KIND(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ctf_set_errno(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ctf_get_ctt_size(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_7__", !10, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!16, !10, i64 8} !16 = !{!"TYPE_8__", !10, i64 0, !10, i64 4, !10, i64 8} !17 = !{!18, !10, i64 8} !18 = !{!"TYPE_9__", !10, i64 0, !10, i64 4, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_types.c_ctf_array_info.c' source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/common/ctf/extr_ctf_types.c_ctf_array_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CTF_ERR = common local_unnamed_addr global i32 0, align 4 @CTF_K_ARRAY = common local_unnamed_addr global i64 0, align 8 @ECTF_NOTARRAY = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ctf_array_info(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = call ptr @ctf_lookup_by_id(ptr noundef nonnull %4, i32 noundef %1) #3 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %3 %9 = load i32, ptr @CTF_ERR, align 4, !tbaa !10 br label %30 10: ; preds = %3 %11 = load ptr, ptr %4, align 8, !tbaa !6 %12 = load i32, ptr %6, align 4, !tbaa !12 %13 = call i64 @LCTF_INFO_KIND(ptr noundef %11, i32 noundef %12) #3 %14 = load i64, ptr @CTF_K_ARRAY, align 8, !tbaa !14 %15 = icmp eq i64 %13, %14 br i1 %15, label %19, label %16 16: ; preds = %10 %17 = load i32, ptr @ECTF_NOTARRAY, align 4, !tbaa !10 %18 = call i32 @ctf_set_errno(ptr noundef %0, i32 noundef %17) #3 br label %30 19: ; preds = %10 %20 = load ptr, ptr %4, align 8, !tbaa !6 %21 = call i32 @ctf_get_ctt_size(ptr noundef %20, ptr noundef nonnull %6, ptr noundef null, ptr noundef nonnull %5) #3 %22 = ptrtoint ptr %6 to i64 %23 = load i64, ptr %5, align 8, !tbaa !14 %24 = add i64 %23, %22 %25 = inttoptr i64 %24 to ptr %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = load i32, ptr %26, align 4, !tbaa !16 %28 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %27, ptr %28, align 4, !tbaa !18 %29 = load <2 x i32>, ptr %25, align 4, !tbaa !10 store <2 x i32> %29, ptr %2, align 4, !tbaa !10 br label %30 30: ; preds = %19, %16, %8 %31 = phi i32 [ %9, %8 ], [ %18, %16 ], [ 0, %19 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ctf_lookup_by_id(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @LCTF_INFO_KIND(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ctf_set_errno(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ctf_get_ctt_size(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_7__", !11, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !11, i64 8} !17 = !{!"TYPE_8__", !11, i64 0, !11, i64 4, !11, i64 8} !18 = !{!19, !11, i64 8} !19 = !{!"TYPE_9__", !11, i64 0, !11, i64 4, !11, i64 8}
freebsd_cddl_contrib_opensolaris_common_ctf_extr_ctf_types.c_ctf_array_info
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/converter/numeric_keypad_IIe/keymaps/default/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/converter/numeric_keypad_IIe/keymaps/default/extr_keymap.c_process_record_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/converter/numeric_keypad_IIe/keymaps/default/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/converter/numeric_keypad_IIe/keymaps/default/extr_keymap.c_process_record_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { ret i32 1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_keyboards_converter_numeric_keypad_IIe_keymaps_default_extr_keymap.c_process_record_user
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/extr_common.c_apply_forced_caps.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/extr_common.c_apply_forced_caps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NCAPINTS = dso_local local_unnamed_addr global i32 0, align 4 @NBUGINTS = dso_local local_unnamed_addr global i32 0, align 4 @cpu_caps_cleared = dso_local local_unnamed_addr global ptr null, align 8 @cpu_caps_set = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @apply_forced_caps], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal void @apply_forced_caps(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @NCAPINTS, align 4, !tbaa !5 %3 = load i32, ptr @NBUGINTS, align 4, !tbaa !5 %4 = add nsw i32 %3, %2 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %27 6: ; preds = %1 %7 = load ptr, ptr @cpu_caps_cleared, align 8, !tbaa !9 %8 = load ptr, ptr %0, align 8, !tbaa !11 %9 = load ptr, ptr @cpu_caps_set, align 8, !tbaa !9 br label %10 10: ; preds = %6, %10 %11 = phi i64 [ 0, %6 ], [ %21, %10 ] %12 = getelementptr inbounds i32, ptr %7, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !5 %14 = xor i32 %13, -1 %15 = getelementptr inbounds i32, ptr %8, i64 %11 %16 = load i32, ptr %15, align 4, !tbaa !5 %17 = and i32 %16, %14 store i32 %17, ptr %15, align 4, !tbaa !5 %18 = getelementptr inbounds i32, ptr %9, i64 %11 %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = or i32 %19, %17 store i32 %20, ptr %15, align 4, !tbaa !5 %21 = add nuw nsw i64 %11, 1 %22 = load i32, ptr @NCAPINTS, align 4, !tbaa !5 %23 = load i32, ptr @NBUGINTS, align 4, !tbaa !5 %24 = add nsw i32 %23, %22 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %21, %25 br i1 %26, label %10, label %27, !llvm.loop !13 27: ; preds = %10, %1 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"cpuinfo_x86", !10, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/extr_common.c_apply_forced_caps.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/extr_common.c_apply_forced_caps.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NCAPINTS = common local_unnamed_addr global i32 0, align 4 @NBUGINTS = common local_unnamed_addr global i32 0, align 4 @cpu_caps_cleared = common local_unnamed_addr global ptr null, align 8 @cpu_caps_set = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @apply_forced_caps], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @apply_forced_caps(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @NCAPINTS, align 4, !tbaa !6 %3 = load i32, ptr @NBUGINTS, align 4, !tbaa !6 %4 = add nsw i32 %3, %2 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %27 6: ; preds = %1 %7 = load ptr, ptr @cpu_caps_cleared, align 8, !tbaa !10 %8 = load ptr, ptr %0, align 8, !tbaa !12 %9 = load ptr, ptr @cpu_caps_set, align 8, !tbaa !10 br label %10 10: ; preds = %6, %10 %11 = phi i64 [ 0, %6 ], [ %21, %10 ] %12 = getelementptr inbounds i32, ptr %7, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !6 %14 = xor i32 %13, -1 %15 = getelementptr inbounds i32, ptr %8, i64 %11 %16 = load i32, ptr %15, align 4, !tbaa !6 %17 = and i32 %16, %14 store i32 %17, ptr %15, align 4, !tbaa !6 %18 = getelementptr inbounds i32, ptr %9, i64 %11 %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = or i32 %19, %17 store i32 %20, ptr %15, align 4, !tbaa !6 %21 = add nuw nsw i64 %11, 1 %22 = load i32, ptr @NCAPINTS, align 4, !tbaa !6 %23 = load i32, ptr @NBUGINTS, align 4, !tbaa !6 %24 = add nsw i32 %23, %22 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %21, %25 br i1 %26, label %10, label %27, !llvm.loop !14 27: ; preds = %10, %1 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"cpuinfo_x86", !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_arch_x86_kernel_cpu_extr_common.c_apply_forced_caps
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_host_chkready.c' source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_host_chkready.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DID_NO_CONNECT = dso_local local_unnamed_addr global i32 0, align 4 @DID_REQUEUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ibmvfc_host_chkready], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @ibmvfc_host_chkready(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 switch i32 %2, label %9 [ i32 130, label %3 i32 132, label %3 i32 128, label %6 i32 131, label %6 i32 133, label %6 i32 129, label %6 ] 3: ; preds = %1, %1 %4 = load i32, ptr @DID_NO_CONNECT, align 4, !tbaa !10 %5 = shl i32 %4, 16 br label %9 6: ; preds = %1, %1, %1, %1 %7 = load i32, ptr @DID_REQUEUE, align 4, !tbaa !10 %8 = shl i32 %7, 16 br label %9 9: ; preds = %1, %6, %3 %10 = phi i32 [ %8, %6 ], [ %5, %3 ], [ 0, %1 ] ret i32 %10 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ibmvfc_host", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_host_chkready.c' source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_host_chkready.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DID_NO_CONNECT = common local_unnamed_addr global i32 0, align 4 @DID_REQUEUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ibmvfc_host_chkready], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, -65535) i32 @ibmvfc_host_chkready(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 switch i32 %2, label %9 [ i32 130, label %3 i32 132, label %3 i32 128, label %6 i32 131, label %6 i32 133, label %6 i32 129, label %6 ] 3: ; preds = %1, %1 %4 = load i32, ptr @DID_NO_CONNECT, align 4, !tbaa !11 %5 = shl i32 %4, 16 br label %9 6: ; preds = %1, %1, %1, %1 %7 = load i32, ptr @DID_REQUEUE, align 4, !tbaa !11 %8 = shl i32 %7, 16 br label %9 9: ; preds = %1, %6, %3 %10 = phi i32 [ %8, %6 ], [ %5, %3 ], [ 0, %1 ] ret i32 %10 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ibmvfc_host", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_scsi_ibmvscsi_extr_ibmvfc.c_ibmvfc_host_chkready
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_skbuff.c_skb_queue_purge.c' source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_skbuff.c_skb_queue_purge.c" target datalayout = "e-m:e-p270:32:32-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 @skb_queue_purge(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @skb_dequeue(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1, %4 %5 = phi ptr [ %7, %4 ], [ %2, %1 ] %6 = tail call i32 @kfree_skb(ptr noundef nonnull %5) #2 %7 = tail call ptr @skb_dequeue(ptr noundef %0) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %4, !llvm.loop !5 9: ; preds = %4, %1 ret void } declare ptr @skb_dequeue(ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_skbuff.c_skb_queue_purge.c' source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_skbuff.c_skb_queue_purge.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 @skb_queue_purge(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @skb_dequeue(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1, %4 %5 = phi ptr [ %7, %4 ], [ %2, %1 ] %6 = tail call i32 @kfree_skb(ptr noundef nonnull %5) #2 %7 = tail call ptr @skb_dequeue(ptr noundef %0) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %4, !llvm.loop !6 9: ; preds = %4, %1 ret void } declare ptr @skb_dequeue(ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_net_core_extr_skbuff.c_skb_queue_purge
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_ixj_record_start.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_ixj_record_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" %struct.TYPE_10__ = type { i32, i32, i32, i32, i32, %struct.TYPE_9__, %struct.TYPE_8__, i32, i64 } %struct.TYPE_9__ = type { i32, i64 } %struct.TYPE_8__ = type { i32 } @ixjdebug = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"IXJ %d Starting Record Codec %d at %ld\0A\00", align 1 @jiffies = dso_local local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [49 x i8] c"Read buffer allocation for ixj board %d failed!\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ixj_record_start], section "llvm.metadata" @switch.table.ixj_record_start = private unnamed_addr constant [8 x i16] [i16 20784, i16 20787, i16 20788, i16 20790, i16 20790, i16 20789, i16 20785, i16 20786], align 2 ; Function Attrs: nounwind uwtable define internal i32 @ixj_record_start(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 8 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @ixj_record_stop(ptr noundef nonnull %0) #2 br label %7 7: ; preds = %5, %1 %8 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 5 store i32 1, ptr %8, align 8, !tbaa !13 %9 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext 4064, ptr noundef nonnull %0) #2 %10 = load i32, ptr @ixjdebug, align 4, !tbaa !14 %11 = and i32 %10, 2 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %7 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 7 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = load i32, ptr %0, align 8, !tbaa !16 %17 = load i32, ptr @jiffies, align 4, !tbaa !14 %18 = tail call i32 (ptr, i32, ...) @printk(ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %16, i32 noundef %17) #2 br label %19 19: ; preds = %13, %7 %20 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %33 23: ; preds = %19 %24 = load i32, ptr %0, align 8, !tbaa !16 %25 = add i32 %24, -128 %26 = icmp ult i32 %25, 8 br i1 %26, label %27, label %92 27: ; preds = %23 %28 = zext nneg i32 %25 to i64 %29 = getelementptr inbounds [8 x i16], ptr @switch.table.ixj_record_start, i64 0, i64 %28 %30 = load i16, ptr %29, align 2 %31 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %30, ptr noundef nonnull %0) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %92 33: ; preds = %27, %19 %34 = phi i16 [ 0, %19 ], [ %30, %27 ] %35 = load i64, ptr %2, align 8, !tbaa !5 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %50 37: ; preds = %33 %38 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %39 = load i32, ptr %38, align 8, !tbaa !18 %40 = shl nsw i32 %39, 1 %41 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !14 %42 = tail call i64 @kmalloc(i32 noundef %40, i32 noundef %41) #2 store i64 %42, ptr %2, align 8, !tbaa !5 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %50 44: ; preds = %37 %45 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 7 %46 = load i32, ptr %45, align 4, !tbaa !15 %47 = tail call i32 (ptr, i32, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %46) #2 %48 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %49 = sub nsw i32 0, %48 br label %92 50: ; preds = %37, %33 %51 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %52 = load i32, ptr %51, align 8, !tbaa !18 %53 = shl nsw i32 %52, 1 %54 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 3 store i32 %53, ptr %54, align 4, !tbaa !19 %55 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext 20738, ptr noundef nonnull %0) #2 %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %92 57: ; preds = %50 %58 = load i32, ptr %20, align 4, !tbaa !17 switch i32 %58, label %80 [ i32 0, label %59 i32 4, label %60 i32 5, label %65 i32 6, label %70 i32 7, label %75 ] 59: ; preds = %57 br label %80 60: ; preds = %57 %61 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 6 %62 = load i32, ptr %61, align 8, !tbaa !20 %63 = icmp eq i32 %62, 18 %64 = select i1 %63, i16 7683, i16 7681 br label %80 65: ; preds = %57 %66 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 6 %67 = load i32, ptr %66, align 8, !tbaa !20 %68 = icmp eq i32 %67, 18 %69 = select i1 %68, i16 7811, i16 7809 br label %80 70: ; preds = %57 %71 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 6 %72 = load i32, ptr %71, align 8, !tbaa !20 %73 = icmp eq i32 %72, 18 %74 = select i1 %73, i16 7939, i16 7937 br label %80 75: ; preds = %57 %76 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 6 %77 = load i32, ptr %76, align 8, !tbaa !20 %78 = icmp eq i32 %77, 18 %79 = select i1 %78, i16 8067, i16 8065 br label %80 80: ; preds = %75, %70, %65, %60, %57, %59 %81 = phi i16 [ %34, %57 ], [ 7171, %59 ], [ %64, %60 ], [ %69, %65 ], [ %74, %70 ], [ %79, %75 ] %82 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %81, ptr noundef nonnull %0) #2 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %92 84: ; preds = %80 %85 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 5, i32 1 %86 = load i64, ptr %85, align 8, !tbaa !21 %87 = icmp eq i64 %86, 0 br i1 %87, label %92, label %88 88: ; preds = %84 %89 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 4 %90 = load i32, ptr %89, align 8, !tbaa !22 %91 = tail call i32 @ixj_aec_start(ptr noundef nonnull %0, i32 noundef %90) #2 br label %92 92: ; preds = %23, %84, %88, %80, %50, %27, %44 %93 = phi i32 [ %49, %44 ], [ 1, %23 ], [ -1, %27 ], [ -1, %50 ], [ -1, %80 ], [ 0, %88 ], [ 0, %84 ] ret i32 %93 } declare i32 @ixj_record_stop(ptr noundef) local_unnamed_addr #1 declare i64 @ixj_WriteDSPCommand(i16 noundef zeroext, ptr noundef) local_unnamed_addr #1 declare i32 @printk(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i64 @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ixj_aec_start(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 48} !6 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !12, i64 40, !7, i64 44, !11, i64 48} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_9__", !7, i64 0, !11, i64 8} !11 = !{!"long", !8, i64 0} !12 = !{!"TYPE_8__", !7, i64 0} !13 = !{!6, !7, i64 24} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 44} !16 = !{!6, !7, i64 0} !17 = !{!6, !7, i64 4} !18 = !{!6, !7, i64 8} !19 = !{!6, !7, i64 12} !20 = !{!6, !7, i64 40} !21 = !{!6, !11, i64 32} !22 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_ixj_record_start.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/telephony/extr_ixj.c_ixj_record_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ixjdebug = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"IXJ %d Starting Record Codec %d at %ld\0A\00", align 1 @jiffies = common local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [49 x i8] c"Read buffer allocation for ixj board %d failed!\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ixj_record_start], section "llvm.metadata" @switch.table.ixj_record_start = private unnamed_addr constant [8 x i16] [i16 20784, i16 20787, i16 20788, i16 20790, i16 20790, i16 20789, i16 20785, i16 20786], align 2 ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ixj_record_start(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @ixj_record_stop(ptr noundef nonnull %0) #2 br label %7 7: ; preds = %5, %1 %8 = getelementptr inbounds i8, ptr %0, i64 24 store i32 1, ptr %8, align 8, !tbaa !14 %9 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext 4064, ptr noundef nonnull %0) #2 %10 = load i32, ptr @ixjdebug, align 4, !tbaa !15 %11 = and i32 %10, 2 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %7 %14 = getelementptr inbounds i8, ptr %0, i64 44 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = load i32, ptr %0, align 8, !tbaa !17 %17 = load i32, ptr @jiffies, align 4, !tbaa !15 %18 = tail call i32 (ptr, i32, ...) @printk(ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %16, i32 noundef %17) #2 br label %19 19: ; preds = %13, %7 %20 = getelementptr inbounds i8, ptr %0, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !18 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %33 23: ; preds = %19 %24 = load i32, ptr %0, align 8, !tbaa !17 %25 = add i32 %24, -128 %26 = icmp ult i32 %25, 8 br i1 %26, label %27, label %92 27: ; preds = %23 %28 = zext nneg i32 %25 to i64 %29 = getelementptr inbounds [8 x i16], ptr @switch.table.ixj_record_start, i64 0, i64 %28 %30 = load i16, ptr %29, align 2 %31 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %30, ptr noundef nonnull %0) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %92 33: ; preds = %27, %19 %34 = phi i16 [ 0, %19 ], [ %30, %27 ] %35 = load i64, ptr %2, align 8, !tbaa !6 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %50 37: ; preds = %33 %38 = getelementptr inbounds i8, ptr %0, i64 8 %39 = load i32, ptr %38, align 8, !tbaa !19 %40 = shl nsw i32 %39, 1 %41 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !15 %42 = tail call i64 @kmalloc(i32 noundef %40, i32 noundef %41) #2 store i64 %42, ptr %2, align 8, !tbaa !6 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %50 44: ; preds = %37 %45 = getelementptr inbounds i8, ptr %0, i64 44 %46 = load i32, ptr %45, align 4, !tbaa !16 %47 = tail call i32 (ptr, i32, ...) @printk(ptr noundef nonnull @.str.1, i32 noundef %46) #2 %48 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %49 = sub nsw i32 0, %48 br label %92 50: ; preds = %37, %33 %51 = getelementptr inbounds i8, ptr %0, i64 8 %52 = load i32, ptr %51, align 8, !tbaa !19 %53 = shl nsw i32 %52, 1 %54 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %53, ptr %54, align 4, !tbaa !20 %55 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext 20738, ptr noundef nonnull %0) #2 %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %92 57: ; preds = %50 %58 = load i32, ptr %20, align 4, !tbaa !18 switch i32 %58, label %80 [ i32 0, label %59 i32 4, label %60 i32 5, label %65 i32 6, label %70 i32 7, label %75 ] 59: ; preds = %57 br label %80 60: ; preds = %57 %61 = getelementptr inbounds i8, ptr %0, i64 40 %62 = load i32, ptr %61, align 8, !tbaa !21 %63 = icmp eq i32 %62, 18 %64 = select i1 %63, i16 7683, i16 7681 br label %80 65: ; preds = %57 %66 = getelementptr inbounds i8, ptr %0, i64 40 %67 = load i32, ptr %66, align 8, !tbaa !21 %68 = icmp eq i32 %67, 18 %69 = select i1 %68, i16 7811, i16 7809 br label %80 70: ; preds = %57 %71 = getelementptr inbounds i8, ptr %0, i64 40 %72 = load i32, ptr %71, align 8, !tbaa !21 %73 = icmp eq i32 %72, 18 %74 = select i1 %73, i16 7939, i16 7937 br label %80 75: ; preds = %57 %76 = getelementptr inbounds i8, ptr %0, i64 40 %77 = load i32, ptr %76, align 8, !tbaa !21 %78 = icmp eq i32 %77, 18 %79 = select i1 %78, i16 8067, i16 8065 br label %80 80: ; preds = %75, %70, %65, %60, %57, %59 %81 = phi i16 [ %34, %57 ], [ 7171, %59 ], [ %64, %60 ], [ %69, %65 ], [ %74, %70 ], [ %79, %75 ] %82 = tail call i64 @ixj_WriteDSPCommand(i16 noundef zeroext %81, ptr noundef nonnull %0) #2 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %92 84: ; preds = %80 %85 = getelementptr inbounds i8, ptr %0, i64 32 %86 = load i64, ptr %85, align 8, !tbaa !22 %87 = icmp eq i64 %86, 0 br i1 %87, label %92, label %88 88: ; preds = %84 %89 = getelementptr inbounds i8, ptr %0, i64 16 %90 = load i32, ptr %89, align 8, !tbaa !23 %91 = tail call i32 @ixj_aec_start(ptr noundef nonnull %0, i32 noundef %90) #2 br label %92 92: ; preds = %23, %84, %88, %80, %50, %27, %44 %93 = phi i32 [ %49, %44 ], [ 1, %23 ], [ -1, %27 ], [ -1, %50 ], [ -1, %80 ], [ 0, %88 ], [ 0, %84 ] ret i32 %93 } declare i32 @ixj_record_stop(ptr noundef) local_unnamed_addr #1 declare i64 @ixj_WriteDSPCommand(i16 noundef zeroext, ptr noundef) local_unnamed_addr #1 declare i32 @printk(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i64 @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ixj_aec_start(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 48} !7 = !{!"TYPE_10__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 24, !13, i64 40, !8, i64 44, !12, i64 48} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_9__", !8, i64 0, !12, i64 8} !12 = !{!"long", !9, i64 0} !13 = !{!"TYPE_8__", !8, i64 0} !14 = !{!7, !8, i64 24} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 44} !17 = !{!7, !8, i64 0} !18 = !{!7, !8, i64 4} !19 = !{!7, !8, i64 8} !20 = !{!7, !8, i64 12} !21 = !{!7, !8, i64 40} !22 = !{!7, !12, i64 32} !23 = !{!7, !8, i64 16}
fastsocket_kernel_drivers_telephony_extr_ixj.c_ixj_record_start
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_ecoff.c__bfd_ecoff_make_empty_symbol.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_ecoff.c__bfd_ecoff_make_empty_symbol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { ptr, ptr } %struct.TYPE_5__ = type { %struct.TYPE_6__, ptr, i32, ptr } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @_bfd_ecoff_make_empty_symbol(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @bfd_zalloc(ptr noundef %0, i32 noundef 40) #2 %3 = icmp eq ptr %2, null br i1 %3, label %10, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %2, i64 0, i32 1 store ptr null, ptr %5, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 3 store ptr null, ptr %6, align 8, !tbaa !12 %7 = load i32, ptr @FALSE, align 4, !tbaa !13 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 2 store i32 %7, ptr %8, align 8, !tbaa !14 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1 store ptr null, ptr %9, align 8, !tbaa !15 store ptr %0, ptr %2, align 8, !tbaa !16 br label %10 10: ; preds = %1, %4 ret ptr %2 } declare ptr @bfd_zalloc(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 8} !6 = !{!"TYPE_5__", !7, i64 0, !8, i64 16, !11, i64 24, !8, i64 32} !7 = !{!"TYPE_6__", !8, i64 0, !8, 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 = !{!6, !8, i64 32} !13 = !{!11, !11, i64 0} !14 = !{!6, !11, i64 24} !15 = !{!6, !8, i64 16} !16 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_ecoff.c__bfd_ecoff_make_empty_symbol.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_ecoff.c__bfd_ecoff_make_empty_symbol.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @_bfd_ecoff_make_empty_symbol(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @bfd_zalloc(ptr noundef %0, i32 noundef 40) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = getelementptr inbounds i8, ptr %2, i64 32 store ptr null, ptr %6, align 8, !tbaa !6 %7 = load i32, ptr @FALSE, align 4, !tbaa !13 %8 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %7, ptr %8, align 8, !tbaa !14 store <2 x ptr> zeroinitializer, ptr %5, align 8, !tbaa !15 store ptr %0, ptr %2, align 8, !tbaa !16 br label %9 9: ; preds = %1, %4 ret ptr %2 } declare ptr @bfd_zalloc(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 32} !7 = !{!"TYPE_5__", !8, i64 0, !9, i64 16, !12, i64 24, !9, i64 32} !8 = !{!"TYPE_6__", !9, i64 0, !9, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !12, i64 24} !15 = !{!9, !9, i64 0} !16 = !{!7, !9, i64 0}
freebsd_contrib_binutils_bfd_extr_ecoff.c__bfd_ecoff_make_empty_symbol
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/vmx/extr_vmx.c_vmx_update_msr_bitmap_x2apic.c' source_filename = "AnghaBench/linux/arch/x86/kvm/vmx/extr_vmx.c_vmx_update_msr_bitmap_x2apic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BITS_PER_LONG = dso_local local_unnamed_addr global i32 0, align 4 @MSR_BITMAP_MODE_X2APIC_APICV = dso_local local_unnamed_addr global i32 0, align 4 @MSR_BITMAP_MODE_X2APIC = dso_local local_unnamed_addr global i32 0, align 4 @APIC_TASKPRI = dso_local local_unnamed_addr global i32 0, align 4 @MSR_TYPE_RW = dso_local local_unnamed_addr global i32 0, align 4 @APIC_TMCCT = dso_local local_unnamed_addr global i32 0, align 4 @MSR_TYPE_R = dso_local local_unnamed_addr global i32 0, align 4 @APIC_EOI = dso_local local_unnamed_addr global i32 0, align 4 @MSR_TYPE_W = dso_local local_unnamed_addr global i32 0, align 4 @APIC_SELF_IPI = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vmx_update_msr_bitmap_x2apic], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vmx_update_msr_bitmap_x2apic(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @BITS_PER_LONG, align 4, !tbaa !5 %4 = load i32, ptr @MSR_BITMAP_MODE_X2APIC_APICV, align 4, !tbaa !5 %5 = and i32 %4, %1 %6 = icmp eq i32 %5, 0 %7 = sext i1 %6 to i64 br label %8 8: ; preds = %2, %8 %9 = phi i32 [ 2048, %2 ], [ %14, %8 ] %10 = sdiv i32 %9, %3 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds i64, ptr %0, i64 %11 store i64 %7, ptr %12, align 8, !tbaa !9 %13 = getelementptr i64, ptr %12, i64 256 store i64 -1, ptr %13, align 8, !tbaa !9 %14 = add nsw i32 %3, %9 %15 = icmp slt i32 %14, 2304 br i1 %15, label %8, label %16, !llvm.loop !11 16: ; preds = %8 %17 = load i32, ptr @MSR_BITMAP_MODE_X2APIC, align 4, !tbaa !5 %18 = and i32 %17, %1 %19 = icmp eq i32 %18, 0 br i1 %19, label %41, label %20 20: ; preds = %16 %21 = load i32, ptr @APIC_TASKPRI, align 4, !tbaa !5 %22 = tail call i32 @X2APIC_MSR(i32 noundef %21) #2 %23 = load i32, ptr @MSR_TYPE_RW, align 4, !tbaa !5 %24 = tail call i32 @vmx_disable_intercept_for_msr(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @MSR_BITMAP_MODE_X2APIC_APICV, align 4, !tbaa !5 %26 = and i32 %25, %1 %27 = icmp eq i32 %26, 0 br i1 %27, label %41, label %28 28: ; preds = %20 %29 = load i32, ptr @APIC_TMCCT, align 4, !tbaa !5 %30 = tail call i32 @X2APIC_MSR(i32 noundef %29) #2 %31 = load i32, ptr @MSR_TYPE_R, align 4, !tbaa !5 %32 = tail call i32 @vmx_enable_intercept_for_msr(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31) #2 %33 = load i32, ptr @APIC_EOI, align 4, !tbaa !5 %34 = tail call i32 @X2APIC_MSR(i32 noundef %33) #2 %35 = load i32, ptr @MSR_TYPE_W, align 4, !tbaa !5 %36 = tail call i32 @vmx_disable_intercept_for_msr(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %35) #2 %37 = load i32, ptr @APIC_SELF_IPI, align 4, !tbaa !5 %38 = tail call i32 @X2APIC_MSR(i32 noundef %37) #2 %39 = load i32, ptr @MSR_TYPE_W, align 4, !tbaa !5 %40 = tail call i32 @vmx_disable_intercept_for_msr(ptr noundef nonnull %0, i32 noundef %38, i32 noundef %39) #2 br label %41 41: ; preds = %20, %28, %16 ret void } declare i32 @vmx_disable_intercept_for_msr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @X2APIC_MSR(i32 noundef) local_unnamed_addr #1 declare i32 @vmx_enable_intercept_for_msr(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, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/vmx/extr_vmx.c_vmx_update_msr_bitmap_x2apic.c' source_filename = "AnghaBench/linux/arch/x86/kvm/vmx/extr_vmx.c_vmx_update_msr_bitmap_x2apic.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BITS_PER_LONG = common local_unnamed_addr global i32 0, align 4 @MSR_BITMAP_MODE_X2APIC_APICV = common local_unnamed_addr global i32 0, align 4 @MSR_BITMAP_MODE_X2APIC = common local_unnamed_addr global i32 0, align 4 @APIC_TASKPRI = common local_unnamed_addr global i32 0, align 4 @MSR_TYPE_RW = common local_unnamed_addr global i32 0, align 4 @APIC_TMCCT = common local_unnamed_addr global i32 0, align 4 @MSR_TYPE_R = common local_unnamed_addr global i32 0, align 4 @APIC_EOI = common local_unnamed_addr global i32 0, align 4 @MSR_TYPE_W = common local_unnamed_addr global i32 0, align 4 @APIC_SELF_IPI = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vmx_update_msr_bitmap_x2apic], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vmx_update_msr_bitmap_x2apic(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @BITS_PER_LONG, align 4, !tbaa !6 %4 = load i32, ptr @MSR_BITMAP_MODE_X2APIC_APICV, align 4, !tbaa !6 %5 = and i32 %4, %1 %6 = icmp eq i32 %5, 0 %7 = sext i1 %6 to i64 br label %8 8: ; preds = %2, %8 %9 = phi i32 [ 2048, %2 ], [ %14, %8 ] %10 = sdiv i32 %9, %3 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds i64, ptr %0, i64 %11 store i64 %7, ptr %12, align 8, !tbaa !10 %13 = getelementptr inbounds i8, ptr %12, i64 2048 store i64 -1, ptr %13, align 8, !tbaa !10 %14 = add nsw i32 %3, %9 %15 = icmp slt i32 %14, 2304 br i1 %15, label %8, label %16, !llvm.loop !12 16: ; preds = %8 %17 = load i32, ptr @MSR_BITMAP_MODE_X2APIC, align 4, !tbaa !6 %18 = and i32 %17, %1 %19 = icmp eq i32 %18, 0 br i1 %19, label %41, label %20 20: ; preds = %16 %21 = load i32, ptr @APIC_TASKPRI, align 4, !tbaa !6 %22 = tail call i32 @X2APIC_MSR(i32 noundef %21) #2 %23 = load i32, ptr @MSR_TYPE_RW, align 4, !tbaa !6 %24 = tail call i32 @vmx_disable_intercept_for_msr(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @MSR_BITMAP_MODE_X2APIC_APICV, align 4, !tbaa !6 %26 = and i32 %25, %1 %27 = icmp eq i32 %26, 0 br i1 %27, label %41, label %28 28: ; preds = %20 %29 = load i32, ptr @APIC_TMCCT, align 4, !tbaa !6 %30 = tail call i32 @X2APIC_MSR(i32 noundef %29) #2 %31 = load i32, ptr @MSR_TYPE_R, align 4, !tbaa !6 %32 = tail call i32 @vmx_enable_intercept_for_msr(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %31) #2 %33 = load i32, ptr @APIC_EOI, align 4, !tbaa !6 %34 = tail call i32 @X2APIC_MSR(i32 noundef %33) #2 %35 = load i32, ptr @MSR_TYPE_W, align 4, !tbaa !6 %36 = tail call i32 @vmx_disable_intercept_for_msr(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %35) #2 %37 = load i32, ptr @APIC_SELF_IPI, align 4, !tbaa !6 %38 = tail call i32 @X2APIC_MSR(i32 noundef %37) #2 %39 = load i32, ptr @MSR_TYPE_W, align 4, !tbaa !6 %40 = tail call i32 @vmx_disable_intercept_for_msr(ptr noundef nonnull %0, i32 noundef %38, i32 noundef %39) #2 br label %41 41: ; preds = %20, %28, %16 ret void } declare i32 @vmx_disable_intercept_for_msr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @X2APIC_MSR(i32 noundef) local_unnamed_addr #1 declare i32 @vmx_enable_intercept_for_msr(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, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_arch_x86_kvm_vmx_extr_vmx.c_vmx_update_msr_bitmap_x2apic
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_sdhci-of-arasan.c_sdhci_arasan_set_clock.c' source_filename = "AnghaBench/linux/drivers/mmc/host/extr_sdhci-of-arasan.c_sdhci_arasan_set_clock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sdhci_arasan_data = type { i32, i32, i32 } @PHY_CLK_TOO_SLOW_HZ = dso_local local_unnamed_addr global i32 0, align 4 @SDHCI_ARASAN_QUIRK_CLOCK_UNSTABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sdhci_arasan_set_clock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sdhci_arasan_set_clock(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @sdhci_priv(ptr noundef %0) #2 %4 = tail call ptr @sdhci_pltfm_priv(ptr noundef %3) #2 %5 = getelementptr inbounds %struct.sdhci_arasan_data, ptr %4, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @IS_ERR(i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %28 9: ; preds = %2 %10 = load i32, ptr %4, align 4, !tbaa !10 %11 = icmp eq i32 %10, 0 %12 = load i32, ptr @PHY_CLK_TOO_SLOW_HZ, align 4 %13 = icmp uge i32 %12, %1 %14 = select i1 %11, i1 %13, i1 false br i1 %14, label %15, label %20 15: ; preds = %9 %16 = load i32, ptr %0, align 4, !tbaa !11 %17 = tail call i32 @sdhci_set_clock(ptr noundef nonnull %0, i32 noundef %16) #2 %18 = load i32, ptr %5, align 4, !tbaa !5 %19 = tail call i32 @phy_power_on(i32 noundef %18) #2 br label %26 20: ; preds = %9 br i1 %13, label %28, label %21 21: ; preds = %20 %22 = icmp eq i32 %10, 0 br i1 %22, label %28, label %23 23: ; preds = %21 %24 = load i32, ptr %5, align 4, !tbaa !5 %25 = tail call i32 @phy_power_off(i32 noundef %24) #2 br label %26 26: ; preds = %23, %15 %27 = phi i32 [ 1, %15 ], [ 0, %23 ] store i32 %27, ptr %4, align 4, !tbaa !10 br label %28 28: ; preds = %26, %2, %21, %20 %29 = phi i1 [ false, %21 ], [ true, %20 ], [ true, %2 ], [ %14, %26 ] %30 = tail call i32 @sdhci_set_clock(ptr noundef %0, i32 noundef %1) #2 %31 = getelementptr inbounds %struct.sdhci_arasan_data, ptr %4, i64 0, i32 1 %32 = load i32, ptr %31, align 4, !tbaa !13 %33 = load i32, ptr @SDHCI_ARASAN_QUIRK_CLOCK_UNSTABLE, align 4, !tbaa !14 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, 0 br i1 %35, label %38, label %36 36: ; preds = %28 %37 = tail call i32 @msleep(i32 noundef 20) #2 br label %38 38: ; preds = %36, %28 br i1 %29, label %42, label %39 39: ; preds = %38 %40 = load i32, ptr %5, align 4, !tbaa !5 %41 = tail call i32 @phy_power_on(i32 noundef %40) #2 store i32 1, ptr %4, align 4, !tbaa !10 br label %42 42: ; preds = %39, %38 ret void } declare ptr @sdhci_priv(ptr noundef) local_unnamed_addr #1 declare ptr @sdhci_pltfm_priv(ptr noundef) local_unnamed_addr #1 declare i32 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @sdhci_set_clock(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phy_power_on(i32 noundef) local_unnamed_addr #1 declare i32 @phy_power_off(i32 noundef) local_unnamed_addr #1 declare i32 @msleep(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 8} !6 = !{!"sdhci_arasan_data", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"sdhci_host", !7, i64 0} !13 = !{!6, !7, i64 4} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_sdhci-of-arasan.c_sdhci_arasan_set_clock.c' source_filename = "AnghaBench/linux/drivers/mmc/host/extr_sdhci-of-arasan.c_sdhci_arasan_set_clock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PHY_CLK_TOO_SLOW_HZ = common local_unnamed_addr global i32 0, align 4 @SDHCI_ARASAN_QUIRK_CLOCK_UNSTABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sdhci_arasan_set_clock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sdhci_arasan_set_clock(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @sdhci_priv(ptr noundef %0) #2 %4 = tail call ptr @sdhci_pltfm_priv(ptr noundef %3) #2 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @IS_ERR(i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %27 9: ; preds = %2 %10 = load i32, ptr %4, align 4, !tbaa !11 %11 = icmp eq i32 %10, 0 %12 = load i32, ptr @PHY_CLK_TOO_SLOW_HZ, align 4 %13 = icmp uge i32 %12, %1 %14 = select i1 %11, i1 %13, i1 false br i1 %14, label %15, label %20 15: ; preds = %9 %16 = load i32, ptr %0, align 4, !tbaa !12 %17 = tail call i32 @sdhci_set_clock(ptr noundef nonnull %0, i32 noundef %16) #2 %18 = load i32, ptr %5, align 4, !tbaa !6 %19 = tail call i32 @phy_power_on(i32 noundef %18) #2 br label %25 20: ; preds = %9 %21 = or i1 %13, %11 br i1 %21, label %27, label %22 22: ; preds = %20 %23 = load i32, ptr %5, align 4, !tbaa !6 %24 = tail call i32 @phy_power_off(i32 noundef %23) #2 br label %25 25: ; preds = %22, %15 %26 = phi i32 [ 1, %15 ], [ 0, %22 ] store i32 %26, ptr %4, align 4, !tbaa !11 br label %27 27: ; preds = %20, %25, %2 %28 = phi i1 [ %13, %20 ], [ true, %2 ], [ %14, %25 ] %29 = tail call i32 @sdhci_set_clock(ptr noundef %0, i32 noundef %1) #2 %30 = getelementptr inbounds i8, ptr %4, i64 4 %31 = load i32, ptr %30, align 4, !tbaa !14 %32 = load i32, ptr @SDHCI_ARASAN_QUIRK_CLOCK_UNSTABLE, align 4, !tbaa !15 %33 = and i32 %32, %31 %34 = icmp eq i32 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %27 %36 = tail call i32 @msleep(i32 noundef 20) #2 br label %37 37: ; preds = %35, %27 br i1 %28, label %41, label %38 38: ; preds = %37 %39 = load i32, ptr %5, align 4, !tbaa !6 %40 = tail call i32 @phy_power_on(i32 noundef %39) #2 store i32 1, ptr %4, align 4, !tbaa !11 br label %41 41: ; preds = %38, %37 ret void } declare ptr @sdhci_priv(ptr noundef) local_unnamed_addr #1 declare ptr @sdhci_pltfm_priv(ptr noundef) local_unnamed_addr #1 declare i32 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @sdhci_set_clock(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phy_power_on(i32 noundef) local_unnamed_addr #1 declare i32 @phy_power_off(i32 noundef) local_unnamed_addr #1 declare i32 @msleep(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 8} !7 = !{!"sdhci_arasan_data", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"sdhci_host", !8, i64 0} !14 = !{!7, !8, i64 4} !15 = !{!8, !8, i64 0}
linux_drivers_mmc_host_extr_sdhci-of-arasan.c_sdhci_arasan_set_clock
; ModuleID = 'AnghaBench/micropython/ports/zephyr/src/extr_zephyr_getchar.c_zephyr_getchar_init.c' source_filename = "AnghaBench/micropython/ports/zephyr/src/extr_zephyr_getchar.c_zephyr_getchar_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" @uart_sem = dso_local global i32 0, align 4 @UINT_MAX = dso_local local_unnamed_addr global i32 0, align 4 @console_irq_input_hook = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @zephyr_getchar_init() local_unnamed_addr #0 { %1 = load i32, ptr @UINT_MAX, align 4, !tbaa !5 %2 = tail call i32 @k_sem_init(ptr noundef nonnull @uart_sem, i32 noundef 0, i32 noundef %1) #2 %3 = load i32, ptr @console_irq_input_hook, align 4, !tbaa !5 %4 = tail call i32 @uart_console_in_debug_hook_install(i32 noundef %3) #2 %5 = tail call i32 @uart_register_input(ptr noundef null, ptr noundef null, ptr noundef null) #2 ret void } declare i32 @k_sem_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uart_console_in_debug_hook_install(i32 noundef) local_unnamed_addr #1 declare i32 @uart_register_input(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/micropython/ports/zephyr/src/extr_zephyr_getchar.c_zephyr_getchar_init.c' source_filename = "AnghaBench/micropython/ports/zephyr/src/extr_zephyr_getchar.c_zephyr_getchar_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @uart_sem = common global i32 0, align 4 @UINT_MAX = common local_unnamed_addr global i32 0, align 4 @console_irq_input_hook = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @zephyr_getchar_init() local_unnamed_addr #0 { %1 = load i32, ptr @UINT_MAX, align 4, !tbaa !6 %2 = tail call i32 @k_sem_init(ptr noundef nonnull @uart_sem, i32 noundef 0, i32 noundef %1) #2 %3 = load i32, ptr @console_irq_input_hook, align 4, !tbaa !6 %4 = tail call i32 @uart_console_in_debug_hook_install(i32 noundef %3) #2 %5 = tail call i32 @uart_register_input(ptr noundef null, ptr noundef null, ptr noundef null) #2 ret void } declare i32 @k_sem_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uart_console_in_debug_hook_install(i32 noundef) local_unnamed_addr #1 declare i32 @uart_register_input(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"}
micropython_ports_zephyr_src_extr_zephyr_getchar.c_zephyr_getchar_init
; ModuleID = 'AnghaBench/linux/drivers/base/regmap/extr_regcache-lzo.c_regcache_lzo_block_count.c' source_filename = "AnghaBench/linux/drivers/base/regmap/extr_regcache-lzo.c_regcache_lzo_block_count.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LZO_BLOCK_NUM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @regcache_lzo_block_count], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @regcache_lzo_block_count(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @LZO_BLOCK_NUM, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/base/regmap/extr_regcache-lzo.c_regcache_lzo_block_count.c' source_filename = "AnghaBench/linux/drivers/base/regmap/extr_regcache-lzo.c_regcache_lzo_block_count.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LZO_BLOCK_NUM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @regcache_lzo_block_count], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @regcache_lzo_block_count(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @LZO_BLOCK_NUM, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_base_regmap_extr_regcache-lzo.c_regcache_lzo_block_count
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/compress/extr_zstd_compress.c_ZSTD_reduceTable.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/compress/extr_zstd_compress.c_ZSTD_reduceTable.c" target datalayout = "e-m:e-p270:32:32-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 @ZSTD_reduceTable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ZSTD_reduceTable(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @ZSTD_reduceTable_internal(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef 0) #2 ret void } declare i32 @ZSTD_reduceTable_internal(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)"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/compress/extr_zstd_compress.c_ZSTD_reduceTable.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/compress/extr_zstd_compress.c_ZSTD_reduceTable.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 @ZSTD_reduceTable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ZSTD_reduceTable(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @ZSTD_reduceTable_internal(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef 0) #2 ret void } declare i32 @ZSTD_reduceTable_internal(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)"}
freebsd_sys_contrib_zstd_lib_compress_extr_zstd_compress.c_ZSTD_reduceTable
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_octeon_console.c_octeon_named_block_find.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_octeon_console.c_octeon_named_block_find.c" target datalayout = "e-m:e-p270:32:32-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.cvmx_bootmem_named_block_desc = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @octeon_named_block_find], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @octeon_named_block_find(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 { %5 = tail call i32 (...) @octeon_remote_lock() #2 %6 = tail call ptr @__cvmx_bootmem_find_named_block_flags(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2 %7 = tail call i32 (...) @octeon_remote_unlock() #2 %8 = icmp eq ptr %6, null br i1 %8, label %13, label %9 9: ; preds = %4 %10 = getelementptr inbounds %struct.cvmx_bootmem_named_block_desc, ptr %6, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !5 store i32 %11, ptr %2, align 4, !tbaa !10 %12 = load i32, ptr %6, align 4, !tbaa !11 store i32 %12, ptr %3, align 4, !tbaa !10 br label %13 13: ; preds = %4, %9 %14 = phi i32 [ 0, %9 ], [ 1, %4 ] ret i32 %14 } declare i32 @octeon_remote_lock(...) local_unnamed_addr #1 declare ptr @__cvmx_bootmem_find_named_block_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @octeon_remote_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"cvmx_bootmem_named_block_desc", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_octeon_console.c_octeon_named_block_find.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_octeon_console.c_octeon_named_block_find.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 @octeon_named_block_find], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @octeon_named_block_find(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) #0 { %5 = tail call i32 @octeon_remote_lock() #2 %6 = tail call ptr @__cvmx_bootmem_find_named_block_flags(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2 %7 = tail call i32 @octeon_remote_unlock() #2 %8 = icmp eq ptr %6, null br i1 %8, label %13, label %9 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %6, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !6 store i32 %11, ptr %2, align 4, !tbaa !11 %12 = load i32, ptr %6, align 4, !tbaa !12 store i32 %12, ptr %3, align 4, !tbaa !11 br label %13 13: ; preds = %4, %9 %14 = phi i32 [ 0, %9 ], [ 1, %4 ] ret i32 %14 } declare i32 @octeon_remote_lock(...) local_unnamed_addr #1 declare ptr @__cvmx_bootmem_find_named_block_flags(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @octeon_remote_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"cvmx_bootmem_named_block_desc", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0}
linux_drivers_net_ethernet_cavium_liquidio_extr_octeon_console.c_octeon_named_block_find
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-i386.c_elf_i386_grok_psinfo.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-i386.c_elf_i386_grok_psinfo.c" target datalayout = "e-m:e-p270:32:32-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, i64, i32 } %struct.TYPE_5__ = type { ptr, ptr } @.str = private unnamed_addr constant [8 x i8] c"FreeBSD\00", align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @elf_i386_grok_psinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @elf_i386_grok_psinfo(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = icmp eq i32 %3, 8 br i1 %4, label %5, label %15 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 %7 = load i32, ptr %6, align 8, !tbaa !11 %8 = tail call i64 @strcmp(i32 noundef %7, ptr noundef nonnull @.str) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %12 = load i64, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @bfd_get_32(ptr noundef %0, i64 noundef %12) #2 %14 = icmp eq i32 %13, 1 br i1 %14, label %21, label %47 15: ; preds = %5, %2 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = icmp eq i32 %17, 124 br i1 %18, label %19, label %47 19: ; preds = %15 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 br label %21 21: ; preds = %10, %19 %22 = phi ptr [ %20, %19 ], [ %11, %10 ] %23 = phi i64 [ 28, %19 ], [ 8, %10 ] %24 = phi i32 [ 16, %19 ], [ 17, %10 ] %25 = phi i64 [ 44, %19 ], [ 25, %10 ] %26 = phi i32 [ 80, %19 ], [ 81, %10 ] %27 = load i64, ptr %22, align 8, !tbaa !12 %28 = add nsw i64 %27, %23 %29 = tail call ptr @_bfd_elfcore_strndup(ptr noundef %0, i64 noundef %28, i32 noundef %24) #2 %30 = tail call ptr @elf_tdata(ptr noundef %0) #2 %31 = getelementptr inbounds %struct.TYPE_5__, ptr %30, i64 0, i32 1 store ptr %29, ptr %31, align 8, !tbaa !14 %32 = load i64, ptr %22, align 8, !tbaa !12 %33 = add nsw i64 %32, %25 %34 = tail call ptr @_bfd_elfcore_strndup(ptr noundef %0, i64 noundef %33, i32 noundef %26) #2 %35 = tail call ptr @elf_tdata(ptr noundef %0) #2 store ptr %34, ptr %35, align 8, !tbaa !17 %36 = tail call ptr @elf_tdata(ptr noundef %0) #2 %37 = load ptr, ptr %36, align 8, !tbaa !17 %38 = tail call i32 @strlen(ptr noundef %37) #2 %39 = icmp sgt i32 %38, 0 br i1 %39, label %40, label %47 40: ; preds = %21 %41 = zext nneg i32 %38 to i64 %42 = getelementptr i8, ptr %37, i64 %41 %43 = getelementptr i8, ptr %42, i64 -1 %44 = load i8, ptr %43, align 1, !tbaa !18 %45 = icmp eq i8 %44, 32 br i1 %45, label %46, label %47 46: ; preds = %40 store i8 0, ptr %43, align 1, !tbaa !18 br label %47 47: ; preds = %21, %40, %46, %15, %10 %48 = phi ptr [ @FALSE, %10 ], [ @FALSE, %15 ], [ @TRUE, %46 ], [ @TRUE, %40 ], [ @TRUE, %21 ] %49 = load i32, ptr %48, align 4, !tbaa !19 ret i32 %49 } declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bfd_get_32(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @_bfd_elfcore_strndup(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @elf_tdata(ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !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, !7, i64 16} !12 = !{!6, !10, i64 8} !13 = !{!6, !7, i64 4} !14 = !{!15, !16, i64 8} !15 = !{!"TYPE_5__", !16, i64 0, !16, i64 8} !16 = !{!"any pointer", !8, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-i386.c_elf_i386_grok_psinfo.c' source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_elf32-i386.c_elf_i386_grok_psinfo.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"FreeBSD\00", align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @elf_i386_grok_psinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @elf_i386_grok_psinfo(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = icmp eq i32 %3, 8 br i1 %4, label %5, label %15 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 16 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = tail call i64 @strcmp(i32 noundef %7, ptr noundef nonnull @.str) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !13 %13 = tail call i32 @bfd_get_32(ptr noundef %0, i64 noundef %12) #2 %14 = icmp eq i32 %13, 1 br i1 %14, label %21, label %47 15: ; preds = %5, %2 %16 = getelementptr inbounds i8, ptr %1, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = icmp eq i32 %17, 124 br i1 %18, label %19, label %47 19: ; preds = %15 %20 = getelementptr inbounds i8, ptr %1, i64 8 br label %21 21: ; preds = %10, %19 %22 = phi ptr [ %20, %19 ], [ %11, %10 ] %23 = phi i64 [ 28, %19 ], [ 8, %10 ] %24 = phi i32 [ 16, %19 ], [ 17, %10 ] %25 = phi i64 [ 44, %19 ], [ 25, %10 ] %26 = phi i32 [ 80, %19 ], [ 81, %10 ] %27 = load i64, ptr %22, align 8, !tbaa !13 %28 = add nsw i64 %27, %23 %29 = tail call ptr @_bfd_elfcore_strndup(ptr noundef %0, i64 noundef %28, i32 noundef %24) #2 %30 = tail call ptr @elf_tdata(ptr noundef %0) #2 %31 = getelementptr inbounds i8, ptr %30, i64 8 store ptr %29, ptr %31, align 8, !tbaa !15 %32 = load i64, ptr %22, align 8, !tbaa !13 %33 = add nsw i64 %32, %25 %34 = tail call ptr @_bfd_elfcore_strndup(ptr noundef %0, i64 noundef %33, i32 noundef %26) #2 %35 = tail call ptr @elf_tdata(ptr noundef %0) #2 store ptr %34, ptr %35, align 8, !tbaa !18 %36 = tail call ptr @elf_tdata(ptr noundef %0) #2 %37 = load ptr, ptr %36, align 8, !tbaa !18 %38 = tail call i32 @strlen(ptr noundef %37) #2 %39 = icmp sgt i32 %38, 0 br i1 %39, label %40, label %47 40: ; preds = %21 %41 = zext nneg i32 %38 to i64 %42 = getelementptr i8, ptr %37, i64 %41 %43 = getelementptr i8, ptr %42, i64 -1 %44 = load i8, ptr %43, align 1, !tbaa !19 %45 = icmp eq i8 %44, 32 br i1 %45, label %46, label %47 46: ; preds = %40 store i8 0, ptr %43, align 1, !tbaa !19 br label %47 47: ; preds = %21, %40, %46, %15, %10 %48 = phi ptr [ @FALSE, %10 ], [ @FALSE, %15 ], [ @TRUE, %46 ], [ @TRUE, %40 ], [ @TRUE, %21 ] %49 = load i32, ptr %48, align 4, !tbaa !20 ret i32 %49 } declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bfd_get_32(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @_bfd_elfcore_strndup(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @elf_tdata(ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !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, !8, i64 16} !13 = !{!7, !11, i64 8} !14 = !{!7, !8, i64 4} !15 = !{!16, !17, i64 8} !16 = !{!"TYPE_5__", !17, i64 0, !17, i64 8} !17 = !{!"any pointer", !9, i64 0} !18 = !{!16, !17, i64 0} !19 = !{!9, !9, i64 0} !20 = !{!8, !8, i64 0}
freebsd_contrib_binutils_bfd_extr_elf32-i386.c_elf_i386_grok_psinfo
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_generate_clip_or_cull_distances.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_generate_clip_or_cull_distances.c" target datalayout = "e-m:e-p270:32:32-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.wined3d_shader_signature_element = type { i64, i32, i32, i64 } @WINED3D_SV_CLIP_DISTANCE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"Clip\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Cull\00", align 1 @WINED3DSP_WRITEMASK_0 = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"gl_%sDistance[%u] = outputs[%u]%s;\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @shader_glsl_generate_clip_or_cull_distances], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @shader_glsl_generate_clip_or_cull_distances(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = alloca [6 x i8], align 1 call void @llvm.lifetime.start.p0(i64 6, ptr nonnull %4) #3 %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = load i64, ptr @WINED3D_SV_CLIP_DISTANCE, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 %8 = select i1 %7, ptr @.str, ptr @.str.1 %9 = getelementptr inbounds %struct.wined3d_shader_signature_element, ptr %1, i64 0, i32 3 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = and i32 %2, 15 %14 = tail call i32 @wined3d_popcount(i32 noundef %13) #3 br label %15 15: ; preds = %3, %12 %16 = phi i32 [ %14, %12 ], [ 0, %3 ] %17 = getelementptr inbounds %struct.wined3d_shader_signature_element, ptr %1, i64 0, i32 1 %18 = getelementptr inbounds %struct.wined3d_shader_signature_element, ptr %1, i64 0, i32 2 %19 = load i32, ptr %17, align 8, !tbaa !13 %20 = load i32, ptr @WINED3DSP_WRITEMASK_0, align 4, !tbaa !14 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 br i1 %22, label %30, label %23 23: ; preds = %15 %24 = call i32 @shader_glsl_write_mask_to_str(i32 noundef %20, ptr noundef nonnull %4) #3 %25 = load i32, ptr %18, align 4, !tbaa !15 %26 = call i32 @shader_addline(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, i32 noundef %16, i32 noundef %25, ptr noundef nonnull %4) #3 %27 = add i32 %16, 1 %28 = load i32, ptr %17, align 8, !tbaa !13 %29 = load i32, ptr @WINED3DSP_WRITEMASK_0, align 4, !tbaa !14 br label %30 30: ; preds = %15, %23 %31 = phi i32 [ %29, %23 ], [ %20, %15 ] %32 = phi i32 [ %28, %23 ], [ %19, %15 ] %33 = phi i32 [ %27, %23 ], [ %16, %15 ] %34 = shl i32 %31, 1 %35 = and i32 %34, %32 %36 = icmp eq i32 %35, 0 br i1 %36, label %44, label %37 37: ; preds = %30 %38 = call i32 @shader_glsl_write_mask_to_str(i32 noundef %34, ptr noundef nonnull %4) #3 %39 = load i32, ptr %18, align 4, !tbaa !15 %40 = call i32 @shader_addline(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, i32 noundef %33, i32 noundef %39, ptr noundef nonnull %4) #3 %41 = add i32 %33, 1 %42 = load i32, ptr %17, align 8, !tbaa !13 %43 = load i32, ptr @WINED3DSP_WRITEMASK_0, align 4, !tbaa !14 br label %44 44: ; preds = %37, %30 %45 = phi i32 [ %43, %37 ], [ %31, %30 ] %46 = phi i32 [ %42, %37 ], [ %32, %30 ] %47 = phi i32 [ %41, %37 ], [ %33, %30 ] %48 = shl i32 %45, 2 %49 = and i32 %48, %46 %50 = icmp eq i32 %49, 0 br i1 %50, label %58, label %51 51: ; preds = %44 %52 = call i32 @shader_glsl_write_mask_to_str(i32 noundef %48, ptr noundef nonnull %4) #3 %53 = load i32, ptr %18, align 4, !tbaa !15 %54 = call i32 @shader_addline(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, i32 noundef %47, i32 noundef %53, ptr noundef nonnull %4) #3 %55 = add i32 %47, 1 %56 = load i32, ptr %17, align 8, !tbaa !13 %57 = load i32, ptr @WINED3DSP_WRITEMASK_0, align 4, !tbaa !14 br label %58 58: ; preds = %51, %44 %59 = phi i32 [ %57, %51 ], [ %45, %44 ] %60 = phi i32 [ %56, %51 ], [ %46, %44 ] %61 = phi i32 [ %55, %51 ], [ %47, %44 ] %62 = shl i32 %59, 3 %63 = and i32 %62, %60 %64 = icmp eq i32 %63, 0 br i1 %64, label %69, label %65 65: ; preds = %58 %66 = call i32 @shader_glsl_write_mask_to_str(i32 noundef %62, ptr noundef nonnull %4) #3 %67 = load i32, ptr %18, align 4, !tbaa !15 %68 = call i32 @shader_addline(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, i32 noundef %61, i32 noundef %67, ptr noundef nonnull %4) #3 br label %69 69: ; preds = %65, %58 call void @llvm.lifetime.end.p0(i64 6, 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 @wined3d_popcount(i32 noundef) local_unnamed_addr #2 declare i32 @shader_glsl_write_mask_to_str(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @shader_addline(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"wined3d_shader_signature_element", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 16} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_generate_clip_or_cull_distances.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_shader_glsl_generate_clip_or_cull_distances.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WINED3D_SV_CLIP_DISTANCE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"Clip\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Cull\00", align 1 @WINED3DSP_WRITEMASK_0 = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"gl_%sDistance[%u] = outputs[%u]%s;\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @shader_glsl_generate_clip_or_cull_distances], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @shader_glsl_generate_clip_or_cull_distances(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = alloca [6 x i8], align 1 call void @llvm.lifetime.start.p0(i64 6, ptr nonnull %4) #3 %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = load i64, ptr @WINED3D_SV_CLIP_DISTANCE, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 %8 = select i1 %7, ptr @.str, ptr @.str.1 %9 = getelementptr inbounds i8, ptr %1, i64 16 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = and i32 %2, 15 %14 = tail call i32 @wined3d_popcount(i32 noundef %13) #3 br label %15 15: ; preds = %3, %12 %16 = phi i32 [ %14, %12 ], [ 0, %3 ] %17 = getelementptr inbounds i8, ptr %1, i64 8 %18 = getelementptr inbounds i8, ptr %1, i64 12 %19 = load i32, ptr %17, align 8, !tbaa !14 %20 = load i32, ptr @WINED3DSP_WRITEMASK_0, align 4, !tbaa !15 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 br i1 %22, label %30, label %23 23: ; preds = %15 %24 = call i32 @shader_glsl_write_mask_to_str(i32 noundef %20, ptr noundef nonnull %4) #3 %25 = load i32, ptr %18, align 4, !tbaa !16 %26 = call i32 @shader_addline(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, i32 noundef %16, i32 noundef %25, ptr noundef nonnull %4) #3 %27 = add i32 %16, 1 %28 = load i32, ptr %17, align 8, !tbaa !14 %29 = load i32, ptr @WINED3DSP_WRITEMASK_0, align 4, !tbaa !15 br label %30 30: ; preds = %15, %23 %31 = phi i32 [ %29, %23 ], [ %20, %15 ] %32 = phi i32 [ %28, %23 ], [ %19, %15 ] %33 = phi i32 [ %27, %23 ], [ %16, %15 ] %34 = shl i32 %31, 1 %35 = and i32 %34, %32 %36 = icmp eq i32 %35, 0 br i1 %36, label %44, label %37 37: ; preds = %30 %38 = call i32 @shader_glsl_write_mask_to_str(i32 noundef %34, ptr noundef nonnull %4) #3 %39 = load i32, ptr %18, align 4, !tbaa !16 %40 = call i32 @shader_addline(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, i32 noundef %33, i32 noundef %39, ptr noundef nonnull %4) #3 %41 = add i32 %33, 1 %42 = load i32, ptr %17, align 8, !tbaa !14 %43 = load i32, ptr @WINED3DSP_WRITEMASK_0, align 4, !tbaa !15 br label %44 44: ; preds = %37, %30 %45 = phi i32 [ %43, %37 ], [ %31, %30 ] %46 = phi i32 [ %42, %37 ], [ %32, %30 ] %47 = phi i32 [ %41, %37 ], [ %33, %30 ] %48 = shl i32 %45, 2 %49 = and i32 %48, %46 %50 = icmp eq i32 %49, 0 br i1 %50, label %58, label %51 51: ; preds = %44 %52 = call i32 @shader_glsl_write_mask_to_str(i32 noundef %48, ptr noundef nonnull %4) #3 %53 = load i32, ptr %18, align 4, !tbaa !16 %54 = call i32 @shader_addline(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, i32 noundef %47, i32 noundef %53, ptr noundef nonnull %4) #3 %55 = add i32 %47, 1 %56 = load i32, ptr %17, align 8, !tbaa !14 %57 = load i32, ptr @WINED3DSP_WRITEMASK_0, align 4, !tbaa !15 br label %58 58: ; preds = %51, %44 %59 = phi i32 [ %57, %51 ], [ %45, %44 ] %60 = phi i32 [ %56, %51 ], [ %46, %44 ] %61 = phi i32 [ %55, %51 ], [ %47, %44 ] %62 = shl i32 %59, 3 %63 = and i32 %62, %60 %64 = icmp eq i32 %63, 0 br i1 %64, label %69, label %65 65: ; preds = %58 %66 = call i32 @shader_glsl_write_mask_to_str(i32 noundef %62, ptr noundef nonnull %4) #3 %67 = load i32, ptr %18, align 4, !tbaa !16 %68 = call i32 @shader_addline(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %8, i32 noundef %61, i32 noundef %67, ptr noundef nonnull %4) #3 br label %69 69: ; preds = %65, %58 call void @llvm.lifetime.end.p0(i64 6, 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 @wined3d_popcount(i32 noundef) local_unnamed_addr #2 declare i32 @shader_glsl_write_mask_to_str(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @shader_addline(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"wined3d_shader_signature_element", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 16} !14 = !{!7, !11, i64 8} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 12}
reactos_dll_directx_wine_wined3d_extr_glsl_shader.c_shader_glsl_generate_clip_or_cull_distances
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/can/extr_at91_can.c_at91_transceiver_switch.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/can/extr_at91_can.c_at91_transceiver_switch.c" target datalayout = "e-m:e-p270:32:32-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 @at91_transceiver_switch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @at91_transceiver_switch(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %10, label %5 5: ; preds = %2 %6 = load ptr, ptr %3, align 8, !tbaa !10 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 %6(i32 noundef %1) #1 br label %10 10: ; preds = %8, %5, %2 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"at91_priv", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/can/extr_at91_can.c_at91_transceiver_switch.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/can/extr_at91_can.c_at91_transceiver_switch.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 @at91_transceiver_switch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @at91_transceiver_switch(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %10, label %5 5: ; preds = %2 %6 = load ptr, ptr %3, align 8, !tbaa !11 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 %6(i32 noundef %1) #1 br label %10 10: ; preds = %8, %5, %2 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"at91_priv", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0}
fastsocket_kernel_drivers_net_can_extr_at91_can.c_at91_transceiver_switch
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_sched.c_rpc_sleep_check_activated.c' source_filename = "AnghaBench/linux/net/sunrpc/extr_sched.c_rpc_sleep_check_activated.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rpc_sleep_check_activated], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rpc_sleep_check_activated(ptr noundef %0) #0 { %2 = tail call i32 @RPC_IS_ACTIVATED(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i64 @WARN_ON_ONCE(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = load i32, ptr @EIO, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 store i32 %9, ptr %0, align 4, !tbaa !9 %10 = tail call i32 @rpc_put_task_async(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %1, %7 %12 = phi i32 [ 0, %7 ], [ 1, %1 ] ret i32 %12 } declare i64 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @RPC_IS_ACTIVATED(ptr noundef) local_unnamed_addr #1 declare i32 @rpc_put_task_async(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 = !{!"rpc_task", !6, i64 0}
; ModuleID = 'AnghaBench/linux/net/sunrpc/extr_sched.c_rpc_sleep_check_activated.c' source_filename = "AnghaBench/linux/net/sunrpc/extr_sched.c_rpc_sleep_check_activated.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rpc_sleep_check_activated], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @rpc_sleep_check_activated(ptr noundef %0) #0 { %2 = tail call i32 @RPC_IS_ACTIVATED(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i64 @WARN_ON_ONCE(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = load i32, ptr @EIO, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 store i32 %9, ptr %0, align 4, !tbaa !10 %10 = tail call i32 @rpc_put_task_async(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %1, %7 %12 = phi i32 [ 0, %7 ], [ 1, %1 ] ret i32 %12 } declare i64 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @RPC_IS_ACTIVATED(ptr noundef) local_unnamed_addr #1 declare i32 @rpc_put_task_async(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 = !{!"rpc_task", !7, i64 0}
linux_net_sunrpc_extr_sched.c_rpc_sleep_check_activated
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_gbefb.c_gbe_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_gbefb.c_gbe_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" @gbe = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @gbe_reset], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable define internal void @gbe_reset() #0 { %1 = load ptr, ptr @gbe, align 8, !tbaa !5 store i32 806002688, ptr %1, align 4, !tbaa !9 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_gbefb.c_gbe_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_gbefb.c_gbe_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gbe = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @gbe_reset], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @gbe_reset() #0 { %1 = load ptr, ptr @gbe, align 8, !tbaa !6 store i32 806002688, ptr %1, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
fastsocket_kernel_drivers_video_extr_gbefb.c_gbe_reset
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_vpif.h_ch2_set_vbi_addr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_vpif.h_ch2_set_vbi_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @VPIF_CH2_TOP_STRT_ADD_VANC = dso_local local_unnamed_addr global i32 0, align 4 @VPIF_CH2_BTM_STRT_ADD_VANC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ch2_set_vbi_addr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @ch2_set_vbi_addr(i64 noundef %0, i64 noundef %1, i64 %2, i64 %3) #0 { %5 = load i32, ptr @VPIF_CH2_TOP_STRT_ADD_VANC, align 4, !tbaa !5 %6 = tail call i32 @regw(i64 noundef %0, i32 noundef %5) #2 %7 = load i32, ptr @VPIF_CH2_BTM_STRT_ADD_VANC, align 4, !tbaa !5 %8 = tail call i32 @regw(i64 noundef %1, i32 noundef %7) #2 ret void } declare i32 @regw(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_vpif.h_ch2_set_vbi_addr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_vpif.h_ch2_set_vbi_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VPIF_CH2_TOP_STRT_ADD_VANC = common local_unnamed_addr global i32 0, align 4 @VPIF_CH2_BTM_STRT_ADD_VANC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ch2_set_vbi_addr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @ch2_set_vbi_addr(i64 noundef %0, i64 noundef %1, i64 %2, i64 %3) #0 { %5 = load i32, ptr @VPIF_CH2_TOP_STRT_ADD_VANC, align 4, !tbaa !6 %6 = tail call i32 @regw(i64 noundef %0, i32 noundef %5) #2 %7 = load i32, ptr @VPIF_CH2_BTM_STRT_ADD_VANC, align 4, !tbaa !6 %8 = tail call i32 @regw(i64 noundef %1, i32 noundef %7) #2 ret void } declare i32 @regw(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_media_video_davinci_extr_vpif.h_ch2_set_vbi_addr
; ModuleID = 'AnghaBench/linux/drivers/staging/vt6655/extr_device_main.c_device_alloc_rx_buf.c' source_filename = "AnghaBench/linux/drivers/staging/vt6655/extr_device_main.c_device_alloc_rx_buf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vnt_rx_desc = type { i32, %struct.TYPE_6__, %struct.TYPE_5__, ptr } %struct.TYPE_6__ = type { ptr } %struct.TYPE_5__ = type { i32, ptr } %struct.vnt_rd_info = type { i32, ptr } %struct.vnt_private = type { i64, ptr } @DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @OWNED_BY_NIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @device_alloc_rx_buf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @device_alloc_rx_buf(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.vnt_rx_desc, ptr %1, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr %0, align 8, !tbaa !13 %6 = trunc i64 %5 to i32 %7 = tail call ptr @dev_alloc_skb(i32 noundef %6) #2 %8 = getelementptr inbounds %struct.vnt_rd_info, ptr %4, i64 0, i32 1 store ptr %7, ptr %8, align 8, !tbaa !16 %9 = icmp eq ptr %7, null br i1 %9, label %35, label %10 10: ; preds = %2 %11 = getelementptr inbounds %struct.vnt_private, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !18 %13 = tail call i32 @skb_tailroom(ptr noundef nonnull %7) #2 %14 = tail call i32 @skb_put(ptr noundef nonnull %7, i32 noundef %13) #2 %15 = load i64, ptr %0, align 8, !tbaa !13 %16 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !19 %17 = tail call i32 @dma_map_single(ptr noundef %12, i32 noundef %14, i64 noundef %15, i32 noundef %16) #2 store i32 %17, ptr %4, align 8, !tbaa !20 %18 = load ptr, ptr %11, align 8, !tbaa !18 %19 = tail call i64 @dma_mapping_error(ptr noundef %18, i32 noundef %17) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %10 %22 = load ptr, ptr %8, align 8, !tbaa !16 %23 = tail call i32 @dev_kfree_skb(ptr noundef %22) #2 store ptr null, ptr %8, align 8, !tbaa !16 br label %35 24: ; preds = %10 %25 = getelementptr inbounds %struct.vnt_rx_desc, ptr %1, i64 0, i32 2 store i32 0, ptr %25, align 8, !tbaa !19 %26 = load i64, ptr %0, align 8, !tbaa !13 %27 = tail call ptr @cpu_to_le16(i64 noundef %26) #2 %28 = getelementptr inbounds %struct.vnt_rx_desc, ptr %1, i64 0, i32 2, i32 1 store ptr %27, ptr %28, align 8, !tbaa !21 %29 = load i32, ptr @OWNED_BY_NIC, align 4, !tbaa !19 store i32 %29, ptr %25, align 8, !tbaa !22 %30 = load i64, ptr %0, align 8, !tbaa !13 %31 = tail call ptr @cpu_to_le16(i64 noundef %30) #2 %32 = getelementptr inbounds %struct.vnt_rx_desc, ptr %1, i64 0, i32 1 store ptr %31, ptr %32, align 8, !tbaa !23 %33 = load i32, ptr %4, align 8, !tbaa !20 %34 = tail call i32 @cpu_to_le32(i32 noundef %33) #2 store i32 %34, ptr %1, align 8, !tbaa !24 br label %35 35: ; preds = %2, %24, %21 %36 = phi i32 [ 0, %21 ], [ 1, %24 ], [ 0, %2 ] ret i32 %36 } declare ptr @dev_alloc_skb(i32 noundef) local_unnamed_addr #1 declare i32 @dma_map_single(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_tailroom(ptr noundef) local_unnamed_addr #1 declare i64 @dma_mapping_error(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1 declare ptr @cpu_to_le16(i64 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(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 32} !6 = !{!"vnt_rx_desc", !7, i64 0, !10, i64 8, !12, i64 16, !11, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"TYPE_5__", !7, i64 0, !11, i64 8} !13 = !{!14, !15, i64 0} !14 = !{!"vnt_private", !15, i64 0, !11, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!17, !11, i64 8} !17 = !{!"vnt_rd_info", !7, i64 0, !11, i64 8} !18 = !{!14, !11, i64 8} !19 = !{!7, !7, i64 0} !20 = !{!17, !7, i64 0} !21 = !{!6, !11, i64 24} !22 = !{!6, !7, i64 16} !23 = !{!6, !11, i64 8} !24 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/vt6655/extr_device_main.c_device_alloc_rx_buf.c' source_filename = "AnghaBench/linux/drivers/staging/vt6655/extr_device_main.c_device_alloc_rx_buf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4 @OWNED_BY_NIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @device_alloc_rx_buf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @device_alloc_rx_buf(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 32 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr %0, align 8, !tbaa !14 %6 = trunc i64 %5 to i32 %7 = tail call ptr @dev_alloc_skb(i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %7, ptr %8, align 8, !tbaa !17 %9 = icmp eq ptr %7, null br i1 %9, label %35, label %10 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !19 %13 = tail call i32 @skb_tailroom(ptr noundef nonnull %7) #2 %14 = tail call i32 @skb_put(ptr noundef nonnull %7, i32 noundef %13) #2 %15 = load i64, ptr %0, align 8, !tbaa !14 %16 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !20 %17 = tail call i32 @dma_map_single(ptr noundef %12, i32 noundef %14, i64 noundef %15, i32 noundef %16) #2 store i32 %17, ptr %4, align 8, !tbaa !21 %18 = load ptr, ptr %11, align 8, !tbaa !19 %19 = tail call i64 @dma_mapping_error(ptr noundef %18, i32 noundef %17) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %10 %22 = load ptr, ptr %8, align 8, !tbaa !17 %23 = tail call i32 @dev_kfree_skb(ptr noundef %22) #2 store ptr null, ptr %8, align 8, !tbaa !17 br label %35 24: ; preds = %10 %25 = getelementptr inbounds i8, ptr %1, i64 16 store i32 0, ptr %25, align 8, !tbaa !20 %26 = load i64, ptr %0, align 8, !tbaa !14 %27 = tail call ptr @cpu_to_le16(i64 noundef %26) #2 %28 = getelementptr inbounds i8, ptr %1, i64 24 store ptr %27, ptr %28, align 8, !tbaa !22 %29 = load i32, ptr @OWNED_BY_NIC, align 4, !tbaa !20 store i32 %29, ptr %25, align 8, !tbaa !23 %30 = load i64, ptr %0, align 8, !tbaa !14 %31 = tail call ptr @cpu_to_le16(i64 noundef %30) #2 %32 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %31, ptr %32, align 8, !tbaa !24 %33 = load i32, ptr %4, align 8, !tbaa !21 %34 = tail call i32 @cpu_to_le32(i32 noundef %33) #2 store i32 %34, ptr %1, align 8, !tbaa !25 br label %35 35: ; preds = %2, %24, %21 %36 = phi i32 [ 0, %21 ], [ 1, %24 ], [ 0, %2 ] ret i32 %36 } declare ptr @dev_alloc_skb(i32 noundef) local_unnamed_addr #1 declare i32 @dma_map_single(ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_tailroom(ptr noundef) local_unnamed_addr #1 declare i64 @dma_mapping_error(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1 declare ptr @cpu_to_le16(i64 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(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 32} !7 = !{!"vnt_rx_desc", !8, i64 0, !11, i64 8, !13, i64 16, !12, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"TYPE_5__", !8, i64 0, !12, i64 8} !14 = !{!15, !16, i64 0} !15 = !{!"vnt_private", !16, i64 0, !12, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!18, !12, i64 8} !18 = !{!"vnt_rd_info", !8, i64 0, !12, i64 8} !19 = !{!15, !12, i64 8} !20 = !{!8, !8, i64 0} !21 = !{!18, !8, i64 0} !22 = !{!7, !12, i64 24} !23 = !{!7, !8, i64 16} !24 = !{!7, !12, i64 8} !25 = !{!7, !8, i64 0}
linux_drivers_staging_vt6655_extr_device_main.c_device_alloc_rx_buf
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_host.c_ipc_processor_init.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_host.c_ipc_processor_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" @IP_NULL = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [19 x i8] c"ipc_processor_init\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ipc_processor_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = tail call i64 (...) @ipc_port_alloc_kernel() #2 %3 = load i64, ptr @IP_NULL, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @panic(ptr noundef nonnull @.str) #2 br label %7 7: ; preds = %5, %1 store i64 %2, ptr %0, align 8, !tbaa !9 ret void } declare i64 @ipc_port_alloc_kernel(...) local_unnamed_addr #1 declare i32 @panic(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_host.c_ipc_processor_init.c' source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_host.c_ipc_processor_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IP_NULL = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [19 x i8] c"ipc_processor_init\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ipc_processor_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = tail call i64 @ipc_port_alloc_kernel() #2 %3 = load i64, ptr @IP_NULL, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @panic(ptr noundef nonnull @.str) #2 br label %7 7: ; preds = %5, %1 store i64 %2, ptr %0, align 8, !tbaa !10 ret void } declare i64 @ipc_port_alloc_kernel(...) local_unnamed_addr #1 declare i32 @panic(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_3__", !7, i64 0}
darwin-xnu_osfmk_kern_extr_ipc_host.c_ipc_processor_init
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_ecb_disable.c' source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_ecb_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { ptr, ptr, ptr } %struct.TYPE_9__ = type { i64, ptr, ptr, i32, i32, ptr } %struct.TYPE_8__ = type { i32, %struct.TYPE_7__, i32 } %struct.TYPE_7__ = type { ptr } @dtrace_lock = dso_local global i32 0, align 4 @LCK_MTX_ASSERT_OWNED = dso_local local_unnamed_addr global i32 0, align 4 @DTRACE_CACHEIDNONE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dtrace_ecb_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dtrace_ecb_disable(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @LCK_MTX_ASSERT_OWNED, align 4, !tbaa !10 %5 = tail call i32 @LCK_MTX_ASSERT(ptr noundef nonnull @dtrace_lock, i32 noundef %4) #2 %6 = icmp eq ptr %3, null br i1 %6, label %82, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 1 br label %9 9: ; preds = %9, %7 %10 = phi ptr [ null, %7 ], [ %12, %9 ] %11 = phi ptr [ %8, %7 ], [ %12, %9 ] %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = icmp ne ptr %12, null %14 = icmp ne ptr %12, %0 %15 = and i1 %14, %13 br i1 %15, label %9, label %16, !llvm.loop !13 16: ; preds = %9 %17 = zext i1 %13 to i32 %18 = tail call i32 @ASSERT(i32 noundef %17) #2 %19 = icmp eq ptr %10, null %20 = load ptr, ptr %0, align 8, !tbaa !15 %21 = select i1 %19, ptr %8, ptr %10 store ptr %20, ptr %21, align 8, !tbaa !12 %22 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 2 %23 = load ptr, ptr %22, align 8, !tbaa !16 %24 = icmp eq ptr %23, %0 br i1 %24, label %25, label %29 25: ; preds = %16 %26 = icmp eq ptr %20, null %27 = zext i1 %26 to i32 %28 = tail call i32 @ASSERT(i32 noundef %27) #2 store ptr %10, ptr %22, align 8, !tbaa !16 br label %29 29: ; preds = %25, %16 %30 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 5 %31 = load ptr, ptr %30, align 8, !tbaa !19 %32 = getelementptr inbounds %struct.TYPE_8__, ptr %31, i64 0, i32 2 %33 = load i32, ptr %32, align 8, !tbaa !20 %34 = add nsw i32 %33, -1 store i32 %34, ptr %32, align 8, !tbaa !20 %35 = tail call i32 (...) @dtrace_sync() #2 %36 = load ptr, ptr %8, align 8, !tbaa !23 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %58 38: ; preds = %29 %39 = load ptr, ptr %30, align 8, !tbaa !19 %40 = load ptr, ptr %0, align 8, !tbaa !15 %41 = icmp eq ptr %40, null %42 = zext i1 %41 to i32 %43 = tail call i32 @ASSERT(i32 noundef %42) #2 %44 = load ptr, ptr %22, align 8, !tbaa !16 %45 = icmp eq ptr %44, null %46 = zext i1 %45 to i32 %47 = tail call i32 @ASSERT(i32 noundef %46) #2 %48 = load i64, ptr @DTRACE_CACHEIDNONE, align 8, !tbaa !24 store i64 %48, ptr %3, align 8, !tbaa !25 %49 = getelementptr inbounds %struct.TYPE_8__, ptr %39, i64 0, i32 1 %50 = load ptr, ptr %49, align 8, !tbaa !26 %51 = load i32, ptr %39, align 8, !tbaa !27 %52 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 4 %53 = load i32, ptr %52, align 4, !tbaa !28 %54 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 3 %55 = load i32, ptr %54, align 8, !tbaa !29 %56 = tail call i32 %50(i32 noundef %51, i32 noundef %53, i32 noundef %55) #2 %57 = tail call i32 (...) @dtrace_sync() #2 br label %82 58: ; preds = %29 %59 = load ptr, ptr %22, align 8, !tbaa !16 %60 = icmp ne ptr %59, null %61 = zext i1 %60 to i32 %62 = tail call i32 @ASSERT(i32 noundef %61) #2 %63 = load i64, ptr %3, align 8, !tbaa !25 %64 = load i64, ptr @DTRACE_CACHEIDNONE, align 8, !tbaa !24 %65 = icmp eq i64 %63, %64 %66 = zext i1 %65 to i32 %67 = tail call i32 @ASSERT(i32 noundef %66) #2 %68 = load ptr, ptr %8, align 8, !tbaa !23 %69 = load ptr, ptr %22, align 8, !tbaa !16 %70 = icmp eq ptr %68, %69 br i1 %70, label %71, label %81 71: ; preds = %58 %72 = getelementptr inbounds %struct.TYPE_11__, ptr %68, i64 0, i32 1 %73 = load ptr, ptr %72, align 8, !tbaa !30 %74 = load ptr, ptr %68, align 8, !tbaa !15 %75 = icmp eq ptr %74, null %76 = zext i1 %75 to i32 %77 = tail call i32 @ASSERT(i32 noundef %76) #2 %78 = icmp eq ptr %73, null br i1 %78, label %81, label %79 79: ; preds = %71 %80 = load i64, ptr %73, align 8, !tbaa !31 store i64 %80, ptr %3, align 8, !tbaa !25 br label %81 81: ; preds = %71, %79, %58 store ptr null, ptr %0, align 8, !tbaa !15 br label %82 82: ; preds = %38, %81, %1 ret void } declare i32 @LCK_MTX_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @dtrace_sync(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_11__", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!6, !7, i64 0} !16 = !{!17, !7, i64 16} !17 = !{!"TYPE_9__", !18, i64 0, !7, i64 8, !7, i64 16, !11, i64 24, !11, i64 28, !7, i64 32} !18 = !{!"long", !8, i64 0} !19 = !{!17, !7, i64 32} !20 = !{!21, !11, i64 16} !21 = !{!"TYPE_8__", !11, i64 0, !22, i64 8, !11, i64 16} !22 = !{!"TYPE_7__", !7, i64 0} !23 = !{!17, !7, i64 8} !24 = !{!18, !18, i64 0} !25 = !{!17, !18, i64 0} !26 = !{!21, !7, i64 8} !27 = !{!21, !11, i64 0} !28 = !{!17, !11, i64 28} !29 = !{!17, !11, i64 24} !30 = !{!6, !7, i64 8} !31 = !{!32, !18, i64 0} !32 = !{!"TYPE_10__", !18, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_ecb_disable.c' source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_ecb_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dtrace_lock = common global i32 0, align 4 @LCK_MTX_ASSERT_OWNED = common local_unnamed_addr global i32 0, align 4 @DTRACE_CACHEIDNONE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @dtrace_ecb_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dtrace_ecb_disable(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @LCK_MTX_ASSERT_OWNED, align 4, !tbaa !11 %5 = tail call i32 @LCK_MTX_ASSERT(ptr noundef nonnull @dtrace_lock, i32 noundef %4) #2 %6 = icmp eq ptr %3, null br i1 %6, label %82, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %3, i64 8 br label %9 9: ; preds = %9, %7 %10 = phi ptr [ null, %7 ], [ %12, %9 ] %11 = phi ptr [ %8, %7 ], [ %12, %9 ] %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = icmp ne ptr %12, null %14 = icmp ne ptr %12, %0 %15 = and i1 %14, %13 br i1 %15, label %9, label %16, !llvm.loop !14 16: ; preds = %9 %17 = zext i1 %13 to i32 %18 = tail call i32 @ASSERT(i32 noundef %17) #2 %19 = icmp eq ptr %10, null %20 = load ptr, ptr %0, align 8, !tbaa !16 %21 = select i1 %19, ptr %8, ptr %10 store ptr %20, ptr %21, align 8, !tbaa !13 %22 = getelementptr inbounds i8, ptr %3, i64 16 %23 = load ptr, ptr %22, align 8, !tbaa !17 %24 = icmp eq ptr %23, %0 br i1 %24, label %25, label %29 25: ; preds = %16 %26 = icmp eq ptr %20, null %27 = zext i1 %26 to i32 %28 = tail call i32 @ASSERT(i32 noundef %27) #2 store ptr %10, ptr %22, align 8, !tbaa !17 br label %29 29: ; preds = %25, %16 %30 = getelementptr inbounds i8, ptr %3, i64 32 %31 = load ptr, ptr %30, align 8, !tbaa !20 %32 = getelementptr inbounds i8, ptr %31, i64 16 %33 = load i32, ptr %32, align 8, !tbaa !21 %34 = add nsw i32 %33, -1 store i32 %34, ptr %32, align 8, !tbaa !21 %35 = tail call i32 @dtrace_sync() #2 %36 = load ptr, ptr %8, align 8, !tbaa !24 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %58 38: ; preds = %29 %39 = load ptr, ptr %30, align 8, !tbaa !20 %40 = load ptr, ptr %0, align 8, !tbaa !16 %41 = icmp eq ptr %40, null %42 = zext i1 %41 to i32 %43 = tail call i32 @ASSERT(i32 noundef %42) #2 %44 = load ptr, ptr %22, align 8, !tbaa !17 %45 = icmp eq ptr %44, null %46 = zext i1 %45 to i32 %47 = tail call i32 @ASSERT(i32 noundef %46) #2 %48 = load i64, ptr @DTRACE_CACHEIDNONE, align 8, !tbaa !25 store i64 %48, ptr %3, align 8, !tbaa !26 %49 = getelementptr inbounds i8, ptr %39, i64 8 %50 = load ptr, ptr %49, align 8, !tbaa !27 %51 = load i32, ptr %39, align 8, !tbaa !28 %52 = getelementptr inbounds i8, ptr %3, i64 28 %53 = load i32, ptr %52, align 4, !tbaa !29 %54 = getelementptr inbounds i8, ptr %3, i64 24 %55 = load i32, ptr %54, align 8, !tbaa !30 %56 = tail call i32 %50(i32 noundef %51, i32 noundef %53, i32 noundef %55) #2 %57 = tail call i32 @dtrace_sync() #2 br label %82 58: ; preds = %29 %59 = load ptr, ptr %22, align 8, !tbaa !17 %60 = icmp ne ptr %59, null %61 = zext i1 %60 to i32 %62 = tail call i32 @ASSERT(i32 noundef %61) #2 %63 = load i64, ptr %3, align 8, !tbaa !26 %64 = load i64, ptr @DTRACE_CACHEIDNONE, align 8, !tbaa !25 %65 = icmp eq i64 %63, %64 %66 = zext i1 %65 to i32 %67 = tail call i32 @ASSERT(i32 noundef %66) #2 %68 = load ptr, ptr %8, align 8, !tbaa !24 %69 = load ptr, ptr %22, align 8, !tbaa !17 %70 = icmp eq ptr %68, %69 br i1 %70, label %71, label %81 71: ; preds = %58 %72 = getelementptr inbounds i8, ptr %68, i64 8 %73 = load ptr, ptr %72, align 8, !tbaa !31 %74 = load ptr, ptr %68, align 8, !tbaa !16 %75 = icmp eq ptr %74, null %76 = zext i1 %75 to i32 %77 = tail call i32 @ASSERT(i32 noundef %76) #2 %78 = icmp eq ptr %73, null br i1 %78, label %81, label %79 79: ; preds = %71 %80 = load i64, ptr %73, align 8, !tbaa !32 store i64 %80, ptr %3, align 8, !tbaa !26 br label %81 81: ; preds = %71, %79, %58 store ptr null, ptr %0, align 8, !tbaa !16 br label %82 82: ; preds = %38, %81, %1 ret void } declare i32 @LCK_MTX_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @dtrace_sync(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"TYPE_11__", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!7, !8, i64 0} !17 = !{!18, !8, i64 16} !18 = !{!"TYPE_9__", !19, i64 0, !8, i64 8, !8, i64 16, !12, i64 24, !12, i64 28, !8, i64 32} !19 = !{!"long", !9, i64 0} !20 = !{!18, !8, i64 32} !21 = !{!22, !12, i64 16} !22 = !{!"TYPE_8__", !12, i64 0, !23, i64 8, !12, i64 16} !23 = !{!"TYPE_7__", !8, i64 0} !24 = !{!18, !8, i64 8} !25 = !{!19, !19, i64 0} !26 = !{!18, !19, i64 0} !27 = !{!22, !8, i64 8} !28 = !{!22, !12, i64 0} !29 = !{!18, !12, i64 28} !30 = !{!18, !12, i64 24} !31 = !{!7, !8, i64 8} !32 = !{!33, !19, i64 0} !33 = !{!"TYPE_10__", !19, i64 0}
darwin-xnu_bsd_dev_dtrace_extr_dtrace.c_dtrace_ecb_disable
; ModuleID = 'AnghaBench/zfs/module/nvpair/extr_fnvpair.c_fnvpair_value_uint32.c' source_filename = "AnghaBench/zfs/module/nvpair/extr_fnvpair.c_fnvpair_value_uint32.c" target datalayout = "e-m:e-p270:32:32-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 @fnvpair_value_uint32(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @nvpair_value_uint32(ptr noundef %0, ptr noundef nonnull %2) #3 %4 = call i32 @VERIFY0(i32 noundef %3) #3 %5 = load i32, ptr %2, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @VERIFY0(i32 noundef) local_unnamed_addr #2 declare i32 @nvpair_value_uint32(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/zfs/module/nvpair/extr_fnvpair.c_fnvpair_value_uint32.c' source_filename = "AnghaBench/zfs/module/nvpair/extr_fnvpair.c_fnvpair_value_uint32.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 @fnvpair_value_uint32(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @nvpair_value_uint32(ptr noundef %0, ptr noundef nonnull %2) #3 %4 = call i32 @VERIFY0(i32 noundef %3) #3 %5 = load i32, ptr %2, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @VERIFY0(i32 noundef) local_unnamed_addr #2 declare i32 @nvpair_value_uint32(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
zfs_module_nvpair_extr_fnvpair.c_fnvpair_value_uint32
; ModuleID = 'AnghaBench/goaccess/src/extr_util.c_count_matches.c' source_filename = "AnghaBench/goaccess/src/extr_util.c_count_matches.c" target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local i32 @count_matches(ptr nocapture noundef readonly %0, i8 noundef signext %1) local_unnamed_addr #0 { br label %3 3: ; preds = %3, %2 %4 = phi ptr [ %0, %2 ], [ %10, %3 ] %5 = phi i32 [ 0, %2 ], [ %9, %3 ] %6 = load i8, ptr %4, align 1, !tbaa !5 %7 = icmp eq i8 %6, %1 %8 = zext i1 %7 to i32 %9 = add nuw nsw i32 %5, %8 %10 = getelementptr inbounds i8, ptr %4, i64 1 %11 = icmp eq i8 %6, 0 br i1 %11, label %12, label %3, !llvm.loop !8 12: ; preds = %3 ret i32 %9 } 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/goaccess/src/extr_util.c_count_matches.c' source_filename = "AnghaBench/goaccess/src/extr_util.c_count_matches.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define i32 @count_matches(ptr nocapture noundef readonly %0, i8 noundef signext %1) local_unnamed_addr #0 { br label %3 3: ; preds = %3, %2 %4 = phi ptr [ %0, %2 ], [ %10, %3 ] %5 = phi i32 [ 0, %2 ], [ %9, %3 ] %6 = load i8, ptr %4, align 1, !tbaa !6 %7 = icmp eq i8 %6, %1 %8 = zext i1 %7 to i32 %9 = add nuw nsw i32 %5, %8 %10 = getelementptr inbounds i8, ptr %4, i64 1 %11 = icmp eq i8 %6, 0 br i1 %11, label %12, label %3, !llvm.loop !9 12: ; preds = %3 ret i32 %9 } 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
goaccess_src_extr_util.c_count_matches