IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/programs/extr_fileio.c_FIO_createDResources.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/programs/extr_fileio.c_FIO_createDResources.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i32, i32 } @.str = private unnamed_addr constant [38 x i8] c"Error: %s : can't create ZSTD_DStream\00", align 1 @errno = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Allocation error : not enough memory\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @FIO_createDResources], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @FIO_createDResources(ptr dead_on_unwind noalias writable sret(%struct.TYPE_6__) align 8 %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 32) #3 %6 = tail call ptr (...) @ZSTD_createDStream() #3 store ptr %6, ptr %0, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %3 %9 = load i32, ptr @errno, align 4, !tbaa !11 %10 = tail call i32 @strerror(i32 noundef %9) #3 %11 = tail call i32 (i32, ptr, ...) @EXM_THROW(i32 noundef 60, ptr noundef nonnull @.str, i32 noundef %10) #3 %12 = load ptr, ptr %0, align 8, !tbaa !5 br label %13 13: ; preds = %8, %3 %14 = phi ptr [ %12, %8 ], [ %6, %3 ] %15 = load i32, ptr %1, align 4, !tbaa !12 %16 = tail call i32 @ZSTD_DCtx_setMaxWindowSize(ptr noundef %14, i32 noundef %15) #3 %17 = tail call i32 @CHECK(i32 noundef %16) #3 %18 = tail call i32 (...) @ZSTD_DStreamInSize() #3 %19 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4 store i32 %18, ptr %19, align 4, !tbaa !14 %20 = tail call ptr @malloc(i32 noundef %18) #3 %21 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 store ptr %20, ptr %21, align 8, !tbaa !15 %22 = tail call i32 (...) @ZSTD_DStreamOutSize() #3 %23 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 store i32 %22, ptr %23, align 8, !tbaa !16 %24 = tail call ptr @malloc(i32 noundef %22) #3 %25 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 store ptr %24, ptr %25, align 8, !tbaa !17 %26 = load ptr, ptr %21, align 8, !tbaa !15 %27 = icmp ne ptr %26, null %28 = icmp ne ptr %24, null %29 = select i1 %27, i1 %28, i1 false br i1 %29, label %32, label %30 30: ; preds = %13 %31 = tail call i32 (i32, ptr, ...) @EXM_THROW(i32 noundef 61, ptr noundef nonnull @.str.1) #3 br label %32 32: ; preds = %13, %30 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %33 = call i64 @FIO_createDictBuffer(ptr noundef nonnull %4, ptr noundef %2) #3 %34 = load ptr, ptr %0, align 8, !tbaa !5 %35 = load ptr, ptr %4, align 8, !tbaa !18 %36 = call i32 @ZSTD_initDStream_usingDict(ptr noundef %34, ptr noundef %35, i64 noundef %33) #3 %37 = call i32 @CHECK(i32 noundef %36) #3 %38 = load ptr, ptr %4, align 8, !tbaa !18 %39 = call i32 @free(ptr noundef %38) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ZSTD_createDStream(...) local_unnamed_addr #1 declare i32 @EXM_THROW(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @strerror(i32 noundef) local_unnamed_addr #1 declare i32 @CHECK(i32 noundef) local_unnamed_addr #1 declare i32 @ZSTD_DCtx_setMaxWindowSize(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ZSTD_DStreamInSize(...) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @ZSTD_DStreamOutSize(...) 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 i64 @FIO_createDictBuffer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ZSTD_initDStream_usingDict(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28} !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 = !{!13, !10, i64 0} !13 = !{!"TYPE_7__", !10, i64 0} !14 = !{!6, !10, i64 28} !15 = !{!6, !7, i64 16} !16 = !{!6, !10, i64 24} !17 = !{!6, !7, i64 8} !18 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/programs/extr_fileio.c_FIO_createDResources.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/programs/extr_fileio.c_FIO_createDResources.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 { ptr, ptr, ptr, i32, i32 } @.str = private unnamed_addr constant [38 x i8] c"Error: %s : can't create ZSTD_DStream\00", align 1 @errno = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Allocation error : not enough memory\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @FIO_createDResources], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @FIO_createDResources(ptr dead_on_unwind noalias writable sret(%struct.TYPE_6__) align 8 %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 32) #3 %6 = tail call ptr @ZSTD_createDStream() #3 store ptr %6, ptr %0, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %13 8: ; preds = %3 %9 = load i32, ptr @errno, align 4, !tbaa !12 %10 = tail call i32 @strerror(i32 noundef %9) #3 %11 = tail call i32 (i32, ptr, ...) @EXM_THROW(i32 noundef 60, ptr noundef nonnull @.str, i32 noundef %10) #3 %12 = load ptr, ptr %0, align 8, !tbaa !6 br label %13 13: ; preds = %8, %3 %14 = phi ptr [ %12, %8 ], [ %6, %3 ] %15 = load i32, ptr %1, align 4, !tbaa !13 %16 = tail call i32 @ZSTD_DCtx_setMaxWindowSize(ptr noundef %14, i32 noundef %15) #3 %17 = tail call i32 @CHECK(i32 noundef %16) #3 %18 = tail call i32 @ZSTD_DStreamInSize() #3 %19 = getelementptr inbounds i8, ptr %0, i64 28 store i32 %18, ptr %19, align 4, !tbaa !15 %20 = tail call ptr @malloc(i32 noundef %18) #3 %21 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %20, ptr %21, align 8, !tbaa !16 %22 = tail call i32 @ZSTD_DStreamOutSize() #3 %23 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %22, ptr %23, align 8, !tbaa !17 %24 = tail call ptr @malloc(i32 noundef %22) #3 %25 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %24, ptr %25, align 8, !tbaa !18 %26 = load ptr, ptr %21, align 8, !tbaa !16 %27 = icmp ne ptr %26, null %28 = icmp ne ptr %24, null %29 = select i1 %27, i1 %28, i1 false br i1 %29, label %32, label %30 30: ; preds = %13 %31 = tail call i32 (i32, ptr, ...) @EXM_THROW(i32 noundef 61, ptr noundef nonnull @.str.1) #3 br label %32 32: ; preds = %13, %30 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %33 = call i64 @FIO_createDictBuffer(ptr noundef nonnull %4, ptr noundef %2) #3 %34 = load ptr, ptr %0, align 8, !tbaa !6 %35 = load ptr, ptr %4, align 8, !tbaa !19 %36 = call i32 @ZSTD_initDStream_usingDict(ptr noundef %34, ptr noundef %35, i64 noundef %33) #3 %37 = call i32 @CHECK(i32 noundef %36) #3 %38 = load ptr, ptr %4, align 8, !tbaa !19 %39 = call i32 @free(ptr noundef %38) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ZSTD_createDStream(...) local_unnamed_addr #1 declare i32 @EXM_THROW(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @strerror(i32 noundef) local_unnamed_addr #1 declare i32 @CHECK(i32 noundef) local_unnamed_addr #1 declare i32 @ZSTD_DCtx_setMaxWindowSize(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ZSTD_DStreamInSize(...) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @ZSTD_DStreamOutSize(...) 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 i64 @FIO_createDictBuffer(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ZSTD_initDStream_usingDict(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28} !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 = !{!14, !11, i64 0} !14 = !{!"TYPE_7__", !11, i64 0} !15 = !{!7, !11, i64 28} !16 = !{!7, !8, i64 16} !17 = !{!7, !11, i64 24} !18 = !{!7, !8, i64 8} !19 = !{!8, !8, i64 0}
freebsd_sys_contrib_zstd_programs_extr_fileio.c_FIO_createDResources
; ModuleID = 'AnghaBench/RetroArch/deps/libfat/extr_disc.h__FAT_disc_clearStatus.c' source_filename = "AnghaBench/RetroArch/deps/libfat/extr_disc.h__FAT_disc_clearStatus.c" target datalayout = "e-m:e-p270:32:32-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 @_FAT_disc_clearStatus], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @_FAT_disc_clearStatus(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 (...) %2() #1 ret i32 %3 } attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/deps/libfat/extr_disc.h__FAT_disc_clearStatus.c' source_filename = "AnghaBench/RetroArch/deps/libfat/extr_disc.h__FAT_disc_clearStatus.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 @_FAT_disc_clearStatus], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @_FAT_disc_clearStatus(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 %2() #1 ret i32 %3 } attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
RetroArch_deps_libfat_extr_disc.h__FAT_disc_clearStatus
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/extr_netevent.c_ssl_http_read_more.c' source_filename = "AnghaBench/freebsd/contrib/unbound/util/extr_netevent.c_ssl_http_read_more.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ECONNRESET = dso_local local_unnamed_addr global i64 0, align 8 @SSL_ERROR_SYSCALL = dso_local local_unnamed_addr global i32 0, align 4 @SSL_ERROR_WANT_READ = dso_local local_unnamed_addr global i32 0, align 4 @SSL_ERROR_WANT_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @SSL_ERROR_ZERO_RETURN = dso_local local_unnamed_addr global i32 0, align 4 @comm_ssl_shake_hs_write = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i64 0, align 8 @verbosity = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ssl_http_read_more], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ssl_http_read_more(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/extr_netevent.c_ssl_http_read_more.c' source_filename = "AnghaBench/freebsd/contrib/unbound/util/extr_netevent.c_ssl_http_read_more.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ECONNRESET = common local_unnamed_addr global i64 0, align 8 @SSL_ERROR_SYSCALL = common local_unnamed_addr global i32 0, align 4 @SSL_ERROR_WANT_READ = common local_unnamed_addr global i32 0, align 4 @SSL_ERROR_WANT_WRITE = common local_unnamed_addr global i32 0, align 4 @SSL_ERROR_ZERO_RETURN = common local_unnamed_addr global i32 0, align 4 @comm_ssl_shake_hs_write = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i64 0, align 8 @verbosity = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ssl_http_read_more], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ssl_http_read_more(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_unbound_util_extr_netevent.c_ssl_http_read_more
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5_ctl.c_send_start_signal.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5_ctl.c_send_start_signal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mdp5_ctl = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @send_start_signal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @send_start_signal(ptr noundef %0) #0 { %2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %3 = getelementptr inbounds %struct.mdp5_ctl, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @REG_MDP5_CTL_START(i32 noundef %4) #2 %6 = tail call i32 @ctl_write(ptr noundef %0, i32 noundef %5, i32 noundef 1) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ctl_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_MDP5_CTL_START(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"mdp5_ctl", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5_ctl.c_send_start_signal.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5_ctl.c_send_start_signal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @send_start_signal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @send_start_signal(ptr noundef %0) #0 { %2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call i32 @REG_MDP5_CTL_START(i32 noundef %4) #2 %6 = tail call i32 @ctl_write(ptr noundef %0, i32 noundef %5, i32 noundef 1) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ctl_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_MDP5_CTL_START(i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"mdp5_ctl", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_msm_disp_mdp5_extr_mdp5_ctl.c_send_start_signal
; ModuleID = 'AnghaBench/exploitdb/exploits/php/webapps/extr_309.c_build_exploite_code.c' source_filename = "AnghaBench/exploitdb/exploits/php/webapps/extr_309.c_build_exploite_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" @__const.build_exploite_code.my1 = private unnamed_addr constant [21 x i8] c"\01\00\00\01\01\1B\00\00\02\00\0FTables_in_", align 16 @__const.build_exploite_code.my2 = private unnamed_addr constant [15 x i8] c"\03@\00\00\01\FE\03\01\00\1F\01\00\00\03\FE", align 1 @__const.build_exploite_code.my3 = private unnamed_addr constant [3 x i8] c"\00\00\04", align 1 @__const.build_exploite_code.my4 = private unnamed_addr constant [5 x i8] c"\01\00\00\05\FE", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @build_exploite_code(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca [21 x i8], align 16 %5 = alloca [15 x i8], align 1 %6 = alloca [3 x i8], align 1 %7 = alloca [5 x i8], align 1 call void @llvm.lifetime.start.p0(i64 21, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(21) %4, ptr noundef nonnull align 16 dereferenceable(21) @__const.build_exploite_code.my1, i64 21, i1 false) call void @llvm.lifetime.start.p0(i64 15, ptr nonnull %5) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(15) %5, ptr noundef nonnull align 1 dereferenceable(15) @__const.build_exploite_code.my2, i64 15, i1 false) call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %6) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %6, ptr noundef nonnull align 1 dereferenceable(3) @__const.build_exploite_code.my3, i64 3, i1 false) call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %7) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %7, ptr noundef nonnull align 1 dereferenceable(5) @__const.build_exploite_code.my4, i64 5, i1 false) %8 = tail call i32 @strlen(ptr noundef %0) #4 %9 = tail call i32 @strlen(ptr noundef %1) #4 %10 = add i32 %8, 51 %11 = add i32 %10, %9 %12 = tail call i64 @malloc(i32 noundef %11) #4 %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %2, align 8, !tbaa !5 %14 = call i32 @bcopy(ptr noundef nonnull %4, ptr noundef %13, i32 noundef 21) #4 %15 = load ptr, ptr %2, align 8, !tbaa !5 %16 = getelementptr inbounds i8, ptr %15, i64 21 %17 = call i32 @strlen(ptr noundef %0) #4 %18 = call i32 @bcopy(ptr noundef %0, ptr noundef nonnull %16, i32 noundef %17) #4 %19 = call i32 @strlen(ptr noundef %0) #4 %20 = load ptr, ptr %2, align 8, !tbaa !5 %21 = sext i32 %19 to i64 %22 = getelementptr i8, ptr %20, i64 %21 %23 = getelementptr i8, ptr %22, i64 21 %24 = call i32 @bcopy(ptr noundef nonnull %5, ptr noundef %23, i32 noundef 15) #4 %25 = call i32 @strlen(ptr noundef %1) #4 %26 = trunc i32 %25 to i8 %27 = add i8 %26, 6 %28 = load ptr, ptr %2, align 8, !tbaa !5 %29 = getelementptr i8, ptr %28, i64 %21 %30 = getelementptr i8, ptr %29, i64 36 store i8 %27, ptr %30, align 1, !tbaa !9 %31 = load ptr, ptr %2, align 8, !tbaa !5 %32 = getelementptr i8, ptr %31, i64 %21 %33 = getelementptr i8, ptr %32, i64 37 %34 = call i32 @bcopy(ptr noundef nonnull %6, ptr noundef %33, i32 noundef 3) #4 %35 = call i32 @strlen(ptr noundef %1) #4 %36 = trunc i32 %35 to i8 %37 = add i8 %36, 5 %38 = load ptr, ptr %2, align 8, !tbaa !5 %39 = getelementptr i8, ptr %38, i64 %21 %40 = getelementptr i8, ptr %39, i64 40 store i8 %37, ptr %40, align 1, !tbaa !9 %41 = load ptr, ptr %2, align 8, !tbaa !5 %42 = getelementptr i8, ptr %41, i64 %21 %43 = getelementptr i8, ptr %42, i64 41 store i8 92, ptr %43, align 1, !tbaa !9 %44 = load ptr, ptr %2, align 8, !tbaa !5 %45 = getelementptr i8, ptr %44, i64 %21 %46 = getelementptr i8, ptr %45, i64 42 store i8 39, ptr %46, align 1, !tbaa !9 %47 = load ptr, ptr %2, align 8, !tbaa !5 %48 = add nsw i32 %19, 44 %49 = getelementptr i8, ptr %47, i64 %21 %50 = getelementptr i8, ptr %49, i64 43 store i8 59, ptr %50, align 1, !tbaa !9 %51 = load ptr, ptr %2, align 8, !tbaa !5 %52 = sext i32 %48 to i64 %53 = getelementptr inbounds i8, ptr %51, i64 %52 %54 = call i32 @strlen(ptr noundef %1) #4 %55 = call i32 @bcopy(ptr noundef %1, ptr noundef %53, i32 noundef %54) #4 %56 = call i32 @strlen(ptr noundef %1) #4 %57 = add nsw i32 %56, %48 %58 = load ptr, ptr %2, align 8, !tbaa !5 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i8, ptr %58, i64 %59 store i8 47, ptr %60, align 1, !tbaa !9 %61 = load ptr, ptr %2, align 8, !tbaa !5 %62 = getelementptr i8, ptr %61, i64 %59 %63 = getelementptr i8, ptr %62, i64 1 store i8 42, ptr %63, align 1, !tbaa !9 %64 = load ptr, ptr %2, align 8, !tbaa !5 %65 = getelementptr i8, ptr %64, i64 %59 %66 = getelementptr i8, ptr %65, i64 2 %67 = call i32 @bcopy(ptr noundef nonnull %7, ptr noundef %66, i32 noundef 5) #4 call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 15, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 21, ptr nonnull %4) #4 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; 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 @strlen(ptr noundef) local_unnamed_addr #3 declare i64 @malloc(i32 noundef) local_unnamed_addr #3 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: 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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/exploitdb/exploits/php/webapps/extr_309.c_build_exploite_code.c' source_filename = "AnghaBench/exploitdb/exploits/php/webapps/extr_309.c_build_exploite_code.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.build_exploite_code.my1 = private unnamed_addr constant [21 x i8] c"\01\00\00\01\01\1B\00\00\02\00\0FTables_in_", align 1 @__const.build_exploite_code.my2 = private unnamed_addr constant [15 x i8] c"\03@\00\00\01\FE\03\01\00\1F\01\00\00\03\FE", align 1 @__const.build_exploite_code.my3 = private unnamed_addr constant [3 x i8] c"\00\00\04", align 1 @__const.build_exploite_code.my4 = private unnamed_addr constant [5 x i8] c"\01\00\00\05\FE", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483638, -2147483648) i32 @build_exploite_code(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca [21 x i8], align 1 %5 = alloca [15 x i8], align 1 %6 = alloca [3 x i8], align 1 %7 = alloca [5 x i8], align 1 call void @llvm.lifetime.start.p0(i64 21, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(21) %4, ptr noundef nonnull align 1 dereferenceable(21) @__const.build_exploite_code.my1, i64 21, i1 false) call void @llvm.lifetime.start.p0(i64 15, ptr nonnull %5) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(15) %5, ptr noundef nonnull align 1 dereferenceable(15) @__const.build_exploite_code.my2, i64 15, i1 false) call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %6) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %6, ptr noundef nonnull align 1 dereferenceable(3) @__const.build_exploite_code.my3, i64 3, i1 false) call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %7) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %7, ptr noundef nonnull align 1 dereferenceable(5) @__const.build_exploite_code.my4, i64 5, i1 false) %8 = tail call i32 @strlen(ptr noundef %0) #4 %9 = tail call i32 @strlen(ptr noundef %1) #4 %10 = add i32 %8, 51 %11 = add i32 %10, %9 %12 = tail call i64 @malloc(i32 noundef %11) #4 %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %2, align 8, !tbaa !6 %14 = call i32 @bcopy(ptr noundef nonnull %4, ptr noundef %13, i32 noundef 21) #4 %15 = load ptr, ptr %2, align 8, !tbaa !6 %16 = getelementptr inbounds i8, ptr %15, i64 21 %17 = call i32 @strlen(ptr noundef %0) #4 %18 = call i32 @bcopy(ptr noundef %0, ptr noundef nonnull %16, i32 noundef %17) #4 %19 = call i32 @strlen(ptr noundef %0) #4 %20 = load ptr, ptr %2, align 8, !tbaa !6 %21 = sext i32 %19 to i64 %22 = getelementptr i8, ptr %20, i64 %21 %23 = getelementptr i8, ptr %22, i64 21 %24 = call i32 @bcopy(ptr noundef nonnull %5, ptr noundef %23, i32 noundef 15) #4 %25 = call i32 @strlen(ptr noundef %1) #4 %26 = trunc i32 %25 to i8 %27 = add i8 %26, 6 %28 = load ptr, ptr %2, align 8, !tbaa !6 %29 = getelementptr i8, ptr %28, i64 %21 %30 = getelementptr i8, ptr %29, i64 36 store i8 %27, ptr %30, align 1, !tbaa !10 %31 = load ptr, ptr %2, align 8, !tbaa !6 %32 = getelementptr i8, ptr %31, i64 %21 %33 = getelementptr i8, ptr %32, i64 37 %34 = call i32 @bcopy(ptr noundef nonnull %6, ptr noundef %33, i32 noundef 3) #4 %35 = call i32 @strlen(ptr noundef %1) #4 %36 = trunc i32 %35 to i8 %37 = add i8 %36, 5 %38 = load ptr, ptr %2, align 8, !tbaa !6 %39 = getelementptr i8, ptr %38, i64 %21 %40 = getelementptr i8, ptr %39, i64 40 store i8 %37, ptr %40, align 1, !tbaa !10 %41 = load ptr, ptr %2, align 8, !tbaa !6 %42 = getelementptr i8, ptr %41, i64 %21 %43 = getelementptr i8, ptr %42, i64 41 store i8 92, ptr %43, align 1, !tbaa !10 %44 = load ptr, ptr %2, align 8, !tbaa !6 %45 = getelementptr i8, ptr %44, i64 %21 %46 = getelementptr i8, ptr %45, i64 42 store i8 39, ptr %46, align 1, !tbaa !10 %47 = load ptr, ptr %2, align 8, !tbaa !6 %48 = add nsw i32 %19, 44 %49 = getelementptr i8, ptr %47, i64 %21 %50 = getelementptr i8, ptr %49, i64 43 store i8 59, ptr %50, align 1, !tbaa !10 %51 = load ptr, ptr %2, align 8, !tbaa !6 %52 = sext i32 %48 to i64 %53 = getelementptr inbounds i8, ptr %51, i64 %52 %54 = call i32 @strlen(ptr noundef %1) #4 %55 = call i32 @bcopy(ptr noundef %1, ptr noundef %53, i32 noundef %54) #4 %56 = call i32 @strlen(ptr noundef %1) #4 %57 = add nsw i32 %56, %48 %58 = load ptr, ptr %2, align 8, !tbaa !6 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i8, ptr %58, i64 %59 store i8 47, ptr %60, align 1, !tbaa !10 %61 = load ptr, ptr %2, align 8, !tbaa !6 %62 = getelementptr i8, ptr %61, i64 %59 %63 = getelementptr i8, ptr %62, i64 1 store i8 42, ptr %63, align 1, !tbaa !10 %64 = load ptr, ptr %2, align 8, !tbaa !6 %65 = getelementptr i8, ptr %64, i64 %59 %66 = getelementptr i8, ptr %65, i64 2 %67 = call i32 @bcopy(ptr noundef nonnull %7, ptr noundef %66, i32 noundef 5) #4 call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 15, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 21, ptr nonnull %4) #4 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; 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 @strlen(ptr noundef) local_unnamed_addr #3 declare i64 @malloc(i32 noundef) local_unnamed_addr #3 declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: 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 = !{!8, !8, i64 0}
exploitdb_exploits_php_webapps_extr_309.c_build_exploite_code
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_util.c_kzfree.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_util.c_kzfree.c" target datalayout = "e-m:e-p270:32:32-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 @kzfree(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @ZERO_OR_NULL_PTR(ptr noundef %0) #2 %3 = tail call i64 @unlikely(i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = tail call i64 @ksize(ptr noundef %0) #2 %7 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i64 noundef %6) #2 %8 = tail call i32 @kfree(ptr noundef %0) #2 br label %9 9: ; preds = %1, %5 ret void } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @ZERO_OR_NULL_PTR(ptr noundef) local_unnamed_addr #1 declare i64 @ksize(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_util.c_kzfree.c' source_filename = "AnghaBench/fastsocket/kernel/mm/extr_util.c_kzfree.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 @kzfree(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @ZERO_OR_NULL_PTR(ptr noundef %0) #2 %3 = tail call i64 @unlikely(i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %1 %6 = tail call i64 @ksize(ptr noundef %0) #2 %7 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i64 noundef %6) #2 %8 = tail call i32 @kfree(ptr noundef %0) #2 br label %9 9: ; preds = %1, %5 ret void } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @ZERO_OR_NULL_PTR(ptr noundef) local_unnamed_addr #1 declare i64 @ksize(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_mm_extr_util.c_kzfree
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_core.c_netcp_frag_free.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_core.c_netcp_frag_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @netcp_frag_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @netcp_frag_free(i32 noundef %0, ptr noundef %1) #0 { %3 = icmp eq i32 %0, 0 br i1 %3, label %6, label %4 4: ; preds = %2 %5 = tail call i32 @skb_free_frag(ptr noundef %1) #2 br label %8 6: ; preds = %2 %7 = tail call i32 @kfree(ptr noundef %1) #2 br label %8 8: ; preds = %6, %4 ret void } declare i32 @skb_free_frag(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_core.c_netcp_frag_free.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/ti/extr_netcp_core.c_netcp_frag_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @netcp_frag_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @netcp_frag_free(i32 noundef %0, ptr noundef %1) #0 { %3 = icmp eq i32 %0, 0 br i1 %3, label %6, label %4 4: ; preds = %2 %5 = tail call i32 @skb_free_frag(ptr noundef %1) #2 br label %8 6: ; preds = %2 %7 = tail call i32 @kfree(ptr noundef %1) #2 br label %8 8: ; preds = %6, %4 ret void } declare i32 @skb_free_frag(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_ethernet_ti_extr_netcp_core.c_netcp_frag_free
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_mtrr.c_kvm_mtrr_valid.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_mtrr.c_kvm_mtrr_valid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MSR_IA32_CR_PAT = dso_local local_unnamed_addr global i32 0, align 4 @MSR_MTRRdefType = dso_local local_unnamed_addr global i32 0, align 4 @MSR_MTRRfix64K_00000 = dso_local local_unnamed_addr global i32 0, align 4 @MSR_MTRRfix4K_F8000 = dso_local local_unnamed_addr global i32 0, align 4 @KVM_NR_VAR_MTRR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @kvm_mtrr_valid(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @msr_mtrr_valid(i32 noundef %1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %84, label %6 6: ; preds = %3 %7 = load i32, ptr @MSR_IA32_CR_PAT, align 4, !tbaa !5 %8 = icmp eq i32 %7, %1 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = tail call i32 @kvm_pat_valid(i32 noundef %2) #2 br label %84 11: ; preds = %6 %12 = load i32, ptr @MSR_MTRRdefType, align 4, !tbaa !5 %13 = icmp eq i32 %12, %1 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = and i32 %2, -3328 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %84 17: ; preds = %14 %18 = and i32 %2, 255 %19 = tail call i32 @valid_mtrr_type(i32 noundef %18) #2 br label %84 20: ; preds = %11 %21 = load i32, ptr @MSR_MTRRfix64K_00000, align 4, !tbaa !5 %22 = icmp sgt i32 %21, %1 %23 = load i32, ptr @MSR_MTRRfix4K_F8000, align 4 %24 = icmp slt i32 %23, %1 %25 = select i1 %22, i1 true, i1 %24 br i1 %25, label %57, label %26 26: ; preds = %20 %27 = and i32 %2, 255 %28 = tail call i32 @valid_mtrr_type(i32 noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %84, label %30 30: ; preds = %26 %31 = lshr i32 %2, 8 %32 = and i32 %31, 255 %33 = tail call i32 @valid_mtrr_type(i32 noundef %32) #2 %34 = icmp eq i32 %33, 0 br i1 %34, label %84, label %35 35: ; preds = %30 %36 = lshr i32 %2, 16 %37 = and i32 %36, 255 %38 = tail call i32 @valid_mtrr_type(i32 noundef %37) #2 %39 = icmp eq i32 %38, 0 br i1 %39, label %84, label %40 40: ; preds = %35 %41 = lshr i32 %2, 24 %42 = tail call i32 @valid_mtrr_type(i32 noundef %41) #2 %43 = icmp eq i32 %42, 0 br i1 %43, label %84, label %44 44: ; preds = %40 %45 = tail call i32 @valid_mtrr_type(i32 noundef poison) #2 %46 = icmp eq i32 %45, 0 br i1 %46, label %84, label %47 47: ; preds = %44 %48 = tail call i32 @valid_mtrr_type(i32 noundef poison) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %84, label %50 50: ; preds = %47 %51 = tail call i32 @valid_mtrr_type(i32 noundef poison) #2 %52 = icmp eq i32 %51, 0 br i1 %52, label %84, label %53 53: ; preds = %50 %54 = tail call i32 @valid_mtrr_type(i32 noundef poison) #2 %55 = icmp ne i32 %54, 0 %56 = zext i1 %55 to i32 br label %84 57: ; preds = %20 %58 = icmp sgt i32 %1, 511 br i1 %58, label %59, label %65 59: ; preds = %57 %60 = load i32, ptr @KVM_NR_VAR_MTRR, align 4, !tbaa !5 %61 = shl nsw i32 %60, 1 %62 = add nsw i32 %61, 512 %63 = icmp sle i32 %62, %1 %64 = zext i1 %63 to i32 br label %65 65: ; preds = %59, %57 %66 = phi i32 [ 1, %57 ], [ %64, %59 ] %67 = tail call i32 @WARN_ON(i32 noundef %66) #2 %68 = tail call i64 @cpuid_maxphyaddr(ptr noundef %0) #2 %69 = shl nsw i64 -1, %68 %70 = trunc i64 %69 to i32 %71 = and i32 %1, 1 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %77 73: ; preds = %65 %74 = and i32 %2, 255 %75 = tail call i32 @valid_mtrr_type(i32 noundef %74) #2 %76 = icmp eq i32 %75, 0 br i1 %76, label %84, label %77 77: ; preds = %65, %73 %78 = phi i32 [ 3840, %73 ], [ 2047, %65 ] %79 = or i32 %78, %70 %80 = and i32 %79, %2 %81 = icmp eq i32 %80, 0 br i1 %81, label %84, label %82 82: ; preds = %77 %83 = tail call i32 @kvm_inject_gp(ptr noundef %0, i32 noundef 0) #2 br label %84 84: ; preds = %53, %26, %30, %35, %40, %44, %47, %50, %77, %73, %14, %3, %82, %17, %9 %85 = phi i32 [ %10, %9 ], [ %19, %17 ], [ 0, %82 ], [ 0, %3 ], [ 0, %14 ], [ 0, %73 ], [ 1, %77 ], [ 0, %26 ], [ 0, %30 ], [ 0, %35 ], [ 0, %40 ], [ 0, %44 ], [ 0, %47 ], [ 0, %50 ], [ %56, %53 ] ret i32 %85 } declare i32 @msr_mtrr_valid(i32 noundef) local_unnamed_addr #1 declare i32 @kvm_pat_valid(i32 noundef) local_unnamed_addr #1 declare i32 @valid_mtrr_type(i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i64 @cpuid_maxphyaddr(ptr noundef) local_unnamed_addr #1 declare i32 @kvm_inject_gp(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_mtrr.c_kvm_mtrr_valid.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_mtrr.c_kvm_mtrr_valid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSR_IA32_CR_PAT = common local_unnamed_addr global i32 0, align 4 @MSR_MTRRdefType = common local_unnamed_addr global i32 0, align 4 @MSR_MTRRfix64K_00000 = common local_unnamed_addr global i32 0, align 4 @MSR_MTRRfix4K_F8000 = common local_unnamed_addr global i32 0, align 4 @KVM_NR_VAR_MTRR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @kvm_mtrr_valid(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @msr_mtrr_valid(i32 noundef %1) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %84, label %6 6: ; preds = %3 %7 = load i32, ptr @MSR_IA32_CR_PAT, align 4, !tbaa !6 %8 = icmp eq i32 %7, %1 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = tail call i32 @kvm_pat_valid(i32 noundef %2) #2 br label %84 11: ; preds = %6 %12 = load i32, ptr @MSR_MTRRdefType, align 4, !tbaa !6 %13 = icmp eq i32 %12, %1 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = and i32 %2, -3328 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %84 17: ; preds = %14 %18 = and i32 %2, 255 %19 = tail call i32 @valid_mtrr_type(i32 noundef %18) #2 br label %84 20: ; preds = %11 %21 = load i32, ptr @MSR_MTRRfix64K_00000, align 4, !tbaa !6 %22 = icmp sgt i32 %21, %1 %23 = load i32, ptr @MSR_MTRRfix4K_F8000, align 4 %24 = icmp slt i32 %23, %1 %25 = select i1 %22, i1 true, i1 %24 br i1 %25, label %57, label %26 26: ; preds = %20 %27 = and i32 %2, 255 %28 = tail call i32 @valid_mtrr_type(i32 noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %84, label %30 30: ; preds = %26 %31 = lshr i32 %2, 8 %32 = and i32 %31, 255 %33 = tail call i32 @valid_mtrr_type(i32 noundef %32) #2 %34 = icmp eq i32 %33, 0 br i1 %34, label %84, label %35 35: ; preds = %30 %36 = lshr i32 %2, 16 %37 = and i32 %36, 255 %38 = tail call i32 @valid_mtrr_type(i32 noundef %37) #2 %39 = icmp eq i32 %38, 0 br i1 %39, label %84, label %40 40: ; preds = %35 %41 = lshr i32 %2, 24 %42 = tail call i32 @valid_mtrr_type(i32 noundef %41) #2 %43 = icmp eq i32 %42, 0 br i1 %43, label %84, label %44 44: ; preds = %40 %45 = tail call i32 @valid_mtrr_type(i32 noundef poison) #2 %46 = icmp eq i32 %45, 0 br i1 %46, label %84, label %47 47: ; preds = %44 %48 = tail call i32 @valid_mtrr_type(i32 noundef poison) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %84, label %50 50: ; preds = %47 %51 = tail call i32 @valid_mtrr_type(i32 noundef poison) #2 %52 = icmp eq i32 %51, 0 br i1 %52, label %84, label %53 53: ; preds = %50 %54 = tail call i32 @valid_mtrr_type(i32 noundef poison) #2 %55 = icmp ne i32 %54, 0 %56 = zext i1 %55 to i32 br label %84 57: ; preds = %20 %58 = icmp sgt i32 %1, 511 br i1 %58, label %59, label %65 59: ; preds = %57 %60 = load i32, ptr @KVM_NR_VAR_MTRR, align 4, !tbaa !6 %61 = shl nsw i32 %60, 1 %62 = add nsw i32 %61, 512 %63 = icmp sle i32 %62, %1 %64 = zext i1 %63 to i32 br label %65 65: ; preds = %59, %57 %66 = phi i32 [ 1, %57 ], [ %64, %59 ] %67 = tail call i32 @WARN_ON(i32 noundef %66) #2 %68 = tail call i64 @cpuid_maxphyaddr(ptr noundef %0) #2 %69 = shl nsw i64 -1, %68 %70 = trunc i64 %69 to i32 %71 = and i32 %1, 1 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %77 73: ; preds = %65 %74 = and i32 %2, 255 %75 = tail call i32 @valid_mtrr_type(i32 noundef %74) #2 %76 = icmp eq i32 %75, 0 br i1 %76, label %84, label %77 77: ; preds = %65, %73 %78 = phi i32 [ 3840, %73 ], [ 2047, %65 ] %79 = or i32 %78, %70 %80 = and i32 %79, %2 %81 = icmp eq i32 %80, 0 br i1 %81, label %84, label %82 82: ; preds = %77 %83 = tail call i32 @kvm_inject_gp(ptr noundef %0, i32 noundef 0) #2 br label %84 84: ; preds = %53, %26, %30, %35, %40, %44, %47, %50, %77, %73, %14, %3, %82, %17, %9 %85 = phi i32 [ %10, %9 ], [ %19, %17 ], [ 0, %82 ], [ 0, %3 ], [ 0, %14 ], [ 0, %73 ], [ 1, %77 ], [ 0, %26 ], [ 0, %30 ], [ 0, %35 ], [ 0, %40 ], [ 0, %44 ], [ 0, %47 ], [ 0, %50 ], [ %56, %53 ] ret i32 %85 } declare i32 @msr_mtrr_valid(i32 noundef) local_unnamed_addr #1 declare i32 @kvm_pat_valid(i32 noundef) local_unnamed_addr #1 declare i32 @valid_mtrr_type(i32 noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i64 @cpuid_maxphyaddr(ptr noundef) local_unnamed_addr #1 declare i32 @kvm_inject_gp(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_x86_kvm_extr_mtrr.c_kvm_mtrr_valid
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_vp8.c_vp8_decode_flush.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vp8.c_vp8_decode_flush.c" target datalayout = "e-m:e-p270:32:32-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 @vp8_decode_flush], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vp8_decode_flush(ptr noundef %0) #0 { %2 = tail call i32 @vp8_decode_flush_impl(ptr noundef %0, i32 noundef 0) #2 ret void } declare i32 @vp8_decode_flush_impl(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/FFmpeg/libavcodec/extr_vp8.c_vp8_decode_flush.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_vp8.c_vp8_decode_flush.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 @vp8_decode_flush], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vp8_decode_flush(ptr noundef %0) #0 { %2 = tail call i32 @vp8_decode_flush_impl(ptr noundef %0, i32 noundef 0) #2 ret void } declare i32 @vp8_decode_flush_impl(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)"}
FFmpeg_libavcodec_extr_vp8.c_vp8_decode_flush
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_addrconf.c_ipv6_regen_rndid.c' source_filename = "AnghaBench/linux/net/ipv6/extr_addrconf.c_ipv6_regen_rndid.c" target datalayout = "e-m:e-p270:32:32-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 @ipv6_regen_rndid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ipv6_regen_rndid(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 br label %3 3: ; preds = %37, %1 %4 = phi ptr [ %2, %1 ], [ %6, %37 ] %5 = tail call i32 @get_random_bytes(ptr noundef %4, i32 noundef 8) #3 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = and i32 %7, -3 store i32 %8, ptr %6, align 4, !tbaa !10 %9 = icmp eq i32 %8, 253 %10 = getelementptr inbounds i32, ptr %6, i64 1 %11 = load i32, ptr %10, align 4, !tbaa !10 br i1 %9, label %12, label %26 12: ; preds = %3 %13 = getelementptr inbounds i32, ptr %6, i64 2 %14 = load <4 x i32>, ptr %13, align 4, !tbaa !10 %15 = getelementptr inbounds i32, ptr %6, i64 6 %16 = load i32, ptr %15, align 4, !tbaa !10 %17 = tail call i32 @llvm.vector.reduce.and.v4i32(<4 x i32> %14) %18 = and i32 %17, %16 %19 = and i32 %18, %11 %20 = icmp eq i32 %19, 255 br i1 %20, label %21, label %26 21: ; preds = %12 %22 = getelementptr inbounds i32, ptr %6, i64 7 %23 = load i32, ptr %22, align 4, !tbaa !10 %24 = and i32 %23, 128 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %37 26: ; preds = %3, %21, %12 %27 = or i32 %11, %8 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %45 29: ; preds = %26 %30 = getelementptr inbounds i32, ptr %6, i64 2 %31 = load i32, ptr %30, align 4, !tbaa !10 %32 = icmp eq i32 %31, 94 %33 = getelementptr inbounds i32, ptr %6, i64 3 %34 = load i32, ptr %33, align 4, !tbaa !10 %35 = icmp eq i32 %34, 254 %36 = select i1 %32, i1 %35, i1 false br i1 %36, label %37, label %38 37: ; preds = %29, %21, %38 br label %3 38: ; preds = %29 %39 = getelementptr inbounds i32, ptr %6, i64 4 %40 = load <4 x i32>, ptr %39, align 4, !tbaa !10 %41 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %40) %42 = or i32 %41, %31 %43 = or i32 %42, %34 %44 = icmp eq i32 %43, 0 br i1 %44, label %37, label %45 45: ; preds = %38, %26 ret void } declare i32 @get_random_bytes(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.and.v4i32(<4 x i32>) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"inet6_dev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_addrconf.c_ipv6_regen_rndid.c' source_filename = "AnghaBench/linux/net/ipv6/extr_addrconf.c_ipv6_regen_rndid.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 @ipv6_regen_rndid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ipv6_regen_rndid(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 br label %3 3: ; preds = %37, %1 %4 = phi ptr [ %2, %1 ], [ %6, %37 ] %5 = tail call i32 @get_random_bytes(ptr noundef %4, i32 noundef 8) #3 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = and i32 %7, -3 store i32 %8, ptr %6, align 4, !tbaa !11 %9 = icmp eq i32 %8, 253 %10 = getelementptr inbounds i8, ptr %6, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !11 br i1 %9, label %12, label %26 12: ; preds = %3 %13 = getelementptr inbounds i8, ptr %6, i64 8 %14 = load <4 x i32>, ptr %13, align 4, !tbaa !11 %15 = getelementptr inbounds i8, ptr %6, i64 24 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = tail call i32 @llvm.vector.reduce.and.v4i32(<4 x i32> %14) %18 = and i32 %17, %16 %19 = and i32 %18, %11 %20 = icmp eq i32 %19, 255 br i1 %20, label %21, label %26 21: ; preds = %12 %22 = getelementptr inbounds i8, ptr %6, i64 28 %23 = load i32, ptr %22, align 4, !tbaa !11 %24 = and i32 %23, 128 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %37 26: ; preds = %3, %21, %12 %27 = or i32 %11, %8 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %45 29: ; preds = %26 %30 = getelementptr inbounds i8, ptr %6, i64 8 %31 = load i32, ptr %30, align 4, !tbaa !11 %32 = icmp eq i32 %31, 94 %33 = getelementptr inbounds i8, ptr %6, i64 12 %34 = load i32, ptr %33, align 4, !tbaa !11 %35 = icmp eq i32 %34, 254 %36 = select i1 %32, i1 %35, i1 false br i1 %36, label %37, label %38 37: ; preds = %29, %21, %38 br label %3 38: ; preds = %29 %39 = getelementptr inbounds i8, ptr %6, i64 16 %40 = load <4 x i32>, ptr %39, align 4, !tbaa !11 %41 = tail call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %40) %42 = or i32 %41, %31 %43 = or i32 %42, %34 %44 = icmp eq i32 %43, 0 br i1 %44, label %37, label %45 45: ; preds = %38, %26 ret void } declare i32 @get_random_bytes(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.and.v4i32(<4 x i32>) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"inet6_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_net_ipv6_extr_addrconf.c_ipv6_regen_rndid
; ModuleID = 'AnghaBench/kphp-kdb/news/extr_news-data.c_advance_user_iterator.c' source_filename = "AnghaBench/kphp-kdb/news/extr_news-data.c_advance_user_iterator.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i64, i64, i32 } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_8__ = type { i32 } @user_iterator = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8 @new_users_number = dso_local local_unnamed_addr global i64 0, align 8 @new_users = dso_local local_unnamed_addr global ptr null, align 8 @MAXINT = dso_local local_unnamed_addr global i32 0, align 4 @small_users_number = dso_local local_unnamed_addr global i64 0, align 8 @small_users = dso_local local_unnamed_addr global ptr null, align 8 @large_users_number = dso_local local_unnamed_addr global i64 0, align 8 @large_users = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @advance_user_iterator() local_unnamed_addr #0 { %1 = load i64, ptr @user_iterator, align 8, !tbaa !5 %2 = load i64, ptr @new_users_number, align 8, !tbaa !11 %3 = icmp ult i64 %1, %2 %4 = load ptr, ptr @new_users, align 8 %5 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 %1 %6 = select i1 %3, ptr %5, ptr @MAXINT %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = load i64, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @user_iterator, i64 0, i32 1), align 8, !tbaa !13 %9 = load i64, ptr @small_users_number, align 8, !tbaa !11 %10 = icmp ult i64 %8, %9 %11 = load ptr, ptr @small_users, align 8 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 %8 %13 = select i1 %10, ptr %12, ptr @MAXINT %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = load i64, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @user_iterator, i64 0, i32 2), align 8, !tbaa !14 %16 = load i64, ptr @large_users_number, align 8, !tbaa !11 %17 = icmp ult i64 %15, %16 %18 = load ptr, ptr @large_users, align 8 %19 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 %15 %20 = select i1 %17, ptr %19, ptr @MAXINT %21 = load i32, ptr %20, align 4, !tbaa !12 %22 = tail call i32 @min(i32 noundef %14, i32 noundef %21) #2 %23 = tail call i32 @min(i32 noundef %7, i32 noundef %22) #2 %24 = load i32, ptr @MAXINT, align 4, !tbaa !12 %25 = icmp eq i32 %23, %24 br i1 %25, label %41, label %26 26: ; preds = %0 store i32 %23, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @user_iterator, i64 0, i32 3), align 8, !tbaa !15 %27 = icmp eq i32 %7, %23 br i1 %27, label %28, label %31 28: ; preds = %26 %29 = load i64, ptr @user_iterator, align 8, !tbaa !5 %30 = add i64 %29, 1 store i64 %30, ptr @user_iterator, align 8, !tbaa !5 br label %31 31: ; preds = %28, %26 %32 = icmp eq i32 %14, %23 br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load i64, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @user_iterator, i64 0, i32 1), align 8, !tbaa !13 %35 = add i64 %34, 1 store i64 %35, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @user_iterator, i64 0, i32 1), align 8, !tbaa !13 br label %36 36: ; preds = %33, %31 %37 = icmp eq i32 %21, %23 br i1 %37, label %38, label %41 38: ; preds = %36 %39 = load i64, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @user_iterator, i64 0, i32 2), align 8, !tbaa !14 %40 = add i64 %39, 1 store i64 %40, ptr getelementptr inbounds (%struct.TYPE_5__, ptr @user_iterator, i64 0, i32 2), align 8, !tbaa !14 br label %41 41: ; preds = %36, %38, %0 %42 = phi i32 [ -1, %0 ], [ 1, %38 ], [ 1, %36 ] ret i32 %42 } declare i32 @min(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_5__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24} !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 = !{!10, !10, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!6, !7, i64 16} !15 = !{!6, !10, i64 24}
; ModuleID = 'AnghaBench/kphp-kdb/news/extr_news-data.c_advance_user_iterator.c' source_filename = "AnghaBench/kphp-kdb/news/extr_news-data.c_advance_user_iterator.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, i64, i32 } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } %struct.TYPE_8__ = type { i32 } @user_iterator = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8 @new_users_number = common local_unnamed_addr global i64 0, align 8 @new_users = common local_unnamed_addr global ptr null, align 8 @MAXINT = common local_unnamed_addr global i32 0, align 4 @small_users_number = common local_unnamed_addr global i64 0, align 8 @small_users = common local_unnamed_addr global ptr null, align 8 @large_users_number = common local_unnamed_addr global i64 0, align 8 @large_users = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 2) i32 @advance_user_iterator() local_unnamed_addr #0 { %1 = load i64, ptr @user_iterator, align 8, !tbaa !6 %2 = load i64, ptr @new_users_number, align 8, !tbaa !12 %3 = icmp ult i64 %1, %2 %4 = load ptr, ptr @new_users, align 8 %5 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 %1 %6 = select i1 %3, ptr %5, ptr @MAXINT %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = load i64, ptr getelementptr inbounds (i8, ptr @user_iterator, i64 8), align 8, !tbaa !14 %9 = load i64, ptr @small_users_number, align 8, !tbaa !12 %10 = icmp ult i64 %8, %9 %11 = load ptr, ptr @small_users, align 8 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 %8 %13 = select i1 %10, ptr %12, ptr @MAXINT %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = load i64, ptr getelementptr inbounds (i8, ptr @user_iterator, i64 16), align 8, !tbaa !15 %16 = load i64, ptr @large_users_number, align 8, !tbaa !12 %17 = icmp ult i64 %15, %16 %18 = load ptr, ptr @large_users, align 8 %19 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 %15 %20 = select i1 %17, ptr %19, ptr @MAXINT %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = tail call i32 @min(i32 noundef %14, i32 noundef %21) #2 %23 = tail call i32 @min(i32 noundef %7, i32 noundef %22) #2 %24 = load i32, ptr @MAXINT, align 4, !tbaa !13 %25 = icmp eq i32 %23, %24 br i1 %25, label %41, label %26 26: ; preds = %0 store i32 %23, ptr getelementptr inbounds (i8, ptr @user_iterator, i64 24), align 8, !tbaa !16 %27 = icmp eq i32 %7, %23 br i1 %27, label %28, label %31 28: ; preds = %26 %29 = load i64, ptr @user_iterator, align 8, !tbaa !6 %30 = add i64 %29, 1 store i64 %30, ptr @user_iterator, align 8, !tbaa !6 br label %31 31: ; preds = %28, %26 %32 = icmp eq i32 %14, %23 br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load i64, ptr getelementptr inbounds (i8, ptr @user_iterator, i64 8), align 8, !tbaa !14 %35 = add i64 %34, 1 store i64 %35, ptr getelementptr inbounds (i8, ptr @user_iterator, i64 8), align 8, !tbaa !14 br label %36 36: ; preds = %33, %31 %37 = icmp eq i32 %21, %23 br i1 %37, label %38, label %41 38: ; preds = %36 %39 = load i64, ptr getelementptr inbounds (i8, ptr @user_iterator, i64 16), align 8, !tbaa !15 %40 = add i64 %39, 1 store i64 %40, ptr getelementptr inbounds (i8, ptr @user_iterator, i64 16), align 8, !tbaa !15 br label %41 41: ; preds = %36, %38, %0 %42 = phi i32 [ -1, %0 ], [ 1, %38 ], [ 1, %36 ] ret i32 %42 } declare i32 @min(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_5__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24} !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 = !{!11, !11, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!7, !8, i64 16} !16 = !{!7, !11, i64 24}
kphp-kdb_news_extr_news-data.c_advance_user_iterator
; ModuleID = 'AnghaBench/linux/drivers/crypto/nx/extr_nx-842-powernv.c_nx842_alloc_txwin.c' source_filename = "AnghaBench/linux/drivers/crypto/nx/extr_nx-842-powernv.c_nx842_alloc_txwin.c" target datalayout = "e-m:e-p270:32:32-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.vas_tx_win_attr = type { i64, i64 } %struct.nx842_coproc = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [41 x i8] c"ibm,nx-842: Can not open TX window: %ld\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nx842_alloc_txwin], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @nx842_alloc_txwin(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.vas_tx_win_attr, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = call i32 @vas_init_tx_win_attr(ptr noundef nonnull %2, i32 noundef %3) #4 %5 = getelementptr inbounds %struct.nx842_coproc, ptr %0, i64 0, i32 1 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false) %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr %0, align 4, !tbaa !5 %8 = call ptr @vas_tx_win_open(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %2) #4 %9 = call i64 @IS_ERR(ptr noundef %8) #4 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %1 %12 = call i32 @PTR_ERR(ptr noundef %8) #4 %13 = call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %12) #4 br label %14 14: ; preds = %11, %1 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret ptr %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vas_init_tx_win_attr(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @vas_tx_win_open(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nx842_coproc", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/crypto/nx/extr_nx-842-powernv.c_nx842_alloc_txwin.c' source_filename = "AnghaBench/linux/drivers/crypto/nx/extr_nx-842-powernv.c_nx842_alloc_txwin.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vas_tx_win_attr = type { i64, i64 } @.str = private unnamed_addr constant [41 x i8] c"ibm,nx-842: Can not open TX window: %ld\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nx842_alloc_txwin], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @nx842_alloc_txwin(ptr nocapture noundef readonly %0) #0 { %2 = alloca %struct.vas_tx_win_attr, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = call i32 @vas_init_tx_win_attr(ptr noundef nonnull %2, i32 noundef %3) #4 %5 = getelementptr inbounds i8, ptr %0, i64 4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false) %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = load i32, ptr %0, align 4, !tbaa !6 %8 = call ptr @vas_tx_win_open(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %2) #4 %9 = call i64 @IS_ERR(ptr noundef %8) #4 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %1 %12 = call i32 @PTR_ERR(ptr noundef %8) #4 %13 = call i32 @pr_err(ptr noundef nonnull @.str, i32 noundef %12) #4 br label %14 14: ; preds = %11, %1 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret ptr %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @vas_init_tx_win_attr(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @vas_tx_win_open(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nx842_coproc", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!7, !8, i64 4}
linux_drivers_crypto_nx_extr_nx-842-powernv.c_nx842_alloc_txwin
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-gpio.c_clk_sleeping_gpio_gate_is_prepared.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-gpio.c_clk_sleeping_gpio_gate_is_prepared.c" target datalayout = "e-m:e-p270:32:32-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 @clk_sleeping_gpio_gate_is_prepared], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @clk_sleeping_gpio_gate_is_prepared(ptr noundef %0) #0 { %2 = tail call ptr @to_clk_gpio(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @gpiod_get_value_cansleep(i32 noundef %3) #2 ret i32 %4 } declare ptr @to_clk_gpio(ptr noundef) local_unnamed_addr #1 declare i32 @gpiod_get_value_cansleep(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 = !{!"clk_gpio", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/clk/extr_clk-gpio.c_clk_sleeping_gpio_gate_is_prepared.c' source_filename = "AnghaBench/linux/drivers/clk/extr_clk-gpio.c_clk_sleeping_gpio_gate_is_prepared.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 @clk_sleeping_gpio_gate_is_prepared], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @clk_sleeping_gpio_gate_is_prepared(ptr noundef %0) #0 { %2 = tail call ptr @to_clk_gpio(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @gpiod_get_value_cansleep(i32 noundef %3) #2 ret i32 %4 } declare ptr @to_clk_gpio(ptr noundef) local_unnamed_addr #1 declare i32 @gpiod_get_value_cansleep(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 = !{!"clk_gpio", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_clk_extr_clk-gpio.c_clk_sleeping_gpio_gate_is_prepared
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_ikev2.c_ikev2_build_idr.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_ikev2.c_ikev2_build_idr.c" target datalayout = "e-m:e-p270:32:32-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.ikev2_responder_data = type { i32, ptr } %struct.ikev2_payload_hdr = type { i32, i64, i32 } @MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"IKEV2: Adding IDr payload\00", align 1 @MSG_INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"IKEV2: No IDr available\00", align 1 @ID_KEY_ID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ikev2_build_idr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ikev2_build_idr(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5 %5 = tail call i32 @wpa_printf(i32 noundef %4, ptr noundef nonnull @.str) #2 %6 = getelementptr inbounds %struct.ikev2_responder_data, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !9 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr @MSG_INFO, align 4, !tbaa !5 %11 = tail call i32 @wpa_printf(i32 noundef %10, ptr noundef nonnull @.str.1) #2 br label %29 12: ; preds = %3 %13 = tail call ptr @wpabuf_put(ptr noundef %1, i32 noundef 24) #2 %14 = getelementptr inbounds %struct.ikev2_payload_hdr, ptr %13, i64 0, i32 2 store i32 %2, ptr %14, align 8, !tbaa !12 %15 = getelementptr inbounds %struct.ikev2_payload_hdr, ptr %13, i64 0, i32 1 store i64 0, ptr %15, align 8, !tbaa !15 %16 = load i32, ptr @ID_KEY_ID, align 4, !tbaa !5 %17 = tail call i32 @wpabuf_put_u8(ptr noundef %1, i32 noundef %16) #2 %18 = tail call ptr @wpabuf_put(ptr noundef %1, i32 noundef 3) #2 %19 = load ptr, ptr %6, align 8, !tbaa !9 %20 = load i32, ptr %0, align 8, !tbaa !16 %21 = tail call i32 @wpabuf_put_data(ptr noundef %1, ptr noundef %19, i32 noundef %20) #2 %22 = tail call ptr @wpabuf_put(ptr noundef %1, i32 noundef 0) #2 %23 = ptrtoint ptr %22 to i64 %24 = ptrtoint ptr %13 to i64 %25 = sub i64 %23, %24 %26 = ashr exact i64 %25, 2 %27 = load i32, ptr %13, align 8, !tbaa !17 %28 = tail call i32 @WPA_PUT_BE16(i32 noundef %27, i64 noundef %26) #2 br label %29 29: ; preds = %12, %9 %30 = phi i32 [ -1, %9 ], [ 0, %12 ] ret i32 %30 } declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @wpabuf_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WPA_PUT_BE16(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"ikev2_responder_data", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 16} !13 = !{!"ikev2_payload_hdr", !6, i64 0, !14, i64 8, !6, i64 16} !14 = !{!"long", !7, i64 0} !15 = !{!13, !14, i64 8} !16 = !{!10, !6, i64 0} !17 = !{!13, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_ikev2.c_ikev2_build_idr.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_ikev2.c_ikev2_build_idr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"IKEV2: Adding IDr payload\00", align 1 @MSG_INFO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"IKEV2: No IDr available\00", align 1 @ID_KEY_ID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ikev2_build_idr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @ikev2_build_idr(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6 %5 = tail call i32 @wpa_printf(i32 noundef %4, ptr noundef nonnull @.str) #2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr @MSG_INFO, align 4, !tbaa !6 %11 = tail call i32 @wpa_printf(i32 noundef %10, ptr noundef nonnull @.str.1) #2 br label %29 12: ; preds = %3 %13 = tail call ptr @wpabuf_put(ptr noundef %1, i32 noundef 24) #2 %14 = getelementptr inbounds i8, ptr %13, i64 16 store i32 %2, ptr %14, align 8, !tbaa !13 %15 = getelementptr inbounds i8, ptr %13, i64 8 store i64 0, ptr %15, align 8, !tbaa !16 %16 = load i32, ptr @ID_KEY_ID, align 4, !tbaa !6 %17 = tail call i32 @wpabuf_put_u8(ptr noundef %1, i32 noundef %16) #2 %18 = tail call ptr @wpabuf_put(ptr noundef %1, i32 noundef 3) #2 %19 = load ptr, ptr %6, align 8, !tbaa !10 %20 = load i32, ptr %0, align 8, !tbaa !17 %21 = tail call i32 @wpabuf_put_data(ptr noundef %1, ptr noundef %19, i32 noundef %20) #2 %22 = tail call ptr @wpabuf_put(ptr noundef %1, i32 noundef 0) #2 %23 = ptrtoint ptr %22 to i64 %24 = ptrtoint ptr %13 to i64 %25 = sub i64 %23, %24 %26 = ashr exact i64 %25, 2 %27 = load i32, ptr %13, align 8, !tbaa !18 %28 = tail call i32 @WPA_PUT_BE16(i32 noundef %27, i64 noundef %26) #2 br label %29 29: ; preds = %12, %9 %30 = phi i32 [ -1, %9 ], [ 0, %12 ] ret i32 %30 } declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @wpabuf_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WPA_PUT_BE16(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"ikev2_responder_data", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 16} !14 = !{!"ikev2_payload_hdr", !7, i64 0, !15, i64 8, !7, i64 16} !15 = !{!"long", !8, i64 0} !16 = !{!14, !15, i64 8} !17 = !{!11, !7, i64 0} !18 = !{!14, !7, i64 0}
freebsd_contrib_wpa_src_eap_peer_extr_ikev2.c_ikev2_build_idr
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_get_msr_mce.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_get_msr_mce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32, ptr } @MCG_CTL_P = dso_local local_unnamed_addr global i32 0, align 4 @MSR_IA32_MC0_CTL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_msr_mce], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @get_msr_mce(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #0 { %5 = load i32, ptr %0, align 8, !tbaa !5 %6 = and i32 %5, 255 switch i32 %1, label %19 [ i32 129, label %33 i32 128, label %33 i32 132, label %7 i32 131, label %8 i32 130, label %16 ] 7: ; preds = %4 br label %33 8: ; preds = %4 %9 = load i32, ptr @MCG_CTL_P, align 4, !tbaa !12 %10 = and i32 %9, %5 %11 = or i32 %10, %3 %12 = icmp eq i32 %11, 0 br i1 %12, label %35, label %13 13: ; preds = %8 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !13 br label %33 16: ; preds = %4 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %18 = load i32, ptr %17, align 8, !tbaa !14 br label %33 19: ; preds = %4 %20 = load i32, ptr @MSR_IA32_MC0_CTL, align 4, !tbaa !12 %21 = icmp sgt i32 %20, %1 br i1 %21, label %35, label %22 22: ; preds = %19 %23 = tail call i32 @MSR_IA32_MCx_CTL(i32 noundef %6) #2 %24 = icmp sgt i32 %23, %1 br i1 %24, label %25, label %35 25: ; preds = %22 %26 = load i32, ptr @MSR_IA32_MC0_CTL, align 4, !tbaa !12 %27 = sub nsw i32 %1, %26 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3 %29 = load ptr, ptr %28, align 8, !tbaa !15 %30 = sext i32 %27 to i64 %31 = getelementptr inbounds i32, ptr %29, i64 %30 %32 = load i32, ptr %31, align 4, !tbaa !12 br label %33 33: ; preds = %4, %4, %25, %16, %13, %7 %34 = phi i32 [ %32, %25 ], [ %18, %16 ], [ %15, %13 ], [ %5, %7 ], [ 0, %4 ], [ 0, %4 ] store i32 %34, ptr %2, align 4, !tbaa !12 br label %35 35: ; preds = %19, %22, %8, %33 %36 = phi i32 [ 0, %33 ], [ 1, %8 ], [ 1, %22 ], [ 1, %19 ] ret i32 %36 } declare i32 @MSR_IA32_MCx_CTL(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 = !{!"kvm_vcpu", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!6, !8, i64 4} !14 = !{!6, !8, i64 8} !15 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_get_msr_mce.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_get_msr_mce.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MCG_CTL_P = common local_unnamed_addr global i32 0, align 4 @MSR_IA32_MC0_CTL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_msr_mce], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @get_msr_mce(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #0 { %5 = load i32, ptr %0, align 8, !tbaa !6 %6 = and i32 %5, 255 switch i32 %1, label %19 [ i32 129, label %33 i32 128, label %33 i32 132, label %7 i32 131, label %8 i32 130, label %16 ] 7: ; preds = %4 br label %33 8: ; preds = %4 %9 = load i32, ptr @MCG_CTL_P, align 4, !tbaa !13 %10 = and i32 %9, %5 %11 = or i32 %10, %3 %12 = icmp eq i32 %11, 0 br i1 %12, label %35, label %13 13: ; preds = %8 %14 = getelementptr inbounds i8, ptr %0, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !14 br label %33 16: ; preds = %4 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !15 br label %33 19: ; preds = %4 %20 = load i32, ptr @MSR_IA32_MC0_CTL, align 4, !tbaa !13 %21 = icmp sgt i32 %20, %1 br i1 %21, label %35, label %22 22: ; preds = %19 %23 = tail call i32 @MSR_IA32_MCx_CTL(i32 noundef %6) #2 %24 = icmp sgt i32 %23, %1 br i1 %24, label %25, label %35 25: ; preds = %22 %26 = load i32, ptr @MSR_IA32_MC0_CTL, align 4, !tbaa !13 %27 = sub nsw i32 %1, %26 %28 = getelementptr inbounds i8, ptr %0, i64 16 %29 = load ptr, ptr %28, align 8, !tbaa !16 %30 = sext i32 %27 to i64 %31 = getelementptr inbounds i32, ptr %29, i64 %30 %32 = load i32, ptr %31, align 4, !tbaa !13 br label %33 33: ; preds = %4, %4, %25, %16, %13, %7 %34 = phi i32 [ %32, %25 ], [ %18, %16 ], [ %15, %13 ], [ %5, %7 ], [ 0, %4 ], [ 0, %4 ] store i32 %34, ptr %2, align 4, !tbaa !13 br label %35 35: ; preds = %19, %22, %8, %33 %36 = phi i32 [ 0, %33 ], [ 1, %8 ], [ 1, %22 ], [ 1, %19 ] ret i32 %36 } declare i32 @MSR_IA32_MCx_CTL(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 = !{!"kvm_vcpu", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4, !9, i64 8, !12, i64 16} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!9, !9, i64 0} !14 = !{!7, !9, i64 4} !15 = !{!7, !9, i64 8} !16 = !{!7, !12, i64 16}
linux_arch_x86_kvm_extr_x86.c_get_msr_mce
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_rs690.c_rs690_resume.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_rs690.c_rs690_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.radeon_device = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [49 x i8] c"GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\0A\00", align 1 @R_000E40_RBBM_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @R_0007C0_CP_STAT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @rs690_resume(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @rs400_gart_disable(ptr noundef %0) #2 %3 = tail call i32 @rv515_clock_startup(ptr noundef %0) #2 %4 = tail call i64 @radeon_asic_reset(ptr noundef %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = load i32, ptr @R_000E40_RBBM_STATUS, align 4, !tbaa !11 %10 = tail call i32 @RREG32(i32 noundef %9) #2 %11 = load i32, ptr @R_0007C0_CP_STAT, align 4, !tbaa !11 %12 = tail call i32 @RREG32(i32 noundef %11) #2 %13 = tail call i32 @dev_warn(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %10, i32 noundef %12) #2 br label %14 14: ; preds = %6, %1 %15 = getelementptr inbounds %struct.radeon_device, ptr %0, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = tail call i32 @atom_asic_init(i32 noundef %16) #2 %18 = tail call i32 @rv515_clock_startup(ptr noundef %0) #2 %19 = tail call i32 @radeon_surface_init(ptr noundef %0) #2 store i32 1, ptr %0, align 4, !tbaa !13 %20 = tail call i32 @rs690_startup(ptr noundef nonnull %0) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %14 store i32 0, ptr %0, align 4, !tbaa !13 br label %23 23: ; preds = %22, %14 ret i32 %20 } declare i32 @rs400_gart_disable(ptr noundef) local_unnamed_addr #1 declare i32 @rv515_clock_startup(ptr noundef) local_unnamed_addr #1 declare i64 @radeon_asic_reset(ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RREG32(i32 noundef) local_unnamed_addr #1 declare i32 @atom_asic_init(i32 noundef) local_unnamed_addr #1 declare i32 @radeon_surface_init(ptr noundef) local_unnamed_addr #1 declare i32 @rs690_startup(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 = !{!"radeon_device", !7, i64 0, !10, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_rs690.c_rs690_resume.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_rs690.c_rs690_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [49 x i8] c"GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\0A\00", align 1 @R_000E40_RBBM_STATUS = common local_unnamed_addr global i32 0, align 4 @R_0007C0_CP_STAT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @rs690_resume(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @rs400_gart_disable(ptr noundef %0) #2 %3 = tail call i32 @rv515_clock_startup(ptr noundef %0) #2 %4 = tail call i64 @radeon_asic_reset(ptr noundef %0) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = load i32, ptr @R_000E40_RBBM_STATUS, align 4, !tbaa !12 %10 = tail call i32 @RREG32(i32 noundef %9) #2 %11 = load i32, ptr @R_0007C0_CP_STAT, align 4, !tbaa !12 %12 = tail call i32 @RREG32(i32 noundef %11) #2 %13 = tail call i32 @dev_warn(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %10, i32 noundef %12) #2 br label %14 14: ; preds = %6, %1 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !13 %17 = tail call i32 @atom_asic_init(i32 noundef %16) #2 %18 = tail call i32 @rv515_clock_startup(ptr noundef %0) #2 %19 = tail call i32 @radeon_surface_init(ptr noundef %0) #2 store i32 1, ptr %0, align 4, !tbaa !14 %20 = tail call i32 @rs690_startup(ptr noundef nonnull %0) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %23, label %22 22: ; preds = %14 store i32 0, ptr %0, align 4, !tbaa !14 br label %23 23: ; preds = %22, %14 ret i32 %20 } declare i32 @rs400_gart_disable(ptr noundef) local_unnamed_addr #1 declare i32 @rv515_clock_startup(ptr noundef) local_unnamed_addr #1 declare i64 @radeon_asic_reset(ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RREG32(i32 noundef) local_unnamed_addr #1 declare i32 @atom_asic_init(i32 noundef) local_unnamed_addr #1 declare i32 @radeon_surface_init(ptr noundef) local_unnamed_addr #1 declare i32 @rs690_startup(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 = !{!"radeon_device", !8, i64 0, !11, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_gpu_drm_radeon_extr_rs690.c_rs690_resume
; ModuleID = 'AnghaBench/esp-idf/examples/provisioning/custom_config/main/extr_app_prov.c_app_prov_event_handler.c' source_filename = "AnghaBench/esp-idf/examples/provisioning/custom_config/main/extr_app_prov.c_app_prov_event_handler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, i32, i64 } @g_prov = dso_local local_unnamed_addr global ptr null, align 8 @WIFI_EVENT = dso_local local_unnamed_addr global i64 0, align 8 @WIFI_EVENT_STA_START = dso_local local_unnamed_addr global i32 0, align 4 @TAG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"STA Start\00", align 1 @WIFI_PROV_STA_CONNECTING = dso_local local_unnamed_addr global ptr null, align 8 @IP_EVENT = dso_local local_unnamed_addr global i64 0, align 8 @IP_EVENT_STA_GOT_IP = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"STA Got IP\00", align 1 @WIFI_PROV_STA_CONNECTED = dso_local local_unnamed_addr global ptr null, align 8 @WIFI_EVENT_STA_DISCONNECTED = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"STA Disconnected\00", align 1 @WIFI_PROV_STA_DISCONNECTED = dso_local local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [23 x i8] c"Disconnect reason : %d\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"STA Auth Error\00", align 1 @WIFI_PROV_STA_AUTH_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"STA AP Not found\00", align 1 @WIFI_PROV_STA_AP_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @app_prov_event_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @app_prov_event_handler(ptr nocapture readnone %0, i64 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = load ptr, ptr @g_prov, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %66, label %7 7: ; preds = %4 %8 = load i64, ptr @WIFI_EVENT, align 8, !tbaa !9 %9 = icmp eq i64 %8, %1 %10 = load i32, ptr @WIFI_EVENT_STA_START, align 4 %11 = icmp eq i32 %10, %2 %12 = select i1 %9, i1 %11, i1 false br i1 %12, label %13, label %18 13: ; preds = %7 %14 = load i32, ptr @TAG, align 4, !tbaa !11 %15 = tail call i32 @ESP_LOGI(i32 noundef %14, ptr noundef nonnull @.str) #2 %16 = load ptr, ptr @WIFI_PROV_STA_CONNECTING, align 8, !tbaa !5 %17 = load ptr, ptr @g_prov, align 8, !tbaa !5 store ptr %16, ptr %17, align 8, !tbaa !13 br label %66 18: ; preds = %7 %19 = load i64, ptr @IP_EVENT, align 8, !tbaa !9 %20 = icmp eq i64 %19, %1 %21 = load i32, ptr @IP_EVENT_STA_GOT_IP, align 4 %22 = icmp eq i32 %21, %2 %23 = select i1 %20, i1 %22, i1 false br i1 %23, label %24, label %37 24: ; preds = %18 %25 = load i32, ptr @TAG, align 4, !tbaa !11 %26 = tail call i32 @ESP_LOGI(i32 noundef %25, ptr noundef nonnull @.str.1) #2 %27 = load ptr, ptr @WIFI_PROV_STA_CONNECTED, align 8, !tbaa !5 %28 = load ptr, ptr @g_prov, align 8, !tbaa !5 store ptr %27, ptr %28, align 8, !tbaa !13 %29 = load ptr, ptr @g_prov, align 8, !tbaa !5 %30 = icmp eq ptr %29, null br i1 %30, label %66, label %31 31: ; preds = %24 %32 = getelementptr inbounds %struct.TYPE_4__, ptr %29, i64 0, i32 2 %33 = load i64, ptr %32, align 8, !tbaa !15 %34 = icmp eq i64 %33, 0 br i1 %34, label %66, label %35 35: ; preds = %31 %36 = tail call i32 @esp_timer_start_once(i64 noundef %33, i32 noundef 30000000) #2 br label %66 37: ; preds = %18 %38 = load i32, ptr @WIFI_EVENT_STA_DISCONNECTED, align 4 %39 = icmp eq i32 %38, %2 %40 = select i1 %9, i1 %39, i1 false br i1 %40, label %41, label %66 41: ; preds = %37 %42 = load i32, ptr @TAG, align 4, !tbaa !11 %43 = tail call i32 (i32, ptr, ...) @ESP_LOGE(i32 noundef %42, ptr noundef nonnull @.str.2) #2 %44 = load ptr, ptr @WIFI_PROV_STA_DISCONNECTED, align 8, !tbaa !5 %45 = load ptr, ptr @g_prov, align 8, !tbaa !5 store ptr %44, ptr %45, align 8, !tbaa !13 %46 = load i32, ptr @TAG, align 4, !tbaa !11 %47 = load i32, ptr %3, align 4, !tbaa !16 %48 = tail call i32 (i32, ptr, ...) @ESP_LOGE(i32 noundef %46, ptr noundef nonnull @.str.3, i32 noundef %47) #2 %49 = load i32, ptr %3, align 4, !tbaa !16 switch i32 %49, label %62 [ i32 132, label %50 i32 134, label %50 i32 130, label %50 i32 131, label %50 i32 133, label %50 i32 129, label %50 i32 128, label %56 ] 50: ; preds = %41, %41, %41, %41, %41, %41 %51 = load i32, ptr @TAG, align 4, !tbaa !11 %52 = tail call i32 @ESP_LOGI(i32 noundef %51, ptr noundef nonnull @.str.4) #2 %53 = load i32, ptr @WIFI_PROV_STA_AUTH_ERROR, align 4, !tbaa !11 %54 = load ptr, ptr @g_prov, align 8, !tbaa !5 %55 = getelementptr inbounds %struct.TYPE_4__, ptr %54, i64 0, i32 1 store i32 %53, ptr %55, align 8, !tbaa !18 br label %66 56: ; preds = %41 %57 = load i32, ptr @TAG, align 4, !tbaa !11 %58 = tail call i32 @ESP_LOGI(i32 noundef %57, ptr noundef nonnull @.str.5) #2 %59 = load i32, ptr @WIFI_PROV_STA_AP_NOT_FOUND, align 4, !tbaa !11 %60 = load ptr, ptr @g_prov, align 8, !tbaa !5 %61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i64 0, i32 1 store i32 %59, ptr %61, align 8, !tbaa !18 br label %66 62: ; preds = %41 %63 = load ptr, ptr @WIFI_PROV_STA_CONNECTING, align 8, !tbaa !5 %64 = load ptr, ptr @g_prov, align 8, !tbaa !5 store ptr %63, ptr %64, align 8, !tbaa !13 %65 = tail call i32 (...) @esp_wifi_connect() #2 br label %66 66: ; preds = %50, %56, %62, %35, %31, %24, %37, %4, %13 ret void } declare i32 @ESP_LOGI(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @esp_timer_start_once(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ESP_LOGE(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @esp_wifi_connect(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_4__", !6, i64 0, !12, i64 8, !10, i64 16} !15 = !{!14, !10, i64 16} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_3__", !12, i64 0} !18 = !{!14, !12, i64 8}
; ModuleID = 'AnghaBench/esp-idf/examples/provisioning/custom_config/main/extr_app_prov.c_app_prov_event_handler.c' source_filename = "AnghaBench/esp-idf/examples/provisioning/custom_config/main/extr_app_prov.c_app_prov_event_handler.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @g_prov = common local_unnamed_addr global ptr null, align 8 @WIFI_EVENT = common local_unnamed_addr global i64 0, align 8 @WIFI_EVENT_STA_START = common local_unnamed_addr global i32 0, align 4 @TAG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"STA Start\00", align 1 @WIFI_PROV_STA_CONNECTING = common local_unnamed_addr global ptr null, align 8 @IP_EVENT = common local_unnamed_addr global i64 0, align 8 @IP_EVENT_STA_GOT_IP = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"STA Got IP\00", align 1 @WIFI_PROV_STA_CONNECTED = common local_unnamed_addr global ptr null, align 8 @WIFI_EVENT_STA_DISCONNECTED = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"STA Disconnected\00", align 1 @WIFI_PROV_STA_DISCONNECTED = common local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [23 x i8] c"Disconnect reason : %d\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"STA Auth Error\00", align 1 @WIFI_PROV_STA_AUTH_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"STA AP Not found\00", align 1 @WIFI_PROV_STA_AP_NOT_FOUND = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @app_prov_event_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @app_prov_event_handler(ptr nocapture readnone %0, i64 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = load ptr, ptr @g_prov, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %66, label %7 7: ; preds = %4 %8 = load i64, ptr @WIFI_EVENT, align 8, !tbaa !10 %9 = icmp eq i64 %8, %1 %10 = load i32, ptr @WIFI_EVENT_STA_START, align 4 %11 = icmp eq i32 %10, %2 %12 = select i1 %9, i1 %11, i1 false br i1 %12, label %13, label %18 13: ; preds = %7 %14 = load i32, ptr @TAG, align 4, !tbaa !12 %15 = tail call i32 @ESP_LOGI(i32 noundef %14, ptr noundef nonnull @.str) #2 %16 = load ptr, ptr @WIFI_PROV_STA_CONNECTING, align 8, !tbaa !6 %17 = load ptr, ptr @g_prov, align 8, !tbaa !6 store ptr %16, ptr %17, align 8, !tbaa !14 br label %66 18: ; preds = %7 %19 = load i64, ptr @IP_EVENT, align 8, !tbaa !10 %20 = icmp eq i64 %19, %1 %21 = load i32, ptr @IP_EVENT_STA_GOT_IP, align 4 %22 = icmp eq i32 %21, %2 %23 = select i1 %20, i1 %22, i1 false br i1 %23, label %24, label %37 24: ; preds = %18 %25 = load i32, ptr @TAG, align 4, !tbaa !12 %26 = tail call i32 @ESP_LOGI(i32 noundef %25, ptr noundef nonnull @.str.1) #2 %27 = load ptr, ptr @WIFI_PROV_STA_CONNECTED, align 8, !tbaa !6 %28 = load ptr, ptr @g_prov, align 8, !tbaa !6 store ptr %27, ptr %28, align 8, !tbaa !14 %29 = load ptr, ptr @g_prov, align 8, !tbaa !6 %30 = icmp eq ptr %29, null br i1 %30, label %66, label %31 31: ; preds = %24 %32 = getelementptr inbounds i8, ptr %29, i64 16 %33 = load i64, ptr %32, align 8, !tbaa !16 %34 = icmp eq i64 %33, 0 br i1 %34, label %66, label %35 35: ; preds = %31 %36 = tail call i32 @esp_timer_start_once(i64 noundef %33, i32 noundef 30000000) #2 br label %66 37: ; preds = %18 %38 = load i32, ptr @WIFI_EVENT_STA_DISCONNECTED, align 4 %39 = icmp eq i32 %38, %2 %40 = select i1 %9, i1 %39, i1 false br i1 %40, label %41, label %66 41: ; preds = %37 %42 = load i32, ptr @TAG, align 4, !tbaa !12 %43 = tail call i32 (i32, ptr, ...) @ESP_LOGE(i32 noundef %42, ptr noundef nonnull @.str.2) #2 %44 = load ptr, ptr @WIFI_PROV_STA_DISCONNECTED, align 8, !tbaa !6 %45 = load ptr, ptr @g_prov, align 8, !tbaa !6 store ptr %44, ptr %45, align 8, !tbaa !14 %46 = load i32, ptr @TAG, align 4, !tbaa !12 %47 = load i32, ptr %3, align 4, !tbaa !17 %48 = tail call i32 (i32, ptr, ...) @ESP_LOGE(i32 noundef %46, ptr noundef nonnull @.str.3, i32 noundef %47) #2 %49 = load i32, ptr %3, align 4, !tbaa !17 switch i32 %49, label %62 [ i32 132, label %50 i32 134, label %50 i32 130, label %50 i32 131, label %50 i32 133, label %50 i32 129, label %50 i32 128, label %56 ] 50: ; preds = %41, %41, %41, %41, %41, %41 %51 = load i32, ptr @TAG, align 4, !tbaa !12 %52 = tail call i32 @ESP_LOGI(i32 noundef %51, ptr noundef nonnull @.str.4) #2 %53 = load i32, ptr @WIFI_PROV_STA_AUTH_ERROR, align 4, !tbaa !12 %54 = load ptr, ptr @g_prov, align 8, !tbaa !6 %55 = getelementptr inbounds i8, ptr %54, i64 8 store i32 %53, ptr %55, align 8, !tbaa !19 br label %66 56: ; preds = %41 %57 = load i32, ptr @TAG, align 4, !tbaa !12 %58 = tail call i32 @ESP_LOGI(i32 noundef %57, ptr noundef nonnull @.str.5) #2 %59 = load i32, ptr @WIFI_PROV_STA_AP_NOT_FOUND, align 4, !tbaa !12 %60 = load ptr, ptr @g_prov, align 8, !tbaa !6 %61 = getelementptr inbounds i8, ptr %60, i64 8 store i32 %59, ptr %61, align 8, !tbaa !19 br label %66 62: ; preds = %41 %63 = load ptr, ptr @WIFI_PROV_STA_CONNECTING, align 8, !tbaa !6 %64 = load ptr, ptr @g_prov, align 8, !tbaa !6 store ptr %63, ptr %64, align 8, !tbaa !14 %65 = tail call i32 @esp_wifi_connect() #2 br label %66 66: ; preds = %50, %56, %62, %35, %31, %24, %37, %4, %13 ret void } declare i32 @ESP_LOGI(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @esp_timer_start_once(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ESP_LOGE(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @esp_wifi_connect(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_4__", !7, i64 0, !13, i64 8, !11, i64 16} !16 = !{!15, !11, i64 16} !17 = !{!18, !13, i64 0} !18 = !{!"TYPE_3__", !13, i64 0} !19 = !{!15, !13, i64 8}
esp-idf_examples_provisioning_custom_config_main_extr_app_prov.c_app_prov_event_handler
; ModuleID = 'AnghaBench/linux/arch/mips/kernel/extr_smp.c_flush_tlb_range_ipi.c' source_filename = "AnghaBench/linux/arch/mips/kernel/extr_smp.c_flush_tlb_range_ipi.c" target datalayout = "e-m:e-p270:32:32-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.flush_tlb_data = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @flush_tlb_range_ipi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @flush_tlb_range_ipi(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.flush_tlb_data, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.flush_tlb_data, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = load i32, ptr %0, align 4, !tbaa !11 %7 = tail call i32 @local_flush_tlb_range(i32 noundef %3, i32 noundef %5, i32 noundef %6) #2 ret void } declare i32 @local_flush_tlb_range(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 8} !6 = !{!"flush_tlb_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 4} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/mips/kernel/extr_smp.c_flush_tlb_range_ipi.c' source_filename = "AnghaBench/linux/arch/mips/kernel/extr_smp.c_flush_tlb_range_ipi.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 @flush_tlb_range_ipi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @flush_tlb_range_ipi(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = load i32, ptr %0, align 4, !tbaa !12 %7 = tail call i32 @local_flush_tlb_range(i32 noundef %3, i32 noundef %5, i32 noundef %6) #2 ret void } declare i32 @local_flush_tlb_range(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 8} !7 = !{!"flush_tlb_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 4} !12 = !{!7, !8, i64 0}
linux_arch_mips_kernel_extr_smp.c_flush_tlb_range_ipi
; ModuleID = 'AnghaBench/linux/drivers/staging/rts5208/extr_xd.c_xd_fill_pull_ctl_disable.c' source_filename = "AnghaBench/linux/drivers/staging/rts5208/extr_xd.c_xd_fill_pull_ctl_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" @WRITE_REG_CMD = dso_local local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL1 = dso_local local_unnamed_addr global i32 0, align 4 @XD_D3_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_D2_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_D1_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_D0_PD = dso_local local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL2 = dso_local local_unnamed_addr global i32 0, align 4 @XD_D7_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_D6_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_D5_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_D4_PD = dso_local local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL3 = dso_local local_unnamed_addr global i32 0, align 4 @XD_WP_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_CE_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_CLE_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_CD_PU = dso_local local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL4 = dso_local local_unnamed_addr global i32 0, align 4 @XD_RDY_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_WE_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_RE_PD = dso_local local_unnamed_addr global i32 0, align 4 @XD_ALE_PD = dso_local local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL5 = dso_local local_unnamed_addr global i32 0, align 4 @MS_INS_PU = dso_local local_unnamed_addr global i32 0, align 4 @SD_WP_PD = dso_local local_unnamed_addr global i32 0, align 4 @SD_CD_PU = dso_local local_unnamed_addr global i32 0, align 4 @SD_CMD_PD = dso_local local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL6 = dso_local local_unnamed_addr global i32 0, align 4 @MS_D5_PD = dso_local local_unnamed_addr global i32 0, align 4 @MS_D4_PD = dso_local local_unnamed_addr global i32 0, align 4 @QFN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xd_fill_pull_ctl_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xd_fill_pull_ctl_disable(ptr noundef %0) #0 { %2 = tail call i64 @CHECK_PID(ptr noundef %0, i32 noundef 21000) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %61, label %4 4: ; preds = %1 %5 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %6 = load i32, ptr @CARD_PULL_CTL1, align 4, !tbaa !5 %7 = load i32, ptr @XD_D3_PD, align 4, !tbaa !5 %8 = load i32, ptr @XD_D2_PD, align 4, !tbaa !5 %9 = or i32 %8, %7 %10 = load i32, ptr @XD_D1_PD, align 4, !tbaa !5 %11 = or i32 %9, %10 %12 = load i32, ptr @XD_D0_PD, align 4, !tbaa !5 %13 = or i32 %11, %12 %14 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %5, i32 noundef %6, i32 noundef 255, i32 noundef %13) #2 %15 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %16 = load i32, ptr @CARD_PULL_CTL2, align 4, !tbaa !5 %17 = load i32, ptr @XD_D7_PD, align 4, !tbaa !5 %18 = load i32, ptr @XD_D6_PD, align 4, !tbaa !5 %19 = or i32 %18, %17 %20 = load i32, ptr @XD_D5_PD, align 4, !tbaa !5 %21 = or i32 %19, %20 %22 = load i32, ptr @XD_D4_PD, align 4, !tbaa !5 %23 = or i32 %21, %22 %24 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %15, i32 noundef %16, i32 noundef 255, i32 noundef %23) #2 %25 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %26 = load i32, ptr @CARD_PULL_CTL3, align 4, !tbaa !5 %27 = load i32, ptr @XD_WP_PD, align 4, !tbaa !5 %28 = load i32, ptr @XD_CE_PD, align 4, !tbaa !5 %29 = or i32 %28, %27 %30 = load i32, ptr @XD_CLE_PD, align 4, !tbaa !5 %31 = or i32 %29, %30 %32 = load i32, ptr @XD_CD_PU, align 4, !tbaa !5 %33 = or i32 %31, %32 %34 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %25, i32 noundef %26, i32 noundef 255, i32 noundef %33) #2 %35 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %36 = load i32, ptr @CARD_PULL_CTL4, align 4, !tbaa !5 %37 = load i32, ptr @XD_RDY_PD, align 4, !tbaa !5 %38 = load i32, ptr @XD_WE_PD, align 4, !tbaa !5 %39 = or i32 %38, %37 %40 = load i32, ptr @XD_RE_PD, align 4, !tbaa !5 %41 = or i32 %39, %40 %42 = load i32, ptr @XD_ALE_PD, align 4, !tbaa !5 %43 = or i32 %41, %42 %44 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %35, i32 noundef %36, i32 noundef 255, i32 noundef %43) #2 %45 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %46 = load i32, ptr @CARD_PULL_CTL5, align 4, !tbaa !5 %47 = load i32, ptr @MS_INS_PU, align 4, !tbaa !5 %48 = load i32, ptr @SD_WP_PD, align 4, !tbaa !5 %49 = or i32 %48, %47 %50 = load i32, ptr @SD_CD_PU, align 4, !tbaa !5 %51 = or i32 %49, %50 %52 = load i32, ptr @SD_CMD_PD, align 4, !tbaa !5 %53 = or i32 %51, %52 %54 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %45, i32 noundef %46, i32 noundef 255, i32 noundef %53) #2 %55 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %56 = load i32, ptr @CARD_PULL_CTL6, align 4, !tbaa !5 %57 = load i32, ptr @MS_D5_PD, align 4, !tbaa !5 %58 = load i32, ptr @MS_D4_PD, align 4, !tbaa !5 %59 = or i32 %58, %57 %60 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %55, i32 noundef %56, i32 noundef 255, i32 noundef %59) #2 br label %81 61: ; preds = %1 %62 = tail call i64 @CHECK_PID(ptr noundef %0, i32 noundef 21128) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %81, label %64 64: ; preds = %61 %65 = load i32, ptr @QFN, align 4, !tbaa !5 %66 = tail call i64 @CHECK_BARO_PKG(ptr noundef %0, i32 noundef %65) #2 %67 = icmp eq i64 %66, 0 br i1 %67, label %81, label %68 68: ; preds = %64 %69 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %70 = load i32, ptr @CARD_PULL_CTL1, align 4, !tbaa !5 %71 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %69, i32 noundef %70, i32 noundef 255, i32 noundef 85) #2 %72 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %73 = load i32, ptr @CARD_PULL_CTL2, align 4, !tbaa !5 %74 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %72, i32 noundef %73, i32 noundef 255, i32 noundef 85) #2 %75 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %76 = load i32, ptr @CARD_PULL_CTL3, align 4, !tbaa !5 %77 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %75, i32 noundef %76, i32 noundef 255, i32 noundef 75) #2 %78 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !5 %79 = load i32, ptr @CARD_PULL_CTL4, align 4, !tbaa !5 %80 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %78, i32 noundef %79, i32 noundef 255, i32 noundef 105) #2 br label %81 81: ; preds = %61, %68, %64, %4 ret void } declare i64 @CHECK_PID(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtsx_add_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @CHECK_BARO_PKG(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rts5208/extr_xd.c_xd_fill_pull_ctl_disable.c' source_filename = "AnghaBench/linux/drivers/staging/rts5208/extr_xd.c_xd_fill_pull_ctl_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WRITE_REG_CMD = common local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL1 = common local_unnamed_addr global i32 0, align 4 @XD_D3_PD = common local_unnamed_addr global i32 0, align 4 @XD_D2_PD = common local_unnamed_addr global i32 0, align 4 @XD_D1_PD = common local_unnamed_addr global i32 0, align 4 @XD_D0_PD = common local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL2 = common local_unnamed_addr global i32 0, align 4 @XD_D7_PD = common local_unnamed_addr global i32 0, align 4 @XD_D6_PD = common local_unnamed_addr global i32 0, align 4 @XD_D5_PD = common local_unnamed_addr global i32 0, align 4 @XD_D4_PD = common local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL3 = common local_unnamed_addr global i32 0, align 4 @XD_WP_PD = common local_unnamed_addr global i32 0, align 4 @XD_CE_PD = common local_unnamed_addr global i32 0, align 4 @XD_CLE_PD = common local_unnamed_addr global i32 0, align 4 @XD_CD_PU = common local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL4 = common local_unnamed_addr global i32 0, align 4 @XD_RDY_PD = common local_unnamed_addr global i32 0, align 4 @XD_WE_PD = common local_unnamed_addr global i32 0, align 4 @XD_RE_PD = common local_unnamed_addr global i32 0, align 4 @XD_ALE_PD = common local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL5 = common local_unnamed_addr global i32 0, align 4 @MS_INS_PU = common local_unnamed_addr global i32 0, align 4 @SD_WP_PD = common local_unnamed_addr global i32 0, align 4 @SD_CD_PU = common local_unnamed_addr global i32 0, align 4 @SD_CMD_PD = common local_unnamed_addr global i32 0, align 4 @CARD_PULL_CTL6 = common local_unnamed_addr global i32 0, align 4 @MS_D5_PD = common local_unnamed_addr global i32 0, align 4 @MS_D4_PD = common local_unnamed_addr global i32 0, align 4 @QFN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xd_fill_pull_ctl_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xd_fill_pull_ctl_disable(ptr noundef %0) #0 { %2 = tail call i64 @CHECK_PID(ptr noundef %0, i32 noundef 21000) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %61, label %4 4: ; preds = %1 %5 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %6 = load i32, ptr @CARD_PULL_CTL1, align 4, !tbaa !6 %7 = load i32, ptr @XD_D3_PD, align 4, !tbaa !6 %8 = load i32, ptr @XD_D2_PD, align 4, !tbaa !6 %9 = or i32 %8, %7 %10 = load i32, ptr @XD_D1_PD, align 4, !tbaa !6 %11 = or i32 %9, %10 %12 = load i32, ptr @XD_D0_PD, align 4, !tbaa !6 %13 = or i32 %11, %12 %14 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %5, i32 noundef %6, i32 noundef 255, i32 noundef %13) #2 %15 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %16 = load i32, ptr @CARD_PULL_CTL2, align 4, !tbaa !6 %17 = load i32, ptr @XD_D7_PD, align 4, !tbaa !6 %18 = load i32, ptr @XD_D6_PD, align 4, !tbaa !6 %19 = or i32 %18, %17 %20 = load i32, ptr @XD_D5_PD, align 4, !tbaa !6 %21 = or i32 %19, %20 %22 = load i32, ptr @XD_D4_PD, align 4, !tbaa !6 %23 = or i32 %21, %22 %24 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %15, i32 noundef %16, i32 noundef 255, i32 noundef %23) #2 %25 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %26 = load i32, ptr @CARD_PULL_CTL3, align 4, !tbaa !6 %27 = load i32, ptr @XD_WP_PD, align 4, !tbaa !6 %28 = load i32, ptr @XD_CE_PD, align 4, !tbaa !6 %29 = or i32 %28, %27 %30 = load i32, ptr @XD_CLE_PD, align 4, !tbaa !6 %31 = or i32 %29, %30 %32 = load i32, ptr @XD_CD_PU, align 4, !tbaa !6 %33 = or i32 %31, %32 %34 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %25, i32 noundef %26, i32 noundef 255, i32 noundef %33) #2 %35 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %36 = load i32, ptr @CARD_PULL_CTL4, align 4, !tbaa !6 %37 = load i32, ptr @XD_RDY_PD, align 4, !tbaa !6 %38 = load i32, ptr @XD_WE_PD, align 4, !tbaa !6 %39 = or i32 %38, %37 %40 = load i32, ptr @XD_RE_PD, align 4, !tbaa !6 %41 = or i32 %39, %40 %42 = load i32, ptr @XD_ALE_PD, align 4, !tbaa !6 %43 = or i32 %41, %42 %44 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %35, i32 noundef %36, i32 noundef 255, i32 noundef %43) #2 %45 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %46 = load i32, ptr @CARD_PULL_CTL5, align 4, !tbaa !6 %47 = load i32, ptr @MS_INS_PU, align 4, !tbaa !6 %48 = load i32, ptr @SD_WP_PD, align 4, !tbaa !6 %49 = or i32 %48, %47 %50 = load i32, ptr @SD_CD_PU, align 4, !tbaa !6 %51 = or i32 %49, %50 %52 = load i32, ptr @SD_CMD_PD, align 4, !tbaa !6 %53 = or i32 %51, %52 %54 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %45, i32 noundef %46, i32 noundef 255, i32 noundef %53) #2 %55 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %56 = load i32, ptr @CARD_PULL_CTL6, align 4, !tbaa !6 %57 = load i32, ptr @MS_D5_PD, align 4, !tbaa !6 %58 = load i32, ptr @MS_D4_PD, align 4, !tbaa !6 %59 = or i32 %58, %57 %60 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %55, i32 noundef %56, i32 noundef 255, i32 noundef %59) #2 br label %81 61: ; preds = %1 %62 = tail call i64 @CHECK_PID(ptr noundef %0, i32 noundef 21128) #2 %63 = icmp eq i64 %62, 0 br i1 %63, label %81, label %64 64: ; preds = %61 %65 = load i32, ptr @QFN, align 4, !tbaa !6 %66 = tail call i64 @CHECK_BARO_PKG(ptr noundef %0, i32 noundef %65) #2 %67 = icmp eq i64 %66, 0 br i1 %67, label %81, label %68 68: ; preds = %64 %69 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %70 = load i32, ptr @CARD_PULL_CTL1, align 4, !tbaa !6 %71 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %69, i32 noundef %70, i32 noundef 255, i32 noundef 85) #2 %72 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %73 = load i32, ptr @CARD_PULL_CTL2, align 4, !tbaa !6 %74 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %72, i32 noundef %73, i32 noundef 255, i32 noundef 85) #2 %75 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %76 = load i32, ptr @CARD_PULL_CTL3, align 4, !tbaa !6 %77 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %75, i32 noundef %76, i32 noundef 255, i32 noundef 75) #2 %78 = load i32, ptr @WRITE_REG_CMD, align 4, !tbaa !6 %79 = load i32, ptr @CARD_PULL_CTL4, align 4, !tbaa !6 %80 = tail call i32 @rtsx_add_cmd(ptr noundef %0, i32 noundef %78, i32 noundef %79, i32 noundef 255, i32 noundef 105) #2 br label %81 81: ; preds = %61, %68, %64, %4 ret void } declare i64 @CHECK_PID(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rtsx_add_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @CHECK_BARO_PKG(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_rts5208_extr_xd.c_xd_fill_pull_ctl_disable
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/uwb/wlp/extr_messages.c_wlp_build_assoc_f0.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/uwb/wlp/extr_messages.c_wlp_build_assoc_f0.c" target datalayout = "e-m:e-p270:32:32-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.wlp_nonce = type { i32 } %struct.wlp_frame_assoc = type { i32, i32, i32, %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32, i32 } %struct.anon = type { %struct.wlp_frame_assoc, %struct.wlp_attr_enonce, %struct.wlp_attr_rnonce, %struct.wlp_attr_wlp_assc_err } %struct.wlp_attr_enonce = type { i32 } %struct.wlp_attr_rnonce = type { i32 } %struct.wlp_attr_wlp_assc_err = type { i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [59 x i8] c"WLP: Unable to allocate memory for F0 association frame. \0A\00", align 1 @WLP_PROTOCOL_ID = dso_local local_unnamed_addr global i32 0, align 4 @WLP_FRAME_ASSOCIATION = dso_local local_unnamed_addr global i32 0, align 4 @WLP_ASSOC_F0 = dso_local local_unnamed_addr global i32 0, align 4 @WLP_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wlp_build_assoc_f0], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wlp_build_assoc_f0(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = alloca %struct.wlp_nonce, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %7 = tail call ptr @dev_alloc_skb(i32 noundef 32) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %3 %10 = sub nsw i32 0, %6 %11 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str) #3 br label %35 12: ; preds = %3 %13 = load i64, ptr %7, align 8, !tbaa !12 %14 = inttoptr i64 %13 to ptr %15 = load i32, ptr @WLP_PROTOCOL_ID, align 4, !tbaa !10 %16 = tail call i32 @cpu_to_le16(i32 noundef %15) #3 %17 = getelementptr inbounds %struct.wlp_frame_assoc, ptr %14, i64 0, i32 3 %18 = getelementptr inbounds %struct.wlp_frame_assoc, ptr %14, i64 0, i32 3, i32 1 store i32 %16, ptr %18, align 4, !tbaa !15 %19 = load i32, ptr @WLP_FRAME_ASSOCIATION, align 4, !tbaa !10 store i32 %19, ptr %17, align 4, !tbaa !22 %20 = load i32, ptr @WLP_ASSOC_F0, align 4, !tbaa !10 %21 = getelementptr inbounds %struct.wlp_frame_assoc, ptr %14, i64 0, i32 2 store i32 %20, ptr %21, align 4, !tbaa !23 %22 = getelementptr inbounds %struct.wlp_frame_assoc, ptr %14, i64 0, i32 1 %23 = load i32, ptr @WLP_VERSION, align 4, !tbaa !10 %24 = tail call i32 @wlp_set_version(ptr noundef nonnull %22, i32 noundef %23) #3 %25 = load i32, ptr @WLP_ASSOC_F0, align 4, !tbaa !10 %26 = tail call i32 @wlp_set_msg_type(ptr noundef %14, i32 noundef %25) #3 %27 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 4) #3 %28 = getelementptr inbounds %struct.anon, ptr %14, i64 0, i32 1 %29 = call i32 @wlp_set_enonce(ptr noundef nonnull %28, ptr noundef nonnull %4) #3 %30 = getelementptr inbounds %struct.anon, ptr %14, i64 0, i32 2 %31 = call i32 @wlp_set_rnonce(ptr noundef nonnull %30, ptr noundef nonnull %4) #3 %32 = getelementptr inbounds %struct.anon, ptr %14, i64 0, i32 3 %33 = call i32 @wlp_set_wlp_assc_err(ptr noundef nonnull %32, i32 noundef %2) #3 %34 = call i32 @skb_put(ptr noundef nonnull %7, i32 noundef 32) #3 store ptr %7, ptr %1, align 8, !tbaa !24 br label %35 35: ; preds = %12, %9 %36 = phi i32 [ %10, %9 ], [ 0, %12 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_alloc_skb(i32 noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @wlp_set_version(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wlp_set_msg_type(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wlp_set_enonce(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wlp_set_rnonce(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wlp_set_wlp_assc_err(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"wlp", !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 = !{!"sk_buff", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !11, i64 16} !16 = !{!"", !17, i64 0, !19, i64 20, !20, i64 24, !21, i64 28} !17 = !{!"wlp_frame_assoc", !11, i64 0, !11, i64 4, !11, i64 8, !18, i64 12} !18 = !{!"TYPE_6__", !11, i64 0, !11, i64 4} !19 = !{!"wlp_attr_enonce", !11, i64 0} !20 = !{!"wlp_attr_rnonce", !11, i64 0} !21 = !{!"wlp_attr_wlp_assc_err", !11, i64 0} !22 = !{!16, !11, i64 12} !23 = !{!16, !11, i64 8} !24 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/uwb/wlp/extr_messages.c_wlp_build_assoc_f0.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/uwb/wlp/extr_messages.c_wlp_build_assoc_f0.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.wlp_nonce = type { i32 } @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [59 x i8] c"WLP: Unable to allocate memory for F0 association frame. \0A\00", align 1 @WLP_PROTOCOL_ID = common local_unnamed_addr global i32 0, align 4 @WLP_FRAME_ASSOCIATION = common local_unnamed_addr global i32 0, align 4 @WLP_ASSOC_F0 = common local_unnamed_addr global i32 0, align 4 @WLP_VERSION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wlp_build_assoc_f0], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @wlp_build_assoc_f0(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = alloca %struct.wlp_nonce, align 4 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %7 = tail call ptr @dev_alloc_skb(i32 noundef 32) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %3 %10 = sub nsw i32 0, %6 %11 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str) #3 br label %35 12: ; preds = %3 %13 = load i64, ptr %7, align 8, !tbaa !13 %14 = inttoptr i64 %13 to ptr %15 = load i32, ptr @WLP_PROTOCOL_ID, align 4, !tbaa !11 %16 = tail call i32 @cpu_to_le16(i32 noundef %15) #3 %17 = getelementptr inbounds i8, ptr %14, i64 12 %18 = getelementptr inbounds i8, ptr %14, i64 16 store i32 %16, ptr %18, align 4, !tbaa !16 %19 = load i32, ptr @WLP_FRAME_ASSOCIATION, align 4, !tbaa !11 store i32 %19, ptr %17, align 4, !tbaa !23 %20 = load i32, ptr @WLP_ASSOC_F0, align 4, !tbaa !11 %21 = getelementptr inbounds i8, ptr %14, i64 8 store i32 %20, ptr %21, align 4, !tbaa !24 %22 = getelementptr inbounds i8, ptr %14, i64 4 %23 = load i32, ptr @WLP_VERSION, align 4, !tbaa !11 %24 = tail call i32 @wlp_set_version(ptr noundef nonnull %22, i32 noundef %23) #3 %25 = load i32, ptr @WLP_ASSOC_F0, align 4, !tbaa !11 %26 = tail call i32 @wlp_set_msg_type(ptr noundef %14, i32 noundef %25) #3 %27 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 4) #3 %28 = getelementptr inbounds i8, ptr %14, i64 20 %29 = call i32 @wlp_set_enonce(ptr noundef nonnull %28, ptr noundef nonnull %4) #3 %30 = getelementptr inbounds i8, ptr %14, i64 24 %31 = call i32 @wlp_set_rnonce(ptr noundef nonnull %30, ptr noundef nonnull %4) #3 %32 = getelementptr inbounds i8, ptr %14, i64 28 %33 = call i32 @wlp_set_wlp_assc_err(ptr noundef nonnull %32, i32 noundef %2) #3 %34 = call i32 @skb_put(ptr noundef nonnull %7, i32 noundef 32) #3 store ptr %7, ptr %1, align 8, !tbaa !25 br label %35 35: ; preds = %12, %9 %36 = phi i32 [ %10, %9 ], [ 0, %12 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_alloc_skb(i32 noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @wlp_set_version(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wlp_set_msg_type(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @wlp_set_enonce(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wlp_set_rnonce(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wlp_set_wlp_assc_err(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"wlp", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"sk_buff", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!17, !12, i64 16} !17 = !{!"", !18, i64 0, !20, i64 20, !21, i64 24, !22, i64 28} !18 = !{!"wlp_frame_assoc", !12, i64 0, !12, i64 4, !12, i64 8, !19, i64 12} !19 = !{!"TYPE_6__", !12, i64 0, !12, i64 4} !20 = !{!"wlp_attr_enonce", !12, i64 0} !21 = !{!"wlp_attr_rnonce", !12, i64 0} !22 = !{!"wlp_attr_wlp_assc_err", !12, i64 0} !23 = !{!17, !12, i64 12} !24 = !{!17, !12, i64 8} !25 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_uwb_wlp_extr_messages.c_wlp_build_assoc_f0
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lochnagar-hwmon.c_read_power.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_lochnagar-hwmon.c_read_power.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"SYSVDD\00", align 1 @lochnagar_chan_names = dso_local local_unnamed_addr global ptr null, align 8 @LN2_PWR_UNITS = dso_local local_unnamed_addr global i32 0, align 4 @LN2_VOLT = dso_local local_unnamed_addr global i32 0, align 4 @LN2_CURR = dso_local local_unnamed_addr global i32 0, align 4 @LONG_MAX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_power], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_power(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = sext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = load ptr, ptr @lochnagar_chan_names, align 8, !tbaa !12 %10 = getelementptr inbounds i32, ptr %9, i64 %6 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = tail call i32 @strcmp(ptr noundef nonnull @.str, i32 noundef %11) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %3 %15 = load i32, ptr @LN2_PWR_UNITS, align 4, !tbaa !10 %16 = mul nsw i32 %15, 5 %17 = sext i32 %16 to i64 br label %27 18: ; preds = %3 %19 = load i32, ptr @LN2_VOLT, align 4, !tbaa !10 %20 = load i32, ptr @LN2_PWR_UNITS, align 4, !tbaa !10 %21 = tail call i32 @read_sensor(ptr noundef %0, i32 noundef %1, i32 noundef %19, i32 noundef 1, i32 noundef %20, ptr noundef %2) #3 %22 = icmp slt i32 %21, 0 br i1 %22, label %41, label %23 23: ; preds = %18 %24 = load i64, ptr %2, align 8, !tbaa !13 %25 = tail call i64 @abs(i64 noundef %24) #3 %26 = load i32, ptr @LN2_PWR_UNITS, align 4, !tbaa !10 br label %27 27: ; preds = %23, %14 %28 = phi i32 [ %26, %23 ], [ %15, %14 ] %29 = phi i64 [ %25, %23 ], [ %17, %14 ] %30 = load i32, ptr @LN2_CURR, align 4, !tbaa !10 %31 = tail call i32 @read_sensor(ptr noundef %0, i32 noundef %1, i32 noundef %30, i32 noundef %8, i32 noundef %28, ptr noundef %2) #3 %32 = icmp slt i32 %31, 0 br i1 %32, label %41, label %33 33: ; preds = %27 %34 = load i64, ptr %2, align 8, !tbaa !13 %35 = tail call i64 @abs(i64 noundef %34) #3 %36 = mul nsw i64 %35, %29 %37 = load i32, ptr @LN2_PWR_UNITS, align 4, !tbaa !10 %38 = tail call i64 @DIV_ROUND_CLOSEST_ULL(i64 noundef %36, i32 noundef %37) #3 %39 = load i64, ptr @LONG_MAX, align 8, !tbaa !13 %40 = tail call i64 @llvm.smin.i64(i64 %38, i64 %39) store i64 %40, ptr %2, align 8, !tbaa !13 br label %41 41: ; preds = %27, %18, %33 %42 = phi i32 [ 0, %33 ], [ %21, %18 ], [ %31, %27 ] ret i32 %42 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_sensor(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @abs(i64 noundef) local_unnamed_addr #1 declare i64 @DIV_ROUND_CLOSEST_ULL(i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"lochnagar_hwmon", !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 = !{!7, !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_lochnagar-hwmon.c_read_power.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_lochnagar-hwmon.c_read_power.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [7 x i8] c"SYSVDD\00", align 1 @lochnagar_chan_names = common local_unnamed_addr global ptr null, align 8 @LN2_PWR_UNITS = common local_unnamed_addr global i32 0, align 4 @LN2_VOLT = common local_unnamed_addr global i32 0, align 4 @LN2_CURR = common local_unnamed_addr global i32 0, align 4 @LONG_MAX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @read_power], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @read_power(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = sext i32 %1 to i64 %7 = getelementptr inbounds i32, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = load ptr, ptr @lochnagar_chan_names, align 8, !tbaa !13 %10 = getelementptr inbounds i32, ptr %9, i64 %6 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = tail call i32 @strcmp(ptr noundef nonnull @.str, i32 noundef %11) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %3 %15 = load i32, ptr @LN2_PWR_UNITS, align 4, !tbaa !11 %16 = mul nsw i32 %15, 5 %17 = sext i32 %16 to i64 br label %27 18: ; preds = %3 %19 = load i32, ptr @LN2_VOLT, align 4, !tbaa !11 %20 = load i32, ptr @LN2_PWR_UNITS, align 4, !tbaa !11 %21 = tail call i32 @read_sensor(ptr noundef %0, i32 noundef %1, i32 noundef %19, i32 noundef 1, i32 noundef %20, ptr noundef %2) #3 %22 = icmp slt i32 %21, 0 br i1 %22, label %41, label %23 23: ; preds = %18 %24 = load i64, ptr %2, align 8, !tbaa !14 %25 = tail call i64 @abs(i64 noundef %24) #3 %26 = load i32, ptr @LN2_PWR_UNITS, align 4, !tbaa !11 br label %27 27: ; preds = %23, %14 %28 = phi i32 [ %26, %23 ], [ %15, %14 ] %29 = phi i64 [ %25, %23 ], [ %17, %14 ] %30 = load i32, ptr @LN2_CURR, align 4, !tbaa !11 %31 = tail call i32 @read_sensor(ptr noundef %0, i32 noundef %1, i32 noundef %30, i32 noundef %8, i32 noundef %28, ptr noundef %2) #3 %32 = icmp slt i32 %31, 0 br i1 %32, label %41, label %33 33: ; preds = %27 %34 = load i64, ptr %2, align 8, !tbaa !14 %35 = tail call i64 @abs(i64 noundef %34) #3 %36 = mul nsw i64 %35, %29 %37 = load i32, ptr @LN2_PWR_UNITS, align 4, !tbaa !11 %38 = tail call i64 @DIV_ROUND_CLOSEST_ULL(i64 noundef %36, i32 noundef %37) #3 %39 = load i64, ptr @LONG_MAX, align 8, !tbaa !14 %40 = tail call i64 @llvm.smin.i64(i64 %38, i64 %39) store i64 %40, ptr %2, align 8, !tbaa !14 br label %41 41: ; preds = %27, %18, %33 %42 = phi i32 [ 0, %33 ], [ %21, %18 ], [ %31, %27 ] ret i32 %42 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_sensor(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @abs(i64 noundef) local_unnamed_addr #1 declare i64 @DIV_ROUND_CLOSEST_ULL(i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"lochnagar_hwmon", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0}
linux_drivers_hwmon_extr_lochnagar-hwmon.c_read_power
; ModuleID = 'AnghaBench/linux/drivers/mtd/ubi/extr_wl.c_wl_get_wle.c' source_filename = "AnghaBench/linux/drivers/mtd/ubi/extr_wl.c_wl_get_wle.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ubi_device = type { i32, i32 } %struct.ubi_wl_entry = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [20 x i8] c"no free eraseblocks\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"PEB %d EC %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @wl_get_wle], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @wl_get_wle(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.ubi_device, ptr %0, i64 0, i32 1 %3 = tail call ptr @find_mean_wl_entry(ptr noundef %0, ptr noundef nonnull %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @ubi_err(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %17 7: ; preds = %1 %8 = tail call i32 @self_check_in_wl_tree(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %2) #2 %9 = getelementptr inbounds %struct.ubi_wl_entry, ptr %3, i64 0, i32 2 %10 = tail call i32 @rb_erase(ptr noundef nonnull %9, ptr noundef nonnull %2) #2 %11 = load i32, ptr %0, align 4, !tbaa !5 %12 = add nsw i32 %11, -1 store i32 %12, ptr %0, align 4, !tbaa !5 %13 = getelementptr inbounds %struct.ubi_wl_entry, ptr %3, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !10 %15 = load i32, ptr %3, align 4, !tbaa !13 %16 = tail call i32 @dbg_wl(ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %15) #2 br label %17 17: ; preds = %7, %5 ret ptr %3 } declare ptr @find_mean_wl_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ubi_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @self_check_in_wl_tree(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rb_erase(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dbg_wl(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ubi_device", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"ubi_wl_entry", !7, i64 0, !7, i64 4, !12, i64 8} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!11, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/mtd/ubi/extr_wl.c_wl_get_wle.c' source_filename = "AnghaBench/linux/drivers/mtd/ubi/extr_wl.c_wl_get_wle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [20 x i8] c"no free eraseblocks\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"PEB %d EC %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @wl_get_wle], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @wl_get_wle(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call ptr @find_mean_wl_entry(ptr noundef %0, ptr noundef nonnull %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = tail call i32 @ubi_err(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %17 7: ; preds = %1 %8 = tail call i32 @self_check_in_wl_tree(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %2) #2 %9 = getelementptr inbounds i8, ptr %3, i64 8 %10 = tail call i32 @rb_erase(ptr noundef nonnull %9, ptr noundef nonnull %2) #2 %11 = load i32, ptr %0, align 4, !tbaa !6 %12 = add nsw i32 %11, -1 store i32 %12, ptr %0, align 4, !tbaa !6 %13 = getelementptr inbounds i8, ptr %3, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = load i32, ptr %3, align 4, !tbaa !14 %16 = tail call i32 @dbg_wl(ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %15) #2 br label %17 17: ; preds = %7, %5 ret ptr %3 } declare ptr @find_mean_wl_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ubi_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @self_check_in_wl_tree(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rb_erase(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dbg_wl(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ubi_device", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 4} !12 = !{!"ubi_wl_entry", !8, i64 0, !8, i64 4, !13, i64 8} !13 = !{!"TYPE_2__", !8, i64 0} !14 = !{!12, !8, i64 0}
linux_drivers_mtd_ubi_extr_wl.c_wl_get_wle
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-cppbuiltin.c_builtin_define_with_int_value.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-cppbuiltin.c_builtin_define_with_int_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" @HOST_WIDE_INT_PRINT_DEC = dso_local local_unnamed_addr global ptr null, align 8 @parse_in = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @builtin_define_with_int_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @builtin_define_with_int_value(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %4 = add i64 %3, 20 %5 = tail call i64 @alloca(i64 noundef %4) #3 %6 = inttoptr i64 %5 to ptr %7 = tail call i32 @memcpy(ptr noundef %6, ptr noundef %0, i64 noundef %3) #3 %8 = getelementptr inbounds i8, ptr %6, i64 %3 store i8 61, ptr %8, align 1, !tbaa !5 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load ptr, ptr @HOST_WIDE_INT_PRINT_DEC, align 8, !tbaa !8 %11 = tail call i32 @sprintf(ptr noundef nonnull %9, ptr noundef %10, i32 noundef %1) #3 %12 = load i32, ptr @parse_in, align 4, !tbaa !10 %13 = tail call i32 @cpp_define(i32 noundef %12, ptr noundef %6) #3 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i64 @alloca(i64 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpp_define(i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-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, !9, i64 0} !9 = !{!"any pointer", !6, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_c-cppbuiltin.c_builtin_define_with_int_value.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_c-cppbuiltin.c_builtin_define_with_int_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HOST_WIDE_INT_PRINT_DEC = common local_unnamed_addr global ptr null, align 8 @parse_in = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @builtin_define_with_int_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @builtin_define_with_int_value(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #3 %4 = add i64 %3, 20 %5 = tail call i64 @alloca(i64 noundef %4) #3 %6 = inttoptr i64 %5 to ptr %7 = tail call i32 @memcpy(ptr noundef %6, ptr noundef %0, i64 noundef %3) #3 %8 = getelementptr inbounds i8, ptr %6, i64 %3 store i8 61, ptr %8, align 1, !tbaa !6 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load ptr, ptr @HOST_WIDE_INT_PRINT_DEC, align 8, !tbaa !9 %11 = tail call i32 @sprintf(ptr noundef nonnull %9, ptr noundef %10, i32 noundef %1) #3 %12 = load i32, ptr @parse_in, align 4, !tbaa !11 %13 = tail call i32 @cpp_define(i32 noundef %12, ptr noundef %6) #3 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 declare i64 @alloca(i64 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpp_define(i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
freebsd_contrib_gcc_extr_c-cppbuiltin.c_builtin_define_with_int_value
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/lguest/extr_boot.c_lguest_flush_tlb_single.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/lguest/extr_boot.c_lguest_flush_tlb_single.c" target datalayout = "e-m:e-p270:32:32-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 } @LHCALL_SET_PTE = dso_local local_unnamed_addr global i32 0, align 4 @lguest_data = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lguest_flush_tlb_single], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @lguest_flush_tlb_single(i64 noundef %0) #0 { %2 = load i32, ptr @LHCALL_SET_PTE, align 4, !tbaa !5 %3 = load i32, ptr @lguest_data, align 4, !tbaa !9 %4 = tail call i32 @lazy_hcall3(i32 noundef %2, i32 noundef %3, i64 noundef %0, i32 noundef 0) #2 ret void } declare i32 @lazy_hcall3(i32 noundef, i32 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/lguest/extr_boot.c_lguest_flush_tlb_single.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/lguest/extr_boot.c_lguest_flush_tlb_single.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 } @LHCALL_SET_PTE = common local_unnamed_addr global i32 0, align 4 @lguest_data = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @lguest_flush_tlb_single], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @lguest_flush_tlb_single(i64 noundef %0) #0 { %2 = load i32, ptr @LHCALL_SET_PTE, align 4, !tbaa !6 %3 = load i32, ptr @lguest_data, align 4, !tbaa !10 %4 = tail call i32 @lazy_hcall3(i32 noundef %2, i32 noundef %3, i64 noundef %0, i32 noundef 0) #2 ret void } declare i32 @lazy_hcall3(i32 noundef, i32 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
fastsocket_kernel_arch_x86_lguest_extr_boot.c_lguest_flush_tlb_single
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_opacket.c_packet_close.c' source_filename = "AnghaBench/freebsd/crypto/openssh/extr_opacket.c_packet_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @active_state = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @packet_close() local_unnamed_addr #0 { %1 = load ptr, ptr @active_state, align 8, !tbaa !5 %2 = tail call i32 @ssh_packet_close(ptr noundef %1) #2 store ptr null, ptr @active_state, align 8, !tbaa !5 ret void } declare i32 @ssh_packet_close(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/freebsd/crypto/openssh/extr_opacket.c_packet_close.c' source_filename = "AnghaBench/freebsd/crypto/openssh/extr_opacket.c_packet_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @active_state = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @packet_close() local_unnamed_addr #0 { %1 = load ptr, ptr @active_state, align 8, !tbaa !6 %2 = tail call i32 @ssh_packet_close(ptr noundef %1) #2 store ptr null, ptr @active_state, align 8, !tbaa !6 ret void } declare i32 @ssh_packet_close(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"}
freebsd_crypto_openssh_extr_opacket.c_packet_close
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb.h_VerticalRetraceWait.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb.h_VerticalRetraceWait.c" target datalayout = "e-m:e-p270:32:32-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 @VerticalRetraceWait], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @VerticalRetraceWait(ptr noundef %0) #0 { %2 = tail call i32 @vga_out8(i32 noundef 980, i32 noundef 23, ptr noundef %0) #2 %3 = tail call i32 @vga_in8(i32 noundef 981, ptr noundef %0) #2 %4 = and i32 %3, 128 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1, %6 %7 = tail call i32 @vga_in8(i32 noundef 986, ptr noundef %0) #2 %8 = and i32 %7, 8 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %6, !llvm.loop !5 10: ; preds = %6, %10 %11 = tail call i32 @vga_in8(i32 noundef 986, ptr noundef %0) #2 %12 = and i32 %11, 8 %13 = icmp eq i32 %12, 0 br i1 %13, label %10, label %14, !llvm.loop !7 14: ; preds = %10, %1 ret void } declare i32 @vga_out8(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vga_in8(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = distinct !{!7, !6}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb.h_VerticalRetraceWait.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/savage/extr_savagefb.h_VerticalRetraceWait.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 @VerticalRetraceWait], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @VerticalRetraceWait(ptr noundef %0) #0 { %2 = tail call i32 @vga_out8(i32 noundef 980, i32 noundef 23, ptr noundef %0) #2 %3 = tail call i32 @vga_in8(i32 noundef 981, ptr noundef %0) #2 %4 = and i32 %3, 128 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1, %6 %7 = tail call i32 @vga_in8(i32 noundef 986, ptr noundef %0) #2 %8 = and i32 %7, 8 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %6, !llvm.loop !6 10: ; preds = %6, %10 %11 = tail call i32 @vga_in8(i32 noundef 986, ptr noundef %0) #2 %12 = and i32 %11, 8 %13 = icmp eq i32 %12, 0 br i1 %13, label %10, label %14, !llvm.loop !8 14: ; preds = %10, %1 ret void } declare i32 @vga_out8(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vga_in8(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
linux_drivers_video_fbdev_savage_extr_savagefb.h_VerticalRetraceWait
; ModuleID = 'AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_timecmp.c' source_filename = "AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_timecmp.c" target datalayout = "e-m:e-p270:32:32-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 { double, i64, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @timecmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = load double, ptr %3, align 8, !tbaa !9 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load double, ptr %5, align 8, !tbaa !9 %7 = fsub double %4, %6 %8 = fcmp ogt double %7, 0.000000e+00 br i1 %8, label %26, label %9 9: ; preds = %2 %10 = fcmp olt double %7, 0.000000e+00 br i1 %10, label %26, label %11 11: ; preds = %9 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = sub nsw i64 %13, %15 %17 = icmp sgt i64 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %11 %19 = icmp slt i64 %16, 0 br i1 %19, label %26, label %20 20: ; preds = %18 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !15 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 2 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = tail call i32 @strcmp(i32 noundef %22, i32 noundef %24) #2 br label %26 26: ; preds = %18, %11, %9, %2, %20 %27 = phi i32 [ %25, %20 ], [ 1, %2 ], [ -1, %9 ], [ 1, %11 ], [ -1, %18 ] ret i32 %27 } declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0, !12, i64 8, !13, i64 16} !11 = !{!"double", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!"int", !7, i64 0} !14 = !{!10, !12, i64 8} !15 = !{!10, !13, i64 16}
; ModuleID = 'AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_timecmp.c' source_filename = "AnghaBench/freebsd/usr.bin/gprof/extr_printgprof.c_timecmp.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 @timecmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = load double, ptr %3, align 8, !tbaa !10 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load double, ptr %5, align 8, !tbaa !10 %7 = fsub double %4, %6 %8 = fcmp ogt double %7, 0.000000e+00 br i1 %8, label %26, label %9 9: ; preds = %2 %10 = fcmp olt double %7, 0.000000e+00 br i1 %10, label %26, label %11 11: ; preds = %9 %12 = getelementptr inbounds i8, ptr %3, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds i8, ptr %5, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = sub nsw i64 %13, %15 %17 = icmp sgt i64 %16, 0 br i1 %17, label %26, label %18 18: ; preds = %11 %19 = icmp slt i64 %16, 0 br i1 %19, label %26, label %20 20: ; preds = %18 %21 = getelementptr inbounds i8, ptr %5, i64 16 %22 = load i32, ptr %21, align 8, !tbaa !16 %23 = getelementptr inbounds i8, ptr %3, i64 16 %24 = load i32, ptr %23, align 8, !tbaa !16 %25 = tail call i32 @strcmp(i32 noundef %22, i32 noundef %24) #2 br label %26 26: ; preds = %18, %11, %9, %2, %20 %27 = phi i32 [ %25, %20 ], [ 1, %2 ], [ -1, %9 ], [ 1, %11 ], [ -1, %18 ] ret i32 %27 } declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8, !14, i64 16} !12 = !{!"double", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!11, !13, i64 8} !16 = !{!11, !14, i64 16}
freebsd_usr.bin_gprof_extr_printgprof.c_timecmp
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_s3c2400.c_s3c2400_serial_probe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_s3c2400.c_s3c2400_serial_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @s3c2400_uart_inf = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @s3c2400_serial_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @s3c2400_serial_probe(ptr noundef %0) #0 { %2 = tail call i32 @s3c24xx_serial_probe(ptr noundef %0, ptr noundef nonnull @s3c2400_uart_inf) #2 ret i32 %2 } declare i32 @s3c24xx_serial_probe(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_s3c2400.c_s3c2400_serial_probe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_s3c2400.c_s3c2400_serial_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @s3c2400_uart_inf = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @s3c2400_serial_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @s3c2400_serial_probe(ptr noundef %0) #0 { %2 = tail call i32 @s3c24xx_serial_probe(ptr noundef %0, ptr noundef nonnull @s3c2400_uart_inf) #2 ret i32 %2 } declare i32 @s3c24xx_serial_probe(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_serial_extr_s3c2400.c_s3c2400_serial_probe
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/intelfb/extr_intelfbdrv.c_get_opt_bool.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/intelfb/extr_intelfbdrv.c_get_opt_bool.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"no\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_opt_bool], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @get_opt_bool(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) #0 { %4 = icmp eq ptr %2, null br i1 %4, label %29, label %5 5: ; preds = %3 %6 = tail call i64 @OPT_EQUAL(ptr noundef %0, ptr noundef %1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %20, label %8 8: ; preds = %5 %9 = tail call i32 @strlen(ptr noundef %1) #2 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %0, i64 %10 %12 = load i8, ptr %11, align 1, !tbaa !5 %13 = icmp eq i8 %12, 61 br i1 %13, label %14, label %27 14: ; preds = %8 %15 = tail call i32 @strlen(ptr noundef %1) #2 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %0, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = tail call i32 @simple_strtoul(ptr noundef nonnull %18, ptr noundef null, i32 noundef 0) #2 br label %27 20: ; preds = %5 %21 = tail call i64 @OPT_EQUAL(ptr noundef %0, ptr noundef nonnull @.str) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %29, label %23 23: ; preds = %20 %24 = getelementptr inbounds i8, ptr %0, i64 2 %25 = tail call i64 @OPT_EQUAL(ptr noundef nonnull %24, ptr noundef %1) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %23, %8, %14 %28 = phi i32 [ %19, %14 ], [ 1, %8 ], [ 0, %23 ] store i32 %28, ptr %2, align 4, !tbaa !8 br label %29 29: ; preds = %27, %20, %23, %3 %30 = phi i32 [ 0, %3 ], [ 0, %23 ], [ 0, %20 ], [ 1, %27 ] ret i32 %30 } declare i64 @OPT_EQUAL(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/intelfb/extr_intelfbdrv.c_get_opt_bool.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/intelfb/extr_intelfbdrv.c_get_opt_bool.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [3 x i8] c"no\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @get_opt_bool], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @get_opt_bool(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) #0 { %4 = icmp eq ptr %2, null br i1 %4, label %29, label %5 5: ; preds = %3 %6 = tail call i64 @OPT_EQUAL(ptr noundef %0, ptr noundef %1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %20, label %8 8: ; preds = %5 %9 = tail call i32 @strlen(ptr noundef %1) #2 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %0, i64 %10 %12 = load i8, ptr %11, align 1, !tbaa !6 %13 = icmp eq i8 %12, 61 br i1 %13, label %14, label %27 14: ; preds = %8 %15 = tail call i32 @strlen(ptr noundef %1) #2 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %0, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = tail call i32 @simple_strtoul(ptr noundef nonnull %18, ptr noundef null, i32 noundef 0) #2 br label %27 20: ; preds = %5 %21 = tail call i64 @OPT_EQUAL(ptr noundef %0, ptr noundef nonnull @.str) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %29, label %23 23: ; preds = %20 %24 = getelementptr inbounds i8, ptr %0, i64 2 %25 = tail call i64 @OPT_EQUAL(ptr noundef nonnull %24, ptr noundef %1) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %23, %8, %14 %28 = phi i32 [ %19, %14 ], [ 1, %8 ], [ 0, %23 ] store i32 %28, ptr %2, align 4, !tbaa !9 br label %29 29: ; preds = %27, %20, %23, %3 %30 = phi i32 [ 0, %3 ], [ 0, %23 ], [ 0, %20 ], [ 1, %27 ] ret i32 %30 } declare i64 @OPT_EQUAL(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
fastsocket_kernel_drivers_video_intelfb_extr_intelfbdrv.c_get_opt_bool
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aurora/extr_nb8800.c_nb8800_readl.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/aurora/extr_nb8800.c_nb8800_readl.c" target datalayout = "e-m:e-p270:32:32-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 @nb8800_readl], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @nb8800_readl(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = sext i32 %1 to i64 %5 = add nsw i64 %3, %4 %6 = tail call i32 @readl_relaxed(i64 noundef %5) #2 ret i32 %6 } declare i32 @readl_relaxed(i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nb8800_priv", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aurora/extr_nb8800.c_nb8800_readl.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/aurora/extr_nb8800.c_nb8800_readl.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 @nb8800_readl], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @nb8800_readl(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = sext i32 %1 to i64 %5 = add nsw i64 %3, %4 %6 = tail call i32 @readl_relaxed(i64 noundef %5) #2 ret i32 %6 } declare i32 @readl_relaxed(i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nb8800_priv", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_aurora_extr_nb8800.c_nb8800_readl
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_xfrm6_tunnel.c___xfrm6_tunnel_alloc_spi.c' source_filename = "AnghaBench/linux/net/ipv6/extr_xfrm6_tunnel.c___xfrm6_tunnel_alloc_spi.c" target datalayout = "e-m:e-p270:32:32-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.xfrm6_tunnel_spi = type { i32, i32, i32, i64, i32 } %struct.xfrm6_tunnel_net = type { i64, ptr, ptr } @XFRM6_TUNNEL_SPI_MIN = dso_local local_unnamed_addr global i64 0, align 8 @XFRM6_TUNNEL_SPI_MAX = dso_local local_unnamed_addr global i64 0, align 8 @xfrm6_tunnel_spi_kmem = dso_local local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__xfrm6_tunnel_alloc_spi], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i64 @__xfrm6_tunnel_alloc_spi(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @xfrm6_tunnel_pernet(ptr noundef %0) #2 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @XFRM6_TUNNEL_SPI_MIN, align 8 %6 = icmp sge i64 %4, %5 %7 = load i64, ptr @XFRM6_TUNNEL_SPI_MAX, align 8 %8 = icmp slt i64 %4, %7 %9 = select i1 %6, i1 %8, i1 false %10 = add nsw i64 %4, 1 %11 = select i1 %9, i64 %10, i64 %5 store i64 %11, ptr %3, align 8, !tbaa !5 %12 = load i64, ptr @XFRM6_TUNNEL_SPI_MAX, align 8, !tbaa !11 %13 = icmp sgt i64 %11, %12 br i1 %13, label %24, label %14 14: ; preds = %2, %18 %15 = phi i64 [ %20, %18 ], [ %11, %2 ] %16 = tail call i32 @__xfrm6_tunnel_spi_check(ptr noundef %0, i64 noundef %15) #2 %17 = icmp sgt i32 %16, -1 br i1 %17, label %36, label %18 18: ; preds = %14 %19 = load i64, ptr @XFRM6_TUNNEL_SPI_MAX, align 8, !tbaa !11 %20 = add nsw i64 %15, 1 %21 = icmp slt i64 %15, %19 br i1 %21, label %14, label %22, !llvm.loop !12 22: ; preds = %18 %23 = load i64, ptr %3, align 8, !tbaa !5 br label %24 24: ; preds = %22, %2 %25 = phi i64 [ %23, %22 ], [ %11, %2 ] %26 = load i64, ptr @XFRM6_TUNNEL_SPI_MIN, align 8, !tbaa !11 %27 = icmp slt i64 %26, %25 br i1 %27, label %28, label %61 28: ; preds = %24, %32 %29 = phi i64 [ %33, %32 ], [ %26, %24 ] %30 = tail call i32 @__xfrm6_tunnel_spi_check(ptr noundef %0, i64 noundef %29) #2 %31 = icmp sgt i32 %30, -1 br i1 %31, label %36, label %32 32: ; preds = %28 %33 = add nsw i64 %29, 1 %34 = load i64, ptr %3, align 8, !tbaa !5 %35 = icmp slt i64 %33, %34 br i1 %35, label %28, label %61, !llvm.loop !14 36: ; preds = %14, %28 %37 = phi i64 [ %29, %28 ], [ %15, %14 ] %38 = phi i32 [ %30, %28 ], [ %16, %14 ] store i64 %37, ptr %3, align 8, !tbaa !5 %39 = load i32, ptr @xfrm6_tunnel_spi_kmem, align 4, !tbaa !15 %40 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !15 %41 = tail call ptr @kmem_cache_alloc(i32 noundef %39, i32 noundef %40) #2 %42 = icmp eq ptr %41, null br i1 %42, label %61, label %43 43: ; preds = %36 %44 = getelementptr inbounds %struct.xfrm6_tunnel_spi, ptr %41, i64 0, i32 4 %45 = tail call i32 @memcpy(ptr noundef nonnull %44, ptr noundef %1, i32 noundef 4) #2 %46 = getelementptr inbounds %struct.xfrm6_tunnel_spi, ptr %41, i64 0, i32 3 store i64 %37, ptr %46, align 8, !tbaa !17 %47 = getelementptr inbounds %struct.xfrm6_tunnel_spi, ptr %41, i64 0, i32 2 %48 = tail call i32 @refcount_set(ptr noundef nonnull %47, i32 noundef 1) #2 %49 = getelementptr inbounds %struct.xfrm6_tunnel_spi, ptr %41, i64 0, i32 1 %50 = getelementptr inbounds %struct.xfrm6_tunnel_net, ptr %3, i64 0, i32 2 %51 = load ptr, ptr %50, align 8, !tbaa !19 %52 = zext nneg i32 %38 to i64 %53 = getelementptr inbounds i32, ptr %51, i64 %52 %54 = tail call i32 @hlist_add_head_rcu(ptr noundef nonnull %49, ptr noundef %53) #2 %55 = tail call i32 @xfrm6_tunnel_spi_hash_byaddr(ptr noundef %1) #2 %56 = getelementptr inbounds %struct.xfrm6_tunnel_net, ptr %3, i64 0, i32 1 %57 = load ptr, ptr %56, align 8, !tbaa !20 %58 = sext i32 %55 to i64 %59 = getelementptr inbounds i32, ptr %57, i64 %58 %60 = tail call i32 @hlist_add_head_rcu(ptr noundef nonnull %41, ptr noundef %59) #2 br label %61 61: ; preds = %32, %24, %36, %43 %62 = phi i64 [ %37, %43 ], [ %37, %36 ], [ 0, %24 ], [ 0, %32 ] ret i64 %62 } declare ptr @xfrm6_tunnel_pernet(ptr noundef) local_unnamed_addr #1 declare i32 @__xfrm6_tunnel_spi_check(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @kmem_cache_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @refcount_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hlist_add_head_rcu(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xfrm6_tunnel_spi_hash_byaddr(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 = !{!"xfrm6_tunnel_net", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!18, !7, i64 16} !18 = !{!"xfrm6_tunnel_spi", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 16, !16, i64 24} !19 = !{!6, !10, i64 16} !20 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_xfrm6_tunnel.c___xfrm6_tunnel_alloc_spi.c' source_filename = "AnghaBench/linux/net/ipv6/extr_xfrm6_tunnel.c___xfrm6_tunnel_alloc_spi.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XFRM6_TUNNEL_SPI_MIN = common local_unnamed_addr global i64 0, align 8 @XFRM6_TUNNEL_SPI_MAX = common local_unnamed_addr global i64 0, align 8 @xfrm6_tunnel_spi_kmem = common local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__xfrm6_tunnel_alloc_spi], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i64 @__xfrm6_tunnel_alloc_spi(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @xfrm6_tunnel_pernet(ptr noundef %0) #2 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @XFRM6_TUNNEL_SPI_MIN, align 8 %6 = icmp sge i64 %4, %5 %7 = load i64, ptr @XFRM6_TUNNEL_SPI_MAX, align 8 %8 = icmp slt i64 %4, %7 %9 = select i1 %6, i1 %8, i1 false %10 = add nsw i64 %4, 1 %11 = select i1 %9, i64 %10, i64 %5 store i64 %11, ptr %3, align 8, !tbaa !6 %12 = load i64, ptr @XFRM6_TUNNEL_SPI_MAX, align 8, !tbaa !12 %13 = icmp sgt i64 %11, %12 br i1 %13, label %24, label %14 14: ; preds = %2, %18 %15 = phi i64 [ %20, %18 ], [ %11, %2 ] %16 = tail call i32 @__xfrm6_tunnel_spi_check(ptr noundef %0, i64 noundef %15) #2 %17 = icmp sgt i32 %16, -1 br i1 %17, label %36, label %18 18: ; preds = %14 %19 = load i64, ptr @XFRM6_TUNNEL_SPI_MAX, align 8, !tbaa !12 %20 = add nsw i64 %15, 1 %21 = icmp slt i64 %15, %19 br i1 %21, label %14, label %22, !llvm.loop !13 22: ; preds = %18 %23 = load i64, ptr %3, align 8, !tbaa !6 br label %24 24: ; preds = %22, %2 %25 = phi i64 [ %23, %22 ], [ %11, %2 ] %26 = load i64, ptr @XFRM6_TUNNEL_SPI_MIN, align 8, !tbaa !12 %27 = icmp slt i64 %26, %25 br i1 %27, label %28, label %61 28: ; preds = %24, %32 %29 = phi i64 [ %33, %32 ], [ %26, %24 ] %30 = tail call i32 @__xfrm6_tunnel_spi_check(ptr noundef %0, i64 noundef %29) #2 %31 = icmp sgt i32 %30, -1 br i1 %31, label %36, label %32 32: ; preds = %28 %33 = add nsw i64 %29, 1 %34 = load i64, ptr %3, align 8, !tbaa !6 %35 = icmp slt i64 %33, %34 br i1 %35, label %28, label %61, !llvm.loop !15 36: ; preds = %14, %28 %37 = phi i64 [ %29, %28 ], [ %15, %14 ] %38 = phi i32 [ %30, %28 ], [ %16, %14 ] store i64 %37, ptr %3, align 8, !tbaa !6 %39 = load i32, ptr @xfrm6_tunnel_spi_kmem, align 4, !tbaa !16 %40 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !16 %41 = tail call ptr @kmem_cache_alloc(i32 noundef %39, i32 noundef %40) #2 %42 = icmp eq ptr %41, null br i1 %42, label %61, label %43 43: ; preds = %36 %44 = getelementptr inbounds i8, ptr %41, i64 24 %45 = tail call i32 @memcpy(ptr noundef nonnull %44, ptr noundef %1, i32 noundef 4) #2 %46 = getelementptr inbounds i8, ptr %41, i64 16 store i64 %37, ptr %46, align 8, !tbaa !18 %47 = getelementptr inbounds i8, ptr %41, i64 8 %48 = tail call i32 @refcount_set(ptr noundef nonnull %47, i32 noundef 1) #2 %49 = getelementptr inbounds i8, ptr %41, i64 4 %50 = getelementptr inbounds i8, ptr %3, i64 16 %51 = load ptr, ptr %50, align 8, !tbaa !20 %52 = zext nneg i32 %38 to i64 %53 = getelementptr inbounds i32, ptr %51, i64 %52 %54 = tail call i32 @hlist_add_head_rcu(ptr noundef nonnull %49, ptr noundef %53) #2 %55 = tail call i32 @xfrm6_tunnel_spi_hash_byaddr(ptr noundef %1) #2 %56 = getelementptr inbounds i8, ptr %3, i64 8 %57 = load ptr, ptr %56, align 8, !tbaa !21 %58 = sext i32 %55 to i64 %59 = getelementptr inbounds i32, ptr %57, i64 %58 %60 = tail call i32 @hlist_add_head_rcu(ptr noundef nonnull %41, ptr noundef %59) #2 br label %61 61: ; preds = %32, %24, %36, %43 %62 = phi i64 [ %37, %43 ], [ %37, %36 ], [ 0, %24 ], [ 0, %32 ] ret i64 %62 } declare ptr @xfrm6_tunnel_pernet(ptr noundef) local_unnamed_addr #1 declare i32 @__xfrm6_tunnel_spi_check(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @kmem_cache_alloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @refcount_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hlist_add_head_rcu(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xfrm6_tunnel_spi_hash_byaddr(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 = !{!"xfrm6_tunnel_net", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0} !18 = !{!19, !8, i64 16} !19 = !{!"xfrm6_tunnel_spi", !17, i64 0, !17, i64 4, !17, i64 8, !8, i64 16, !17, i64 24} !20 = !{!7, !11, i64 16} !21 = !{!7, !11, i64 8}
linux_net_ipv6_extr_xfrm6_tunnel.c___xfrm6_tunnel_alloc_spi
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_pathtbl.c_mesh_table_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_pathtbl.c_mesh_table_alloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mesh_table = type { i32, i32, i32, ptr, i32, i32, ptr } @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mesh_table_alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @mesh_table_alloc(i32 noundef %0) #0 { %2 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %3 = tail call ptr @kmalloc(i32 noundef 40, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %44, label %5 5: ; preds = %1 %6 = shl i32 4, %0 %7 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %8 = tail call ptr @kzalloc(i32 noundef %6, i32 noundef %7) #2 %9 = getelementptr inbounds %struct.mesh_table, ptr %3, i64 0, i32 6 store ptr %8, ptr %9, align 8, !tbaa !9 %10 = icmp eq ptr %8, null br i1 %10, label %11, label %13 11: ; preds = %5 %12 = tail call i32 @kfree(ptr noundef nonnull %3) #2 br label %44 13: ; preds = %5 %14 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %15 = tail call ptr @kmalloc(i32 noundef %6, i32 noundef %14) #2 %16 = getelementptr inbounds %struct.mesh_table, ptr %3, i64 0, i32 3 store ptr %15, ptr %16, align 8, !tbaa !12 %17 = icmp eq ptr %15, null br i1 %17, label %18, label %22 18: ; preds = %13 %19 = load ptr, ptr %9, align 8, !tbaa !9 %20 = tail call i32 @kfree(ptr noundef %19) #2 %21 = tail call i32 @kfree(ptr noundef nonnull %3) #2 br label %44 22: ; preds = %13 store i32 %0, ptr %3, align 8, !tbaa !13 %23 = shl nsw i32 -1, %0 %24 = xor i32 %23, -1 %25 = getelementptr inbounds %struct.mesh_table, ptr %3, i64 0, i32 1 store i32 %24, ptr %25, align 4, !tbaa !14 %26 = getelementptr inbounds %struct.mesh_table, ptr %3, i64 0, i32 5 %27 = tail call i32 @atomic_set(ptr noundef nonnull %26, i32 noundef 0) #2 %28 = getelementptr inbounds %struct.mesh_table, ptr %3, i64 0, i32 4 %29 = tail call i32 @get_random_bytes(ptr noundef nonnull %28, i32 noundef 4) #2 %30 = load i32, ptr %25, align 4, !tbaa !14 %31 = icmp slt i32 %30, 0 br i1 %31, label %41, label %32 32: ; preds = %22, %32 %33 = phi i64 [ %37, %32 ], [ 0, %22 ] %34 = load ptr, ptr %16, align 8, !tbaa !12 %35 = getelementptr inbounds i32, ptr %34, i64 %33 %36 = tail call i32 @spin_lock_init(ptr noundef %35) #2 %37 = add nuw nsw i64 %33, 1 %38 = load i32, ptr %25, align 4, !tbaa !14 %39 = sext i32 %38 to i64 %40 = icmp slt i64 %33, %39 br i1 %40, label %32, label %41, !llvm.loop !15 41: ; preds = %32, %22 %42 = getelementptr inbounds %struct.mesh_table, ptr %3, i64 0, i32 2 %43 = tail call i32 @spin_lock_init(ptr noundef nonnull %42) #2 br label %44 44: ; preds = %1, %41, %18, %11 %45 = phi ptr [ %3, %41 ], [ null, %18 ], [ null, %11 ], [ null, %1 ] ret ptr %45 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_random_bytes(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 32} !10 = !{!"mesh_table", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !6, i64 24, !6, i64 28, !11, i64 32} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 16} !13 = !{!10, !6, i64 0} !14 = !{!10, !6, i64 4} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_pathtbl.c_mesh_table_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_pathtbl.c_mesh_table_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mesh_table_alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @mesh_table_alloc(i32 noundef %0) #0 { %2 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %3 = tail call ptr @kmalloc(i32 noundef 40, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %44, label %5 5: ; preds = %1 %6 = shl i32 4, %0 %7 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %8 = tail call ptr @kzalloc(i32 noundef %6, i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %3, i64 32 store ptr %8, ptr %9, align 8, !tbaa !10 %10 = icmp eq ptr %8, null br i1 %10, label %11, label %13 11: ; preds = %5 %12 = tail call i32 @kfree(ptr noundef nonnull %3) #2 br label %44 13: ; preds = %5 %14 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %15 = tail call ptr @kmalloc(i32 noundef %6, i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %15, ptr %16, align 8, !tbaa !13 %17 = icmp eq ptr %15, null br i1 %17, label %18, label %22 18: ; preds = %13 %19 = load ptr, ptr %9, align 8, !tbaa !10 %20 = tail call i32 @kfree(ptr noundef %19) #2 %21 = tail call i32 @kfree(ptr noundef nonnull %3) #2 br label %44 22: ; preds = %13 store i32 %0, ptr %3, align 8, !tbaa !14 %23 = shl nsw i32 -1, %0 %24 = xor i32 %23, -1 %25 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %24, ptr %25, align 4, !tbaa !15 %26 = getelementptr inbounds i8, ptr %3, i64 28 %27 = tail call i32 @atomic_set(ptr noundef nonnull %26, i32 noundef 0) #2 %28 = getelementptr inbounds i8, ptr %3, i64 24 %29 = tail call i32 @get_random_bytes(ptr noundef nonnull %28, i32 noundef 4) #2 %30 = load i32, ptr %25, align 4, !tbaa !15 %31 = icmp slt i32 %30, 0 br i1 %31, label %41, label %32 32: ; preds = %22, %32 %33 = phi i64 [ %37, %32 ], [ 0, %22 ] %34 = load ptr, ptr %16, align 8, !tbaa !13 %35 = getelementptr inbounds i32, ptr %34, i64 %33 %36 = tail call i32 @spin_lock_init(ptr noundef %35) #2 %37 = add nuw nsw i64 %33, 1 %38 = load i32, ptr %25, align 4, !tbaa !15 %39 = sext i32 %38 to i64 %40 = icmp slt i64 %33, %39 br i1 %40, label %32, label %41, !llvm.loop !16 41: ; preds = %32, %22 %42 = getelementptr inbounds i8, ptr %3, i64 8 %43 = tail call i32 @spin_lock_init(ptr noundef nonnull %42) #2 br label %44 44: ; preds = %1, %41, %18, %11 %45 = phi ptr [ %3, %41 ], [ null, %18 ], [ null, %11 ], [ null, %1 ] ret ptr %45 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_random_bytes(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 32} !11 = !{!"mesh_table", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !7, i64 24, !7, i64 28, !12, i64 32} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!11, !7, i64 0} !15 = !{!11, !7, i64 4} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_net_mac80211_extr_mesh_pathtbl.c_mesh_table_alloc
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_security.c_construct_mic_header2.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_security.c_construct_mic_header2.c" target datalayout = "e-m:e-p270:32:32-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 @construct_mic_header2], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @construct_mic_header2(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 { tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %0, i8 0, i64 64, i1 false), !tbaa !5 %5 = getelementptr inbounds i32, ptr %1, i64 16 %6 = load i32, ptr %5, align 4, !tbaa !5 store i32 %6, ptr %0, align 4, !tbaa !5 %7 = getelementptr inbounds i32, ptr %1, i64 17 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = getelementptr inbounds i32, ptr %0, i64 1 store i32 %8, ptr %9, align 4, !tbaa !5 %10 = getelementptr inbounds i32, ptr %1, i64 18 %11 = load i32, ptr %10, align 4, !tbaa !5 %12 = getelementptr inbounds i32, ptr %0, i64 2 store i32 %11, ptr %12, align 4, !tbaa !5 %13 = getelementptr inbounds i32, ptr %1, i64 19 %14 = load i32, ptr %13, align 4, !tbaa !5 %15 = getelementptr inbounds i32, ptr %0, i64 3 store i32 %14, ptr %15, align 4, !tbaa !5 %16 = getelementptr inbounds i32, ptr %1, i64 20 %17 = load i32, ptr %16, align 4, !tbaa !5 %18 = getelementptr inbounds i32, ptr %0, i64 4 store i32 %17, ptr %18, align 4, !tbaa !5 %19 = getelementptr inbounds i32, ptr %1, i64 21 %20 = load i32, ptr %19, align 4, !tbaa !5 %21 = getelementptr inbounds i32, ptr %0, i64 5 store i32 %20, ptr %21, align 4, !tbaa !5 %22 = getelementptr inbounds i32, ptr %0, i64 6 store i32 0, ptr %22, align 4, !tbaa !5 %23 = getelementptr inbounds i32, ptr %0, i64 7 store i32 0, ptr %23, align 4, !tbaa !5 %24 = icmp eq i32 %3, 0 %25 = icmp ne i32 %2, 0 %26 = and i1 %25, %24 br i1 %26, label %27, label %45 27: ; preds = %4 %28 = getelementptr inbounds i32, ptr %1, i64 24 %29 = load i32, ptr %28, align 4, !tbaa !5 %30 = getelementptr inbounds i32, ptr %0, i64 8 store i32 %29, ptr %30, align 4, !tbaa !5 %31 = getelementptr inbounds i32, ptr %1, i64 25 %32 = load i32, ptr %31, align 4, !tbaa !5 %33 = getelementptr inbounds i32, ptr %0, i64 9 store i32 %32, ptr %33, align 4, !tbaa !5 %34 = getelementptr inbounds i32, ptr %1, i64 26 %35 = load i32, ptr %34, align 4, !tbaa !5 %36 = getelementptr inbounds i32, ptr %0, i64 10 store i32 %35, ptr %36, align 4, !tbaa !5 %37 = getelementptr inbounds i32, ptr %1, i64 27 %38 = load i32, ptr %37, align 4, !tbaa !5 %39 = getelementptr inbounds i32, ptr %0, i64 11 store i32 %38, ptr %39, align 4, !tbaa !5 %40 = getelementptr inbounds i32, ptr %1, i64 28 %41 = load i32, ptr %40, align 4, !tbaa !5 %42 = getelementptr inbounds i32, ptr %0, i64 12 store i32 %41, ptr %42, align 4, !tbaa !5 %43 = getelementptr inbounds i32, ptr %1, i64 29 %44 = load i32, ptr %43, align 4, !tbaa !5 br label %78 45: ; preds = %4 %46 = or i1 %25, %24 br i1 %46, label %52, label %47 47: ; preds = %45 %48 = getelementptr inbounds i32, ptr %1, i64 24 %49 = load i32, ptr %48, align 4, !tbaa !5 %50 = and i32 %49, 15 %51 = getelementptr inbounds i32, ptr %0, i64 8 store i32 %50, ptr %51, align 4, !tbaa !5 br label %78 52: ; preds = %45 %53 = icmp ne i32 %3, 0 %54 = and i1 %25, %53 br i1 %54, label %55, label %82 55: ; preds = %52 %56 = getelementptr inbounds i32, ptr %1, i64 24 %57 = load i32, ptr %56, align 4, !tbaa !5 %58 = getelementptr inbounds i32, ptr %0, i64 8 store i32 %57, ptr %58, align 4, !tbaa !5 %59 = getelementptr inbounds i32, ptr %1, i64 25 %60 = load i32, ptr %59, align 4, !tbaa !5 %61 = getelementptr inbounds i32, ptr %0, i64 9 store i32 %60, ptr %61, align 4, !tbaa !5 %62 = getelementptr inbounds i32, ptr %1, i64 26 %63 = load i32, ptr %62, align 4, !tbaa !5 %64 = getelementptr inbounds i32, ptr %0, i64 10 store i32 %63, ptr %64, align 4, !tbaa !5 %65 = getelementptr inbounds i32, ptr %1, i64 27 %66 = load i32, ptr %65, align 4, !tbaa !5 %67 = getelementptr inbounds i32, ptr %0, i64 11 store i32 %66, ptr %67, align 4, !tbaa !5 %68 = getelementptr inbounds i32, ptr %1, i64 28 %69 = load i32, ptr %68, align 4, !tbaa !5 %70 = getelementptr inbounds i32, ptr %0, i64 12 store i32 %69, ptr %70, align 4, !tbaa !5 %71 = getelementptr inbounds i32, ptr %1, i64 29 %72 = load i32, ptr %71, align 4, !tbaa !5 %73 = getelementptr inbounds i32, ptr %0, i64 13 store i32 %72, ptr %73, align 4, !tbaa !5 %74 = getelementptr inbounds i32, ptr %1, i64 30 %75 = load i32, ptr %74, align 4, !tbaa !5 %76 = and i32 %75, 15 %77 = getelementptr inbounds i32, ptr %0, i64 14 store i32 %76, ptr %77, align 4, !tbaa !5 br label %78 78: ; preds = %55, %47, %27 %79 = phi i64 [ 13, %27 ], [ 9, %47 ], [ 15, %55 ] %80 = phi i32 [ %44, %27 ], [ 0, %47 ], [ 0, %55 ] %81 = getelementptr inbounds i32, ptr %0, i64 %79 store i32 %80, ptr %81, align 4, !tbaa !5 br label %82 82: ; preds = %78, %52 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_security.c_construct_mic_header2.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_security.c_construct_mic_header2.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 @construct_mic_header2], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @construct_mic_header2(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) #0 { tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %0, i8 0, i64 64, i1 false), !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 64 %6 = load i32, ptr %5, align 4, !tbaa !6 store i32 %6, ptr %0, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %1, i64 68 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %8, ptr %9, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %1, i64 72 %11 = load i32, ptr %10, align 4, !tbaa !6 %12 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %11, ptr %12, align 4, !tbaa !6 %13 = getelementptr inbounds i8, ptr %1, i64 76 %14 = load i32, ptr %13, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %14, ptr %15, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %1, i64 80 %17 = load i32, ptr %16, align 4, !tbaa !6 %18 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %17, ptr %18, align 4, !tbaa !6 %19 = getelementptr inbounds i8, ptr %1, i64 84 %20 = load i32, ptr %19, align 4, !tbaa !6 %21 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %20, ptr %21, align 4, !tbaa !6 %22 = getelementptr inbounds i8, ptr %0, i64 24 store <2 x i32> zeroinitializer, ptr %22, align 4, !tbaa !6 %23 = icmp eq i32 %3, 0 %24 = icmp ne i32 %2, 0 %25 = and i1 %24, %23 br i1 %25, label %26, label %44 26: ; preds = %4 %27 = getelementptr inbounds i8, ptr %1, i64 96 %28 = load i32, ptr %27, align 4, !tbaa !6 %29 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %28, ptr %29, align 4, !tbaa !6 %30 = getelementptr inbounds i8, ptr %1, i64 100 %31 = load i32, ptr %30, align 4, !tbaa !6 %32 = getelementptr inbounds i8, ptr %0, i64 36 store i32 %31, ptr %32, align 4, !tbaa !6 %33 = getelementptr inbounds i8, ptr %1, i64 104 %34 = load i32, ptr %33, align 4, !tbaa !6 %35 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %34, ptr %35, align 4, !tbaa !6 %36 = getelementptr inbounds i8, ptr %1, i64 108 %37 = load i32, ptr %36, align 4, !tbaa !6 %38 = getelementptr inbounds i8, ptr %0, i64 44 store i32 %37, ptr %38, align 4, !tbaa !6 %39 = getelementptr inbounds i8, ptr %1, i64 112 %40 = load i32, ptr %39, align 4, !tbaa !6 %41 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %40, ptr %41, align 4, !tbaa !6 %42 = getelementptr inbounds i8, ptr %1, i64 116 %43 = load i32, ptr %42, align 4, !tbaa !6 br label %77 44: ; preds = %4 %45 = or i1 %24, %23 br i1 %45, label %51, label %46 46: ; preds = %44 %47 = getelementptr inbounds i8, ptr %1, i64 96 %48 = load i32, ptr %47, align 4, !tbaa !6 %49 = and i32 %48, 15 %50 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %49, ptr %50, align 4, !tbaa !6 br label %77 51: ; preds = %44 %52 = icmp ne i32 %3, 0 %53 = and i1 %24, %52 br i1 %53, label %54, label %81 54: ; preds = %51 %55 = getelementptr inbounds i8, ptr %1, i64 96 %56 = load i32, ptr %55, align 4, !tbaa !6 %57 = getelementptr inbounds i8, ptr %0, i64 32 store i32 %56, ptr %57, align 4, !tbaa !6 %58 = getelementptr inbounds i8, ptr %1, i64 100 %59 = load i32, ptr %58, align 4, !tbaa !6 %60 = getelementptr inbounds i8, ptr %0, i64 36 store i32 %59, ptr %60, align 4, !tbaa !6 %61 = getelementptr inbounds i8, ptr %1, i64 104 %62 = load i32, ptr %61, align 4, !tbaa !6 %63 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %62, ptr %63, align 4, !tbaa !6 %64 = getelementptr inbounds i8, ptr %1, i64 108 %65 = load i32, ptr %64, align 4, !tbaa !6 %66 = getelementptr inbounds i8, ptr %0, i64 44 store i32 %65, ptr %66, align 4, !tbaa !6 %67 = getelementptr inbounds i8, ptr %1, i64 112 %68 = load i32, ptr %67, align 4, !tbaa !6 %69 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %68, ptr %69, align 4, !tbaa !6 %70 = getelementptr inbounds i8, ptr %1, i64 116 %71 = load i32, ptr %70, align 4, !tbaa !6 %72 = getelementptr inbounds i8, ptr %0, i64 52 store i32 %71, ptr %72, align 4, !tbaa !6 %73 = getelementptr inbounds i8, ptr %1, i64 120 %74 = load i32, ptr %73, align 4, !tbaa !6 %75 = and i32 %74, 15 %76 = getelementptr inbounds i8, ptr %0, i64 56 store i32 %75, ptr %76, align 4, !tbaa !6 br label %77 77: ; preds = %54, %46, %26 %78 = phi i64 [ 52, %26 ], [ 36, %46 ], [ 60, %54 ] %79 = phi i32 [ %43, %26 ], [ 0, %46 ], [ 0, %54 ] %80 = getelementptr inbounds i8, ptr %0, i64 %78 store i32 %79, ptr %80, align 4, !tbaa !6 br label %81 81: ; preds = %77, %51 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_rtl8188eu_core_extr_rtw_security.c_construct_mic_header2
; ModuleID = 'AnghaBench/h2o/deps/neverbleed/extr_neverbleed.c_expbuf_dispose.c' source_filename = "AnghaBench/h2o/deps/neverbleed/extr_neverbleed.c_expbuf_dispose.c" target datalayout = "e-m:e-p270:32:32-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.expbuf_t = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @expbuf_dispose], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @expbuf_dispose(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %8, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.expbuf_t, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 8, !tbaa !11 %7 = tail call i32 @OPENSSL_cleanse(i32 noundef %6, i64 noundef %2) #2 br label %8 8: ; preds = %4, %1 %9 = getelementptr inbounds %struct.expbuf_t, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !11 %11 = tail call i32 @free(i32 noundef %10) #2 %12 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 16) #2 ret void } declare i32 @OPENSSL_cleanse(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"expbuf_t", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/h2o/deps/neverbleed/extr_neverbleed.c_expbuf_dispose.c' source_filename = "AnghaBench/h2o/deps/neverbleed/extr_neverbleed.c_expbuf_dispose.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 @expbuf_dispose], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @expbuf_dispose(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %8, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = tail call i32 @OPENSSL_cleanse(i32 noundef %6, i64 noundef %2) #2 br label %8 8: ; preds = %4, %1 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @free(i32 noundef %10) #2 %12 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 16) #2 ret void } declare i32 @OPENSSL_cleanse(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"expbuf_t", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8}
h2o_deps_neverbleed_extr_neverbleed.c_expbuf_dispose
; ModuleID = 'AnghaBench/micropython/ports/cc3200/hal/extr_prcm.c_PRCMRTCInUseGet.c' source_filename = "AnghaBench/micropython/ports/cc3200/hal/extr_prcm.c_PRCMRTCInUseGet.c" target datalayout = "e-m:e-p270:32:32-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 @PRCMRTCInUseGet() local_unnamed_addr #0 { %1 = tail call i64 (...) @IS_RTC_USED() #2 %2 = icmp ne i64 %1, 0 %3 = zext i1 %2 to i32 ret i32 %3 } declare i64 @IS_RTC_USED(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/micropython/ports/cc3200/hal/extr_prcm.c_PRCMRTCInUseGet.c' source_filename = "AnghaBench/micropython/ports/cc3200/hal/extr_prcm.c_PRCMRTCInUseGet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @PRCMRTCInUseGet() local_unnamed_addr #0 { %1 = tail call i64 @IS_RTC_USED() #2 %2 = icmp ne i64 %1, 0 %3 = zext i1 %2 to i32 ret i32 %3 } declare i64 @IS_RTC_USED(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
micropython_ports_cc3200_hal_extr_prcm.c_PRCMRTCInUseGet
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe.h_xgbe_pci_exit.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe.h_xgbe_pci_exit.c" target datalayout = "e-m:e-p270:32:32-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 @xgbe_pci_exit], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @xgbe_pci_exit() #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe.h_xgbe_pci_exit.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe.h_xgbe_pci_exit.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 @xgbe_pci_exit], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @xgbe_pci_exit() #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_ethernet_amd_xgbe_extr_xgbe.h_xgbe_pci_exit
; ModuleID = 'AnghaBench/redis/src/extr_latency.c_dictStringKeyCompare.c' source_filename = "AnghaBench/redis/src/extr_latency.c_dictStringKeyCompare.c" target datalayout = "e-m:e-p270:32:32-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 @dictStringKeyCompare(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @UNUSED(ptr noundef %0) #2 %5 = tail call i64 @strcmp(ptr noundef %1, ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @UNUSED(ptr noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/redis/src/extr_latency.c_dictStringKeyCompare.c' source_filename = "AnghaBench/redis/src/extr_latency.c_dictStringKeyCompare.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @dictStringKeyCompare(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @UNUSED(ptr noundef %0) #2 %5 = tail call i64 @strcmp(ptr noundef %1, ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @UNUSED(ptr noundef) local_unnamed_addr #1 declare i64 @strcmp(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)"}
redis_src_extr_latency.c_dictStringKeyCompare
; ModuleID = 'AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_name_to_style.c' source_filename = "AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_name_to_style.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"xml\00", align 1 @XO_STYLE_XML = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"json\00", align 1 @XO_STYLE_JSON = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"encoder\00", align 1 @XO_STYLE_ENCODER = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"text\00", align 1 @XO_STYLE_TEXT = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"html\00", align 1 @XO_STYLE_HTML = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [9 x i8] c"sdparams\00", align 1 @XO_STYLE_SDPARAMS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xo_name_to_style], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @xo_name_to_style(ptr noundef %0) #0 { %2 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = load i32, ptr @XO_STYLE_XML, align 4, !tbaa !5 br label %31 6: ; preds = %1 %7 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %6 %10 = load i32, ptr @XO_STYLE_JSON, align 4, !tbaa !5 br label %31 11: ; preds = %6 %12 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %11 %15 = load i32, ptr @XO_STYLE_ENCODER, align 4, !tbaa !5 br label %31 16: ; preds = %11 %17 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.3) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %16 %20 = load i32, ptr @XO_STYLE_TEXT, align 4, !tbaa !5 br label %31 21: ; preds = %16 %22 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.4) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %21 %25 = load i32, ptr @XO_STYLE_HTML, align 4, !tbaa !5 br label %31 26: ; preds = %21 %27 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.5) #2 %28 = icmp eq i64 %27, 0 %29 = load i32, ptr @XO_STYLE_SDPARAMS, align 4 %30 = select i1 %28, i32 -1, i32 %29 br label %31 31: ; preds = %26, %24, %19, %14, %9, %4 %32 = phi i32 [ %5, %4 ], [ %10, %9 ], [ %15, %14 ], [ %20, %19 ], [ %25, %24 ], [ %30, %26 ] ret i32 %32 } declare i64 @xo_streq(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_name_to_style.c' source_filename = "AnghaBench/freebsd/contrib/libxo/libxo/extr_libxo.c_xo_name_to_style.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"xml\00", align 1 @XO_STYLE_XML = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"json\00", align 1 @XO_STYLE_JSON = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"encoder\00", align 1 @XO_STYLE_ENCODER = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [5 x i8] c"text\00", align 1 @XO_STYLE_TEXT = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [5 x i8] c"html\00", align 1 @XO_STYLE_HTML = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [9 x i8] c"sdparams\00", align 1 @XO_STYLE_SDPARAMS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xo_name_to_style], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @xo_name_to_style(ptr noundef %0) #0 { %2 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = load i32, ptr @XO_STYLE_XML, align 4, !tbaa !6 br label %31 6: ; preds = %1 %7 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %6 %10 = load i32, ptr @XO_STYLE_JSON, align 4, !tbaa !6 br label %31 11: ; preds = %6 %12 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %11 %15 = load i32, ptr @XO_STYLE_ENCODER, align 4, !tbaa !6 br label %31 16: ; preds = %11 %17 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.3) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %16 %20 = load i32, ptr @XO_STYLE_TEXT, align 4, !tbaa !6 br label %31 21: ; preds = %16 %22 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.4) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %21 %25 = load i32, ptr @XO_STYLE_HTML, align 4, !tbaa !6 br label %31 26: ; preds = %21 %27 = tail call i64 @xo_streq(ptr noundef %0, ptr noundef nonnull @.str.5) #2 %28 = icmp eq i64 %27, 0 %29 = load i32, ptr @XO_STYLE_SDPARAMS, align 4 %30 = select i1 %28, i32 -1, i32 %29 br label %31 31: ; preds = %26, %24, %19, %14, %9, %4 %32 = phi i32 [ %5, %4 ], [ %10, %9 ], [ %15, %14 ], [ %20, %19 ], [ %25, %24 ], [ %30, %26 ] ret i32 %32 } declare i64 @xo_streq(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_libxo_libxo_extr_libxo.c_xo_name_to_style
; ModuleID = 'AnghaBench/esp-idf/components/espcoredump/test/extr_test_core_dump.c_unaligned_ptr_task.c' source_filename = "AnghaBench/esp-idf/components/espcoredump/test/extr_test_core_dump.c_unaligned_ptr_task.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Task 'unaligned_ptr_task' start.\0A\00", align 1 @portTICK_RATE_MS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Task 'unaligned_ptr_task' run.\0A\00", align 1 @stdout = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: noreturn nounwind uwtable define dso_local void @unaligned_ptr_task(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = tail call i32 @printf(ptr noundef nonnull @.str) #2 br label %3 3: ; preds = %1, %3 %4 = load i32, ptr @portTICK_RATE_MS, align 4, !tbaa !5 %5 = sdiv i32 1000, %4 %6 = tail call i32 @vTaskDelay(i32 noundef %5) #2 %7 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2 %8 = tail call i32 (...) @recur_func() #2 br label %3 } declare i32 @printf(ptr noundef) local_unnamed_addr #1 declare i32 @vTaskDelay(i32 noundef) local_unnamed_addr #1 declare i32 @recur_func(...) local_unnamed_addr #1 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/esp-idf/components/espcoredump/test/extr_test_core_dump.c_unaligned_ptr_task.c' source_filename = "AnghaBench/esp-idf/components/espcoredump/test/extr_test_core_dump.c_unaligned_ptr_task.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 [34 x i8] c"Task 'unaligned_ptr_task' start.\0A\00", align 1 @portTICK_RATE_MS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Task 'unaligned_ptr_task' run.\0A\00", align 1 @stdout = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @unaligned_ptr_task(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = tail call i32 @printf(ptr noundef nonnull @.str) #2 br label %3 3: ; preds = %1, %3 %4 = load i32, ptr @portTICK_RATE_MS, align 4, !tbaa !6 %5 = sdiv i32 1000, %4 %6 = tail call i32 @vTaskDelay(i32 noundef %5) #2 %7 = tail call i32 @printf(ptr noundef nonnull @.str.1) #2 %8 = tail call i32 @recur_func() #2 br label %3 } declare i32 @printf(ptr noundef) local_unnamed_addr #1 declare i32 @vTaskDelay(i32 noundef) local_unnamed_addr #1 declare i32 @recur_func(...) local_unnamed_addr #1 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
esp-idf_components_espcoredump_test_extr_test_core_dump.c_unaligned_ptr_task
; ModuleID = 'AnghaBench/postgres/src/backend/access/gist/extr_gist.c_gistFindCorrectParent.c' source_filename = "AnghaBench/postgres/src/backend/access/gist/extr_gist.c_gistFindCorrectParent.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, ptr } @InvalidOffsetNumber = dso_local local_unnamed_addr global i64 0, align 8 @FirstOffsetNumber = dso_local local_unnamed_addr global i64 0, align 8 @InvalidBlockNumber = dso_local local_unnamed_addr global i64 0, align 8 @GIST_EXCLUSIVE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gistFindCorrectParent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gistFindCorrectParent(i32 noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 4 %4 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 2 br label %5 5: ; preds = %93, %2 %6 = load ptr, ptr %3, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 3 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = tail call i32 @gistcheckpage(i32 noundef %0, ptr noundef %8) #2 %10 = load ptr, ptr %7, align 8, !tbaa !11 %11 = tail call i64 @BufferGetPage(ptr noundef %10) #2 %12 = inttoptr i64 %11 to ptr %13 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 5 store ptr %12, ptr %13, align 8, !tbaa !12 %14 = load i64, ptr %1, align 8, !tbaa !13 %15 = load i64, ptr @InvalidOffsetNumber, align 8, !tbaa !14 %16 = icmp eq i64 %14, %15 br i1 %16, label %24, label %17 17: ; preds = %5 %18 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !15 %20 = tail call i64 @PageGetLSN(ptr noundef %12) #2 %21 = icmp eq i64 %19, %20 br i1 %21, label %98, label %22 22: ; preds = %17 %23 = load ptr, ptr %13, align 8, !tbaa !12 br label %24 24: ; preds = %22, %5 %25 = phi ptr [ %23, %22 ], [ %12, %5 ] %26 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 2 br label %27 27: ; preds = %55, %24 %28 = phi ptr [ %63, %55 ], [ %25, %24 ] %29 = tail call i64 @PageGetMaxOffsetNumber(ptr noundef %28) #2 %30 = load i64, ptr @FirstOffsetNumber, align 8, !tbaa !14 %31 = icmp sgt i64 %30, %29 br i1 %31, label %46, label %32 32: ; preds = %27, %43 %33 = phi i64 [ %44, %43 ], [ %30, %27 ] %34 = load ptr, ptr %13, align 8, !tbaa !12 %35 = tail call i32 @PageGetItemId(ptr noundef %34, i64 noundef %33) #2 %36 = load ptr, ptr %13, align 8, !tbaa !12 %37 = tail call i64 @PageGetItem(ptr noundef %36, i32 noundef %35) #2 %38 = inttoptr i64 %37 to ptr %39 = tail call i64 @ItemPointerGetBlockNumber(ptr noundef %38) #2 %40 = load i64, ptr %4, align 8, !tbaa !16 %41 = icmp eq i64 %39, %40 br i1 %41, label %42, label %43 42: ; preds = %32 store i64 %33, ptr %1, align 8, !tbaa !13 br label %98 43: ; preds = %32 %44 = tail call i64 @OffsetNumberNext(i64 noundef %33) #2 %45 = icmp sgt i64 %44, %29 br i1 %45, label %46, label %32, !llvm.loop !17 46: ; preds = %43, %27 %47 = load ptr, ptr %13, align 8, !tbaa !12 %48 = tail call ptr @GistPageGetOpaque(ptr noundef %47) #2 %49 = load i64, ptr %48, align 8, !tbaa !19 store i64 %49, ptr %26, align 8, !tbaa !16 %50 = load ptr, ptr %7, align 8, !tbaa !11 %51 = tail call i32 @UnlockReleaseBuffer(ptr noundef %50) #2 %52 = load i64, ptr %26, align 8, !tbaa !16 %53 = load i64, ptr @InvalidBlockNumber, align 8, !tbaa !14 %54 = icmp eq i64 %52, %53 br i1 %54, label %64, label %55 55: ; preds = %46 %56 = tail call ptr @ReadBuffer(i32 noundef %0, i64 noundef %52) #2 store ptr %56, ptr %7, align 8, !tbaa !11 %57 = load i32, ptr @GIST_EXCLUSIVE, align 4, !tbaa !21 %58 = tail call i32 @LockBuffer(ptr noundef %56, i32 noundef %57) #2 %59 = load ptr, ptr %7, align 8, !tbaa !11 %60 = tail call i32 @gistcheckpage(i32 noundef %0, ptr noundef %59) #2 %61 = load ptr, ptr %7, align 8, !tbaa !11 %62 = tail call i64 @BufferGetPage(ptr noundef %61) #2 %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %13, align 8, !tbaa !12 br label %27 64: ; preds = %46 %65 = load ptr, ptr %3, align 8, !tbaa !5 %66 = getelementptr inbounds %struct.TYPE_7__, ptr %65, i64 0, i32 4 %67 = load ptr, ptr %66, align 8, !tbaa !5 %68 = icmp eq ptr %67, null br i1 %68, label %77, label %69 69: ; preds = %64, %69 %70 = phi ptr [ %75, %69 ], [ %67, %64 ] %71 = getelementptr inbounds %struct.TYPE_7__, ptr %70, i64 0, i32 3 %72 = load ptr, ptr %71, align 8, !tbaa !11 %73 = tail call i32 @ReleaseBuffer(ptr noundef %72) #2 %74 = getelementptr inbounds %struct.TYPE_7__, ptr %70, i64 0, i32 4 %75 = load ptr, ptr %74, align 8, !tbaa !5 %76 = icmp eq ptr %75, null br i1 %76, label %77, label %69, !llvm.loop !23 77: ; preds = %69, %64 %78 = load i64, ptr %4, align 8, !tbaa !16 %79 = tail call ptr @gistFindPath(i32 noundef %0, i64 noundef %78, ptr noundef nonnull %1) #2 %80 = icmp eq ptr %79, null br i1 %80, label %93, label %81 81: ; preds = %77, %81 %82 = phi ptr [ %91, %81 ], [ %79, %77 ] %83 = getelementptr inbounds %struct.TYPE_7__, ptr %82, i64 0, i32 2 %84 = load i64, ptr %83, align 8, !tbaa !16 %85 = tail call ptr @ReadBuffer(i32 noundef %0, i64 noundef %84) #2 %86 = getelementptr inbounds %struct.TYPE_7__, ptr %82, i64 0, i32 3 store ptr %85, ptr %86, align 8, !tbaa !11 %87 = tail call i64 @BufferGetPage(ptr noundef %85) #2 %88 = inttoptr i64 %87 to ptr %89 = getelementptr inbounds %struct.TYPE_7__, ptr %82, i64 0, i32 5 store ptr %88, ptr %89, align 8, !tbaa !12 %90 = getelementptr inbounds %struct.TYPE_7__, ptr %82, i64 0, i32 4 %91 = load ptr, ptr %90, align 8, !tbaa !5 %92 = icmp eq ptr %91, null br i1 %92, label %93, label %81, !llvm.loop !24 93: ; preds = %81, %77 store ptr %79, ptr %3, align 8, !tbaa !5 %94 = getelementptr inbounds %struct.TYPE_7__, ptr %79, i64 0, i32 3 %95 = load ptr, ptr %94, align 8, !tbaa !11 %96 = load i32, ptr @GIST_EXCLUSIVE, align 4, !tbaa !21 %97 = tail call i32 @LockBuffer(ptr noundef %95, i32 noundef %96) #2 br label %5 98: ; preds = %17, %42 ret void } declare i32 @gistcheckpage(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @BufferGetPage(ptr noundef) local_unnamed_addr #1 declare i64 @PageGetLSN(ptr noundef) local_unnamed_addr #1 declare i64 @PageGetMaxOffsetNumber(ptr noundef) local_unnamed_addr #1 declare i32 @PageGetItemId(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @PageGetItem(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ItemPointerGetBlockNumber(ptr noundef) local_unnamed_addr #1 declare i64 @OffsetNumberNext(i64 noundef) local_unnamed_addr #1 declare ptr @GistPageGetOpaque(ptr noundef) local_unnamed_addr #1 declare i32 @UnlockReleaseBuffer(ptr noundef) local_unnamed_addr #1 declare ptr @ReadBuffer(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @LockBuffer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ReleaseBuffer(ptr noundef) local_unnamed_addr #1 declare ptr @gistFindPath(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 32} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 24} !12 = !{!6, !10, i64 40} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 8} !16 = !{!6, !7, i64 16} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_8__", !7, i64 0} !21 = !{!22, !22, i64 0} !22 = !{!"int", !8, i64 0} !23 = distinct !{!23, !18} !24 = distinct !{!24, !18}
; ModuleID = 'AnghaBench/postgres/src/backend/access/gist/extr_gist.c_gistFindCorrectParent.c' source_filename = "AnghaBench/postgres/src/backend/access/gist/extr_gist.c_gistFindCorrectParent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @InvalidOffsetNumber = common local_unnamed_addr global i64 0, align 8 @FirstOffsetNumber = common local_unnamed_addr global i64 0, align 8 @InvalidBlockNumber = common local_unnamed_addr global i64 0, align 8 @GIST_EXCLUSIVE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gistFindCorrectParent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gistFindCorrectParent(i32 noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 32 %4 = getelementptr inbounds i8, ptr %1, i64 16 br label %5 5: ; preds = %93, %2 %6 = load ptr, ptr %3, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %6, i64 24 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = tail call i32 @gistcheckpage(i32 noundef %0, ptr noundef %8) #2 %10 = load ptr, ptr %7, align 8, !tbaa !12 %11 = tail call i64 @BufferGetPage(ptr noundef %10) #2 %12 = inttoptr i64 %11 to ptr %13 = getelementptr inbounds i8, ptr %6, i64 40 store ptr %12, ptr %13, align 8, !tbaa !13 %14 = load i64, ptr %1, align 8, !tbaa !14 %15 = load i64, ptr @InvalidOffsetNumber, align 8, !tbaa !15 %16 = icmp eq i64 %14, %15 br i1 %16, label %24, label %17 17: ; preds = %5 %18 = getelementptr inbounds i8, ptr %6, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = tail call i64 @PageGetLSN(ptr noundef %12) #2 %21 = icmp eq i64 %19, %20 br i1 %21, label %98, label %22 22: ; preds = %17 %23 = load ptr, ptr %13, align 8, !tbaa !13 br label %24 24: ; preds = %22, %5 %25 = phi ptr [ %23, %22 ], [ %12, %5 ] %26 = getelementptr inbounds i8, ptr %6, i64 16 br label %27 27: ; preds = %55, %24 %28 = phi ptr [ %63, %55 ], [ %25, %24 ] %29 = tail call i64 @PageGetMaxOffsetNumber(ptr noundef %28) #2 %30 = load i64, ptr @FirstOffsetNumber, align 8, !tbaa !15 %31 = icmp sgt i64 %30, %29 br i1 %31, label %46, label %32 32: ; preds = %27, %43 %33 = phi i64 [ %44, %43 ], [ %30, %27 ] %34 = load ptr, ptr %13, align 8, !tbaa !13 %35 = tail call i32 @PageGetItemId(ptr noundef %34, i64 noundef %33) #2 %36 = load ptr, ptr %13, align 8, !tbaa !13 %37 = tail call i64 @PageGetItem(ptr noundef %36, i32 noundef %35) #2 %38 = inttoptr i64 %37 to ptr %39 = tail call i64 @ItemPointerGetBlockNumber(ptr noundef %38) #2 %40 = load i64, ptr %4, align 8, !tbaa !17 %41 = icmp eq i64 %39, %40 br i1 %41, label %42, label %43 42: ; preds = %32 store i64 %33, ptr %1, align 8, !tbaa !14 br label %98 43: ; preds = %32 %44 = tail call i64 @OffsetNumberNext(i64 noundef %33) #2 %45 = icmp sgt i64 %44, %29 br i1 %45, label %46, label %32, !llvm.loop !18 46: ; preds = %43, %27 %47 = load ptr, ptr %13, align 8, !tbaa !13 %48 = tail call ptr @GistPageGetOpaque(ptr noundef %47) #2 %49 = load i64, ptr %48, align 8, !tbaa !20 store i64 %49, ptr %26, align 8, !tbaa !17 %50 = load ptr, ptr %7, align 8, !tbaa !12 %51 = tail call i32 @UnlockReleaseBuffer(ptr noundef %50) #2 %52 = load i64, ptr %26, align 8, !tbaa !17 %53 = load i64, ptr @InvalidBlockNumber, align 8, !tbaa !15 %54 = icmp eq i64 %52, %53 br i1 %54, label %64, label %55 55: ; preds = %46 %56 = tail call ptr @ReadBuffer(i32 noundef %0, i64 noundef %52) #2 store ptr %56, ptr %7, align 8, !tbaa !12 %57 = load i32, ptr @GIST_EXCLUSIVE, align 4, !tbaa !22 %58 = tail call i32 @LockBuffer(ptr noundef %56, i32 noundef %57) #2 %59 = load ptr, ptr %7, align 8, !tbaa !12 %60 = tail call i32 @gistcheckpage(i32 noundef %0, ptr noundef %59) #2 %61 = load ptr, ptr %7, align 8, !tbaa !12 %62 = tail call i64 @BufferGetPage(ptr noundef %61) #2 %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %13, align 8, !tbaa !13 br label %27 64: ; preds = %46 %65 = load ptr, ptr %3, align 8, !tbaa !6 %66 = getelementptr inbounds i8, ptr %65, i64 32 %67 = load ptr, ptr %66, align 8, !tbaa !6 %68 = icmp eq ptr %67, null br i1 %68, label %77, label %69 69: ; preds = %64, %69 %70 = phi ptr [ %75, %69 ], [ %67, %64 ] %71 = getelementptr inbounds i8, ptr %70, i64 24 %72 = load ptr, ptr %71, align 8, !tbaa !12 %73 = tail call i32 @ReleaseBuffer(ptr noundef %72) #2 %74 = getelementptr inbounds i8, ptr %70, i64 32 %75 = load ptr, ptr %74, align 8, !tbaa !6 %76 = icmp eq ptr %75, null br i1 %76, label %77, label %69, !llvm.loop !24 77: ; preds = %69, %64 %78 = load i64, ptr %4, align 8, !tbaa !17 %79 = tail call ptr @gistFindPath(i32 noundef %0, i64 noundef %78, ptr noundef nonnull %1) #2 %80 = icmp eq ptr %79, null br i1 %80, label %93, label %81 81: ; preds = %77, %81 %82 = phi ptr [ %91, %81 ], [ %79, %77 ] %83 = getelementptr inbounds i8, ptr %82, i64 16 %84 = load i64, ptr %83, align 8, !tbaa !17 %85 = tail call ptr @ReadBuffer(i32 noundef %0, i64 noundef %84) #2 %86 = getelementptr inbounds i8, ptr %82, i64 24 store ptr %85, ptr %86, align 8, !tbaa !12 %87 = tail call i64 @BufferGetPage(ptr noundef %85) #2 %88 = inttoptr i64 %87 to ptr %89 = getelementptr inbounds i8, ptr %82, i64 40 store ptr %88, ptr %89, align 8, !tbaa !13 %90 = getelementptr inbounds i8, ptr %82, i64 32 %91 = load ptr, ptr %90, align 8, !tbaa !6 %92 = icmp eq ptr %91, null br i1 %92, label %93, label %81, !llvm.loop !25 93: ; preds = %81, %77 store ptr %79, ptr %3, align 8, !tbaa !6 %94 = getelementptr inbounds i8, ptr %79, i64 24 %95 = load ptr, ptr %94, align 8, !tbaa !12 %96 = load i32, ptr @GIST_EXCLUSIVE, align 4, !tbaa !22 %97 = tail call i32 @LockBuffer(ptr noundef %95, i32 noundef %96) #2 br label %5 98: ; preds = %17, %42 ret void } declare i32 @gistcheckpage(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @BufferGetPage(ptr noundef) local_unnamed_addr #1 declare i64 @PageGetLSN(ptr noundef) local_unnamed_addr #1 declare i64 @PageGetMaxOffsetNumber(ptr noundef) local_unnamed_addr #1 declare i32 @PageGetItemId(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @PageGetItem(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ItemPointerGetBlockNumber(ptr noundef) local_unnamed_addr #1 declare i64 @OffsetNumberNext(i64 noundef) local_unnamed_addr #1 declare ptr @GistPageGetOpaque(ptr noundef) local_unnamed_addr #1 declare i32 @UnlockReleaseBuffer(ptr noundef) local_unnamed_addr #1 declare ptr @ReadBuffer(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @LockBuffer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ReleaseBuffer(ptr noundef) local_unnamed_addr #1 declare ptr @gistFindPath(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 32} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !11, i64 40} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 24} !13 = !{!7, !11, i64 40} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 8} !17 = !{!7, !8, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_8__", !8, i64 0} !22 = !{!23, !23, i64 0} !23 = !{!"int", !9, i64 0} !24 = distinct !{!24, !19} !25 = distinct !{!25, !19}
postgres_src_backend_access_gist_extr_gist.c_gistFindCorrectParent
; ModuleID = 'AnghaBench/nginx/src/stream/extr_ngx_stream_log_module.c_ngx_stream_log_json_variable.c' source_filename = "AnghaBench/nginx/src/stream/extr_ngx_stream_log_module.c_ngx_stream_log_json_variable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i32, i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_stream_log_json_variable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ngx_stream_log_json_variable(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !5 %5 = tail call ptr @ngx_stream_get_indexed_variable(ptr noundef %0, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %23, label %7 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 3 %9 = load i64, ptr %8, align 8, !tbaa !10 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load i64, ptr %5, align 8, !tbaa !13 %13 = icmp eq i64 %12, 0 %14 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 2 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !15 br i1 %13, label %18, label %20 18: ; preds = %11 %19 = tail call ptr @ngx_cpymem(ptr noundef %1, i32 noundef %15, i32 noundef %17) #2 br label %23 20: ; preds = %11 %21 = tail call i64 @ngx_escape_json(ptr noundef %1, i32 noundef %15, i32 noundef %17) #2 %22 = inttoptr i64 %21 to ptr br label %23 23: ; preds = %3, %7, %20, %18 %24 = phi ptr [ %19, %18 ], [ %22, %20 ], [ %1, %7 ], [ %1, %3 ] ret ptr %24 } declare ptr @ngx_stream_get_indexed_variable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_cpymem(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ngx_escape_json(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"TYPE_5__", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!11, !7, i64 12} !15 = !{!11, !7, i64 8}
; ModuleID = 'AnghaBench/nginx/src/stream/extr_ngx_stream_log_module.c_ngx_stream_log_json_variable.c' source_filename = "AnghaBench/nginx/src/stream/extr_ngx_stream_log_module.c_ngx_stream_log_json_variable.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 @ngx_stream_log_json_variable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ngx_stream_log_json_variable(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !6 %5 = tail call ptr @ngx_stream_get_indexed_variable(ptr noundef %0, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %23, label %7 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %5, i64 16 %9 = load i64, ptr %8, align 8, !tbaa !11 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load i64, ptr %5, align 8, !tbaa !14 %13 = icmp eq i64 %12, 0 %14 = getelementptr inbounds i8, ptr %5, i64 12 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = getelementptr inbounds i8, ptr %5, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !16 br i1 %13, label %18, label %20 18: ; preds = %11 %19 = tail call ptr @ngx_cpymem(ptr noundef %1, i32 noundef %15, i32 noundef %17) #2 br label %23 20: ; preds = %11 %21 = tail call i64 @ngx_escape_json(ptr noundef %1, i32 noundef %15, i32 noundef %17) #2 %22 = inttoptr i64 %21 to ptr br label %23 23: ; preds = %3, %7, %20, %18 %24 = phi ptr [ %19, %18 ], [ %22, %20 ], [ %1, %7 ], [ %1, %3 ] ret ptr %24 } declare ptr @ngx_stream_get_indexed_variable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_cpymem(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ngx_escape_json(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 16} !12 = !{!"TYPE_5__", !13, i64 0, !8, i64 8, !8, i64 12, !13, i64 16} !13 = !{!"long", !9, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!12, !8, i64 12} !16 = !{!12, !8, i64 8}
nginx_src_stream_extr_ngx_stream_log_module.c_ngx_stream_log_json_variable
; ModuleID = 'AnghaBench/linux/net/mpls/extr_af_mpls.c_mpls_nh_assign_dev.c' source_filename = "AnghaBench/linux/net/mpls/extr_af_mpls.c_mpls_nh_assign_dev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mpls_nh = type { i64, i64, i32, i32 } %struct.net_device = type { i64, i32 } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @NEIGH_LINK_TABLE = dso_local local_unnamed_addr global i64 0, align 8 @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 @RTNH_F_DEAD = dso_local local_unnamed_addr global i32 0, align 4 @IFF_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @IFF_LOWER_UP = dso_local local_unnamed_addr global i32 0, align 4 @RTNH_F_LINKDOWN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mpls_nh_assign_dev], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mpls_nh_assign_dev(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @find_outdev(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = tail call i64 @IS_ERR(ptr noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @PTR_ERR(ptr noundef %5) #2 br label %50 10: ; preds = %4 %11 = load i32, ptr @EINVAL, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 %13 = tail call i32 @mpls_dev_get(ptr noundef %5) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %50, label %15 15: ; preds = %10 %16 = load i64, ptr %2, align 8, !tbaa !9 %17 = load i64, ptr @NEIGH_LINK_TABLE, align 8, !tbaa !12 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load i64, ptr %5, align 8, !tbaa !13 %21 = getelementptr inbounds %struct.mpls_nh, ptr %2, i64 0, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !15 %23 = icmp eq i64 %20, %22 br i1 %23, label %24, label %50 24: ; preds = %19, %15 %25 = getelementptr inbounds %struct.mpls_nh, ptr %2, i64 0, i32 3 %26 = load i32, ptr %25, align 4, !tbaa !16 %27 = tail call i32 @RCU_INIT_POINTER(i32 noundef %26, ptr noundef %5) #2 %28 = getelementptr inbounds %struct.net_device, ptr %5, i64 0, i32 1 %29 = load i32, ptr %28, align 8, !tbaa !17 %30 = load i32, ptr @IFF_UP, align 4, !tbaa !5 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %24 %34 = load i32, ptr @RTNH_F_DEAD, align 4, !tbaa !5 %35 = getelementptr inbounds %struct.mpls_nh, ptr %2, i64 0, i32 2 %36 = load i32, ptr %35, align 8, !tbaa !18 %37 = or i32 %36, %34 store i32 %37, ptr %35, align 8, !tbaa !18 br label %50 38: ; preds = %24 %39 = tail call i32 @dev_get_flags(ptr noundef nonnull %5) #2 %40 = load i32, ptr @IFF_RUNNING, align 4, !tbaa !5 %41 = load i32, ptr @IFF_LOWER_UP, align 4, !tbaa !5 %42 = or i32 %41, %40 %43 = and i32 %42, %39 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %50 45: ; preds = %38 %46 = load i32, ptr @RTNH_F_LINKDOWN, align 4, !tbaa !5 %47 = getelementptr inbounds %struct.mpls_nh, ptr %2, i64 0, i32 2 %48 = load i32, ptr %47, align 8, !tbaa !18 %49 = or i32 %48, %46 store i32 %49, ptr %47, align 8, !tbaa !18 br label %50 50: ; preds = %8, %10, %19, %33, %45, %38 %51 = phi i32 [ 0, %38 ], [ 0, %45 ], [ 0, %33 ], [ %9, %8 ], [ %12, %19 ], [ %12, %10 ] ret i32 %51 } declare ptr @find_outdev(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @mpls_dev_get(ptr noundef) local_unnamed_addr #1 declare i32 @RCU_INIT_POINTER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_get_flags(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"mpls_nh", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"net_device", !11, i64 0, !6, i64 8} !15 = !{!10, !11, i64 8} !16 = !{!10, !6, i64 20} !17 = !{!14, !6, i64 8} !18 = !{!10, !6, i64 16}
; ModuleID = 'AnghaBench/linux/net/mpls/extr_af_mpls.c_mpls_nh_assign_dev.c' source_filename = "AnghaBench/linux/net/mpls/extr_af_mpls.c_mpls_nh_assign_dev.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @NEIGH_LINK_TABLE = common local_unnamed_addr global i64 0, align 8 @IFF_UP = common local_unnamed_addr global i32 0, align 4 @RTNH_F_DEAD = common local_unnamed_addr global i32 0, align 4 @IFF_RUNNING = common local_unnamed_addr global i32 0, align 4 @IFF_LOWER_UP = common local_unnamed_addr global i32 0, align 4 @RTNH_F_LINKDOWN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mpls_nh_assign_dev], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mpls_nh_assign_dev(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call ptr @find_outdev(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = tail call i64 @IS_ERR(ptr noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @PTR_ERR(ptr noundef %5) #2 br label %50 10: ; preds = %4 %11 = load i32, ptr @EINVAL, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 %13 = tail call i32 @mpls_dev_get(ptr noundef %5) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %50, label %15 15: ; preds = %10 %16 = load i64, ptr %2, align 8, !tbaa !10 %17 = load i64, ptr @NEIGH_LINK_TABLE, align 8, !tbaa !13 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load i64, ptr %5, align 8, !tbaa !14 %21 = getelementptr inbounds i8, ptr %2, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = icmp eq i64 %20, %22 br i1 %23, label %24, label %50 24: ; preds = %19, %15 %25 = getelementptr inbounds i8, ptr %2, i64 20 %26 = load i32, ptr %25, align 4, !tbaa !17 %27 = tail call i32 @RCU_INIT_POINTER(i32 noundef %26, ptr noundef %5) #2 %28 = getelementptr inbounds i8, ptr %5, i64 8 %29 = load i32, ptr %28, align 8, !tbaa !18 %30 = load i32, ptr @IFF_UP, align 4, !tbaa !6 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %24 %34 = load i32, ptr @RTNH_F_DEAD, align 4, !tbaa !6 %35 = getelementptr inbounds i8, ptr %2, i64 16 %36 = load i32, ptr %35, align 8, !tbaa !19 %37 = or i32 %36, %34 store i32 %37, ptr %35, align 8, !tbaa !19 br label %50 38: ; preds = %24 %39 = tail call i32 @dev_get_flags(ptr noundef nonnull %5) #2 %40 = load i32, ptr @IFF_RUNNING, align 4, !tbaa !6 %41 = load i32, ptr @IFF_LOWER_UP, align 4, !tbaa !6 %42 = or i32 %41, %40 %43 = and i32 %42, %39 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %50 45: ; preds = %38 %46 = load i32, ptr @RTNH_F_LINKDOWN, align 4, !tbaa !6 %47 = getelementptr inbounds i8, ptr %2, i64 16 %48 = load i32, ptr %47, align 8, !tbaa !19 %49 = or i32 %48, %46 store i32 %49, ptr %47, align 8, !tbaa !19 br label %50 50: ; preds = %8, %10, %19, %33, %45, %38 %51 = phi i32 [ 0, %38 ], [ 0, %45 ], [ 0, %33 ], [ %9, %8 ], [ %12, %19 ], [ %12, %10 ] ret i32 %51 } declare ptr @find_outdev(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @mpls_dev_get(ptr noundef) local_unnamed_addr #1 declare i32 @RCU_INIT_POINTER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_get_flags(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"mpls_nh", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"net_device", !12, i64 0, !7, i64 8} !16 = !{!11, !12, i64 8} !17 = !{!11, !7, i64 20} !18 = !{!15, !7, i64 8} !19 = !{!11, !7, i64 16}
linux_net_mpls_extr_af_mpls.c_mpls_nh_assign_dev
; ModuleID = 'AnghaBench/8cc/extr_parse.c_read_float.c' source_filename = "AnghaBench/8cc/extr_parse.c_read_float.c" target datalayout = "e-m:e-p270:32:32-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 [2 x i8] c"l\00", align 1 @type_ldouble = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"f\00", align 1 @type_float = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"invalid character '%c': %s\00", align 1 @type_double = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_float], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @read_float(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5 %4 = call double @strtod(ptr noundef %3, ptr noundef nonnull %2) %5 = load ptr, ptr %2, align 8, !tbaa !10 %6 = tail call i32 @strcasecmp(ptr noundef %5, ptr noundef nonnull @.str) %7 = icmp eq i32 %6, 0 br i1 %7, label %16, label %8 8: ; preds = %1 %9 = tail call i32 @strcasecmp(ptr noundef %5, ptr noundef nonnull @.str.1) %10 = icmp eq i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %8 %12 = load i8, ptr %5, align 1, !tbaa !11 %13 = icmp eq i8 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %11 %15 = tail call i32 @errort(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i8 noundef signext %12, ptr noundef %3) #5 br label %16 16: ; preds = %11, %14, %8, %1 %17 = phi ptr [ @type_ldouble, %1 ], [ @type_float, %8 ], [ @type_double, %14 ], [ @type_double, %11 ] %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = tail call ptr @ast_floattype(i32 noundef %18, double noundef %4) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5 ret ptr %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn declare double @strtod(ptr noundef readonly, ptr nocapture noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare ptr @ast_floattype(i32 noundef, double noundef) local_unnamed_addr #4 declare i32 @errort(ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #4 ; 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 nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/8cc/extr_parse.c_read_float.c' source_filename = "AnghaBench/8cc/extr_parse.c_read_float.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 [2 x i8] c"l\00", align 1 @type_ldouble = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"f\00", align 1 @type_float = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"invalid character '%c': %s\00", align 1 @type_double = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_float], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @read_float(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5 %4 = call double @strtod(ptr noundef %3, ptr noundef nonnull %2) %5 = load ptr, ptr %2, align 8, !tbaa !11 %6 = tail call i32 @strcasecmp(ptr noundef %5, ptr noundef nonnull @.str) %7 = icmp eq i32 %6, 0 br i1 %7, label %16, label %8 8: ; preds = %1 %9 = tail call i32 @strcasecmp(ptr noundef %5, ptr noundef nonnull @.str.1) %10 = icmp eq i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %8 %12 = load i8, ptr %5, align 1, !tbaa !12 %13 = icmp eq i8 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %11 %15 = tail call i32 @errort(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i8 noundef signext %12, ptr noundef %3) #5 br label %16 16: ; preds = %11, %14, %8, %1 %17 = phi ptr [ @type_ldouble, %1 ], [ @type_float, %8 ], [ @type_double, %14 ], [ @type_double, %11 ] %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = tail call ptr @ast_floattype(i32 noundef %18, double noundef %4) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5 ret ptr %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn declare double @strtod(ptr noundef readonly, ptr nocapture noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @strcasecmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare ptr @ast_floattype(i32 noundef, double noundef) local_unnamed_addr #4 declare i32 @errort(ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #4 ; 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 nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!9, !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
8cc_extr_parse.c_read_float
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-core.c_cvmx_core_add_fixed_tlb_mapping_bits.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-core.c_cvmx_core_add_fixed_tlb_mapping_bits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [70 x i8] c"Error adding tlb mapping: invalid address alignment at vaddr: 0x%llx\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @cvmx_core_add_fixed_tlb_mapping_bits(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = or i32 %3, 2047 %6 = and i32 %5, %0 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = and i32 %1, -8 %10 = ashr i32 %5, 1 %11 = and i32 %9, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = and i32 %2, -8 %15 = and i32 %14, %10 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %13, %8, %4 %18 = sext i32 %0 to i64 %19 = tail call i32 @cvmx_dprintf(ptr noundef nonnull @.str, i64 noundef %18) #2 br label %28 20: ; preds = %13 %21 = ashr i32 %1, 6 %22 = and i32 %1, 7 %23 = or i32 %21, %22 %24 = ashr i32 %2, 6 %25 = and i32 %2, 7 %26 = or i32 %24, %25 %27 = tail call i32 @cvmx_core_add_wired_tlb_entry(i32 noundef %0, i32 noundef %23, i32 noundef %26, i32 noundef %3) #2 br label %28 28: ; preds = %20, %17 %29 = phi i32 [ -1, %17 ], [ %27, %20 ] ret i32 %29 } declare i32 @cvmx_dprintf(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @cvmx_core_add_wired_tlb_entry(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)"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-core.c_cvmx_core_add_fixed_tlb_mapping_bits.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-core.c_cvmx_core_add_fixed_tlb_mapping_bits.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 [70 x i8] c"Error adding tlb mapping: invalid address alignment at vaddr: 0x%llx\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @cvmx_core_add_fixed_tlb_mapping_bits(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = or i32 %3, 2047 %6 = and i32 %5, %0 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = and i32 %1, -8 %10 = ashr i32 %5, 1 %11 = and i32 %9, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %8 %14 = and i32 %2, -8 %15 = and i32 %14, %10 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %13, %8, %4 %18 = sext i32 %0 to i64 %19 = tail call i32 @cvmx_dprintf(ptr noundef nonnull @.str, i64 noundef %18) #2 br label %28 20: ; preds = %13 %21 = ashr i32 %1, 6 %22 = and i32 %1, 7 %23 = or i32 %21, %22 %24 = ashr i32 %2, 6 %25 = and i32 %2, 7 %26 = or i32 %24, %25 %27 = tail call i32 @cvmx_core_add_wired_tlb_entry(i32 noundef %0, i32 noundef %23, i32 noundef %26, i32 noundef %3) #2 br label %28 28: ; preds = %20, %17 %29 = phi i32 [ -1, %17 ], [ %27, %20 ] ret i32 %29 } declare i32 @cvmx_dprintf(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @cvmx_core_add_wired_tlb_entry(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)"}
freebsd_sys_contrib_octeon-sdk_extr_cvmx-core.c_cvmx_core_add_fixed_tlb_mapping_bits
; ModuleID = 'AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb.c_xenbusb_enumerate_bus.c' source_filename = "AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb.c_xenbusb_enumerate_bus.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.xenbusb_softc = type { i32, i32 } @XST_NIL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @M_XENSTORE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xenbusb_enumerate_bus], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @xenbusb_enumerate_bus(ptr nocapture noundef readonly %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = load i32, ptr @XST_NIL, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.xenbusb_softc, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = call i32 @xs_directory(i32 noundef %4, i32 noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull %3, ptr noundef nonnull %2) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %26 9: ; preds = %1 %10 = load i64, ptr %3, align 8, !tbaa !11 %11 = icmp eq i64 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %9, %12 %13 = phi i64 [ %19, %12 ], [ 0, %9 ] %14 = load i32, ptr %0, align 4, !tbaa !13 %15 = load ptr, ptr %2, align 8, !tbaa !14 %16 = getelementptr inbounds ptr, ptr %15, i64 %13 %17 = load ptr, ptr %16, align 8, !tbaa !14 %18 = call i32 @XENBUSB_ENUMERATE_TYPE(i32 noundef %14, ptr noundef %17) #3 %19 = add nuw i64 %13, 1 %20 = load i64, ptr %3, align 8, !tbaa !11 %21 = icmp ult i64 %19, %20 br i1 %21, label %12, label %22, !llvm.loop !16 22: ; preds = %12, %9 %23 = load ptr, ptr %2, align 8, !tbaa !14 %24 = load i32, ptr @M_XENSTORE, align 4, !tbaa !5 %25 = call i32 @free(ptr noundef %23, i32 noundef %24) #3 br label %26 26: ; preds = %1, %22 %27 = phi i32 [ 0, %22 ], [ %7, %1 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %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 @xs_directory(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @XENBUSB_ENUMERATE_TYPE(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(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 4} !10 = !{!"xenbusb_softc", !6, i64 0, !6, i64 4} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb.c_xenbusb_enumerate_bus.c' source_filename = "AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb.c_xenbusb_enumerate_bus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XST_NIL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @M_XENSTORE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xenbusb_enumerate_bus], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @xenbusb_enumerate_bus(ptr nocapture noundef readonly %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = load i32, ptr @XST_NIL, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = call i32 @xs_directory(i32 noundef %4, i32 noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull %3, ptr noundef nonnull %2) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %26 9: ; preds = %1 %10 = load i64, ptr %3, align 8, !tbaa !12 %11 = icmp eq i64 %10, 0 br i1 %11, label %22, label %12 12: ; preds = %9, %12 %13 = phi i64 [ %19, %12 ], [ 0, %9 ] %14 = load i32, ptr %0, align 4, !tbaa !14 %15 = load ptr, ptr %2, align 8, !tbaa !15 %16 = getelementptr inbounds ptr, ptr %15, i64 %13 %17 = load ptr, ptr %16, align 8, !tbaa !15 %18 = call i32 @XENBUSB_ENUMERATE_TYPE(i32 noundef %14, ptr noundef %17) #3 %19 = add nuw i64 %13, 1 %20 = load i64, ptr %3, align 8, !tbaa !12 %21 = icmp ult i64 %19, %20 br i1 %21, label %12, label %22, !llvm.loop !17 22: ; preds = %12, %9 %23 = load ptr, ptr %2, align 8, !tbaa !15 %24 = load i32, ptr @M_XENSTORE, align 4, !tbaa !6 %25 = call i32 @free(ptr noundef %23, i32 noundef %24) #3 br label %26 26: ; preds = %1, %22 %27 = phi i32 [ 0, %22 ], [ %7, %1 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %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 @xs_directory(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @XENBUSB_ENUMERATE_TYPE(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @free(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 4} !11 = !{!"xenbusb_softc", !7, i64 0, !7, i64 4} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
freebsd_sys_xen_xenbus_extr_xenbusb.c_xenbusb_enumerate_bus
; ModuleID = 'AnghaBench/linux/net/mac80211/extr_iface.c___ieee80211_idle_off.c' source_filename = "AnghaBench/linux/net/mac80211/extr_iface.c___ieee80211_idle_off.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IEEE80211_CONF_IDLE = dso_local local_unnamed_addr global i32 0, align 4 @IEEE80211_CONF_CHANGE_IDLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__ieee80211_idle_off], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @__ieee80211_idle_off(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @IEEE80211_CONF_IDLE, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = xor i32 %3, -1 %8 = and i32 %2, %7 store i32 %8, ptr %0, align 4, !tbaa !5 %9 = load i32, ptr @IEEE80211_CONF_CHANGE_IDLE, align 4, !tbaa !12 br label %10 10: ; preds = %1, %6 %11 = phi i32 [ %9, %6 ], [ 0, %1 ] ret i32 %11 } 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, !9, i64 0} !6 = !{!"ieee80211_local", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
; ModuleID = 'AnghaBench/linux/net/mac80211/extr_iface.c___ieee80211_idle_off.c' source_filename = "AnghaBench/linux/net/mac80211/extr_iface.c___ieee80211_idle_off.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IEEE80211_CONF_IDLE = common local_unnamed_addr global i32 0, align 4 @IEEE80211_CONF_CHANGE_IDLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__ieee80211_idle_off], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @__ieee80211_idle_off(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @IEEE80211_CONF_IDLE, align 4, !tbaa !13 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = xor i32 %3, -1 %8 = and i32 %2, %7 store i32 %8, ptr %0, align 4, !tbaa !6 %9 = load i32, ptr @IEEE80211_CONF_CHANGE_IDLE, align 4, !tbaa !13 br label %10 10: ; preds = %1, %6 %11 = phi i32 [ %9, %6 ], [ 0, %1 ] ret i32 %11 } 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, !10, i64 0} !7 = !{!"ieee80211_local", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"TYPE_3__", !10, i64 0} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!10, !10, i64 0}
linux_net_mac80211_extr_iface.c___ieee80211_idle_off
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_mvgetn_wstr.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_mvgetn_wstr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @cmd_mvgetn_wstr(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = tail call i32 @check_arg_count(i32 noundef %0, i32 noundef 1) #2 %4 = icmp eq i32 %3, 1 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 @report_count(i32 noundef 1) #2 %7 = tail call i32 @report_error(ptr noundef nonnull @.str) #2 br label %8 8: ; preds = %2, %5 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @report_count(i32 noundef) local_unnamed_addr #1 declare i32 @report_error(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_mvgetn_wstr.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libcurses/slave/extr_curses_commands.c_cmd_mvgetn_wstr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @cmd_mvgetn_wstr(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = tail call i32 @check_arg_count(i32 noundef %0, i32 noundef 1) #2 %4 = icmp eq i32 %3, 1 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 @report_count(i32 noundef 1) #2 %7 = tail call i32 @report_error(ptr noundef nonnull @.str) #2 br label %8 8: ; preds = %2, %5 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @report_count(i32 noundef) local_unnamed_addr #1 declare i32 @report_error(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_netbsd-tests_lib_libcurses_slave_extr_curses_commands.c_cmd_mvgetn_wstr
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/extr_nanoxwin.c_ui_polyline.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/extr_nanoxwin.c_ui_polyline.c" target datalayout = "e-m:e-p270:32:32-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 } ; Function Attrs: nounwind uwtable define dso_local void @ui_polyline(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 2 br i1 %5, label %24, label %6 6: ; preds = %4 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = load i32, ptr %1, align 4, !tbaa !10 %10 = zext nneg i32 %2 to i64 br label %11 11: ; preds = %6, %11 %12 = phi i64 [ 1, %6 ], [ %22, %11 ] %13 = phi i32 [ %9, %6 ], [ %19, %11 ] %14 = phi i32 [ %8, %6 ], [ %20, %11 ] %15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %12 %16 = load i32, ptr %15, align 4, !tbaa !10 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %12, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !5 %19 = add nsw i32 %16, %13 %20 = add nsw i32 %18, %14 %21 = tail call i32 @ui_line(i32 noundef %0, i32 noundef %13, i32 noundef %14, i32 noundef %19, i32 noundef %20, ptr noundef %3) #2 %22 = add nuw nsw i64 %12, 1 %23 = icmp eq i64 %22, %10 br i1 %23, label %24, label %11, !llvm.loop !11 24: ; preds = %11, %4 ret void } declare i32 @ui_line(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/extr_nanoxwin.c_ui_polyline.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/extr_nanoxwin.c_ui_polyline.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32 } ; Function Attrs: nounwind ssp uwtable(sync) define void @ui_polyline(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 2 br i1 %5, label %24, label %6 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = load i32, ptr %1, align 4, !tbaa !11 %10 = zext nneg i32 %2 to i64 br label %11 11: ; preds = %6, %11 %12 = phi i64 [ 1, %6 ], [ %22, %11 ] %13 = phi i32 [ %9, %6 ], [ %19, %11 ] %14 = phi i32 [ %8, %6 ], [ %20, %11 ] %15 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 %12 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = getelementptr inbounds i8, ptr %15, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !6 %19 = add nsw i32 %16, %13 %20 = add nsw i32 %18, %14 %21 = tail call i32 @ui_line(i32 noundef %0, i32 noundef %13, i32 noundef %14, i32 noundef %19, i32 noundef %20, ptr noundef %3) #2 %22 = add nuw nsw i64 %12, 1 %23 = icmp eq i64 %22, %10 br i1 %23, label %24, label %11, !llvm.loop !12 24: ; preds = %11, %4 ret void } declare i32 @ui_line(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
reactos_modules_rosapps_applications_net_tsclient_rdesktop_uiports_extr_nanoxwin.c_ui_polyline
; ModuleID = 'AnghaBench/reactos/win32ss/gdi/ntgdi/extr_freetype.c_SharedMem_AddRef.c' source_filename = "AnghaBench/reactos/win32ss/gdi/ntgdi/extr_freetype.c_SharedMem_AddRef.c" target datalayout = "e-m:e-p270:32:32-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 @SharedMem_AddRef], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @SharedMem_AddRef(ptr nocapture noundef %0) #0 { %2 = tail call i32 (...) @ASSERT_FREETYPE_LOCK_HELD() #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = add nsw i32 %3, 1 store i32 %4, ptr %0, align 4, !tbaa !5 ret void } declare i32 @ASSERT_FREETYPE_LOCK_HELD(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/win32ss/gdi/ntgdi/extr_freetype.c_SharedMem_AddRef.c' source_filename = "AnghaBench/reactos/win32ss/gdi/ntgdi/extr_freetype.c_SharedMem_AddRef.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 @SharedMem_AddRef], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @SharedMem_AddRef(ptr nocapture noundef %0) #0 { %2 = tail call i32 @ASSERT_FREETYPE_LOCK_HELD() #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = add nsw i32 %3, 1 store i32 %4, ptr %0, align 4, !tbaa !6 ret void } declare i32 @ASSERT_FREETYPE_LOCK_HELD(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
reactos_win32ss_gdi_ntgdi_extr_freetype.c_SharedMem_AddRef
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_ctdaio.c_dai_commit_write.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_ctdaio.c_dai_commit_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dai = type { i32, i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @dai_commit_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @dai_commit_write(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.dai, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.dai, ptr %0, i64 0, i32 2 %7 = load i32, ptr %6, align 8, !tbaa !15 %8 = tail call i32 @daio_device_index(i32 noundef %7, i64 noundef %3) #2 %9 = load i32, ptr %0, align 8, !tbaa !16 %10 = tail call i32 %5(i64 noundef %3, i32 noundef %8, i32 noundef %9) #2 ret i32 0 } declare i32 @daio_device_index(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, !10, i64 8} !6 = !{!"dai", !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 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"hw", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_ctdaio.c_dai_commit_write.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_ctdaio.c_dai_commit_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @dai_commit_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @dai_commit_write(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load i32, ptr %6, align 8, !tbaa !16 %8 = tail call i32 @daio_device_index(i32 noundef %7, i64 noundef %3) #2 %9 = load i32, ptr %0, align 8, !tbaa !17 %10 = tail call i32 %5(i64 noundef %3, i32 noundef %8, i32 noundef %9) #2 ret i32 0 } declare i32 @daio_device_index(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, !11, i64 8} !7 = !{!"dai", !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 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"hw", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!7, !8, i64 16} !17 = !{!7, !8, i64 0}
fastsocket_kernel_sound_pci_ctxfi_extr_ctdaio.c_dai_commit_write
; ModuleID = 'AnghaBench/linux/drivers/net/extr_macvlan.c_macvlan_fill_info.c' source_filename = "AnghaBench/linux/drivers/net/extr_macvlan.c_macvlan_fill_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.macvlan_dev = type { i64, i64, i32 } @IFLA_MACVLAN_MODE = dso_local local_unnamed_addr global i32 0, align 4 @IFLA_MACVLAN_FLAGS = dso_local local_unnamed_addr global i32 0, align 4 @IFLA_MACVLAN_MACADDR_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @IFLA_MACVLAN_MACADDR_DATA = dso_local local_unnamed_addr global i32 0, align 4 @MACVLAN_HASH_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @EMSGSIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @macvlan_fill_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @macvlan_fill_info(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = load i32, ptr @IFLA_MACVLAN_MODE, align 4, !tbaa !5 %5 = load i64, ptr %3, align 8, !tbaa !9 %6 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %4, i64 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %40 8: ; preds = %2 %9 = load i32, ptr @IFLA_MACVLAN_FLAGS, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.macvlan_dev, ptr %3, i64 0, i32 2 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = tail call i64 @nla_put_u16(ptr noundef %0, i32 noundef %9, i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %40 14: ; preds = %8 %15 = load i32, ptr @IFLA_MACVLAN_MACADDR_COUNT, align 4, !tbaa !5 %16 = getelementptr inbounds %struct.macvlan_dev, ptr %3, i64 0, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !13 %18 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %15, i64 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %40 20: ; preds = %14 %21 = load i64, ptr %16, align 8, !tbaa !13 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %43 23: ; preds = %20 %24 = load i32, ptr @IFLA_MACVLAN_MACADDR_DATA, align 4, !tbaa !5 %25 = tail call ptr @nla_nest_start_noflag(ptr noundef %0, i32 noundef %24) #2 %26 = icmp eq ptr %25, null br i1 %26, label %40, label %27 27: ; preds = %23 %28 = load i32, ptr @MACVLAN_HASH_SIZE, align 4, !tbaa !5 %29 = icmp sgt i32 %28, 0 br i1 %29, label %34, label %38 30: ; preds = %34 %31 = add nuw nsw i32 %35, 1 %32 = load i32, ptr @MACVLAN_HASH_SIZE, align 4, !tbaa !5 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %38, !llvm.loop !14 34: ; preds = %27, %30 %35 = phi i32 [ %31, %30 ], [ 0, %27 ] %36 = tail call i64 @macvlan_fill_info_macaddr(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %30, label %40 38: ; preds = %30, %27 %39 = tail call i32 @nla_nest_end(ptr noundef %0, ptr noundef nonnull %25) #2 br label %43 40: ; preds = %34, %23, %14, %8, %2 %41 = load i32, ptr @EMSGSIZE, align 4, !tbaa !5 %42 = sub nsw i32 0, %41 br label %43 43: ; preds = %20, %38, %40 %44 = phi i32 [ %42, %40 ], [ 0, %38 ], [ 0, %20 ] ret i32 %44 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @nla_put_u32(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @nla_put_u16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nla_nest_start_noflag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @macvlan_fill_info_macaddr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nla_nest_end(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"macvlan_dev", !11, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!10, !6, i64 16} !13 = !{!10, !11, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/extr_macvlan.c_macvlan_fill_info.c' source_filename = "AnghaBench/linux/drivers/net/extr_macvlan.c_macvlan_fill_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFLA_MACVLAN_MODE = common local_unnamed_addr global i32 0, align 4 @IFLA_MACVLAN_FLAGS = common local_unnamed_addr global i32 0, align 4 @IFLA_MACVLAN_MACADDR_COUNT = common local_unnamed_addr global i32 0, align 4 @IFLA_MACVLAN_MACADDR_DATA = common local_unnamed_addr global i32 0, align 4 @MACVLAN_HASH_SIZE = common local_unnamed_addr global i32 0, align 4 @EMSGSIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @macvlan_fill_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @macvlan_fill_info(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = load i32, ptr @IFLA_MACVLAN_MODE, align 4, !tbaa !6 %5 = load i64, ptr %3, align 8, !tbaa !10 %6 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %4, i64 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %40 8: ; preds = %2 %9 = load i32, ptr @IFLA_MACVLAN_FLAGS, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %3, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = tail call i64 @nla_put_u16(ptr noundef %0, i32 noundef %9, i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %40 14: ; preds = %8 %15 = load i32, ptr @IFLA_MACVLAN_MACADDR_COUNT, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %3, i64 8 %17 = load i64, ptr %16, align 8, !tbaa !14 %18 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %15, i64 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %40 20: ; preds = %14 %21 = load i64, ptr %16, align 8, !tbaa !14 %22 = icmp sgt i64 %21, 0 br i1 %22, label %23, label %43 23: ; preds = %20 %24 = load i32, ptr @IFLA_MACVLAN_MACADDR_DATA, align 4, !tbaa !6 %25 = tail call ptr @nla_nest_start_noflag(ptr noundef %0, i32 noundef %24) #2 %26 = icmp eq ptr %25, null br i1 %26, label %40, label %27 27: ; preds = %23 %28 = load i32, ptr @MACVLAN_HASH_SIZE, align 4, !tbaa !6 %29 = icmp sgt i32 %28, 0 br i1 %29, label %34, label %38 30: ; preds = %34 %31 = add nuw nsw i32 %35, 1 %32 = load i32, ptr @MACVLAN_HASH_SIZE, align 4, !tbaa !6 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %38, !llvm.loop !15 34: ; preds = %27, %30 %35 = phi i32 [ %31, %30 ], [ 0, %27 ] %36 = tail call i64 @macvlan_fill_info_macaddr(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %35) #2 %37 = icmp eq i64 %36, 0 br i1 %37, label %30, label %40 38: ; preds = %30, %27 %39 = tail call i32 @nla_nest_end(ptr noundef %0, ptr noundef nonnull %25) #2 br label %43 40: ; preds = %34, %23, %14, %8, %2 %41 = load i32, ptr @EMSGSIZE, align 4, !tbaa !6 %42 = sub nsw i32 0, %41 br label %43 43: ; preds = %20, %38, %40 %44 = phi i32 [ %42, %40 ], [ 0, %38 ], [ 0, %20 ] ret i32 %44 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @nla_put_u32(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @nla_put_u16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nla_nest_start_noflag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @macvlan_fill_info_macaddr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nla_nest_end(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"macvlan_dev", !12, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 16} !14 = !{!11, !12, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_extr_macvlan.c_macvlan_fill_info
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_datetime_strings.c_lossless_unit_from_datetimestruct.c' source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_datetime_strings.c_lossless_unit_from_datetimestruct.c" target datalayout = "e-m:e-p270:32:32-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, i64, i64, i64, i32, i32 } @NPY_FR_as = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_fs = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_ps = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_ns = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_us = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_ms = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_s = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_m = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_h = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_D = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_M = dso_local local_unnamed_addr global i32 0, align 4 @NPY_FR_Y = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lossless_unit_from_datetimestruct], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @lossless_unit_from_datetimestruct(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = srem i32 %2, 1000 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %42 5: ; preds = %1 %6 = icmp eq i32 %2, 0 br i1 %6, label %7, label %42 7: ; preds = %5 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = srem i32 %9, 1000 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %42 12: ; preds = %7 %13 = icmp eq i32 %9, 0 br i1 %13, label %14, label %42 14: ; preds = %12 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %16 = load i32, ptr %15, align 8, !tbaa !12 %17 = srem i32 %16, 1000 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %42 19: ; preds = %14 %20 = icmp eq i32 %16, 0 br i1 %20, label %21, label %42 21: ; preds = %19 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %23 = load i64, ptr %22, align 8, !tbaa !13 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %42 25: ; preds = %21 %26 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 %27 = load i64, ptr %26, align 8, !tbaa !14 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %42 29: ; preds = %25 %30 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 %31 = load i64, ptr %30, align 8, !tbaa !15 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %42 33: ; preds = %29 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6 %35 = load i32, ptr %34, align 8, !tbaa !16 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 7 %39 = load i32, ptr %38, align 4, !tbaa !17 %40 = icmp eq i32 %39, 1 %41 = select i1 %40, ptr @NPY_FR_Y, ptr @NPY_FR_M br label %42 42: ; preds = %37, %33, %29, %25, %21, %19, %14, %12, %7, %5, %1 %43 = phi ptr [ @NPY_FR_as, %1 ], [ @NPY_FR_fs, %5 ], [ @NPY_FR_ps, %7 ], [ @NPY_FR_ns, %12 ], [ @NPY_FR_us, %14 ], [ @NPY_FR_ms, %19 ], [ @NPY_FR_s, %21 ], [ @NPY_FR_m, %25 ], [ @NPY_FR_h, %29 ], [ @NPY_FR_D, %33 ], [ %41, %37 ] %44 = load i32, ptr %43, align 4, !tbaa !18 ret i32 %44 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 44} !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 4} !12 = !{!6, !7, i64 8} !13 = !{!6, !10, i64 16} !14 = !{!6, !10, i64 24} !15 = !{!6, !10, i64 32} !16 = !{!6, !7, i64 40} !17 = !{!6, !7, i64 44} !18 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_datetime_strings.c_lossless_unit_from_datetimestruct.c' source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_datetime_strings.c_lossless_unit_from_datetimestruct.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NPY_FR_as = common local_unnamed_addr global i32 0, align 4 @NPY_FR_fs = common local_unnamed_addr global i32 0, align 4 @NPY_FR_ps = common local_unnamed_addr global i32 0, align 4 @NPY_FR_ns = common local_unnamed_addr global i32 0, align 4 @NPY_FR_us = common local_unnamed_addr global i32 0, align 4 @NPY_FR_ms = common local_unnamed_addr global i32 0, align 4 @NPY_FR_s = common local_unnamed_addr global i32 0, align 4 @NPY_FR_m = common local_unnamed_addr global i32 0, align 4 @NPY_FR_h = common local_unnamed_addr global i32 0, align 4 @NPY_FR_D = common local_unnamed_addr global i32 0, align 4 @NPY_FR_M = common local_unnamed_addr global i32 0, align 4 @NPY_FR_Y = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lossless_unit_from_datetimestruct], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @lossless_unit_from_datetimestruct(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = srem i32 %2, 1000 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %42 5: ; preds = %1 %6 = icmp eq i32 %2, 0 br i1 %6, label %7, label %42 7: ; preds = %5 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = srem i32 %9, 1000 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %42 12: ; preds = %7 %13 = icmp eq i32 %9, 0 br i1 %13, label %14, label %42 14: ; preds = %12 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i32, ptr %15, align 8, !tbaa !13 %17 = srem i32 %16, 1000 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %42 19: ; preds = %14 %20 = icmp eq i32 %16, 0 br i1 %20, label %21, label %42 21: ; preds = %19 %22 = getelementptr inbounds i8, ptr %0, i64 16 %23 = load i64, ptr %22, align 8, !tbaa !14 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %42 25: ; preds = %21 %26 = getelementptr inbounds i8, ptr %0, i64 24 %27 = load i64, ptr %26, align 8, !tbaa !15 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %42 29: ; preds = %25 %30 = getelementptr inbounds i8, ptr %0, i64 32 %31 = load i64, ptr %30, align 8, !tbaa !16 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %42 33: ; preds = %29 %34 = getelementptr inbounds i8, ptr %0, i64 40 %35 = load i32, ptr %34, align 8, !tbaa !17 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %42 37: ; preds = %33 %38 = getelementptr inbounds i8, ptr %0, i64 44 %39 = load i32, ptr %38, align 4, !tbaa !18 %40 = icmp eq i32 %39, 1 %41 = select i1 %40, ptr @NPY_FR_Y, ptr @NPY_FR_M br label %42 42: ; preds = %37, %33, %29, %25, %21, %19, %14, %12, %7, %5, %1 %43 = phi ptr [ @NPY_FR_as, %1 ], [ @NPY_FR_fs, %5 ], [ @NPY_FR_ps, %7 ], [ @NPY_FR_ns, %12 ], [ @NPY_FR_us, %14 ], [ @NPY_FR_ms, %19 ], [ @NPY_FR_s, %21 ], [ @NPY_FR_m, %25 ], [ @NPY_FR_h, %29 ], [ @NPY_FR_D, %33 ], [ %41, %37 ] %44 = load i32, ptr %43, align 4, !tbaa !19 ret i32 %44 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !8, i64 40, !8, i64 44} !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 4} !13 = !{!7, !8, i64 8} !14 = !{!7, !11, i64 16} !15 = !{!7, !11, i64 24} !16 = !{!7, !11, i64 32} !17 = !{!7, !8, i64 40} !18 = !{!7, !8, i64 44} !19 = !{!8, !8, i64 0}
numpy_numpy_core_src_multiarray_extr_datetime_strings.c_lossless_unit_from_datetimestruct
; ModuleID = 'AnghaBench/libsodium/src/libsodium/randombytes/extr_randombytes.c_randombytes.c' source_filename = "AnghaBench/libsodium/src/libsodium/randombytes/extr_randombytes.c_randombytes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SIZE_MAX = dso_local local_unnamed_addr constant i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @randombytes(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = tail call i32 @randombytes_buf(ptr noundef %0, i64 noundef %1) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @randombytes_buf(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)"}
; ModuleID = 'AnghaBench/libsodium/src/libsodium/randombytes/extr_randombytes.c_randombytes.c' source_filename = "AnghaBench/libsodium/src/libsodium/randombytes/extr_randombytes.c_randombytes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SIZE_MAX = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @randombytes(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @SIZE_MAX, align 8, !tbaa !6 %4 = icmp uge i64 %3, %1 %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = tail call i32 @randombytes_buf(ptr noundef %0, i64 noundef %1) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @randombytes_buf(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 long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libsodium_src_libsodium_randombytes_extr_randombytes.c_randombytes
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_item_ops.c_indirect_is_left_mergeable.c' source_filename = "AnghaBench/linux/fs/reiserfs/extr_item_ops.c_indirect_is_left_mergeable.c" target datalayout = "e-m:e-p270:32:32-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 @indirect_is_left_mergeable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @indirect_is_left_mergeable(ptr noundef %0, i64 %1) #0 { %3 = tail call i32 @le_key_version(ptr noundef %0) #2 %4 = tail call i32 @le_key_k_offset(i32 noundef %3, ptr noundef %0) #2 %5 = icmp ne i32 %4, 1 %6 = zext i1 %5 to i32 ret i32 %6 } declare i32 @le_key_version(ptr noundef) local_unnamed_addr #1 declare i32 @le_key_k_offset(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)"}
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_item_ops.c_indirect_is_left_mergeable.c' source_filename = "AnghaBench/linux/fs/reiserfs/extr_item_ops.c_indirect_is_left_mergeable.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 @indirect_is_left_mergeable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @indirect_is_left_mergeable(ptr noundef %0, i64 %1) #0 { %3 = tail call i32 @le_key_version(ptr noundef %0) #2 %4 = tail call i32 @le_key_k_offset(i32 noundef %3, ptr noundef %0) #2 %5 = icmp ne i32 %4, 1 %6 = zext i1 %5 to i32 ret i32 %6 } declare i32 @le_key_version(ptr noundef) local_unnamed_addr #1 declare i32 @le_key_k_offset(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)"}
linux_fs_reiserfs_extr_item_ops.c_indirect_is_left_mergeable
; ModuleID = 'AnghaBench/h2o/src/extr_main.c_on_config_crash_handler_wait_pipe_close.c' source_filename = "AnghaBench/h2o/src/extr_main.c_on_config_crash_handler_wait_pipe_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [7 x i8] c"OFF,ON\00", align 1 @conf = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @on_config_crash_handler_wait_pipe_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @on_config_crash_handler_wait_pipe_close(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @h2o_configurator_get_one_of(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str) #2 %5 = icmp eq i32 %4, -1 br i1 %5, label %7, label %6 6: ; preds = %3 store i32 %4, ptr @conf, align 4, !tbaa !5 br label %7 7: ; preds = %3, %6 %8 = phi i32 [ 0, %6 ], [ -1, %3 ] ret i32 %8 } declare i32 @h2o_configurator_get_one_of(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/h2o/src/extr_main.c_on_config_crash_handler_wait_pipe_close.c' source_filename = "AnghaBench/h2o/src/extr_main.c_on_config_crash_handler_wait_pipe_close.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 } @.str = private unnamed_addr constant [7 x i8] c"OFF,ON\00", align 1 @conf = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @on_config_crash_handler_wait_pipe_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @on_config_crash_handler_wait_pipe_close(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @h2o_configurator_get_one_of(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str) #2 %5 = icmp eq i32 %4, -1 br i1 %5, label %7, label %6 6: ; preds = %3 store i32 %4, ptr @conf, align 4, !tbaa !6 br label %7 7: ; preds = %3, %6 %8 = phi i32 [ 0, %6 ], [ -1, %3 ] ret i32 %8 } declare i32 @h2o_configurator_get_one_of(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
h2o_src_extr_main.c_on_config_crash_handler_wait_pipe_close
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/macintosh/extr_via-pmu.c_query_battery_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/macintosh/extr_via-pmu.c_query_battery_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @async_req_locks = dso_local global i32 0, align 4 @pmu_kind = dso_local local_unnamed_addr global i64 0, align 8 @PMU_OHARE_BASED = dso_local local_unnamed_addr global i64 0, align 8 @batt_req = dso_local global i32 0, align 4 @done_battery_state_ohare = dso_local local_unnamed_addr global i32 0, align 4 @PMU_BATTERY_STATE = dso_local local_unnamed_addr global i32 0, align 4 @done_battery_state_smart = dso_local local_unnamed_addr global i32 0, align 4 @PMU_SMART_BATTERY_STATE = dso_local local_unnamed_addr global i32 0, align 4 @pmu_cur_battery = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @query_battery_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @query_battery_state() #0 { %1 = tail call i64 @test_and_set_bit(i32 noundef 0, ptr noundef nonnull @async_req_locks) #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %3, label %17 3: ; preds = %0 %4 = load i64, ptr @pmu_kind, align 8, !tbaa !5 %5 = load i64, ptr @PMU_OHARE_BASED, align 8, !tbaa !5 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = load i32, ptr @done_battery_state_ohare, align 4, !tbaa !9 %9 = load i32, ptr @PMU_BATTERY_STATE, align 4, !tbaa !9 %10 = tail call i32 (ptr, i32, i32, i32, ...) @pmu_request(ptr noundef nonnull @batt_req, i32 noundef %8, i32 noundef 1, i32 noundef %9) #2 br label %17 11: ; preds = %3 %12 = load i32, ptr @done_battery_state_smart, align 4, !tbaa !9 %13 = load i32, ptr @PMU_SMART_BATTERY_STATE, align 4, !tbaa !9 %14 = load i64, ptr @pmu_cur_battery, align 8, !tbaa !5 %15 = add nsw i64 %14, 1 %16 = tail call i32 (ptr, i32, i32, i32, ...) @pmu_request(ptr noundef nonnull @batt_req, i32 noundef %12, i32 noundef 2, i32 noundef %13, i64 noundef %15) #2 br label %17 17: ; preds = %0, %11, %7 ret void } declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pmu_request(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/macintosh/extr_via-pmu.c_query_battery_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/macintosh/extr_via-pmu.c_query_battery_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @async_req_locks = common global i32 0, align 4 @pmu_kind = common local_unnamed_addr global i64 0, align 8 @PMU_OHARE_BASED = common local_unnamed_addr global i64 0, align 8 @batt_req = common global i32 0, align 4 @done_battery_state_ohare = common local_unnamed_addr global i32 0, align 4 @PMU_BATTERY_STATE = common local_unnamed_addr global i32 0, align 4 @done_battery_state_smart = common local_unnamed_addr global i32 0, align 4 @PMU_SMART_BATTERY_STATE = common local_unnamed_addr global i32 0, align 4 @pmu_cur_battery = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @query_battery_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @query_battery_state() #0 { %1 = tail call i64 @test_and_set_bit(i32 noundef 0, ptr noundef nonnull @async_req_locks) #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %3, label %17 3: ; preds = %0 %4 = load i64, ptr @pmu_kind, align 8, !tbaa !6 %5 = load i64, ptr @PMU_OHARE_BASED, align 8, !tbaa !6 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = load i32, ptr @done_battery_state_ohare, align 4, !tbaa !10 %9 = load i32, ptr @PMU_BATTERY_STATE, align 4, !tbaa !10 %10 = tail call i32 (ptr, i32, i32, i32, ...) @pmu_request(ptr noundef nonnull @batt_req, i32 noundef %8, i32 noundef 1, i32 noundef %9) #2 br label %17 11: ; preds = %3 %12 = load i32, ptr @done_battery_state_smart, align 4, !tbaa !10 %13 = load i32, ptr @PMU_SMART_BATTERY_STATE, align 4, !tbaa !10 %14 = load i64, ptr @pmu_cur_battery, align 8, !tbaa !6 %15 = add nsw i64 %14, 1 %16 = tail call i32 (ptr, i32, i32, i32, ...) @pmu_request(ptr noundef nonnull @batt_req, i32 noundef %12, i32 noundef 2, i32 noundef %13, i64 noundef %15) #2 br label %17 17: ; preds = %0, %11, %7 ret void } declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pmu_request(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
fastsocket_kernel_drivers_macintosh_extr_via-pmu.c_query_battery_state
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_hif_usb.c_ath9k_hif_usb_rx_stream.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_hif_usb.c_ath9k_hif_usb_rx_stream.c" target datalayout = "e-m:e-p270:32:32-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.hif_device_usb = type { i32, i32, i32, ptr, i32, ptr, i64 } %struct.sk_buff = type { i32, ptr } @MAX_PKT_NUM_IN_TRANSFER = dso_local local_unnamed_addr global i32 0, align 4 @ATH_USB_RX_STREAM_MODE_TAG = dso_local local_unnamed_addr global i64 0, align 8 @skb_dropped = dso_local local_unnamed_addr global i32 0, align 4 @MAX_RX_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"ath9k_htc: RX memory allocation error\0A\00", align 1 @skb_allocated = dso_local local_unnamed_addr global i32 0, align 4 @skb_completed_bytes = dso_local local_unnamed_addr global i32 0, align 4 @USB_WLAN_RX_PIPE = dso_local local_unnamed_addr global i32 0, align 4 @skb_completed = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ath9k_hif_usb_rx_stream], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ath9k_hif_usb_rx_stream(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @MAX_PKT_NUM_IN_TRANSFER, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca ptr, i64 %4, align 16 %6 = load i32, ptr %1, align 8, !tbaa !9 %7 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 4 %8 = tail call i32 @spin_lock(ptr noundef nonnull %7) #2 %9 = load i32, ptr %0, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = icmp eq i32 %9, 0 br i1 %12, label %33, label %13 13: ; preds = %2 %14 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 5 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = icmp eq ptr %15, null br i1 %16, label %33, label %17 17: ; preds = %13 %18 = getelementptr inbounds %struct.sk_buff, ptr %15, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !17 %20 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 6 %21 = load i64, ptr %20, align 8, !tbaa !18 %22 = trunc i64 %21 to i32 %23 = sub i32 %9, %22 %24 = sext i32 %11 to i64 %25 = getelementptr inbounds i32, ptr %19, i64 %24 %26 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !17 %28 = sext i32 %23 to i64 %29 = tail call i32 @memcpy(ptr noundef %25, ptr noundef %27, i64 noundef %28) #2 %30 = add nsw i32 %23, %11 store i32 0, ptr %0, align 8, !tbaa !12 %31 = sext i32 %30 to i64 %32 = tail call i32 @skb_put(ptr noundef nonnull %15, i64 noundef %31) #2 store ptr %15, ptr %5, align 16, !tbaa !19 br label %33 33: ; preds = %17, %13, %2 %34 = phi i64 [ 0, %2 ], [ 1, %17 ], [ 0, %13 ] %35 = tail call i32 @spin_unlock(ptr noundef nonnull %7) #2 %36 = icmp slt i32 %9, %6 br i1 %36, label %37, label %119 37: ; preds = %33 %38 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1 %39 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 6 %40 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 5 br label %41 41: ; preds = %37, %116 %42 = phi i32 [ %9, %37 ], [ %64, %116 ] %43 = phi i64 [ %34, %37 ], [ %117, %116 ] %44 = load ptr, ptr %38, align 8, !tbaa !17 %45 = sext i32 %42 to i64 %46 = getelementptr inbounds i32, ptr %44, i64 %45 %47 = tail call i64 @get_unaligned_le16(ptr noundef %46) #2 %48 = getelementptr inbounds i32, ptr %46, i64 2 %49 = tail call i64 @get_unaligned_le16(ptr noundef nonnull %48) #2 %50 = load i64, ptr @ATH_USB_RX_STREAM_MODE_TAG, align 8, !tbaa !20 %51 = icmp eq i64 %49, %50 br i1 %51, label %55, label %52 52: ; preds = %41 %53 = load i32, ptr @skb_dropped, align 4, !tbaa !5 %54 = tail call i32 @RX_STAT_INC(i32 noundef %53) #2 br label %139 55: ; preds = %41 %56 = and i64 %47, 3 %57 = sub nuw nsw i64 4, %56 %58 = icmp eq i64 %56, 0 %59 = select i1 %58, i64 0, i64 %57 %60 = add nsw i32 %42, 4 %61 = sext i32 %60 to i64 %62 = add nsw i64 %47, %61 %63 = add nsw i64 %62, %59 %64 = trunc i64 %63 to i32 %65 = load i32, ptr @MAX_RX_BUF_SIZE, align 4, !tbaa !5 %66 = icmp slt i32 %65, %64 br i1 %66, label %67, label %95 67: ; preds = %55 %68 = tail call i32 @spin_lock(ptr noundef nonnull %7) #2 %69 = load i32, ptr @MAX_RX_BUF_SIZE, align 4, !tbaa !5 %70 = sub nsw i32 %64, %69 store i32 %70, ptr %0, align 8, !tbaa !12 %71 = load i32, ptr @MAX_RX_BUF_SIZE, align 4, !tbaa !5 %72 = sub i32 %71, %42 %73 = add i32 %72, -4 store i32 %73, ptr %10, align 4, !tbaa !15 store i64 %59, ptr %39, align 8, !tbaa !18 %74 = add nsw i64 %47, 32 %75 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %76 = tail call ptr @__dev_alloc_skb(i64 noundef %74, i32 noundef %75) #2 %77 = icmp eq ptr %76, null br i1 %77, label %78, label %83 78: ; preds = %67 %79 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 3 %80 = load ptr, ptr %79, align 8, !tbaa !21 %81 = tail call i32 @dev_err(ptr noundef %80, ptr noundef nonnull @.str) #2 %82 = tail call i32 @spin_unlock(ptr noundef nonnull %7) #2 br label %119 83: ; preds = %67 %84 = tail call i32 @skb_reserve(ptr noundef nonnull %76, i32 noundef 32) #2 %85 = load i32, ptr @skb_allocated, align 4, !tbaa !5 %86 = tail call i32 @RX_STAT_INC(i32 noundef %85) #2 %87 = getelementptr inbounds %struct.sk_buff, ptr %76, i64 0, i32 1 %88 = load ptr, ptr %87, align 8, !tbaa !17 %89 = load ptr, ptr %38, align 8, !tbaa !17 %90 = getelementptr inbounds i32, ptr %89, i64 %61 %91 = load i32, ptr %10, align 4, !tbaa !15 %92 = sext i32 %91 to i64 %93 = tail call i32 @memcpy(ptr noundef %88, ptr noundef %90, i64 noundef %92) #2 store ptr %76, ptr %40, align 8, !tbaa !16 %94 = tail call i32 @spin_unlock(ptr noundef nonnull %7) #2 br label %116 95: ; preds = %55 %96 = add nsw i64 %47, 32 %97 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %98 = tail call ptr @__dev_alloc_skb(i64 noundef %96, i32 noundef %97) #2 %99 = icmp eq ptr %98, null br i1 %99, label %100, label %104 100: ; preds = %95 %101 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 3 %102 = load ptr, ptr %101, align 8, !tbaa !21 %103 = tail call i32 @dev_err(ptr noundef %102, ptr noundef nonnull @.str) #2 br label %119 104: ; preds = %95 %105 = tail call i32 @skb_reserve(ptr noundef nonnull %98, i32 noundef 32) #2 %106 = load i32, ptr @skb_allocated, align 4, !tbaa !5 %107 = tail call i32 @RX_STAT_INC(i32 noundef %106) #2 %108 = getelementptr inbounds %struct.sk_buff, ptr %98, i64 0, i32 1 %109 = load ptr, ptr %108, align 8, !tbaa !17 %110 = load ptr, ptr %38, align 8, !tbaa !17 %111 = getelementptr inbounds i32, ptr %110, i64 %61 %112 = tail call i32 @memcpy(ptr noundef %109, ptr noundef %111, i64 noundef %47) #2 %113 = tail call i32 @skb_put(ptr noundef nonnull %98, i64 noundef %47) #2 %114 = add nsw i64 %43, 1 %115 = getelementptr inbounds ptr, ptr %5, i64 %43 store ptr %98, ptr %115, align 8, !tbaa !19 br label %116 116: ; preds = %83, %104 %117 = phi i64 [ %43, %83 ], [ %114, %104 ] %118 = icmp sgt i32 %6, %64 br i1 %118, label %41, label %119 119: ; preds = %116, %33, %100, %78 %120 = phi i64 [ %43, %100 ], [ %43, %78 ], [ %34, %33 ], [ %117, %116 ] %121 = icmp sgt i64 %120, 0 br i1 %121, label %122, label %139 122: ; preds = %119 %123 = getelementptr inbounds %struct.hif_device_usb, ptr %0, i64 0, i32 2 br label %124 124: ; preds = %122, %124 %125 = phi i64 [ 0, %122 ], [ %137, %124 ] %126 = load i32, ptr @skb_completed_bytes, align 4, !tbaa !5 %127 = getelementptr inbounds ptr, ptr %5, i64 %125 %128 = load ptr, ptr %127, align 8, !tbaa !19 %129 = load i32, ptr %128, align 8, !tbaa !9 %130 = tail call i32 @RX_STAT_ADD(i32 noundef %126, i32 noundef %129) #2 %131 = load i32, ptr %123, align 8, !tbaa !22 %132 = load i32, ptr %128, align 8, !tbaa !9 %133 = load i32, ptr @USB_WLAN_RX_PIPE, align 4, !tbaa !5 %134 = tail call i32 @ath9k_htc_rx_msg(i32 noundef %131, ptr noundef nonnull %128, i32 noundef %132, i32 noundef %133) #2 %135 = load i32, ptr @skb_completed, align 4, !tbaa !5 %136 = tail call i32 @RX_STAT_INC(i32 noundef %135) #2 %137 = add nuw nsw i64 %125, 1 %138 = icmp eq i64 %137, %120 br i1 %138, label %139, label %124, !llvm.loop !23 139: ; preds = %124, %119, %52 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i64 @get_unaligned_le16(ptr noundef) local_unnamed_addr #1 declare i32 @RX_STAT_INC(i32 noundef) local_unnamed_addr #1 declare ptr @__dev_alloc_skb(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RX_STAT_ADD(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath9k_htc_rx_msg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"sk_buff", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"hif_device_usb", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !14, i64 40} !14 = !{!"long", !7, i64 0} !15 = !{!13, !6, i64 4} !16 = !{!13, !11, i64 32} !17 = !{!10, !11, i64 8} !18 = !{!13, !14, i64 40} !19 = !{!11, !11, i64 0} !20 = !{!14, !14, i64 0} !21 = !{!13, !11, i64 16} !22 = !{!13, !6, i64 8} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_hif_usb.c_ath9k_hif_usb_rx_stream.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_hif_usb.c_ath9k_hif_usb_rx_stream.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_PKT_NUM_IN_TRANSFER = common local_unnamed_addr global i32 0, align 4 @ATH_USB_RX_STREAM_MODE_TAG = common local_unnamed_addr global i64 0, align 8 @skb_dropped = common local_unnamed_addr global i32 0, align 4 @MAX_RX_BUF_SIZE = common local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"ath9k_htc: RX memory allocation error\0A\00", align 1 @skb_allocated = common local_unnamed_addr global i32 0, align 4 @skb_completed_bytes = common local_unnamed_addr global i32 0, align 4 @USB_WLAN_RX_PIPE = common local_unnamed_addr global i32 0, align 4 @skb_completed = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ath9k_hif_usb_rx_stream], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ath9k_hif_usb_rx_stream(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @MAX_PKT_NUM_IN_TRANSFER, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca ptr, i64 %4, align 8 %6 = load i32, ptr %1, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = tail call i32 @spin_lock(ptr noundef nonnull %7) #2 %9 = load i32, ptr %0, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !16 %12 = icmp eq i32 %9, 0 br i1 %12, label %33, label %13 13: ; preds = %2 %14 = getelementptr inbounds i8, ptr %0, i64 32 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = icmp eq ptr %15, null br i1 %16, label %33, label %17 17: ; preds = %13 %18 = getelementptr inbounds i8, ptr %15, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !18 %20 = getelementptr inbounds i8, ptr %0, i64 40 %21 = load i64, ptr %20, align 8, !tbaa !19 %22 = trunc i64 %21 to i32 %23 = sub i32 %9, %22 %24 = sext i32 %11 to i64 %25 = getelementptr inbounds i32, ptr %19, i64 %24 %26 = getelementptr inbounds i8, ptr %1, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !18 %28 = sext i32 %23 to i64 %29 = tail call i32 @memcpy(ptr noundef %25, ptr noundef %27, i64 noundef %28) #2 %30 = add nsw i32 %23, %11 store i32 0, ptr %0, align 8, !tbaa !13 %31 = sext i32 %30 to i64 %32 = tail call i32 @skb_put(ptr noundef nonnull %15, i64 noundef %31) #2 store ptr %15, ptr %5, align 8, !tbaa !20 br label %33 33: ; preds = %17, %13, %2 %34 = phi i64 [ 0, %2 ], [ 1, %17 ], [ 0, %13 ] %35 = tail call i32 @spin_unlock(ptr noundef nonnull %7) #2 %36 = icmp slt i32 %9, %6 br i1 %36, label %37, label %119 37: ; preds = %33 %38 = getelementptr inbounds i8, ptr %1, i64 8 %39 = getelementptr inbounds i8, ptr %0, i64 40 %40 = getelementptr inbounds i8, ptr %0, i64 32 br label %41 41: ; preds = %37, %116 %42 = phi i32 [ %9, %37 ], [ %64, %116 ] %43 = phi i64 [ %34, %37 ], [ %117, %116 ] %44 = load ptr, ptr %38, align 8, !tbaa !18 %45 = sext i32 %42 to i64 %46 = getelementptr inbounds i32, ptr %44, i64 %45 %47 = tail call i64 @get_unaligned_le16(ptr noundef %46) #2 %48 = getelementptr inbounds i8, ptr %46, i64 8 %49 = tail call i64 @get_unaligned_le16(ptr noundef nonnull %48) #2 %50 = load i64, ptr @ATH_USB_RX_STREAM_MODE_TAG, align 8, !tbaa !21 %51 = icmp eq i64 %49, %50 br i1 %51, label %55, label %52 52: ; preds = %41 %53 = load i32, ptr @skb_dropped, align 4, !tbaa !6 %54 = tail call i32 @RX_STAT_INC(i32 noundef %53) #2 br label %139 55: ; preds = %41 %56 = and i64 %47, 3 %57 = sub nuw nsw i64 4, %56 %58 = icmp eq i64 %56, 0 %59 = select i1 %58, i64 0, i64 %57 %60 = add nsw i32 %42, 4 %61 = sext i32 %60 to i64 %62 = add nsw i64 %47, %61 %63 = add nsw i64 %62, %59 %64 = trunc i64 %63 to i32 %65 = load i32, ptr @MAX_RX_BUF_SIZE, align 4, !tbaa !6 %66 = icmp slt i32 %65, %64 br i1 %66, label %67, label %95 67: ; preds = %55 %68 = tail call i32 @spin_lock(ptr noundef nonnull %7) #2 %69 = load i32, ptr @MAX_RX_BUF_SIZE, align 4, !tbaa !6 %70 = sub nsw i32 %64, %69 store i32 %70, ptr %0, align 8, !tbaa !13 %71 = load i32, ptr @MAX_RX_BUF_SIZE, align 4, !tbaa !6 %72 = sub i32 %71, %42 %73 = add i32 %72, -4 store i32 %73, ptr %10, align 4, !tbaa !16 store i64 %59, ptr %39, align 8, !tbaa !19 %74 = add nsw i64 %47, 32 %75 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %76 = tail call ptr @__dev_alloc_skb(i64 noundef %74, i32 noundef %75) #2 %77 = icmp eq ptr %76, null br i1 %77, label %78, label %83 78: ; preds = %67 %79 = getelementptr inbounds i8, ptr %0, i64 16 %80 = load ptr, ptr %79, align 8, !tbaa !22 %81 = tail call i32 @dev_err(ptr noundef %80, ptr noundef nonnull @.str) #2 %82 = tail call i32 @spin_unlock(ptr noundef nonnull %7) #2 br label %119 83: ; preds = %67 %84 = tail call i32 @skb_reserve(ptr noundef nonnull %76, i32 noundef 32) #2 %85 = load i32, ptr @skb_allocated, align 4, !tbaa !6 %86 = tail call i32 @RX_STAT_INC(i32 noundef %85) #2 %87 = getelementptr inbounds i8, ptr %76, i64 8 %88 = load ptr, ptr %87, align 8, !tbaa !18 %89 = load ptr, ptr %38, align 8, !tbaa !18 %90 = getelementptr inbounds i32, ptr %89, i64 %61 %91 = load i32, ptr %10, align 4, !tbaa !16 %92 = sext i32 %91 to i64 %93 = tail call i32 @memcpy(ptr noundef %88, ptr noundef %90, i64 noundef %92) #2 store ptr %76, ptr %40, align 8, !tbaa !17 %94 = tail call i32 @spin_unlock(ptr noundef nonnull %7) #2 br label %116 95: ; preds = %55 %96 = add nsw i64 %47, 32 %97 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %98 = tail call ptr @__dev_alloc_skb(i64 noundef %96, i32 noundef %97) #2 %99 = icmp eq ptr %98, null br i1 %99, label %100, label %104 100: ; preds = %95 %101 = getelementptr inbounds i8, ptr %0, i64 16 %102 = load ptr, ptr %101, align 8, !tbaa !22 %103 = tail call i32 @dev_err(ptr noundef %102, ptr noundef nonnull @.str) #2 br label %119 104: ; preds = %95 %105 = tail call i32 @skb_reserve(ptr noundef nonnull %98, i32 noundef 32) #2 %106 = load i32, ptr @skb_allocated, align 4, !tbaa !6 %107 = tail call i32 @RX_STAT_INC(i32 noundef %106) #2 %108 = getelementptr inbounds i8, ptr %98, i64 8 %109 = load ptr, ptr %108, align 8, !tbaa !18 %110 = load ptr, ptr %38, align 8, !tbaa !18 %111 = getelementptr inbounds i32, ptr %110, i64 %61 %112 = tail call i32 @memcpy(ptr noundef %109, ptr noundef %111, i64 noundef %47) #2 %113 = tail call i32 @skb_put(ptr noundef nonnull %98, i64 noundef %47) #2 %114 = add nsw i64 %43, 1 %115 = getelementptr inbounds ptr, ptr %5, i64 %43 store ptr %98, ptr %115, align 8, !tbaa !20 br label %116 116: ; preds = %83, %104 %117 = phi i64 [ %43, %83 ], [ %114, %104 ] %118 = icmp sgt i32 %6, %64 br i1 %118, label %41, label %119 119: ; preds = %116, %33, %100, %78 %120 = phi i64 [ %43, %100 ], [ %43, %78 ], [ %34, %33 ], [ %117, %116 ] %121 = icmp sgt i64 %120, 0 br i1 %121, label %122, label %139 122: ; preds = %119 %123 = getelementptr inbounds i8, ptr %0, i64 8 br label %124 124: ; preds = %122, %124 %125 = phi i64 [ 0, %122 ], [ %137, %124 ] %126 = load i32, ptr @skb_completed_bytes, align 4, !tbaa !6 %127 = getelementptr inbounds ptr, ptr %5, i64 %125 %128 = load ptr, ptr %127, align 8, !tbaa !20 %129 = load i32, ptr %128, align 8, !tbaa !10 %130 = tail call i32 @RX_STAT_ADD(i32 noundef %126, i32 noundef %129) #2 %131 = load i32, ptr %123, align 8, !tbaa !23 %132 = load i32, ptr %128, align 8, !tbaa !10 %133 = load i32, ptr @USB_WLAN_RX_PIPE, align 4, !tbaa !6 %134 = tail call i32 @ath9k_htc_rx_msg(i32 noundef %131, ptr noundef nonnull %128, i32 noundef %132, i32 noundef %133) #2 %135 = load i32, ptr @skb_completed, align 4, !tbaa !6 %136 = tail call i32 @RX_STAT_INC(i32 noundef %135) #2 %137 = add nuw nsw i64 %125, 1 %138 = icmp eq i64 %137, %120 br i1 %138, label %139, label %124, !llvm.loop !24 139: ; preds = %124, %119, %52 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @skb_put(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i64 @get_unaligned_le16(ptr noundef) local_unnamed_addr #1 declare i32 @RX_STAT_INC(i32 noundef) local_unnamed_addr #1 declare ptr @__dev_alloc_skb(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RX_STAT_ADD(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath9k_htc_rx_msg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"sk_buff", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"hif_device_usb", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !7, i64 24, !12, i64 32, !15, i64 40} !15 = !{!"long", !8, i64 0} !16 = !{!14, !7, i64 4} !17 = !{!14, !12, i64 32} !18 = !{!11, !12, i64 8} !19 = !{!14, !15, i64 40} !20 = !{!12, !12, i64 0} !21 = !{!15, !15, i64 0} !22 = !{!14, !12, i64 16} !23 = !{!14, !7, i64 8} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_wireless_ath_ath9k_extr_hif_usb.c_ath9k_hif_usb_rx_stream
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonsocketevloop.c.h_do_import.c' source_filename = "AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonsocketevloop.c.h_do_import.c" target datalayout = "e-m:e-p270:32:32-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 @do_import(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = tail call ptr @h2o_evloop_socket_create(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2 ret ptr %4 } declare ptr @h2o_evloop_socket_create(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonsocketevloop.c.h_do_import.c' source_filename = "AnghaBench/h2o/t/00unit/lib/common/extr_........libcommonsocketevloop.c.h_do_import.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 @do_import(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = tail call ptr @h2o_evloop_socket_create(ptr noundef %0, i32 noundef %3, i32 noundef 0) #2 ret ptr %4 } declare ptr @h2o_evloop_socket_create(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
h2o_t_00unit_lib_common_extr_........libcommonsocketevloop.c.h_do_import
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-mac.c_il3945_setup_deferred_work.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-mac.c_il3945_setup_deferred_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" %struct.il_priv = type { i32, %struct.TYPE_4__, %struct.TYPE_3__, i32, i32, i32, i32, i32, i32 } %struct.TYPE_4__ = type { i64, i32 } %struct.TYPE_3__ = type { i32 } @DRV_NAME = dso_local local_unnamed_addr global i32 0, align 4 @il3945_bg_restart = dso_local local_unnamed_addr global i32 0, align 4 @il3945_bg_rx_replenish = dso_local local_unnamed_addr global i32 0, align 4 @il3945_bg_init_alive_start = dso_local local_unnamed_addr global i32 0, align 4 @il3945_bg_alive_start = dso_local local_unnamed_addr global i32 0, align 4 @il3945_rfkill_poll = dso_local local_unnamed_addr global i32 0, align 4 @il_bg_watchdog = dso_local local_unnamed_addr global i32 0, align 4 @il3945_irq_tasklet = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @il3945_setup_deferred_work], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @il3945_setup_deferred_work(ptr noundef %0) #0 { %2 = load i32, ptr @DRV_NAME, align 4, !tbaa !5 %3 = tail call i32 @create_singlethread_workqueue(i32 noundef %2) #2 %4 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 8 store i32 %3, ptr %4, align 8, !tbaa !9 %5 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 7 %6 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 6 %8 = load i32, ptr @il3945_bg_restart, align 4, !tbaa !5 %9 = tail call i32 @INIT_WORK(ptr noundef nonnull %7, i32 noundef %8) #2 %10 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 5 %11 = load i32, ptr @il3945_bg_rx_replenish, align 4, !tbaa !5 %12 = tail call i32 @INIT_WORK(ptr noundef nonnull %10, i32 noundef %11) #2 %13 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 4 %14 = load i32, ptr @il3945_bg_init_alive_start, align 4, !tbaa !5 %15 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %13, i32 noundef %14) #2 %16 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 3 %17 = load i32, ptr @il3945_bg_alive_start, align 4, !tbaa !5 %18 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %16, i32 noundef %17) #2 %19 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 2 %20 = load i32, ptr @il3945_rfkill_poll, align 4, !tbaa !5 %21 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %19, i32 noundef %20) #2 %22 = tail call i32 @il_setup_scan_deferred_work(ptr noundef %0) #2 %23 = tail call i32 @il3945_hw_setup_deferred_work(ptr noundef %0) #2 %24 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 1 %25 = tail call i32 @init_timer(ptr noundef nonnull %24) #2 %26 = ptrtoint ptr %0 to i64 store i64 %26, ptr %24, align 8, !tbaa !14 %27 = load i32, ptr @il_bg_watchdog, align 4, !tbaa !5 %28 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 1, i32 1 store i32 %27, ptr %28, align 8, !tbaa !15 %29 = load i64, ptr @il3945_irq_tasklet, align 8, !tbaa !16 %30 = inttoptr i64 %29 to ptr %31 = tail call i32 @tasklet_init(ptr noundef %0, ptr noundef %30, i64 noundef %26) #2 ret void } declare i32 @create_singlethread_workqueue(i32 noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @il_setup_scan_deferred_work(ptr noundef) local_unnamed_addr #1 declare i32 @il3945_hw_setup_deferred_work(ptr noundef) local_unnamed_addr #1 declare i32 @init_timer(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_init(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 48} !10 = !{!"il_priv", !6, i64 0, !11, i64 8, !13, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48} !11 = !{!"TYPE_4__", !12, i64 0, !6, i64 8} !12 = !{!"long", !7, i64 0} !13 = !{!"TYPE_3__", !6, i64 0} !14 = !{!10, !12, i64 8} !15 = !{!10, !6, i64 16} !16 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-mac.c_il3945_setup_deferred_work.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945-mac.c_il3945_setup_deferred_work.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DRV_NAME = common local_unnamed_addr global i32 0, align 4 @il3945_bg_restart = common local_unnamed_addr global i32 0, align 4 @il3945_bg_rx_replenish = common local_unnamed_addr global i32 0, align 4 @il3945_bg_init_alive_start = common local_unnamed_addr global i32 0, align 4 @il3945_bg_alive_start = common local_unnamed_addr global i32 0, align 4 @il3945_rfkill_poll = common local_unnamed_addr global i32 0, align 4 @il_bg_watchdog = common local_unnamed_addr global i32 0, align 4 @il3945_irq_tasklet = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @il3945_setup_deferred_work], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @il3945_setup_deferred_work(ptr noundef %0) #0 { %2 = load i32, ptr @DRV_NAME, align 4, !tbaa !6 %3 = tail call i32 @create_singlethread_workqueue(i32 noundef %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 48 store i32 %3, ptr %4, align 8, !tbaa !10 %5 = getelementptr inbounds i8, ptr %0, i64 44 %6 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 40 %8 = load i32, ptr @il3945_bg_restart, align 4, !tbaa !6 %9 = tail call i32 @INIT_WORK(ptr noundef nonnull %7, i32 noundef %8) #2 %10 = getelementptr inbounds i8, ptr %0, i64 36 %11 = load i32, ptr @il3945_bg_rx_replenish, align 4, !tbaa !6 %12 = tail call i32 @INIT_WORK(ptr noundef nonnull %10, i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %0, i64 32 %14 = load i32, ptr @il3945_bg_init_alive_start, align 4, !tbaa !6 %15 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %13, i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %0, i64 28 %17 = load i32, ptr @il3945_bg_alive_start, align 4, !tbaa !6 %18 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %16, i32 noundef %17) #2 %19 = getelementptr inbounds i8, ptr %0, i64 24 %20 = load i32, ptr @il3945_rfkill_poll, align 4, !tbaa !6 %21 = tail call i32 @INIT_DELAYED_WORK(ptr noundef nonnull %19, i32 noundef %20) #2 %22 = tail call i32 @il_setup_scan_deferred_work(ptr noundef %0) #2 %23 = tail call i32 @il3945_hw_setup_deferred_work(ptr noundef %0) #2 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = tail call i32 @init_timer(ptr noundef nonnull %24) #2 %26 = ptrtoint ptr %0 to i64 store i64 %26, ptr %24, align 8, !tbaa !15 %27 = load i32, ptr @il_bg_watchdog, align 4, !tbaa !6 %28 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %27, ptr %28, align 8, !tbaa !16 %29 = load i64, ptr @il3945_irq_tasklet, align 8, !tbaa !17 %30 = inttoptr i64 %29 to ptr %31 = tail call i32 @tasklet_init(ptr noundef %0, ptr noundef %30, i64 noundef %26) #2 ret void } declare i32 @create_singlethread_workqueue(i32 noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_DELAYED_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @il_setup_scan_deferred_work(ptr noundef) local_unnamed_addr #1 declare i32 @il3945_hw_setup_deferred_work(ptr noundef) local_unnamed_addr #1 declare i32 @init_timer(ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_init(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 48} !11 = !{!"il_priv", !7, i64 0, !12, i64 8, !14, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48} !12 = !{!"TYPE_4__", !13, i64 0, !7, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!"TYPE_3__", !7, i64 0} !15 = !{!11, !13, i64 8} !16 = !{!11, !7, i64 16} !17 = !{!13, !13, i64 0}
fastsocket_kernel_drivers_net_wireless_iwlegacy_extr_3945-mac.c_il3945_setup_deferred_work
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/extr_ed25519_ref10.c_ge25519_mul_l.c' source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/extr_ed25519_ref10.c_ge25519_mul_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ge25519_mul_l.aslide = internal unnamed_addr constant [253 x i8] c"\0D\00\00\00\00\FF\00\00\00\00\F5\00\00\00\00\00\00\FB\00\00\00\00\00\00\FD\00\00\00\00\F3\00\00\00\00\07\00\00\00\00\00\03\00\00\00\00\F3\00\00\00\00\05\00\00\00\00\00\00\00\00\0B\00\00\00\00\00\0B\00\00\00\00\F3\00\00\00\00\00\00\FD\00\00\00\00\00\FF\00\00\00\00\03\00\00\00\00\F5\00\00\00\00\00\00\00\0F\00\00\00\00\00\FF\00\00\00\00\FF\00\00\00\00\07\00\00\00\00\05\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01", align 16 @llvm.compiler.used = appending global [1 x ptr] [ptr @ge25519_mul_l], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ge25519_mul_l(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca [8 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %3, ptr noundef %1) #3 %8 = call i32 @ge25519_p3_dbl(ptr noundef nonnull %4, ptr noundef %1) #3 %9 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %6, ptr noundef nonnull %4) #3 %10 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %3) #3 %11 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %12 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 1 %13 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %12, ptr noundef nonnull %5) #3 %14 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %12) #3 %15 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %16 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 2 %17 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %16, ptr noundef nonnull %5) #3 %18 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %16) #3 %19 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %20 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 3 %21 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %20, ptr noundef nonnull %5) #3 %22 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %20) #3 %23 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %24 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 4 %25 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %24, ptr noundef nonnull %5) #3 %26 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %24) #3 %27 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %28 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 5 %29 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %28, ptr noundef nonnull %5) #3 %30 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %28) #3 %31 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %32 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 6 %33 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %32, ptr noundef nonnull %5) #3 %34 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %32) #3 %35 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %36 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 7 %37 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %36, ptr noundef nonnull %5) #3 %38 = call i32 @ge25519_p3_0(ptr noundef %0) #3 br label %39 39: ; preds = %2, %60 %40 = phi i64 [ 252, %2 ], [ %62, %60 ] %41 = call i32 @ge25519_p3_dbl(ptr noundef nonnull %4, ptr noundef %0) #3 %42 = getelementptr inbounds [253 x i8], ptr @ge25519_mul_l.aslide, i64 0, i64 %40 %43 = load i8, ptr %42, align 1, !tbaa !5 %44 = icmp sgt i8 %43, 0 br i1 %44, label %45, label %51 45: ; preds = %39 %46 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %47 = lshr i8 %43, 1 %48 = zext nneg i8 %47 to i64 %49 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %48 %50 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %49) #3 br label %60 51: ; preds = %39 %52 = icmp slt i8 %43, 0 br i1 %52, label %53, label %60 53: ; preds = %51 %54 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %55 = sub i8 0, %43 %56 = lshr i8 %55, 1 %57 = zext nneg i8 %56 to i64 %58 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %57 %59 = call i32 @ge25519_sub(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %58) #3 br label %60 60: ; preds = %51, %53, %45 %61 = call i32 @ge25519_p1p1_to_p3(ptr noundef %0, ptr noundef nonnull %4) #3 %62 = add nsw i64 %40, -1 %63 = icmp eq i64 %40, 0 br i1 %63, label %64, label %39, !llvm.loop !8 64: ; preds = %60 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 32, 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 @ge25519_p3_to_cached(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_p3_dbl(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_p1p1_to_p3(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_p3_0(ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_sub(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/extr_ed25519_ref10.c_ge25519_mul_l.c' source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/extr_ed25519_ref10.c_ge25519_mul_l.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ge25519_mul_l.aslide = internal unnamed_addr constant [253 x i8] c"\0D\00\00\00\00\FF\00\00\00\00\F5\00\00\00\00\00\00\FB\00\00\00\00\00\00\FD\00\00\00\00\F3\00\00\00\00\07\00\00\00\00\00\03\00\00\00\00\F3\00\00\00\00\05\00\00\00\00\00\00\00\00\0B\00\00\00\00\00\0B\00\00\00\00\F3\00\00\00\00\00\00\FD\00\00\00\00\00\FF\00\00\00\00\03\00\00\00\00\F5\00\00\00\00\00\00\00\0F\00\00\00\00\00\FF\00\00\00\00\FF\00\00\00\00\07\00\00\00\00\05\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01", align 1 @llvm.used = appending global [1 x ptr] [ptr @ge25519_mul_l], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ge25519_mul_l(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca [8 x i32], align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %3, ptr noundef %1) #3 %8 = call i32 @ge25519_p3_dbl(ptr noundef nonnull %4, ptr noundef %1) #3 %9 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %6, ptr noundef nonnull %4) #3 %10 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %3) #3 %11 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %12 = getelementptr inbounds i8, ptr %3, i64 4 %13 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %12, ptr noundef nonnull %5) #3 %14 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %12) #3 %15 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %16 = getelementptr inbounds i8, ptr %3, i64 8 %17 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %16, ptr noundef nonnull %5) #3 %18 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %16) #3 %19 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %20 = getelementptr inbounds i8, ptr %3, i64 12 %21 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %20, ptr noundef nonnull %5) #3 %22 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %20) #3 %23 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %24 = getelementptr inbounds i8, ptr %3, i64 16 %25 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %24, ptr noundef nonnull %5) #3 %26 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %24) #3 %27 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %28 = getelementptr inbounds i8, ptr %3, i64 20 %29 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %28, ptr noundef nonnull %5) #3 %30 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %28) #3 %31 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %32 = getelementptr inbounds i8, ptr %3, i64 24 %33 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %32, ptr noundef nonnull %5) #3 %34 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %32) #3 %35 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %36 = getelementptr inbounds i8, ptr %3, i64 28 %37 = call i32 @ge25519_p3_to_cached(ptr noundef nonnull %36, ptr noundef nonnull %5) #3 %38 = call i32 @ge25519_p3_0(ptr noundef %0) #3 br label %39 39: ; preds = %2, %60 %40 = phi i64 [ 252, %2 ], [ %62, %60 ] %41 = call i32 @ge25519_p3_dbl(ptr noundef nonnull %4, ptr noundef %0) #3 %42 = getelementptr inbounds [253 x i8], ptr @ge25519_mul_l.aslide, i64 0, i64 %40 %43 = load i8, ptr %42, align 1, !tbaa !6 %44 = icmp sgt i8 %43, 0 br i1 %44, label %45, label %51 45: ; preds = %39 %46 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %47 = lshr i8 %43, 1 %48 = zext nneg i8 %47 to i64 %49 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %48 %50 = call i32 @ge25519_add(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %49) #3 br label %60 51: ; preds = %39 %52 = icmp slt i8 %43, 0 br i1 %52, label %53, label %60 53: ; preds = %51 %54 = call i32 @ge25519_p1p1_to_p3(ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %55 = sub i8 0, %43 %56 = lshr i8 %55, 1 %57 = zext nneg i8 %56 to i64 %58 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %57 %59 = call i32 @ge25519_sub(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %58) #3 br label %60 60: ; preds = %51, %53, %45 %61 = call i32 @ge25519_p1p1_to_p3(ptr noundef %0, ptr noundef nonnull %4) #3 %62 = add nsw i64 %40, -1 %63 = icmp eq i64 %40, 0 br i1 %63, label %64, label %39, !llvm.loop !9 64: ; preds = %60 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 32, 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 @ge25519_p3_to_cached(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_p3_dbl(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_p1p1_to_p3(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_add(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_p3_0(ptr noundef) local_unnamed_addr #2 declare i32 @ge25519_sub(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
freebsd_sys_contrib_libsodium_src_libsodium_crypto_core_ed25519_ref10_extr_ed25519_ref10.c_ge25519_mul_l
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_xt_ipvs.c_ipvs_mt_check.c' source_filename = "AnghaBench/linux/net/netfilter/extr_xt_ipvs.c_ipvs_mt_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NFPROTO_IPV4 = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [34 x i8] c"protocol family %u not supported\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @NFPROTO_IPV6 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipvs_mt_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ipvs_mt_check(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @NFPROTO_IPV4, align 8, !tbaa !10 %4 = icmp eq i64 %2, %3 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = tail call i32 @pr_info_ratelimited(ptr noundef nonnull @.str, i64 noundef %2) #2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !11 %8 = sub nsw i32 0, %7 br label %9 9: ; preds = %1, %5 %10 = phi i32 [ %8, %5 ], [ 0, %1 ] ret i32 %10 } declare i32 @pr_info_ratelimited(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 = !{!"xt_mtchk_param", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_xt_ipvs.c_ipvs_mt_check.c' source_filename = "AnghaBench/linux/net/netfilter/extr_xt_ipvs.c_ipvs_mt_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NFPROTO_IPV4 = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [34 x i8] c"protocol family %u not supported\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @NFPROTO_IPV6 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ipvs_mt_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ipvs_mt_check(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @NFPROTO_IPV4, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = tail call i32 @pr_info_ratelimited(ptr noundef nonnull @.str, i64 noundef %2) #2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !12 %8 = sub nsw i32 0, %7 br label %9 9: ; preds = %1, %5 %10 = phi i32 [ %8, %5 ], [ 0, %1 ] ret i32 %10 } declare i32 @pr_info_ratelimited(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 = !{!"xt_mtchk_param", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_net_netfilter_extr_xt_ipvs.c_ipvs_mt_check
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_uart_dev_ar933x.c_ar933x_bus_getsig.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_uart_dev_ar933x.c_ar933x_bus_getsig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SER_DSR = dso_local local_unnamed_addr global i32 0, align 4 @SER_DDSR = dso_local local_unnamed_addr global i32 0, align 4 @SER_CTS = dso_local local_unnamed_addr global i32 0, align 4 @SER_DCTS = dso_local local_unnamed_addr global i32 0, align 4 @SER_DCD = dso_local local_unnamed_addr global i32 0, align 4 @SER_DDCD = dso_local local_unnamed_addr global i32 0, align 4 @SER_RI = dso_local local_unnamed_addr global i32 0, align 4 @SER_DRI = dso_local local_unnamed_addr global i32 0, align 4 @SER_MASK_DELTA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ar933x_bus_getsig], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ar933x_bus_getsig(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @SER_DSR, align 4, !tbaa !10 %4 = load i32, ptr @SER_DDSR, align 4, !tbaa !10 %5 = tail call i32 @SIGCHG(i32 noundef 1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr @SER_CTS, align 4, !tbaa !10 %7 = load i32, ptr @SER_DCTS, align 4, !tbaa !10 %8 = tail call i32 @SIGCHG(i32 noundef 1, i32 noundef %2, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @SER_DCD, align 4, !tbaa !10 %10 = load i32, ptr @SER_DDCD, align 4, !tbaa !10 %11 = tail call i32 @SIGCHG(i32 noundef 1, i32 noundef %2, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr @SER_RI, align 4, !tbaa !10 %13 = load i32, ptr @SER_DRI, align 4, !tbaa !10 %14 = tail call i32 @SIGCHG(i32 noundef 1, i32 noundef %2, i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @SER_MASK_DELTA, align 4, !tbaa !10 %16 = xor i32 %15, -1 %17 = and i32 %2, %16 store i32 %17, ptr %0, align 4, !tbaa !5 ret i32 %2 } declare i32 @SIGCHG(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 = !{!"uart_softc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_uart_dev_ar933x.c_ar933x_bus_getsig.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_uart_dev_ar933x.c_ar933x_bus_getsig.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SER_DSR = common local_unnamed_addr global i32 0, align 4 @SER_DDSR = common local_unnamed_addr global i32 0, align 4 @SER_CTS = common local_unnamed_addr global i32 0, align 4 @SER_DCTS = common local_unnamed_addr global i32 0, align 4 @SER_DCD = common local_unnamed_addr global i32 0, align 4 @SER_DDCD = common local_unnamed_addr global i32 0, align 4 @SER_RI = common local_unnamed_addr global i32 0, align 4 @SER_DRI = common local_unnamed_addr global i32 0, align 4 @SER_MASK_DELTA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ar933x_bus_getsig], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ar933x_bus_getsig(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @SER_DSR, align 4, !tbaa !11 %4 = load i32, ptr @SER_DDSR, align 4, !tbaa !11 %5 = tail call i32 @SIGCHG(i32 noundef 1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr @SER_CTS, align 4, !tbaa !11 %7 = load i32, ptr @SER_DCTS, align 4, !tbaa !11 %8 = tail call i32 @SIGCHG(i32 noundef 1, i32 noundef %2, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @SER_DCD, align 4, !tbaa !11 %10 = load i32, ptr @SER_DDCD, align 4, !tbaa !11 %11 = tail call i32 @SIGCHG(i32 noundef 1, i32 noundef %2, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr @SER_RI, align 4, !tbaa !11 %13 = load i32, ptr @SER_DRI, align 4, !tbaa !11 %14 = tail call i32 @SIGCHG(i32 noundef 1, i32 noundef %2, i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @SER_MASK_DELTA, align 4, !tbaa !11 %16 = xor i32 %15, -1 %17 = and i32 %2, %16 store i32 %17, ptr %0, align 4, !tbaa !6 ret i32 %2 } declare i32 @SIGCHG(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 = !{!"uart_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
freebsd_sys_mips_atheros_extr_uart_dev_ar933x.c_ar933x_bus_getsig
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_evutil.c_evutil_gai_strerror.c' source_filename = "AnghaBench/freebsd/contrib/libevent/extr_evutil.c_evutil_gai_strerror.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Request canceled\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"No error\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"address family for nodename not supported\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"temporary failure in name resolution\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"invalid value for ai_flags\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"non-recoverable failure in name resolution\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"ai_family not supported\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"memory allocation failure\00", align 1 @.str.8 = private unnamed_addr constant [36 x i8] c"no address associated with nodename\00", align 1 @.str.9 = private unnamed_addr constant [45 x i8] c"nodename nor servname provided, or not known\00", align 1 @.str.10 = private unnamed_addr constant [39 x i8] c"servname not supported for ai_socktype\00", align 1 @.str.11 = private unnamed_addr constant [26 x i8] c"ai_socktype not supported\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"system error\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c"Unknown error code\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @evutil_gai_strerror(i32 noundef %0) local_unnamed_addr #0 { switch i32 %0, label %14 [ i32 136, label %15 i32 0, label %2 i32 139, label %3 i32 138, label %4 i32 137, label %5 i32 135, label %6 i32 134, label %7 i32 133, label %8 i32 132, label %9 i32 131, label %10 i32 130, label %11 i32 129, label %12 i32 128, label %13 ] 2: ; preds = %1 br label %15 3: ; preds = %1 br label %15 4: ; preds = %1 br label %15 5: ; preds = %1 br label %15 6: ; preds = %1 br label %15 7: ; preds = %1 br label %15 8: ; preds = %1 br label %15 9: ; preds = %1 br label %15 10: ; preds = %1 br label %15 11: ; preds = %1 br label %15 12: ; preds = %1 br label %15 13: ; preds = %1 br label %15 14: ; preds = %1 br label %15 15: ; preds = %1, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2 %16 = phi ptr [ @.str.13, %14 ], [ @.str.12, %13 ], [ @.str.11, %12 ], [ @.str.10, %11 ], [ @.str.9, %10 ], [ @.str.8, %9 ], [ @.str.7, %8 ], [ @.str.6, %7 ], [ @.str.5, %6 ], [ @.str.4, %5 ], [ @.str.3, %4 ], [ @.str.2, %3 ], [ @.str.1, %2 ], [ @.str, %1 ] ret ptr %16 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/extr_evutil.c_evutil_gai_strerror.c' source_filename = "AnghaBench/freebsd/contrib/libevent/extr_evutil.c_evutil_gai_strerror.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [17 x i8] c"Request canceled\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"No error\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"address family for nodename not supported\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"temporary failure in name resolution\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"invalid value for ai_flags\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"non-recoverable failure in name resolution\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"ai_family not supported\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"memory allocation failure\00", align 1 @.str.8 = private unnamed_addr constant [36 x i8] c"no address associated with nodename\00", align 1 @.str.9 = private unnamed_addr constant [45 x i8] c"nodename nor servname provided, or not known\00", align 1 @.str.10 = private unnamed_addr constant [39 x i8] c"servname not supported for ai_socktype\00", align 1 @.str.11 = private unnamed_addr constant [26 x i8] c"ai_socktype not supported\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"system error\00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c"Unknown error code\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef nonnull ptr @evutil_gai_strerror(i32 noundef %0) local_unnamed_addr #0 { switch i32 %0, label %14 [ i32 136, label %15 i32 0, label %2 i32 139, label %3 i32 138, label %4 i32 137, label %5 i32 135, label %6 i32 134, label %7 i32 133, label %8 i32 132, label %9 i32 131, label %10 i32 130, label %11 i32 129, label %12 i32 128, label %13 ] 2: ; preds = %1 br label %15 3: ; preds = %1 br label %15 4: ; preds = %1 br label %15 5: ; preds = %1 br label %15 6: ; preds = %1 br label %15 7: ; preds = %1 br label %15 8: ; preds = %1 br label %15 9: ; preds = %1 br label %15 10: ; preds = %1 br label %15 11: ; preds = %1 br label %15 12: ; preds = %1 br label %15 13: ; preds = %1 br label %15 14: ; preds = %1 br label %15 15: ; preds = %1, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2 %16 = phi ptr [ @.str.13, %14 ], [ @.str.12, %13 ], [ @.str.11, %12 ], [ @.str.10, %11 ], [ @.str.9, %10 ], [ @.str.8, %9 ], [ @.str.7, %8 ], [ @.str.6, %7 ], [ @.str.5, %6 ], [ @.str.4, %5 ], [ @.str.3, %4 ], [ @.str.2, %3 ], [ @.str.1, %2 ], [ @.str, %1 ] ret ptr %16 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_libevent_extr_evutil.c_evutil_gai_strerror
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/crypt32/extr_oid.c_test_registerDefaultOIDFunction.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/crypt32/extr_oid.c_test_registerDefaultOIDFunction.c" target datalayout = "e-m:e-p270:32:32-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_registerDefaultOIDFunction.fmt = internal constant [63 x i8] c"Software\\Microsoft\\Cryptography\\OID\\EncodingType %d\\%s\\DEFAULT\00", align 16 @MAX_PATH = dso_local local_unnamed_addr global i32 0, align 4 @E_INVALIDARG = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [33 x i8] c"Expected E_INVALIDARG, got %08x\0A\00", align 1 @.str.1 = private constant [21 x i8] c"CertDllOpenStoreProv\00", align 16 @bogusDll = dso_local local_unnamed_addr global ptr null, align 8 @ERROR_ACCESS_DENIED = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [19 x i8] c"Need admin rights\0A\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"CryptRegisterDefaultOIDFunction failed: %08x\0A\00", align 1 @ERROR_FILE_EXISTS = dso_local local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [38 x i8] c"Expected ERROR_FILE_EXISTS, got %08x\0A\00", align 1 @bogus2Dll = dso_local local_unnamed_addr global ptr null, align 8 @HKEY_LOCAL_MACHINE = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [47 x i8] c"Expected key to exist, RegOpenKeyA failed: %d\0A\00", align 1 @test_registerDefaultOIDFunction.dllA = internal constant [4 x i8] c"Dll\00", align 1 @test_registerDefaultOIDFunction.bogusDll_A = internal constant [10 x i8] c"bogus.dll\00", align 1 @test_registerDefaultOIDFunction.bogus2Dll_A = internal constant [11 x i8] c"bogus2.dll\00", align 1 @.str.6 = private unnamed_addr constant [58 x i8] c"Expected Dll value to exist, RegQueryValueExA failed: %d\0A\00", align 1 @REG_MULTI_SZ = dso_local local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [36 x i8] c"Expected type REG_MULTI_SZ, got %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"Unexpected dll\0A\00", align 1 @.str.9 = private unnamed_addr constant [48 x i8] c"CryptUnregisterDefaultOIDFunction failed: %08x\0A\00", align 1 @ERROR_FILE_NOT_FOUND = dso_local local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [39 x i8] c"Expected ERROR_FILE_NOT_FOUND, got %d\0A\00", align 1 @X509_ASN_ENCODING = dso_local local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [40 x i8] c"CryptRegisterDefaultOIDFunction failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [42 x i8] c"CryptUnregisterDefaultOIDFunction failed\0A\00", align 1 @.str.13 = private unnamed_addr constant [41 x i8] c"Expected ERROR_FILE_NOT_FOUND, got %08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_registerDefaultOIDFunction], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_registerDefaultOIDFunction() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = load i32, ptr @MAX_PATH, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4 %7 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef null, i32 noundef 0, ptr noundef null) #4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %0 %10 = tail call i64 (...) @GetLastError() #4 %11 = load i64, ptr @E_INVALIDARG, align 8, !tbaa !9 %12 = icmp eq i64 %10, %11 %13 = zext i1 %12 to i32 br label %14 14: ; preds = %9, %0 %15 = phi i32 [ 0, %0 ], [ %13, %9 ] %16 = tail call i64 (...) @GetLastError() #4 %17 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str, i64 noundef %16) #4 %18 = tail call i32 @SetLastError(i32 noundef -559038737) #4 %19 = load ptr, ptr @bogusDll, align 8, !tbaa !11 %20 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %19) #4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %14 %23 = tail call i64 (...) @GetLastError() #4 %24 = load i64, ptr @ERROR_ACCESS_DENIED, align 8, !tbaa !9 %25 = icmp eq i64 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = tail call i32 @skip(ptr noundef nonnull @.str.2) #4 br label %138 28: ; preds = %22, %14 %29 = tail call i64 (...) @GetLastError() #4 %30 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %20, ptr noundef nonnull @.str.3, i64 noundef %29) #4 %31 = load ptr, ptr @bogusDll, align 8, !tbaa !11 %32 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %31) #4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %39 34: ; preds = %28 %35 = tail call i64 (...) @GetLastError() #4 %36 = load i64, ptr @ERROR_FILE_EXISTS, align 8, !tbaa !9 %37 = icmp eq i64 %35, %36 %38 = zext i1 %37 to i32 br label %39 39: ; preds = %34, %28 %40 = phi i32 [ 0, %28 ], [ %38, %34 ] %41 = tail call i64 (...) @GetLastError() #4 %42 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %40, ptr noundef nonnull @.str.4, i64 noundef %41) #4 %43 = load ptr, ptr @bogusDll, align 8, !tbaa !11 %44 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef 1, ptr noundef %43) #4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %51 46: ; preds = %39 %47 = tail call i64 (...) @GetLastError() #4 %48 = load i64, ptr @ERROR_FILE_EXISTS, align 8, !tbaa !9 %49 = icmp eq i64 %47, %48 %50 = zext i1 %49 to i32 br label %51 51: ; preds = %46, %39 %52 = phi i32 [ 0, %39 ], [ %50, %46 ] %53 = tail call i64 (...) @GetLastError() #4 %54 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %52, ptr noundef nonnull @.str.4, i64 noundef %53) #4 %55 = load ptr, ptr @bogus2Dll, align 8, !tbaa !11 %56 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef 1, ptr noundef %55) #4 %57 = tail call i64 (...) @GetLastError() #4 %58 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %56, ptr noundef nonnull @.str.3, i64 noundef %57) #4 %59 = call i32 @sprintf(ptr noundef nonnull %6, ptr noundef nonnull @test_registerDefaultOIDFunction.fmt, i32 noundef 0, ptr noundef nonnull @.str.1) #4 %60 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !5 %61 = call i64 @RegOpenKeyA(i32 noundef %60, ptr noundef nonnull %6, ptr noundef nonnull %1) #4 %62 = icmp eq i64 %61, 0 %63 = zext i1 %62 to i32 %64 = call i32 (i32, ptr, ...) @ok(i32 noundef %63, ptr noundef nonnull @.str.5, i64 noundef %61) #4 br i1 %62, label %65, label %96 65: ; preds = %51 %66 = load i32, ptr @MAX_PATH, align 4, !tbaa !5 %67 = zext i32 %66 to i64 %68 = call ptr @llvm.stacksave.p0() %69 = alloca i8, i64 %67, align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %70 = call i64 @ARRAY_SIZE(ptr noundef nonnull %69) #4 store i64 %70, ptr %3, align 8, !tbaa !9 %71 = load i32, ptr %1, align 4, !tbaa !5 %72 = ptrtoint ptr %69 to i64 %73 = trunc i64 %72 to i32 %74 = call i64 @RegQueryValueExA(i32 noundef %71, ptr noundef nonnull @test_registerDefaultOIDFunction.dllA, ptr noundef null, ptr noundef nonnull %2, i32 noundef %73, ptr noundef nonnull %3) #4 %75 = icmp eq i64 %74, 0 %76 = zext i1 %75 to i32 %77 = call i32 (i32, ptr, ...) @ok(i32 noundef %76, ptr noundef nonnull @.str.6, i64 noundef %74) #4 %78 = load i64, ptr %2, align 8, !tbaa !9 %79 = load i64, ptr @REG_MULTI_SZ, align 8, !tbaa !9 %80 = icmp eq i64 %78, %79 %81 = zext i1 %80 to i32 %82 = call i32 (i32, ptr, ...) @ok(i32 noundef %81, ptr noundef nonnull @.str.7, i64 noundef %78) #4 %83 = call i32 @lstrcmpiA(ptr noundef nonnull %69, ptr noundef nonnull @test_registerDefaultOIDFunction.bogusDll_A) #4 %84 = icmp eq i32 %83, 0 %85 = zext i1 %84 to i32 %86 = call i32 (i32, ptr, ...) @ok(i32 noundef %85, ptr noundef nonnull @.str.8) #4 %87 = call i64 @lstrlenA(ptr noundef nonnull %69) #4 %88 = getelementptr i8, ptr %69, i64 %87 %89 = getelementptr i8, ptr %88, i64 1 %90 = call i32 @lstrcmpiA(ptr noundef %89, ptr noundef nonnull @test_registerDefaultOIDFunction.bogus2Dll_A) #4 %91 = icmp eq i32 %90, 0 %92 = zext i1 %91 to i32 %93 = call i32 (i32, ptr, ...) @ok(i32 noundef %92, ptr noundef nonnull @.str.8) #4 %94 = load i32, ptr %1, align 4, !tbaa !5 %95 = call i32 @RegCloseKey(i32 noundef %94) #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 call void @llvm.stackrestore.p0(ptr %68) br label %96 96: ; preds = %65, %51 %97 = load ptr, ptr @bogusDll, align 8, !tbaa !11 %98 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef %97) #4 %99 = call i64 (...) @GetLastError() #4 %100 = call i32 (i32, ptr, ...) @ok(i32 noundef %98, ptr noundef nonnull @.str.9, i64 noundef %99) #4 %101 = load ptr, ptr @bogus2Dll, align 8, !tbaa !11 %102 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef %101) #4 %103 = call i64 (...) @GetLastError() #4 %104 = call i32 (i32, ptr, ...) @ok(i32 noundef %102, ptr noundef nonnull @.str.9, i64 noundef %103) #4 %105 = load ptr, ptr @bogusDll, align 8, !tbaa !11 %106 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef %105) #4 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %113 108: ; preds = %96 %109 = call i64 (...) @GetLastError() #4 %110 = load i64, ptr @ERROR_FILE_NOT_FOUND, align 8, !tbaa !9 %111 = icmp eq i64 %109, %110 %112 = zext i1 %111 to i32 br label %113 113: ; preds = %108, %96 %114 = phi i32 [ 0, %96 ], [ %112, %108 ] %115 = call i64 (...) @GetLastError() #4 %116 = call i32 (i32, ptr, ...) @ok(i32 noundef %114, ptr noundef nonnull @.str.10, i64 noundef %115) #4 %117 = load i32, ptr @X509_ASN_ENCODING, align 4, !tbaa !5 %118 = load ptr, ptr @bogusDll, align 8, !tbaa !11 %119 = call i32 @CryptRegisterDefaultOIDFunction(i32 noundef %117, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %118) #4 %120 = call i32 (i32, ptr, ...) @ok(i32 noundef %119, ptr noundef nonnull @.str.11) #4 %121 = load i32, ptr @X509_ASN_ENCODING, align 4, !tbaa !5 %122 = load ptr, ptr @bogusDll, align 8, !tbaa !11 %123 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef %121, ptr noundef nonnull @.str.1, ptr noundef %122) #4 %124 = call i32 (i32, ptr, ...) @ok(i32 noundef %123, ptr noundef nonnull @.str.12) #4 %125 = load i32, ptr @X509_ASN_ENCODING, align 4, !tbaa !5 %126 = load ptr, ptr @bogusDll, align 8, !tbaa !11 %127 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef %125, ptr noundef nonnull @.str.1, ptr noundef %126) #4 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %134 129: ; preds = %113 %130 = call i64 (...) @GetLastError() #4 %131 = load i64, ptr @ERROR_FILE_NOT_FOUND, align 8, !tbaa !9 %132 = icmp eq i64 %130, %131 %133 = zext i1 %132 to i32 br label %134 134: ; preds = %129, %113 %135 = phi i32 [ 0, %113 ], [ %133, %129 ] %136 = call i64 (...) @GetLastError() #4 %137 = call i32 (i32, ptr, ...) @ok(i32 noundef %135, ptr noundef nonnull @.str.13, i64 noundef %136) #4 br label %138 138: ; preds = %134, %26 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @CryptRegisterDefaultOIDFunction(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #3 declare i64 @GetLastError(...) local_unnamed_addr #3 declare i32 @SetLastError(i32 noundef) local_unnamed_addr #3 declare i32 @skip(ptr noundef) local_unnamed_addr #3 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @RegOpenKeyA(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #3 declare i64 @RegQueryValueExA(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @lstrcmpiA(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @lstrlenA(ptr noundef) local_unnamed_addr #3 declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #1 declare i32 @CryptUnregisterDefaultOIDFunction(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #2 = { mustprogress nocallback nofree nosync 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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/crypt32/extr_oid.c_test_registerDefaultOIDFunction.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/crypt32/extr_oid.c_test_registerDefaultOIDFunction.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @test_registerDefaultOIDFunction.fmt = internal constant [63 x i8] c"Software\\Microsoft\\Cryptography\\OID\\EncodingType %d\\%s\\DEFAULT\00", align 1 @MAX_PATH = common local_unnamed_addr global i32 0, align 4 @E_INVALIDARG = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [33 x i8] c"Expected E_INVALIDARG, got %08x\0A\00", align 1 @.str.1 = private constant [21 x i8] c"CertDllOpenStoreProv\00", align 1 @bogusDll = common local_unnamed_addr global ptr null, align 8 @ERROR_ACCESS_DENIED = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [19 x i8] c"Need admin rights\0A\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"CryptRegisterDefaultOIDFunction failed: %08x\0A\00", align 1 @ERROR_FILE_EXISTS = common local_unnamed_addr global i64 0, align 8 @.str.4 = private unnamed_addr constant [38 x i8] c"Expected ERROR_FILE_EXISTS, got %08x\0A\00", align 1 @bogus2Dll = common local_unnamed_addr global ptr null, align 8 @HKEY_LOCAL_MACHINE = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [47 x i8] c"Expected key to exist, RegOpenKeyA failed: %d\0A\00", align 1 @test_registerDefaultOIDFunction.dllA = internal constant [4 x i8] c"Dll\00", align 1 @test_registerDefaultOIDFunction.bogusDll_A = internal constant [10 x i8] c"bogus.dll\00", align 1 @test_registerDefaultOIDFunction.bogus2Dll_A = internal constant [11 x i8] c"bogus2.dll\00", align 1 @.str.6 = private unnamed_addr constant [58 x i8] c"Expected Dll value to exist, RegQueryValueExA failed: %d\0A\00", align 1 @REG_MULTI_SZ = common local_unnamed_addr global i64 0, align 8 @.str.7 = private unnamed_addr constant [36 x i8] c"Expected type REG_MULTI_SZ, got %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"Unexpected dll\0A\00", align 1 @.str.9 = private unnamed_addr constant [48 x i8] c"CryptUnregisterDefaultOIDFunction failed: %08x\0A\00", align 1 @ERROR_FILE_NOT_FOUND = common local_unnamed_addr global i64 0, align 8 @.str.10 = private unnamed_addr constant [39 x i8] c"Expected ERROR_FILE_NOT_FOUND, got %d\0A\00", align 1 @X509_ASN_ENCODING = common local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [40 x i8] c"CryptRegisterDefaultOIDFunction failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [42 x i8] c"CryptUnregisterDefaultOIDFunction failed\0A\00", align 1 @.str.13 = private unnamed_addr constant [41 x i8] c"Expected ERROR_FILE_NOT_FOUND, got %08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_registerDefaultOIDFunction], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_registerDefaultOIDFunction() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = load i32, ptr @MAX_PATH, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4 %7 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef null, i32 noundef 0, ptr noundef null) #4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %0 %10 = tail call i64 @GetLastError() #4 %11 = load i64, ptr @E_INVALIDARG, align 8, !tbaa !10 %12 = icmp eq i64 %10, %11 %13 = zext i1 %12 to i32 br label %14 14: ; preds = %9, %0 %15 = phi i32 [ 0, %0 ], [ %13, %9 ] %16 = tail call i64 @GetLastError() #4 %17 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str, i64 noundef %16) #4 %18 = tail call i32 @SetLastError(i32 noundef -559038737) #4 %19 = load ptr, ptr @bogusDll, align 8, !tbaa !12 %20 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %19) #4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %14 %23 = tail call i64 @GetLastError() #4 %24 = load i64, ptr @ERROR_ACCESS_DENIED, align 8, !tbaa !10 %25 = icmp eq i64 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = tail call i32 @skip(ptr noundef nonnull @.str.2) #4 br label %138 28: ; preds = %22, %14 %29 = tail call i64 @GetLastError() #4 %30 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %20, ptr noundef nonnull @.str.3, i64 noundef %29) #4 %31 = load ptr, ptr @bogusDll, align 8, !tbaa !12 %32 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %31) #4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %39 34: ; preds = %28 %35 = tail call i64 @GetLastError() #4 %36 = load i64, ptr @ERROR_FILE_EXISTS, align 8, !tbaa !10 %37 = icmp eq i64 %35, %36 %38 = zext i1 %37 to i32 br label %39 39: ; preds = %34, %28 %40 = phi i32 [ 0, %28 ], [ %38, %34 ] %41 = tail call i64 @GetLastError() #4 %42 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %40, ptr noundef nonnull @.str.4, i64 noundef %41) #4 %43 = load ptr, ptr @bogusDll, align 8, !tbaa !12 %44 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef 1, ptr noundef %43) #4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %51 46: ; preds = %39 %47 = tail call i64 @GetLastError() #4 %48 = load i64, ptr @ERROR_FILE_EXISTS, align 8, !tbaa !10 %49 = icmp eq i64 %47, %48 %50 = zext i1 %49 to i32 br label %51 51: ; preds = %46, %39 %52 = phi i32 [ 0, %39 ], [ %50, %46 ] %53 = tail call i64 @GetLastError() #4 %54 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %52, ptr noundef nonnull @.str.4, i64 noundef %53) #4 %55 = load ptr, ptr @bogus2Dll, align 8, !tbaa !12 %56 = tail call i32 @CryptRegisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef 1, ptr noundef %55) #4 %57 = tail call i64 @GetLastError() #4 %58 = tail call i32 (i32, ptr, ...) @ok(i32 noundef %56, ptr noundef nonnull @.str.3, i64 noundef %57) #4 %59 = call i32 @sprintf(ptr noundef nonnull %6, ptr noundef nonnull @test_registerDefaultOIDFunction.fmt, i32 noundef 0, ptr noundef nonnull @.str.1) #4 %60 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !6 %61 = call i64 @RegOpenKeyA(i32 noundef %60, ptr noundef nonnull %6, ptr noundef nonnull %1) #4 %62 = icmp eq i64 %61, 0 %63 = zext i1 %62 to i32 %64 = call i32 (i32, ptr, ...) @ok(i32 noundef %63, ptr noundef nonnull @.str.5, i64 noundef %61) #4 br i1 %62, label %65, label %96 65: ; preds = %51 %66 = load i32, ptr @MAX_PATH, align 4, !tbaa !6 %67 = zext i32 %66 to i64 %68 = call ptr @llvm.stacksave.p0() %69 = alloca i8, i64 %67, align 1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %70 = call i64 @ARRAY_SIZE(ptr noundef nonnull %69) #4 store i64 %70, ptr %3, align 8, !tbaa !10 %71 = load i32, ptr %1, align 4, !tbaa !6 %72 = ptrtoint ptr %69 to i64 %73 = trunc i64 %72 to i32 %74 = call i64 @RegQueryValueExA(i32 noundef %71, ptr noundef nonnull @test_registerDefaultOIDFunction.dllA, ptr noundef null, ptr noundef nonnull %2, i32 noundef %73, ptr noundef nonnull %3) #4 %75 = icmp eq i64 %74, 0 %76 = zext i1 %75 to i32 %77 = call i32 (i32, ptr, ...) @ok(i32 noundef %76, ptr noundef nonnull @.str.6, i64 noundef %74) #4 %78 = load i64, ptr %2, align 8, !tbaa !10 %79 = load i64, ptr @REG_MULTI_SZ, align 8, !tbaa !10 %80 = icmp eq i64 %78, %79 %81 = zext i1 %80 to i32 %82 = call i32 (i32, ptr, ...) @ok(i32 noundef %81, ptr noundef nonnull @.str.7, i64 noundef %78) #4 %83 = call i32 @lstrcmpiA(ptr noundef nonnull %69, ptr noundef nonnull @test_registerDefaultOIDFunction.bogusDll_A) #4 %84 = icmp eq i32 %83, 0 %85 = zext i1 %84 to i32 %86 = call i32 (i32, ptr, ...) @ok(i32 noundef %85, ptr noundef nonnull @.str.8) #4 %87 = call i64 @lstrlenA(ptr noundef nonnull %69) #4 %88 = getelementptr i8, ptr %69, i64 %87 %89 = getelementptr i8, ptr %88, i64 1 %90 = call i32 @lstrcmpiA(ptr noundef %89, ptr noundef nonnull @test_registerDefaultOIDFunction.bogus2Dll_A) #4 %91 = icmp eq i32 %90, 0 %92 = zext i1 %91 to i32 %93 = call i32 (i32, ptr, ...) @ok(i32 noundef %92, ptr noundef nonnull @.str.8) #4 %94 = load i32, ptr %1, align 4, !tbaa !6 %95 = call i32 @RegCloseKey(i32 noundef %94) #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 call void @llvm.stackrestore.p0(ptr %68) br label %96 96: ; preds = %65, %51 %97 = load ptr, ptr @bogusDll, align 8, !tbaa !12 %98 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef %97) #4 %99 = call i64 @GetLastError() #4 %100 = call i32 (i32, ptr, ...) @ok(i32 noundef %98, ptr noundef nonnull @.str.9, i64 noundef %99) #4 %101 = load ptr, ptr @bogus2Dll, align 8, !tbaa !12 %102 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef %101) #4 %103 = call i64 @GetLastError() #4 %104 = call i32 (i32, ptr, ...) @ok(i32 noundef %102, ptr noundef nonnull @.str.9, i64 noundef %103) #4 %105 = load ptr, ptr @bogusDll, align 8, !tbaa !12 %106 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef %105) #4 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %113 108: ; preds = %96 %109 = call i64 @GetLastError() #4 %110 = load i64, ptr @ERROR_FILE_NOT_FOUND, align 8, !tbaa !10 %111 = icmp eq i64 %109, %110 %112 = zext i1 %111 to i32 br label %113 113: ; preds = %108, %96 %114 = phi i32 [ 0, %96 ], [ %112, %108 ] %115 = call i64 @GetLastError() #4 %116 = call i32 (i32, ptr, ...) @ok(i32 noundef %114, ptr noundef nonnull @.str.10, i64 noundef %115) #4 %117 = load i32, ptr @X509_ASN_ENCODING, align 4, !tbaa !6 %118 = load ptr, ptr @bogusDll, align 8, !tbaa !12 %119 = call i32 @CryptRegisterDefaultOIDFunction(i32 noundef %117, ptr noundef nonnull @.str.1, i32 noundef 0, ptr noundef %118) #4 %120 = call i32 (i32, ptr, ...) @ok(i32 noundef %119, ptr noundef nonnull @.str.11) #4 %121 = load i32, ptr @X509_ASN_ENCODING, align 4, !tbaa !6 %122 = load ptr, ptr @bogusDll, align 8, !tbaa !12 %123 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef %121, ptr noundef nonnull @.str.1, ptr noundef %122) #4 %124 = call i32 (i32, ptr, ...) @ok(i32 noundef %123, ptr noundef nonnull @.str.12) #4 %125 = load i32, ptr @X509_ASN_ENCODING, align 4, !tbaa !6 %126 = load ptr, ptr @bogusDll, align 8, !tbaa !12 %127 = call i32 @CryptUnregisterDefaultOIDFunction(i32 noundef %125, ptr noundef nonnull @.str.1, ptr noundef %126) #4 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %134 129: ; preds = %113 %130 = call i64 @GetLastError() #4 %131 = load i64, ptr @ERROR_FILE_NOT_FOUND, align 8, !tbaa !10 %132 = icmp eq i64 %130, %131 %133 = zext i1 %132 to i32 br label %134 134: ; preds = %129, %113 %135 = phi i32 [ 0, %113 ], [ %133, %129 ] %136 = call i64 @GetLastError() #4 %137 = call i32 (i32, ptr, ...) @ok(i32 noundef %135, ptr noundef nonnull @.str.13, i64 noundef %136) #4 br label %138 138: ; preds = %134, %26 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @CryptRegisterDefaultOIDFunction(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #3 declare i64 @GetLastError(...) local_unnamed_addr #3 declare i32 @SetLastError(i32 noundef) local_unnamed_addr #3 declare i32 @skip(ptr noundef) local_unnamed_addr #3 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @RegOpenKeyA(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #3 declare i64 @RegQueryValueExA(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @lstrcmpiA(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @lstrlenA(ptr noundef) local_unnamed_addr #3 declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #1 declare i32 @CryptUnregisterDefaultOIDFunction(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #2 = { mustprogress nocallback nofree nosync 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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
reactos_modules_rostests_winetests_crypt32_extr_oid.c_test_registerDefaultOIDFunction
; ModuleID = 'AnghaBench/RetroArch/cores/extr_dynamic_dummy.c_libretro_dummy_retro_unload_game.c' source_filename = "AnghaBench/RetroArch/cores/extr_dynamic_dummy.c_libretro_dummy_retro_unload_game.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @libretro_dummy_retro_unload_game() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/RetroArch/cores/extr_dynamic_dummy.c_libretro_dummy_retro_unload_game.c' source_filename = "AnghaBench/RetroArch/cores/extr_dynamic_dummy.c_libretro_dummy_retro_unload_game.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @libretro_dummy_retro_unload_game() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
RetroArch_cores_extr_dynamic_dummy.c_libretro_dummy_retro_unload_game
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/mod/extr_sumversion.c_add_char.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/mod/extr_sumversion.c_add_char.c" target datalayout = "e-m:e-p270:32:32-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 @add_char], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @add_char(i8 noundef zeroext %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1, !tbaa !5 %4 = call i32 @md4_update(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 1) #2 ret void } declare i32 @md4_update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/mod/extr_sumversion.c_add_char.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/mod/extr_sumversion.c_add_char.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 @add_char], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @add_char(i8 noundef zeroext %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1, !tbaa !6 %4 = call i32 @md4_update(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 1) #2 ret void } declare i32 @md4_update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_scripts_mod_extr_sumversion.c_add_char
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_wrreg16.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_wrreg16.c" target datalayout = "e-m:e-p270:32:32-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.ks_net = type { i32, i32, i32 } @BE1 = dso_local local_unnamed_addr global i32 0, align 4 @BE0 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ks_wrreg16], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ks_wrreg16(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @BE1, align 4, !tbaa !5 %5 = load i32, ptr @BE0, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = and i32 %1, 2 %8 = shl i32 %6, %7 %9 = or i32 %8, %1 store i32 %9, ptr %0, align 4, !tbaa !9 %10 = getelementptr inbounds %struct.ks_net, ptr %0, i64 0, i32 2 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = tail call i32 @iowrite16(i32 noundef %9, i32 noundef %11) #2 %13 = getelementptr inbounds %struct.ks_net, ptr %0, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = tail call i32 @iowrite16(i32 noundef %2, i32 noundef %14) #2 ret void } declare i32 @iowrite16(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ks_net", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 8} !12 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_wrreg16.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_wrreg16.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BE1 = common local_unnamed_addr global i32 0, align 4 @BE0 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ks_wrreg16], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ks_wrreg16(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @BE1, align 4, !tbaa !6 %5 = load i32, ptr @BE0, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = and i32 %1, 2 %8 = shl i32 %6, %7 %9 = or i32 %8, %1 store i32 %9, ptr %0, align 4, !tbaa !10 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @iowrite16(i32 noundef %9, i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %0, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = tail call i32 @iowrite16(i32 noundef %2, i32 noundef %14) #2 ret void } declare i32 @iowrite16(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ks_net", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 8} !13 = !{!11, !7, i64 4}
linux_drivers_net_ethernet_micrel_extr_ks8851_mll.c_ks_wrreg16
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_json.c_stringify.c' source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_json.c_stringify.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @S_FALSE = dso_local local_unnamed_addr global i64 0, align 8 @toJSONW = dso_local local_unnamed_addr global i32 0, align 4 @S_OK = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"Use toJSON.\0A\00", align 1 @nullW = dso_local local_unnamed_addr global i32 0, align 4 @E_OUTOFMEMORY = dso_local local_unnamed_addr global i64 0, align 8 @trueW = dso_local local_unnamed_addr global i32 0, align 4 @falseW = dso_local local_unnamed_addr global i32 0, align 4 @JSCLASS_ARRAY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"VARIANT\0A\00", align 1 @E_NOTIMPL = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @stringify], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @stringify(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %6 = tail call i64 @is_object_instance(i32 noundef %1) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %26, label %8 8: ; preds = %2 %9 = tail call i64 @get_object(i32 noundef %1) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %26, label %11 11: ; preds = %8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %12 = tail call i64 @get_object(i32 noundef %1) #3 %13 = tail call ptr @iface_to_jsdisp(i64 noundef %12) #3 %14 = icmp eq ptr %13, null br i1 %14, label %24, label %15 15: ; preds = %11 %16 = load i32, ptr @toJSONW, align 4, !tbaa !5 %17 = call i64 @jsdisp_get_id(ptr noundef nonnull %13, i32 noundef %16, i32 noundef 0, ptr noundef nonnull %4) #3 %18 = call i32 @jsdisp_release(ptr noundef nonnull %13) #3 %19 = load i64, ptr @S_OK, align 8, !tbaa !9 %20 = icmp eq i64 %17, %19 br i1 %20, label %21, label %23 21: ; preds = %15 %22 = call i32 @FIXME(ptr noundef nonnull @.str) #3 br label %23 23: ; preds = %15, %21 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %26 24: ; preds = %11 %25 = load i64, ptr @S_FALSE, align 8, !tbaa !9 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %127 26: ; preds = %23, %8, %2 %27 = load i32, ptr %0, align 4, !tbaa !11 %28 = call i64 @maybe_to_primitive(i32 noundef %27, i32 noundef %1, ptr noundef nonnull %3) #3 %29 = call i64 @FAILED(i64 noundef %28) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %127 31: ; preds = %26 %32 = load i32, ptr %3, align 4, !tbaa !5 %33 = call i32 @jsval_type(i32 noundef %32) #3 switch i32 %33, label %123 [ i32 133, label %34 i32 134, label %40 i32 130, label %51 i32 132, label %61 i32 131, label %95 i32 129, label %118 i32 128, label %120 ] 34: ; preds = %31 %35 = load i32, ptr @nullW, align 4, !tbaa !5 %36 = call i32 @append_string(ptr noundef nonnull %0, i32 noundef %35) #3 %37 = icmp eq i32 %36, 0 %38 = load i64, ptr @E_OUTOFMEMORY, align 8 %39 = select i1 %37, i64 %38, i64 %28 br label %123 40: ; preds = %31 %41 = load i32, ptr %3, align 4, !tbaa !5 %42 = call i32 @get_bool(i32 noundef %41) #3 %43 = icmp eq i32 %42, 0 %44 = load i32, ptr @trueW, align 4 %45 = load i32, ptr @falseW, align 4 %46 = select i1 %43, i32 %45, i32 %44 %47 = call i32 @append_string(ptr noundef nonnull %0, i32 noundef %46) #3 %48 = icmp eq i32 %47, 0 %49 = load i64, ptr @E_OUTOFMEMORY, align 8 %50 = select i1 %48, i64 %49, i64 %28 br label %123 51: ; preds = %31 %52 = load i32, ptr %3, align 4, !tbaa !5 %53 = call ptr @get_string(i32 noundef %52) #3 %54 = call ptr @jsstr_flatten(ptr noundef %53) #3 %55 = icmp eq ptr %54, null br i1 %55, label %59, label %56 56: ; preds = %51 %57 = call i32 @jsstr_length(ptr noundef %53) #3 %58 = call i64 @json_quote(ptr noundef nonnull %0, ptr noundef nonnull %54, i32 noundef %57) #3 br label %123 59: ; preds = %51 %60 = load i64, ptr @E_OUTOFMEMORY, align 8, !tbaa !9 br label %123 61: ; preds = %31 %62 = load i32, ptr %3, align 4, !tbaa !5 %63 = call double @get_number(i32 noundef %62) #3 %64 = call i32 @is_finite(double noundef %63) #3 %65 = icmp eq i32 %64, 0 br i1 %65, label %89, label %66 66: ; preds = %61 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %67 = call i64 @double_to_string(double noundef %63, ptr noundef nonnull %5) #3 %68 = call i64 @FAILED(i64 noundef %67) #3 %69 = icmp eq i64 %68, 0 br i1 %69, label %70, label %87 70: ; preds = %66 %71 = load ptr, ptr %5, align 8, !tbaa !13 %72 = call ptr @jsstr_flatten(ptr noundef %71) #3 %73 = icmp ne ptr %72, null %74 = zext i1 %73 to i32 %75 = call i32 @assert(i32 noundef %74) #3 br i1 %73, label %76, label %81 76: ; preds = %70 %77 = load ptr, ptr %5, align 8, !tbaa !13 %78 = call i32 @jsstr_length(ptr noundef %77) #3 %79 = call i32 @append_string_len(ptr noundef nonnull %0, ptr noundef nonnull %72, i32 noundef %78) #3 %80 = icmp eq i32 %79, 0 br i1 %80, label %82, label %81 81: ; preds = %76, %70 br label %82 82: ; preds = %76, %81 %83 = phi ptr [ @S_OK, %81 ], [ @E_OUTOFMEMORY, %76 ] %84 = load i64, ptr %83, align 8, !tbaa !9 %85 = load ptr, ptr %5, align 8, !tbaa !13 %86 = call i32 @jsstr_release(ptr noundef %85) #3 br label %87 87: ; preds = %66, %82 %88 = phi i64 [ %84, %82 ], [ %67, %66 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %123 89: ; preds = %61 %90 = load i32, ptr @nullW, align 4, !tbaa !5 %91 = call i32 @append_string(ptr noundef nonnull %0, i32 noundef %90) #3 %92 = icmp eq i32 %91, 0 %93 = load i64, ptr @E_OUTOFMEMORY, align 8 %94 = select i1 %92, i64 %93, i64 %28 br label %123 95: ; preds = %31 %96 = load i32, ptr %3, align 4, !tbaa !5 %97 = call i64 @get_object(i32 noundef %96) #3 %98 = call ptr @iface_to_jsdisp(i64 noundef %97) #3 %99 = icmp eq ptr %98, null br i1 %99, label %100, label %102 100: ; preds = %95 %101 = load i64, ptr @S_FALSE, align 8, !tbaa !9 br label %123 102: ; preds = %95 %103 = call i32 @is_callable(ptr noundef nonnull %98) #3 %104 = icmp eq i32 %103, 0 br i1 %104, label %105, label %113 105: ; preds = %102 %106 = load i32, ptr @JSCLASS_ARRAY, align 4, !tbaa !5 %107 = call i32 @is_class(ptr noundef nonnull %98, i32 noundef %106) #3 %108 = icmp eq i32 %107, 0 br i1 %108, label %111, label %109 109: ; preds = %105 %110 = call i64 @stringify_array(ptr noundef nonnull %0, ptr noundef nonnull %98) #3 br label %115 111: ; preds = %105 %112 = call i64 @stringify_object(ptr noundef nonnull %0, ptr noundef nonnull %98) #3 br label %115 113: ; preds = %102 %114 = load i64, ptr @S_FALSE, align 8, !tbaa !9 br label %115 115: ; preds = %109, %111, %113 %116 = phi i64 [ %114, %113 ], [ %110, %109 ], [ %112, %111 ] %117 = call i32 @jsdisp_release(ptr noundef nonnull %98) #3 br label %123 118: ; preds = %31 %119 = load i64, ptr @S_FALSE, align 8, !tbaa !9 br label %123 120: ; preds = %31 %121 = call i32 @FIXME(ptr noundef nonnull @.str.1) #3 %122 = load i64, ptr @E_NOTIMPL, align 8, !tbaa !9 br label %123 123: ; preds = %89, %87, %40, %34, %100, %115, %56, %59, %31, %120, %118 %124 = phi i64 [ %28, %31 ], [ %122, %120 ], [ %119, %118 ], [ %39, %34 ], [ %50, %40 ], [ %58, %56 ], [ %60, %59 ], [ %88, %87 ], [ %94, %89 ], [ %116, %115 ], [ %101, %100 ] %125 = load i32, ptr %3, align 4, !tbaa !5 %126 = call i32 @jsval_release(i32 noundef %125) #3 br label %127 127: ; preds = %24, %26, %123 %128 = phi i64 [ %124, %123 ], [ %25, %24 ], [ %28, %26 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i64 %128 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @is_object_instance(i32 noundef) local_unnamed_addr #2 declare i64 @get_object(i32 noundef) local_unnamed_addr #2 declare ptr @iface_to_jsdisp(i64 noundef) local_unnamed_addr #2 declare i64 @jsdisp_get_id(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jsdisp_release(ptr noundef) local_unnamed_addr #2 declare i32 @FIXME(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 i64 @maybe_to_primitive(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @FAILED(i64 noundef) local_unnamed_addr #2 declare i32 @jsval_type(i32 noundef) local_unnamed_addr #2 declare i32 @append_string(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_bool(i32 noundef) local_unnamed_addr #2 declare ptr @get_string(i32 noundef) local_unnamed_addr #2 declare ptr @jsstr_flatten(ptr noundef) local_unnamed_addr #2 declare i64 @json_quote(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @jsstr_length(ptr noundef) local_unnamed_addr #2 declare double @get_number(i32 noundef) local_unnamed_addr #2 declare i32 @is_finite(double noundef) local_unnamed_addr #2 declare i64 @double_to_string(double noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @append_string_len(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @jsstr_release(ptr noundef) local_unnamed_addr #2 declare i32 @is_callable(ptr noundef) local_unnamed_addr #2 declare i32 @is_class(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @stringify_array(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @stringify_object(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jsval_release(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_8__", !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_json.c_stringify.c' source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_json.c_stringify.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S_FALSE = common local_unnamed_addr global i64 0, align 8 @toJSONW = common local_unnamed_addr global i32 0, align 4 @S_OK = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"Use toJSON.\0A\00", align 1 @nullW = common local_unnamed_addr global i32 0, align 4 @E_OUTOFMEMORY = common local_unnamed_addr global i64 0, align 8 @trueW = common local_unnamed_addr global i32 0, align 4 @falseW = common local_unnamed_addr global i32 0, align 4 @JSCLASS_ARRAY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"VARIANT\0A\00", align 1 @E_NOTIMPL = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @stringify], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @stringify(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %6 = tail call i64 @is_object_instance(i32 noundef %1) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %26, label %8 8: ; preds = %2 %9 = tail call i64 @get_object(i32 noundef %1) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %26, label %11 11: ; preds = %8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %12 = tail call i64 @get_object(i32 noundef %1) #3 %13 = tail call ptr @iface_to_jsdisp(i64 noundef %12) #3 %14 = icmp eq ptr %13, null br i1 %14, label %24, label %15 15: ; preds = %11 %16 = load i32, ptr @toJSONW, align 4, !tbaa !6 %17 = call i64 @jsdisp_get_id(ptr noundef nonnull %13, i32 noundef %16, i32 noundef 0, ptr noundef nonnull %4) #3 %18 = call i32 @jsdisp_release(ptr noundef nonnull %13) #3 %19 = load i64, ptr @S_OK, align 8, !tbaa !10 %20 = icmp eq i64 %17, %19 br i1 %20, label %21, label %23 21: ; preds = %15 %22 = call i32 @FIXME(ptr noundef nonnull @.str) #3 br label %23 23: ; preds = %15, %21 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %26 24: ; preds = %11 %25 = load i64, ptr @S_FALSE, align 8, !tbaa !10 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 br label %127 26: ; preds = %23, %8, %2 %27 = load i32, ptr %0, align 4, !tbaa !12 %28 = call i64 @maybe_to_primitive(i32 noundef %27, i32 noundef %1, ptr noundef nonnull %3) #3 %29 = call i64 @FAILED(i64 noundef %28) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %127 31: ; preds = %26 %32 = load i32, ptr %3, align 4, !tbaa !6 %33 = call i32 @jsval_type(i32 noundef %32) #3 switch i32 %33, label %123 [ i32 133, label %34 i32 134, label %40 i32 130, label %51 i32 132, label %61 i32 131, label %95 i32 129, label %118 i32 128, label %120 ] 34: ; preds = %31 %35 = load i32, ptr @nullW, align 4, !tbaa !6 %36 = call i32 @append_string(ptr noundef nonnull %0, i32 noundef %35) #3 %37 = icmp eq i32 %36, 0 %38 = load i64, ptr @E_OUTOFMEMORY, align 8 %39 = select i1 %37, i64 %38, i64 %28 br label %123 40: ; preds = %31 %41 = load i32, ptr %3, align 4, !tbaa !6 %42 = call i32 @get_bool(i32 noundef %41) #3 %43 = icmp eq i32 %42, 0 %44 = load i32, ptr @trueW, align 4 %45 = load i32, ptr @falseW, align 4 %46 = select i1 %43, i32 %45, i32 %44 %47 = call i32 @append_string(ptr noundef nonnull %0, i32 noundef %46) #3 %48 = icmp eq i32 %47, 0 %49 = load i64, ptr @E_OUTOFMEMORY, align 8 %50 = select i1 %48, i64 %49, i64 %28 br label %123 51: ; preds = %31 %52 = load i32, ptr %3, align 4, !tbaa !6 %53 = call ptr @get_string(i32 noundef %52) #3 %54 = call ptr @jsstr_flatten(ptr noundef %53) #3 %55 = icmp eq ptr %54, null br i1 %55, label %59, label %56 56: ; preds = %51 %57 = call i32 @jsstr_length(ptr noundef %53) #3 %58 = call i64 @json_quote(ptr noundef nonnull %0, ptr noundef nonnull %54, i32 noundef %57) #3 br label %123 59: ; preds = %51 %60 = load i64, ptr @E_OUTOFMEMORY, align 8, !tbaa !10 br label %123 61: ; preds = %31 %62 = load i32, ptr %3, align 4, !tbaa !6 %63 = call double @get_number(i32 noundef %62) #3 %64 = call i32 @is_finite(double noundef %63) #3 %65 = icmp eq i32 %64, 0 br i1 %65, label %89, label %66 66: ; preds = %61 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %67 = call i64 @double_to_string(double noundef %63, ptr noundef nonnull %5) #3 %68 = call i64 @FAILED(i64 noundef %67) #3 %69 = icmp eq i64 %68, 0 br i1 %69, label %70, label %87 70: ; preds = %66 %71 = load ptr, ptr %5, align 8, !tbaa !14 %72 = call ptr @jsstr_flatten(ptr noundef %71) #3 %73 = icmp ne ptr %72, null %74 = zext i1 %73 to i32 %75 = call i32 @assert(i32 noundef %74) #3 br i1 %73, label %76, label %81 76: ; preds = %70 %77 = load ptr, ptr %5, align 8, !tbaa !14 %78 = call i32 @jsstr_length(ptr noundef %77) #3 %79 = call i32 @append_string_len(ptr noundef nonnull %0, ptr noundef nonnull %72, i32 noundef %78) #3 %80 = icmp eq i32 %79, 0 br i1 %80, label %82, label %81 81: ; preds = %76, %70 br label %82 82: ; preds = %76, %81 %83 = phi ptr [ @S_OK, %81 ], [ @E_OUTOFMEMORY, %76 ] %84 = load i64, ptr %83, align 8, !tbaa !10 %85 = load ptr, ptr %5, align 8, !tbaa !14 %86 = call i32 @jsstr_release(ptr noundef %85) #3 br label %87 87: ; preds = %66, %82 %88 = phi i64 [ %84, %82 ], [ %67, %66 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %123 89: ; preds = %61 %90 = load i32, ptr @nullW, align 4, !tbaa !6 %91 = call i32 @append_string(ptr noundef nonnull %0, i32 noundef %90) #3 %92 = icmp eq i32 %91, 0 %93 = load i64, ptr @E_OUTOFMEMORY, align 8 %94 = select i1 %92, i64 %93, i64 %28 br label %123 95: ; preds = %31 %96 = load i32, ptr %3, align 4, !tbaa !6 %97 = call i64 @get_object(i32 noundef %96) #3 %98 = call ptr @iface_to_jsdisp(i64 noundef %97) #3 %99 = icmp eq ptr %98, null br i1 %99, label %100, label %102 100: ; preds = %95 %101 = load i64, ptr @S_FALSE, align 8, !tbaa !10 br label %123 102: ; preds = %95 %103 = call i32 @is_callable(ptr noundef nonnull %98) #3 %104 = icmp eq i32 %103, 0 br i1 %104, label %105, label %113 105: ; preds = %102 %106 = load i32, ptr @JSCLASS_ARRAY, align 4, !tbaa !6 %107 = call i32 @is_class(ptr noundef nonnull %98, i32 noundef %106) #3 %108 = icmp eq i32 %107, 0 br i1 %108, label %111, label %109 109: ; preds = %105 %110 = call i64 @stringify_array(ptr noundef nonnull %0, ptr noundef nonnull %98) #3 br label %115 111: ; preds = %105 %112 = call i64 @stringify_object(ptr noundef nonnull %0, ptr noundef nonnull %98) #3 br label %115 113: ; preds = %102 %114 = load i64, ptr @S_FALSE, align 8, !tbaa !10 br label %115 115: ; preds = %109, %111, %113 %116 = phi i64 [ %114, %113 ], [ %110, %109 ], [ %112, %111 ] %117 = call i32 @jsdisp_release(ptr noundef nonnull %98) #3 br label %123 118: ; preds = %31 %119 = load i64, ptr @S_FALSE, align 8, !tbaa !10 br label %123 120: ; preds = %31 %121 = call i32 @FIXME(ptr noundef nonnull @.str.1) #3 %122 = load i64, ptr @E_NOTIMPL, align 8, !tbaa !10 br label %123 123: ; preds = %89, %87, %40, %34, %100, %115, %56, %59, %31, %120, %118 %124 = phi i64 [ %28, %31 ], [ %122, %120 ], [ %119, %118 ], [ %39, %34 ], [ %50, %40 ], [ %58, %56 ], [ %60, %59 ], [ %88, %87 ], [ %94, %89 ], [ %116, %115 ], [ %101, %100 ] %125 = load i32, ptr %3, align 4, !tbaa !6 %126 = call i32 @jsval_release(i32 noundef %125) #3 br label %127 127: ; preds = %24, %26, %123 %128 = phi i64 [ %124, %123 ], [ %25, %24 ], [ %28, %26 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i64 %128 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @is_object_instance(i32 noundef) local_unnamed_addr #2 declare i64 @get_object(i32 noundef) local_unnamed_addr #2 declare ptr @iface_to_jsdisp(i64 noundef) local_unnamed_addr #2 declare i64 @jsdisp_get_id(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jsdisp_release(ptr noundef) local_unnamed_addr #2 declare i32 @FIXME(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 i64 @maybe_to_primitive(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @FAILED(i64 noundef) local_unnamed_addr #2 declare i32 @jsval_type(i32 noundef) local_unnamed_addr #2 declare i32 @append_string(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_bool(i32 noundef) local_unnamed_addr #2 declare ptr @get_string(i32 noundef) local_unnamed_addr #2 declare ptr @jsstr_flatten(ptr noundef) local_unnamed_addr #2 declare i64 @json_quote(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @jsstr_length(ptr noundef) local_unnamed_addr #2 declare double @get_number(i32 noundef) local_unnamed_addr #2 declare i32 @is_finite(double noundef) local_unnamed_addr #2 declare i64 @double_to_string(double noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @append_string_len(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @jsstr_release(ptr noundef) local_unnamed_addr #2 declare i32 @is_callable(ptr noundef) local_unnamed_addr #2 declare i32 @is_class(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @stringify_array(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @stringify_object(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @jsval_release(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_8__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0}
reactos_dll_win32_jscript_extr_json.c_stringify
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_act_simple.c_tcf_simp_cleanup.c' source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_act_simple.c_tcf_simp_cleanup.c" target datalayout = "e-m:e-p270:32:32-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 @tcf_simp_cleanup], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @tcf_simp_cleanup(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 %7, label %5 5: ; preds = %2 %6 = tail call i32 @tcf_simp_release(ptr noundef nonnull %3, i32 noundef %1) #2 br label %7 7: ; preds = %2, %5 %8 = phi i32 [ %6, %5 ], [ 0, %2 ] ret i32 %8 } declare i32 @tcf_simp_release(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tc_action", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_act_simple.c_tcf_simp_cleanup.c' source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_act_simple.c_tcf_simp_cleanup.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 @tcf_simp_cleanup], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @tcf_simp_cleanup(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 %7, label %5 5: ; preds = %2 %6 = tail call i32 @tcf_simp_release(ptr noundef nonnull %3, i32 noundef %1) #2 br label %7 7: ; preds = %2, %5 %8 = phi i32 [ %6, %5 ], [ 0, %2 ] ret i32 %8 } declare i32 @tcf_simp_release(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tc_action", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_sched_extr_act_simple.c_tcf_simp_cleanup
; ModuleID = 'AnghaBench/freebsd/contrib/bmake/extr_job.c_JobMakeArgv.c' source_filename = "AnghaBench/freebsd/contrib/bmake/extr_job.c_JobMakeArgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { ptr, ptr } @JobMakeArgv.args = internal global [10 x i8] zeroinitializer, align 1 @shellName = dso_local local_unnamed_addr global ptr null, align 8 @commandShell = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [6 x i8] c"-%s%s\00", align 1 @JOB_IGNERR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @JOB_SILENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @JobMakeArgv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @JobMakeArgv(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr @shellName, align 8, !tbaa !5 %4 = tail call ptr @UNCONST(ptr noundef %3) #2 store ptr %4, ptr %1, align 8, !tbaa !5 %5 = load ptr, ptr @commandShell, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !9 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i8, ptr %6, align 1, !tbaa !11 %10 = icmp eq i8 %9, 45 br i1 %10, label %11, label %18 11: ; preds = %8, %2 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = icmp eq ptr %13, null br i1 %14, label %40, label %15 15: ; preds = %11 %16 = load i8, ptr %13, align 1, !tbaa !11 %17 = icmp eq i8 %16, 45 br i1 %17, label %40, label %18 18: ; preds = %15, %8 %19 = load i32, ptr %0, align 4, !tbaa !13 %20 = load i32, ptr @JOB_IGNERR, align 4, !tbaa !16 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 %23 = select i1 %7, ptr @.str.1, ptr %6 %24 = select i1 %22, ptr %23, ptr @.str.1 %25 = load i32, ptr @JOB_SILENT, align 4, !tbaa !16 %26 = and i32 %25, %19 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %18 %29 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1 %30 = load ptr, ptr %29, align 8, !tbaa !12 %31 = icmp eq ptr %30, null %32 = select i1 %31, ptr @.str.1, ptr %30 br label %33 33: ; preds = %28, %18 %34 = phi ptr [ @.str.1, %18 ], [ %32, %28 ] %35 = tail call i32 @snprintf(ptr noundef nonnull @JobMakeArgv.args, i32 noundef 10, ptr noundef nonnull @.str, ptr noundef nonnull %24, ptr noundef nonnull %34) #2 %36 = load i8, ptr getelementptr inbounds ([10 x i8], ptr @JobMakeArgv.args, i64 0, i64 1), align 1, !tbaa !11 %37 = icmp eq i8 %36, 0 br i1 %37, label %66, label %38 38: ; preds = %33 %39 = getelementptr inbounds ptr, ptr %1, i64 1 store ptr @JobMakeArgv.args, ptr %39, align 8, !tbaa !5 br label %66 40: ; preds = %15, %11 %41 = load i32, ptr %0, align 4, !tbaa !13 %42 = load i32, ptr @JOB_IGNERR, align 4, !tbaa !16 %43 = and i32 %42, %41 %44 = icmp ne i32 %43, 0 %45 = or i1 %7, %44 br i1 %45, label %50, label %46 46: ; preds = %40 %47 = tail call ptr @UNCONST(ptr noundef nonnull %6) #2 %48 = getelementptr inbounds ptr, ptr %1, i64 1 store ptr %47, ptr %48, align 8, !tbaa !5 %49 = load i32, ptr %0, align 4, !tbaa !13 br label %50 50: ; preds = %40, %46 %51 = phi i32 [ %41, %40 ], [ %49, %46 ] %52 = phi i32 [ 1, %40 ], [ 2, %46 ] %53 = load i32, ptr @JOB_SILENT, align 4, !tbaa !16 %54 = and i32 %53, %51 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %66 56: ; preds = %50 %57 = load ptr, ptr @commandShell, align 8, !tbaa !5 %58 = getelementptr inbounds %struct.TYPE_5__, ptr %57, i64 0, i32 1 %59 = load ptr, ptr %58, align 8, !tbaa !12 %60 = icmp eq ptr %59, null br i1 %60, label %66, label %61 61: ; preds = %56 %62 = tail call ptr @UNCONST(ptr noundef nonnull %59) #2 %63 = zext nneg i32 %52 to i64 %64 = getelementptr inbounds ptr, ptr %1, i64 %63 store ptr %62, ptr %64, align 8, !tbaa !5 %65 = add nuw nsw i32 %52, 1 br label %66 66: ; preds = %50, %56, %61, %33, %38 %67 = phi i32 [ 2, %38 ], [ 1, %33 ], [ %52, %50 ], [ %65, %61 ], [ %52, %56 ] %68 = zext nneg i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %1, i64 %68 store ptr null, ptr %69, align 8, !tbaa !5 ret void } declare ptr @UNCONST(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_5__", !6, i64 0, !6, i64 8} !11 = !{!7, !7, i64 0} !12 = !{!10, !6, i64 8} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"int", !7, i64 0} !16 = !{!15, !15, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/bmake/extr_job.c_JobMakeArgv.c' source_filename = "AnghaBench/freebsd/contrib/bmake/extr_job.c_JobMakeArgv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @JobMakeArgv.args = internal global [10 x i8] zeroinitializer, align 1 @shellName = common local_unnamed_addr global ptr null, align 8 @commandShell = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [6 x i8] c"-%s%s\00", align 1 @JOB_IGNERR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @JOB_SILENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @JobMakeArgv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @JobMakeArgv(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr @shellName, align 8, !tbaa !6 %4 = tail call ptr @UNCONST(ptr noundef %3) #2 store ptr %4, ptr %1, align 8, !tbaa !6 %5 = load ptr, ptr @commandShell, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = icmp eq ptr %6, null br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i8, ptr %6, align 1, !tbaa !12 %10 = icmp eq i8 %9, 45 br i1 %10, label %11, label %18 11: ; preds = %8, %2 %12 = getelementptr inbounds i8, ptr %5, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = icmp eq ptr %13, null br i1 %14, label %40, label %15 15: ; preds = %11 %16 = load i8, ptr %13, align 1, !tbaa !12 %17 = icmp eq i8 %16, 45 br i1 %17, label %40, label %18 18: ; preds = %15, %8 %19 = load i32, ptr %0, align 4, !tbaa !14 %20 = load i32, ptr @JOB_IGNERR, align 4, !tbaa !17 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 %23 = select i1 %7, ptr @.str.1, ptr %6 %24 = select i1 %22, ptr %23, ptr @.str.1 %25 = load i32, ptr @JOB_SILENT, align 4, !tbaa !17 %26 = and i32 %25, %19 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %18 %29 = getelementptr inbounds i8, ptr %5, i64 8 %30 = load ptr, ptr %29, align 8, !tbaa !13 %31 = icmp eq ptr %30, null %32 = select i1 %31, ptr @.str.1, ptr %30 br label %33 33: ; preds = %28, %18 %34 = phi ptr [ @.str.1, %18 ], [ %32, %28 ] %35 = tail call i32 @snprintf(ptr noundef nonnull @JobMakeArgv.args, i32 noundef 10, ptr noundef nonnull @.str, ptr noundef nonnull %24, ptr noundef nonnull %34) #2 %36 = load i8, ptr getelementptr inbounds (i8, ptr @JobMakeArgv.args, i64 1), align 1, !tbaa !12 %37 = icmp eq i8 %36, 0 br i1 %37, label %66, label %38 38: ; preds = %33 %39 = getelementptr inbounds i8, ptr %1, i64 8 store ptr @JobMakeArgv.args, ptr %39, align 8, !tbaa !6 br label %66 40: ; preds = %15, %11 %41 = load i32, ptr %0, align 4, !tbaa !14 %42 = load i32, ptr @JOB_IGNERR, align 4, !tbaa !17 %43 = and i32 %42, %41 %44 = icmp ne i32 %43, 0 %45 = or i1 %7, %44 br i1 %45, label %50, label %46 46: ; preds = %40 %47 = tail call ptr @UNCONST(ptr noundef nonnull %6) #2 %48 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %47, ptr %48, align 8, !tbaa !6 %49 = load i32, ptr %0, align 4, !tbaa !14 br label %50 50: ; preds = %40, %46 %51 = phi i32 [ %41, %40 ], [ %49, %46 ] %52 = phi i32 [ 1, %40 ], [ 2, %46 ] %53 = load i32, ptr @JOB_SILENT, align 4, !tbaa !17 %54 = and i32 %53, %51 %55 = icmp eq i32 %54, 0 br i1 %55, label %56, label %66 56: ; preds = %50 %57 = load ptr, ptr @commandShell, align 8, !tbaa !6 %58 = getelementptr inbounds i8, ptr %57, i64 8 %59 = load ptr, ptr %58, align 8, !tbaa !13 %60 = icmp eq ptr %59, null br i1 %60, label %66, label %61 61: ; preds = %56 %62 = tail call ptr @UNCONST(ptr noundef nonnull %59) #2 %63 = zext nneg i32 %52 to i64 %64 = getelementptr inbounds ptr, ptr %1, i64 %63 store ptr %62, ptr %64, align 8, !tbaa !6 %65 = add nuw nsw i32 %52, 1 br label %66 66: ; preds = %50, %56, %61, %33, %38 %67 = phi i32 [ 2, %38 ], [ 1, %33 ], [ %52, %50 ], [ %65, %61 ], [ %52, %56 ] %68 = zext nneg i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %1, i64 %68 store ptr null, ptr %69, align 8, !tbaa !6 ret void } declare ptr @UNCONST(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0, !7, i64 8} !12 = !{!8, !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!16, !16, i64 0}
freebsd_contrib_bmake_extr_job.c_JobMakeArgv
; ModuleID = 'AnghaBench/mpv/player/extr_command.c_mp_property_osd_w.c' source_filename = "AnghaBench/mpv/player/extr_command.c_mp_property_osd_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mp_property_osd_w], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mp_property_osd_w(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, ptr noundef %3) #0 { %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call i32 @osd_get_vo_res(i32 noundef %5) #2 %7 = tail call i32 @m_property_int_ro(i32 noundef %2, ptr noundef %3, i32 noundef %6) #2 ret i32 %7 } declare i32 @osd_get_vo_res(i32 noundef) local_unnamed_addr #1 declare i32 @m_property_int_ro(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/mpv/player/extr_command.c_mp_property_osd_w.c' source_filename = "AnghaBench/mpv/player/extr_command.c_mp_property_osd_w.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @mp_property_osd_w], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mp_property_osd_w(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, ptr noundef %3) #0 { %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call i32 @osd_get_vo_res(i32 noundef %5) #2 %7 = tail call i32 @m_property_int_ro(i32 noundef %2, ptr noundef %3, i32 noundef %6) #2 ret i32 %7 } declare i32 @osd_get_vo_res(i32 noundef) local_unnamed_addr #1 declare i32 @m_property_int_ro(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
mpv_player_extr_command.c_mp_property_osd_w
; ModuleID = 'AnghaBench/obs-studio/deps/jansson/examples/extr_simple_parse.c_print_json_aux.c' source_filename = "AnghaBench/obs-studio/deps/jansson/examples/extr_simple_parse.c_print_json_aux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"unrecognized JSON type %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @print_json_aux(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @json_typeof(ptr noundef %0) #2 switch i32 %3, label %20 [ i32 131, label %4 i32 135, label %6 i32 129, label %8 i32 133, label %10 i32 130, label %12 i32 128, label %14 i32 134, label %16 i32 132, label %18 ] 4: ; preds = %2 %5 = tail call i32 @print_json_object(ptr noundef %0, i32 noundef %1) #2 br label %24 6: ; preds = %2 %7 = tail call i32 @print_json_array(ptr noundef %0, i32 noundef %1) #2 br label %24 8: ; preds = %2 %9 = tail call i32 @print_json_string(ptr noundef %0, i32 noundef %1) #2 br label %24 10: ; preds = %2 %11 = tail call i32 @print_json_integer(ptr noundef %0, i32 noundef %1) #2 br label %24 12: ; preds = %2 %13 = tail call i32 @print_json_real(ptr noundef %0, i32 noundef %1) #2 br label %24 14: ; preds = %2 %15 = tail call i32 @print_json_true(ptr noundef %0, i32 noundef %1) #2 br label %24 16: ; preds = %2 %17 = tail call i32 @print_json_false(ptr noundef %0, i32 noundef %1) #2 br label %24 18: ; preds = %2 %19 = tail call i32 @print_json_null(ptr noundef %0, i32 noundef %1) #2 br label %24 20: ; preds = %2 %21 = load i32, ptr @stderr, align 4, !tbaa !5 %22 = tail call i32 @json_typeof(ptr noundef %0) #2 %23 = tail call i32 @fprintf(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %22) #2 br label %24 24: ; preds = %20, %18, %16, %14, %12, %10, %8, %6, %4 ret void } declare i32 @json_typeof(ptr noundef) local_unnamed_addr #1 declare i32 @print_json_object(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_array(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_string(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_integer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_real(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_true(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_false(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_null(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/obs-studio/deps/jansson/examples/extr_simple_parse.c_print_json_aux.c' source_filename = "AnghaBench/obs-studio/deps/jansson/examples/extr_simple_parse.c_print_json_aux.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"unrecognized JSON type %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @print_json_aux(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @json_typeof(ptr noundef %0) #2 switch i32 %3, label %20 [ i32 131, label %4 i32 135, label %6 i32 129, label %8 i32 133, label %10 i32 130, label %12 i32 128, label %14 i32 134, label %16 i32 132, label %18 ] 4: ; preds = %2 %5 = tail call i32 @print_json_object(ptr noundef %0, i32 noundef %1) #2 br label %24 6: ; preds = %2 %7 = tail call i32 @print_json_array(ptr noundef %0, i32 noundef %1) #2 br label %24 8: ; preds = %2 %9 = tail call i32 @print_json_string(ptr noundef %0, i32 noundef %1) #2 br label %24 10: ; preds = %2 %11 = tail call i32 @print_json_integer(ptr noundef %0, i32 noundef %1) #2 br label %24 12: ; preds = %2 %13 = tail call i32 @print_json_real(ptr noundef %0, i32 noundef %1) #2 br label %24 14: ; preds = %2 %15 = tail call i32 @print_json_true(ptr noundef %0, i32 noundef %1) #2 br label %24 16: ; preds = %2 %17 = tail call i32 @print_json_false(ptr noundef %0, i32 noundef %1) #2 br label %24 18: ; preds = %2 %19 = tail call i32 @print_json_null(ptr noundef %0, i32 noundef %1) #2 br label %24 20: ; preds = %2 %21 = load i32, ptr @stderr, align 4, !tbaa !6 %22 = tail call i32 @json_typeof(ptr noundef %0) #2 %23 = tail call i32 @fprintf(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %22) #2 br label %24 24: ; preds = %20, %18, %16, %14, %12, %10, %8, %6, %4 ret void } declare i32 @json_typeof(ptr noundef) local_unnamed_addr #1 declare i32 @print_json_object(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_array(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_string(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_integer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_real(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_true(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_false(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_json_null(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
obs-studio_deps_jansson_examples_extr_simple_parse.c_print_json_aux
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_gc.c_gc_traverse_func.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_gc.c_gc_traverse_func.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { i64, ptr, i32 } %struct.TYPE_13__ = type { %struct.TYPE_12__, %struct.TYPE_11__ } %struct.TYPE_11__ = type { i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @gc_traverse_func], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gc_traverse_func(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 2 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call ptr @tabref(i32 noundef %4) #2 %6 = tail call i32 @gc_markobj(ptr noundef %0, ptr noundef %5) #2 %7 = tail call i64 @isluafunc(ptr noundef %1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i64, ptr %1, align 8, !tbaa !14 %11 = icmp eq i64 %10, 0 br i1 %11, label %46, label %12 12: ; preds = %9 %13 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1 br label %38 14: ; preds = %2 %15 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = tail call ptr @funcproto(ptr noundef nonnull %1) #2 %18 = load i64, ptr %17, align 8, !tbaa !16 %19 = icmp sle i64 %16, %18 %20 = zext i1 %19 to i32 %21 = tail call i32 @lua_assert(i32 noundef %20) #2 %22 = tail call ptr @funcproto(ptr noundef nonnull %1) #2 %23 = tail call i32 @gc_markobj(ptr noundef %0, ptr noundef %22) #2 %24 = load i64, ptr %15, align 8, !tbaa !15 %25 = icmp eq i64 %24, 0 br i1 %25, label %46, label %26 26: ; preds = %14 %27 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1, i32 1 br label %28 28: ; preds = %26, %28 %29 = phi i64 [ 0, %26 ], [ %35, %28 ] %30 = load ptr, ptr %27, align 8, !tbaa !18 %31 = getelementptr inbounds i32, ptr %30, i64 %29 %32 = load i32, ptr %31, align 4, !tbaa !19 %33 = tail call ptr @gcref(i32 noundef %32) #2 %34 = tail call i32 @gc_markobj(ptr noundef %0, ptr noundef %33) #2 %35 = add nuw i64 %29, 1 %36 = load i64, ptr %15, align 8, !tbaa !15 %37 = icmp ult i64 %35, %36 br i1 %37, label %28, label %46, !llvm.loop !20 38: ; preds = %12, %38 %39 = phi i64 [ 0, %12 ], [ %43, %38 ] %40 = load ptr, ptr %13, align 8, !tbaa !22 %41 = getelementptr inbounds i32, ptr %40, i64 %39 %42 = tail call i32 @gc_marktv(ptr noundef %0, ptr noundef %41) #2 %43 = add nuw i64 %39, 1 %44 = load i64, ptr %1, align 8, !tbaa !14 %45 = icmp ult i64 %43, %44 br i1 %45, label %38, label %46, !llvm.loop !23 46: ; preds = %28, %38, %14, %9 ret void } declare i32 @gc_markobj(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @tabref(i32 noundef) local_unnamed_addr #1 declare i64 @isluafunc(ptr noundef) local_unnamed_addr #1 declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1 declare ptr @funcproto(ptr noundef) local_unnamed_addr #1 declare ptr @gcref(i32 noundef) local_unnamed_addr #1 declare i32 @gc_marktv(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, !12, i64 16} !6 = !{!"TYPE_13__", !7, i64 0, !13, i64 24} !7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!"TYPE_11__", !8, i64 0, !11, i64 8} !14 = !{!6, !8, i64 0} !15 = !{!6, !8, i64 24} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_14__", !8, i64 0} !18 = !{!6, !11, i64 32} !19 = !{!12, !12, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!6, !11, i64 8} !23 = distinct !{!23, !21}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_gc.c_gc_traverse_func.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_gc.c_gc_traverse_func.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @gc_traverse_func], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gc_traverse_func(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call ptr @tabref(i32 noundef %4) #2 %6 = tail call i32 @gc_markobj(ptr noundef %0, ptr noundef %5) #2 %7 = tail call i64 @isluafunc(ptr noundef %1) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i64, ptr %1, align 8, !tbaa !15 %11 = icmp eq i64 %10, 0 br i1 %11, label %46, label %12 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %1, i64 8 br label %38 14: ; preds = %2 %15 = getelementptr inbounds i8, ptr %1, i64 24 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = tail call ptr @funcproto(ptr noundef nonnull %1) #2 %18 = load i64, ptr %17, align 8, !tbaa !17 %19 = icmp sle i64 %16, %18 %20 = zext i1 %19 to i32 %21 = tail call i32 @lua_assert(i32 noundef %20) #2 %22 = tail call ptr @funcproto(ptr noundef nonnull %1) #2 %23 = tail call i32 @gc_markobj(ptr noundef %0, ptr noundef %22) #2 %24 = load i64, ptr %15, align 8, !tbaa !16 %25 = icmp eq i64 %24, 0 br i1 %25, label %46, label %26 26: ; preds = %14 %27 = getelementptr inbounds i8, ptr %1, i64 32 br label %28 28: ; preds = %26, %28 %29 = phi i64 [ 0, %26 ], [ %35, %28 ] %30 = load ptr, ptr %27, align 8, !tbaa !19 %31 = getelementptr inbounds i32, ptr %30, i64 %29 %32 = load i32, ptr %31, align 4, !tbaa !20 %33 = tail call ptr @gcref(i32 noundef %32) #2 %34 = tail call i32 @gc_markobj(ptr noundef %0, ptr noundef %33) #2 %35 = add nuw i64 %29, 1 %36 = load i64, ptr %15, align 8, !tbaa !16 %37 = icmp ult i64 %35, %36 br i1 %37, label %28, label %46, !llvm.loop !21 38: ; preds = %12, %38 %39 = phi i64 [ 0, %12 ], [ %43, %38 ] %40 = load ptr, ptr %13, align 8, !tbaa !23 %41 = getelementptr inbounds i32, ptr %40, i64 %39 %42 = tail call i32 @gc_marktv(ptr noundef %0, ptr noundef %41) #2 %43 = add nuw i64 %39, 1 %44 = load i64, ptr %1, align 8, !tbaa !15 %45 = icmp ult i64 %43, %44 br i1 %45, label %38, label %46, !llvm.loop !24 46: ; preds = %28, %38, %14, %9 ret void } declare i32 @gc_markobj(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @tabref(i32 noundef) local_unnamed_addr #1 declare i64 @isluafunc(ptr noundef) local_unnamed_addr #1 declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1 declare ptr @funcproto(ptr noundef) local_unnamed_addr #1 declare ptr @gcref(i32 noundef) local_unnamed_addr #1 declare i32 @gc_marktv(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, !13, i64 16} !7 = !{!"TYPE_13__", !8, i64 0, !14, i64 24} !8 = !{!"TYPE_12__", !9, i64 0, !12, i64 8, !13, i64 16} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!"int", !10, i64 0} !14 = !{!"TYPE_11__", !9, i64 0, !12, i64 8} !15 = !{!7, !9, i64 0} !16 = !{!7, !9, i64 24} !17 = !{!18, !9, i64 0} !18 = !{!"TYPE_14__", !9, i64 0} !19 = !{!7, !12, i64 32} !20 = !{!13, !13, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !12, i64 8} !24 = distinct !{!24, !22}
xLua_build_luajit-2.1.0b2_src_extr_lj_gc.c_gc_traverse_func
; ModuleID = 'AnghaBench/freebsd/sys/dev/tws/extr_tws_services.c_tws_write_reg.c' source_filename = "AnghaBench/freebsd/sys/dev/tws/extr_tws_services.c_tws_write_reg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tws_softc = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @tws_write_reg(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds %struct.tws_softc, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load i32, ptr %0, align 4, !tbaa !10 switch i32 %3, label %13 [ i32 4, label %8 i32 2, label %10 ] 8: ; preds = %4 %9 = tail call i32 @bus_space_write_4(i32 noundef %6, i32 noundef %7, i32 noundef %1, i64 noundef %2) #2 br label %16 10: ; preds = %4 %11 = trunc i64 %2 to i32 %12 = tail call i32 @bus_space_write_2(i32 noundef %6, i32 noundef %7, i32 noundef %1, i32 noundef %11) #2 br label %16 13: ; preds = %4 %14 = trunc i64 %2 to i32 %15 = tail call i32 @bus_space_write_1(i32 noundef %6, i32 noundef %7, i32 noundef %1, i32 noundef %14) #2 br label %16 16: ; preds = %10, %13, %8 ret void } declare i32 @bus_space_write_4(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @bus_space_write_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_space_write_1(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 4} !6 = !{!"tws_softc", !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/freebsd/sys/dev/tws/extr_tws_services.c_tws_write_reg.c' source_filename = "AnghaBench/freebsd/sys/dev/tws/extr_tws_services.c_tws_write_reg.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 @tws_write_reg(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load i32, ptr %0, align 4, !tbaa !11 switch i32 %3, label %13 [ i32 4, label %8 i32 2, label %10 ] 8: ; preds = %4 %9 = tail call i32 @bus_space_write_4(i32 noundef %6, i32 noundef %7, i32 noundef %1, i64 noundef %2) #2 br label %16 10: ; preds = %4 %11 = trunc i64 %2 to i32 %12 = tail call i32 @bus_space_write_2(i32 noundef %6, i32 noundef %7, i32 noundef %1, i32 noundef %11) #2 br label %16 13: ; preds = %4 %14 = trunc i64 %2 to i32 %15 = tail call i32 @bus_space_write_1(i32 noundef %6, i32 noundef %7, i32 noundef %1, i32 noundef %14) #2 br label %16 16: ; preds = %10, %13, %8 ret void } declare i32 @bus_space_write_4(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @bus_space_write_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_space_write_1(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 4} !7 = !{!"tws_softc", !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}
freebsd_sys_dev_tws_extr_tws_services.c_tws_write_reg
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event.c_power_pmu_event_idx.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event.c_power_pmu_event_idx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @power_pmu_event_idx], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @power_pmu_event_idx(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"perf_event", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event.c_power_pmu_event_idx.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event.c_power_pmu_event_idx.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 @power_pmu_event_idx], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @power_pmu_event_idx(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"perf_event", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_powerpc_kernel_extr_perf_event.c_power_pmu_event_idx
; ModuleID = 'AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_do_rpc_start_lease.c' source_filename = "AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_do_rpc_start_lease.c" target datalayout = "e-m:e-p270:32:32-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 } @rpc_main_target = dso_local local_unnamed_addr global i32 0, align 4 @lease_state = dso_local local_unnamed_addr global i64 0, align 8 @lst_off = dso_local local_unnamed_addr global i64 0, align 8 @rpc_client_ct = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"can't lease to itself\0A\00", align 1 @rpc_stopped = dso_local local_unnamed_addr global i64 0, align 8 @rpc_lease_target = dso_local local_unnamed_addr global i32 0, align 4 @rpc_lease_timeout = dso_local local_unnamed_addr global double 0.000000e+00, align 8 @lease_pid = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @lease_stats_cnt = dso_local local_unnamed_addr global i64 0, align 8 @precise_now = dso_local local_unnamed_addr global i32 0, align 4 @lease_stats_start_time = dso_local local_unnamed_addr global i32 0, align 4 @lease_stats_time = dso_local local_unnamed_addr global i64 0, align 8 @lst_start = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @do_rpc_start_lease(i64 %0, double noundef %1) local_unnamed_addr #0 { %3 = trunc i64 %0 to i32 %4 = lshr i64 %0, 32 %5 = trunc i64 %4 to i32 %6 = load i32, ptr @rpc_main_target, align 4, !tbaa !5 %7 = icmp eq i32 %6, -1 br i1 %7, label %28, label %8 8: ; preds = %2 %9 = load i64, ptr @lease_state, align 8, !tbaa !9 %10 = load i64, ptr @lst_off, align 8, !tbaa !9 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %28 12: ; preds = %8 %13 = tail call i32 @get_lease_target_by_pid(i32 noundef %5, i32 noundef %3, ptr noundef nonnull @rpc_client_ct) #2 %14 = icmp eq i32 %13, -1 br i1 %14, label %28, label %15 15: ; preds = %12 %16 = load i32, ptr @rpc_main_target, align 4, !tbaa !5 %17 = icmp eq i32 %13, %16 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = tail call i32 @vkprintf(i32 noundef 0, ptr noundef nonnull @.str) #2 br label %28 20: ; preds = %15 %21 = load i64, ptr @rpc_stopped, align 8, !tbaa !9 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %20 store i32 %13, ptr @rpc_lease_target, align 4, !tbaa !5 store double %1, ptr @rpc_lease_timeout, align 8, !tbaa !11 store i32 %3, ptr @lease_pid, align 4, !tbaa.struct !13 store i32 %5, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @lease_pid, i64 0, i32 1), align 4, !tbaa.struct !14 store i64 0, ptr @lease_stats_cnt, align 8, !tbaa !9 %24 = load i32, ptr @precise_now, align 4, !tbaa !5 store i32 %24, ptr @lease_stats_start_time, align 4, !tbaa !5 store i64 0, ptr @lease_stats_time, align 8, !tbaa !9 %25 = load i32, ptr @lst_start, align 4, !tbaa !5 %26 = tail call i32 @lease_change_state(i32 noundef %25) #2 %27 = tail call i32 (...) @run_rpc_lease() #2 br label %28 28: ; preds = %18, %23, %12, %20, %8, %2 %29 = phi i32 [ -1, %2 ], [ -1, %8 ], [ -1, %18 ], [ 0, %23 ], [ -1, %12 ], [ -1, %20 ] ret i32 %29 } declare i32 @get_lease_target_by_pid(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vkprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lease_change_state(i32 noundef) local_unnamed_addr #1 declare i32 @run_rpc_lease(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"double", !7, i64 0} !13 = !{i64 0, i64 4, !5, i64 4, i64 4, !5} !14 = !{i64 0, i64 4, !5}
; ModuleID = 'AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_do_rpc_start_lease.c' source_filename = "AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_do_rpc_start_lease.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32 } @rpc_main_target = common local_unnamed_addr global i32 0, align 4 @lease_state = common local_unnamed_addr global i64 0, align 8 @lst_off = common local_unnamed_addr global i64 0, align 8 @rpc_client_ct = common global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"can't lease to itself\0A\00", align 1 @rpc_stopped = common local_unnamed_addr global i64 0, align 8 @rpc_lease_target = common local_unnamed_addr global i32 0, align 4 @rpc_lease_timeout = common local_unnamed_addr global double 0.000000e+00, align 8 @lease_pid = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @lease_stats_cnt = common local_unnamed_addr global i64 0, align 8 @precise_now = common local_unnamed_addr global i32 0, align 4 @lease_stats_start_time = common local_unnamed_addr global i32 0, align 4 @lease_stats_time = common local_unnamed_addr global i64 0, align 8 @lst_start = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @do_rpc_start_lease(i64 %0, double noundef %1) local_unnamed_addr #0 { %3 = trunc i64 %0 to i32 %4 = lshr i64 %0, 32 %5 = trunc nuw i64 %4 to i32 %6 = load i32, ptr @rpc_main_target, align 4, !tbaa !6 %7 = icmp eq i32 %6, -1 br i1 %7, label %28, label %8 8: ; preds = %2 %9 = load i64, ptr @lease_state, align 8, !tbaa !10 %10 = load i64, ptr @lst_off, align 8, !tbaa !10 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %28 12: ; preds = %8 %13 = tail call i32 @get_lease_target_by_pid(i32 noundef %5, i32 noundef %3, ptr noundef nonnull @rpc_client_ct) #2 %14 = icmp eq i32 %13, -1 br i1 %14, label %28, label %15 15: ; preds = %12 %16 = load i32, ptr @rpc_main_target, align 4, !tbaa !6 %17 = icmp eq i32 %13, %16 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = tail call i32 @vkprintf(i32 noundef 0, ptr noundef nonnull @.str) #2 br label %28 20: ; preds = %15 %21 = load i64, ptr @rpc_stopped, align 8, !tbaa !10 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %20 store i32 %13, ptr @rpc_lease_target, align 4, !tbaa !6 store double %1, ptr @rpc_lease_timeout, align 8, !tbaa !12 store i32 %3, ptr @lease_pid, align 4, !tbaa !6 store i32 %5, ptr getelementptr inbounds (i8, ptr @lease_pid, i64 4), align 4, !tbaa !6 store i64 0, ptr @lease_stats_cnt, align 8, !tbaa !10 %24 = load i32, ptr @precise_now, align 4, !tbaa !6 store i32 %24, ptr @lease_stats_start_time, align 4, !tbaa !6 store i64 0, ptr @lease_stats_time, align 8, !tbaa !10 %25 = load i32, ptr @lst_start, align 4, !tbaa !6 %26 = tail call i32 @lease_change_state(i32 noundef %25) #2 %27 = tail call i32 @run_rpc_lease() #2 br label %28 28: ; preds = %18, %23, %12, %20, %8, %2 %29 = phi i32 [ -1, %2 ], [ -1, %8 ], [ -1, %18 ], [ 0, %23 ], [ -1, %12 ], [ -1, %20 ] ret i32 %29 } declare i32 @get_lease_target_by_pid(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vkprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lease_change_state(i32 noundef) local_unnamed_addr #1 declare i32 @run_rpc_lease(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"double", !8, i64 0}
kphp-kdb_KPHP_extr_php-engine.c_do_rpc_start_lease
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_avfilter.c_ff_inlink_check_available_frame.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_avfilter.c_ff_inlink_check_available_frame.c" target datalayout = "e-m:e-p270:32:32-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 @ff_inlink_check_available_frame(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @ff_framequeue_queued_frames(ptr noundef %0) #2 %3 = icmp sgt i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } declare i64 @ff_framequeue_queued_frames(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_avfilter.c_ff_inlink_check_available_frame.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_avfilter.c_ff_inlink_check_available_frame.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @ff_inlink_check_available_frame(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @ff_framequeue_queued_frames(ptr noundef %0) #2 %3 = icmp sgt i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } declare i64 @ff_framequeue_queued_frames(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)"}
FFmpeg_libavfilter_extr_avfilter.c_ff_inlink_check_available_frame
; ModuleID = 'AnghaBench/h2o/lib/common/extr_timerwheel.c_timer_slot.c' source_filename = "AnghaBench/h2o/lib/common/extr_timerwheel.c_timer_slot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @H2O_TIMERWHEEL_SLOTS_MASK = dso_local local_unnamed_addr global i64 0, align 8 @H2O_TIMERWHEEL_BITS_PER_WHEEL = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @timer_slot], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i64 @timer_slot(i64 noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr @H2O_TIMERWHEEL_SLOTS_MASK, align 8, !tbaa !5 %4 = load i64, ptr @H2O_TIMERWHEEL_BITS_PER_WHEEL, align 8, !tbaa !5 %5 = mul i64 %4, %0 %6 = lshr i64 %1, %5 %7 = and i64 %6, %3 ret i64 %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/h2o/lib/common/extr_timerwheel.c_timer_slot.c' source_filename = "AnghaBench/h2o/lib/common/extr_timerwheel.c_timer_slot.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @H2O_TIMERWHEEL_SLOTS_MASK = common local_unnamed_addr global i64 0, align 8 @H2O_TIMERWHEEL_BITS_PER_WHEEL = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @timer_slot], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i64 @timer_slot(i64 noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr @H2O_TIMERWHEEL_SLOTS_MASK, align 8, !tbaa !6 %4 = load i64, ptr @H2O_TIMERWHEEL_BITS_PER_WHEEL, align 8, !tbaa !6 %5 = mul i64 %4, %0 %6 = lshr i64 %1, %5 %7 = and i64 %6, %3 ret i64 %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
h2o_lib_common_extr_timerwheel.c_timer_slot
; ModuleID = 'AnghaBench/linux/net/mac80211/extr_util.c_ieee80211_cs_valid.c' source_filename = "AnghaBench/linux/net/mac80211/extr_util.c_ieee80211_cs_valid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ieee80211_cipher_scheme = type { i64, i64, i64, i64, i64, i32, i64 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @ieee80211_cs_valid(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %28, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %28, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.ieee80211_cipher_scheme, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.ieee80211_cipher_scheme, ptr %0, i64 0, i32 2 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.ieee80211_cipher_scheme, ptr %0, i64 0, i32 3 %12 = load i64, ptr %11, align 8, !tbaa !13 %13 = add nsw i64 %12, %10 %14 = icmp slt i64 %8, %13 br i1 %14, label %28, label %15 15: ; preds = %6 %16 = getelementptr inbounds %struct.ieee80211_cipher_scheme, ptr %0, i64 0, i32 4 %17 = load i64, ptr %16, align 8, !tbaa !14 %18 = icmp sgt i64 %8, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = getelementptr inbounds %struct.ieee80211_cipher_scheme, ptr %0, i64 0, i32 5 %21 = load i32, ptr %20, align 8, !tbaa !15 %22 = icmp sgt i32 %21, 7 br i1 %22, label %28, label %23 23: ; preds = %19 %24 = getelementptr inbounds %struct.ieee80211_cipher_scheme, ptr %0, i64 0, i32 6 %25 = load i64, ptr %24, align 8, !tbaa !16 %26 = icmp ne i64 %25, 0 %27 = zext i1 %26 to i32 br label %28 28: ; preds = %23, %19, %15, %6, %3, %1 %29 = phi i32 [ 0, %19 ], [ 0, %15 ], [ 0, %6 ], [ 0, %3 ], [ 0, %1 ], [ %27, %23 ] ret i32 %29 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ieee80211_cipher_scheme", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !7, i64 48} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 16} !13 = !{!6, !7, i64 24} !14 = !{!6, !7, i64 32} !15 = !{!6, !10, i64 40} !16 = !{!6, !7, i64 48}
; ModuleID = 'AnghaBench/linux/net/mac80211/extr_util.c_ieee80211_cs_valid.c' source_filename = "AnghaBench/linux/net/mac80211/extr_util.c_ieee80211_cs_valid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define range(i32 0, 2) i32 @ieee80211_cs_valid(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %28, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %28, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %0, i64 24 %12 = load i64, ptr %11, align 8, !tbaa !14 %13 = add nsw i64 %12, %10 %14 = icmp slt i64 %8, %13 br i1 %14, label %28, label %15 15: ; preds = %6 %16 = getelementptr inbounds i8, ptr %0, i64 32 %17 = load i64, ptr %16, align 8, !tbaa !15 %18 = icmp sgt i64 %8, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = getelementptr inbounds i8, ptr %0, i64 40 %21 = load i32, ptr %20, align 8, !tbaa !16 %22 = icmp sgt i32 %21, 7 br i1 %22, label %28, label %23 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %0, i64 48 %25 = load i64, ptr %24, align 8, !tbaa !17 %26 = icmp ne i64 %25, 0 %27 = zext i1 %26 to i32 br label %28 28: ; preds = %23, %19, %15, %6, %3, %1 %29 = phi i32 [ 0, %19 ], [ 0, %15 ], [ 0, %6 ], [ 0, %3 ], [ 0, %1 ], [ %27, %23 ] ret i32 %29 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ieee80211_cipher_scheme", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !11, i64 40, !8, i64 48} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 16} !14 = !{!7, !8, i64 24} !15 = !{!7, !8, i64 32} !16 = !{!7, !11, i64 40} !17 = !{!7, !8, i64 48}
linux_net_mac80211_extr_util.c_ieee80211_cs_valid
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/kcm/extr_events.c_kcm_run_events.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/kcm/extr_events.c_kcm_run_events.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr } @events_mutex = dso_local global i32 0, align 4 @last_run = dso_local local_unnamed_addr global i64 0, align 8 @KCM_EVENT_QUEUE_INTERVAL = dso_local local_unnamed_addr global i64 0, align 8 @events_head = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [38 x i8] c"Could not fire event for cache %s: %s\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Could not expire event for cache %s: %s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i64 @kcm_run_events(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @HEIMDAL_MUTEX_lock(ptr noundef nonnull @events_mutex) #2 %4 = load i64, ptr @last_run, align 8, !tbaa !5 %5 = load i64, ptr @KCM_EVENT_QUEUE_INTERVAL, align 8, !tbaa !5 %6 = add nsw i64 %5, %4 %7 = icmp sgt i64 %6, %1 br i1 %7, label %50, label %8 8: ; preds = %2 %9 = load ptr, ptr @events_head, align 8, !tbaa !9 %10 = icmp eq ptr %9, null br i1 %10, label %49, label %11 11: ; preds = %8, %44 %12 = phi ptr [ %47, %44 ], [ %9, %8 ] %13 = phi ptr [ %46, %44 ], [ @events_head, %8 ] %14 = load i64, ptr %12, align 8, !tbaa !11 %15 = icmp eq i64 %14, 0 br i1 %15, label %44, label %16 16: ; preds = %11 %17 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i64 0, i32 1 %18 = load i64, ptr %17, align 8, !tbaa !13 %19 = icmp sgt i64 %18, %1 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = tail call i64 @kcm_fire_event(i32 noundef %0, ptr noundef nonnull %13) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %41, label %32 23: ; preds = %16 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i64 0, i32 2 %25 = load i64, ptr %24, align 8, !tbaa !14 %26 = icmp eq i64 %25, 0 %27 = icmp sgt i64 %25, %1 %28 = or i1 %26, %27 br i1 %28, label %41, label %29 29: ; preds = %23 %30 = tail call i64 @kcm_remove_event_internal(i32 noundef %0, ptr noundef nonnull %13) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %41, label %32 32: ; preds = %29, %20 %33 = phi i64 [ %21, %20 ], [ %30, %29 ] %34 = phi ptr [ @.str, %20 ], [ @.str.1, %29 ] %35 = load ptr, ptr %13, align 8, !tbaa !9 %36 = getelementptr inbounds %struct.TYPE_7__, ptr %35, i64 0, i32 3 %37 = load ptr, ptr %36, align 8, !tbaa !15 %38 = load i32, ptr %37, align 4, !tbaa !16 %39 = tail call i32 @krb5_get_err_text(i32 noundef %0, i64 noundef %33) #2 %40 = tail call i32 @kcm_log(i32 noundef 1, ptr noundef nonnull %34, i32 noundef %38, i32 noundef %39) #2 br label %41 41: ; preds = %32, %23, %29, %20 %42 = load ptr, ptr %13, align 8, !tbaa !9 %43 = icmp eq ptr %42, null br i1 %43, label %49, label %44 44: ; preds = %41, %11 %45 = phi ptr [ %42, %41 ], [ %12, %11 ] %46 = getelementptr inbounds %struct.TYPE_7__, ptr %45, i64 0, i32 4 %47 = load ptr, ptr %46, align 8, !tbaa !9 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %11, !llvm.loop !19 49: ; preds = %44, %41, %8 store i64 %1, ptr @last_run, align 8, !tbaa !5 br label %50 50: ; preds = %2, %49 %51 = tail call i32 @HEIMDAL_MUTEX_unlock(ptr noundef nonnull @events_mutex) #2 ret i64 0 } declare i32 @HEIMDAL_MUTEX_lock(ptr noundef) local_unnamed_addr #1 declare i32 @HEIMDAL_MUTEX_unlock(ptr noundef) local_unnamed_addr #1 declare i64 @kcm_fire_event(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kcm_log(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @krb5_get_err_text(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @kcm_remove_event_internal(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_7__", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 32} !13 = !{!12, !6, i64 8} !14 = !{!12, !6, i64 16} !15 = !{!12, !10, i64 24} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_6__", !18, i64 0} !18 = !{!"int", !7, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/kcm/extr_events.c_kcm_run_events.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/kcm/extr_events.c_kcm_run_events.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @events_mutex = common global i32 0, align 4 @last_run = common local_unnamed_addr global i64 0, align 8 @KCM_EVENT_QUEUE_INTERVAL = common local_unnamed_addr global i64 0, align 8 @events_head = common global ptr null, align 8 @.str = private unnamed_addr constant [38 x i8] c"Could not fire event for cache %s: %s\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"Could not expire event for cache %s: %s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i64 @kcm_run_events(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @HEIMDAL_MUTEX_lock(ptr noundef nonnull @events_mutex) #2 %4 = load i64, ptr @last_run, align 8, !tbaa !6 %5 = load i64, ptr @KCM_EVENT_QUEUE_INTERVAL, align 8, !tbaa !6 %6 = add nsw i64 %5, %4 %7 = icmp sgt i64 %6, %1 br i1 %7, label %50, label %8 8: ; preds = %2 %9 = load ptr, ptr @events_head, align 8, !tbaa !10 %10 = icmp eq ptr %9, null br i1 %10, label %49, label %11 11: ; preds = %8, %44 %12 = phi ptr [ %47, %44 ], [ %9, %8 ] %13 = phi ptr [ %46, %44 ], [ @events_head, %8 ] %14 = load i64, ptr %12, align 8, !tbaa !12 %15 = icmp eq i64 %14, 0 br i1 %15, label %44, label %16 16: ; preds = %11 %17 = getelementptr inbounds i8, ptr %12, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !14 %19 = icmp sgt i64 %18, %1 br i1 %19, label %23, label %20 20: ; preds = %16 %21 = tail call i64 @kcm_fire_event(i32 noundef %0, ptr noundef nonnull %13) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %41, label %32 23: ; preds = %16 %24 = getelementptr inbounds i8, ptr %12, i64 16 %25 = load i64, ptr %24, align 8, !tbaa !15 %26 = icmp eq i64 %25, 0 %27 = icmp sgt i64 %25, %1 %28 = or i1 %26, %27 br i1 %28, label %41, label %29 29: ; preds = %23 %30 = tail call i64 @kcm_remove_event_internal(i32 noundef %0, ptr noundef nonnull %13) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %41, label %32 32: ; preds = %29, %20 %33 = phi i64 [ %21, %20 ], [ %30, %29 ] %34 = phi ptr [ @.str, %20 ], [ @.str.1, %29 ] %35 = load ptr, ptr %13, align 8, !tbaa !10 %36 = getelementptr inbounds i8, ptr %35, i64 24 %37 = load ptr, ptr %36, align 8, !tbaa !16 %38 = load i32, ptr %37, align 4, !tbaa !17 %39 = tail call i32 @krb5_get_err_text(i32 noundef %0, i64 noundef %33) #2 %40 = tail call i32 @kcm_log(i32 noundef 1, ptr noundef nonnull %34, i32 noundef %38, i32 noundef %39) #2 br label %41 41: ; preds = %32, %23, %29, %20 %42 = load ptr, ptr %13, align 8, !tbaa !10 %43 = icmp eq ptr %42, null br i1 %43, label %49, label %44 44: ; preds = %41, %11 %45 = phi ptr [ %42, %41 ], [ %12, %11 ] %46 = getelementptr inbounds i8, ptr %45, i64 32 %47 = load ptr, ptr %46, align 8, !tbaa !10 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %11, !llvm.loop !20 49: ; preds = %44, %41, %8 store i64 %1, ptr @last_run, align 8, !tbaa !6 br label %50 50: ; preds = %2, %49 %51 = tail call i32 @HEIMDAL_MUTEX_unlock(ptr noundef nonnull @events_mutex) #2 ret i64 0 } declare i32 @HEIMDAL_MUTEX_lock(ptr noundef) local_unnamed_addr #1 declare i32 @HEIMDAL_MUTEX_unlock(ptr noundef) local_unnamed_addr #1 declare i64 @kcm_fire_event(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kcm_log(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @krb5_get_err_text(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @kcm_remove_event_internal(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !7, i64 16, !11, i64 24, !11, i64 32} !14 = !{!13, !7, i64 8} !15 = !{!13, !7, i64 16} !16 = !{!13, !11, i64 24} !17 = !{!18, !19, i64 0} !18 = !{!"TYPE_6__", !19, i64 0} !19 = !{!"int", !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
freebsd_crypto_heimdal_kcm_extr_events.c_kcm_run_events
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_ag/extr_bta_ag_rfc.c_bta_ag_data_cback_1.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_ag/extr_bta_ag_rfc.c_bta_ag_data_cback_1.c" target datalayout = "e-m:e-p270:32:32-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 @bta_ag_data_cback_1(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @bta_ag_data_cback(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 1) #2 ret i32 %4 } declare i32 @bta_ag_data_cback(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_ag/extr_bta_ag_rfc.c_bta_ag_data_cback_1.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/bta/hf_ag/extr_bta_ag_rfc.c_bta_ag_data_cback_1.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 @bta_ag_data_cback_1(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @bta_ag_data_cback(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef 1) #2 ret i32 %4 } declare i32 @bta_ag_data_cback(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
esp-idf_components_bt_host_bluedroid_bta_hf_ag_extr_bta_ag_rfc.c_bta_ag_data_cback_1
; ModuleID = 'AnghaBench/freebsd/usr.bin/calendar/extr_pom.c_dtor.c' source_filename = "AnghaBench/freebsd/usr.bin/calendar/extr_pom.c_dtor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PI = dso_local local_unnamed_addr global double 0.000000e+00, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dtor], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal double @dtor(double noundef %0) #0 { %2 = load double, ptr @PI, align 8, !tbaa !5 %3 = fmul double %2, %0 %4 = fdiv double %3, 1.800000e+02 ret double %4 } 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 = !{!"double", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/usr.bin/calendar/extr_pom.c_dtor.c' source_filename = "AnghaBench/freebsd/usr.bin/calendar/extr_pom.c_dtor.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PI = common local_unnamed_addr global double 0.000000e+00, align 8 @llvm.used = appending global [1 x ptr] [ptr @dtor], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal double @dtor(double noundef %0) #0 { %2 = load double, ptr @PI, align 8, !tbaa !6 %3 = fmul double %2, %0 %4 = fdiv double %3, 1.800000e+02 ret double %4 } 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 = !{!"double", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_usr.bin_calendar_extr_pom.c_dtor
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zfs_fm.c_zfs_post_state_change.c' source_filename = "AnghaBench/zfs/module/zfs/extr_zfs_fm.c_zfs_post_state_change.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FM_EREPORT_PAYLOAD_ZFS_VDEV_ENC_SYSFS_PATH = dso_local local_unnamed_addr global i32 0, align 4 @FM_EREPORT_PAYLOAD_ZFS_VDEV_LASTSTATE = dso_local local_unnamed_addr global i32 0, align 4 @FM_EREPORT_PAYLOAD_ZFS_VDEV_PHYSPATH = dso_local local_unnamed_addr global i32 0, align 4 @FM_NVA_FREE = dso_local local_unnamed_addr global i32 0, align 4 @FM_RESOURCE_STATECHANGE = dso_local local_unnamed_addr global i32 0, align 4 @FM_RSRC_CLASS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @zfs_post_state_change(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_zfs_fm.c_zfs_post_state_change.c' source_filename = "AnghaBench/zfs/module/zfs/extr_zfs_fm.c_zfs_post_state_change.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FM_EREPORT_PAYLOAD_ZFS_VDEV_ENC_SYSFS_PATH = common local_unnamed_addr global i32 0, align 4 @FM_EREPORT_PAYLOAD_ZFS_VDEV_LASTSTATE = common local_unnamed_addr global i32 0, align 4 @FM_EREPORT_PAYLOAD_ZFS_VDEV_PHYSPATH = common local_unnamed_addr global i32 0, align 4 @FM_NVA_FREE = common local_unnamed_addr global i32 0, align 4 @FM_RESOURCE_STATECHANGE = common local_unnamed_addr global i32 0, align 4 @FM_RSRC_CLASS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @zfs_post_state_change(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
zfs_module_zfs_extr_zfs_fm.c_zfs_post_state_change
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_link_status.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_link_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hn_softc = type { i32, i32 } @NDIS_MEDIA_STATE_CONNECTED = dso_local local_unnamed_addr global i64 0, align 8 @HN_LINK_FLAG_LINKUP = dso_local local_unnamed_addr global i32 0, align 4 @LINK_STATE_UP = dso_local local_unnamed_addr global i32 0, align 4 @LINK_STATE_DOWN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hn_link_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hn_link_status(ptr noundef %0) #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = call i32 @hn_rndis_get_linkstatus(ptr noundef %0, ptr noundef nonnull %2) #3 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %28 5: ; preds = %1 %6 = load i64, ptr %2, align 8, !tbaa !5 %7 = load i64, ptr @NDIS_MEDIA_STATE_CONNECTED, align 8, !tbaa !5 %8 = icmp eq i64 %6, %7 %9 = load i32, ptr @HN_LINK_FLAG_LINKUP, align 4, !tbaa !9 br i1 %8, label %10, label %13 10: ; preds = %5 %11 = load i32, ptr %0, align 4, !tbaa !11 %12 = or i32 %11, %9 br label %17 13: ; preds = %5 %14 = xor i32 %9, -1 %15 = load i32, ptr %0, align 4, !tbaa !11 %16 = and i32 %15, %14 br label %17 17: ; preds = %13, %10 %18 = phi i32 [ %16, %13 ], [ %12, %10 ] store i32 %18, ptr %0, align 4, !tbaa !11 %19 = getelementptr inbounds %struct.hn_softc, ptr %0, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = load i32, ptr @HN_LINK_FLAG_LINKUP, align 4, !tbaa !9 %22 = and i32 %21, %18 %23 = icmp eq i32 %22, 0 %24 = load i32, ptr @LINK_STATE_UP, align 4 %25 = load i32, ptr @LINK_STATE_DOWN, align 4 %26 = select i1 %23, i32 %25, i32 %24 %27 = call i32 @if_link_state_change(i32 noundef %20, i32 noundef %26) #3 br label %28 28: ; preds = %1, %17 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hn_rndis_get_linkstatus(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @if_link_state_change(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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 = !{!"hn_softc", !10, i64 0, !10, i64 4} !13 = !{!12, !10, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_link_status.c' source_filename = "AnghaBench/freebsd/sys/dev/hyperv/netvsc/extr_if_hn.c_hn_link_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NDIS_MEDIA_STATE_CONNECTED = common local_unnamed_addr global i64 0, align 8 @HN_LINK_FLAG_LINKUP = common local_unnamed_addr global i32 0, align 4 @LINK_STATE_UP = common local_unnamed_addr global i32 0, align 4 @LINK_STATE_DOWN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hn_link_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hn_link_status(ptr noundef %0) #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = call i32 @hn_rndis_get_linkstatus(ptr noundef %0, ptr noundef nonnull %2) #3 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %28 5: ; preds = %1 %6 = load i64, ptr %2, align 8, !tbaa !6 %7 = load i64, ptr @NDIS_MEDIA_STATE_CONNECTED, align 8, !tbaa !6 %8 = icmp eq i64 %6, %7 %9 = load i32, ptr @HN_LINK_FLAG_LINKUP, align 4, !tbaa !10 br i1 %8, label %10, label %13 10: ; preds = %5 %11 = load i32, ptr %0, align 4, !tbaa !12 %12 = or i32 %11, %9 br label %17 13: ; preds = %5 %14 = xor i32 %9, -1 %15 = load i32, ptr %0, align 4, !tbaa !12 %16 = and i32 %15, %14 br label %17 17: ; preds = %13, %10 %18 = phi i32 [ %16, %13 ], [ %12, %10 ] store i32 %18, ptr %0, align 4, !tbaa !12 %19 = getelementptr inbounds i8, ptr %0, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = load i32, ptr @HN_LINK_FLAG_LINKUP, align 4, !tbaa !10 %22 = and i32 %21, %18 %23 = icmp eq i32 %22, 0 %24 = load i32, ptr @LINK_STATE_UP, align 4 %25 = load i32, ptr @LINK_STATE_DOWN, align 4 %26 = select i1 %23, i32 %25, i32 %24 %27 = call i32 @if_link_state_change(i32 noundef %20, i32 noundef %26) #3 br label %28 28: ; preds = %1, %17 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hn_rndis_get_linkstatus(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @if_link_state_change(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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 = !{!"hn_softc", !11, i64 0, !11, i64 4} !14 = !{!13, !11, i64 4}
freebsd_sys_dev_hyperv_netvsc_extr_if_hn.c_hn_link_status
; ModuleID = 'AnghaBench/linux/arch/powerpc/perf/extr_power9-pmu.c_power9_config_bhrb.c' source_filename = "AnghaBench/linux/arch/powerpc/perf/extr_power9-pmu.c_power9_config_bhrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @POWER9_MMCRA_BHRB_MASK = dso_local local_unnamed_addr global i32 0, align 4 @SPRN_MMCRA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @power9_config_bhrb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @power9_config_bhrb(i32 noundef %0) #0 { %2 = load i32, ptr @POWER9_MMCRA_BHRB_MASK, align 4, !tbaa !5 %3 = and i32 %2, %0 %4 = load i32, ptr @SPRN_MMCRA, align 4, !tbaa !5 %5 = tail call i32 @mfspr(i32 noundef %4) #2 %6 = or i32 %5, %3 %7 = tail call i32 @mtspr(i32 noundef %4, i32 noundef %6) #2 ret void } declare i32 @mtspr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mfspr(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/perf/extr_power9-pmu.c_power9_config_bhrb.c' source_filename = "AnghaBench/linux/arch/powerpc/perf/extr_power9-pmu.c_power9_config_bhrb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @POWER9_MMCRA_BHRB_MASK = common local_unnamed_addr global i32 0, align 4 @SPRN_MMCRA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @power9_config_bhrb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @power9_config_bhrb(i32 noundef %0) #0 { %2 = load i32, ptr @POWER9_MMCRA_BHRB_MASK, align 4, !tbaa !6 %3 = and i32 %2, %0 %4 = load i32, ptr @SPRN_MMCRA, align 4, !tbaa !6 %5 = tail call i32 @mfspr(i32 noundef %4) #2 %6 = or i32 %5, %3 %7 = tail call i32 @mtspr(i32 noundef %4, i32 noundef %6) #2 ret void } declare i32 @mtspr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mfspr(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_powerpc_perf_extr_power9-pmu.c_power9_config_bhrb
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_error_desc.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_error_desc.c" target datalayout = "e-m:e-p270:32:32-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 [9 x i8] c"ERROR_OK\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"ERROR_FAIL\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"MEMORY_UNDERFLOW\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"MEMORY_OVERFLOW\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"BAD_PARAM\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"BAD_CHECKSUM\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"NMI_INTERRUPT\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"BAD_DATABASE\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"ALLOC_FAIL\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"DMA_UNDERRUN\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"DMA_STATUS\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"DINO_ERROR\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"EEPROM_ERROR\00", align 1 @.str.13 = private unnamed_addr constant [10 x i8] c"SYSASSERT\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"FATAL_ERROR\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"UNKNOWN_ERROR\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipw_error_desc], section "llvm.metadata" @reltable.ipw_error_desc = private unnamed_addr constant [15 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.13 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.14 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.12 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.9 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.10 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.11 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.7 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.8 to i64), i64 ptrtoint (ptr @reltable.ipw_error_desc to i64)) to i32)], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef nonnull ptr @ipw_error_desc(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 15 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = shl i64 %5, 2 %7 = call ptr @llvm.load.relative.i64(ptr @reltable.ipw_error_desc, i64 %6) br label %8 8: ; preds = %1, %4 %9 = phi ptr [ %7, %4 ], [ @.str.15, %1 ] ret ptr %9 } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read) declare ptr @llvm.load.relative.i64(ptr, i64) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_error_desc.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_error_desc.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 [9 x i8] c"ERROR_OK\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"ERROR_FAIL\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"MEMORY_UNDERFLOW\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"MEMORY_OVERFLOW\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"BAD_PARAM\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"BAD_CHECKSUM\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"NMI_INTERRUPT\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"BAD_DATABASE\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"ALLOC_FAIL\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"DMA_UNDERRUN\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"DMA_STATUS\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"DINO_ERROR\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"EEPROM_ERROR\00", align 1 @.str.13 = private unnamed_addr constant [10 x i8] c"SYSASSERT\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"FATAL_ERROR\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"UNKNOWN_ERROR\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ipw_error_desc], section "llvm.metadata" @switch.table.ipw_error_desc = private unnamed_addr constant [15 x ptr] [ptr @.str.13, ptr @.str, ptr @.str.6, ptr @.str.2, ptr @.str.3, ptr @.str.14, ptr @.str.1, ptr @.str.12, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.4, ptr @.str.7, ptr @.str.5, ptr @.str.8], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef nonnull ptr @ipw_error_desc(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 15 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [15 x ptr], ptr @switch.table.ipw_error_desc, i64 0, i64 %5 %7 = load ptr, ptr %6, align 8 br label %8 8: ; preds = %1, %4 %9 = phi ptr [ %7, %4 ], [ @.str.15, %1 ] ret ptr %9 } 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_net_wireless_intel_ipw2x00_extr_ipw2200.c_ipw_error_desc
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_trackbar.c_TRACKBAR_LineUp.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_trackbar.c_TRACKBAR_LineUp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i64, i64 } @TB_LINEUP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @TRACKBAR_LineUp], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @TRACKBAR_LineUp(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !10 %5 = icmp eq i64 %2, %4 br i1 %5, label %13, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = sub nsw i64 %2, %8 %10 = tail call i64 @llvm.smax.i64(i64 %9, i64 %4) store i64 %10, ptr %0, align 8 %11 = load i32, ptr @TB_LINEUP, align 4, !tbaa !12 %12 = tail call i32 @notify_with_scroll(ptr noundef nonnull %0, i32 noundef %11) #3 br label %13 13: ; preds = %1, %6 ret void } declare i32 @notify_with_scroll(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.i64(i64, i64) #2 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 16} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_trackbar.c_TRACKBAR_LineUp.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_trackbar.c_TRACKBAR_LineUp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TB_LINEUP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @TRACKBAR_LineUp], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @TRACKBAR_LineUp(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = icmp eq i64 %2, %4 br i1 %5, label %13, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = sub nsw i64 %2, %8 %10 = tail call i64 @llvm.smax.i64(i64 %9, i64 %4) store i64 %10, ptr %0, align 8 %11 = load i32, ptr @TB_LINEUP, align 4, !tbaa !13 %12 = tail call i32 @notify_with_scroll(ptr noundef nonnull %0, i32 noundef %11) #3 br label %13 13: ; preds = %1, %6 ret void } declare i32 @notify_with_scroll(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.i64(i64, i64) #2 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 16} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0}
reactos_dll_win32_comctl32_extr_trackbar.c_TRACKBAR_LineUp
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad_rmpp.c_complete_rmpp.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad_rmpp.c_complete_rmpp.c" target datalayout = "e-m:e-p270:32:32-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.mad_rmpp_recv = type { i32, i32, ptr, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @complete_rmpp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @complete_rmpp(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.mad_rmpp_recv, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @ack_recv(ptr noundef %0, ptr noundef %3) #2 %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = icmp sgt i32 %5, 1 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = getelementptr inbounds %struct.mad_rmpp_recv, ptr %0, i64 0, i32 4 %9 = tail call i32 @cancel_delayed_work(ptr noundef nonnull %8) #2 br label %10 10: ; preds = %7, %1 %11 = load ptr, ptr %2, align 8, !tbaa !5 %12 = tail call i32 @get_mad_len(ptr noundef nonnull %0) #2 store i32 %12, ptr %11, align 4, !tbaa !12 %13 = getelementptr inbounds %struct.mad_rmpp_recv, ptr %0, i64 0, i32 2 %14 = load ptr, ptr %13, align 8, !tbaa !14 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = load ptr, ptr %15, align 8, !tbaa !17 %17 = load i32, ptr %16, align 4, !tbaa !19 %18 = getelementptr inbounds %struct.mad_rmpp_recv, ptr %0, i64 0, i32 1 %19 = tail call i32 @msecs_to_jiffies(i32 noundef 10000) #2 %20 = tail call i32 @queue_delayed_work(i32 noundef %17, ptr noundef nonnull %18, i32 noundef %19) #2 ret ptr %11 } declare i32 @ack_recv(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cancel_delayed_work(ptr noundef) local_unnamed_addr #1 declare i32 @get_mad_len(ptr noundef) local_unnamed_addr #1 declare i32 @queue_delayed_work(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"mad_rmpp_recv", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"ib_mad_recv_wc", !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_4__", !10, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_6__", !10, i64 0} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad_rmpp.c_complete_rmpp.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad_rmpp.c_complete_rmpp.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 @complete_rmpp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @complete_rmpp(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @ack_recv(ptr noundef %0, ptr noundef %3) #2 %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = icmp sgt i32 %5, 1 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 24 %9 = tail call i32 @cancel_delayed_work(ptr noundef nonnull %8) #2 br label %10 10: ; preds = %7, %1 %11 = load ptr, ptr %2, align 8, !tbaa !6 %12 = tail call i32 @get_mad_len(ptr noundef nonnull %0) #2 store i32 %12, ptr %11, align 4, !tbaa !13 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !15 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = load ptr, ptr %15, align 8, !tbaa !18 %17 = load i32, ptr %16, align 4, !tbaa !20 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = tail call i32 @msecs_to_jiffies(i32 noundef 10000) #2 %20 = tail call i32 @queue_delayed_work(i32 noundef %17, ptr noundef nonnull %18, i32 noundef %19) #2 ret ptr %11 } declare i32 @ack_recv(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cancel_delayed_work(ptr noundef) local_unnamed_addr #1 declare i32 @get_mad_len(ptr noundef) local_unnamed_addr #1 declare i32 @queue_delayed_work(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"mad_rmpp_recv", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"ib_mad_recv_wc", !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_4__", !11, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_6__", !11, i64 0} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_5__", !8, i64 0}
fastsocket_kernel_drivers_infiniband_core_extr_mad_rmpp.c_complete_rmpp
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/irda/extr_donauboe.c_toshoboe_initptrs.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/irda/extr_donauboe.c_toshoboe_initptrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OBOE_ENABLEH = dso_local local_unnamed_addr global i32 0, align 4 @CONFIG0H_DMA_ON = dso_local local_unnamed_addr global i32 0, align 4 @OBOE_CONFIG0H = dso_local local_unnamed_addr global i32 0, align 4 @OBOE_ENABLEH_PHYANDCLOCK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @toshoboe_initptrs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @toshoboe_initptrs(ptr noundef %0) #0 { %2 = tail call i32 @toshoboe_resetptrs(ptr noundef %0) #2 %3 = load i32, ptr @OBOE_ENABLEH, align 4, !tbaa !5 %4 = tail call i32 @OUTB(i32 noundef 0, i32 noundef %3) #2 %5 = load i32, ptr @CONFIG0H_DMA_ON, align 4, !tbaa !5 %6 = load i32, ptr @OBOE_CONFIG0H, align 4, !tbaa !5 %7 = tail call i32 @OUTB(i32 noundef %5, i32 noundef %6) #2 %8 = load i32, ptr @OBOE_ENABLEH_PHYANDCLOCK, align 4, !tbaa !5 %9 = load i32, ptr @OBOE_ENABLEH, align 4, !tbaa !5 %10 = tail call i32 @OUTB(i32 noundef %8, i32 noundef %9) #2 store i64 0, ptr %0, align 8, !tbaa !9 ret void } declare i32 @toshoboe_resetptrs(ptr noundef) local_unnamed_addr #1 declare i32 @OUTB(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"toshoboe_cb", !11, i64 0} !11 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/irda/extr_donauboe.c_toshoboe_initptrs.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/irda/extr_donauboe.c_toshoboe_initptrs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OBOE_ENABLEH = common local_unnamed_addr global i32 0, align 4 @CONFIG0H_DMA_ON = common local_unnamed_addr global i32 0, align 4 @OBOE_CONFIG0H = common local_unnamed_addr global i32 0, align 4 @OBOE_ENABLEH_PHYANDCLOCK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @toshoboe_initptrs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @toshoboe_initptrs(ptr noundef %0) #0 { %2 = tail call i32 @toshoboe_resetptrs(ptr noundef %0) #2 %3 = load i32, ptr @OBOE_ENABLEH, align 4, !tbaa !6 %4 = tail call i32 @OUTB(i32 noundef 0, i32 noundef %3) #2 %5 = load i32, ptr @CONFIG0H_DMA_ON, align 4, !tbaa !6 %6 = load i32, ptr @OBOE_CONFIG0H, align 4, !tbaa !6 %7 = tail call i32 @OUTB(i32 noundef %5, i32 noundef %6) #2 %8 = load i32, ptr @OBOE_ENABLEH_PHYANDCLOCK, align 4, !tbaa !6 %9 = load i32, ptr @OBOE_ENABLEH, align 4, !tbaa !6 %10 = tail call i32 @OUTB(i32 noundef %8, i32 noundef %9) #2 store i64 0, ptr %0, align 8, !tbaa !10 ret void } declare i32 @toshoboe_resetptrs(ptr noundef) local_unnamed_addr #1 declare i32 @OUTB(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"toshoboe_cb", !12, i64 0} !12 = !{!"long", !8, i64 0}
fastsocket_kernel_drivers_net_irda_extr_donauboe.c_toshoboe_initptrs
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_sock.c_sock_def_wakeup.c' source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_sock.c_sock_def_wakeup.c" target datalayout = "e-m:e-p270:32:32-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.sock = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @sock_def_wakeup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sock_def_wakeup(ptr noundef %0) #0 { %2 = tail call i32 @read_lock(ptr noundef %0) #2 %3 = tail call i64 @sk_has_sleeper(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = tail call i32 @wake_up_interruptible_all(i32 noundef %7) #2 br label %9 9: ; preds = %5, %1 %10 = tail call i32 @read_unlock(ptr noundef %0) #2 ret void } declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare i64 @sk_has_sleeper(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_interruptible_all(i32 noundef) local_unnamed_addr #1 declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"sock", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/core/extr_sock.c_sock_def_wakeup.c' source_filename = "AnghaBench/fastsocket/kernel/net/core/extr_sock.c_sock_def_wakeup.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 @sock_def_wakeup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sock_def_wakeup(ptr noundef %0) #0 { %2 = tail call i32 @read_lock(ptr noundef %0) #2 %3 = tail call i64 @sk_has_sleeper(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = tail call i32 @wake_up_interruptible_all(i32 noundef %7) #2 br label %9 9: ; preds = %5, %1 %10 = tail call i32 @read_unlock(ptr noundef %0) #2 ret void } declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare i64 @sk_has_sleeper(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_interruptible_all(i32 noundef) local_unnamed_addr #1 declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"sock", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_core_extr_sock.c_sock_def_wakeup
; ModuleID = 'AnghaBench/8cc/extr_cpp.c_handle_line_macro.c' source_filename = "AnghaBench/8cc/extr_cpp.c_handle_line_macro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TNUMBER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @handle_line_macro], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @handle_line_macro(ptr noundef %0) #0 { %2 = load i32, ptr @TNUMBER, align 4, !tbaa !5 %3 = load ptr, ptr %0, align 8, !tbaa !9 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = tail call i32 @format(ptr noundef nonnull @.str, i32 noundef %4) #2 %6 = tail call i32 @make_token_pushback(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %5) #2 ret void } declare i32 @make_token_pushback(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @format(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_5__", !6, i64 0}
; ModuleID = 'AnghaBench/8cc/extr_cpp.c_handle_line_macro.c' source_filename = "AnghaBench/8cc/extr_cpp.c_handle_line_macro.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TNUMBER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @handle_line_macro], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @handle_line_macro(ptr noundef %0) #0 { %2 = load i32, ptr @TNUMBER, align 4, !tbaa !6 %3 = load ptr, ptr %0, align 8, !tbaa !10 %4 = load i32, ptr %3, align 4, !tbaa !13 %5 = tail call i32 @format(ptr noundef nonnull @.str, i32 noundef %4) #2 %6 = tail call i32 @make_token_pushback(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %5) #2 ret void } declare i32 @make_token_pushback(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @format(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_5__", !7, i64 0}
8cc_extr_cpp.c_handle_line_macro
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_ehci.c_ehci_device_ctrl_close.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_ehci.c_ehci_device_ctrl_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @USB_ERR_CANCELLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ehci_device_ctrl_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ehci_device_ctrl_close(ptr noundef %0) #0 { %2 = load i32, ptr @USB_ERR_CANCELLED, align 4, !tbaa !5 %3 = tail call i32 @ehci_device_done(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @ehci_device_done(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_ehci.c_ehci_device_ctrl_close.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_ehci.c_ehci_device_ctrl_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USB_ERR_CANCELLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ehci_device_ctrl_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ehci_device_ctrl_close(ptr noundef %0) #0 { %2 = load i32, ptr @USB_ERR_CANCELLED, align 4, !tbaa !6 %3 = tail call i32 @ehci_device_done(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @ehci_device_done(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_usb_controller_extr_ehci.c_ehci_device_ctrl_close
; ModuleID = 'AnghaBench/libgit2/tests/index/extr_crlf.c_test_index_crlf__autocrlf_input_text_auto_attr.c' source_filename = "AnghaBench/libgit2/tests/index/extr_crlf.c_test_index_crlf__autocrlf_input_text_auto_attr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"./crlf/.gitattributes\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"* text=auto\0A\00", align 1 @g_repo = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"core.autocrlf\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"input\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"./crlf/newfile.txt\00", align 1 @GIT_EOL_NATIVE = dso_local local_unnamed_addr global i64 0, align 8 @GIT_EOL_CRLF = dso_local local_unnamed_addr global i64 0, align 8 @FILE_CONTENTS_CRLF = dso_local local_unnamed_addr global ptr null, align 8 @FILE_CONTENTS_LF = dso_local local_unnamed_addr global ptr null, align 8 @g_index = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [12 x i8] c"newfile.txt\00", align 1 @FILE_OID_LF = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_index_crlf__autocrlf_input_text_auto_attr() local_unnamed_addr #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = tail call i32 @cl_git_mkfile(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 %3 = load i32, ptr @g_repo, align 4, !tbaa !5 %4 = tail call i32 @cl_repo_set_string(i32 noundef %3, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #3 %5 = load i64, ptr @GIT_EOL_NATIVE, align 8, !tbaa !9 %6 = load i64, ptr @GIT_EOL_CRLF, align 8, !tbaa !9 %7 = icmp eq i64 %5, %6 %8 = load ptr, ptr @FILE_CONTENTS_CRLF, align 8 %9 = load ptr, ptr @FILE_CONTENTS_LF, align 8 %10 = select i1 %7, ptr %8, ptr %9 %11 = tail call i32 @cl_git_mkfile(ptr noundef nonnull @.str.4, ptr noundef %10) #3 %12 = load i32, ptr @g_index, align 4, !tbaa !5 %13 = tail call i32 @git_index_add_bypath(i32 noundef %12, ptr noundef nonnull @.str.5) #3 %14 = tail call i32 @cl_git_pass(i32 noundef %13) #3 %15 = load i32, ptr @g_index, align 4, !tbaa !5 %16 = tail call ptr @git_index_get_bypath(i32 noundef %15, ptr noundef nonnull @.str.5, i32 noundef 0) #3 %17 = load i32, ptr @FILE_OID_LF, align 4, !tbaa !5 %18 = call i32 @git_oid_fromstr(ptr noundef nonnull %1, i32 noundef %17) #3 %19 = call i32 @cl_git_pass(i32 noundef %18) #3 %20 = call i32 @cl_assert_equal_oid(ptr noundef nonnull %1, ptr noundef %16) #3 call void @llvm.lifetime.end.p0(i64 4, 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 @cl_git_mkfile(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_repo_set_string(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_index_add_bypath(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @git_index_get_bypath(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_oid_fromstr(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_oid(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/index/extr_crlf.c_test_index_crlf__autocrlf_input_text_auto_attr.c' source_filename = "AnghaBench/libgit2/tests/index/extr_crlf.c_test_index_crlf__autocrlf_input_text_auto_attr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [22 x i8] c"./crlf/.gitattributes\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"* text=auto\0A\00", align 1 @g_repo = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [14 x i8] c"core.autocrlf\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"input\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"./crlf/newfile.txt\00", align 1 @GIT_EOL_NATIVE = common local_unnamed_addr global i64 0, align 8 @GIT_EOL_CRLF = common local_unnamed_addr global i64 0, align 8 @FILE_CONTENTS_CRLF = common local_unnamed_addr global ptr null, align 8 @FILE_CONTENTS_LF = common local_unnamed_addr global ptr null, align 8 @g_index = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [12 x i8] c"newfile.txt\00", align 1 @FILE_OID_LF = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_index_crlf__autocrlf_input_text_auto_attr() local_unnamed_addr #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = tail call i32 @cl_git_mkfile(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 %3 = load i32, ptr @g_repo, align 4, !tbaa !6 %4 = tail call i32 @cl_repo_set_string(i32 noundef %3, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3) #3 %5 = load i64, ptr @GIT_EOL_NATIVE, align 8, !tbaa !10 %6 = load i64, ptr @GIT_EOL_CRLF, align 8, !tbaa !10 %7 = icmp eq i64 %5, %6 %8 = load ptr, ptr @FILE_CONTENTS_CRLF, align 8 %9 = load ptr, ptr @FILE_CONTENTS_LF, align 8 %10 = select i1 %7, ptr %8, ptr %9 %11 = tail call i32 @cl_git_mkfile(ptr noundef nonnull @.str.4, ptr noundef %10) #3 %12 = load i32, ptr @g_index, align 4, !tbaa !6 %13 = tail call i32 @git_index_add_bypath(i32 noundef %12, ptr noundef nonnull @.str.5) #3 %14 = tail call i32 @cl_git_pass(i32 noundef %13) #3 %15 = load i32, ptr @g_index, align 4, !tbaa !6 %16 = tail call ptr @git_index_get_bypath(i32 noundef %15, ptr noundef nonnull @.str.5, i32 noundef 0) #3 %17 = load i32, ptr @FILE_OID_LF, align 4, !tbaa !6 %18 = call i32 @git_oid_fromstr(ptr noundef nonnull %1, i32 noundef %17) #3 %19 = call i32 @cl_git_pass(i32 noundef %18) #3 %20 = call i32 @cl_assert_equal_oid(ptr noundef nonnull %1, ptr noundef %16) #3 call void @llvm.lifetime.end.p0(i64 4, 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 @cl_git_mkfile(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_repo_set_string(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_index_add_bypath(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @git_index_get_bypath(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_oid_fromstr(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_assert_equal_oid(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
libgit2_tests_index_extr_crlf.c_test_index_crlf__autocrlf_input_text_auto_attr
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/pci/extr_virtio_pci.c_vtpci_vq_intr_filter.c' source_filename = "AnghaBench/freebsd/sys/dev/virtio/pci/extr_virtio_pci.c_vtpci_vq_intr_filter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FILTER_SCHEDULE_THREAD = dso_local local_unnamed_addr global i32 0, align 4 @FILTER_STRAY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vtpci_vq_intr_filter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vtpci_vq_intr_filter(ptr noundef %0) #0 { %2 = tail call i32 @virtqueue_intr_filter(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = load i32, ptr @FILTER_SCHEDULE_THREAD, align 4 %5 = load i32, ptr @FILTER_STRAY, align 4 %6 = select i1 %3, i32 %5, i32 %4 ret i32 %6 } declare i32 @virtqueue_intr_filter(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/pci/extr_virtio_pci.c_vtpci_vq_intr_filter.c' source_filename = "AnghaBench/freebsd/sys/dev/virtio/pci/extr_virtio_pci.c_vtpci_vq_intr_filter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FILTER_SCHEDULE_THREAD = common local_unnamed_addr global i32 0, align 4 @FILTER_STRAY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vtpci_vq_intr_filter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vtpci_vq_intr_filter(ptr noundef %0) #0 { %2 = tail call i32 @virtqueue_intr_filter(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = load i32, ptr @FILTER_SCHEDULE_THREAD, align 4 %5 = load i32, ptr @FILTER_STRAY, align 4 %6 = select i1 %3, i32 %5, i32 %4 ret i32 %6 } declare i32 @virtqueue_intr_filter(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_virtio_pci_extr_virtio_pci.c_vtpci_vq_intr_filter
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_mxf_write_opatom_packet.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_mxf_write_opatom_packet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_16__ = type { ptr, ptr } %struct.TYPE_14__ = type { i32, i64, i32, ptr, i32 } %struct.TYPE_12__ = type { i32, i32, i32 } %struct.TYPE_15__ = type { i32, i32 } @header_open_partition_key = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mxf_write_opatom_packet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mxf_write_opatom_packet(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds %struct.TYPE_16__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %0, align 8, !tbaa !10 %7 = load i32, ptr %5, align 8, !tbaa !11 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %3 %10 = load i32, ptr @header_open_partition_key, align 4, !tbaa !15 %11 = tail call i32 @mxf_write_partition(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 0, i32 noundef %10, i32 noundef 1) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %48, label %13 13: ; preds = %9 %14 = tail call i32 @mxf_write_klv_fill(ptr noundef nonnull %0) #2 %15 = tail call i32 @mxf_write_opatom_body_partition(ptr noundef nonnull %0) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %48, label %17 17: ; preds = %13 store i32 1, ptr %5, align 8, !tbaa !11 br label %18 18: ; preds = %17, %3 %19 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 4 %20 = load i32, ptr %19, align 8, !tbaa !16 %21 = icmp eq i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %18 %23 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 1 %24 = load i64, ptr %23, align 8, !tbaa !17 br label %35 25: ; preds = %18 %26 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 2 %27 = load i32, ptr %26, align 8, !tbaa !18 %28 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 3 %29 = load ptr, ptr %28, align 8, !tbaa !19 %30 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 1 %31 = load i64, ptr %30, align 8, !tbaa !17 %32 = getelementptr inbounds %struct.TYPE_12__, ptr %29, i64 %31, i32 2 store i32 %27, ptr %32, align 4, !tbaa !20 %33 = getelementptr inbounds %struct.TYPE_12__, ptr %29, i64 %31 %34 = load <2 x i32>, ptr %2, align 4, !tbaa !15 store <2 x i32> %34, ptr %33, align 4, !tbaa !15 br label %35 35: ; preds = %22, %25 %36 = phi i64 [ %24, %22 ], [ %31, %25 ] %37 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 1 %38 = add i64 %36, 1 store i64 %38, ptr %37, align 8, !tbaa !17 %39 = getelementptr inbounds %struct.TYPE_15__, ptr %1, i64 0, i32 1 %40 = load i32, ptr %39, align 4, !tbaa !22 %41 = load i32, ptr %1, align 4, !tbaa !24 %42 = tail call i32 @avio_write(ptr noundef %6, i32 noundef %40, i32 noundef %41) #2 %43 = load i32, ptr %1, align 4, !tbaa !24 %44 = getelementptr inbounds %struct.TYPE_14__, ptr %5, i64 0, i32 2 %45 = load i32, ptr %44, align 8, !tbaa !18 %46 = add nsw i32 %45, %43 store i32 %46, ptr %44, align 8, !tbaa !18 %47 = tail call i32 @avio_flush(ptr noundef %6) #2 br label %48 48: ; preds = %13, %9, %35 %49 = phi i32 [ 0, %35 ], [ %11, %9 ], [ %15, %13 ] ret i32 %49 } declare i32 @mxf_write_partition(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mxf_write_klv_fill(ptr noundef) local_unnamed_addr #1 declare i32 @mxf_write_opatom_body_partition(ptr noundef) local_unnamed_addr #1 declare i32 @avio_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_flush(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_16__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_14__", !13, i64 0, !14, i64 8, !13, i64 16, !7, i64 24, !13, i64 32} !13 = !{!"int", !8, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!12, !13, i64 32} !17 = !{!12, !14, i64 8} !18 = !{!12, !13, i64 16} !19 = !{!12, !7, i64 24} !20 = !{!21, !13, i64 8} !21 = !{!"TYPE_12__", !13, i64 0, !13, i64 4, !13, i64 8} !22 = !{!23, !13, i64 4} !23 = !{!"TYPE_15__", !13, i64 0, !13, i64 4} !24 = !{!23, !13, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_mxf_write_opatom_packet.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_mxf_write_opatom_packet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_12__ = type { i32, i32, i32 } @header_open_partition_key = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mxf_write_opatom_packet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @mxf_write_opatom_packet(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %0, align 8, !tbaa !11 %7 = load i32, ptr %5, align 8, !tbaa !12 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %3 %10 = load i32, ptr @header_open_partition_key, align 4, !tbaa !16 %11 = tail call i32 @mxf_write_partition(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 0, i32 noundef %10, i32 noundef 1) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %48, label %13 13: ; preds = %9 %14 = tail call i32 @mxf_write_klv_fill(ptr noundef nonnull %0) #2 %15 = tail call i32 @mxf_write_opatom_body_partition(ptr noundef nonnull %0) #2 %16 = icmp slt i32 %15, 0 br i1 %16, label %48, label %17 17: ; preds = %13 store i32 1, ptr %5, align 8, !tbaa !12 br label %18 18: ; preds = %17, %3 %19 = getelementptr inbounds i8, ptr %5, i64 32 %20 = load i32, ptr %19, align 8, !tbaa !17 %21 = icmp eq i32 %20, 0 br i1 %21, label %25, label %22 22: ; preds = %18 %23 = getelementptr inbounds i8, ptr %5, i64 8 %24 = load i64, ptr %23, align 8, !tbaa !18 br label %35 25: ; preds = %18 %26 = getelementptr inbounds i8, ptr %5, i64 16 %27 = load i32, ptr %26, align 8, !tbaa !19 %28 = getelementptr inbounds i8, ptr %5, i64 24 %29 = load ptr, ptr %28, align 8, !tbaa !20 %30 = getelementptr inbounds i8, ptr %5, i64 8 %31 = load i64, ptr %30, align 8, !tbaa !18 %32 = getelementptr inbounds %struct.TYPE_12__, ptr %29, i64 %31, i32 2 store i32 %27, ptr %32, align 4, !tbaa !21 %33 = getelementptr inbounds %struct.TYPE_12__, ptr %29, i64 %31 %34 = load <2 x i32>, ptr %2, align 4, !tbaa !16 store <2 x i32> %34, ptr %33, align 4, !tbaa !16 br label %35 35: ; preds = %22, %25 %36 = phi i64 [ %24, %22 ], [ %31, %25 ] %37 = getelementptr inbounds i8, ptr %5, i64 8 %38 = add i64 %36, 1 store i64 %38, ptr %37, align 8, !tbaa !18 %39 = getelementptr inbounds i8, ptr %1, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !23 %41 = load i32, ptr %1, align 4, !tbaa !25 %42 = tail call i32 @avio_write(ptr noundef %6, i32 noundef %40, i32 noundef %41) #2 %43 = load i32, ptr %1, align 4, !tbaa !25 %44 = getelementptr inbounds i8, ptr %5, i64 16 %45 = load i32, ptr %44, align 8, !tbaa !19 %46 = add nsw i32 %45, %43 store i32 %46, ptr %44, align 8, !tbaa !19 %47 = tail call i32 @avio_flush(ptr noundef %6) #2 br label %48 48: ; preds = %13, %9, %35 %49 = phi i32 [ 0, %35 ], [ %11, %9 ], [ %15, %13 ] ret i32 %49 } declare i32 @mxf_write_partition(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mxf_write_klv_fill(ptr noundef) local_unnamed_addr #1 declare i32 @mxf_write_opatom_body_partition(ptr noundef) local_unnamed_addr #1 declare i32 @avio_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_flush(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_16__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_14__", !14, i64 0, !15, i64 8, !14, i64 16, !8, i64 24, !14, i64 32} !14 = !{!"int", !9, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!13, !14, i64 32} !18 = !{!13, !15, i64 8} !19 = !{!13, !14, i64 16} !20 = !{!13, !8, i64 24} !21 = !{!22, !14, i64 8} !22 = !{!"TYPE_12__", !14, i64 0, !14, i64 4, !14, i64 8} !23 = !{!24, !14, i64 4} !24 = !{!"TYPE_15__", !14, i64 0, !14, i64 4} !25 = !{!24, !14, i64 0}
FFmpeg_libavformat_extr_mxfenc.c_mxf_write_opatom_packet
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_init.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_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.hns_roce_dev = type { i32, i32, i32, %struct.TYPE_2__, ptr } %struct.TYPE_2__ = type { i32, i32 } %struct.hns_roce_v2_priv = type { i32, i32 } @TSQ_LINK_TABLE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"TSQ init failed, ret = %d.\0A\00", align 1 @TPQ_LINK_TABLE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"TPQ init failed, ret = %d.\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"QPC Timer get failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"CQC Timer get failed\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @hns_roce_v2_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hns_roce_v2_init(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 4 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @TSQ_LINK_TABLE, align 4, !tbaa !12 %5 = tail call i32 @hns_roce_init_link_table(ptr noundef %0, i32 noundef %4) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 2 %9 = load i32, ptr %8, align 8, !tbaa !13 %10 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %5) #2 br label %75 11: ; preds = %1 %12 = load i32, ptr @TPQ_LINK_TABLE, align 4, !tbaa !12 %13 = tail call i32 @hns_roce_init_link_table(ptr noundef nonnull %0, i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 3 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = icmp sgt i32 %17, 0 br i1 %18, label %30, label %23 19: ; preds = %11 %20 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 2 %21 = load i32, ptr %20, align 8, !tbaa !13 %22 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %21, ptr noundef nonnull @.str.1, i32 noundef %13) #2 br label %72 23: ; preds = %38, %15 %24 = phi i32 [ 0, %15 ], [ %39, %38 ] %25 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 3, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !15 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %75 28: ; preds = %23 %29 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 1 br label %42 30: ; preds = %15, %38 %31 = phi i32 [ %39, %38 ], [ 0, %15 ] %32 = tail call i32 @hns_roce_table_get(ptr noundef nonnull %0, ptr noundef nonnull %0, i32 noundef %31) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %38, label %34 34: ; preds = %30 %35 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 2 %36 = load i32, ptr %35, align 8, !tbaa !13 %37 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %36, ptr noundef nonnull @.str.2) #2 br label %60 38: ; preds = %30 %39 = add nuw nsw i32 %31, 1 %40 = load i32, ptr %16, align 4, !tbaa !14 %41 = icmp slt i32 %39, %40 br i1 %41, label %30, label %23, !llvm.loop !16 42: ; preds = %28, %51 %43 = phi i32 [ 0, %28 ], [ %52, %51 ] %44 = tail call i32 @hns_roce_table_get(ptr noundef nonnull %0, ptr noundef nonnull %29, i32 noundef %43) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %42 %47 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 2 %48 = load i32, ptr %47, align 8, !tbaa !13 %49 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %48, ptr noundef nonnull @.str.3) #2 %50 = icmp eq i32 %43, 0 br i1 %50, label %60, label %55 51: ; preds = %42 %52 = add nuw nsw i32 %43, 1 %53 = load i32, ptr %25, align 4, !tbaa !15 %54 = icmp slt i32 %52, %53 br i1 %54, label %42, label %75, !llvm.loop !18 55: ; preds = %46, %55 %56 = phi i32 [ %58, %55 ], [ 0, %46 ] %57 = tail call i32 @hns_roce_table_put(ptr noundef %0, ptr noundef nonnull %29, i32 noundef %56) #2 %58 = add nuw nsw i32 %56, 1 %59 = icmp eq i32 %58, %43 br i1 %59, label %60, label %55, !llvm.loop !19 60: ; preds = %55, %46, %34 %61 = phi i32 [ %31, %34 ], [ %24, %46 ], [ %24, %55 ] %62 = phi i32 [ %32, %34 ], [ %44, %46 ], [ %44, %55 ] %63 = icmp eq i32 %61, 0 br i1 %63, label %69, label %64 64: ; preds = %60, %64 %65 = phi i32 [ %67, %64 ], [ 0, %60 ] %66 = tail call i32 @hns_roce_table_put(ptr noundef %0, ptr noundef %0, i32 noundef %65) #2 %67 = add nuw nsw i32 %65, 1 %68 = icmp eq i32 %67, %61 br i1 %68, label %69, label %64, !llvm.loop !20 69: ; preds = %64, %60 %70 = getelementptr inbounds %struct.hns_roce_v2_priv, ptr %3, i64 0, i32 1 %71 = tail call i32 @hns_roce_free_link_table(ptr noundef %0, ptr noundef nonnull %70) #2 br label %72 72: ; preds = %69, %19 %73 = phi i32 [ %13, %19 ], [ %62, %69 ] %74 = tail call i32 @hns_roce_free_link_table(ptr noundef %0, ptr noundef %3) #2 br label %75 75: ; preds = %51, %23, %72, %7 %76 = phi i32 [ %5, %7 ], [ %73, %72 ], [ 0, %23 ], [ 0, %51 ] ret i32 %76 } declare i32 @hns_roce_init_link_table(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @hns_roce_table_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hns_roce_table_put(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hns_roce_free_link_table(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 = !{!"hns_roce_dev", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 12, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!6, !7, i64 12} !15 = !{!6, !7, i64 16} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17} !19 = distinct !{!19, !17} !20 = distinct !{!20, !17}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_init.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_hw_v2.c_hns_roce_v2_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TSQ_LINK_TABLE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"TSQ init failed, ret = %d.\0A\00", align 1 @TPQ_LINK_TABLE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"TPQ init failed, ret = %d.\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"QPC Timer get failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"CQC Timer get failed\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @hns_roce_v2_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hns_roce_v2_init(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @TSQ_LINK_TABLE, align 4, !tbaa !13 %5 = tail call i32 @hns_roce_init_link_table(ptr noundef %0, i32 noundef %4) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i32, ptr %8, align 8, !tbaa !14 %10 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %9, ptr noundef nonnull @.str, i32 noundef %5) #2 br label %75 11: ; preds = %1 %12 = load i32, ptr @TPQ_LINK_TABLE, align 4, !tbaa !13 %13 = tail call i32 @hns_roce_init_link_table(ptr noundef nonnull %0, i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = getelementptr inbounds i8, ptr %0, i64 12 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = icmp sgt i32 %17, 0 br i1 %18, label %30, label %23 19: ; preds = %11 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !14 %22 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %21, ptr noundef nonnull @.str.1, i32 noundef %13) #2 br label %72 23: ; preds = %38, %15 %24 = phi i32 [ 0, %15 ], [ %39, %38 ] %25 = getelementptr inbounds i8, ptr %0, i64 16 %26 = load i32, ptr %25, align 4, !tbaa !16 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %75 28: ; preds = %23 %29 = getelementptr inbounds i8, ptr %0, i64 4 br label %42 30: ; preds = %15, %38 %31 = phi i32 [ %39, %38 ], [ 0, %15 ] %32 = tail call i32 @hns_roce_table_get(ptr noundef nonnull %0, ptr noundef nonnull %0, i32 noundef %31) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %38, label %34 34: ; preds = %30 %35 = getelementptr inbounds i8, ptr %0, i64 8 %36 = load i32, ptr %35, align 8, !tbaa !14 %37 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %36, ptr noundef nonnull @.str.2) #2 br label %60 38: ; preds = %30 %39 = add nuw nsw i32 %31, 1 %40 = load i32, ptr %16, align 4, !tbaa !15 %41 = icmp slt i32 %39, %40 br i1 %41, label %30, label %23, !llvm.loop !17 42: ; preds = %28, %51 %43 = phi i32 [ 0, %28 ], [ %52, %51 ] %44 = tail call i32 @hns_roce_table_get(ptr noundef nonnull %0, ptr noundef nonnull %29, i32 noundef %43) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %42 %47 = getelementptr inbounds i8, ptr %0, i64 8 %48 = load i32, ptr %47, align 8, !tbaa !14 %49 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %48, ptr noundef nonnull @.str.3) #2 %50 = icmp eq i32 %43, 0 br i1 %50, label %60, label %55 51: ; preds = %42 %52 = add nuw nsw i32 %43, 1 %53 = load i32, ptr %25, align 4, !tbaa !16 %54 = icmp slt i32 %52, %53 br i1 %54, label %42, label %75, !llvm.loop !19 55: ; preds = %46, %55 %56 = phi i32 [ %58, %55 ], [ 0, %46 ] %57 = tail call i32 @hns_roce_table_put(ptr noundef %0, ptr noundef nonnull %29, i32 noundef %56) #2 %58 = add nuw nsw i32 %56, 1 %59 = icmp eq i32 %58, %43 br i1 %59, label %60, label %55, !llvm.loop !20 60: ; preds = %55, %46, %34 %61 = phi i32 [ %31, %34 ], [ %24, %46 ], [ %24, %55 ] %62 = phi i32 [ %32, %34 ], [ %44, %46 ], [ %44, %55 ] %63 = icmp eq i32 %61, 0 br i1 %63, label %69, label %64 64: ; preds = %60, %64 %65 = phi i32 [ %67, %64 ], [ 0, %60 ] %66 = tail call i32 @hns_roce_table_put(ptr noundef %0, ptr noundef %0, i32 noundef %65) #2 %67 = add nuw nsw i32 %65, 1 %68 = icmp eq i32 %67, %61 br i1 %68, label %69, label %64, !llvm.loop !21 69: ; preds = %64, %60 %70 = getelementptr inbounds i8, ptr %3, i64 4 %71 = tail call i32 @hns_roce_free_link_table(ptr noundef %0, ptr noundef nonnull %70) #2 br label %72 72: ; preds = %69, %19 %73 = phi i32 [ %13, %19 ], [ %62, %69 ] %74 = tail call i32 @hns_roce_free_link_table(ptr noundef %0, ptr noundef %3) #2 br label %75 75: ; preds = %51, %23, %72, %7 %76 = phi i32 [ %5, %7 ], [ %73, %72 ], [ 0, %23 ], [ 0, %51 ] ret i32 %76 } declare i32 @hns_roce_init_link_table(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @hns_roce_table_get(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hns_roce_table_put(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hns_roce_free_link_table(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 = !{!"hns_roce_dev", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 12, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!7, !8, i64 12} !16 = !{!7, !8, i64 16} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18} !20 = distinct !{!20, !18} !21 = distinct !{!21, !18}
linux_drivers_infiniband_hw_hns_extr_hns_roce_hw_v2.c_hns_roce_v2_init
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirinfo.c__TIFFMergeFields.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirinfo.c__TIFFMergeFields.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { i64, ptr, i32, ptr } %struct.TYPE_11__ = type { i32 } @_TIFFMergeFields.module = internal constant [17 x i8] c"_TIFFMergeFields\00", align 16 @_TIFFMergeFields.reason = internal constant [17 x i8] c"for fields array\00", align 16 @.str = private unnamed_addr constant [32 x i8] c"Failed to allocate fields array\00", align 1 @TIFF_ANY = dso_local local_unnamed_addr global i32 0, align 4 @tagCompare = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @_TIFFMergeFields(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 3 store ptr null, ptr %4, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %3 %9 = load i64, ptr %0, align 8, !tbaa !13 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = add i64 %9, %2 %13 = tail call i64 @_TIFFCheckRealloc(ptr noundef nonnull %0, ptr noundef nonnull %6, i64 noundef %12, i32 noundef 8, ptr noundef nonnull @_TIFFMergeFields.reason) #2 br label %16 14: ; preds = %8, %3 %15 = tail call i64 @_TIFFCheckMalloc(ptr noundef nonnull %0, i64 noundef %2, i32 noundef 8, ptr noundef nonnull @_TIFFMergeFields.reason) #2 br label %16 16: ; preds = %14, %11 %17 = phi i64 [ %15, %14 ], [ %13, %11 ] %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8, !tbaa !12 %19 = icmp eq i64 %17, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = icmp eq i64 %2, 0 br i1 %21, label %43, label %26 22: ; preds = %16 %23 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2 %24 = load i32, ptr %23, align 8, !tbaa !14 %25 = tail call i32 @TIFFErrorExt(i32 noundef %24, ptr noundef nonnull @_TIFFMergeFields.module, ptr noundef nonnull @.str) #2 br label %49 26: ; preds = %20, %38 %27 = phi i64 [ %39, %38 ], [ 0, %20 ] %28 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !15 %30 = load i32, ptr @TIFF_ANY, align 4, !tbaa !17 %31 = tail call ptr @TIFFFindField(ptr noundef %0, i32 noundef %29, i32 noundef %30) #2 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %38 33: ; preds = %26 %34 = load ptr, ptr %5, align 8, !tbaa !12 %35 = load i64, ptr %0, align 8, !tbaa !13 %36 = getelementptr inbounds ptr, ptr %34, i64 %35 store ptr %28, ptr %36, align 8, !tbaa !18 %37 = add i64 %35, 1 store i64 %37, ptr %0, align 8, !tbaa !13 br label %38 38: ; preds = %33, %26 %39 = add nuw i64 %27, 1 %40 = icmp eq i64 %39, %2 br i1 %40, label %41, label %26, !llvm.loop !19 41: ; preds = %38 %42 = load ptr, ptr %5, align 8, !tbaa !12 br label %43 43: ; preds = %41, %20 %44 = phi ptr [ %42, %41 ], [ %18, %20 ] %45 = load i64, ptr %0, align 8, !tbaa !13 %46 = load i32, ptr @tagCompare, align 4, !tbaa !17 %47 = tail call i32 @qsort(ptr noundef %44, i64 noundef %45, i32 noundef 8, i32 noundef %46) #2 %48 = trunc i64 %2 to i32 br label %49 49: ; preds = %43, %22 %50 = phi i32 [ %48, %43 ], [ 0, %22 ] ret i32 %50 } declare i64 @_TIFFCheckRealloc(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @_TIFFCheckMalloc(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TIFFErrorExt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @TIFFFindField(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qsort(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !7, i64 0} !14 = !{!6, !11, i64 16} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_11__", !11, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!10, !10, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirinfo.c__TIFFMergeFields.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_dirinfo.c__TIFFMergeFields.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_11__ = type { i32 } @_TIFFMergeFields.module = internal constant [17 x i8] c"_TIFFMergeFields\00", align 1 @_TIFFMergeFields.reason = internal constant [17 x i8] c"for fields array\00", align 1 @.str = private unnamed_addr constant [32 x i8] c"Failed to allocate fields array\00", align 1 @TIFF_ANY = common local_unnamed_addr global i32 0, align 4 @tagCompare = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @_TIFFMergeFields(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 24 store ptr null, ptr %4, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = icmp eq ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %3 %9 = load i64, ptr %0, align 8, !tbaa !14 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = add i64 %9, %2 %13 = tail call i64 @_TIFFCheckRealloc(ptr noundef nonnull %0, ptr noundef nonnull %6, i64 noundef %12, i32 noundef 8, ptr noundef nonnull @_TIFFMergeFields.reason) #2 br label %16 14: ; preds = %8, %3 %15 = tail call i64 @_TIFFCheckMalloc(ptr noundef nonnull %0, i64 noundef %2, i32 noundef 8, ptr noundef nonnull @_TIFFMergeFields.reason) #2 br label %16 16: ; preds = %14, %11 %17 = phi i64 [ %15, %14 ], [ %13, %11 ] %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8, !tbaa !13 %19 = icmp eq i64 %17, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = icmp eq i64 %2, 0 br i1 %21, label %43, label %26 22: ; preds = %16 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = tail call i32 @TIFFErrorExt(i32 noundef %24, ptr noundef nonnull @_TIFFMergeFields.module, ptr noundef nonnull @.str) #2 br label %49 26: ; preds = %20, %38 %27 = phi i64 [ %39, %38 ], [ 0, %20 ] %28 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !16 %30 = load i32, ptr @TIFF_ANY, align 4, !tbaa !18 %31 = tail call ptr @TIFFFindField(ptr noundef %0, i32 noundef %29, i32 noundef %30) #2 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %38 33: ; preds = %26 %34 = load ptr, ptr %5, align 8, !tbaa !13 %35 = load i64, ptr %0, align 8, !tbaa !14 %36 = getelementptr inbounds ptr, ptr %34, i64 %35 store ptr %28, ptr %36, align 8, !tbaa !19 %37 = add i64 %35, 1 store i64 %37, ptr %0, align 8, !tbaa !14 br label %38 38: ; preds = %33, %26 %39 = add nuw i64 %27, 1 %40 = icmp eq i64 %39, %2 br i1 %40, label %41, label %26, !llvm.loop !20 41: ; preds = %38 %42 = load ptr, ptr %5, align 8, !tbaa !13 br label %43 43: ; preds = %41, %20 %44 = phi ptr [ %42, %41 ], [ %18, %20 ] %45 = load i64, ptr %0, align 8, !tbaa !14 %46 = load i32, ptr @tagCompare, align 4, !tbaa !18 %47 = tail call i32 @qsort(ptr noundef %44, i64 noundef %45, i32 noundef 8, i32 noundef %46) #2 %48 = trunc i64 %2 to i32 br label %49 49: ; preds = %43, %22 %50 = phi i32 [ %48, %43 ], [ 0, %22 ] ret i32 %50 } declare i64 @_TIFFCheckRealloc(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @_TIFFCheckMalloc(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @TIFFErrorExt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @TIFFFindField(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qsort(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !8, i64 0} !15 = !{!7, !12, i64 16} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_11__", !12, i64 0} !18 = !{!12, !12, i64 0} !19 = !{!11, !11, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
reactos_dll_3rdparty_libtiff_extr_tif_dirinfo.c__TIFFMergeFields
; ModuleID = 'AnghaBench/linux/drivers/vhost/extr_net.c_vhost_zerocopy_callback.c' source_filename = "AnghaBench/linux/drivers/vhost/extr_net.c_vhost_zerocopy_callback.c" target datalayout = "e-m:e-p270:32:32-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.ubuf_info = type { i64, ptr } %struct.vhost_virtqueue = type { i32, ptr } %struct.TYPE_2__ = type { i32 } @VHOST_DMA_DONE_LEN = dso_local local_unnamed_addr global i32 0, align 4 @VHOST_DMA_FAILED_LEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vhost_zerocopy_callback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vhost_zerocopy_callback(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.ubuf_info, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call i32 (...) @rcu_read_lock_bh() #2 %7 = icmp eq i32 %1, 0 %8 = load i32, ptr @VHOST_DMA_DONE_LEN, align 4 %9 = load i32, ptr @VHOST_DMA_FAILED_LEN, align 4 %10 = select i1 %7, i32 %9, i32 %8 %11 = getelementptr inbounds %struct.vhost_virtqueue, ptr %5, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = load i64, ptr %0, align 8, !tbaa !16 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %13 store i32 %10, ptr %14, align 4, !tbaa !17 %15 = tail call i32 @vhost_net_ubuf_put(ptr noundef nonnull %4) #2 %16 = icmp slt i32 %15, 2 %17 = and i32 %15, 15 %18 = icmp eq i32 %17, 0 %19 = or i1 %16, %18 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = tail call i32 @vhost_poll_queue(ptr noundef nonnull %5) #2 br label %22 22: ; preds = %2, %20 %23 = tail call i32 (...) @rcu_read_unlock_bh() #2 ret void } declare i32 @rcu_read_lock_bh(...) local_unnamed_addr #1 declare i32 @vhost_net_ubuf_put(ptr noundef) local_unnamed_addr #1 declare i32 @vhost_poll_queue(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock_bh(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"ubuf_info", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"vhost_net_ubuf_ref", !10, i64 0} !13 = !{!14, !10, i64 8} !14 = !{!"vhost_virtqueue", !15, i64 0, !10, i64 8} !15 = !{!"int", !8, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!18, !15, i64 0} !18 = !{!"TYPE_2__", !15, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/vhost/extr_net.c_vhost_zerocopy_callback.c' source_filename = "AnghaBench/linux/drivers/vhost/extr_net.c_vhost_zerocopy_callback.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 } @VHOST_DMA_DONE_LEN = common local_unnamed_addr global i32 0, align 4 @VHOST_DMA_FAILED_LEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vhost_zerocopy_callback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vhost_zerocopy_callback(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = tail call i32 @rcu_read_lock_bh() #2 %7 = icmp eq i32 %1, 0 %8 = load i32, ptr @VHOST_DMA_DONE_LEN, align 4 %9 = load i32, ptr @VHOST_DMA_FAILED_LEN, align 4 %10 = select i1 %7, i32 %9, i32 %8 %11 = getelementptr inbounds i8, ptr %5, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = load i64, ptr %0, align 8, !tbaa !17 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %13 store i32 %10, ptr %14, align 4, !tbaa !18 %15 = tail call i32 @vhost_net_ubuf_put(ptr noundef nonnull %4) #2 %16 = icmp slt i32 %15, 2 %17 = and i32 %15, 15 %18 = icmp eq i32 %17, 0 %19 = or i1 %16, %18 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = tail call i32 @vhost_poll_queue(ptr noundef nonnull %5) #2 br label %22 22: ; preds = %2, %20 %23 = tail call i32 @rcu_read_unlock_bh() #2 ret void } declare i32 @rcu_read_lock_bh(...) local_unnamed_addr #1 declare i32 @vhost_net_ubuf_put(ptr noundef) local_unnamed_addr #1 declare i32 @vhost_poll_queue(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock_bh(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"ubuf_info", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"vhost_net_ubuf_ref", !11, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"vhost_virtqueue", !16, i64 0, !11, i64 8} !16 = !{!"int", !9, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!19, !16, i64 0} !19 = !{!"TYPE_2__", !16, i64 0}
linux_drivers_vhost_extr_net.c_vhost_zerocopy_callback
; ModuleID = 'AnghaBench/linux/arch/powerpc/perf/extr_e6500-pmu.c_init_e6500_pmu.c' source_filename = "AnghaBench/linux/arch/powerpc/perf/extr_e6500-pmu.c_init_e6500_pmu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @cur_cpu_spec = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [10 x i8] c"ppc/e6500\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @e6500_pmu = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_e6500_pmu], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @init_e6500_pmu() #0 { %1 = load ptr, ptr @cur_cpu_spec, align 8, !tbaa !5 %2 = load i32, ptr %1, align 4, !tbaa !9 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %0 %5 = tail call i64 @strcmp(i32 noundef %2, ptr noundef nonnull @.str) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4, %0 %8 = load i32, ptr @ENODEV, align 4, !tbaa !12 %9 = sub nsw i32 0, %8 br label %12 10: ; preds = %4 %11 = tail call i32 @register_fsl_emb_pmu(ptr noundef nonnull @e6500_pmu) #2 br label %12 12: ; preds = %10, %7 %13 = phi i32 [ %9, %7 ], [ %11, %10 ] ret i32 %13 } declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @register_fsl_emb_pmu(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/arch/powerpc/perf/extr_e6500-pmu.c_init_e6500_pmu.c' source_filename = "AnghaBench/linux/arch/powerpc/perf/extr_e6500-pmu.c_init_e6500_pmu.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @cur_cpu_spec = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [10 x i8] c"ppc/e6500\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @e6500_pmu = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @init_e6500_pmu], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @init_e6500_pmu() #0 { %1 = load ptr, ptr @cur_cpu_spec, align 8, !tbaa !6 %2 = load i32, ptr %1, align 4, !tbaa !10 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %0 %5 = tail call i64 @strcmp(i32 noundef %2, ptr noundef nonnull @.str) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4, %0 %8 = load i32, ptr @ENODEV, align 4, !tbaa !13 %9 = sub nsw i32 0, %8 br label %12 10: ; preds = %4 %11 = tail call i32 @register_fsl_emb_pmu(ptr noundef nonnull @e6500_pmu) #2 br label %12 12: ; preds = %10, %7 %13 = phi i32 [ %9, %7 ], [ %11, %10 ] ret i32 %13 } declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @register_fsl_emb_pmu(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
linux_arch_powerpc_perf_extr_e6500-pmu.c_init_e6500_pmu
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlegacy/extr_4965-mac.c_il4965_hw_txq_ctx_free.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlegacy/extr_4965-mac.c_il4965_hw_txq_ctx_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.il_priv = type { i32, i32, i32, %struct.TYPE_2__, i64 } %struct.TYPE_2__ = type { i32 } ; Function Attrs: nounwind uwtable define dso_local void @il4965_hw_txq_ctx_free(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 4 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %21, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 3 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %5, %17 %10 = phi i32 [ %18, %17 ], [ 0, %5 ] %11 = load i32, ptr %0, align 8, !tbaa !13 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = tail call i32 @il_cmd_queue_free(ptr noundef nonnull %0) #2 br label %17 15: ; preds = %9 %16 = tail call i32 @il_tx_queue_free(ptr noundef nonnull %0, i32 noundef %10) #2 br label %17 17: ; preds = %13, %15 %18 = add nuw nsw i32 %10, 1 %19 = load i32, ptr %6, align 4, !tbaa !12 %20 = icmp slt i32 %18, %19 br i1 %20, label %9, label %21, !llvm.loop !14 21: ; preds = %17, %5, %1 %22 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 2 %23 = tail call i32 @il4965_free_dma_ptr(ptr noundef nonnull %0, ptr noundef nonnull %22) #2 %24 = getelementptr inbounds %struct.il_priv, ptr %0, i64 0, i32 1 %25 = tail call i32 @il4965_free_dma_ptr(ptr noundef nonnull %0, ptr noundef nonnull %24) #2 %26 = tail call i32 @il_free_txq_mem(ptr noundef nonnull %0) #2 ret void } declare i32 @il_cmd_queue_free(ptr noundef) local_unnamed_addr #1 declare i32 @il_tx_queue_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @il4965_free_dma_ptr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @il_free_txq_mem(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"il_priv", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 12, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 12} !13 = !{!6, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlegacy/extr_4965-mac.c_il4965_hw_txq_ctx_free.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlegacy/extr_4965-mac.c_il4965_hw_txq_ctx_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @il4965_hw_txq_ctx_free(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %21, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 12 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %5, %17 %10 = phi i32 [ %18, %17 ], [ 0, %5 ] %11 = load i32, ptr %0, align 8, !tbaa !14 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = tail call i32 @il_cmd_queue_free(ptr noundef nonnull %0) #2 br label %17 15: ; preds = %9 %16 = tail call i32 @il_tx_queue_free(ptr noundef nonnull %0, i32 noundef %10) #2 br label %17 17: ; preds = %13, %15 %18 = add nuw nsw i32 %10, 1 %19 = load i32, ptr %6, align 4, !tbaa !13 %20 = icmp slt i32 %18, %19 br i1 %20, label %9, label %21, !llvm.loop !15 21: ; preds = %17, %5, %1 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = tail call i32 @il4965_free_dma_ptr(ptr noundef nonnull %0, ptr noundef nonnull %22) #2 %24 = getelementptr inbounds i8, ptr %0, i64 4 %25 = tail call i32 @il4965_free_dma_ptr(ptr noundef nonnull %0, ptr noundef nonnull %24) #2 %26 = tail call i32 @il_free_txq_mem(ptr noundef nonnull %0) #2 ret void } declare i32 @il_cmd_queue_free(ptr noundef) local_unnamed_addr #1 declare i32 @il_tx_queue_free(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @il4965_free_dma_ptr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @il_free_txq_mem(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"il_priv", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 12, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 12} !14 = !{!7, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_wireless_intel_iwlegacy_extr_4965-mac.c_il4965_hw_txq_ctx_free